Auto-commit of generated files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
642b6d30
AS
12012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2
3 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4
4f5d2ba1
CY
52012-06-09 Chong Yidong <cyd@gnu.org>
6
7 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8
e75852fd
MR
92012-06-09 Martin Rudalics <rudalics@gmx.at>
10
11 * window.el (special-display-popup-frame): Don't use
12 window--display-buffer (Bug#11651).
13
1e48e282
EZ
142012-06-09 Eli Zaretskii <eliz@gnu.org>
15
8a26b487
EZ
16 Fix parallel builds: make sure loaddefs.el is not being written
17 while Lisp files are compiled.
18 (compile): Don't depend on 'mh-autoloads'.
19 (compile-CMD, compile-SH): Depend on 'autoloads'.
20 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
21
1e48e282
EZ
22 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
23
6175e34b
CY
242012-06-09 Chong Yidong <cyd@gnu.org>
25
26 * face-remap.el (face-remap-add-relative, face-remap-set-base)
27 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
28 Doc fixes (Bug#11225).
29
d9857e53
SM
302012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
33 a function if there's a clear indication that it has a compiler-macro.
34 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
35 (macro-declarations-alist): Add arglist to declaration functions.
36 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
37 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
38 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
39 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
40 Also add autoload to find the compiler macro.
41 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
42 (cl--compiler-macro-member, cl--compiler-macro-assoc)
43 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
44 (cl--compiler-macro-get): New functions, replacing calls to
45 cl-define-compiler-macro.
46 (cl-typep) [compiler-macro]: Use macroexp-let².
47
f81298f8 482012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
49
50 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
51 string properly, fixes Bug#11473.
52
4b56d0fe
CY
532012-06-08 Chong Yidong <cyd@gnu.org>
54
55 * faces.el (set-face-attribute): Doc fix.
56 (modify-face): Don't use :bold and :italic.
57 (error, warning, success): Tweak definitions.
58
59 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
60 (custom-modified, custom-set, custom-changed, custom-themed)
61 (custom-saved, custom-button, custom-button-mouse)
62 (custom-button-pressed, custom-state, custom-comment-tag)
63 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
64 (custom-group-subtitle): Use new-style face specs.
65 (custom-invalid-face, custom-rogue-face, custom-modified-face)
66 (custom-set-face, custom-changed-face, custom-saved-face)
67 (custom-button-face, custom-button-pressed-face)
68 (custom-documentation-face, custom-state-face)
69 (custom-comment-face, custom-comment-tag-face)
70 (custom-variable-tag-face, custom-variable-button-face)
71 (custom-face-tag-face, custom-group-tag-face-1)
72 (custom-group-tag-face): Remove obsolete face alias.
73
74 * epa.el (epa-validity-high, epa-validity-medium)
75 (epa-validity-low, epa-mark, epa-field-name, epa-string)
76 (epa-field-name, epa-field-body):
77 * font-lock.el (font-lock-comment-face, font-lock-string-face)
78 (font-lock-keyword-face, font-lock-builtin-face)
79 (font-lock-function-name-face, font-lock-variable-name-face)
80 (font-lock-type-face, font-lock-constant-face):
81 * ido.el (ido-first-match, ido-only-match, ido-subdir)
82 (ido-virtual, ido-indicator, ido-incomplete-regexp):
83 * speedbar.el (speedbar-button-face, speedbar-file-face)
84 (speedbar-directory-face, speedbar-tag-face)
85 (speedbar-selected-face, speedbar-highlight-face)
86 (speedbar-separator-face):
87 * whitespace.el (whitespace-newline, whitespace-space)
88 (whitespace-hspace, whitespace-tab, whitespace-trailing)
89 (whitespace-line, whitespace-space-before-tab)
90 (whitespace-space-after-tab, whitespace-indentation)
91 (whitespace-empty):
92 * emulation/cua-base.el (cua-global-mark):
93 * eshell/em-prompt.el (eshell-prompt):
94 * net/newst-plainview.el (newsticker-new-item-face)
95 (newsticker-old-item-face, newsticker-immortal-item-face)
96 (newsticker-obsolete-item-face, newsticker-date-face)
97 (newsticker-statistics-face, newsticker-default-face):
98 * net/newst-reader.el (newsticker-feed-face)
99 (newsticker-extra-face, newsticker-enclosure-face):
100 * net/newst-treeview.el (newsticker-treeview-face)
101 (newsticker-treeview-new-face, newsticker-treeview-old-face)
102 (newsticker-treeview-immortal-face)
103 (newsticker-treeview-obsolete-face)
104 (newsticker-treeview-selection-face):
105 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
106 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
107 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
108 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
109 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
110 (nxml-outline-active-indicator, nxml-outline-ellipsis):
111 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
112 (mpuz-text):
113 * progmodes/vera-mode.el (vera-font-lock-number)
114 (vera-font-lock-function, vera-font-lock-interface):
115 * textmodes/table.el (table-cell): Use new-style face specs, and
116 don't use the old :bold and :italic attributes.
117
118 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
119 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
120 (ebrowse-member-class, ebrowse-progress): Likewise.
121 (ebrowse-tree-mark-face, ebrowse-root-class-face)
122 (ebrowse-file-name-face, ebrowse-default-face)
123 (ebrowse-member-attribute-face, ebrowse-member-class-face)
124 (ebrowse-progress-face): Remove obsolete faces.
125
126 * progmodes/flymake.el (flymake-errline, flymake-warnline):
127 Inherit from error and warning faces respectively.
128
129 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
130 Likewise.
131 (flyspell-incorrect-face, flyspell-duplicate-face): Remove
132 obsolete aliases.
133
03310646
MA
1342012-06-08 Michael Albinus <michael.albinus@gmx.de>
135
136 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
137 Avoid infloop.
138
513749ee
SM
1392012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * startup.el (argv, argi): Make lexically scoped.
142 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
143 * emacs-lisp/cl-macs.el: Use lexical-binding.
144 Rename cl-bind-* to cl--bind-*.
145 * files.el: Don't require `cl' since it doesn't use it.
146 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
147
595ef4ad
JB
1482012-06-08 Juanma Barranquero <lekktu@gmail.com>
149
150 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
151 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
152 instead of calling external sort utility.
153 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
154
e9f66fcb
EZ
1552012-06-08 Eli Zaretskii <eliz@gnu.org>
156
157 * descr-text.el (describe-char): Mention how to insert the
158 character, if the current input method doesn't support it.
159 See the discussion in this thread for the details:
160 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
161
3d10db47
SS
1622012-06-08 Sam Steingold <sds@gnu.org>
163
164 * bindings.el (global-map): Bind XF86Forward to next-buffer and
165 XF86Back to previous-buffer.
166 (minibuffer-local-map): Bind them to next-history-element and
167 previous-history-element respectively.
168 * help-mode.el (help-mode-map): Bind them to help-go-forward and
169 help-go-back respectively.
170 * info.el (Info-mode-map): Bind them to Info-history-forward and
171 Info-history-back respectively.
172 These are the keys next to Up on the ThinkPad keyboard.
173
de7e2b36
SM
1742012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
177 * emacs-lisp/cl-macs.el: Provide itself.
178 (cl--labels-convert-cache): New var.
179 (cl--labels-convert): New function.
180 (cl-flet, cl-labels): New implementation with new semantics, relying on
181 lexical-binding.
182 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
183 (cl-closure-vars, cl--function-convert-cache)
184 (cl--function-convert): Move from cl-macs.el.
185 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
186 rename by removing the "cl-" prefix.
187 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
188
6fa6c4ae
SM
1892012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
192 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
193 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
194 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
195 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
196 (cl-hash-table-count): Add old compatibility aliases.
197
198 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
199 Use macroexpand-all-environment instead.
200 (cl--old-macroexpand): New var.
201 (cl--sm-macroexpand): New function.
202 (cl-symbol-macrolet): Use it during macro expansion.
203 (cl--function-convert-cache): New var.
204 (cl--function-convert): New function, extracted from
205 cl-macroexpand-all.
206 (cl-lexical-let): Use it.
207
208 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
209 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
210 (cl-member): Remove old alias.
211
212 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
213 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
214 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
215 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
216 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
217 (cl-macroexpand-cmacs): Remove var.
218 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
219 Use macroexpand-all instead.
220
4dd1c416
SM
2212012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
224 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
225 (macroexp-copyable-p): New functions and macros.
226 * emacs-lisp/edebug.el (edebug-unwrap):
227 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
228 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
229 (pcase--let*): Remove.
230 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
231 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
232 macroexp-const-p instead.
233 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
234
235 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
236 instead of "cl-" for internal definitions. Use macroexp-const-p.
237 (cl-old-bc-file-form): Remove var.
238 (cl-const-exprs-p): Remove fun.
239 (cl-labels, cl-macrolet): Use backquote.
240 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
241 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
242 (cl-define-setf-expander): Rename from cl-define-setf-method.
243 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
244
245 * international/mule-cmds.el: Don't require CL.
246 (view-hello-file): Don't use `letf'.
247
ed8bd4d7
SM
2482012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
249
7287f2f3
SM
250 * tmm.el (tmm-prompt): Use string-prefix-p.
251 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
252 (tmm-add-prompt): Use minibuffer-completion-help.
253 (tmm-delete-map): Remove.
254
ed8bd4d7
SM
255 * subr.el (kbd): Make it its own function.
256
7b4cdbf4
SM
2572012-06-07 Stefan Merten <smerten@oekonux.de>
258
259 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
260 Silence compiler warnings. Fix versions.
ed8bd4d7 261 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 262 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 263 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
264 (rst-package-emacs-version-alist): Correct Emacs version to
265 represent major merge with upstream.
ed8bd4d7 266 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 267
2b48d721
GM
2682012-06-06 Glenn Morris <rgm@gnu.org>
269
270 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
271 Only print environment variables if set.
272
fa779ab0
SM
2732012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
276 (macroexp--cons): Rename from maybe-cons.
277 (macroexp--accumulate): Rename from macroexp-accumulate.
278 (macroexp--all-forms): Rename from macroexpand-all-forms.
279 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
280 (macroexp--expand-all): Rename from macroexpand-all-1.
281
628299e0
SS
2822012-06-06 Sam Steingold <sds@gnu.org>
283
284 * calendar/calendar.el (calendar-in-read-only-buffer):
285 Call `special-mode' to enable the standard read-only keybindings.
286
b7bb5838
SM
2872012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
290 with "loading" messages (bug#11635).
291
dfb308ba
MA
2922012-06-06 Michael Albinus <michael.albinus@gmx.de>
293
294 * files.el (enable-remote-dir-locals): New option.
295 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
296
0372ee92
MA
297 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
298 Ensure, that the temp directory is local.
299
300 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
301 `temporary-file-directory'.
302
eed0bb91
MA
303 * progmodes/python.el (python-send-region): Ensure, that the
304 temporary file is created also in the remote case.
305
7a58f64d
GM
3062012-06-06 Glenn Morris <rgm@gnu.org>
307
f7dd4e98
GM
308 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
309 (vc-rcs-update-changelog): Use it.
310
276d5f5d
GM
311 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
312
7a58f64d
GM
313 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
314 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
315 (vc-sccs-diff): Replace use of the external vcdiff script.
316
daed4003
GM
3172012-06-05 Glenn Morris <rgm@gnu.org>
318
319 * ledit.el: Move to obsolete/.
320
48c455c7
SS
3212012-06-05 Sam Steingold <sds@gnu.org>
322
323 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
324 patch (Bug#11140).
325
57a7d507
SM
3262012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
327
d32926ff
SM
328 * emacs-list/cust-print.el: Move to obsolete.
329
53aacf21
SM
330 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
331 compiler-macro expansion.
332
57a7d507
SM
333 Add native compiler-macro support.
334 * emacs-lisp/macroexp.el (macroexpand-all-1):
335 Support compiler-macros directly. Properly follow aliases and apply
336 the compiler macros more thoroughly.
337 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
338 macroexpand now properly follows aliases.
339 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
340 (cl-compiler-macroexpand): Use new prop.
341 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
342
343 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
344
51a5f9d8
MR
3452012-06-05 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (get-lru-window, get-mru-window, get-largest-window):
348 New argument NOT-SELECTED to avoid picking the selected window.
349 (window--display-buffer-1, window--display-buffer-2): Replace by
350 new function window--display-buffer
351 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
352 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
353 Use window--display-buffer.
51a5f9d8
MR
354 (display-buffer-use-some-window): Remove temporary dedication
355 hack by calling get-lru-window and get-largest-window with
356 NOT-SELECTED argument non-nil. Call window--display-buffer.
357
08f9f738
GM
3582012-06-05 Glenn Morris <rgm@gnu.org>
359
360 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
361 Replace external vcdiff script.
362
e364a2b7
SM
3632012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
366
041df390
CY
3672012-06-04 Chong Yidong <cyd@gnu.org>
368
e364a2b7
SM
369 * image.el (imagemagick-types-inhibit): Revert last change.
370 Add INFO and M.
47b36b94 371 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 372
7c1898a7
SM
3732012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * emacs-lisp/cl-lib.el: Rename from cl.el.
376 * emacs-lisp/cl.el: New compatibility file.
377 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
378 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
379 to obey the "cl-" prefix.
380 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
381
0c3461de
GM
3822012-06-03 Glenn Morris <rgm@gnu.org>
383
1e266c88
GM
384 * emacs-lisp/authors.el (authors-aliases): Addition.
385
0c3461de
GM
386 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
387 Fix :version.
388
d8a52e15
SM
3892012-06-03 Stefan Merten <smerten@oekonux.de>
390
391 * textmodes/rst.el: Add comments.
392 (rst-transition, rst-adornment): New faces.
393 (rst-adornment-faces-alist): Make default safe to reevaluate.
394 Fixes
395 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
396 Improve customization tags.
397 (rst-define-level-faces): Clarify meaning.
398
5205d6f6
CY
3992012-06-03 Chong Yidong <cyd@gnu.org>
400
401 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
402 (compilation-mode-line-run, compilation-mode-line-exit):
403 New faces.
5205d6f6
CY
404 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
405
757ee657
JD
4062012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
407
7c1898a7
SM
408 * progmodes/which-func.el (which-func-update-ediff-windows):
409 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 410
5f2c76c6
CY
4112012-06-03 Chong Yidong <cyd@gnu.org>
412
413 * bindings.el: Remove explicit help text from format-mode-line.
414 It is now supplied by mode-line-default-help-echo.
415 (mode-line-front-space, mode-line-end-spaces)
416 (mode-line-misc-info): New variables.
417 (mode-line-modes, mode-line-position): Move the default value to
418 the variable definition.
419 (mode-line-default-help-echo): New defcustom.
383f7350
CY
420 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
421 (mode-line-modified-help-echo): New functions.
422 (mode-line-mule-info, mode-line-modified): Use them.
423 (mode-line-eol-desc, propertized-buffer-identification):
424 Consistency fixes for help text.
cbe46e5f
CY
425 (mode-line-coding-system-map): Allow using mouse-3 to invoke
426 set-buffer-file-coding-system (Bug#289).
427 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 428
f2d6a3df
SM
4292012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * simple.el (execute-extended-command): Set real-this-command
432 (bug#11506).
433
37269466
CY
4342012-06-02 Chong Yidong <cyd@gnu.org>
435
436 Remove incorrect uses of "modeline" in comments, docstrings, and
437 function/variable names (Bug#10329).
438
439 * cus-edit.el (mode-line):
440 * dframe.el (dframe-mouse-hscroll):
441 * emacs-lisp/re-builder.el:
442 * emacs-lisp/easy-mmode.el (define-minor-mode):
443 * frame.el (set-frame-name):
444 * help.el (lookup-minor-mode-from-indicator):
445 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
446 * progmodes/cc-cmds.el (c-toggle-auto-newline)
447 (c-toggle-hungry-state):
448 * progmodes/antlr-mode.el (antlr-language-alist):
449 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
450 * progmodes/vhdl-mode.el (vhdl-mode):
451 * progmodes/which-func.el (which-func, which-func-cleanup-function):
452 * term/ns-win.el (ns-face-at-pos):
453 * term/sup-mouse.el (sup-mouse-report):
454 * textmodes/flyspell.el (flyspell-mode-line-string):
455 * textmodes/ispell.el (ispell-highlight-face):
456 * textmodes/reftex-global.el:
457 * vc/vc-arch.el (vc-arch-mode-line-string):
458 * vc/vc-cvs.el (vc-cvs-mode-line-string):
459 * vc/vc-git.el (vc-git-mode-line-string):
460 * vc/vc-hooks.el (vc-display-status)
461 (vc-default-mode-line-string):
462 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
463
464 * ansi-color.el (ansi-color-faces-vector): Change default faces.
465
466 * dired.el (dired-sort-set-mode-line): Rename from
467 dired-sort-set-modeline. All callers changed.
468
469 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
470 eshell-status-in-modeline.
471
472 * foldout.el (foldout-mode-line-string): Rename from
473 foldout-modeline-string. All callers changed.
474 (foldout-update-mode-line): Rename from foldout-update-modeline.
475
476 * subr.el (redraw-modeline): Make into obsolete alias.
477
478 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
479 timeclock-modeline-display. Make old name an alias.
480 (timeclock-update-mode-line): Likewise. All callers changed.
481 (timeclock-mode-line-display): No need to check before using
482 add-hook.
483 (timeclock-relative, timeclock-day-over-hook)
484 (timeclock-use-elapsed, timeclock-mode-string)
485 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
486
487 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
488 crisp-mode-modeline-string.
489
490 * play/solitaire.el (solitaire-build-mode-line): Rename from
491 solitaire-build-modeline. All callers changed.
492
493 * play/zone.el (zone-hiding-mode-line): Rename from
494 zone-hiding-modeline. All callers changed.
495 (zone): Remove unusued `modeline-hidden-level' property.
496
497 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
498 xscheme-modeline-initialize. All callers changed.
499
500 * strokes.el (strokes-lighter): Rename from
501 strokes-modeline-string.
502
503 * textmodes/sgml-mode.el (html-face-tag-alist)
504 (html-tag-face-alist): Use mode-line face instead of obsolete
505 alias modeline.
506
42152ee4
SM
5072012-06-02 Stefan Merten <smerten@oekonux.de>
508
509 * textmodes/rst.el: Always require `cl'.
4cf9b38d 510 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 511
95f520b5
CY
5122012-06-02 Chong Yidong <cyd@gnu.org>
513
514 * image.el (imagemagick-enabled-types): Rename from
515 imagemagick-types-enable. Add many more types.
516 (imagemagick-types-inhibit): Change default to nil.
517 (imagemagick-filter-types): Caller changed.
518
4a5f187a
SM
5192012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
520
03fef3e6
SM
521 * emacs-lisp/cl-macs.el: Use backquotes.
522 (cl-transform-function-property): Use eval-and-compile rather than
523 abusing `require'.
524 (defstruct): Use declare-function instead of with-no-warnings.
525
4a5f187a
SM
526 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
527 (byte-compile-output-docform): Re-add the print-circle bindings.
528 (byte-compile-fix-header): Use #$ just because it's shorter.
529 (byte-compile-output-file-form): Remove defun/defmacro.
530
bd56924f
MR
5312012-06-01 Martin Rudalics <rudalics@gmx.at>
532
533 * simple.el (choose-completion): Remove now obsolete binding for
534 owindow.
535
046e38ce
MA
5362012-06-01 Michael Albinus <michael.albinus@gmx.de>
537
538 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
539 in order to avoid "Stack overflow in regexp matcher".
540
32d72c2f
GM
5412012-05-31 Glenn Morris <rgm@gnu.org>
542
543 * image.el: For clarity, call imagemagick-register-types at
544 top-level, rather than relying on a custom :initialize.
545 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
546 (imagemagick-filter-types): New function. (Bug#7406)
547 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
548 If disabling support, remove elements altogether rather
549 than using an impossible regexp.
550 (imagemagick-types-inhibit): Give it the default init function.
551
dd41169b
SM
5522012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
553
4a5f187a
SM
554 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
555 Handle arbitrary file name lengths (Bug#11585).
dd41169b 556
efc00ab1 5572012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
558
559 * desktop.el (desktop-read): Clear previous and next buffers for
560 all windows and bury *Messages* buffer (bug#11556).
561
500fcedc
SM
5622012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 Add `declare' for `defun'. Align `defmacro's with it.
565 * emacs-lisp/easy-mmode.el (define-minor-mode)
566 (define-globalized-minor-mode): Don't autoload the var definitions.
567 * emacs-lisp/byte-run.el: Use lexical-binding.
568 (defun-declarations-alist, macro-declarations-alist): New vars.
569 (defmacro, defun): Use them.
570 (make-obsolete, define-obsolete-function-alias)
571 (make-obsolete-variable, define-obsolete-variable-alias):
572 Use `declare'.
573 (macro-declaration-function): Mark obsolete.
574 * emacs-lisp/autoload.el: Use lexical-binding.
575 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
576
6e8a1786
AM
5772012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
578
579 * textmodes/ispell.el (ispell-with-no-warnings):
580 Define as a macro.
500fcedc
SM
581 (ispell-kill-ispell, ispell-change-dictionary):
582 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
583 `interactive-p'.
584
61b108cc
SM
5852012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
588 (macro-declaration-function): Move var from C code.
589 (macro-declaration-function): Define function with defalias.
590 * emacs-lisp/macroexp.el (macroexpand-all-1):
591 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
592 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
593 defun/defmacro any more.
594 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
595 Provide fallback for unknown arglist.
596 (byte-compile-arglist-warn): Change calling convention.
597 (byte-compile-output-file-form): Move print-vars binding.
598 (byte-compile-output-docform): Simplify accordingly.
599 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
600 (byte-compile-defmacro-declaration): Remove.
601 (byte-compile-file-form-defmumble): Generalize to defalias.
602 (byte-compile-output-as-comment): Return byte-positions.
603 Simplify callers accordingly.
604 (byte-compile-lambda): Use `assert'.
605 (byte-compile-defun, byte-compile-defmacro): Remove.
606 (byte-compile-file-form-defalias):
607 Use byte-compile-file-form-defmumble.
608 (byte-compile-defalias-warn): Remove.
609
6d3f7c2f
SM
6102012-05-29 Stefan Merten <smerten@oekonux.de>
611
612 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 613 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
614
615 (rst-mode-abbrev-table): Merge definition.
616 (rst-mode): Make sure `font-lock-defaults' is buffer local.
617 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
618
6dbaa1c7
UJ
6192012-05-29 Ulf Jasper <ulf.jasper@web.de>
620
621 * calendar/icalendar.el
622 (icalendar-export-region): Export UID properly.
623
6242012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
625 * calendar/icalendar.el (icalendar-import-format):
626 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
627 (icalendar-import-format-uid): New.
628 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
629 Export UID.
630
6876a58d
SM
6312012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
634 different alternative patterns.
635 (pcase-codegen): Be more careful to preserve identity.
636 (pcase--u1): Don't forget to mark vars as used.
637
638 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
639 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
640 (byte-compile-from-buffer): ...rather than here.
641
642 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
643 functions from byte-compile-function-environment.
644
46b7967e
TN
6452012-05-29 Troels Nielsen <bn.troels@gmail.com>
646
647 * window.el (window-deletable-p): Avoid deleting the root window
648 of a frame with an active minibuffer.
649
69d565e2
MR
6502012-05-29 Martin Rudalics <rudalics@gmx.at>
651
652 * simple.el (choose-completion): Use quit-window (Bug#11567).
653
a149fa51
CY
6542012-05-29 Chong Yidong <cyd@gnu.org>
655
656 * whitespace.el (whitespace-cleanup): Fix usage of
657 whitespace-empty-at-bob-regexp (Bug#11492).
658
2b311310
AH
6592012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
660
661 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
662 revert (Bug#11488).
663
b9cb2387
JL
6642012-05-29 Juri Linkov <juri@jurta.org>
665
666 * isearch.el (isearch-mode-map): Bind `M-s _' to
667 `isearch-toggle-symbol'. Bind `M-s c' to
668 `isearch-toggle-case-fold'.
669 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
670 (isearch-forward): Add `M-s _' to the docstring.
671 (isearch-forward-symbol, isearch-toggle-case-fold)
672 (isearch-symbol-regexp): New functions. (Bug#11381)
673
d5e61c1c
JL
6742012-05-29 Juri Linkov <juri@jurta.org>
675
676 * isearch.el (isearch-word): Add docstring. (Bug#11381)
677 (isearch-occur, isearch-search-and-update): If `isearch-word' is
678 a function, call it to get the regexp.
679 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
680 property `isearch-message-prefix' instead of the string "word ".
681 (isearch-search-fun-default): For the case of `isearch-word',
682 return a lambda that calls re-search-forward/re-search-backward
683 with a regexp returned by `word-search-regexp' or by the function
684 in `isearch-word'.
685
8cbd80f7
JL
6862012-05-29 Juri Linkov <juri@jurta.org>
687
688 * isearch.el (isearch-search-fun-default): New function.
689 (isearch-search-fun): Move default part to the new function
690 `isearch-search-fun-default'.
691 (isearch-search-fun-function): Set the default value to
692 `isearch-search-fun-default'. (Bug#11381)
693
694 * comint.el (comint-history-isearch-end):
695 Use `isearch-search-fun-default'.
696 (comint-history-isearch-search): Use `isearch-search-fun-default'
697 and remove spacial case for `isearch-word'.
698 (comint-history-isearch-wrap): Remove spacial case for
699 `isearch-word'.
700
701 * hexl.el (hexl-isearch-search-function):
702 Use `isearch-search-fun-default'.
703
704 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
705 Use `word-search-regexp' for `isearch-word'.
706
707 * misearch.el (multi-isearch-search-fun):
708 Use `isearch-search-fun-default'.
709
710 * simple.el (minibuffer-history-isearch-search):
711 Use `isearch-search-fun-default' and remove spacial case for
712 `isearch-word'.
713 (minibuffer-history-isearch-wrap): Remove spacial case for
714 `isearch-word'.
715
716 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
717 Remove spacial case for `isearch-word'.
718 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
719
85c8c5b6
AM
7202012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
721
722 Decrease XEmacs incompatibilities.
723 * textmodes/flyspell.el (flyspell-check-pre-word-p):
724 Use `string-match'.
725 (flyspell-delete-region-overlays): Use alternative definition for
726 XEmacs.
727 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
728 (flyspell-word): Use `process-kill-without-query' if XEmacs.
729 (flyspell-mode-on): Use `interactive-p' if XEmacs.
730 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
731 `define-obsolete-face-alias' under XEmacs, but old method.
732
733 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
734 `with-no-warnings' definition or Emacs alias.
735 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
736 (ispell-word): Do not use `region-p' if XEmacs.
737
8cab9efc
AM
7382012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
739
740 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
741 Check for `ispell-dictionary-base-alist' instead of full
742 `ispell-dictionary-alist'.
743 (ispell-init-process): Show spellchecker when starting new Ispell
744 process.
745
fda91268
RZ
7462012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
749 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
750
694ea8e3
JB
7512012-05-27 Juanma Barranquero <lekktu@gmail.com>
752
753 * version.el (motif-version-string, gtk-version-string)
754 (ns-version-string): Declare.
755
e4d4f539
JL
7562012-05-27 Juri Linkov <juri@jurta.org>
757
758 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
759 after the `eval-defun-1' specialcaseing
760 like in `edebug-eval-defun' (bug#10181).
761
762 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
763 like in `eval-defun-1'.
764
33017faf 7652012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 766
fda91268
RZ
767 * mail/sendmail.el (mail-yank-region):
768 Recognize rmail-yank-current-message in addition to insert-buffer.
769 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
770 a *mail* buffer created through rmail-start-mail with sendmail as
771 mail-user-agent.
772
33017faf
GM
7732012-05-27 Chong Yidong <cyd@gnu.org>
774
775 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
776 Default to 256 (Bug#11267).
777
778 * help.el (describe-mode): Doc fix.
779
04188bb9
GM
7802012-05-26 Glenn Morris <rgm@gnu.org>
781
38264cc9
GM
782 * w32-fns.el (w32-init-info): Remove.
783 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
784
eb7afdad
GM
785 * info.el (info-initialize): For self-contained NS builds, put the
786 included info/ directory at the front. (Bug#2791)
787
04188bb9
GM
788 * paths.el (Info-default-directory-list): Make it a defcustom,
789 mainly so that we can use custom-initialize-delay.
790
a179e3f7
SM
7912012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
792
43416392
SM
793 * subr.el (buffer-has-markers-at): Mark obsolete.
794
a179e3f7 795 * subr.el (lambda): Use declare.
43416392 796
a179e3f7
SM
797 * emacs-lisp/lisp-mode.el (lambda):
798 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
799
34a008d9
AH
8002012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
801
802 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
803
0a3b289f
GM
8042012-05-26 Glenn Morris <rgm@gnu.org>
805
806 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
807
758c81e8
GM
8082012-05-25 Glenn Morris <rgm@gnu.org>
809
f9f334f0
GM
810 * paths.el: Remove no-byte-compile.
811 * loadup.el: No need to load paths.el uncompiled.
812
87eb79c2
GM
813 * image.el (imagemagick-types-inhibit): Doc fix.
814
758c81e8
GM
815 * version.el: Remove no-byte-compile and associated formatting.
816 * loadup.el: No need to load version.el uncompiled. AFAICS, this
817 is ancient code from when there was an "inc-vers.el".
818
e7e85dc0
SM
8192012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * progmodes/gdb-mi.el: Minor style changes.
822 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
823 Turn into minor modes.
824 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
825 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
826 (gdb-shell): Remove unneeded let-binding.
827 (gdb-get-many-fields): Eliminate O(n²) behavior.
828
f31237a4
EZ
8292012-05-25 Eli Zaretskii <eliz@gnu.org>
830
831 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
832 platforms that don't link in fontset.c.
833
bc1b21bb
JL
8342012-05-25 Juri Linkov <juri@jurta.org>
835
836 Use the same diff color scheme as in modern VCSes (bug#10181).
837
838 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
839 to avoid confusion with `diff-added' that now uses green colors.
840 (diff-removed): Use shades of red.
841 (diff-added): Use shades of green.
842 (diff-changed): Leave just the yellow color.
843 (diff-use-changed-face): New variable.
844 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
845 how to highlight context diff changes.
846 (diff-refine-change): Use shades of yellow.
847 (diff-refine-removed): New face that uses shades of red.
848 (diff-refine-added): New face that uses shades of green.
849 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
850 `diff-refine-removed' in the call to `smerge-refine-subst'
851 depending on the value of `diff-use-changed-face'.
852
853 * vc/smerge-mode.el (smerge-mine): Use shades of red.
854 (smerge-other): Use shades of green.
855 (smerge-base): Use shades of yellow.
856 (smerge-refined-change): Empty face.
857 (smerge-refined-removed): New face that uses shades of red.
858 (smerge-refined-added): New face that uses shades of green.
859 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
860 args `props-r' and `props-a', and use them. Doc fix.
861 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
862 on its value use different faces `smerge-refined-change',
863 `smerge-refined-removed', `smerge-refined-added' in the call to
864 `smerge-refine-subst'.
865
866 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
867 Add face condition `min-colors 88' with shades of red.
868 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
869 `min-colors 88' with shades of green.
870 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
871 `min-colors 88' with shades of yellow.
872
6df9112c
GM
8732012-05-24 Glenn Morris <rgm@gnu.org>
874
ead5edc0
GM
875 * paths.el (prune-directory-list, remote-shell-program): Move to...
876 * files.el (prune-directory-list, remote-shell-program): ...here.
877 For the latter, delay initialization, prefer ssh, just search PATH.
878
f18b81e6
GM
879 * paths.el (term-file-prefix): Move to faces.el (the only user).
880 * faces.el (term-file-prefix): Move here, make it a defcustom.
881
ee2f89a6
GM
882 * paths.el (news-directory, news-path, news-inews-program):
883 Move to gnus/nnspool.el.
61a583ca 884
f8815e4c
GM
885 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
886
c8f3b42c
GM
887 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
888 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
889 Make the latter a defcustom, with a delayed initialization.
890
6df9112c
GM
891 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
892 These were deleted from Gnus itself late 2010.
893
5dadff36
JB
8942012-05-22 Juanma Barranquero <lekktu@gmail.com>
895
9e1701c6
JB
896 * progmodes/which-func.el (which-func-ff-hook):
897 Check against user-error, not error.
898
bd7239f5 899 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
900 cl-specs.el, which no longer exists.
901
3290526d
GM
9022012-05-22 Glenn Morris <rgm@gnu.org>
903
904 * info.el (info-emacs-bug): New command.
905 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
906 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
907
ff0c3cfb
GM
9082012-05-21 Glenn Morris <rgm@gnu.org>
909
910 * makefile.w32-in (update-subdirs-SH):
911 * Makefile.in (update-subdirs): Update for moved update-subdirs.
912
5814f126
SM
9132012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
914
a52c0aa0
SM
915 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
916
5814f126
SM
917 * progmodes/compile.el (compilation-error-regexp-alist-alist):
918 Simplify Maven regexp, and make sure the file can't start with a space
919 (bug#11517).
920
b847032c
GM
9212012-05-21 Glenn Morris <rgm@gnu.org>
922
923 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
924 Scrap superfluous subshells.
925
3858bfe7
SM
9262012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
929 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
930
d14b0029
JB
9312012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
932
933 * calc/calc.el (calc-ensure-consistent-units): New variable.
934
a52c0aa0
SM
935 * calc/calc-units.el (math-consistent-units-p)
936 (math-check-unit-consistency): New functions.
937 (calc-quick-units, calc-convert-units):
938 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
939 is non-nil.
d14b0029
JB
940 (calc-extract-units): Fix typo.
941
60c4db3a
SM
9422012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
943
77f3b62e
SM
944 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
945
60c4db3a
SM
946 * textmodes/flyspell.el: Commenting style, plus code simplifications.
947 (flyspell-default-deplacement-commands): Don't spell check after
948 repeated window/frame switches (e.g. triggered by mouse-movement).
949 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
950 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
951 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
952 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
953 Remove unused vars.
954 (flyspell-get-casechars, flyspell-get-not-casechars):
955 Simplify; Don't bother removing a ] just to add it back.
956 * textmodes/ispell.el (ispell-program-name): Use executable-find.
957
b1a10716
RS
9582012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
959
960 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
961 New functions.
bd7239f5 962 (math-function-table): Add support for more C functions.
b1a10716 963
3f1b25b5
AM
9642012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
965
966 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
967 (flyspell-debug-signal-word-checked): Protect delay handling for
968 otherchars against empty otherchars.
969
b581bb5c
SM
9702012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
973 their respective macro declarations.
974 * skeleton.el (define-skeleton):
975 * progmodes/compile.el (define-compilation-mode):
976 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
977 (define-ibuffer-filter):
978 * emacs-lisp/generic.el (define-generic-mode):
979 * emacs-lisp/easy-mmode.el (define-minor-mode)
980 (define-globalized-minor-mode):
981 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
982 * emacs-lisp/byte-run.el (defsubst):
983 * custom.el (deftheme): Add doc-string metadata.
984
70b8ef8f
SM
9852012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
988
b1198e17
SM
9892012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
990
9abdc45d
SM
991 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
992
b1198e17
SM
993 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
994 * emacs-lisp/cl-macs.el: Idem.
995 * emacs-lisp/cl-specs.el: Remove.
996
4735906a
SM
9972012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 Minor renaming of internal CL functions and variables.
1000 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1001 (cl--position): Rename from cl-position.
1002 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1003 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1004 (cl--random-state): Rename from *random-state*.
1005
ac348012
SM
10062012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1009 parens around the arg list (bug#11499).
1010
a0a79cde
JL
10112012-05-17 Juri Linkov <juri@jurta.org>
1012
1013 * isearch.el (word-search-regexp, word-search-backward)
1014 (word-search-forward, word-search-backward-lax)
1015 (word-search-forward-lax): Move functions from search.c
1016 (bug#10145, bug#11381).
1017
65034a51
AM
10182012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1019
1020 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1021 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1022 normal word components.
1023
1a72a195
SM
10242012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * minibuffer.el (completion--sifn-requote): Fix last change.
1027 (minibuffer-local-must-match-filename-map):
1028 Move define-obsolete-variable-alias before its var.
1029
fdb058c2
SM
10302012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1031
c41045e6
SM
1032 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1033
036dfb8b
SM
1034 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1035 behavior.
1036 (completion--string-equal-p): New function.
1037 (completion--twq-all): Use it to get better assertion failure data.
1038
2473256d
SM
1039 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1040 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1041 (shell--requote-argument): New functions.
1042 (shell-completion-vars): Use them.
1043 (shell--parse-pcomplete-arguments): Rename from
1044 shell-parse-pcomplete-arguments.
1045 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1046 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1047 Obey comint-file-name-quote-list.
1048
fdb058c2
SM
1049 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1050 (smie-indent-keyword): Use it.
1051
51fa99f1
SM
10522012-05-14 Stefan Merten <smerten@oekonux.de>
1053
1054 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1055
e18afed7 10562012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1057
1058 * net/rlogin.el (rlogin-mode-map): Fix last change.
1059
e18afed7 10602012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1061
1062 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1063 the following \r\n using a single `process-send-string', since the
1064 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1065 with two `process-send-string's (Bug#11444).
8633b1f4 1066
e18afed7 10672012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1068
fdb058c2
SM
1069 * shell.el (shell-parse-pcomplete-arguments):
1070 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1071
2d21d7f6
WJ
10722012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1073
e18afed7 1074 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1075 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1076 (image-transform-width, image-transform-fit-width): New functions.
1077 (image-transform-properties): Use them.
1078 (image-transform-check-size): New function.
1079 (image-toggle-display-image): Use it (for testing).
1080 (image-transform-set-rotation): Reduce angle mod 360.
1081 Delete obsolete comment.
1082
7102e6d0
WJ
10832012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1084
1085 * image-mode.el: Fix scaling (bug#11399).
1086 (image-transform-resize): Doc fix.
1087 (image-transform-properties): Default scale is 1 and height should
1088 be an integer.
1089
06bc5e6e
SM
10902012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
1091
1092 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1093 than hard-coding `car', to fix misbehavior when moving forward.
1094
0ae03b6a
CY
10952012-05-13 Chong Yidong <cyd@gnu.org>
1096
1097 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1098 (tabulated-list-entries, tabulated-list-padding)
1099 (tabulated-list-sort-key): Make permanent-local.
1100
1101 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1102 (electric-buffer-list): Put electric buffer menu
1103 command descriptions in this docstring, instead of the docstring
1104 of electric-buffer-menu-mode. Code cleanups.
1105 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1106 Electric-buffer-menu-mode.
1107 (electric-buffer-update-highlight): Minor code cleanup.
1108
205a7391
MA
11092012-05-13 Michael Albinus <michael.albinus@gmx.de>
1110
1111 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1112 (Bug#11447)
1113
e5bd0a28
SM
11142012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 Move define-obsolete-variable-alias before the var's definition.
1117 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1118 * tooltip.el (tooltip-hook):
1119 * textmodes/reftex-toc.el (reftex-toc-map):
1120 * textmodes/reftex-sel.el (reftex-select-label-map)
1121 (reftex-select-bib-map):
1122 * textmodes/reftex-index.el (reftex-index-map)
1123 (reftex-index-phrases-map):
1124 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1125 * progmodes/meta-mode.el (meta-mode-map):
1126 * novice.el (disabled-command-hook):
1127 * loadhist.el (unload-hook-features-list):
1128 * frame.el (blink-cursor):
1129 * files.el (find-file-not-found-hooks, write-file-hooks)
1130 (write-contents-hooks):
1131 * emulation/tpu-edt.el (GOLD-map):
1132 * emacs-lock.el (emacs-lock-from-exiting):
1133 * emacs-lisp/generic.el (generic-font-lock-defaults):
1134 * emacs-lisp/chart.el (chart-map):
1135 * dos-fns.el (register-name-alist):
1136 * dired-x.el (dired-omit-files-p):
1137 * desktop.el (desktop-enable):
1138 * cus-edit.el (custom-mode-hook):
1139 * buff-menu.el (buffer-menu-mode-hook):
1140 * bookmark.el (bookmark-read-annotation-text-func)
1141 (bookmark-exit-hooks):
1142 * allout.el (allout-mode-deactivate-hook)
1143 (allout-exposure-change-hook, allout-structure-added-hook)
1144 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1145 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1146 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1147 comes before the corresponding variable's definition.
1148
ac59c2f6
CY
11492012-05-12 Chong Yidong <cyd@gnu.org>
1150
1151 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1152 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1153 (Buffer-menu-mode-map): Bind it.
1154 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1155
dee6c9a3
SM
11562012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1157
2171cea5
SM
1158 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1159 (prolog-upper-case-string, prolog-lower-case-string)
1160 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1161 (prolog-use-smie, prolog-smie-grammar): New vars.
1162 (prolog-smie-forward-token, prolog-smie-backward-token)
1163 (prolog-smie-rules): New funs.
1164 (prolog-comment-indent): Remove.
1165 (prolog-mode-variables): Use default comment indentation instead.
1166 Setup SMIE.
1167 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1168 (prolog-mode): Don't call them any more.
1169 (prolog-electric-colon, prolog-electric-dash)
1170 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1171
aa0382bd
SM
1172 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1173
dbacb4bd
SM
1174 * minibuffer.el (completion--twq-all): Again, allow case differences.
1175
13bdd94c
SM
1176 * term.el: Move keymap initialization code to be more idiomatic.
1177 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1178 (term-terminal-menu): Move initialization into declaration.
1179 (term-escape-char): Let the user set it in her .emacs.
1180
ff46c759
SM
1181 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1182 Provide SMIE-based indentation (not enabled by default yet).
1183 (sh-mode-map): Don't bind electric keys.
1184 Use electric-pair-mode instead of skeleton-pair.
1185 (sh-assignment-regexp): Fit within 80 columns.
1186 (sh-indent-supported): Specify actual shell name instead of boolean.
1187 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1188 (sh-maybe-here-document): Use it. Make obsolete.
1189 (sh-electric-here-document-mode) New minor mode.
1190 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1191 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1192 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1193 (sh-smie-rc-grammar, sh-use-smie): New vars.
1194 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1195 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1196 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1197 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1198 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1199 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1200 (sh-set-shell): Use smie-setup if requested.
1201
dee6c9a3
SM
1202 * term.el (term-set-escape-char): Properly set term-escape-char.
1203 See http://stackoverflow.com/questions/10524656.
1204
9f9aa044
CY
12052012-05-10 Chong Yidong <cyd@gnu.org>
1206
1207 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1208 Use url-generic-parse-url, and handle host names and Windows
1209 filenames properly.
1210 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1211 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1212 URL schemes to work on.
1213 (ffap--toggle-read-only): New function.
1214 (ffap-read-only, ffap-read-only-other-window)
1215 (ffap-read-only-other-frame): Use it.
1216 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1217 necessary for ffap-url-unwrap-remote.
1218
836d29b3
DA
12192012-05-10 Dave Abrahams <dave@boostpro.com>
1220
1221 * cus-start.el (create-lockfiles): Add it.
1222
00fd78ed
CY
12232012-05-09 Chong Yidong <cyd@gnu.org>
1224
1225 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1226 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1227
666b903b 12282012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1229
1230 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1231
666b903b 12322012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1233
1234 * ansi-color.el (ansi-color-process-output): Check for validity of
1235 comint-last-output-start before using it. This avoids a bad
1236 interaction with gdb-mi's input/output buffer.
1237
666b903b 12382012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1239
1240 * files.el (dir-locals-read-from-file):
1241 Mention dir-locals in any error message.
1242
666b903b 12432012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1244
1245 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1246 package (Bug#11410).
1247
f677562b
CY
1248 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1249 variables into description.
1250
666b903b 12512012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1252
1253 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1254 shell-delimiter-argument-list (bug#11348).
1255 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1256
b499d8d0
JB
12572012-05-09 Juanma Barranquero <lekktu@gmail.com>
1258
8f6b6da8
JB
1259 * textmodes/rst.el: Silence byte-compiler warnings.
1260 (rst-re-alist, rst-reset-section-caches): Move around.
1261 (rst-re): Use `characterp', not `char-valid-p'.
1262 (font-lock-beg, font-lock-end): Declare.
1263
4824146a
JB
1264 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1265 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1266
b499d8d0
JB
1267 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1268
ad89bb83
GM
12692012-05-08 Glenn Morris <rgm@gnu.org>
1270
1271 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1272
8bba5a75
SM
12732012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1274
49ed9c8e
SM
1275 * vc/log-edit.el: Add GNU coding standards highlighting.
1276 (log-edit-font-lock-gnu-style)
1277 (log-edit-font-lock-gnu-keywords): New vars.
1278 (log-edit-font-lock-keywords): New fun.
1279 (log-edit-mode): Don't fold case in font-lock.
1280 (log-edit-font-lock-keywords): Do not assume case-folding.
1281
07d00b56
SM
1282 * imenu.el: Misc cleanup. Make docstrings out of comments.
1283 Use lexical-binding.
1284 (imenu--index-alist, imenu--last-menubar-index-alist)
1285 (imenu-menubar-modified-tick): Use defvar-local.
1286 (imenu--split-menu): Remove unused var.
1287 (imenu--cleanup-seen): Declare as global.
1288 (imenu--cleanup): Use dolist.
1289
8bba5a75
SM
1290 * subr.el (defvar-local): Add debug spec and doc-string position.
1291
5075bdb5
GM
12922012-05-08 Glenn Morris <rgm@gnu.org>
1293
c052c904
GM
1294 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1295 * language/english.el, language/georgian.el, language/greek.el:
1296 * language/japanese.el, language/khmer.el, language/korean.el:
1297 * language/lao.el, language/misc-lang.el, language/romanian.el:
1298 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1299 * language/thai.el, language/utf-8-lang.el:
1300 Remove no-byte-compile setting.
1301
5075bdb5
GM
1302 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1303
06f679a7
AH
13042012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1305
1306 * progmodes/make-mode.el (makefile-browse):
1307 Remove unnecessary interactive. (Bug#11324)
1308
03794570
GM
13092012-05-07 Glenn Morris <rgm@gnu.org>
1310
af8630f4
GM
1311 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1312
03794570
GM
1313 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1314
f0809a9d
SM
13152012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1316
28be5ce7
SM
1317 * loadup.el: Preload newcomment.el.
1318 * newcomment.el: Move autoload-only code to toplevel.
1319
f0809a9d
SM
1320 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1321 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1322 Handle new :right-align column property.
1323 (tabulated-list-print-col): Idem, plus use `display' text-property to
1324 try and preserve alignment for variable pitch fonts.
1325
1241b724
CY
13262012-05-07 Chong Yidong <cyd@gnu.org>
1327
1328 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1329 (tabulated-list-use-header-line): New var.
1330 (tabulated-list-init-header): Use it.
1331 (tabulated-list-print-fake-header): New function.
1332 (tabulated-list-print): Use it.
1333 (tabulated-list-sort-button-map): Add non-header-line commands.
1334 (tabulated-list-init-header): Add column name property to basic
1335 labels as well.
1336 (tabulated-list-col-sort): Handle non-header-line button case.
1337 (tabulated-list--sort-by-column-name): Fix a corner case.
1338
f0809a9d
SM
1339 * buff-menu.el (list-buffers--refresh):
1340 Handle Buffer-menu-use-header-line.
1241b724 1341
e5f9458f
CY
13422012-05-06 Chong Yidong <cyd@gnu.org>
1343
1344 * buff-menu.el: Convert to Tabulated List mode.
1345 (Buffer-menu-buffer+size-width): Make obsolete.
1346 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1347 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1348 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1349 documentation into docstring of buffer-menu.
1350 (Buffer-menu-toggle-files-only): Add an informative message.
1351 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1352 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1353 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1354 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1355 (Buffer-menu-execute, Buffer-menu-select)
1356 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1357 (Buffer-menu-bury): Use Tabulated List machinery.
1358 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1359 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1360 Delete.
e5f9458f
CY
1361 (list-buffers--refresh): New function.
1362 (list-buffers-noselect): Use it.
1363 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1364 (Buffer-menu--pretty-file-name): New helper functions.
1365
1366 * loadup.el: Preload tabulated-list.
1367
1368 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1369 tabulated-list-sort-column.
1370 (tabulated-list-init-header): Add the initial aligning space even
1371 if tabulated-list-padding is zero.
1372
e129292c
CS
13732012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1374
1375 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1376 whose cdr is not a cons cell correctly (bug#11038).
1377
6632d361
CY
13782012-05-06 Chong Yidong <cyd@gnu.org>
1379
e129292c
CS
1380 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1381 Accept additional plist in column descriptors.
6632d361
CY
1382 (tabulated-list-init-header): Obey it.
1383 (tabulated-list-get-entry): New function.
1384 (tabulated-list-put-tag): Use it. Use string-width instead of
1385 length.
1386 (tabulated-list--column-number): New function.
1387 (tabulated-list-print): Use it.
e129292c
CS
1388 (tabulated-list-print-col): New function.
1389 Set `tabulated-list-column-name' property on each column's text.
6632d361 1390 (tabulated-list-print-entry): Use it.
e129292c
CS
1391 (tabulated-list-delete-entry, tabulated-list-set-col):
1392 New functions.
6632d361
CY
1393 (tabulated-list-sort-column): New command (Bug#11337).
1394
3cc99f68
CY
1395 * buff-menu.el (list-buffers): Move C-x C-b binding from
1396 buff-menu.el to bindings.el.
1397
1398 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1399 :advertised-binding feature.
1400
52b61776
TN
14012012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1402
1403 * progmodes/compile.el (compilation-internal-error-properties):
1404 Calculate start position correctly when end-col is set but
1405 end-line is not (Bug#11382).
1406
ebfe2597
WJ
14072012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1408
1409 * man.el (Man-unindent): Use text-property-default-nonsticky to
1410 prevent untabify from inheriting face properties (Bug#11408).
1411
6d3f7c2f
SM
14122012-05-05 Stefan Merten <smerten@oekonux.de>
1413
1414 * textmodes/rst.el: Major merge with upstream development up to
1415 Docutils SVN r7399 / rst.el V1.2.1.
1416
1417 Clarify maintainership and authors.
1418
1419 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1420 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1421 (rst-official-version, rst-official-cvs-rev, rst-version)
1422 (rst-package-emacs-version-alist): New functions and variables
1423 for version information.
1424
1425 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1426 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1427 (rst-mode-syntax-table, rst-mode): New and corrected functions
1428 and variables representing reStructuredText features.
1429
1430 (rst-re): New function for reStructuredText regexes. Use in
1431 many places.
1432
1433 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1434 (rst-mode-map): Rebind keys.
1435
1436 (rst-mode-lazy, rst-font-lock-keywords)
1437 (rst-font-lock-extend-region)
1438 (rst-font-lock-extend-region-internal)
1439 (rst-font-lock-extend-region-extend)
1440 (rst-font-lock-find-unindented-line-limit)
1441 (rst-font-lock-find-unindented-line-match)
1442 (rst-adornment-level, rst-font-lock-adornment-level)
1443 (rst-font-lock-adornment-match)
1444 (rst-font-lock-handle-adornment-pre-match-form)
1445 (rst-font-lock-handle-adornment-matcher): Major revision of
1446 font-locking. Integrate with other code. Use `jit-lock-mode'.
1447
1448 (rst-preferred-adornments, rst-adjust-hook)
1449 (rst-new-adornment-down, rst-preferred-bullets)
1450 (rst-preferred-bullets, rst-indent, rst-indent-width)
1451 (rst-indent-field, rst-indent-literal-normal)
1452 (rst-indent-literal-minimized, rst-indent-comment): Change,
1453 extend and improve customization.
1454
1455 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1456 (rst-normalize-cursor-position, rst-get-decoration)
1457 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1458 (rst-rstrip, rst-toc-insert-find-delete-contents)
1459 (rst-shift-fill-region, rst-compute-bullet-tabs)
1460 (rst-debug-print-tabs, rst-debug-mark-found)
1461 (rst-shift-region-guts, rst-shift-region-right)
1462 (rst-shift-region-left, rst-use-char-classes)
1463 (rst-font-lock-keywords-function)
1464 (rst-font-lock-indentation-point)
1465 (rst-font-lock-find-unindented-line-begin)
1466 (rst-font-lock-find-unindented-line-end)
1467 (rst-font-lock-find-unindented-line)
1468 (rst-font-lock-adornment-point, rst-font-lock-level)
1469 (rst-adornment-level-alist): Remove functions and variables.
1470
1471 (rst-compare-adornments, rst-get-adornment-match)
1472 (rst-suggest-new-adornment, rst-get-adornments-around)
1473 (rst-adornment-complete-p, rst-get-next-adornment)
1474 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1475 (rst-straighten-adornments): Standardize function names to
1476 use "adornment" instead of "decoration". Correct callers.
1477 Similar standardizing in many places.
1478
1479 (rst-update-section, rst-adjust, rst-promote-region)
1480 (rst-enumerate-region, rst-bullet-list-region)
1481 (rst-repeat-last-character): Correct use of `interactive'.
1482
1483 (rst-classify-adornment, rst-find-all-adornments)
1484 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1485 (rst-find-leftmost-column, rst-repeat-last-character):
1486 Refactor functions.
1487
1488 (rst-find-title-line, rst-reset-section-caches)
1489 (rst-get-adornments-around, rst-adjust-adornment-work)
1490 (rst-arabic-to-roman, rst-roman-to-arabic)
1491 (rst-insert-list-pos, rst-insert-list-new-item)
1492 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1493 New functions.
1494
1495 (rst-all-sections, rst-section-hierarchy)
1496 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1497 New variables.
1498
1499 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1500 configuration instead of only buffer. Change where necessary.
1501
1502 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1503 (rst-shift-region, rst-adaptive-fill): New functions for
1504 indentation and filling.
1505
1506 (rst-comment-line-break, rst-comment-indent)
1507 (rst-comment-insert-comment, rst-comment-region)
1508 (rst-uncomment-region): New functions for handling comments.
1509
1510 (rst-compile): Quote shell arguments.
1511
1512 (rst-compile-pdf-preview, rst-compile-slides-preview):
1513 Delete temporary files after use.
1514
a43f98b3
GM
15152012-05-05 Glenn Morris <rgm@gnu.org>
1516
48176e8b
GM
1517 * calendar/cal-html.el: Optionally include holidays in the output.
1518 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1519 (cal-html-holidays): New option.
1520 (cal-html-css-default): Add holiday entry.
1521 (holiday-in-range): Autoload it.
1522 (cal-html-htmlify-entry): Add optional class argument.
1523 (cal-html-htmlify-list): Add optional holidays argument.
1524 (cal-html-insert-agenda-days): Include holidays in the output.
1525 (cal-html-one-month): Maybe include holidays.
1526
a43f98b3
GM
1527 * calendar/holidays.el (holiday-in-range):
1528 Move here from cal-tex-list-holidays.
1529 * calendar/cal-tex.el (cal-tex-list-holidays):
1530 Make it an obsolete alias for holiday-in-range. Update all callers.
1531
fef9d149 15322012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1533
1534 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1535 Nextstep.
1536
248da2f4
RW
15372012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1538
1539 * files.el (file-auto-mode-skip): New var.
1540 (set-auto-mode-1): Use it.
1541
f95e9344
SM
15422012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1543
df96ab1e
SM
1544 * repeat.el: Use lexical-binding.
1545 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1546 (repeat-undo-count): Remove.
1547 (repeat):
1548 * progmodes/octave-mod.el (octave-abbrev-start):
1549 * progmodes/f90.el (f90-abbrev-start):
1550 * face-remap.el (text-scale-adjust):
1551 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1552
5342bb06
SM
1553 * emacs-lisp/pcase.el (pcase--let*): New function.
1554 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1555 a bit more.
1556 (pcase--split-pred): Be more clever about ruling out overlap between
1557 a predicate and some constant pattern.
1558 (pcase--q1): Use `null' instead of (eq foo nil).
1559
f95e9344
SM
1560 * subr.el (setq-local, defvar-local): New macros.
1561 (kbd): Redefine as an alias.
1562 (with-selected-window): Leave unrelated frames alone.
1563 (set-temporary-overlay-map): New function.
1564
71873e2b
SM
15652012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * subr.el (user-error): New function.
1568 * window.el (switch-to-buffer):
1569 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1570 (smerge-match-conflict):
1571 * simple.el (previous-matching-history-element)
1572 (next-matching-history-element, goto-history-element, undo-more)
1573 (undo-start):
1574 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1575 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1576 (next-file, tags-loop-scan, list-tags, complete-tag):
1577 * progmodes/compile.el (compilation-loop):
1578 * mouse.el (mouse-minibuffer-check):
1579 * man.el (Man-bgproc-sentinel, Man-goto-page):
1580 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1581 (Info-history-forward, Info-follow-reference, Info-menu)
1582 (Info-extract-menu-item, Info-extract-menu-counting)
1583 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1584 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1585 (Info-next-reference, Info-prev-reference, Info-index)
1586 (Info-index-next, Info-follow-nearest-node)
1587 (Info-copy-current-node-name):
1588 * imenu.el (imenu--make-index-alist)
1589 (imenu-default-create-index-function, imenu-add-to-menubar):
1590 * files.el (basic-save-buffer, recover-file):
1591 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1592 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1593 (checkdoc-message-text, checkdoc-defun):
1594 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1595 * cus-edit.el (customize-changed-options, customize-rogue)
1596 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1597 (custom-variable-mark-to-reset-standard)
1598 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1599 (custom-file):
1600 * completion.el (check-completion-length):
1601 * comint.el (comint-search-arg)
1602 (comint-previous-matching-input-string-position)
1603 (comint-previous-matching-input)
1604 (comint-replace-by-expanded-history-before-point, comint-send-input)
1605 (comint-copy-old-input, comint-backward-matching-input)
1606 (comint-goto-process-mark, comint-set-process-mark):
1607 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1608 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1609
8a61ee22
SM
16102012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1611
66408d1e
SM
1612 * dabbrev.el (dabbrev--ignore-case-p): New function.
1613 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1614 Use it.
1615
8a61ee22
SM
1616 * files.el (automount-dir-prefix): Mark as obsolete.
1617
3c74813a
GM
16182012-05-04 Glenn Morris <rgm@gnu.org>
1619
1620 * patcomp.el, play/bruce.el: Move to obsolete/.
1621
0bfcf5c5
PE
16222012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1623
1624 Fix minor Y10k bugs.
1625 * arc-mode.el (archive-unixdate):
1626 * autoinsert.el (auto-insert-alist):
1627 * calc/calc-forms.el (math-this-year):
1628 * emacs-lisp/copyright.el (copyright-current-year)
1629 (copyright-update-year, copyright):
1630 * tar-mode.el (tar-clip-time-string):
1631 * time.el (display-time-update):
1632 Don't assume years have 4 digits.
1633
78f3273a
CY
16342012-05-04 Chong Yidong <cyd@gnu.org>
1635
1636 * dos-w32.el (file-name-buffer-file-type-alist)
1637 (direct-print-region-use-command-dot-com):
1638 * ffap.el (ffap-menu-regexp):
1639 * find-file.el (ff-special-constructs):
1640 * follow.el (follow-debug):
1641 * forms.el (forms--debug):
1642 * iswitchb.el (iswitchb-all-frames):
1643 * ido.el (ido-all-frames):
1644 * emacs-lisp/timer.el (timer-max-repeats):
1645 * mail/feedmail.el (feedmail-mail-send-hook)
1646 (feedmail-mail-send-hook-queued):
1647 * mail/footnote.el (footnote-signature-separator):
1648 * mail/mailabbrev.el (mail-alias-separator-string)
1649 (mail-abbrev-mode-regexp):
1650 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1651 * progmodes/idlwave.el (idlwave-libinfo-file)
1652 (idlwave-default-completion-case-is-down)
1653 (idlwave-library-routines): Convert defvars to defcustoms.
1654
1655 * mail/rmail.el (rmail-decode-mime-charset):
1656 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1657 (idlwave-shell-fix-inserted-breaks)
1658 (idlwave-shell-activate-alt-keybindings)
1659 (idlwave-shell-use-breakpoint-glyph):
1660 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1661
f7ae6719
SM
16622012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1665
47086495
WS
16662012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1667
1668 * progmodes/verilog-mode.el (font-lock-keywords):
1669 Fix mis-highligting auto. Reported by Craig Barner.
1670 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1671 defines from global name space. Reported by Dan Dever.
1672 (verilog-auto-reset, verilog-auto-reset-widths)
1673 (verilog-auto-tieoff): Support using unbased numbers for
1674 AUTORESET and AUTOTIEOFF.
1675 (verilog-submit-bug-report): Update variable list.
1676 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1677 parenthesis from not matching. Reported by Michael Rytting.
1678 (verilog-auto-template-lint): Fix hash error when linting modules
1679 with no used templates.
1680 (verilog-warn, verilog-warn-error)
1681 (verilog-warn-fatal): When non-interactive report multiple
1682 warnings before exiting. Suggested by Brad Dobbie.
1683 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1684 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1685 to report unused template errors. Reported by Brad Dobbie.
1686 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1687 nets, bug438. Reported by Vns Blore.
1688 (verilog-auto-inout-module, verilog-auto-reg)
1689 (verilog-read-decls, verilog-read-sub-decls-sig)
1690 (verilog-signals-edit-wire-reg, verilog-signals-with):
1691 Fix passing of Verilog data types in ANSI input/output ports
1692 such as "output logic" into the AUTOs. Special case "wire" and
1693 "reg" for backwards compatibility presuming Verilog 2001.
1694 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1695 (verilog-preprocess): Fix replication of preprocess output.
1696 Reported by Brad Dobbie.
1697 (verilog-auto-inst-interfaced-ports):
1698 Create verilog-auto-inst-interfaced-ports, bug429.
1699 Reported by Julian Gorfajn.
1700 (verilog-after-save-font-hook)
1701 (verilog-before-save-font-hook): New variable.
1702 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1703 (verilog-save-font-mods): Wrap disabling fontification, reported
1704 by David Rogoff.
1705 (verilog-do-indent, verilog-pretty-declarations-auto)
1706 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1707 Reported by Pierre-David Pfister.
1708 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1709 of class declarations, bug292. Reported by Kevin Heilman.
1710 (verilog-read-decls): Fix 'parameter type' not appearing in
1711 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1712 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1713 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1714 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1715 Reported by David Kravitz.
1716
17172012-05-03 Michael McNamara <mac@mail.brushroad.com>
1718
1719 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1720 assignment with tests in ifs and for loops.
1721 (verilog-extended-complete-re, verilog-complete-reg): Change so
1722 that DPI inport functions don't look like fuction declarations.
1723 (verilog-pretty-expr): Don't line up assignment
1724 operations to the test and increment in if and for loops
1725 (verilog-extended-complete-re, verilog-complete-reg): Change so
1726 that DPI inport functions don't look like fuction declarations
1727
2e51d4b5
KH
17282012-05-03 Kenichi Handa <handa@m17n.org>
1729
1730 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1731 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1732 (Bug#11282).
1733
2bd785a2
SM
17342012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * emacs-lisp/bytecomp.el
1737 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1738 since cconv.el might have introduced :fun-body, internal-make-closure,
1739 and friends for bytecomp to handle (bug#11391).
1740 * custom.el (defcustom): Avoid ((λ ..) ..).
1741
99d27583
SM
17422012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1745
55a71479
JB
17462012-05-02 Juanma Barranquero <lekktu@gmail.com>
1747
1748 * notifications.el (dbus-debug):
1749 * term/linux.el (gpm-mouse-enable):
1750 * term/screen.el (xterm-register-default-colors): Declare.
1751
7b97c764
CY
17522012-05-02 Chong Yidong <cyd@gnu.org>
1753
2bc356d7
CY
1754 * cus-start.el (gc-cons-percentage, exec-suffixes)
1755 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1756 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1757 (make-cursor-line-fully-visible, void-text-area-pointer)
1758 (font-list-limit): Add customization data.
1759
7b97c764
CY
1760 * allout.el (allout-exposure-change-functions)
1761 (allout-structure-added-functions)
1762 (allout-structure-deleted-functions)
1763 (allout-structure-shifted-functions): Rename abnormal hooks from
1764 *-hook, and convert to defcustoms.
5d3385a0
JB
1765 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1766 Convert to defcustoms.
7b97c764
CY
1767 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1768
1769 * allout-widgets.el: Hook callers changed.
1770
90207a15 17712012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1772
1773 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1774 the yanked message in preference to the default value of
1775 buffer-file-coding-system.
1776
90207a15 17772012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1778
5d3385a0
JB
1779 * window.el (display-buffer--action-function-custom-type):
1780 Fix entry.
d9558cad 1781
90207a15 17822012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1783
1784 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1785
d80ac57b
GM
17862012-05-01 Glenn Morris <rgm@gnu.org>
1787
976f7668
GM
1788 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1789
beb83b5a
GM
1790 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1791
d80ac57b
GM
1792 * cus-edit.el (custom-variable-documentation): Simplify with format.
1793
b593d6a9
AH
17942012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1795 Stefan Monnier <monnier@iro.umontreal.ca>
1796
1797 * simple.el (suggest-key-bindings, execute-extended-command):
1798 Move from keyboard.c.
1799
782fbf2a
CY
18002012-05-01 Chong Yidong <cyd@gnu.org>
1801
1802 * follow.el: Eliminate advice.
1803 (set-process-filter, process-filter, sit-for): Advice deleted.
1804 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1805 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1806 Vars deleted.
782fbf2a
CY
1807 (follow-auto): Use a :set function.
1808 (follow-mode): Rewritten. Don't advise process filters.
1809 (follow-switch-to-current-buffer-all, follow-scroll-up)
1810 (follow-scroll-down): Assume follow-mode is bound.
1811 (follow-comint-scroll-to-bottom)
1812 (follow-align-compilation-windows): New functions.
1813 (follow--window-sorter): New function.
1814 (follow-all-followers): Use it to explicitly sort windows by their
1815 positions; don't make assumptions about next-window order.
1816 (follow-windows-start-end, follow-delete-other-windows-and-split)
1817 (follow-calc-win-start): Doc fix.
1818 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1819 vertical-motion unnecessarily.
1820 (follow-adjust-window): New function.
1821 (follow-post-command-hook): Use it.
1822 (follow-call-set-process-filter, follow-call-process-filter)
1823 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1824 (follow-stop-intercept-process-output, follow-generic-filter):
1825 Functions deleted.
1826 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1827 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1828 New functions, replacing advice on scroll-bar-* commands.
87233a14 1829 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1830
1831 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1832 (comint-postoutput-scroll-to-bottom): Use it.
1833 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1834
290af740
GM
18352012-05-01 Glenn Morris <rgm@gnu.org>
1836
1837 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1838 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1839 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1840 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1841 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1842 Remove no-byte-compile setting.
1843
6eac8dc9
SM
18442012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1847 all-completions code to not return a number in the last cdr.
1848
9cc7819c
LL
18492012-04-30 Leo Liu <sdl.web@gmail.com>
1850
1851 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1852 read-only error.
1853
c93b886f
CY
18542012-04-29 Chong Yidong <cyd@gnu.org>
1855
1856 * follow.el (follow-calc-win-end): Rewrite to handle partial
1857 screen lines correctly (Bug#8390).
1858 (follow-avoid-tail-recenter): Minor cleanup.
1859
8b6c19f4
SM
18602012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 Avoid the obsolete `assoc' package.
1863 * speedbar.el (speedbar-refresh): Avoid adelete.
1864 (speedbar-file-lists): Simplify and avoid aput.
1865 * man.el (Man--sections, Man--refpages): New vars, replacing
1866 Man-sections-alist and Man-refpages-alist.
1867 (Man-build-section-alist, Man-build-references-alist):
1868 Use them; avoid aput.
1869 (Man--last-section, Man--last-refpage): New vars.
1870 (Man-follow-manual-reference): Use them.
1871 Use the `default' arg of completing-read.
1872 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1873
c5bb7569
CY
18742012-04-27 Chong Yidong <cyd@gnu.org>
1875
d1d2e2e8
CY
1876 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1877
15cd8efd
CY
1878 * startup.el (x-apply-session-resources): New function.
1879
1880 * term/ns-win.el (ns-initialize-window-system):
1881 * term/w32-win.el (w32-initialize-window-system):
1882 * term/x-win.el (x-initialize-window-system): Use it to properly
1883 set menu-bar-mode and other vars from X resources, even if the
1884 initial frame is not a window-system frame (Bug#2299).
1885
c5bb7569
CY
1886 * subr.el (read-key): Avoid running filter function when setting
1887 up temporary tool bar entries (Bug#9922).
1888
a8e7d6d7 18892012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1890
1891 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1892 (Bug#11344)
1893
a8e7d6d7 18942012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1895
1896 * select.el (xselect--encode-string): New function, split from
1897 xselect-convert-to-string.
1898 (xselect-convert-to-string): Use it.
1899 (xselect-convert-to-filename, xselect-convert-to-os)
1900 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1901 returned strings are properly encoded (Bug#11315).
1902
a8e7d6d7 19032012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1904
1905 * simple.el (delete-active-region): Move to killing custom group.
1906
a8e7d6d7 19072012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1908
1909 * progmodes/which-func.el (which-func-current): Quote %
1910 characters for mode-line processing.
1911
578c1d4b 19122012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1913
1914 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1915 reaching eob (Bug#11286).
1916
a8e7d6d7 19172012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1918
1919 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1920 (gdb): Make it buffer-local and init to zero.
1921 (gdb-control-commands-regexp): New variable.
1922 (gdb-send): Don't wrap in "-interpreter-exec console" if
1923 gdb-control-level is positive. Increment gdb-control-level
1924 whenever the command matches gdb-control-commands-regexp, and
1925 decrement it each time the command is "end". (Bug#11279)
1926
a8e7d6d7 19272012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1928
1929 * window.el (adjust-window-trailing-edge, enlarge-window)
1930 (shrink-window, window-resize):
1931 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1932 windows (Bug#11276).
1933
b3608390
CY
19342012-04-27 Chong Yidong <cyd@gnu.org>
1935
1936 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1937 fix "missing prefix" warning. All callers changed.
b3608390 1938
797e6e88
SM
19392012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * emacs-lisp/assoc.el: Move to obsolete/.
1942
e95a67dc
SM
19432012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1944
657c21e4 1945 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1946
1947 * term/ns-win.el (ns-define-service):
1948 * progmodes/pascal.el (pascal-goto-defun):
1949 * progmodes/js.el (js--read-tab):
1950 * progmodes/etags.el (tags-lazy-completion-table):
1951 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1952 * emacs-lisp/ewoc.el (ewoc--wrap):
1953 * emacs-lisp/assoc.el (aput, adelete, amake):
1954 * doc-view.el (doc-view-convert-current-doc):
1955 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1956
cb3e7ae0
CY
19572012-04-26 Chong Yidong <cyd@gnu.org>
1958
dce04f7f
CY
1959 * image.el (image-type-from-buffer): Only return supported image
1960 type (Bug#9045).
1961
cb3e7ae0
CY
1962 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1963 value, for symmetry with diff-end-of-hunk.
1964 (diff-split-hunk, diff-find-source-location)
1965 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1966 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1967 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1968 compute the relevant hunk or file properly (Bug#6005).
1969 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1970
0d42eb3e
SM
19712012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * vc/vc-mtn.el:
1974 * vc/vc-hg.el:
1975 * vc/vc-git.el:
1976 * vc/vc-dir.el:
1977 * vc/vc-cvs.el:
1978 * vc/vc-bzr.el:
1979 * vc/vc-arch.el:
1980 * vc/vc.el: Replace lexical-let by lexical-binding.
1981 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1982 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1983 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1984
f08ae1c9
CY
19852012-04-26 Chong Yidong <cyd@gnu.org>
1986
8b71081d
CY
1987 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1988 (diff-mode-shared-map): Bind it to / and [remap undo].
1989
f08ae1c9
CY
1990 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1991 (ediff-window-setup-function): Use it as the default, to set up
1992 windows based on whether the current frame is graphical (Bug#2138).
1993 (ediff-choose-window-setup-function-automatically): Make obsolete.
1994
1995 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1996
ef24141c
SM
19972012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1998
cc356a5d
SM
1999 * ffap.el: Remove old code for obsolete package.
2000 (ffap-complete-as-file-p): Remove.
2001
b4ff4f1f
SM
2002 Use completion-table-with-quoting for comint and pcomplete.
2003 * comint.el (comint--unquote&requote-argument)
2004 (comint--unquote-argument, comint--requote-argument): New functions.
2005 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2006 (comint-quote-filename): Use regexp-opt-charset.
2007 (comint--common-suffix, comint--common-quoted-suffix)
2008 (comint--table-subvert): Remove.
2009 (comint-unquote-function, comint-requote-function): New vars.
2010 (comint--complete-file-name-data): Use them with
2011 completion-table-with-quoting.
2012 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2013 * pcomplete.el (pcomplete-arg-quote-list)
2014 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2015 (pcomplete-unquote-argument-function): Default to non-nil.
2016 (pcomplete-unquote-argument): Simplify.
2017 (pcomplete--common-quoted-suffix): Remove.
2018 (pcomplete-requote-argument-function): New var.
2019 (pcomplete--common-suffix): New function.
2020 (pcomplete-completions-at-point): Use completion-table-with-quoting
2021 and completion-table-subvert.
2022
79c4eeb4
SM
2023 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2024 (minibuffer--double-dollars): Preserve properties.
2025 (completion--sifn-requote): New function.
2026 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2027
ef24141c
SM
2028 * minibuffer.el: Add support for completion of quoted/escaped data.
2029 (completion-table-with-quoting, completion-table-subvert): New funs.
2030 (completion--twq-try, completion--twq-all): New functions.
2031 (completion--nth-completion): New function.
2032 (completion-try-completion, completion-all-completions): Use it.
2033
784e7d6e
LL
20342012-04-25 Leo Liu <sdl.web@gmail.com>
2035
dd2ac746
SM
2036 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2037 Use compilation-message if available to find real filename.
784e7d6e 2038
07875ee7
CY
20392012-04-25 Chong Yidong <cyd@gnu.org>
2040
2041 * vc/diff-mode.el (diff-setup-whitespace): New function.
2042 (diff-mode): Use it.
2043
2044 * vc/diff.el (diff-sentinel):
2045 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2046 Whitespace mode variables based on diff style (Bug#8612).
2047
5055880d
LL
20482012-04-25 Leo Liu <sdl.web@gmail.com>
2049
daf75653
LL
2050 * progmodes/python.el (python-send-region): Add suffix .py to the
2051 temp file.
2052
5055880d
LL
2053 * files.el (auto-mode-alist): Use javascript-mode instead.
2054
db9b177b
AH
20552012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2056
ef24141c 2057 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2058
2059 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2060 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2061 references, see Bug#9.
ef24141c 2062 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2063 when receiving a fault reply.
ef24141c 2064 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2065
2066 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2067 (soap-inspect-simple-type): New function.
db9b177b 2068
ef24141c 2069 * soap-client.el (soap-simple-type): New struct.
db9b177b 2070 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2071 (soap-decode-basic-type, soap-encode-basic-type):
2072 support unsignedInt and double basic types.
db9b177b 2073 (soap-resolve-references-for-simple-type)
ef24141c
SM
2074 (soap-parse-simple-type, soap-encode-simple-type): New function.
2075 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2076
2077 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2078 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2079 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2080 the local name of "soapenc:Array".
2081 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2082 decoding integer, byte and anyURI xsd types.
2083
1fc6097b
CY
20842012-04-25 Chong Yidong <cyd@gnu.org>
2085
2086 * cus-edit.el (custom-buffer-create-internal): Update header text.
2087
afc6df87
EZ
20882012-04-25 Eli Zaretskii <eliz@gnu.org>
2089
2090 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2091 settings on 'system-type', not on 'window-system'. On MS-Windows,
2092 set interactive-mode on in GDB.
2093
dfbd787f
SM
20942012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2097 (ruby-syntax-propertize-regexp): Remove.
2098 (ruby-syntax-propertize-function): Split regexp into chunks.
2099 Match following code directly.
2100
85222d44
DG
21012012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2102
51a8ea2a
DG
2103 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2104 (ruby-syntax-propertize-regexp): New function.
2105 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2106 by a special keyword.
2107
85222d44
DG
2108 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2109 (ruby-syntax-general-delimiters-goto-beg)
2110 (ruby-syntax-propertize-general-delimiters): New functions.
2111 (ruby-syntax-propertize-function): Use them to handle GDL.
2112 (ruby-font-lock-keywords): Move old handling of GDL...
2113 (ruby-font-lock-syntactic-keywords): .. to here.
2114 (ruby-calculate-indent): Adjust indentation for GDL.
2115
b613912b
MA
21162012-04-24 Michael Albinus <michael.albinus@gmx.de>
2117
b5380639
MA
2118 * notifications.el (top): Remove unneeded declarations.
2119 (notifications-specification-version): Change to "1.2".
e43042fe 2120 (notifications-interface, notifications-notify-method)
b613912b
MA
2121 (notifications-close-notification-method): Fix docstring.
2122 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2123 (notifications-notify): Add :action-items, :resident and
2124 :transient hints. Change "image_data" to "image-data" and
2125 "image_path" to "image-path".
b613912b
MA
2126 (notifications-get-capabilities): New defun.
2127
257440aa
LL
21282012-04-24 Leo Liu <sdl.web@gmail.com>
2129
2130 * progmodes/python.el: Move hideshow setup to the end.
2131
b1bac16e
MR
21322012-04-24 Martin Rudalics <rudalics@gmx.at>
2133
2134 * window.el (handle-select-window): Clear echo area since this is
2135 no more done by read_char (Bug#11304).
2136
d81bd059
SM
21372012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2140 and `/ M' to filter-derived-mode.
2141 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2142 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2143 (ibuffer-mark-by-mode): Use default rather than initial-input.
2144 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2145
c4cf6d91
IA
21462012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2147
2148 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2149 (ibuffer-filter-by-derived-mode): New filter.
2150 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2151
7511ded8
CY
21522012-04-23 Andreas Politz <politza@fh-trier.de>
2153
2154 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2155
775c916b
CY
21562012-04-23 Chong Yidong <cyd@gnu.org>
2157
2158 * cus-edit.el (customize-apropos, customize-apropos-options):
2159 Disable matching of non-option variables (Bug#11176).
2160 (customize-option, customize-option-other-window)
2161 (customize-changed-options): Doc fix.
2162 (customize-apropos-options, customize-apropos-faces)
2163 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2164
2165 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2166 Fix word list splitting (Bug#11132).
46c71e23
CY
2167 (apropos-symbol, apropos-keybinding, apropos-label)
2168 (apropos-property, apropos-function-button)
2169 (apropos-variable-button, apropos-misc-button): New faces.
2170 (apropos-symbol-face, apropos-keybinding-face)
2171 (apropos-label-face, apropos-property-face, apropos-match-face):
2172 Variables removed (Bug#8396).
2173 (apropos-library-button, apropos-format-plist, apropos-print)
2174 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2175
2df41f9c
MA
21762012-04-23 Michael Albinus <michael.albinus@gmx.de>
2177
2178 * net/xesam.el (xesam-mode-map): Use let-bound map in
2179 initialization. (Bug#11292)
2180
da00640a
AM
21812012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2182
2183 Preserve ispell session localwords when switching back to
2184 original buffer.
2185
2186 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2187 variable to hold buffer session localwords.
2188 (ispell-kill-ispell): add option 'clear to delete session
2189 localwords.
2190 (ispell-command-loop, ispell-change-dictionary)
2191 (ispell-buffer-local-words): Preserve session localwords when
2192 needed.
2193
2194 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2195 Preserve session localwords when needed.
2196
f621ccf5
AM
21972012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2198
2199 * ispell.el (ispell-insert-word) Remove unneeded function using
2200 obsolete `translation-table-for-input'.
ef24141c
SM
2201 (ispell-word, ispell-process-line, ispell-complete-word):
2202 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2203
c2d1019e
CY
22042012-04-22 Chong Yidong <cyd@gnu.org>
2205
2206 * cus-edit.el (custom-variable-menu)
2207 (custom-variable-reset-saved, custom-face-menu)
2208 (custom-face-reset-saved): If there is no saved value, make the
2209 "reset-saved" operation bring back the default (Bug#9509).
2210 (custom-face-state): Properly detect themed faces.
2211
eeddc531
CY
2212 * faces.el (face-spec-set): Stop supporting deprecated form of
2213 third arg.
2214
dcbf5805
MA
22152012-04-22 Michael Albinus <michael.albinus@gmx.de>
2216
2217 Move functions from C to Lisp. Make non-blocking method calls
2218 the default. Implement further D-Bus standard interfaces.
2219
ef24141c
SM
2220 * net/dbus.el (dbus-message-internal): Declare function.
2221 Remove unneeded function declarations.
dcbf5805
MA
2222 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2223 (dbus-message-type-method-return, dbus-message-type-error)
2224 (dbus-message-type-signal): Declare variables. Remove local
2225 definitions.
2226 (dbus-interface-dbus, dbus-interface-peer)
2227 (dbus-interface-introspectable, dbus-interface-properties)
2228 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2229 Adapt docstring.
2230 (dbus-interface-objectmanager): New defconst.
2231 (dbus-call-method, dbus-call-method-asynchronously)
2232 (dbus-send-signal, dbus-method-return-internal)
2233 (dbus-method-error-internal, dbus-register-service)
2234 (dbus-register-signal, dbus-register-method): New defuns, moved
2235 from dbusbind.c
2236 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2237 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2238 New defuns.
dcbf5805
MA
2239 (dbus-call-method-non-blocking): Make it an obsolete function.
2240 (dbus-unregister-object, dbus-unregister-service)
2241 (dbus-handle-event, dbus-register-property)
2242 (dbus-property-handler): Obey the new structure of
2243 `bus-registered-objects'.
2244 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2245 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2246 Use `dbus-call-method'.
2247
cf20dee0
CY
22482012-04-22 Chong Yidong <cyd@gnu.org>
2249
2250 * cus-edit.el (custom-commands, custom-reset-menu)
2251 (Custom-reset-standard): Tweak labels.
2252 (custom-reset-button-menu): Change default to t.
2253 (custom-buffer-create-internal): For the custom-reset-button-menu
2254 case, put the revert button first.
2255 (custom-group-subtitle): New face.
2256 (custom-group-value-create): Align docstring to a specific column.
2257
2258 * wid-edit.el (widget-documentation-link-add): Don't handle
2259 indentation in this function.
2260 (widget-documentation-string-indent-to): New function.
2261 (widget-documentation-string-value-create): Use it.
2262
2263 * autorevert.el (auto-revert):
2264 * epg-config.el (epg):
2265 * ibuffer.el (ibuffer):
2266 * mpc.el (mpc):
2267 * ses.el (ses):
2268 * eshell/eshell.el (eshell):
2269 * net/ange-ftp.el (ange-ftp):
2270 * progmodes/ebnf2ps.el (postscript):
2271 * progmodes/flymake.el (flymake):
2272 * progmodes/prolog.el (prolog):
2273 * progmodes/verilog-mode.el (verilog-mode):
2274 * progmodes/which-func.el (which-func):
2275 * term/xterm.el (xterm):
2276 * textmodes/picture.el (picture):
2277 * textmodes/tildify.el (tildify):
2278 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2279 customization buffers.
2280
583e23bd
AM
22812012-04-22 Alan Mackenzie <acm@muc.de>
2282
2283 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2284 Adding a ) can hide the resulting (..) from searches. Fix it.
2285 Bound the backward search to the position of the existing (.
2286
7dd51bf1
JB
22872012-04-21 Juanma Barranquero <lekktu@gmail.com>
2288
2289 * progmodes/verilog-mode.el (verilog-mode): Check whether
2290 which-func-modes is t before adding verilog-mode.
2291 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2292
d64a438f
LL
22932012-04-21 Leo Liu <sdl.web@gmail.com>
2294
7dd51bf1 2295 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2296
081e8d65
MV
22972012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2298
2299 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2300 filling of the last column of a table (Bug#5635).
2301 (woman-find-next-control-line): New arg, specifying an additional
2302 regexp component for the control line.
2303 (woman2-roff-buffer): Use it.
2304 (woman-break-table): New function.
2305 (woman2-TS): Use it.
2306
23072012-04-21 Chong Yidong <cyd@gnu.org>
2308
2309 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2310 (woman-horizontal-escapes, woman-negative-vertical-space)
2311 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2312 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2313
ed571ccb
SM
23142012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * minibuffer.el (completion-file-name-table): Complete user names.
2317
39773899
LL
23182012-04-20 Leo Liu <sdl.web@gmail.com>
2319
2320 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2321 and pcase-let*.
2322
de6ff46d
CY
23232012-04-20 Chong Yidong <cyd@gnu.org>
2324
2325 * server.el (server-execute): Respect initial-buffer-choice if it
2326 is a string and there are no files to open (Bug#2825).
2327 (server-create-window-system-frame, server-create-tty-frame):
2328 Don't switch buffers here.
2d0e8e61
CY
2329 (server-process-filter): Only try to open a window system frame if
2330 compiled with graphical support (Bug#8314).
de6ff46d 2331
54071013
DN
23322012-04-20 Dan Nicolaescu <dann@gnu.org>
2333
2334 * battery.el (battery-echo-area-format): Display remaining time
2335 for sysfs backend too (Bug#11269).
2336 (battery-linux-sysfs): Fix conditional for the charge.
2337
f30d612a
CY
23382012-04-20 Chong Yidong <cyd@gnu.org>
2339
c07a4c0b 2340 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2341 (gdb-inferior-io--init-proc): New function.
2342 (gdb-init-1): Use it.
2343 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2344 responsible for allocating a new pty and hooking it to gdb when
2345 the old pty gets an EIO due to process exit.
2346 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2347 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2348 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2349
2116e93c
EZ
23502012-04-20 Eli Zaretskii <eliz@gnu.org>
2351
2352 * window.el (window-min-size, window-sizable, window-min-delta)
2353 (window-max-delta, window--resizable, window-resizable)
2354 (window-total-size, window-full-height-p, window-full-width-p)
2355 (window-in-direction, window--resize-mini-window, window-resize)
2356 (window--resize-child-windows-normal)
2357 (window--resize-child-windows, window--resize-siblings)
2358 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2359 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2360
c07a4c0b 23612012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2362
ef24141c
SM
2363 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2364 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2365 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2366 pty process (Bug#11273).
2367 (gdb-update): New arg to suppress talking to the gdb process.
2368 (gdb-done-or-error): Use it.
2369 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2370 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2371 sentinel not being called.
2372
2373 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2374
d02766ab
CY
2375 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2376
c07a4c0b 23772012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2378
2379 * net/network-stream.el (open-network-stream): Doc fix.
2380
c07a4c0b 23812012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2382
2383 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2384
c07a4c0b 23852012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2386
2387 Ensure searching for keywords is case sensitive.
2388
2389 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2390 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2391 (c-defun-name, c-mark-function, c-cpp-define-name)
2392 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2393 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2394
ef24141c
SM
2395 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2396 Bind case-fold-search to nil.
f0f6bc35 2397
c07a4c0b 23982012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2399
2400 * mail/sendmail.el (mail-bury): Call return action with the right
2401 Rmail buffer (Bug#11242).
2402
9a864fa2
CY
2403 * server.el (server-process-filter): Handle corner case where both
2404 tty and nowait options are present (Bug#11102).
2405
539aa513
EZ
24062012-04-20 Eli Zaretskii <eliz@gnu.org>
2407
2408 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2409 (top level): Put into the executable the ident-style '$Id:' tag on
2410 windows-nt as well.
539aa513 2411
cfc7d5da
SM
24122012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 * electric.el (electric-indent-post-self-insert-function): Check that
2415 electric-indent-mode is enabled in current buffer.
2416
5b01685c
JB
24172012-04-19 Juanma Barranquero <lekktu@gmail.com>
2418
2419 * imenu.el (imenu-progress-message): Restore; it is "used" in
2420 erc/erc-imenu.el and net/snmp-mode.el.
2421
4d6769e1
JB
24222012-04-19 Juanma Barranquero <lekktu@gmail.com>
2423
2424 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2425 (mouse-avoidance-nudge-mouse): Remove unused binding.
2426
2427 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2428
2429 * descr-text.el (describe-char):
2430 * progmodes/python.el (python-describe-symbol):
2431 Don't call `toggle-read-only', set `buffer-read-only'.
2432
2433 * imenu.el (imenu-default-goto-function): Mark unused args.
2434 (imenu-progress-message): Remove obsolete macro; all callers changed.
2435
2436 * subr.el (keymap-canonicalize): Remove unused binding.
2437 (read-passwd): Mark unused arg.
2438
2439 * tutorial.el (tutorial--display-changes): Remove unused binding.
2440 (tutorial--save-tutorial-to): Remove unused variable.
2441
2442 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2443 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2444 (package-generate-autoloads, package-menu--generate)
2445 (package-menu--find-upgrades): Remove unused bindings.
2446
2447 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2448 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2449 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2450 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2451 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2452 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2453 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2454 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2455 (cua-delete-char-rectangle): Mark unused args.
2456 (cua-align-rectangle): Remove unused binding.
2457
2458 * mail/rmail.el (compilation--message->loc)
2459 (epa--find-coding-system-for-mime-charset): Declare.
2460
2461 * net/dbus.el (dbus-register-service): Declare.
2462 (dbus-name-owner-changed-handler): Remove unused binding.
2463
2464 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2465 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2466 (nxml-scan-backward-within): Mark unused arg.
2467 (nxml-dynamic-markup-word): Remove unused binding.
2468
2469 * mouse.el (mouse-menu-major-mode-map):
2470 * emacs-lisp/authors.el (authors-scan-change-log)
2471 (authors-add-to-author-list):
2472 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2473 * emacs-lisp/smie.el (smie-auto-fill):
2474 * mail/sendmail.el (mail-bury):
2475 * mail/unrmail.el (unrmail):
2476 * net/tls.el (open-tls-stream):
2477 * textmodes/picture.el (picture-mouse-set-point):
2478 Remove unused bindings.
2479
8c8fc5df
MA
24802012-04-19 Michael Albinus <michael.albinus@gmx.de>
2481
2482 * net/tramp.el (tramp-action-password): Let-bind
2483 `enable-recursive-minibuffers' to t.
2484
a77b0ac9
SS
24852012-04-18 Sam Steingold <sds@gnu.org>
2486
2487 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2488 instead of 'string to accommodate values like [f11].
2489 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2490 * progmodes/gdb-mi.el: Likewise.
2491
12a106a9
LL
24922012-04-18 Leo Liu <sdl.web@gmail.com>
2493
2494 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2495 current buffer.
2496 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2497 LOCAL is nil.
2498
bc6494ef
CY
24992012-04-18 Chong Yidong <cyd@gnu.org>
2500
2501 * simple.el (line-move): Use forward-line if in batch mode
2502 (Bug#11053).
2503
c09c46b2
CS
25042012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2505
2506 * files.el (after-find-file): Do not try to add a final newline if
2507 the buffer is read-only (Bug#11156).
2508
5f6530ea
RS
25092012-04-17 Richard Stallman <rms@gnu.org>
2510
2511 * mail/rmail.el (rmail-start-mail):
2512 Pass (rmail-mail-return...) for the return-action.
2513 Pass (rmail-yank-current-message...) for the yank-action.
2514 (rmail-yank-current-message): New function.
2515 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2516 (rmail-reply): Likewise.
2517 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2518
2519 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2520 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2521 buffer, not newbuf.
2522
197b6f3c
JB
25232012-04-17 Juanma Barranquero <lekktu@gmail.com>
2524
2525 * server.el (server-ensure-safe-dir): Simplify.
2526
2311d8e5 25272012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2528
2311d8e5
GM
2529 * emacs-lisp/smie.el: Provide smarter auto-filling.
2530 (smie-auto-fill): New function.
2531 (smie-setup): Use it.
98fb480e 2532
2311d8e5
GM
2533 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2534
25352012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2536
2537 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2538 (comment-indent): Use it.
2539
2311d8e5 25402012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2541
2542 * ses.el: The overall change is to add cell renaming, that is
2543 setting fancy names for cell symbols other than name matching
2544 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2545 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2546 (ses-create-cell-variable): New defun.
2311d8e5 2547 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2548 (ses-relocate-formula): Relocate formulas only for cells the
2549 symbols of which are not renamed, i.e. symbols whose names do not
2550 match regexp "\\`[A-Z]+[0-9]+\\'".
2551 (ses-relocate-all): Relocate values only for cells the symbols of
2552 which are not renamed.
2553 (ses-load): Create cells variables as the (ses-cell ...) are read,
2554 in order to check row col consistency with cell symbol name only
2555 for cells that are not renamed.
2556 (ses-replace-name-in-formula): New defun.
2557 (ses-rename-cell): New defun.
4bdf2ad2 2558
fc72b15c
PO
25592012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2560
2561 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2562 New option (bug#11118).
2563 (perl-calculate-indent): Respect it.
2564
12e10e61
GM
25652012-04-17 Glenn Morris <rgm@gnu.org>
2566
2567 * dired-aux.el (dired-mark-read-string): Doc fix.
2568
30009afd
DA
25692012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2570
2571 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2572 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2573
41f03f4d
GM
25742012-04-17 Glenn Morris <rgm@gnu.org>
2575
2576 * mouse.el (mouse-drag-track):
2577 * speedbar.el (speedbar-frame-mode):
2578 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2579
f45f90f3
LL
25802012-04-16 Leo Liu <sdl.web@gmail.com>
2581
2582 * progmodes/python.el: Trivial cleanup.
2583
94ee8db5
GM
25842012-04-16 Glenn Morris <rgm@gnu.org>
2585
121b8917
GM
2586 * vc/vc.el (vc-string-prefix-p):
2587 * vc/pcvs-util.el (cvs-string-prefix-p):
2588 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2589 * mpc.el (mpc-string-prefix-p):
2590 Make all of these into obsolete aliases for string-prefix-p.
2591 Update callers.
2592 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2593
1197ecfa
GM
2594 * textmodes/two-column.el: Move custom options to the start.
2595 (frame-width): Remove compat definition.
2596 (2C-associate-buffer, 2C-dissociate):
2597 Use with-current-buffer rather than save-excursion.
2598 (2C-dissociate): Force a mode-line update.
2599 (2C-autoscroll): Use ignore-errors.
2600
099e7202
GM
2601 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2602 Autoload trivia.
2603
bf350d6a
GM
2604 * emacs-lisp/cl-extra.el (*random-state*):
2605 Remove unnecessary declaration.
2606
0e829eab
GM
2607 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2608
e3ad7552
GM
2609 * play/cookie1.el (cookie-snarf):
2610 Give an explicit error if input file cannot be read.
2611
68892d27
GM
2612 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2613
20f0c46d
GM
2614 * progmodes/perl-mode.el (c-macro-expand):
2615 Remove unnecessary autoload (it is in loaddefs.el).
2616
5a0978ce
GM
2617 * textmodes/picture.el (picture-desired-column)
2618 (picture-update-desired-column): Convert comments to doc-strings.
2619 (picture-substitute): Remove function.
2620 (picture-mode-map): Initialize in the defvar.
2621
6b955486
GM
2622 * woman.el: Remove eval-after-load for tar-mode.
2623 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2624 (woman-tar-extract-file): Autoload it.
2625
94ee8db5
GM
2626 * frame.el (automatic-hscrolling): Make this alias obsolete.
2627
177eca34
AM
26282012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2629
2630 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2631 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2632 (ispell-dictionary-base-alist): Revert to original XEmacs
2633 friendly version for default. [:alpha:] will be added in
2634 `ispell-set-spellchecker-params' if needed
177eca34 2635
c505aaeb
CY
26362012-04-16 Chong Yidong <cyd@gnu.org>
2637
2638 * image.el (imagemagick--extension-regexp): New variable.
2639 (imagemagick-register-types): Use it.
2640 (imagemagick-types-inhibit): Add :set function. Allow new value
2641 of t to inhibit all types.
2642
2643 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2644 so we can preload it.
2645
2646 * loadup.el (fboundp): Preload regexp-opt, needed by
2647 imagemagick-register-types.
2648
60efac0f
CY
26492012-04-15 Chong Yidong <cyd@gnu.org>
2650
2651 * frame.el (scrolling): Remove nearly unused customization group.
2652
2653 * scroll-all.el (scroll-all-mode): Move to windows group.
2654
5dd1713e
CY
26552012-04-15 Chong Yidong <cyd@gnu.org>
2656
2657 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2658
e6fd457e
CY
26592012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2662 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2663
e153c136
GM
26642012-04-15 Glenn Morris <rgm@gnu.org>
2665
2666 * simple.el (process-file-side-effects): Doc fix.
2667
e6fd457e 26682012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2669
2670 * international/mule-cmds.el (set-language-environment): Doc fix.
2671
3603c3b1
JB
26722012-04-14 Juanma Barranquero <lekktu@gmail.com>
2673
2674 * server.el (server-auth-key, server-generate-key): Doc fixes.
2675 (server-get-auth-key): Doc fix. Use `string-match-p'.
2676 (server-start): Reflow docstring.
2677
e6de100c
LI
26782012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2679
2680 * server.el (server-generate-key): `called-interactively-p'
2681 requires a parameter.
2682
29734c21
MN
26832012-04-14 Michal Nazarewicz <mina86@mina86.com>
2684
2685 * server.el (server-auth-key): New variable.
75f1671a 2686 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2687 (server-start): Use the new variable and functions to allow
2688 setting a permanent server key (bug#9423).
2689
d65c9521
LL
26902012-04-14 Leo Liu <sdl.web@gmail.com>
2691
2692 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2693
5ae255c7
PE
26942012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2695
2696 Spelling fixes.
2697 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2698 Emacs uses American spelling.
2699
d5e6342e
JB
27002012-04-14 Juanma Barranquero <lekktu@gmail.com>
2701
2702 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2703 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2704 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2705 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2706
ab036cd7
SM
27072012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * progmodes/which-func.el (which-func-modes): Change default.
2710
35dc09a1 27112012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2712
2713 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2714 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2715
35dc09a1 27162012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2717
2718 * custom.el (custom-theme-set-variables): Doc fix.
2719
35dc09a1 27202012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2721
2722 * international/mule.el (set-auto-coding-for-load): Doc fix.
2723
35dc09a1 27242012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2725
35dc09a1
GM
2726 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2727 imenu work again for Objective C Mode. Correct the *-index values,
2728 these having been disturbed by a previous change in 2011-08.
57f845ee 2729
0de3da9f
AM
2730 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2731 Correct two search limits.
2732
35dc09a1 27332012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2734
2735 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2736
35dc09a1 27372012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2738
2739 * international/characters.el: Fix sorting.
2740
35dc09a1 27412012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2742
2743 * international/characters.el: Add more missing Latin case pairs.
2744
35dc09a1 27452012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2746
2747 * files.el (dir-locals-set-class-variables): Doc fix.
2748
35dc09a1 27492012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2750
3f1b5bf8
EZ
2751 * international/characters.el: Add set-case-syntax-pair call for
2752 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2753 counterpart. (Bug#11209)
2754
9f847f41
EZ
2755 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2756
35dc09a1 27572012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2758
2759 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2760
35dc09a1 27612012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2762
35dc09a1
GM
2763 * textmodes/ispell.el (ispell-dictionary-base-alist):
2764 Add data for Hebrew.
e2627d21 2765
35dc09a1 27662012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2767
35dc09a1
GM
2768 * net/rcirc.el (rcirc-cmd-quit):
2769 Revert 2012-03-18 change (Bug#11192).
5c14e333 2770
35dc09a1 27712012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2772
2773 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2774
35dc09a1 27752012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2776
4517fe3a
SM
2777 * minibuffer.el (completion-in-region-mode-map):
2778 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2779
b472a594
VD
27802012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2781
2782 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2783
09b95ce3
MY
27842012-04-13 Masatake YAMATO <yamato@redhat.com>
2785
2786 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2787 to allow `C-M-f' and `C-M-b' to move to the nearest path
2788 separator (bug#9511).
2789
4b63a9ca
LI
27902012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2791
2792 * avoid.el: Require cl when compiling. And also move the
2793 `provide' to the end.
2794
7b55b8bf
TV
27952012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2796
2797 * avoid.el (mouse-avoidance-banish-position): New variable.
2798 (mouse-avoidance-banish-destination): Use it (bug#10165).
2799
adedaa1f
LL
28002012-04-13 Leo Liu <sdl.web@gmail.com>
2801
2802 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2803
70e74021
KB
28042012-04-13 Ken Brown <kbrown@cornell.edu>
2805
2806 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2807 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2808 (browse-url-filename-alist): For the same reason, don't modify
2809 file:// URLs on Cygwin.
2810
e75e89ba
SM
28112012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2814 the region on shift if the binding is already shifted (bug#11221).
2815
82f289a4
GM
28162012-04-12 Glenn Morris <rgm@gnu.org>
2817
2818 * mail/mailpost.el: Move to obsolete/.
2819
d333dc4c
DA
28202012-04-12 Drew Adams <drew.adams@oracle.com>
2821
2822 * imenu.el (imenu--generic-function): Ignore invisible definitions
2823 (bug#10123).
2824
0d15b5ba
VD
28252012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2826
2827 * hexl.el (hexl-bits): New variable.
2828 (hexl-options): Mention the variable in the doc string.
75f1671a 2829 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2830 (hexl-mode): Mention the new variable.
75f1671a
JB
2831 (hexl-mode, hexl-current-address, hexl-current-address):
2832 Use the displen.
0d15b5ba
VD
2833 (hexl-ascii-start-column): New function.
2834 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2835 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2836
64a440db
AM
28372012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2838
2839 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2840 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2841 the encoding, as expected by hunspell.
2842
6decb6c2
SM
28432012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * battery.el (battery--linux-sysfs-regexp): New const.
2846 (battery-status-function): Use it. Remove yeeloong special case.
2847 (battery-yeeloong-sysfs): Remove.
2848 (battery-echo-area-format): Remove yeeloong special case.
2849
088be6fb
SM
28502012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2851
6622e416
SM
2852 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2853 Reported by Noah Friedman.
2854
088be6fb
SM
2855 * subr.el (read-passwd): Use read-string.
2856
b49f886e
LMI
28572012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2858
2859 * vcursor.el (vcursor-move): Increase the priority of the overlay
2860 (bug#9663).
2861
a63067fc
DD
28622012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2863
2864 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2865 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2866
ac3cf14a
WS
28672012-04-11 William Stevenson <yhvh2000@gmail.com>
2868
2869 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2870 define-minor-mode (bug#10760).
2871
c4fc691b 28722012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2873
4d6769e1 2874 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2875 that directories matching `grep-find-ignored-files' won't be
2876 pruned (bug#10351).
2877
af23e2e5
CY
28782012-04-11 Chong Yidong <cyd@gnu.org>
2879
2880 * startup.el (command-line): Remove support for long-obsolete
2881 variable font-lock-face-attributes.
2882
ab7ce8c1
GM
28832012-04-11 Glenn Morris <rgm@gnu.org>
2884
2885 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2886
de8c03dc
SM
28872012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * window.el (window--state-get-1): Obey window-point-insertion-type.
2890
050cc68b
LB
28912012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2892
2893 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2894 to previous function when point is on the first character of a
75f1671a 2895 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2896
a38c310c
GM
28972012-04-11 Glenn Morris <rgm@gnu.org>
2898
effed0c2
GM
2899 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2900 not just file-errors.
2901
a38c310c
GM
2902 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2903 (vc-bzr-sha1): Use internal sha1.
2904
0221e323
SM
29052012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2908
43956923
SG
29092012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2910
2911 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2912 that start in the middle of the line (bug#10496).
2913
6a8c9eaf
DN
29142012-04-10 Dan Nicolaescu <dann@gnu.org>
2915
2916 * battery.el (battery-linux-proc-acpi): Only one battery is
2917 discharged at a time, but that seems to confuse battery.el when
2918 computing `rate-type' for the battery not being discharged
2919 (bug#10332).
2920
1930bf5d
SM
29212012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2a718f6f
SM
2923 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2924
599430d0
SM
2925 * international/quail.el: Use dolist and simplify.
2926 (quail-define-package, quail-update-keyboard-layout)
2927 (quail-define-rules): Use dolist.
2928 (quail-insert-kbd-layout, quail-get-translation): CSE.
2929
a2754b6c
SM
2930 * tmm.el: Use dolist, remove left over hook.
2931 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2932 Use dolist.
2933 (calendar-load-hook): Don't mess with it.
2934
1930bf5d
SM
2935 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2936 Use derived-mode-p. Run the diff asynchronously.
2937
9f67961c
LMI
29382012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2939
2940 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2941
2a8ce227
JB
29422012-04-10 Juanma Barranquero <lekktu@gmail.com>
2943
2944 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2945 (list-dynamic-libraries--loaded): New function.
2946 (list-dynamic-libraries--refresh): Use it.
2947
8f33b5f8
NW
29482012-04-10 Nathan Weizenbaum <nweiz@google.com>
2949
1930bf5d
SM
2950 * progmodes/python.el (python-fill-paragraph):
2951 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2952 disabled (bug#7018).
2953
b12f0439
L
29542012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2955
1930bf5d 2956 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2957 DOS/MS Windows for the Baltic languages. There are still plenty
2958 of texts written in this encoding/codepage (bug#6519).
b12f0439 2959
57c3bd01
GM
29602012-04-10 Glenn Morris <rgm@gnu.org>
2961
2962 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2963 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2964
6c3eab30
FA
29652012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2966
1930bf5d 2967 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2968 next-line "n" and previous-line "p" in order to make recentf more
2969 consistent with ibuffer, dired or org-mode (bug#9387).
2970
24d78a88
LMI
29712012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2972
bc72b5d9
LMI
2973 * image.el (put-image): Return the overlay created instead of the
2974 optional input string (bug#7834). Note that this may break code
2975 that is (for some reason or other) depending on `put-image'
2976 returning the string.
2977
bd2dba5a
LMI
2978 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2979
74beb59f
LMI
2980 * simple.el (zap-to-char): Allow zapping using input methods
2981 (bug#1580).
2982
24d78a88
LMI
2983 * textmodes/fill.el (fill-region): Leave point and mark where they
2984 were before filling (bug#5399).
2985
263f20cd
GM
29862012-04-09 Glenn Morris <rgm@gnu.org>
2987
2988 * version.el (emacs-bzr-get-version):
2989 Handle lightweight checkouts of local branches.
2990
58d1f797
AS
29912012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2992
263f20cd 2993 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2994
b4d3bc10
CY
29952012-04-09 Chong Yidong <cyd@gnu.org>
2996
2997 * custom.el (custom-variable-p): Return nil for non-symbol
2998 arguments instead of signaling an error.
2999 (user-variable-p): Obsolete alias for custom-variable-p.
3000
3001 * apropos.el (apropos-variable):
3002 * files-x.el (read-file-local-variable):
3003 * simple.el (set-variable):
3004 * woman.el (woman-mini-help):
3005 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3006
fd06db5d
GM
30072012-04-09 Glenn Morris <rgm@gnu.org>
3008
e5fcdb5e
GM
3009 * startup.el (normal-top-level): Don't look for leim-list.el
3010 in places where it will not be found. (Bug#910)
3011
fd06db5d
GM
3012 * international/mule-cmds.el (set-default-coding-systems):
3013 * files.el (normal-mode):
3014 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3015 This function was removed with ucs-tables.el in 2008.
3016
b39bb7e1
EZ
30172012-04-08 Eli Zaretskii <eliz@gnu.org>
3018
3019 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3020 ispell-encoding8-command to "-i", without a trailing space.
3021 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3022 separate command-line arguments, to specify the encoding, since
3023 that's how hunspell expects it.
3024
5c5b8e23
GM
30252012-04-08 Glenn Morris <rgm@gnu.org>
3026
3027 * loadup.el: Load bindings before cus-start.
3028 This reduces somewhat the number of "rogue" settings in emacs -Q.
3029
a1ed8b05
GM
30302012-04-07 Glenn Morris <rgm@gnu.org>
3031
3032 * version.el (emacs-bzr-get-version): New function.
dfae128a 3033 (emacs-bzr-version): New variable.
a1ed8b05
GM
3034 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3035 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3036
b142f158
EZ
30372012-04-07 Eli Zaretskii <eliz@gnu.org>
3038
dfae128a
GM
3039 * international/uni-bidi.el, international/uni-category.el:
3040 * international/uni-combining.el, international/uni-decimal.el:
3041 * international/uni-decomposition.el, international/uni-digit.el:
3042 * international/uni-lowercase.el, international/uni-mirrored.el:
3043 * international/uni-name.el, international/uni-numeric.el:
3044 * international/uni-titlecase.el, international/uni-uppercase.el:
3045 Update for Unicode 6.1.
b142f158 3046
9078ead6
EZ
30472012-04-07 Eli Zaretskii <eliz@gnu.org>
3048
3049 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3050
f23d2c7d
LMI
30512012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3052
3053 * window.el (shrink-window): Mention the `window-min-height'
3054 variable in the doc string.
3055
0a0a3573
BG
30562012-04-05 Bastien Guerry <bzg@altern.org>
3057
3058 * color.el (color-lighten-name): Fix typo.
3059
e5248ac9
SM
30602012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * server.el (server--on-display-p): New function.
3063 (server--on-display-p): Use it.
3064
b4243e22
GV
30652012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3066
3067 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3068 (bug#11145).
3069
305d9f44
SM
30702012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * comint.el (comint--common-quoted-suffix): Check string boundary
3073 before comparing (bug#11158).
3074 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3075
3d439cd1
CY
30762012-04-04 Chong Yidong <cyd@gnu.org>
3077
321cc491
CY
3078 * minibuffer.el (completion-extra-properties): Doc fix.
3079
3d439cd1
CY
3080 * subr.el (delayed-warnings-hook): Doc fix.
3081
2d562c0f
DU
30822012-04-04 Daiki Ueno <ueno@unixuser.org>
3083
3084 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3085 selection (Bug#11159).
3086 (epa-insert-keys): Inform that the default public key will be
3087 exported if no key is selected.
3088
4443f204
RS
30892012-04-04 Richard Stallman <rms@gnu.org>
3090
3091 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3092
529c06b6
CY
30932012-04-03 Chong Yidong <cyd@gnu.org>
3094
3095 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3096 mail-insert-file, not its obsolete alias mail-attach-file.
3097
66b907dc
MA
30982012-04-03 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * notifications.el (notifications-notify): Fix docstring.
3101
c0ea195d
GM
31022012-04-02 Glenn Morris <rgm@gnu.org>
3103
3104 * emacs-lisp/authors.el (authors-aliases): Another addition.
3105
5ca64e00
MA
31062012-04-02 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3109 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3110 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3111
42ee526b
CY
31122012-04-01 Chong Yidong <cyd@gnu.org>
3113
3114 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3115 Handle root directory properly.
3116 (copy-directory): Caller changed.
3117
3118 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3119 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3120
0b021094
GM
31212012-03-31 Glenn Morris <rgm@gnu.org>
3122
40f86458
GM
3123 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3124
7019c177
GM
3125 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3126
a1daddd6
GM
3127 * calendar/calendar.el (calendar-window-list)
3128 (calendar-hide-window): Restore. (Bug#11140)
3129 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3130
0b021094
GM
3131 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3132
40311efc
TV
31332012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3134
3135 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3136 Check if file is a symlink (Bug#10489).
3137
3138 * files.el (copy-directory): Likewise.
3139
5319014e
CY
31402012-03-30 Chong Yidong <cyd@gnu.org>
3141
3142 * image.el (imagemagick-types-inhibit)
3143 (imagemagick-register-types): Doc fix.
3144
935d1290
AM
31452012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3146
ef24141c
SM
3147 * ispell.el (ispell-get-extended-character-mode):
3148 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3149 and treats ~word as ordinary words in pipe mode.
935d1290 3150
61c6e8fd
GM
31512012-03-30 Glenn Morris <rgm@gnu.org>
3152
3153 * tutorial.el (help-with-tutorial): Ensure local variables don't
3154 happen to make the buffer read-only. (Bug#11127)
3155
81fdff00
SM
31562012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3159 (perl-calculate-indent): Return `noindent' in strings.
3160
6e7a6ec0
SS
31612012-03-28 Sam Steingold <sds@gnu.org>
3162
3163 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3164 instead of the broken adhockery which does not prevent calendar
3165 buffers from being displayed at random after exit.
3166 (calendar-window-list, calendar-hide-window): Remove the broken
3167 adhockery.
3168
fee88ca0
GM
31692012-03-28 Glenn Morris <rgm@gnu.org>
3170
3171 * replace.el (query-replace-map): Doc fix.
3172
38de3354
AS
31732012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3174
3175 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3176 contents. (Bug#11109)
3177
b973155e
SM
31782012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3181 (bug#11077).
3182 (avl-tree--check, avl-tree--check-node): New funs.
3183
dcb6e7b3
MR
31842012-03-27 Martin Rudalics <rudalics@gmx.at>
3185
3186 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3187 (switch-to-prev-buffer, switch-to-next-buffer):
3188 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3189 showing a buffer already is done on the same frame.
3190
b4fa35fa
GM
31912012-03-27 Glenn Morris <rgm@gnu.org>
3192
3193 * startup.el (mail-host-address): Doc fix.
3194
f9210e18
SM
31952012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3198 than 197 variables.
3199
c0bf7753
AF
32002012-03-26 Ami Fischman <ami@fischman.org>
3201
3202 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3203
33da7b16
GM
32042012-03-26 Glenn Morris <rgm@gnu.org>
3205
02243d9d
GM
3206 * files.el (save-buffers-kill-emacs): Doc fix.
3207
33da7b16
GM
3208 * startup.el (normal-top-level, command-line, command-line-1):
3209 Give them doc strings.
3210
e5a69fd0
EZ
32112012-03-25 Eli Zaretskii <eliz@gnu.org>
3212
3213 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3214 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3215
9a69676a
CY
32162012-03-25 Chong Yidong <cyd@gnu.org>
3217
4125cb8b
CY
3218 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3219 theme if it was previously enabled before (Bug#11031).
3220
dd470960
CY
3221 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3222 spec with custom-face-get-current-spec if its :shown-value is not
3223 determined yet (Bug#9337).
4125cb8b 3224 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3225
9a69676a
CY
3226 * button.el (button-at): Minor addition to docstring.
3227
6e7e90fa
SL
32282012-03-24 Simon Leinen <simon.leinen@gmail.com>
3229
3230 * vc/vc.el (vc-merge): Fix a prompt.
3231
f06e2758
CY
32322012-03-24 Chong Yidong <cyd@gnu.org>
3233
3234 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3235 point (Bug#9623).
3236
6e7e90fa
SL
3237 * button.el (button-at): Minor addition to docstring.
3238
b9d0879b
SM
32392012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * newcomment.el (comment-choose-indent): No space after BOL.
3242
e71cebb3
SS
32432012-03-22 Sam Steingold <sds@gnu.org>
3244
3245 * window.el (switch-to-prev-buffer): Revert last patch because the
3246 bug turned out to be an advertised feature (Elisp manual 28.14).
3247
335aff35
GM
32482012-03-22 Glenn Morris <rgm@gnu.org>
3249
3250 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3251 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3252
c676576a
LMI
32532012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3254
3255 * net/network-stream.el (network-stream-open-starttls): Make error
3256 message under Windows be less misleading.
3257
126f3d39
LW
32582012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3259
3260 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3261 understands (bug#9942).
3262
64fee311
CY
32632012-03-22 Chong Yidong <cyd@gnu.org>
3264
3265 * simple.el (end-of-visible-line): Handle return value of
3266 next-single-property-change properly (Bug#9371).
3267
a640d29a
KH
32682012-03-22 Kenichi Handa <handa@m17n.org>
3269
3270 * international/quail.el (quail-insert-kbd-layout): Fix previous
3271 change. To avoid unwanted bidi reordering, use
3272 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3273
39675016
DG
32742012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3275
3276 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3277 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3278 (ruby-beginning-of-indent): Be more careful with the difference
3279 between word-boundary and symbol boundary.
3280 (ruby-mode-syntax-table): Make : a symbol constituent.
3281
0a6934fc 32822012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3283
3d008e4f
SM
3284 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3285
0a6934fc
SM
32862012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3287
af67c9d7
SM
3288 * progmodes/etags.el (tags-completion-at-point-function):
3289 Improve last fix.
3290
1acad97c
SM
3291 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3292
e298b5da
SS
32932012-03-21 Sam Steingold <sds@gnu.org>
3294
3295 * progmodes/etags.el (tags-completion-at-point-function):
3296 Avoid the error when point is inside the pattern.
3297
91d82a70
JY
32982012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3299
3300 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3301 line (Bug#10855).
3302
69188b79
CY
33032012-03-21 Drew Adams <drew.adams@oracle.com>
3304
3305 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3306
99fc91fe
AK
33072012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3308
3309 * ido.el (ido-set-current-directory, ido-read-internal)
3310 (ido-choose-completion-string, ido-completion-help): Handle nil
3311 value of ido-completion-buffer (Bug#11008).
3312
087bbb4c
SS
33132012-03-21 Sam Steingold <sds@gnu.org>
3314
3315 * window.el (switch-to-prev-buffer): Do not switch to a visible
3316 window previous buffer, just like with the frame previous buffers.
3317
fb5b8aca
CY
33182012-03-21 Chong Yidong <cyd@gnu.org>
3319
3320 * faces.el (make-face, make-empty-face, copy-face):
3321 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3322 Doc fixes.
3323
dc9924b8
SM
33242012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3325
3326 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3327 (widget-complete): Remove broken use of it.
3328
f0bcceb9
CY
33292012-03-20 Chong Yidong <cyd@gnu.org>
3330
dc9924b8
SM
3331 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3332 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3333 characters.
3334
ee52ebf3
TH
33352012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3336
3337 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3338 to draw rectangles, not squares. (Regression introduced by revno
3339 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3340
4c5779ab
CY
33412012-03-18 Chong Yidong <cyd@gnu.org>
3342
3343 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3344 it is not yet defined (for temacs).
3345
15360934
LL
33462012-03-18 Leo Liu <sdl.web@gmail.com>
3347
dc9924b8 3348 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3349
d9a8eb66
EZ
33502012-03-17 Eli Zaretskii <eliz@gnu.org>
3351
3352 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3353 (ispell-choices-win-default-height, ispell-silently-savep)
3354 (ispell-dictionary-alist, ispell-encoding8-command)
3355 (ispell-check-version, ispell-aspell-find-dictionary)
3356 (ispell-valid-dictionary-list, ispell-words-keyword)
3357 (ispell-get-word, ispell-internal-change-dictionary)
3358 (ispell-region, ispell-skip-region-list)
3359 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3360 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3361 (ispell-message-text-end, ispell-message)
3362 (ispell-buffer-local-parsing): Doc fix.
3363
f02ff80d
J
33642012-03-13 Jambunathan K <kjambunathan@gmail.com>
3365
3366 * htmlfontify.el: Add support for code block fontification for ODT
3367 export (Bug #9914).
3368 (hfy-optimisations): Define new option
3369 `body-text-only'
3370 (hfy-fontify-buffer): Honor above setting.
3371 (hfy-begin-span, hfy-end-span): New routines factored out form
3372 `hfy-fontify-buffer'.
3373 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3374 that permit insertion of custom tags.
3375 (hfy-fontify-buffer): Use above handlers.
3376 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3377 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3378 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3379 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3380 bind a special variable `hfy-user-sheet-assoc'.
3381 (htmlfontify-string): New defun.
3382 (hfy-compile-face-map): Make sure that the last char in the
3383 buffer is correctly fontified.
3384 (hfy-face-resolve-face): Whitespace only change.
3385
9ac7a13f
EZ
33862012-03-17 Eli Zaretskii <eliz@gnu.org>
3387
3388 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3389 message more clear.
3390
e2b5bdd7
LL
33912012-03-16 Leo Liu <sdl.web@gmail.com>
3392
3393 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3394
2e492df3
AM
33952012-03-16 Alan Mackenzie <acm@muc.de>
3396
3397 Further optimise the handling of large macros.
3398
3399 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3400 limit to a call of `c-literal-limits'.
3401 (c-determine-+ve-limit): New function.
dc9924b8
SM
3402 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3403 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3404 In CASE 5B, restrict a search limit to 500.
3405 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3406
3407 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3408 Restrict macro bounds to +-500 from after-change's BEG END.
3409
50e94f0c
LL
34102012-03-16 Leo Liu <sdl.web@gmail.com>
3411
3412 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3413
6f09f6ed
AH
34142012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3415
3416 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3417 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3418
c7e73d51
GM
34192012-03-16 Glenn Morris <rgm@gnu.org>
3420
da986230
GM
3421 * view.el (view-buffer, view-buffer-other-window)
3422 (view-buffer-other-frame): Doc fixes re special mode-class.
3423
0835f01e
GM
3424 * subr.el (eval-after-load): If named feature is provided not from
3425 a file, run after-load forms. (Bug#10946)
3426
c7e73d51
GM
3427 * calendar/calendar.el (calendar-insert-at-column):
3428 Handle non-unit-width characters a bit better. (Bug#10978)
3429
3f2eafd1
CY
34302012-03-15 Chong Yidong <cyd@gnu.org>
3431
3432 * emacs-lisp/ring.el (ring-extend): New function.
3433 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3434
3435 * comint.el (comint-read-input-ring)
3436 (comint-add-to-input-history): Grow comint-input-ring lazily.
3437
103af3fe
SM
34382012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3439
663b1677
SM
3440 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3441 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3442
103af3fe
SM
3443 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3444 (imenu-add-to-menubar): Don't add a redundant index.
3445 (imenu-update-menubar): Handle a dynamically composed keymap.
3446
899cb7cb
KY
34472012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3448
3449 * mail/sendmail.el (mail-encode-header):
3450 Bind rfc2047-encode-encoded-words to nil.
3451
3809f91d
GM
34522012-03-13 Glenn Morris <rgm@gnu.org>
3453
3454 * calendar/calendar.el (calendar-string-spread):
3455 Handle non-unit-width characters a bit better. (Bug#10978)
3456
9e345a01
LL
34572012-03-13 Leo Liu <sdl.web@gmail.com>
3458
3459 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3460 directory and file as argument (Bug#10822).
3461
4a07df36
KS
34622012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3463
3464 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3465 For dynamically generated code, follow $PC.
3466 (gdb-disassembly-handler-custom): Handle no function name case.
3467
4aaa9356
TL
34682012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3469
3470 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3471 * emulation/ws-mode.el (ws-query-replace):
3472 * sort.el (sort-regexp-fields):
3473 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3474
225979da
SM
34752012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * dabbrev.el: Fix cycle completion order (bug#10963).
3478 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3479 (dabbrev-completion): Don't use an obarray; provide
3480 a cycle-sort-function.
3481
e2f1fdab
LL
34822012-03-12 Leo Liu <sdl.web@gmail.com>
3483
dc9924b8 3484 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3485 (kill-do-not-save-duplicates): Doc fix.
3486
b19490ed
SM
34872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3488
3489 * dabbrev.el: Fix cycle completion (bug#10963).
3490 Use lexical binding and wrap to 80 columns.
3491 (dabbrev-completion): Delay computing the list of completions.
3492
4b05d722
KH
34932012-03-12 Kenichi Handa <handa@m17n.org>
3494
3495 * international/quail.el (quail-insert-kbd-layout): Surround each
3496 row by LRO and PDF instead of inserting many LRMs. Pad the left
3497 and right of each non-spacing marks. Insert invisible space
3498 between lower and upper characters to prevent composition.
3499
dbbc2e69
SM
35002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3501
3502 * minibuffer.el (minibuffer-complete): Don't get confused when the
3503 function is run twice via different commands (bug#10958).
3504 (complete-with-action): Fix docstring.
3505
292112ed
CY
35062012-03-12 Chong Yidong <cyd@gnu.org>
3507
5d1ac394
CY
3508 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3509 (nxml-completion-at-point-function): New function.
3510 (nxml-mode): Use it.
3511 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3512
292112ed
CY
3513 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3514 Load generated autoloads file before byte compiling (Bug#10970).
3515 (package--make-autoloads-and-compile): New helper fun.
3516
4098f8f7
CS
35172012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3518
3519 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3520
8f754691
MA
35212012-03-11 Michael Albinus <michael.albinus@gmx.de>
3522
3523 * autorevert.el (auto-revert-handler): Ensure, that
3524 file-readable-p is applied only for local files or in
3525 auto-revert-tail-mode.
3526
e29ab36b
AS
35272012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3528
dbbc2e69
SM
3529 * server.el (server-eval-at): Handle non-tcp connections.
3530 Decode result string.
ad0bf5b6 3531
e29ab36b
AS
3532 * server.el (server-msg-size): New constant.
3533 (server-reply-print): New function.
3534 (server-eval-and-print): Use it.
3535 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3536 Handle -print-nonl.
3537
de5939ba
CS
35382012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3539
3540 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3541 (Bug#10987).
3542
0c93eabf
CY
35432012-03-11 Chong Yidong <cyd@gnu.org>
3544
397a688f
CY
3545 * simple.el (goto-line): Doc fix (Bug#9938).
3546
2cc775f9
CY
3547 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3548
0c93eabf
CY
3549 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3550 when finished (Bug#10963).
3551
c491fa41
MR
35522012-03-11 Martin Rudalics <rudalics@gmx.at>
3553
3554 * window.el (split-window-below): Fix bug in case where
3555 split-window-keep-point is nil (Bug#10971).
3556
300e8fa5
JL
35572012-03-11 Juri Linkov <juri@jurta.org>
3558
3559 * replace.el (replace-highlight): Set isearch-word to nil
3560 unconditionally. (Bug#10887)
3561
dbf6c5a1
EZ
35622012-03-10 Eli Zaretskii <eliz@gnu.org>
3563
3564 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3565 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3566 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3567 (mairix-widget-create-query): Add usage information about mairix
3568 search forms: negating words, searching for substrings, etc.
3569
b9e501de
JP
35702012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3571
3572 * international/fontset.el (font-encoding-alist): Add an entry for
3573 ksx1001 (Bug#5667).
3574
92795c91
RS
35752012-03-10 Richard Stallman <rms@gnu.org>
3576
1694e6c1
RS
3577 * mail/sendmail.el (mail-encode-header):
3578 Set rfc2047-encode-encoded-words.
3579
607e8555
RS
3580 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3581
de3bc99a
RS
3582 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3583 view buffer means not swapped.
3584 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3585 (rmail-write-region-annotate): Error if real text has disappeared.
3586
92795c91
RS
3587 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3588
699bd04e
CY
35892012-03-10 Chong Yidong <cyd@gnu.org>
3590
3591 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3592 * emulation/cua-base.el (cua--init-keymaps):
3593 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3594
570a1714
MR
35952012-03-10 Martin Rudalics <rudalics@gmx.at>
3596
dbbc2e69
SM
3597 * speedbar.el (speedbar-unhighlight-one-tag-line):
3598 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3599
82dcf4e4
CY
36002012-03-10 Chong Yidong <cyd@gnu.org>
3601
7a2c7ca7
CY
3602 * minibuffer.el (completion-in-region, completion-help-at-point):
3603 Give the completion field overlay a high priority (Bug#6830).
3604
82dcf4e4
CY
3605 * dired.el (dired-goto-file): Recognize absolute file name
3606 listings (Bug#7126).
3607 (dired-goto-file-1): New helper function.
3608 (dired-toggle-read-only): Inhibit warnings.
3609
052e28ac
MA
36102012-03-09 Michael Albinus <michael.albinus@gmx.de>
3611
75f1671a 3612 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3613 there are no properties.
3614
95d5e396
LL
36152012-03-09 Leo Liu <sdl.web@gmail.com>
3616
3617 * savehist.el (savehist-printable): Stricter check for string
3618 value (Bug#10937).
3619
3f018d6d
EZ
36202012-03-09 Eli Zaretskii <eliz@gnu.org>
3621
dbbc2e69
SM
3622 * mail/smtpmail.el (smtpmail-send-it):
3623 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3624 valid mbox format.
3625
f7fd3d79
GM
36262012-03-09 Glenn Morris <rgm@gnu.org>
3627
3628 * files.el (dir-locals-find-file):
3629 Don't check result is regular, readable.
3630 (dir-locals-read-from-file): Demote errors.
3631
6ff6e72f
EZ
36322012-03-08 Eli Zaretskii <eliz@gnu.org>
3633
dbbc2e69
SM
3634 * international/quail.el (quail-insert-kbd-layout):
3635 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3636 layout cell, to prevent their reordering by bidi display engine.
3637 For details, see the discussion in
3638 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3639
9cec7834
AM
36402012-03-08 Alan Mackenzie <acm@muc.de>
3641
3642 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3643 the starting position; make it extend the marked region when
3644 invoked repeatedly - all under appropriate circumstances.
3645 Fixes bugs #5525, #10906.
3646
9a40b8d4
GM
36472012-03-08 Glenn Morris <rgm@gnu.org>
3648
3649 * files.el (locate-dominating-file, dir-locals-find-file):
3650 Undo 2012-03-06 change.
3651
7a08ed35
EZ
36522012-03-07 Eli Zaretskii <eliz@gnu.org>
3653
dbbc2e69
SM
3654 * international/quail.el (quail-help):
3655 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3656 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3657 for the reason.
3658
5aca4f71 36592012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3660
3661 Avoid superfluous registering of signals. (Bug#10807)
3662
3663 * notifications.el (notifications-on-action-object)
3664 (notifications-on-close-object): New defvars.
3665 (notifications-on-action-signal, notifications-on-closed-signal):
3666 Unregister the signal if not needed any longer.
3667 (notifications-notify): Register `notifications-action-signal' or
3668 `notifications-closed-signal', if :on-action or :on-close has been
3669 passed as argument.
3670
78e8b10a
CY
36712012-03-07 Chong Yidong <cyd@gnu.org>
3672
3673 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3674 non-X platforms.
3675
69481eb8
GM
36762012-03-06 Glenn Morris <rgm@gnu.org>
3677
3678 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3679 (x-disown-selection-internal, x-get-selection-internal):
3680 Doc fix (add arglist signatures). (Bug#10783)
3681
133b8e11
KS
36822012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3683
3684 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3685 Handle breakpoints with no "type".
3686
99a83064
GM
36872012-03-06 Glenn Morris <rgm@gnu.org>
3688
3689 * files.el (locate-dominating-file): Add optional predicate argument.
3690 (dir-locals-find-file): Make use of above change.
3691
17798e78
TTN
36922012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3693
3694 * info.el (Info-insert-dir): Also try "dir.gz".
3695
eb182446
GM
36962012-03-06 Glenn Morris <rgm@gnu.org>
3697
8f2114ee
GM
3698 * files.el (dir-locals-find-file):
3699 Ignore non-readable or non-regular files. (Bug#10928)
3700
eb182446
GM
3701 * files.el (locate-dominating-file): Doc fix.
3702
24679323
AS
37032012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3704
3705 * calendar/calendar.el (calendar-set-mode-line):
3706 `getenv' returns a string. (Bug#10951)
3707
01d972a9
LL
37082012-03-05 Leo Liu <sdl.web@gmail.com>
3709
109aa8a9
LL
3710 * simple.el (backward-delete-char-untabify): Constrain point to
3711 field (Bug#10939).
3712
01d972a9
LL
3713 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3714
10607bea
CY
37152012-03-05 Chong Yidong <cyd@gnu.org>
3716
3717 * simple.el (count-words): If called from Lisp, return the word
3718 count, for symmetry with `count-lines'. Arglist changed.
3719 (count-words--message): Args changed. Consolidate counting code
3720 from count-words and count-words-region.
3721 (count-words-region): Caller changed.
3722 (count-lines-region): Make it an obsolete alias.
3723
5dd11cfe
TH
37242012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3725
3726 * saveplace.el (save-place-to-alist)
3727 (save-place-ignore-files-regexp): Allow value nil to disable this
3728 feature.
3729
c349f4e6
CY
37302012-03-04 Chong Yidong <cyd@gnu.org>
3731
3732 * faces.el (face-spec-reset-face): For the default face, reset the
3733 attributes to default values (Bug#10748).
3734
e627be4c
LMI
37352012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3736
3737 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3738 previous patch: Check `message-send-mail-function', and not the
3739 default function (bug#10897).
3740
ebeabff4
MA
37412012-03-04 Michael Albinus <michael.albinus@gmx.de>
3742
a41a6cf4
MA
3743 * notifications.el (notifications-on-action-signal)
3744 (notifications-on-closed-signal): Check for unique service name of
3745 incoming event. Fix error in removing entry.
ebeabff4 3746 (top): Register for signals with wildcard service name.
a41a6cf4 3747 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3748
c1ca42b4
CY
37492012-03-04 Chong Yidong <cyd@gnu.org>
3750
dc9924b8 3751 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3752
ea16568d
GM
37532012-03-04 Glenn Morris <rgm@gnu.org>
3754
3755 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3756 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3757 (expand-abbrev, define-abbrev-table): Doc fixes.
3758
fbae4637
LMI
37592012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3760
3761 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3762 `message-default-send-mail-function' and not `send-mail-function'
3763 when doing the prompting for `sendmail-query-once' before sending
3764 in Message buffers (bug#10897).
3765
a1e7225c
LMI
3766 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3767 This is inconsistent with all the other stream functions, which leave
3768 the setting up to the higher levels (if so wanted) (bug#10931).
3769
56d093a9
AM
37702012-03-02 Alan Mackenzie <acm@muc.de>
3771
3772 Depessimize the handling of very large macros.
3773
3774 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3775 (c-macro-cache-syntactic): New variables to implement a one
3776 element macro cache.
3777 (c-invalidate-macro-cache): New function.
3778 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3779 Adapt to use the new cache.
3780 (c-state-safe-place): Use better the cache of safe positions.
3781 (c-state-semi-nonlit-pos-cache)
3782 (c-state-semi-nonlit-pos-cache-limit):
3783 New variables for...
3784 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3785 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3786 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3787 Use c-state-semi-safe-place.
56d093a9 3788
dbbc2e69
SM
3789 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3790 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3791
817e5c3d
MA
37922012-03-02 Michael Albinus <michael.albinus@gmx.de>
3793
dbbc2e69
SM
3794 * jka-compr.el (jka-compr-call-process):
3795 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3796 not remote.
3797
a032a702
MA
37982012-03-01 Michael Albinus <michael.albinus@gmx.de>
3799
3800 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3801 access of FILE2, if FILE1 does not exist.
3802
99a54f21
MA
3803 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3804 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3805
3806 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3807 Add "PAGER=" to `process-environment'.
3808
f6561e1f
MM
38092012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3810
3811 * progmodes/sql.el: Bug fix
3812 (sql-get-login-ext): Save login values in globals.
3813 (sql-get-login): Use new version of `sql-get-login-ext'.
3814 (sql-interactive-mode): Set global `sql-connection' to nil.
3815 (sql-connect): Set global values for connection.
3816 (sql-product-interactive): Save global values as buffer local.
3817
2d44d9cc
LL
38182012-02-29 Leo Liu <sdl.web@gmail.com>
3819
3820 * abbrev.el (define-abbrevs): Reset sys to nil.
3821
96b49301 38222012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3823
bf7f9bc5
JB
3824 * files.el (file-equal-p): Rename from `files-equal-p'.
3825 Return nil when one or both files don't exist.
96b49301 3826 (file-subdir-of-p): Now only top directory must exists,
3827 return nil if it doesn't.
bf7f9bc5
JB
3828 (copy-directory): No need to test with `file-subdir-of-p' after
3829 creating dir.
3830 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3831 to `file-equal-p'.
96b49301 3832
44e97401
GM
38332012-02-28 Glenn Morris <rgm@gnu.org>
3834
3835 * shell.el (shell-mode):
3836 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3837 * play/landmark.el (landmark-font-lock-face-O):
3838 * play/handwrite.el (handwrite):
3839 * play/gomoku.el (gomoku-O):
3840 * net/browse-url.el (browse-url-browser-display):
3841 * international/mule.el (define-charset):
3842 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3843 * filesets.el (filesets-find-file-delay):
3844 * eshell/em-xtra.el (eshell-xtra):
3845 * eshell/em-unix.el (eshell-grep):
3846 * emulation/viper.el (viper-mode):
3847 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3848 * emacs-lisp/easymenu.el (easy-menu-define):
3849 * calendar/timeclock.el (timeclock-use-display-time):
3850 * bs.el (bs-mode):
3851 * bookmark.el (bookmark-save-flag):
3852 Doc fix (standardize possessive apostrophe usage).
3853
c98c6276
CY
38542012-02-27 Chong Yidong <cyd@gnu.org>
3855
bf7f9bc5
JB
3856 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3857 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3858
c98c6276
CY
3859 * font-lock.el (font-lock-specified-p): Rename from
3860 font-lock-spec-present. Callers changed.
3861
9c62cd04 38622012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3863
bf7f9bc5
JB
3864 * emacs-lisp/package.el (package-compute-transaction):
3865 Handle holding a package version to t in package-load-list.
8ac9e529 3866
530739c9
MA
38672012-02-26 Michael Albinus <michael.albinus@gmx.de>
3868
3869 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3870 (tramp-get-inode, tramp-get-device): Use cached values.
3871
487915d7
AM
38722012-02-26 Alan Mackenzie <acm@muc.de>
3873
3874 Check there is a font-lock specification before doing initial
3875 fontification.
3876
3877 * font-core.el (font-lock-mode): Move the conditional from
3878 :after-hook to font-lock-initial-fontify.
3879 (font-lock-default-function): Move the check for a specification
3880 to font-lock-spec-present.
3881
dc9924b8 3882 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3883 (font-lock-spec-present): New function.
3884
4fd96557
JB
38852012-02-26 Jim Blandy <jimb@red-bean.com>
3886
3887 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3888 (gdb-send): Apply it to the operand of the '-interpreter-exec
3889 console' command, so that we can pass arguments with (say) quotes
3890 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3891
9a4888c0
CY
38922012-02-26 Chong Yidong <cyd@gnu.org>
3893
07498861
CY
3894 * help-fns.el (describe-function-1): Clarify description of
3895 remapping (Bug#10844).
3896
9a4888c0
CY
3897 * files.el (files-equal-p): Doc fix.
3898 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3899 and quit the loop once a mismatch is found.
3900
ea8fb88d
JB
39012012-02-25 Juanma Barranquero <lekktu@gmail.com>
3902
3903 * bs.el (bs--show-with-configuration): Don't throw an error
3904 if the window cannot be split; otherwise, subsequent calls to
3905 bs-show fail, restoring a stale window config. (Bug#10882)
3906
525795c1
JD
39072012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3908
3909 * term/ns-win.el (global-map): Bind ns-drag-file to
3910 ns-find-file (Bug#5855, Bug#10050).
3911
f008086f
AS
39122012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3913
3914 * calendar/parse-time.el (parse-time-string): Allow extractor to
3915 return nil.
3916
a3fcfa99
MA
39172012-02-25 Michael Albinus <michael.albinus@gmx.de>
3918
91027d08
JB
3919 * net/tramp.el (tramp-file-name-for-operation):
3920 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3921
3922 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3923 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3924 Add COPY-CONTENTS argument.
a3fcfa99 3925
67b0de11
CY
39262012-02-25 Chong Yidong <cyd@gnu.org>
3927
3928 Add custom groups for VC backends, for consistency with vc-bzr.
3929
3930 * vc/vc-arch.el (vc-arch):
3931 * vc/vc-cvs.el (vc-cvs):
3932 * vc/vc-git.el (vc-git):
3933 * vc/vc-hg.el (vc-hg):
3934 * vc/vc-mtn.el (vc-mtn):
3935 * vc/vc-rcs.el (vc-rcs):
3936 * vc/vc-sccs.el (vc-sccs):
3937 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3938 All relevant defcustoms reassigned.
3939
3c9dfce6
CY
39402012-02-25 Chong Yidong <cyd@gnu.org>
3941
1339bf43
CY
3942 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3943
3c9dfce6
CY
3944 * term/x-win.el (x-initialize-window-system): Reduce default for
3945 x-selection-timeout to 5 seconds (Bug#8869).
3946
25b2e303 39472012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3948
ec70a47d
GM
3949 * files.el (files-equal-p, file-subdir-of-p): New functions.
3950 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3951 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3952 * dired-aux.el (dired-copy-file-recursive): Same.
3953 (dired-create-files): Modify destination when source is equal to
3954 dest when copying files.
53a46cd0 3955 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3956
914260cd
MA
39572012-02-24 Michael Albinus <michael.albinus@gmx.de>
3958
3959 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3960 (Bug#10874)
3961
2cb228f7
AM
39622012-02-23 Alan Mackenzie <acm@muc.de>
3963
3964 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3965 parameter "after-hook:" to allow the expansion to run code after
3966 the execution of the mode hooks.
3967
3968 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3969 from font-lock-mode-internal.
2cb228f7 3970
91027d08 3971 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3972 :after-hook.
3973
8f0fde21
SM
39742012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3e88618b
SM
3976 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3977 (completion--cache-all-sorted-completions): New function.
3978 (completion-all-sorted-completions): Use it.
3979 (completion--do-completion, minibuffer-force-complete):
3980 Use it to re-instate the flush hook.
3981
8f0fde21
SM
3982 * icomplete.el (icomplete-completions): Replace last fix with a better
3983 one (bug#10850).
3984
8e911f6f
DG
39852012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3986
3987 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3988 when it might call us back infinitely (bug#10797).
3989
49fe4321
GM
39902012-02-23 Glenn Morris <rgm@gnu.org>
3991
3992 * minibuffer.el (completion-category-overrides): Doc fix.
3993
b291b572
SM
39942012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3997 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3998
31a9ef2e
GM
39992012-02-23 Glenn Morris <rgm@gnu.org>
4000
5e6e6794 4001 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4002 (authors-obsolete-files-regexps, authors-ignored-files)
4003 (authors-ambiguous-files, authors-renamed-files-alist):
4004 Add more entries.
4005
0bd1e074
JL
40062012-02-23 Juri Linkov <juri@jurta.org>
4007
4008 * isearch.el (isearch-occur): Sync interactive spec with occur's
4009 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4010
b617673c
JL
4011 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4012
19e9789e
JL
40132012-02-22 Juri Linkov <juri@jurta.org>
4014
4015 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4016 (ucs-insert): Doc fix. Check for hex digits in the string.
4017 Don't display `nil' in the error message. (Bug#10857)
4018
f41ce09d
AM
40192012-02-22 Alan Mackenzie <acm@muc.de>
4020
7a71b18d 4021 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4022
ac2eceee
GM
40232012-02-22 Glenn Morris <rgm@gnu.org>
4024
4025 * ffap.el (ffap-c-path):
4026 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4027
abd1f678
CY
40282012-02-22 Chong Yidong <cyd@gnu.org>
4029
4030 * custom.el (load-theme): Doc fix.
4031
f25aef2e
GM
40322012-02-22 Glenn Morris <rgm@gnu.org>
4033
4034 * dired-x.el (dired-guess-shell-alist-default):
4035 Remove escape sequences from nroff output. (Bug#172)
4036
5f8dc2ca
GM
40372012-02-21 Glenn Morris <rgm@gnu.org>
4038
6ff86ec4
GM
4039 * vc/emerge.el (emerge-defvar-local):
4040 Set `permanent-local' property rather than unused `preserved'.
4041
be3223a3 4042 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4043 (picture-mode-map): Use it. (Bug#10860)
4044 (picture-mode): Doc fix.
4045
3fe58f4f
JB
40462012-02-21 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * newcomment.el (uncomment-region-default): Remove unused binding.
4049
f9a998c3
GM
40502012-02-21 Glenn Morris <rgm@gnu.org>
4051
4052 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4053 (picture-self-insert, picture-tab-chars): Doc fix.
4054 (picture-mode-map): Fix C-a, C-e.
4055
c6029348
GM
40562012-02-20 Glenn Morris <rgm@gnu.org>
4057
4058 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4059
ab1ce9d7
LL
40602012-02-20 Leo Liu <sdl.web@gmail.com>
4061
4062 * icomplete.el (icomplete-completions): Check FROM arg before
4063 passing to substring (Bug#10850).
4064
0fd40f89
CY
40652012-02-19 Chong Yidong <cyd@gnu.org>
4066
4067 * comint.el: Require ansi-color.
4068 (comint-output-filter-functions): Add ansi-color-process-output.
4069
4070 * ansi-color.el: Don't set comint-output-filter-functions; it is
4071 now in the initial value defined in comint.el.
4072 (ansi-color-apply-face-function): New variable.
4073 (ansi-color-apply-on-region): Use it.
4074 (ansi-color-apply-overlay-face): New function.
4075
4076 * shell.el (shell): No need to require ansi-color.
4077 (shell-mode): Use ansi-color-apply-face-function to highlight
4078 color escapes using font-lock-face property (Bug#10835).
4079
20af2394
CY
40802012-02-19 Chong Yidong <cyd@gnu.org>
4081
4082 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4083 mode-line formats (Bug#10839).
4084
e23a3fbe
GM
40852012-02-18 Glenn Morris <rgm@gnu.org>
4086
b474519e
GM
4087 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4088
4089 * mail/undigest.el (unforward-rmail-message): Doc fix.
4090
e23a3fbe
GM
4091 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4092
57939ff4
EZ
40932012-02-18 Eli Zaretskii <eliz@gnu.org>
4094
4095 * international/characters.el (script-list): Sync with the latest
4096 Unicode Character Database.
4097
0c23686e
AS
40982012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4099
4100 * international/titdic-cnv.el: Remove duplicate coding tag.
4101 * language/cham.el: Likewise.
4102 * language/tai-viet.el: Likewise.
4103
6818b449
GM
41042012-02-18 Glenn Morris <rgm@gnu.org>
4105
4106 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4107 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4108 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4109 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4110 * calendar/holidays.el (holiday-bahai-holidays)
4111 (calendar-holidays, list-holidays):
4112 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
4113
0311a3fc
TH
41142012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4115
4116 * saveplace.el (save-place-ignore-files-regexp): New variable
4117 allowing for excluding files from saving their location of point.
4118 The default value matches the temporary commit message editing
4119 files from Git, SVN, Bazaar, and Mercurial.
4120 (save-place-to-alist): Use it.
4121
eb864a71
LM
41222012-02-17 Lawrence Mitchell <wence@gmx.li>
4123 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * newcomment.el (uncomment-region-default): Don't leave extra space
4126 when an arg is provided (bug#8150).
4127
ee0ce425
TZ
41282012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4129
eb864a71 4130 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4131
95ddf442
GM
41322012-02-17 Glenn Morris <rgm@gnu.org>
4133
4134 * net/socks.el: Require network-stream. (Bug#10599)
4135
48dd1e39 41362012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4137
4138 * international/charprop.el:
4139 * international/uni-name.el:
4140 * international/uni-old-name.el:
4141 * international/uni-comment.el: Regenerate.
4142
d68cd087
GM
41432012-02-16 Glenn Morris <rgm@gnu.org>
4144
4145 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4146 Interactively in calendar buffer, give an error if not on a date.
4147
13932042
GM
41482012-02-15 Glenn Morris <rgm@gnu.org>
4149
4150 * shell.el (shell-delimiter-argument-list):
4151 Revert 2011-02-17 change. (Bug#8027)
4152
c3a70e2b
CY
41532012-02-15 Chong Yidong <cyd@gnu.org>
4154
60236b0d
CY
4155 * minibuffer.el (completion-at-point-functions): Doc fix.
4156
c3a70e2b
CY
4157 * custom.el (defcustom): Doc fix; note use of defvar.
4158
9f26dc24
GM
41592012-02-15 Glenn Morris <rgm@gnu.org>
4160
4161 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4162 Doc fixes.
4163
6546b134
GM
41642012-02-14 Glenn Morris <rgm@gnu.org>
4165
4166 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4167
d29b2b4c
LI
41682012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4169
4170 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4171 way the ports list is computed.
835bdcba
LI
4172 (smtpmail-query-smtp-server): Prompt the user for a port number if
4173 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4174
08dcdbc9
TZ
41752012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4176
4177 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4178
2605051a
GM
41792012-02-13 Glenn Morris <rgm@gnu.org>
4180
4181 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4182
7ee99f32
TZ
41832012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4184
4185 * net/gnutls.el (gnutls-trustfiles): New variable.
4186 (gnutls-negotiate): Use it.
4187
5f0af64f
LI
41882012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4189
4190 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4191 does its stuff if Gnus is running.
4192
c14fcc95
AM
41932012-02-13 Alan Mackenzie <acm@muc.de>
4194
4195 Fix a loop in c-set-fl-decl-start.
4196
7a71b18d 4197 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4198 c-backward-syntactic-ws actually moves backwards.
4199
142b4d90
LL
42002012-02-13 Leo Liu <sdl.web@gmail.com>
4201
4202 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4203 beginning so that all \C-o chars are removed.
4204
fa9958a6
TZ
42052012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4206
dc9924b8 4207 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4208
0bc5886a
AM
42092012-02-12 Alan Mackenzie <acm@muc.de>
4210
4211 Fix infinite loop with long macros.
4d6769e1 4212 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4213
d4bd55e7
CY
42142012-02-12 Chong Yidong <cyd@gnu.org>
4215
4216 * window.el (display-buffer): Doc fix (Bug#10785).
4217
66f3fe22
GM
42182012-02-12 Glenn Morris <rgm@gnu.org>
4219
bd7da63e
GM
4220 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4221 (x-disown-selection-internal, x-get-selection-internal):
4222 Sync docs with the xselect.c versions.
4223
66f3fe22
GM
4224 * allout-widgets.el: Add missing license notice.
4225
3e0d2fa7
GM
42262012-02-11 Glenn Morris <rgm@gnu.org>
4227
cfecdf09
GM
4228 * select.el (x-get-selection-internal, x-own-selection-internal)
4229 (x-disown-selection-internal):
4230 * x-dnd.el (x-get-selection-internal): Update declarations.
4231
6d216d7f
GM
4232 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4233
2bed3f04
GM
4234 * window.el (window-sides-slots):
4235 * tool-bar.el (tool-bar-position):
4236 * term/xterm.el (xterm-extra-capabilities):
4237 * ses.el (ses-self-reference-early-detection):
4238 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4239 (verilog-auto-wire-type)
4240 (verilog-auto-delete-trailing-whitespace)
4241 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4242 (verilog-auto-tieoff-declaration):
4243 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4244 (sql-oracle-statement-starters, sql-oracle-scan-on):
4245 * progmodes/prolog.el (prolog-align-comments-flag)
4246 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4247 (prolog-left-indent-regexp, prolog-paren-indent-p)
4248 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4249 (prolog-types, prolog-mode-specificators)
4250 (prolog-determinism-specificators, prolog-directives)
4251 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4252 (prolog-electric-dot-flag)
4253 (prolog-electric-dot-full-predicate-template)
4254 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4255 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4256 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4257 (prolog-program-switches, prolog-prompt-regexp)
4258 (prolog-debug-on-string, prolog-debug-off-string)
4259 (prolog-trace-on-string, prolog-trace-off-string)
4260 (prolog-zip-on-string, prolog-zip-off-string)
4261 (prolog-use-standard-consult-compile-method-flag)
4262 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4263 (prolog-imenu-max-lines, prolog-info-predicate-index)
4264 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4265 (prolog-char-quote-workaround):
4266 * progmodes/cc-vars.el (c-defun-tactic):
4267 * net/tramp.el (tramp-encoding-command-interactive)
4268 (tramp-local-end-of-line):
4269 * net/soap-client.el (soap-client):
4270 * net/netrc.el (netrc-file):
4271 * net/gnutls.el (gnutls):
4272 * minibuffer.el (completion-category-overrides)
4273 (completion-cycle-threshold)
4274 (completion-pcm-complete-word-inserts-delimiters):
4275 * man.el (Man-name-local-regexp):
4276 * mail/feedmail.el (feedmail-display-full-frame):
4277 * international/characters.el (glyphless-char-display-control):
4278 * eshell/em-ls.el (eshell-ls-date-format):
4279 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4280 (lisp-lambda-list-keyword-parameter-indentation)
4281 (lisp-lambda-list-keyword-parameter-alignment):
4282 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4283 * dired-x.el (dired-omit-verbose):
4284 * cus-theme.el (custom-theme-allow-multiple-selections):
4285 * calc/calc.el (calc-highlight-selections-with-faces)
4286 (calc-lu-field-reference, calc-lu-power-reference)
4287 (calc-note-threshold):
4288 * battery.el (battery-mode-line-limit):
4289 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4290 (archive-7z-update):
4291 * allout.el (allout-prefixed-keybindings)
4292 (allout-unprefixed-keybindings)
4293 (allout-inhibit-auto-fill-on-headline)
4294 (allout-flattened-numbering-abbreviation):
4295 * allout-widgets.el (allout-widgets-auto-activation)
4296 (allout-widgets-icons-dark-subdir)
4297 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4298 (allout-widgets-theme-dark-background)
4299 (allout-widgets-theme-light-background)
4300 (allout-widgets-item-image-properties-emacs)
4301 (allout-widgets-item-image-properties-xemacs)
4302 (allout-widgets-run-unit-tests-on-load)
4303 (allout-widgets-time-decoration-activity)
4304 (allout-widgets-hook-error-post-time)
4305 (allout-widgets-track-decoration):
4306 Add missing :version tags to new defcustoms and defgroups.
4307
5fec1b8e
GM
4308 * progmodes/sql.el (sql-ansi-statement-starters)
4309 (sql-oracle-statement-starters): Add custom type.
4310
3e0d2fa7
GM
4311 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4312 (prolog-system-version): Give it a type.
4313
90b671e2
EZ
43142012-02-11 Eli Zaretskii <eliz@gnu.org>
4315
4316 * term/pc-win.el (x-select-text, x-selection-owner-p)
4317 (x-own-selection-internal, x-disown-selection-internal)
4318 (x-get-selection-internal): Sync doc strings and argument lists
4319 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4320
5eac0c02
LL
43212012-02-11 Leo Liu <sdl.web@gmail.com>
4322
4323 * progmodes/python.el (python-end-of-statement): Fix infinite
4324 loop. (Bug#10788)
4325
f82cb659
GM
43262012-02-10 Glenn Morris <rgm@gnu.org>
4327
4328 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4329 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4330
cc26d239
LI
43312012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4332
4333 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4334 about SMTP before checking the From header.
4335
91027d08 4336 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4337 into own function for reuse by emacsbug.el.
4338
1be3ca5a
LL
43392012-02-10 Leo Liu <sdl.web@gmail.com>
4340
4341 * subr.el (condition-case-unless-debug): Rename from
4342 condition-case-no-debug. All callers changed.
4343 (with-demoted-errors): Fix caller.
4344
4345 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4346 * nxml/rng-valid.el (rng-do-some-validation):
4347 * emacs-lisp/package.el (package-refresh-contents)
4348 (package-menu-execute):
4349 * desktop.el (desktop-create-buffer):
91027d08 4350 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4351
b011fbfe
GM
43522012-02-10 Glenn Morris <rgm@gnu.org>
4353
b2096d72
GM
4354 * textmodes/bibtex.el:
4355 Add missing :version tags for new/changed defcustoms.
4356
b011fbfe
GM
4357 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4358
4c7e65bf
LI
43592012-02-09 Lars Ingebrigtsen <larsi@rusty>
4360
4361 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4362 (smtpmail-via-smtp): Use it, or fall back on the From address.
4363 (smtpmail-send-it): Ditto.
4364
f3934f6f
SM
43652012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4368 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4369 (byte-compile-tmp-var): New const.
4370 (byte-compile-defvar): Use it to minimize .elc size.
4371 Just use `defvar' rather than simulate it (bug#10761).
4372
a075a2c5
GM
43732012-02-09 Glenn Morris <rgm@gnu.org>
4374
cf3aa21b
GM
4375 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4376
354998cd
GM
4377 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4378 Add :version tags.
4379
dc9924b8
SM
4380 * progmodes/compile.el (compilation-error-screen-columns)
4381 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4382
dab3703d
GM
4383 * vc/log-view.el (log-view-toggle-entry-display):
4384 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4385
3f88cd72
GM
4386 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4387 (report-emacs-bug-can-use-xdg-email):
4388 (report-emacs-bug-insert-to-mailer): Doc fixes.
4389 (report-emacs-bug): Message fix.
4390
d95b247d
GM
4391 * net/browse-url.el (browse-url-can-use-xdg-open)
4392 (browse-url-xdg-open): Doc fixes.
4393
a075a2c5
GM
4394 * electric.el (electric-indent-mode, electric-pair-mode)
4395 (electric-layout-rules, electric-layout-mode): Doc fixes.
4396 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4397
ffb6157e
MR
43982012-02-08 Martin Rudalics <rudalics@gmx.at>
4399
4400 * server.el (server-unselect-display): Don't inadvertently kill
4401 the current buffer. (Bug#10729)
4402
e1ac4066
GM
44032012-02-08 Glenn Morris <rgm@gnu.org>
4404
34e8a2da
GM
4405 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4406 (sql-list-table): Doc fixes.
4407
b4ac6e8c
GM
4408 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4409 Comment out (does nothing).
4410
e1ac4066
GM
4411 * completion.el (dynamic-completion-mode):
4412 * dirtrack.el (dirtrack-debug-mode):
4413 * electric.el (electric-layout-mode):
4414 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4415 * face-remap.el (text-scale-mode, buffer-face-mode):
4416 * iimage.el (iimage-mode):
4417 * image-mode.el (image-transform-mode):
4418 * minibuffer.el (completion-in-region-mode):
4419 * scroll-lock.el (scroll-lock-mode):
4420 * simple.el (next-error-follow-minor-mode):
4421 * tar-mode.el (tar-subfile-mode):
4422 * tooltip.el (tooltip-mode):
4423 * vcursor.el (vcursor-use-vcursor-map):
4424 * wid-browse.el (widget-minor-mode):
4425 * emulation/tpu-edt.el (tpu-edt-mode):
4426 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4427 * international/iso-ascii.el (iso-ascii-mode):
4428 * language/thai-util.el (thai-word-mode):
4429 * mail/supercite.el (sc-minor-mode):
4430 * net/goto-addr.el (goto-address-mode):
4431 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4432 * progmodes/cwarn.el (cwarn-mode):
4433 * progmodes/flymake.el (flymake-mode):
4434 * progmodes/glasses.el (glasses-mode):
4435 * progmodes/hideshow.el (hs-minor-mode):
4436 * progmodes/pascal.el (pascal-outline-mode):
4437 * textmodes/enriched.el (enriched-mode):
4438 * vc/smerge-mode.el (smerge-mode):
4439 Doc fixes (minor mode argument).
4440
5e0d957f
EZ
44412012-02-07 Eli Zaretskii <eliz@gnu.org>
4442
4443 * ls-lisp.el (ls-lisp-sanitize): New function.
4444 (ls-lisp-insert-directory): Use it to fix or remove any elements
4445 in file-alist with missing attributes. (Bug#4673)
4446
98d7371e
AM
44472012-02-07 Alan Mackenzie <acm@muc.de>
4448
4449 Fix spurious recognition of c-in-knr-argdecl.
4450
4451 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4452 putative K&R region.
4453
667ced3a
AM
44542012-02-07 Alan Mackenzie <acm@muc.de>
4455
eb864a71
LM
4456 * progmodes/cc-engine.el (c-forward-objc-directive):
4457 Prevent looping in "#pragma mark @implementation".
667ced3a 4458
5b77774d
MA
44592012-02-07 Michael Albinus <michael.albinus@gmx.de>
4460
4461 * notifications.el (notifications-on-closed-signal): Make `reason'
4462 optional. (Bug#10744)
4463
af008560
GM
44642012-02-07 Glenn Morris <rgm@gnu.org>
4465
60d47423
GM
4466 * emacs-lisp/easy-mmode.el (define-minor-mode):
4467 Doc fixes for the macro and the mode it defines.
4468
dd605cc4
GM
4469 * image.el (imagemagick-types-inhibit): Doc fix.
4470
af008560
GM
4471 * cus-start.el (imagemagick-render-type): Add it.
4472
5cc59a37
LI
44732012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4474
4d6769e1
JB
4475 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4476 Set the default at load time, too, so that `font-lock-fontify-buffer'
4477 can be called without setting up the entire mode first. This fixes
4478 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4479
9a6dd747
CY
44802012-02-06 Chong Yidong <cyd@gnu.org>
4481
2d16b285
CY
4482 * simple.el (list-processes--refresh): Delete exited processes
4483 (Bug#8094).
4484
171e9b6e
CY
4485 * comint.el (comint-next-prompt): next-single-char-property-change
4486 and prev-single-char-property-change never return nil (Bug#8657).
4487
9a6dd747
CY
4488 * custom.el (defcustom): Doc fix (Bug#9711).
4489
aa4589a7
CY
44902012-02-05 Chong Yidong <cyd@gnu.org>
4491
5c2a252f
CY
4492 * cus-edit.el (custom-variable-reset-backup): Quote the value
4493 before storing it in the customized-value property (Bug#6712).
4aab9006 4494 (custom-display): Add a customization type tag.
983b9602 4495 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4496
aa4589a7
CY
4497 * wid-edit.el (widget-field-value-get): New optional arg to
4498 suppress trailing whitespace truncation.
4499 (character): Use it (Bug#2689).
4500
1ff980ae
AS
45012012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4502
4503 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4504 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4505
03988c98
CY
45062012-02-05 Chong Yidong <cyd@gnu.org>
4507
eeb6cc88
CY
4508 * cus-edit.el (custom-variable-value-create): For mismatched
4509 types, show the current value (Bug#7600).
4510
03988c98
CY
4511 * custom.el (defcustom): Doc fix.
4512
f8cdeef0
GM
45132012-02-05 Glenn Morris <rgm@gnu.org>
4514
4515 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4516
0696d255
JB
45172012-02-05 Juanma Barranquero <lekktu@gmail.com>
4518
4519 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4520 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4521 (pp-last-sexp): Use `looking-at-p'.
4522
34c99998
GM
45232012-02-04 Glenn Morris <rgm@gnu.org>
4524
8f05da42
GM
4525 * files.el (revert-buffer):
4526 Doc fix (mention revert-buffer-in-progress-p).
4527
f160676e
GM
4528 * emacs-lisp/ert-x.el (ert-simulate-command):
4529 Check deferred-action-list (which is obsolete) is bound.
4530
c7291ad9
GM
4531 * subr.el (with-wrapper-hook): Doc fixes.
4532
34c99998
GM
4533 * simple.el (filter-buffer-substring-functions)
4534 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4535
6283a7d3
LL
45362012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4537
4538 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4539 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4540
e96e3013
LL
45412012-02-04 Leo Liu <sdl.web@gmail.com>
4542
4543 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4544
8ded50f2
GM
45452012-02-04 Glenn Morris <rgm@gnu.org>
4546
82ff1d13
GM
4547 * image.el (image-extension-data): Add obsolete alias.
4548
987a0a16
GM
4549 * isearch.el (isearch-update): Doc fix.
4550
ea32ef46
GM
4551 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4552
8ded50f2
GM
4553 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4554
eea14f31
GM
45552012-02-03 Glenn Morris <rgm@gnu.org>
4556
4557 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4558 (image-animate-timeout): Doc fix.
4559
4560 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4561
12f381b7
GM
45622012-02-02 Glenn Morris <rgm@gnu.org>
4563
953cebf5
GM
4564 * server.el (server-auth-dir): Doc fix.
4565 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4566
12f381b7
GM
4567 * subr.el (run-mode-hooks): Doc fix.
4568
953a8c3b
JL
45692012-02-02 Juri Linkov <juri@jurta.org>
4570
4571 * image-mode.el (image-toggle-display-image): Remove tautological
4572 `major-mode' from the `derived-mode-p' test.
4573
c5d3843c
KH
45742012-02-02 Kenichi Handa <handa@m17n.org>
4575
9f6e692e 4576 * composite.el (compose-region): Cancel previous change.
c5d3843c 4577
159462d4 45782012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4579
4580 * composite.el (compose-region, compose-string): Signal error for
4581 a null string component (Bug#6988).
4582
9f562668
CY
45832012-02-01 Chong Yidong <cyd@gnu.org>
4584
e2cef717
CY
4585 * view.el (view-buffer-other-window, view-buffer-other-frame):
4586 Handle special modes like view-buffer (Bug#10650).
4587 (view-buffer): Simplify.
4588
9f562668
CY
4589 * frame.el (set-frame-font): Tweak meaning of third argument.
4590
9f6e692e
JB
4591 * dynamic-setting.el (font-setting-change-default-font):
4592 Use set-frame-font (Bug#9982).
9f562668 4593
781acb9f
GM
45942012-02-01 Glenn Morris <rgm@gnu.org>
4595
6035be52
GM
4596 * progmodes/compile.el (compilation-internal-error-properties):
4597 Respect compilation-first-column in the "*compilation*" buffer.
4598
781acb9f
GM
4599 * emacs-lisp/easy-mmode.el (define-minor-mode):
4600 Relax :variable's test for a named function.
4601
abbceb00
AM
46022012-01-31 Alan Mackenzie <acm@muc.de>
4603
4604 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4605 off by one error.
4606
fce3fdeb
CY
46072012-01-31 Chong Yidong <cyd@gnu.org>
4608
4609 * frame.el (set-frame-font): New arg ALL-FRAMES.
4610
4611 * menu-bar.el (menu-set-font): Use set-frame-font.
4612
4613 * faces.el (face-spec-reset-face): Don't apply unspecified
4614 attribute values to the default face.
4615
47893581
JB
46162012-01-31 Juanma Barranquero <lekktu@gmail.com>
4617
4618 * progmodes/cwarn.el (cwarn): Remove dead link.
4619 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4620 Remove * from defcustom docstrings.
4621 (turn-on-cwarn-mode): Make obsolete.
4622 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4623 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4624
e58e988a
GM
46252012-01-31 Glenn Morris <rgm@gnu.org>
4626
60dc2671 4627 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4628 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4629 Allow named functions to be used as the cdr of :variable.
e58e988a 4630
7a3f511d
GM
46312012-01-30 Glenn Morris <rgm@gnu.org>
4632
4633 * emacs-lisp/authors.el (authors-fixed-entries):
4634 Remove reference to deleted file rnewspost.el.
4635
cb882333
JB
46362012-01-29 Juanma Barranquero <lekktu@gmail.com>
4637
4638 * window.el (window-with-parameter): Remove unused variable `windows'.
4639 (window--side-check): Remove unused variable `code'.
4640 (window--resize-siblings): Remove unused variable `first'.
4641 (adjust-window-trailing-edge): Remove unused variable `failed'.
4642 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4643 Use `let', not `let*'.
4644 (balance-windows-2): Remove unused variable `found'.
4645 (window--state-put-2): Remove unused variable `splits'.
4646 (window-state-put): Remove unused variable `selected'.
4647 (same-window-p): Use `string-match-p'.
4648 (display-buffer-assq-regexp): Remove unused variable `value'.
4649 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4650 Mark argument ALIST as ignored.
4651 (pop-to-buffer): Remove unused variable `old-window'.
4652
907201af
EZ
46532012-01-29 Eli Zaretskii <eliz@gnu.org>
4654
4655 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4656 and .lzma compressed files.
4657
ea162670
CY
46582012-01-29 Chong Yidong <cyd@gnu.org>
4659
5b95ee8a
CY
4660 * frame.el (window-system-default-frame-alist): Doc fix.
4661
ea162670
CY
4662 * dynamic-setting.el (font-setting-change-default-font): Don't
4663 change the default face if SET-FONT argument is non-nil (Bug#9982).
4664
d6e6f4b1
SB
46652012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4666
4667 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4668
0f29fa41 46692012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4670
4671 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4672 breakpoints in files outside current directory (Bug#6098).
4673
db174434
CY
46742012-01-29 Chong Yidong <cyd@gnu.org>
4675
6b25e4e2
SE
4676 * progmodes/python.el: Require ansi-color at top-level.
4677
6df6ae42
JB
4678 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4679 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4680 (lisp-mode-abbrev-table): Add doc.
4681 (lisp-mode-variables): Don't set local-abbrev-table.
4682 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4683
e70ee681
RW
46842012-01-28 Roland Winkler <winkler@gnu.org>
4685
4686 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4687
ace88aa2
RW
46882012-01-28 Roland Winkler <winkler@gnu.org>
4689
4690 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4691 (bibtex-set-dialect): Use it. Either set global values of
4692 dialect-dependent variables or bind these variables buffer-locally
4693 (Bug#10254).
4694 (bibtex-mode): Call bibtex-set-dialect via
4695 hack-local-variables-hook.
eb864a71
LM
4696 (bibtex-dialect): Update docstring.
4697 Add safe-local-variable predicate.
ace88aa2
RW
4698 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4699 bibtex-set-dialect.
4700 (bibtex-mode-map): Define menu for each dialect.
4701 (bibtex-entry): Fix docstring.
4702
93376c5b
CY
47032012-01-28 Chong Yidong <cyd@gnu.org>
4704
4705 * eshell/esh-arg.el (eshell-quote-argument): New function.
4706
4707 * eshell/esh-ext.el (eshell-invoke-batch-file):
4708 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4709 first arg to eshell-parse-command (Bug#10523).
4710
4372494f
DA
47112012-01-28 Drew Adams <drew.adams@oracle.com>
4712
4713 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4714 `default-directory' is non-nil.
4715
4d4ec1f8
EZ
47162012-01-28 Eli Zaretskii <eliz@gnu.org>
4717
4718 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4719 line that displays system-configuration-options. (Bug#9924)
4720
7c188927
DA
47212012-01-28 Drew Adams <drew.adams@oracle.com>
4722
4723 * descr-text.el (describe-char): Show information about POS, in
4724 addition to information about the character at POS. Improve and
4725 update the doc string. Change "code point" to "code point in
4726 charset", to avoid confusion with the character's Unicode code
4727 point shown above that. (Bug#10129)
4728
e0da685a
EZ
47292012-01-28 Eli Zaretskii <eliz@gnu.org>
4730
4731 * descr-text.el (describe-char): Show the raw character, not only
4732 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4733 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4734 for the reasons.
4735
70550acf
PH
47362012-01-28 Phil Hagelberg <phil@hagelb.org>
4737
eb864a71
LM
4738 * emacs-lisp/package.el (package-install):
4739 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4740
0ce8e868
CY
47412012-01-28 Chong Yidong <cyd@gnu.org>
4742
cb882333
JB
4743 * emacs-lisp/package.el (package-maybe-load-descriptor):
4744 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4745 (package-maybe-load-descriptor): Use it.
4746 (package-download-transaction): Fully load required packages
4747 inside the loop, so that `require' calls work (Bug#10593).
4748 (package-install): No need to call package-initialize now.
4749
2e7f3bea
CY
47502012-01-28 Chong Yidong <cyd@gnu.org>
4751
6e9bad14
CY
4752 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4753
f823b8ca
CY
4754 * tooltip.el (tooltip-mode): Doc fix.
4755 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4756
2680c309
CY
4757 * frame.el (set-cursor-color): Doc fix (Bug#352).
4758
d7a9e63b
CY
4759 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4760 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4761
2e7f3bea
CY
4762 * cus-edit.el (custom-buffer-create-internal): Fix search button
4763 action (Bug#10542).
2ae01800 4764 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4765
fc4f7a23
EW
47662012-01-27 Eduard Wiebe <usenet@pusto.de>
4767
4768 * dired.el (dired-mark-files-regexp):
4769 Include any subdirectory components. (Bug#10445)
4770
7dd37071
ML
47712012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4772
4773 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4774 Handle [host]:port syntax. (Bug#10533)
4775
a268160b
AH
47762012-01-27 Alex Harsanyi <harsanyi@mac.com>
4777
4778 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4779
e43273ef
GM
47802012-01-26 Glenn Morris <rgm@gnu.org>
4781
4782 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4783 * term.el (term-raw-escape-map): Use Control-X-prefix.
4784 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4785
1edf595d
MR
47862012-01-25 Martin Rudalics <rudalics@gmx.at>
4787
4788 * window.el (window-state-get, window--state-get-1): Don't deal
4789 with fixed-sizeness of windows. Simplify code.
4790
fa8eafef
JC
47912012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4792
6df6ae42
JB
4793 * window.el (window--state-get-1, window--state-put-2):
4794 Don't save and restore the mark.
fa8eafef 4795
0b21c100
CY
47962012-01-25 Chong Yidong <cyd@gnu.org>
4797
4798 * custom.el (custom-variable-p): Doc fix.
4799
5ae1a6c8
GM
48002012-01-25 Glenn Morris <rgm@gnu.org>
4801
40047858
GM
4802 * dired.el (dired-goto-file): Handle some of the more common
4803 characters that `ls -b' escapes. (Bug#10596)
4804
5ddce96c
GM
4805 * progmodes/compile.el (compilation-next-error-function):
4806 Respect compilation-first-column in the "*compilation*" buffer.
4807 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4808
5ae1a6c8
GM
4809 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4810
b559f1a9
GM
48112012-01-24 Glenn Morris <rgm@gnu.org>
4812
4813 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4814
6725d21a
JD
48152012-01-24 Julien Danjou <julien@danjou.info>
4816
4817 * color.el (color-rgb-to-hsl): Fix value computing.
4818 (color-hue-to-rgb): New function.
4819 (color-hsl-to-rgb): New function.
4820 (color-clamp, color-saturate-hsl, color-saturate-name)
4821 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4822 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4823
70df4bbe
GM
48242012-01-24 Glenn Morris <rgm@gnu.org>
4825
4826 * vc/vc-rcs.el (vc-rcs-create-tag):
4827 * vc/vc-sccs.el (vc-sccs-create-tag):
4828 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4829
802a2ae2
ML
48302012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4831
4832 * eshell/esh-util.el (eshell-read-hosts-file):
4833 Skip comment lines. (Bug#10549)
4834
d7128bb1
ML
4835 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4836
d1a5c3b4
JB
48372012-01-23 Juanma Barranquero <lekktu@gmail.com>
4838
2724d9c7
JB
4839 * subr.el (display-delayed-warnings): Doc fix.
4840 (collapse-delayed-warnings): New function to collapse identical
4841 adjacent warnings.
4842 (delayed-warnings-hook): Add it.
d1a5c3b4 4843
a5509865
MA
48442012-01-22 Michael Albinus <michael.albinus@gmx.de>
4845
4846 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4847
4848 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4849 properties, when "login-as" is set.
4850
4851 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4852 (tramp-default-user-alist): Don't add "pscp".
4853 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4854 property "login-as", if set. (Bug#10530)
4855
cc6d5805
MA
48562012-01-21 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4859 "plink1" and "psftp". (Bug#10530)
4860
48612012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4862
4863 * international/mule-cmds.el (prefer-coding-system): Show a
4864 warning message if the default value of file-name-coding-system
4865 was not changed.
4866
f0960428
JC
48672012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4868
cb882333
JB
4869 * windmove.el (windmove-reference-loc):
4870 Fix windmove-reference-loc miscalculation.
f0960428 4871
dd6f2a63
JB
48722012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4873
4874 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4875 default unit.
4876
7b447e9b
GM
48772012-01-21 Glenn Morris <rgm@gnu.org>
4878
117a9ea1
GM
4879 * international/mule.el (auto-coding-alist): Add .tbz.
4880
7b447e9b
GM
4881 * files.el (local-enable-local-variables): Doc fix.
4882 (inhibit-local-variables-regexps): Rename from
4883 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4884 Doc fix. Add some extensions from auto-coding-alist.
4885 (inhibit-local-variables-suffixes):
4886 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4887 (inhibit-local-variables-p):
4888 New function, extracted from set-auto-mode-1.
4889 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4890 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4891 (hack-local-variables): Doc fix. Make the mode-only case
4892 respect enable-local-variables and friends.
4893 Respect inhibit-local-variables-regexps for file-locals, but
4894 not for directory-locals.
4895 (set-visited-file-name):
4896 Take account of inhibit-local-variables-regexps.
4897 Whether it applies may change as the file name is changed.
4898 * jka-cmpr-hook.el (jka-compr-install):
4899 * jka-compr.el (jka-compr-uninstall):
4900 Update for inhibit-first-line-modes-suffixes name change.
4901
dd6e3cdd
MR
49022012-01-20 Martin Rudalics <rudalics@gmx.at>
4903
4904 * help-macro.el (make-help-screen): Temporarily restore original
4905 binding for minor-mode-map-alist (Bug#10454).
4906
0d0deb38
JD
49072012-01-19 Julien Danjou <julien@danjou.info>
4908
4909 * color.el (color-name-to-rgb): Use the white color to find the max
4910 color component value and return correctly computed values.
4911 (color-name-to-rgb): Add missing float conversion for max value.
4912
34a02f46
MR
49132012-01-19 Martin Rudalics <rudalics@gmx.at>
4914
4915 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4916 special state value for window-persistent-parameters.
4917 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4918 (window--state-put-2): Reset all window parameters to nil before
4919 assigning values of persistent parameters.
4920
606c44c4
AM
49212012-01-18 Alan Mackenzie <acm@muc.de>
4922
4923 Eliminate sluggishness and hangs in fontification of "semicolon
4924 deserts".
4925
cb882333
JB
4926 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4927 Change value 10000 -> 3000.
606c44c4
AM
4928 (c-state-safe-place): Reformulate so it doesn't stack up an
4929 infinite number of wrong entries in c-state-nonlit-pos-cache.
4930 (c-determine-limit-get-base, c-determine-limit): New functions to
4931 determine backward search limits disregarding literals.
4932 (c-find-decl-spots): Amend commenting.
4933 (c-cheap-inside-bracelist-p): New function which detects "={".
4934
4935 * progmodes/cc-fonts.el
4936 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4937 backward search.
4938 (c-font-lock-declarations): Fix an occurrence of point being
4939 undefined. Check additionally for point being in a bracelist or
4940 near a macro invocation without a semicolon so as to avoid a
4941 fruitless time consuming search for a declarator. Give a more
4942 precise search limit for declarators using the new
4943 c-determine-limit.
4944
f3860cea
GM
49452012-01-18 Glenn Morris <rgm@gnu.org>
4946
4947 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4948 (set-auto-mode): Doc fixes.
4949
1db03b16
GM
49502012-01-17 Glenn Morris <rgm@gnu.org>
4951
0e6038be
GM
4952 * isearch.el (search-nonincremental-instead): Fix doc typo.
4953
1db03b16
GM
4954 * dired.el (dired-insert-directory): Handle newlines in directory name.
4955 (dired-build-subdir-alist): Unescape newlines in directory name.
4956
4cb0aa75
MA
49572012-01-17 Michael Albinus <michael.albinus@gmx.de>
4958
4959 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4960 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4961 (tramp-action-terminal): Use it. (Bug#10530)
4962
1d00653d
SM
49632012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4966
6a6ee00d
MR
49672012-01-16 Martin Rudalics <rudalics@gmx.at>
4968
4969 * window.el (window-state-ignored-parameters): Remove variable.
4970 (window--state-get-1): Rename argument MARKERS to IGNORE.
4971 Handle persistent window parameters. Make copy of clone-of
4972 parameter only if requested. (Bug#10348)
4973 (window--state-put-2): Install a window parameter only if it has
4974 a non-nil value or an existing parameter shall be overwritten.
4975
97912def
MA
49762012-01-15 Michael Albinus <michael.albinus@gmx.de>
4977
4978 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4979
688070a5
EZ
49802012-01-14 Eli Zaretskii <eliz@gnu.org>
4981
4982 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4983 don't pass the (nil) value of `upnode' to string-match.
4984
301afadc
CY
49852012-01-14 Chong Yidong <cyd@gnu.org>
4986
4987 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4988 Fix values recognized by the cursorBlink resource.
301afadc 4989
9e5788aa
PE
49902012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4991
4992 * epg.el (epg--make-temp-file): Avoid permission race condition
4993 when running on old Emacs versions (bug#10403).
4994
3cdb7f5a
GM
49952012-01-14 Glenn Morris <rgm@gnu.org>
4996
4997 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4998
8c82b1b4
AM
49992012-01-13 Alan Mackenzie <acm@muc.de>
5000
5001 Fix filling for when filladapt mode is enabled.
5002
5003 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5004 c-mask-paragraph, pass in `fill-paragraph' rather than
5005 `fill-region-as-paragraph'. (This is a reversion of a previous
5006 change.)
eb864a71
LM
5007 * progmodes/cc-mode.el (c-basic-common-init):
5008 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5009
e517eda4
GM
50102012-01-13 Glenn Morris <rgm@gnu.org>
5011
1498536e
GM
5012 * dired.el (dired-switches-escape-p): New function.
5013 (dired-insert-directory): Use dired-switches-escape-p.
5014 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5015
e517eda4
GM
5016 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5017
328f984d
GM
50182012-01-12 Glenn Morris <rgm@gnu.org>
5019
5020 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5021 changes in adaptive-fill-regexp. (Bug#10276)
5022
2cc769a8
AM
50232012-01-11 Alan Mackenzie <acm@muc.de>
5024
5025 Fix Emacs bug #10463 - put `widen's around the critical spots.
5026
1d00653d 5027 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5028 widen around each invocation of c-state-pp-to-literal. Remove an
5029 unused let variable.
5030
e52c37fa
GM
50312012-01-11 Glenn Morris <rgm@gnu.org>
5032
5033 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5034 Doc fix.
e52c37fa 5035
96f8741e
CY
50362012-01-10 Chong Yidong <cyd@gnu.org>
5037
1d00653d
SM
5038 * net/network-stream.el (network-stream-open-starttls):
5039 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5040 response to the capability command.
5041
b09a806e
GM
50422012-01-10 Glenn Morris <rgm@gnu.org>
5043
5044 * mail/unrmail.el (unrmail): Tweak previous change.
5045
7655cb66
CY
50462012-01-09 Chong Yidong <cyd@gnu.org>
5047
5048 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5049
9d5a8f0b
AM
50502012-01-08 Alan Mackenzie <acm@muc.de>
5051
5052 Optimise font locking in long enum definitions.
5053
5054 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5055 arm to a cond form to handle enums.
5056 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5057 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5058
9a0115ab 50592012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5060
5061 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5062 (Bug#10401)
6bb72cbd 5063
f186bb95
LMI
50642012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5065
29232a68
LMI
5066 * faces.el (set-face-attribute): Clarify the meaning of the nil
5067 frame (bug#10294).
5068
4e5d086d
LMI
5069 * subr.el (with-selected-frame): Mention that the selected frame
5070 is restored (bug#9980).
5071
8e66aebe
LMI
5072 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5073 (bug#9759).
5074
cd394be1 5075 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5076 (password-read): Don't autoload unused function.
5077
adf4e762
JB
50782012-01-07 Juanma Barranquero <lekktu@gmail.com>
5079
5080 * progmodes/which-func.el (which-func-mode): Turn into a
5081 non-interactive function and mark as obsolete (bug#10428).
5082
89bd9ccd
CY
50832012-01-06 Chong Yidong <cyd@gnu.org>
5084
5085 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5086 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5087 functions, along with 1 and -1.
5088
4afee9d5
EZ
50892012-01-06 Eli Zaretskii <eliz@gnu.org>
5090
5091 * time.el (display-time-load-average)
5092 (display-time-default-load-average): Doc fixes. See the thread
5093 starting at
5094 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5095 for the details.
5096
536aea70
GM
50972012-01-06 Glenn Morris <rgm@gnu.org>
5098
665ae865
GM
5099 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5100 has no messages. (Bug#10377)
5101
c869783d
GM
5102 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5103 than Info-edit. (Bug#10385)
5104
2bb4227e
GM
5105 * time.el (display-time-load-average, display-time-next-load-average):
5106 Doc fixes.
5107
7d5944b9
GM
5108 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5109 local setting of buffer-read-only to the input buffer. (Bug#10419)
5110
536aea70
GM
5111 * calendar/calendar.el (calendar-mode):
5112 Locally set scroll-margin to 0. (Bug#10379)
5113
7dccca16
UM
51142012-01-06 Ulrich Mueller <ulm@gentoo.org>
5115
5116 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5117
afbb7930
GM
51182012-01-05 Glenn Morris <rgm@gnu.org>
5119
5120 * eshell/em-unix.el (diff-no-select): Autoload it.
5121 (eshell/diff): Use diff-no-select. (Bug#10420)
5122
04482335
CY
51232012-01-05 Chong Yidong <cyd@gnu.org>
5124
7baca3bc
CY
5125 * shell.el (shell-dynamic-complete-functions): Revert last change.
5126 (shell-command-completion-function): New function.
5127 (shell-completion-vars): Use it to implement
5128 shell-completion-execonly (Bug#10417).
5129
04482335
CY
5130 * custom.el (enable-theme): Don't set custom-safe-themes.
5131
1d00653d
SM
5132 * cus-theme.el (custom-theme-merge-theme):
5133 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5134
bb5aa5d6
MM
51352012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5136
5137 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5138 first prompt in `sql-interacive-mode'.
5139 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5140 keywords.
6df6ae42 5141 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5142 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5143 context of original buffer. Invoke `sql-login-hook'.
5144
a7183d7c
EZ
51452012-01-04 Eli Zaretskii <eliz@gnu.org>
5146
5147 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5148 letters in cite-prefix.
5149
a1eacd1e
LMI
51502012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5151
5152 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5153
787cdb34
CY
51542012-01-03 Chong Yidong <cyd@gnu.org>
5155
1d00653d
SM
5156 * shell.el (shell-dynamic-complete-functions):
5157 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5158 comint-filename-completion first (Bug#10417).
5159
30710442
RS
51602012-01-02 Richard Stallman <rms@gnu.org>
5161
5162 * battery.el (battery-status-function):
5163 Detect when to use battery-yeeloong-sysfs.
5164 (battery-echo-area-format): Add string for Yeeloong.
5165 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5166 (battery-yeeloong-sysfs): New function.
5167
f75bfc33
CY
51682012-01-02 Chong Yidong <cyd@gnu.org>
5169
5170 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5171 (dirtrack): Merge code for handling relative filenames in prompt
5172 from shell-dir-cookie-watcher.
5173 (dirtrack-debug-message): New arg to avoid excess format calls.
5174
5175 * shell.el (shell-dir-cookie-re): Variable deleted.
5176 (shell-dir-cookie-watcher): Function deleted.
5177 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5178 with dirtrack-mode.
5179
651e947e
EZ
51802012-01-01 Eli Zaretskii <eliz@gnu.org>
5181
1d00653d
SM
5182 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5183 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5184 libgnutls-26.dll.
5185
94d4c7dc
AS
51862011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5187
5188 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5189
8d43f3cd
EZ
51902011-12-31 Eli Zaretskii <eliz@gnu.org>
5191
5192 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5193 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5194
98c8795a
MA
51952011-12-29 Michael Albinus <michael.albinus@gmx.de>
5196
5197 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5198 also for alternative shells.
5199 (tramp-open-connection-setup-interactive-shell): Check, whether
5200 the shell is a busybox.
5201 (tramp-send-command): Don't suppress multiple prompts for
5202 busyboxes, it hurts.
5203
51281b32
CY
52042011-12-28 Chong Yidong <cyd@gnu.org>
5205
5206 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5207 (gdb-get-source-file): Move mode line update to
5208 gdb-get-source-file (Bug#10087).
5209
2170cb53
CY
52102011-12-25 Chong Yidong <cyd@gnu.org>
5211
5212 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5213 gud-gdb-marker-filter without taking it as an argument.
5214 (gud-gdb-run-command-fetch-lines): Caller changed.
5215 (gud-gdb-completion-function): New variable.
5216 (gud-gdb-completion-at-point): Use it.
5217 (gud-gdb-completions-1): Split from gud-gdb-completions.
5218
5219 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5220 function as separate arguments.
5221 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5222 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5223 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5224 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5225 (gdb-stopped, def-gdb-auto-update-trigger)
5226 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5227 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5228 Callers changed.
2170cb53
CY
5229 (gud-gdbmi-completions): New function.
5230 (gdb): Use it for generating the completion table.
5231
be8b11bb
AM
52322011-12-24 Alan Mackenzie <acm@muc.de>
5233
5234 Introduce a mechanism to widen the region used in context font
1d00653d 5235 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5236
1d00653d
SM
5237 * progmodes/cc-langs.el (c-before-font-lock-functions):
5238 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5239 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5240 functions to be run just before context (etc.) font locking.
5241
5242 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5243 New, functionality extracted from
be8b11bb 5244 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5245 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5246 (c-after-change): Set c-in-after-change-fontification.
5247 (c-set-fl-decl-start): Rejig its interface, so it can be called
5248 from both after-change and context fontifying.
b81d40f0
JB
5249 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5250 New functions.
5251 (c-standard-font-lock-fontify-region-function): New variable.
5252 (c-font-lock-fontify-region): New function.
be8b11bb 5253
341cf6ac
JL
52542011-12-24 Juri Linkov <juri@jurta.org>
5255
5256 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5257 (Bug#10348)
5258
bffcee0a
MA
52592011-12-23 Michael Albinus <michael.albinus@gmx.de>
5260
5261 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5262 existence of source file. (Bug#10325)
5263
cb5e207c
AM
52642011-12-23 Alan Mackenzie <acm@muc.de>
5265
5266 Fix unstable fontification inside templates.
5267
b81d40f0
JB
5268 * progmodes/cc-langs.el (c-before-font-lock-functions):
5269 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5270 additionally has c-set-fl-decl-start. The other languages (apart
5271 from AWK) have that as a single entry.
5272
b81d40f0
JB
5273 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5274 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5275 c-set-fl-decl-start.
5276
b81d40f0
JB
5277 * progmodes/cc-mode.el (c-common-init, c-after-change):
5278 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5279 (c-set-fl-decl-start): New function, extracted from
5280 c-font-lock-enclosing-decls and enhanced.
5281
60ff536c
JB
52822011-12-23 Juanma Barranquero <lekktu@gmail.com>
5283
5284 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5285
1c4757d6
JL
52862011-12-22 Juri Linkov <juri@jurta.org>
5287
5288 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5289
d031f2c7
CY
52902011-12-22 Chong Yidong <cyd@gnu.org>
5291
5292 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5293
bace743a
DA
52942011-12-21 Drew Adams <drew.adams@oracle.com>
5295
5296 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5297
728a1f2b
JC
52982011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5299
5300 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5301
0d373f73
TZ
53022011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5303
fec0aaa4
TZ
5304 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5305 highlighting and support. Fix up comments for capitalization.
5306 (cfengine-mode-debug): New var.
5307 (cfengine3-mode): Change the modeline indicator to "CFE3".
5308 (cfengine3-font-lock-keywords): Improve defun highlighting.
5309 (cfengine2-actions): Rename from `cfengine-actions'.
5310 (cfengine2-font-lock-keywords): Rename from
5311 `cfengine-font-lock-keywords'.
5312 (cfengine2-imenu-expression): Rename from
5313 `cfengine-imenu-expression'.
5314 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5315 (cfengine2-beginning-of-defun): Rename from
5316 `cfengine-beginning-of-defun'.
5317 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5318 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5319 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5320 modeline indicator to "CFE2".
5321 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5322 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5323
bc86f573
CY
53242011-12-21 Chong Yidong <cyd@gnu.org>
5325
5326 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5327 filename argument.
5328
d45ba96b
MR
53292011-12-20 Martin Rudalics <rudalics@gmx.at>
5330
5331 * window.el (window-normalize-buffer-to-display): Remove.
5332 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5333
a6198c90
CY
53342011-12-19 Chong Yidong <cyd@gnu.org>
5335
5336 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5337 Don't signal an error in a predicate function; return non-nil.
5338 (vc-dir-mark-file): Move the error here.
5339 (vc-dir-mark-unmark): If acting on the region, keep going if one
5340 of the entries cannot be marked/unmarked.
5341 (vc-dir-mark-all-files): If current entry is a directory, mark
5342 only child files, as documented.
5343
34c5fb55
VB
53442011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5345
5346 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5347 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5348 addition.
5349
c803b2b7
JD
53502011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5351
5352 * term/ns-win.el (ns-get-selection-internal)
5353 (ns-store-selection-internal): Declare.
1154d12e
JB
5354 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5355 Declare as obsolete.
5356 (ns-get-pasteboard, ns-paste-secondary):
5357 Use ns-get-selection-internal.
5358 (ns-set-pasteboard, ns-copy-including-secondary):
5359 Use ns-store-selection-internal.
c803b2b7 5360
9cff91f8 53612011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5362
5363 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5364 (vc-deduce-fileset): Doc fix.
99a289d9 5365
f16c898a
AS
53662011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5367
5368 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5369
763237c4
SS
53702011-12-13 Sam Steingold <sds@gnu.org>
5371
5372 * man.el (Man-getpage-in-background): When running under a
5373 window-system, ignore $MANWIDTH and $COLUMNS.
5374
5fc1c122
KH
53752011-12-15 Kenichi Handa <handa@m17n.org>
5376
5377 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5378 (setup-ethiopic-environment-internal): Comment out key-binding for
5379 ethio-toggle-punctuation.
5380
13d49cbb
AM
53812011-12-13 Alan Mackenzie <acm@muc.de>
5382
898169a2
AM
5383 Add the switch statement to AWK Mode.
5384
7a71b18d 5385 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5386 "default" to the keywords regexp.
5387
7a71b18d 5388 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5389 expression as the rest.
1d00653d
SM
5390 (c-nonlabel-token-key): Allow string literals for AWK.
5391 Refactor for the other modes.
898169a2 5392
13d49cbb 5393 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5394 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5395 routines. Limit backward searching in c-font-lock-enclosing.decl.
5396
5397 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5398 pp-state and literal type in addition to the limits.
1d00653d 5399 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5400 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5401 (c-slow-in-literal, c-fast-in-literal): Remove.
5402 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5403
5404 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5405 being in a literal. Add a limit for backward searching.
5406
5407 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5408 c-slow-in-literal.
5409
15e0efc7
SM
54102011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5413
454592a6
MR
54142011-12-13 Martin Rudalics <rudalics@gmx.at>
5415
5416 * window.el (delete-other-windows): Use correct frame in call to
5417 window-with-parameter.
5418
87393f26
DP
54192011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5420
5421 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5422 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5423 (makefile-gmake-statements, makefile-makepp-statements):
5424 Use it and add new makepp keywords.
5425 (makefile-makepp-font-lock-keywords): Add new patterns.
5426 (makefile-match-function-end): Match new [...] and [[...]].
5427
11636b22
JB
54282011-12-11 Juanma Barranquero <lekktu@gmail.com>
5429
5430 * ses.el (ses-call-printer-return, ses-cell-property-get)
5431 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5432 (ses-create-cell-variable, ses-reset-header-string)
5433 (ses-cell-set-formula, ses-repair-cell-reference-all)
5434 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5435 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5436 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5437 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5438 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5439 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5440 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5441 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5442 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5443 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5444 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5445 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5446
cf018193
VB
54472011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5448
5449 * ses.el: The overall change is to add cell renaming, that is
5450 setting fancy names for cell symbols other than name matching
5451 "\\`[A-Z]+[0-9]+\\'" regexp .
5452 (ses-create-cell-variable): New defun.
5453 (ses-relocate-formula): Relocate formulas only for cells the
5454 symbols of which are not renamed, i.e. symbols whose names do not
5455 match regexp "\\`[A-Z]+[0-9]+\\'".
5456 (ses-relocate-all): Relocate values only for cells the symbols of
5457 which are not renamed.
5458 (ses-load): Create cells variables as the (ses-cell ...) are read,
5459 in order to check row col consistency with cell symbol name only
5460 for cells that are not renamed.
5461 (ses-replace-name-in-formula): New defun.
5462 (ses-rename-cell): New defun.
5463
ee957461
CY
54642011-12-11 Chong Yidong <cyd@gnu.org>
5465
5466 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5467 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5468
9a9e9ef0
MR
54692011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5470
5471 * window.el (other-window): Fix docstring.
5472
92a8eba5
EZ
54732011-12-10 Eli Zaretskii <eliz@gnu.org>
5474
5475 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5476 `from' or `to' address before taking its substring.
5477 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5478 encoded name is chopped in the middle of the encoded string, and
5479 thus displayed encoded.
5480
e152e577
JB
54812011-12-10 Juanma Barranquero <lekktu@gmail.com>
5482
5483 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5484
e5d84bfe
EZ
54852011-12-10 Eli Zaretskii <eliz@gnu.org>
5486
5487 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5488 to use texinfo-update-node and commands that call it if the
5489 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5490 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5491 (texinfo-all-menus-update, texinfo-master-menu)
5492 (texinfo-update-node, texinfo-every-node-update)
5493 (texinfo-multiple-files-update): Doc fix. Warn against updating
5494 all the @node lines.
5495 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5496 argument is numeric. Explain better in the doc string what the
5497 function really does.
5498 (texinfo-insert-master-menu-list): Improve the error message
5499 displayed if there's no menu in the Top node.
5500 (Bug#2975) See also this thread:
e5d84bfe
EZ
5501 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5502
1d84e9bb
MG
55032011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5504
5505 * speedbar.el (speedbar-supported-extension-expressions):
5506 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5507
382c953b
JB
55082011-12-09 Juanma Barranquero <lekktu@gmail.com>
5509
5510 * printing.el (pr-mode-alist):
5511 * simple.el (filter-buffer-substring-functions)
5512 (completion-list-insert-choice-function):
5513 * window.el (window-with-parameter, window-atom-root)
5514 (window-sides-slots, window-size-fixed, window-min-delta)
5515 (window-max-delta, window--resize-mini-window)
5516 (window--resize-child-windows-normal, window-tree)
5517 (delete-other-windows, quit-window, split-window)
5518 (display-buffer-record-window, special-display-buffer-names)
5519 (special-display-regexps, special-display-popup-frame)
5520 (same-window-p, split-window-sensibly)
5521 (display-buffer-overriding-action, display-buffer-alist)
5522 (display-buffer-base-action, display-buffer, switch-to-buffer)
5523 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5524 (fit-window-to-buffer, recenter-positions)
5525 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5526 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5527 and remove unneeded backslashes in docstrings.
5528
39c9faef
SM
55292011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5530
98449af8
SM
5531 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5532
39c9faef
SM
5533 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5534 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5535 end in ".mk".
5536 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5537 when reading the makefile (bug#10116).
5538
86ed9fdc
SM
55392011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5542 (bug#10116).
5543
5580f89d
GM
55442011-12-06 Glenn Morris <rgm@gnu.org>
5545
5546 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5547
28d3917c
CY
55482011-12-06 Chong Yidong <cyd@gnu.org>
5549
5550 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5551
a98edce9
JB
55522011-12-06 Juanma Barranquero <lekktu@gmail.com>
5553
5554 * textmodes/table.el (table-shorten-cell): Fix typo.
5555
e65adfac
CG
55562011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5557
5558 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5559
71cc0b74
EZ
55602011-12-05 Eli Zaretskii <eliz@gnu.org>
5561
5562 * descr-text.el (describe-char): Fix display of strong
5563 right-to-left characters and directional embeddings and overrides.
5564
5565 * simple.el (what-cursor-position): Fix display of codepoints of
5566 strong right-to-left characters.
5567
315bc30d
CY
55682011-12-05 Chong Yidong <cyd@gnu.org>
5569
5570 * faces.el (read-color): Doc fix.
5571
58a70b94
GM
55722011-12-05 Glenn Morris <rgm@gnu.org>
5573
5574 * align.el (align--set-marker): Add doc-string.
5575 Don't try to move something that is not a marker. (Bug#10216)
5576
5158face
GM
55772011-12-04 Glenn Morris <rgm@gnu.org>
5578
5579 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5580 overly zealous deletion of trailing whitespace.
5581
520fca41
JB
55822011-12-04 Juanma Barranquero <lekktu@gmail.com>
5583
5584 * server.el (server-delete-client): On Windows, do not try to delete
5585 the only terminal.
5586 (server-process-filter): On Windows, treat requests for a tty frame as
5587 if they were for a GUI frame if the running server is in GUI mode.
5588
5e605a2e
GM
55892011-12-03 Glenn Morris <rgm@gnu.org>
5590
5591 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5592
5c3fe83f
SM
55932011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5594
6f5e57e7
SM
5595 * electric.el: Streamline electric-indent's hook.
5596 (electric-indent-chars): Revert to simple list.
5597 (electric-indent-functions): New var.
5598 (electric-indent-post-self-insert-function): Use it.
5599
5c3fe83f
SM
5600 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5601 there's no inferior buffer (bug#10196).
5602 (prolog-consult-compile): Don't use toggle-read-only.
5603
6bdac736
MA
56042011-12-02 Michael Albinus <michael.albinus@gmx.de>
5605
5606 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5607 interrupt. (Bug#10187)
5608
6131ba7f
SM
56092011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5610
99c79fee
SM
5611 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5612 (bug#9160).
5613
6131ba7f
SM
5614 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5615 (bug#10191).
5616
cb0a02ea
JL
56172011-12-02 Juri Linkov <juri@jurta.org>
5618
5619 * info.el (Info-search): Display "end of manual" when Isearch
5620 reaches the end of single-file Info manual. (Bug#9918)
5621
66e0570c
EZ
56222011-12-02 Eli Zaretskii <eliz@gnu.org>
5623
5624 * isearch.el (isearch-message-prefix): Run the input method part
5625 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5626
02b16839
JL
56272011-12-02 Juri Linkov <juri@jurta.org>
5628
5629 * isearch.el (isearch-occur): Use `word-search-regexp' for
5630 `isearch-word'.
5631 (isearch-search-and-update): Add condition for `isearch-word' and
5632 call `word-search-regexp'. (Bug#10145)
5633
0b950688
GM
56342011-12-01 Glenn Morris <rgm@gnu.org>
5635
5636 * eshell/em-hist.el (eshell-hist-initialize):
5637 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5638 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5639
9505c3c7
SM
56402011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5643
1bbe96b2 56442011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5645
a1beca85
SM
5646 * progmodes/verilog-mode.el (verilog-pretty-expr):
5647 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5648 verilog, such as += *= and the like.
5649 (verilog-assignment-operator-re): Regular expression to find the
5650 assigment operator in a verilog assignment.
5651 (verilog-assignment-operation-re): Regular expression to find an
5652 assignment statement for pretty-expr.
5653 (verilog-in-attribute-p): Query returns true if point is in an
5654 attribute context; used to skip these for expression line up from
5655 pretty-expr.
5656 (verilog-in-parameter-p): Query returns true if point is in an
5657 parameter definition context; used to skip these for expression
5658 line up from pretty-expr.
5659 (verilog-in-parenthesis-p): Query returns true if point is in a
5660 parenthetical expression, specifically ( ) but not [ ] or { };
5661 used by pretty-expr.
5662 (verilog-just-one-space): If there is no space, don't add one.
5663 (verilog-get-lineup-indent-2): Specifically skip just attribute
5664 contexts for expression lineup, rather than skipping all
5665 parenthetical expressions.
5666 (verilog-calculate-indent): Fix comment, and fix indent.
5667 (verilog-do-indent): Indent declarations in lists (suggested by
5668 Joachim Lechner).
5669 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5670 skeleton items.
5671 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5672 by Alain Mellan).
5673
1bbe96b2 56742011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5675
5676 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5677 parameters with embedded comments. Reported by Ray Stevens.
5678 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5679 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5680 Reported by Tim Holt.
5681 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5682 instantiated by upper module causing wrong expansion until AUTOed a
5683 second time. Reported by K C Buckenmaier.
5684 (verilog-diff-auto): Fix showing .* as a difference when
5685 `verilog-auto-star-save' off. Reported by Dan Dever.
5686 (verilog-auto-reset, verilog-read-always-signals)
5687 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5688 temporary signals in reset list if
5689 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5690 style to each signal's assignment type, bug381.
5691 Reported by Thomas Esposito.
6288f0ca
WS
5692 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5693 (verilog-uvm-statement-re): Support UVM indentation and
5694 highlighting, with old OVM keywords only.
a1beca85 5695 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5696 Support AUTOTIEOFF creating non-wire data types.
5697 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5698 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5699 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5700 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5701 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5702 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5703 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5704 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5705 non-numeric vector width. Reported by Alex Reed.
5706 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5707 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5708 (verilog-auto-delete-trailing-whitespace):
5709 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5710 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5711 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5712 Fix verilog-scan-cache corruption when running user AUTO expansion
5713 hooks that call indentation routines.
5714 (verilog-simplify-range-expression): Fix typo ignoring lower case
5715 identifiers.
5716 (verilog-delete-auto): Fix delete-autos to also remove user created
5717 automatics, as long as they start with AUTO.
5718 (verilog-batch-diff-auto, verilog-diff-auto)
5719 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5720 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5721 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5722 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5723 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5724 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5725 is disabled and its cache will get corrupt, causing AUTOS not to
5726 expand. Instead use only -quick functions.
5727 (verilog-scan-region): Fix scanning over escaped quotes.
5728 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5729 (verilog-re-search-backward-quick)
5730 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5731 related functions now ignore strings, to fix misparsing of strings
5732 with magic comments embedded in them.
a1beca85
SM
5733 (verilog-read-auto-template):
5734 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5735 Reported by Brad Dobbie.
5736 (verilog-read-auto-template):
5737 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5738 Reported by Brad Dobbie.
6288f0ca
WS
5739 (verilog-auto-inst, verilog-auto-inst-param)
5740 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5741 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5742 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5743 debugging templates without merge conflicts, bug357.
5744 Reported by Brad Dobbie.
5745 (verilog-read-auto-template):
5746 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5747 Reported by Brad Dobbie.
5748 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5749 abbrevs so user won't be asked to save.
5750 (verilog-read-auto-lisp-present): Fix to start at beginning of
5751 buffer in case called outside of verilog-auto.
5752 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5753 to "X-2". Reported by Matthew Myers.
5754 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5755 all inputs from module templates. Reported by Leith Johnson.
5756 (verilog-module-inside-filename-p): Fix locating programs as with
5757 modules.
5758 (verilog-auto-inst-port): Fix vl-width expressions when using
5759 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5760 (verilog-decls-get-regs, verilog-decls-get-signals,
5761 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5762 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5763 verilog-read-decls): Combine reg and wire structures into one var
5764 structure to represent SystemVerilog concepts.
5765 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5766 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5767 (verilog-auto-wire-type, verilog-insert-definition):
5768 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5769 SystemVerilog "logic" keyword instead of "wire"/"reg".
5770 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5771 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5772 ifdef or generate if so there's not a driver conflict).
5773 Reported by Matthew Myers.
5774 (verilog-auto-declare-nettype, verilog-insert-definition):
5775 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5776 `default_nettype none. Reported by Julian Gorfajn.
5777 (verilog-read-always-signals-recurse, verilog-read-decls)
5778 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5779 malformed end statement, bug325. Reported by Joshua Wise and
5780 Andrew Drake.
5781 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5782 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5783 when expanding .* in interfaces, bug320.
5784 Reported by Pierre-David Pfister.
6288f0ca 5785 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5786 name and open parenthesis, bug317.
5787 Reported by Pierre-David Pfister.
6288f0ca
WS
5788 (verilog-simplify-range-expression): Fix simplification of
5789 multiplications inside AUTOWIRE connections, bug303.
5790 (verilog-auto-inst-port): Support parameter expansion in
5791 multidimensional arrays.
5792 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5793 after "assert property". Reported by Julian Gorfajn.
5794 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5795 with multiplication, bug303.
5796 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5797 Reported by Jan Frode Lonnum.
5798
1bbe96b2
GM
57992011-11-30 Juanma Barranquero <lekktu@gmail.com>
5800
5801 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5802 (hfy-shell-file-name, hfy-shell):
5803 * international/fontset.el (x-decompose-font-name): Fix typos.
5804
58052011-11-29 Ken Brown <kbrown@cornell.edu>
5806
5807 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5808 (gdb-version): Remove defvar.
5809 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5810 (gdb-gud-context-command, gdb-non-stop-handler)
5811 (gdb-current-context-command, gdb-stopped): Use it.
5812 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5813 (gdb-non-stop-handler): Don't enable pretty-printing here.
5814 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5815 non-stop mode. Use the following.
5816 (gdb-check-target-async): New defun.
5817 (gud-watch, gdb-stopped): Fix whitespace.
5818 (gdb-get-source-file): Don't try to display the source file if
5819 `gdb-main-file' is nil.
5820
58212011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * align.el: Try to generate fewer markers (bug#10047).
5824 (align--set-marker): New macro.
5825 (align-region): Use it.
5826
c935221f
SM
58272011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5830
e70b5064
CY
58312011-11-29 Chong Yidong <cyd@gnu.org>
5832
5833 * indent.el (indent-for-tab-command, indent-according-to-mode):
5834 Doc fix.
5835 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5836
f3af92b7
MA
58372011-11-29 Michael Albinus <michael.albinus@gmx.de>
5838
5839 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5840 aware of remote file names. (Bug#10124)
5841
ed472be9
CY
58422011-11-29 Chong Yidong <cyd@gnu.org>
5843
5844 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5845
24510c22
SM
58462011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * files.el (find-file): Don't use force-same-window (bug#10144).
5849 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5850 use pop-to-buffer if the selected window can't be used.
5851 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5852
c60c3703
EZ
58532011-11-28 Eli Zaretskii <eliz@gnu.org>
5854
5855 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5856 special-mode-map.
5857
e95def75
CY
58582011-11-28 Chong Yidong <cyd@gnu.org>
5859
5860 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5861
c3f1c606
NR
58622011-11-27 Nick Roberts <nickrob@snap.net.nz>
5863
5864 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5865 gdb-get-source-file-list on gdb-create-source-file-list.
5866
00db469c
EZ
58672011-11-26 Eli Zaretskii <eliz@gnu.org>
5868
5869 * whitespace.el (whitespace-newline): Use a different foreground
5870 color for 16-color light-background displays.
5871
4ad3bc2a
CY
58722011-11-24 Chong Yidong <cyd@gnu.org>
5873
5874 * window.el (display-buffer--special-action): Doc fix.
5875
e9fce1ac
JB
58762011-11-25 Juanma Barranquero <lekktu@gmail.com>
5877
5878 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5879 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5880 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5881 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5882 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5883 (avl-tree-stack-first):
5884 * emacs-lisp/cconv.el (cconv--analyse-use):
5885 * net/gnutls.el (gnutls-negotiate): Fix typos.
5886
cb825e5d
GM
58872011-11-24 Glenn Morris <rgm@gnu.org>
5888
3adbe224
GM
5889 * lpr.el (lpr-windows-system, lpr-lp-system):
5890 * mail/binhex.el (binhex-begin-line):
5891 * progmodes/grep.el (grep-history, grep-find-history):
5892 * textmodes/flyspell.el:
5893 * vc/pcvs-defs.el (cvs-global-menu):
5894 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5895 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5896 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5897
321decc8
GM
5898 * net/tls.el: Fix case of "GnuTLS".
5899
420b63ad
GM
5900 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5901
cb825e5d
GM
5902 * version.el (emacs-build-system): Give it a doc-string.
5903
a0649f08
JL
59042011-11-24 Juri Linkov <juri@jurta.org>
5905
5906 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5907
c0bc0fd4
GM
59082011-11-24 Glenn Morris <rgm@gnu.org>
5909
5910 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5911 if called on a non-mime message just toggle the headers. (Bug#8006)
5912
20db1522
JB
59132011-11-24 Juanma Barranquero <lekktu@gmail.com>
5914
5915 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5916 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5917 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5918 (allout-rebullet-heading, allout-open-sibtopic)
5919 (allout-toggle-current-subtree-encryption)
5920 (allout-toggle-subtree-encryption, allout-encrypt-string)
5921 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5922 (allout-distinctive-bullets-string, allout-auto-activation):
5923 * window.el (window-normalize-buffer-to-display):
5924 * progmodes/verilog-mode.el (verilog-batch-indent):
5925 * textmodes/bibtex.el (bibtex-field-braces-opt)
5926 (bibtex-field-strings-opt):
5927 * vc/cvs-status.el (cvs-tree-merge):
5928 Fix typos.
5929
7262a87c
MA
59302011-11-23 Michael Albinus <michael.albinus@gmx.de>
5931
5932 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5933 `non-essential' to t, in order to avoid remote connections.
5934
283430a1
EZ
59352011-11-23 Eli Zaretskii <eliz@gnu.org>
5936
a1beca85
SM
5937 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5938 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5939 case-insensitively.
5940
d2992a38
ML
59412011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5942
5943 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5944
50419064
GM
59452011-11-23 Glenn Morris <rgm@gnu.org>
5946
da94eca1
GM
5947 * paths.el (rmail-file-name): Reformat the doc-string so that it
5948 is picked up.
5949
9aac4de2
GM
5950 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5951 (rmail-auto-file): Ignore case in the "special" field names,
5952 as mail-fetch-field does for all others.
5953
8038d2d2
GM
5954 * mail/rmail.el (rmail-forward):
5955 * mail/rmailkwd.el (rmail-set-label):
5956 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5957 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5958
f3fe222a
GM
5959 * mail/rmail.el (rmail-current-message): Doc fix.
5960
50419064
GM
5961 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5962
28109f49
SM
59632011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5966
394c65f1
GM
59672011-11-22 Glenn Morris <rgm@gnu.org>
5968
5969 * mail/rmailmm.el (test-rmail-mime-handler)
5970 (test-rmail-mime-bulk-handler)
5971 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5972
f2a0aa3a
JL
59732011-11-21 Juri Linkov <juri@jurta.org>
5974
1154d12e
JB
5975 * calc/calc.el (calc-read-key-sequence):
5976 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5977
9c34a344
LMI
59782011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5979
5980 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5981 Tell the caller that the next line needs recomputation, even
5982 though it doesn't start a sexp (bug#10094).
5983
f04a3be9
SM
59842011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5987
7978747f
SM
59882011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5989
f04a3be9
SM
5990 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5991 Use force-same-window.
7978747f 5992
fe7a3057
JB
59932011-11-20 Juanma Barranquero <lekktu@gmail.com>
5994
5995 * descr-text.el (describe-char-unicode-data):
5996 * json.el (json-string-escape):
5997 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5998 (Footnote-unicode, Footnote-style-p):
5999 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6000
24901d61
CY
60012011-11-20 Chong Yidong <cyd@gnu.org>
6002
6003 * window.el (replace-buffer-in-windows): Restore interactive spec.
6004
bac7ff22
SM
60052011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6006
24f3d7b9
SM
6007 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6008
bac7ff22
SM
6009 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6010 (byte-compile-global-not-obsolete-vars): New var.
6011 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6012 Use it.
6013 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6014
cd1181db
JB
60152011-11-20 Juanma Barranquero <lekktu@gmail.com>
6016
6017 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6018 * progmodes/pascal.el (electric-pascal-equal):
6019 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6020 * xml.el (xml-substitute-special): Fix typos.
6021
7fb18e9e
GM
60222011-11-20 Glenn Morris <rgm@gnu.org>
6023
6024 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6025 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6026 Doc fixes.
6027 (rmail-decode-mime-charset): Mark as obsolete.
6028
6029 * mail/rmailsum.el (rmail-message-regexp-p-1):
6030 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6031 Before using mime functions, check they are set. (Bug#10077)
6032
d5a6b3ba
JL
60332011-11-19 Juri Linkov <juri@jurta.org>
6034
6035 * info.el (Info-finder-find-node): Use `package--builtins' instead
6036 of `package-alist'. Use node names formed by the pattern "Keyword "
6037 and the keyword name.
6038
e981b61f
AS
60392011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6040
1d00653d 6041 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6042
3ffbc301
JL
60432011-11-19 Juri Linkov <juri@jurta.org>
6044
6045 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6046 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6047 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6048 `old-history', `old-history-forward'. Add let-binding
6049 `window-selected'. Remove calls to `kill-buffer',
6050 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6051 before calling `Info-find-node', so `Info-find-node-2' will reread
6052 the Info file. Restore window positions only when `window-selected'
6053 is non-nil.
6054
30c62133
JL
60552011-11-19 Juri Linkov <juri@jurta.org>
6056
6057 * isearch.el (isearch-lazy-highlight-new-loop):
6058 Remove condition `(not isearch-error)'. (Bug#9918)
6059
6060 * misearch.el (multi-isearch-search-fun): Add condition
6061 `(not bound)' to ignore lazy-highlighting search.
6062 Add the search-failed message "end of multi" when the end of
6063 multi-sequence is reached. Uncapitalize the search-failed
6064 message "Repeat for next buffer".
6065
6066 * info.el (Info-search): Add the search-failed message
6067 "end of the manual" when the end of the manual is reached
6068 in Isearch mode.
6069
645ca9cf
JL
60702011-11-19 Juri Linkov <juri@jurta.org>
6071
6072 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6073 Use non-destructive `remove' instead of `delete' because
6074 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6075 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6076
df754f66
JL
60772011-11-19 Juri Linkov <juri@jurta.org>
6078
6079 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6080 to nil instead of binding `search-ring' and `regexp-search-ring'.
6081 (Bug#9185)
6082
0e23d96a
EZ
60832011-11-19 Eli Zaretskii <eliz@gnu.org>
6084
6085 * simple.el (line-move): Force movement by logical lines for any
6086 hscrolled window, not only when auto-hscroll-mode is on.
6087 (line-move-visual): Update doc string to that effect. (Bug#10076)
6088
8a6ccb66
AS
60892011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6090
6091 * language/european.el (macintosh): Define as alias for mac-roman.
6092
49ae5b39
EZ
60932011-11-19 Eli Zaretskii <eliz@gnu.org>
6094
6095 * mail/rmailmm.el (rmail-mime-display-header)
6096 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6097 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6098 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6099 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6100 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6101 of a raw aref.
6102 (rmail-mime-entity-segment): To get past the tagline, move forward
6103 2 more lines, to account for the 2 empty lines that precede and
6104 follow the line with the buttons.
6105 (rmail-mime-update-tagline): Move one more line, to get past the
6106 empty line that follows the buttons in the tagline. (Bug#9520)
6107
c56cad4a
MR
61082011-11-19 Martin Rudalics <rudalics@gmx.at>
6109
6110 * window.el (window-max-delta-1, window-min-delta-1)
6111 (window-min-size-1, window-state-get-1, window-state-put-1)
6112 (window-state-put-2): Use "window--" prefix.
6113
cbe71af3
SM
61142011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6115
2ad52c60
SM
6116 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6117 (smie-warning-count): New var.
6118 (smie-set-prec2tab): Use it.
6119 (smie-bnf->prec2): Improve warnings. Add docstring.
6120 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6121 (smie-bnf--set-class): New function.
6122 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6123 corner case.
6124
6944dbc1
SM
6125 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6126 (compilation-error-properties, compilation-move-to-column):
6127 Handle compilation-first-column while in the target buffer.
6128
c400c4d7
SM
6129 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6130 Don't hardcode point-min==1.
6131
6dbe3e96
SM
6132 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6133 (eshell-rewrite-for-command): Remove workaround.
6134 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6135 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6136 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6137
cbe71af3
SM
6138 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6139
a8e1496d
GM
61402011-11-17 Glenn Morris <rgm@gnu.org>
6141
6142 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6143 Ignore buffer-local generated-autoload-file if it is the same
6144 as the global value. (Bug#10049)
6145
df85d315
JB
61462011-11-17 Juanma Barranquero <lekktu@gmail.com>
6147
6148 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6149 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6150 (reftex-toc-previous-heading, reftex-toc-max-level)
6151 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6152 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6153 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6154 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6155 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6156 (reftex-toc-rename-label, reftex-toc-visit-location)
6157 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6158 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6159 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6160 leaving "*toc*" only for references to the buffer.
6161
a0c2d0ae
MR
61622011-11-17 Martin Rudalics <rudalics@gmx.at>
6163
6164 * window.el (window-resize, delete-window, split-window):
6165 Replace window-splits by window-combination-resize.
1d00653d 6166 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6167
35c0bac8
GM
61682011-11-17 Glenn Morris <rgm@gnu.org>
6169
6170 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6171 Make bash entry derive from sh entry, not shell entry.
6172
d0c8fc8a
MA
61732011-11-16 Michael Albinus <michael.albinus@gmx.de>
6174
d0c8fc8a
MA
6175 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6176 properties of linked files. (Bug#9879)
6177
7262a87c
MA
6178 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6179 local file name.
6180
7877f373
JB
61812011-11-16 Juanma Barranquero <lekktu@gmail.com>
6182
6183 * menu-bar.el (menu-bar-file-menu):
6184 * printing.el (pr-ps-utility):
6185 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6186 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6187 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6188 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6189 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6190 (icalendar--convert-cyclic-to-ical)
6191 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6192 (icalendar--convert-ical-to-diary)
6193 (icalendar--convert-recurring-to-diary)
6194 (icalendar--convert-non-recurring-all-day-to-diary)
6195 (icalendar-import-format-sample):
6196 * progmodes/idlw-shell.el (idlwave-shell-mode):
6197 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6198 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6199 (vhdl-ps-print-init): Fix typos.
6200
10649b82
KM
62012011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6202
9d0cfcd6
GM
6203 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6204 FSF and collapse date sequence, obscure author/maintainer email address
6205 better, remove extra version line, track relocation of author's webpage.
10649b82 6206
9d0cfcd6
GM
6207 * progmodes/python.el (python-pdbtrack-input-prompt)
6208 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6209 regular python pdb prompts. Adjustments shamelessly taken exactly as
6210 suggested in EmacsWiki page (tiny change):
6211 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6212
58179cce
JB
62132011-11-16 Juanma Barranquero <lekktu@gmail.com>
6214
6215 * expand.el (expand-pos, expand-index, expand-point):
6216 Remove redundant info from docstring.
6217 (expand-add-abbrevs): Doc fix.
6218 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6219 (expand-sample-perl-mode-expand-list): Fix typos.
6220
6221 * net/dbus.el (dbus-event-member-name):
6222 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6223 * term/pc-win.el (msdos-create-frame-with-faces):
6224 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6225
b6f67890
MR
62262011-11-16 Martin Rudalics <rudalics@gmx.at>
6227
6228 * window.el (split-window, window-state-get-1)
6229 (window-state-put-1, window-state-put-2): Rename occurrences of
6230 window-nest to window-combination-limit.
1d00653d 6231 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6232
ce7ddba0
CY
62332011-11-16 Chong Yidong <cyd@gnu.org>
6234
6235 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6236 regexp (Bug#10033).
6237
3ae704f4
SM
62382011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6241 `completing-read' will remove *Completions* and will preserve
6242 current-buffer for us.
6243 (tmm-add-prompt): Users of *Completions* will always (re)set its
6244 major mode.
6245 (tmm-old-comp-map): Remove.
6246
6ad1cdde
GM
62472011-11-16 Glenn Morris <rgm@gnu.org>
6248
6249 * mail/rmailedit.el: Require rmailmm when compiling.
6250 (rmail-old-mime-state): New declaration.
6251 (rmail-edit-current-message): If editing a mime message,
6252 edit the "raw" message from the mbox buffer.
6253 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6254
d20faa20
GM
62552011-11-15 Glenn Morris <rgm@gnu.org>
6256
6257 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6258 which wasn't being used. Add optional arg to force given state.
6259 (rmail-mime): Add optional arg to force given state.
6260
c7015153
JB
62612011-11-15 Juanma Barranquero <lekktu@gmail.com>
6262
6263 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6264 * frame.el (display-mm-dimensions-alist):
6265 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6266 (outline-move-subtree-down):
6267 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6268 (newsticker--treeview-do-get-node):
6269 * net/quickurl.el (quickurl-list-buffer-name):
6270 * progmodes/dcl-mode.el (dcl-mode):
6271 * progmodes/gdb-mi.el (gdb-mapcar*):
6272 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6273
45261b50
GM
62742011-11-15 Glenn Morris <rgm@gnu.org>
6275
6276 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6277 in a boolean sense, so just make it a boolean, and fix the doc.
6278 (rmail-show-mime-function, rmail-mime-feature)
6279 (rmail-require-mime-maybe): Doc fixes.
6280 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6281
6282 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6283
0d26e0b6
JB
62842011-11-15 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6287 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6288 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6289 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6290
447f30f6
GM
62912011-11-15 Glenn Morris <rgm@gnu.org>
6292
672b871d
GM
6293 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6294 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6295 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6296 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6297 (rmail-mime, rmail-show-mime): Doc fixes.
6298
f6aa5bb1
GM
6299 * term/ns-win.el (mode-line-frame-identification):
6300 Leave it alone. (Bug#10051)
6301
947cd66b
GM
6302 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6303
447f30f6
GM
6304 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6305 Handle empty buffers. (Bug#9978)
6306
0b381c7e
JB
63072011-11-14 Juanma Barranquero <lekktu@gmail.com>
6308
6309 * international/mule.el (define-charset):
6310 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6311 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6312 * progmodes/verilog-mode.el (verilog-backward-token):
6313 * textmodes/ispell.el (lookup-words):
6314 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6315
71e027ac
GM
63162011-11-14 Glenn Morris <rgm@gnu.org>
6317
56632ce4
GM
6318 * progmodes/executable.el
6319 (executable-make-buffer-file-executable-if-script-p):
6320 Handle file-modes returning nil.
6321
40500957
GM
6322 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6323 message - not necessary, and causes problems. (Bug#9831)
6324
071c2340
GM
6325 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6326
d3cfca60
GM
6327 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6328
71e027ac
GM
6329 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6330 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6331 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6332
89d61221
MR
63332011-11-12 Martin Rudalics <rudalics@gmx.at>
6334
6335 * window.el (window-resize, delete-window): Use window-splits
6336 variable instead of function.
6337 (window-state-get-1, window-state-put-2, window-state-put):
6338 Don't deal with windows' splits status.
6339
98282f6f
GM
63402011-11-12 Glenn Morris <rgm@gnu.org>
6341
6342 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6343 (apropos-documentation): Doc fixes.
6344
40a8bdf6
JB
63452011-11-11 Juanma Barranquero <lekktu@gmail.com>
6346
6347 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6348 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6349
65bd19ff
SM
63502011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * electric.el (electric-indent-post-self-insert-function): Make it
6353 possible for a char to only indent in some circumstances.
6354 (electric-indent-mode): Simplify.
6355
54f9154c
MR
63562011-11-11 Martin Rudalics <rudalics@gmx.at>
6357
6358 * window.el (windows-with-parameter): Remove unused function.
6359 (windows-at-side): Rename to window-at-side-list.
6360 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6361 (window-side-check, window-size-ignore, window-size-fixed-1)
6362 (window-in-direction-2): Prefix with "window--".
6363 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6364
68cbc58b
GM
63652011-11-11 Glenn Morris <rgm@gnu.org>
6366
6367 * subr.el (eval-after-load): If FILE is already loaded,
6368 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6369
b2621720
GM
63702011-11-10 Glenn Morris <rgm@gnu.org>
6371
9a4de110
GM
6372 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6373 Call svn via vc-svn-command rather than vc-do-command.
6374 (vc-svn-command): Add --non-interactive. (Bug#9993)
6375 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6376
b2621720
GM
6377 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6378 Add toggle-read-only. (Bug#7292)
6379 * files.el (toggle-read-only): Mention that it should only
6380 be used interactively. (Bug#10006)
6381
1dce7193
SM
63822011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6383
d9ac1a1e
SM
6384 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6385 Adjust regexp for OCaml warnings.
6386
0c325082
SM
6387 * electric.el (electric-pair-post-self-insert-function): Let user
6388 turn it off buffer-locally (bug#9932).
6389
90132c14
SM
6390 * progmodes/python.el (python-beginning-of-statement):
6391 Rewrite (bug#2703).
6392
1dce7193
SM
6393 * progmodes/compile.el: Better handle TABs (bug#9749).
6394 (compilation-internal-error-properties)
6395 (compilation-next-error-function): Obey the target buffer's
6396 compilation-error-screen-columns.
6397
c4e7c63a
JB
63982011-11-09 Juanma Barranquero <lekktu@gmail.com>
6399
6400 * progmodes/meta-mode.el: Remove obsolete comments.
6401 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6402 Fix typos in docstrings.
6403
2cffd681
MR
64042011-11-09 Martin Rudalics <rudalics@gmx.at>
6405
6406 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6407 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6408 (window--resizable): New function. Make all callers of
6409 window-resizable call window--resizable instead.
6410 (window-resizable): Rewrite in terms of window--resizable.
6411
0edcba87
GM
64122011-11-08 Glenn Morris <rgm@gnu.org>
6413
6414 * progmodes/delphi.el (delphi-mode-syntax-table):
6415 Let define-derived-mode define a proper syntax table. (Bug#9994)
6416
4b0d61e3
SM
64172011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6418
6419 * window.el: Stay away from defsubst.
6420 (window-list-no-nils): Remove.
6421 (window-state-get-1, window-state-get): Use backquote instead.
6422
cd394be1 64232011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6424
4b0d61e3 6425 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6426 Fix incorrect use of default argument in `completing-read'.
6427
e1c2c6f2
MR
64282011-11-08 Martin Rudalics <rudalics@gmx.at>
6429
6430 * window.el (display-buffer-function, special-display-function):
6431 Mention display-buffer-record-window but do not mention
6432 help-setup parameter in doc-strings.
b3f4a882 6433 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6434
105216ed
CY
64352011-11-08 Chong Yidong <cyd@gnu.org>
6436
6437 * window.el (window-total-height, window-total-width): Doc fix.
6438 (window-body-size): Move from C.
6439 (window-body-height, window-body-width): Move to C.
6440
0a9f9ab5
SM
64412011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * window.el: Make special-display like display-buffer-alist (bug#9532).
6444 (display-buffer--special-action): New function, morphed
6445 from display-buffer--special.
6446 (display-buffer): Use it to handle special-display-buffers at higher
6447 priority (just after display-buffer-alist).
6448 (display-buffer-fallback-action, display-buffer--other-frame-action)
6449 (pop-to-buffer-same-window): Remove display-buffer--special.
6450
a769dd15
GM
64512011-11-07 Glenn Morris <rgm@gnu.org>
6452
6453 * calendar/cal-menu.el (cal-menu-set-date-title):
6454 Do nothing if not in a calendar. (Bug#9976)
6455
05a61ee3
SM
64562011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * files.el (find-file): Always use selected-window.
6459
be7f5545
MR
64602011-11-07 Martin Rudalics <rudalics@gmx.at>
6461
6462 * window.el (window-combinations): Make WINDOW argument
6463 mandatory. Rewrite doc-string.
6464 (walk-window-subtree, window-atom-check, window-min-delta)
6465 (window-max-delta, window--resize-this-window)
6466 (window--resize-root-window-vertically, window-tree)
6467 (balance-windows, window-state-put): Rewrite doc-strings as to
6468 not mention the term "subwindow".
6469 (window--resize-subwindows-skip-p): Rename to
6470 window--resize-child-windows-skip-p.
6471 (window--resize-subwindows-normal): Rename to
6472 window--resize-child-windows-normal.
6473 (window--resize-subwindows): Rename to
6474 window--resize-child-windows.
6475 (window-or-subwindow-p): Rename to window--in-subtree-p.
6476
3c6702ef
ML
64772011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6478
6479 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6480 Ensure that mbox format messages end in two newlines (Bug#9974).
6481
49745b39
CY
64822011-11-06 Chong Yidong <cyd@gnu.org>
6483
6484 * window.el (window-combination-p): Function deleted; its
6485 side-effect is not used in any existing code.
6486 (window-combinations, window-combined-p): Call window-*-child
6487 directly.
6488
24300f5f
CY
64892011-11-05 Chong Yidong <cyd@gnu.org>
6490
6491 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6492 (window-size-ignore, window-state-get): Callers changed.
6493 (window-normalize-window): Rename from window-normalize-any-window.
6494 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6495 (window-normalize-live-window): Delete.
447f16b8
CY
6496 (window-combination-p, window-combined-p, window-combinations)
6497 (walk-window-subtree, window-atom-root, window-min-size)
6498 (window-sizable, window-sizable-p, window-size-fixed-p)
6499 (window-min-delta, window-max-delta, window-resizable)
6500 (window-resizable-p, window-full-height-p, window-full-width-p)
6501 (window-current-scroll-bars, window-point-1, set-window-point-1)
6502 (window-at-side-p, window-in-direction, window-resize)
6503 (adjust-window-trailing-edge, maximize-window, minimize-window)
6504 (window-deletable-p, delete-window, delete-other-windows)
6505 (record-window-buffer, unrecord-window-buffer)
6506 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6507 (quit-window, split-window, window-state-put)
6508 (set-window-text-height, fit-window-to-buffer)
6509 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6510
89bd5ee1
EZ
65112011-11-04 Eli Zaretskii <eliz@gnu.org>
6512
53479029
EZ
6513 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6514 rfc2047-decode-string.
6515 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6516 warnings.
6517
89bd5ee1
EZ
6518 * window.el (window-body-height, window-body-width): Mention in
6519 the doc string that the return values are in frame's canonical
6520 units. (Bug#9949)
6521
bd17fdee
AM
65222011-11-03 Alan Mackenzie <acm@muc.de>
6523
6524 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6525 change in cc-engine.el.
6526
acc825c5
SM
65272011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6530
1885e5b8
MR
65312011-11-02 Martin Rudalics <rudalics@gmx.at>
6532
6533 * window.el (quit-window): Call unrecord-window-buffer after
6534 showing another buffer in the window. (Bug#9937)
acc825c5 6535 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6536
ebe06da9
JB
65372011-11-02 Juanma Barranquero <lekktu@gmail.com>
6538
6539 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6540 Accept status with more than 9 shelves. (Bug#9935)
6541 Reported by Colin D Bennett <colin@gibibit.com>.
6542
4ee88440
MR
65432011-11-01 Martin Rudalics <rudalics@gmx.at>
6544
6545 * help.el (with-help-window): Don't reference
6546 temp-buffer-show-specifiers in doc-string.
6547
08e1d82c
AS
65482011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6549
6550 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6551 menu-item.
6552
84bd6e9e
VJL
65532011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6554
6555 * whitespace.el: New version 13.2.2.
6556 (whitespace-newline-mode): Disable properly. Reported by Sarah
6557 <EmacsWiki>.
6558
dba0634a
UJ
65592011-10-30 Ulf Jasper <ulf.jasper@web.de>
6560
6561 * net/newst-treeview.el: Remove "Time-stamp".
6562 (newsticker--group-manage-orphan-feeds): Do not call
6563 newsticker--treeview-tree-update.
db22a3c2
JB
6564 (newsticker-treeview-update, newsticker-treeview):
6565 Call newsticker--treeview-tree-update if necessary.
dba0634a 6566
3d8daefe
MR
65672011-10-30 Martin Rudalics <rudalics@gmx.at>
6568
6569 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6570 (window-iso-combinations): Remove "iso-" infix.
6571 Suggested by Chong Yidong.
3d8daefe
MR
6572 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6573 (window-max-delta-1, window-resize, window--resize-siblings)
6574 (window--resize-this-window, adjust-window-trailing-edge)
6575 (split-window, balance-windows-1)
6576 (shrink-window-if-larger-than-buffer):
6577 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6578 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6579
1bc4c3ae
SM
65802011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6583 in place (bug#9907).
6584 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6585 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6586 (eshell-structure-basic-command, eshell-rewrite-while-command)
6587 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6588 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6589 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6590 (eshell-do-pipelines-synchronously, eshell-eval-command):
6591 Use backquotes and prefer setq to set.
6592 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6593 (eshell-macrop): Use functionp.
c1e2f5fa 6594 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6595
30b65d9c
CY
65962011-10-30 Chong Yidong <cyd@gnu.org>
6597
6598 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6599 instead of set-mark (Bug#9810).
6600
2d197ffb
CY
66012011-10-30 Chong Yidong <cyd@gnu.org>
6602
6603 * window.el (split-window-below, split-window-right): Rename from
6604 split-window-above-each-other and split-window-side-by-side
6605 respectively. All callers changed.
6606 (split-window-sensibly, split-window-sensibly): Use them.
6607 (split-window-keep-point): Doc fix.
6608
6609 * isearch.el: Add isearch-scroll property to split-window-below
6610 and split-window-right.
6611
6612 * follow.el (follow-mode):
6613 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6614 * progmodes/ada-xref.el (ada-gdb-application):
6615 * emulation/vip.el (vip-buffer-in-two-windows):
6616 * image-dired.el (image-dired-dired-with-window-configuration):
6617 * dired-x.el (dired-do-find-marked-files):
6618 * dired.el (dired-pop-to-buffer):
6619 * bs.el (bs--show-with-configuration):
6620 * vc/emerge.el (emerge-setup-windows):
6621 * textmodes/two-column.el (2C-two-columns):
6622 * textmodes/reftex-toc.el (reftex-toc):
6623 * progmodes/gdb-mi.el (gdb-setup-windows):
6624 * progmodes/fortran.el (fortran-window-create):
6625 * net/newst-treeview.el (newsticker--treeview-window-init):
6626 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6627 * emulation/tpu-edt.el (tpu-gold-map):
6628 * emulation/crisp.el (crisp-mode-map):
6629 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6630
38bb2ca8
CY
66312011-10-29 Chong Yidong <cyd@gnu.org>
6632
aa4de341
CY
6633 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6634
e1eb5385
CY
6635 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6636
5d2ece3c
CY
6637 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6638 forged Ispell output (Bug#7904).
6639
38bb2ca8
CY
6640 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6641
d0af9f77
SM
66422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * doc-view.el: Avoid ugly errors about not finding nil.
6645 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6646 (doc-view-dvipdf-program, doc-view-unoconv-program)
6647 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6648 Avoid nil or absolute file name as default value.
6649 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6650
52bedd34
AM
66512011-10-28 Alan Mackenzie <acm@muc.de>
6652
db22a3c2 6653 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6654
7e43cfa5
AM
66552011-10-28 Alan Mackenzie <acm@muc.de>
6656
6657 Amend the handling of c-beginning/end-of-defun in nested declaration
6658 scopes.
6659
52bedd34
AM
6660 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6661 cc-langs.el. Change it to a defcustom.
7e43cfa5 6662
52bedd34
AM
6663 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6664 cc-vars.el.
7e43cfa5 6665
d0af9f77
SM
6666 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6667 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6668
52bedd34 6669 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6670 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6671 (c-widen-to-enclosing-decl-scope): New function.
6672 (c-while-widening-to-decl-block): New macro.
6673 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6674 outward for defun boundaries, and correspondingly change symbol
6675 `respect-enclosure' to `go-outward'.
6676 (c-declaration-limits): Change algorithm to report only the "innermost"
6677 defun's boundaries.
6678
1a2ce9ee
DD
66792011-10-28 Deniz Dogan <deniz@dogan.se>
6680
6681 * net/rcirc.el (rcirc-mode): Use hard newlines.
6682
bc97a826
AM
66832011-10-28 Alan Mackenzie <acm@muc.de>
6684
6685 Amend to indent and fontify macros "which include their own semicolon"
6686 correctly, using the "virtual semicolon" mechanism.
6687
52bedd34 6688 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6689
d0af9f77 6690 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6691 Recode to scan one line at a time rather than having \n and \r
58179cce 6692 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6693 (c-forward-label): Amend for virtual semicolons.
58179cce 6694 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6695
52bedd34
AM
6696 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6697 of the new C macros.
bc97a826 6698
52bedd34 6699 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6700 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6701 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6702 (c-opt-cpp-macro-define): Make into a full language variable.
6703 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6704 AWK Mode (including \n, \r) removed, no longer needed.
6705
d0af9f77
SM
6706 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6707 Invoke c-make-macro-with-semi-re.
bc97a826 6708
52bedd34
AM
6709 * progmodes/cc-vars.el (c-macro-with-semi-re):
6710 (c-macro-names-with-semicolon): New variables.
58179cce 6711 (c-make-macro-with-semi-re): New function.
bc97a826 6712
7a6c0941
SM
67132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * vc/log-edit.el: Fill empty field rather than adding new one.
6716 (log-edit-add-field): New function.
6717 (log-edit-insert-changelog): Use it.
6718
b0c4cdcf
ML
67192011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6720
6721 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6722
ee1f1da9
SM
67232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6726 (gdb--check-interpreter): New function.
6727 (gdb): Use it.
6728
51bc5f8b
GM
67292011-10-27 Glenn Morris <rgm@gnu.org>
6730
416a2c45
GM
6731 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6732 (least-positive-float, least-negative-float)
6733 (least-positive-normalized-float, least-negative-normalized-float)
6734 (float-epsilon, float-negative-epsilon):
6735 Remove unnecessary declarations.
6736
6737 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6738 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6739 (least-positive-float, least-negative-float)
6740 (least-positive-normalized-float, least-negative-normalized-float)
6741 (float-epsilon, float-negative-epsilon): Add doc-strings,
6742 based on those in cl.texi.
6743
51bc5f8b
GM
6744 * files.el (set-visited-file-name): If the major-mode changed,
6745 reload the local variables. (Bug#9796)
6746
15de15c6
CY
67472011-10-27 Chong Yidong <cyd@gnu.org>
6748
6749 * subr.el (change-major-mode-after-body-hook): New hook.
6750 (run-mode-hooks): Run it.
6751
ee1f1da9
SM
6752 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6753 Use change-major-mode-before-body-hook.
15de15c6
CY
6754
6755 * simple.el (fundamental-mode):
6756 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6757 change introducing fundamental-mode-hook.
6758
5430d399
JB
67592011-10-26 Juanma Barranquero <lekktu@gmail.com>
6760
acc825c5 6761 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6762
ad74a69e
MA
67632011-10-26 Michael Albinus <michael.albinus@gmx.de>
6764
6765 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6766 tramp.el explicitly. (Bug#7583)
ad74a69e 6767
71d4c2a5
SM
67682011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * progmodes/octave-mod.el:
6771 * progmodes/octave-inf.el: Update maintainer.
6772
b1f6fa26
CY
67732011-10-26 Chong Yidong <cyd@gnu.org>
6774
6775 * subr.el (with-wrapper-hook): Rewrite doc.
6776
3f04efd6
MA
67772011-10-25 Michael Albinus <michael.albinus@gmx.de>
6778
6779 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6780 filenames "/method:foo:". (Bug#9793)
3f04efd6 6781
410488d3
SM
67822011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6785 (bug#9865).
6786
c1ebb47e
GM
67872011-10-24 Glenn Morris <rgm@gnu.org>
6788
6789 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6790
7f5c46c7
MA
67912011-10-24 Michael Albinus <michael.albinus@gmx.de>
6792
6793 * notifications.el: Add the requirement of a running D-Bus session
6794 bus to the Commentary.
6795
db2440b6
JL
67962011-10-24 Juri Linkov <juri@jurta.org>
6797
6798 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6799 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6800 (Bug#9364)
6801
feecf435
JL
68022011-10-24 Juri Linkov <juri@jurta.org>
6803
6804 * info.el (Info-following-node-name-re): Add newline to the list
6805 of allowed characters for leading space. (Bug#9824)
6806
a3839de2
SM
68072011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6808
acc825c5
SM
6809 * progmodes/octave-inf.el (inferior-octave-mode-map):
6810 Fix C-c C-h binding.
a3839de2
SM
6811 * progmodes/octave-mod.el (octave-help): Remove.
6812
09388e76
MA
68132011-10-23 Michael Albinus <michael.albinus@gmx.de>
6814
6815 Sync with Tramp 2.2.3.
6816
6817 * net/tramp-cache.el (top): Pacify byte-compiler using
6818 `init-file-user' and `site-run-file'.
6819
6820 * net/trampver.el: Update release number.
6821
86c60681
CY
68222011-10-23 Chong Yidong <cyd@gnu.org>
6823
6824 * files.el (toggle-read-only): Remove obsolete comment about
6825 version control.
6826
6827 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6828 for toggle-read-only. Note that this hasn't called vc-next-action
6829 since 2008-05-02, though it wasn't documented at the time.
6830
a3839de2
SM
6831 * vc/ediff-init.el (ediff-toggle-read-only-function):
6832 Use toggle-read-only.
86c60681 6833
cd5495ff
AM
68342011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6835
6836 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6837 of c-parse-state.
6838
00b77525 6839 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6840 correct faulty logical expression.
cd5495ff
AM
6841 (c-parse-state-state, c-record-parse-state-state):
6842 (c-replay-parse-state-state): New defvar/defuns.
6843 (c-debug-parse-state): Use new functions.
6844
42ee24ed
MR
68452011-10-22 Martin Rudalics <rudalics@gmx.at>
6846
6847 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6848 last fix. Use window-in-direction correctly.
42ee24ed 6849
a7dee7e7
CY
68502011-10-21 Chong Yidong <cyd@gnu.org>
6851
6852 * progmodes/idlwave.el (idlwave-mode):
6853 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6854 require-final-newline; that's done in prog-mode.
6855 Suggested by Stefan Monnier.
a7dee7e7 6856
e07b9a6d
MR
68572011-10-21 Martin Rudalics <rudalics@gmx.at>
6858
6859 * mouse.el (mouse-drag-window-above)
6860 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6861 (mouse-drag-mode-line-1, mouse-drag-header-line)
6862 (mouse-drag-vertical-line-rightward-window): Remove.
6863 (mouse-drag-line): New function.
6864 (mouse-drag-mode-line, mouse-drag-header-line)
6865 (mouse-drag-vertical-line): Call mouse-drag-line.
6866 * window.el (window-at-side-p, windows-at-side): New functions.
6867
7e1361d9
UM
68682011-10-21 Ulrich Mueller <ulm@gentoo.org>
6869
6870 * tar-mode.el (tar-grind-file-mode):
6871 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6872
30fcaf3a
CY
68732011-10-21 Chong Yidong <cyd@gnu.org>
6874
6875 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6876 * progmodes/vera-mode.el (vera-mode):
6877 Use mode-require-final-newline.
30fcaf3a 6878
516eddb0
GM
68792011-10-20 Glenn Morris <rgm@gnu.org>
6880
db22a3c2 6881 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6882
10d5f513
CS
68832011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6884
6885 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6886
ac6c8639
CY
68872011-10-20 Chong Yidong <cyd@gnu.org>
6888
6889 * emulation/cua-base.el (cua-mode):
6890 * mail/footnote.el (footnote-mode):
6891 * mail/mailabbrev.el (mail-abbrevs-mode):
6892 * net/xesam.el (xesam-minor-mode):
6893 * progmodes/bug-reference.el (bug-reference-mode):
6894 * progmodes/cap-words.el (capitalized-words-mode):
6895 * progmodes/compile.el (compilation-minor-mode)
6896 (compilation-shell-minor-mode):
6897 * progmodes/gud.el (gud-tooltip-mode):
6898 * progmodes/hideif.el (hide-ifdef-mode):
6899 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6900 * progmodes/subword.el (subword-mode):
6901 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6902 * progmodes/which-func.el (which-function-mode):
6903 * term/tvi970.el (tvi970-set-keypad-mode):
6904 * term/vt100.el (vt100-wide-mode):
6905 * textmodes/flyspell.el (flyspell-mode):
6906 * textmodes/ispell.el (ispell-minor-mode):
6907 * textmodes/nroff-mode.el (nroff-electric-mode):
6908 * textmodes/paragraphs.el (use-hard-newlines):
6909 * textmodes/refill.el (refill-mode):
6910 * textmodes/reftex.el (reftex-mode):
6911 * textmodes/rst.el (rst-minor-mode):
6912 * textmodes/sgml-mode.el (html-autoview-mode)
6913 (sgml-electric-tag-pair-mode):
6914 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6915 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6916 * emulation/crisp.el (crisp-mode):
6917 * emacs-lisp/eldoc.el (eldoc-mode):
6918 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6919 minor mode behavior.
6920
aa42ab43
JL
69212011-10-19 Juri Linkov <juri@jurta.org>
6922
6923 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6924 the list of hard-coded chars with escape-glyph face.
6925
89400f1d
SM
69262011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6929
305c07f6
MA
69302011-10-19 Michael Albinus <michael.albinus@gmx.de>
6931
6932 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6933 running process.
6934
13754b54
GM
69352011-10-19 Glenn Morris <rgm@gnu.org>
6936
6937 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6938 Ignore ignored files. (Bug#9726)
6939
06e21633
CY
69402011-10-19 Chong Yidong <cyd@gnu.org>
6941
6942 Doc fix for minor modes, stating that an omitted argument enables
6943 the mode unconditionally when called from Lisp.
6944
6945 * abbrev.el (abbrev-mode):
6946 * allout.el (allout-mode):
6947 * autoinsert.el (auto-insert-mode):
6948 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6949 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6950 (global-auto-revert-mode):
6951 * battery.el (display-battery-mode):
6952 * composite.el (global-auto-composition-mode)
6953 (auto-composition-mode):
6954 * delsel.el (delete-selection-mode):
6955 * desktop.el (desktop-save-mode):
6956 * dired-x.el (dired-omit-mode):
6957 * dirtrack.el (dirtrack-mode):
6958 * doc-view.el (doc-view-minor-mode):
6959 * double.el (double-mode):
6960 * electric.el (electric-indent-mode, electric-pair-mode):
6961 * emacs-lock.el (emacs-lock-mode):
6962 * epa-hook.el (auto-encryption-mode):
6963 * follow.el (follow-mode):
6964 * font-core.el (font-lock-mode):
6965 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6966 * help.el (temp-buffer-resize-mode):
6967 * hilit-chg.el (highlight-changes-mode)
6968 (highlight-changes-visible-mode):
6969 * hi-lock.el (hi-lock-mode):
6970 * hl-line.el (hl-line-mode, global-hl-line-mode):
6971 * icomplete.el (icomplete-mode):
6972 * ido.el (ido-everywhere):
6973 * image-file.el (auto-image-file-mode):
6974 * image-mode.el (image-minor-mode):
6975 * iswitchb.el (iswitchb-mode):
6976 * jka-cmpr-hook.el (auto-compression-mode):
6977 * linum.el (linum-mode):
6978 * longlines.el (longlines-mode):
6979 * master.el (master-mode):
6980 * mb-depth.el (minibuffer-depth-indicate-mode):
6981 * menu-bar.el (menu-bar-mode):
6982 * minibuf-eldef.el (minibuffer-electric-default-mode):
6983 * mouse-sel.el (mouse-sel-mode):
6984 * msb.el (msb-mode):
6985 * mwheel.el (mouse-wheel-mode):
6986 * outline.el (outline-minor-mode):
6987 * paren.el (show-paren-mode):
6988 * recentf.el (recentf-mode):
6989 * reveal.el (reveal-mode, global-reveal-mode):
6990 * rfn-eshadow.el (file-name-shadow-mode):
6991 * ruler-mode.el (ruler-mode):
6992 * savehist.el (savehist-mode):
6993 * scroll-all.el (scroll-all-mode):
6994 * scroll-bar.el (scroll-bar-mode):
6995 * server.el (server-mode):
6996 * shell.el (shell-dirtrack-mode):
6997 * simple.el (auto-fill-mode, transient-mark-mode)
6998 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6999 (line-number-mode, column-number-mode, size-indication-mode)
7000 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7001 * strokes.el (strokes-mode):
7002 * time.el (display-time-mode):
7003 * t-mouse.el (gpm-mouse-mode):
7004 * tool-bar.el (tool-bar-mode):
7005 * tooltip.el (tooltip-mode):
7006 * type-break.el (type-break-mode-line-message-mode)
7007 (type-break-query-mode):
7008 * view.el (view-mode):
7009 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7010 (global-whitespace-mode, global-whitespace-newline-mode):
7011 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7012
a3839de2
SM
7013 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7014 Fix autogenerated docstring.
06e21633 7015
5214e501
JL
70162011-10-19 Juri Linkov <juri@jurta.org>
7017
7018 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7019 by checking environment variables "DESKTOP_SESSION" and
7020 "XDG_CURRENT_DESKTOP". (Bug#9779)
7021
195f8db9
JL
70222011-10-19 Juri Linkov <juri@jurta.org>
7023
7024 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7025 (browse-url-chromium-program, browse-url-chromium-arguments):
7026 New defcustoms.
7027 (browse-url-default-browser): Check for `browse-url-chromium' and
7028 call `browse-url-chromium-program'.
7029 (browse-url-chromium): New command. (Bug#9779)
7030
343a34ff
JB
70312011-10-18 Juanma Barranquero <lekktu@gmail.com>
7032
7033 * facemenu.el (list-colors-duplicates): On Windows, detect more
7034 duplicates by assuming that only colors matching "^System" are
7035 special "system colors". (Bug#9722)
7036
6978a151
SM
70372011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7040 to distinguish the author from the committer.
7041
6a80b297
MA
70422011-10-18 Michael Albinus <michael.albinus@gmx.de>
7043
7044 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7045
b31a5677
JK
70462011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7047
7048 * international/mule.el (sgml-html-meta-auto-coding-function):
7049 Add support for detecting encoding in HTML5 specified only as
7050 <meta charset="UTF-8">. Implementation just makes http-equiv and
7051 content-type parts from HTML4 encoding string optional. (Bug#9716)
7052
80c6d77f
GM
70532011-10-18 Glenn Morris <rgm@gnu.org>
7054
7055 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7056
08b0fee8
CY
70572011-10-18 Chong Yidong <cyd@gnu.org>
7058
7059 * faces.el (cursor): Doc fix.
7060
67e729a5
CY
70612011-10-17 Chong Yidong <cyd@gnu.org>
7062
7063 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7064
343a34ff 70652011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7066
7067 * dirtrack.el (dirtrack): Support shell buffers with path
7068 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7069
0bc06380
TZ
70702011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7071
7072 * json.el: Bump version to 1.3 and note change in History.
7073 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7074
8b79f3e0
SM
70752011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7076
5a7c536b
SM
7077 * comint.el (comint-insert-input, comint-send-input)
7078 (comint-get-old-input-default, comint-backward-matching-input)
7079 (comint-next-prompt): Use nil instead of `input' for field property of
7080 past user input (bug#114).
7081
96a8a0df
SM
7082 * minibuffer.el (completion--replace): Inherit surrounding properties
7083 (bug#114).
7084 (minibuffer-complete-and-exit): Use it.
7085
8b79f3e0
SM
7086 * comint.el (comint--table-subvert): Quote the all-completions output
7087 (bug#9160).
7088
b8f7ff0d
MR
70892011-10-17 Martin Rudalics <rudalics@gmx.at>
7090
8b79f3e0 7091 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7092
b8f7ff0d 7093 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7094 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7095 entries and separate them from frame entries.
7096
c235b555
GM
70972011-10-15 Glenn Morris <rgm@gnu.org>
7098
7099 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7100 Doc fixes.
7101
6bbfa6e1
CY
71022011-10-15 Chong Yidong <cyd@stupidchicken.com>
7103
8b79f3e0
SM
7104 * net/network-stream.el (network-stream-open-starttls):
7105 Improve detection of failure due to lack of TLS support.
ec5c990d 7106
6bbfa6e1
CY
7107 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7108 putting the input text in front and in bold.
7109
98488977
SM
71102011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7111
3d1337be
SM
7112 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7113
ee0b45e4
SM
7114 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7115 empty buffer.
7116
98488977
SM
7117 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7118 unread-command-events rather than pushing yet-another event.
7119
186f4720
EZ
71202011-10-14 Eli Zaretskii <eliz@gnu.org>
7121
7122 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7123 the explanation of the possible choices. Make the options passed
7124 to completing-read shorter.
7125
8b7a997c
AM
71262011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7127
7128 * textmodes/flyspell.el (flyspell-large-region): Make sure
7129 extended character mode is used if defined (Bug#1339).
7130
12587bbb
EZ
71312011-10-13 Eli Zaretskii <eliz@gnu.org>
7132
7133 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7134 character info for LRE, LRO, RLE, and RLO characters by appending
7135 an invisible PDF.
12587bbb 7136
bad41229
SM
71372011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7140 even in case of error; add debug spec; simplify data flow.
7141 (with-timeout-handler): Remove.
7142
28dbc92f
MA
71432011-10-12 Michael Albinus <michael.albinus@gmx.de>
7144
7145 Fix Bug#6019, Bug#9315.
7146
7147 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7148 complete `buffer-file-name', the local file name part could look
7149 remotely (for example on VMS).
7150
7151 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7152 `tramp-run-real-handler'.
7153 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7154 already quoted by '"'.
7155
7156 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7157 Let `file-name-handler-alist' be nil, the local file name part
7158 could look remotely (for example on VMS).
7159
e1b0b23a
SM
71602011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7163 from here...
7164 (flyspell-post-command-hook): ...to here.
7165
a120bde9
SM
71662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7169 if not needed.
7170 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7171 using completion. Protect against "slow" callers.
7172 Remove the "message hack".
7173
7ce7717b
JL
71742011-10-11 Juri Linkov <juri@jurta.org>
7175
7176 * isearch.el (isearch-lazy-highlight-word): New variable.
7177 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7178 Use it. (Bug#9727)
7179
c02ee9d6
GM
71802011-10-11 Glenn Morris <rgm@gnu.org>
7181
7182 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7183 like f90-previous-statement does.
7184
93e616fd 71852011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7186
1f190e73 7187 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7188 only in interactive use, to avoid error.
7189
af7b6078
SM
71902011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 * minibuffer.el (completion-file-name-table): Fix last change,
7193 i.e. ignore normal errors but not the other ones.
7194
0563dae9
MR
71952011-10-10 Martin Rudalics <rudalics@gmx.at>
7196
7197 * window.el (special-display-buffer-names)
7198 (special-display-regexps): Remove some remnants of earlier
7199 changes from doc-strings.
366ca7f3
MR
7200 (quit-windows-on): New function.
7201
7202 * vc/vc.el (vc-revert, vc-rollback):
7203 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7204 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7205 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7206
49677495
MR
72072011-10-09 Martin Rudalics <rudalics@gmx.at>
7208
7209 * window.el (frame-auto-hide-function): Add version tag.
7210 (Bug#9699)
7211
56f2d1e1
MA
72122011-10-09 Michael Albinus <michael.albinus@gmx.de>
7213
7214 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7215 condition.
7216
112a6592
LL
72172011-10-09 Leo Liu <sdl.web@gmail.com>
7218
7219 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7220 (Bug#9701)
7221
0812589b
GM
72222011-10-08 Glenn Morris <rgm@gnu.org>
7223
7224 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7225 before the first code statement zero indent. (Bug#9690)
7226
b2b0776e
CY
72272011-10-08 Chong Yidong <cyd@stupidchicken.com>
7228
7229 * simple.el (count-words-region): Always count in the region.
7230 Report the number of lines and characters too.
7231 (count-words): New command, which counts in the buffer if the
7232 region is inactive, as count-words-region used to.
7233 (count-words--message): New function. Handle plurals.
7234 (count-lines-region): Make it an alias for count-words-region.
7235
7236 * bindings.el (esc-map): Replace count-lines-region with
7237 count-words-region.
7238
c557cd6b
MR
72392011-10-08 Martin Rudalics <rudalics@gmx.at>
7240
7241 * window.el (window--delete): Delete dedicated frame
7242 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7243 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7244
61a57ef4 72452011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7246
3a7d293b 7247 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7248
c3833279
CY
72492011-10-07 Chong Yidong <cyd@stupidchicken.com>
7250
7251 * bindings.el ([M-left],[M-right]): Bind to left-word and
7252 right-word respectively.
7253
21ce8245
GM
72542011-10-07 Glenn Morris <rgm@gnu.org>
7255
7256 * cus-start.el (debug-on-quit): Fix custom type.
7257
6d823bb2
LMI
72582011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7259
0181e193
LMI
7260 * subr.el (define-key-after): Clarify that the function is not
7261 useful for non-menu keymaps.
7262
6d823bb2
LMI
7263 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7264
8e3459ce 72652011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7266
21ce8245 7267 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7268 in current minibuffer (Fix bug with recursive minibuffers).
7269
a1c2d21e
CY
72702011-10-06 Chong Yidong <cyd@stupidchicken.com>
7271
7272 * progmodes/gdb-mi.el (gdb): Doc fix.
7273
5a4cf282
MR
72742011-10-05 Martin Rudalics <rudalics@gmx.at>
7275
7276 * window.el (frame-auto-hide-function): New option replacing
7277 frame-auto-delete. Suggested by Stefan Monnier.
7278 (window--delete): Call frame-auto-hide-function instead of
7279 investigating frame-auto-delete.
c96111ea
MR
7280 (window-point-1, set-window-point-1): New functions.
7281 (window-in-direction, record-window-buffer, window-state-get-1)
7282 (display-buffer-record-window): Use window-point-1 instead of
7283 window-point.
7284 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7285
9854542e
SM
72862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7287
7288 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7289
8943cfb0
GM
72902011-10-05 Glenn Morris <rgm@gnu.org>
7291
7292 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7293 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7294
647ab967
LL
72952011-10-05 Leo Liu <sdl.web@gmail.com>
7296
7297 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7298 works with buffer object.
7299
3ddfbced
SM
73002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * mpc.el (mpc-tool-bar-map): Add labels.
7303
bdfa5dd2
GM
73042011-10-04 Glenn Morris <rgm@gnu.org>
7305
7306 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7307
0e2070b5
MR
73082011-10-04 Martin Rudalics <rudalics@gmx.at>
7309
7310 * window.el (window--delete): New function.
7311 (frame-auto-delete): Resuscitate option.
7312 (bury-buffer, replace-buffer-in-windows)
7313 (quit-window): Rewrite using window--delete.
7314 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7315 Pass display-buffer-mark-dedicated to window--display-buffer-2
7316 (Bug#9639).
7317
3dc61a09
SM
73182011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7319
915a9b64
SM
7320 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7321 returns a list (bug#9554). Add remote file name completion.
7322 * comint.el (comint--table-subvert): Curry and get quote&unquote
7323 functions as arguments.
7324 (comint--complete-file-name-data): Adjust call accordingly.
7325 * pcomplete.el (pcomplete--table-subvert): Remove.
7326 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7327
3dc61a09
SM
7328 * minibuffer.el (completion-table-case-fold): Use currying.
7329 (completion--styles-type, completion--cycling-threshold-type):
7330 New constants.
7331 (completion-styles, completion-category-overrides)
7332 (completion-cycle-threshold): Use them.
7333 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7334 completion-table-case-fold.
7335
8ea0a993
SB
73362011-10-03 Stephen Berman <stephen.berman@gmx.net>
7337
7338 * minibuffer.el (completion-category-overrides): Fix type of styles
7339 and add more user friendly tags (bug#9660).
7340
8c24b7f6
SM
73412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7342
7343 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7344 (mule-input-method-string): New widget.
7345 (default-input-method, language-info-custom-alist): Use it.
7346
428fe61a
SM
73472011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7348
32c1fffd
SM
7349 * pcomplete.el: Require comint.
7350 (pcomplete--common-suffix): Remove.
7351 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7352 (pcomplete--table-subvert): Sync with comint--table-subvert.
7353 (pcomplete--entries): Use comint-completion-file-name-table.
7354 * comint.el (comint-unquote-filename): Simplify.
7355 (comint-completion-file-name-table): New function (bug#9616).
7356 (comint--complete-file-name-data): Use it.
7357
428fe61a
SM
7358 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7359 (pcmpl-gnu-tar-buffer): Remove.
7360 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7361 around. Make sure pcomplete-suffix-list is only changed temporarily.
7362 Don't look inside the tar's file if it's too large.
428fe61a 7363
04c52e2f
CY
73642011-10-01 Chong Yidong <cyd@stupidchicken.com>
7365
ce3cefcc
CY
7366 * cus-edit.el (custom-mode-map):
7367 * epa.el (epa-key-list-mode-map):
7368 * man.el (Man-mode-map):
7369 * startup.el (splash-screen-keymap):
7370 * simple.el (special-mode-map): Use scroll-up-command and
7371 scroll-down-command.
7372
7373 * progmodes/idlw-help.el (idlwave-help-mode-map):
7374 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7375 * net/newst-plainview.el (newsticker-mode-map):
7376 * emulation/ws-mode.el (wordstar-mode-map):
7377 * emulation/vi.el (vi-com-map):
7378 * calc/calc-graph.el (calc-graph-show-dumb):
7379 * term/sun.el (terminal-init-sun):
7380 * term/ns-win.el (global-map):
7381 * progmodes/grep.el (grep-mode-map):
7382 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7383 * mail/rmail.el (rmail-mode-map):
7384 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7385
04c52e2f
CY
7386 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7387 custom-safe-themes as special.
7388
79adf8c8
JD
73892011-10-01 Julien Danjou <julien@danjou.info>
7390
7391 * notifications.el (notifications-notify): Fix docstring.
7392
63bd50d3
PS
73932011-10-01 Per Starbäck <per@starback.se>
7394
7395 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7396
199e4c7e
MR
73972011-09-30 Martin Rudalics <rudalics@gmx.at>
7398
7399 * startup.el (command-line-1): Fix last fix by inserting
7400 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7401 (Bug#9605) and (Bug#9636)
199e4c7e 7402
fe5f08dd
EZ
74032011-09-29 Eli Zaretskii <eliz@gnu.org>
7404
7405 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7406 window is hscrolled, move by logical lines. (Bug#9607)
7407 (line-move-visual): Update the doc string to the above effect.
7408
b5516bbd
MR
74092011-09-29 Martin Rudalics <rudalics@gmx.at>
7410
ccee00c0
MR
7411 * window.el (display-buffer-record-window): When WINDOW is the
7412 selected window use `point' instead of `window-point'. (Bug#9626)
7413
b5516bbd
MR
7414 * startup.el (command-line-1): Use insert-before-markers when
7415 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7416
b5516bbd
MR
7417 * help.el (help-window): Remove variable.
7418
52aa0014
GM
74192011-09-29 Glenn Morris <rgm@gnu.org>
7420
7421 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7422
df9a7357
JB
74232011-09-29 Juanma Barranquero <lekktu@gmail.com>
7424
7425 * descr-text.el (describe-char-categories): Accept category
7426 descriptions more than one line long.
7427
a8406c20
SM
74282011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7429
88d9610c
SM
7430 * simple.el (delete-trailing-whitespace): Fix last change.
7431
a5daf810
SM
7432 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7433 Don't confuse "y => 3" as the beginning of a `y' operation.
7434
a8406c20
SM
7435 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7436 object has more than 4 slots (bug#9613).
7437
a239d4e9
JB
74382011-09-28 Juanma Barranquero <lekktu@gmail.com>
7439
7440 * subr.el (with-output-to-temp-buffer):
7441 * net/quickurl.el (quickurl, quickurl-browse-url):
7442 Fix typos in docstrings.
7443
693fbdb6
EZ
74442011-09-27 Eli Zaretskii <eliz@gnu.org>
7445
7446 * minibuffer.el (completion-styles)
7447 (completion-category-overrides): Cross reference each other in doc
7448 strings.
7449
8b457e28
GM
74502011-09-27 Glenn Morris <rgm@gnu.org>
7451
7452 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7453 to split-string. (Bug#9606)
7454
85a16208
LMI
74552011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7456
7457 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7458 (bug#9615).
7459
502f9ebd
CY
74602011-09-27 Chong Yidong <cyd@stupidchicken.com>
7461
7462 * emacs-lisp/package.el (list-packages): Fix echo area message.
7463
7690bdea
LL
74642011-09-27 Leo Liu <sdl.web@gmail.com>
7465
7466 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7467
e2ee6f30
MA
74682011-09-25 Michael Albinus <michael.albinus@gmx.de>
7469
7470 * net/dbus.el (dbus-unregister-object): Don't release services for
7471 registered signals. (Bug#9581)
7472
f3f98342
TZ
74732011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7474
7475 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7476 function that picks between cfengine 2 and 3 support
7477 automatically. Update docs accordingly.
7478
dd7aa8dd
KH
74792011-09-22 Kenichi Handa <handa@m17n.org>
7480
7481 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7482 ZERO.
7483 (indian-itrans-v5-table-for-tamil): New variable.
7484 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7485
3f2b07f8
KM
74862011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7487
7488 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7489 that's true if the current command involved collapsing of text.
7490 It's reset to false at the beginning of the next command.
7491 (allout-post-command-business): Move the cursor to the beginning
7492 of entry if the cursor is hidden and collapsing activity just
7493 happened.
7494
371d6a61
CY
74952011-09-24 Chong Yidong <cyd@stupidchicken.com>
7496
7497 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7498 tracking (Bug#9541).
7499
2ac2721a
UJ
75002011-09-24 Ulf Jasper <ulf.jasper@web.de>
7501
7502 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7503 (newsticker-show-news): Automatically load html rendering package
7504 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7505 because w3m-fill-column is let-bound" and the error "Symbol's value
7506 as variable is void: w3m-fill-column".
2ac2721a 7507
fac7ae53
MA
75082011-09-24 Michael Albinus <michael.albinus@gmx.de>
7509
7510 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7511 Release services only if they are defined. (Bug#9581)
7512
e08b633b
RS
75132011-09-23 Richard Stallman <rms@gnu.org>
7514
e488d29c
RS
7515 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7516 distinguish start of paragraph from start of its text.
7517
19c38752
RS
7518 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7519
e08b633b
RS
7520 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7521 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7522 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7523
0a39f27e
AS
75242011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7525
7526 * international/mule-diag.el (mule-diag): Insert a newline after
7527 each fontset description.
7528
db4e950d
SM
75292011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * simple.el (delete-trailing-whitespace):
7532 Document last change; simplify.
7533
eca3f3ea
PW
75342011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7535
d68e189a
PW
7536 * simple.el (delete-trailing-whitespace): Also delete
7537 extra newlines at the end of the buffer.
7538
eca3f3ea
PW
7539 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7540 (picture-newline): Use forward-line so as to ignore fields.
7541
01c157cc
SM
75422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * subr.el (with-wrapper-hook): Fix edebug spec.
7545
022de23e
LMI
75462011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7547
7548 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7549 (bug#4538).
7550
91683089
MA
75512011-09-23 Michael Albinus <michael.albinus@gmx.de>
7552
eca3f3ea
PW
7553 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7554 Fix nasty bug using wrong cached values.
91683089 7555
5bdd6fa4
AM
75562011-09-23 Alan Mackenzie <acm@muc.de>
7557
7558 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7559
97adfb97
CY
75602011-09-23 Chong Yidong <cyd@stupidchicken.com>
7561
7562 * window.el (pop-to-buffer): Ensure right window is selected if we
7563 chose another frame.
7564
d4ef2b50
EZ
75652011-09-22 Eli Zaretskii <eliz@gnu.org>
7566
7567 * simple.el (what-cursor-position): Use get-char-property-change
7568 and next-single-char-property-change, to be able to show display
7569 properties that come from overlays as well as text properties.
7570
72258fe5
CY
75712011-09-22 Chong Yidong <cyd@stupidchicken.com>
7572
7573 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7574
7575 * cmuscheme.el (run-scheme, switch-to-scheme):
7576 * cus-edit.el (customize-group, custom-buffer-create)
7577 (customize-browse):
7578 * info.el (info):
7579 * shell.el (shell):
7580 * mail/sendmail.el (mail):
7581 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7582
8f098516
RS
75832011-09-22 Richard Stallman <rms@gnu.org>
7584
7585 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7586 move back only to line beg, don't move back over blank lines.
7587
e74f1bb6
MA
75882011-09-22 Michael Albinus <michael.albinus@gmx.de>
7589
7590 * files.el (copy-directory): Set directory attributes only in case
7591 they could be retrieved from the source directory. (Bug#9565)
7592
bfeef8b6
DK
75932011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7594
7595 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7596 (hs-find-block-beginning, hs-hide-level-recursive):
7597 Ignore strings as well as comments. (Bug#9502)
7598
7e423bb8
AS
75992011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7600
7601 * progmodes/sql.el (sql-comint-postgres):
7602 Convert port number to a string. (Bug#9566)
7603
b4d72fcf
MR
76042011-09-22 Martin Rudalics <rudalics@gmx.at>
7605
7606 * window.el (quit-window): Undedicate window when switching to
7607 previous buffer. Reported by Thierry Volpiatto
7608 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7609 (special-display-popup-frame): When popping up a new frame reset
7610 its previous buffers to nil. Simplify code.
b4d72fcf 7611
a7b88dc6
MA
76122011-09-21 Michael Albinus <michael.albinus@gmx.de>
7613
7614 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7615 and process filter, as done also in `shell-command'.
7616
cf4eacfd
MR
76172011-09-21 Martin Rudalics <rudalics@gmx.at>
7618
eca3f3ea 7619 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7620 Call set-window-start with NOFORCE argument t.
7621 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7622 (quit-window): Reword doc-string. Handle new format of
7623 quit-restore parameter. Don't delete window if it has a
7624 previous buffer we can show instead of the present one.
7625 (display-buffer-record-window): Rewrite using a new format for
7626 the quit-restore window parameter
7627 (special-display-popup-frame, display-buffer-same-window)
7628 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7629 (display-buffer-pop-up-window, display-buffer-use-some-window):
7630 Adapt symbol passed to display-buffer-record-window.
7631 * help.el (help-window-setup): Handle new format of quit-restore
7632 parameter.
7633
8d28cb95
SM
76342011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7635
94ab793f
SM
7636 * faces.el (face-list): Fix docstring (bug#9564).
7637
8d28cb95
SM
7638 * window.el (display-buffer--action-function-custom-type):
7639 Don't include internal functions in the Custom interface.
7640
3820edeb
JL
76412011-09-20 Juri Linkov <juri@jurta.org>
7642
7643 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7644 (Info-forward-node, Info-backward-node, Info-next-preorder)
7645 (Info-last-preorder): Use it. (Bug#9528)
7646
5147931d
JL
76472011-09-20 Juri Linkov <juri@jurta.org>
7648
7649 * info.el (Info-last-preorder): Visit last menu item only when
7650 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7651
cf499a1a
JD
76522011-09-20 Julien Danjou <julien@danjou.info>
7653
7654 * password-cache.el (password-cache-remove): Remove entries even if the
7655 value is nil, so that password with a nil value (negative caching) is
7656 possible to invalidate.
7657
f84e2fe2
LM
76582011-09-20 Lawrence Mitchell <wence@gmx.li>
7659
7660 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7661 all whitespace around breakpoint. (Bug#9553)
7662 (f90-find-breakpoint): Only break at whitespace inside a comment.
7663
78054a46
SM
76642011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * minibuffer.el (completion-file-name-table): Keep track of errors.
7667 (completion-table-with-predicate): Handle the case where pred1 is nil.
7668 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7669
345083b2
SM
76702011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7671
e24e27be
SM
7672 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7673 (debugger-return-value): Signal an error if the debugging context does
7674 not await any return value.
7675
345083b2
SM
7676 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7677 * image-mode.el (image-toggle-display-text)
7678 (image-toggle-display-image): Stay away from evil `intangible'.
7679
08d355e3
LL
76802011-09-19 Leo Liu <sdl.web@gmail.com>
7681
7682 * replace.el (occur-revert-arguments): Make it permanent-local.
7683 (occur-mode): Don't call font-lock-defontify.
7684
f01da43f
CY
76852011-09-19 Chong Yidong <cyd@stupidchicken.com>
7686
7687 * net/ldap.el (ldap-search-internal): Don't push empty search
7688 result (Bug#9508).
7689
b6072fa6
SM
76902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7693
443d6696
MA
76942011-09-19 Michael Albinus <michael.albinus@gmx.de>
7695
7696 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7697 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7698
7cc6e154
JL
76992011-09-18 Juri Linkov <juri@jurta.org>
7700
7701 * buff-menu.el (Buffer-menu-mode-map):
7702 * dired.el (dired-mode-map):
7703 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7704 (lisp-interaction-mode-map):
7705 * emacs-lisp/package.el (package-menu-mode-map):
7706 * epa.el (epa-key-list-mode-map):
7707 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7708 (menu-bar-options-menu):
7709 * outline.el (outline-mode-menu-bar-map):
7710 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7711 * vc/vc-dir.el (vc-dir-menu-map):
7712 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7713 Capitalize non-function content words in menu item strings.
7714
7715 * dired.el (dired-mode-map): Add menu item for
7716 `image-dired-dired-toggle-marked-thumbs'.
7717
80302a81
JL
77182011-09-18 Juri Linkov <juri@jurta.org>
7719
7720 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7721 to `isearch-case-fold-search' and restore its original value
7722 after the `isearch-mode' call.
7723
46c5cf66
JL
77242011-09-18 Juri Linkov <juri@jurta.org>
7725
7726 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7727 because `zgrep' returns 1 for successful matches (bug#9226).
7728
d18b513b
JL
77292011-09-18 Juri Linkov <juri@jurta.org>
7730
7731 * info.el (Info-extract-menu-node-name): Check the second match
7732 for empty string (second test-case of bug#9528).
7733 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7734 intermediate nodes to the history (first test-case of bug#9528).
7735
72753f87
JL
77362011-09-18 Juri Linkov <juri@jurta.org>
7737
7738 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7739 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7740
c9384295
JL
77412011-09-18 Juri Linkov <juri@jurta.org>
7742
1154d12e
JB
7743 * info.el (Info-file-supports-index-cookies):
7744 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7745 outputs one more line for long file names (bug#4142).
c9384295 7746
d473dce8
CY
77472011-09-18 Chong Yidong <cyd@stupidchicken.com>
7748
7749 * newcomment.el (comment-normalize-vars): If prompting for
7750 comment-start, set comment-start-skip too (Bug#8424).
7751
2176854d
JB
77522011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7753
7754 * icomplete.el: Fix previous fix of Bug#5849.
7755 (icomplete-mode): Don't set completion-show-inline-help.
7756 (icomplete-minibuffer-setup): Set completion-show-inline-help
7757 locally during icompletion.
7758
3aace4e4
CY
77592011-09-18 Chong Yidong <cyd@stupidchicken.com>
7760
c940224f
CY
7761 * woman.el (woman2-process-escapes): Don't delete unrecognized
7762 escapes (Bug#7843).
7763
3aace4e4
CY
7764 * files.el (inhibit-first-line-modes-regexps): Add image files.
7765 (hack-local-variables-prop-line): Return nil for malformed
7766 prop-lines (Bug#9044).
7767
710dec63
MA
77682011-09-18 Michael Albinus <michael.albinus@gmx.de>
7769
7770 * net/tramp.el (top): Don't require 'shell.
7771 (tramp-methods): Fix docstring.
7772 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7773 Return complete remote file name. Handle "smb" case.
7774 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7775 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7776
7777 * net/tramp-compat.el (top): Require 'shell.
7778
7779 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7780 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7781 `tramp-current-host'.
7782 (tramp-get-remote-tmpdir): Remove.
7783
7784 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7785 `tramp-tmpdir' entries.
7786 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7787 (tramp-smb-handle-file-attributes): Ignore errors.
7788 (tramp-smb-wait-for-output): Check also for process end.
7789
5d5ac8ec
LMI
77902011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7791
7792 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7793 when sending QUIT (bug#9312).
7794
8c0f49f0
CY
77952011-09-17 Chong Yidong <cyd@stupidchicken.com>
7796
7797 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7798 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7799 occur-mode-display-occurrence.
7800 (occur-edit-mode): Add usage message.
7801 (occur-cease-edit): New command.
7802 (occur-after-change-function): Use text properties to find the
7803 position of the prefix text.
7804 (occur-engine): Set stickiness of prefix text properties.
7805
8f1383f7
GM
78062011-09-17 Glenn Morris <rgm@gnu.org>
7807
7808 * progmodes/etags.el (complete-tag):
7809 Fix call to completion-in-region. (Bug#9526)
7810
744ba0e3
JL
78112011-09-17 Juri Linkov <juri@jurta.org>
7812
7813 * textmodes/ispell.el (ispell-word): Add to the error message
7814 the word, ispell program name and current dictionary (bug#9121).
7815 (ispell-tex-arg-end): Capitalize "error" in the error message.
7816
d9bbf400
AS
78172011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7818
7819 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7820 check. (Bug#4251)
7821
8da11505
JL
78222011-09-17 Juri Linkov <juri@jurta.org>
7823
7824 * window.el (window-safe-min-height, window-safe-min-width):
7825 Fix typos (followup to bug#9522).
7826
a91adc7e
SJ
78272011-09-17 Sven Joachim <svenjoac@gmx.de>
7828
7829 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7830
064f328a
EZ
78312011-09-16 Eli Zaretskii <eliz@gnu.org>
7832
7833 * simple.el (line-move): If goal-column is set, move by logical
7834 lines, not by display lines. (Bug#971)
7835 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7836 to reflect the above change.
7837
e69df516
SM
78382011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * image.el (imagemagick-register-types): Use regexp-opt.
7841
cbb0f9ab
CY
78422011-09-15 Chong Yidong <cyd@stupidchicken.com>
7843
7844 * window.el (display-buffer-base-action): Rename from
7845 display-buffer-default-action. Make default value empty.
7846 (display-buffer-overriding-action): Convert to defvar.
7847 (display-buffer-fallback-action): New var.
7848
25322144
CY
78492011-09-15 Chong Yidong <cyd@stupidchicken.com>
7850
7851 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7852 declaration.
7853 (package--add-to-archive-contents): If there is a duplicate entry
7854 with an older version, remove it.
7855 (package-menu-mark-delete, package-menu-mark-install)
7856 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7857 (package-menu-mark-obsolete-for-deletion):
7858 Use package-menu-get-status instead of a regexp search.
25322144
CY
7859 (package-menu-get-status): Use tabulated-list-entry.
7860 (package-menu-mark-upgrades): New command.
d770725a 7861 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7862 (package-menu-execute): Do installation before deletion.
7863 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7864 instead of checking major-mode.
7865 (package-menu--find-upgrades): New function.
7866
7520339c
LMI
78672011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7868
7869 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7870 passwords in the log buffer.
65a046c4
LMI
7871 (smtpmail-process-filter): Update the process marker so that the
7872 "broken by peer" status message is inserted in the right place.
7520339c 7873
d3c30954
SM
78742011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7875
3fe48822
SM
7876 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7877 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7878 bibtex-completion-at-point-function.
7879 (bibtex-completion-at-point-function): Use them.
7880
1b8b3954
SM
7881 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7882
d3c30954
SM
7883 * mpc.el (mpc-constraints-tag-lookup): New function.
7884 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7885 also to browser "album|playlist".
7886
72779976
JL
78872011-09-14 Juri Linkov <juri@jurta.org>
7888
7889 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7890 (isearch-edit-string): Use length of `isearch-string' when
7891 `isearch-fail-pos' returns nil.
7892 (isearch-message): Remove duplicate code and call
7893 `isearch-fail-pos' with arg `t'.
7894
a0bf2bcd
CY
78952011-09-14 Chong Yidong <cyd@stupidchicken.com>
7896
17bb0a2d
CY
7897 * replace.el (occur-mode-goto-occurrence): Don't force using other
7898 window (Bug#9499).
7899
a0bf2bcd
CY
7900 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7901
f678e0b6
MR
79022011-09-14 Martin Rudalics <rudalics@gmx.at>
7903
7904 * window.el (display-buffer-window): Remove.
7905 (display-buffer-record-window): Use help-setup window parameter
7906 instead of variable display-buffer-window.
7907 (display-buffer-function, special-display-buffer-names)
7908 (special-display-function): Mention help-setup parameter instead
7909 of display-buffer-window in doc-string.
d3c30954
SM
7910 * help.el (help-window-setup): New argument help-window.
7911 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7912 Reword some messages.
7913 (with-help-window): Pass window used for displaying the buffer
7914 to help-window-setup. Don't set display-buffer-window.
7915
8e39b2e8
GM
79162011-09-13 Glenn Morris <rgm@gnu.org>
7917
7918 * emacs-lisp/debug.el (debugger-make-xrefs):
7919 Preserve point. (Bug#9462)
7920
85e9c04b
CY
79212011-09-13 Chong Yidong <cyd@stupidchicken.com>
7922
7923 * window.el (window-deletable-p): Use next-frame.
7924
1b36ed6a
MR
79252011-09-13 Martin Rudalics <rudalics@gmx.at>
7926
7927 * window.el (window-auto-delete): Remove.
7928 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7929 dedication and previous buffers.
1b36ed6a
MR
7930 (switch-to-prev-buffer): Don't delete window.
7931 (delete-windows-on): Delete a window's frame if and only if the
7932 window is dedicated.
7933 (replace-buffer-in-windows): Delete buffer's window or frame if
7934 and only if window is dedicated.
7935 (quit-window): Handle quit-restore as before last change.
4d61f28d 7936 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7937
ef8ef9fb
CY
79382011-09-13 Chong Yidong <cyd@stupidchicken.com>
7939
7940 * window.el (window-deletable-p): Never delete the last frame on a
7941 given terminal.
7942
b2cba41e
GM
79432011-09-13 Glenn Morris <rgm@gnu.org>
7944
7945 * help.el (describe-key-briefly): Copy previous standard-output change.
7946
51553db6 79472011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7948
7949 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7950
b7556719
GM
79512011-09-13 Glenn Morris <rgm@gnu.org>
7952
7953 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7954 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7955
64b51947
CY
79562011-09-12 Chong Yidong <cyd@stupidchicken.com>
7957
7958 * dired-aux.el (dired-mark-read-string): Don't return default
7959 value on empty input (Bug#9361).
7960 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7961 Omit initial minibuffer contents.
7962 (dired-do-chmod): Signal an error on empty input.
7963 (dired-mark-read-string): Don't return default on empty input.
7964
7965 * files.el (file-modes-symbolic-to-number): Doc fix.
7966
393a301e
SM
79672011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * international/mule-cmds.el (ucs-completions): Remove.
7970 (read-char-by-name): Use complete-with-action instead; add metadata.
7971
fa5660f9
CY
79722011-09-11 Chong Yidong <cyd@stupidchicken.com>
7973
7974 * window.el (display-buffer--action-function-custom-type)
7975 (display-buffer--action-custom-type): New vars.
7976 (display-buffer-alist, display-buffer-default-action)
7977 (display-buffer-overriding-action): Add defcustom types.
7978
4a592f66
CY
7979 * frame.el (delete-other-frames): Doc fix (Bug#276).
7980
73d56dbd
LMI
79812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7982
7983 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7984
37ac18a3
CY
79852011-09-11 Chong Yidong <cyd@stupidchicken.com>
7986
7987 Change modes that used same-window-* vars to use switch-to-buffer.
7988
7989 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7990 Use switch-to-buffer.
7991
7992 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7993 (customize-browse, custom-buffer-create-other-window):
7994 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7995
7996 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7997 (Info-prev, Info-up, Info-speedbar-goto-node)
7998 (info-display-manual): Use switch-to-buffer.
7999 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8000
8001 * mail/sendmail.el (mail): Use switch-to-buffer.
8002 (mail-recover): Use switch-to-buffer-other-window.
8003
8004 * cmuscheme.el (run-scheme, switch-to-scheme):
8005 * ielm.el (ielm):
8006 * shell.el (shell):
8007 * net/rlogin.el (rlogin):
8008 * net/telnet.el (telnet, rsh):
8009 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8010
10195bd6
AS
80112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8012
8013 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8014
b322f63a
LMI
80152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016
39d7fed6
LMI
8017 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8018 so don't mention it (bug#9301).
ba5a81f1 8019 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8020
ee0e9f11
LMI
8021 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8022 match `x', `w32' and `ns', like the manual says (bug#9029).
8023
0b1c89c1 8024 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8025 (process-kill-buffer-query-function): Mention the buffer name in
8026 the query.
0b1c89c1 8027
77549ea8
LMI
8028 * image-mode.el (image-next-line): The line parameter is mandatory
8029 (bug#9258).
8030
803ef892
LMI
8031 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8032 which can be useful (bug#9301).
8033
12980837
LMI
8034 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8035
91054f8f
LMI
8036 * subr.el (match-string): Mention that the current buffer should
8037 be the same as the search was done in (bug#9282).
8038
b322f63a
LMI
8039 * facemenu.el: Disable the remove-* commands if the mark isn't
8040 active (bug#9162).
8041
3199b96f
CY
80422011-09-10 Chong Yidong <cyd@stupidchicken.com>
8043
8044 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8045 of display-buffer.
8046 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8047
8048 * replace.el (occur-mode-goto-occurrence)
8049 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8050 and display-buffer.
8051
8052 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8053 display-buffer.
8054
8055 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8056 special-display and same-window variables.
8057 (mail-other-window): Use switch-to-buffer-other-window.
8058 (mail-other-frame): USe switch-to-buffer-other-frame.
8059
393a301e
SM
8060 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8061 Use display-buffer-other-frame.
3199b96f
CY
8062 (gdb-display-gdb-buffer): Use pop-to-buffer.
8063
8064 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8065
8066 * progmodes/python.el: Don't set same-window-buffer-names.
8067
8068 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8069
8070 * window.el (display-buffer-alist): Add *Python*.
8071
8319e0bf
CY
80722011-09-10 Chong Yidong <cyd@stupidchicken.com>
8073
8074 * window.el (display-buffer-alist): Add entry for buffers
8075 previously handled same-window-*.
8076 (display-buffer-alist, display-buffer-default-action)
8077 (display-buffer-overriding-action): Mark as risky.
8078 (display-buffer-alist): Document action function changes.
8079 (display-buffer--same-window-action)
8080 (display-buffer--other-frame-action): New variables.
8081 (switch-to-buffer, display-buffer-other-frame): Use them.
8082 (display-buffer): Rename reuse-frame entry to reusable-frames.
8083 (display-buffer-reuse-selected-window): Function deleted.
8084 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8085 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8086 (display-buffer-special): New function.
8087 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8088 display-buffer-reuse-or-pop-window. Split off special-display
8089 part into display-buffer-special.
8090 (display-buffer-use-some-window): Don't perform any special
8091 pop-up-frames handling.
8092 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8093 (display-buffer--maybe-same-window): Rename from
0d3ff375 8094 display-buffer-maybe-same-window.
8319e0bf 8095
919a69aa
CY
8096 * info.el: Don't set same-window-regexps.
8097 (info-setup): New function.
8098 (info-other-window, info): Call it.
8099
8100 * cus-edit.el: Don't set same-window-regexps.
8101 (customize-group): New argument.
8102 (customize-group-other-window): Use it.
8103 (customize-face, customize-face-other-window): Likewise.
8104 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8105
8319e0bf
CY
8106 * net/rlogin.el:
8107 * net/telnet.el:
8108 * progmodes/gud.el: Don't set same-window-regexps.
8109
8110 * cmuscheme.el:
8111 * ielm.el:
8112 * shell.el:
8113 * mail/sendmail.el:
8114 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8115
25173000
JL
81162011-09-10 Juri Linkov <juri@jurta.org>
8117
8118 * isearch.el (isearch-edit-string): Remove obsolete mention of
8119 `C-w' (`isearch-yank-word-or-char') from docstring.
8120 (isearch-query-replace): Fix typo in docstring (bug#9466).
8121
056e44ef
JL
81222011-09-10 Juri Linkov <juri@jurta.org>
8123
8124 * paren.el (show-paren-function): Don't show escaped parens.
8125 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8126
c3760c17
EZ
81272011-09-10 Eli Zaretskii <eliz@gnu.org>
8128
8129 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8130 (mm-default-file-encoding): Remove autoload forms, they are
8131 replaced with autoload cookies in mml.el and mm-encode.el.
8132 (mail-add-attachment): New command.
8133 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8134 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8135 the doc string.
8136 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8137
fece895e
RT
81382011-09-10 Reuben Thomas <rrt@sc3d.org>
8139
e69df516
SM
8140 * simple.el (count-words-region): Use buffer if there's no region
8141 (bug#9429).
fece895e 8142
5e68ce4a
JL
81432011-09-09 Juri Linkov <juri@jurta.org>
8144
8145 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8146 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8147 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8148
0a6b9622
AM
81492011-09-09 Alan Mackenzie <acm@muc.de>
8150
8151 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8152 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8153
14a29deb
EZ
81542011-09-09 Eli Zaretskii <eliz@gnu.org>
8155
8156 Fix for Savannah bug#9392.
8157 * simple.el (mail-encode-mml): New defvar.
8158
8159 * mail/rmail.el (mail-encode-mml): Add a defvar.
8160 (rmail-enable-mime-composing): Default to t.
8161 (rmail-forward): Use MIME method of forwarding only if both
8162 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8163 Set mail-encode-mml non-nil if the MIME method was used.
8164
8165 * mail/sendmail.el (mml-to-mime): Add autoload form.
8166 (mail-encode-mml): Add a defvar.
8167 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8168 to nil.
8169 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8170 message through mml-to-mime, and reset mail-encode-mml to nil.
8171
28c45130
GM
81722011-09-09 Glenn Morris <rgm@gnu.org>
8173
8174 * woman.el (woman-if-body): When processing an .el block,
8175 do not delete the next .el block as well. (Bug#9447)
69f4b618 8176 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8177
9b1c252e
MR
81782011-09-08 Martin Rudalics <rudalics@gmx.at>
8179
8180 * window.el (window-deletable-p): Make sure window is live before
8181 invoking window-prev-buffers.
8182
567457e3
LL
81832011-09-08 Leo Liu <sdl.web@gmail.com>
8184
8185 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8186
97f05794
JL
81872011-09-08 Juri Linkov <juri@jurta.org>
8188
8189 * progmodes/compile.el (compilation-environment): Make it
8190 a defcustom (bug#8340).
8191
8b0874b5
MR
81922011-09-08 Martin Rudalics <rudalics@gmx.at>
8193
8194 * window.el (frame-auto-delete): Rename to window-auto-delete.
8195 Make it control auto-deletion of windows and/or frames.
8196 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8197 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8198 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8199 Rewrite handling of case when window/frame can be deleted.
8200 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8201 argument t. (Bug#9456)
8b0874b5 8202
4feb6e73
CY
82032011-09-07 Chong Yidong <cyd@stupidchicken.com>
8204
8205 * help-mode.el (help-mode): Restore autoload.
8206
91ab9c13
JL
82072011-09-07 Juri Linkov <juri@jurta.org>
8208
8209 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8210 `compilation-environment'. Set buffer-local
8211 `compilation-environment' to `thisenv' later after (funcall mode).
8212 (Bug#8340)
8213
8214 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8215 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8216 instead of replacing its value. (Bug#8340)
8217
0527e251
JL
82182011-09-07 Juri Linkov <juri@jurta.org>
8219
8220 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8221 based on text properties put by `grep-filter' instead of matching
8222 escape sequences.
8223 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8224 to the value of `grep-error-screen-columns' (bug#9438).
8225
249f792c
JL
82262011-09-07 Juri Linkov <juri@jurta.org>
8227
8228 * simple.el (next-error-highlight, next-error-highlight-no-select):
8229 Doc fix (bug#9432).
8230
ff7271b9
OT
82312011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8232
8233 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8234 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8235
183fc730
LL
82362011-09-07 Leo Liu <sdl.web@gmail.com>
8237
8238 * net/rcirc.el (rcirc-mode): Conditionally initialize
8239 rcirc-input-ring.
8240
77694924
SM
82412011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * emacs-lisp/find-func.el (find-function-C-source): Only set
8244 find-function-C-source-directory after checking that we found a source
8245 file there (bug#9440).
8246
d809b8eb
AM
82472011-09-06 Alan Mackenzie <acm@muc.de>
8248
8249 * isearch.el (isearch-other-meta-char): Wherever a key list is
8250 unread, "unread" the prefix arg, too. This fixes bug #8901.
8251
453de99f
OG
82522011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8253
8254 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8255
90439906
JL
82562011-09-05 Juri Linkov <juri@jurta.org>
8257
8258 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8259
f62bd846
JL
82602011-09-05 Juri Linkov <juri@jurta.org>
8261
8262 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8263 keeping point where processing of grep matches begins, and
8264 continue to delete remaining escape sequences from the same point.
8265 (grep-filter): Make leading zero optional in "0?1;31m" because
8266 git-grep emits "\033[1;31m" escape sequences unlike expected
8267 "\033[01;31m" as GNU Grep does (bug#9408).
8268 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8269
045820ec
JL
82702011-09-05 Juri Linkov <juri@jurta.org>
8271
8272 * subr.el (y-or-n-p): Capitalize "yes".
8273
f5e29b9b
MA
82742011-09-04 Michael Albinus <michael.albinus@gmx.de>
8275
8276 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8277 `tramp-cache-unload-hook' where appropriate.
8278 (tramp-methods): Rename `tramp-remote-sh' to
8279 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8280 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8281
8282 * net/tramp-sh.el (top): Don't require 'shell.
8283 (tramp-methods): Add `tramp-remote-shell' and
8284 `tramp-remote-shell-args' entries.
8285 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8286 (tramp-sh-handle-shell-command): Remove.
8287 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8288 Use `tramp-remote-shell'.
8289
2784c434
CY
82902011-09-03 Chong Yidong <cyd@stupidchicken.com>
8291
393a301e 8292 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8293 (sendmail-query-once): Save directly to send-mail-function.
8294 Update message-send-mail-function too.
8295
8296 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8297
464cdf56
CS
82982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8299
8300 * progmodes/python.el (python-mode-map): Use correct function to
8301 start python interpreter from menu-bar (as reported by Geert
8302 Kloosterman).
8303 (inferior-python-mode-map): Fix typo.
393a301e 8304 (python-shell-map): Remove.
464cdf56 8305
d37e5c87
DD
83062011-09-03 Deniz Dogan <deniz@dogan.se>
8307
8308 * net/rcirc.el (rcirc-print): Simplify code for
8309 rcirc-scroll-show-maximum-output. There is no need to walk
8310 through all windows to find the right one.
8311
f3ada0ee
CS
83122011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8313
8314 * help.el (help-return-method): Doc fix.
8315
1f3c99ca
MR
83162011-09-03 Martin Rudalics <rudalics@gmx.at>
8317
8318 * window.el (window-deletable-p): Don't return a non-nil value
8319 when there's a buffer that was shown in the window before.
8320 (Bug#9419)
393a301e
SM
8321 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8322 Set window's previous buffers to nil.
1f3c99ca 8323
a3cf097f
EZ
83242011-09-03 Eli Zaretskii <eliz@gnu.org>
8325
8326 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8327 newline before and after the tag line, so it doesn't interfere
8328 with determining the paragraph direction of bidirectional text.
8329
3d03de90
LL
83302011-09-03 Leo Liu <sdl.web@gmail.com>
8331
8332 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8333
c3313451
CY
83342011-09-02 Chong Yidong <cyd@stupidchicken.com>
8335
393a301e 8336 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8337 (pop-to-buffer): Change interactive spec. Pass second argument
8338 directly to display-buffer.
8339 (display-buffer): Fix interactive spec. Use functionp to
8340 distinguish between a function and a list of functions.
8341
8342 * abbrev.el (edit-abbrevs):
8343 * arc-mode.el (archive-extract):
8344 * autoinsert.el (auto-insert):
8345 * bookmark.el (bookmark-bmenu-list):
8346 * files.el (find-file):
8347 * view.el (view-buffer):
8348 * progmodes/compile.el (compilation-goto-locus):
8349 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8350
89894cd8
CY
83512011-09-02 Chong Yidong <cyd@stupidchicken.com>
8352
8353 * window.el (display-buffer-alist): Doc fix.
8354 (display-buffer): Add docstring. Don't treat
8355 display-buffer-default specially.
8356 (display-buffer-reuse-selected-window)
8357 (display-buffer-same-window, display-buffer-maybe-same-window)
8358 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8359 (display-buffer-pop-up-window)
8360 (display-buffer-reuse-or-pop-window)
8361 (display-buffer-use-some-window): New functions.
8362 (display-buffer-default-action): Use them.
393a301e 8363 (display-buffer-default): Delete.
89894cd8
CY
8364 (pop-to-buffer-1): Fix choice of actions.
8365
ae0bc9fb
SM
83662011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8367
8368 * minibuffer.el (completion--insert-strings): Don't get confused by
8369 completion entries that end with an LF char.
8370
e9d90883
EZ
83712011-09-01 Eli Zaretskii <eliz@gnu.org>
8372
8373 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8374
437014c8
CY
83752011-09-01 Chong Yidong <cyd@stupidchicken.com>
8376
8377 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8378 (display-buffer-same-window, display-buffer-other-window):
8379 New functions.
437014c8
CY
8380 (pop-to-buffer-1): New function. Use the above.
8381 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8382 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8383
8384 * view.el (view-buffer-other-window, view-buffer-other-frame):
8385 Just use pop-to-buffer.
8386
a5e063d5
TV
83872011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8388
8389 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8390
793d32bb
WH
83912011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8392
8393 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8394
d65e4c15
RS
83952011-08-31 Richard Stallman <rms@gnu.org>
8396
8397 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8398 of the separation of rmail-view-buffer from rmail-buffer.
8399 If you say no to "replace original", the decrypt is in the
8400 view buffer. If you say yes, the decrypt goes into the
8401 rmail buffer also.
8402
f818cd2a
MR
84032011-08-31 Martin Rudalics <rudalics@gmx.at>
8404
8405 * window.el (display-buffer-window): Rewrite doc-string.
8406 (display-buffer-record-window): New function.
8407 (display-buffer-macro-specifiers)
8408 (display-buffer-even-window-sizes, display-buffer-set-height)
8409 (display-buffer-set-width, display-buffer-in-window)
8410 (display-buffer-reuse-window, display-buffer-split-specifiers)
8411 (display-buffer-side-specifiers, display-buffer-split-window-1)
8412 (display-buffer-split-window, display-buffer-split-atom-window)
8413 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8414 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8415 (display-buffer-other-window-means-other-frame)
8416 (display-buffer-normalize-special)
8417 (display-buffer-normalize-default)
8418 (display-buffer-normalize-argument)
8419 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8420 (display-buffer-normalize-specifiers, display-buffer-frame)
8421 (display-buffer-same-window, display-buffer-same-frame)
8422 (display-buffer-other-window)
8423 (display-buffer-same-frame-other-window)
8424 (display-buffer-other-frame, pop-to-buffer-same-window)
8425 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8426 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8427 (switch-to-buffer-same-frame)
8428 (switch-to-buffer-other-window-same-frame)
8429 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8430 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8431 (display-buffer-alist-set): Remove.
8432 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8433 (special-display-regexps, special-display-function):
8434 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8435 parameter.
8436 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8437 (special-display-frame-alist, special-display-popup-frame)
8438 (same-window-buffer-names, same-window-regexps, same-window-p)
8439 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8440 (split-window-preferred-function, split-height-threshold)
8441 (split-width-threshold, window-splittable-p)
8442 (split-window-sensibly, window--try-to-split-window)
8443 (window--frame-usable-p, even-window-heights)
8444 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8445 (window--display-buffer-2, display-buffer-other-frame):
8446 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8447 (display-buffer-default, display-buffer-assq-regexp): New functions.
8448 (display-buffer-alist): Rewrite doc-string.
8449 (display-buffer-default-action)
8450 (display-buffer-overriding-action): New variables.
8451 (display-buffer, switch-to-buffer): Rewrite.
8452 (pop-to-buffer): Restore Emacs 23 behavior but use
8453 window-normalize-buffer-to-display.
8454 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8455 Restore Emacs 23 behavior but use
8456 window-normalize-buffer-to-switch-to.
8457 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8458 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8459 Rewrite using Emacs 23 options.
f818cd2a 8460
5bc3b51d
MA
84612011-08-31 Michael Albinus <michael.albinus@gmx.de>
8462
8463 * net/tramp.el (tramp-root-regexp): Remove.
8464 (tramp-completion-file-name-regexp-unified)
8465 (tramp-completion-file-name-regexp-separate)
8466 (tramp-completion-file-name-regexp-url): Don't use leading volume
8467 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8468 (tramp-drop-volume-letter): Simplify definition.
8469 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8470
b1a4f8e1
SM
84712011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8474 (bug#9356).
8475
5664fa7b
RT
84762011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8477
b1a4f8e1 8478 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8479
9a45d6c3
JL
84802011-08-29 Juri Linkov <juri@jurta.org>
8481
8482 * isearch.el (isearch-done): Don't display message "Mark saved"
8483 when arg `edit' is non-nil to prevent its flicker in the echo area.
8484
fb87e0fb
CY
84852011-08-28 Chong Yidong <cyd@stupidchicken.com>
8486
8487 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8488 obsolete packages for deletion.
8489
09ac1c2a
CS
84902011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8491
8492 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8493 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8494 view-mode from help-mode.
8495 (help-xref-override-view-map): Remove.
8496 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8497 view-mode is not used anymore.
8498
7a1ff57f
CY
84992011-08-28 Chong Yidong <cyd@stupidchicken.com>
8500
8501 * server.el (server-port): Doc fix.
8502
b9696605
CY
8503 * cus-theme.el (custom-theme-choose-mode): Inherit from
8504 special-mode (Bug#9124).
8505 (custom-theme-choose-mode-map): Add special-mode to parent.
8506
ef8cdf8c
AM
85072011-08-28 Alan Mackenzie <acm@muc.de>
8508
8509 * progmodes/cc-fonts.el
8510 (c-make-font-lock-BO-decl-search-function): New function.
8511 (c-basic-matchers-after - "Fontify the clauses after various
8512 keywords"): Extract the three keyword lists for the 3 erroneous
8513 constructs from the list of four, and use the new function above
8514 in place of an old one.
8515
27de4e20
DD
85162011-08-28 Deniz Dogan <deniz@dogan.se>
8517
8518 * net/rcirc.el (rcirc-insert-prev-input)
8519 (rcirc-insert-next-input): Remove unused argument.
8520
356a3681
SM
85212011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8524
3fc9b218
AM
85252011-08-27 Alan Mackenzie <acm@muc.de>
8526
8527 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8528 handle function pointer parameters properly.
8529
538a061c
MR
85302011-08-27 Martin Rudalics <rudalics@gmx.at>
8531
8532 * window.el (display-buffer-reuse-window): Fix case where
8533 selected window was reused with non-nil OTHER-WINDOW argument.
8534 (Bug#9381)
8535
35b1c40c
DD
85362011-08-27 Deniz Dogan <deniz@dogan.se>
8537
8538 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8539 oftc's NickServ messages.
8540
2f6a3e79
GM
85412011-08-27 Glenn Morris <rgm@gnu.org>
8542
8543 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8544
7254299e
CY
85452011-08-26 Chong Yidong <cyd@stupidchicken.com>
8546
8547 * emacs-lisp/package.el (package-install): Call package-initialize
8548 if called interactively.
8549
f8ccf167
LL
85502011-08-26 Leo Liu <sdl.web@gmail.com>
8551
8552 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8553
3e8cd5ce
JL
85542011-08-25 Juri Linkov <juri@jurta.org>
8555
8556 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8557 `search-whitespace-regexp' (bug#9364).
8558
93eb7113
JL
85592011-08-25 Juri Linkov <juri@jurta.org>
8560
8561 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8562 `regexp-search-ring' to their global values to protect from
8563 updating by `read-from-minibuffer' (bug#9185).
8564
f65d1611
JL
85652011-08-25 Juri Linkov <juri@jurta.org>
8566
8567 * textmodes/ispell.el (ispell-command-loop): Add newline
8568 at the end of the "Use option `i'..." line.
8569
f1cf7a31
JL
85702011-08-25 Juri Linkov <juri@jurta.org>
8571
8572 * battery.el (display-battery-mode): If `battery-status-function'
8573 or `battery-mode-line-format' is nil, display the message and set
8574 `display-battery-mode' to nil (bug#9363).
8575
0c95fcf7
EZ
85762011-08-25 Eli Zaretskii <eliz@gnu.org>
8577
8578 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8579 bidi-string-mark-left-to-right; they are unnecessary now.
8580
a2ebe600
DD
85812011-08-25 Deniz Dogan <deniz@dogan.se>
8582
8583 * net/quickurl.el: Documentation typo fixes.
8584
e4ed06f1
CY
85852011-08-25 Chong Yidong <cyd@stupidchicken.com>
8586
8587 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8588
e5f1c99e
GM
85892011-08-25 Glenn Morris <rgm@gnu.org>
8590
b2948976
GM
8591 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8592
e5f1c99e
GM
8593 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8594 (smtpmail-via-smtp): Handle nil response from smtp.
8595
f22f4808
JL
85962011-08-24 Juri Linkov <juri@jurta.org>
8597
8598 * proced.el (proced-marked): Inherit from `error' instead of
8599 `font-lock-warning-face'.
8600
8601 * ibuffer.el (ibuffer-marked-face): Change default face from
8602 `font-lock-warning-face' to `warning'.
8603 (ibuffer-deletion-face): Change default face from
8604 `font-lock-type-face' to `error'.
8605
8606 * battery.el (battery-update): Use the face `error' instead of
8607 `font-lock-warning-face' (bug#6117).
8608
6a93965e
JL
86092011-08-24 Juri Linkov <juri@jurta.org>
8610
8611 * faces.el (success): Change face color from "Green3" to
8612 "ForestGreen" on light background (bug#9353).
8613
1ed43b09
CY
86142011-08-24 Chong Yidong <cyd@stupidchicken.com>
8615
5664fa7b
RT
8616 * window.el (quit-window): Rename from quit-restore-window.
8617 Use same arglist as old quit-window.
1ed43b09
CY
8618 (frame-auto-delete): Doc fix.
8619
8620 * view.el (view-mode-exit): Use quit-window.
8621
11dcdbb2
JL
86222011-08-24 Juri Linkov <juri@jurta.org>
8623
8624 * isearch.el (isearch-ring-adjust1): Start visiting previous
8625 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8626 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8627 for empty search string (when the last search string is reused
8628 automatically) to adjust the isearch ring to the last element and
8629 prepare the correct index for further M-p commands (bug#9185).
8630
de62b4df
KH
86312011-08-24 Kenichi Handa <handa@m17n.org>
8632
8633 * international/ucs-normalize.el: If decomposition property of
8634 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8635 nil.
8636 (nfd, nfkd): Likewise.
8637
963b492b
SM
86382011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8641 from process filters aren't reliably transmitted to the surrounding
8642 accept-process-output.
8643 (mpc-proc-check): New function.
8644 (mpc-proc-sync): Use it (bug#8293)
8645
93b6b5e1
SM
86462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8649 Add compatibility functions (bug#9313).
8650
bca633fb
EZ
86512011-08-23 Eli Zaretskii <eliz@gnu.org>
8652
b177498a
EZ
8653 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8654
6df6ae42 8655 * international/uni-bidi.el: Regenerate.
bca633fb 8656
0902a04e
KH
86572011-08-23 Kenichi Handa <handa@m17n.org>
8658
8659 * international/charprop.el:
8660 * international/uni-bidi.el:
8661 * international/uni-category.el:
8662 * international/uni-combining.el:
8663 * international/uni-comment.el:
8664 * international/uni-decimal.el:
8665 * international/uni-decomposition.el:
8666 * international/uni-digit.el:
8667 * international/uni-lowercase.el:
8668 * international/uni-mirrored.el:
8669 * international/uni-name.el:
8670 * international/uni-numeric.el:
8671 * international/uni-old-name.el:
8672 * international/uni-titlecase.el:
8673 * international/uni-uppercase.el: Regenerate.
8674
3bbf23bc
MR
86752011-08-23 Martin Rudalics <rudalics@gmx.at>
8676
8677 * help.el (help-window-setup): Fix message displayed when other
8678 window is reused. (Bug#9341)
8679
b3fd59bd
SM
86802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8681
1802e444
SM
8682 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8683 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8684
b3fd59bd
SM
8685 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8686 Mark obsolete.
8687 * shell.el (shell-parse-pcomplete-arguments): New function.
8688 (shell-completion-vars): Use it instead (bug#9160).
8689
4eb61348
SM
86902011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8691
867cab74
SM
8692 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8693 strings and comments (bug#9333).
8694
4eb61348
SM
8695 * emacs-lisp/debug.el (debug-arglist): New function.
8696 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8697 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8698
262a1439
JL
86992011-08-22 Juri Linkov <juri@jurta.org>
8700
56ee679c
JL
8701 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8702 Revert regexp that highlights output switches to its old
8703 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8704
262a1439
JL
8705 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8706 to check for empty output (bug#9226).
8707
f13f86fb
CY
87082011-08-22 Chong Yidong <cyd@stupidchicken.com>
8709
8710 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8711 symbol-constituent as the default, as that stops font-lock from
8712 working properly (Bug#8843).
8713
c65c9622
LMI
87142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8715
8716 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8717 `coding-system-for-*' around the process open call to avoid
8718 auth-source side effects.
e7f2c178 8719 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8720 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8721 probe hangs.
c65c9622 8722
23a8a5ab
CY
87232011-08-21 Chong Yidong <cyd@stupidchicken.com>
8724
ff98b2dd
CY
8725 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8726
23a8a5ab
CY
8727 * emacs-lisp/find-func.el (find-function-noselect): New arg
8728 lisp-only.
8729
8730 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8731 signal an error for built-in functions (Bug#6664).
8732
f5e3c598
LMI
87332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8734
8735 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8736 (smtpmail-try-auth-methods): Use it.
8737
a3f2468a
CY
87382011-08-21 Chong Yidong <cyd@stupidchicken.com>
8739
2c34e8da
CY
8740 * font-lock.el (font-lock-fontify-region)
8741 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8742 (font-lock-default-unfontify-buffer)
8743 (font-lock-default-fontify-region)
8744 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8745
b3fd59bd
SM
8746 * progmodes/compile.el (compilation-error-properties):
8747 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8748 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8749 `ant' regexp.
ee31aabc 8750
a3f2468a
CY
8751 * net/browse-url.el (browse-url-firefox): Don't call
8752 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8753
8e999f70
GM
87542011-08-20 Glenn Morris <rgm@gnu.org>
8755
c21a496a
GM
8756 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8757
59ee0542
GM
8758 * tutorial.el (tutorial--default-keys): Update some default bindings.
8759
8e999f70
GM
8760 * files.el (hack-local-variables): Fully ignore case for "mode:".
8761
e3715033
AM
87622011-08-20 Alan Mackenzie <acm@muc.de>
8763
8764 Resolve invalid use of a regexp in regexp-opt.
8765
4d61f28d
JB
8766 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8767 detection for a java annotation.
e3715033 8768
4d61f28d 8769 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8770 detection for a java annotation.
8771
4d61f28d
JB
8772 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8773 handling for java.
e3715033
AM
8774 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8775
04ed2e9c
CY
87762011-08-20 Chong Yidong <cyd@stupidchicken.com>
8777
8778 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8779 (Bug#9274).
8780
826cee64
AM
87812011-08-20 Alan Mackenzie <acm@muc.de>
8782
58179cce 8783 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8784 such a construct. Mainly for when jit-lock etc. starts a chunk
8785 here.
8786
58179cce 8787 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8788 variable.
58179cce 8789 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8790 c-make-font-lock-search-function.
8791 (c-make-font-lock-search-function): Use the above function.
8792 (c-make-font-lock-context-search-function): New function.
8793 (c-cpp-matchers): Enhance the preprocessor expression case with
8794 the above function
8795 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8796 which takes an expression.
8797
8798 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8799
13009bd8
MR
88002011-08-20 Martin Rudalics <rudalics@gmx.at>
8801
8802 * window.el (display-buffer-reuse-window)
8803 (display-buffer-pop-up-window): Don't reuse or split a side
8804 window.
8805
9234ff7f
GM
88062011-08-19 Glenn Morris <rgm@gnu.org>
8807
8808 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8809 Downcase "Mode:". (Bug#9331)
9234ff7f 8810
f635daa1
CY
88112011-08-18 Chong Yidong <cyd@stupidchicken.com>
8812
8813 * international/characters.el: Add L and R categories.
8814
8815 * subr.el (bidi-string-mark-left-to-right): Rename from
8816 string-mark-left-to-right. Use category search.
8817
8818 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8819
bc987f8b
JL
88202011-08-18 Juri Linkov <juri@jurta.org>
8821
8822 * faces.el (error, warning, success): New faces with definitions
8823 copied from old default values of `font-lock-warning-face',
8824 `compilation-warning', `compilation-info' (bug#6117).
8825
8826 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8827
8828 * progmodes/compile.el (compilation-error): Inherit from `error'.
8829 (compilation-warning): Inherit from `warning'.
8830 (compilation-info): Inherit from `success'.
8831
8832 * dired.el (dired-marked): Inherit from `warning'.
8833 (dired-flagged): Inherit from `error'.
8834
57173b96
LMI
88352011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8836
3e79eb87
LMI
8837 * mail/smtpmail.el (auth-source): Require to avoid problems with
8838 binding variables (bug#9298). Also clean up some unused
8839 autoloads.
8840
b3fd59bd
SM
8841 * net/network-stream.el (network-stream-open-starttls):
8842 Support using starttls.el without using gnutls-cli.
57173b96 8843
02b404de
JL
88442011-08-17 Juri Linkov <juri@jurta.org>
8845
8846 * progmodes/grep.el (rgrep): Handle the case when
8847 `grep-find-command' is a cons cell (bug#9278).
8848
8c9177f2
MR
88492011-08-17 Martin Rudalics <rudalics@gmx.at>
8850
8851 * window.el (display-buffer-pop-up-frame): Run frame creation
8852 function with BUFFER current (as special-display-popup-frame
8853 does). Reported by Drew Adams.
8854
3644a0ab
DU
88552011-08-17 Daiki Ueno <ueno@unixuser.org>
8856
8857 * epa-mail.el: Simplify GnuPG group expansion using
8858 epg-expand-group.
8859 (epa-mail-group-alist, epa-mail-group-modtime)
8860 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8861 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8862 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8863 Remove.
8864
5e617bc2 88652011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8866
8867 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8868
9c4aeabf
AM
88692011-08-16 Alan Mackenzie <acm@muc.de>
8870
8871 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8872 Correct, to avoid the inside of macros.
8873
3a99bf64
RS
88742011-08-16 Richard Stallman <rms@gnu.org>
8875
04963aa8
RS
8876 * epa-mail.el: Handle GnuPG group definitions.
8877 (epa-mail-group-alist, epa-mail-group-modtime)
8878 (epa-mail-gnupg-conf-file): New variables.
8879 (epa-mail-parse-groups, epa-mail-sync-groups)
8880 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8881 (epa-mail-expand-recipients): New functions.
8882 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8883
177549d0
RS
8884 * mail/rmail.el (rmail-epa-decrypt): New command.
8885
fe38beef
RS
8886 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8887 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8888 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8889 (epa-decrypt-armor-in-region): Make error message clearer.
8890
934eacb9
SM
88912011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8894 and "a2b" to "ab" for `prefix'.
8895
d024fb4e
CY
88962011-08-14 Chong Yidong <cyd@stupidchicken.com>
8897
8898 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8899 filter groups.
de148fee
CY
8900 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8901 Fourquet (Bug#8804).
d024fb4e 8902
62f1ca49
JB
89032011-08-12 Juanma Barranquero <lekktu@gmail.com>
8904
8905 * startup.el (argi): Declare as global variable (bug#9275).
8906
9ccaaa4b
CY
89072011-08-12 Chong Yidong <cyd@stupidchicken.com>
8908
8909 * subr.el (string-mark-left-to-right): Search the entire string
8910 for RTL script, not just the terminating character. Doc fix.
8911
a3dae87a
SM
89122011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8913
6cd18349
SM
8914 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8915 New function.
8916 (js--regexp-literal, js-syntax-propertize-function): Remove.
8917 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8918 (js-mode-map): Don't rebind electric keys.
8919 (js-insert-and-indent): Remove.
8920 (js-mode): Setup electric-layout and electric-indent instead.
8921
a3dae87a
SM
8922 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8923
9d5cb631
DU
89242011-08-12 Daiki Ueno <ueno@unixuser.org>
8925
8926 * epa.el (epa-progress-callback-function): Fix the logic of
8927 displaying progress.
8928 * epa-file.el (epa-file-insert-file-contents): Make progress
8929 display more user-friendly.
8930 (epa-file-write-region): Ditto.
8931
3e26a4a2
CY
89322011-08-10 Chong Yidong <cyd@stupidchicken.com>
8933
8934 * subr.el (string-mark-left-to-right): New function.
8935
8936 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8937 Use string-mark-left-to-right.
8938 (list-buffers-noselect): Caller changed.
8939
a3dae87a
SM
8940 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8941 Use string-mark-left-to-right.
3e26a4a2
CY
8942 (tabulated-list-print): Recenter after moving point.
8943
ac8cf6e6
JL
89442011-08-10 Juri Linkov <juri@jurta.org>
8945
8946 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8947 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8948 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8949
8d96c9a4
CY
89502011-08-09 Chong Yidong <cyd@stupidchicken.com>
8951
8952 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8953 (Bug#7554).
8954
7be1c708 89552011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8956
8957 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8958 character. (Bug#6594)
8959
37e11a63
CY
89602011-08-08 Chong Yidong <cyd@stupidchicken.com>
8961
839dde57
CY
8962 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8963 (image-dired--with-db-file): New macro.
8964 (image-dired-write-tags, image-dired-remove-tag)
8965 (image-dired-create-gallery-lists, image-dired-write-comments)
8966 (image-dired-get-comment, image-dired-mark-tagged-files)
8967 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8968 (image-dired-gallery-generate): Use insert-file-contents.
8969
37e11a63
CY
8970 * time.el (display-time-world-list, display-time-world-display):
8971 * time-stamp.el (time-stamp-string):
8972 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8973 set-time-zone-rule (Bug#7337).
8974
0b4946c4
DU
89752011-08-08 Daiki Ueno <ueno@unixuser.org>
8976
8977 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8978 (epg-error-to-string, epg-errors-to-string): New function.
8979 (epg-wait-for-completion): Reverse errors list.
8980 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8981 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8982 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8983 (epg-sign-keys, epg-generate-key-from-file)
8984 (epg-generate-key-from-string): Format errors by using
8985 epg-errors-to-string (bug#9255).
8986 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8987
75bfc667
JL
89882011-08-07 Juri Linkov <juri@jurta.org>
8989
8990 * faces.el (list-faces-display): Remove extra angle bracket
8991 from `help-mode-map'.
8992
8993 * info.el (Info-history-toc-nodes): Doc fix.
8994
8995 * longlines.el (longlines-mode): Doc fix.
8996
673e08bb
SM
89972011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8998
4640dd88
SM
8999 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9000 of statements and in a few more cases (bug#9183).
9001
673e08bb
SM
9002 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9003 New functions.
9004 (cl-transform-lambda): Use them (bug#9239).
9005
89b3f019
MR
90062011-08-05 Martin Rudalics <rudalics@gmx.at>
9007
9008 * window.el (display-buffer-same-window)
9009 (display-buffer-same-frame, display-buffer-other-window)
9010 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9011 (pop-to-buffer-other-window)
9012 (pop-to-buffer-same-frame-other-window)
9013 (pop-to-buffer-other-frame): Make them defuns.
9014 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9015
640c8776
SM
90162011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * subr.el (make-composed-keymap): Move from C. Change calling
9019 convention, and improve docstring to bring attention to a subtle point.
9020 * minibuffer.el (completing-read-default): Adjust accordingly.
9021
63648a95
MA
90222011-08-03 Michael Albinus <michael.albinus@gmx.de>
9023
9024 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9025 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9026
9027 * net/trampver.el: Update release number.
9028
b796c9b7
SM
90292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9032 "in" (bug#9190).
9033
2239d7d5
LMI
90342011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035
e07dd7c3
LMI
9036 * mail/sendmail.el (sendmail-query-once): Restore the current
9037 buffer after querying (bug#9074).
9038
0e6a2bd7
LMI
9039 * dired.el (dired-flagged): Use different faces for marked and
9040 flagged files (bug#6117).
9041
ce887515
LMI
9042 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9043 (bug#4433).
9044
92f2affc
LMI
9045 * ido.el (ido-mode): Switch off the message if called
9046 non-interactively.
9047
57d5aff0
LMI
9048 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9049 before 587, since it appears that that's more likely to work for
9050 more people.
9051
98cd6c18 9052 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9053 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9054 exist.
9055
b96dec83
LMI
9056 * info.el: Remove the `Info-beginning-of-buffer' function
9057 (bug#8325).
9058
b796c9b7
SM
9059 * net/network-stream.el (network-stream-open-starttls):
9060 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9061
d90e2ea0
MR
90622011-08-01 Martin Rudalics <rudalics@gmx.at>
9063
9064 * window.el (display-buffer-in-window): Don't set dedicated status
9065 of window here (Bug#9215).
9066 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9067 (display-buffer-pop-up-side-window)
b796c9b7 9068 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9069
cca09170
SM
90702011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9073 before binding generated-autoload-file.
9074
027b979c
DD
90752011-08-01 Deniz Dogan <deniz@dogan.se>
9076
9077 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9078
3c7ee4f3
MA
90792011-07-30 Michael Albinus <michael.albinus@gmx.de>
9080
9081 Sync with Tramp 2.2.2.
9082
9083 * net/trampver.el: Update release number.
9084
2cc8e51a
JL
90852011-07-30 Juri Linkov <juri@jurta.org>
9086
9087 * dired-aux.el (dired-touch-initial): Remove function.
9088 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9089 current time, and `default' to the last modification time of the
9090 current marked file (bug#6887).
9091
a514d856
JM
90922011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9093
9094 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9095 numeric argument to read-number (bug#9163).
a514d856 9096
8a7eddd7
MA
90972011-07-27 Michael Albinus <michael.albinus@gmx.de>
9098
9099 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9100 connection process, it could be nil.
9101
1ddd96f5
LL
91022011-07-27 Leo Liu <sdl.web@gmail.com>
9103
9104 Simplify url handling in rcirc-mode.
9105
9106 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9107 (rcirc-browse-url-at-mouse): Remove.
9108 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9109
b248a85d
AM
91102011-07-26 Alan Mackenzie <acm@muc.de>
9111
9112 Fontify bitfield declarations properly.
9113
9114 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9115 (c-symbol-chars): Now exported as a lang variable.
9116 (c-not-primitive-type-keywords): New lang variable.
9117
9118 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9119 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9120 parsed as a bitfield declaration.
b248a85d 9121
b796c9b7
SM
9122 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9123 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9124 (c-punctuation-in): New function.
9125 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9126 declarations properly.
9127
68575ab0
UJ
91282011-07-26 Ulf Jasper <ulf.jasper@web.de>
9129
9130 * calendar/icalendar.el (icalendar--all-events): Take care of
9131 multiple vcalendars in a single file.
b796c9b7 9132 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9133
0f0a88b9
DD
91342011-07-25 Deniz Dogan <deniz@dogan.se>
9135
9136 * image.el (insert-image): Clarifying docstring.
9137
0b3f36df
MA
91382011-07-24 Michael Albinus <michael.albinus@gmx.de>
9139
9140 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9141 `tramp-send-command-and-check' if there is no error.
9142 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9143
a9901f61
AM
91442011-07-22 Alan Mackenzie <acm@muc.de>
9145
9146 Prevent cc-langs.elc being loaded at run time.
9147
9148 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9149 cc-langs.
9150
4d61f28d 9151 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9152 "(require 'cc-langs)". Quote a form so it will evaluate at
9153 (cc-mode's) compilation time.
9154
11d074b2
MA
91552011-07-22 Michael Albinus <michael.albinus@gmx.de>
9156
9157 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9158 loading. (Bug#9114)
9159
938b94c8
MR
91602011-07-21 Martin Rudalics <rudalics@gmx.at>
9161
9162 * window.el (display-buffer-pop-up-window)
9163 (display-buffer-pop-up-side-window)
9164 (display-buffer-in-side-window): Call display-buffer-set-height
9165 and display-buffer-set-width after setting the new window's
b796c9b7 9166 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9167
bfa4f190
SS
91682011-07-20 Sam Steingold <sds@gnu.org>
9169
9170 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9171 (etags-tags-included-tables): Call `convert-standard-filename' on
9172 the file names contained in TAGS so that windows Emacs can handle
9173 TAGS files created by cygwin ctags.
9174
8ca42262
LMI
91752011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9176
9177 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9178 which apparently didn't work.
9179
5db2afd2 91802011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9181
5db2afd2
RW
9182 * proced.el (proced-send-signal): For *Marked Processes* buffer
9183 put point at beginning of buffer.
9184
92e15d10
SB
91852011-07-19 Stephen Berman <stephen.berman@gmx.net>
9186
9187 * proced.el (proced-format): Make header lines align with the text
9188 (bug#1779).
9189
1bfd59e5
LMI
91902011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9191
9192 * view.el (view-buffer): Allow running in `special' modes if we're
9193 visiting a file (bug#8615).
9194
f5aae37c
MR
91952011-07-19 Martin Rudalics <rudalics@gmx.at>
9196
9197 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9198 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9199 New functions.
f5aae37c
MR
9200 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9201 more accurately.
9202
bf2c1571
AM
92032011-07-18 Alan Mackenzie <acm@muc.de>
9204
9205 Fontify declarators properly when, e.g., a jit-lock chunk begins
9206 inside a declaration.
9207
9208 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9209
b796c9b7
SM
9210 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9211 New function.
bf2c1571
AM
9212 (c-complex-decl-matchers): Insert reference to
9213 c-font-lock-enclosing-decls.
9214
9215 * progmodes/cc-engine.el (c-backward-single-comment):
9216 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9217 to nil around calls to (forward-comment -1).
9218
4e190b80
LMI
92192011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9220
12dc863d
LMI
9221 * image.el (put-image): Doc typo fix.
9222
a762e966
LMI
9223 * progmodes/etags.el (tags-search): Doc typo fix.
9224
4e190b80
LMI
9225 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9226 password if we get errors 550 to 554.
9227
f019fb21
LMI
92282011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9229
b796c9b7 9230 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9231
81746738
LMI
9232 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9233 indentation character (bug#6380).
9234
3ee3a1b5
LMI
9235 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9236
c82f64de
LMI
9237 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9238 to clarify what the problem is (bug#4291).
9239
f019fb21
LMI
9240 * simple.el (current-kill): Clarify what
9241 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9242 (auto-fill-mode): Document `auto-fill-function' in relation to
9243 `auto-fill-mode' (bug#2470).
f019fb21 9244
0794775d
LM
92452011-07-16 Lawrence Mitchell <wence@gmx.li>
9246
9247 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9248 method if slot is read-only (bug#9035).
9249
be39b8cc
MR
92502011-07-16 Martin Rudalics <rudalics@gmx.at>
9251
b796c9b7 9252 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9253 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9254 selected before, see discussion of (Bug#8615), (Bug#6954).
9255 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9256
6ccf7859
GM
92572011-07-15 Glenn Morris <rgm@gnu.org>
9258
9259 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9260 Respect help-form.
6ccf7859 9261
87e86684
LM
92622011-07-09 Lawrence Mitchell <wence@gmx.li>
9263
9264 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9265 (gnutls-negotiate): Use it.
9266
d6066239
LMI
92672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
b796c9b7
SM
9269 * net/gnutls.el (gnutls-negotiate):
9270 Upcase `gnutls-algorithm-priority'.
d6066239 9271
bd23ebc0
GM
92722011-07-15 Glenn Morris <rgm@gnu.org>
9273
c65bca65
GM
9274 * jka-compr.el (jka-compr-verbose): Move from here...
9275 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9276 Add missing :version tag.
9277 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9278
478615cc
LMI
92792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9280
7b41decb
LMI
9281 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9282 (gnutls-negotiate): Use it.
9283
dbc44fcd
LMI
9284 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9285
06789f97
LMI
9286 * info.el (Info-beginning-of-buffer): New command.
9287 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9288 announcing `b' as the key (bug#8325).
ab896c37 9289 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9290
c39da690
LMI
9291 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9292
3aa5f34b
LMI
9293 * international/mule-cmds.el
9294 (describe-specified-language-support): Make the error message
9295 clearer (bug#8905).
9296
4bf0979f
LMI
9297 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9298
478615cc
LMI
9299 * isearch.el (isearch-barrier): Add a doc string, since it's
9300 mentioned in a function doc string (bug#8678).
9301
75c68aa1
MR
93022011-07-15 Martin Rudalics <rudalics@gmx.at>
9303
9304 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9305 buffer argument (Bug#9083) and self-identifying label argument.
9306
a7c33da2
GM
93072011-07-15 Glenn Morris <rgm@gnu.org>
9308
9309 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9310
2f5c6024
LMI
93112011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9312
9313 * man.el (Man-fontify-manpage): Fix message when formatting the
9314 man page (bug#7929).
9315
0bb23927 93162011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9317
9318 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9319 argument LRM; if non-nil, append an invisible LRM character to the
9320 buffer name.
9321 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9322 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9323 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9324 paragraph direction.
cce4b0a7 9325
621ef9ab
LMI
93262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327
d1583c48
LMI
9328 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9329 the man page name (bug#7929).
9330
6a57fb5f
LMI
9331 * image.el (put-image): Mention the `put-image' overlay property
9332 (bug#7834).
9333
d7956b14
LMI
9334 * scroll-bar.el (set-scroll-bar-mode): Mention that
9335 `scroll-bar-mode' lists the values (bug#7772).
9336
5b2d4a66
LMI
9337 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9338 command (bug#7729).
9339
7509a874
LMI
9340 * rect.el (apply-on-rectangle): Return the point after the last
9341 operation.
9342 (string-rectangle): Go to the point after the last operation
9343 (bug#7522).
9344
4fe74b19
LMI
9345 * printing.el (pr-toggle-region): Clarify the documentation
9346 slightly (bug#7493).
9347
b796c9b7
SM
9348 * time.el (display-time-update):
9349 Allow `display-time-mail-function' to return nil (bug#7158).
9350 Fix suggested by Detlev Zundel.
ab283561 9351
fc233c9d
LMI
9352 * vc/diff.el (diff): Clarify the order the file names are read
9353 (bug#7111).
9354
43f5740b
LMI
9355 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9356 the doc string (bug#7015).
9357
f2182a76
LMI
9358 * font-lock.el (font-lock-maximum-decoration): Mention what
9359 numeric levels mean (bug#6935).
9360
621ef9ab
LMI
9361 * startup.el (initial-buffer-choice): Don't mention the `none'
9362 selection, which is against policy.
9363
adc47434
MR
93642011-07-14 Martin Rudalics <rudalics@gmx.at>
9365
b796c9b7
SM
9366 * window.el (display-buffer-normalize-special):
9367 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9368
7e5bfb8f
EZ
93692011-07-14 Eli Zaretskii <eliz@gnu.org>
9370
9371 * subr.el (version<, version<=, version=): Mention "-CVS" and
9372 "-12345" alpha version numbers.
9373
27fa387a
CY
93742011-07-14 Chong Yidong <cyd@stupidchicken.com>
9375
9376 * bindings.el: Add advertised binding for set-mark-command
9377 (Bug#5772).
9378
8bdfa064
CY
93792011-07-14 Chong Yidong <cyd@stupidchicken.com>
9380
9381 * bindings.el (mode-line-other-buffer):
9382 * bookmark.el (bookmark-bmenu-2-window):
9383 * bs.el (bs-cycle-next, bs-cycle-previous):
9384 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9385 switch-to-buffer.
9386
9387 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9388 Delete.
8bdfa064 9389
5eba16a3
JB
93902011-07-14 Juanma Barranquero <lekktu@gmail.com>
9391
9392 * follow.el (follow-debug-message, follow-redisplay):
9393 * jka-cmpr-hook.el (with-auto-compression-mode):
9394 Fix typos in docstrings.
9395
15853710
LMI
93962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9397
a28e4607
LMI
9398 * subr.el (with-silent-modifications): Clarify somewhat what the
9399 macro inhibits (bug#6525).
9400
15853710
LMI
9401 * simple.el (eval-expression): Note what it does if called
9402 interactively (bug#6495).
9403
bee0fcef
CY
94042011-07-13 Chong Yidong <cyd@stupidchicken.com>
9405
b796c9b7
SM
9406 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9407 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9408
9409 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9410 Remove switch-to-buffer.
9411
58274504
LMI
94122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9413
bd2fcc8d
LMI
9414 * files.el (make-directory): Clarify that an error will be raised
9415 if there's an error (bug#6397).
9416
0f04b32c
LMI
9417 * startup.el (initial-buffer-choice): Add `none' as a choice
9418 (bug#6234).
9419
465c5fc8
LMI
9420 * subr.el (add-hook): Clarify section about buffer-local hooks
9421 (bug#6218).
9422
58274504
LMI
9423 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9424
bead9a43
JB
94252011-07-13 Juanma Barranquero <lekktu@gmail.com>
9426
9427 * tabify.el (untabify): Preserve the current column so that point
9428 doesn't move (bug#6032).
9429
3af98a7b
LMI
94302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9431
b796c9b7
SM
9432 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9433 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9434
6240145a
GM
94352011-07-13 Glenn Morris <rgm@gnu.org>
9436
9437 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9438 (dired-insert-directory): Give a message the first time
9439 if ls is found not to support --dired.
9440
1d8c2ccc
LMI
94412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9442
9443 * simple.el (toggle-truncate-lines): Clarify what is toggled
9444 (bug#5580). Text by Drew Adams.
9445
5fc4038e
CY
94462011-07-13 Chong Yidong <cyd@stupidchicken.com>
9447
9448 * simple.el (blink-matching-open): Make the error message from the
9449 last change less verbose.
9450
bf6012e5
DN
94512011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9452
9453 * font-lock.el (font-lock-comment-face): Use the high contrast
9454 "yellow" color for font-lock-comment-face on low color terminals
9455 using a dark background color (bug#4221).
9456
343c3b5a
LMI
94572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9458
7e9505c5
LMI
9459 * dired.el (dired-insert-set-properties): Make the doc string
9460 reflect what it does now (bug#5325).
9461
c26fdcf5
LMI
9462 * simple.el (blink-matching-open): Say that we were unable to find
9463 the match within the limit, if we're limited (bug#5122).
9464
bb388cc5
LMI
9465 * international/mule-cmds.el (prefer-coding-system): Add an
9466 example (bug#4869).
9467
343c3b5a
LMI
9468 * progmodes/etags.el (tags-search): Document `file-list-form'
9469 (bug#4731).
9470
2a517d45
LM
94712011-07-13 Lawrence Mitchell <wence@gmx.li>
9472
9473 * net/browse-url.el (browse-url-default-browser)
9474 (browse-url-browser-function): Make the default browser choice a
9475 bit more logical (bug#4300). Also clean up the doc string.
9476
b6c78ef2
JB
94772011-07-13 Juanma Barranquero <lekktu@gmail.com>
9478
9479 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9480 binary endings (bug#4440).
9481
1c4dd947
LMI
94822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9483
a2014063
LMI
9484 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9485 which can be pretty annoying (bug#8971).
9486
9c9c2d88
LMI
9487 * jka-compr.el (jka-compr-verbose): New variable, and use
9488 throughout (bug#8971).
9489
1c4dd947
LMI
9490 * info.el (Info-find-file): Fall back on the installation
9491 directory if we can't find the info node anywhere else.
9492
a1c9f41b
SO
94932011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9494
9495 * vc/vc.el (vc-revert-file):
9496 Don't set file time-stamp in the past. (Bug#5181)
9497
536f3d36
LMI
94982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9499
7152b011
LMI
9500 * files.el (after-find-file): Give a better error message when
9501 trying to find a symlink that points to a file that doesn't exist
9502 (bug#4398).
9503
536f3d36
LMI
9504 * progmodes/cc-vars.el: Remove (probably) misleading comment
9505 (bug#4396).
9506
460c0fba
JB
95072011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9508
9509 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9510
7a6bda45
CY
95112011-07-12 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * mouse-sel.el: Hack restoring functionality, while keeping
9514 compatibility with 2010-07-03 changes to mouse selection.
9515 (mouse-sel-primary-overlay): New var.
9516 (mouse-sel-selection-alist): Use it.
9517 (mouse-sel-mode): Doc fix; remove points that are default features
9518 of mouse.el.
9519
c79598ef
JB
95202011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9521
9522 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9523 Fix previous fix (bug#2490).
9524
ff8be6ef
RW
95252011-07-12 Roland Winkler <winkler@gnu.org>
9526
b796c9b7
SM
9527 * textmodes/bibtex.el (bibtex-initialize):
9528 Use pop-to-buffer-same-window.
ff8be6ef
RW
9529 (bibtex-search-entries): Fix interactive call.
9530
296ba3ee
LMI
95312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9532
f5242a02 9533 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9534 Fontise bytecomp Error lines more correctly (bug#2490).
9535 Fix suggested by Johan BockgĂ¥rd.
f5242a02 9536
296ba3ee
LMI
9537 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9538
9539 * dired-x.el (dired-guess-default): Use `delete-dups'.
9540
f69fd0d2
CY
95412011-07-12 Chong Yidong <cyd@stupidchicken.com>
9542
9543 * dired.el (dired-mark-prompt):
9544 * dired-aux.el (dired-read-shell-command): Doc fix.
9545
eab5dc07
LMI
95462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9547
b796c9b7
SM
9548 * mail/sendmail.el (sendmail-query-once):
9549 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9550 emacs -Q.
9551
9552 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9553
eab5dc07
LMI
9554 * cus-edit.el (custom-file): Take an optional no-error variable.
9555 (customize-save-variable): Set the variable, and give a warning if
9556 running under "emacs -q".
9557
a1e65d42
JB
95582011-07-11 Juanma Barranquero <lekktu@gmail.com>
9559
9560 * loadhist.el (unload-feature-special-hooks):
9561 Add `auto-coding-functions', `fill-nobreak-predicate' and
9562 `find-directory-functions' (bug#5327).
9563
1d52da10
LMI
95642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9565
be958f1d
LMI
9566 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9567
5bedb26c
LMI
9568 * cus-edit.el (custom-guess-name-alist): -alist variables should
9569 use the `alist' type (bug#3120). Suggested by Drew Adams.
9570
1d52da10
LMI
9571 * printing.el: Add documentation to all the `pr-toggle-' commands.
9572
cd394be1 95732011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9574
9575 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9576 backends where it makes sense (bug#2623).
9577
dcc88d8a
LMI
95782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9579
c3de9feb
LMI
9580 * dired-x.el (dired-guess-default): Remove duplicate shell command
9581 entries (bug#2028).
8a93078b 9582 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9583 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9584
dcc88d8a
LMI
9585 * subr.el (remove-duplicates): New conveniency function.
9586
505e3645
LMI
95872011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9588
9589 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9590 (bug#1526).
9591
95922011-07-10 Martin Rudalics <rudalics@gmx.at>
9593
9594 * window.el (display-buffer-normalize-default): Don't invert
9595 meaning of even-window-heights. Reported by Eli Zaretskii
9596 <eliz@gnu.org>.
9597
455e4fa1
BR
95982011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9599
9600 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9601
8e0bc3e9
CY
96022011-07-10 Chong Yidong <cyd@stupidchicken.com>
9603
9604 * window.el (display-buffer): Fix arguments to
9605 display-buffer-reuse-window in last change.
9606
fa7c3228
CY
9607 * faces.el (link): Use a less saturated blue on light backgrounds.
9608
9609 * startup.el (fancy-startup-text, fancy-about-text)
9610 (fancy-startup-tail): Use font-lock faces, for background safety.
9611
c0a7f300
BN
96122011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9613
b796c9b7
SM
9614 * emulation/viper-cmd.el (viper-change-state-to-vi):
9615 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9616
4dc2a129
MR
96172011-07-09 Martin Rudalics <rudalics@gmx.at>
9618
9619 * window.el (display-buffer-default-specifiers): Remove.
9620 (display-buffer-macro-specifiers): Remove default specifiers.
9621 (display-buffer-alist): Default to nil.
b796c9b7 9622 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9623 (display-buffer-pop-up-window): Allow splitting internal
9624 windows. Check whether a live window was created.
9625 (display-buffer-other-window-means-other-frame)
9626 (display-buffer-normalize-arguments): Rename to
9627 display-buffer-normalize-argument and rewrite. Set the
9628 other-window specifier.
9629 (display-buffer-normalize-special): New function.
9630 (display-buffer-normalize-options): Rename to
9631 display-buffer-normalize-default and rewrite.
9632 (display-buffer-normalize-options-inhibit): Remove.
9633 (display-buffer-normalize-specifiers): Rewrite.
9634 (display-buffer): Process other-window specifier and call
9635 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9636 more faithfully.
b796c9b7 9637 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9638 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9639 (display-buffer-in-window, display-buffer-alist-set):
9640 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9641 <tassilo@member.fsf.org>.
9642
2d43b8c9
LL
96432011-07-09 Leo Liu <sdl.web@gmail.com>
9644
9645 * register.el (insert-register): Restore accidental change on
9646 2011-06-26. (Bug#9028)
9647
7f9b7c53
GM
96482011-07-09 Glenn Morris <rgm@gnu.org>
9649
9650 * subr.el (remq): Handle the empty list. (Bug#9024)
9651
f042cfd8
AS
96522011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9653
9654 * mail/sendmail.el (send-mail-function): No longer delay custom
9655 initialization.
9656 * custom.el (custom-initialize-delay): Doc fix.
9657
856b2f11
SM
96582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9661
afae1d68
MA
96622011-07-08 Michael Albinus <michael.albinus@gmx.de>
9663
9664 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9665 human-friendly prompt.
9666
0757af94
SM
96672011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9668
9669 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9670 provided by a particular plugin.
9671
d760b731
LMI
96722011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9673
9674 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9675 save customizations (with "emacs -Q"), just set the variable
9676 instead of erroring out.
9677
9678 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9679
cd79ce90
JL
96802011-07-08 Juri Linkov <juri@jurta.org>
9681
9682 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9683 (archive-zip-update-case): Use 7z if found by `executable-find'.
9684 The order of searching the available programs is the same as in
9685 `archive-zip-extract' (bug#8968).
9686
14cc04aa
CY
96872011-07-07 Chong Yidong <cyd@stupidchicken.com>
9688
9689 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9690 (menu-bar-options-menu): Tweak descriptions.
9691
0a1848ec
LMI
96922011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9693
9694 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9695 menu items into verb phrases (bug#1421). Also refill to fit under
9696 80 columns.
9697
f5bd0689
CY
96982011-07-07 Chong Yidong <cyd@stupidchicken.com>
9699
538e85c6
CY
9700 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9701 (Info-read-node-name): Doc fix (Bug#1084).
9702
f5bd0689
CY
9703 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9704 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9705 (end-of-sexp, beginning-of-sexp)
9706 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9707 (forward-symbol, forward-same-syntax, word-at-point)
9708 (sentence-at-point): Doc fix (Bug#1144).
9709
56ec5115
LMI
97102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9711
f3f8e37f
LMI
9712 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9713 should cover it (bug#1281).
9714
0757af94 9715 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9716
e9fce1ac 9717 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9718 negotiation fails, then possibly try again with a non-encrypted
9719 connection (bug#9017).
9720
56ec5115
LMI
9721 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9722 be used.
9723
c2f9aec8
RS
97242011-07-07 Richard Stallman <rms@gnu.org>
9725
9726 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9727 property, and handle its changed format.
9728 Look for the correct line number.
9729 Use file's line contents (but not past first =) to find
9730 correct line in message.
9731
ef7b981d 97322011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9733
9734 * international/characters.el (build-unicode-category-table):
9735 Delete it.
0757af94 9736 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9737
0757af94 9738 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9739 to src/chartab.c.
9740 (get-char-code-property): Call unicode-property-table-internal to
9741 load a file. Call get-unicode-property-internal where necessary.
9742 (put-char-code-property): Call unicode-property-table-internal to
9743 load a file. Call put-unicode-property-internal where necessary.
9744 put-unicode-property-internal where necessary.
0757af94
SM
9745 (char-code-property-description):
9746 Call unicode-property-table-internal to load a file.
c805dec0
KH
9747
9748 * international/charprop.el:
9749 * international/uni-bidi.el:
9750 * international/uni-category.el:
9751 * international/uni-combining.el:
9752 * international/uni-comment.el:
9753 * international/uni-decimal.el:
9754 * international/uni-decomposition.el:
9755 * international/uni-digit.el:
9756 * international/uni-lowercase.el:
9757 * international/uni-mirrored.el:
9758 * international/uni-name.el:
9759 * international/uni-numeric.el:
9760 * international/uni-old-name.el:
9761 * international/uni-titlecase.el:
9762 * international/uni-uppercase.el: Regenerate.
9763
9764 * loadup.el: Load international/charprop.el before
9765 international/characters.
9766
e14b388a
CY
97672011-07-07 Chong Yidong <cyd@stupidchicken.com>
9768
9769 * window.el (next-buffer, previous-buffer): Signal an error if
9770 called from a minibuffer window.
9771
9772 * bindings.el: Revert 2011-07-04 change.
9773
354cf0ba
RS
97742011-07-06 Richard Stallman <rms@gnu.org>
9775
9776 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9777 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9778 Treat markers like ints.
9779 (rmail-mime-entity): Doc fix.
9780
a48868a7
LMI
97812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9782
4906cd3d
LMI
9783 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9784 defcustom again for backwards compatibility.
9785
e0457abe
LMI
9786 * simple.el (shell-command-on-region): Fill.
9787
d67f7e1f
LMI
9788 * dired-aux.el (dired-kill-line): Add a doc string.
9789
fe204702
LMI
9790 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9791 to "\\sw\\|\\s_" (bug#358).
9792
a48868a7
LMI
9793 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9794 (dired-unmark-backward): Ditto.
9795 (dired-flag-backup-files): Ditto.
9796
9797 * dired-x.el (dired-mark-sexp): Ditto.
9798
aa8a705c
RS
97992011-07-06 Richard Stallman <rms@gnu.org>
9800
9801 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9802 (rmail-mime-entity): New arg TRUNCATED.
9803 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9804 New functions.
9805 (rmail-mime-save): Warn if entity is truncated.
9806 (rmail-mime-toggle-hidden): Likewise, for showing.
9807 (rmail-mime-process-multipart): Record when an entity is truncated.
9808
a9a936b9
RS
9809 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9810 if ENTITY is a string.
9811
1f2b92cb
LMI
98122011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9813
f4f73198 9814 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9815 of faces when `M-C-x'-ing their definitions (bug#8378).
9816 Also clean up the code slightly.
f4f73198 9817
12b16734 9818 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9819 because that makes the colors go away.
12b16734 9820
f0691d22
LMI
9821 * mail/sendmail.el (send-mail-function): Change the default to
9822 `sendmail-query-once'.
9e87df06 9823 (sendmail-query-once): Add an autoload cookie.
f0691d22 9824
1f2b92cb
LMI
9825 * net/network-stream.el (network-stream-open-starttls): Try using
9826 a plain connection even if the server offered STARTTLS, and we
9827 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9828 capability. This should make smtpmail.el work in slightly more
9829 configurations.
9830
1cdd2a1b
MA
98312011-07-06 Michael Albinus <michael.albinus@gmx.de>
9832
9833 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9834 New defun.
9835 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9836
fbcc67e2
MM
98372011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9838
9839 * progmodes/sql.el: Version 3.0
0757af94 9840 (sql-product-alist): Add product :completion-object,
fbcc67e2 9841 :completion-column, and :statement attributes.
0757af94 9842 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9843 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9844 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9845 ansi keywords.
9846 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9847 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9848 (sql-oracle-show-reserved-words): New function for development.
9849 (sql-product-font-lock): Simplify for source code buffers.
9850 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9851 New functions.
9852 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9853 (sql-mode-map): Add statement movement functions.
9854 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9855 New variable.
fbcc67e2
MM
9856 (sql-statement-regexp, sql-beginning-of-statement)
9857 (sql-end-of-statement, sql-signum): New functions.
0757af94 9858 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9859 (sql-show-sqli-buffer): Bug fix.
9860 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9861 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9862 with sql-interactive-mode.
9863 (sql-save-connection): Save buffer local settings.
0757af94 9864 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9865 (sql-product-interactive): Bug fix.
9866 (sql-preoutput-hold): New variable.
9867 (sql-interactive-remove-continuation-prompt): Bug fixes.
9868 (sql-debug-redirect): New variable.
9869 (sql-str-literal): New function.
9870 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9871 Redesign.
fbcc67e2
MM
9872 (sql-oracle-save-settings, sql-oracle-restore-settings)
9873 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9874 (sql-completion-object, sql-completion-column)
9875 (sql-completion-sqlbuf): New variables.
9876 (sql-build-completions-1, sql-build-completions)
9877 (sql-try-completion): New functions.
9878 (sql-read-table-name): Use them.
9879 (sql-contains-names): New buffer local variable.
9880 (sql-list-all, sql-list-table): Use it.
9881 (sql-oracle-completion-types): New variable.
9882 (sql-oracle-completion-object, sql-sqlite-completion-object)
9883 (sql-postgres-completion-object): New functions.
9884
d4eaeab1
GM
98852011-07-06 Glenn Morris <rgm@gnu.org>
9886
9887 * window.el (pop-to-buffer): Doc fix.
9888
322b7dab 98892011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9890
9891 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9892
322b7dab 98932011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9894
322b7dab 9895 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9896
322b7dab 9897 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9898
605dd5bf
CY
98992011-07-05 Chong Yidong <cyd@stupidchicken.com>
9900
9901 * button.el (button): Inherit from link face. Suggested by Dan
9902 Nicolaescu.
9903
7dbfa719
SM
99042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9905
3db614b0
SM
9906 * progmodes/gdb-mi.el: Fit in 80 columns.
9907 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9908 switch-to-buffer.
9909
7dbfa719
SM
9910 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9911 if imenu is simply not configured (bug#8941).
9912
919d884a
KM
99132011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9914
9915 * allout.el (allout-post-undo-hook): New allout outline-change
9916 event hook to signal undo activity.
9917 (allout-post-command-business): Run allout-post-undo-hook if an
9918 undo just occurred.
7dbfa719
SM
9919 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9920 * allout-widgets.el (allout-widgets-after-undo-function):
9921 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9922 in the vicinity of an undo.
9923 (allout-widgets-mode): Include allout-widgets-after-undo-function
9924 on the new allout-post-undo-hook.
9925
450a0f09
SM
99262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9929 Let define-derived-mode define it.
9930 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9931 cycles of abbrev-table inheritance (bug#8998).
9932
2de69e00
RW
99332011-07-05 Roland Winkler <winkler@gnu.org>
9934
9935 * textmodes/bibtex.el: Add support for biblatex.
9936 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9937 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9938 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9939 (bibtex-entry-alist, bibtex-field-alist): New variables.
9940 (bibtex-entry-field-alist): Obsolete alias for
9941 bibtex-BibTeX-entry-alist.
9942 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9943 (bibtex-set-dialect): New command.
9944 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9945 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9946 Bind via bibtex-set-dialect.
2de69e00
RW
9947 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9948 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9949 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9950 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9951 Define via bibtex-set-dialect.
450a0f09
SM
9952 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9953 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9954 (bibtex-vec-push, bibtex-vec-incr): New functions.
9955 (bibtex-format-entry, bibtex-field-list)
9956 (bibtex-print-help-message, bibtex-validate)
9957 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9958
2dcdbdd9
SM
99592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9960
9961 * progmodes/compile.el (compilation-goto-locus):
9962 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9963 * bs.el (bs-cycle-next, bs-cycle-previous):
9964 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9965 * bindings.el (mode-line-other-buffer):
9966 * autoinsert.el (auto-insert):
9967 * arc-mode.el (archive-extract):
9968 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9969
b27640fe
JB
99702011-07-05 Juanma Barranquero <lekktu@gmail.com>
9971
9972 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9973 Fix check of `emacs-lock-unlockable-modes'.
9974 Coerce true values of `emacs-lock--try-unlocking' to t.
9975
53bbe3ad
JB
99762011-07-05 Juanma Barranquero <lekktu@gmail.com>
9977
9978 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9979 * emacs-lock.el: New file.
9980
1d3cdbc7
JD
99812011-07-05 Julien Danjou <julien@danjou.info>
9982
9983 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9984 than `boundp' to check if face is set.
9985
9173deec
JB
99862011-07-05 Juanma Barranquero <lekktu@gmail.com>
9987
9988 * register.el (registerv-make):
9989 * window.el (window-min-height): Fix typos in docstrings.
9990
869795d6
JD
99912011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9992
9173deec 9993 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9994 Update doc string.
9995
b768cdcd
JB
99962011-07-04 Juanma Barranquero <lekktu@gmail.com>
9997
9998 * server.el (server-execute): Catch quit and call
9999 `server-return-error' to pass the error back to emacsclient and
10000 close the connection (bug#8942).
10001
13aa217b
KM
100022011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10003
10004 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10005 insecure exception for current topic. Also note that auto-saves
10006 are handled differently.
10007
5d3385a0 10008 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10009 State variables for tracking auto-save inhibition situation.
10010
10011 (allout-write-contents-hook-handler): Rename from
10012 'allout-write-file-hook-handler', and describe how it depends on
10013 write-contents-functions sensitivity to non-nil value to prevent
10014 file write.
10015
10016 (allout-auto-save-hook-handler): Remove. auto-save does not check
10017 this in individual buffers, only in the starting buffer, so this
10018 is not the right way for us to inhibit auto-save in a buffer
10019 according to its condition.
10020
10021 (allout-mode): Use new allout-write-contents-hook-handler, and
10022 only with write-contents-functions. Remove auto-save provisions -
10023 they're implemented elsewhere.
10024
10025 (allout-before-change-handler): If undo is in progress, note that
10026 for attention of allout-post-command-business.
10027
10028 (allout-post-command-business): If the command we're following was
10029 an undo, check for change in the status of encrypted items and
10030 adjust auto-save inhibitions accordingly.
10031
10032 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10033 according to whether there are or aren't any plain-text topics
10034 pending encryption.
10035
2dcdbdd9 10036 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10037 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10038 if there are plain-text topics pending encryption.
13aa217b
KM
10039
10040 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10041 buffer-saved-size and some allout state to not inhibit auto-saves
10042 if there are no longer any plain-text topics pending encryption.
10043
0757af94
SM
10044 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10045 No longer provide for exemption of the current topic.
13aa217b 10046
ac89b32c
JL
100472011-07-04 Juri Linkov <juri@jurta.org>
10048
10049 Add 7z operations to delete and save changed members (bug#8968).
10050 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10051 New defcustoms.
10052 (archive-7z-write-file-member): New function.
10053 (archive-7z-summarize): Fix the number of dashes in the
10054 listing output.
10055
8fa39615
SM
100562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10059 (bug#8958).
10060
2f11b3f1
CY
100612011-07-04 Chong Yidong <cyd@stupidchicken.com>
10062
d66fef2b
CY
10063 * bindings.el: Ignore next-buffer and previous-buffer in
10064 minibuffer-local-map.
10065
2f11b3f1
CY
10066 * font-lock.el (font-lock-builtin-face): Change light background
10067 color to dark slate blue (Bug#6693).
10068
f932a347
WD
100692011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10070
10071 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10072
c8af70e1
SM
100732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10074
10075 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10076 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10077 Add switch-to-buffer.
10078
f158badc
LMI
100792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10080
10081 * isearch.el (isearch-search-fun-function): Clarify further the
10082 meaning of the function returned.
10083
6d95bd46
MA
100842011-07-04 Michael Albinus <michael.albinus@gmx.de>
10085
10086 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10087
10088 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10089 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10090 Use it.
10091 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10092 `tramp-default-remote-path' does not exist.
10093 (tramp-send-command-and-read): New optional argument NOERROR.
10094 (tramp-open-connection-setup-interactive-shell)
10095 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10096 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10097 (tramp-process-sentinel): Flush also process' connection property.
10098 (tramp-sh-handle-start-file-process): Do not set process
10099 sentinel. It is done now ...
10100 (tramp-maybe-open-connection): ... here. (Bug#8929)
10101
909e6b67
MK
101022011-07-04 MON KEY <monkey@sandpframing.com>
10103
10104 * play/animate.el (animate-string): Doc fixes and allow changing
10105 the buffer name (bug#5417).
10106
101072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10108
c8af70e1 10109 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10110
f34755dc
PE
101112011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10112
396cec72
PE
10113 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10114 This is simpler and helps future-proof the code.
10115 (timer-until): Use time-subtract and float-time.
08235028 10116 (timer--time-less-p): Use time-less-p.
f34755dc 10117
56e6cc31
JB
101182011-07-04 Juanma Barranquero <lekktu@gmail.com>
10119
3abb79e5
JB
10120 * type-break.el (timep): Use the value of `float-time' to avoid a
10121 byte-compiler warning.
10122
56e6cc31
JB
10123 * server.el (server-eval-and-print): Return any result, even nil.
10124
7b9430b4
PE
101252011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10126
10127 * type-break.el: Accept time formats that the builtins accept.
10128 (timep, type-break-time-difference): Accept any format that
10129 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10130 This is simpler and helps future-proof the code.
10131 (type-break-time-difference): Round rather than ignoring
10132 subseconds components.
10133
3034e9e7
LMI
101342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10135
10136 * info.el (Info-apropos-matches): Make non-interactive, since it
10137 doesn't seem to do anything useful as a command (bug#8829).
10138
1485f4c0
CY
101392011-07-03 Chong Yidong <cyd@stupidchicken.com>
10140
10141 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10142 Move from faces.el.
1485f4c0
CY
10143 (frame-default-terminal-background): New function.
10144
10145 * custom.el (custom-push-theme): Don't record faces in `changed'
10146 theme; this doesn't work correctly for per-frame face settings.
10147 (disable-theme): Use face-set-after-frame-default to reset faces.
10148 (custom--frame-color-default): New function.
10149
9fa3dd45
LMI
101502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10151
c8af70e1 10152 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10153 (bug#8769).
10154
6cbbc20c
KR
101552011-03-29 Kevin Ryde <user42@zip.com.au>
10156
10157 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10158 `perl-Test2' extend to match possible "fail #N" rep count
10159 (bug#8377).
10160
c7f98048
LMI
101612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10162
65676592
LMI
10163 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10164 `smtpmail-via-smtp' now returns the error instead of nil.
10165
c7f98048
LMI
10166 * isearch.el (isearch-search-fun-function): Clarify the doc string
10167 (bug#8101).
10168
56e6cc31 101692011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10170
10171 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10172 unnecessary spaces (bug#8987).
10173
2b216704
LMI
101742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10175
10176 * net/network-stream.el (open-network-stream): Use the
10177 :end-of-capability command thoughout.
10178
101792011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10180
10181 * net/network-stream.el (open-network-stream): Add the
10182 :end-of-capability command parameter, used by pop3.el.
10183
36adf6ce
LMI
101842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10185
1ca0da0e
LMI
10186 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10187
fc00f69c
LMI
10188 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10189 for list)" (bug#6475).
10190
28fd8759 10191 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10192 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10193 an error (bug#6297).
10194
0dd8b6da
LMI
10195 * man.el (Man-reference-regexp): Allow matching possible
10196 word-wrapped references (bug#6289).
10197
ce1438d6
LMI
10198 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10199 for consistency with the other vc buffers (bug#6197).
10200 (vc-checkin): Ditto.
10201
10202 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10203
36adf6ce
LMI
10204 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10205
e83cc1f7
LMI
102062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10207
8a20ca4c
LMI
10208 * custom.el (defcustom): Clarify that :set is only used in the
10209 Customize user interface (bug#6089).
10210
83319045
LMI
10211 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10212 associated with a file, refuse to run instead of erroring out
10213 (bug#6084).
10214
a8392169
LMI
10215 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10216 the doc string, since it appears that using `fill-column' always
10217 controls the width (bug#7845).
10218
e83cc1f7
LMI
10219 * simple.el (shell-command-on-region): Say where the error output
10220 went if `shell-command-default-error-buffer' is set (bug#6857).
10221
e47ca23b
KM
102222011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10223
10224 * allout.el (allout-yank-processing): Adjust cursor position for
10225 backwards-deleted space.
10226
10227 (allout-rebullet-heading): Register changes with
10228 allout-exposure-changed-hook, so the modified topic is properly
10229 decorated.
10230
5cf56143
LMI
102312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10232
08549772
LMI
10233 * minibuffer.el (completion-in-region): Document PREDICATE
10234 (bug#7136).
10235
48e96771
LMI
10236 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10237 of keyword/argument pairs (bug#6904).
10238
c8af70e1
SM
10239 * replace.el (multi-occur):
10240 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10241
e17d05e2
LMI
102422011-07-02 Drew Adams <drew.adams@oracle.com>
10243
10244 * dired.el (dired-mark-if): Make the message about whether it's
10245 marking or unmarking clearer (bug#8523).
10246
063b0e45
LMI
102472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10248
10249 * disp-table.el (display-table-print-array): New function.
10250 (describe-display-table): Use it to print the vectors more pretty
10251 (Bug#8859).
10252
28545e04
MR
102532011-07-02 Martin Rudalics <rudalics@gmx.at>
10254
10255 * window.el (window-state-get-1): Don't assign clone numbers.
10256 Add clone-of item to list of window parameters.
10257 (window-state-put-2): Don't process clone numbers.
10258 (display-buffer-alist): Fix doc-string.
10259
3349e122
SM
102602011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10261
10262 * subr.el (remq): Don't allocate if it's not needed.
10263 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10264 (keymap--merge-bindings): New functions.
10265 (keymap-canonicalize): Use them to refine the canonicalization.
10266 * minibuffer.el (minibuffer-local-completion-map)
10267 (minibuffer-local-must-match-map): Move initialization from C.
10268 (minibuffer-local-filename-completion-map): Move initialization from C;
10269 don't inherit from anything here.
10270 (minibuffer-local-filename-must-match-map): Make obsolete.
10271 (completing-read-default): Use make-composed-keymap to combine
10272 minibuffer-local-filename-completion-map with either
10273 minibuffer-local-must-match-map or
10274 minibuffer-local-filename-completion-map.
10275
d224ac83
GM
102762011-07-01 Glenn Morris <rgm@gnu.org>
10277
3de63bf8
GM
10278 * type-break.el (type-break-time-sum): Use dolist.
10279
d224ac83
GM
10280 * textmodes/flyspell.el (flyspell-word-search-backward):
10281 Replace CL function.
10282
1a1e3f32
SM
102832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10284
fe3f64d5
SM
10285 * mouse.el (mouse--strip-first-event): New function.
10286 (function-key-map): Use it to map fringe clicks to normal clicks
10287 by default.
10288
eb604e34
SM
10289 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10290 (vc-bzr-revision-completion-table): Add support for annotate and date.
10291
1a1e3f32
SM
10292 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10293 inherit from parent.
10294
5bd35902
LMI
102952011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10296
ace6c69c 10297 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10298 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10299
191e2bed
LMI
10300 * dired.el (dired-mode): Fix up the doc string as suggested by
10301 Drew Adams (bug#8817).
10302
5bd35902
LMI
10303 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10304 cookie, since the manual says that it should be possible to add
10305 this function to `find-file-hook' (bug#8709).
10306
eee8207a
TZ
103072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10308
10309 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10310 here. Noted Ted Zlatanov as the maintainer.
10311 (cfengine-common-settings, cfengine-common-syntax): New functions
10312 to set up common things between `cfengine-mode' and
10313 `cfengine3-mode'.
10314 (cfengine3-mode): New mode.
10315 (cfengine3-defuns cfengine3-defuns-regex
10316 (cfengine3-class-selector-regex cfengine3-category-regex)
10317 (cfengine3-vartypes cfengine3-font-lock-keywords)
10318 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10319 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10320
36b148cf
MA
103212011-07-01 Michael Albinus <michael.albinus@gmx.de>
10322
10323 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10324
10325 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10326
0bf4ba9a
MR
103272011-07-01 Martin Rudalics <rudalics@gmx.at>
10328
10329 * window.el (same-window-buffer-names, same-window-regexps)
10330 (same-window-p, special-display-frame-alist)
10331 (special-display-popup-frame, special-display-function)
10332 (special-display-buffer-names, special-display-regexps)
10333 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10334 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10335 (split-window-preferred-function, split-height-threshold)
10336 (split-width-threshold, even-window-heights)
10337 (display-buffer-mark-dedicated, window-splittable-p)
10338 (split-window-sensibly, window-safely-shrinkable-p):
10339 Un-obsolete.
10340 (display-buffer): Don't spread args with function specifier
10341 because special-display-popup-frame won't like it.
10342
35837f51
PE
103432011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10344
d0672f86
PE
10345 Time-stamp simplifications and fixes.
10346 These improve accuracy slightly, and future-proof the code
10347 against some potential changes to current-time format.
10348
b9444d97
PE
10349 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10350 by using time-since and float-time.
10351
0ef923dc
PE
10352 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10353 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10354 + NNN microseconds".
10355
2f81380d
PE
10356 * type-break.el (type-break-time-sum): Rewrite using time-add.
10357
845b5c3e
PE
10358 * play/hanoi.el (hanoi-current-time-float): Remove.
10359 All uses replaced by float-time.
10360
ee6f1be0
PE
10361 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10362 This yields a more-accurate answer.
10363 (rng-time-to-float): Remove; no longer needed.
10364
fe955043
PE
10365 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10366
5777162a
PE
10367 * calendar/timeclock.el (timeclock-seconds-to-time):
10368 Defalias to seconds-to-time, since they're the same thing.
10369
3103f8b6 10370 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10371 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10372 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10373
0e61a35f
SM
103742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * window.el (bury-buffer): Don't iconify the only frame.
10377 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10378 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10379
ddd63a1e
CY
103802011-07-01 Chong Yidong <cyd@stupidchicken.com>
10381
0e61a35f
SM
10382 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10383 Add mouse-yank-primary.
ddd63a1e 10384
055f4923
TZ
103852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10386
10387 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10388
6a2fb145
SM
103892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10392 (find-library-name): Use it to find relative load names when provided
10393 absolute file name (bug#8803).
10394
fd4983f2
LMI
103952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10396
887d14ad
LMI
10397 * textmodes/flyspell.el (flyspell-word): Consider words that
10398 differ only in case as potential doublons (bug#5687).
10399
c53dc7fc
LMI
10400 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10401 Remove two rather uninteresting debugging-like messages to make
10402 debbugs.el more silent.
10403
fd4983f2
LMI
10404 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10405 a password-like phrase.
10406
7a71b18d 104072011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10408
10409 * progmodes/cc-guess.el: New file.
10410
6a2fb145 10411 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10412
10413 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10414 derived from `c-basic-common-init'.
10415
10416 * progmodes/cc-mode.el (top-level): Require cc-guess.
10417 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10418
1fa280a3
LM
104192011-06-30 Lawrence Mitchell <wence@gmx.li>
10420
10421 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10422
e6597158
AM
104232011-06-30 Alan Mackenzie <acm@muc.de>
10424
1fa280a3
LM
10425 * progmodes/cc-engine.el (c-guess-continued-construct):
10426 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10427 lock is disabled. Name this case as "CASE G".
10428
68ba37fb
KM
104292011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10430
10431 * allout.el (allout-yank-processing): Fix injection of extra space
10432 between bullet and non-whitespace character in first topic when
10433 pasting, ensuring that the actual spacing in the pasted topic
10434 following the bullet char is preserved. This extra space was
10435 causing pasted encrypted topics to get a decrypted status even
10436 when the content was actually still encrypted. Now the decryption
10437 status from before the paste is preserved.
10438
10439 (allout-flag-region): Set all allout overlays so they evaporate
10440 when reduced to zero length (evanescent), to prevent overlay
10441 leakage.
10442
887a0b34
GM
104432011-06-30 Glenn Morris <rgm@gnu.org>
10444
94b9acce
GM
10445 * w32-fns.el (w32-charset-info-alist): Declare.
10446
1d9b46d4
GM
10447 * find-dired.el (find-grep-options): Simplify.
10448
cc232200
GM
10449 * term/ns-win.el (ns-set-resource): Declare.
10450
28e77c46
GM
10451 * ses.el (row, col): Declare dynamic variables honestly.
10452
887a0b34
GM
10453 * textmodes/reftex-parse.el (index-tags): Declare.
10454
658d8eb8
CY
104552011-06-30 Chong Yidong <cyd@stupidchicken.com>
10456
10457 * cus-edit.el (customize-push-and-save): New function.
10458
10459 * files.el (hack-local-variables-confirm): Use it.
10460
1fa280a3
LM
10461 * custom.el (load-theme): New arg NO-CONFIRM.
10462 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10463 (custom-enabled-themes): Doc fix.
10464
10465 * cus-theme.el (customize-create-theme)
10466 (custom-theme-merge-theme): Callers to load-theme changed.
10467
bb617717
LMI
104682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10469
d61bdd5d
LMI
10470 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10471 short URLs have at least one dot in them (bug #7614).
10472
bb617717
LMI
10473 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10474 nil, because using a pty is apparently too slow (bug #895).
10475
2f31f37a
LMI
104762011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10477
10478 * mail/sendmail.el (sendmail-query-once): New function.
10479 (sendmail-query-once-function): New variable.
10480
3076b24e
GM
104812011-06-29 Glenn Morris <rgm@gnu.org>
10482
faf2a174
GM
10483 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10484
3076b24e
GM
10485 * ses.el (top-level): Require cl when compiling.
10486 (ses-set-localvars): Fix error statement.
10487 Call it at compile time to silence a storm of warnings.
10488
5386012d
MR
104892011-06-29 Martin Rudalics <rudalics@gmx.at>
10490
10491 * window.el (normalize-live-buffer): Rename to
10492 window-normalize-buffer.
10493 (normalize-live-frame): Rename to window-normalize-frame.
10494 (normalize-any-window): Rename to window-normalize-any-window.
10495 (normalize-live-window): Rename to window-normalize-live-window.
10496 (make-window-atom): Rename to window-make-atom.
10497 (window-resize-reset): Rename to window--resize-reset.
10498 (window-resize-reset-1): Rename to window--resize-reset-1.
10499 (resize-mini-window): Rename to window--resize-mini-window.
10500 (resize-subwindows-skip-p): Rename to
10501 window--resize-subwindows-skip-p.
10502 (resize-subwindows-normal): Rename to
10503 window--resize-subwindows-normal.
10504 (resize-subwindows): Rename to window--resize-subwindows.
10505 (resize-other-windows): Rename to window--resize-siblings.
10506 (resize-this-window): Rename to window--resize-this-window.
10507 (resize-root-window): Rename to window--resize-root-window.
10508 (resize-root-window-vertically): Rename to
10509 window--resize-root-window-vertically.
10510 (normalize-buffer-to-display): Rename to
10511 window-normalize-buffer-to-display.
10512 (normalize-buffer-to-switch-to): Rename to
10513 window-normalize-buffer-to-switch-to.
10514 Correspondingly update all callers of the functions listed
10515 above.
10516 (display-buffer-alist, display-buffer-normalize-arguments)
10517 (display-buffer-normalize-options, display-buffer)
10518 (display-buffer-alist-set): Use "function" instead of
10519 "fun-with-args".
10520
1176868d
CY
105212011-06-28 Chong Yidong <cyd@stupidchicken.com>
10522
10523 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10524 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10525 debbugs.gnu.org. Mention acknowledgment email.
10526
20a7a65f
LMI
105272011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10528
10529 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10530 buffer multibyteness, since it shouldn't matter.
10531
5f45cca5
MR
105322011-06-28 Martin Rudalics <rudalics@gmx.at>
10533
10534 * window.el (display-buffer-in-side-window): Handle dedicated
10535 windows as in display-buffer-reuse-window.
10536 (display-buffer-normalize-alist): Use value of override
10537 specifier.
10538 (display-buffer-normalize-specifiers): Use value of
10539 other-window-means-other-frame specifier.
10540 (display-buffer-alist): Rewrite some texts in widgets.
10541 (display-buffer): Spread arguments when calling function
10542 specified by fun-with-args.
10543
ad85fe1f
DD
105442011-06-28 Deniz Dogan <deniz@dogan.se>
10545
1fa280a3
LM
10546 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10547 Unnest `let'.
da68c4c8 10548
ad85fe1f
DD
10549 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10550 selectors (Bug#5732).
ec49bd31 10551 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10552
a08cc025
JA
105532011-06-27 Jari Aalto <jari.aalto@cante.net>
10554
10555 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10556 (eshell-ls-date-format): New defcustom.
10557 (eshell-ls-file): Use it.
10558
e2b551c5
SM
105592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10560
10561 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10562
8982b231
KY
105632011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10564
10565 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10566 (ange-ftp-make-tmp-name): New arg.
10567 (ange-ftp-file-local-copy): Use it.
10568
36c9fa27
J
105692011-06-27 Jambunathan K <kjambunathan@gmail.com>
10570
10571 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10572 no-conversion (Bug#8870).
10573
d68443dc
MR
105742011-06-27 Martin Rudalics <rudalics@gmx.at>
10575
10576 * window.el (window-right, window-left, window-child)
10577 (window-child-count, window-last-child)
10578 (window-iso-combination-p, walk-window-tree-1)
10579 (window-atom-check-1, window-tree-1, delete-window)
10580 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10581 new naming conventions - window-vchild, window-hchild,
10582 window-next and window-prev are now called window-top-child,
10583 window-left-child, window-next-sibling and window-prev-sibling
10584 respectively.
d615d6d2
MR
10585 (resize-window-reset): Rename to window-resize-reset.
10586 (resize-window-reset-1): Rename to window-resize-reset-1.
10587 (resize-window): Rename to window-resize.
10588 (window-min-height, window-min-width)
10589 (resize-mini-window, resize-this-window, resize-root-window)
10590 (resize-root-window-vertically, adjust-window-trailing-edge)
10591 (enlarge-window, shrink-window, maximize-window)
10592 (minimize-window, delete-window, quit-restore-window)
10593 (split-window, balance-windows, balance-windows-area-adjust)
10594 (balance-windows-area, window-state-put-2)
10595 (display-buffer-even-window-sizes, display-buffer-set-height)
10596 (display-buffer-set-width, set-window-text-height)
10597 (fit-window-to-buffer): Rename all "resize-window" prefixed
10598 calls to use the "window-resize" prefix convention.
10599 (display-buffer-alist): Fix symbol for label specifier.
10600 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10601 corresponding specifier.
10602 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10603
b6458526
VB
106042011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10605
10606 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10607 convention.
10608 (ses-call-printer): Does not pass an empty string to formatter when the
10609 cell is empty to keep from barking printer Calc math-format-value.
10610
d31fd9ac
RS
106112011-06-27 Richard Stallman <rms@gnu.org>
10612
43d5bf84
RS
10613 * battery.el (battery-mode-line-limit): New variable.
10614 (battery-update): Handle it.
10615
d31fd9ac
RS
10616 * mail/rmailmm.el (rmail-mime-process-multipart):
10617 Handle truncated messages.
10618
819a6054
GM
106192011-06-27 Glenn Morris <rgm@gnu.org>
10620
10621 * progmodes/flymake.el (flymake-err-line-patterns):
10622 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10623
cedc73f2
VB
106242011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10625
819a6054 10626 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10627 (ses--clean-!, ses--clean-_): New functions.
10628 (ses-range): Add configurability of readout order, and conversion
10629 to Calc vector.
10630
5e5d49b6
VB
10631 * ses.el (ses-repair-cell-reference-all): New function.
10632 (ses-cell-symbol): Set macro as safe, so that it can be used in
10633 formulas.
10634
56e6cc31 10635 * ses.el: Update cycle detection algorithm.
90ca8b49 10636 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10637 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10638 (ses-set-localvars): New function.
10639 (ses-make-cell): Add property-list as a cell element.
10640 (ses-cell-property-get-fun, ses-cell-property-get)
10641 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10642 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10643 New functions.
90ca8b49
VB
10644 (ses-cell-property-set, ses-cell-property-pop)
10645 (ses-cell-property-get-handle): New macro.
10646 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10647 New aliases, used for code readability.
10648 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10649 cycle detection.
10650 (ses-self-reference-early-detection): New defcustom.
fac916bf 10651 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10652 (ses-mode): Use ses-set-localvars.
10653 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10654 before lauching the update processing.
10655 (ses-initialize-Dijkstra-attempt): New function.
10656 (ses-recalculate-cell): Update for cycle detection based on
10657 Dijkstra algorithm.
10658
2bb63e81
VB
10659 * ses.el: Fix commenting and indenting convention.
10660
c9d29fb8
SM
106612011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10662
10663 * bs.el (bs-cycle-next): Complete last change.
10664
d8e4b68b
JB
106652011-06-27 Drew Adams <drew.adams@oracle.com>
10666
10667 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10668
40098786
LMI
106692011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10670
c9d29fb8
SM
10671 * net/network-stream.el (network-stream-open-starttls):
10672 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10673 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10674
40098786
LMI
10675 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10676 to binary to possibly avoid line encoding issues on Windows (among
10677 other things).
10678
468d09d4
LMI
106792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10680
10681 * net/network-stream.el (open-network-stream): Return an :error
10682 saying what the problem was, if possible.
10683
10684 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10685 server.
10686
10687 * net/network-stream.el (network-stream-open-starttls): If we
10688 wanted to use STARTTLS, and the server offered it, but we weren't
10689 able to because we had no STARTTLS support, then close the connection.
10690 (open-network-stream): Return an :error element, if present.
10691
16f07dd7
CY
106922011-06-26 Chong Yidong <cyd@stupidchicken.com>
10693
88821ca0
CY
10694 * hl-line.el (hl-line-sticky-flag): Doc fix.
10695 (global-hl-line-sticky-flag): New option (Bug#8323).
10696 (global-hl-line-highlight): Obey it.
10697
16f07dd7
CY
10698 * vc/vc.el (vc-revert-show-diff): Default to t.
10699
6b5ccddf
KM
107002011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10701
c9d29fb8
SM
10702 * allout-widgets.el (allout-widgets-post-command-business):
10703 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10704 undecorated when an isearch is continued past, and isearch
10705 automatically collapses them. This leads to "widget leaks", where
10706 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10707 hidden widgets can slow down cursor travel, substantially.
10708 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10709 so we're doing without this nicety.
10710
10711 (allout-widgets-tally-string): Don't try to do a hash-table-count
10712 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10713 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10714 *Messages* when allout-widgets-maintain-tally is t.
10715
355f2e07
MR
107162011-06-26 Martin Rudalics <rudalics@gmx.at>
10717
10718 * window.el (display-buffer-normalize-argument): Rename to
10719 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10720 LABEL argument. Respect special-display-function when popping up
10721 a new frame. Fix code searching for a window showing the buffer
10722 on another frame.
c9d29fb8
SM
10723 (display-buffer-normalize-specifiers):
10724 Call display-buffer-normalize-arguments.
355f2e07
MR
10725 (display-buffer-in-window): Don't undedicate the window if its
10726 buffer remains the same.
10727 Reported by Drew Adams <drew.adams@oracle.com>.
10728 (display-buffer-alist): Add choice for same-window macro
10729 specfier.
10730 (display-buffer): Mention special meaning of LABEL argument in
10731 doc-string. Fix quoting. Don't pop up a new frame even as
10732 fallback.
10733
7ca8fc42
JB
107342011-06-26 Juanma Barranquero <lekktu@gmail.com>
10735
10736 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10737 avoid deleting the current window in some cases (bug#8911).
10738
bc312254
AS
107392011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10740
10741 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10742 (Bug#8934)
10743
2db18f3f
LMI
107442011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10745
c9d29fb8
SM
10746 * net/network-stream.el (network-stream-open-starttls):
10747 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10748 (network-stream-open-tls): Ditto.
10749
6302e0d3
LL
107502011-06-26 Leo Liu <sdl.web@gmail.com>
10751
10752 * register.el (registerv): New struct.
10753 (registerv-make): New function.
c9d29fb8
SM
10754 (jump-to-register, describe-register-1, insert-register):
10755 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10756 struct. (Bug#8415)
10757
5fdd4046
CY
107582011-06-26 Chong Yidong <cyd@stupidchicken.com>
10759
2afef60a
CY
10760 * vc/vc.el (vc-revert-show-diff): New defcustom.
10761 (vc-diff-internal): New arg specifying diff buffer.
10762 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10763 reuse an existing *vc-diff* buffer (Bug#8927).
10764
5fdd4046
CY
10765 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10766
e93db24a
GM
107672011-06-26 Glenn Morris <rgm@gnu.org>
10768
10769 * progmodes/f90.el (f90-critical-indent): New option.
10770 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10771 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10772 (f90-mode): Doc fix.
10773 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10774 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10775 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10776 (f90-match-end): Handle block, critical.
10777
eefff499
GM
107782011-06-25 Glenn Morris <rgm@gnu.org>
10779
f6ba4cc9
GM
10780 * calendar/diary-lib.el (diary-included-files): Doc fix.
10781 (diary-include-files): New function, extracted from
10782 diary-include-other-diary-files and diary-mark-included-diary-files.
10783 (diary-include-other-diary-files, diary-mark-included-diary-files):
10784 Just call diary-include-files.
10785 (diary-mark-entries): Reset diary-included-files on first call.
10786
16712304
GM
10787 * calendar/diary-lib.el (diary-mark-entries)
10788 (diary-mark-included-diary-files):
10789 Visit included diary-files in temp buffers.
10790
5d8e0d43
GM
10791 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10792 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10793 (f90-start-block-re, f90-imenu-generic-expression)
10794 (f90-looking-at-program-block-start, f90-no-block-limit):
10795 Add support for submodules.
10796
ccf7a5d5
GM
10797 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10798 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10799
11fdef7d 108002011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10801
10802 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10803 buffer-file-type before setting its value, to avoid disastrous
eefff499 10804 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10805
74f53697
JB
108062011-06-25 Juanma Barranquero <lekktu@gmail.com>
10807
10808 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10809
10810 * ses.el (ses-unload-function):
10811 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10812
10813 * proced.el (proced-unload-function):
10814 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10815
18a4ce5e
AR
108162011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10817
10818 * server.el (server-create-window-system-frame): Add parameters arg.
10819 (server-process-filter): Doc fix. Handle frame-parameters.
10820
519d22cc
JB
108212011-06-25 Juanma Barranquero <lekktu@gmail.com>
10822
10823 Fix bug#8730, bug#8781.
10824
10825 * loadhist.el (unload--set-major-mode): New function.
10826 (unload-feature): Use it.
10827
10828 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10829 (python-unload-function): New function.
10830
c206f5b0
SM
108312011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10834
f9ad64f3
GS
108352011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10836
10837 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10838 the candidates list.
10839
7d0da90e
JB
108402011-06-24 Juanma Barranquero <lekktu@gmail.com>
10841
10842 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10843
14b4e83d
RS
108442011-06-23 Richard Stallman <rms@gnu.org>
10845
10846 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10847 (rmail-variables): Set next-error-move-function.
10848 (rmail-what-message): Take argument POS.
10849 (rmail-next-error-move): New function.
10850
273d2baf
SM
108512011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10854 messages for adjacent non-terminals.
10855
56c2cc9a
RS
108562011-06-23 Richard Stallman <rms@gnu.org>
10857
10858 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10859 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10860 (rmail-start-mail): Don't specify use of rmail-mail-return;
10861 that's done by mail-bury now.
10862 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10863
d59eb518
MA
108642011-06-23 Michael Albinus <michael.albinus@gmx.de>
10865
10866 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10867 SIZE is a number.
10868
02cfc6d6
MR
108692011-06-23 Martin Rudalics <rudalics@gmx.at>
10870
10871 * window.el (get-lru-window, get-mru-window)
10872 (get-largest-window): Never return a minibuffer window.
10873 (display-buffer-pop-up-window): Fix a bug that could lead to
10874 reusing the minibuffer window.
10875 (display-buffer): Pass original specifier argument to
10876 display-buffer-function instead of the normalized one.
10877 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10878
4e323265
LL
108792011-06-22 Leo Liu <sdl.web@gmail.com>
10880
10881 * minibuffer.el (completing-read-function)
10882 (completing-read-default): Move from minibuf.c
10883
7a70468f
RS
108842011-06-22 Richard Stallman <rms@gnu.org>
10885
50718fc2
RS
10886 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10887 to Rmail even if not started by a special Rmail command.
10888
7a70468f
RS
10889 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10890 Copy the buffer currently showing just one message.
10891
297dde5a
RW
108922011-06-22 Roland Winkler <winkler@gnu.org>
10893
10894 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10895 (bibtex-clean-entry): First delete the old key so that a
10896 customized algorithm for generating the new key does not get
10897 confused by the old key.
10898 (bibtex-url): Obey regexp of first step.
10899 (bibtex-search-entries): Do not use add-to-list with local
10900 list-var.
10901
97bb1093
LMI
109022011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10903
10904 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10905 stored a user name, then query for the password first, instead of
10906 waiting for SMTP to give an error message and the trying again.
10907
1c0f1a19
JD
109082011-06-22 Lawrence Mitchell <wence@gmx.li>
10909
10910 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10911 BUFFER in call-process.
10912
396f7c9d
LMI
109132011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10914
10915 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10916 QUIT twice.
ddb7ffee
LMI
10917 (smtpmail-try-auth-methods): Require user name and password from
10918 auth-source.
396f7c9d 10919
8998d1b3
MR
109202011-06-22 Martin Rudalics <rudalics@gmx.at>
10921
10922 * window.el (display-buffer-default-specifiers)
10923 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10924 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10925 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10926
10927 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10928 (special-display-frame-alist, special-display-popup-frame):
10929 Remove duplicate declarations. These are now in window.el.
10930
4ea31e07
LMI
109312011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10932
c9d29fb8
SM
10933 * mail/smtpmail.el (smtpmail-via-smtp):
10934 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10935 server supports it. SMTP servers that support STARTTLS commonly
10936 require it.
10937
10938 * net/network-stream.el (network-stream-open-starttls): Support
10939 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10940 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10941
95f41d9a
LMI
10942 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10943 upgrades with `open-network-stream', and rely solely on
10944 auth-source for all credentials. Big changes throughout the file,
10945 but in particular:
c9d29fb8
SM
10946 (smtpmail-auth-credentials): Remove.
10947 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10948 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10949 MAIL FROM, too.
95f41d9a 10950
c9d29fb8
SM
10951 * net/network-stream.el (network-stream-open-starttls):
10952 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10953 STARTTLS.
10954 (auth-source): Require.
10955 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10956 (network-stream-certificate): Change cert-cert to cert and
10957 cert-key to key.
4ea31e07 10958
065ec2c7
MA
109592011-06-21 Michael Albinus <michael.albinus@gmx.de>
10960
10961 * net/tramp-cache.el (top): Don't load the persistency file when
10962 "emacs -Q" has been called.
10963
cd93b359
DR
109642011-06-21 Tim Harper <timcharper@gmail.com>
10965
d8e4b68b
JB
10966 * term/ns-win.el (ns-initialize-window-system):
10967 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10968 resource to NO as it is not yet supported by the NS port.
10969
ae9c0411
JB
109702011-06-21 Juanma Barranquero <lekktu@gmail.com>
10971
10972 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10973 (list-dynamic-libraries): ...not here.
10974
7f3f739f
LL
109752011-06-21 Leo Liu <sdl.web@gmail.com>
10976
10977 * subr.el (sha1): Implement sha1 using secure-hash.
10978
327c8fb1
MR
109792011-06-21 Martin Rudalics <rudalics@gmx.at>
10980
10981 * window.el (display-buffer-alist): In default value do not
10982 enforce searching a window on any but the selected frame.
10983 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10984 (display-buffer-select-window): Remove function.
10985 (display-buffer-in-window): When a window on another frame gets
10986 reused, do not select it any more but just raise its frame if
10987 necessary (Bug#8851) and (Bug#8856).
10988 (display-buffer-normalize-options): Handle pop-up-frames related
10989 options more faithfully.
10990 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10991 window if it is on another frame.
c9d29fb8
SM
10992 (display-buffer-alist, display-buffer-default-specifiers):
10993 Don't make new frame unsplittable by default.
9e9de014
MR
10994 (display-buffer-normalize-argument): Fix doc-string typo and use
10995 'same-frame-other-window instead of 'other-window when associating
10996 with display-buffer-macro-specifiers.
327c8fb1 10997
7cf3f556
VB
109982011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10999
11000 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11001 New functions.
11002 (5x5-mode-map, 5x5-mode-menu): Bind them.
11003 (5x5-draw-grid): Tweak the solver's rendering.
11004
60a406cf
SM
110052011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11006
11007 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11008 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11009
d8e4b68b 110102011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11011
11012 * menu-bar.el: Use function variable instead of switch-to-buffer.
11013 (menu-bar-select-buffer-function): New variable.
60a406cf 11014 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11015
478d6f95
SM
110162011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11017
11018 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11019 variable's status.
11020
ca530739
JD
110212011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11022
11023 * x-dnd.el (x-dnd-version-from-flags)
11024 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11025 and long as number (Bug#8899).
11026 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11027
bcd70d97
SM
110282011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11029
60a406cf 11030 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11031 (completion-try-completion, completion-all-completions): Compute the
11032 metadata argument if it's missing; make it optional (bug#8795).
11033
60a406cf 11034 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11035 (widget-complete): Use new :completion-function property.
11036 (widget-completions-at-point): New function.
11037 (default): Use :completion-function instead of :complete.
60a406cf
SM
11038 (widget-default-completions): Rename from widget-default-complete;
11039 Rewrite.
bcd70d97
SM
11040 (widget-string-complete, widget-file-complete, widget-color-complete):
11041 Remove functions.
11042 (file, symbol, function, variable, coding-system, color):
11043 * international/mule-cmds.el (default-input-method, charset)
11044 (language-info-custom-alist):
11045 * cus-edit.el (face): Use new property :completions.
11046
11047 * progmodes/pascal.el (pascal-completions-at-point): New function.
11048 (pascal-mode): Use it.
11049 (pascal-mode-map): Use completion-at-point.
11050 (pascal-toggle-completions): Make obsolete.
11051 (pascal-complete-word, pascal-show-completions):
11052 * progmodes/octave-mod.el (octave-complete-symbol):
11053 Redefine as obsolete alias.
11054 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11055 Signal absence of completion info for old Octave,
11056 (inferior-octave-complete): Redefine as obsolete alias.
11057 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11058 (meta-completions-at-point): Rename from meta-complete-symbol and
11059 adapt it for use on completion-at-point-functions.
11060 (meta-common-mode): Use it.
11061 (meta-looking-at-backward, meta-match-buffer): Remove.
11062 (meta-complete-symbol): Redefine as obsolete alias.
11063 (meta-common-mode-map): Use completion-at-point.
11064 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11065 (makefile-mode-map): Use completion-at-point.
11066 (makefile-completions-at-point): Rename from makefile-complete and
11067 adapt it for use on completion-at-point-functions.
11068 (makefile-mode): Use it.
11069 (makefile-complete): Redefine as obsolete alias.
11070
aebf69c8
DD
110712011-06-20 Deniz Dogan <deniz@dogan.se>
11072
11073 * net/rcirc.el: Delete trailing whitespaces once and for all.
11074
bfbbb27d
DC
110752011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11076
11077 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11078
d264a46b
CY
110792011-06-19 Chong Yidong <cyd@stupidchicken.com>
11080
4ca009e5
CY
11081 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11082
d264a46b
CY
11083 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11084
fbf5b3ce
MR
110852011-06-19 Martin Rudalics <rudalics@gmx.at>
11086
11087 * window.el (display-buffer-other-window-means-other-frame):
11088 Call display-buffer-normalize-alist.
11089 (display-buffer-normalize-specifiers-1): Rename to
11090 display-buffer-normalize-argument. New argument other-frame.
11091 Rewrite.
11092 (display-buffer-normalize-specifiers-2): Rename to
11093 display-buffer-normalize-options.
11094 (display-buffer-normalize-alist-1): New function.
11095 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11096 display-buffer-normalize-alist.
11097 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11098 (display-buffer-normalize-options-inhibit): New variable.
11099 (display-buffer-normalize-specifiers): Rewrite calling
11100 display-buffer-normalize-alist,
11101 display-buffer-normalize-argument, and
11102 display-buffer-normalize-options. Don't call the latter if
11103 display-buffer-normalize-options-inhibit is non-nil.
11104 (frame-auto-delete): New option.
11105 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11106 (window-list-no-nils, window-state-ignored-parameters)
11107 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11108 (window-state-put-1, window-state-put-2, window-state-put):
11109 New functions.
9a028c23
MR
11110 (display-buffer-normalize-options): Move special-display-p group
11111 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11112
6d10d800
CY
111132011-06-18 Chong Yidong <cyd@stupidchicken.com>
11114
6420d28b
CY
11115 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11116 groups (Bug#8776).
11117 (rx-submatch-n): New function.
11118 (rx): Document it.
11119
ddb8b596
CY
11120 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11121 (Bug#8768).
11122
11123 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11124
77080289
CY
11125 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11126
61dfb316
CY
11127 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11128 anytime existing face settings are present (Bug#8889).
11129
6d10d800
CY
11130 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11131 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11132 Remove unused argument.
11133
be3fb2b8
MR
111342011-06-18 Martin Rudalics <rudalics@gmx.at>
11135
bcd70d97
SM
11136 * window.el (display-buffer-default-specifiers):
11137 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11138 pop-up-window-min-width, and another reuse-window specifier
11139 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11140 (display-buffer-normalize-specifiers-2):
11141 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11142 pop-up-windows is unset. Add a reuse-window specifier for the
11143 case popping up a new window fails.
11144 (special-display-popup-frame): Remove double quoting.
28dec25a 11145 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11146
1c6d8c76
SM
111472011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11150 according to comint-completion-addsuffix.
11151
11152 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11153 (pcomplete-suffix-list): Mark as obsolete.
11154 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11155 pcomplete-seen in the closure.
11156 (pcomplete-comint-setup): Setup completion-at-point as well.
11157 (pcomplete--entries): New function.
11158 (pcomplete--env-regexp): New var.
11159 (pcomplete-entries): Rewrite to work with partial-completion and
11160 without relying on pcomplete-suffix-list.
11161 (pcomplete-pare-list): Remove, unused.
11162
25aef8b8
MR
111632011-06-17 Martin Rudalics <rudalics@gmx.at>
11164
11165 * window.el (display-buffer-alist): Set pop-up-window-min-height
11166 and pop-up-window-min-width in default value. Reported by
11167 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11168 other-window-means-other-frame.
11169 (display-buffer-macro-specifiers): Comment out entry for
11170 other-window specifier.
11171 (display-buffer-other-window-means-other-frame): New function.
11172 (display-buffer-normalize-specifiers-1): New arguments
11173 buffer-name and label. Treat other-window case specially.
11174 (display-buffer-normalize-specifiers-2): Treat other-window case
11175 specially.
11176 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11177 (display-buffer-normalize-specifiers):
11178 Call display-buffer-normalize-specifiers-3.
25aef8b8 11179
dbad4f69
MR
111802011-06-17 Martin Rudalics <rudalics@gmx.at>
11181
11182 * window.el (same-window-p): Fix two typos introduced when
11183 adding with-no-warnings.
d1067961
MR
11184 (display-buffer-normalize-specifiers-1): Don't check
11185 pop-up-frames for 'unset initialization.
11186 (display-buffer-normalize-specifiers-2): Major rewrite using
11187 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11188 (pop-up-frames, display-buffer-reuse-frames)
11189 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11190 Suggested by David Engster <deng@randomsample.de>.
11191 (even-window-heights): Initialize to 'unset.
11192 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11193 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11194 other window case.
dbad4f69 11195
9b9c9e3a
MR
111962011-06-16 Martin Rudalics <rudalics@gmx.at>
11197
bcd70d97
SM
11198 * window.el (display-buffer-normalize-specifiers-1):
11199 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11200 second argument of display-buffer (Bug#8865).
981d5c09
MR
11201 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11202 (switch-to-buffer-other-window-same-frame)
11203 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11204 Adams (Bug#8875).
9c2755e9
MR
11205 (display-buffer): Don't check noninteractive when calling
11206 display-buffer-pop-up-frame.
11207 (display-buffer-pop-up-frame): Never pop up a frame in
11208 noninteractive mode (Bug#8857).
67222e1d
MR
11209 (enlarge-window, shrink-window): Don't report an error when the
11210 window can't be resized as requested (Bug#8862).
9b9c9e3a 11211
2b75be67
SM
112122011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11213
9ffdd3ba
SM
11214 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11215
cb581a67
SM
11216 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11217
2b75be67
SM
11218 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11219
8c0e3589
AM
112202011-06-15 Alan Mackenzie <acm@muc.de>
11221
cb581a67
SM
11222 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11223 for declarators, disable knr checking to speed up for normal files.
11224 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11225
b96e6cde
LMI
112262011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11227
4bba86e6
LMI
11228 * net/network-stream.el (open-network-stream): Add the keyword
11229 :always-query-capabilities for the case where you want to force a
11230 `plain' network connection, but the protocol still requires the
11231 capabilitiy command (i.e., SMTP and EHLO).
11232
2b75be67 11233 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11234 consistency with other `-live-p' functions.
11235
efdcdbf8
SM
112362011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11237
11238 * window.el (same-window-buffer-names, same-window-regexps)
11239 (special-display-frame-alist, special-display-popup-frame)
11240 (special-display-function, special-display-buffer-names)
11241 (special-display-regexps, pop-up-frame-alist)
11242 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11243 (pop-up-windows, split-window-preferred-function)
11244 (split-height-threshold, split-width-threshold, even-window-heights)
11245 (display-buffer-mark-dedicated): Don't encourage the use of
11246 display-buffer-alist from Elisp code.
11247
c5cde042
DN
112482011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11249
11250 * progmodes/python.el (python-mode): Derive from prog-mode.
11251 * progmodes/ps-mode.el (ps-mode):
11252 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11253 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11254 * progmodes/ld-script.el (ld-script-mode): Likewise.
11255
baa1c9ab
MR
112562011-06-15 Martin Rudalics <rudalics@gmx.at>
11257
11258 * window.el (display-buffer-alist): Trim default value to avoid
11259 popping up a new frame (Bug#8857) or reusing an arbitrary window
11260 on another frame.
11261 (display-buffer): Do not fall back on popping up a new frame in
11262 batch mode (Bug#8857).
11263
c5dd5a51
CY
112642011-06-14 Chong Yidong <cyd@stupidchicken.com>
11265
11266 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11267 (custom-theme-summary): New function.
11268 (customize-themes): Use it.
11269
d647b7c4
GM
112702011-06-13 Glenn Morris <rgm@gnu.org>
11271
11272 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11273
9481c002
MR
112742011-06-13 Martin Rudalics <rudalics@gmx.at>
11275
357f93d2
MR
11276 * help.el (help-window): Remove variable.
11277 (help-window-point-marker, temp-buffer-max-height)
11278 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11279 (help-print-return-message): Don't set help-window.
11280 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11281 (help-window-setup-finish): Remove.
11282 (help-window-display-message, help-window-setup)
11283 (with-help-window): Major rewrite based on new
11284 display-buffer-window variable.
11285
11286 * help-mode.el (help-mode-finish): Remove help-window related
11287 code.
11288
11289 * view.el (view-exits-all-viewing-windows): Remove reference to
11290 view-return-to-alist in doc-string.
11291 (view-return-to-alist): Make obsolete.
11292 (view-buffer): Call pop-to-buffer-same-window and remove
11293 undo-window code.
11294 (view-buffer-other-window): Call pop-to-buffer-other-window and
11295 simplify code. Ignore second argument.
11296 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11297 simplify code. Ignore second argument.
11298 (view-return-to-alist-update): Make obsolete.
11299 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11300 Rewrite using quit-restore window parameters.
2b75be67
SM
11301 (view-mode-exit): Rename second argument to EXIT-ONLY.
11302 Rewrite using quit-restore-window.
357f93d2
MR
11303 (View-exit, View-exit-and-edit, View-leave, View-quit)
11304 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11305 appropriate arguments.
11306 (view-end-message): Use quit-restore window parameter.
11307
9481c002
MR
11308 * window.el (display-buffer-function): Rewrite doc-string.
11309 (display-buffer-window, display-buffer-alist): New variables.
11310 (display-buffer-split-specifiers)
11311 (display-buffer-side-specifiers)
11312 (display-buffer-macro-specifiers): New constants.
11313 (display-buffer-even-window-sizes, display-buffer-set-height)
11314 (display-buffer-set-width, display-buffer-select-window)
11315 (display-buffer-in-window, display-buffer-reuse-window)
11316 (display-buffer-split-window-1, display-buffer-split-window)
11317 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11318 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11319 (display-buffer-in-side-window, normalize-buffer-to-display)
11320 (display-buffer-normalize-specifiers-1)
11321 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11322 (display-buffer-normalize-specifiers, display-buffer-frame):
11323 New functions.
9481c002
MR
11324 (display-buffer): Major rewrite.
11325 (display-buffer-other-window, display-buffer-other-frame)
11326 (pop-to-buffer, switch-to-buffer-other-window)
11327 (switch-to-buffer-other-frame): Rewrite.
11328 (display-buffer-same-window, display-buffer-same-frame)
11329 (display-buffer-same-frame-other-window)
11330 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11331 (pop-to-buffer-other-window)
11332 (pop-to-buffer-same-frame-other-window)
11333 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11334 (switch-to-buffer-other-window-same-frame): New functions.
11335 (same-window-p, special-display-p): Rewrite disabling warnings.
11336 Make obsolete.
11337 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11338 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11339 Make obsolete
11340 (same-window-buffer-names, same-window-regexps)
11341 (special-display-frame-alist, special-display-popup-frame)
11342 (special-display-function, special-display-buffer-names)
11343 (special-display-regexps, pop-up-frame-alist)
11344 (pop-up-frame-function, split-window-preferred-function)
11345 (split-height-threshold, split-width-threshold)
11346 (even-window-heights): Make obsolete.
11347
9db51aca
GM
113482011-06-12 Glenn Morris <rgm@gnu.org>
11349
11350 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11351 Misc simplifications.
9db51aca 11352
39cffb44
MR
113532011-06-12 Martin Rudalics <rudalics@gmx.at>
11354
11355 * window.el (window-safely-shrinkable-p): Restore function which
11356 was inadvertently removed in change from 2011-06-11. Declare as
11357 obsolete.
11358
2b75be67
SM
11359 * calendar/calendar.el (calendar-generate-window):
11360 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11361 window-safely-shrinkable-p.
11362
a8955be7
GM
113632011-06-12 Glenn Morris <rgm@gnu.org>
11364
11365 * progmodes/fortran.el (fortran-mode-syntax-table):
11366 * progmodes/f90.el (f90-mode-syntax-table):
11367 Set % to punctuation. (Bug#8820)
11368 (f90-find-tag-default): Remove, no longer needed.
11369
f0d4059d
DC
113702011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11371
11372 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11373
1100a63c
CY
113742011-06-11 Chong Yidong <cyd@stupidchicken.com>
11375
11376 * image.el (image-animated-p): Return animation delay in seconds.
11377 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11378 (image-animate-timeout): Remove DELAY argument. Don't assume
11379 every subimage has the same delay; get it from image-animated-p.
11380 (image-animate): Caller changed.
11381
def722bf
MA
113822011-06-11 Michael Albinus <michael.albinus@gmx.de>
11383
11384 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11385 to ignored backtrace functions.
11386
0a2bb1a9
GM
113872011-06-11 Glenn Morris <rgm@gnu.org>
11388
11389 * calendar/appt.el (appt-disp-window-function): Doc fix.
11390 (appt-check): Handle overlapping appointments. (Bug#8337)
11391
6198ccd0
MR
113922011-06-11 Martin Rudalics <rudalics@gmx.at>
11393
11394 * window.el (window-tree-1, window-tree): New functions, moving
11395 the latter to window.el.
11396 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11397 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11398 (bw-refresh-edges): Remove.
11399 (balance-windows-1, balance-windows-2): New functions.
11400 (balance-windows): Rewrite in terms of window tree functions,
11401 balance-windows-1 and balance-windows-2.
11402 (bw-adjust-window): Remove.
11403 (balance-windows-area-adjust): New function with functionality of
11404 bw-adjust-window but using resize-window.
2b75be67
SM
11405 (set-window-text-height): Rewrite doc-string.
11406 Use normalize-live-window and resize-window.
11407 (enlarge-window-horizontally, shrink-window-horizontally):
11408 Rename argument to DELTA.
6198ccd0
MR
11409 (window-buffer-height): New function.
11410 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11411 Rewrite using new window resize routines.
2b75be67
SM
11412 (kill-buffer-and-window, mouse-autoselect-window-select):
11413 Use ignore-errors instead of condition-case.
6198ccd0
MR
11414 (quit-window): Call delete-frame instead of delete-windows-on
11415 for the only buffer on frame.
11416
9397e56f
MR
114172011-06-10 Martin Rudalics <rudalics@gmx.at>
11418
11419 * loadup.el (top-level): Load window before files for the sake
11420 of replace-buffer-in-windows.
11421
11422 * files.el (read-buffer-to-switch)
11423 (switch-to-buffer-other-window)
2b75be67
SM
11424 (switch-to-buffer-other-frame, display-buffer-other-frame):
11425 Move to window.el.
9397e56f
MR
11426
11427 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11428 (previous-buffer): Move to window.el.
11429
11430 * bindings.el (unbury-buffer): Move to window.el.
11431
11432 * window.el (delete-other-windows-vertically): Move after
11433 definition of delete-other-windows.
11434 (other-window, delete-windows-on, replace-buffer-in-windows):
11435 Move here from window.c.
11436 (record-window-buffer, unrecord-window-buffer)
11437 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11438 (switch-to-next-buffer): New functions.
11439 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11440 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11441 (previous-buffer): Move here from simple.el.
11442 Call switch-to-prev-buffer.
9397e56f
MR
11443 (bury-buffer): Move here from buffer.c. Switch to previous
11444 buffer when window cannot be deleted.
11445 (unbury-buffer): Move here from bindings.el.
11446 (ctl-x-map): Move binding for other-window from window.c to
11447 here.
11448 (read-buffer-to-switch, switch-to-buffer-other-window)
11449 (switch-to-buffer-other-frame): Move here from files.el.
11450 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11451 (switch-to-buffer): Move here from buffer.c.
11452 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11453
562dd5e9
MR
114542011-06-10 Martin Rudalics <rudalics@gmx.at>
11455
11456 * window.el (window-min-height, window-min-width): Move here
11457 from window.c. Add defcustoms and rewrite doc-strings.
11458 (resize-mini-window, resize-window): New functions.
11459 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11460 Move here from window.c.
11461 (maximize-window, minimize-window): New functions.
11462 (delete-window, delete-other-windows, split-window): Move here
11463 from window.c.
11464 (window-split-min-size): New function.
11465 (split-window-keep-point): Mention split-window-above-each-other
11466 instead of split-window-vertically.
2b75be67 11467 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11468 Rename split-window-vertically to split-window-above-each-other
11469 and provide defalias for old definition.
11470 (split-window-side-by-side, split-window-horizontally):
11471 Rename split-window-horizontally to split-window-side-by-side
11472 and provide defalias for the old definition.
562dd5e9
MR
11473 (ctl-x-map): Move bindings for delete-window,
11474 delete-other-windows and enlarge-window here from window.c.
11475 Replace bindings for split-window-vertically and
11476 split-window-horizontally by bindings for
11477 split-window-above-each-other and split-window-side-by-side.
11478
11479 * cus-start.el (all): Remove entries for window-min-height and
11480 window-min-width. Add entries for window-splits and
11481 window-nest.
11482
f0da764a
GM
114832011-06-09 Glenn Morris <rgm@gnu.org>
11484
80675c21
GM
11485 * calendar/appt.el (appt-mode-line): New function.
11486 (appt-check, appt-disp-window): Use it.
11487
f0da764a
GM
11488 * files.el (hack-one-local-variable-eval-safep):
11489 Allow minor-modes with explicit +/-1 arguments.
11490
59f623b7
TZ
114912011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11492
11493 * term/xterm.el (xterm): Add defgroup.
11494 (xterm-extra-capabilities): Add defcustom to supply known xterm
11495 capabilities, skip querying them, or query them (default).
11496 (terminal-init-xterm): Use it.
11497 (terminal-init-xterm-modify-other-keys): New function to set up
11498 modifyOtherKeys support to simplify `terminal-init-xterm'.
11499
9aab8e0d
MR
115002011-06-09 Martin Rudalics <rudalics@gmx.at>
11501
11502 * window.el (resize-window-reset, resize-window-reset-1)
11503 (resize-subwindows-skip-p, resize-subwindows-normal)
11504 (resize-subwindows, resize-other-windows, resize-this-window)
11505 (resize-root-window, resize-root-window-vertically)
11506 (window-deletable-p, window-or-subwindow-p)
11507 (frame-root-window-p): New functions.
11508
e8b08aee
GM
115092011-06-09 Glenn Morris <rgm@gnu.org>
11510
11511 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11512 (ange-ftp-get-files): Use it.
11513
254c37a5
AK
115142011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11515
11516 * mail/sendmail.el (mail-recover-1, mail-recover):
11517 * files.el (recover-file, recover-session):
11518 Handle dired-listing-switches not being just a single short option.
11519
35d7dbd3
GM
115202011-06-09 Glenn Morris <rgm@gnu.org>
11521
11522 * calendar/appt.el (appt-display-message, appt-disp-window):
11523 Handle lists of appointments.
11524
387522b2
MR
115252011-06-08 Martin Rudalics <rudalics@gmx.at>
11526
2b75be67
SM
11527 * window.el (one-window-p): Move down in code.
11528 Rewrite doc-string.
11529 (window-current-scroll-bars): Rewrite doc-string.
11530 Normalize live window argument.
387522b2
MR
11531 (walk-windows, get-window-with-predicate, count-windows):
11532 Rewrite doc-string. Use window-list-1.
11533 (window-in-direction-2, window-in-direction, get-mru-window):
11534 New functions.
11535
d8e4b68b 115362011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11537
11538 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11539 Doc fix (Bug#8713).
11540
115412011-06-08 Chong Yidong <cyd@stupidchicken.com>
11542
11543 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11544
115452011-06-08 Juanma Barranquero <lekktu@gmail.com>
11546
11547 * loadhist.el (unload-feature-special-hooks):
11548 Add `comint-output-filter-functions'.
11549
0de12c52
IK
115502011-06-08 Ivan Kanis <gnu@kanis.fr>
11551
11552 * calendar/appt.el (appt-check): Move some initializations into the let.
11553
f3d1777e
MR
115542011-06-08 Martin Rudalics <rudalics@gmx.at>
11555
11556 * window.el (window-height): Defalias to window-total-height.
11557 (window-width): Defalias to window-body-width.
11558
18af70d0
CY
115592011-06-07 Chong Yidong <cyd@stupidchicken.com>
11560
11561 * image-mode.el (image-toggle-animation): New command.
11562 (image-mode-map): Bind it to RET.
11563 (image-mode): Update message.
11564 (image-toggle-display-image): Avoid a spurious cache flush.
11565 (image-transform-rotation): Doc fix.
11566 (image-transform-properties): Return quickly in the normal case.
11567 (image-animate-loop): Rename from image-animate-max-time.
11568
2b75be67 11569 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11570 (create-animated-image): Remove unnecessary function.
11571 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11572 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11573 (image-animate-timer): Use car-safe.
11574 (image-animate-timeout): Rename argument.
11575
190b47e6
MR
115762011-06-07 Martin Rudalics <rudalics@gmx.at>
11577
11578 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11579 window.c. Rename first argument to ALL-FRAMES.
11580 Rephrase doc-strings.
11581 (get-buffer-window-list): Rewrite using window-list-1.
11582 Rephrase doc-string.
a1511caf
MR
11583 (window-safe-min-height, window-safe-min-width): New constants.
11584 (window-size-ignore, window-min-size, window-min-size-1)
11585 (window-sizable, window-sizable-p, window-size-fixed-1)
11586 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11587 (window-max-delta-1, window-max-delta, window-resizable)
11588 (window-resizable-p, window-total-height, window-total-width)
11589 (window-body-width): New functions.
11590 (window-full-height-p, window-full-width-p): Rewrite using
11591 window-total-size.
11592 (window-body-height): Rewrite using window-body-size.
190b47e6 11593
85cc1f11
MR
115942011-06-06 Martin Rudalics <rudalics@gmx.at>
11595
11596 * window.el (window-right, window-left, window-child)
11597 (window-child-count, window-last-child, window-any-p)
11598 (normalize-live-buffer, normalize-live-frame)
11599 (normalize-any-window, normalize-live-window)
11600 (window-iso-combination-p, window-iso-combined-p)
11601 (window-iso-combinations)
11602 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11603 (windows-with-parameter, window-with-parameter)
11604 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11605 (window-atom-check, window-side-check, window-check):
11606 New functions.
85cc1f11
MR
11607 (ignore-window-parameters, window-sides, window-sides-vertical)
11608 (window-sides-slots): New variables.
11609 (window-size-fixed): Move down in code. Minor doc-string fix.
11610
e7156492
AS
116112011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11612
11613 * comint.el (comint-dynamic-complete-as-filename)
11614 (comint-dynamic-complete-filename): Correctly call
11615 completion-in-region.
11616
7e821d0d
DD
116172011-06-05 Deniz Dogan <deniz@dogan.se>
11618
11619 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11620 in last change.
11621
ac09b8a1
DD
116222011-06-05 Deniz Dogan <deniz@dogan.se>
11623
11624 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11625 (rcirc): Use it to prompt for encryption.
11626
34699b85
RW
116272011-06-05 Roland Winkler <winkler@gnu.org>
11628
11629 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11630 (bibtex-search-entries): New command bound to C-c C-a.
11631 (bibtex-display-entries): New function.
11632
004dedd3
RW
116332011-06-05 Roland Winkler <winkler@gnu.org>
11634
11635 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11636 (bibtex-insert-kill): After yanking insert newline if necessary.
11637 (bibtex-initialize): Call bibtex-string-files-init only once.
11638 (bibtex-mode): Do not call easy-menu-add.
11639 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11640 (bibtex-yank): Set arg properly if nil.
11641
022fe7ce
RW
116422011-06-05 Roland Winkler <winkler@gnu.org>
11643
2b75be67
SM
11644 * textmodes/bibtex.el (bibtex-search-entry-globally):
11645 New variable.
022fe7ce
RW
11646 (bibtex-search-entry): Use it.
11647
b7c3692a
RW
116482011-06-05 Roland Winkler <winkler@gnu.org>
11649
11650 * textmodes/bibtex.el (bibtex-entry-format): New option
11651 sort-fields.
11652 (bibtex-format-entry, bibtex-reformat): Honor this option.
11653 (bibtex-parse-entry): Return fields in proper order.
11654
8eda563d
JB
116552011-06-05 Juanma Barranquero <lekktu@gmail.com>
11656
11657 * doc-view.el (doc-view-remove-if): Move computation of result out
11658 of `dolist' to silence misleading lexical-binding warning.
11659
7dbe3dbc
CY
116602011-06-04 Chong Yidong <cyd@stupidchicken.com>
11661
11662 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11663 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11664
0c33dd17
MA
116652011-06-04 Michael Albinus <michael.albinus@gmx.de>
11666
11667 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11668 "SunOS 5.10".
11669
f8f91c2b
MA
116702011-06-04 Michael Albinus <michael.albinus@gmx.de>
11671
11672 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11673 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11674 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11675 (tramp-parse-putty):
11676 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11677 (tramp-completion-function-alist-ssh)
11678 (tramp-completion-function-alist-telnet)
11679 (tramp-completion-function-alist-su)
11680 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11681 cookie.
11682
11683 * net/tramp-ftp.el:
11684 * net/tramp-sh.el:
11685 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11686 load "tramp.el" `tramp-set-completion-function'.
11687
e17d9003
SM
116882011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11689
11690 * shell.el: Require and use pcomplete.
11691 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11692 (shell-completion-vars): Set pcomplete-default-completion-function.
11693
6c4cab03
DD
116942011-06-04 Deniz Dogan <deniz@dogan.se>
11695
11696 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11697 `memq' (Bug#8799).
11698
ea9fafe0
SM
116992011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11700
11701 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11702
b3e945d3
JB
117032011-06-02 Juanma Barranquero <lekktu@gmail.com>
11704
11705 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11706 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11707 * vc/log-view.el (log-view-beginning-of-defun):
11708 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11709 (smerge-refine-forward, smerge-refine-chopup-region):
11710 Silence warning for unused `dotimes' counter variables.
11711
7d520089
SM
117122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * net/tramp.el (tramp-with-progress-reporter): Rename from
11715 with-progress-reporter. Use `declare'.
11716 * net/tramp-smb.el:
11717 * net/tramp-sh.el:
11718 * net/tramp-gvfs.el: Update all uses.
11719
a1c2400f
JB
117202011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11721
11722 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11723 buffer isn't killed before making it current.
11724
2403c841
SM
117252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11726
11727 Silence various byte-compiler warnings.
11728 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11729 `access-type' and new obsolescence format.
11730 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11731 new format.
11732 (byte-compile-check-variable): New `access-type' argument.
11733 Only warn if the access-type is obsolete.
11734 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11735 (byte-compile-variable-set): Adjust callers.
11736 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11737 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11738 setting it as obsolete.
11739 * simple.el (minibuffer-completing-symbol):
11740 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11741 access as obsolete.
11742 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11743 obsolete yet.
11744 * international/quail.el (quail-mouse-choose-completion): Remove unused
11745 code referring to obsolete var.
11746 (quail-choose-completion-string): Remove.
11747 * server.el (server-clients-with, server-kill-buffer-query-function)
11748 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11749 * proced.el (proced-send-signal):
11750 * emacs-lisp/lisp.el (lisp-complete-symbol):
11751 Replace completion-annotate-function with completion-extra-properties.
11752
2462470b
SM
117532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11754
fb5b2591
SM
11755 * simple.el (goto-line): Use read-number.
11756 (overriding-map-is-bound): Remove.
11757 (saved-overriding-map): Change default.
11758 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11759 Take the map as argument.
11760 (universal-argument, negative-argument, digit-argument): Use it.
11761 (restore-overriding-map): Adjust.
11762 (do-auto-fill): Use fill-forward-paragraph.
11763 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11764
fd6fa53f
SM
11765 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11766 (minibuffer-inactive-mode): New major mode.
11767 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11768 the *Messages* buffer" hack.
11769 (mouse-popup-menubar): Don't burp if the event is a normal key.
11770
2462470b
SM
11771 Miscellaneous tweaks.
11772 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11773 lexical scoping as in subr.el's dolist and dotimes.
11774 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11775 Silence compiler warning.
11776 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11777 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11778 * international/ccl.el (ccl-compile): Trivial simplification.
11779 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11780 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11781 `printflag' argument.
11782 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11783 Purecopy the whole obsolescence data.
11784
108bf785
LL
117852011-06-01 Leo Liu <sdl.web@gmail.com>
11786
11787 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11788 improve doc-string as suggested by Marco Pessotto
11789 <melmothx@gmail.com>.
11790 (rcirc-print): Fix last change.
11791
30a23501
SM
117922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * minibuffer.el (complete-with-action): Return nil for the metadata and
11795 boundaries of non-functional tables.
11796 (completion-table-dynamic): Return nil for the metadata.
11797 (completion-table-with-terminator): Add default case, using
11798 complete-with-action.
11799 (completion--metadata): New function.
11800 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11801 to try and avoid pathological performance problems.
11802 (completion--embedded-envvar-table): Return `category' metadata.
11803
bcd54f83
LMI
118042011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11805
11806 * subr.el (process-alive-p): New tiny convenience function.
11807
e227544d
SM
118082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11809
11810 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11811 content but also its previous major mode.
11812
e8296fdc
HE
118132011-05-31 Helmut Eller <eller.helmut@gmail.com>
11814
4d61f28d 11815 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11816 *Backtrace* buffer when we exit with C-M-c.
11817
620c53a6
SM
118182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * minibuffer.el: Add metadata method to completion tables.
11821 (completion-category-overrides): New defcustom.
11822 (completion-metadata, completion--field-metadata)
11823 (completion-metadata-get, completion--styles)
11824 (completion--cycle-threshold): New functions.
11825 (completion-try-completion, completion-all-completions):
11826 Add `metadata' argument to choose completion-styles.
11827 (completion--do-completion): Use metadata to choose cycling.
11828 (completion-all-sorted-completions): Use metadata for sorting.
11829 Remove :completion-cycle-penalty which is not needed any more.
11830 (completion--try-word-completion): Add `metadata' argument.
11831 (minibuffer-completion-help): Check metadata for annotation function
11832 and sorting.
11833 (completion-file-name-table): Return `category' metadata.
11834 (minibuffer-completing-file-name): Make obsolete.
11835 * simple.el (minibuffer-completing-symbol): Make obsolete.
11836 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11837 completion-try-completion.
11838
1257e755
SM
118392011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11842
3767e706
LL
118432011-05-30 Leo Liu <sdl.web@gmail.com>
11844
11845 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11846 (rcirc-print): Decode all incoming messages (bug#8744).
11847 (rcirc-decode-coding-system): Allow value nil for automatic coding
11848 system detection.
3767e706 11849
d1a5d56a
GM
118502011-06-01 Glenn Morris <rgm@gnu.org>
11851
11852 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11853
e8cbec34
CY
118542011-05-29 Chong Yidong <cyd@stupidchicken.com>
11855
11856 * image.el (image-animate-max-time): Allow nil and t values.
11857 Default to nil.
11858 (create-animated-image): Doc fix.
11859 (image-animate-start): Remove second arg; just use
11860 image-animate-max-time.
11861 (image-animate-timeout): Doc fix. Args changed.
11862
11863 * image-mode.el (image-toggle-display-image): Ensure that the
11864 image spec passed to the animate timer is the same object as in
58179cce 11865 the buffer's display property (Bug#6981).
e8cbec34
CY
11866 (image-transform-properties): Doc fix.
11867
11868 * image.el (image-animate-max-time): Default to nil.
11869
159daf87
MR
118702011-05-29 Martin Rudalics <rudalics@gmx.at>
11871
11872 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11873 entire buffer list (Bug#8184).
11874
d66c4c7c
CY
118752011-05-29 Chong Yidong <cyd@stupidchicken.com>
11876
11877 * image.el (imagemagick-types-inhibit)
11878 (imagemagick-register-types): Doc fix.
11879
80aec780
DD
118802011-05-29 Deniz Dogan <deniz@dogan.se>
11881
11882 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11883 default.
11884
1dd3c2d9
CY
118852011-05-29 Chong Yidong <cyd@stupidchicken.com>
11886
11887 * select.el: Don't perform clipboard-manager saving in hooks;
11888 leave the hooks empty.
11889
60e56523
LL
118902011-05-28 Leo Liu <sdl.web@gmail.com>
11891
11892 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11893 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11894 (occur-edit-mode): New major mode (Bug#8463).
11895 (occur-after-change-function): New function.
11896 (occur-engine): Give Occur tags a read-only property.
11897
2b1e1a22
KR
118982011-05-28 Kevin Ryde <user42@zip.com.au>
11899
11900 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11901
5d344e88
CY
119022011-05-28 Chong Yidong <cyd@stupidchicken.com>
11903
8e6ca83d
CY
11904 * bindings.el (help-echo): Make the initial non-indicator dash
11905 empty on graphical terminals (Bug#7295).
11906
5d344e88
CY
11907 * files.el (auto-mode-alist): Move config rule after the
11908 in-stripping one (Bug#8547).
11909
bfbbace7
CY
11910 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11911
fbeba6e2
CY
11912 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11913 setting (Bug#8740).
11914
60ed8c72
AA
119152011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11916
4ac619f0
AA
11917 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11918 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11919 (Bug#8539).
60ed8c72 11920
23db196e
CY
119212011-05-28 Chong Yidong <cyd@stupidchicken.com>
11922
11923 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11924
5012f24c
DK
119252011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11926
11927 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11928 (hs-hide-block-at-point, hs-find-block-beginning)
11929 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11930 (Bug#8279).
11931
6a639b16
GM
119322011-05-28 Glenn Morris <rgm@gnu.org>
11933
11934 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11935
d43eaf2c
CY
119362011-05-28 Chong Yidong <cyd@stupidchicken.com>
11937
5199bde1
CY
11938 * help-fns.el (describe-function-1): If the function is a derived
11939 major mode, print the parent mode.
11940
d43eaf2c
CY
11941 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11942 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11943
423428a8
SM
119442011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11945
0ff8e1ba 11946 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11947 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11948 * progmodes/etags.el (tags-completion-at-point-function):
11949 * info-look.el (info-lookup-completions-at-point): Mark as
11950 non-exclusive.
11951 (info-complete): Adjust accordingly.
11952
423428a8
SM
11953 * info-look.el: Convert to lexical-binding and completion-at-point.
11954 (info-lookup-completions-at-point): New function.
11955 (info-complete): Use it and completion-in-region.
11956
b74aa22b
DA
119572011-05-28 Drew Adams <drew.adams@oracle.com>
11958
11959 * isearch.el: Let M-e start with point at the first mismatched char.
11960 (isearch-fail-pos): New function.
11961 (isearch-edit-string): Use it.
11962
66e2e71d
DK
119632011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11964
11965 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11966
b1890b0f 119672011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11968
11969 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11970 traversal functions for avl-trees.
11971 (avl-tree--stack): New struct.
11972 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11973 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11974 (avl-tree--do-enter): Add optional `updatefun' arg.
11975 Change return value.
eb95d01d 11976 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11977 (avl-tree--do-delete): Add `test' and `nilflag' args.
11978 Change return value.
eb95d01d
TC
11979 (avl-tree-member): Add optional `nilflag'
11980 (avl-tree-member-p): New function.
11981 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11982 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11983 (avl-tree-stack-empty-p): New functions.
11984
3769ddcf
TC
11985 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11986 avl-tree--del-balance1 and make it work both ways.
11987 (avl-tree--del-balance2): Remove.
11988 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11989 make it work both ways.
11990 (avl-tree--enter-balance2): Remove.
11991 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11992 New macros.
11993 (avl-tree--mapc, avl-tree-map): Add direction argument.
11994
eb95d01d 119952011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11996
11997 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11998
a9f737ee
CY
119992011-05-27 Chong Yidong <cyd@stupidchicken.com>
12000
12001 * select.el: Support clipboard managers with built-in function
12002 x-clipboard-manager-save, via delete-frame-functions and
12003 kill-emacs-hook.
12004 (xselect-convert-to-targets): Add MULTIPLE target to list.
12005 (xselect-convert-to-save-targets): New function.
12006
c92a1e54
KH
120072011-05-27 Kenichi Handa <handa@m17n.org>
12008
12009 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12010 let-binding rfc2047-encode-encoded-words to nil.
12011
e145f188
GM
120122011-05-27 Glenn Morris <rgm@gnu.org>
12013
5ec8a862
GM
12014 * mail/emacsbug.el: Don't require url-util.
12015
4b29d9fb
GM
12016 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12017
e145f188
GM
12018 * files.el (set-auto-mode):
12019 Also respect mode: entries at the end of the file. (Bug#8586)
12020
7d15102b
GM
120212011-05-26 Glenn Morris <rgm@gnu.org>
12022
98f593b8
GM
12023 * files.el (hack-local-variables-prop-line, hack-local-variables):
12024 Downcase mode names, as seems to be traditional.
27b48e63 12025 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12026
7d15102b
GM
12027 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12028 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12029
51d5b4ec
JD
120302011-05-25 Julien Danjou <julien@danjou.info>
12031
12032 * textmodes/rst.el (rst-define-level-faces): Do not define face
12033 symbol if it is already defined.
12034
91513f63
VB
120352011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12036
12037 * play/5x5.el (5x5-new-game, 5x5-randomize):
12038 Reset 5x5-solver-output to nil when a new grid is cast.
12039 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12040 these debugging traces, as defmacro breaks the compiled code.
12041
4d90d6d0
DK
120422011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12043
12044 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12045
e1b90ef6
LL
120462011-05-24 Leo Liu <sdl.web@gmail.com>
12047
12048 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12049 (vc-bzr-sha1): Adapt.
12050
d8e4b68b 12051 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12052
12053 * bindings.el: Provide sha1 feature.
12054
db0406bb 120552011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12056
12057 * mail/sendmail.el: Require `rfc2047'.
12058 (mail-insert-from-field): Do not perform RFC2047 encoding.
12059 (mail-encode-header): New function.
12060 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12061 buffer to the return value of select-message-coding-system.
12062 Call mail-encode-header.
b8d747b9
KH
12063
12064 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12065
db0406bb 120662011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12067
4d90d6d0
DK
12068 * mail/supercite.el (sc-default-cite-frame):
12069 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12070
eb8a5e9b
GM
120712011-05-24 Glenn Morris <rgm@gnu.org>
12072
f8630703
GM
12073 * progmodes/python.el (brm-menu): Declare.
12074
8831bbed
GM
12075 * emulation/viper.el (viper-set-hooks): Declare.
12076
eb8a5e9b
GM
12077 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12078 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12079 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12080 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12081 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12082 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12083
a2a25d24
SM
120842011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 Add an :exit-function for completion-at-point.
12087
12088 * minibuffer.el (completion--done): New fun.
12089 (completion--do-completion): Use it. New arg `expect-exact'.
12090 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12091 since completion--do-completion does it for us now.
12092 (minibuffer-force-complete): Use completion--done and
12093 completion--replace. Handle sole-completion case with more care.
12094 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12095 (completion-extra-properties): New var.
12096 (completion-annotate-function): Make obsolete.
12097 (minibuffer-completion-help): Adjust accordingly.
12098 Use completion-list-insert-choice-function.
12099 (completion-at-point, completion-help-at-point):
12100 Bind completion-extra-properties.
12101 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12102 * simple.el (completion-list-insert-choice-function): New var.
12103 (completion-setup-function): Preserve it.
12104 (choose-completion): Pay attention to it, shuffle the code a bit.
12105 (choose-completion-string): New arg `insert-function'.
12106
12107 * textmodes/bibtex.el: Convert to lexical binding.
12108 (bibtex-mode-map): Use completion-at-point.
12109 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12110 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12111 (bibtex-complete): Define as obsolete alias.
12112 (bibtex-complete-internal): Remove.
12113 (bibtex-format-entry): Remove unused sub-group in regexp.
12114 * shell.el (shell--command-completion-data)
12115 (shell-environment-variable-completion):
12116 * pcomplete.el (pcomplete-completions-at-point):
12117 * comint.el (comint--complete-file-name-data): Use :exit-function
12118 instead of completion-table-with-terminator so it also works for
12119 choose-completion.
12120
e44e373d
SM
121212011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12122
4f91a816
SM
12123 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12124
782fc819
SM
12125 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12126 (bug#8710).
12127
e44e373d
SM
12128 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12129
381987c3
KM
121302011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12131
12132 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12133 customization variable and implement: If non-nil, auto-fill will
12134 be inhibited while on topic's header line.
12135
b776bc70
VB
121362011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12137
12138 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12139 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12140 always have a solution in grid size = 5 cases.
12141 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12142 (5x5-solver-output, 5x5-log-buffer): New vars.
12143 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12144 Make these variables buffer local to achieve 5x5 multi-session-ness.
12145 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12146 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12147 (5x5-solve-suggest): New funs.
12148 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12149 randomize a grid so that we ensure that there is always a solution.
12150 (5x5-make-random-grid): Allow other movement than flipping.
12151
7de88b6e
KR
121522011-05-23 Kevin Ryde <user42@zip.com.au>
12153
12154 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12155 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12156 advice and passes PREDICATE.
12157
b1ef1257
SM
121582011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12159
bbca48fe
SM
12160 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12161 byte-compile-lambda if it's actually a lambda.
12162
b1ef1257
SM
12163 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12164 Fix function quoting. Use backquote better.
12165
92a9cc65
YS
121662011-05-22 Yuanle Song <sylecn@gmail.com>
12167
12168 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12169 matching (Bug#8516).
12170
f0fb8059
JA
121712011-01-22 Jari Aalto <jari.aalto@cante.net>
12172
12173 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12174 different face (Bug#8178).
12175
d5b44c93
CY
121762011-05-22 Chong Yidong <cyd@stupidchicken.com>
12177
12178 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12179 defface (Bug#8144).
12180
79106a44
SM
121812011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12182
9c848d8a
SM
12183 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12184 funcall as well (bug#8712). Warn when performing those conversions.
12185 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12186
79106a44
SM
12187 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12188
88dfa756
GM
121892011-05-22 Glenn Morris <rgm@gnu.org>
12190
12191 * files.el (hack-local-variables-prop-line): Small simplifications.
12192 (hack-local-variables, hack-local-variables-prop-line):
12193 If MODE-ONLY, return the mode, rather than just `t'.
12194
b7cf2c79
SM
121952011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12198
3f1a8558
GM
121992011-05-21 Glenn Morris <rgm@gnu.org>
12200
7e4ccca3
GM
12201 * files.el (hack-local-variables-prop-line, hack-local-variables):
12202 If only interested in the mode, don't bother doing the other stuff.
12203
637d46ca
GM
12204 * image-mode.el (image-after-revert-hook):
12205 Redraw all frames on which the image is visible. (Bug#8567)
12206
973d955b
GM
12207 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12208
3f1a8558
GM
12209 * wid-edit.el (widget-checklist-match-inline):
12210 Fix 2011-04-19 change. (Bug#8649)
12211
96479927
SM
122122011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12213
1dcf791f
SM
12214 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12215 Also allow singlespace after single-letter capitals followed by a dot.
12216
96479927
SM
12217 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12218 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12219
35fd0881
N
122202011-05-20 Nix <nix@esperi.org.uk>
12221
12222 * files.el (basic-save-buffer-2):
12223 Fix handling of break-hardlink-on-save with non-existent files.
12224
82745640
DD
122252011-05-19 Deniz Dogan <deniz@dogan.se>
12226
12227 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12228 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12229
4a720484
GM
122302011-05-19 Glenn Morris <rgm@gnu.org>
12231
d1f21341
GM
12232 * progmodes/f90.el (f90-type-def-re):
12233 Handle "type, bind(c)". (Bug#8691)
12234
4a720484
GM
12235 * emacs-lisp/autoload.el (batch-update-autoloads):
12236 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12237
2fb0a219
MA
122382011-05-18 Michael Albinus <michael.albinus@gmx.de>
12239
12240 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12241 property for the correct connection in case of multihops.
12242
e565dd37
GM
122432011-05-18 Glenn Morris <rgm@gnu.org>
12244
c2571358 12245 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12246 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12247
e565dd37
GM
12248 Rationalize calendar handling of day and month abbrev-arrays.
12249 * calendar/calendar.el (calendar-customized-p): New function.
12250 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12251 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12252 Add :set function.
12253 (calendar-abbrev-length, calendar-day-abbrev-array)
12254 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12255 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12256 Elements may no longer be nil.
12257 (calendar-day-name, calendar-month-name):
12258 Update for changed nature of abbrev arrays.
12259 * calendar/diary-lib.el (diary-name-pattern):
12260 Update for changed nature of abbrev arrays.
12261 (diary-mark-entries-1): Update calendar-make-alist calls.
12262 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12263 * calendar/cal-html.el (cal-html-day-abbrev-array):
12264 Simply inherit from calendar-day-abbrev-array.
12265
1d99a745
SM
122662011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12267
12268 * progmodes/grep.el (grep-mode): Disable default
12269 compilation-directory-matcher setting (bug#8684).
12270
7c1d9aa0
MA
122712011-05-17 Michael Albinus <michael.albinus@gmx.de>
12272
12273 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12274 instead of "head" and "tail". There were problems with SunOS 5.9,
12275 and it performs better.
12276
3952e9d8
GM
122772011-05-17 Glenn Morris <rgm@gnu.org>
12278
2dd12e7f
GM
12279 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12280
e4157b9c
GM
12281 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12282 Replace obsolete function.
12283
8e249bbd
GM
12284 * shell.el (pcomplete-parse-arguments-function): Declare.
12285
3952e9d8
GM
12286 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12287 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12288 (appt-check): Doc fixes.
12289 (appt-disp-window-function, appt-delete-window-function):
12290 Remove needless special case in custom :type.
12291 (appt-display-count): Default to 0, not nil.
12292 (appt-check): Reset appt-display-count to 0, not nil.
12293
c71a0d48 122942011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12295
c71a0d48
GM
12296 * progmodes/python.el (python-font-lock-keywords):
12297 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12298
31d55be9
SM
122992011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12302
3bfacb2f
KR
123032011-05-16 Kevin Ryde <user42@zip.com.au>
12304
12305 * info-look.el (makefile-automake-mode): New setups, looking in
12306 automake manual, then makefile-mode.
12307 (makefile-mode): Remove automake manual, have it just in
12308 makefile-automake-mode since there's various things different or
12309 not relevant to plain make.
12310 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12311 believe a hypothetical automake-mode would go to makefile-mode,
12312 not the other way around.
12313
c8e83751
CY
123142011-05-15 Chong Yidong <cyd@stupidchicken.com>
12315
5e9e35cd
CY
12316 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12317 hunk-end tags (Bug#8672).
12318
c8e83751
CY
12319 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12320 vc-annotate-show-diff-revision-at-line (Bug#8671).
12321
50b23e5a
GM
123222011-05-14 Glenn Morris <rgm@gnu.org>
12323
7210a739
GM
12324 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12325 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12326 (change-log-font-lock-keywords): Also handle multiple author lines
12327 with leading tabs. (Bug#8644)
7210a739 12328
4691905a
GM
12329 * calendar/appt.el (appt-check): Rename some local variables.
12330 Some simplification/reordering.
12331
50b23e5a
GM
12332 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12333 (feedmail-sendmail-f-doesnt-sell-me-out)
12334 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12335 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12336 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12337 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12338 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12339 (feedmail-binmail-gnulinuxish-template):
12340 Rename from feedmail-binmail-linuxish-template.
12341 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12342 Use insert-buffer-substring.
12343
215cda7c
BC
123442011-05-14 Bill Carpenter <bill@carpenter.org>
12345
12346 * mail/feedmail.el (feedmail-patch-level): Increase.
12347 (feedmail-debug): New custom group.
12348 (feedmail-confirm-outgoing-timeout)
12349 (feedmail-sendmail-f-doesnt-sell-me-out)
12350 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12351 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12352 (feedmail-sender-line, feedmail-from-line)
12353 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12354 (feedmail-spray-this-address)
215cda7c
BC
12355 (feedmail-spray-address-fiddle-plex-list)
12356 (feedmail-queue-use-send-time-for-date)
12357 (feedmail-queue-use-send-time-for-message-id)
12358 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12359 (feedmail-buffer-eating-function):
12360 Doc fixes.
12361 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12362 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12363 (feedmail-message-action-scroll-down): New functions.
12364 (feedmail-queue-directory, feedmail-queue-draft-directory):
12365 Use expand-file-name.
12366 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12367 Remove C-v help entry.
12368 (feedmail-queue-buffer-file-name): New variable.
12369 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12370 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12371 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12372 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12373 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12374 (feedmail-message-action-toggle-spray)
12375 (feedmail-run-the-queue-no-prompts)
12376 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12377 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12378 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12379 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12380 (feedmail-envelope-deducer, feedmail-fiddle-from)
12381 (feedmail-fiddle-sender, feedmail-default-date-generator)
12382 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12383 (feedmail-fiddle-spray-address)
12384 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12385 (feedmail-fiddle-list-of-fiddle-plexes)
12386 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12387 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12388 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12389 Change default. Doc fix.
12390 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12391 (feedmail-binmail-linuxish-template): New constant.
12392 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12393 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12394 (feedmail-send-it): Add debug call.
12395 Use feedmail-queue-buffer-file-name, and
12396 feedmail-send-it-immediately-wrapper.
12397 (feedmail-message-action-send): Add debug call.
12398 Use feedmail-send-it-immediately-wrapper.
12399 (feedmail-queue-express-to-queue): Add debug call.
12400 Run feedmail-queue-express-hook.
12401 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12402 (feedmail-message-action-help-blat):
12403 Rename from feedmail-queue-send-edit-prompt-help-first.
12404 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12405 Check line-endings. Handle errors better.
12406 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12407 Doc fix. Add debug call.
12408 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12409 Use feedmail-queue-send-edit-prompt-inner.
12410 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12411 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12412 from feedmail-queue-send-edit-prompt.
12413 (feedmail-queue-send-edit-prompt-help)
12414 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12415 (feedmail-tidy-up-slug): Add debug call.
12416 Respect feedmail-queue-slug-suspect-regexp.
12417 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12418 (feedmail-dump-message-to-queue): Add debug call.
12419 Expand queue-directory.
12420 (feedmail-dump-message-to-queue): Change message slightly.
12421 Use feedmail-say-chatter.
12422 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12423 (feedmail-send-it-immediately-wrapper): New function.
12424 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12425 Insert empty string rather than newline. Handle full-frame case.
12426 Use catch/throw. Use feedmail-say-chatter.
12427 (feedmail-fiddle-from): Try mail-host-address.
12428 (feedmail-default-message-id-generator): Doc fix.
12429 Bind system-time-locale. Handle missing end.
12430 (feedmail-fiddle-x-mailer): Add debug call.
12431 Handle feedmail-x-mailer-line being nil.
12432 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12433 Add debug call. Use buffer-substring-no-properties.
12434 (feedmail-say-debug, feedmail-say-chatter): New functions.
12435 (feedmail-find-eoh): Give an explicit error.
12436
42c7e61e
UJ
124372011-05-13 Ulf Jasper <ulf.jasper@web.de>
12438
c2571358 12439 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12440 family from helvetica to sans.
c2571358 12441 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12442 etc/images/newsticker.
12443
c2571358 12444 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12445 family from helvetica to sans.
12446
12447 * net/newst-plainview.el (newsticker-new-item-face)
12448 (newsticker-old-item-face, newsticker-immortal-item-face)
12449 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12450 (newsticker-statistics-face): Change default family from
42c7e61e 12451 helvetica to sans.
c2571358 12452 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12453 etc/images/newsticker.
12454
5d3385a0
JB
12455 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12456 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12457 auto-marking.
12458
8497a297
DV
124592011-05-13 Didier Verna <didier@xemacs.org>
12460
12461 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12462 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12463 TODO entries.
8497a297
DV
12464 (lisp-lambda-list-keyword-parameter-indentation)
12465 (lisp-lambda-list-keyword-parameter-alignment)
12466 (lisp-lambda-list-keyword-alignment): New customizable user options.
12467 (lisp-indent-defun-method): Improve docstring.
12468 (extended-loop-p): Fix comment.
12469 (lisp-indent-lambda-list-keywords-regexp): New variable.
12470 (lisp-indent-lambda-list): New function.
12471 (lisp-indent-259): Use it.
12472 (lisp-indent-defmethod): Support for more than one
12473 method qualifier and properly indent methods lambda-lists.
12474 (defgeneric): Provide a missing common-lisp-indent-function property.
12475
f278f87f
SM
124762011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12479 bounds for the empty string (bug#8667).
12480
5233edd7
GM
124812011-05-13 Glenn Morris <rgm@gnu.org>
12482
5237a44f
GM
12483 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12484
8340026c 12485 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12486 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12487
5233edd7 12488 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12489 (appt-time-msg-list): Doc fix.
a5464014 12490 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12491
92d10796
AS
124922011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12493
12494 * progmodes/ld-script.el (ld-script-keywords)
12495 (ld-script-builtins): Update keywords list.
12496
914a0ae1
SM
124972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12498
c89be45f
SM
12499 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12500
914a0ae1
SM
12501 * shell.el (shell-completion-vars): New function.
12502 (shell-mode):
12503 * simple.el (read-shell-command): Use it.
12504 (blink-matching-open): No need for " [...]" in minibuffer-message.
12505
98dc3df3
GM
125062011-05-12 Glenn Morris <rgm@gnu.org>
12507
12508 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12509 (appt-check): Simplify.
12510
d2fc7e3d 125112011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12512
4d61f28d 12513 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12514 literal "/dev/null".
12515
d2fc7e3d 125162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12517
12518 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12519 Fix typo.
12520
d2fc7e3d 125212011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12522
3f254caa
SM
12523 * progmodes/which-func.el (which-function):
12524 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12525 which might not be defined (Bug#8260).
12526
d45885f7
GM
125272011-05-12 Glenn Morris <rgm@gnu.org>
12528
12529 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12530 Let byte-compile-initial-macro-environment always take precedence.
12531
488086f4
SM
125322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12533
12534 * net/rcirc.el: Add support for SSL/TLS connections.
12535 (rcirc-server-alist): New field `encryption'.
12536 (rcirc): Check `encryption' settings.
12537 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12538 Merge make-local-variable into `set'.
12539 (rcirc--connection-open-p): New function.
12540 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12541 the process is not a network process (e.g. running gnutls-cli).
12542 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12543 Make rcirc-(en|de)code-coding-system local here.
12544 (rcirc-mode): Merge make-local-variable into `set'.
12545 (rcirc-parent-buffer): Make permanent buffer-local.
12546 (rcirc-multiline-minor-mode): Don't do it here.
12547 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12548 there's no server buffer.
12549
7d3b9d44
GM
125502011-05-11 Glenn Morris <rgm@gnu.org>
12551
f64049c6
GM
12552 * newcomment.el (comment-kill): Prefix "unused" local.
12553
93c9df73
GM
12554 * term/w32console.el (get-screen-color): Declare.
12555
7d3b9d44
GM
12556 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12557 Handle symbol elements of byte-compile-initial-macro-environment.
12558
9e2dd53f
LL
125592011-05-10 Leo Liu <sdl.web@gmail.com>
12560
488086f4
SM
12561 * bookmark.el (bookmark-bmenu-mode-map):
12562 Bind bookmark-bmenu-search to `/'.
8b340240 12563
9e2dd53f 12564 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12565 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12566 (Footnote-unicode): New function.
12567 (footnote-style-alist): Add unicode style to the list.
12568 (footnote-style): Doc fix.
9e2dd53f 12569
79b70037
GM
125702011-05-10 Jim Meyering <meyering@redhat.com>
12571
12572 Fix doubled-word typos.
12573 * international/quail.el (quail-insert-kbd-layout): and and -> and
12574 * kermit.el: and and -> and
12575 * net/ldap.el (ldap-search-internal): to to -> to
12576 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12577 * progmodes/js.el (js-mode): and and -> and
12578 * textmodes/artist.el (artist-move-to-xy): at at -> at
12579 (artist-draw-region-trim-line-endings): if if -> if
12580 And Safetyc -> Safety.
12581 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12582
b8f82dc1 125832011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12584 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12585
12586 * files.el (hack-one-local-variable-eval-safep):
12587 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12588
4f99f44b
GM
125892011-05-10 Glenn Morris <rgm@gnu.org>
12590
12591 * calendar/diary-lib.el (diary-list-entries-hook)
12592 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12593 (diary-nongregorian-marking-hook, diary-list-entries)
12594 (diary-include-other-diary-files, diary-mark-entries)
12595 (diary-mark-included-diary-files): Doc fixes.
12596
84f29e6b
JB
125972011-05-09 Juanma Barranquero <lekktu@gmail.com>
12598
12599 * misc.el: Require tabulated-list.el during compilation.
12600
9bedd73a
CY
126012011-05-09 Chong Yidong <cyd@stupidchicken.com>
12602
488086f4
SM
12603 * progmodes/compile.el (compilation-start):
12604 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12605 (compilation-filter-hook): Doc fix.
12606
797c735c
DD
126072011-05-09 Deniz Dogan <deniz@dogan.se>
12608
12609 * wdired.el: Remove outdated installation comment. Fix usage
12610 comment.
12611
5f4b1dfe
JB
126122011-05-09 Juanma Barranquero <lekktu@gmail.com>
12613
12614 * misc.el: Implement new command `list-dynamic-libraries'.
12615 (list-dynamic-libraries--loaded-only-p): New variable.
12616 (list-dynamic-libraries--refresh): New function.
12617 (list-dynamic-libraries): New command.
12618
4c44026c
CY
126192011-05-09 Chong Yidong <cyd@stupidchicken.com>
12620
488086f4
SM
12621 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12622 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12623 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12624 higher priority to avoid clobbering by gnu.
12625
027f966d
CY
126262011-05-08 Chong Yidong <cyd@stupidchicken.com>
12627
12628 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12629 if the face has existing theme settings (Bug#8454).
12630
085f5d7d
CY
126312011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12632
488086f4
SM
12633 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12634 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12635
2a86a00c
RS
12636 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12637 special file names `.' and `..' (Bug#8259).
12638
d9c54a06
CY
126392011-05-08 Chong Yidong <cyd@stupidchicken.com>
12640
488086f4
SM
12641 * progmodes/grep.el (grep-mode-font-lock-keywords):
12642 Remove buffer-changing entries.
d9c54a06
CY
12643 (grep-filter): New function.
12644 (grep-mode): Add it to compilation-filter-hook.
12645
12646 * progmodes/compile.el (compilation-filter-hook)
12647 (compilation-filter-start): New defvars.
12648 (compilation-filter): Call compilation-filter-hook prior to
12649 updating the process mark.
12650
c4662635
SM
126512011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12652
12653 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12654
b0512a1d
EZ
126552011-05-07 Eli Zaretskii <eliz@gnu.org>
12656
605c9376
EZ
12657 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12658 mailclient-send-it even if window-system is nil. (Bug#8595)
12659
c4662635
SM
12660 * term/w32console.el (terminal-init-w32console):
12661 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12662 background-mode. (Bug#8597)
12663
d1dc2cc2
SM
126642011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12665
12666 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12667 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12668 New functions.
12669 (defgeneric, eieio--defmethod): Use them.
12670 (eieio-defgeneric): Remove.
12671 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12672
915d1300
GM
126732011-05-07 Glenn Morris <rgm@gnu.org>
12674
a3961c3e
GM
12675 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12676 Use let rather than let*.
12677 (timeclock-find-discrep): Remove unused local.
12678
314347b9
GM
12679 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12680
915d1300
GM
12681 * calendar/appt.el (appt-time-msg-list): Doc fix.
12682
275b59b0
NF
126832011-05-06 Noah Friedman <friedman@splode.com>
12684
12685 * apropos.el (apropos-print-doc): Only use
12686 emacs-lisp-docstring-fill-column when it is bound to an integer,
12687 per that variable's documentation.
12688
6c19f744
SM
126892011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12690
12691 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12692 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12693
60f884b2
GM
126942011-05-06 Glenn Morris <rgm@gnu.org>
12695
5006e634
GM
12696 * calendar/appt.el (appt-message-warning-time): Doc fix.
12697 (appt-warning-time-regexp): New option.
12698 (appt-make-list): Respect appt-message-warning-time.
12699
548d0a63
GM
12700 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12701 New options.
12702 (diary-add-to-list): Strip comments from the displayed string.
12703 (diary-mode): Set comment-start and comment-end.
12704
60f884b2
GM
12705 * vc/diff-mode.el (smerge-refine-subst): Declare.
12706 (diff-refine-hunk): Don't require smerge-mode when compiling.
12707
989681bb
JB
127082011-05-06 Juanma Barranquero <lekktu@gmail.com>
12709
12710 * simple.el (list-processes): Return nil as the docstring says.
12711
a6bc05e1
MA
127122011-05-05 Michael Albinus <michael.albinus@gmx.de>
12713
12714 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12715 to "".
12716 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12717 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12718 determining of binary transfer. (Bug#7383)
12719
23c22e9a
MA
127202011-05-05 Michael Albinus <michael.albinus@gmx.de>
12721
c4662635
SM
12722 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12723 Fix port computation bug. (Bug#8618)
23c22e9a 12724
0bff894f
GM
127252011-05-05 Glenn Morris <rgm@gnu.org>
12726
b8296902
GM
12727 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12728
1f522ce8
GM
12729 * simple.el (shell-dynamic-complete-functions)
12730 (comint-dynamic-complete-functions): Declare.
12731
cf5bee67
GM
12732 * net/network-stream.el (gnutls-negotiate):
12733 * simple.el (tabulated-list-print): Fix declarations.
12734
12735 * progmodes/gud.el (syntax-symbol, syntax-point):
12736 Remove unnecessary and incorrect declarations.
12737
0bff894f
GM
12738 * emacs-lisp/check-declare.el (check-declare-scan):
12739 Handle byte-compile-initial-macro-environment in bytecomp.el
12740
9869b3ae
SM
127412011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12742
12743 Fix earlier half-done eieio-defmethod change (bug#8338).
12744 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12745 Streamline and change calling convention.
12746 (defmethod): Adjust accordingly and simplify.
12747 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12748 new eieio--defmethod.
12749 (slot-boundp): Minor CSE simplification.
12750
9c1d5ac5
MZ
127512011-05-05 Milan Zamazal <pdm@zamazal.org>
12752
12753 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12754 (glasses-make-readable): Use glasses-separate-capital-groups.
12755
455c834e
JB
127562011-05-05 Juanma Barranquero <lekktu@gmail.com>
12757
12758 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12759 (warning-series): Doc fix.
12760 (display-warning): Don't try to create the buffer if we just found it.
12761
9ed7c8cb
CY
127622011-05-04 Chong Yidong <cyd@stupidchicken.com>
12763
12764 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12765 (autoload-find-generated-file): New function.
12766 (generate-file-autoloads): Bind generated-autoload-file to
12767 buffer-file-name.
9869b3ae
SM
12768 (update-file-autoloads, update-directory-autoloads):
12769 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12770 output file (Bug#7989).
12771 (batch-update-autoloads): Doc fix.
12772
0898ca10
JB
127732011-05-04 Juanma Barranquero <lekktu@gmail.com>
12774
12775 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12776
31dfb76c
GM
127772011-05-04 Glenn Morris <rgm@gnu.org>
12778
f330b642
GM
12779 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12780 function, so it follows changes in calendar-date-style.
12781 (diary-fancy-date-matcher): New function.
12782 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12783 (diary-fancy-font-lock-fontify-region-function):
12784 Use diary-fancy-date-pattern as a function.
12785
31dfb76c
GM
12786 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12787 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12788
48e79d6a
TZ
127892011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12790
12791 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12792 instead of positional arguments. Allow :keylist and :crlfiles
12793 arguments.
12794 (open-gnutls-stream): Call it.
12795
12796 * net/network-stream.el (network-stream-open-starttls): Adjust to
12797 call `gnutls-negotiate' with :process and :hostname arguments.
12798
dd5a5ee0
SM
127992011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12800
ef80fc09
SM
12801 * minibuffer.el (completion--message): New function.
12802 (completion--do-completion, minibuffer-complete)
12803 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12804 (completion--do-completion): Don't ignore completion-auto-help when in
12805 icomplete-mode.
12806
dd5a5ee0
SM
12807 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12808 internal encoding (e.g. tibetan zero is not whitespace).
12809 (global-whitespace-mode): Prefer save-current-buffer.
12810 (whitespace-trailing-regexp): Remove useless save-match-data.
12811 (whitespace-empty-at-bob-regexp): Minor simplification.
12812
b7d22a83
CY
128132011-05-03 Chong Yidong <cyd@stupidchicken.com>
12814
12815 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12816
5192af46
AM
128172011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12818
12819 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12820 Use `concat' to create string for insertion.
5192af46 12821
5767d190
SM
128222011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12825 Avoid open-line which runs post-self-insert-hook.
12826 (bibtex-fill-entry): Remove unused `end' var.
12827
bf242939
AM
128282011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12829
5767d190
SM
12830 * textmodes/ispell.el (ispell-add-per-file-word-list):
12831 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12832
25666126
LL
128332011-05-03 Leo Liu <sdl.web@gmail.com>
12834
12835 * isearch.el (isearch-yank-pop): New command.
5767d190 12836 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12837 (isearch-forward): Mention it.
12838
52d3c2d0
SM
128392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12840
1bcace58
SM
12841 * simple.el (minibuffer-complete-shell-command): Remove.
12842 (minibuffer-local-shell-command-map): Use completion-at-point.
12843 (read-shell-command): Setup completion vars here instead.
12844 (read-expression-map): Bind TAB to symbol completion.
12845
52d3c2d0
SM
12846 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12847 error directly rather via storing it into `results'.
12848
35813471
LL
128492011-05-02 Leo Liu <sdl.web@gmail.com>
12850
12851 * vc/diff.el: Fix description.
12852
e793a940
LMI
128532011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12854
12855 * server.el (server-eval-at): New function.
12856
8de66e05
LMI
128572011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12858
12859 * net/network-stream.el (open-network-stream): Take a :nowait
12860 parameter and pass it on to `make-network-process'.
12861 (network-stream-open-plain): Ditto.
12862
dcb79f20
AS
128632011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12864
12865 * faces.el (face-spec-set-match-display): Don't match toolkit
12866 options on terminal frames.
12867
14a7fbd8
SM
128682011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12869
7eabc1be
SM
12870 * progmodes/pascal.el: Use lexical binding.
12871 (pascal-mode-map): Remove author preferences.
12872
14a7fbd8
SM
12873 * pcomplete.el (pcomplete-std-complete): Don't abuse
12874 completion-at-point.
12875
50f84510
JB
128762011-04-28 Juanma Barranquero <lekktu@gmail.com>
12877
6e087a44
JB
12878 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12879 removing code that has been dead since 1991 or so.
12880
50f84510
JB
12881 * startup.el (command-line): When warning about "_emacs", use a
12882 delayed warning to allow the user to filter it out.
12883
0ba690bd
DD
128842011-04-28 Deniz Dogan <deniz@dogan.se>
12885
12886 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12887 user has not joined.
12888
08abfaad
SM
128892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12890
12891 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12892 aren't any completions at point.
12893
638f053a
JB
128942011-04-28 Juanma Barranquero <lekktu@gmail.com>
12895
12896 * subr.el (display-delayed-warnings): New function.
12897 (delayed-warnings-hook): New variable.
12898
8fff8daa
SM
128992011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12900
08abfaad
SM
12901 * minibuffer.el (completion-at-point, completion-help-at-point):
12902 Don't presume that a given completion-at-point-function will always
12903 use the same calling convention.
12904
8fff8daa
SM
12905 * pcomplete.el (pcomplete-completions-at-point):
12906 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12907 pcomplete-seen is non-nil.
12908 (pcomplete-comint-setup): Also recognize the new comint/shell
12909 completion functions.
12910 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12911 pcomplete-seen is non-nil.
12912
841a1577 129132011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12914
841a1577 12915 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12916 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12917 the first character in the entry. This allows for code to add its
211ec907
UJ
12918 own uid to the entry.
12919 (icalendar--convert-float-to-ical): Add export of
12920 `diary-float'-entries save for those with the optional DAY
12921 argument.
12922
2a782793
DC
129232011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12924
12925 * subr.el (shell-quote-argument): Use alternate escaping strategy
12926 when we spot a variable reference in a string.
12927
0438ce91
DC
129282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12929
12930 * cus-start.el (all): Define customization for debug-on-event.
12931
841a1577 129322011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12933
12934 * subr.el (shell-quote-argument): Escape correctly under Windows.
12935
d090ed6c
SM
129362011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12939
bfd31217
MA
129402011-04-25 Michael Albinus <michael.albinus@gmx.de>
12941
d090ed6c
SM
12942 * net/tramp.el (tramp-process-actions): Add POS argument.
12943 Delete region between POS and (pos).
bfd31217 12944
d090ed6c
SM
12945 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12946 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12947 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12948
12949 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12950 position in `tramp-process-actions' call.
12951
12952 * net/trampver.el: Update release number.
12953
e92f3bd3
SM
129542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12955
850256b5
SM
12956 * custom.el (defcustom): Obey lexical-binding.
12957
e92f3bd3
SM
12958 Fix octave-inf completion problems reported by Alexander Klimov.
12959 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12960 Inherit from octave-mode-syntax-table.
12961 (inferior-octave-mode): Set info-lookup-mode.
12962 (inferior-octave-completion-at-point): New function.
12963 (inferior-octave-complete): Use it and completion-in-region.
12964 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12965 comint-filename-completion.
12966 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12967 symbol elements which shouldn't be word elements.
12968 (octave-font-lock-keywords, octave-beginning-of-defun)
12969 (octave-function-header-regexp): Adjust regexps accordingly.
12970 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12971
cd22b309
JB
129722011-04-25 Juanma Barranquero <lekktu@gmail.com>
12973
12974 * net/gnutls.el (gnutls-errorp): Declare before first use.
12975
8b492194
TZ
129762011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12977
12978 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12979 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12980 default trustfile exists before going to use it. Add missing
5a5fa834 12981 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12982 Reported by Claudio Bley <claudio.bley@gmail.com>.
12983 (open-gnutls-stream): Add usage example.
12984
12985 * net/network-stream.el (network-stream-open-starttls): Give host
12986 parameter to `gnutls-negotiate'.
12987 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12988 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12989
841a1577 129902011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12991
cd22b309
JB
12992 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12993 Use correct match group (bug#8438).
05842630 12994
3ba7869c
CY
129952011-04-24 Chong Yidong <cyd@stupidchicken.com>
12996
512e3ae1
CY
12997 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12998 (package-menu--generate): New arg specifying packages to show.
12999 (package-menu-refresh, package-menu-execute, list-packages):
13000 Callers changed.
13001 (package-show-package-list): New function, replacing deleted
13002 package--list-packages (renamed because it is non-internal).
13003
13004 * finder.el (finder-list-matches): Use package-show-package-list
13005 instead of deleted package--list-packages.
13006
e92f3bd3
SM
13007 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13008 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13009 (vc-annotate-mode-map): Bind it to RET.
13010
7031be6d
UR
130112011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13012
13013 * progmodes/etags.el (next-file): Don't use set-buffer to change
13014 buffers (Bug#8478).
13015
4ef177aa
CY
130162011-04-24 Chong Yidong <cyd@stupidchicken.com>
13017
c8d173eb
CY
13018 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13019
4ef177aa
CY
13020 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13021 (apropos-accumulator): Doc fix.
13022 (apropos-function, apropos-macro, apropos-command)
13023 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13024 (apropos-plist): Add face property.
13025 (apropos-symbols-internal): Fix indentation.
13026 (apropos-print): Simplify help, and recognize apropos-multi-type.
13027 (apropos-print-doc): Use button-type-get to extract the button's
13028 face property. Fill docstring (Bug#8352).
13029
4ffd0d6b 130302011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13031
13032 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13033
c6c32125 13034 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13035 (mpuz-mode-map): Use mapc.
c6c32125
JB
13036 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13037 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13038 Fix typos in docstrings.
13039
58d468b4
JB
13040 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13041 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13042
6470c3c6
JB
13043 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13044
4ffd0d6b 130452011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13046
13047 * minibuffer.el (completion--do-completion): Avoid the "Next char
13048 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13049
3ad8bad0
CY
13050 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13051 mouse-2 into unread-command-events, it is interpreted correctly.
13052
71d73c9c 13053 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13054 (image-toggle-display): Doc fix.
71d73c9c 13055
841a1577 130562011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13057
4ffd0d6b
GM
13058 * textmodes/page.el (what-page): Use line-number-at-pos to
13059 calculate line number (Bug#6825).
6e1dbaa9 13060
c2fb1b60
JB
130612011-04-22 Juanma Barranquero <lekktu@gmail.com>
13062
13063 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13064 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13065 Pass argument NO-DEFAULT to `find-tag-interactive'.
13066
e02f48d7
JB
130672011-04-22 Juanma Barranquero <lekktu@gmail.com>
13068
13069 Lexical-binding cleanup.
13070
13071 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13072 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13073 * progmodes/ada-prj.el (ada-prj-initialize-values)
13074 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13075 (ada-prj-show-value):
13076 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13077 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13078 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13079 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13080 * progmodes/bug-reference.el (bug-reference-push-button):
13081 * progmodes/fortran.el (fortran-line-length):
13082 * progmodes/glasses.el (glasses-change):
13083 * progmodes/octave-mod.el (octave-fill-paragraph):
13084 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13085 (python-pdbtrack-grub-for-buffer, python-sentinel):
13086 * progmodes/sql.el (sql-save-connection):
13087 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13088 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13089 Mark unused parameters.
13090
13091 * progmodes/compile.el (compilation--flush-directory-cache)
13092 (compilation--flush-parse, compile-internal): Mark unused parameters.
13093 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13094 (compilation-next-error-function): Remove unused variable `timestamp'.
13095
13096 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13097 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13098
13099 * progmodes/dcl-mode.el (dcl-end-of-command):
13100 Remove unused variable `start'.
13101 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13102 (dcl-option-value-basic, dcl-option-value-offset)
13103 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13104 Mark unused parameters.
13105 (dcl-save-local-variable): Remove unused variable `val'.
13106 (mode): Declare.
13107
13108 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13109 Mark unused parameters.
13110 (delphi-ignore-changes): Move before first use.
13111 (delphi-charset-token-at): Remove unused variable `start'.
13112 (delphi-else-start): Remove unused variable `if-count'.
13113 (delphi-comment-block-start, delphi-comment-block-end):
13114 Remove unused variable `kind'.
13115 (delphi-indent-line): Remove unused variable `new-point'.
13116
13117 * progmodes/ebrowse.el (ebrowse-files-list)
13118 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13119 Mark unused parameters. Don't quote `lambda'.
13120 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13121 Don't quote `lambda'.
13122 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13123 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13124 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13125 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13126 Use `ignore-errors'.
13127 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13128 (ebrowse-view/find-file-and-search-pattern)
13129 (ebrowse-view/find-member-declaration/definition):
13130 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13131 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13132 Rename parameter PREFIX-ARG to PREFIX.
13133 (ebrowse-tags-read-name): Remove unused variables `start' and
13134 `member-info'.
13135 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13136 to `tags-file'.
13137
13138 * progmodes/etags.el (local-find-tag-hook): Declare.
13139 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13140 Mark unused parameters.
13141
13142 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13143 (executable-interpret): Mark unused parameter.
13144
13145 * progmodes/flymake.el (flymake-process-sentinel)
13146 (flymake-after-change-function)
13147 (flymake-create-temp-with-folder-structure)
13148 (flymake-get-include-dirs-dot): Mark unused parameters.
13149 (flymake-safe-delete-directory): Remove unused variable `err'.
13150
13151 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13152 (speedbar-timer-fn, speedbar-line-text)
13153 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13154 (speedbar-center-buffer-smartly): Declare functions.
13155 (gdb-find-watch-expression): Remove unused variable `array'.
13156 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13157 (gdb-starting): Mark unused parameters.
13158 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13159 (gdb-table-string): Remove unused variable `res'.
13160 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13161 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13162 (gdb-display-buffer): Remove unused variable `cur-size'.
13163
13164 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13165 allow lexical-binding compilation.
13166 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13167 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13168 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13169 Mark unused parameters.
13170 (gud-gdb-marker-filter): Remove unused variable `match'.
13171 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13172 lambda expressions and funcall them, instead of using `fset'.
13173
13174 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13175 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13176
13177 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13178 variable `header-beg'; use `let'.
13179
13180 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13181 `restart', `last-sexp' and `at-do'.
13182
13183 * progmodes/js.el (js--debug): Mark unused parameter.
13184 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13185 (js--splice-into-items): Remove unused variable `item'.
13186 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13187
13188 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13189 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13190 (makefile-complete): Remove unused variable `try'.
13191 (makefile-fill-paragraph, makefile-match-function-end):
13192 Mark unused parameters.
13193
13194 * progmodes/octave-inf.el (inferior-octave-complete):
13195 Remove unused variable `proc'.
13196 (inferior-octave-output-digest): Mark unused parameter.
13197
13198 * progmodes/perl-mode.el (perl-calculate-indent):
13199 Remove unused variable `err'.
13200
13201 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13202 (prolog-indent-line): Mark unused parameters.
13203 (prolog-indent-line): Remove unused variable `beg'.
13204
13205 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13206 (reporter-dont-compact-list): Declare.
13207
13208 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13209 Remove unused variable `char'.
13210 (sh-debug): Mark unused parameter.
13211 (sh-get-indent-info): Remove unused variable `start'.
13212 (sh-calculate-indent): Remove unused variable `var'.
13213
13214 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13215 (simula-electric-keyword): Remove unused variable `null'.
13216 (simula-search-backward, simula-search-forward): Remove unused
13217 variables `begin' and `end'.
13218
13219 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13220 Remove unused variable `pos'.
13221 (vera-electric-tab, vera-comment-uncomment-region):
13222 Mark unused parameters.
13223 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13224
7ede3b65
CY
132252011-04-22 Chong Yidong <cyd@stupidchicken.com>
13226
13227 * emacs-lisp/package.el (package--builtins, package-alist)
13228 (package-load-descriptor, package-built-in-p, package-activate)
13229 (define-package, package-installed-p)
13230 (package-compute-transaction, package-buffer-info)
13231 (package--push): Doc fix. Distinguish more clearly between
13232 version strings and version lists.
13233
121656e9
JB
132342011-04-21 Juanma Barranquero <lekktu@gmail.com>
13235
13236 Lexical-binding cleanup.
13237
13238 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13239 (5x5-make-mutate-best):
13240 * play/fortune.el (fortune-in-buffer):
13241 * play/gomoku.el (gomoku-init-display):
13242 * play/solitaire.el (solitaire, solitaire-do-check):
13243 * play/tetris.el (tetris-default-update-speed-function):
13244 Mark unused parameters.
13245
13246 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13247 (bubbles--shift): Remove unused variable `char-org'.
13248 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13249 (bubbles--show-images): Remove unused variable `char'.
13250
13251 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13252 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13253 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13254 (decipher-analyze-buffer): Use ?\s.
13255 (decipher-make-checkpoint): Remove unused variable `mapping'.
13256
13257 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13258
13259 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13260 Remove unused variable `result'; use `let'.
13261
13262 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13263 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13264 (gametree-children-shown-p, gametree-compute-reduced-score):
13265 Use `ignore-errors'.
13266
13267 * play/handwrite.el (ps-lpr-switches): Declare.
13268 (handwrite): Remove unused variables `pmin' and `lastp'.
13269
13270 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13271
13272 * play/landmark.el (landmark-init-display)
13273 (landmark-update-naught-weights): Mark unused parameters.
13274 (landmark-y): Remove unused variable `noise'. Simplify.
13275 (landmark-human-plays): Remove unused variable `score'.
13276
13277 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13278 (mpuz-try-proposal): Remove unused variable `game'.
13279
13280 * play/zone.el (life-patterns): Declare.
13281
80f499c7
JB
132822011-04-20 Juanma Barranquero <lekktu@gmail.com>
13283
13284 * vc/vc.el (ediff-vc-internal): Declare function.
13285
024ff170
SM
132862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13287
c0a193ea
SM
13288 * shell.el: Use lexical-binding and std completion UI.
13289 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13290 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13291 comint-preoutput-filter-functions rather than on
13292 comint-output-filter-functions.
13293 (shell-command-completion, shell--command-completion-data)
13294 (shell-filename-completion, shell-environment-variable-completion)
13295 (shell-c-a-p-replace-by-expanded-directory): New functions.
13296 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13297 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13298 (shell-dynamic-complete-environment-variable): Use them.
13299 (shell-dynamic-complete-as-environment-variable)
13300 (shell-dynamic-complete-as-command): Remove.
13301 (shell-match-partial-variable): Match past point.
13302 * comint.el: Clean up use of completion-at-point-functions.
13303 (comint-completion-at-point): New function.
13304 (comint-mode): Use it completion-at-point-functions.
13305 (comint-dynamic-complete): Make it obsolete.
13306 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13307 (comint-c-a-p-replace-by-expanded-history): New function.
13308 (comint-dynamic-complete-functions)
13309 (comint-replace-by-expanded-history): Use it.
13310 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13311 termination strings. Try harder to avoid second try-completion.
13312 (completion-in-region-mode-map): Disable bindings that don't work yet.
13313
2dbaa080
SM
13314 * comint.el: Use lexical-binding. Require CL.
13315 (comint-dynamic-complete-functions): Use comint-filename-completion.
13316 (comint-completion-addsuffix): Tweak custom type.
13317 (comint-filename-completion, comint--common-suffix)
13318 (comint--common-quoted-suffix, comint--table-subvert)
13319 (comint--complete-file-name-data): New functions.
13320 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13321 (comint-dynamic-list-filename-completions): Use them.
13322 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13323
2dbaa080
SM
13324 * minibuffer.el (completion-in-region-mode):
13325 Keep completion-in-region-mode--predicate global.
13326 (completion-in-region--postch):
13327 Assume completion-in-region-mode--predicate is not null.
13328
c79a6f38
SM
13329 * progmodes/flymake.el (flymake-start-syntax-check-process):
13330 Obey `dir'. Simplify.
13331
024ff170
SM
13332 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13333 we're in VC after all.
13334
1c6c854e
CS
133352011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13336
13337 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13338 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13339 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13340
bed7f140
SM
133412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13342
332e62ab
SM
13343 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13344 add sanity check.
13345
bed7f140
SM
13346 * obsolete/erc-hecomplete.el: Make obsolete.
13347 * obsolete/: Standardize obsolescence info in the header.
13348
f195c582
GM
133492011-04-20 Glenn Morris <rgm@gnu.org>
13350
13351 * calendar/solar.el (solar-horizontal-coordinates):
13352 Use the longitude argument rather than `calendar-longitude'.
13353 (solar-date-next-longitude): Remove unused locals.
13354
cb79b8c0
VJL
133552011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13356
13357 * whitespace.el: New version 13.2.1.
13358
133592011-04-20 felix <EmacsWiki> (tiny change)
13360
d8e4b68b 13361 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13362 switching between major modes on a file.
13363
602ea69d
SM
133642011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13365
13366 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13367 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13368 multi-line comments as well.
13369
06b60517
JB
133702011-04-19 Juanma Barranquero <lekktu@gmail.com>
13371
13372 Lexical-binding cleanup.
13373
13374 * arc-mode.el (archive-mode-revert):
13375 * cmuscheme.el (scheme-interactively-start-process):
13376 * custom.el (custom-initialize-delay):
13377 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13378 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13379 * emacs-lock.el (emacs-lock-clear-sentinel):
13380 * ezimage.el (defezimage):
13381 * follow.el (follow-avoid-tail-recenter):
13382 * fringe.el (set-fringe-mode-1):
13383 * generic-x.el (bat-generic-mode-compile):
13384 * help-mode.el (help-info-variable, help-do-xref)
13385 (help-mode-revert-buffer):
13386 * help.el (view-emacs-todo):
13387 * iswitchb.el (iswitchb-completion-help):
13388 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13389 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13390 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13391 * locate.el (locate-update):
13392 * longlines.el (longlines-encode-region)
13393 (longlines-after-change-function):
13394 * outline.el (outline-isearch-open-invisible):
13395 * ps-def.el (declare-function, charset-dimension, char-width)
13396 (encode-char):
13397 * ps-mule.el (ps-mule-plot-string):
13398 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13399 (recentf-edit-list-select, recentf-edit-list-validate)
13400 (recentf-open-files-action):
13401 * rect.el (delete-whitespace-rectangle-line)
13402 (rectangle-number-line-callback):
13403 * register.el (window-configuration-to-register)
13404 (frame-configuration-to-register):
13405 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13406 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13407 (xselect-convert-to-targets, xselect-convert-to-delete)
13408 (xselect-convert-to-filename, xselect-convert-to-charpos)
13409 (xselect-convert-to-lineno, xselect-convert-to-colno)
13410 (xselect-convert-to-os, xselect-convert-to-host)
13411 (xselect-convert-to-user, xselect-convert-to-class)
13412 (xselect-convert-to-name, xselect-convert-to-integer)
13413 (xselect-convert-to-atom, xselect-convert-to-identity):
13414 * subr.el (declare, ignore, process-kill-without-query)
13415 (text-clone-maintain):
13416 * terminal.el (te-get-char, te-tic-sentinel):
13417 * tool-bar.el (tool-bar-make-keymap):
13418 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13419 * type-break.el (type-break-mode, type-break-noninteractive-query):
13420 * view.el (View-back-to-mark):
13421 * wid-browse.el (widget-browse-action, widget-browse-widget)
13422 (widget-browse-widgets, widget-browse-sexp):
13423 * widget.el (define-widget-keywords):
13424 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13425 Mark unused parameters.
13426
13427 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13428 (align-areas): Remove unused variable `look'.
13429 (align-region): Remove unused variables `real-end' and `pos-list'.
13430
13431 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13432
13433 * bindings.el (mode-line-modified, mode-line-remote):
13434 Mark unused parameters.
13435 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13436
13437 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13438 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13439
13440 * comint.el (comint-history-isearch-pop-state)
13441 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13442 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13443 (comint-substitute-in-file-name): Doc fix.
13444
13445 * completion.el (cmpl-statistics-block): Mark unused parameter.
13446 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13447 (save-completions-to-file, load-completions-from-file):
13448 Remove unused local variable `e'.
13449
13450 * composite.el (compose-chars): Remove unused variable `len'.
13451 (lgstring-insert-glyph): Remove unused variable `g'.
13452 (compose-glyph-string): Remove unused variables `ascent',
13453 `descent', `lbearing' and `rbearing'.
13454 (compose-glyph-string-relative): Remove unused variables
13455 `lbearing', `rbearing' and `wadjust'.
13456 (compose-gstring-for-graphic): Remove unused variables `header',
13457 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13458 (compose-gstring-for-terminal): Remove unused variables `header'
13459 and `nchars'. Use `let', not `let*'.
13460
13461 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13462 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13463 (Custom-buffer-done, custom-buffer-create-internal)
13464 (custom-browse-visibility-action, custom-browse-group-tag-action)
13465 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13466 (widget-magic-mouse-down-action, custom-toggle-parent)
13467 (custom-add-parent-links, custom-toggle-hide-variable)
13468 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13469 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13470 (custom-face-menu-create, custom-variable-menu-create, get)
13471 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13472 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13473 (customize-apropos): Remove unused variable `tests'.
13474 (custom-group-value-create): Remove unused variable `hidden-p'.
13475 (sort-fold-case): Declare.
13476
13477 * cus-theme.el (custom-reset-standard-faces-list)
13478 (custom-reset-standard-variables-list): Declare.
13479 (customize-create-theme, custom-theme-revert, custom-theme-write)
13480 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13481 Mark unused parameters.
13482
13483 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13484
13485 * delim-col.el (delimit-columns-max): Move defvar before first use.
13486
13487 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13488 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13489
13490 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13491 (auto-insert): Declare.
13492 (desktop-restore-file-buffer): Rename desktop-* parameters;
13493 mark unused ones.
13494 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13495 (desktop-buffer): Rename desktop-* parameters.
13496
13497 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13498 (dframe-reposition-frame-xemacs, dframe-help-echo)
13499 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13500 Mark unused parameters.
13501
13502 * dired-aux.el (backup-extract-version-start, overwrite-query)
13503 (overwrite-backup-query, rename-regexp-query)
13504 (rename-non-directory-query): Declare.
13505 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13506 (dired-add-entry): Remove unused variable `orig-file-name'.
13507 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13508 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13509 `dired-copy-preserve-time' directly.
13510 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13511 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13512
13513 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13514 (dired-virtual-revert, dired-make-relative-symlink):
13515 Mark unused parameters.
13516 (manual-program): Declare.
13517 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13518 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13519 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13520
13521 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13522
13523 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13524
13525 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13526 Declare.
13527
13528 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13529
13530 * electric.el (Electric-command-loop): Rename parameter
13531 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13532
13533 * expand.el (expand-in-literal): Remove unused variable `here'.
13534
13535 * facemenu.el (facemenu-add-new-color):
13536 Remove unused variable `docstring'.
13537
13538 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13539 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13540 (face-attr-construct): Mark unused parameter. Doc fix.
13541 (read-color): Remove unused variable `hex-string'.
13542
13543 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13544 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13545 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13546 (display-buffer-other-frame): Remove unused variable `old-window'.
13547 (kill-buffer-hook): Declare.
13548 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13549 Mark unused parameters.
13550 (after-find-file): Pass 1 to `auto-save-mode', not t.
13551
13552 * files-x.el (auto-insert): Declare.
13553 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13554
13555 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13556 variable `buf'. Mark unused parameter.
06b60517
JB
13557 (find-lisp-insert-directory): Mark unused parameter.
13558
13559 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13560 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13561 (format-common-tail): Remove, unused.
13562 (format-deannotate-region): Remove unused variable `loc'.
13563 (format-annotate-region): Remove unused variable `p'.
13564 (format-annotate-single-property-change): Remove unused variables
13565 `default' and `tail'.
13566
13567 * forms.el (read-file-filter): Declare.
13568 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13569
13570 * frame.el (frame-creation-function-alist): Mark unused parameter.
13571 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13572
13573 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13574 Remove unused parameters.
13575 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13576 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13577
13578 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13579 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13580 (hfy-prepare-tag-map): Mark unused parameters.
13581 (htmlfontify-buffer): Use `called-interactively-p'.
13582
13583 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13584 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13585 (ibuffer-do-occur): Mark unused parameters.
13586 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13587 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13588
13589 * ibuffer.el: Don't quote `lambda'.
13590 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13591 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13592 Mark unused parameters.
13593
13594 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13595 (ido-completing-read): Mark unused parameters.
13596 (ido-copy-current-word): Mark unused parameters;
13597 remove unused variable `name'.
13598 (ido-sort-merged-list): Remove unused parameter `dirs'.
13599
13600 * ielm.el (ielm-input-sender): Mark unused parameter.
13601 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13602 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13603 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13604 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13605 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13606
13607 * image-dired.el (image-dired-display-thumbs): Remove unused
13608 variables `curr-file' and `count'.
13609 (image-dired-remove-tag): Remove unused variable `start'.
13610 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13611 variable `curr-file'
13612 (image-dired-rotate-original): Remove unused variable `temp-file'.
13613 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13614 Remove unused variable `file'.
13615 (image-dired-gallery-generate): Remove unused variable `curr'.
13616 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13617
13618 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13619
13620 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13621
13622 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13623
13624 * isearch.el (minibuffer-history-symbol): Declare.
13625 (isearch-edit-string): Remove unused variable `err'.
13626 (isearch-message-prefix, isearch-message-suffix):
13627 Mark unused parameters.
13628
13629 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13630
13631 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13632
13633 * makesum.el (double-column): Remove unused variable `cnt'.
13634
13635 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13636 (ido-ignore-item-temp-list): Declare.
13637
13638 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13639 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13640 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13641 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13642 `mouse-col-delta'.
13643
13644 * mouse-sel.el (mouse-extend-internal):
13645 Remove unused variable `orig-window-frame'.
13646
13647 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13648 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13649 Move declarations before first use.
13650 (pcomplete-opt): Mark unused parameters; doc fix.
13651
13652 * proced.el (proced-revert): Mark unused parameter.
13653 (proced-send-signal): Remove unused variable `err'.
13654
13655 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13656 Rename parameter PREFIX-ARG to ARG.
13657 (ps-basic-plot-string, ps-basic-plot-whitespace):
13658 Mark unused parameters.
13659
13660 * replace.el (replace-count): Define.
13661 (occur-revert-function): Mark unused parameters.
13662 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13663 (isearch-case-fold-search, isearch-string): Declare.
13664 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13665 bind `case-fold-search'. Remove unused variables `beg' and `end',
13666 and simplify.
13667 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13668 COUNT and bind `replace-count'.
13669 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13670 to COUNT.
13671
13672 * savehist.el (print-readably, print-string-length): Declare.
13673
13674 * shadowfile.el (shadow-expand-cluster-in-file-name):
13675 Remove unused variable `cluster'.
13676 (shadow-copy-file): Remove unused variable `i'.
13677 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13678 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13679 (shadow-define-literal-group, shadow-define-regexp-group)
13680 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13681
13682 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13683 (shell): Use `called-interactively-p'.
13684 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13685
13686 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13687 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13688 (delete-backward-char): Remove unused variable `ocol'.
13689 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13690 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13691 (event-apply-hyper-modifier, event-apply-shift-modifier)
13692 (event-apply-control-modifier, event-apply-meta-modifier):
13693 Mark unused parameters.
13694 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13695 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13696
13697 * speedbar.el (speedbar-ignored-directory-expressions)
13698 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13699 (speedbar-find-file, speedbar-dir-follow)
13700 (speedbar-directory-buttons-follow, speedbar-tag-find)
13701 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13702 (speedbar-buffers-line-directory, speedbar-buffer-click):
13703 Mark unused parameters.
13704 (speedbar-tag-file): Remove unused variable `mode'.
13705 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13706
13707 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13708
13709 * talk.el (talk): Remove unused variable `display'.
13710
13711 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13712 (tar-write-region-annotate): Mark unused parameter.
13713
13714 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13715 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13716 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13717 warning by another.
13718
13719 * time-stamp.el (time-stamp-string-preprocess):
13720 Remove unused variable `require-padding'.
13721
13722 * tree-widget.el (widget-glyph-enable): Declare.
13723 (tree-widget-action): Mark unused parameter.
13724
13725 * w32-fns.el (x-get-selection): Mark unused parameter.
13726 (autoload-make-program, generated-autoload-file): Declare.
13727
13728 * wdired.el (wdired-revert): Mark unused parameters.
13729 (wdired-xcase-word): Remove unused variable `err'.
13730
13731 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13732 (whitespace-help-scroll): Remove unused variable `data-help'.
13733
13734 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13735 (widget-image-insert, widget-after-change, default)
13736 (widget-default-format-handler, widget-default-notify)
13737 (widget-default-prompt-value, widget-info-link-action)
13738 (widget-url-link-action, widget-function-link-action)
13739 (widget-variable-link-action, widget-file-link-action)
13740 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13741 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13742 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13743 (widget-insert-button-action, widget-delete-button-action, visibility)
13744 (widget-documentation-link-action, widget-documentation-string-action)
13745 (widget-const-prompt-value, widget-regexp-match, symbol)
13746 (widget-coding-system-prompt-value)
13747 (widget-key-sequence-value-to-external, sexp)
13748 (widget-sexp-value-to-internal, character, vector, cons)
13749 (widget-choice-prompt-value, widget-boolean-prompt-value)
13750 (widget-color--choose-action): Mark unused parameters.
13751 (widget-item-match-inline, widget-choice-match-inline)
13752 (widget-checklist-match, widget-checklist-match-inline)
13753 (widget-group-match): Rename parameter VALUES to VALS.
13754 (widget-field-value-set): Remove unused variable `size'.
13755 (widget-color-action): Remove unused variables `value' and `start'.
13756
13757 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13758 variable `dir'. Doc fix.
06b60517
JB
13759 (windmove-find-other-window): Don't pass it.
13760
13761 * window.el (count-windows): Mark unused parameter.
13762 (bw-adjust-window): Remove unused variable `err'.
13763
13764 * woman.el (woman-file-name): Remove unused variable `default'.
13765 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13766 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13767 (global-font-lock-mode): Declare.
13768 (woman-decode-region): Mark unused parameter.
13769 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13770
13771 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13772 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13773 (x-dnd-handle-moz-url): Remove unused variable `title'.
13774 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13775
13776 * xml.el (xml-parse-tag, xml-parse-attlist):
13777 Remove unused variable `pos'.
13778
bc4f7f3d
GM
137792011-04-19 Glenn Morris <rgm@gnu.org>
13780
13781 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13782 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13783 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13784 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13785 * calendar/cal-html.el (cal-html-insert-minical):
13786 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13787 (calendar-mark-date-pattern):
13788 Prefix "unused" locals.
13789
13790 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13791 optional argument `style'.
13792
13793 * calendar/appt.el (appt-make-list):
13794 * calendar/cal-china.el (calendar-chinese-date-string):
13795 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13796 (diary-hebrew-yahrzeit):
13797 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13798 * calendar/calendar.el (calendar-generate-window):
13799 * calendar/time-date.el (time-to-days):
13800 Remove unused local variables.
13801
16a43933
CY
138022011-04-18 Chong Yidong <cyd@stupidchicken.com>
13803
13804 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13805 glyphless-char-display table.
13806 (tabulated-list-glyphless-char-display): New var.
13807
7eed1860
SS
138082011-04-18 Sam Steingold <sds@gnu.org>
13809
13810 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13811 to acknowledgments.
13812
4d2d1ccd
GM
138132011-04-17 Glenn Morris <rgm@gnu.org>
13814
13815 * calendar/diary-lib.el (diary-sexp-entry):
13816 * calendar/holidays.el (holiday-sexp):
13817 Set debug-on-error rather than the removed stack-trace-on-error.
13818
239da61d
GM
138192011-04-16 Glenn Morris <rgm@gnu.org>
13820
13821 * progmodes/f90.el: Use lexical-binding.
13822 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13823
8b05752a
SM
138242011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13825
daca8ba5
SM
13826 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13827 (mail-mode): Setup mailalias completion here instead.
13828 * mail/mailalias.el: Use lexical-binding.
13829 (pattern, mailalias-done): Declare dynamic.
13830 (mail-completion-at-point-function): New function, from mail-complete.
13831 (mail-complete): Use it.
13832 (mail-completion-expand): New function.
13833 (mail-get-names): Use it.
13834 (mail-directory, mail-directory-process, mail-directory-stream):
13835 Don't use `pattern' for lexically bound arg.
13836
6f542485
SM
13837 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13838
037e7c3f
SM
13839 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13840 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13841 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13842
8b05752a
SM
13843 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13844 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13845 (byte-interactive-p): Define them again, for use when inlining
13846 old code.
13847
49093f60
JB
138482011-04-15 Juanma Barranquero <lekktu@gmail.com>
13849
13850 * loadup.el: Use `string-to-number', not `string-to-int'.
13851
b5b8e7de
SM
138522011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13855 gud-gdb-complete-command.
13856 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13857 (gud-gdb-completion-at-point): New function.
13858 (gud-gdb-completions): Remove.
13859
f42efeb5
MA
138602011-04-14 Michael Albinus <michael.albinus@gmx.de>
13861
49093f60
JB
13862 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13863 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13864 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13865 whether `executable-find' is bound.
f42efeb5
MA
13866
13867 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13868
e240cc21
SM
138692011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13870
13871 * minibuffer.el (completion-in-region-mode-predicate)
13872 (completion-in-region-mode--predicate): New vars.
13873 (completion-in-region, completion-in-region--postch)
13874 (completion-in-region-mode): Use them.
13875 (completion--capf-wrapper): Also return the hook function.
13876 (completion-at-point, completion-help-at-point):
13877 Adjust and provide a predicate.
c2bd2ab0
SM
13878
13879 Preserve arg names for advice of subr and lexical functions (bug#8457).
13880 * help-fns.el (help-function-arglist): Consolidate the subr and
13881 new-byte-code cases. Add argument `preserve-names' to extract names
13882 from the docstring when needed.
13883 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13884 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13885 (ad-arglist): Use help-function-arglist's new arg.
13886 (ad-definition-type): Use cond.
13887
c183f693
JB
138882011-04-13 Juanma Barranquero <lekktu@gmail.com>
13889
06641a47
JB
13890 * autorevert.el (auto-revert-handler):
13891 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13892 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13893 Don't quote lambda.
13894
c183f693
JB
13895 * image-mode.el (image-transform-set-scale):
13896 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13897
1e3b6001
G
138982011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13899
13900 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13901 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13902 Upgrades via gnutls-cli are too slow to be done opportunistically.
13903
2d6af8dd
JB
139042011-04-12 Juanma Barranquero <lekktu@gmail.com>
13905
13906 * dframe.el (dframe-current-frame): Remove spurious quote.
13907
c0749a51
GM
139082011-04-12 Glenn Morris <rgm@gnu.org>
13909
088d0d61
GM
13910 * calendar/cal-tex.el (cal-tex-end-document):
13911 Try to automatically use latin1 input if needed.
13912
c0749a51
GM
13913 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13914 Don't try to cons a mark onto an empty element.
13915
5c90fde0
LL
139162011-04-11 Leo Liu <sdl.web@gmail.com>
13917
13918 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13919 buffers.
13920 (ido-kill-buffer-at-head): Support killing virtual buffers.
13921
369e974d
CY
139222011-04-10 Chong Yidong <cyd@stupidchicken.com>
13923
13924 * minibuffer.el (completion-show-inline-help): New var.
13925 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13926 (minibuffer-force-complete, minibuffer-complete-word):
13927 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13928
13929 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13930 to avoid interference from inline help (Bug#5849).
13931
37f1c930
LL
139322011-04-10 Leo Liu <sdl.web@gmail.com>
13933
099c39a4
JB
13934 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13935 Fix typo.
37f1c930 13936
a32d4040
CY
139372011-04-09 Chong Yidong <cyd@stupidchicken.com>
13938
13939 * image-mode.el (image-toggle-display-image): Signal an error if
13940 not in Image mode.
13941 (image-transform-mode, image-transform-resize)
13942 (image-transform-set-rotation): Doc fix.
daca8ba5 13943 (image-transform-set-resize): Delete.
a32d4040
CY
13944 (image-transform-set-scale, image-transform-fit-to-height)
13945 (image-transform-fit-to-width): Handle image-toggle-display-image
13946 and image-transform-resize directly.
13947
099c39a4 139482011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13949
13950 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13951 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13952 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13953 (doc-view-mode-map): Add bindings for the new functions.
13954
099c39a4 139552011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13956
4d61f28d 13957 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13958 Fix typo in docstring.
13959
3726838a
EZ
139602011-04-08 Eli Zaretskii <eliz@gnu.org>
13961
04f33f1e
EZ
13962 * files.el (file-size-human-readable): Produce one digit after
13963 decimal, like "ls -lh" does.
13964
13965 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13966 the file size representation.
13967
3726838a
EZ
13968 * simple.el (list-processes): If async subprocesses are not
13969 available, error out with a clear error message.
13970
cbb59342
CY
139712011-04-08 Chong Yidong <cyd@stupidchicken.com>
13972
13973 * help.el (help-form-show): New function, to be called from C.
13974 Put help-form output in a buffer named differently than *Help*.
13975
e3971c44
EZ
139762011-04-08 Eli Zaretskii <eliz@gnu.org>
13977
13978 * files.el (file-size-human-readable): New function.
13979
13980 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13981 computing the representation inline. Don't require `cl'.
13982
12544bbe
GM
139832011-04-08 Glenn Morris <rgm@gnu.org>
13984
a1de6c6a
GM
13985 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13986
3c4671f4
GM
13987 * net/browse-url.el (browse-url-firefox):
13988 Test system-type, not system-configuration.
13989
b605679c
GM
13990 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13991 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13992 Use log-edit-empty-buffer-p. (Bug#7598)
13993
56442f0c
GM
13994 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13995 (rlogin-mode-map): Initialize in the defvar.
13996 (rlogin): Use ignore-errors.
13997
12544bbe
GM
13998 * replace.el (occur-mode-map): Some fixes for menu items.
13999
eb237b0f
AH
140002011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14001
14002 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14003
7d668f2c
CY
140042011-04-06 Chong Yidong <cyd@stupidchicken.com>
14005
e67a13ab
CY
14006 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14007 issuing unused warnings.
14008
14009 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14010 macro directly.
14011
7d668f2c
CY
14012 * simple.el: Lisp reimplement of list-processes. Based on an
14013 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14014 (process-menu-mode): New major mode.
14015 (list-processes--refresh, list-processes):
14016 (process-menu-visit-buffer): New functions.
14017
14018 * files.el (save-buffers-kill-emacs): Don't assume any return
14019 value of list-processes, which is undocumented anyway.
14020
a83ec3c9
CY
140212011-04-06 Chong Yidong <cyd@stupidchicken.com>
14022
14023 * emacs-lisp/tabulated-list.el: New file.
14024
e91a96fe
CY
14025 * emacs-lisp/package.el: Use Tabulated List mode.
14026 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14027 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14028 table format using Tabulated List mode variables.
14029 (package--push): New macro, replacing package-list-maybe-add.
14030 (package-menu--generate): Use package--push. Renamed from
14031 package--generate-package-list.
14032 (package-menu-refresh, list-packages): Use it.
daca8ba5 14033 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14034 Return insertion data instead of inserting it directly.
099c39a4
JB
14035 (package-menu-describe-package, package-menu-execute):
14036 Use tabulated-list-get-id.
e91a96fe
CY
14037 (package-menu-mark-delete, package-menu-mark-install)
14038 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14039 (package-menu-mark-obsolete-for-deletion):
14040 Use tabulated-list-put-tag.
e91a96fe
CY
14041 (package--list-packages, package-menu-revert)
14042 (package-menu-get-package, package-menu-get-version)
14043 (package-menu-sort-by-column): Functions deleted.
14044 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14045 (package-menu--status-predicate, package-menu--version-predicate)
14046 (package-menu--name-predicate)
14047 (package-menu--description-predicate): Handle arguments in the
14048 Tabulated List format.
14049 (package-list-packages-no-fetch): Call list-packages.
14050
3e214b50
JB
140512011-04-06 Juanma Barranquero <lekktu@gmail.com>
14052
14053 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14054 (after-find-file): Don't bind it.
3e214b50
JB
14055 (revert-buffer-in-progress-p): New variable.
14056 (revert-buffer): Bind it.
14057 Pass nil for `after-find-file-from-revert-buffer'.
14058
14059 * saveplace.el (save-place-find-file-hook): Use new variable
14060 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14061
3f0f1700
GM
140622011-04-06 Glenn Morris <rgm@gnu.org>
14063
c0274801
GM
14064 * Makefile.in (AUTOGEN_VCS): New variable.
14065 (autoloads): Use $AUTOGEN_VCS.
14066
3f0f1700
GM
14067 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14068 * calendar/calendar.el (calendar-mode-map):
14069 Check for toolkit scroll bars. (Bug#8305)
14070
41ea9e48
CY
140712011-04-05 Chong Yidong <cyd@stupidchicken.com>
14072
14073 * minibuffer.el (completion-in-region--postch)
14074 (completion-in-region-mode): Remove unnecessary messages.
14075
6194c800
JB
140762011-04-05 Juanma Barranquero <lekktu@gmail.com>
14077
33256f14
JB
14078 * font-lock.el (font-lock-refresh-defaults):
14079 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14080 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14081
6194c800
JB
14082 * info.el (Info-directory-list, Info-read-node-name-2)
14083 (Info-split-parameter-string): Doc fixes.
14084 (Info-virtual-nodes): Reflow docstring.
14085 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14086 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14087 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14088 Fix typos in docstrings.
14089 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14090 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14091 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14092 (Info-restore-desktop-buffer): Mark unused parameters.
14093 (Info-directory-find-file, Info-directory-find-node)
14094 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14095 (Info-virtual-index-find-node, Info-apropos-find-file)
14096 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14097 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14098 (Info-virtual-index): Remove unused local variable `nodename'.
14099
b87a8200 141002011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14101
b87a8200
DD
14102 * net/rcirc.el: Update my e-mail address.
14103 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14104
3b2ff876
CY
141052011-04-05 Chong Yidong <cyd@stupidchicken.com>
14106
14107 * startup.el (command-line): Save the cursor's theme-face
14108 directly, instead of using face-override-spec.
14109
14110 * custom.el (load-theme): Minor optimization in assigning faces.
14111
8d17e7ca
JB
141122011-04-04 Juanma Barranquero <lekktu@gmail.com>
14113
14114 * help-fns.el (describe-variable): Complete all variables having
14115 documentation, including keywords.
14116 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14117
2fbc1934
JB
141182011-04-04 Juanma Barranquero <lekktu@gmail.com>
14119
14120 Convert to lexical-binding.
14121
14122 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14123 (bs--get-marked-string, bs--get-modified-string)
14124 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14125 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14126 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14127
14128 * ehelp.el (electric-help-execute-extended)
14129 (electric-help-ctrl-x-prefix):
14130 * hexl.el (hexl-revert-buffer-function):
14131 * linum.el (linum-after-change, linum-after-scroll):
14132 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14133
14134 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14135
74f50695
DU
141362011-04-04 Daiki Ueno <ueno@unixuser.org>
14137
14138 * epa-dired.el:
14139 * epa-mail.el:
14140 * epa-hook.el:
14141 * epa-file.el:
14142 * epa.el:
14143 * epg.el: Use lexical binding.
14144
c11325f7
CY
141452011-04-03 Chong Yidong <cyd@stupidchicken.com>
14146
0d9e9a12
CY
14147 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14148
c11325f7 14149 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14150 dictionary case for flyspell-mark-duplications-exceptions.
14151 Use regexp matching for languages.
c11325f7
CY
14152 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14153 default dictionary (Bug#7926).
14154
da91b5f2
CY
141552011-04-02 Chong Yidong <cyd@stupidchicken.com>
14156
099c39a4
JB
14157 * emacs-lisp/package.el (package--with-work-buffer):
14158 Recognize https URLs.
da91b5f2 14159
099c39a4
JB
14160 * net/network-stream.el: Move from gnus/proto-stream.el.
14161 Change prefix to network-stream throughout.
da91b5f2
CY
14162 (open-protocol-stream): Merge into open-network-stream, leaving
14163 open-protocol-stream as an alias. Handle nil BUFFER args.
14164
14165 * subr.el (open-network-stream): Move to net/network-stream.el.
14166
afa8e9f6
GM
141672011-04-02 Glenn Morris <rgm@gnu.org>
14168
1d2e369d
GM
14169 * find-dired.el (find-exec-terminator): New option.
14170 (find-ls-option): Test for -ls support.
14171 (find-ls-subdir-switches): Test for -b in find-ls-option.
14172 (find-dired, find-grep-dired): Doc fixes.
14173 (find-dired): Use find-exec-terminator.
14174
8abb7da8 14175 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14176 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14177 (find-name-arg): Remove purecopy.
8abb7da8 14178
f3ca7378
GM
14179 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14180 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14181 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14182 accordingly. Don't add the null-device if not needed.
14183
afa8e9f6
GM
14184 * files.el (save-some-buffers): Doc fix.
14185
35eae264
EZ
141862011-04-02 Eli Zaretskii <eliz@gnu.org>
14187
14188 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14189
26b51db5
JB
141902011-04-01 Juanma Barranquero <lekktu@gmail.com>
14191
14192 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14193 Use `dolist' rather than `mapcar'.
14194
7200d79c
SM
141952011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14196
03408648 14197 Add lexical binding.
7200d79c 14198
03408648
SM
14199 * subr.el (apply-partially): Use new closures rather than CL.
14200 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14201 (dolist, dotimes): Use slightly different expansion for lexical code.
14202 (functionp): Move to C.
14203 (letrec): New macro.
14204 (with-wrapper-hook): Use it and apply-partially instead of CL.
14205 (eval-after-load): Preserve lexical-binding.
14206 (save-window-excursion, with-output-to-temp-buffer): Turn them
14207 into macros.
7200d79c 14208
03408648
SM
14209 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14210
14211 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14212 than the arglist.
14213 (help-add-fundoc-usage): Don't add `Not documented'.
14214 (help-function-arglist): Handle closures, subroutines, and new
14215 byte-code-functions.
14216 (help-make-usage): Remove leading underscores.
14217 (describe-function-1): Handle closures.
14218 (describe-variable): Use special-variable-p for completion.
14219
14220 * files.el (lexical-binding): Declare safe.
f488fb65 14221
03408648
SM
14222 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14223 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14224 (pcase): Add `let' pattern.
14225 Change memoization so it actually works.
14226 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14227 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14228 <let>: New case.
f488fb65 14229
03408648
SM
14230 * emacs-lisp/macroexp.el: Use lexical binding.
14231 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14232 Don't convert ' to #' without checking that it's indeed quoting
14233 a lambda.
14234
14235 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14236 Use eval-sexp-add-defvars.
03408648
SM
14237 (eval-sexp-add-defvars): New fun.
14238
14239 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14240
14241 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14242 Don't autoload.
14243 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14244 than the internal `byte-compile-lambda'.
14245 (defmethod): Don't hide code under quotes.
14246 (eieio-defmethod): New `code' argument.
14247
14248 * emacs-lisp/eieio-comp.el: Remove.
14249
14250 * emacs-lisp/edebug.el (edebug-eval-defun)
14251 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14252 (edebug-toggle): Avoid `eval'.
14253
14254 * emacs-lisp/disass.el (disassemble-internal): Handle new
14255 `closure' objects.
14256 (disassemble-1): Handle new byte codes.
14257
14258 * emacs-lisp/cl.el (pushnew): Silence warning.
14259
14260 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14261 (cl-byte-compile-throw): Remove.
14262 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14263
14264 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14265 closures.
14266
14267 * emacs-lisp/cconv.el: New file.
14268
14269 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14270 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14271 (byte-compile-initial-macro-environment):
14272 Handle declare-function here.
14273 (byte-compile--lexical-environment): New var.
14274 (byte-stack-ref, byte-stack-set, byte-discardN)
14275 (byte-discardN-preserve-tos): New lap codes.
14276 (byte-interactive-p): Don't use any more.
14277 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14278 New macros.
14279 (byte-compile-lapcode): Use them and handle new lap codes.
14280 (byte-compile-obsolete): Remove.
14281 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14282 (byte-compile-arglist-warn): Check late def of inlinable funs.
14283 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14284 since they should have been expanded by now.
14285 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14286 (byte-compile-from-buffer): Remove unused second arg.
14287 (byte-compile-preprocess): New function.
14288 (byte-compile-toplevel-file-form): New function to distinguish
14289 file-form calls from outside from file-form calls from hunk-handlers.
14290 (byte-compile-file-form): Simplify.
14291 (byte-compile-file-form-defsubst): Remove.
14292 (byte-compile-file-form-defmumble): Simplify now that
14293 byte-compile-lambda always returns a byte-code-function.
14294 (byte-compile): Preprocess.
14295 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14296 Remove, not used any more.
14297 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14298 (byte-compile-make-args-desc): New funs.
14299 (byte-compile-lambda): Handle lexical functions. Always return
14300 a byte-code-function.
14301 (byte-compile-reserved-constants): New var, to make up room for
14302 closed-over variables.
14303 (byte-compile-constants-vector): Obey it.
14304 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14305 (byte-compile-macroexpand-declare-function): New function.
14306 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14307 byte-code-functions.
14308 (byte-compile-form): Check obsolescence here.
14309 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14310 (byte-compile-variable-ref): Remove.
14311 (byte-compile-dynamic-variable-op): New fun.
14312 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14313 (byte-compile-variable-set): New funs.
14314 (byte-compile-discard): Add 2 args.
14315 (byte-compile-stack-ref, byte-compile-stack-set)
14316 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14317 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14318 macroexpand-all instead.
14319 (byte-compile-quote-form): Remove.
14320 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14321 (byte-compile-bind, byte-compile-unbind): New funs.
14322 (byte-compile-let): Handle let* and lexical binding.
14323 (byte-compile-let*): Remove.
14324 (byte-compile-catch, byte-compile-unwind-protect)
14325 (byte-compile-track-mouse, byte-compile-condition-case):
14326 Handle a new :fun-body form, used for lexical scoping.
14327 (byte-compile-save-window-excursion)
14328 (byte-compile-with-output-to-temp-buffer): Remove.
14329 (byte-compile-defun): Simplify.
14330 (byte-compile-stack-adjustment): New fun.
14331 (byte-compile-out): Use it.
14332 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14333
14334 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14335 handler any more.
14336
14337 * emacs-lisp/byte-opt.el: Use lexical binding.
14338 (byte-inline-lapcode): Remove (to bytecomp).
14339 (byte-compile-inline-expand): Pay attention to inlining to/from
14340 lexically bound code.
14341 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14342 any more.
14343 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14344 any more and don't call compiler-macros.
14345 (byte-compile-splice-in-already-compiled-code): Remove.
14346 (byte-code): Don't inline any more.
14347 (disassemble-offset): Receive `bytes' as argument rather than via
14348 dynamic scoping.
14349 (byte-compile-tag-number): Declare before first use.
14350 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14351 `return' even if make-spliceable.
14352 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14353 obsolete interactive-p.
14354 (byte-optimize-lapcode): Optimize new lap-codes.
14355 Don't trip up on new form of `byte-constant' lap code.
14356
14357 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14358
14359 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14360
14361 * custom.el (custom-initialize-default, custom-declare-variable):
14362 Use `defvar'.
14363
14364 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14365 New variables.
14366 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14367 (COMPILE_FIRST): Add macroexp and cconv.
14368 * makefile.w32-in: Mirror changes in Makefile.in.
14369
14370 * vc/cvs-status.el:
14371 * vc/diff-mode.el:
14372 * vc/log-edit.el:
14373 * vc/log-view.el:
14374 * vc/smerge-mode.el:
14375 * textmodes/bibtex-style.el:
14376 * textmodes/css.el:
14377 * startup.el:
14378 * uniquify.el:
da91b5f2
CY
14379 * minibuffer.el:
14380 * newcomment.el:
14381 * reveal.el:
14382 * server.el:
14383 * mpc.el:
14384 * emacs-lisp/smie.el:
14385 * doc-view.el:
14386 * dired.el:
03408648
SM
14387 * abbrev.el: Use lexical binding.
14388
0f0c1f27
EZ
143892011-04-01 Eli Zaretskii <eliz@gnu.org>
14390
14391 * info.el (info-display-manual): New function.
14392
c82b2579
SM
143932011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14394
14395 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14396
221ddf68
TH
143972011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14398
14399 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14400 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14401
cba6e77e
GM
144022011-03-31 Glenn Morris <rgm@gnu.org>
14403
e040639f
GM
14404 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14405
cba6e77e
GM
14406 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14407
6d0f1c9e
CS
144082011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14409
14410 * progmodes/python.el (python-default-interpreter)
14411 (python-python-command-args, python-jython-command-args)
14412 (python-which-shell, python-which-args, python-which-bufname)
14413 (python-file-queue, python-comint-output-filter-function)
14414 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14415 variables and functions.
14416
3e2d70fd
SM
144172011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14418
14419 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14420 (completion-in-region-mode): New minor mode.
14421 (completion-in-region): Use it.
14422 (completion-in-region--data, completion-in-region-mode-map): New vars.
14423 (completion-in-region--postch): New function.
14424 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14425 New vars.
14426 (completion--capf-wrapper): New function.
14427 (completion-at-point): Use it to track well-behavedness of
14428 hook functions.
14429 (completion-help-at-point): New command.
14430
f3e4086c
JM
144312011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14432
14433 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14434 syntax class to search for whitespace on a single line
14435 (Message-ID: <4D938140.4030905@redhat.com>).
14436
eb7ffc14
LL
144372011-03-30 Leo Liu <sdl.web@gmail.com>
14438
14439 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14440 New commands.
14441 (edit-abbrevs-map): Bind them here.
14442 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14443
d806ab68
KM
144442011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14445
14446 * allout.el (allout-hide-by-annotation, allout-flag-region):
14447 Reduce possibility of overlay leakage by making them volatile.
14448
14449 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14450 hash is not shared between buffers. Mode initialization is
14451 responsible for giving it a useful starting value.
14452 (allout-item-span): Reduce possibility of overlay leakage by
14453 making them volatile.
14454 (allout-widgets-count-buttons-in-region): Add diagnostic function
14455 for tracking down button overlay leaks.
14456
ea622834
LL
144572011-03-29 Leo Liu <sdl.web@gmail.com>
14458
14459 * ido.el (ido-read-internal): Use the default history var
14460 minibuffer-history if no HISTORY is specified.
14461
b62f8267
G
144622011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14463
03408648
SM
14464 * net/imap.el (imap-shell-open, imap-process-connection-type):
14465 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14466 Kerberos, SSL, other subprocesses.
14467
947b6566
LL
144682011-03-28 Leo Liu <sdl.web@gmail.com>
14469
14470 * abbrev.el (abbrev-table-empty-p): New function.
14471 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14472 nonempty ones. (Bug#5937)
14473
5ffb62aa
JD
144742011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14475
14476 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14477
7a097943
LL
144782011-03-27 Leo Liu <sdl.web@gmail.com>
14479
14480 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14481 for foreground and background colors.
14482 (ansi-color-make-color-map): Adapt.
14483
c5b40130
LL
144842011-03-25 Leo Liu <sdl.web@gmail.com>
14485
1f48f7d2
LL
14486 * midnight.el (midnight-time-float): Remove. Note it calculates
14487 the microsecond component incorrectly and seconds-to-time does the
14488 same job.
625897ec 14489 Remove redundant (require 'timer).
1f48f7d2 14490
c5b40130
LL
14491 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14492 (ido-completions): Remove unused arguments. (Bug#8329)
14493
d86d2721
SM
144942011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14495
14496 * minibuffer.el (completion--flush-all-sorted-completions):
14497 Remove itself from hook.
14498 (completion-at-point): Let the functions perform the completion
14499 immediately and return nil or t.
14500 * comint.el (comint-dynamic-complete-functions): Now identical to
14501 completion-at-point-functions.
14502 (comint-dynamic-list-input-ring): Remove unused var `index'.
14503 (comint--match-partial-filename, comint--unquote&expand-filename):
14504 New funs, split from comint-match-partial-filename.
14505 (comint-dynamic-complete): Use completion-at-point.
14506 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14507
e8974c48
DA
145082011-03-24 Drew Adams <drew.adams@oracle.com>
14509
14510 * thingatpt.el: Support `defun'.
14511
def71b5e
LL
145122011-03-23 Leo Liu <sdl.web@gmail.com>
14513
cb5af48e
LL
14514 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14515
def71b5e
LL
14516 * help-mode.el (help-mode-finish): Tweak regexp.
14517
927c53e7
GM
145182011-03-23 Glenn Morris <rgm@gnu.org>
14519
18d05bed
GM
14520 * eshell/esh-opt.el (eshell-eval-using-options):
14521 Do not bind unused local variable `eshell-option-stub'.
14522
927c53e7
GM
14523 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14524
9d0da923
JB
145252011-03-22 Juanma Barranquero <lekktu@gmail.com>
14526
14527 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14528 keymap variable in `with-no-warnings' to avoid a warning when the
14529 keymap has been already `defconst'ed.
14530
4b978a67
LL
145312011-03-22 Leo Liu <sdl.web@gmail.com>
14532
14533 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14534 encode all chars in abbrevs; otherwise use emacs-mule or
14535 utf-8-emacs. (Bug#8308)
14536
5fd62452
JB
145372011-03-22 Juanma Barranquero <lekktu@gmail.com>
14538
0b1596c6
JB
14539 * simple.el (backward-delete-char-untabify):
14540 Avoid warning about using `delete-backward-char'.
14541
5fd62452
JB
14542 * image.el (image-type-file-name-regexps): Make it variable.
14543 `imagemagick-register-types' modifies it, and the user may want
14544 to add new extensions for known image types.
14545 (imagemagick-register-types): Throw error if not using ImageMagick.
14546
0b4e93f1
LL
145472011-03-22 Leo Liu <sdl.web@gmail.com>
14548
14549 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14550 located before rcirc-prompt-end-marker.
14551 (rcirc-complete): Error if point is not after rcirc prompt.
14552 Handle the case when table is nil.
9882e214 14553 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14554
fccee4ab
CY
145552011-03-22 Chong Yidong <cyd@stupidchicken.com>
14556
14557 * custom.el (custom--inhibit-theme-enable): Make it affect only
14558 custom-theme-set-variables and custom-theme-set-faces.
14559 (provide-theme): Ignore custom--inhibit-theme-enable.
14560 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14561 (custom-enabling-themes): Delete variable.
d86d2721
SM
14562 (enable-theme): Accept only loaded themes as arguments.
14563 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14564 (custom-enabled-themes): Forbid themes from setting this.
14565 Eliminate use of custom-enabling-themes.
14566 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14567
af896da6
LL
145682011-03-21 Leo Liu <sdl.web@gmail.com>
14569
14570 * ido.el (ido-read-internal): Add ido-selected to history instead
14571 of user input.
14572
78f64af0
SM
145732011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14574
14575 * subr.el (deferred-action-list, deferred-action-function):
14576 Mark obsolete.
14577
b16ac1ec
LL
145782011-03-21 Leo Liu <sdl.web@gmail.com>
14579
810f7698
LL
14580 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14581 change on 2011-02-13 (bug#8309).
14582
b16ac1ec
LL
14583 * minibuffer.el (read-file-name-function): Change default value.
14584 (read-file-name--defaults): Rename from read-file-name-defaults.
14585 (read-file-name-default): Rename from read-file-name.
14586 (read-file-name): Call read-file-name-function.
14587
4e05e67e
GM
145882011-03-21 Glenn Morris <rgm@gnu.org>
14589
14590 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14591 Doc fixes.
14592
4359915b
CY
145932011-03-21 Chong Yidong <cyd@stupidchicken.com>
14594
14595 * cus-theme.el: Add missing provide statement.
14596 (customize-create-theme): Extract theme value correctly.
14597 (custom-theme-visit-theme): Autoload.
14598 (customize-create-theme): Prompt before inserting default faces.
14599
1fe275ee
JB
146002011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14601
14602 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14603 units and musical notes.
14604
cd394be1 146052011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14606
14607 * ido.el (ido-read-internal): Use completing-read-default.
14608 (ido-completing-read): Fix compatibility with completing-read.
14609
7d476bde
CO
146102011-03-20 Christian Ohler <ohler@gnu.org>
14611
14612 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14613 (ert-delete-all-tests): Use `called-interactively-p' rather than
14614 `interactive-p'.
14615 (ert--make-xrefs-region): Respect END.
14616
fe0fb33e
CY
146172011-03-19 Chong Yidong <cyd@stupidchicken.com>
14618
ff854b0b
CY
14619 * dired-aux.el (dired-create-directory): Signal an error if the
14620 directory already exists (Bug#8246).
14621
fe0fb33e
CY
14622 * facemenu.el (list-colors-display): Call list-faces-display
14623 inside with-help-window.
14624 (list-colors-print): Use display property to align the final
14625 column, instead of checking window-width.
14626
576bce32
EZ
146272011-03-19 Eli Zaretskii <eliz@gnu.org>
14628
4d61f28d 14629 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14630 windows-nt systems.
14631 (emerge-protect-metachars): Quote correctly for ms-dos and
14632 windows-nt systems.
14633
89c41d68 146342011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14635
14636 * info.el (info-initialize): Replace all uses of `:' with
14637 path-separator for compatibility with non-Unix systems.
14638 Cache quoting of path-separator. (Bug#8258)
14639
b14e3e21 146402011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14641
14642 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14643 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14644 (mouse-avoidance-mode): Fix typos in docstrings.
14645
4525ce3e
CY
146462011-03-19 Chong Yidong <cyd@stupidchicken.com>
14647
14648 * startup.el (package-subdirectory-regexp): Move from package.el.
14649 Omit \\` and \\', and let callers add them.
14650
14651 * emacs-lisp/package.el (package-strip-version)
14652 (package-load-all-descriptors): Add \\` and \\' to
14653 package-subdirectory-regexp before using it.
14654 (package-untar-buffer): New arg DIR; ensure that file untars only
14655 into this expected directory. Remove superfluous delete-region.
14656 (package-unpack): Caller changed.
14657 (package-tar-file-info): Use package-subdirectory-regexp.
14658
a904a09a 146592011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14660
a904a09a
SM
14661 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14662 diff-mode-shared-map (bug#8284).
14663 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14664
146652011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14666
14667 * calendar/time-date.el (format-seconds): Use assoc instead of
14668 assoc-string, since assoc-string doesn't exist in XEmacs.
14669
171fc304
JB
146702011-03-17 Juanma Barranquero <lekktu@gmail.com>
14671
14672 * custom.el (custom-known-themes): Reflow docstring.
14673 (custom-theme-load-path): Fix typo in docstring.
14674 (load-theme): Fix typo in error message.
14675 (custom-available-themes, custom-variable-theme-value):
14676 Use `let', not `let*'.
14677
d71990a1
JB
146782011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14679
14680 * calc/README: Mention inclusion of musical notes.
14681
14682 * calc/calc-units.el (calc-lu-quant): Rename from
14683 `calc-logunits-quantity'.
14684 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14685 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14686 (calc-db): Rename from `calc-dblevel'.
14687 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14688 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14689 (calc-np): Rename from `calc-nplevel'.
14690 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14691 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14692 (calc-lu-plus): Rename from `calc-logunits-add'.
14693 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14694 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14695 (calc-lu-minus): Rename from `calc-logunits-sub'.
14696 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14697 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14698 (calc-lu-times): Rename from `calc-logunits-mul'.
14699 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14700 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14701 (calc-lu-divide): Rename from `calc-logunits-div'.
14702 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14703 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14704
14705 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14706 functions being autoloaded.
14707
14708 * calc/calc.el (calc-lu-power-reference): Rename from
14709 `calc-logunits-power-reference'.
14710 (calc-lu-field-reference): Rename from
14711 `calc-logunits-field-reference'.
14712
7a71b18d
GM
14713 * calc/calc-help.el (calc-l-prefix-help):
14714 Mention musical note functions.
d71990a1 14715
40c2934b
SM
147162011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * minibuffer.el (completion-all-sorted-completions):
14719 Use :completion-cycle-penalty text property if present.
14720
b0911414
KM
147212011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14722
14723 * allout.el (allout-yank-processing): Adjust for new rebulleting
14724 regime so bullet being yanked is used without prompting the user
14725 for a choice.
14726
8a05b668
JB
147272011-03-16 Juanma Barranquero <lekktu@gmail.com>
14728
14729 * startup.el (command-line): Warn the user that _emacs is deprecated.
14730
5ba5fb81
JB
147312011-03-16 Juanma Barranquero <lekktu@gmail.com>
14732
14733 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14734 (delphi-verbose, delphi-comment-face, delphi-string-face)
14735 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14736 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14737 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14738 (delphi-new-comment-line, delphi-font-lock-defaults)
14739 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14740 Fix typos in docstrings.
14741
2dab465b
KM
147422011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14743
5ba5fb81 14744 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14745 Invert the roles of character and string values for INSTEAD, so a
14746 string is used for the more common case of a defaulting prompt.
14747
0adf5618
SM
147482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14749
14750 * progmodes/ruby-mode.el (ruby-backward-sexp):
14751 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14752 * play/gamegrid.el (gamegrid-make-face):
14753 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14754 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14755 * notifications.el (notifications-notify):
14756 * net/xesam.el (xesam-search-engines):
14757 * net/quickurl.el (quickurl-list-insert):
14758 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14759
d72700e5
CY
147602011-03-15 Chong Yidong <cyd@stupidchicken.com>
14761
14762 * startup.el (command-line): Update package subdirectory regexp.
14763
49c5410a
SM
147642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14765
c6eee9aa
SM
14766 * allout.el (allout-abbreviate-flattened-numbering)
14767 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14768
49c5410a
SM
14769 * subr.el (read-char-choice): Only show the cursor after the prompt,
14770 not after the answer.
14771
047b2bb9
KR
147722011-03-15 Kevin Ryde <user42@zip.com.au>
14773
14774 * help-fns.el (variable-at-point): Skip leading quotes, if any
14775 (bug#8253).
14776
0a57d256
SM
147772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14778
14779 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14780 warning message.
14781
77c992bc
MA
147822011-03-14 Michael Albinus <michael.albinus@gmx.de>
14783
14784 * shell.el (shell): When called interactively, offer to change the
14785 shell file name on remote hosts.
14786
eebc475d
TZ
147872011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14788
14789 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14790 integration for LDAP parameters. The host, base, user or binddn,
14791 and secret tokens can be specified in a netrc file, for instance.
14792 This is optional because an `auth-source' parameter must be
14793 specified in the search attributes.
14794
9d05d1ba
JB
147952011-03-13 Juanma Barranquero <lekktu@gmail.com>
14796
14797 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14798
09d9db2c
GM
147992011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14802 into declaration. Remove redundant and harmful binding.
14803
148042011-03-12 Eli Zaretskii <eliz@gnu.org>
14805
14806 * files.el (file-ownership-preserved-p): Pass `integer' as an
14807 explicit 2nd argument to `file-attributes'. If the file's owner
14808 is the Administrators group on Windows, and the current user is
14809 Administrator, consider that a match.
14810
14811 * server.el (server-ensure-safe-dir): Consider server directory
14812 safe on MS-Windows if its owner is the Administrators group while
14813 the current Emacs user is Administrator. Use `=' to compare
14814 numerical UIDs, since they could be integers or floats.
14815
219bd536
JB
148162011-03-12 Juanma Barranquero <lekktu@gmail.com>
14817
14818 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14819
f3afd36b
MA
148202011-03-12 Michael Albinus <michael.albinus@gmx.de>
14821
14822 Sync with Tramp 2.2.1.
14823
14824 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14825
14826 * net/trampver.el: Update release number.
14827
3aaaa6f1
SM
148282011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14829
94642599
SM
14830 * progmodes/compile.el (compilation--previous-directory): Fix up
14831 various nil/dead-marker mismatches (bug#8014).
14832 (compilation-directory-properties, compilation-error-properties):
14833 Don't call it at a position past the one we're about to change.
14834
3aaaa6f1
SM
14835 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14836 Disable obsolescence warnings in the file that declares it.
14837
14239447
KM
148382011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14839
099c39a4
JB
14840 * allout-widgets.el (allout-widgets-tally):
14841 Initialize allout-widgets-tally as a hash table rather than nil to
14842 prevent mode-line redisplay warnings. Also, clarify the module
14843 description and fix a comment typo.
14239447 14844
135e287c
JB
148452011-03-11 Juanma Barranquero <lekktu@gmail.com>
14846
14847 * help-fns.el (describe-variable): Don't complete keywords.
14848 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14849
ffbf300e
CY
148502011-03-10 Chong Yidong <cyd@stupidchicken.com>
14851
ba08b241
CY
14852 * emacs-lisp/package.el (package-version-join): Impose a standard
14853 string representation for pre/alpha/beta version lists.
14854 (package-unpack-single): Standardize the directory name by passing
14855 it through package-version-join.
14856 (package-strip-rcs-id): Accept any version string that does not
14857 signal an error in version-to-list.
ffbf300e 14858
f346fd6b
MA
148592011-03-10 Michael Albinus <michael.albinus@gmx.de>
14860
14861 * simple.el (delete-trailing-whitespace): Return nil for the
14862 benefit of `write-file-functions'.
14863
ccb55d27
GM
148642011-03-10 Glenn Morris <rgm@gnu.org>
14865
5ceaac0c
GM
14866 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14867
02da65ff
GM
14868 * vc/vc-git.el (vc-git-program): New option.
14869 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14870 (vc-git--call): Use it.
14871
b2f603cc
GM
14872 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14873
5772caab
GM
14874 * cus-edit.el (Custom-newline): If no button at point, look
14875 for a subgroup button at start-of-line. (Bug#2298)
14876
ccb55d27
GM
14877 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14878
ec6ecaed
JD
148792011-03-10 Julien Danjou <julien@danjou.info>
14880
14881 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14882 `cursor-type' is nil.
14883
9d5aa01d
JB
148842011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14885
14886 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14887
b6a5875b
KM
148882011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14889
7a71b18d 14890 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14891 preserves the existing header prefix, rebulleting it if necessary,
14892 rather than replacing it. This is necessary for proper operation
14893 of cooperative addons like allout-widgets.
1154d12e
JB
14894 (allout-make-topic-prefix, allout-rebullet-heading):
14895 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14896 value as alternate bullet to be used, instead of prompting the user
14897 for a bullet character.
b6a5875b 14898
ee545c35
MA
148992011-03-09 Michael Albinus <michael.albinus@gmx.de>
14900
d86d2721
SM
14901 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14902 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14903 `tramp-default-port'.
14904
c47971d7
DD
149052011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14906
14907 * net/rcirc.el (rcirc-handler-001): Remove useless
14908 with-rcirc-process-buffer.
14909 (rcirc-check-auth-status): Swap arguments to string-match.
14910
13522cb4
GM
149112011-03-09 Glenn Morris <rgm@gnu.org>
14912
0be6f4f1
GM
14913 * shell.el (shell-mode):
14914 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14915
13522cb4
GM
14916 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14917 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14918
515de2e3
CY
149192011-03-08 Chong Yidong <cyd@stupidchicken.com>
14920
14921 * emacs-lisp/package.el (package-refresh-contents)
14922 (package-menu-execute): Use condition-case-no-debug.
14923
b511b994
MA
149242011-03-08 Michael Albinus <michael.albinus@gmx.de>
14925
14926 * simple.el (shell-command-to-string): Use `process-file'.
14927
14928 * emacs-lisp/package.el (package-tar-file-info): Handle also
14929 remote files.
14930
d86d2721
SM
14931 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14932 Use `equal' for upload base check.
b511b994 14933
25bbfb31
AM
149342011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14935
14936 * textmodes/texinfo.el (texinfo-environments):
14937 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14938
be996521
GM
149392011-03-08 Glenn Morris <rgm@gnu.org>
14940
e9c8529f
GM
14941 * cus-start.el (cursor-in-non-selected-windows):
14942 Fix :set quoting oddness. (Bug#8192)
14943
be996521
GM
14944 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14945 in some setf expressions. (Bug#2159)
14946
2bb5649e
CY
149472011-03-08 Chong Yidong <cyd@stupidchicken.com>
14948
14949 * custom.el (custom-available-themes): Return themes in
14950 alphabetical order.
14951
33383987 14952See ChangeLog.15 for earlier changes.
e3d51b27
MR
14953
14954;; Local Variables:
14955;; coding: utf-8
e3d51b27
MR
14956;; End:
14957
acaf905b 14958 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14959
14960 This file is part of GNU Emacs.
14961
14962 GNU Emacs is free software: you can redistribute it and/or modify
14963 it under the terms of the GNU General Public License as published by
14964 the Free Software Foundation, either version 3 of the License, or
14965 (at your option) any later version.
14966
14967 GNU Emacs is distributed in the hope that it will be useful,
14968 but WITHOUT ANY WARRANTY; without even the implied warranty of
14969 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14970 GNU General Public License for more details.
14971
14972 You should have received a copy of the GNU General Public License
14973 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.