* lisp/emacs-lisp/pcase.el (pcase--let*): New function.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
82ad98e3
SM
12012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/pcase.el (pcase--let*): New function.
4 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5 (pcase--expand): Use macroexp-let².
6
f80efb86
SM
72012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13 * emacs-lisp/derived.el: Use pcase instead of `cl'.
14 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
15
31ca4639 162012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 17
31ca4639
CY
18 * mail/rmail.el (rmail-yank-current-message): Leave point at
19 correct position. (Bug#11660)
94f0aa34 20
31ca4639 212012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 22
31ca4639 23 * allout-widgets.el: Fix code header.
9e1b8ec4 24
31ca4639 252012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 26
f80efb86
SM
27 * cus-edit.el (customize-changed-options-previous-release):
28 Bump to 24.1.
31ca4639 29
642b6d30
AS
302012-06-09 Andreas Schwab <schwab@linux-m68k.org>
31
32 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
33
4f5d2ba1
CY
342012-06-09 Chong Yidong <cyd@gnu.org>
35
36 * ebuff-menu.el (electric-buffer-list): Preserve header line.
37
e75852fd
MR
382012-06-09 Martin Rudalics <rudalics@gmx.at>
39
40 * window.el (special-display-popup-frame): Don't use
41 window--display-buffer (Bug#11651).
42
1e48e282
EZ
432012-06-09 Eli Zaretskii <eliz@gnu.org>
44
8a26b487
EZ
45 Fix parallel builds: make sure loaddefs.el is not being written
46 while Lisp files are compiled.
47 (compile): Don't depend on 'mh-autoloads'.
48 (compile-CMD, compile-SH): Depend on 'autoloads'.
49 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
50
1e48e282
EZ
51 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
52
6175e34b
CY
532012-06-09 Chong Yidong <cyd@gnu.org>
54
55 * face-remap.el (face-remap-add-relative, face-remap-set-base)
56 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
57 Doc fixes (Bug#11225).
58
d9857e53
SM
592012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
62 a function if there's a clear indication that it has a compiler-macro.
63 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
64 (macro-declarations-alist): Add arglist to declaration functions.
65 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
66 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
67 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
68 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
69 Also add autoload to find the compiler macro.
70 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
71 (cl--compiler-macro-member, cl--compiler-macro-assoc)
72 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
73 (cl--compiler-macro-get): New functions, replacing calls to
74 cl-define-compiler-macro.
75 (cl-typep) [compiler-macro]: Use macroexp-let².
76
f81298f8 772012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
78
79 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
80 string properly, fixes Bug#11473.
81
4b56d0fe
CY
822012-06-08 Chong Yidong <cyd@gnu.org>
83
84 * faces.el (set-face-attribute): Doc fix.
85 (modify-face): Don't use :bold and :italic.
86 (error, warning, success): Tweak definitions.
87
88 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
89 (custom-modified, custom-set, custom-changed, custom-themed)
90 (custom-saved, custom-button, custom-button-mouse)
91 (custom-button-pressed, custom-state, custom-comment-tag)
92 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
93 (custom-group-subtitle): Use new-style face specs.
94 (custom-invalid-face, custom-rogue-face, custom-modified-face)
95 (custom-set-face, custom-changed-face, custom-saved-face)
96 (custom-button-face, custom-button-pressed-face)
97 (custom-documentation-face, custom-state-face)
98 (custom-comment-face, custom-comment-tag-face)
99 (custom-variable-tag-face, custom-variable-button-face)
100 (custom-face-tag-face, custom-group-tag-face-1)
101 (custom-group-tag-face): Remove obsolete face alias.
102
103 * epa.el (epa-validity-high, epa-validity-medium)
104 (epa-validity-low, epa-mark, epa-field-name, epa-string)
105 (epa-field-name, epa-field-body):
106 * font-lock.el (font-lock-comment-face, font-lock-string-face)
107 (font-lock-keyword-face, font-lock-builtin-face)
108 (font-lock-function-name-face, font-lock-variable-name-face)
109 (font-lock-type-face, font-lock-constant-face):
110 * ido.el (ido-first-match, ido-only-match, ido-subdir)
111 (ido-virtual, ido-indicator, ido-incomplete-regexp):
112 * speedbar.el (speedbar-button-face, speedbar-file-face)
113 (speedbar-directory-face, speedbar-tag-face)
114 (speedbar-selected-face, speedbar-highlight-face)
115 (speedbar-separator-face):
116 * whitespace.el (whitespace-newline, whitespace-space)
117 (whitespace-hspace, whitespace-tab, whitespace-trailing)
118 (whitespace-line, whitespace-space-before-tab)
119 (whitespace-space-after-tab, whitespace-indentation)
120 (whitespace-empty):
121 * emulation/cua-base.el (cua-global-mark):
122 * eshell/em-prompt.el (eshell-prompt):
123 * net/newst-plainview.el (newsticker-new-item-face)
124 (newsticker-old-item-face, newsticker-immortal-item-face)
125 (newsticker-obsolete-item-face, newsticker-date-face)
126 (newsticker-statistics-face, newsticker-default-face):
127 * net/newst-reader.el (newsticker-feed-face)
128 (newsticker-extra-face, newsticker-enclosure-face):
129 * net/newst-treeview.el (newsticker-treeview-face)
130 (newsticker-treeview-new-face, newsticker-treeview-old-face)
131 (newsticker-treeview-immortal-face)
132 (newsticker-treeview-obsolete-face)
133 (newsticker-treeview-selection-face):
134 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
135 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
136 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
137 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
138 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
139 (nxml-outline-active-indicator, nxml-outline-ellipsis):
140 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
141 (mpuz-text):
142 * progmodes/vera-mode.el (vera-font-lock-number)
143 (vera-font-lock-function, vera-font-lock-interface):
144 * textmodes/table.el (table-cell): Use new-style face specs, and
145 don't use the old :bold and :italic attributes.
146
147 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
148 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
149 (ebrowse-member-class, ebrowse-progress): Likewise.
150 (ebrowse-tree-mark-face, ebrowse-root-class-face)
151 (ebrowse-file-name-face, ebrowse-default-face)
152 (ebrowse-member-attribute-face, ebrowse-member-class-face)
153 (ebrowse-progress-face): Remove obsolete faces.
154
155 * progmodes/flymake.el (flymake-errline, flymake-warnline):
156 Inherit from error and warning faces respectively.
157
158 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
159 Likewise.
f80efb86
SM
160 (flyspell-incorrect-face, flyspell-duplicate-face):
161 Remove obsolete aliases.
4b56d0fe 162
03310646
MA
1632012-06-08 Michael Albinus <michael.albinus@gmx.de>
164
165 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
166 Avoid infloop.
167
513749ee
SM
1682012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * startup.el (argv, argi): Make lexically scoped.
171 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
172 * emacs-lisp/cl-macs.el: Use lexical-binding.
173 Rename cl-bind-* to cl--bind-*.
174 * files.el: Don't require `cl' since it doesn't use it.
175 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
176
595ef4ad
JB
1772012-06-08 Juanma Barranquero <lekktu@gmail.com>
178
179 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
180 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
181 instead of calling external sort utility.
182 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
183
e9f66fcb
EZ
1842012-06-08 Eli Zaretskii <eliz@gnu.org>
185
186 * descr-text.el (describe-char): Mention how to insert the
187 character, if the current input method doesn't support it.
188 See the discussion in this thread for the details:
189 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
190
3d10db47
SS
1912012-06-08 Sam Steingold <sds@gnu.org>
192
193 * bindings.el (global-map): Bind XF86Forward to next-buffer and
194 XF86Back to previous-buffer.
195 (minibuffer-local-map): Bind them to next-history-element and
196 previous-history-element respectively.
197 * help-mode.el (help-mode-map): Bind them to help-go-forward and
198 help-go-back respectively.
199 * info.el (Info-mode-map): Bind them to Info-history-forward and
200 Info-history-back respectively.
201 These are the keys next to Up on the ThinkPad keyboard.
202
de7e2b36
SM
2032012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
206 * emacs-lisp/cl-macs.el: Provide itself.
207 (cl--labels-convert-cache): New var.
208 (cl--labels-convert): New function.
209 (cl-flet, cl-labels): New implementation with new semantics, relying on
210 lexical-binding.
211 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
212 (cl-closure-vars, cl--function-convert-cache)
213 (cl--function-convert): Move from cl-macs.el.
214 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
215 rename by removing the "cl-" prefix.
216 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
217
6fa6c4ae
SM
2182012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
221 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
222 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
223 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
224 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
225 (cl-hash-table-count): Add old compatibility aliases.
226
227 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
228 Use macroexpand-all-environment instead.
229 (cl--old-macroexpand): New var.
230 (cl--sm-macroexpand): New function.
231 (cl-symbol-macrolet): Use it during macro expansion.
232 (cl--function-convert-cache): New var.
233 (cl--function-convert): New function, extracted from
234 cl-macroexpand-all.
235 (cl-lexical-let): Use it.
236
237 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
238 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
239 (cl-member): Remove old alias.
240
241 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
242 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
243 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
244 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
245 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
246 (cl-macroexpand-cmacs): Remove var.
247 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
248 Use macroexpand-all instead.
249
4dd1c416
SM
2502012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
253 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
254 (macroexp-copyable-p): New functions and macros.
255 * emacs-lisp/edebug.el (edebug-unwrap):
256 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
257 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
258 (pcase--let*): Remove.
259 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
260 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
261 macroexp-const-p instead.
262 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
263
264 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
265 instead of "cl-" for internal definitions. Use macroexp-const-p.
266 (cl-old-bc-file-form): Remove var.
267 (cl-const-exprs-p): Remove fun.
268 (cl-labels, cl-macrolet): Use backquote.
269 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
270 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
271 (cl-define-setf-expander): Rename from cl-define-setf-method.
272 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
273
274 * international/mule-cmds.el: Don't require CL.
275 (view-hello-file): Don't use `letf'.
276
ed8bd4d7
SM
2772012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
278
7287f2f3
SM
279 * tmm.el (tmm-prompt): Use string-prefix-p.
280 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
281 (tmm-add-prompt): Use minibuffer-completion-help.
282 (tmm-delete-map): Remove.
283
ed8bd4d7
SM
284 * subr.el (kbd): Make it its own function.
285
7b4cdbf4
SM
2862012-06-07 Stefan Merten <smerten@oekonux.de>
287
288 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
289 Silence compiler warnings. Fix versions.
ed8bd4d7 290 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 291 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 292 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
293 (rst-package-emacs-version-alist): Correct Emacs version to
294 represent major merge with upstream.
ed8bd4d7 295 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 296
2b48d721
GM
2972012-06-06 Glenn Morris <rgm@gnu.org>
298
299 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
300 Only print environment variables if set.
301
fa779ab0
SM
3022012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
305 (macroexp--cons): Rename from maybe-cons.
306 (macroexp--accumulate): Rename from macroexp-accumulate.
307 (macroexp--all-forms): Rename from macroexpand-all-forms.
308 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
309 (macroexp--expand-all): Rename from macroexpand-all-1.
310
628299e0
SS
3112012-06-06 Sam Steingold <sds@gnu.org>
312
313 * calendar/calendar.el (calendar-in-read-only-buffer):
314 Call `special-mode' to enable the standard read-only keybindings.
315
b7bb5838
SM
3162012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
317
318 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
319 with "loading" messages (bug#11635).
320
dfb308ba
MA
3212012-06-06 Michael Albinus <michael.albinus@gmx.de>
322
323 * files.el (enable-remote-dir-locals): New option.
324 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
325
0372ee92
MA
326 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
327 Ensure, that the temp directory is local.
328
329 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
330 `temporary-file-directory'.
331
eed0bb91
MA
332 * progmodes/python.el (python-send-region): Ensure, that the
333 temporary file is created also in the remote case.
334
7a58f64d
GM
3352012-06-06 Glenn Morris <rgm@gnu.org>
336
f7dd4e98
GM
337 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
338 (vc-rcs-update-changelog): Use it.
339
276d5f5d
GM
340 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
341
7a58f64d
GM
342 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
343 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
344 (vc-sccs-diff): Replace use of the external vcdiff script.
345
daed4003
GM
3462012-06-05 Glenn Morris <rgm@gnu.org>
347
348 * ledit.el: Move to obsolete/.
349
48c455c7
SS
3502012-06-05 Sam Steingold <sds@gnu.org>
351
352 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
353 patch (Bug#11140).
354
57a7d507
SM
3552012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
356
d32926ff
SM
357 * emacs-list/cust-print.el: Move to obsolete.
358
53aacf21
SM
359 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
360 compiler-macro expansion.
361
57a7d507
SM
362 Add native compiler-macro support.
363 * emacs-lisp/macroexp.el (macroexpand-all-1):
364 Support compiler-macros directly. Properly follow aliases and apply
365 the compiler macros more thoroughly.
366 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
367 macroexpand now properly follows aliases.
368 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
369 (cl-compiler-macroexpand): Use new prop.
370 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
371
372 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
373
51a5f9d8
MR
3742012-06-05 Martin Rudalics <rudalics@gmx.at>
375
376 * window.el (get-lru-window, get-mru-window, get-largest-window):
377 New argument NOT-SELECTED to avoid picking the selected window.
378 (window--display-buffer-1, window--display-buffer-2): Replace by
379 new function window--display-buffer
380 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
381 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
382 Use window--display-buffer.
51a5f9d8
MR
383 (display-buffer-use-some-window): Remove temporary dedication
384 hack by calling get-lru-window and get-largest-window with
385 NOT-SELECTED argument non-nil. Call window--display-buffer.
386
08f9f738
GM
3872012-06-05 Glenn Morris <rgm@gnu.org>
388
389 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
390 Replace external vcdiff script.
391
e364a2b7
SM
3922012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
395
041df390
CY
3962012-06-04 Chong Yidong <cyd@gnu.org>
397
e364a2b7
SM
398 * image.el (imagemagick-types-inhibit): Revert last change.
399 Add INFO and M.
47b36b94 400 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 401
7c1898a7
SM
4022012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * emacs-lisp/cl-lib.el: Rename from cl.el.
405 * emacs-lisp/cl.el: New compatibility file.
406 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
407 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
408 to obey the "cl-" prefix.
409 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
410
0c3461de
GM
4112012-06-03 Glenn Morris <rgm@gnu.org>
412
1e266c88
GM
413 * emacs-lisp/authors.el (authors-aliases): Addition.
414
0c3461de
GM
415 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
416 Fix :version.
417
d8a52e15
SM
4182012-06-03 Stefan Merten <smerten@oekonux.de>
419
420 * textmodes/rst.el: Add comments.
421 (rst-transition, rst-adornment): New faces.
422 (rst-adornment-faces-alist): Make default safe to reevaluate.
423 Fixes
424 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
425 Improve customization tags.
426 (rst-define-level-faces): Clarify meaning.
427
5205d6f6
CY
4282012-06-03 Chong Yidong <cyd@gnu.org>
429
430 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
431 (compilation-mode-line-run, compilation-mode-line-exit):
432 New faces.
5205d6f6
CY
433 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
434
757ee657
JD
4352012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
436
7c1898a7
SM
437 * progmodes/which-func.el (which-func-update-ediff-windows):
438 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 439
5f2c76c6
CY
4402012-06-03 Chong Yidong <cyd@gnu.org>
441
442 * bindings.el: Remove explicit help text from format-mode-line.
443 It is now supplied by mode-line-default-help-echo.
444 (mode-line-front-space, mode-line-end-spaces)
445 (mode-line-misc-info): New variables.
446 (mode-line-modes, mode-line-position): Move the default value to
447 the variable definition.
448 (mode-line-default-help-echo): New defcustom.
383f7350
CY
449 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
450 (mode-line-modified-help-echo): New functions.
451 (mode-line-mule-info, mode-line-modified): Use them.
452 (mode-line-eol-desc, propertized-buffer-identification):
453 Consistency fixes for help text.
cbe46e5f
CY
454 (mode-line-coding-system-map): Allow using mouse-3 to invoke
455 set-buffer-file-coding-system (Bug#289).
456 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 457
f2d6a3df
SM
4582012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * simple.el (execute-extended-command): Set real-this-command
461 (bug#11506).
462
37269466
CY
4632012-06-02 Chong Yidong <cyd@gnu.org>
464
465 Remove incorrect uses of "modeline" in comments, docstrings, and
466 function/variable names (Bug#10329).
467
468 * cus-edit.el (mode-line):
469 * dframe.el (dframe-mouse-hscroll):
470 * emacs-lisp/re-builder.el:
471 * emacs-lisp/easy-mmode.el (define-minor-mode):
472 * frame.el (set-frame-name):
473 * help.el (lookup-minor-mode-from-indicator):
474 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
475 * progmodes/cc-cmds.el (c-toggle-auto-newline)
476 (c-toggle-hungry-state):
477 * progmodes/antlr-mode.el (antlr-language-alist):
478 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
479 * progmodes/vhdl-mode.el (vhdl-mode):
480 * progmodes/which-func.el (which-func, which-func-cleanup-function):
481 * term/ns-win.el (ns-face-at-pos):
482 * term/sup-mouse.el (sup-mouse-report):
483 * textmodes/flyspell.el (flyspell-mode-line-string):
484 * textmodes/ispell.el (ispell-highlight-face):
485 * textmodes/reftex-global.el:
486 * vc/vc-arch.el (vc-arch-mode-line-string):
487 * vc/vc-cvs.el (vc-cvs-mode-line-string):
488 * vc/vc-git.el (vc-git-mode-line-string):
489 * vc/vc-hooks.el (vc-display-status)
490 (vc-default-mode-line-string):
491 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
492
493 * ansi-color.el (ansi-color-faces-vector): Change default faces.
494
495 * dired.el (dired-sort-set-mode-line): Rename from
496 dired-sort-set-modeline. All callers changed.
497
498 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
499 eshell-status-in-modeline.
500
501 * foldout.el (foldout-mode-line-string): Rename from
502 foldout-modeline-string. All callers changed.
503 (foldout-update-mode-line): Rename from foldout-update-modeline.
504
505 * subr.el (redraw-modeline): Make into obsolete alias.
506
507 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
508 timeclock-modeline-display. Make old name an alias.
509 (timeclock-update-mode-line): Likewise. All callers changed.
510 (timeclock-mode-line-display): No need to check before using
511 add-hook.
512 (timeclock-relative, timeclock-day-over-hook)
513 (timeclock-use-elapsed, timeclock-mode-string)
514 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
515
516 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
517 crisp-mode-modeline-string.
518
519 * play/solitaire.el (solitaire-build-mode-line): Rename from
520 solitaire-build-modeline. All callers changed.
521
522 * play/zone.el (zone-hiding-mode-line): Rename from
523 zone-hiding-modeline. All callers changed.
524 (zone): Remove unusued `modeline-hidden-level' property.
525
526 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
527 xscheme-modeline-initialize. All callers changed.
528
529 * strokes.el (strokes-lighter): Rename from
530 strokes-modeline-string.
531
532 * textmodes/sgml-mode.el (html-face-tag-alist)
533 (html-tag-face-alist): Use mode-line face instead of obsolete
534 alias modeline.
535
42152ee4
SM
5362012-06-02 Stefan Merten <smerten@oekonux.de>
537
538 * textmodes/rst.el: Always require `cl'.
4cf9b38d 539 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 540
95f520b5
CY
5412012-06-02 Chong Yidong <cyd@gnu.org>
542
543 * image.el (imagemagick-enabled-types): Rename from
544 imagemagick-types-enable. Add many more types.
545 (imagemagick-types-inhibit): Change default to nil.
546 (imagemagick-filter-types): Caller changed.
547
4a5f187a
SM
5482012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
549
03fef3e6
SM
550 * emacs-lisp/cl-macs.el: Use backquotes.
551 (cl-transform-function-property): Use eval-and-compile rather than
552 abusing `require'.
553 (defstruct): Use declare-function instead of with-no-warnings.
554
4a5f187a
SM
555 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
556 (byte-compile-output-docform): Re-add the print-circle bindings.
557 (byte-compile-fix-header): Use #$ just because it's shorter.
558 (byte-compile-output-file-form): Remove defun/defmacro.
559
bd56924f
MR
5602012-06-01 Martin Rudalics <rudalics@gmx.at>
561
562 * simple.el (choose-completion): Remove now obsolete binding for
563 owindow.
564
046e38ce
MA
5652012-06-01 Michael Albinus <michael.albinus@gmx.de>
566
567 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
568 in order to avoid "Stack overflow in regexp matcher".
569
32d72c2f
GM
5702012-05-31 Glenn Morris <rgm@gnu.org>
571
572 * image.el: For clarity, call imagemagick-register-types at
573 top-level, rather than relying on a custom :initialize.
574 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
575 (imagemagick-filter-types): New function. (Bug#7406)
576 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
577 If disabling support, remove elements altogether rather
578 than using an impossible regexp.
579 (imagemagick-types-inhibit): Give it the default init function.
580
dd41169b
SM
5812012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
582
4a5f187a
SM
583 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
584 Handle arbitrary file name lengths (Bug#11585).
dd41169b 585
efc00ab1 5862012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
587
588 * desktop.el (desktop-read): Clear previous and next buffers for
589 all windows and bury *Messages* buffer (bug#11556).
590
500fcedc
SM
5912012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 Add `declare' for `defun'. Align `defmacro's with it.
594 * emacs-lisp/easy-mmode.el (define-minor-mode)
595 (define-globalized-minor-mode): Don't autoload the var definitions.
596 * emacs-lisp/byte-run.el: Use lexical-binding.
597 (defun-declarations-alist, macro-declarations-alist): New vars.
598 (defmacro, defun): Use them.
599 (make-obsolete, define-obsolete-function-alias)
600 (make-obsolete-variable, define-obsolete-variable-alias):
601 Use `declare'.
602 (macro-declaration-function): Mark obsolete.
603 * emacs-lisp/autoload.el: Use lexical-binding.
604 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
605
6e8a1786
AM
6062012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
607
608 * textmodes/ispell.el (ispell-with-no-warnings):
609 Define as a macro.
500fcedc
SM
610 (ispell-kill-ispell, ispell-change-dictionary):
611 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
612 `interactive-p'.
613
61b108cc
SM
6142012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
617 (macro-declaration-function): Move var from C code.
618 (macro-declaration-function): Define function with defalias.
619 * emacs-lisp/macroexp.el (macroexpand-all-1):
620 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
621 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
622 defun/defmacro any more.
623 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
624 Provide fallback for unknown arglist.
625 (byte-compile-arglist-warn): Change calling convention.
626 (byte-compile-output-file-form): Move print-vars binding.
627 (byte-compile-output-docform): Simplify accordingly.
628 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
629 (byte-compile-defmacro-declaration): Remove.
630 (byte-compile-file-form-defmumble): Generalize to defalias.
631 (byte-compile-output-as-comment): Return byte-positions.
632 Simplify callers accordingly.
633 (byte-compile-lambda): Use `assert'.
634 (byte-compile-defun, byte-compile-defmacro): Remove.
635 (byte-compile-file-form-defalias):
636 Use byte-compile-file-form-defmumble.
637 (byte-compile-defalias-warn): Remove.
638
6d3f7c2f
SM
6392012-05-29 Stefan Merten <smerten@oekonux.de>
640
641 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 642 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
643
644 (rst-mode-abbrev-table): Merge definition.
645 (rst-mode): Make sure `font-lock-defaults' is buffer local.
646 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
647
6dbaa1c7
UJ
6482012-05-29 Ulf Jasper <ulf.jasper@web.de>
649
650 * calendar/icalendar.el
651 (icalendar-export-region): Export UID properly.
652
6532012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
654 * calendar/icalendar.el (icalendar-import-format):
655 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
656 (icalendar-import-format-uid): New.
657 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
658 Export UID.
659
6876a58d
SM
6602012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
663 different alternative patterns.
664 (pcase-codegen): Be more careful to preserve identity.
665 (pcase--u1): Don't forget to mark vars as used.
666
667 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
668 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
669 (byte-compile-from-buffer): ...rather than here.
670
671 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
672 functions from byte-compile-function-environment.
673
46b7967e
TN
6742012-05-29 Troels Nielsen <bn.troels@gmail.com>
675
676 * window.el (window-deletable-p): Avoid deleting the root window
677 of a frame with an active minibuffer.
678
69d565e2
MR
6792012-05-29 Martin Rudalics <rudalics@gmx.at>
680
681 * simple.el (choose-completion): Use quit-window (Bug#11567).
682
a149fa51
CY
6832012-05-29 Chong Yidong <cyd@gnu.org>
684
685 * whitespace.el (whitespace-cleanup): Fix usage of
686 whitespace-empty-at-bob-regexp (Bug#11492).
687
2b311310
AH
6882012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
689
690 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
691 revert (Bug#11488).
692
b9cb2387
JL
6932012-05-29 Juri Linkov <juri@jurta.org>
694
695 * isearch.el (isearch-mode-map): Bind `M-s _' to
696 `isearch-toggle-symbol'. Bind `M-s c' to
697 `isearch-toggle-case-fold'.
698 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
699 (isearch-forward): Add `M-s _' to the docstring.
700 (isearch-forward-symbol, isearch-toggle-case-fold)
701 (isearch-symbol-regexp): New functions. (Bug#11381)
702
d5e61c1c
JL
7032012-05-29 Juri Linkov <juri@jurta.org>
704
705 * isearch.el (isearch-word): Add docstring. (Bug#11381)
706 (isearch-occur, isearch-search-and-update): If `isearch-word' is
707 a function, call it to get the regexp.
708 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
709 property `isearch-message-prefix' instead of the string "word ".
710 (isearch-search-fun-default): For the case of `isearch-word',
711 return a lambda that calls re-search-forward/re-search-backward
712 with a regexp returned by `word-search-regexp' or by the function
713 in `isearch-word'.
714
8cbd80f7
JL
7152012-05-29 Juri Linkov <juri@jurta.org>
716
717 * isearch.el (isearch-search-fun-default): New function.
718 (isearch-search-fun): Move default part to the new function
719 `isearch-search-fun-default'.
720 (isearch-search-fun-function): Set the default value to
721 `isearch-search-fun-default'. (Bug#11381)
722
723 * comint.el (comint-history-isearch-end):
724 Use `isearch-search-fun-default'.
725 (comint-history-isearch-search): Use `isearch-search-fun-default'
726 and remove spacial case for `isearch-word'.
727 (comint-history-isearch-wrap): Remove spacial case for
728 `isearch-word'.
729
730 * hexl.el (hexl-isearch-search-function):
731 Use `isearch-search-fun-default'.
732
733 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
734 Use `word-search-regexp' for `isearch-word'.
735
736 * misearch.el (multi-isearch-search-fun):
737 Use `isearch-search-fun-default'.
738
739 * simple.el (minibuffer-history-isearch-search):
740 Use `isearch-search-fun-default' and remove spacial case for
741 `isearch-word'.
742 (minibuffer-history-isearch-wrap): Remove spacial case for
743 `isearch-word'.
744
745 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
746 Remove spacial case for `isearch-word'.
747 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
748
85c8c5b6
AM
7492012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
750
751 Decrease XEmacs incompatibilities.
752 * textmodes/flyspell.el (flyspell-check-pre-word-p):
753 Use `string-match'.
754 (flyspell-delete-region-overlays): Use alternative definition for
755 XEmacs.
756 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
757 (flyspell-word): Use `process-kill-without-query' if XEmacs.
758 (flyspell-mode-on): Use `interactive-p' if XEmacs.
759 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
760 `define-obsolete-face-alias' under XEmacs, but old method.
761
762 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
763 `with-no-warnings' definition or Emacs alias.
764 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
765 (ispell-word): Do not use `region-p' if XEmacs.
766
8cab9efc
AM
7672012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
768
769 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
770 Check for `ispell-dictionary-base-alist' instead of full
771 `ispell-dictionary-alist'.
772 (ispell-init-process): Show spellchecker when starting new Ispell
773 process.
774
fda91268
RZ
7752012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
778 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
779
694ea8e3
JB
7802012-05-27 Juanma Barranquero <lekktu@gmail.com>
781
782 * version.el (motif-version-string, gtk-version-string)
783 (ns-version-string): Declare.
784
e4d4f539
JL
7852012-05-27 Juri Linkov <juri@jurta.org>
786
787 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
788 after the `eval-defun-1' specialcaseing
789 like in `edebug-eval-defun' (bug#10181).
790
791 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
792 like in `eval-defun-1'.
793
33017faf 7942012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 795
fda91268
RZ
796 * mail/sendmail.el (mail-yank-region):
797 Recognize rmail-yank-current-message in addition to insert-buffer.
798 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
799 a *mail* buffer created through rmail-start-mail with sendmail as
800 mail-user-agent.
801
33017faf
GM
8022012-05-27 Chong Yidong <cyd@gnu.org>
803
804 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
805 Default to 256 (Bug#11267).
806
807 * help.el (describe-mode): Doc fix.
808
04188bb9
GM
8092012-05-26 Glenn Morris <rgm@gnu.org>
810
38264cc9
GM
811 * w32-fns.el (w32-init-info): Remove.
812 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
813
eb7afdad
GM
814 * info.el (info-initialize): For self-contained NS builds, put the
815 included info/ directory at the front. (Bug#2791)
816
04188bb9
GM
817 * paths.el (Info-default-directory-list): Make it a defcustom,
818 mainly so that we can use custom-initialize-delay.
819
a179e3f7
SM
8202012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
821
43416392
SM
822 * subr.el (buffer-has-markers-at): Mark obsolete.
823
a179e3f7 824 * subr.el (lambda): Use declare.
43416392 825
a179e3f7
SM
826 * emacs-lisp/lisp-mode.el (lambda):
827 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
828
34a008d9
AH
8292012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
830
831 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
832
0a3b289f
GM
8332012-05-26 Glenn Morris <rgm@gnu.org>
834
835 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
836
758c81e8
GM
8372012-05-25 Glenn Morris <rgm@gnu.org>
838
f9f334f0
GM
839 * paths.el: Remove no-byte-compile.
840 * loadup.el: No need to load paths.el uncompiled.
841
87eb79c2
GM
842 * image.el (imagemagick-types-inhibit): Doc fix.
843
758c81e8
GM
844 * version.el: Remove no-byte-compile and associated formatting.
845 * loadup.el: No need to load version.el uncompiled. AFAICS, this
846 is ancient code from when there was an "inc-vers.el".
847
e7e85dc0
SM
8482012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * progmodes/gdb-mi.el: Minor style changes.
851 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
852 Turn into minor modes.
853 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
854 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
855 (gdb-shell): Remove unneeded let-binding.
856 (gdb-get-many-fields): Eliminate O(n²) behavior.
857
f31237a4
EZ
8582012-05-25 Eli Zaretskii <eliz@gnu.org>
859
860 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
861 platforms that don't link in fontset.c.
862
bc1b21bb
JL
8632012-05-25 Juri Linkov <juri@jurta.org>
864
865 Use the same diff color scheme as in modern VCSes (bug#10181).
866
867 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
868 to avoid confusion with `diff-added' that now uses green colors.
869 (diff-removed): Use shades of red.
870 (diff-added): Use shades of green.
871 (diff-changed): Leave just the yellow color.
872 (diff-use-changed-face): New variable.
873 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
874 how to highlight context diff changes.
875 (diff-refine-change): Use shades of yellow.
876 (diff-refine-removed): New face that uses shades of red.
877 (diff-refine-added): New face that uses shades of green.
878 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
879 `diff-refine-removed' in the call to `smerge-refine-subst'
880 depending on the value of `diff-use-changed-face'.
881
882 * vc/smerge-mode.el (smerge-mine): Use shades of red.
883 (smerge-other): Use shades of green.
884 (smerge-base): Use shades of yellow.
885 (smerge-refined-change): Empty face.
886 (smerge-refined-removed): New face that uses shades of red.
887 (smerge-refined-added): New face that uses shades of green.
888 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
889 args `props-r' and `props-a', and use them. Doc fix.
890 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
891 on its value use different faces `smerge-refined-change',
892 `smerge-refined-removed', `smerge-refined-added' in the call to
893 `smerge-refine-subst'.
894
895 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
896 Add face condition `min-colors 88' with shades of red.
897 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
898 `min-colors 88' with shades of green.
899 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
900 `min-colors 88' with shades of yellow.
901
6df9112c
GM
9022012-05-24 Glenn Morris <rgm@gnu.org>
903
ead5edc0
GM
904 * paths.el (prune-directory-list, remote-shell-program): Move to...
905 * files.el (prune-directory-list, remote-shell-program): ...here.
906 For the latter, delay initialization, prefer ssh, just search PATH.
907
f18b81e6
GM
908 * paths.el (term-file-prefix): Move to faces.el (the only user).
909 * faces.el (term-file-prefix): Move here, make it a defcustom.
910
ee2f89a6
GM
911 * paths.el (news-directory, news-path, news-inews-program):
912 Move to gnus/nnspool.el.
61a583ca 913
f8815e4c
GM
914 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
915
c8f3b42c
GM
916 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
917 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
918 Make the latter a defcustom, with a delayed initialization.
919
6df9112c
GM
920 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
921 These were deleted from Gnus itself late 2010.
922
5dadff36
JB
9232012-05-22 Juanma Barranquero <lekktu@gmail.com>
924
9e1701c6
JB
925 * progmodes/which-func.el (which-func-ff-hook):
926 Check against user-error, not error.
927
bd7239f5 928 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
929 cl-specs.el, which no longer exists.
930
3290526d
GM
9312012-05-22 Glenn Morris <rgm@gnu.org>
932
933 * info.el (info-emacs-bug): New command.
934 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
935 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
936
ff0c3cfb
GM
9372012-05-21 Glenn Morris <rgm@gnu.org>
938
939 * makefile.w32-in (update-subdirs-SH):
940 * Makefile.in (update-subdirs): Update for moved update-subdirs.
941
5814f126
SM
9422012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
943
a52c0aa0
SM
944 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
945
5814f126
SM
946 * progmodes/compile.el (compilation-error-regexp-alist-alist):
947 Simplify Maven regexp, and make sure the file can't start with a space
948 (bug#11517).
949
b847032c
GM
9502012-05-21 Glenn Morris <rgm@gnu.org>
951
952 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
953 Scrap superfluous subshells.
954
3858bfe7
SM
9552012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
958 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
959
d14b0029
JB
9602012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
961
962 * calc/calc.el (calc-ensure-consistent-units): New variable.
963
a52c0aa0
SM
964 * calc/calc-units.el (math-consistent-units-p)
965 (math-check-unit-consistency): New functions.
966 (calc-quick-units, calc-convert-units):
967 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
968 is non-nil.
d14b0029
JB
969 (calc-extract-units): Fix typo.
970
60c4db3a
SM
9712012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
972
77f3b62e
SM
973 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
974
60c4db3a
SM
975 * textmodes/flyspell.el: Commenting style, plus code simplifications.
976 (flyspell-default-deplacement-commands): Don't spell check after
977 repeated window/frame switches (e.g. triggered by mouse-movement).
978 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
979 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
980 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
981 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
982 Remove unused vars.
983 (flyspell-get-casechars, flyspell-get-not-casechars):
984 Simplify; Don't bother removing a ] just to add it back.
985 * textmodes/ispell.el (ispell-program-name): Use executable-find.
986
b1a10716
RS
9872012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
988
989 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
990 New functions.
bd7239f5 991 (math-function-table): Add support for more C functions.
b1a10716 992
3f1b25b5
AM
9932012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
994
995 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
996 (flyspell-debug-signal-word-checked): Protect delay handling for
997 otherchars against empty otherchars.
998
b581bb5c
SM
9992012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1002 their respective macro declarations.
1003 * skeleton.el (define-skeleton):
1004 * progmodes/compile.el (define-compilation-mode):
1005 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1006 (define-ibuffer-filter):
1007 * emacs-lisp/generic.el (define-generic-mode):
1008 * emacs-lisp/easy-mmode.el (define-minor-mode)
1009 (define-globalized-minor-mode):
1010 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1011 * emacs-lisp/byte-run.el (defsubst):
1012 * custom.el (deftheme): Add doc-string metadata.
1013
70b8ef8f
SM
10142012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1017
b1198e17
SM
10182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1019
9abdc45d
SM
1020 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1021
b1198e17
SM
1022 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1023 * emacs-lisp/cl-macs.el: Idem.
1024 * emacs-lisp/cl-specs.el: Remove.
1025
4735906a
SM
10262012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 Minor renaming of internal CL functions and variables.
1029 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1030 (cl--position): Rename from cl-position.
1031 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1032 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1033 (cl--random-state): Rename from *random-state*.
1034
ac348012
SM
10352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1038 parens around the arg list (bug#11499).
1039
a0a79cde
JL
10402012-05-17 Juri Linkov <juri@jurta.org>
1041
1042 * isearch.el (word-search-regexp, word-search-backward)
1043 (word-search-forward, word-search-backward-lax)
1044 (word-search-forward-lax): Move functions from search.c
1045 (bug#10145, bug#11381).
1046
65034a51
AM
10472012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1048
1049 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1050 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1051 normal word components.
1052
1a72a195
SM
10532012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1054
1055 * minibuffer.el (completion--sifn-requote): Fix last change.
1056 (minibuffer-local-must-match-filename-map):
1057 Move define-obsolete-variable-alias before its var.
1058
fdb058c2
SM
10592012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1060
c41045e6
SM
1061 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1062
036dfb8b
SM
1063 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1064 behavior.
1065 (completion--string-equal-p): New function.
1066 (completion--twq-all): Use it to get better assertion failure data.
1067
2473256d
SM
1068 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1069 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1070 (shell--requote-argument): New functions.
1071 (shell-completion-vars): Use them.
1072 (shell--parse-pcomplete-arguments): Rename from
1073 shell-parse-pcomplete-arguments.
1074 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1075 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1076 Obey comint-file-name-quote-list.
1077
fdb058c2
SM
1078 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1079 (smie-indent-keyword): Use it.
1080
51fa99f1
SM
10812012-05-14 Stefan Merten <smerten@oekonux.de>
1082
1083 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1084
e18afed7 10852012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1086
1087 * net/rlogin.el (rlogin-mode-map): Fix last change.
1088
e18afed7 10892012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1090
1091 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1092 the following \r\n using a single `process-send-string', since the
1093 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1094 with two `process-send-string's (Bug#11444).
8633b1f4 1095
e18afed7 10962012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1097
fdb058c2
SM
1098 * shell.el (shell-parse-pcomplete-arguments):
1099 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1100
2d21d7f6
WJ
11012012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1102
e18afed7 1103 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1104 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1105 (image-transform-width, image-transform-fit-width): New functions.
1106 (image-transform-properties): Use them.
1107 (image-transform-check-size): New function.
1108 (image-toggle-display-image): Use it (for testing).
1109 (image-transform-set-rotation): Reduce angle mod 360.
1110 Delete obsolete comment.
1111
7102e6d0
WJ
11122012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1113
1114 * image-mode.el: Fix scaling (bug#11399).
1115 (image-transform-resize): Doc fix.
1116 (image-transform-properties): Default scale is 1 and height should
1117 be an integer.
1118
06bc5e6e
SM
11192012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
1120
1121 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1122 than hard-coding `car', to fix misbehavior when moving forward.
1123
0ae03b6a
CY
11242012-05-13 Chong Yidong <cyd@gnu.org>
1125
1126 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1127 (tabulated-list-entries, tabulated-list-padding)
1128 (tabulated-list-sort-key): Make permanent-local.
1129
1130 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1131 (electric-buffer-list): Put electric buffer menu
1132 command descriptions in this docstring, instead of the docstring
1133 of electric-buffer-menu-mode. Code cleanups.
1134 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1135 Electric-buffer-menu-mode.
1136 (electric-buffer-update-highlight): Minor code cleanup.
1137
205a7391
MA
11382012-05-13 Michael Albinus <michael.albinus@gmx.de>
1139
1140 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1141 (Bug#11447)
1142
e5bd0a28
SM
11432012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 Move define-obsolete-variable-alias before the var's definition.
1146 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1147 * tooltip.el (tooltip-hook):
1148 * textmodes/reftex-toc.el (reftex-toc-map):
1149 * textmodes/reftex-sel.el (reftex-select-label-map)
1150 (reftex-select-bib-map):
1151 * textmodes/reftex-index.el (reftex-index-map)
1152 (reftex-index-phrases-map):
1153 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1154 * progmodes/meta-mode.el (meta-mode-map):
1155 * novice.el (disabled-command-hook):
1156 * loadhist.el (unload-hook-features-list):
1157 * frame.el (blink-cursor):
1158 * files.el (find-file-not-found-hooks, write-file-hooks)
1159 (write-contents-hooks):
1160 * emulation/tpu-edt.el (GOLD-map):
1161 * emacs-lock.el (emacs-lock-from-exiting):
1162 * emacs-lisp/generic.el (generic-font-lock-defaults):
1163 * emacs-lisp/chart.el (chart-map):
1164 * dos-fns.el (register-name-alist):
1165 * dired-x.el (dired-omit-files-p):
1166 * desktop.el (desktop-enable):
1167 * cus-edit.el (custom-mode-hook):
1168 * buff-menu.el (buffer-menu-mode-hook):
1169 * bookmark.el (bookmark-read-annotation-text-func)
1170 (bookmark-exit-hooks):
1171 * allout.el (allout-mode-deactivate-hook)
1172 (allout-exposure-change-hook, allout-structure-added-hook)
1173 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1174 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1175 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1176 comes before the corresponding variable's definition.
1177
ac59c2f6
CY
11782012-05-12 Chong Yidong <cyd@gnu.org>
1179
1180 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1181 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1182 (Buffer-menu-mode-map): Bind it.
1183 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1184
dee6c9a3
SM
11852012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1186
2171cea5
SM
1187 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1188 (prolog-upper-case-string, prolog-lower-case-string)
1189 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1190 (prolog-use-smie, prolog-smie-grammar): New vars.
1191 (prolog-smie-forward-token, prolog-smie-backward-token)
1192 (prolog-smie-rules): New funs.
1193 (prolog-comment-indent): Remove.
1194 (prolog-mode-variables): Use default comment indentation instead.
1195 Setup SMIE.
1196 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1197 (prolog-mode): Don't call them any more.
1198 (prolog-electric-colon, prolog-electric-dash)
1199 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1200
aa0382bd
SM
1201 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1202
dbacb4bd
SM
1203 * minibuffer.el (completion--twq-all): Again, allow case differences.
1204
13bdd94c
SM
1205 * term.el: Move keymap initialization code to be more idiomatic.
1206 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1207 (term-terminal-menu): Move initialization into declaration.
1208 (term-escape-char): Let the user set it in her .emacs.
1209
ff46c759
SM
1210 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1211 Provide SMIE-based indentation (not enabled by default yet).
1212 (sh-mode-map): Don't bind electric keys.
1213 Use electric-pair-mode instead of skeleton-pair.
1214 (sh-assignment-regexp): Fit within 80 columns.
1215 (sh-indent-supported): Specify actual shell name instead of boolean.
1216 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1217 (sh-maybe-here-document): Use it. Make obsolete.
1218 (sh-electric-here-document-mode) New minor mode.
1219 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1220 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1221 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1222 (sh-smie-rc-grammar, sh-use-smie): New vars.
1223 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1224 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1225 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1226 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1227 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1228 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1229 (sh-set-shell): Use smie-setup if requested.
1230
dee6c9a3
SM
1231 * term.el (term-set-escape-char): Properly set term-escape-char.
1232 See http://stackoverflow.com/questions/10524656.
1233
9f9aa044
CY
12342012-05-10 Chong Yidong <cyd@gnu.org>
1235
1236 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1237 Use url-generic-parse-url, and handle host names and Windows
1238 filenames properly.
1239 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1240 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1241 URL schemes to work on.
1242 (ffap--toggle-read-only): New function.
1243 (ffap-read-only, ffap-read-only-other-window)
1244 (ffap-read-only-other-frame): Use it.
1245 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1246 necessary for ffap-url-unwrap-remote.
1247
836d29b3
DA
12482012-05-10 Dave Abrahams <dave@boostpro.com>
1249
1250 * cus-start.el (create-lockfiles): Add it.
1251
00fd78ed
CY
12522012-05-09 Chong Yidong <cyd@gnu.org>
1253
1254 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1255 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1256
666b903b 12572012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1258
1259 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1260
666b903b 12612012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1262
1263 * ansi-color.el (ansi-color-process-output): Check for validity of
1264 comint-last-output-start before using it. This avoids a bad
1265 interaction with gdb-mi's input/output buffer.
1266
666b903b 12672012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1268
1269 * files.el (dir-locals-read-from-file):
1270 Mention dir-locals in any error message.
1271
666b903b 12722012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1273
1274 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1275 package (Bug#11410).
1276
f677562b
CY
1277 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1278 variables into description.
1279
666b903b 12802012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1281
1282 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1283 shell-delimiter-argument-list (bug#11348).
1284 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1285
b499d8d0
JB
12862012-05-09 Juanma Barranquero <lekktu@gmail.com>
1287
8f6b6da8
JB
1288 * textmodes/rst.el: Silence byte-compiler warnings.
1289 (rst-re-alist, rst-reset-section-caches): Move around.
1290 (rst-re): Use `characterp', not `char-valid-p'.
1291 (font-lock-beg, font-lock-end): Declare.
1292
4824146a
JB
1293 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1294 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1295
b499d8d0
JB
1296 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1297
ad89bb83
GM
12982012-05-08 Glenn Morris <rgm@gnu.org>
1299
1300 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1301
8bba5a75
SM
13022012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1303
49ed9c8e
SM
1304 * vc/log-edit.el: Add GNU coding standards highlighting.
1305 (log-edit-font-lock-gnu-style)
1306 (log-edit-font-lock-gnu-keywords): New vars.
1307 (log-edit-font-lock-keywords): New fun.
1308 (log-edit-mode): Don't fold case in font-lock.
1309 (log-edit-font-lock-keywords): Do not assume case-folding.
1310
07d00b56
SM
1311 * imenu.el: Misc cleanup. Make docstrings out of comments.
1312 Use lexical-binding.
1313 (imenu--index-alist, imenu--last-menubar-index-alist)
1314 (imenu-menubar-modified-tick): Use defvar-local.
1315 (imenu--split-menu): Remove unused var.
1316 (imenu--cleanup-seen): Declare as global.
1317 (imenu--cleanup): Use dolist.
1318
8bba5a75
SM
1319 * subr.el (defvar-local): Add debug spec and doc-string position.
1320
5075bdb5
GM
13212012-05-08 Glenn Morris <rgm@gnu.org>
1322
c052c904
GM
1323 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1324 * language/english.el, language/georgian.el, language/greek.el:
1325 * language/japanese.el, language/khmer.el, language/korean.el:
1326 * language/lao.el, language/misc-lang.el, language/romanian.el:
1327 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1328 * language/thai.el, language/utf-8-lang.el:
1329 Remove no-byte-compile setting.
1330
5075bdb5
GM
1331 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1332
06f679a7
AH
13332012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1334
1335 * progmodes/make-mode.el (makefile-browse):
1336 Remove unnecessary interactive. (Bug#11324)
1337
03794570
GM
13382012-05-07 Glenn Morris <rgm@gnu.org>
1339
af8630f4
GM
1340 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1341
03794570
GM
1342 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1343
f0809a9d
SM
13442012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1345
28be5ce7
SM
1346 * loadup.el: Preload newcomment.el.
1347 * newcomment.el: Move autoload-only code to toplevel.
1348
f0809a9d
SM
1349 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1350 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1351 Handle new :right-align column property.
1352 (tabulated-list-print-col): Idem, plus use `display' text-property to
1353 try and preserve alignment for variable pitch fonts.
1354
1241b724
CY
13552012-05-07 Chong Yidong <cyd@gnu.org>
1356
1357 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1358 (tabulated-list-use-header-line): New var.
1359 (tabulated-list-init-header): Use it.
1360 (tabulated-list-print-fake-header): New function.
1361 (tabulated-list-print): Use it.
1362 (tabulated-list-sort-button-map): Add non-header-line commands.
1363 (tabulated-list-init-header): Add column name property to basic
1364 labels as well.
1365 (tabulated-list-col-sort): Handle non-header-line button case.
1366 (tabulated-list--sort-by-column-name): Fix a corner case.
1367
f0809a9d
SM
1368 * buff-menu.el (list-buffers--refresh):
1369 Handle Buffer-menu-use-header-line.
1241b724 1370
e5f9458f
CY
13712012-05-06 Chong Yidong <cyd@gnu.org>
1372
1373 * buff-menu.el: Convert to Tabulated List mode.
1374 (Buffer-menu-buffer+size-width): Make obsolete.
1375 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1376 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1377 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1378 documentation into docstring of buffer-menu.
1379 (Buffer-menu-toggle-files-only): Add an informative message.
1380 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1381 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1382 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1383 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1384 (Buffer-menu-execute, Buffer-menu-select)
1385 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1386 (Buffer-menu-bury): Use Tabulated List machinery.
1387 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1388 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1389 Delete.
e5f9458f
CY
1390 (list-buffers--refresh): New function.
1391 (list-buffers-noselect): Use it.
1392 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1393 (Buffer-menu--pretty-file-name): New helper functions.
1394
1395 * loadup.el: Preload tabulated-list.
1396
1397 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1398 tabulated-list-sort-column.
1399 (tabulated-list-init-header): Add the initial aligning space even
1400 if tabulated-list-padding is zero.
1401
e129292c
CS
14022012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1403
1404 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1405 whose cdr is not a cons cell correctly (bug#11038).
1406
6632d361
CY
14072012-05-06 Chong Yidong <cyd@gnu.org>
1408
e129292c
CS
1409 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1410 Accept additional plist in column descriptors.
6632d361
CY
1411 (tabulated-list-init-header): Obey it.
1412 (tabulated-list-get-entry): New function.
1413 (tabulated-list-put-tag): Use it. Use string-width instead of
1414 length.
1415 (tabulated-list--column-number): New function.
1416 (tabulated-list-print): Use it.
e129292c
CS
1417 (tabulated-list-print-col): New function.
1418 Set `tabulated-list-column-name' property on each column's text.
6632d361 1419 (tabulated-list-print-entry): Use it.
e129292c
CS
1420 (tabulated-list-delete-entry, tabulated-list-set-col):
1421 New functions.
6632d361
CY
1422 (tabulated-list-sort-column): New command (Bug#11337).
1423
3cc99f68
CY
1424 * buff-menu.el (list-buffers): Move C-x C-b binding from
1425 buff-menu.el to bindings.el.
1426
1427 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1428 :advertised-binding feature.
1429
52b61776
TN
14302012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1431
1432 * progmodes/compile.el (compilation-internal-error-properties):
1433 Calculate start position correctly when end-col is set but
1434 end-line is not (Bug#11382).
1435
ebfe2597
WJ
14362012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1437
1438 * man.el (Man-unindent): Use text-property-default-nonsticky to
1439 prevent untabify from inheriting face properties (Bug#11408).
1440
6d3f7c2f
SM
14412012-05-05 Stefan Merten <smerten@oekonux.de>
1442
1443 * textmodes/rst.el: Major merge with upstream development up to
1444 Docutils SVN r7399 / rst.el V1.2.1.
1445
1446 Clarify maintainership and authors.
1447
1448 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1449 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1450 (rst-official-version, rst-official-cvs-rev, rst-version)
1451 (rst-package-emacs-version-alist): New functions and variables
1452 for version information.
1453
1454 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1455 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1456 (rst-mode-syntax-table, rst-mode): New and corrected functions
1457 and variables representing reStructuredText features.
1458
1459 (rst-re): New function for reStructuredText regexes. Use in
1460 many places.
1461
1462 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1463 (rst-mode-map): Rebind keys.
1464
1465 (rst-mode-lazy, rst-font-lock-keywords)
1466 (rst-font-lock-extend-region)
1467 (rst-font-lock-extend-region-internal)
1468 (rst-font-lock-extend-region-extend)
1469 (rst-font-lock-find-unindented-line-limit)
1470 (rst-font-lock-find-unindented-line-match)
1471 (rst-adornment-level, rst-font-lock-adornment-level)
1472 (rst-font-lock-adornment-match)
1473 (rst-font-lock-handle-adornment-pre-match-form)
1474 (rst-font-lock-handle-adornment-matcher): Major revision of
1475 font-locking. Integrate with other code. Use `jit-lock-mode'.
1476
1477 (rst-preferred-adornments, rst-adjust-hook)
1478 (rst-new-adornment-down, rst-preferred-bullets)
1479 (rst-preferred-bullets, rst-indent, rst-indent-width)
1480 (rst-indent-field, rst-indent-literal-normal)
1481 (rst-indent-literal-minimized, rst-indent-comment): Change,
1482 extend and improve customization.
1483
1484 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1485 (rst-normalize-cursor-position, rst-get-decoration)
1486 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1487 (rst-rstrip, rst-toc-insert-find-delete-contents)
1488 (rst-shift-fill-region, rst-compute-bullet-tabs)
1489 (rst-debug-print-tabs, rst-debug-mark-found)
1490 (rst-shift-region-guts, rst-shift-region-right)
1491 (rst-shift-region-left, rst-use-char-classes)
1492 (rst-font-lock-keywords-function)
1493 (rst-font-lock-indentation-point)
1494 (rst-font-lock-find-unindented-line-begin)
1495 (rst-font-lock-find-unindented-line-end)
1496 (rst-font-lock-find-unindented-line)
1497 (rst-font-lock-adornment-point, rst-font-lock-level)
1498 (rst-adornment-level-alist): Remove functions and variables.
1499
1500 (rst-compare-adornments, rst-get-adornment-match)
1501 (rst-suggest-new-adornment, rst-get-adornments-around)
1502 (rst-adornment-complete-p, rst-get-next-adornment)
1503 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1504 (rst-straighten-adornments): Standardize function names to
1505 use "adornment" instead of "decoration". Correct callers.
1506 Similar standardizing in many places.
1507
1508 (rst-update-section, rst-adjust, rst-promote-region)
1509 (rst-enumerate-region, rst-bullet-list-region)
1510 (rst-repeat-last-character): Correct use of `interactive'.
1511
1512 (rst-classify-adornment, rst-find-all-adornments)
1513 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1514 (rst-find-leftmost-column, rst-repeat-last-character):
1515 Refactor functions.
1516
1517 (rst-find-title-line, rst-reset-section-caches)
1518 (rst-get-adornments-around, rst-adjust-adornment-work)
1519 (rst-arabic-to-roman, rst-roman-to-arabic)
1520 (rst-insert-list-pos, rst-insert-list-new-item)
1521 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1522 New functions.
1523
1524 (rst-all-sections, rst-section-hierarchy)
1525 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1526 New variables.
1527
1528 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1529 configuration instead of only buffer. Change where necessary.
1530
1531 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1532 (rst-shift-region, rst-adaptive-fill): New functions for
1533 indentation and filling.
1534
1535 (rst-comment-line-break, rst-comment-indent)
1536 (rst-comment-insert-comment, rst-comment-region)
1537 (rst-uncomment-region): New functions for handling comments.
1538
1539 (rst-compile): Quote shell arguments.
1540
1541 (rst-compile-pdf-preview, rst-compile-slides-preview):
1542 Delete temporary files after use.
1543
a43f98b3
GM
15442012-05-05 Glenn Morris <rgm@gnu.org>
1545
48176e8b
GM
1546 * calendar/cal-html.el: Optionally include holidays in the output.
1547 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1548 (cal-html-holidays): New option.
1549 (cal-html-css-default): Add holiday entry.
1550 (holiday-in-range): Autoload it.
1551 (cal-html-htmlify-entry): Add optional class argument.
1552 (cal-html-htmlify-list): Add optional holidays argument.
1553 (cal-html-insert-agenda-days): Include holidays in the output.
1554 (cal-html-one-month): Maybe include holidays.
1555
a43f98b3
GM
1556 * calendar/holidays.el (holiday-in-range):
1557 Move here from cal-tex-list-holidays.
1558 * calendar/cal-tex.el (cal-tex-list-holidays):
1559 Make it an obsolete alias for holiday-in-range. Update all callers.
1560
fef9d149 15612012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1562
1563 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1564 Nextstep.
1565
248da2f4
RW
15662012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1567
1568 * files.el (file-auto-mode-skip): New var.
1569 (set-auto-mode-1): Use it.
1570
f95e9344
SM
15712012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1572
df96ab1e
SM
1573 * repeat.el: Use lexical-binding.
1574 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1575 (repeat-undo-count): Remove.
1576 (repeat):
1577 * progmodes/octave-mod.el (octave-abbrev-start):
1578 * progmodes/f90.el (f90-abbrev-start):
1579 * face-remap.el (text-scale-adjust):
1580 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1581
5342bb06
SM
1582 * emacs-lisp/pcase.el (pcase--let*): New function.
1583 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1584 a bit more.
1585 (pcase--split-pred): Be more clever about ruling out overlap between
1586 a predicate and some constant pattern.
1587 (pcase--q1): Use `null' instead of (eq foo nil).
1588
f95e9344
SM
1589 * subr.el (setq-local, defvar-local): New macros.
1590 (kbd): Redefine as an alias.
1591 (with-selected-window): Leave unrelated frames alone.
1592 (set-temporary-overlay-map): New function.
1593
71873e2b
SM
15942012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1595
1596 * subr.el (user-error): New function.
1597 * window.el (switch-to-buffer):
1598 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1599 (smerge-match-conflict):
1600 * simple.el (previous-matching-history-element)
1601 (next-matching-history-element, goto-history-element, undo-more)
1602 (undo-start):
1603 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1604 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1605 (next-file, tags-loop-scan, list-tags, complete-tag):
1606 * progmodes/compile.el (compilation-loop):
1607 * mouse.el (mouse-minibuffer-check):
1608 * man.el (Man-bgproc-sentinel, Man-goto-page):
1609 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1610 (Info-history-forward, Info-follow-reference, Info-menu)
1611 (Info-extract-menu-item, Info-extract-menu-counting)
1612 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1613 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1614 (Info-next-reference, Info-prev-reference, Info-index)
1615 (Info-index-next, Info-follow-nearest-node)
1616 (Info-copy-current-node-name):
1617 * imenu.el (imenu--make-index-alist)
1618 (imenu-default-create-index-function, imenu-add-to-menubar):
1619 * files.el (basic-save-buffer, recover-file):
1620 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1621 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1622 (checkdoc-message-text, checkdoc-defun):
1623 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1624 * cus-edit.el (customize-changed-options, customize-rogue)
1625 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1626 (custom-variable-mark-to-reset-standard)
1627 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1628 (custom-file):
1629 * completion.el (check-completion-length):
1630 * comint.el (comint-search-arg)
1631 (comint-previous-matching-input-string-position)
1632 (comint-previous-matching-input)
1633 (comint-replace-by-expanded-history-before-point, comint-send-input)
1634 (comint-copy-old-input, comint-backward-matching-input)
1635 (comint-goto-process-mark, comint-set-process-mark):
1636 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1637 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1638
8a61ee22
SM
16392012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1640
66408d1e
SM
1641 * dabbrev.el (dabbrev--ignore-case-p): New function.
1642 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1643 Use it.
1644
8a61ee22
SM
1645 * files.el (automount-dir-prefix): Mark as obsolete.
1646
3c74813a
GM
16472012-05-04 Glenn Morris <rgm@gnu.org>
1648
1649 * patcomp.el, play/bruce.el: Move to obsolete/.
1650
0bfcf5c5
PE
16512012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1652
1653 Fix minor Y10k bugs.
1654 * arc-mode.el (archive-unixdate):
1655 * autoinsert.el (auto-insert-alist):
1656 * calc/calc-forms.el (math-this-year):
1657 * emacs-lisp/copyright.el (copyright-current-year)
1658 (copyright-update-year, copyright):
1659 * tar-mode.el (tar-clip-time-string):
1660 * time.el (display-time-update):
1661 Don't assume years have 4 digits.
1662
78f3273a
CY
16632012-05-04 Chong Yidong <cyd@gnu.org>
1664
1665 * dos-w32.el (file-name-buffer-file-type-alist)
1666 (direct-print-region-use-command-dot-com):
1667 * ffap.el (ffap-menu-regexp):
1668 * find-file.el (ff-special-constructs):
1669 * follow.el (follow-debug):
1670 * forms.el (forms--debug):
1671 * iswitchb.el (iswitchb-all-frames):
1672 * ido.el (ido-all-frames):
1673 * emacs-lisp/timer.el (timer-max-repeats):
1674 * mail/feedmail.el (feedmail-mail-send-hook)
1675 (feedmail-mail-send-hook-queued):
1676 * mail/footnote.el (footnote-signature-separator):
1677 * mail/mailabbrev.el (mail-alias-separator-string)
1678 (mail-abbrev-mode-regexp):
1679 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1680 * progmodes/idlwave.el (idlwave-libinfo-file)
1681 (idlwave-default-completion-case-is-down)
1682 (idlwave-library-routines): Convert defvars to defcustoms.
1683
1684 * mail/rmail.el (rmail-decode-mime-charset):
1685 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1686 (idlwave-shell-fix-inserted-breaks)
1687 (idlwave-shell-activate-alt-keybindings)
1688 (idlwave-shell-use-breakpoint-glyph):
1689 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1690
f7ae6719
SM
16912012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1694
47086495
WS
16952012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1696
1697 * progmodes/verilog-mode.el (font-lock-keywords):
1698 Fix mis-highligting auto. Reported by Craig Barner.
1699 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1700 defines from global name space. Reported by Dan Dever.
1701 (verilog-auto-reset, verilog-auto-reset-widths)
1702 (verilog-auto-tieoff): Support using unbased numbers for
1703 AUTORESET and AUTOTIEOFF.
1704 (verilog-submit-bug-report): Update variable list.
1705 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1706 parenthesis from not matching. Reported by Michael Rytting.
1707 (verilog-auto-template-lint): Fix hash error when linting modules
1708 with no used templates.
1709 (verilog-warn, verilog-warn-error)
1710 (verilog-warn-fatal): When non-interactive report multiple
1711 warnings before exiting. Suggested by Brad Dobbie.
1712 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1713 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1714 to report unused template errors. Reported by Brad Dobbie.
1715 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1716 nets, bug438. Reported by Vns Blore.
1717 (verilog-auto-inout-module, verilog-auto-reg)
1718 (verilog-read-decls, verilog-read-sub-decls-sig)
1719 (verilog-signals-edit-wire-reg, verilog-signals-with):
1720 Fix passing of Verilog data types in ANSI input/output ports
1721 such as "output logic" into the AUTOs. Special case "wire" and
1722 "reg" for backwards compatibility presuming Verilog 2001.
1723 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1724 (verilog-preprocess): Fix replication of preprocess output.
1725 Reported by Brad Dobbie.
1726 (verilog-auto-inst-interfaced-ports):
1727 Create verilog-auto-inst-interfaced-ports, bug429.
1728 Reported by Julian Gorfajn.
1729 (verilog-after-save-font-hook)
1730 (verilog-before-save-font-hook): New variable.
1731 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1732 (verilog-save-font-mods): Wrap disabling fontification, reported
1733 by David Rogoff.
1734 (verilog-do-indent, verilog-pretty-declarations-auto)
1735 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1736 Reported by Pierre-David Pfister.
1737 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1738 of class declarations, bug292. Reported by Kevin Heilman.
1739 (verilog-read-decls): Fix 'parameter type' not appearing in
1740 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1741 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1742 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1743 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1744 Reported by David Kravitz.
1745
17462012-05-03 Michael McNamara <mac@mail.brushroad.com>
1747
1748 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1749 assignment with tests in ifs and for loops.
1750 (verilog-extended-complete-re, verilog-complete-reg): Change so
1751 that DPI inport functions don't look like fuction declarations.
1752 (verilog-pretty-expr): Don't line up assignment
1753 operations to the test and increment in if and for loops
1754 (verilog-extended-complete-re, verilog-complete-reg): Change so
1755 that DPI inport functions don't look like fuction declarations
1756
2e51d4b5
KH
17572012-05-03 Kenichi Handa <handa@m17n.org>
1758
1759 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1760 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1761 (Bug#11282).
1762
2bd785a2
SM
17632012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 * emacs-lisp/bytecomp.el
1766 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1767 since cconv.el might have introduced :fun-body, internal-make-closure,
1768 and friends for bytecomp to handle (bug#11391).
1769 * custom.el (defcustom): Avoid ((λ ..) ..).
1770
99d27583
SM
17712012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1774
55a71479
JB
17752012-05-02 Juanma Barranquero <lekktu@gmail.com>
1776
1777 * notifications.el (dbus-debug):
1778 * term/linux.el (gpm-mouse-enable):
1779 * term/screen.el (xterm-register-default-colors): Declare.
1780
7b97c764
CY
17812012-05-02 Chong Yidong <cyd@gnu.org>
1782
2bc356d7
CY
1783 * cus-start.el (gc-cons-percentage, exec-suffixes)
1784 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1785 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1786 (make-cursor-line-fully-visible, void-text-area-pointer)
1787 (font-list-limit): Add customization data.
1788
7b97c764
CY
1789 * allout.el (allout-exposure-change-functions)
1790 (allout-structure-added-functions)
1791 (allout-structure-deleted-functions)
1792 (allout-structure-shifted-functions): Rename abnormal hooks from
1793 *-hook, and convert to defcustoms.
5d3385a0
JB
1794 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1795 Convert to defcustoms.
7b97c764
CY
1796 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1797
1798 * allout-widgets.el: Hook callers changed.
1799
90207a15 18002012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1801
1802 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1803 the yanked message in preference to the default value of
1804 buffer-file-coding-system.
1805
90207a15 18062012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1807
5d3385a0
JB
1808 * window.el (display-buffer--action-function-custom-type):
1809 Fix entry.
d9558cad 1810
90207a15 18112012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1812
1813 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1814
d80ac57b
GM
18152012-05-01 Glenn Morris <rgm@gnu.org>
1816
976f7668
GM
1817 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1818
beb83b5a
GM
1819 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1820
d80ac57b
GM
1821 * cus-edit.el (custom-variable-documentation): Simplify with format.
1822
b593d6a9
AH
18232012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1824 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * simple.el (suggest-key-bindings, execute-extended-command):
1827 Move from keyboard.c.
1828
782fbf2a
CY
18292012-05-01 Chong Yidong <cyd@gnu.org>
1830
1831 * follow.el: Eliminate advice.
1832 (set-process-filter, process-filter, sit-for): Advice deleted.
1833 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1834 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1835 Vars deleted.
782fbf2a
CY
1836 (follow-auto): Use a :set function.
1837 (follow-mode): Rewritten. Don't advise process filters.
1838 (follow-switch-to-current-buffer-all, follow-scroll-up)
1839 (follow-scroll-down): Assume follow-mode is bound.
1840 (follow-comint-scroll-to-bottom)
1841 (follow-align-compilation-windows): New functions.
1842 (follow--window-sorter): New function.
1843 (follow-all-followers): Use it to explicitly sort windows by their
1844 positions; don't make assumptions about next-window order.
1845 (follow-windows-start-end, follow-delete-other-windows-and-split)
1846 (follow-calc-win-start): Doc fix.
1847 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1848 vertical-motion unnecessarily.
1849 (follow-adjust-window): New function.
1850 (follow-post-command-hook): Use it.
1851 (follow-call-set-process-filter, follow-call-process-filter)
1852 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1853 (follow-stop-intercept-process-output, follow-generic-filter):
1854 Functions deleted.
1855 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1856 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1857 New functions, replacing advice on scroll-bar-* commands.
87233a14 1858 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1859
1860 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1861 (comint-postoutput-scroll-to-bottom): Use it.
1862 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1863
290af740
GM
18642012-05-01 Glenn Morris <rgm@gnu.org>
1865
1866 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1867 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1868 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1869 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1870 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1871 Remove no-byte-compile setting.
1872
6eac8dc9
SM
18732012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1876 all-completions code to not return a number in the last cdr.
1877
9cc7819c
LL
18782012-04-30 Leo Liu <sdl.web@gmail.com>
1879
1880 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1881 read-only error.
1882
c93b886f
CY
18832012-04-29 Chong Yidong <cyd@gnu.org>
1884
1885 * follow.el (follow-calc-win-end): Rewrite to handle partial
1886 screen lines correctly (Bug#8390).
1887 (follow-avoid-tail-recenter): Minor cleanup.
1888
8b6c19f4
SM
18892012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1890
1891 Avoid the obsolete `assoc' package.
1892 * speedbar.el (speedbar-refresh): Avoid adelete.
1893 (speedbar-file-lists): Simplify and avoid aput.
1894 * man.el (Man--sections, Man--refpages): New vars, replacing
1895 Man-sections-alist and Man-refpages-alist.
1896 (Man-build-section-alist, Man-build-references-alist):
1897 Use them; avoid aput.
1898 (Man--last-section, Man--last-refpage): New vars.
1899 (Man-follow-manual-reference): Use them.
1900 Use the `default' arg of completing-read.
1901 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1902
c5bb7569
CY
19032012-04-27 Chong Yidong <cyd@gnu.org>
1904
d1d2e2e8
CY
1905 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1906
15cd8efd
CY
1907 * startup.el (x-apply-session-resources): New function.
1908
1909 * term/ns-win.el (ns-initialize-window-system):
1910 * term/w32-win.el (w32-initialize-window-system):
1911 * term/x-win.el (x-initialize-window-system): Use it to properly
1912 set menu-bar-mode and other vars from X resources, even if the
1913 initial frame is not a window-system frame (Bug#2299).
1914
c5bb7569
CY
1915 * subr.el (read-key): Avoid running filter function when setting
1916 up temporary tool bar entries (Bug#9922).
1917
a8e7d6d7 19182012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1919
1920 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1921 (Bug#11344)
1922
a8e7d6d7 19232012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1924
1925 * select.el (xselect--encode-string): New function, split from
1926 xselect-convert-to-string.
1927 (xselect-convert-to-string): Use it.
1928 (xselect-convert-to-filename, xselect-convert-to-os)
1929 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1930 returned strings are properly encoded (Bug#11315).
1931
a8e7d6d7 19322012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1933
1934 * simple.el (delete-active-region): Move to killing custom group.
1935
a8e7d6d7 19362012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1937
1938 * progmodes/which-func.el (which-func-current): Quote %
1939 characters for mode-line processing.
1940
578c1d4b 19412012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1942
1943 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1944 reaching eob (Bug#11286).
1945
a8e7d6d7 19462012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1947
1948 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1949 (gdb): Make it buffer-local and init to zero.
1950 (gdb-control-commands-regexp): New variable.
1951 (gdb-send): Don't wrap in "-interpreter-exec console" if
1952 gdb-control-level is positive. Increment gdb-control-level
1953 whenever the command matches gdb-control-commands-regexp, and
1954 decrement it each time the command is "end". (Bug#11279)
1955
a8e7d6d7 19562012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1957
1958 * window.el (adjust-window-trailing-edge, enlarge-window)
1959 (shrink-window, window-resize):
1960 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1961 windows (Bug#11276).
1962
b3608390
CY
19632012-04-27 Chong Yidong <cyd@gnu.org>
1964
1965 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1966 fix "missing prefix" warning. All callers changed.
b3608390 1967
797e6e88
SM
19682012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * emacs-lisp/assoc.el: Move to obsolete/.
1971
e95a67dc
SM
19722012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1973
657c21e4 1974 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1975
1976 * term/ns-win.el (ns-define-service):
1977 * progmodes/pascal.el (pascal-goto-defun):
1978 * progmodes/js.el (js--read-tab):
1979 * progmodes/etags.el (tags-lazy-completion-table):
1980 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1981 * emacs-lisp/ewoc.el (ewoc--wrap):
1982 * emacs-lisp/assoc.el (aput, adelete, amake):
1983 * doc-view.el (doc-view-convert-current-doc):
1984 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1985
cb3e7ae0
CY
19862012-04-26 Chong Yidong <cyd@gnu.org>
1987
dce04f7f
CY
1988 * image.el (image-type-from-buffer): Only return supported image
1989 type (Bug#9045).
1990
cb3e7ae0
CY
1991 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1992 value, for symmetry with diff-end-of-hunk.
1993 (diff-split-hunk, diff-find-source-location)
1994 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1995 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1996 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1997 compute the relevant hunk or file properly (Bug#6005).
1998 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1999
0d42eb3e
SM
20002012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * vc/vc-mtn.el:
2003 * vc/vc-hg.el:
2004 * vc/vc-git.el:
2005 * vc/vc-dir.el:
2006 * vc/vc-cvs.el:
2007 * vc/vc-bzr.el:
2008 * vc/vc-arch.el:
2009 * vc/vc.el: Replace lexical-let by lexical-binding.
2010 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2011 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2012 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2013
f08ae1c9
CY
20142012-04-26 Chong Yidong <cyd@gnu.org>
2015
8b71081d
CY
2016 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2017 (diff-mode-shared-map): Bind it to / and [remap undo].
2018
f08ae1c9
CY
2019 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2020 (ediff-window-setup-function): Use it as the default, to set up
2021 windows based on whether the current frame is graphical (Bug#2138).
2022 (ediff-choose-window-setup-function-automatically): Make obsolete.
2023
2024 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2025
ef24141c
SM
20262012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2027
cc356a5d
SM
2028 * ffap.el: Remove old code for obsolete package.
2029 (ffap-complete-as-file-p): Remove.
2030
b4ff4f1f
SM
2031 Use completion-table-with-quoting for comint and pcomplete.
2032 * comint.el (comint--unquote&requote-argument)
2033 (comint--unquote-argument, comint--requote-argument): New functions.
2034 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2035 (comint-quote-filename): Use regexp-opt-charset.
2036 (comint--common-suffix, comint--common-quoted-suffix)
2037 (comint--table-subvert): Remove.
2038 (comint-unquote-function, comint-requote-function): New vars.
2039 (comint--complete-file-name-data): Use them with
2040 completion-table-with-quoting.
2041 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2042 * pcomplete.el (pcomplete-arg-quote-list)
2043 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2044 (pcomplete-unquote-argument-function): Default to non-nil.
2045 (pcomplete-unquote-argument): Simplify.
2046 (pcomplete--common-quoted-suffix): Remove.
2047 (pcomplete-requote-argument-function): New var.
2048 (pcomplete--common-suffix): New function.
2049 (pcomplete-completions-at-point): Use completion-table-with-quoting
2050 and completion-table-subvert.
2051
79c4eeb4
SM
2052 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2053 (minibuffer--double-dollars): Preserve properties.
2054 (completion--sifn-requote): New function.
2055 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2056
ef24141c
SM
2057 * minibuffer.el: Add support for completion of quoted/escaped data.
2058 (completion-table-with-quoting, completion-table-subvert): New funs.
2059 (completion--twq-try, completion--twq-all): New functions.
2060 (completion--nth-completion): New function.
2061 (completion-try-completion, completion-all-completions): Use it.
2062
784e7d6e
LL
20632012-04-25 Leo Liu <sdl.web@gmail.com>
2064
dd2ac746
SM
2065 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2066 Use compilation-message if available to find real filename.
784e7d6e 2067
07875ee7
CY
20682012-04-25 Chong Yidong <cyd@gnu.org>
2069
2070 * vc/diff-mode.el (diff-setup-whitespace): New function.
2071 (diff-mode): Use it.
2072
2073 * vc/diff.el (diff-sentinel):
2074 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2075 Whitespace mode variables based on diff style (Bug#8612).
2076
5055880d
LL
20772012-04-25 Leo Liu <sdl.web@gmail.com>
2078
daf75653
LL
2079 * progmodes/python.el (python-send-region): Add suffix .py to the
2080 temp file.
2081
5055880d
LL
2082 * files.el (auto-mode-alist): Use javascript-mode instead.
2083
db9b177b
AH
20842012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2085
ef24141c 2086 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2087
2088 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2089 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2090 references, see Bug#9.
ef24141c 2091 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2092 when receiving a fault reply.
ef24141c 2093 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2094
2095 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2096 (soap-inspect-simple-type): New function.
db9b177b 2097
ef24141c 2098 * soap-client.el (soap-simple-type): New struct.
db9b177b 2099 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2100 (soap-decode-basic-type, soap-encode-basic-type):
2101 support unsignedInt and double basic types.
db9b177b 2102 (soap-resolve-references-for-simple-type)
ef24141c
SM
2103 (soap-parse-simple-type, soap-encode-simple-type): New function.
2104 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2105
2106 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2107 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2108 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2109 the local name of "soapenc:Array".
2110 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2111 decoding integer, byte and anyURI xsd types.
2112
1fc6097b
CY
21132012-04-25 Chong Yidong <cyd@gnu.org>
2114
2115 * cus-edit.el (custom-buffer-create-internal): Update header text.
2116
afc6df87
EZ
21172012-04-25 Eli Zaretskii <eliz@gnu.org>
2118
2119 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2120 settings on 'system-type', not on 'window-system'. On MS-Windows,
2121 set interactive-mode on in GDB.
2122
dfbd787f
SM
21232012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2126 (ruby-syntax-propertize-regexp): Remove.
2127 (ruby-syntax-propertize-function): Split regexp into chunks.
2128 Match following code directly.
2129
85222d44
DG
21302012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2131
51a8ea2a
DG
2132 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2133 (ruby-syntax-propertize-regexp): New function.
2134 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2135 by a special keyword.
2136
85222d44
DG
2137 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2138 (ruby-syntax-general-delimiters-goto-beg)
2139 (ruby-syntax-propertize-general-delimiters): New functions.
2140 (ruby-syntax-propertize-function): Use them to handle GDL.
2141 (ruby-font-lock-keywords): Move old handling of GDL...
2142 (ruby-font-lock-syntactic-keywords): .. to here.
2143 (ruby-calculate-indent): Adjust indentation for GDL.
2144
b613912b
MA
21452012-04-24 Michael Albinus <michael.albinus@gmx.de>
2146
b5380639
MA
2147 * notifications.el (top): Remove unneeded declarations.
2148 (notifications-specification-version): Change to "1.2".
e43042fe 2149 (notifications-interface, notifications-notify-method)
b613912b
MA
2150 (notifications-close-notification-method): Fix docstring.
2151 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2152 (notifications-notify): Add :action-items, :resident and
2153 :transient hints. Change "image_data" to "image-data" and
2154 "image_path" to "image-path".
b613912b
MA
2155 (notifications-get-capabilities): New defun.
2156
257440aa
LL
21572012-04-24 Leo Liu <sdl.web@gmail.com>
2158
2159 * progmodes/python.el: Move hideshow setup to the end.
2160
b1bac16e
MR
21612012-04-24 Martin Rudalics <rudalics@gmx.at>
2162
2163 * window.el (handle-select-window): Clear echo area since this is
2164 no more done by read_char (Bug#11304).
2165
d81bd059
SM
21662012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2169 and `/ M' to filter-derived-mode.
2170 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2171 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2172 (ibuffer-mark-by-mode): Use default rather than initial-input.
2173 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2174
c4cf6d91
IA
21752012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2176
2177 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2178 (ibuffer-filter-by-derived-mode): New filter.
2179 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2180
7511ded8
CY
21812012-04-23 Andreas Politz <politza@fh-trier.de>
2182
2183 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2184
775c916b
CY
21852012-04-23 Chong Yidong <cyd@gnu.org>
2186
2187 * cus-edit.el (customize-apropos, customize-apropos-options):
2188 Disable matching of non-option variables (Bug#11176).
2189 (customize-option, customize-option-other-window)
2190 (customize-changed-options): Doc fix.
2191 (customize-apropos-options, customize-apropos-faces)
2192 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2193
2194 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2195 Fix word list splitting (Bug#11132).
46c71e23
CY
2196 (apropos-symbol, apropos-keybinding, apropos-label)
2197 (apropos-property, apropos-function-button)
2198 (apropos-variable-button, apropos-misc-button): New faces.
2199 (apropos-symbol-face, apropos-keybinding-face)
2200 (apropos-label-face, apropos-property-face, apropos-match-face):
2201 Variables removed (Bug#8396).
2202 (apropos-library-button, apropos-format-plist, apropos-print)
2203 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2204
2df41f9c
MA
22052012-04-23 Michael Albinus <michael.albinus@gmx.de>
2206
2207 * net/xesam.el (xesam-mode-map): Use let-bound map in
2208 initialization. (Bug#11292)
2209
da00640a
AM
22102012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2211
2212 Preserve ispell session localwords when switching back to
2213 original buffer.
2214
2215 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2216 variable to hold buffer session localwords.
2217 (ispell-kill-ispell): add option 'clear to delete session
2218 localwords.
2219 (ispell-command-loop, ispell-change-dictionary)
2220 (ispell-buffer-local-words): Preserve session localwords when
2221 needed.
2222
2223 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2224 Preserve session localwords when needed.
2225
f621ccf5
AM
22262012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2227
2228 * ispell.el (ispell-insert-word) Remove unneeded function using
2229 obsolete `translation-table-for-input'.
ef24141c
SM
2230 (ispell-word, ispell-process-line, ispell-complete-word):
2231 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2232
c2d1019e
CY
22332012-04-22 Chong Yidong <cyd@gnu.org>
2234
2235 * cus-edit.el (custom-variable-menu)
2236 (custom-variable-reset-saved, custom-face-menu)
2237 (custom-face-reset-saved): If there is no saved value, make the
2238 "reset-saved" operation bring back the default (Bug#9509).
2239 (custom-face-state): Properly detect themed faces.
2240
eeddc531
CY
2241 * faces.el (face-spec-set): Stop supporting deprecated form of
2242 third arg.
2243
dcbf5805
MA
22442012-04-22 Michael Albinus <michael.albinus@gmx.de>
2245
2246 Move functions from C to Lisp. Make non-blocking method calls
2247 the default. Implement further D-Bus standard interfaces.
2248
ef24141c
SM
2249 * net/dbus.el (dbus-message-internal): Declare function.
2250 Remove unneeded function declarations.
dcbf5805
MA
2251 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2252 (dbus-message-type-method-return, dbus-message-type-error)
2253 (dbus-message-type-signal): Declare variables. Remove local
2254 definitions.
2255 (dbus-interface-dbus, dbus-interface-peer)
2256 (dbus-interface-introspectable, dbus-interface-properties)
2257 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2258 Adapt docstring.
2259 (dbus-interface-objectmanager): New defconst.
2260 (dbus-call-method, dbus-call-method-asynchronously)
2261 (dbus-send-signal, dbus-method-return-internal)
2262 (dbus-method-error-internal, dbus-register-service)
2263 (dbus-register-signal, dbus-register-method): New defuns, moved
2264 from dbusbind.c
2265 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2266 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2267 New defuns.
dcbf5805
MA
2268 (dbus-call-method-non-blocking): Make it an obsolete function.
2269 (dbus-unregister-object, dbus-unregister-service)
2270 (dbus-handle-event, dbus-register-property)
2271 (dbus-property-handler): Obey the new structure of
2272 `bus-registered-objects'.
2273 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2274 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2275 Use `dbus-call-method'.
2276
cf20dee0
CY
22772012-04-22 Chong Yidong <cyd@gnu.org>
2278
2279 * cus-edit.el (custom-commands, custom-reset-menu)
2280 (Custom-reset-standard): Tweak labels.
2281 (custom-reset-button-menu): Change default to t.
2282 (custom-buffer-create-internal): For the custom-reset-button-menu
2283 case, put the revert button first.
2284 (custom-group-subtitle): New face.
2285 (custom-group-value-create): Align docstring to a specific column.
2286
2287 * wid-edit.el (widget-documentation-link-add): Don't handle
2288 indentation in this function.
2289 (widget-documentation-string-indent-to): New function.
2290 (widget-documentation-string-value-create): Use it.
2291
2292 * autorevert.el (auto-revert):
2293 * epg-config.el (epg):
2294 * ibuffer.el (ibuffer):
2295 * mpc.el (mpc):
2296 * ses.el (ses):
2297 * eshell/eshell.el (eshell):
2298 * net/ange-ftp.el (ange-ftp):
2299 * progmodes/ebnf2ps.el (postscript):
2300 * progmodes/flymake.el (flymake):
2301 * progmodes/prolog.el (prolog):
2302 * progmodes/verilog-mode.el (verilog-mode):
2303 * progmodes/which-func.el (which-func):
2304 * term/xterm.el (xterm):
2305 * textmodes/picture.el (picture):
2306 * textmodes/tildify.el (tildify):
2307 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2308 customization buffers.
2309
583e23bd
AM
23102012-04-22 Alan Mackenzie <acm@muc.de>
2311
2312 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2313 Adding a ) can hide the resulting (..) from searches. Fix it.
2314 Bound the backward search to the position of the existing (.
2315
7dd51bf1
JB
23162012-04-21 Juanma Barranquero <lekktu@gmail.com>
2317
2318 * progmodes/verilog-mode.el (verilog-mode): Check whether
2319 which-func-modes is t before adding verilog-mode.
2320 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2321
d64a438f
LL
23222012-04-21 Leo Liu <sdl.web@gmail.com>
2323
7dd51bf1 2324 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2325
081e8d65
MV
23262012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2327
2328 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2329 filling of the last column of a table (Bug#5635).
2330 (woman-find-next-control-line): New arg, specifying an additional
2331 regexp component for the control line.
2332 (woman2-roff-buffer): Use it.
2333 (woman-break-table): New function.
2334 (woman2-TS): Use it.
2335
23362012-04-21 Chong Yidong <cyd@gnu.org>
2337
2338 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2339 (woman-horizontal-escapes, woman-negative-vertical-space)
2340 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2341 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2342
ed571ccb
SM
23432012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * minibuffer.el (completion-file-name-table): Complete user names.
2346
39773899
LL
23472012-04-20 Leo Liu <sdl.web@gmail.com>
2348
2349 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2350 and pcase-let*.
2351
de6ff46d
CY
23522012-04-20 Chong Yidong <cyd@gnu.org>
2353
2354 * server.el (server-execute): Respect initial-buffer-choice if it
2355 is a string and there are no files to open (Bug#2825).
2356 (server-create-window-system-frame, server-create-tty-frame):
2357 Don't switch buffers here.
2d0e8e61
CY
2358 (server-process-filter): Only try to open a window system frame if
2359 compiled with graphical support (Bug#8314).
de6ff46d 2360
54071013
DN
23612012-04-20 Dan Nicolaescu <dann@gnu.org>
2362
2363 * battery.el (battery-echo-area-format): Display remaining time
2364 for sysfs backend too (Bug#11269).
2365 (battery-linux-sysfs): Fix conditional for the charge.
2366
f30d612a
CY
23672012-04-20 Chong Yidong <cyd@gnu.org>
2368
c07a4c0b 2369 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2370 (gdb-inferior-io--init-proc): New function.
2371 (gdb-init-1): Use it.
2372 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2373 responsible for allocating a new pty and hooking it to gdb when
2374 the old pty gets an EIO due to process exit.
2375 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2376 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2377 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2378
2116e93c
EZ
23792012-04-20 Eli Zaretskii <eliz@gnu.org>
2380
2381 * window.el (window-min-size, window-sizable, window-min-delta)
2382 (window-max-delta, window--resizable, window-resizable)
2383 (window-total-size, window-full-height-p, window-full-width-p)
2384 (window-in-direction, window--resize-mini-window, window-resize)
2385 (window--resize-child-windows-normal)
2386 (window--resize-child-windows, window--resize-siblings)
2387 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2388 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2389
c07a4c0b 23902012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2391
ef24141c
SM
2392 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2393 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2394 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2395 pty process (Bug#11273).
2396 (gdb-update): New arg to suppress talking to the gdb process.
2397 (gdb-done-or-error): Use it.
2398 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2399 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2400 sentinel not being called.
2401
2402 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2403
d02766ab
CY
2404 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2405
c07a4c0b 24062012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2407
2408 * net/network-stream.el (open-network-stream): Doc fix.
2409
c07a4c0b 24102012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2411
2412 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2413
c07a4c0b 24142012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2415
2416 Ensure searching for keywords is case sensitive.
2417
2418 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2419 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2420 (c-defun-name, c-mark-function, c-cpp-define-name)
2421 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2422 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2423
ef24141c
SM
2424 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2425 Bind case-fold-search to nil.
f0f6bc35 2426
c07a4c0b 24272012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2428
2429 * mail/sendmail.el (mail-bury): Call return action with the right
2430 Rmail buffer (Bug#11242).
2431
9a864fa2
CY
2432 * server.el (server-process-filter): Handle corner case where both
2433 tty and nowait options are present (Bug#11102).
2434
539aa513
EZ
24352012-04-20 Eli Zaretskii <eliz@gnu.org>
2436
2437 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2438 (top level): Put into the executable the ident-style '$Id:' tag on
2439 windows-nt as well.
539aa513 2440
cfc7d5da
SM
24412012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * electric.el (electric-indent-post-self-insert-function): Check that
2444 electric-indent-mode is enabled in current buffer.
2445
5b01685c
JB
24462012-04-19 Juanma Barranquero <lekktu@gmail.com>
2447
2448 * imenu.el (imenu-progress-message): Restore; it is "used" in
2449 erc/erc-imenu.el and net/snmp-mode.el.
2450
4d6769e1
JB
24512012-04-19 Juanma Barranquero <lekktu@gmail.com>
2452
2453 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2454 (mouse-avoidance-nudge-mouse): Remove unused binding.
2455
2456 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2457
2458 * descr-text.el (describe-char):
2459 * progmodes/python.el (python-describe-symbol):
2460 Don't call `toggle-read-only', set `buffer-read-only'.
2461
2462 * imenu.el (imenu-default-goto-function): Mark unused args.
2463 (imenu-progress-message): Remove obsolete macro; all callers changed.
2464
2465 * subr.el (keymap-canonicalize): Remove unused binding.
2466 (read-passwd): Mark unused arg.
2467
2468 * tutorial.el (tutorial--display-changes): Remove unused binding.
2469 (tutorial--save-tutorial-to): Remove unused variable.
2470
2471 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2472 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2473 (package-generate-autoloads, package-menu--generate)
2474 (package-menu--find-upgrades): Remove unused bindings.
2475
2476 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2477 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2478 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2479 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2480 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2481 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2482 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2483 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2484 (cua-delete-char-rectangle): Mark unused args.
2485 (cua-align-rectangle): Remove unused binding.
2486
2487 * mail/rmail.el (compilation--message->loc)
2488 (epa--find-coding-system-for-mime-charset): Declare.
2489
2490 * net/dbus.el (dbus-register-service): Declare.
2491 (dbus-name-owner-changed-handler): Remove unused binding.
2492
2493 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2494 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2495 (nxml-scan-backward-within): Mark unused arg.
2496 (nxml-dynamic-markup-word): Remove unused binding.
2497
2498 * mouse.el (mouse-menu-major-mode-map):
2499 * emacs-lisp/authors.el (authors-scan-change-log)
2500 (authors-add-to-author-list):
2501 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2502 * emacs-lisp/smie.el (smie-auto-fill):
2503 * mail/sendmail.el (mail-bury):
2504 * mail/unrmail.el (unrmail):
2505 * net/tls.el (open-tls-stream):
2506 * textmodes/picture.el (picture-mouse-set-point):
2507 Remove unused bindings.
2508
8c8fc5df
MA
25092012-04-19 Michael Albinus <michael.albinus@gmx.de>
2510
2511 * net/tramp.el (tramp-action-password): Let-bind
2512 `enable-recursive-minibuffers' to t.
2513
a77b0ac9
SS
25142012-04-18 Sam Steingold <sds@gnu.org>
2515
2516 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2517 instead of 'string to accommodate values like [f11].
2518 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2519 * progmodes/gdb-mi.el: Likewise.
2520
12a106a9
LL
25212012-04-18 Leo Liu <sdl.web@gmail.com>
2522
2523 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2524 current buffer.
2525 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2526 LOCAL is nil.
2527
bc6494ef
CY
25282012-04-18 Chong Yidong <cyd@gnu.org>
2529
2530 * simple.el (line-move): Use forward-line if in batch mode
2531 (Bug#11053).
2532
c09c46b2
CS
25332012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2534
2535 * files.el (after-find-file): Do not try to add a final newline if
2536 the buffer is read-only (Bug#11156).
2537
5f6530ea
RS
25382012-04-17 Richard Stallman <rms@gnu.org>
2539
2540 * mail/rmail.el (rmail-start-mail):
2541 Pass (rmail-mail-return...) for the return-action.
2542 Pass (rmail-yank-current-message...) for the yank-action.
2543 (rmail-yank-current-message): New function.
2544 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2545 (rmail-reply): Likewise.
2546 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2547
2548 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2549 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2550 buffer, not newbuf.
2551
197b6f3c
JB
25522012-04-17 Juanma Barranquero <lekktu@gmail.com>
2553
2554 * server.el (server-ensure-safe-dir): Simplify.
2555
2311d8e5 25562012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2557
2311d8e5
GM
2558 * emacs-lisp/smie.el: Provide smarter auto-filling.
2559 (smie-auto-fill): New function.
2560 (smie-setup): Use it.
98fb480e 2561
2311d8e5
GM
2562 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2563
25642012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2565
2566 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2567 (comment-indent): Use it.
2568
2311d8e5 25692012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2570
2571 * ses.el: The overall change is to add cell renaming, that is
2572 setting fancy names for cell symbols other than name matching
2573 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2574 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2575 (ses-create-cell-variable): New defun.
2311d8e5 2576 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2577 (ses-relocate-formula): Relocate formulas only for cells the
2578 symbols of which are not renamed, i.e. symbols whose names do not
2579 match regexp "\\`[A-Z]+[0-9]+\\'".
2580 (ses-relocate-all): Relocate values only for cells the symbols of
2581 which are not renamed.
2582 (ses-load): Create cells variables as the (ses-cell ...) are read,
2583 in order to check row col consistency with cell symbol name only
2584 for cells that are not renamed.
2585 (ses-replace-name-in-formula): New defun.
2586 (ses-rename-cell): New defun.
4bdf2ad2 2587
fc72b15c
PO
25882012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2589
2590 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2591 New option (bug#11118).
2592 (perl-calculate-indent): Respect it.
2593
12e10e61
GM
25942012-04-17 Glenn Morris <rgm@gnu.org>
2595
2596 * dired-aux.el (dired-mark-read-string): Doc fix.
2597
30009afd
DA
25982012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2599
2600 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2601 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2602
41f03f4d
GM
26032012-04-17 Glenn Morris <rgm@gnu.org>
2604
2605 * mouse.el (mouse-drag-track):
2606 * speedbar.el (speedbar-frame-mode):
2607 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2608
f45f90f3
LL
26092012-04-16 Leo Liu <sdl.web@gmail.com>
2610
2611 * progmodes/python.el: Trivial cleanup.
2612
94ee8db5
GM
26132012-04-16 Glenn Morris <rgm@gnu.org>
2614
121b8917
GM
2615 * vc/vc.el (vc-string-prefix-p):
2616 * vc/pcvs-util.el (cvs-string-prefix-p):
2617 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2618 * mpc.el (mpc-string-prefix-p):
2619 Make all of these into obsolete aliases for string-prefix-p.
2620 Update callers.
2621 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2622
1197ecfa
GM
2623 * textmodes/two-column.el: Move custom options to the start.
2624 (frame-width): Remove compat definition.
2625 (2C-associate-buffer, 2C-dissociate):
2626 Use with-current-buffer rather than save-excursion.
2627 (2C-dissociate): Force a mode-line update.
2628 (2C-autoscroll): Use ignore-errors.
2629
099e7202
GM
2630 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2631 Autoload trivia.
2632
bf350d6a
GM
2633 * emacs-lisp/cl-extra.el (*random-state*):
2634 Remove unnecessary declaration.
2635
0e829eab
GM
2636 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2637
e3ad7552
GM
2638 * play/cookie1.el (cookie-snarf):
2639 Give an explicit error if input file cannot be read.
2640
68892d27
GM
2641 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2642
20f0c46d
GM
2643 * progmodes/perl-mode.el (c-macro-expand):
2644 Remove unnecessary autoload (it is in loaddefs.el).
2645
5a0978ce
GM
2646 * textmodes/picture.el (picture-desired-column)
2647 (picture-update-desired-column): Convert comments to doc-strings.
2648 (picture-substitute): Remove function.
2649 (picture-mode-map): Initialize in the defvar.
2650
6b955486
GM
2651 * woman.el: Remove eval-after-load for tar-mode.
2652 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2653 (woman-tar-extract-file): Autoload it.
2654
94ee8db5
GM
2655 * frame.el (automatic-hscrolling): Make this alias obsolete.
2656
177eca34
AM
26572012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2658
2659 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2660 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2661 (ispell-dictionary-base-alist): Revert to original XEmacs
2662 friendly version for default. [:alpha:] will be added in
2663 `ispell-set-spellchecker-params' if needed
177eca34 2664
c505aaeb
CY
26652012-04-16 Chong Yidong <cyd@gnu.org>
2666
2667 * image.el (imagemagick--extension-regexp): New variable.
2668 (imagemagick-register-types): Use it.
2669 (imagemagick-types-inhibit): Add :set function. Allow new value
2670 of t to inhibit all types.
2671
2672 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2673 so we can preload it.
2674
2675 * loadup.el (fboundp): Preload regexp-opt, needed by
2676 imagemagick-register-types.
2677
60efac0f
CY
26782012-04-15 Chong Yidong <cyd@gnu.org>
2679
2680 * frame.el (scrolling): Remove nearly unused customization group.
2681
2682 * scroll-all.el (scroll-all-mode): Move to windows group.
2683
5dd1713e
CY
26842012-04-15 Chong Yidong <cyd@gnu.org>
2685
2686 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2687
e6fd457e
CY
26882012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2691 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2692
e153c136
GM
26932012-04-15 Glenn Morris <rgm@gnu.org>
2694
2695 * simple.el (process-file-side-effects): Doc fix.
2696
e6fd457e 26972012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2698
2699 * international/mule-cmds.el (set-language-environment): Doc fix.
2700
3603c3b1
JB
27012012-04-14 Juanma Barranquero <lekktu@gmail.com>
2702
2703 * server.el (server-auth-key, server-generate-key): Doc fixes.
2704 (server-get-auth-key): Doc fix. Use `string-match-p'.
2705 (server-start): Reflow docstring.
2706
e6de100c
LI
27072012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2708
2709 * server.el (server-generate-key): `called-interactively-p'
2710 requires a parameter.
2711
29734c21
MN
27122012-04-14 Michal Nazarewicz <mina86@mina86.com>
2713
2714 * server.el (server-auth-key): New variable.
75f1671a 2715 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2716 (server-start): Use the new variable and functions to allow
2717 setting a permanent server key (bug#9423).
2718
d65c9521
LL
27192012-04-14 Leo Liu <sdl.web@gmail.com>
2720
2721 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2722
5ae255c7
PE
27232012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2724
2725 Spelling fixes.
2726 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2727 Emacs uses American spelling.
2728
d5e6342e
JB
27292012-04-14 Juanma Barranquero <lekktu@gmail.com>
2730
2731 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2732 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2733 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2734 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2735
ab036cd7
SM
27362012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * progmodes/which-func.el (which-func-modes): Change default.
2739
35dc09a1 27402012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2741
2742 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2743 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2744
35dc09a1 27452012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2746
2747 * custom.el (custom-theme-set-variables): Doc fix.
2748
35dc09a1 27492012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2750
2751 * international/mule.el (set-auto-coding-for-load): Doc fix.
2752
35dc09a1 27532012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2754
35dc09a1
GM
2755 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2756 imenu work again for Objective C Mode. Correct the *-index values,
2757 these having been disturbed by a previous change in 2011-08.
57f845ee 2758
0de3da9f
AM
2759 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2760 Correct two search limits.
2761
35dc09a1 27622012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2763
2764 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2765
35dc09a1 27662012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2767
2768 * international/characters.el: Fix sorting.
2769
35dc09a1 27702012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2771
2772 * international/characters.el: Add more missing Latin case pairs.
2773
35dc09a1 27742012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2775
2776 * files.el (dir-locals-set-class-variables): Doc fix.
2777
35dc09a1 27782012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2779
3f1b5bf8
EZ
2780 * international/characters.el: Add set-case-syntax-pair call for
2781 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2782 counterpart. (Bug#11209)
2783
9f847f41
EZ
2784 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2785
35dc09a1 27862012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2787
2788 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2789
35dc09a1 27902012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2791
35dc09a1
GM
2792 * textmodes/ispell.el (ispell-dictionary-base-alist):
2793 Add data for Hebrew.
e2627d21 2794
35dc09a1 27952012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2796
35dc09a1
GM
2797 * net/rcirc.el (rcirc-cmd-quit):
2798 Revert 2012-03-18 change (Bug#11192).
5c14e333 2799
35dc09a1 28002012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2801
2802 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2803
35dc09a1 28042012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2805
4517fe3a
SM
2806 * minibuffer.el (completion-in-region-mode-map):
2807 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2808
b472a594
VD
28092012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2810
2811 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2812
09b95ce3
MY
28132012-04-13 Masatake YAMATO <yamato@redhat.com>
2814
2815 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2816 to allow `C-M-f' and `C-M-b' to move to the nearest path
2817 separator (bug#9511).
2818
4b63a9ca
LI
28192012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2820
2821 * avoid.el: Require cl when compiling. And also move the
2822 `provide' to the end.
2823
7b55b8bf
TV
28242012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2825
2826 * avoid.el (mouse-avoidance-banish-position): New variable.
2827 (mouse-avoidance-banish-destination): Use it (bug#10165).
2828
adedaa1f
LL
28292012-04-13 Leo Liu <sdl.web@gmail.com>
2830
2831 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2832
70e74021
KB
28332012-04-13 Ken Brown <kbrown@cornell.edu>
2834
2835 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2836 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2837 (browse-url-filename-alist): For the same reason, don't modify
2838 file:// URLs on Cygwin.
2839
e75e89ba
SM
28402012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2843 the region on shift if the binding is already shifted (bug#11221).
2844
82f289a4
GM
28452012-04-12 Glenn Morris <rgm@gnu.org>
2846
2847 * mail/mailpost.el: Move to obsolete/.
2848
d333dc4c
DA
28492012-04-12 Drew Adams <drew.adams@oracle.com>
2850
2851 * imenu.el (imenu--generic-function): Ignore invisible definitions
2852 (bug#10123).
2853
0d15b5ba
VD
28542012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2855
2856 * hexl.el (hexl-bits): New variable.
2857 (hexl-options): Mention the variable in the doc string.
75f1671a 2858 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2859 (hexl-mode): Mention the new variable.
75f1671a
JB
2860 (hexl-mode, hexl-current-address, hexl-current-address):
2861 Use the displen.
0d15b5ba
VD
2862 (hexl-ascii-start-column): New function.
2863 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2864 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2865
64a440db
AM
28662012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2867
2868 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2869 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2870 the encoding, as expected by hunspell.
2871
6decb6c2
SM
28722012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * battery.el (battery--linux-sysfs-regexp): New const.
2875 (battery-status-function): Use it. Remove yeeloong special case.
2876 (battery-yeeloong-sysfs): Remove.
2877 (battery-echo-area-format): Remove yeeloong special case.
2878
088be6fb
SM
28792012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2880
6622e416
SM
2881 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2882 Reported by Noah Friedman.
2883
088be6fb
SM
2884 * subr.el (read-passwd): Use read-string.
2885
b49f886e
LMI
28862012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2887
2888 * vcursor.el (vcursor-move): Increase the priority of the overlay
2889 (bug#9663).
2890
a63067fc
DD
28912012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2892
2893 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2894 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2895
ac3cf14a
WS
28962012-04-11 William Stevenson <yhvh2000@gmail.com>
2897
2898 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2899 define-minor-mode (bug#10760).
2900
c4fc691b 29012012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2902
4d6769e1 2903 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2904 that directories matching `grep-find-ignored-files' won't be
2905 pruned (bug#10351).
2906
af23e2e5
CY
29072012-04-11 Chong Yidong <cyd@gnu.org>
2908
2909 * startup.el (command-line): Remove support for long-obsolete
2910 variable font-lock-face-attributes.
2911
ab7ce8c1
GM
29122012-04-11 Glenn Morris <rgm@gnu.org>
2913
2914 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2915
de8c03dc
SM
29162012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2917
2918 * window.el (window--state-get-1): Obey window-point-insertion-type.
2919
050cc68b
LB
29202012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2921
2922 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2923 to previous function when point is on the first character of a
75f1671a 2924 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2925
a38c310c
GM
29262012-04-11 Glenn Morris <rgm@gnu.org>
2927
effed0c2
GM
2928 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2929 not just file-errors.
2930
a38c310c
GM
2931 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2932 (vc-bzr-sha1): Use internal sha1.
2933
0221e323
SM
29342012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2937
43956923
SG
29382012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2939
2940 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2941 that start in the middle of the line (bug#10496).
2942
6a8c9eaf
DN
29432012-04-10 Dan Nicolaescu <dann@gnu.org>
2944
2945 * battery.el (battery-linux-proc-acpi): Only one battery is
2946 discharged at a time, but that seems to confuse battery.el when
2947 computing `rate-type' for the battery not being discharged
2948 (bug#10332).
2949
1930bf5d
SM
29502012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2a718f6f
SM
2952 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2953
599430d0
SM
2954 * international/quail.el: Use dolist and simplify.
2955 (quail-define-package, quail-update-keyboard-layout)
2956 (quail-define-rules): Use dolist.
2957 (quail-insert-kbd-layout, quail-get-translation): CSE.
2958
a2754b6c
SM
2959 * tmm.el: Use dolist, remove left over hook.
2960 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2961 Use dolist.
2962 (calendar-load-hook): Don't mess with it.
2963
1930bf5d
SM
2964 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2965 Use derived-mode-p. Run the diff asynchronously.
2966
9f67961c
LMI
29672012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2968
2969 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2970
2a8ce227
JB
29712012-04-10 Juanma Barranquero <lekktu@gmail.com>
2972
2973 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2974 (list-dynamic-libraries--loaded): New function.
2975 (list-dynamic-libraries--refresh): Use it.
2976
8f33b5f8
NW
29772012-04-10 Nathan Weizenbaum <nweiz@google.com>
2978
1930bf5d
SM
2979 * progmodes/python.el (python-fill-paragraph):
2980 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2981 disabled (bug#7018).
2982
b12f0439
L
29832012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2984
1930bf5d 2985 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2986 DOS/MS Windows for the Baltic languages. There are still plenty
2987 of texts written in this encoding/codepage (bug#6519).
b12f0439 2988
57c3bd01
GM
29892012-04-10 Glenn Morris <rgm@gnu.org>
2990
2991 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2992 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2993
6c3eab30
FA
29942012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2995
1930bf5d 2996 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2997 next-line "n" and previous-line "p" in order to make recentf more
2998 consistent with ibuffer, dired or org-mode (bug#9387).
2999
24d78a88
LMI
30002012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3001
bc72b5d9
LMI
3002 * image.el (put-image): Return the overlay created instead of the
3003 optional input string (bug#7834). Note that this may break code
3004 that is (for some reason or other) depending on `put-image'
3005 returning the string.
3006
bd2dba5a
LMI
3007 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3008
74beb59f
LMI
3009 * simple.el (zap-to-char): Allow zapping using input methods
3010 (bug#1580).
3011
24d78a88
LMI
3012 * textmodes/fill.el (fill-region): Leave point and mark where they
3013 were before filling (bug#5399).
3014
263f20cd
GM
30152012-04-09 Glenn Morris <rgm@gnu.org>
3016
3017 * version.el (emacs-bzr-get-version):
3018 Handle lightweight checkouts of local branches.
3019
58d1f797
AS
30202012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3021
263f20cd 3022 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3023
b4d3bc10
CY
30242012-04-09 Chong Yidong <cyd@gnu.org>
3025
3026 * custom.el (custom-variable-p): Return nil for non-symbol
3027 arguments instead of signaling an error.
3028 (user-variable-p): Obsolete alias for custom-variable-p.
3029
3030 * apropos.el (apropos-variable):
3031 * files-x.el (read-file-local-variable):
3032 * simple.el (set-variable):
3033 * woman.el (woman-mini-help):
3034 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3035
fd06db5d
GM
30362012-04-09 Glenn Morris <rgm@gnu.org>
3037
e5fcdb5e
GM
3038 * startup.el (normal-top-level): Don't look for leim-list.el
3039 in places where it will not be found. (Bug#910)
3040
fd06db5d
GM
3041 * international/mule-cmds.el (set-default-coding-systems):
3042 * files.el (normal-mode):
3043 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3044 This function was removed with ucs-tables.el in 2008.
3045
b39bb7e1
EZ
30462012-04-08 Eli Zaretskii <eliz@gnu.org>
3047
3048 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3049 ispell-encoding8-command to "-i", without a trailing space.
3050 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3051 separate command-line arguments, to specify the encoding, since
3052 that's how hunspell expects it.
3053
5c5b8e23
GM
30542012-04-08 Glenn Morris <rgm@gnu.org>
3055
3056 * loadup.el: Load bindings before cus-start.
3057 This reduces somewhat the number of "rogue" settings in emacs -Q.
3058
a1ed8b05
GM
30592012-04-07 Glenn Morris <rgm@gnu.org>
3060
3061 * version.el (emacs-bzr-get-version): New function.
dfae128a 3062 (emacs-bzr-version): New variable.
a1ed8b05
GM
3063 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3064 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3065
b142f158
EZ
30662012-04-07 Eli Zaretskii <eliz@gnu.org>
3067
dfae128a
GM
3068 * international/uni-bidi.el, international/uni-category.el:
3069 * international/uni-combining.el, international/uni-decimal.el:
3070 * international/uni-decomposition.el, international/uni-digit.el:
3071 * international/uni-lowercase.el, international/uni-mirrored.el:
3072 * international/uni-name.el, international/uni-numeric.el:
3073 * international/uni-titlecase.el, international/uni-uppercase.el:
3074 Update for Unicode 6.1.
b142f158 3075
9078ead6
EZ
30762012-04-07 Eli Zaretskii <eliz@gnu.org>
3077
3078 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3079
f23d2c7d
LMI
30802012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3081
3082 * window.el (shrink-window): Mention the `window-min-height'
3083 variable in the doc string.
3084
0a0a3573
BG
30852012-04-05 Bastien Guerry <bzg@altern.org>
3086
3087 * color.el (color-lighten-name): Fix typo.
3088
e5248ac9
SM
30892012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * server.el (server--on-display-p): New function.
3092 (server--on-display-p): Use it.
3093
b4243e22
GV
30942012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3095
3096 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3097 (bug#11145).
3098
305d9f44
SM
30992012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * comint.el (comint--common-quoted-suffix): Check string boundary
3102 before comparing (bug#11158).
3103 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3104
3d439cd1
CY
31052012-04-04 Chong Yidong <cyd@gnu.org>
3106
321cc491
CY
3107 * minibuffer.el (completion-extra-properties): Doc fix.
3108
3d439cd1
CY
3109 * subr.el (delayed-warnings-hook): Doc fix.
3110
2d562c0f
DU
31112012-04-04 Daiki Ueno <ueno@unixuser.org>
3112
3113 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3114 selection (Bug#11159).
3115 (epa-insert-keys): Inform that the default public key will be
3116 exported if no key is selected.
3117
4443f204
RS
31182012-04-04 Richard Stallman <rms@gnu.org>
3119
3120 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3121
529c06b6
CY
31222012-04-03 Chong Yidong <cyd@gnu.org>
3123
3124 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3125 mail-insert-file, not its obsolete alias mail-attach-file.
3126
66b907dc
MA
31272012-04-03 Michael Albinus <michael.albinus@gmx.de>
3128
3129 * notifications.el (notifications-notify): Fix docstring.
3130
c0ea195d
GM
31312012-04-02 Glenn Morris <rgm@gnu.org>
3132
3133 * emacs-lisp/authors.el (authors-aliases): Another addition.
3134
5ca64e00
MA
31352012-04-02 Michael Albinus <michael.albinus@gmx.de>
3136
3137 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3138 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3139 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3140
42ee526b
CY
31412012-04-01 Chong Yidong <cyd@gnu.org>
3142
3143 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3144 Handle root directory properly.
3145 (copy-directory): Caller changed.
3146
3147 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3148 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3149
0b021094
GM
31502012-03-31 Glenn Morris <rgm@gnu.org>
3151
40f86458
GM
3152 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3153
7019c177
GM
3154 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3155
a1daddd6
GM
3156 * calendar/calendar.el (calendar-window-list)
3157 (calendar-hide-window): Restore. (Bug#11140)
3158 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3159
0b021094
GM
3160 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3161
40311efc
TV
31622012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3163
3164 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3165 Check if file is a symlink (Bug#10489).
3166
3167 * files.el (copy-directory): Likewise.
3168
5319014e
CY
31692012-03-30 Chong Yidong <cyd@gnu.org>
3170
3171 * image.el (imagemagick-types-inhibit)
3172 (imagemagick-register-types): Doc fix.
3173
935d1290
AM
31742012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3175
ef24141c
SM
3176 * ispell.el (ispell-get-extended-character-mode):
3177 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3178 and treats ~word as ordinary words in pipe mode.
935d1290 3179
61c6e8fd
GM
31802012-03-30 Glenn Morris <rgm@gnu.org>
3181
3182 * tutorial.el (help-with-tutorial): Ensure local variables don't
3183 happen to make the buffer read-only. (Bug#11127)
3184
81fdff00
SM
31852012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3188 (perl-calculate-indent): Return `noindent' in strings.
3189
6e7a6ec0
SS
31902012-03-28 Sam Steingold <sds@gnu.org>
3191
3192 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3193 instead of the broken adhockery which does not prevent calendar
3194 buffers from being displayed at random after exit.
3195 (calendar-window-list, calendar-hide-window): Remove the broken
3196 adhockery.
3197
fee88ca0
GM
31982012-03-28 Glenn Morris <rgm@gnu.org>
3199
3200 * replace.el (query-replace-map): Doc fix.
3201
38de3354
AS
32022012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3203
3204 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3205 contents. (Bug#11109)
3206
b973155e
SM
32072012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3210 (bug#11077).
3211 (avl-tree--check, avl-tree--check-node): New funs.
3212
dcb6e7b3
MR
32132012-03-27 Martin Rudalics <rudalics@gmx.at>
3214
3215 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3216 (switch-to-prev-buffer, switch-to-next-buffer):
3217 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3218 showing a buffer already is done on the same frame.
3219
b4fa35fa
GM
32202012-03-27 Glenn Morris <rgm@gnu.org>
3221
3222 * startup.el (mail-host-address): Doc fix.
3223
f9210e18
SM
32242012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3227 than 197 variables.
3228
c0bf7753
AF
32292012-03-26 Ami Fischman <ami@fischman.org>
3230
3231 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3232
33da7b16
GM
32332012-03-26 Glenn Morris <rgm@gnu.org>
3234
02243d9d
GM
3235 * files.el (save-buffers-kill-emacs): Doc fix.
3236
33da7b16
GM
3237 * startup.el (normal-top-level, command-line, command-line-1):
3238 Give them doc strings.
3239
e5a69fd0
EZ
32402012-03-25 Eli Zaretskii <eliz@gnu.org>
3241
3242 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3243 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3244
9a69676a
CY
32452012-03-25 Chong Yidong <cyd@gnu.org>
3246
4125cb8b
CY
3247 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3248 theme if it was previously enabled before (Bug#11031).
3249
dd470960
CY
3250 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3251 spec with custom-face-get-current-spec if its :shown-value is not
3252 determined yet (Bug#9337).
4125cb8b 3253 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3254
9a69676a
CY
3255 * button.el (button-at): Minor addition to docstring.
3256
6e7e90fa
SL
32572012-03-24 Simon Leinen <simon.leinen@gmail.com>
3258
3259 * vc/vc.el (vc-merge): Fix a prompt.
3260
f06e2758
CY
32612012-03-24 Chong Yidong <cyd@gnu.org>
3262
3263 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3264 point (Bug#9623).
3265
6e7e90fa
SL
3266 * button.el (button-at): Minor addition to docstring.
3267
b9d0879b
SM
32682012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * newcomment.el (comment-choose-indent): No space after BOL.
3271
e71cebb3
SS
32722012-03-22 Sam Steingold <sds@gnu.org>
3273
3274 * window.el (switch-to-prev-buffer): Revert last patch because the
3275 bug turned out to be an advertised feature (Elisp manual 28.14).
3276
335aff35
GM
32772012-03-22 Glenn Morris <rgm@gnu.org>
3278
3279 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3280 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3281
c676576a
LMI
32822012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3283
3284 * net/network-stream.el (network-stream-open-starttls): Make error
3285 message under Windows be less misleading.
3286
126f3d39
LW
32872012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3288
3289 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3290 understands (bug#9942).
3291
64fee311
CY
32922012-03-22 Chong Yidong <cyd@gnu.org>
3293
3294 * simple.el (end-of-visible-line): Handle return value of
3295 next-single-property-change properly (Bug#9371).
3296
a640d29a
KH
32972012-03-22 Kenichi Handa <handa@m17n.org>
3298
3299 * international/quail.el (quail-insert-kbd-layout): Fix previous
3300 change. To avoid unwanted bidi reordering, use
3301 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3302
39675016
DG
33032012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3304
3305 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3306 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3307 (ruby-beginning-of-indent): Be more careful with the difference
3308 between word-boundary and symbol boundary.
3309 (ruby-mode-syntax-table): Make : a symbol constituent.
3310
0a6934fc 33112012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3312
3d008e4f
SM
3313 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3314
0a6934fc
SM
33152012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3316
af67c9d7
SM
3317 * progmodes/etags.el (tags-completion-at-point-function):
3318 Improve last fix.
3319
1acad97c
SM
3320 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3321
e298b5da
SS
33222012-03-21 Sam Steingold <sds@gnu.org>
3323
3324 * progmodes/etags.el (tags-completion-at-point-function):
3325 Avoid the error when point is inside the pattern.
3326
91d82a70
JY
33272012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3328
3329 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3330 line (Bug#10855).
3331
69188b79
CY
33322012-03-21 Drew Adams <drew.adams@oracle.com>
3333
3334 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3335
99fc91fe
AK
33362012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3337
3338 * ido.el (ido-set-current-directory, ido-read-internal)
3339 (ido-choose-completion-string, ido-completion-help): Handle nil
3340 value of ido-completion-buffer (Bug#11008).
3341
087bbb4c
SS
33422012-03-21 Sam Steingold <sds@gnu.org>
3343
3344 * window.el (switch-to-prev-buffer): Do not switch to a visible
3345 window previous buffer, just like with the frame previous buffers.
3346
fb5b8aca
CY
33472012-03-21 Chong Yidong <cyd@gnu.org>
3348
3349 * faces.el (make-face, make-empty-face, copy-face):
3350 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3351 Doc fixes.
3352
dc9924b8
SM
33532012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3356 (widget-complete): Remove broken use of it.
3357
f0bcceb9
CY
33582012-03-20 Chong Yidong <cyd@gnu.org>
3359
dc9924b8
SM
3360 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3361 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3362 characters.
3363
ee52ebf3
TH
33642012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3365
3366 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3367 to draw rectangles, not squares. (Regression introduced by revno
3368 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3369
4c5779ab
CY
33702012-03-18 Chong Yidong <cyd@gnu.org>
3371
3372 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3373 it is not yet defined (for temacs).
3374
15360934
LL
33752012-03-18 Leo Liu <sdl.web@gmail.com>
3376
dc9924b8 3377 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3378
d9a8eb66
EZ
33792012-03-17 Eli Zaretskii <eliz@gnu.org>
3380
3381 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3382 (ispell-choices-win-default-height, ispell-silently-savep)
3383 (ispell-dictionary-alist, ispell-encoding8-command)
3384 (ispell-check-version, ispell-aspell-find-dictionary)
3385 (ispell-valid-dictionary-list, ispell-words-keyword)
3386 (ispell-get-word, ispell-internal-change-dictionary)
3387 (ispell-region, ispell-skip-region-list)
3388 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3389 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3390 (ispell-message-text-end, ispell-message)
3391 (ispell-buffer-local-parsing): Doc fix.
3392
f02ff80d
J
33932012-03-13 Jambunathan K <kjambunathan@gmail.com>
3394
3395 * htmlfontify.el: Add support for code block fontification for ODT
3396 export (Bug #9914).
3397 (hfy-optimisations): Define new option
3398 `body-text-only'
3399 (hfy-fontify-buffer): Honor above setting.
3400 (hfy-begin-span, hfy-end-span): New routines factored out form
3401 `hfy-fontify-buffer'.
3402 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3403 that permit insertion of custom tags.
3404 (hfy-fontify-buffer): Use above handlers.
3405 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3406 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3407 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3408 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3409 bind a special variable `hfy-user-sheet-assoc'.
3410 (htmlfontify-string): New defun.
3411 (hfy-compile-face-map): Make sure that the last char in the
3412 buffer is correctly fontified.
3413 (hfy-face-resolve-face): Whitespace only change.
3414
9ac7a13f
EZ
34152012-03-17 Eli Zaretskii <eliz@gnu.org>
3416
3417 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3418 message more clear.
3419
e2b5bdd7
LL
34202012-03-16 Leo Liu <sdl.web@gmail.com>
3421
3422 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3423
2e492df3
AM
34242012-03-16 Alan Mackenzie <acm@muc.de>
3425
3426 Further optimise the handling of large macros.
3427
3428 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3429 limit to a call of `c-literal-limits'.
3430 (c-determine-+ve-limit): New function.
dc9924b8
SM
3431 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3432 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3433 In CASE 5B, restrict a search limit to 500.
3434 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3435
3436 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3437 Restrict macro bounds to +-500 from after-change's BEG END.
3438
50e94f0c
LL
34392012-03-16 Leo Liu <sdl.web@gmail.com>
3440
3441 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3442
6f09f6ed
AH
34432012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3444
3445 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3446 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3447
c7e73d51
GM
34482012-03-16 Glenn Morris <rgm@gnu.org>
3449
da986230
GM
3450 * view.el (view-buffer, view-buffer-other-window)
3451 (view-buffer-other-frame): Doc fixes re special mode-class.
3452
0835f01e
GM
3453 * subr.el (eval-after-load): If named feature is provided not from
3454 a file, run after-load forms. (Bug#10946)
3455
c7e73d51
GM
3456 * calendar/calendar.el (calendar-insert-at-column):
3457 Handle non-unit-width characters a bit better. (Bug#10978)
3458
3f2eafd1
CY
34592012-03-15 Chong Yidong <cyd@gnu.org>
3460
3461 * emacs-lisp/ring.el (ring-extend): New function.
3462 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3463
3464 * comint.el (comint-read-input-ring)
3465 (comint-add-to-input-history): Grow comint-input-ring lazily.
3466
103af3fe
SM
34672012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3468
663b1677
SM
3469 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3470 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3471
103af3fe
SM
3472 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3473 (imenu-add-to-menubar): Don't add a redundant index.
3474 (imenu-update-menubar): Handle a dynamically composed keymap.
3475
899cb7cb
KY
34762012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3477
3478 * mail/sendmail.el (mail-encode-header):
3479 Bind rfc2047-encode-encoded-words to nil.
3480
3809f91d
GM
34812012-03-13 Glenn Morris <rgm@gnu.org>
3482
3483 * calendar/calendar.el (calendar-string-spread):
3484 Handle non-unit-width characters a bit better. (Bug#10978)
3485
9e345a01
LL
34862012-03-13 Leo Liu <sdl.web@gmail.com>
3487
3488 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3489 directory and file as argument (Bug#10822).
3490
4a07df36
KS
34912012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3492
3493 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3494 For dynamically generated code, follow $PC.
3495 (gdb-disassembly-handler-custom): Handle no function name case.
3496
4aaa9356
TL
34972012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3498
3499 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3500 * emulation/ws-mode.el (ws-query-replace):
3501 * sort.el (sort-regexp-fields):
3502 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3503
225979da
SM
35042012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * dabbrev.el: Fix cycle completion order (bug#10963).
3507 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3508 (dabbrev-completion): Don't use an obarray; provide
3509 a cycle-sort-function.
3510
e2f1fdab
LL
35112012-03-12 Leo Liu <sdl.web@gmail.com>
3512
dc9924b8 3513 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3514 (kill-do-not-save-duplicates): Doc fix.
3515
b19490ed
SM
35162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * dabbrev.el: Fix cycle completion (bug#10963).
3519 Use lexical binding and wrap to 80 columns.
3520 (dabbrev-completion): Delay computing the list of completions.
3521
4b05d722
KH
35222012-03-12 Kenichi Handa <handa@m17n.org>
3523
3524 * international/quail.el (quail-insert-kbd-layout): Surround each
3525 row by LRO and PDF instead of inserting many LRMs. Pad the left
3526 and right of each non-spacing marks. Insert invisible space
3527 between lower and upper characters to prevent composition.
3528
dbbc2e69
SM
35292012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3530
3531 * minibuffer.el (minibuffer-complete): Don't get confused when the
3532 function is run twice via different commands (bug#10958).
3533 (complete-with-action): Fix docstring.
3534
292112ed
CY
35352012-03-12 Chong Yidong <cyd@gnu.org>
3536
5d1ac394
CY
3537 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3538 (nxml-completion-at-point-function): New function.
3539 (nxml-mode): Use it.
3540 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3541
292112ed
CY
3542 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3543 Load generated autoloads file before byte compiling (Bug#10970).
3544 (package--make-autoloads-and-compile): New helper fun.
3545
4098f8f7
CS
35462012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3547
3548 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3549
8f754691
MA
35502012-03-11 Michael Albinus <michael.albinus@gmx.de>
3551
3552 * autorevert.el (auto-revert-handler): Ensure, that
3553 file-readable-p is applied only for local files or in
3554 auto-revert-tail-mode.
3555
e29ab36b
AS
35562012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3557
dbbc2e69
SM
3558 * server.el (server-eval-at): Handle non-tcp connections.
3559 Decode result string.
ad0bf5b6 3560
e29ab36b
AS
3561 * server.el (server-msg-size): New constant.
3562 (server-reply-print): New function.
3563 (server-eval-and-print): Use it.
3564 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3565 Handle -print-nonl.
3566
de5939ba
CS
35672012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3568
3569 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3570 (Bug#10987).
3571
0c93eabf
CY
35722012-03-11 Chong Yidong <cyd@gnu.org>
3573
397a688f
CY
3574 * simple.el (goto-line): Doc fix (Bug#9938).
3575
2cc775f9
CY
3576 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3577
0c93eabf
CY
3578 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3579 when finished (Bug#10963).
3580
c491fa41
MR
35812012-03-11 Martin Rudalics <rudalics@gmx.at>
3582
3583 * window.el (split-window-below): Fix bug in case where
3584 split-window-keep-point is nil (Bug#10971).
3585
300e8fa5
JL
35862012-03-11 Juri Linkov <juri@jurta.org>
3587
3588 * replace.el (replace-highlight): Set isearch-word to nil
3589 unconditionally. (Bug#10887)
3590
dbf6c5a1
EZ
35912012-03-10 Eli Zaretskii <eliz@gnu.org>
3592
3593 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3594 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3595 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3596 (mairix-widget-create-query): Add usage information about mairix
3597 search forms: negating words, searching for substrings, etc.
3598
b9e501de
JP
35992012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3600
3601 * international/fontset.el (font-encoding-alist): Add an entry for
3602 ksx1001 (Bug#5667).
3603
92795c91
RS
36042012-03-10 Richard Stallman <rms@gnu.org>
3605
1694e6c1
RS
3606 * mail/sendmail.el (mail-encode-header):
3607 Set rfc2047-encode-encoded-words.
3608
607e8555
RS
3609 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3610
de3bc99a
RS
3611 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3612 view buffer means not swapped.
3613 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3614 (rmail-write-region-annotate): Error if real text has disappeared.
3615
92795c91
RS
3616 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3617
699bd04e
CY
36182012-03-10 Chong Yidong <cyd@gnu.org>
3619
3620 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3621 * emulation/cua-base.el (cua--init-keymaps):
3622 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3623
570a1714
MR
36242012-03-10 Martin Rudalics <rudalics@gmx.at>
3625
dbbc2e69
SM
3626 * speedbar.el (speedbar-unhighlight-one-tag-line):
3627 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3628
82dcf4e4
CY
36292012-03-10 Chong Yidong <cyd@gnu.org>
3630
7a2c7ca7
CY
3631 * minibuffer.el (completion-in-region, completion-help-at-point):
3632 Give the completion field overlay a high priority (Bug#6830).
3633
82dcf4e4
CY
3634 * dired.el (dired-goto-file): Recognize absolute file name
3635 listings (Bug#7126).
3636 (dired-goto-file-1): New helper function.
3637 (dired-toggle-read-only): Inhibit warnings.
3638
052e28ac
MA
36392012-03-09 Michael Albinus <michael.albinus@gmx.de>
3640
75f1671a 3641 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3642 there are no properties.
3643
95d5e396
LL
36442012-03-09 Leo Liu <sdl.web@gmail.com>
3645
3646 * savehist.el (savehist-printable): Stricter check for string
3647 value (Bug#10937).
3648
3f018d6d
EZ
36492012-03-09 Eli Zaretskii <eliz@gnu.org>
3650
dbbc2e69
SM
3651 * mail/smtpmail.el (smtpmail-send-it):
3652 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3653 valid mbox format.
3654
f7fd3d79
GM
36552012-03-09 Glenn Morris <rgm@gnu.org>
3656
3657 * files.el (dir-locals-find-file):
3658 Don't check result is regular, readable.
3659 (dir-locals-read-from-file): Demote errors.
3660
6ff6e72f
EZ
36612012-03-08 Eli Zaretskii <eliz@gnu.org>
3662
dbbc2e69
SM
3663 * international/quail.el (quail-insert-kbd-layout):
3664 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3665 layout cell, to prevent their reordering by bidi display engine.
3666 For details, see the discussion in
3667 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3668
9cec7834
AM
36692012-03-08 Alan Mackenzie <acm@muc.de>
3670
3671 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3672 the starting position; make it extend the marked region when
3673 invoked repeatedly - all under appropriate circumstances.
3674 Fixes bugs #5525, #10906.
3675
9a40b8d4
GM
36762012-03-08 Glenn Morris <rgm@gnu.org>
3677
3678 * files.el (locate-dominating-file, dir-locals-find-file):
3679 Undo 2012-03-06 change.
3680
7a08ed35
EZ
36812012-03-07 Eli Zaretskii <eliz@gnu.org>
3682
dbbc2e69
SM
3683 * international/quail.el (quail-help):
3684 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3685 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3686 for the reason.
3687
5aca4f71 36882012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3689
3690 Avoid superfluous registering of signals. (Bug#10807)
3691
3692 * notifications.el (notifications-on-action-object)
3693 (notifications-on-close-object): New defvars.
3694 (notifications-on-action-signal, notifications-on-closed-signal):
3695 Unregister the signal if not needed any longer.
3696 (notifications-notify): Register `notifications-action-signal' or
3697 `notifications-closed-signal', if :on-action or :on-close has been
3698 passed as argument.
3699
78e8b10a
CY
37002012-03-07 Chong Yidong <cyd@gnu.org>
3701
3702 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3703 non-X platforms.
3704
69481eb8
GM
37052012-03-06 Glenn Morris <rgm@gnu.org>
3706
3707 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3708 (x-disown-selection-internal, x-get-selection-internal):
3709 Doc fix (add arglist signatures). (Bug#10783)
3710
133b8e11
KS
37112012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3712
3713 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3714 Handle breakpoints with no "type".
3715
99a83064
GM
37162012-03-06 Glenn Morris <rgm@gnu.org>
3717
3718 * files.el (locate-dominating-file): Add optional predicate argument.
3719 (dir-locals-find-file): Make use of above change.
3720
17798e78
TTN
37212012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3722
3723 * info.el (Info-insert-dir): Also try "dir.gz".
3724
eb182446
GM
37252012-03-06 Glenn Morris <rgm@gnu.org>
3726
8f2114ee
GM
3727 * files.el (dir-locals-find-file):
3728 Ignore non-readable or non-regular files. (Bug#10928)
3729
eb182446
GM
3730 * files.el (locate-dominating-file): Doc fix.
3731
24679323
AS
37322012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3733
3734 * calendar/calendar.el (calendar-set-mode-line):
3735 `getenv' returns a string. (Bug#10951)
3736
01d972a9
LL
37372012-03-05 Leo Liu <sdl.web@gmail.com>
3738
109aa8a9
LL
3739 * simple.el (backward-delete-char-untabify): Constrain point to
3740 field (Bug#10939).
3741
01d972a9
LL
3742 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3743
10607bea
CY
37442012-03-05 Chong Yidong <cyd@gnu.org>
3745
3746 * simple.el (count-words): If called from Lisp, return the word
3747 count, for symmetry with `count-lines'. Arglist changed.
3748 (count-words--message): Args changed. Consolidate counting code
3749 from count-words and count-words-region.
3750 (count-words-region): Caller changed.
3751 (count-lines-region): Make it an obsolete alias.
3752
5dd11cfe
TH
37532012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3754
3755 * saveplace.el (save-place-to-alist)
3756 (save-place-ignore-files-regexp): Allow value nil to disable this
3757 feature.
3758
c349f4e6
CY
37592012-03-04 Chong Yidong <cyd@gnu.org>
3760
3761 * faces.el (face-spec-reset-face): For the default face, reset the
3762 attributes to default values (Bug#10748).
3763
e627be4c
LMI
37642012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3765
3766 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3767 previous patch: Check `message-send-mail-function', and not the
3768 default function (bug#10897).
3769
ebeabff4
MA
37702012-03-04 Michael Albinus <michael.albinus@gmx.de>
3771
a41a6cf4
MA
3772 * notifications.el (notifications-on-action-signal)
3773 (notifications-on-closed-signal): Check for unique service name of
3774 incoming event. Fix error in removing entry.
ebeabff4 3775 (top): Register for signals with wildcard service name.
a41a6cf4 3776 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3777
c1ca42b4
CY
37782012-03-04 Chong Yidong <cyd@gnu.org>
3779
dc9924b8 3780 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3781
ea16568d
GM
37822012-03-04 Glenn Morris <rgm@gnu.org>
3783
3784 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3785 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3786 (expand-abbrev, define-abbrev-table): Doc fixes.
3787
fbae4637
LMI
37882012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3789
3790 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3791 `message-default-send-mail-function' and not `send-mail-function'
3792 when doing the prompting for `sendmail-query-once' before sending
3793 in Message buffers (bug#10897).
3794
a1e7225c
LMI
3795 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3796 This is inconsistent with all the other stream functions, which leave
3797 the setting up to the higher levels (if so wanted) (bug#10931).
3798
56d093a9
AM
37992012-03-02 Alan Mackenzie <acm@muc.de>
3800
3801 Depessimize the handling of very large macros.
3802
3803 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3804 (c-macro-cache-syntactic): New variables to implement a one
3805 element macro cache.
3806 (c-invalidate-macro-cache): New function.
3807 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3808 Adapt to use the new cache.
3809 (c-state-safe-place): Use better the cache of safe positions.
3810 (c-state-semi-nonlit-pos-cache)
3811 (c-state-semi-nonlit-pos-cache-limit):
3812 New variables for...
3813 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3814 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3815 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3816 Use c-state-semi-safe-place.
56d093a9 3817
dbbc2e69
SM
3818 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3819 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3820
817e5c3d
MA
38212012-03-02 Michael Albinus <michael.albinus@gmx.de>
3822
dbbc2e69
SM
3823 * jka-compr.el (jka-compr-call-process):
3824 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3825 not remote.
3826
a032a702
MA
38272012-03-01 Michael Albinus <michael.albinus@gmx.de>
3828
3829 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3830 access of FILE2, if FILE1 does not exist.
3831
99a54f21
MA
3832 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3833 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3834
3835 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3836 Add "PAGER=" to `process-environment'.
3837
f6561e1f
MM
38382012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3839
3840 * progmodes/sql.el: Bug fix
3841 (sql-get-login-ext): Save login values in globals.
3842 (sql-get-login): Use new version of `sql-get-login-ext'.
3843 (sql-interactive-mode): Set global `sql-connection' to nil.
3844 (sql-connect): Set global values for connection.
3845 (sql-product-interactive): Save global values as buffer local.
3846
2d44d9cc
LL
38472012-02-29 Leo Liu <sdl.web@gmail.com>
3848
3849 * abbrev.el (define-abbrevs): Reset sys to nil.
3850
96b49301 38512012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3852
bf7f9bc5
JB
3853 * files.el (file-equal-p): Rename from `files-equal-p'.
3854 Return nil when one or both files don't exist.
96b49301 3855 (file-subdir-of-p): Now only top directory must exists,
3856 return nil if it doesn't.
bf7f9bc5
JB
3857 (copy-directory): No need to test with `file-subdir-of-p' after
3858 creating dir.
3859 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3860 to `file-equal-p'.
96b49301 3861
44e97401
GM
38622012-02-28 Glenn Morris <rgm@gnu.org>
3863
3864 * shell.el (shell-mode):
3865 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3866 * play/landmark.el (landmark-font-lock-face-O):
3867 * play/handwrite.el (handwrite):
3868 * play/gomoku.el (gomoku-O):
3869 * net/browse-url.el (browse-url-browser-display):
3870 * international/mule.el (define-charset):
3871 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3872 * filesets.el (filesets-find-file-delay):
3873 * eshell/em-xtra.el (eshell-xtra):
3874 * eshell/em-unix.el (eshell-grep):
3875 * emulation/viper.el (viper-mode):
3876 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3877 * emacs-lisp/easymenu.el (easy-menu-define):
3878 * calendar/timeclock.el (timeclock-use-display-time):
3879 * bs.el (bs-mode):
3880 * bookmark.el (bookmark-save-flag):
3881 Doc fix (standardize possessive apostrophe usage).
3882
c98c6276
CY
38832012-02-27 Chong Yidong <cyd@gnu.org>
3884
bf7f9bc5
JB
3885 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3886 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3887
c98c6276
CY
3888 * font-lock.el (font-lock-specified-p): Rename from
3889 font-lock-spec-present. Callers changed.
3890
9c62cd04 38912012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3892
bf7f9bc5
JB
3893 * emacs-lisp/package.el (package-compute-transaction):
3894 Handle holding a package version to t in package-load-list.
8ac9e529 3895
530739c9
MA
38962012-02-26 Michael Albinus <michael.albinus@gmx.de>
3897
3898 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3899 (tramp-get-inode, tramp-get-device): Use cached values.
3900
487915d7
AM
39012012-02-26 Alan Mackenzie <acm@muc.de>
3902
3903 Check there is a font-lock specification before doing initial
3904 fontification.
3905
3906 * font-core.el (font-lock-mode): Move the conditional from
3907 :after-hook to font-lock-initial-fontify.
3908 (font-lock-default-function): Move the check for a specification
3909 to font-lock-spec-present.
3910
dc9924b8 3911 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3912 (font-lock-spec-present): New function.
3913
4fd96557
JB
39142012-02-26 Jim Blandy <jimb@red-bean.com>
3915
3916 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3917 (gdb-send): Apply it to the operand of the '-interpreter-exec
3918 console' command, so that we can pass arguments with (say) quotes
3919 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3920
9a4888c0
CY
39212012-02-26 Chong Yidong <cyd@gnu.org>
3922
07498861
CY
3923 * help-fns.el (describe-function-1): Clarify description of
3924 remapping (Bug#10844).
3925
9a4888c0
CY
3926 * files.el (files-equal-p): Doc fix.
3927 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3928 and quit the loop once a mismatch is found.
3929
ea8fb88d
JB
39302012-02-25 Juanma Barranquero <lekktu@gmail.com>
3931
3932 * bs.el (bs--show-with-configuration): Don't throw an error
3933 if the window cannot be split; otherwise, subsequent calls to
3934 bs-show fail, restoring a stale window config. (Bug#10882)
3935
525795c1
JD
39362012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3937
3938 * term/ns-win.el (global-map): Bind ns-drag-file to
3939 ns-find-file (Bug#5855, Bug#10050).
3940
f008086f
AS
39412012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3942
3943 * calendar/parse-time.el (parse-time-string): Allow extractor to
3944 return nil.
3945
a3fcfa99
MA
39462012-02-25 Michael Albinus <michael.albinus@gmx.de>
3947
91027d08
JB
3948 * net/tramp.el (tramp-file-name-for-operation):
3949 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3950
3951 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3952 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3953 Add COPY-CONTENTS argument.
a3fcfa99 3954
67b0de11
CY
39552012-02-25 Chong Yidong <cyd@gnu.org>
3956
3957 Add custom groups for VC backends, for consistency with vc-bzr.
3958
3959 * vc/vc-arch.el (vc-arch):
3960 * vc/vc-cvs.el (vc-cvs):
3961 * vc/vc-git.el (vc-git):
3962 * vc/vc-hg.el (vc-hg):
3963 * vc/vc-mtn.el (vc-mtn):
3964 * vc/vc-rcs.el (vc-rcs):
3965 * vc/vc-sccs.el (vc-sccs):
3966 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3967 All relevant defcustoms reassigned.
3968
3c9dfce6
CY
39692012-02-25 Chong Yidong <cyd@gnu.org>
3970
1339bf43
CY
3971 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3972
3c9dfce6
CY
3973 * term/x-win.el (x-initialize-window-system): Reduce default for
3974 x-selection-timeout to 5 seconds (Bug#8869).
3975
25b2e303 39762012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3977
ec70a47d
GM
3978 * files.el (files-equal-p, file-subdir-of-p): New functions.
3979 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3980 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3981 * dired-aux.el (dired-copy-file-recursive): Same.
3982 (dired-create-files): Modify destination when source is equal to
3983 dest when copying files.
53a46cd0 3984 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3985
914260cd
MA
39862012-02-24 Michael Albinus <michael.albinus@gmx.de>
3987
3988 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3989 (Bug#10874)
3990
2cb228f7
AM
39912012-02-23 Alan Mackenzie <acm@muc.de>
3992
3993 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3994 parameter "after-hook:" to allow the expansion to run code after
3995 the execution of the mode hooks.
3996
3997 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3998 from font-lock-mode-internal.
2cb228f7 3999
91027d08 4000 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4001 :after-hook.
4002
8f0fde21
SM
40032012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4004
3e88618b
SM
4005 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4006 (completion--cache-all-sorted-completions): New function.
4007 (completion-all-sorted-completions): Use it.
4008 (completion--do-completion, minibuffer-force-complete):
4009 Use it to re-instate the flush hook.
4010
8f0fde21
SM
4011 * icomplete.el (icomplete-completions): Replace last fix with a better
4012 one (bug#10850).
4013
8e911f6f
DG
40142012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4015
4016 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4017 when it might call us back infinitely (bug#10797).
4018
49fe4321
GM
40192012-02-23 Glenn Morris <rgm@gnu.org>
4020
4021 * minibuffer.el (completion-category-overrides): Doc fix.
4022
b291b572
SM
40232012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4024
4025 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4026 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4027
31a9ef2e
GM
40282012-02-23 Glenn Morris <rgm@gnu.org>
4029
5e6e6794 4030 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4031 (authors-obsolete-files-regexps, authors-ignored-files)
4032 (authors-ambiguous-files, authors-renamed-files-alist):
4033 Add more entries.
4034
0bd1e074
JL
40352012-02-23 Juri Linkov <juri@jurta.org>
4036
4037 * isearch.el (isearch-occur): Sync interactive spec with occur's
4038 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4039
b617673c
JL
4040 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4041
19e9789e
JL
40422012-02-22 Juri Linkov <juri@jurta.org>
4043
4044 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4045 (ucs-insert): Doc fix. Check for hex digits in the string.
4046 Don't display `nil' in the error message. (Bug#10857)
4047
f41ce09d
AM
40482012-02-22 Alan Mackenzie <acm@muc.de>
4049
7a71b18d 4050 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4051
ac2eceee
GM
40522012-02-22 Glenn Morris <rgm@gnu.org>
4053
4054 * ffap.el (ffap-c-path):
4055 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4056
abd1f678
CY
40572012-02-22 Chong Yidong <cyd@gnu.org>
4058
4059 * custom.el (load-theme): Doc fix.
4060
f25aef2e
GM
40612012-02-22 Glenn Morris <rgm@gnu.org>
4062
4063 * dired-x.el (dired-guess-shell-alist-default):
4064 Remove escape sequences from nroff output. (Bug#172)
4065
5f8dc2ca
GM
40662012-02-21 Glenn Morris <rgm@gnu.org>
4067
6ff86ec4
GM
4068 * vc/emerge.el (emerge-defvar-local):
4069 Set `permanent-local' property rather than unused `preserved'.
4070
be3223a3 4071 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4072 (picture-mode-map): Use it. (Bug#10860)
4073 (picture-mode): Doc fix.
4074
3fe58f4f
JB
40752012-02-21 Juanma Barranquero <lekktu@gmail.com>
4076
4077 * newcomment.el (uncomment-region-default): Remove unused binding.
4078
f9a998c3
GM
40792012-02-21 Glenn Morris <rgm@gnu.org>
4080
4081 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4082 (picture-self-insert, picture-tab-chars): Doc fix.
4083 (picture-mode-map): Fix C-a, C-e.
4084
c6029348
GM
40852012-02-20 Glenn Morris <rgm@gnu.org>
4086
4087 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4088
ab1ce9d7
LL
40892012-02-20 Leo Liu <sdl.web@gmail.com>
4090
4091 * icomplete.el (icomplete-completions): Check FROM arg before
4092 passing to substring (Bug#10850).
4093
0fd40f89
CY
40942012-02-19 Chong Yidong <cyd@gnu.org>
4095
4096 * comint.el: Require ansi-color.
4097 (comint-output-filter-functions): Add ansi-color-process-output.
4098
4099 * ansi-color.el: Don't set comint-output-filter-functions; it is
4100 now in the initial value defined in comint.el.
4101 (ansi-color-apply-face-function): New variable.
4102 (ansi-color-apply-on-region): Use it.
4103 (ansi-color-apply-overlay-face): New function.
4104
4105 * shell.el (shell): No need to require ansi-color.
4106 (shell-mode): Use ansi-color-apply-face-function to highlight
4107 color escapes using font-lock-face property (Bug#10835).
4108
20af2394
CY
41092012-02-19 Chong Yidong <cyd@gnu.org>
4110
4111 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4112 mode-line formats (Bug#10839).
4113
e23a3fbe
GM
41142012-02-18 Glenn Morris <rgm@gnu.org>
4115
b474519e
GM
4116 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4117
4118 * mail/undigest.el (unforward-rmail-message): Doc fix.
4119
e23a3fbe
GM
4120 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4121
57939ff4
EZ
41222012-02-18 Eli Zaretskii <eliz@gnu.org>
4123
4124 * international/characters.el (script-list): Sync with the latest
4125 Unicode Character Database.
4126
0c23686e
AS
41272012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4128
4129 * international/titdic-cnv.el: Remove duplicate coding tag.
4130 * language/cham.el: Likewise.
4131 * language/tai-viet.el: Likewise.
4132
6818b449
GM
41332012-02-18 Glenn Morris <rgm@gnu.org>
4134
4135 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4136 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4137 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4138 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4139 * calendar/holidays.el (holiday-bahai-holidays)
4140 (calendar-holidays, list-holidays):
4141 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
4142
0311a3fc
TH
41432012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4144
4145 * saveplace.el (save-place-ignore-files-regexp): New variable
4146 allowing for excluding files from saving their location of point.
4147 The default value matches the temporary commit message editing
4148 files from Git, SVN, Bazaar, and Mercurial.
4149 (save-place-to-alist): Use it.
4150
eb864a71
LM
41512012-02-17 Lawrence Mitchell <wence@gmx.li>
4152 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * newcomment.el (uncomment-region-default): Don't leave extra space
4155 when an arg is provided (bug#8150).
4156
ee0ce425
TZ
41572012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4158
eb864a71 4159 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4160
95ddf442
GM
41612012-02-17 Glenn Morris <rgm@gnu.org>
4162
4163 * net/socks.el: Require network-stream. (Bug#10599)
4164
48dd1e39 41652012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4166
4167 * international/charprop.el:
4168 * international/uni-name.el:
4169 * international/uni-old-name.el:
4170 * international/uni-comment.el: Regenerate.
4171
d68cd087
GM
41722012-02-16 Glenn Morris <rgm@gnu.org>
4173
4174 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4175 Interactively in calendar buffer, give an error if not on a date.
4176
13932042
GM
41772012-02-15 Glenn Morris <rgm@gnu.org>
4178
4179 * shell.el (shell-delimiter-argument-list):
4180 Revert 2011-02-17 change. (Bug#8027)
4181
c3a70e2b
CY
41822012-02-15 Chong Yidong <cyd@gnu.org>
4183
60236b0d
CY
4184 * minibuffer.el (completion-at-point-functions): Doc fix.
4185
c3a70e2b
CY
4186 * custom.el (defcustom): Doc fix; note use of defvar.
4187
9f26dc24
GM
41882012-02-15 Glenn Morris <rgm@gnu.org>
4189
4190 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4191 Doc fixes.
4192
6546b134
GM
41932012-02-14 Glenn Morris <rgm@gnu.org>
4194
4195 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4196
d29b2b4c
LI
41972012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4198
4199 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4200 way the ports list is computed.
835bdcba
LI
4201 (smtpmail-query-smtp-server): Prompt the user for a port number if
4202 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4203
08dcdbc9
TZ
42042012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4205
4206 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4207
2605051a
GM
42082012-02-13 Glenn Morris <rgm@gnu.org>
4209
4210 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4211
7ee99f32
TZ
42122012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4213
4214 * net/gnutls.el (gnutls-trustfiles): New variable.
4215 (gnutls-negotiate): Use it.
4216
5f0af64f
LI
42172012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4218
4219 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4220 does its stuff if Gnus is running.
4221
c14fcc95
AM
42222012-02-13 Alan Mackenzie <acm@muc.de>
4223
4224 Fix a loop in c-set-fl-decl-start.
4225
7a71b18d 4226 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4227 c-backward-syntactic-ws actually moves backwards.
4228
142b4d90
LL
42292012-02-13 Leo Liu <sdl.web@gmail.com>
4230
4231 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4232 beginning so that all \C-o chars are removed.
4233
fa9958a6
TZ
42342012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4235
dc9924b8 4236 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4237
0bc5886a
AM
42382012-02-12 Alan Mackenzie <acm@muc.de>
4239
4240 Fix infinite loop with long macros.
4d6769e1 4241 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4242
d4bd55e7
CY
42432012-02-12 Chong Yidong <cyd@gnu.org>
4244
4245 * window.el (display-buffer): Doc fix (Bug#10785).
4246
66f3fe22
GM
42472012-02-12 Glenn Morris <rgm@gnu.org>
4248
bd7da63e
GM
4249 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4250 (x-disown-selection-internal, x-get-selection-internal):
4251 Sync docs with the xselect.c versions.
4252
66f3fe22
GM
4253 * allout-widgets.el: Add missing license notice.
4254
3e0d2fa7
GM
42552012-02-11 Glenn Morris <rgm@gnu.org>
4256
cfecdf09
GM
4257 * select.el (x-get-selection-internal, x-own-selection-internal)
4258 (x-disown-selection-internal):
4259 * x-dnd.el (x-get-selection-internal): Update declarations.
4260
6d216d7f
GM
4261 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4262
2bed3f04
GM
4263 * window.el (window-sides-slots):
4264 * tool-bar.el (tool-bar-position):
4265 * term/xterm.el (xterm-extra-capabilities):
4266 * ses.el (ses-self-reference-early-detection):
4267 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4268 (verilog-auto-wire-type)
4269 (verilog-auto-delete-trailing-whitespace)
4270 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4271 (verilog-auto-tieoff-declaration):
4272 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4273 (sql-oracle-statement-starters, sql-oracle-scan-on):
4274 * progmodes/prolog.el (prolog-align-comments-flag)
4275 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4276 (prolog-left-indent-regexp, prolog-paren-indent-p)
4277 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4278 (prolog-types, prolog-mode-specificators)
4279 (prolog-determinism-specificators, prolog-directives)
4280 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4281 (prolog-electric-dot-flag)
4282 (prolog-electric-dot-full-predicate-template)
4283 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4284 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4285 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4286 (prolog-program-switches, prolog-prompt-regexp)
4287 (prolog-debug-on-string, prolog-debug-off-string)
4288 (prolog-trace-on-string, prolog-trace-off-string)
4289 (prolog-zip-on-string, prolog-zip-off-string)
4290 (prolog-use-standard-consult-compile-method-flag)
4291 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4292 (prolog-imenu-max-lines, prolog-info-predicate-index)
4293 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4294 (prolog-char-quote-workaround):
4295 * progmodes/cc-vars.el (c-defun-tactic):
4296 * net/tramp.el (tramp-encoding-command-interactive)
4297 (tramp-local-end-of-line):
4298 * net/soap-client.el (soap-client):
4299 * net/netrc.el (netrc-file):
4300 * net/gnutls.el (gnutls):
4301 * minibuffer.el (completion-category-overrides)
4302 (completion-cycle-threshold)
4303 (completion-pcm-complete-word-inserts-delimiters):
4304 * man.el (Man-name-local-regexp):
4305 * mail/feedmail.el (feedmail-display-full-frame):
4306 * international/characters.el (glyphless-char-display-control):
4307 * eshell/em-ls.el (eshell-ls-date-format):
4308 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4309 (lisp-lambda-list-keyword-parameter-indentation)
4310 (lisp-lambda-list-keyword-parameter-alignment):
4311 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4312 * dired-x.el (dired-omit-verbose):
4313 * cus-theme.el (custom-theme-allow-multiple-selections):
4314 * calc/calc.el (calc-highlight-selections-with-faces)
4315 (calc-lu-field-reference, calc-lu-power-reference)
4316 (calc-note-threshold):
4317 * battery.el (battery-mode-line-limit):
4318 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4319 (archive-7z-update):
4320 * allout.el (allout-prefixed-keybindings)
4321 (allout-unprefixed-keybindings)
4322 (allout-inhibit-auto-fill-on-headline)
4323 (allout-flattened-numbering-abbreviation):
4324 * allout-widgets.el (allout-widgets-auto-activation)
4325 (allout-widgets-icons-dark-subdir)
4326 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4327 (allout-widgets-theme-dark-background)
4328 (allout-widgets-theme-light-background)
4329 (allout-widgets-item-image-properties-emacs)
4330 (allout-widgets-item-image-properties-xemacs)
4331 (allout-widgets-run-unit-tests-on-load)
4332 (allout-widgets-time-decoration-activity)
4333 (allout-widgets-hook-error-post-time)
4334 (allout-widgets-track-decoration):
4335 Add missing :version tags to new defcustoms and defgroups.
4336
5fec1b8e
GM
4337 * progmodes/sql.el (sql-ansi-statement-starters)
4338 (sql-oracle-statement-starters): Add custom type.
4339
3e0d2fa7
GM
4340 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4341 (prolog-system-version): Give it a type.
4342
90b671e2
EZ
43432012-02-11 Eli Zaretskii <eliz@gnu.org>
4344
4345 * term/pc-win.el (x-select-text, x-selection-owner-p)
4346 (x-own-selection-internal, x-disown-selection-internal)
4347 (x-get-selection-internal): Sync doc strings and argument lists
4348 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4349
5eac0c02
LL
43502012-02-11 Leo Liu <sdl.web@gmail.com>
4351
4352 * progmodes/python.el (python-end-of-statement): Fix infinite
4353 loop. (Bug#10788)
4354
f82cb659
GM
43552012-02-10 Glenn Morris <rgm@gnu.org>
4356
4357 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4358 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4359
cc26d239
LI
43602012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4361
4362 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4363 about SMTP before checking the From header.
4364
91027d08 4365 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4366 into own function for reuse by emacsbug.el.
4367
1be3ca5a
LL
43682012-02-10 Leo Liu <sdl.web@gmail.com>
4369
4370 * subr.el (condition-case-unless-debug): Rename from
4371 condition-case-no-debug. All callers changed.
4372 (with-demoted-errors): Fix caller.
4373
4374 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4375 * nxml/rng-valid.el (rng-do-some-validation):
4376 * emacs-lisp/package.el (package-refresh-contents)
4377 (package-menu-execute):
4378 * desktop.el (desktop-create-buffer):
91027d08 4379 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4380
b011fbfe
GM
43812012-02-10 Glenn Morris <rgm@gnu.org>
4382
b2096d72
GM
4383 * textmodes/bibtex.el:
4384 Add missing :version tags for new/changed defcustoms.
4385
b011fbfe
GM
4386 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4387
4c7e65bf
LI
43882012-02-09 Lars Ingebrigtsen <larsi@rusty>
4389
4390 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4391 (smtpmail-via-smtp): Use it, or fall back on the From address.
4392 (smtpmail-send-it): Ditto.
4393
f3934f6f
SM
43942012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4397 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4398 (byte-compile-tmp-var): New const.
4399 (byte-compile-defvar): Use it to minimize .elc size.
4400 Just use `defvar' rather than simulate it (bug#10761).
4401
a075a2c5
GM
44022012-02-09 Glenn Morris <rgm@gnu.org>
4403
cf3aa21b
GM
4404 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4405
354998cd
GM
4406 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4407 Add :version tags.
4408
dc9924b8
SM
4409 * progmodes/compile.el (compilation-error-screen-columns)
4410 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4411
dab3703d
GM
4412 * vc/log-view.el (log-view-toggle-entry-display):
4413 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4414
3f88cd72
GM
4415 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4416 (report-emacs-bug-can-use-xdg-email):
4417 (report-emacs-bug-insert-to-mailer): Doc fixes.
4418 (report-emacs-bug): Message fix.
4419
d95b247d
GM
4420 * net/browse-url.el (browse-url-can-use-xdg-open)
4421 (browse-url-xdg-open): Doc fixes.
4422
a075a2c5
GM
4423 * electric.el (electric-indent-mode, electric-pair-mode)
4424 (electric-layout-rules, electric-layout-mode): Doc fixes.
4425 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4426
ffb6157e
MR
44272012-02-08 Martin Rudalics <rudalics@gmx.at>
4428
4429 * server.el (server-unselect-display): Don't inadvertently kill
4430 the current buffer. (Bug#10729)
4431
e1ac4066
GM
44322012-02-08 Glenn Morris <rgm@gnu.org>
4433
34e8a2da
GM
4434 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4435 (sql-list-table): Doc fixes.
4436
b4ac6e8c
GM
4437 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4438 Comment out (does nothing).
4439
e1ac4066
GM
4440 * completion.el (dynamic-completion-mode):
4441 * dirtrack.el (dirtrack-debug-mode):
4442 * electric.el (electric-layout-mode):
4443 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4444 * face-remap.el (text-scale-mode, buffer-face-mode):
4445 * iimage.el (iimage-mode):
4446 * image-mode.el (image-transform-mode):
4447 * minibuffer.el (completion-in-region-mode):
4448 * scroll-lock.el (scroll-lock-mode):
4449 * simple.el (next-error-follow-minor-mode):
4450 * tar-mode.el (tar-subfile-mode):
4451 * tooltip.el (tooltip-mode):
4452 * vcursor.el (vcursor-use-vcursor-map):
4453 * wid-browse.el (widget-minor-mode):
4454 * emulation/tpu-edt.el (tpu-edt-mode):
4455 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4456 * international/iso-ascii.el (iso-ascii-mode):
4457 * language/thai-util.el (thai-word-mode):
4458 * mail/supercite.el (sc-minor-mode):
4459 * net/goto-addr.el (goto-address-mode):
4460 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4461 * progmodes/cwarn.el (cwarn-mode):
4462 * progmodes/flymake.el (flymake-mode):
4463 * progmodes/glasses.el (glasses-mode):
4464 * progmodes/hideshow.el (hs-minor-mode):
4465 * progmodes/pascal.el (pascal-outline-mode):
4466 * textmodes/enriched.el (enriched-mode):
4467 * vc/smerge-mode.el (smerge-mode):
4468 Doc fixes (minor mode argument).
4469
5e0d957f
EZ
44702012-02-07 Eli Zaretskii <eliz@gnu.org>
4471
4472 * ls-lisp.el (ls-lisp-sanitize): New function.
4473 (ls-lisp-insert-directory): Use it to fix or remove any elements
4474 in file-alist with missing attributes. (Bug#4673)
4475
98d7371e
AM
44762012-02-07 Alan Mackenzie <acm@muc.de>
4477
4478 Fix spurious recognition of c-in-knr-argdecl.
4479
4480 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4481 putative K&R region.
4482
667ced3a
AM
44832012-02-07 Alan Mackenzie <acm@muc.de>
4484
eb864a71
LM
4485 * progmodes/cc-engine.el (c-forward-objc-directive):
4486 Prevent looping in "#pragma mark @implementation".
667ced3a 4487
5b77774d
MA
44882012-02-07 Michael Albinus <michael.albinus@gmx.de>
4489
4490 * notifications.el (notifications-on-closed-signal): Make `reason'
4491 optional. (Bug#10744)
4492
af008560
GM
44932012-02-07 Glenn Morris <rgm@gnu.org>
4494
60d47423
GM
4495 * emacs-lisp/easy-mmode.el (define-minor-mode):
4496 Doc fixes for the macro and the mode it defines.
4497
dd605cc4
GM
4498 * image.el (imagemagick-types-inhibit): Doc fix.
4499
af008560
GM
4500 * cus-start.el (imagemagick-render-type): Add it.
4501
5cc59a37
LI
45022012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4503
4d6769e1
JB
4504 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4505 Set the default at load time, too, so that `font-lock-fontify-buffer'
4506 can be called without setting up the entire mode first. This fixes
4507 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4508
9a6dd747
CY
45092012-02-06 Chong Yidong <cyd@gnu.org>
4510
2d16b285
CY
4511 * simple.el (list-processes--refresh): Delete exited processes
4512 (Bug#8094).
4513
171e9b6e
CY
4514 * comint.el (comint-next-prompt): next-single-char-property-change
4515 and prev-single-char-property-change never return nil (Bug#8657).
4516
9a6dd747
CY
4517 * custom.el (defcustom): Doc fix (Bug#9711).
4518
aa4589a7
CY
45192012-02-05 Chong Yidong <cyd@gnu.org>
4520
5c2a252f
CY
4521 * cus-edit.el (custom-variable-reset-backup): Quote the value
4522 before storing it in the customized-value property (Bug#6712).
4aab9006 4523 (custom-display): Add a customization type tag.
983b9602 4524 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4525
aa4589a7
CY
4526 * wid-edit.el (widget-field-value-get): New optional arg to
4527 suppress trailing whitespace truncation.
4528 (character): Use it (Bug#2689).
4529
1ff980ae
AS
45302012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4531
4532 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4533 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4534
03988c98
CY
45352012-02-05 Chong Yidong <cyd@gnu.org>
4536
eeb6cc88
CY
4537 * cus-edit.el (custom-variable-value-create): For mismatched
4538 types, show the current value (Bug#7600).
4539
03988c98
CY
4540 * custom.el (defcustom): Doc fix.
4541
f8cdeef0
GM
45422012-02-05 Glenn Morris <rgm@gnu.org>
4543
4544 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4545
0696d255
JB
45462012-02-05 Juanma Barranquero <lekktu@gmail.com>
4547
4548 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4549 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4550 (pp-last-sexp): Use `looking-at-p'.
4551
34c99998
GM
45522012-02-04 Glenn Morris <rgm@gnu.org>
4553
8f05da42
GM
4554 * files.el (revert-buffer):
4555 Doc fix (mention revert-buffer-in-progress-p).
4556
f160676e
GM
4557 * emacs-lisp/ert-x.el (ert-simulate-command):
4558 Check deferred-action-list (which is obsolete) is bound.
4559
c7291ad9
GM
4560 * subr.el (with-wrapper-hook): Doc fixes.
4561
34c99998
GM
4562 * simple.el (filter-buffer-substring-functions)
4563 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4564
6283a7d3
LL
45652012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4566
4567 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4568 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4569
e96e3013
LL
45702012-02-04 Leo Liu <sdl.web@gmail.com>
4571
4572 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4573
8ded50f2
GM
45742012-02-04 Glenn Morris <rgm@gnu.org>
4575
82ff1d13
GM
4576 * image.el (image-extension-data): Add obsolete alias.
4577
987a0a16
GM
4578 * isearch.el (isearch-update): Doc fix.
4579
ea32ef46
GM
4580 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4581
8ded50f2
GM
4582 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4583
eea14f31
GM
45842012-02-03 Glenn Morris <rgm@gnu.org>
4585
4586 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4587 (image-animate-timeout): Doc fix.
4588
4589 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4590
12f381b7
GM
45912012-02-02 Glenn Morris <rgm@gnu.org>
4592
953cebf5
GM
4593 * server.el (server-auth-dir): Doc fix.
4594 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4595
12f381b7
GM
4596 * subr.el (run-mode-hooks): Doc fix.
4597
953a8c3b
JL
45982012-02-02 Juri Linkov <juri@jurta.org>
4599
4600 * image-mode.el (image-toggle-display-image): Remove tautological
4601 `major-mode' from the `derived-mode-p' test.
4602
c5d3843c
KH
46032012-02-02 Kenichi Handa <handa@m17n.org>
4604
9f6e692e 4605 * composite.el (compose-region): Cancel previous change.
c5d3843c 4606
159462d4 46072012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4608
4609 * composite.el (compose-region, compose-string): Signal error for
4610 a null string component (Bug#6988).
4611
9f562668
CY
46122012-02-01 Chong Yidong <cyd@gnu.org>
4613
e2cef717
CY
4614 * view.el (view-buffer-other-window, view-buffer-other-frame):
4615 Handle special modes like view-buffer (Bug#10650).
4616 (view-buffer): Simplify.
4617
9f562668
CY
4618 * frame.el (set-frame-font): Tweak meaning of third argument.
4619
9f6e692e
JB
4620 * dynamic-setting.el (font-setting-change-default-font):
4621 Use set-frame-font (Bug#9982).
9f562668 4622
781acb9f
GM
46232012-02-01 Glenn Morris <rgm@gnu.org>
4624
6035be52
GM
4625 * progmodes/compile.el (compilation-internal-error-properties):
4626 Respect compilation-first-column in the "*compilation*" buffer.
4627
781acb9f
GM
4628 * emacs-lisp/easy-mmode.el (define-minor-mode):
4629 Relax :variable's test for a named function.
4630
abbceb00
AM
46312012-01-31 Alan Mackenzie <acm@muc.de>
4632
4633 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4634 off by one error.
4635
fce3fdeb
CY
46362012-01-31 Chong Yidong <cyd@gnu.org>
4637
4638 * frame.el (set-frame-font): New arg ALL-FRAMES.
4639
4640 * menu-bar.el (menu-set-font): Use set-frame-font.
4641
4642 * faces.el (face-spec-reset-face): Don't apply unspecified
4643 attribute values to the default face.
4644
47893581
JB
46452012-01-31 Juanma Barranquero <lekktu@gmail.com>
4646
4647 * progmodes/cwarn.el (cwarn): Remove dead link.
4648 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4649 Remove * from defcustom docstrings.
4650 (turn-on-cwarn-mode): Make obsolete.
4651 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4652 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4653
e58e988a
GM
46542012-01-31 Glenn Morris <rgm@gnu.org>
4655
60dc2671 4656 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4657 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4658 Allow named functions to be used as the cdr of :variable.
e58e988a 4659
7a3f511d
GM
46602012-01-30 Glenn Morris <rgm@gnu.org>
4661
4662 * emacs-lisp/authors.el (authors-fixed-entries):
4663 Remove reference to deleted file rnewspost.el.
4664
cb882333
JB
46652012-01-29 Juanma Barranquero <lekktu@gmail.com>
4666
4667 * window.el (window-with-parameter): Remove unused variable `windows'.
4668 (window--side-check): Remove unused variable `code'.
4669 (window--resize-siblings): Remove unused variable `first'.
4670 (adjust-window-trailing-edge): Remove unused variable `failed'.
4671 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4672 Use `let', not `let*'.
4673 (balance-windows-2): Remove unused variable `found'.
4674 (window--state-put-2): Remove unused variable `splits'.
4675 (window-state-put): Remove unused variable `selected'.
4676 (same-window-p): Use `string-match-p'.
4677 (display-buffer-assq-regexp): Remove unused variable `value'.
4678 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4679 Mark argument ALIST as ignored.
4680 (pop-to-buffer): Remove unused variable `old-window'.
4681
907201af
EZ
46822012-01-29 Eli Zaretskii <eliz@gnu.org>
4683
4684 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4685 and .lzma compressed files.
4686
ea162670
CY
46872012-01-29 Chong Yidong <cyd@gnu.org>
4688
5b95ee8a
CY
4689 * frame.el (window-system-default-frame-alist): Doc fix.
4690
ea162670
CY
4691 * dynamic-setting.el (font-setting-change-default-font): Don't
4692 change the default face if SET-FONT argument is non-nil (Bug#9982).
4693
d6e6f4b1
SB
46942012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4695
4696 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4697
0f29fa41 46982012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4699
4700 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4701 breakpoints in files outside current directory (Bug#6098).
4702
db174434
CY
47032012-01-29 Chong Yidong <cyd@gnu.org>
4704
6b25e4e2
SE
4705 * progmodes/python.el: Require ansi-color at top-level.
4706
6df6ae42
JB
4707 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4708 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4709 (lisp-mode-abbrev-table): Add doc.
4710 (lisp-mode-variables): Don't set local-abbrev-table.
4711 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4712
e70ee681
RW
47132012-01-28 Roland Winkler <winkler@gnu.org>
4714
4715 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4716
ace88aa2
RW
47172012-01-28 Roland Winkler <winkler@gnu.org>
4718
4719 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4720 (bibtex-set-dialect): Use it. Either set global values of
4721 dialect-dependent variables or bind these variables buffer-locally
4722 (Bug#10254).
4723 (bibtex-mode): Call bibtex-set-dialect via
4724 hack-local-variables-hook.
eb864a71
LM
4725 (bibtex-dialect): Update docstring.
4726 Add safe-local-variable predicate.
ace88aa2
RW
4727 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4728 bibtex-set-dialect.
4729 (bibtex-mode-map): Define menu for each dialect.
4730 (bibtex-entry): Fix docstring.
4731
93376c5b
CY
47322012-01-28 Chong Yidong <cyd@gnu.org>
4733
4734 * eshell/esh-arg.el (eshell-quote-argument): New function.
4735
4736 * eshell/esh-ext.el (eshell-invoke-batch-file):
4737 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4738 first arg to eshell-parse-command (Bug#10523).
4739
4372494f
DA
47402012-01-28 Drew Adams <drew.adams@oracle.com>
4741
4742 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4743 `default-directory' is non-nil.
4744
4d4ec1f8
EZ
47452012-01-28 Eli Zaretskii <eliz@gnu.org>
4746
4747 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4748 line that displays system-configuration-options. (Bug#9924)
4749
7c188927
DA
47502012-01-28 Drew Adams <drew.adams@oracle.com>
4751
4752 * descr-text.el (describe-char): Show information about POS, in
4753 addition to information about the character at POS. Improve and
4754 update the doc string. Change "code point" to "code point in
4755 charset", to avoid confusion with the character's Unicode code
4756 point shown above that. (Bug#10129)
4757
e0da685a
EZ
47582012-01-28 Eli Zaretskii <eliz@gnu.org>
4759
4760 * descr-text.el (describe-char): Show the raw character, not only
4761 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4762 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4763 for the reasons.
4764
70550acf
PH
47652012-01-28 Phil Hagelberg <phil@hagelb.org>
4766
eb864a71
LM
4767 * emacs-lisp/package.el (package-install):
4768 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4769
0ce8e868
CY
47702012-01-28 Chong Yidong <cyd@gnu.org>
4771
cb882333
JB
4772 * emacs-lisp/package.el (package-maybe-load-descriptor):
4773 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4774 (package-maybe-load-descriptor): Use it.
4775 (package-download-transaction): Fully load required packages
4776 inside the loop, so that `require' calls work (Bug#10593).
4777 (package-install): No need to call package-initialize now.
4778
2e7f3bea
CY
47792012-01-28 Chong Yidong <cyd@gnu.org>
4780
6e9bad14
CY
4781 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4782
f823b8ca
CY
4783 * tooltip.el (tooltip-mode): Doc fix.
4784 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4785
2680c309
CY
4786 * frame.el (set-cursor-color): Doc fix (Bug#352).
4787
d7a9e63b
CY
4788 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4789 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4790
2e7f3bea
CY
4791 * cus-edit.el (custom-buffer-create-internal): Fix search button
4792 action (Bug#10542).
2ae01800 4793 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4794
fc4f7a23
EW
47952012-01-27 Eduard Wiebe <usenet@pusto.de>
4796
4797 * dired.el (dired-mark-files-regexp):
4798 Include any subdirectory components. (Bug#10445)
4799
7dd37071
ML
48002012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4801
4802 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4803 Handle [host]:port syntax. (Bug#10533)
4804
a268160b
AH
48052012-01-27 Alex Harsanyi <harsanyi@mac.com>
4806
4807 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4808
e43273ef
GM
48092012-01-26 Glenn Morris <rgm@gnu.org>
4810
4811 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4812 * term.el (term-raw-escape-map): Use Control-X-prefix.
4813 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4814
1edf595d
MR
48152012-01-25 Martin Rudalics <rudalics@gmx.at>
4816
4817 * window.el (window-state-get, window--state-get-1): Don't deal
4818 with fixed-sizeness of windows. Simplify code.
4819
fa8eafef
JC
48202012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4821
6df6ae42
JB
4822 * window.el (window--state-get-1, window--state-put-2):
4823 Don't save and restore the mark.
fa8eafef 4824
0b21c100
CY
48252012-01-25 Chong Yidong <cyd@gnu.org>
4826
4827 * custom.el (custom-variable-p): Doc fix.
4828
5ae1a6c8
GM
48292012-01-25 Glenn Morris <rgm@gnu.org>
4830
40047858
GM
4831 * dired.el (dired-goto-file): Handle some of the more common
4832 characters that `ls -b' escapes. (Bug#10596)
4833
5ddce96c
GM
4834 * progmodes/compile.el (compilation-next-error-function):
4835 Respect compilation-first-column in the "*compilation*" buffer.
4836 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4837
5ae1a6c8
GM
4838 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4839
b559f1a9
GM
48402012-01-24 Glenn Morris <rgm@gnu.org>
4841
4842 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4843
6725d21a
JD
48442012-01-24 Julien Danjou <julien@danjou.info>
4845
4846 * color.el (color-rgb-to-hsl): Fix value computing.
4847 (color-hue-to-rgb): New function.
4848 (color-hsl-to-rgb): New function.
4849 (color-clamp, color-saturate-hsl, color-saturate-name)
4850 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4851 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4852
70df4bbe
GM
48532012-01-24 Glenn Morris <rgm@gnu.org>
4854
4855 * vc/vc-rcs.el (vc-rcs-create-tag):
4856 * vc/vc-sccs.el (vc-sccs-create-tag):
4857 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4858
802a2ae2
ML
48592012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4860
4861 * eshell/esh-util.el (eshell-read-hosts-file):
4862 Skip comment lines. (Bug#10549)
4863
d7128bb1
ML
4864 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4865
d1a5c3b4
JB
48662012-01-23 Juanma Barranquero <lekktu@gmail.com>
4867
2724d9c7
JB
4868 * subr.el (display-delayed-warnings): Doc fix.
4869 (collapse-delayed-warnings): New function to collapse identical
4870 adjacent warnings.
4871 (delayed-warnings-hook): Add it.
d1a5c3b4 4872
a5509865
MA
48732012-01-22 Michael Albinus <michael.albinus@gmx.de>
4874
4875 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4876
4877 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4878 properties, when "login-as" is set.
4879
4880 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4881 (tramp-default-user-alist): Don't add "pscp".
4882 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4883 property "login-as", if set. (Bug#10530)
4884
cc6d5805
MA
48852012-01-21 Michael Albinus <michael.albinus@gmx.de>
4886
4887 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4888 "plink1" and "psftp". (Bug#10530)
4889
48902012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4891
4892 * international/mule-cmds.el (prefer-coding-system): Show a
4893 warning message if the default value of file-name-coding-system
4894 was not changed.
4895
f0960428
JC
48962012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4897
cb882333
JB
4898 * windmove.el (windmove-reference-loc):
4899 Fix windmove-reference-loc miscalculation.
f0960428 4900
dd6f2a63
JB
49012012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4902
4903 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4904 default unit.
4905
7b447e9b
GM
49062012-01-21 Glenn Morris <rgm@gnu.org>
4907
117a9ea1
GM
4908 * international/mule.el (auto-coding-alist): Add .tbz.
4909
7b447e9b
GM
4910 * files.el (local-enable-local-variables): Doc fix.
4911 (inhibit-local-variables-regexps): Rename from
4912 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4913 Doc fix. Add some extensions from auto-coding-alist.
4914 (inhibit-local-variables-suffixes):
4915 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4916 (inhibit-local-variables-p):
4917 New function, extracted from set-auto-mode-1.
4918 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4919 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4920 (hack-local-variables): Doc fix. Make the mode-only case
4921 respect enable-local-variables and friends.
4922 Respect inhibit-local-variables-regexps for file-locals, but
4923 not for directory-locals.
4924 (set-visited-file-name):
4925 Take account of inhibit-local-variables-regexps.
4926 Whether it applies may change as the file name is changed.
4927 * jka-cmpr-hook.el (jka-compr-install):
4928 * jka-compr.el (jka-compr-uninstall):
4929 Update for inhibit-first-line-modes-suffixes name change.
4930
dd6e3cdd
MR
49312012-01-20 Martin Rudalics <rudalics@gmx.at>
4932
4933 * help-macro.el (make-help-screen): Temporarily restore original
4934 binding for minor-mode-map-alist (Bug#10454).
4935
0d0deb38
JD
49362012-01-19 Julien Danjou <julien@danjou.info>
4937
4938 * color.el (color-name-to-rgb): Use the white color to find the max
4939 color component value and return correctly computed values.
4940 (color-name-to-rgb): Add missing float conversion for max value.
4941
34a02f46
MR
49422012-01-19 Martin Rudalics <rudalics@gmx.at>
4943
4944 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4945 special state value for window-persistent-parameters.
4946 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4947 (window--state-put-2): Reset all window parameters to nil before
4948 assigning values of persistent parameters.
4949
606c44c4
AM
49502012-01-18 Alan Mackenzie <acm@muc.de>
4951
4952 Eliminate sluggishness and hangs in fontification of "semicolon
4953 deserts".
4954
cb882333
JB
4955 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4956 Change value 10000 -> 3000.
606c44c4
AM
4957 (c-state-safe-place): Reformulate so it doesn't stack up an
4958 infinite number of wrong entries in c-state-nonlit-pos-cache.
4959 (c-determine-limit-get-base, c-determine-limit): New functions to
4960 determine backward search limits disregarding literals.
4961 (c-find-decl-spots): Amend commenting.
4962 (c-cheap-inside-bracelist-p): New function which detects "={".
4963
4964 * progmodes/cc-fonts.el
4965 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4966 backward search.
4967 (c-font-lock-declarations): Fix an occurrence of point being
4968 undefined. Check additionally for point being in a bracelist or
4969 near a macro invocation without a semicolon so as to avoid a
4970 fruitless time consuming search for a declarator. Give a more
4971 precise search limit for declarators using the new
4972 c-determine-limit.
4973
f3860cea
GM
49742012-01-18 Glenn Morris <rgm@gnu.org>
4975
4976 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4977 (set-auto-mode): Doc fixes.
4978
1db03b16
GM
49792012-01-17 Glenn Morris <rgm@gnu.org>
4980
0e6038be
GM
4981 * isearch.el (search-nonincremental-instead): Fix doc typo.
4982
1db03b16
GM
4983 * dired.el (dired-insert-directory): Handle newlines in directory name.
4984 (dired-build-subdir-alist): Unescape newlines in directory name.
4985
4cb0aa75
MA
49862012-01-17 Michael Albinus <michael.albinus@gmx.de>
4987
4988 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4989 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4990 (tramp-action-terminal): Use it. (Bug#10530)
4991
1d00653d
SM
49922012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4995
6a6ee00d
MR
49962012-01-16 Martin Rudalics <rudalics@gmx.at>
4997
4998 * window.el (window-state-ignored-parameters): Remove variable.
4999 (window--state-get-1): Rename argument MARKERS to IGNORE.
5000 Handle persistent window parameters. Make copy of clone-of
5001 parameter only if requested. (Bug#10348)
5002 (window--state-put-2): Install a window parameter only if it has
5003 a non-nil value or an existing parameter shall be overwritten.
5004
97912def
MA
50052012-01-15 Michael Albinus <michael.albinus@gmx.de>
5006
5007 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5008
688070a5
EZ
50092012-01-14 Eli Zaretskii <eliz@gnu.org>
5010
5011 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5012 don't pass the (nil) value of `upnode' to string-match.
5013
301afadc
CY
50142012-01-14 Chong Yidong <cyd@gnu.org>
5015
5016 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5017 Fix values recognized by the cursorBlink resource.
301afadc 5018
9e5788aa
PE
50192012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5020
5021 * epg.el (epg--make-temp-file): Avoid permission race condition
5022 when running on old Emacs versions (bug#10403).
5023
3cdb7f5a
GM
50242012-01-14 Glenn Morris <rgm@gnu.org>
5025
5026 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5027
8c82b1b4
AM
50282012-01-13 Alan Mackenzie <acm@muc.de>
5029
5030 Fix filling for when filladapt mode is enabled.
5031
5032 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5033 c-mask-paragraph, pass in `fill-paragraph' rather than
5034 `fill-region-as-paragraph'. (This is a reversion of a previous
5035 change.)
eb864a71
LM
5036 * progmodes/cc-mode.el (c-basic-common-init):
5037 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5038
e517eda4
GM
50392012-01-13 Glenn Morris <rgm@gnu.org>
5040
1498536e
GM
5041 * dired.el (dired-switches-escape-p): New function.
5042 (dired-insert-directory): Use dired-switches-escape-p.
5043 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5044
e517eda4
GM
5045 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5046
328f984d
GM
50472012-01-12 Glenn Morris <rgm@gnu.org>
5048
5049 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5050 changes in adaptive-fill-regexp. (Bug#10276)
5051
2cc769a8
AM
50522012-01-11 Alan Mackenzie <acm@muc.de>
5053
5054 Fix Emacs bug #10463 - put `widen's around the critical spots.
5055
1d00653d 5056 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5057 widen around each invocation of c-state-pp-to-literal. Remove an
5058 unused let variable.
5059
e52c37fa
GM
50602012-01-11 Glenn Morris <rgm@gnu.org>
5061
5062 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5063 Doc fix.
e52c37fa 5064
96f8741e
CY
50652012-01-10 Chong Yidong <cyd@gnu.org>
5066
1d00653d
SM
5067 * net/network-stream.el (network-stream-open-starttls):
5068 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5069 response to the capability command.
5070
b09a806e
GM
50712012-01-10 Glenn Morris <rgm@gnu.org>
5072
5073 * mail/unrmail.el (unrmail): Tweak previous change.
5074
7655cb66
CY
50752012-01-09 Chong Yidong <cyd@gnu.org>
5076
5077 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5078
9d5a8f0b
AM
50792012-01-08 Alan Mackenzie <acm@muc.de>
5080
5081 Optimise font locking in long enum definitions.
5082
5083 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5084 arm to a cond form to handle enums.
5085 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5086 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5087
9a0115ab 50882012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5089
5090 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5091 (Bug#10401)
6bb72cbd 5092
f186bb95
LMI
50932012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5094
29232a68
LMI
5095 * faces.el (set-face-attribute): Clarify the meaning of the nil
5096 frame (bug#10294).
5097
4e5d086d
LMI
5098 * subr.el (with-selected-frame): Mention that the selected frame
5099 is restored (bug#9980).
5100
8e66aebe
LMI
5101 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5102 (bug#9759).
5103
cd394be1 5104 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5105 (password-read): Don't autoload unused function.
5106
adf4e762
JB
51072012-01-07 Juanma Barranquero <lekktu@gmail.com>
5108
5109 * progmodes/which-func.el (which-func-mode): Turn into a
5110 non-interactive function and mark as obsolete (bug#10428).
5111
89bd9ccd
CY
51122012-01-06 Chong Yidong <cyd@gnu.org>
5113
5114 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5115 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5116 functions, along with 1 and -1.
5117
4afee9d5
EZ
51182012-01-06 Eli Zaretskii <eliz@gnu.org>
5119
5120 * time.el (display-time-load-average)
5121 (display-time-default-load-average): Doc fixes. See the thread
5122 starting at
5123 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5124 for the details.
5125
536aea70
GM
51262012-01-06 Glenn Morris <rgm@gnu.org>
5127
665ae865
GM
5128 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5129 has no messages. (Bug#10377)
5130
c869783d
GM
5131 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5132 than Info-edit. (Bug#10385)
5133
2bb4227e
GM
5134 * time.el (display-time-load-average, display-time-next-load-average):
5135 Doc fixes.
5136
7d5944b9
GM
5137 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5138 local setting of buffer-read-only to the input buffer. (Bug#10419)
5139
536aea70
GM
5140 * calendar/calendar.el (calendar-mode):
5141 Locally set scroll-margin to 0. (Bug#10379)
5142
7dccca16
UM
51432012-01-06 Ulrich Mueller <ulm@gentoo.org>
5144
5145 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5146
afbb7930
GM
51472012-01-05 Glenn Morris <rgm@gnu.org>
5148
5149 * eshell/em-unix.el (diff-no-select): Autoload it.
5150 (eshell/diff): Use diff-no-select. (Bug#10420)
5151
04482335
CY
51522012-01-05 Chong Yidong <cyd@gnu.org>
5153
7baca3bc
CY
5154 * shell.el (shell-dynamic-complete-functions): Revert last change.
5155 (shell-command-completion-function): New function.
5156 (shell-completion-vars): Use it to implement
5157 shell-completion-execonly (Bug#10417).
5158
04482335
CY
5159 * custom.el (enable-theme): Don't set custom-safe-themes.
5160
1d00653d
SM
5161 * cus-theme.el (custom-theme-merge-theme):
5162 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5163
bb5aa5d6
MM
51642012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5165
5166 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5167 first prompt in `sql-interacive-mode'.
5168 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5169 keywords.
6df6ae42 5170 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5171 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5172 context of original buffer. Invoke `sql-login-hook'.
5173
a7183d7c
EZ
51742012-01-04 Eli Zaretskii <eliz@gnu.org>
5175
5176 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5177 letters in cite-prefix.
5178
a1eacd1e
LMI
51792012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5180
5181 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5182
787cdb34
CY
51832012-01-03 Chong Yidong <cyd@gnu.org>
5184
1d00653d
SM
5185 * shell.el (shell-dynamic-complete-functions):
5186 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5187 comint-filename-completion first (Bug#10417).
5188
30710442
RS
51892012-01-02 Richard Stallman <rms@gnu.org>
5190
5191 * battery.el (battery-status-function):
5192 Detect when to use battery-yeeloong-sysfs.
5193 (battery-echo-area-format): Add string for Yeeloong.
5194 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5195 (battery-yeeloong-sysfs): New function.
5196
f75bfc33
CY
51972012-01-02 Chong Yidong <cyd@gnu.org>
5198
5199 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5200 (dirtrack): Merge code for handling relative filenames in prompt
5201 from shell-dir-cookie-watcher.
5202 (dirtrack-debug-message): New arg to avoid excess format calls.
5203
5204 * shell.el (shell-dir-cookie-re): Variable deleted.
5205 (shell-dir-cookie-watcher): Function deleted.
5206 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5207 with dirtrack-mode.
5208
651e947e
EZ
52092012-01-01 Eli Zaretskii <eliz@gnu.org>
5210
1d00653d
SM
5211 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5212 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5213 libgnutls-26.dll.
5214
94d4c7dc
AS
52152011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5216
5217 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5218
8d43f3cd
EZ
52192011-12-31 Eli Zaretskii <eliz@gnu.org>
5220
5221 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5222 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5223
98c8795a
MA
52242011-12-29 Michael Albinus <michael.albinus@gmx.de>
5225
5226 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5227 also for alternative shells.
5228 (tramp-open-connection-setup-interactive-shell): Check, whether
5229 the shell is a busybox.
5230 (tramp-send-command): Don't suppress multiple prompts for
5231 busyboxes, it hurts.
5232
51281b32
CY
52332011-12-28 Chong Yidong <cyd@gnu.org>
5234
5235 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5236 (gdb-get-source-file): Move mode line update to
5237 gdb-get-source-file (Bug#10087).
5238
2170cb53
CY
52392011-12-25 Chong Yidong <cyd@gnu.org>
5240
5241 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5242 gud-gdb-marker-filter without taking it as an argument.
5243 (gud-gdb-run-command-fetch-lines): Caller changed.
5244 (gud-gdb-completion-function): New variable.
5245 (gud-gdb-completion-at-point): Use it.
5246 (gud-gdb-completions-1): Split from gud-gdb-completions.
5247
5248 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5249 function as separate arguments.
5250 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5251 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5252 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5253 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5254 (gdb-stopped, def-gdb-auto-update-trigger)
5255 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5256 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5257 Callers changed.
2170cb53
CY
5258 (gud-gdbmi-completions): New function.
5259 (gdb): Use it for generating the completion table.
5260
be8b11bb
AM
52612011-12-24 Alan Mackenzie <acm@muc.de>
5262
5263 Introduce a mechanism to widen the region used in context font
1d00653d 5264 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5265
1d00653d
SM
5266 * progmodes/cc-langs.el (c-before-font-lock-functions):
5267 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5268 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5269 functions to be run just before context (etc.) font locking.
5270
5271 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5272 New, functionality extracted from
be8b11bb 5273 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5274 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5275 (c-after-change): Set c-in-after-change-fontification.
5276 (c-set-fl-decl-start): Rejig its interface, so it can be called
5277 from both after-change and context fontifying.
b81d40f0
JB
5278 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5279 New functions.
5280 (c-standard-font-lock-fontify-region-function): New variable.
5281 (c-font-lock-fontify-region): New function.
be8b11bb 5282
341cf6ac
JL
52832011-12-24 Juri Linkov <juri@jurta.org>
5284
5285 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5286 (Bug#10348)
5287
bffcee0a
MA
52882011-12-23 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5291 existence of source file. (Bug#10325)
5292
cb5e207c
AM
52932011-12-23 Alan Mackenzie <acm@muc.de>
5294
5295 Fix unstable fontification inside templates.
5296
b81d40f0
JB
5297 * progmodes/cc-langs.el (c-before-font-lock-functions):
5298 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5299 additionally has c-set-fl-decl-start. The other languages (apart
5300 from AWK) have that as a single entry.
5301
b81d40f0
JB
5302 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5303 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5304 c-set-fl-decl-start.
5305
b81d40f0
JB
5306 * progmodes/cc-mode.el (c-common-init, c-after-change):
5307 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5308 (c-set-fl-decl-start): New function, extracted from
5309 c-font-lock-enclosing-decls and enhanced.
5310
60ff536c
JB
53112011-12-23 Juanma Barranquero <lekktu@gmail.com>
5312
5313 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5314
1c4757d6
JL
53152011-12-22 Juri Linkov <juri@jurta.org>
5316
5317 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5318
d031f2c7
CY
53192011-12-22 Chong Yidong <cyd@gnu.org>
5320
5321 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5322
bace743a
DA
53232011-12-21 Drew Adams <drew.adams@oracle.com>
5324
5325 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5326
728a1f2b
JC
53272011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5328
5329 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5330
0d373f73
TZ
53312011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5332
fec0aaa4
TZ
5333 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5334 highlighting and support. Fix up comments for capitalization.
5335 (cfengine-mode-debug): New var.
5336 (cfengine3-mode): Change the modeline indicator to "CFE3".
5337 (cfengine3-font-lock-keywords): Improve defun highlighting.
5338 (cfengine2-actions): Rename from `cfengine-actions'.
5339 (cfengine2-font-lock-keywords): Rename from
5340 `cfengine-font-lock-keywords'.
5341 (cfengine2-imenu-expression): Rename from
5342 `cfengine-imenu-expression'.
5343 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5344 (cfengine2-beginning-of-defun): Rename from
5345 `cfengine-beginning-of-defun'.
5346 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5347 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5348 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5349 modeline indicator to "CFE2".
5350 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5351 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5352
bc86f573
CY
53532011-12-21 Chong Yidong <cyd@gnu.org>
5354
5355 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5356 filename argument.
5357
d45ba96b
MR
53582011-12-20 Martin Rudalics <rudalics@gmx.at>
5359
5360 * window.el (window-normalize-buffer-to-display): Remove.
5361 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5362
a6198c90
CY
53632011-12-19 Chong Yidong <cyd@gnu.org>
5364
5365 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5366 Don't signal an error in a predicate function; return non-nil.
5367 (vc-dir-mark-file): Move the error here.
5368 (vc-dir-mark-unmark): If acting on the region, keep going if one
5369 of the entries cannot be marked/unmarked.
5370 (vc-dir-mark-all-files): If current entry is a directory, mark
5371 only child files, as documented.
5372
34c5fb55
VB
53732011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5374
5375 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5376 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5377 addition.
5378
c803b2b7
JD
53792011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5380
5381 * term/ns-win.el (ns-get-selection-internal)
5382 (ns-store-selection-internal): Declare.
1154d12e
JB
5383 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5384 Declare as obsolete.
5385 (ns-get-pasteboard, ns-paste-secondary):
5386 Use ns-get-selection-internal.
5387 (ns-set-pasteboard, ns-copy-including-secondary):
5388 Use ns-store-selection-internal.
c803b2b7 5389
9cff91f8 53902011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5391
5392 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5393 (vc-deduce-fileset): Doc fix.
99a289d9 5394
f16c898a
AS
53952011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5396
5397 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5398
763237c4
SS
53992011-12-13 Sam Steingold <sds@gnu.org>
5400
5401 * man.el (Man-getpage-in-background): When running under a
5402 window-system, ignore $MANWIDTH and $COLUMNS.
5403
5fc1c122
KH
54042011-12-15 Kenichi Handa <handa@m17n.org>
5405
5406 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5407 (setup-ethiopic-environment-internal): Comment out key-binding for
5408 ethio-toggle-punctuation.
5409
13d49cbb
AM
54102011-12-13 Alan Mackenzie <acm@muc.de>
5411
898169a2
AM
5412 Add the switch statement to AWK Mode.
5413
7a71b18d 5414 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5415 "default" to the keywords regexp.
5416
7a71b18d 5417 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5418 expression as the rest.
1d00653d
SM
5419 (c-nonlabel-token-key): Allow string literals for AWK.
5420 Refactor for the other modes.
898169a2 5421
13d49cbb 5422 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5423 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5424 routines. Limit backward searching in c-font-lock-enclosing.decl.
5425
5426 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5427 pp-state and literal type in addition to the limits.
1d00653d 5428 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5429 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5430 (c-slow-in-literal, c-fast-in-literal): Remove.
5431 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5432
5433 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5434 being in a literal. Add a limit for backward searching.
5435
5436 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5437 c-slow-in-literal.
5438
15e0efc7
SM
54392011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5442
454592a6
MR
54432011-12-13 Martin Rudalics <rudalics@gmx.at>
5444
5445 * window.el (delete-other-windows): Use correct frame in call to
5446 window-with-parameter.
5447
87393f26
DP
54482011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5449
5450 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5451 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5452 (makefile-gmake-statements, makefile-makepp-statements):
5453 Use it and add new makepp keywords.
5454 (makefile-makepp-font-lock-keywords): Add new patterns.
5455 (makefile-match-function-end): Match new [...] and [[...]].
5456
11636b22
JB
54572011-12-11 Juanma Barranquero <lekktu@gmail.com>
5458
5459 * ses.el (ses-call-printer-return, ses-cell-property-get)
5460 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5461 (ses-create-cell-variable, ses-reset-header-string)
5462 (ses-cell-set-formula, ses-repair-cell-reference-all)
5463 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5464 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5465 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5466 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5467 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5468 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5469 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5470 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5471 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5472 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5473 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5474 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5475
cf018193
VB
54762011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5477
5478 * ses.el: The overall change is to add cell renaming, that is
5479 setting fancy names for cell symbols other than name matching
5480 "\\`[A-Z]+[0-9]+\\'" regexp .
5481 (ses-create-cell-variable): New defun.
5482 (ses-relocate-formula): Relocate formulas only for cells the
5483 symbols of which are not renamed, i.e. symbols whose names do not
5484 match regexp "\\`[A-Z]+[0-9]+\\'".
5485 (ses-relocate-all): Relocate values only for cells the symbols of
5486 which are not renamed.
5487 (ses-load): Create cells variables as the (ses-cell ...) are read,
5488 in order to check row col consistency with cell symbol name only
5489 for cells that are not renamed.
5490 (ses-replace-name-in-formula): New defun.
5491 (ses-rename-cell): New defun.
5492
ee957461
CY
54932011-12-11 Chong Yidong <cyd@gnu.org>
5494
5495 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5496 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5497
9a9e9ef0
MR
54982011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5499
5500 * window.el (other-window): Fix docstring.
5501
92a8eba5
EZ
55022011-12-10 Eli Zaretskii <eliz@gnu.org>
5503
5504 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5505 `from' or `to' address before taking its substring.
5506 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5507 encoded name is chopped in the middle of the encoded string, and
5508 thus displayed encoded.
5509
e152e577
JB
55102011-12-10 Juanma Barranquero <lekktu@gmail.com>
5511
5512 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5513
e5d84bfe
EZ
55142011-12-10 Eli Zaretskii <eliz@gnu.org>
5515
5516 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5517 to use texinfo-update-node and commands that call it if the
5518 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5519 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5520 (texinfo-all-menus-update, texinfo-master-menu)
5521 (texinfo-update-node, texinfo-every-node-update)
5522 (texinfo-multiple-files-update): Doc fix. Warn against updating
5523 all the @node lines.
5524 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5525 argument is numeric. Explain better in the doc string what the
5526 function really does.
5527 (texinfo-insert-master-menu-list): Improve the error message
5528 displayed if there's no menu in the Top node.
5529 (Bug#2975) See also this thread:
e5d84bfe
EZ
5530 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5531
1d84e9bb
MG
55322011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5533
5534 * speedbar.el (speedbar-supported-extension-expressions):
5535 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5536
382c953b
JB
55372011-12-09 Juanma Barranquero <lekktu@gmail.com>
5538
5539 * printing.el (pr-mode-alist):
5540 * simple.el (filter-buffer-substring-functions)
5541 (completion-list-insert-choice-function):
5542 * window.el (window-with-parameter, window-atom-root)
5543 (window-sides-slots, window-size-fixed, window-min-delta)
5544 (window-max-delta, window--resize-mini-window)
5545 (window--resize-child-windows-normal, window-tree)
5546 (delete-other-windows, quit-window, split-window)
5547 (display-buffer-record-window, special-display-buffer-names)
5548 (special-display-regexps, special-display-popup-frame)
5549 (same-window-p, split-window-sensibly)
5550 (display-buffer-overriding-action, display-buffer-alist)
5551 (display-buffer-base-action, display-buffer, switch-to-buffer)
5552 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5553 (fit-window-to-buffer, recenter-positions)
5554 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5555 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5556 and remove unneeded backslashes in docstrings.
5557
39c9faef
SM
55582011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5559
98449af8
SM
5560 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5561
39c9faef
SM
5562 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5563 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5564 end in ".mk".
5565 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5566 when reading the makefile (bug#10116).
5567
86ed9fdc
SM
55682011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5571 (bug#10116).
5572
5580f89d
GM
55732011-12-06 Glenn Morris <rgm@gnu.org>
5574
5575 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5576
28d3917c
CY
55772011-12-06 Chong Yidong <cyd@gnu.org>
5578
5579 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5580
a98edce9
JB
55812011-12-06 Juanma Barranquero <lekktu@gmail.com>
5582
5583 * textmodes/table.el (table-shorten-cell): Fix typo.
5584
e65adfac
CG
55852011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5586
5587 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5588
71cc0b74
EZ
55892011-12-05 Eli Zaretskii <eliz@gnu.org>
5590
5591 * descr-text.el (describe-char): Fix display of strong
5592 right-to-left characters and directional embeddings and overrides.
5593
5594 * simple.el (what-cursor-position): Fix display of codepoints of
5595 strong right-to-left characters.
5596
315bc30d
CY
55972011-12-05 Chong Yidong <cyd@gnu.org>
5598
5599 * faces.el (read-color): Doc fix.
5600
58a70b94
GM
56012011-12-05 Glenn Morris <rgm@gnu.org>
5602
5603 * align.el (align--set-marker): Add doc-string.
5604 Don't try to move something that is not a marker. (Bug#10216)
5605
5158face
GM
56062011-12-04 Glenn Morris <rgm@gnu.org>
5607
5608 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5609 overly zealous deletion of trailing whitespace.
5610
520fca41
JB
56112011-12-04 Juanma Barranquero <lekktu@gmail.com>
5612
5613 * server.el (server-delete-client): On Windows, do not try to delete
5614 the only terminal.
5615 (server-process-filter): On Windows, treat requests for a tty frame as
5616 if they were for a GUI frame if the running server is in GUI mode.
5617
5e605a2e
GM
56182011-12-03 Glenn Morris <rgm@gnu.org>
5619
5620 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5621
5c3fe83f
SM
56222011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5623
6f5e57e7
SM
5624 * electric.el: Streamline electric-indent's hook.
5625 (electric-indent-chars): Revert to simple list.
5626 (electric-indent-functions): New var.
5627 (electric-indent-post-self-insert-function): Use it.
5628
5c3fe83f
SM
5629 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5630 there's no inferior buffer (bug#10196).
5631 (prolog-consult-compile): Don't use toggle-read-only.
5632
6bdac736
MA
56332011-12-02 Michael Albinus <michael.albinus@gmx.de>
5634
5635 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5636 interrupt. (Bug#10187)
5637
6131ba7f
SM
56382011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5639
99c79fee
SM
5640 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5641 (bug#9160).
5642
6131ba7f
SM
5643 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5644 (bug#10191).
5645
cb0a02ea
JL
56462011-12-02 Juri Linkov <juri@jurta.org>
5647
5648 * info.el (Info-search): Display "end of manual" when Isearch
5649 reaches the end of single-file Info manual. (Bug#9918)
5650
66e0570c
EZ
56512011-12-02 Eli Zaretskii <eliz@gnu.org>
5652
5653 * isearch.el (isearch-message-prefix): Run the input method part
5654 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5655
02b16839
JL
56562011-12-02 Juri Linkov <juri@jurta.org>
5657
5658 * isearch.el (isearch-occur): Use `word-search-regexp' for
5659 `isearch-word'.
5660 (isearch-search-and-update): Add condition for `isearch-word' and
5661 call `word-search-regexp'. (Bug#10145)
5662
0b950688
GM
56632011-12-01 Glenn Morris <rgm@gnu.org>
5664
5665 * eshell/em-hist.el (eshell-hist-initialize):
5666 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5667 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5668
9505c3c7
SM
56692011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5672
1bbe96b2 56732011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5674
a1beca85
SM
5675 * progmodes/verilog-mode.el (verilog-pretty-expr):
5676 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5677 verilog, such as += *= and the like.
5678 (verilog-assignment-operator-re): Regular expression to find the
5679 assigment operator in a verilog assignment.
5680 (verilog-assignment-operation-re): Regular expression to find an
5681 assignment statement for pretty-expr.
5682 (verilog-in-attribute-p): Query returns true if point is in an
5683 attribute context; used to skip these for expression line up from
5684 pretty-expr.
5685 (verilog-in-parameter-p): Query returns true if point is in an
5686 parameter definition context; used to skip these for expression
5687 line up from pretty-expr.
5688 (verilog-in-parenthesis-p): Query returns true if point is in a
5689 parenthetical expression, specifically ( ) but not [ ] or { };
5690 used by pretty-expr.
5691 (verilog-just-one-space): If there is no space, don't add one.
5692 (verilog-get-lineup-indent-2): Specifically skip just attribute
5693 contexts for expression lineup, rather than skipping all
5694 parenthetical expressions.
5695 (verilog-calculate-indent): Fix comment, and fix indent.
5696 (verilog-do-indent): Indent declarations in lists (suggested by
5697 Joachim Lechner).
5698 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5699 skeleton items.
5700 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5701 by Alain Mellan).
5702
1bbe96b2 57032011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5704
5705 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5706 parameters with embedded comments. Reported by Ray Stevens.
5707 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5708 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5709 Reported by Tim Holt.
5710 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5711 instantiated by upper module causing wrong expansion until AUTOed a
5712 second time. Reported by K C Buckenmaier.
5713 (verilog-diff-auto): Fix showing .* as a difference when
5714 `verilog-auto-star-save' off. Reported by Dan Dever.
5715 (verilog-auto-reset, verilog-read-always-signals)
5716 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5717 temporary signals in reset list if
5718 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5719 style to each signal's assignment type, bug381.
5720 Reported by Thomas Esposito.
6288f0ca
WS
5721 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5722 (verilog-uvm-statement-re): Support UVM indentation and
5723 highlighting, with old OVM keywords only.
a1beca85 5724 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5725 Support AUTOTIEOFF creating non-wire data types.
5726 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5727 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5728 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5729 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5730 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5731 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5732 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5733 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5734 non-numeric vector width. Reported by Alex Reed.
5735 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5736 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5737 (verilog-auto-delete-trailing-whitespace):
5738 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5739 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5740 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5741 Fix verilog-scan-cache corruption when running user AUTO expansion
5742 hooks that call indentation routines.
5743 (verilog-simplify-range-expression): Fix typo ignoring lower case
5744 identifiers.
5745 (verilog-delete-auto): Fix delete-autos to also remove user created
5746 automatics, as long as they start with AUTO.
5747 (verilog-batch-diff-auto, verilog-diff-auto)
5748 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5749 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5750 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5751 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5752 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5753 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5754 is disabled and its cache will get corrupt, causing AUTOS not to
5755 expand. Instead use only -quick functions.
5756 (verilog-scan-region): Fix scanning over escaped quotes.
5757 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5758 (verilog-re-search-backward-quick)
5759 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5760 related functions now ignore strings, to fix misparsing of strings
5761 with magic comments embedded in them.
a1beca85
SM
5762 (verilog-read-auto-template):
5763 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5764 Reported by Brad Dobbie.
5765 (verilog-read-auto-template):
5766 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5767 Reported by Brad Dobbie.
6288f0ca
WS
5768 (verilog-auto-inst, verilog-auto-inst-param)
5769 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5770 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5771 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5772 debugging templates without merge conflicts, bug357.
5773 Reported by Brad Dobbie.
5774 (verilog-read-auto-template):
5775 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5776 Reported by Brad Dobbie.
5777 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5778 abbrevs so user won't be asked to save.
5779 (verilog-read-auto-lisp-present): Fix to start at beginning of
5780 buffer in case called outside of verilog-auto.
5781 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5782 to "X-2". Reported by Matthew Myers.
5783 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5784 all inputs from module templates. Reported by Leith Johnson.
5785 (verilog-module-inside-filename-p): Fix locating programs as with
5786 modules.
5787 (verilog-auto-inst-port): Fix vl-width expressions when using
5788 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5789 (verilog-decls-get-regs, verilog-decls-get-signals,
5790 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5791 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5792 verilog-read-decls): Combine reg and wire structures into one var
5793 structure to represent SystemVerilog concepts.
5794 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5795 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5796 (verilog-auto-wire-type, verilog-insert-definition):
5797 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5798 SystemVerilog "logic" keyword instead of "wire"/"reg".
5799 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5800 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5801 ifdef or generate if so there's not a driver conflict).
5802 Reported by Matthew Myers.
5803 (verilog-auto-declare-nettype, verilog-insert-definition):
5804 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5805 `default_nettype none. Reported by Julian Gorfajn.
5806 (verilog-read-always-signals-recurse, verilog-read-decls)
5807 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5808 malformed end statement, bug325. Reported by Joshua Wise and
5809 Andrew Drake.
5810 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5811 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5812 when expanding .* in interfaces, bug320.
5813 Reported by Pierre-David Pfister.
6288f0ca 5814 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5815 name and open parenthesis, bug317.
5816 Reported by Pierre-David Pfister.
6288f0ca
WS
5817 (verilog-simplify-range-expression): Fix simplification of
5818 multiplications inside AUTOWIRE connections, bug303.
5819 (verilog-auto-inst-port): Support parameter expansion in
5820 multidimensional arrays.
5821 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5822 after "assert property". Reported by Julian Gorfajn.
5823 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5824 with multiplication, bug303.
5825 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5826 Reported by Jan Frode Lonnum.
5827
1bbe96b2
GM
58282011-11-30 Juanma Barranquero <lekktu@gmail.com>
5829
5830 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5831 (hfy-shell-file-name, hfy-shell):
5832 * international/fontset.el (x-decompose-font-name): Fix typos.
5833
58342011-11-29 Ken Brown <kbrown@cornell.edu>
5835
5836 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5837 (gdb-version): Remove defvar.
5838 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5839 (gdb-gud-context-command, gdb-non-stop-handler)
5840 (gdb-current-context-command, gdb-stopped): Use it.
5841 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5842 (gdb-non-stop-handler): Don't enable pretty-printing here.
5843 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5844 non-stop mode. Use the following.
5845 (gdb-check-target-async): New defun.
5846 (gud-watch, gdb-stopped): Fix whitespace.
5847 (gdb-get-source-file): Don't try to display the source file if
5848 `gdb-main-file' is nil.
5849
58502011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * align.el: Try to generate fewer markers (bug#10047).
5853 (align--set-marker): New macro.
5854 (align-region): Use it.
5855
c935221f
SM
58562011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5859
e70b5064
CY
58602011-11-29 Chong Yidong <cyd@gnu.org>
5861
5862 * indent.el (indent-for-tab-command, indent-according-to-mode):
5863 Doc fix.
5864 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5865
f3af92b7
MA
58662011-11-29 Michael Albinus <michael.albinus@gmx.de>
5867
5868 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5869 aware of remote file names. (Bug#10124)
5870
ed472be9
CY
58712011-11-29 Chong Yidong <cyd@gnu.org>
5872
5873 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5874
24510c22
SM
58752011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * files.el (find-file): Don't use force-same-window (bug#10144).
5878 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5879 use pop-to-buffer if the selected window can't be used.
5880 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5881
c60c3703
EZ
58822011-11-28 Eli Zaretskii <eliz@gnu.org>
5883
5884 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5885 special-mode-map.
5886
e95def75
CY
58872011-11-28 Chong Yidong <cyd@gnu.org>
5888
5889 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5890
c3f1c606
NR
58912011-11-27 Nick Roberts <nickrob@snap.net.nz>
5892
5893 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5894 gdb-get-source-file-list on gdb-create-source-file-list.
5895
00db469c
EZ
58962011-11-26 Eli Zaretskii <eliz@gnu.org>
5897
5898 * whitespace.el (whitespace-newline): Use a different foreground
5899 color for 16-color light-background displays.
5900
4ad3bc2a
CY
59012011-11-24 Chong Yidong <cyd@gnu.org>
5902
5903 * window.el (display-buffer--special-action): Doc fix.
5904
e9fce1ac
JB
59052011-11-25 Juanma Barranquero <lekktu@gmail.com>
5906
5907 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5908 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5909 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5910 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5911 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5912 (avl-tree-stack-first):
5913 * emacs-lisp/cconv.el (cconv--analyse-use):
5914 * net/gnutls.el (gnutls-negotiate): Fix typos.
5915
cb825e5d
GM
59162011-11-24 Glenn Morris <rgm@gnu.org>
5917
3adbe224
GM
5918 * lpr.el (lpr-windows-system, lpr-lp-system):
5919 * mail/binhex.el (binhex-begin-line):
5920 * progmodes/grep.el (grep-history, grep-find-history):
5921 * textmodes/flyspell.el:
5922 * vc/pcvs-defs.el (cvs-global-menu):
5923 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5924 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5925 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5926
321decc8
GM
5927 * net/tls.el: Fix case of "GnuTLS".
5928
420b63ad
GM
5929 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5930
cb825e5d
GM
5931 * version.el (emacs-build-system): Give it a doc-string.
5932
a0649f08
JL
59332011-11-24 Juri Linkov <juri@jurta.org>
5934
5935 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5936
c0bc0fd4
GM
59372011-11-24 Glenn Morris <rgm@gnu.org>
5938
5939 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5940 if called on a non-mime message just toggle the headers. (Bug#8006)
5941
20db1522
JB
59422011-11-24 Juanma Barranquero <lekktu@gmail.com>
5943
5944 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5945 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5946 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5947 (allout-rebullet-heading, allout-open-sibtopic)
5948 (allout-toggle-current-subtree-encryption)
5949 (allout-toggle-subtree-encryption, allout-encrypt-string)
5950 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5951 (allout-distinctive-bullets-string, allout-auto-activation):
5952 * window.el (window-normalize-buffer-to-display):
5953 * progmodes/verilog-mode.el (verilog-batch-indent):
5954 * textmodes/bibtex.el (bibtex-field-braces-opt)
5955 (bibtex-field-strings-opt):
5956 * vc/cvs-status.el (cvs-tree-merge):
5957 Fix typos.
5958
7262a87c
MA
59592011-11-23 Michael Albinus <michael.albinus@gmx.de>
5960
5961 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5962 `non-essential' to t, in order to avoid remote connections.
5963
283430a1
EZ
59642011-11-23 Eli Zaretskii <eliz@gnu.org>
5965
a1beca85
SM
5966 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5967 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5968 case-insensitively.
5969
d2992a38
ML
59702011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5971
5972 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5973
50419064
GM
59742011-11-23 Glenn Morris <rgm@gnu.org>
5975
da94eca1
GM
5976 * paths.el (rmail-file-name): Reformat the doc-string so that it
5977 is picked up.
5978
9aac4de2
GM
5979 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5980 (rmail-auto-file): Ignore case in the "special" field names,
5981 as mail-fetch-field does for all others.
5982
8038d2d2
GM
5983 * mail/rmail.el (rmail-forward):
5984 * mail/rmailkwd.el (rmail-set-label):
5985 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5986 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5987
f3fe222a
GM
5988 * mail/rmail.el (rmail-current-message): Doc fix.
5989
50419064
GM
5990 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5991
28109f49
SM
59922011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5995
394c65f1
GM
59962011-11-22 Glenn Morris <rgm@gnu.org>
5997
5998 * mail/rmailmm.el (test-rmail-mime-handler)
5999 (test-rmail-mime-bulk-handler)
6000 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6001
f2a0aa3a
JL
60022011-11-21 Juri Linkov <juri@jurta.org>
6003
1154d12e
JB
6004 * calc/calc.el (calc-read-key-sequence):
6005 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6006
9c34a344
LMI
60072011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6008
6009 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6010 Tell the caller that the next line needs recomputation, even
6011 though it doesn't start a sexp (bug#10094).
6012
f04a3be9
SM
60132011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6016
7978747f
SM
60172011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6018
f04a3be9
SM
6019 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6020 Use force-same-window.
7978747f 6021
fe7a3057
JB
60222011-11-20 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * descr-text.el (describe-char-unicode-data):
6025 * json.el (json-string-escape):
6026 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6027 (Footnote-unicode, Footnote-style-p):
6028 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6029
24901d61
CY
60302011-11-20 Chong Yidong <cyd@gnu.org>
6031
6032 * window.el (replace-buffer-in-windows): Restore interactive spec.
6033
bac7ff22
SM
60342011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6035
24f3d7b9
SM
6036 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6037
bac7ff22
SM
6038 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6039 (byte-compile-global-not-obsolete-vars): New var.
6040 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6041 Use it.
6042 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6043
cd1181db
JB
60442011-11-20 Juanma Barranquero <lekktu@gmail.com>
6045
6046 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6047 * progmodes/pascal.el (electric-pascal-equal):
6048 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6049 * xml.el (xml-substitute-special): Fix typos.
6050
7fb18e9e
GM
60512011-11-20 Glenn Morris <rgm@gnu.org>
6052
6053 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6054 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6055 Doc fixes.
6056 (rmail-decode-mime-charset): Mark as obsolete.
6057
6058 * mail/rmailsum.el (rmail-message-regexp-p-1):
6059 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6060 Before using mime functions, check they are set. (Bug#10077)
6061
d5a6b3ba
JL
60622011-11-19 Juri Linkov <juri@jurta.org>
6063
6064 * info.el (Info-finder-find-node): Use `package--builtins' instead
6065 of `package-alist'. Use node names formed by the pattern "Keyword "
6066 and the keyword name.
6067
e981b61f
AS
60682011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6069
1d00653d 6070 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6071
3ffbc301
JL
60722011-11-19 Juri Linkov <juri@jurta.org>
6073
6074 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6075 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6076 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6077 `old-history', `old-history-forward'. Add let-binding
6078 `window-selected'. Remove calls to `kill-buffer',
6079 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6080 before calling `Info-find-node', so `Info-find-node-2' will reread
6081 the Info file. Restore window positions only when `window-selected'
6082 is non-nil.
6083
30c62133
JL
60842011-11-19 Juri Linkov <juri@jurta.org>
6085
6086 * isearch.el (isearch-lazy-highlight-new-loop):
6087 Remove condition `(not isearch-error)'. (Bug#9918)
6088
6089 * misearch.el (multi-isearch-search-fun): Add condition
6090 `(not bound)' to ignore lazy-highlighting search.
6091 Add the search-failed message "end of multi" when the end of
6092 multi-sequence is reached. Uncapitalize the search-failed
6093 message "Repeat for next buffer".
6094
6095 * info.el (Info-search): Add the search-failed message
6096 "end of the manual" when the end of the manual is reached
6097 in Isearch mode.
6098
645ca9cf
JL
60992011-11-19 Juri Linkov <juri@jurta.org>
6100
6101 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6102 Use non-destructive `remove' instead of `delete' because
6103 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6104 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6105
df754f66
JL
61062011-11-19 Juri Linkov <juri@jurta.org>
6107
6108 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6109 to nil instead of binding `search-ring' and `regexp-search-ring'.
6110 (Bug#9185)
6111
0e23d96a
EZ
61122011-11-19 Eli Zaretskii <eliz@gnu.org>
6113
6114 * simple.el (line-move): Force movement by logical lines for any
6115 hscrolled window, not only when auto-hscroll-mode is on.
6116 (line-move-visual): Update doc string to that effect. (Bug#10076)
6117
8a6ccb66
AS
61182011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6119
6120 * language/european.el (macintosh): Define as alias for mac-roman.
6121
49ae5b39
EZ
61222011-11-19 Eli Zaretskii <eliz@gnu.org>
6123
6124 * mail/rmailmm.el (rmail-mime-display-header)
6125 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6126 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6127 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6128 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6129 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6130 of a raw aref.
6131 (rmail-mime-entity-segment): To get past the tagline, move forward
6132 2 more lines, to account for the 2 empty lines that precede and
6133 follow the line with the buttons.
6134 (rmail-mime-update-tagline): Move one more line, to get past the
6135 empty line that follows the buttons in the tagline. (Bug#9520)
6136
c56cad4a
MR
61372011-11-19 Martin Rudalics <rudalics@gmx.at>
6138
6139 * window.el (window-max-delta-1, window-min-delta-1)
6140 (window-min-size-1, window-state-get-1, window-state-put-1)
6141 (window-state-put-2): Use "window--" prefix.
6142
cbe71af3
SM
61432011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6144
2ad52c60
SM
6145 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6146 (smie-warning-count): New var.
6147 (smie-set-prec2tab): Use it.
6148 (smie-bnf->prec2): Improve warnings. Add docstring.
6149 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6150 (smie-bnf--set-class): New function.
6151 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6152 corner case.
6153
6944dbc1
SM
6154 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6155 (compilation-error-properties, compilation-move-to-column):
6156 Handle compilation-first-column while in the target buffer.
6157
c400c4d7
SM
6158 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6159 Don't hardcode point-min==1.
6160
6dbe3e96
SM
6161 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6162 (eshell-rewrite-for-command): Remove workaround.
6163 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6164 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6165 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6166
cbe71af3
SM
6167 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6168
a8e1496d
GM
61692011-11-17 Glenn Morris <rgm@gnu.org>
6170
6171 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6172 Ignore buffer-local generated-autoload-file if it is the same
6173 as the global value. (Bug#10049)
6174
df85d315
JB
61752011-11-17 Juanma Barranquero <lekktu@gmail.com>
6176
6177 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6178 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6179 (reftex-toc-previous-heading, reftex-toc-max-level)
6180 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6181 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6182 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6183 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6184 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6185 (reftex-toc-rename-label, reftex-toc-visit-location)
6186 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6187 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6188 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6189 leaving "*toc*" only for references to the buffer.
6190
a0c2d0ae
MR
61912011-11-17 Martin Rudalics <rudalics@gmx.at>
6192
6193 * window.el (window-resize, delete-window, split-window):
6194 Replace window-splits by window-combination-resize.
1d00653d 6195 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6196
35c0bac8
GM
61972011-11-17 Glenn Morris <rgm@gnu.org>
6198
6199 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6200 Make bash entry derive from sh entry, not shell entry.
6201
d0c8fc8a
MA
62022011-11-16 Michael Albinus <michael.albinus@gmx.de>
6203
d0c8fc8a
MA
6204 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6205 properties of linked files. (Bug#9879)
6206
7262a87c
MA
6207 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6208 local file name.
6209
7877f373
JB
62102011-11-16 Juanma Barranquero <lekktu@gmail.com>
6211
6212 * menu-bar.el (menu-bar-file-menu):
6213 * printing.el (pr-ps-utility):
6214 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6215 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6216 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6217 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6218 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6219 (icalendar--convert-cyclic-to-ical)
6220 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6221 (icalendar--convert-ical-to-diary)
6222 (icalendar--convert-recurring-to-diary)
6223 (icalendar--convert-non-recurring-all-day-to-diary)
6224 (icalendar-import-format-sample):
6225 * progmodes/idlw-shell.el (idlwave-shell-mode):
6226 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6227 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6228 (vhdl-ps-print-init): Fix typos.
6229
10649b82
KM
62302011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6231
9d0cfcd6
GM
6232 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6233 FSF and collapse date sequence, obscure author/maintainer email address
6234 better, remove extra version line, track relocation of author's webpage.
10649b82 6235
9d0cfcd6
GM
6236 * progmodes/python.el (python-pdbtrack-input-prompt)
6237 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6238 regular python pdb prompts. Adjustments shamelessly taken exactly as
6239 suggested in EmacsWiki page (tiny change):
6240 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6241
58179cce
JB
62422011-11-16 Juanma Barranquero <lekktu@gmail.com>
6243
6244 * expand.el (expand-pos, expand-index, expand-point):
6245 Remove redundant info from docstring.
6246 (expand-add-abbrevs): Doc fix.
6247 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6248 (expand-sample-perl-mode-expand-list): Fix typos.
6249
6250 * net/dbus.el (dbus-event-member-name):
6251 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6252 * term/pc-win.el (msdos-create-frame-with-faces):
6253 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6254
b6f67890
MR
62552011-11-16 Martin Rudalics <rudalics@gmx.at>
6256
6257 * window.el (split-window, window-state-get-1)
6258 (window-state-put-1, window-state-put-2): Rename occurrences of
6259 window-nest to window-combination-limit.
1d00653d 6260 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6261
ce7ddba0
CY
62622011-11-16 Chong Yidong <cyd@gnu.org>
6263
6264 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6265 regexp (Bug#10033).
6266
3ae704f4
SM
62672011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6270 `completing-read' will remove *Completions* and will preserve
6271 current-buffer for us.
6272 (tmm-add-prompt): Users of *Completions* will always (re)set its
6273 major mode.
6274 (tmm-old-comp-map): Remove.
6275
6ad1cdde
GM
62762011-11-16 Glenn Morris <rgm@gnu.org>
6277
6278 * mail/rmailedit.el: Require rmailmm when compiling.
6279 (rmail-old-mime-state): New declaration.
6280 (rmail-edit-current-message): If editing a mime message,
6281 edit the "raw" message from the mbox buffer.
6282 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6283
d20faa20
GM
62842011-11-15 Glenn Morris <rgm@gnu.org>
6285
6286 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6287 which wasn't being used. Add optional arg to force given state.
6288 (rmail-mime): Add optional arg to force given state.
6289
c7015153
JB
62902011-11-15 Juanma Barranquero <lekktu@gmail.com>
6291
6292 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6293 * frame.el (display-mm-dimensions-alist):
6294 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6295 (outline-move-subtree-down):
6296 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6297 (newsticker--treeview-do-get-node):
6298 * net/quickurl.el (quickurl-list-buffer-name):
6299 * progmodes/dcl-mode.el (dcl-mode):
6300 * progmodes/gdb-mi.el (gdb-mapcar*):
6301 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6302
45261b50
GM
63032011-11-15 Glenn Morris <rgm@gnu.org>
6304
6305 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6306 in a boolean sense, so just make it a boolean, and fix the doc.
6307 (rmail-show-mime-function, rmail-mime-feature)
6308 (rmail-require-mime-maybe): Doc fixes.
6309 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6310
6311 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6312
0d26e0b6
JB
63132011-11-15 Juanma Barranquero <lekktu@gmail.com>
6314
6315 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6316 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6317 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6318 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6319
447f30f6
GM
63202011-11-15 Glenn Morris <rgm@gnu.org>
6321
672b871d
GM
6322 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6323 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6324 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6325 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6326 (rmail-mime, rmail-show-mime): Doc fixes.
6327
f6aa5bb1
GM
6328 * term/ns-win.el (mode-line-frame-identification):
6329 Leave it alone. (Bug#10051)
6330
947cd66b
GM
6331 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6332
447f30f6
GM
6333 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6334 Handle empty buffers. (Bug#9978)
6335
0b381c7e
JB
63362011-11-14 Juanma Barranquero <lekktu@gmail.com>
6337
6338 * international/mule.el (define-charset):
6339 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6340 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6341 * progmodes/verilog-mode.el (verilog-backward-token):
6342 * textmodes/ispell.el (lookup-words):
6343 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6344
71e027ac
GM
63452011-11-14 Glenn Morris <rgm@gnu.org>
6346
56632ce4
GM
6347 * progmodes/executable.el
6348 (executable-make-buffer-file-executable-if-script-p):
6349 Handle file-modes returning nil.
6350
40500957
GM
6351 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6352 message - not necessary, and causes problems. (Bug#9831)
6353
071c2340
GM
6354 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6355
d3cfca60
GM
6356 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6357
71e027ac
GM
6358 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6359 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6360 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6361
89d61221
MR
63622011-11-12 Martin Rudalics <rudalics@gmx.at>
6363
6364 * window.el (window-resize, delete-window): Use window-splits
6365 variable instead of function.
6366 (window-state-get-1, window-state-put-2, window-state-put):
6367 Don't deal with windows' splits status.
6368
98282f6f
GM
63692011-11-12 Glenn Morris <rgm@gnu.org>
6370
6371 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6372 (apropos-documentation): Doc fixes.
6373
40a8bdf6
JB
63742011-11-11 Juanma Barranquero <lekktu@gmail.com>
6375
6376 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6377 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6378
65bd19ff
SM
63792011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 * electric.el (electric-indent-post-self-insert-function): Make it
6382 possible for a char to only indent in some circumstances.
6383 (electric-indent-mode): Simplify.
6384
54f9154c
MR
63852011-11-11 Martin Rudalics <rudalics@gmx.at>
6386
6387 * window.el (windows-with-parameter): Remove unused function.
6388 (windows-at-side): Rename to window-at-side-list.
6389 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6390 (window-side-check, window-size-ignore, window-size-fixed-1)
6391 (window-in-direction-2): Prefix with "window--".
6392 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6393
68cbc58b
GM
63942011-11-11 Glenn Morris <rgm@gnu.org>
6395
6396 * subr.el (eval-after-load): If FILE is already loaded,
6397 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6398
b2621720
GM
63992011-11-10 Glenn Morris <rgm@gnu.org>
6400
9a4de110
GM
6401 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6402 Call svn via vc-svn-command rather than vc-do-command.
6403 (vc-svn-command): Add --non-interactive. (Bug#9993)
6404 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6405
b2621720
GM
6406 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6407 Add toggle-read-only. (Bug#7292)
6408 * files.el (toggle-read-only): Mention that it should only
6409 be used interactively. (Bug#10006)
6410
1dce7193
SM
64112011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6412
d9ac1a1e
SM
6413 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6414 Adjust regexp for OCaml warnings.
6415
0c325082
SM
6416 * electric.el (electric-pair-post-self-insert-function): Let user
6417 turn it off buffer-locally (bug#9932).
6418
90132c14
SM
6419 * progmodes/python.el (python-beginning-of-statement):
6420 Rewrite (bug#2703).
6421
1dce7193
SM
6422 * progmodes/compile.el: Better handle TABs (bug#9749).
6423 (compilation-internal-error-properties)
6424 (compilation-next-error-function): Obey the target buffer's
6425 compilation-error-screen-columns.
6426
c4e7c63a
JB
64272011-11-09 Juanma Barranquero <lekktu@gmail.com>
6428
6429 * progmodes/meta-mode.el: Remove obsolete comments.
6430 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6431 Fix typos in docstrings.
6432
2cffd681
MR
64332011-11-09 Martin Rudalics <rudalics@gmx.at>
6434
6435 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6436 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6437 (window--resizable): New function. Make all callers of
6438 window-resizable call window--resizable instead.
6439 (window-resizable): Rewrite in terms of window--resizable.
6440
0edcba87
GM
64412011-11-08 Glenn Morris <rgm@gnu.org>
6442
6443 * progmodes/delphi.el (delphi-mode-syntax-table):
6444 Let define-derived-mode define a proper syntax table. (Bug#9994)
6445
4b0d61e3
SM
64462011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * window.el: Stay away from defsubst.
6449 (window-list-no-nils): Remove.
6450 (window-state-get-1, window-state-get): Use backquote instead.
6451
cd394be1 64522011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6453
4b0d61e3 6454 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6455 Fix incorrect use of default argument in `completing-read'.
6456
e1c2c6f2
MR
64572011-11-08 Martin Rudalics <rudalics@gmx.at>
6458
6459 * window.el (display-buffer-function, special-display-function):
6460 Mention display-buffer-record-window but do not mention
6461 help-setup parameter in doc-strings.
b3f4a882 6462 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6463
105216ed
CY
64642011-11-08 Chong Yidong <cyd@gnu.org>
6465
6466 * window.el (window-total-height, window-total-width): Doc fix.
6467 (window-body-size): Move from C.
6468 (window-body-height, window-body-width): Move to C.
6469
0a9f9ab5
SM
64702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * window.el: Make special-display like display-buffer-alist (bug#9532).
6473 (display-buffer--special-action): New function, morphed
6474 from display-buffer--special.
6475 (display-buffer): Use it to handle special-display-buffers at higher
6476 priority (just after display-buffer-alist).
6477 (display-buffer-fallback-action, display-buffer--other-frame-action)
6478 (pop-to-buffer-same-window): Remove display-buffer--special.
6479
a769dd15
GM
64802011-11-07 Glenn Morris <rgm@gnu.org>
6481
6482 * calendar/cal-menu.el (cal-menu-set-date-title):
6483 Do nothing if not in a calendar. (Bug#9976)
6484
05a61ee3
SM
64852011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * files.el (find-file): Always use selected-window.
6488
be7f5545
MR
64892011-11-07 Martin Rudalics <rudalics@gmx.at>
6490
6491 * window.el (window-combinations): Make WINDOW argument
6492 mandatory. Rewrite doc-string.
6493 (walk-window-subtree, window-atom-check, window-min-delta)
6494 (window-max-delta, window--resize-this-window)
6495 (window--resize-root-window-vertically, window-tree)
6496 (balance-windows, window-state-put): Rewrite doc-strings as to
6497 not mention the term "subwindow".
6498 (window--resize-subwindows-skip-p): Rename to
6499 window--resize-child-windows-skip-p.
6500 (window--resize-subwindows-normal): Rename to
6501 window--resize-child-windows-normal.
6502 (window--resize-subwindows): Rename to
6503 window--resize-child-windows.
6504 (window-or-subwindow-p): Rename to window--in-subtree-p.
6505
3c6702ef
ML
65062011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6507
6508 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6509 Ensure that mbox format messages end in two newlines (Bug#9974).
6510
49745b39
CY
65112011-11-06 Chong Yidong <cyd@gnu.org>
6512
6513 * window.el (window-combination-p): Function deleted; its
6514 side-effect is not used in any existing code.
6515 (window-combinations, window-combined-p): Call window-*-child
6516 directly.
6517
24300f5f
CY
65182011-11-05 Chong Yidong <cyd@gnu.org>
6519
6520 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6521 (window-size-ignore, window-state-get): Callers changed.
6522 (window-normalize-window): Rename from window-normalize-any-window.
6523 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6524 (window-normalize-live-window): Delete.
447f16b8
CY
6525 (window-combination-p, window-combined-p, window-combinations)
6526 (walk-window-subtree, window-atom-root, window-min-size)
6527 (window-sizable, window-sizable-p, window-size-fixed-p)
6528 (window-min-delta, window-max-delta, window-resizable)
6529 (window-resizable-p, window-full-height-p, window-full-width-p)
6530 (window-current-scroll-bars, window-point-1, set-window-point-1)
6531 (window-at-side-p, window-in-direction, window-resize)
6532 (adjust-window-trailing-edge, maximize-window, minimize-window)
6533 (window-deletable-p, delete-window, delete-other-windows)
6534 (record-window-buffer, unrecord-window-buffer)
6535 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6536 (quit-window, split-window, window-state-put)
6537 (set-window-text-height, fit-window-to-buffer)
6538 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6539
89bd5ee1
EZ
65402011-11-04 Eli Zaretskii <eliz@gnu.org>
6541
53479029
EZ
6542 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6543 rfc2047-decode-string.
6544 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6545 warnings.
6546
89bd5ee1
EZ
6547 * window.el (window-body-height, window-body-width): Mention in
6548 the doc string that the return values are in frame's canonical
6549 units. (Bug#9949)
6550
bd17fdee
AM
65512011-11-03 Alan Mackenzie <acm@muc.de>
6552
6553 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6554 change in cc-engine.el.
6555
acc825c5
SM
65562011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6559
1885e5b8
MR
65602011-11-02 Martin Rudalics <rudalics@gmx.at>
6561
6562 * window.el (quit-window): Call unrecord-window-buffer after
6563 showing another buffer in the window. (Bug#9937)
acc825c5 6564 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6565
ebe06da9
JB
65662011-11-02 Juanma Barranquero <lekktu@gmail.com>
6567
6568 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6569 Accept status with more than 9 shelves. (Bug#9935)
6570 Reported by Colin D Bennett <colin@gibibit.com>.
6571
4ee88440
MR
65722011-11-01 Martin Rudalics <rudalics@gmx.at>
6573
6574 * help.el (with-help-window): Don't reference
6575 temp-buffer-show-specifiers in doc-string.
6576
08e1d82c
AS
65772011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6578
6579 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6580 menu-item.
6581
84bd6e9e
VJL
65822011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6583
6584 * whitespace.el: New version 13.2.2.
6585 (whitespace-newline-mode): Disable properly. Reported by Sarah
6586 <EmacsWiki>.
6587
dba0634a
UJ
65882011-10-30 Ulf Jasper <ulf.jasper@web.de>
6589
6590 * net/newst-treeview.el: Remove "Time-stamp".
6591 (newsticker--group-manage-orphan-feeds): Do not call
6592 newsticker--treeview-tree-update.
db22a3c2
JB
6593 (newsticker-treeview-update, newsticker-treeview):
6594 Call newsticker--treeview-tree-update if necessary.
dba0634a 6595
3d8daefe
MR
65962011-10-30 Martin Rudalics <rudalics@gmx.at>
6597
6598 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6599 (window-iso-combinations): Remove "iso-" infix.
6600 Suggested by Chong Yidong.
3d8daefe
MR
6601 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6602 (window-max-delta-1, window-resize, window--resize-siblings)
6603 (window--resize-this-window, adjust-window-trailing-edge)
6604 (split-window, balance-windows-1)
6605 (shrink-window-if-larger-than-buffer):
6606 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6607 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6608
1bc4c3ae
SM
66092011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6612 in place (bug#9907).
6613 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6614 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6615 (eshell-structure-basic-command, eshell-rewrite-while-command)
6616 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6617 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6618 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6619 (eshell-do-pipelines-synchronously, eshell-eval-command):
6620 Use backquotes and prefer setq to set.
6621 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6622 (eshell-macrop): Use functionp.
c1e2f5fa 6623 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6624
30b65d9c
CY
66252011-10-30 Chong Yidong <cyd@gnu.org>
6626
6627 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6628 instead of set-mark (Bug#9810).
6629
2d197ffb
CY
66302011-10-30 Chong Yidong <cyd@gnu.org>
6631
6632 * window.el (split-window-below, split-window-right): Rename from
6633 split-window-above-each-other and split-window-side-by-side
6634 respectively. All callers changed.
6635 (split-window-sensibly, split-window-sensibly): Use them.
6636 (split-window-keep-point): Doc fix.
6637
6638 * isearch.el: Add isearch-scroll property to split-window-below
6639 and split-window-right.
6640
6641 * follow.el (follow-mode):
6642 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6643 * progmodes/ada-xref.el (ada-gdb-application):
6644 * emulation/vip.el (vip-buffer-in-two-windows):
6645 * image-dired.el (image-dired-dired-with-window-configuration):
6646 * dired-x.el (dired-do-find-marked-files):
6647 * dired.el (dired-pop-to-buffer):
6648 * bs.el (bs--show-with-configuration):
6649 * vc/emerge.el (emerge-setup-windows):
6650 * textmodes/two-column.el (2C-two-columns):
6651 * textmodes/reftex-toc.el (reftex-toc):
6652 * progmodes/gdb-mi.el (gdb-setup-windows):
6653 * progmodes/fortran.el (fortran-window-create):
6654 * net/newst-treeview.el (newsticker--treeview-window-init):
6655 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6656 * emulation/tpu-edt.el (tpu-gold-map):
6657 * emulation/crisp.el (crisp-mode-map):
6658 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6659
38bb2ca8
CY
66602011-10-29 Chong Yidong <cyd@gnu.org>
6661
aa4de341
CY
6662 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6663
e1eb5385
CY
6664 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6665
5d2ece3c
CY
6666 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6667 forged Ispell output (Bug#7904).
6668
38bb2ca8
CY
6669 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6670
d0af9f77
SM
66712011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * doc-view.el: Avoid ugly errors about not finding nil.
6674 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6675 (doc-view-dvipdf-program, doc-view-unoconv-program)
6676 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6677 Avoid nil or absolute file name as default value.
6678 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6679
52bedd34
AM
66802011-10-28 Alan Mackenzie <acm@muc.de>
6681
db22a3c2 6682 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6683
7e43cfa5
AM
66842011-10-28 Alan Mackenzie <acm@muc.de>
6685
6686 Amend the handling of c-beginning/end-of-defun in nested declaration
6687 scopes.
6688
52bedd34
AM
6689 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6690 cc-langs.el. Change it to a defcustom.
7e43cfa5 6691
52bedd34
AM
6692 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6693 cc-vars.el.
7e43cfa5 6694
d0af9f77
SM
6695 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6696 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6697
52bedd34 6698 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6699 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6700 (c-widen-to-enclosing-decl-scope): New function.
6701 (c-while-widening-to-decl-block): New macro.
6702 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6703 outward for defun boundaries, and correspondingly change symbol
6704 `respect-enclosure' to `go-outward'.
6705 (c-declaration-limits): Change algorithm to report only the "innermost"
6706 defun's boundaries.
6707
1a2ce9ee
DD
67082011-10-28 Deniz Dogan <deniz@dogan.se>
6709
6710 * net/rcirc.el (rcirc-mode): Use hard newlines.
6711
bc97a826
AM
67122011-10-28 Alan Mackenzie <acm@muc.de>
6713
6714 Amend to indent and fontify macros "which include their own semicolon"
6715 correctly, using the "virtual semicolon" mechanism.
6716
52bedd34 6717 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6718
d0af9f77 6719 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6720 Recode to scan one line at a time rather than having \n and \r
58179cce 6721 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6722 (c-forward-label): Amend for virtual semicolons.
58179cce 6723 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6724
52bedd34
AM
6725 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6726 of the new C macros.
bc97a826 6727
52bedd34 6728 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6729 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6730 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6731 (c-opt-cpp-macro-define): Make into a full language variable.
6732 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6733 AWK Mode (including \n, \r) removed, no longer needed.
6734
d0af9f77
SM
6735 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6736 Invoke c-make-macro-with-semi-re.
bc97a826 6737
52bedd34
AM
6738 * progmodes/cc-vars.el (c-macro-with-semi-re):
6739 (c-macro-names-with-semicolon): New variables.
58179cce 6740 (c-make-macro-with-semi-re): New function.
bc97a826 6741
7a6c0941
SM
67422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * vc/log-edit.el: Fill empty field rather than adding new one.
6745 (log-edit-add-field): New function.
6746 (log-edit-insert-changelog): Use it.
6747
b0c4cdcf
ML
67482011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6749
6750 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6751
ee1f1da9
SM
67522011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6755 (gdb--check-interpreter): New function.
6756 (gdb): Use it.
6757
51bc5f8b
GM
67582011-10-27 Glenn Morris <rgm@gnu.org>
6759
416a2c45
GM
6760 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6761 (least-positive-float, least-negative-float)
6762 (least-positive-normalized-float, least-negative-normalized-float)
6763 (float-epsilon, float-negative-epsilon):
6764 Remove unnecessary declarations.
6765
6766 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6767 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6768 (least-positive-float, least-negative-float)
6769 (least-positive-normalized-float, least-negative-normalized-float)
6770 (float-epsilon, float-negative-epsilon): Add doc-strings,
6771 based on those in cl.texi.
6772
51bc5f8b
GM
6773 * files.el (set-visited-file-name): If the major-mode changed,
6774 reload the local variables. (Bug#9796)
6775
15de15c6
CY
67762011-10-27 Chong Yidong <cyd@gnu.org>
6777
6778 * subr.el (change-major-mode-after-body-hook): New hook.
6779 (run-mode-hooks): Run it.
6780
ee1f1da9
SM
6781 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6782 Use change-major-mode-before-body-hook.
15de15c6
CY
6783
6784 * simple.el (fundamental-mode):
6785 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6786 change introducing fundamental-mode-hook.
6787
5430d399
JB
67882011-10-26 Juanma Barranquero <lekktu@gmail.com>
6789
acc825c5 6790 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6791
ad74a69e
MA
67922011-10-26 Michael Albinus <michael.albinus@gmx.de>
6793
6794 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6795 tramp.el explicitly. (Bug#7583)
ad74a69e 6796
71d4c2a5
SM
67972011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6798
6799 * progmodes/octave-mod.el:
6800 * progmodes/octave-inf.el: Update maintainer.
6801
b1f6fa26
CY
68022011-10-26 Chong Yidong <cyd@gnu.org>
6803
6804 * subr.el (with-wrapper-hook): Rewrite doc.
6805
3f04efd6
MA
68062011-10-25 Michael Albinus <michael.albinus@gmx.de>
6807
6808 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6809 filenames "/method:foo:". (Bug#9793)
3f04efd6 6810
410488d3
SM
68112011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6812
6813 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6814 (bug#9865).
6815
c1ebb47e
GM
68162011-10-24 Glenn Morris <rgm@gnu.org>
6817
6818 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6819
7f5c46c7
MA
68202011-10-24 Michael Albinus <michael.albinus@gmx.de>
6821
6822 * notifications.el: Add the requirement of a running D-Bus session
6823 bus to the Commentary.
6824
db2440b6
JL
68252011-10-24 Juri Linkov <juri@jurta.org>
6826
6827 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6828 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6829 (Bug#9364)
6830
feecf435
JL
68312011-10-24 Juri Linkov <juri@jurta.org>
6832
6833 * info.el (Info-following-node-name-re): Add newline to the list
6834 of allowed characters for leading space. (Bug#9824)
6835
a3839de2
SM
68362011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6837
acc825c5
SM
6838 * progmodes/octave-inf.el (inferior-octave-mode-map):
6839 Fix C-c C-h binding.
a3839de2
SM
6840 * progmodes/octave-mod.el (octave-help): Remove.
6841
09388e76
MA
68422011-10-23 Michael Albinus <michael.albinus@gmx.de>
6843
6844 Sync with Tramp 2.2.3.
6845
6846 * net/tramp-cache.el (top): Pacify byte-compiler using
6847 `init-file-user' and `site-run-file'.
6848
6849 * net/trampver.el: Update release number.
6850
86c60681
CY
68512011-10-23 Chong Yidong <cyd@gnu.org>
6852
6853 * files.el (toggle-read-only): Remove obsolete comment about
6854 version control.
6855
6856 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6857 for toggle-read-only. Note that this hasn't called vc-next-action
6858 since 2008-05-02, though it wasn't documented at the time.
6859
a3839de2
SM
6860 * vc/ediff-init.el (ediff-toggle-read-only-function):
6861 Use toggle-read-only.
86c60681 6862
cd5495ff
AM
68632011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6864
6865 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6866 of c-parse-state.
6867
00b77525 6868 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6869 correct faulty logical expression.
cd5495ff
AM
6870 (c-parse-state-state, c-record-parse-state-state):
6871 (c-replay-parse-state-state): New defvar/defuns.
6872 (c-debug-parse-state): Use new functions.
6873
42ee24ed
MR
68742011-10-22 Martin Rudalics <rudalics@gmx.at>
6875
6876 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6877 last fix. Use window-in-direction correctly.
42ee24ed 6878
a7dee7e7
CY
68792011-10-21 Chong Yidong <cyd@gnu.org>
6880
6881 * progmodes/idlwave.el (idlwave-mode):
6882 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6883 require-final-newline; that's done in prog-mode.
6884 Suggested by Stefan Monnier.
a7dee7e7 6885
e07b9a6d
MR
68862011-10-21 Martin Rudalics <rudalics@gmx.at>
6887
6888 * mouse.el (mouse-drag-window-above)
6889 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6890 (mouse-drag-mode-line-1, mouse-drag-header-line)
6891 (mouse-drag-vertical-line-rightward-window): Remove.
6892 (mouse-drag-line): New function.
6893 (mouse-drag-mode-line, mouse-drag-header-line)
6894 (mouse-drag-vertical-line): Call mouse-drag-line.
6895 * window.el (window-at-side-p, windows-at-side): New functions.
6896
7e1361d9
UM
68972011-10-21 Ulrich Mueller <ulm@gentoo.org>
6898
6899 * tar-mode.el (tar-grind-file-mode):
6900 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6901
30fcaf3a
CY
69022011-10-21 Chong Yidong <cyd@gnu.org>
6903
6904 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6905 * progmodes/vera-mode.el (vera-mode):
6906 Use mode-require-final-newline.
30fcaf3a 6907
516eddb0
GM
69082011-10-20 Glenn Morris <rgm@gnu.org>
6909
db22a3c2 6910 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6911
10d5f513
CS
69122011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6913
6914 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6915
ac6c8639
CY
69162011-10-20 Chong Yidong <cyd@gnu.org>
6917
6918 * emulation/cua-base.el (cua-mode):
6919 * mail/footnote.el (footnote-mode):
6920 * mail/mailabbrev.el (mail-abbrevs-mode):
6921 * net/xesam.el (xesam-minor-mode):
6922 * progmodes/bug-reference.el (bug-reference-mode):
6923 * progmodes/cap-words.el (capitalized-words-mode):
6924 * progmodes/compile.el (compilation-minor-mode)
6925 (compilation-shell-minor-mode):
6926 * progmodes/gud.el (gud-tooltip-mode):
6927 * progmodes/hideif.el (hide-ifdef-mode):
6928 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6929 * progmodes/subword.el (subword-mode):
6930 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6931 * progmodes/which-func.el (which-function-mode):
6932 * term/tvi970.el (tvi970-set-keypad-mode):
6933 * term/vt100.el (vt100-wide-mode):
6934 * textmodes/flyspell.el (flyspell-mode):
6935 * textmodes/ispell.el (ispell-minor-mode):
6936 * textmodes/nroff-mode.el (nroff-electric-mode):
6937 * textmodes/paragraphs.el (use-hard-newlines):
6938 * textmodes/refill.el (refill-mode):
6939 * textmodes/reftex.el (reftex-mode):
6940 * textmodes/rst.el (rst-minor-mode):
6941 * textmodes/sgml-mode.el (html-autoview-mode)
6942 (sgml-electric-tag-pair-mode):
6943 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6944 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6945 * emulation/crisp.el (crisp-mode):
6946 * emacs-lisp/eldoc.el (eldoc-mode):
6947 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6948 minor mode behavior.
6949
aa42ab43
JL
69502011-10-19 Juri Linkov <juri@jurta.org>
6951
6952 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6953 the list of hard-coded chars with escape-glyph face.
6954
89400f1d
SM
69552011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6958
305c07f6
MA
69592011-10-19 Michael Albinus <michael.albinus@gmx.de>
6960
6961 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6962 running process.
6963
13754b54
GM
69642011-10-19 Glenn Morris <rgm@gnu.org>
6965
6966 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6967 Ignore ignored files. (Bug#9726)
6968
06e21633
CY
69692011-10-19 Chong Yidong <cyd@gnu.org>
6970
6971 Doc fix for minor modes, stating that an omitted argument enables
6972 the mode unconditionally when called from Lisp.
6973
6974 * abbrev.el (abbrev-mode):
6975 * allout.el (allout-mode):
6976 * autoinsert.el (auto-insert-mode):
6977 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6978 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6979 (global-auto-revert-mode):
6980 * battery.el (display-battery-mode):
6981 * composite.el (global-auto-composition-mode)
6982 (auto-composition-mode):
6983 * delsel.el (delete-selection-mode):
6984 * desktop.el (desktop-save-mode):
6985 * dired-x.el (dired-omit-mode):
6986 * dirtrack.el (dirtrack-mode):
6987 * doc-view.el (doc-view-minor-mode):
6988 * double.el (double-mode):
6989 * electric.el (electric-indent-mode, electric-pair-mode):
6990 * emacs-lock.el (emacs-lock-mode):
6991 * epa-hook.el (auto-encryption-mode):
6992 * follow.el (follow-mode):
6993 * font-core.el (font-lock-mode):
6994 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6995 * help.el (temp-buffer-resize-mode):
6996 * hilit-chg.el (highlight-changes-mode)
6997 (highlight-changes-visible-mode):
6998 * hi-lock.el (hi-lock-mode):
6999 * hl-line.el (hl-line-mode, global-hl-line-mode):
7000 * icomplete.el (icomplete-mode):
7001 * ido.el (ido-everywhere):
7002 * image-file.el (auto-image-file-mode):
7003 * image-mode.el (image-minor-mode):
7004 * iswitchb.el (iswitchb-mode):
7005 * jka-cmpr-hook.el (auto-compression-mode):
7006 * linum.el (linum-mode):
7007 * longlines.el (longlines-mode):
7008 * master.el (master-mode):
7009 * mb-depth.el (minibuffer-depth-indicate-mode):
7010 * menu-bar.el (menu-bar-mode):
7011 * minibuf-eldef.el (minibuffer-electric-default-mode):
7012 * mouse-sel.el (mouse-sel-mode):
7013 * msb.el (msb-mode):
7014 * mwheel.el (mouse-wheel-mode):
7015 * outline.el (outline-minor-mode):
7016 * paren.el (show-paren-mode):
7017 * recentf.el (recentf-mode):
7018 * reveal.el (reveal-mode, global-reveal-mode):
7019 * rfn-eshadow.el (file-name-shadow-mode):
7020 * ruler-mode.el (ruler-mode):
7021 * savehist.el (savehist-mode):
7022 * scroll-all.el (scroll-all-mode):
7023 * scroll-bar.el (scroll-bar-mode):
7024 * server.el (server-mode):
7025 * shell.el (shell-dirtrack-mode):
7026 * simple.el (auto-fill-mode, transient-mark-mode)
7027 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7028 (line-number-mode, column-number-mode, size-indication-mode)
7029 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7030 * strokes.el (strokes-mode):
7031 * time.el (display-time-mode):
7032 * t-mouse.el (gpm-mouse-mode):
7033 * tool-bar.el (tool-bar-mode):
7034 * tooltip.el (tooltip-mode):
7035 * type-break.el (type-break-mode-line-message-mode)
7036 (type-break-query-mode):
7037 * view.el (view-mode):
7038 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7039 (global-whitespace-mode, global-whitespace-newline-mode):
7040 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7041
a3839de2
SM
7042 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7043 Fix autogenerated docstring.
06e21633 7044
5214e501
JL
70452011-10-19 Juri Linkov <juri@jurta.org>
7046
7047 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7048 by checking environment variables "DESKTOP_SESSION" and
7049 "XDG_CURRENT_DESKTOP". (Bug#9779)
7050
195f8db9
JL
70512011-10-19 Juri Linkov <juri@jurta.org>
7052
7053 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7054 (browse-url-chromium-program, browse-url-chromium-arguments):
7055 New defcustoms.
7056 (browse-url-default-browser): Check for `browse-url-chromium' and
7057 call `browse-url-chromium-program'.
7058 (browse-url-chromium): New command. (Bug#9779)
7059
343a34ff
JB
70602011-10-18 Juanma Barranquero <lekktu@gmail.com>
7061
7062 * facemenu.el (list-colors-duplicates): On Windows, detect more
7063 duplicates by assuming that only colors matching "^System" are
7064 special "system colors". (Bug#9722)
7065
6978a151
SM
70662011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7069 to distinguish the author from the committer.
7070
6a80b297
MA
70712011-10-18 Michael Albinus <michael.albinus@gmx.de>
7072
7073 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7074
b31a5677
JK
70752011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7076
7077 * international/mule.el (sgml-html-meta-auto-coding-function):
7078 Add support for detecting encoding in HTML5 specified only as
7079 <meta charset="UTF-8">. Implementation just makes http-equiv and
7080 content-type parts from HTML4 encoding string optional. (Bug#9716)
7081
80c6d77f
GM
70822011-10-18 Glenn Morris <rgm@gnu.org>
7083
7084 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7085
08b0fee8
CY
70862011-10-18 Chong Yidong <cyd@gnu.org>
7087
7088 * faces.el (cursor): Doc fix.
7089
67e729a5
CY
70902011-10-17 Chong Yidong <cyd@gnu.org>
7091
7092 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7093
343a34ff 70942011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7095
7096 * dirtrack.el (dirtrack): Support shell buffers with path
7097 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7098
0bc06380
TZ
70992011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7100
7101 * json.el: Bump version to 1.3 and note change in History.
7102 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7103
8b79f3e0
SM
71042011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7105
5a7c536b
SM
7106 * comint.el (comint-insert-input, comint-send-input)
7107 (comint-get-old-input-default, comint-backward-matching-input)
7108 (comint-next-prompt): Use nil instead of `input' for field property of
7109 past user input (bug#114).
7110
96a8a0df
SM
7111 * minibuffer.el (completion--replace): Inherit surrounding properties
7112 (bug#114).
7113 (minibuffer-complete-and-exit): Use it.
7114
8b79f3e0
SM
7115 * comint.el (comint--table-subvert): Quote the all-completions output
7116 (bug#9160).
7117
b8f7ff0d
MR
71182011-10-17 Martin Rudalics <rudalics@gmx.at>
7119
8b79f3e0 7120 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7121
b8f7ff0d 7122 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7123 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7124 entries and separate them from frame entries.
7125
c235b555
GM
71262011-10-15 Glenn Morris <rgm@gnu.org>
7127
7128 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7129 Doc fixes.
7130
6bbfa6e1
CY
71312011-10-15 Chong Yidong <cyd@stupidchicken.com>
7132
8b79f3e0
SM
7133 * net/network-stream.el (network-stream-open-starttls):
7134 Improve detection of failure due to lack of TLS support.
ec5c990d 7135
6bbfa6e1
CY
7136 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7137 putting the input text in front and in bold.
7138
98488977
SM
71392011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7140
3d1337be
SM
7141 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7142
ee0b45e4
SM
7143 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7144 empty buffer.
7145
98488977
SM
7146 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7147 unread-command-events rather than pushing yet-another event.
7148
186f4720
EZ
71492011-10-14 Eli Zaretskii <eliz@gnu.org>
7150
7151 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7152 the explanation of the possible choices. Make the options passed
7153 to completing-read shorter.
7154
8b7a997c
AM
71552011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7156
7157 * textmodes/flyspell.el (flyspell-large-region): Make sure
7158 extended character mode is used if defined (Bug#1339).
7159
12587bbb
EZ
71602011-10-13 Eli Zaretskii <eliz@gnu.org>
7161
7162 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7163 character info for LRE, LRO, RLE, and RLO characters by appending
7164 an invisible PDF.
12587bbb 7165
bad41229
SM
71662011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7169 even in case of error; add debug spec; simplify data flow.
7170 (with-timeout-handler): Remove.
7171
28dbc92f
MA
71722011-10-12 Michael Albinus <michael.albinus@gmx.de>
7173
7174 Fix Bug#6019, Bug#9315.
7175
7176 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7177 complete `buffer-file-name', the local file name part could look
7178 remotely (for example on VMS).
7179
7180 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7181 `tramp-run-real-handler'.
7182 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7183 already quoted by '"'.
7184
7185 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7186 Let `file-name-handler-alist' be nil, the local file name part
7187 could look remotely (for example on VMS).
7188
e1b0b23a
SM
71892011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7190
7191 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7192 from here...
7193 (flyspell-post-command-hook): ...to here.
7194
a120bde9
SM
71952011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7198 if not needed.
7199 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7200 using completion. Protect against "slow" callers.
7201 Remove the "message hack".
7202
7ce7717b
JL
72032011-10-11 Juri Linkov <juri@jurta.org>
7204
7205 * isearch.el (isearch-lazy-highlight-word): New variable.
7206 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7207 Use it. (Bug#9727)
7208
c02ee9d6
GM
72092011-10-11 Glenn Morris <rgm@gnu.org>
7210
7211 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7212 like f90-previous-statement does.
7213
93e616fd 72142011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7215
1f190e73 7216 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7217 only in interactive use, to avoid error.
7218
af7b6078
SM
72192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * minibuffer.el (completion-file-name-table): Fix last change,
7222 i.e. ignore normal errors but not the other ones.
7223
0563dae9
MR
72242011-10-10 Martin Rudalics <rudalics@gmx.at>
7225
7226 * window.el (special-display-buffer-names)
7227 (special-display-regexps): Remove some remnants of earlier
7228 changes from doc-strings.
366ca7f3
MR
7229 (quit-windows-on): New function.
7230
7231 * vc/vc.el (vc-revert, vc-rollback):
7232 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7233 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7234 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7235
49677495
MR
72362011-10-09 Martin Rudalics <rudalics@gmx.at>
7237
7238 * window.el (frame-auto-hide-function): Add version tag.
7239 (Bug#9699)
7240
56f2d1e1
MA
72412011-10-09 Michael Albinus <michael.albinus@gmx.de>
7242
7243 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7244 condition.
7245
112a6592
LL
72462011-10-09 Leo Liu <sdl.web@gmail.com>
7247
7248 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7249 (Bug#9701)
7250
0812589b
GM
72512011-10-08 Glenn Morris <rgm@gnu.org>
7252
7253 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7254 before the first code statement zero indent. (Bug#9690)
7255
b2b0776e
CY
72562011-10-08 Chong Yidong <cyd@stupidchicken.com>
7257
7258 * simple.el (count-words-region): Always count in the region.
7259 Report the number of lines and characters too.
7260 (count-words): New command, which counts in the buffer if the
7261 region is inactive, as count-words-region used to.
7262 (count-words--message): New function. Handle plurals.
7263 (count-lines-region): Make it an alias for count-words-region.
7264
7265 * bindings.el (esc-map): Replace count-lines-region with
7266 count-words-region.
7267
c557cd6b
MR
72682011-10-08 Martin Rudalics <rudalics@gmx.at>
7269
7270 * window.el (window--delete): Delete dedicated frame
7271 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7272 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7273
61a57ef4 72742011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7275
3a7d293b 7276 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7277
c3833279
CY
72782011-10-07 Chong Yidong <cyd@stupidchicken.com>
7279
7280 * bindings.el ([M-left],[M-right]): Bind to left-word and
7281 right-word respectively.
7282
21ce8245
GM
72832011-10-07 Glenn Morris <rgm@gnu.org>
7284
7285 * cus-start.el (debug-on-quit): Fix custom type.
7286
6d823bb2
LMI
72872011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7288
0181e193
LMI
7289 * subr.el (define-key-after): Clarify that the function is not
7290 useful for non-menu keymaps.
7291
6d823bb2
LMI
7292 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7293
8e3459ce 72942011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7295
21ce8245 7296 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7297 in current minibuffer (Fix bug with recursive minibuffers).
7298
a1c2d21e
CY
72992011-10-06 Chong Yidong <cyd@stupidchicken.com>
7300
7301 * progmodes/gdb-mi.el (gdb): Doc fix.
7302
5a4cf282
MR
73032011-10-05 Martin Rudalics <rudalics@gmx.at>
7304
7305 * window.el (frame-auto-hide-function): New option replacing
7306 frame-auto-delete. Suggested by Stefan Monnier.
7307 (window--delete): Call frame-auto-hide-function instead of
7308 investigating frame-auto-delete.
c96111ea
MR
7309 (window-point-1, set-window-point-1): New functions.
7310 (window-in-direction, record-window-buffer, window-state-get-1)
7311 (display-buffer-record-window): Use window-point-1 instead of
7312 window-point.
7313 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7314
9854542e
SM
73152011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7316
7317 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7318
8943cfb0
GM
73192011-10-05 Glenn Morris <rgm@gnu.org>
7320
7321 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7322 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7323
647ab967
LL
73242011-10-05 Leo Liu <sdl.web@gmail.com>
7325
7326 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7327 works with buffer object.
7328
3ddfbced
SM
73292011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * mpc.el (mpc-tool-bar-map): Add labels.
7332
bdfa5dd2
GM
73332011-10-04 Glenn Morris <rgm@gnu.org>
7334
7335 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7336
0e2070b5
MR
73372011-10-04 Martin Rudalics <rudalics@gmx.at>
7338
7339 * window.el (window--delete): New function.
7340 (frame-auto-delete): Resuscitate option.
7341 (bury-buffer, replace-buffer-in-windows)
7342 (quit-window): Rewrite using window--delete.
7343 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7344 Pass display-buffer-mark-dedicated to window--display-buffer-2
7345 (Bug#9639).
7346
3dc61a09
SM
73472011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7348
915a9b64
SM
7349 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7350 returns a list (bug#9554). Add remote file name completion.
7351 * comint.el (comint--table-subvert): Curry and get quote&unquote
7352 functions as arguments.
7353 (comint--complete-file-name-data): Adjust call accordingly.
7354 * pcomplete.el (pcomplete--table-subvert): Remove.
7355 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7356
3dc61a09
SM
7357 * minibuffer.el (completion-table-case-fold): Use currying.
7358 (completion--styles-type, completion--cycling-threshold-type):
7359 New constants.
7360 (completion-styles, completion-category-overrides)
7361 (completion-cycle-threshold): Use them.
7362 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7363 completion-table-case-fold.
7364
8ea0a993
SB
73652011-10-03 Stephen Berman <stephen.berman@gmx.net>
7366
7367 * minibuffer.el (completion-category-overrides): Fix type of styles
7368 and add more user friendly tags (bug#9660).
7369
8c24b7f6
SM
73702011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7371
7372 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7373 (mule-input-method-string): New widget.
7374 (default-input-method, language-info-custom-alist): Use it.
7375
428fe61a
SM
73762011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7377
32c1fffd
SM
7378 * pcomplete.el: Require comint.
7379 (pcomplete--common-suffix): Remove.
7380 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7381 (pcomplete--table-subvert): Sync with comint--table-subvert.
7382 (pcomplete--entries): Use comint-completion-file-name-table.
7383 * comint.el (comint-unquote-filename): Simplify.
7384 (comint-completion-file-name-table): New function (bug#9616).
7385 (comint--complete-file-name-data): Use it.
7386
428fe61a
SM
7387 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7388 (pcmpl-gnu-tar-buffer): Remove.
7389 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7390 around. Make sure pcomplete-suffix-list is only changed temporarily.
7391 Don't look inside the tar's file if it's too large.
428fe61a 7392
04c52e2f
CY
73932011-10-01 Chong Yidong <cyd@stupidchicken.com>
7394
ce3cefcc
CY
7395 * cus-edit.el (custom-mode-map):
7396 * epa.el (epa-key-list-mode-map):
7397 * man.el (Man-mode-map):
7398 * startup.el (splash-screen-keymap):
7399 * simple.el (special-mode-map): Use scroll-up-command and
7400 scroll-down-command.
7401
7402 * progmodes/idlw-help.el (idlwave-help-mode-map):
7403 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7404 * net/newst-plainview.el (newsticker-mode-map):
7405 * emulation/ws-mode.el (wordstar-mode-map):
7406 * emulation/vi.el (vi-com-map):
7407 * calc/calc-graph.el (calc-graph-show-dumb):
7408 * term/sun.el (terminal-init-sun):
7409 * term/ns-win.el (global-map):
7410 * progmodes/grep.el (grep-mode-map):
7411 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7412 * mail/rmail.el (rmail-mode-map):
7413 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7414
04c52e2f
CY
7415 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7416 custom-safe-themes as special.
7417
79adf8c8
JD
74182011-10-01 Julien Danjou <julien@danjou.info>
7419
7420 * notifications.el (notifications-notify): Fix docstring.
7421
63bd50d3
PS
74222011-10-01 Per Starbäck <per@starback.se>
7423
7424 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7425
199e4c7e
MR
74262011-09-30 Martin Rudalics <rudalics@gmx.at>
7427
7428 * startup.el (command-line-1): Fix last fix by inserting
7429 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7430 (Bug#9605) and (Bug#9636)
199e4c7e 7431
fe5f08dd
EZ
74322011-09-29 Eli Zaretskii <eliz@gnu.org>
7433
7434 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7435 window is hscrolled, move by logical lines. (Bug#9607)
7436 (line-move-visual): Update the doc string to the above effect.
7437
b5516bbd
MR
74382011-09-29 Martin Rudalics <rudalics@gmx.at>
7439
ccee00c0
MR
7440 * window.el (display-buffer-record-window): When WINDOW is the
7441 selected window use `point' instead of `window-point'. (Bug#9626)
7442
b5516bbd
MR
7443 * startup.el (command-line-1): Use insert-before-markers when
7444 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7445
b5516bbd
MR
7446 * help.el (help-window): Remove variable.
7447
52aa0014
GM
74482011-09-29 Glenn Morris <rgm@gnu.org>
7449
7450 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7451
df9a7357
JB
74522011-09-29 Juanma Barranquero <lekktu@gmail.com>
7453
7454 * descr-text.el (describe-char-categories): Accept category
7455 descriptions more than one line long.
7456
a8406c20
SM
74572011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7458
88d9610c
SM
7459 * simple.el (delete-trailing-whitespace): Fix last change.
7460
a5daf810
SM
7461 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7462 Don't confuse "y => 3" as the beginning of a `y' operation.
7463
a8406c20
SM
7464 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7465 object has more than 4 slots (bug#9613).
7466
a239d4e9
JB
74672011-09-28 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * subr.el (with-output-to-temp-buffer):
7470 * net/quickurl.el (quickurl, quickurl-browse-url):
7471 Fix typos in docstrings.
7472
693fbdb6
EZ
74732011-09-27 Eli Zaretskii <eliz@gnu.org>
7474
7475 * minibuffer.el (completion-styles)
7476 (completion-category-overrides): Cross reference each other in doc
7477 strings.
7478
8b457e28
GM
74792011-09-27 Glenn Morris <rgm@gnu.org>
7480
7481 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7482 to split-string. (Bug#9606)
7483
85a16208
LMI
74842011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7485
7486 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7487 (bug#9615).
7488
502f9ebd
CY
74892011-09-27 Chong Yidong <cyd@stupidchicken.com>
7490
7491 * emacs-lisp/package.el (list-packages): Fix echo area message.
7492
7690bdea
LL
74932011-09-27 Leo Liu <sdl.web@gmail.com>
7494
7495 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7496
e2ee6f30
MA
74972011-09-25 Michael Albinus <michael.albinus@gmx.de>
7498
7499 * net/dbus.el (dbus-unregister-object): Don't release services for
7500 registered signals. (Bug#9581)
7501
f3f98342
TZ
75022011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7503
7504 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7505 function that picks between cfengine 2 and 3 support
7506 automatically. Update docs accordingly.
7507
dd7aa8dd
KH
75082011-09-22 Kenichi Handa <handa@m17n.org>
7509
7510 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7511 ZERO.
7512 (indian-itrans-v5-table-for-tamil): New variable.
7513 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7514
3f2b07f8
KM
75152011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7516
7517 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7518 that's true if the current command involved collapsing of text.
7519 It's reset to false at the beginning of the next command.
7520 (allout-post-command-business): Move the cursor to the beginning
7521 of entry if the cursor is hidden and collapsing activity just
7522 happened.
7523
371d6a61
CY
75242011-09-24 Chong Yidong <cyd@stupidchicken.com>
7525
7526 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7527 tracking (Bug#9541).
7528
2ac2721a
UJ
75292011-09-24 Ulf Jasper <ulf.jasper@web.de>
7530
7531 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7532 (newsticker-show-news): Automatically load html rendering package
7533 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7534 because w3m-fill-column is let-bound" and the error "Symbol's value
7535 as variable is void: w3m-fill-column".
2ac2721a 7536
fac7ae53
MA
75372011-09-24 Michael Albinus <michael.albinus@gmx.de>
7538
7539 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7540 Release services only if they are defined. (Bug#9581)
7541
e08b633b
RS
75422011-09-23 Richard Stallman <rms@gnu.org>
7543
e488d29c
RS
7544 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7545 distinguish start of paragraph from start of its text.
7546
19c38752
RS
7547 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7548
e08b633b
RS
7549 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7550 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7551 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7552
0a39f27e
AS
75532011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7554
7555 * international/mule-diag.el (mule-diag): Insert a newline after
7556 each fontset description.
7557
db4e950d
SM
75582011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * simple.el (delete-trailing-whitespace):
7561 Document last change; simplify.
7562
eca3f3ea
PW
75632011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7564
d68e189a
PW
7565 * simple.el (delete-trailing-whitespace): Also delete
7566 extra newlines at the end of the buffer.
7567
eca3f3ea
PW
7568 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7569 (picture-newline): Use forward-line so as to ignore fields.
7570
01c157cc
SM
75712011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * subr.el (with-wrapper-hook): Fix edebug spec.
7574
022de23e
LMI
75752011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7576
7577 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7578 (bug#4538).
7579
91683089
MA
75802011-09-23 Michael Albinus <michael.albinus@gmx.de>
7581
eca3f3ea
PW
7582 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7583 Fix nasty bug using wrong cached values.
91683089 7584
5bdd6fa4
AM
75852011-09-23 Alan Mackenzie <acm@muc.de>
7586
7587 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7588
97adfb97
CY
75892011-09-23 Chong Yidong <cyd@stupidchicken.com>
7590
7591 * window.el (pop-to-buffer): Ensure right window is selected if we
7592 chose another frame.
7593
d4ef2b50
EZ
75942011-09-22 Eli Zaretskii <eliz@gnu.org>
7595
7596 * simple.el (what-cursor-position): Use get-char-property-change
7597 and next-single-char-property-change, to be able to show display
7598 properties that come from overlays as well as text properties.
7599
72258fe5
CY
76002011-09-22 Chong Yidong <cyd@stupidchicken.com>
7601
7602 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7603
7604 * cmuscheme.el (run-scheme, switch-to-scheme):
7605 * cus-edit.el (customize-group, custom-buffer-create)
7606 (customize-browse):
7607 * info.el (info):
7608 * shell.el (shell):
7609 * mail/sendmail.el (mail):
7610 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7611
8f098516
RS
76122011-09-22 Richard Stallman <rms@gnu.org>
7613
7614 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7615 move back only to line beg, don't move back over blank lines.
7616
e74f1bb6
MA
76172011-09-22 Michael Albinus <michael.albinus@gmx.de>
7618
7619 * files.el (copy-directory): Set directory attributes only in case
7620 they could be retrieved from the source directory. (Bug#9565)
7621
bfeef8b6
DK
76222011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7623
7624 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7625 (hs-find-block-beginning, hs-hide-level-recursive):
7626 Ignore strings as well as comments. (Bug#9502)
7627
7e423bb8
AS
76282011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7629
7630 * progmodes/sql.el (sql-comint-postgres):
7631 Convert port number to a string. (Bug#9566)
7632
b4d72fcf
MR
76332011-09-22 Martin Rudalics <rudalics@gmx.at>
7634
7635 * window.el (quit-window): Undedicate window when switching to
7636 previous buffer. Reported by Thierry Volpiatto
7637 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7638 (special-display-popup-frame): When popping up a new frame reset
7639 its previous buffers to nil. Simplify code.
b4d72fcf 7640
a7b88dc6
MA
76412011-09-21 Michael Albinus <michael.albinus@gmx.de>
7642
7643 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7644 and process filter, as done also in `shell-command'.
7645
cf4eacfd
MR
76462011-09-21 Martin Rudalics <rudalics@gmx.at>
7647
eca3f3ea 7648 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7649 Call set-window-start with NOFORCE argument t.
7650 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7651 (quit-window): Reword doc-string. Handle new format of
7652 quit-restore parameter. Don't delete window if it has a
7653 previous buffer we can show instead of the present one.
7654 (display-buffer-record-window): Rewrite using a new format for
7655 the quit-restore window parameter
7656 (special-display-popup-frame, display-buffer-same-window)
7657 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7658 (display-buffer-pop-up-window, display-buffer-use-some-window):
7659 Adapt symbol passed to display-buffer-record-window.
7660 * help.el (help-window-setup): Handle new format of quit-restore
7661 parameter.
7662
8d28cb95
SM
76632011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7664
94ab793f
SM
7665 * faces.el (face-list): Fix docstring (bug#9564).
7666
8d28cb95
SM
7667 * window.el (display-buffer--action-function-custom-type):
7668 Don't include internal functions in the Custom interface.
7669
3820edeb
JL
76702011-09-20 Juri Linkov <juri@jurta.org>
7671
7672 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7673 (Info-forward-node, Info-backward-node, Info-next-preorder)
7674 (Info-last-preorder): Use it. (Bug#9528)
7675
5147931d
JL
76762011-09-20 Juri Linkov <juri@jurta.org>
7677
7678 * info.el (Info-last-preorder): Visit last menu item only when
7679 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7680
cf499a1a
JD
76812011-09-20 Julien Danjou <julien@danjou.info>
7682
7683 * password-cache.el (password-cache-remove): Remove entries even if the
7684 value is nil, so that password with a nil value (negative caching) is
7685 possible to invalidate.
7686
f84e2fe2
LM
76872011-09-20 Lawrence Mitchell <wence@gmx.li>
7688
7689 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7690 all whitespace around breakpoint. (Bug#9553)
7691 (f90-find-breakpoint): Only break at whitespace inside a comment.
7692
78054a46
SM
76932011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7694
7695 * minibuffer.el (completion-file-name-table): Keep track of errors.
7696 (completion-table-with-predicate): Handle the case where pred1 is nil.
7697 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7698
345083b2
SM
76992011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7700
e24e27be
SM
7701 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7702 (debugger-return-value): Signal an error if the debugging context does
7703 not await any return value.
7704
345083b2
SM
7705 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7706 * image-mode.el (image-toggle-display-text)
7707 (image-toggle-display-image): Stay away from evil `intangible'.
7708
08d355e3
LL
77092011-09-19 Leo Liu <sdl.web@gmail.com>
7710
7711 * replace.el (occur-revert-arguments): Make it permanent-local.
7712 (occur-mode): Don't call font-lock-defontify.
7713
f01da43f
CY
77142011-09-19 Chong Yidong <cyd@stupidchicken.com>
7715
7716 * net/ldap.el (ldap-search-internal): Don't push empty search
7717 result (Bug#9508).
7718
b6072fa6
SM
77192011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7722
443d6696
MA
77232011-09-19 Michael Albinus <michael.albinus@gmx.de>
7724
7725 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7726 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7727
7cc6e154
JL
77282011-09-18 Juri Linkov <juri@jurta.org>
7729
7730 * buff-menu.el (Buffer-menu-mode-map):
7731 * dired.el (dired-mode-map):
7732 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7733 (lisp-interaction-mode-map):
7734 * emacs-lisp/package.el (package-menu-mode-map):
7735 * epa.el (epa-key-list-mode-map):
7736 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7737 (menu-bar-options-menu):
7738 * outline.el (outline-mode-menu-bar-map):
7739 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7740 * vc/vc-dir.el (vc-dir-menu-map):
7741 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7742 Capitalize non-function content words in menu item strings.
7743
7744 * dired.el (dired-mode-map): Add menu item for
7745 `image-dired-dired-toggle-marked-thumbs'.
7746
80302a81
JL
77472011-09-18 Juri Linkov <juri@jurta.org>
7748
7749 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7750 to `isearch-case-fold-search' and restore its original value
7751 after the `isearch-mode' call.
7752
46c5cf66
JL
77532011-09-18 Juri Linkov <juri@jurta.org>
7754
7755 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7756 because `zgrep' returns 1 for successful matches (bug#9226).
7757
d18b513b
JL
77582011-09-18 Juri Linkov <juri@jurta.org>
7759
7760 * info.el (Info-extract-menu-node-name): Check the second match
7761 for empty string (second test-case of bug#9528).
7762 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7763 intermediate nodes to the history (first test-case of bug#9528).
7764
72753f87
JL
77652011-09-18 Juri Linkov <juri@jurta.org>
7766
7767 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7768 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7769
c9384295
JL
77702011-09-18 Juri Linkov <juri@jurta.org>
7771
1154d12e
JB
7772 * info.el (Info-file-supports-index-cookies):
7773 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7774 outputs one more line for long file names (bug#4142).
c9384295 7775
d473dce8
CY
77762011-09-18 Chong Yidong <cyd@stupidchicken.com>
7777
7778 * newcomment.el (comment-normalize-vars): If prompting for
7779 comment-start, set comment-start-skip too (Bug#8424).
7780
2176854d
JB
77812011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7782
7783 * icomplete.el: Fix previous fix of Bug#5849.
7784 (icomplete-mode): Don't set completion-show-inline-help.
7785 (icomplete-minibuffer-setup): Set completion-show-inline-help
7786 locally during icompletion.
7787
3aace4e4
CY
77882011-09-18 Chong Yidong <cyd@stupidchicken.com>
7789
c940224f
CY
7790 * woman.el (woman2-process-escapes): Don't delete unrecognized
7791 escapes (Bug#7843).
7792
3aace4e4
CY
7793 * files.el (inhibit-first-line-modes-regexps): Add image files.
7794 (hack-local-variables-prop-line): Return nil for malformed
7795 prop-lines (Bug#9044).
7796
710dec63
MA
77972011-09-18 Michael Albinus <michael.albinus@gmx.de>
7798
7799 * net/tramp.el (top): Don't require 'shell.
7800 (tramp-methods): Fix docstring.
7801 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7802 Return complete remote file name. Handle "smb" case.
7803 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7804 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7805
7806 * net/tramp-compat.el (top): Require 'shell.
7807
7808 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7809 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7810 `tramp-current-host'.
7811 (tramp-get-remote-tmpdir): Remove.
7812
7813 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7814 `tramp-tmpdir' entries.
7815 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7816 (tramp-smb-handle-file-attributes): Ignore errors.
7817 (tramp-smb-wait-for-output): Check also for process end.
7818
5d5ac8ec
LMI
78192011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7820
7821 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7822 when sending QUIT (bug#9312).
7823
8c0f49f0
CY
78242011-09-17 Chong Yidong <cyd@stupidchicken.com>
7825
7826 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7827 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7828 occur-mode-display-occurrence.
7829 (occur-edit-mode): Add usage message.
7830 (occur-cease-edit): New command.
7831 (occur-after-change-function): Use text properties to find the
7832 position of the prefix text.
7833 (occur-engine): Set stickiness of prefix text properties.
7834
8f1383f7
GM
78352011-09-17 Glenn Morris <rgm@gnu.org>
7836
7837 * progmodes/etags.el (complete-tag):
7838 Fix call to completion-in-region. (Bug#9526)
7839
744ba0e3
JL
78402011-09-17 Juri Linkov <juri@jurta.org>
7841
7842 * textmodes/ispell.el (ispell-word): Add to the error message
7843 the word, ispell program name and current dictionary (bug#9121).
7844 (ispell-tex-arg-end): Capitalize "error" in the error message.
7845
d9bbf400
AS
78462011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7847
7848 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7849 check. (Bug#4251)
7850
8da11505
JL
78512011-09-17 Juri Linkov <juri@jurta.org>
7852
7853 * window.el (window-safe-min-height, window-safe-min-width):
7854 Fix typos (followup to bug#9522).
7855
a91adc7e
SJ
78562011-09-17 Sven Joachim <svenjoac@gmx.de>
7857
7858 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7859
064f328a
EZ
78602011-09-16 Eli Zaretskii <eliz@gnu.org>
7861
7862 * simple.el (line-move): If goal-column is set, move by logical
7863 lines, not by display lines. (Bug#971)
7864 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7865 to reflect the above change.
7866
e69df516
SM
78672011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * image.el (imagemagick-register-types): Use regexp-opt.
7870
cbb0f9ab
CY
78712011-09-15 Chong Yidong <cyd@stupidchicken.com>
7872
7873 * window.el (display-buffer-base-action): Rename from
7874 display-buffer-default-action. Make default value empty.
7875 (display-buffer-overriding-action): Convert to defvar.
7876 (display-buffer-fallback-action): New var.
7877
25322144
CY
78782011-09-15 Chong Yidong <cyd@stupidchicken.com>
7879
7880 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7881 declaration.
7882 (package--add-to-archive-contents): If there is a duplicate entry
7883 with an older version, remove it.
7884 (package-menu-mark-delete, package-menu-mark-install)
7885 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7886 (package-menu-mark-obsolete-for-deletion):
7887 Use package-menu-get-status instead of a regexp search.
25322144
CY
7888 (package-menu-get-status): Use tabulated-list-entry.
7889 (package-menu-mark-upgrades): New command.
d770725a 7890 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7891 (package-menu-execute): Do installation before deletion.
7892 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7893 instead of checking major-mode.
7894 (package-menu--find-upgrades): New function.
7895
7520339c
LMI
78962011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7897
7898 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7899 passwords in the log buffer.
65a046c4
LMI
7900 (smtpmail-process-filter): Update the process marker so that the
7901 "broken by peer" status message is inserted in the right place.
7520339c 7902
d3c30954
SM
79032011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7904
3fe48822
SM
7905 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7906 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7907 bibtex-completion-at-point-function.
7908 (bibtex-completion-at-point-function): Use them.
7909
1b8b3954
SM
7910 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7911
d3c30954
SM
7912 * mpc.el (mpc-constraints-tag-lookup): New function.
7913 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7914 also to browser "album|playlist".
7915
72779976
JL
79162011-09-14 Juri Linkov <juri@jurta.org>
7917
7918 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7919 (isearch-edit-string): Use length of `isearch-string' when
7920 `isearch-fail-pos' returns nil.
7921 (isearch-message): Remove duplicate code and call
7922 `isearch-fail-pos' with arg `t'.
7923
a0bf2bcd
CY
79242011-09-14 Chong Yidong <cyd@stupidchicken.com>
7925
17bb0a2d
CY
7926 * replace.el (occur-mode-goto-occurrence): Don't force using other
7927 window (Bug#9499).
7928
a0bf2bcd
CY
7929 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7930
f678e0b6
MR
79312011-09-14 Martin Rudalics <rudalics@gmx.at>
7932
7933 * window.el (display-buffer-window): Remove.
7934 (display-buffer-record-window): Use help-setup window parameter
7935 instead of variable display-buffer-window.
7936 (display-buffer-function, special-display-buffer-names)
7937 (special-display-function): Mention help-setup parameter instead
7938 of display-buffer-window in doc-string.
d3c30954
SM
7939 * help.el (help-window-setup): New argument help-window.
7940 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7941 Reword some messages.
7942 (with-help-window): Pass window used for displaying the buffer
7943 to help-window-setup. Don't set display-buffer-window.
7944
8e39b2e8
GM
79452011-09-13 Glenn Morris <rgm@gnu.org>
7946
7947 * emacs-lisp/debug.el (debugger-make-xrefs):
7948 Preserve point. (Bug#9462)
7949
85e9c04b
CY
79502011-09-13 Chong Yidong <cyd@stupidchicken.com>
7951
7952 * window.el (window-deletable-p): Use next-frame.
7953
1b36ed6a
MR
79542011-09-13 Martin Rudalics <rudalics@gmx.at>
7955
7956 * window.el (window-auto-delete): Remove.
7957 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7958 dedication and previous buffers.
1b36ed6a
MR
7959 (switch-to-prev-buffer): Don't delete window.
7960 (delete-windows-on): Delete a window's frame if and only if the
7961 window is dedicated.
7962 (replace-buffer-in-windows): Delete buffer's window or frame if
7963 and only if window is dedicated.
7964 (quit-window): Handle quit-restore as before last change.
4d61f28d 7965 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7966
ef8ef9fb
CY
79672011-09-13 Chong Yidong <cyd@stupidchicken.com>
7968
7969 * window.el (window-deletable-p): Never delete the last frame on a
7970 given terminal.
7971
b2cba41e
GM
79722011-09-13 Glenn Morris <rgm@gnu.org>
7973
7974 * help.el (describe-key-briefly): Copy previous standard-output change.
7975
51553db6 79762011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7977
7978 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7979
b7556719
GM
79802011-09-13 Glenn Morris <rgm@gnu.org>
7981
7982 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7983 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7984
64b51947
CY
79852011-09-12 Chong Yidong <cyd@stupidchicken.com>
7986
7987 * dired-aux.el (dired-mark-read-string): Don't return default
7988 value on empty input (Bug#9361).
7989 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7990 Omit initial minibuffer contents.
7991 (dired-do-chmod): Signal an error on empty input.
7992 (dired-mark-read-string): Don't return default on empty input.
7993
7994 * files.el (file-modes-symbolic-to-number): Doc fix.
7995
393a301e
SM
79962011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7997
7998 * international/mule-cmds.el (ucs-completions): Remove.
7999 (read-char-by-name): Use complete-with-action instead; add metadata.
8000
fa5660f9
CY
80012011-09-11 Chong Yidong <cyd@stupidchicken.com>
8002
8003 * window.el (display-buffer--action-function-custom-type)
8004 (display-buffer--action-custom-type): New vars.
8005 (display-buffer-alist, display-buffer-default-action)
8006 (display-buffer-overriding-action): Add defcustom types.
8007
4a592f66
CY
8008 * frame.el (delete-other-frames): Doc fix (Bug#276).
8009
73d56dbd
LMI
80102011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8011
8012 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8013
37ac18a3
CY
80142011-09-11 Chong Yidong <cyd@stupidchicken.com>
8015
8016 Change modes that used same-window-* vars to use switch-to-buffer.
8017
8018 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8019 Use switch-to-buffer.
8020
8021 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8022 (customize-browse, custom-buffer-create-other-window):
8023 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8024
8025 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8026 (Info-prev, Info-up, Info-speedbar-goto-node)
8027 (info-display-manual): Use switch-to-buffer.
8028 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8029
8030 * mail/sendmail.el (mail): Use switch-to-buffer.
8031 (mail-recover): Use switch-to-buffer-other-window.
8032
8033 * cmuscheme.el (run-scheme, switch-to-scheme):
8034 * ielm.el (ielm):
8035 * shell.el (shell):
8036 * net/rlogin.el (rlogin):
8037 * net/telnet.el (telnet, rsh):
8038 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8039
10195bd6
AS
80402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8041
8042 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8043
b322f63a
LMI
80442011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8045
39d7fed6
LMI
8046 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8047 so don't mention it (bug#9301).
ba5a81f1 8048 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8049
ee0e9f11
LMI
8050 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8051 match `x', `w32' and `ns', like the manual says (bug#9029).
8052
0b1c89c1 8053 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8054 (process-kill-buffer-query-function): Mention the buffer name in
8055 the query.
0b1c89c1 8056
77549ea8
LMI
8057 * image-mode.el (image-next-line): The line parameter is mandatory
8058 (bug#9258).
8059
803ef892
LMI
8060 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8061 which can be useful (bug#9301).
8062
12980837
LMI
8063 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8064
91054f8f
LMI
8065 * subr.el (match-string): Mention that the current buffer should
8066 be the same as the search was done in (bug#9282).
8067
b322f63a
LMI
8068 * facemenu.el: Disable the remove-* commands if the mark isn't
8069 active (bug#9162).
8070
3199b96f
CY
80712011-09-10 Chong Yidong <cyd@stupidchicken.com>
8072
8073 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8074 of display-buffer.
8075 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8076
8077 * replace.el (occur-mode-goto-occurrence)
8078 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8079 and display-buffer.
8080
8081 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8082 display-buffer.
8083
8084 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8085 special-display and same-window variables.
8086 (mail-other-window): Use switch-to-buffer-other-window.
8087 (mail-other-frame): USe switch-to-buffer-other-frame.
8088
393a301e
SM
8089 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8090 Use display-buffer-other-frame.
3199b96f
CY
8091 (gdb-display-gdb-buffer): Use pop-to-buffer.
8092
8093 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8094
8095 * progmodes/python.el: Don't set same-window-buffer-names.
8096
8097 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8098
8099 * window.el (display-buffer-alist): Add *Python*.
8100
8319e0bf
CY
81012011-09-10 Chong Yidong <cyd@stupidchicken.com>
8102
8103 * window.el (display-buffer-alist): Add entry for buffers
8104 previously handled same-window-*.
8105 (display-buffer-alist, display-buffer-default-action)
8106 (display-buffer-overriding-action): Mark as risky.
8107 (display-buffer-alist): Document action function changes.
8108 (display-buffer--same-window-action)
8109 (display-buffer--other-frame-action): New variables.
8110 (switch-to-buffer, display-buffer-other-frame): Use them.
8111 (display-buffer): Rename reuse-frame entry to reusable-frames.
8112 (display-buffer-reuse-selected-window): Function deleted.
8113 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8114 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8115 (display-buffer-special): New function.
8116 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8117 display-buffer-reuse-or-pop-window. Split off special-display
8118 part into display-buffer-special.
8119 (display-buffer-use-some-window): Don't perform any special
8120 pop-up-frames handling.
8121 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8122 (display-buffer--maybe-same-window): Rename from
0d3ff375 8123 display-buffer-maybe-same-window.
8319e0bf 8124
919a69aa
CY
8125 * info.el: Don't set same-window-regexps.
8126 (info-setup): New function.
8127 (info-other-window, info): Call it.
8128
8129 * cus-edit.el: Don't set same-window-regexps.
8130 (customize-group): New argument.
8131 (customize-group-other-window): Use it.
8132 (customize-face, customize-face-other-window): Likewise.
8133 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8134
8319e0bf
CY
8135 * net/rlogin.el:
8136 * net/telnet.el:
8137 * progmodes/gud.el: Don't set same-window-regexps.
8138
8139 * cmuscheme.el:
8140 * ielm.el:
8141 * shell.el:
8142 * mail/sendmail.el:
8143 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8144
25173000
JL
81452011-09-10 Juri Linkov <juri@jurta.org>
8146
8147 * isearch.el (isearch-edit-string): Remove obsolete mention of
8148 `C-w' (`isearch-yank-word-or-char') from docstring.
8149 (isearch-query-replace): Fix typo in docstring (bug#9466).
8150
056e44ef
JL
81512011-09-10 Juri Linkov <juri@jurta.org>
8152
8153 * paren.el (show-paren-function): Don't show escaped parens.
8154 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8155
c3760c17
EZ
81562011-09-10 Eli Zaretskii <eliz@gnu.org>
8157
8158 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8159 (mm-default-file-encoding): Remove autoload forms, they are
8160 replaced with autoload cookies in mml.el and mm-encode.el.
8161 (mail-add-attachment): New command.
8162 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8163 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8164 the doc string.
8165 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8166
fece895e
RT
81672011-09-10 Reuben Thomas <rrt@sc3d.org>
8168
e69df516
SM
8169 * simple.el (count-words-region): Use buffer if there's no region
8170 (bug#9429).
fece895e 8171
5e68ce4a
JL
81722011-09-09 Juri Linkov <juri@jurta.org>
8173
8174 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8175 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8176 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8177
0a6b9622
AM
81782011-09-09 Alan Mackenzie <acm@muc.de>
8179
8180 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8181 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8182
14a29deb
EZ
81832011-09-09 Eli Zaretskii <eliz@gnu.org>
8184
8185 Fix for Savannah bug#9392.
8186 * simple.el (mail-encode-mml): New defvar.
8187
8188 * mail/rmail.el (mail-encode-mml): Add a defvar.
8189 (rmail-enable-mime-composing): Default to t.
8190 (rmail-forward): Use MIME method of forwarding only if both
8191 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8192 Set mail-encode-mml non-nil if the MIME method was used.
8193
8194 * mail/sendmail.el (mml-to-mime): Add autoload form.
8195 (mail-encode-mml): Add a defvar.
8196 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8197 to nil.
8198 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8199 message through mml-to-mime, and reset mail-encode-mml to nil.
8200
28c45130
GM
82012011-09-09 Glenn Morris <rgm@gnu.org>
8202
8203 * woman.el (woman-if-body): When processing an .el block,
8204 do not delete the next .el block as well. (Bug#9447)
69f4b618 8205 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8206
9b1c252e
MR
82072011-09-08 Martin Rudalics <rudalics@gmx.at>
8208
8209 * window.el (window-deletable-p): Make sure window is live before
8210 invoking window-prev-buffers.
8211
567457e3
LL
82122011-09-08 Leo Liu <sdl.web@gmail.com>
8213
8214 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8215
97f05794
JL
82162011-09-08 Juri Linkov <juri@jurta.org>
8217
8218 * progmodes/compile.el (compilation-environment): Make it
8219 a defcustom (bug#8340).
8220
8b0874b5
MR
82212011-09-08 Martin Rudalics <rudalics@gmx.at>
8222
8223 * window.el (frame-auto-delete): Rename to window-auto-delete.
8224 Make it control auto-deletion of windows and/or frames.
8225 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8226 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8227 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8228 Rewrite handling of case when window/frame can be deleted.
8229 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8230 argument t. (Bug#9456)
8b0874b5 8231
4feb6e73
CY
82322011-09-07 Chong Yidong <cyd@stupidchicken.com>
8233
8234 * help-mode.el (help-mode): Restore autoload.
8235
91ab9c13
JL
82362011-09-07 Juri Linkov <juri@jurta.org>
8237
8238 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8239 `compilation-environment'. Set buffer-local
8240 `compilation-environment' to `thisenv' later after (funcall mode).
8241 (Bug#8340)
8242
8243 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8244 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8245 instead of replacing its value. (Bug#8340)
8246
0527e251
JL
82472011-09-07 Juri Linkov <juri@jurta.org>
8248
8249 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8250 based on text properties put by `grep-filter' instead of matching
8251 escape sequences.
8252 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8253 to the value of `grep-error-screen-columns' (bug#9438).
8254
249f792c
JL
82552011-09-07 Juri Linkov <juri@jurta.org>
8256
8257 * simple.el (next-error-highlight, next-error-highlight-no-select):
8258 Doc fix (bug#9432).
8259
ff7271b9
OT
82602011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8261
8262 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8263 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8264
183fc730
LL
82652011-09-07 Leo Liu <sdl.web@gmail.com>
8266
8267 * net/rcirc.el (rcirc-mode): Conditionally initialize
8268 rcirc-input-ring.
8269
77694924
SM
82702011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * emacs-lisp/find-func.el (find-function-C-source): Only set
8273 find-function-C-source-directory after checking that we found a source
8274 file there (bug#9440).
8275
d809b8eb
AM
82762011-09-06 Alan Mackenzie <acm@muc.de>
8277
8278 * isearch.el (isearch-other-meta-char): Wherever a key list is
8279 unread, "unread" the prefix arg, too. This fixes bug #8901.
8280
453de99f
OG
82812011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8282
8283 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8284
90439906
JL
82852011-09-05 Juri Linkov <juri@jurta.org>
8286
8287 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8288
f62bd846
JL
82892011-09-05 Juri Linkov <juri@jurta.org>
8290
8291 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8292 keeping point where processing of grep matches begins, and
8293 continue to delete remaining escape sequences from the same point.
8294 (grep-filter): Make leading zero optional in "0?1;31m" because
8295 git-grep emits "\033[1;31m" escape sequences unlike expected
8296 "\033[01;31m" as GNU Grep does (bug#9408).
8297 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8298
045820ec
JL
82992011-09-05 Juri Linkov <juri@jurta.org>
8300
8301 * subr.el (y-or-n-p): Capitalize "yes".
8302
f5e29b9b
MA
83032011-09-04 Michael Albinus <michael.albinus@gmx.de>
8304
8305 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8306 `tramp-cache-unload-hook' where appropriate.
8307 (tramp-methods): Rename `tramp-remote-sh' to
8308 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8309 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8310
8311 * net/tramp-sh.el (top): Don't require 'shell.
8312 (tramp-methods): Add `tramp-remote-shell' and
8313 `tramp-remote-shell-args' entries.
8314 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8315 (tramp-sh-handle-shell-command): Remove.
8316 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8317 Use `tramp-remote-shell'.
8318
2784c434
CY
83192011-09-03 Chong Yidong <cyd@stupidchicken.com>
8320
393a301e 8321 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8322 (sendmail-query-once): Save directly to send-mail-function.
8323 Update message-send-mail-function too.
8324
8325 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8326
464cdf56
CS
83272011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8328
8329 * progmodes/python.el (python-mode-map): Use correct function to
8330 start python interpreter from menu-bar (as reported by Geert
8331 Kloosterman).
8332 (inferior-python-mode-map): Fix typo.
393a301e 8333 (python-shell-map): Remove.
464cdf56 8334
d37e5c87
DD
83352011-09-03 Deniz Dogan <deniz@dogan.se>
8336
8337 * net/rcirc.el (rcirc-print): Simplify code for
8338 rcirc-scroll-show-maximum-output. There is no need to walk
8339 through all windows to find the right one.
8340
f3ada0ee
CS
83412011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8342
8343 * help.el (help-return-method): Doc fix.
8344
1f3c99ca
MR
83452011-09-03 Martin Rudalics <rudalics@gmx.at>
8346
8347 * window.el (window-deletable-p): Don't return a non-nil value
8348 when there's a buffer that was shown in the window before.
8349 (Bug#9419)
393a301e
SM
8350 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8351 Set window's previous buffers to nil.
1f3c99ca 8352
a3cf097f
EZ
83532011-09-03 Eli Zaretskii <eliz@gnu.org>
8354
8355 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8356 newline before and after the tag line, so it doesn't interfere
8357 with determining the paragraph direction of bidirectional text.
8358
3d03de90
LL
83592011-09-03 Leo Liu <sdl.web@gmail.com>
8360
8361 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8362
c3313451
CY
83632011-09-02 Chong Yidong <cyd@stupidchicken.com>
8364
393a301e 8365 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8366 (pop-to-buffer): Change interactive spec. Pass second argument
8367 directly to display-buffer.
8368 (display-buffer): Fix interactive spec. Use functionp to
8369 distinguish between a function and a list of functions.
8370
8371 * abbrev.el (edit-abbrevs):
8372 * arc-mode.el (archive-extract):
8373 * autoinsert.el (auto-insert):
8374 * bookmark.el (bookmark-bmenu-list):
8375 * files.el (find-file):
8376 * view.el (view-buffer):
8377 * progmodes/compile.el (compilation-goto-locus):
8378 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8379
89894cd8
CY
83802011-09-02 Chong Yidong <cyd@stupidchicken.com>
8381
8382 * window.el (display-buffer-alist): Doc fix.
8383 (display-buffer): Add docstring. Don't treat
8384 display-buffer-default specially.
8385 (display-buffer-reuse-selected-window)
8386 (display-buffer-same-window, display-buffer-maybe-same-window)
8387 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8388 (display-buffer-pop-up-window)
8389 (display-buffer-reuse-or-pop-window)
8390 (display-buffer-use-some-window): New functions.
8391 (display-buffer-default-action): Use them.
393a301e 8392 (display-buffer-default): Delete.
89894cd8
CY
8393 (pop-to-buffer-1): Fix choice of actions.
8394
ae0bc9fb
SM
83952011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * minibuffer.el (completion--insert-strings): Don't get confused by
8398 completion entries that end with an LF char.
8399
e9d90883
EZ
84002011-09-01 Eli Zaretskii <eliz@gnu.org>
8401
8402 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8403
437014c8
CY
84042011-09-01 Chong Yidong <cyd@stupidchicken.com>
8405
8406 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8407 (display-buffer-same-window, display-buffer-other-window):
8408 New functions.
437014c8
CY
8409 (pop-to-buffer-1): New function. Use the above.
8410 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8411 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8412
8413 * view.el (view-buffer-other-window, view-buffer-other-frame):
8414 Just use pop-to-buffer.
8415
a5e063d5
TV
84162011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8417
8418 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8419
793d32bb
WH
84202011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8421
8422 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8423
d65e4c15
RS
84242011-08-31 Richard Stallman <rms@gnu.org>
8425
8426 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8427 of the separation of rmail-view-buffer from rmail-buffer.
8428 If you say no to "replace original", the decrypt is in the
8429 view buffer. If you say yes, the decrypt goes into the
8430 rmail buffer also.
8431
f818cd2a
MR
84322011-08-31 Martin Rudalics <rudalics@gmx.at>
8433
8434 * window.el (display-buffer-window): Rewrite doc-string.
8435 (display-buffer-record-window): New function.
8436 (display-buffer-macro-specifiers)
8437 (display-buffer-even-window-sizes, display-buffer-set-height)
8438 (display-buffer-set-width, display-buffer-in-window)
8439 (display-buffer-reuse-window, display-buffer-split-specifiers)
8440 (display-buffer-side-specifiers, display-buffer-split-window-1)
8441 (display-buffer-split-window, display-buffer-split-atom-window)
8442 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8443 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8444 (display-buffer-other-window-means-other-frame)
8445 (display-buffer-normalize-special)
8446 (display-buffer-normalize-default)
8447 (display-buffer-normalize-argument)
8448 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8449 (display-buffer-normalize-specifiers, display-buffer-frame)
8450 (display-buffer-same-window, display-buffer-same-frame)
8451 (display-buffer-other-window)
8452 (display-buffer-same-frame-other-window)
8453 (display-buffer-other-frame, pop-to-buffer-same-window)
8454 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8455 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8456 (switch-to-buffer-same-frame)
8457 (switch-to-buffer-other-window-same-frame)
8458 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8459 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8460 (display-buffer-alist-set): Remove.
8461 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8462 (special-display-regexps, special-display-function):
8463 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8464 parameter.
8465 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8466 (special-display-frame-alist, special-display-popup-frame)
8467 (same-window-buffer-names, same-window-regexps, same-window-p)
8468 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8469 (split-window-preferred-function, split-height-threshold)
8470 (split-width-threshold, window-splittable-p)
8471 (split-window-sensibly, window--try-to-split-window)
8472 (window--frame-usable-p, even-window-heights)
8473 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8474 (window--display-buffer-2, display-buffer-other-frame):
8475 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8476 (display-buffer-default, display-buffer-assq-regexp): New functions.
8477 (display-buffer-alist): Rewrite doc-string.
8478 (display-buffer-default-action)
8479 (display-buffer-overriding-action): New variables.
8480 (display-buffer, switch-to-buffer): Rewrite.
8481 (pop-to-buffer): Restore Emacs 23 behavior but use
8482 window-normalize-buffer-to-display.
8483 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8484 Restore Emacs 23 behavior but use
8485 window-normalize-buffer-to-switch-to.
8486 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8487 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8488 Rewrite using Emacs 23 options.
f818cd2a 8489
5bc3b51d
MA
84902011-08-31 Michael Albinus <michael.albinus@gmx.de>
8491
8492 * net/tramp.el (tramp-root-regexp): Remove.
8493 (tramp-completion-file-name-regexp-unified)
8494 (tramp-completion-file-name-regexp-separate)
8495 (tramp-completion-file-name-regexp-url): Don't use leading volume
8496 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8497 (tramp-drop-volume-letter): Simplify definition.
8498 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8499
b1a4f8e1
SM
85002011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8501
8502 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8503 (bug#9356).
8504
5664fa7b
RT
85052011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8506
b1a4f8e1 8507 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8508
9a45d6c3
JL
85092011-08-29 Juri Linkov <juri@jurta.org>
8510
8511 * isearch.el (isearch-done): Don't display message "Mark saved"
8512 when arg `edit' is non-nil to prevent its flicker in the echo area.
8513
fb87e0fb
CY
85142011-08-28 Chong Yidong <cyd@stupidchicken.com>
8515
8516 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8517 obsolete packages for deletion.
8518
09ac1c2a
CS
85192011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8520
8521 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8522 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8523 view-mode from help-mode.
8524 (help-xref-override-view-map): Remove.
8525 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8526 view-mode is not used anymore.
8527
7a1ff57f
CY
85282011-08-28 Chong Yidong <cyd@stupidchicken.com>
8529
8530 * server.el (server-port): Doc fix.
8531
b9696605
CY
8532 * cus-theme.el (custom-theme-choose-mode): Inherit from
8533 special-mode (Bug#9124).
8534 (custom-theme-choose-mode-map): Add special-mode to parent.
8535
ef8cdf8c
AM
85362011-08-28 Alan Mackenzie <acm@muc.de>
8537
8538 * progmodes/cc-fonts.el
8539 (c-make-font-lock-BO-decl-search-function): New function.
8540 (c-basic-matchers-after - "Fontify the clauses after various
8541 keywords"): Extract the three keyword lists for the 3 erroneous
8542 constructs from the list of four, and use the new function above
8543 in place of an old one.
8544
27de4e20
DD
85452011-08-28 Deniz Dogan <deniz@dogan.se>
8546
8547 * net/rcirc.el (rcirc-insert-prev-input)
8548 (rcirc-insert-next-input): Remove unused argument.
8549
356a3681
SM
85502011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8553
3fc9b218
AM
85542011-08-27 Alan Mackenzie <acm@muc.de>
8555
8556 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8557 handle function pointer parameters properly.
8558
538a061c
MR
85592011-08-27 Martin Rudalics <rudalics@gmx.at>
8560
8561 * window.el (display-buffer-reuse-window): Fix case where
8562 selected window was reused with non-nil OTHER-WINDOW argument.
8563 (Bug#9381)
8564
35b1c40c
DD
85652011-08-27 Deniz Dogan <deniz@dogan.se>
8566
8567 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8568 oftc's NickServ messages.
8569
2f6a3e79
GM
85702011-08-27 Glenn Morris <rgm@gnu.org>
8571
8572 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8573
7254299e
CY
85742011-08-26 Chong Yidong <cyd@stupidchicken.com>
8575
8576 * emacs-lisp/package.el (package-install): Call package-initialize
8577 if called interactively.
8578
f8ccf167
LL
85792011-08-26 Leo Liu <sdl.web@gmail.com>
8580
8581 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8582
3e8cd5ce
JL
85832011-08-25 Juri Linkov <juri@jurta.org>
8584
8585 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8586 `search-whitespace-regexp' (bug#9364).
8587
93eb7113
JL
85882011-08-25 Juri Linkov <juri@jurta.org>
8589
8590 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8591 `regexp-search-ring' to their global values to protect from
8592 updating by `read-from-minibuffer' (bug#9185).
8593
f65d1611
JL
85942011-08-25 Juri Linkov <juri@jurta.org>
8595
8596 * textmodes/ispell.el (ispell-command-loop): Add newline
8597 at the end of the "Use option `i'..." line.
8598
f1cf7a31
JL
85992011-08-25 Juri Linkov <juri@jurta.org>
8600
8601 * battery.el (display-battery-mode): If `battery-status-function'
8602 or `battery-mode-line-format' is nil, display the message and set
8603 `display-battery-mode' to nil (bug#9363).
8604
0c95fcf7
EZ
86052011-08-25 Eli Zaretskii <eliz@gnu.org>
8606
8607 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8608 bidi-string-mark-left-to-right; they are unnecessary now.
8609
a2ebe600
DD
86102011-08-25 Deniz Dogan <deniz@dogan.se>
8611
8612 * net/quickurl.el: Documentation typo fixes.
8613
e4ed06f1
CY
86142011-08-25 Chong Yidong <cyd@stupidchicken.com>
8615
8616 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8617
e5f1c99e
GM
86182011-08-25 Glenn Morris <rgm@gnu.org>
8619
b2948976
GM
8620 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8621
e5f1c99e
GM
8622 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8623 (smtpmail-via-smtp): Handle nil response from smtp.
8624
f22f4808
JL
86252011-08-24 Juri Linkov <juri@jurta.org>
8626
8627 * proced.el (proced-marked): Inherit from `error' instead of
8628 `font-lock-warning-face'.
8629
8630 * ibuffer.el (ibuffer-marked-face): Change default face from
8631 `font-lock-warning-face' to `warning'.
8632 (ibuffer-deletion-face): Change default face from
8633 `font-lock-type-face' to `error'.
8634
8635 * battery.el (battery-update): Use the face `error' instead of
8636 `font-lock-warning-face' (bug#6117).
8637
6a93965e
JL
86382011-08-24 Juri Linkov <juri@jurta.org>
8639
8640 * faces.el (success): Change face color from "Green3" to
8641 "ForestGreen" on light background (bug#9353).
8642
1ed43b09
CY
86432011-08-24 Chong Yidong <cyd@stupidchicken.com>
8644
5664fa7b
RT
8645 * window.el (quit-window): Rename from quit-restore-window.
8646 Use same arglist as old quit-window.
1ed43b09
CY
8647 (frame-auto-delete): Doc fix.
8648
8649 * view.el (view-mode-exit): Use quit-window.
8650
11dcdbb2
JL
86512011-08-24 Juri Linkov <juri@jurta.org>
8652
8653 * isearch.el (isearch-ring-adjust1): Start visiting previous
8654 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8655 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8656 for empty search string (when the last search string is reused
8657 automatically) to adjust the isearch ring to the last element and
8658 prepare the correct index for further M-p commands (bug#9185).
8659
de62b4df
KH
86602011-08-24 Kenichi Handa <handa@m17n.org>
8661
8662 * international/ucs-normalize.el: If decomposition property of
8663 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8664 nil.
8665 (nfd, nfkd): Likewise.
8666
963b492b
SM
86672011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8670 from process filters aren't reliably transmitted to the surrounding
8671 accept-process-output.
8672 (mpc-proc-check): New function.
8673 (mpc-proc-sync): Use it (bug#8293)
8674
93b6b5e1
SM
86752011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8676
8677 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8678 Add compatibility functions (bug#9313).
8679
bca633fb
EZ
86802011-08-23 Eli Zaretskii <eliz@gnu.org>
8681
b177498a
EZ
8682 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8683
6df6ae42 8684 * international/uni-bidi.el: Regenerate.
bca633fb 8685
0902a04e
KH
86862011-08-23 Kenichi Handa <handa@m17n.org>
8687
8688 * international/charprop.el:
8689 * international/uni-bidi.el:
8690 * international/uni-category.el:
8691 * international/uni-combining.el:
8692 * international/uni-comment.el:
8693 * international/uni-decimal.el:
8694 * international/uni-decomposition.el:
8695 * international/uni-digit.el:
8696 * international/uni-lowercase.el:
8697 * international/uni-mirrored.el:
8698 * international/uni-name.el:
8699 * international/uni-numeric.el:
8700 * international/uni-old-name.el:
8701 * international/uni-titlecase.el:
8702 * international/uni-uppercase.el: Regenerate.
8703
3bbf23bc
MR
87042011-08-23 Martin Rudalics <rudalics@gmx.at>
8705
8706 * help.el (help-window-setup): Fix message displayed when other
8707 window is reused. (Bug#9341)
8708
b3fd59bd
SM
87092011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8710
1802e444
SM
8711 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8712 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8713
b3fd59bd
SM
8714 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8715 Mark obsolete.
8716 * shell.el (shell-parse-pcomplete-arguments): New function.
8717 (shell-completion-vars): Use it instead (bug#9160).
8718
4eb61348
SM
87192011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8720
867cab74
SM
8721 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8722 strings and comments (bug#9333).
8723
4eb61348
SM
8724 * emacs-lisp/debug.el (debug-arglist): New function.
8725 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8726 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8727
262a1439
JL
87282011-08-22 Juri Linkov <juri@jurta.org>
8729
56ee679c
JL
8730 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8731 Revert regexp that highlights output switches to its old
8732 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8733
262a1439
JL
8734 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8735 to check for empty output (bug#9226).
8736
f13f86fb
CY
87372011-08-22 Chong Yidong <cyd@stupidchicken.com>
8738
8739 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8740 symbol-constituent as the default, as that stops font-lock from
8741 working properly (Bug#8843).
8742
c65c9622
LMI
87432011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8744
8745 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8746 `coding-system-for-*' around the process open call to avoid
8747 auth-source side effects.
e7f2c178 8748 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8749 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8750 probe hangs.
c65c9622 8751
23a8a5ab
CY
87522011-08-21 Chong Yidong <cyd@stupidchicken.com>
8753
ff98b2dd
CY
8754 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8755
23a8a5ab
CY
8756 * emacs-lisp/find-func.el (find-function-noselect): New arg
8757 lisp-only.
8758
8759 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8760 signal an error for built-in functions (Bug#6664).
8761
f5e3c598
LMI
87622011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8763
8764 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8765 (smtpmail-try-auth-methods): Use it.
8766
a3f2468a
CY
87672011-08-21 Chong Yidong <cyd@stupidchicken.com>
8768
2c34e8da
CY
8769 * font-lock.el (font-lock-fontify-region)
8770 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8771 (font-lock-default-unfontify-buffer)
8772 (font-lock-default-fontify-region)
8773 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8774
b3fd59bd
SM
8775 * progmodes/compile.el (compilation-error-properties):
8776 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8777 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8778 `ant' regexp.
ee31aabc 8779
a3f2468a
CY
8780 * net/browse-url.el (browse-url-firefox): Don't call
8781 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8782
8e999f70
GM
87832011-08-20 Glenn Morris <rgm@gnu.org>
8784
c21a496a
GM
8785 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8786
59ee0542
GM
8787 * tutorial.el (tutorial--default-keys): Update some default bindings.
8788
8e999f70
GM
8789 * files.el (hack-local-variables): Fully ignore case for "mode:".
8790
e3715033
AM
87912011-08-20 Alan Mackenzie <acm@muc.de>
8792
8793 Resolve invalid use of a regexp in regexp-opt.
8794
4d61f28d
JB
8795 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8796 detection for a java annotation.
e3715033 8797
4d61f28d 8798 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8799 detection for a java annotation.
8800
4d61f28d
JB
8801 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8802 handling for java.
e3715033
AM
8803 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8804
04ed2e9c
CY
88052011-08-20 Chong Yidong <cyd@stupidchicken.com>
8806
8807 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8808 (Bug#9274).
8809
826cee64
AM
88102011-08-20 Alan Mackenzie <acm@muc.de>
8811
58179cce 8812 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8813 such a construct. Mainly for when jit-lock etc. starts a chunk
8814 here.
8815
58179cce 8816 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8817 variable.
58179cce 8818 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8819 c-make-font-lock-search-function.
8820 (c-make-font-lock-search-function): Use the above function.
8821 (c-make-font-lock-context-search-function): New function.
8822 (c-cpp-matchers): Enhance the preprocessor expression case with
8823 the above function
8824 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8825 which takes an expression.
8826
8827 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8828
13009bd8
MR
88292011-08-20 Martin Rudalics <rudalics@gmx.at>
8830
8831 * window.el (display-buffer-reuse-window)
8832 (display-buffer-pop-up-window): Don't reuse or split a side
8833 window.
8834
9234ff7f
GM
88352011-08-19 Glenn Morris <rgm@gnu.org>
8836
8837 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8838 Downcase "Mode:". (Bug#9331)
9234ff7f 8839
f635daa1
CY
88402011-08-18 Chong Yidong <cyd@stupidchicken.com>
8841
8842 * international/characters.el: Add L and R categories.
8843
8844 * subr.el (bidi-string-mark-left-to-right): Rename from
8845 string-mark-left-to-right. Use category search.
8846
8847 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8848
bc987f8b
JL
88492011-08-18 Juri Linkov <juri@jurta.org>
8850
8851 * faces.el (error, warning, success): New faces with definitions
8852 copied from old default values of `font-lock-warning-face',
8853 `compilation-warning', `compilation-info' (bug#6117).
8854
8855 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8856
8857 * progmodes/compile.el (compilation-error): Inherit from `error'.
8858 (compilation-warning): Inherit from `warning'.
8859 (compilation-info): Inherit from `success'.
8860
8861 * dired.el (dired-marked): Inherit from `warning'.
8862 (dired-flagged): Inherit from `error'.
8863
57173b96
LMI
88642011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8865
3e79eb87
LMI
8866 * mail/smtpmail.el (auth-source): Require to avoid problems with
8867 binding variables (bug#9298). Also clean up some unused
8868 autoloads.
8869
b3fd59bd
SM
8870 * net/network-stream.el (network-stream-open-starttls):
8871 Support using starttls.el without using gnutls-cli.
57173b96 8872
02b404de
JL
88732011-08-17 Juri Linkov <juri@jurta.org>
8874
8875 * progmodes/grep.el (rgrep): Handle the case when
8876 `grep-find-command' is a cons cell (bug#9278).
8877
8c9177f2
MR
88782011-08-17 Martin Rudalics <rudalics@gmx.at>
8879
8880 * window.el (display-buffer-pop-up-frame): Run frame creation
8881 function with BUFFER current (as special-display-popup-frame
8882 does). Reported by Drew Adams.
8883
3644a0ab
DU
88842011-08-17 Daiki Ueno <ueno@unixuser.org>
8885
8886 * epa-mail.el: Simplify GnuPG group expansion using
8887 epg-expand-group.
8888 (epa-mail-group-alist, epa-mail-group-modtime)
8889 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8890 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8891 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8892 Remove.
8893
5e617bc2 88942011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8895
8896 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8897
9c4aeabf
AM
88982011-08-16 Alan Mackenzie <acm@muc.de>
8899
8900 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8901 Correct, to avoid the inside of macros.
8902
3a99bf64
RS
89032011-08-16 Richard Stallman <rms@gnu.org>
8904
04963aa8
RS
8905 * epa-mail.el: Handle GnuPG group definitions.
8906 (epa-mail-group-alist, epa-mail-group-modtime)
8907 (epa-mail-gnupg-conf-file): New variables.
8908 (epa-mail-parse-groups, epa-mail-sync-groups)
8909 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8910 (epa-mail-expand-recipients): New functions.
8911 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8912
177549d0
RS
8913 * mail/rmail.el (rmail-epa-decrypt): New command.
8914
fe38beef
RS
8915 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8916 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8917 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8918 (epa-decrypt-armor-in-region): Make error message clearer.
8919
934eacb9
SM
89202011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8923 and "a2b" to "ab" for `prefix'.
8924
d024fb4e
CY
89252011-08-14 Chong Yidong <cyd@stupidchicken.com>
8926
8927 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8928 filter groups.
de148fee
CY
8929 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8930 Fourquet (Bug#8804).
d024fb4e 8931
62f1ca49
JB
89322011-08-12 Juanma Barranquero <lekktu@gmail.com>
8933
8934 * startup.el (argi): Declare as global variable (bug#9275).
8935
9ccaaa4b
CY
89362011-08-12 Chong Yidong <cyd@stupidchicken.com>
8937
8938 * subr.el (string-mark-left-to-right): Search the entire string
8939 for RTL script, not just the terminating character. Doc fix.
8940
a3dae87a
SM
89412011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8942
6cd18349
SM
8943 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8944 New function.
8945 (js--regexp-literal, js-syntax-propertize-function): Remove.
8946 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8947 (js-mode-map): Don't rebind electric keys.
8948 (js-insert-and-indent): Remove.
8949 (js-mode): Setup electric-layout and electric-indent instead.
8950
a3dae87a
SM
8951 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8952
9d5cb631
DU
89532011-08-12 Daiki Ueno <ueno@unixuser.org>
8954
8955 * epa.el (epa-progress-callback-function): Fix the logic of
8956 displaying progress.
8957 * epa-file.el (epa-file-insert-file-contents): Make progress
8958 display more user-friendly.
8959 (epa-file-write-region): Ditto.
8960
3e26a4a2
CY
89612011-08-10 Chong Yidong <cyd@stupidchicken.com>
8962
8963 * subr.el (string-mark-left-to-right): New function.
8964
8965 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8966 Use string-mark-left-to-right.
8967 (list-buffers-noselect): Caller changed.
8968
a3dae87a
SM
8969 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8970 Use string-mark-left-to-right.
3e26a4a2
CY
8971 (tabulated-list-print): Recenter after moving point.
8972
ac8cf6e6
JL
89732011-08-10 Juri Linkov <juri@jurta.org>
8974
8975 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8976 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8977 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8978
8d96c9a4
CY
89792011-08-09 Chong Yidong <cyd@stupidchicken.com>
8980
8981 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8982 (Bug#7554).
8983
7be1c708 89842011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8985
8986 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8987 character. (Bug#6594)
8988
37e11a63
CY
89892011-08-08 Chong Yidong <cyd@stupidchicken.com>
8990
839dde57
CY
8991 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8992 (image-dired--with-db-file): New macro.
8993 (image-dired-write-tags, image-dired-remove-tag)
8994 (image-dired-create-gallery-lists, image-dired-write-comments)
8995 (image-dired-get-comment, image-dired-mark-tagged-files)
8996 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8997 (image-dired-gallery-generate): Use insert-file-contents.
8998
37e11a63
CY
8999 * time.el (display-time-world-list, display-time-world-display):
9000 * time-stamp.el (time-stamp-string):
9001 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9002 set-time-zone-rule (Bug#7337).
9003
0b4946c4
DU
90042011-08-08 Daiki Ueno <ueno@unixuser.org>
9005
9006 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9007 (epg-error-to-string, epg-errors-to-string): New function.
9008 (epg-wait-for-completion): Reverse errors list.
9009 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9010 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9011 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9012 (epg-sign-keys, epg-generate-key-from-file)
9013 (epg-generate-key-from-string): Format errors by using
9014 epg-errors-to-string (bug#9255).
9015 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9016
75bfc667
JL
90172011-08-07 Juri Linkov <juri@jurta.org>
9018
9019 * faces.el (list-faces-display): Remove extra angle bracket
9020 from `help-mode-map'.
9021
9022 * info.el (Info-history-toc-nodes): Doc fix.
9023
9024 * longlines.el (longlines-mode): Doc fix.
9025
673e08bb
SM
90262011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9027
4640dd88
SM
9028 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9029 of statements and in a few more cases (bug#9183).
9030
673e08bb
SM
9031 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9032 New functions.
9033 (cl-transform-lambda): Use them (bug#9239).
9034
89b3f019
MR
90352011-08-05 Martin Rudalics <rudalics@gmx.at>
9036
9037 * window.el (display-buffer-same-window)
9038 (display-buffer-same-frame, display-buffer-other-window)
9039 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9040 (pop-to-buffer-other-window)
9041 (pop-to-buffer-same-frame-other-window)
9042 (pop-to-buffer-other-frame): Make them defuns.
9043 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9044
640c8776
SM
90452011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * subr.el (make-composed-keymap): Move from C. Change calling
9048 convention, and improve docstring to bring attention to a subtle point.
9049 * minibuffer.el (completing-read-default): Adjust accordingly.
9050
63648a95
MA
90512011-08-03 Michael Albinus <michael.albinus@gmx.de>
9052
9053 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9054 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9055
9056 * net/trampver.el: Update release number.
9057
b796c9b7
SM
90582011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9059
9060 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9061 "in" (bug#9190).
9062
2239d7d5
LMI
90632011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9064
e07dd7c3
LMI
9065 * mail/sendmail.el (sendmail-query-once): Restore the current
9066 buffer after querying (bug#9074).
9067
0e6a2bd7
LMI
9068 * dired.el (dired-flagged): Use different faces for marked and
9069 flagged files (bug#6117).
9070
ce887515
LMI
9071 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9072 (bug#4433).
9073
92f2affc
LMI
9074 * ido.el (ido-mode): Switch off the message if called
9075 non-interactively.
9076
57d5aff0
LMI
9077 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9078 before 587, since it appears that that's more likely to work for
9079 more people.
9080
98cd6c18 9081 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9082 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9083 exist.
9084
b96dec83
LMI
9085 * info.el: Remove the `Info-beginning-of-buffer' function
9086 (bug#8325).
9087
b796c9b7
SM
9088 * net/network-stream.el (network-stream-open-starttls):
9089 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9090
d90e2ea0
MR
90912011-08-01 Martin Rudalics <rudalics@gmx.at>
9092
9093 * window.el (display-buffer-in-window): Don't set dedicated status
9094 of window here (Bug#9215).
9095 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9096 (display-buffer-pop-up-side-window)
b796c9b7 9097 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9098
cca09170
SM
90992011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9100
9101 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9102 before binding generated-autoload-file.
9103
027b979c
DD
91042011-08-01 Deniz Dogan <deniz@dogan.se>
9105
9106 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9107
3c7ee4f3
MA
91082011-07-30 Michael Albinus <michael.albinus@gmx.de>
9109
9110 Sync with Tramp 2.2.2.
9111
9112 * net/trampver.el: Update release number.
9113
2cc8e51a
JL
91142011-07-30 Juri Linkov <juri@jurta.org>
9115
9116 * dired-aux.el (dired-touch-initial): Remove function.
9117 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9118 current time, and `default' to the last modification time of the
9119 current marked file (bug#6887).
9120
a514d856
JM
91212011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9122
9123 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9124 numeric argument to read-number (bug#9163).
a514d856 9125
8a7eddd7
MA
91262011-07-27 Michael Albinus <michael.albinus@gmx.de>
9127
9128 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9129 connection process, it could be nil.
9130
1ddd96f5
LL
91312011-07-27 Leo Liu <sdl.web@gmail.com>
9132
9133 Simplify url handling in rcirc-mode.
9134
9135 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9136 (rcirc-browse-url-at-mouse): Remove.
9137 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9138
b248a85d
AM
91392011-07-26 Alan Mackenzie <acm@muc.de>
9140
9141 Fontify bitfield declarations properly.
9142
9143 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9144 (c-symbol-chars): Now exported as a lang variable.
9145 (c-not-primitive-type-keywords): New lang variable.
9146
9147 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9148 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9149 parsed as a bitfield declaration.
b248a85d 9150
b796c9b7
SM
9151 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9152 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9153 (c-punctuation-in): New function.
9154 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9155 declarations properly.
9156
68575ab0
UJ
91572011-07-26 Ulf Jasper <ulf.jasper@web.de>
9158
9159 * calendar/icalendar.el (icalendar--all-events): Take care of
9160 multiple vcalendars in a single file.
b796c9b7 9161 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9162
0f0a88b9
DD
91632011-07-25 Deniz Dogan <deniz@dogan.se>
9164
9165 * image.el (insert-image): Clarifying docstring.
9166
0b3f36df
MA
91672011-07-24 Michael Albinus <michael.albinus@gmx.de>
9168
9169 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9170 `tramp-send-command-and-check' if there is no error.
9171 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9172
a9901f61
AM
91732011-07-22 Alan Mackenzie <acm@muc.de>
9174
9175 Prevent cc-langs.elc being loaded at run time.
9176
9177 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9178 cc-langs.
9179
4d61f28d 9180 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9181 "(require 'cc-langs)". Quote a form so it will evaluate at
9182 (cc-mode's) compilation time.
9183
11d074b2
MA
91842011-07-22 Michael Albinus <michael.albinus@gmx.de>
9185
9186 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9187 loading. (Bug#9114)
9188
938b94c8
MR
91892011-07-21 Martin Rudalics <rudalics@gmx.at>
9190
9191 * window.el (display-buffer-pop-up-window)
9192 (display-buffer-pop-up-side-window)
9193 (display-buffer-in-side-window): Call display-buffer-set-height
9194 and display-buffer-set-width after setting the new window's
b796c9b7 9195 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9196
bfa4f190
SS
91972011-07-20 Sam Steingold <sds@gnu.org>
9198
9199 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9200 (etags-tags-included-tables): Call `convert-standard-filename' on
9201 the file names contained in TAGS so that windows Emacs can handle
9202 TAGS files created by cygwin ctags.
9203
8ca42262
LMI
92042011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9205
9206 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9207 which apparently didn't work.
9208
5db2afd2 92092011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9210
5db2afd2
RW
9211 * proced.el (proced-send-signal): For *Marked Processes* buffer
9212 put point at beginning of buffer.
9213
92e15d10
SB
92142011-07-19 Stephen Berman <stephen.berman@gmx.net>
9215
9216 * proced.el (proced-format): Make header lines align with the text
9217 (bug#1779).
9218
1bfd59e5
LMI
92192011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9220
9221 * view.el (view-buffer): Allow running in `special' modes if we're
9222 visiting a file (bug#8615).
9223
f5aae37c
MR
92242011-07-19 Martin Rudalics <rudalics@gmx.at>
9225
9226 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9227 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9228 New functions.
f5aae37c
MR
9229 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9230 more accurately.
9231
bf2c1571
AM
92322011-07-18 Alan Mackenzie <acm@muc.de>
9233
9234 Fontify declarators properly when, e.g., a jit-lock chunk begins
9235 inside a declaration.
9236
9237 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9238
b796c9b7
SM
9239 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9240 New function.
bf2c1571
AM
9241 (c-complex-decl-matchers): Insert reference to
9242 c-font-lock-enclosing-decls.
9243
9244 * progmodes/cc-engine.el (c-backward-single-comment):
9245 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9246 to nil around calls to (forward-comment -1).
9247
4e190b80
LMI
92482011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9249
12dc863d
LMI
9250 * image.el (put-image): Doc typo fix.
9251
a762e966
LMI
9252 * progmodes/etags.el (tags-search): Doc typo fix.
9253
4e190b80
LMI
9254 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9255 password if we get errors 550 to 554.
9256
f019fb21
LMI
92572011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9258
b796c9b7 9259 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9260
81746738
LMI
9261 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9262 indentation character (bug#6380).
9263
3ee3a1b5
LMI
9264 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9265
c82f64de
LMI
9266 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9267 to clarify what the problem is (bug#4291).
9268
f019fb21
LMI
9269 * simple.el (current-kill): Clarify what
9270 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9271 (auto-fill-mode): Document `auto-fill-function' in relation to
9272 `auto-fill-mode' (bug#2470).
f019fb21 9273
0794775d
LM
92742011-07-16 Lawrence Mitchell <wence@gmx.li>
9275
9276 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9277 method if slot is read-only (bug#9035).
9278
be39b8cc
MR
92792011-07-16 Martin Rudalics <rudalics@gmx.at>
9280
b796c9b7 9281 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9282 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9283 selected before, see discussion of (Bug#8615), (Bug#6954).
9284 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9285
6ccf7859
GM
92862011-07-15 Glenn Morris <rgm@gnu.org>
9287
9288 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9289 Respect help-form.
6ccf7859 9290
87e86684
LM
92912011-07-09 Lawrence Mitchell <wence@gmx.li>
9292
9293 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9294 (gnutls-negotiate): Use it.
9295
d6066239
LMI
92962011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9297
b796c9b7
SM
9298 * net/gnutls.el (gnutls-negotiate):
9299 Upcase `gnutls-algorithm-priority'.
d6066239 9300
bd23ebc0
GM
93012011-07-15 Glenn Morris <rgm@gnu.org>
9302
c65bca65
GM
9303 * jka-compr.el (jka-compr-verbose): Move from here...
9304 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9305 Add missing :version tag.
9306 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9307
478615cc
LMI
93082011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9309
7b41decb
LMI
9310 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9311 (gnutls-negotiate): Use it.
9312
dbc44fcd
LMI
9313 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9314
06789f97
LMI
9315 * info.el (Info-beginning-of-buffer): New command.
9316 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9317 announcing `b' as the key (bug#8325).
ab896c37 9318 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9319
c39da690
LMI
9320 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9321
3aa5f34b
LMI
9322 * international/mule-cmds.el
9323 (describe-specified-language-support): Make the error message
9324 clearer (bug#8905).
9325
4bf0979f
LMI
9326 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9327
478615cc
LMI
9328 * isearch.el (isearch-barrier): Add a doc string, since it's
9329 mentioned in a function doc string (bug#8678).
9330
75c68aa1
MR
93312011-07-15 Martin Rudalics <rudalics@gmx.at>
9332
9333 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9334 buffer argument (Bug#9083) and self-identifying label argument.
9335
a7c33da2
GM
93362011-07-15 Glenn Morris <rgm@gnu.org>
9337
9338 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9339
2f5c6024
LMI
93402011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9341
9342 * man.el (Man-fontify-manpage): Fix message when formatting the
9343 man page (bug#7929).
9344
0bb23927 93452011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9346
9347 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9348 argument LRM; if non-nil, append an invisible LRM character to the
9349 buffer name.
9350 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9351 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9352 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9353 paragraph direction.
cce4b0a7 9354
621ef9ab
LMI
93552011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9356
d1583c48
LMI
9357 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9358 the man page name (bug#7929).
9359
6a57fb5f
LMI
9360 * image.el (put-image): Mention the `put-image' overlay property
9361 (bug#7834).
9362
d7956b14
LMI
9363 * scroll-bar.el (set-scroll-bar-mode): Mention that
9364 `scroll-bar-mode' lists the values (bug#7772).
9365
5b2d4a66
LMI
9366 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9367 command (bug#7729).
9368
7509a874
LMI
9369 * rect.el (apply-on-rectangle): Return the point after the last
9370 operation.
9371 (string-rectangle): Go to the point after the last operation
9372 (bug#7522).
9373
4fe74b19
LMI
9374 * printing.el (pr-toggle-region): Clarify the documentation
9375 slightly (bug#7493).
9376
b796c9b7
SM
9377 * time.el (display-time-update):
9378 Allow `display-time-mail-function' to return nil (bug#7158).
9379 Fix suggested by Detlev Zundel.
ab283561 9380
fc233c9d
LMI
9381 * vc/diff.el (diff): Clarify the order the file names are read
9382 (bug#7111).
9383
43f5740b
LMI
9384 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9385 the doc string (bug#7015).
9386
f2182a76
LMI
9387 * font-lock.el (font-lock-maximum-decoration): Mention what
9388 numeric levels mean (bug#6935).
9389
621ef9ab
LMI
9390 * startup.el (initial-buffer-choice): Don't mention the `none'
9391 selection, which is against policy.
9392
adc47434
MR
93932011-07-14 Martin Rudalics <rudalics@gmx.at>
9394
b796c9b7
SM
9395 * window.el (display-buffer-normalize-special):
9396 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9397
7e5bfb8f
EZ
93982011-07-14 Eli Zaretskii <eliz@gnu.org>
9399
9400 * subr.el (version<, version<=, version=): Mention "-CVS" and
9401 "-12345" alpha version numbers.
9402
27fa387a
CY
94032011-07-14 Chong Yidong <cyd@stupidchicken.com>
9404
9405 * bindings.el: Add advertised binding for set-mark-command
9406 (Bug#5772).
9407
8bdfa064
CY
94082011-07-14 Chong Yidong <cyd@stupidchicken.com>
9409
9410 * bindings.el (mode-line-other-buffer):
9411 * bookmark.el (bookmark-bmenu-2-window):
9412 * bs.el (bs-cycle-next, bs-cycle-previous):
9413 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9414 switch-to-buffer.
9415
9416 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9417 Delete.
8bdfa064 9418
5eba16a3
JB
94192011-07-14 Juanma Barranquero <lekktu@gmail.com>
9420
9421 * follow.el (follow-debug-message, follow-redisplay):
9422 * jka-cmpr-hook.el (with-auto-compression-mode):
9423 Fix typos in docstrings.
9424
15853710
LMI
94252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9426
a28e4607
LMI
9427 * subr.el (with-silent-modifications): Clarify somewhat what the
9428 macro inhibits (bug#6525).
9429
15853710
LMI
9430 * simple.el (eval-expression): Note what it does if called
9431 interactively (bug#6495).
9432
bee0fcef
CY
94332011-07-13 Chong Yidong <cyd@stupidchicken.com>
9434
b796c9b7
SM
9435 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9436 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9437
9438 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9439 Remove switch-to-buffer.
9440
58274504
LMI
94412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9442
bd2fcc8d
LMI
9443 * files.el (make-directory): Clarify that an error will be raised
9444 if there's an error (bug#6397).
9445
0f04b32c
LMI
9446 * startup.el (initial-buffer-choice): Add `none' as a choice
9447 (bug#6234).
9448
465c5fc8
LMI
9449 * subr.el (add-hook): Clarify section about buffer-local hooks
9450 (bug#6218).
9451
58274504
LMI
9452 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9453
bead9a43
JB
94542011-07-13 Juanma Barranquero <lekktu@gmail.com>
9455
9456 * tabify.el (untabify): Preserve the current column so that point
9457 doesn't move (bug#6032).
9458
3af98a7b
LMI
94592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9460
b796c9b7
SM
9461 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9462 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9463
6240145a
GM
94642011-07-13 Glenn Morris <rgm@gnu.org>
9465
9466 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9467 (dired-insert-directory): Give a message the first time
9468 if ls is found not to support --dired.
9469
1d8c2ccc
LMI
94702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9471
9472 * simple.el (toggle-truncate-lines): Clarify what is toggled
9473 (bug#5580). Text by Drew Adams.
9474
5fc4038e
CY
94752011-07-13 Chong Yidong <cyd@stupidchicken.com>
9476
9477 * simple.el (blink-matching-open): Make the error message from the
9478 last change less verbose.
9479
bf6012e5
DN
94802011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9481
9482 * font-lock.el (font-lock-comment-face): Use the high contrast
9483 "yellow" color for font-lock-comment-face on low color terminals
9484 using a dark background color (bug#4221).
9485
343c3b5a
LMI
94862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9487
7e9505c5
LMI
9488 * dired.el (dired-insert-set-properties): Make the doc string
9489 reflect what it does now (bug#5325).
9490
c26fdcf5
LMI
9491 * simple.el (blink-matching-open): Say that we were unable to find
9492 the match within the limit, if we're limited (bug#5122).
9493
bb388cc5
LMI
9494 * international/mule-cmds.el (prefer-coding-system): Add an
9495 example (bug#4869).
9496
343c3b5a
LMI
9497 * progmodes/etags.el (tags-search): Document `file-list-form'
9498 (bug#4731).
9499
2a517d45
LM
95002011-07-13 Lawrence Mitchell <wence@gmx.li>
9501
9502 * net/browse-url.el (browse-url-default-browser)
9503 (browse-url-browser-function): Make the default browser choice a
9504 bit more logical (bug#4300). Also clean up the doc string.
9505
b6c78ef2
JB
95062011-07-13 Juanma Barranquero <lekktu@gmail.com>
9507
9508 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9509 binary endings (bug#4440).
9510
1c4dd947
LMI
95112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9512
a2014063
LMI
9513 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9514 which can be pretty annoying (bug#8971).
9515
9c9c2d88
LMI
9516 * jka-compr.el (jka-compr-verbose): New variable, and use
9517 throughout (bug#8971).
9518
1c4dd947
LMI
9519 * info.el (Info-find-file): Fall back on the installation
9520 directory if we can't find the info node anywhere else.
9521
a1c9f41b
SO
95222011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9523
9524 * vc/vc.el (vc-revert-file):
9525 Don't set file time-stamp in the past. (Bug#5181)
9526
536f3d36
LMI
95272011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9528
7152b011
LMI
9529 * files.el (after-find-file): Give a better error message when
9530 trying to find a symlink that points to a file that doesn't exist
9531 (bug#4398).
9532
536f3d36
LMI
9533 * progmodes/cc-vars.el: Remove (probably) misleading comment
9534 (bug#4396).
9535
460c0fba
JB
95362011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9537
9538 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9539
7a6bda45
CY
95402011-07-12 Chong Yidong <cyd@stupidchicken.com>
9541
9542 * mouse-sel.el: Hack restoring functionality, while keeping
9543 compatibility with 2010-07-03 changes to mouse selection.
9544 (mouse-sel-primary-overlay): New var.
9545 (mouse-sel-selection-alist): Use it.
9546 (mouse-sel-mode): Doc fix; remove points that are default features
9547 of mouse.el.
9548
c79598ef
JB
95492011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9550
9551 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9552 Fix previous fix (bug#2490).
9553
ff8be6ef
RW
95542011-07-12 Roland Winkler <winkler@gnu.org>
9555
b796c9b7
SM
9556 * textmodes/bibtex.el (bibtex-initialize):
9557 Use pop-to-buffer-same-window.
ff8be6ef
RW
9558 (bibtex-search-entries): Fix interactive call.
9559
296ba3ee
LMI
95602011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9561
f5242a02 9562 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9563 Fontise bytecomp Error lines more correctly (bug#2490).
9564 Fix suggested by Johan BockgĂ¥rd.
f5242a02 9565
296ba3ee
LMI
9566 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9567
9568 * dired-x.el (dired-guess-default): Use `delete-dups'.
9569
f69fd0d2
CY
95702011-07-12 Chong Yidong <cyd@stupidchicken.com>
9571
9572 * dired.el (dired-mark-prompt):
9573 * dired-aux.el (dired-read-shell-command): Doc fix.
9574
eab5dc07
LMI
95752011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9576
b796c9b7
SM
9577 * mail/sendmail.el (sendmail-query-once):
9578 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9579 emacs -Q.
9580
9581 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9582
eab5dc07
LMI
9583 * cus-edit.el (custom-file): Take an optional no-error variable.
9584 (customize-save-variable): Set the variable, and give a warning if
9585 running under "emacs -q".
9586
a1e65d42
JB
95872011-07-11 Juanma Barranquero <lekktu@gmail.com>
9588
9589 * loadhist.el (unload-feature-special-hooks):
9590 Add `auto-coding-functions', `fill-nobreak-predicate' and
9591 `find-directory-functions' (bug#5327).
9592
1d52da10
LMI
95932011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9594
be958f1d
LMI
9595 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9596
5bedb26c
LMI
9597 * cus-edit.el (custom-guess-name-alist): -alist variables should
9598 use the `alist' type (bug#3120). Suggested by Drew Adams.
9599
1d52da10
LMI
9600 * printing.el: Add documentation to all the `pr-toggle-' commands.
9601
cd394be1 96022011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9603
9604 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9605 backends where it makes sense (bug#2623).
9606
dcc88d8a
LMI
96072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9608
c3de9feb
LMI
9609 * dired-x.el (dired-guess-default): Remove duplicate shell command
9610 entries (bug#2028).
8a93078b 9611 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9612 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9613
dcc88d8a
LMI
9614 * subr.el (remove-duplicates): New conveniency function.
9615
505e3645
LMI
96162011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9617
9618 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9619 (bug#1526).
9620
96212011-07-10 Martin Rudalics <rudalics@gmx.at>
9622
9623 * window.el (display-buffer-normalize-default): Don't invert
9624 meaning of even-window-heights. Reported by Eli Zaretskii
9625 <eliz@gnu.org>.
9626
455e4fa1
BR
96272011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9628
9629 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9630
8e0bc3e9
CY
96312011-07-10 Chong Yidong <cyd@stupidchicken.com>
9632
9633 * window.el (display-buffer): Fix arguments to
9634 display-buffer-reuse-window in last change.
9635
fa7c3228
CY
9636 * faces.el (link): Use a less saturated blue on light backgrounds.
9637
9638 * startup.el (fancy-startup-text, fancy-about-text)
9639 (fancy-startup-tail): Use font-lock faces, for background safety.
9640
c0a7f300
BN
96412011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9642
b796c9b7
SM
9643 * emulation/viper-cmd.el (viper-change-state-to-vi):
9644 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9645
4dc2a129
MR
96462011-07-09 Martin Rudalics <rudalics@gmx.at>
9647
9648 * window.el (display-buffer-default-specifiers): Remove.
9649 (display-buffer-macro-specifiers): Remove default specifiers.
9650 (display-buffer-alist): Default to nil.
b796c9b7 9651 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9652 (display-buffer-pop-up-window): Allow splitting internal
9653 windows. Check whether a live window was created.
9654 (display-buffer-other-window-means-other-frame)
9655 (display-buffer-normalize-arguments): Rename to
9656 display-buffer-normalize-argument and rewrite. Set the
9657 other-window specifier.
9658 (display-buffer-normalize-special): New function.
9659 (display-buffer-normalize-options): Rename to
9660 display-buffer-normalize-default and rewrite.
9661 (display-buffer-normalize-options-inhibit): Remove.
9662 (display-buffer-normalize-specifiers): Rewrite.
9663 (display-buffer): Process other-window specifier and call
9664 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9665 more faithfully.
b796c9b7 9666 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9667 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9668 (display-buffer-in-window, display-buffer-alist-set):
9669 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9670 <tassilo@member.fsf.org>.
9671
2d43b8c9
LL
96722011-07-09 Leo Liu <sdl.web@gmail.com>
9673
9674 * register.el (insert-register): Restore accidental change on
9675 2011-06-26. (Bug#9028)
9676
7f9b7c53
GM
96772011-07-09 Glenn Morris <rgm@gnu.org>
9678
9679 * subr.el (remq): Handle the empty list. (Bug#9024)
9680
f042cfd8
AS
96812011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9682
9683 * mail/sendmail.el (send-mail-function): No longer delay custom
9684 initialization.
9685 * custom.el (custom-initialize-delay): Doc fix.
9686
856b2f11
SM
96872011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9690
afae1d68
MA
96912011-07-08 Michael Albinus <michael.albinus@gmx.de>
9692
9693 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9694 human-friendly prompt.
9695
0757af94
SM
96962011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9697
9698 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9699 provided by a particular plugin.
9700
d760b731
LMI
97012011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9702
9703 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9704 save customizations (with "emacs -Q"), just set the variable
9705 instead of erroring out.
9706
9707 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9708
cd79ce90
JL
97092011-07-08 Juri Linkov <juri@jurta.org>
9710
9711 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9712 (archive-zip-update-case): Use 7z if found by `executable-find'.
9713 The order of searching the available programs is the same as in
9714 `archive-zip-extract' (bug#8968).
9715
14cc04aa
CY
97162011-07-07 Chong Yidong <cyd@stupidchicken.com>
9717
9718 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9719 (menu-bar-options-menu): Tweak descriptions.
9720
0a1848ec
LMI
97212011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9722
9723 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9724 menu items into verb phrases (bug#1421). Also refill to fit under
9725 80 columns.
9726
f5bd0689
CY
97272011-07-07 Chong Yidong <cyd@stupidchicken.com>
9728
538e85c6
CY
9729 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9730 (Info-read-node-name): Doc fix (Bug#1084).
9731
f5bd0689
CY
9732 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9733 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9734 (end-of-sexp, beginning-of-sexp)
9735 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9736 (forward-symbol, forward-same-syntax, word-at-point)
9737 (sentence-at-point): Doc fix (Bug#1144).
9738
56ec5115
LMI
97392011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9740
f3f8e37f
LMI
9741 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9742 should cover it (bug#1281).
9743
0757af94 9744 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9745
e9fce1ac 9746 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9747 negotiation fails, then possibly try again with a non-encrypted
9748 connection (bug#9017).
9749
56ec5115
LMI
9750 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9751 be used.
9752
c2f9aec8
RS
97532011-07-07 Richard Stallman <rms@gnu.org>
9754
9755 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9756 property, and handle its changed format.
9757 Look for the correct line number.
9758 Use file's line contents (but not past first =) to find
9759 correct line in message.
9760
ef7b981d 97612011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9762
9763 * international/characters.el (build-unicode-category-table):
9764 Delete it.
0757af94 9765 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9766
0757af94 9767 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9768 to src/chartab.c.
9769 (get-char-code-property): Call unicode-property-table-internal to
9770 load a file. Call get-unicode-property-internal where necessary.
9771 (put-char-code-property): Call unicode-property-table-internal to
9772 load a file. Call put-unicode-property-internal where necessary.
9773 put-unicode-property-internal where necessary.
0757af94
SM
9774 (char-code-property-description):
9775 Call unicode-property-table-internal to load a file.
c805dec0
KH
9776
9777 * international/charprop.el:
9778 * international/uni-bidi.el:
9779 * international/uni-category.el:
9780 * international/uni-combining.el:
9781 * international/uni-comment.el:
9782 * international/uni-decimal.el:
9783 * international/uni-decomposition.el:
9784 * international/uni-digit.el:
9785 * international/uni-lowercase.el:
9786 * international/uni-mirrored.el:
9787 * international/uni-name.el:
9788 * international/uni-numeric.el:
9789 * international/uni-old-name.el:
9790 * international/uni-titlecase.el:
9791 * international/uni-uppercase.el: Regenerate.
9792
9793 * loadup.el: Load international/charprop.el before
9794 international/characters.
9795
e14b388a
CY
97962011-07-07 Chong Yidong <cyd@stupidchicken.com>
9797
9798 * window.el (next-buffer, previous-buffer): Signal an error if
9799 called from a minibuffer window.
9800
9801 * bindings.el: Revert 2011-07-04 change.
9802
354cf0ba
RS
98032011-07-06 Richard Stallman <rms@gnu.org>
9804
9805 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9806 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9807 Treat markers like ints.
9808 (rmail-mime-entity): Doc fix.
9809
a48868a7
LMI
98102011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9811
4906cd3d
LMI
9812 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9813 defcustom again for backwards compatibility.
9814
e0457abe
LMI
9815 * simple.el (shell-command-on-region): Fill.
9816
d67f7e1f
LMI
9817 * dired-aux.el (dired-kill-line): Add a doc string.
9818
fe204702
LMI
9819 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9820 to "\\sw\\|\\s_" (bug#358).
9821
a48868a7
LMI
9822 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9823 (dired-unmark-backward): Ditto.
9824 (dired-flag-backup-files): Ditto.
9825
9826 * dired-x.el (dired-mark-sexp): Ditto.
9827
aa8a705c
RS
98282011-07-06 Richard Stallman <rms@gnu.org>
9829
9830 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9831 (rmail-mime-entity): New arg TRUNCATED.
9832 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9833 New functions.
9834 (rmail-mime-save): Warn if entity is truncated.
9835 (rmail-mime-toggle-hidden): Likewise, for showing.
9836 (rmail-mime-process-multipart): Record when an entity is truncated.
9837
a9a936b9
RS
9838 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9839 if ENTITY is a string.
9840
1f2b92cb
LMI
98412011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9842
f4f73198 9843 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9844 of faces when `M-C-x'-ing their definitions (bug#8378).
9845 Also clean up the code slightly.
f4f73198 9846
12b16734 9847 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9848 because that makes the colors go away.
12b16734 9849
f0691d22
LMI
9850 * mail/sendmail.el (send-mail-function): Change the default to
9851 `sendmail-query-once'.
9e87df06 9852 (sendmail-query-once): Add an autoload cookie.
f0691d22 9853
1f2b92cb
LMI
9854 * net/network-stream.el (network-stream-open-starttls): Try using
9855 a plain connection even if the server offered STARTTLS, and we
9856 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9857 capability. This should make smtpmail.el work in slightly more
9858 configurations.
9859
1cdd2a1b
MA
98602011-07-06 Michael Albinus <michael.albinus@gmx.de>
9861
9862 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9863 New defun.
9864 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9865
fbcc67e2
MM
98662011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9867
9868 * progmodes/sql.el: Version 3.0
0757af94 9869 (sql-product-alist): Add product :completion-object,
fbcc67e2 9870 :completion-column, and :statement attributes.
0757af94 9871 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9872 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9873 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9874 ansi keywords.
9875 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9876 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9877 (sql-oracle-show-reserved-words): New function for development.
9878 (sql-product-font-lock): Simplify for source code buffers.
9879 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9880 New functions.
9881 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9882 (sql-mode-map): Add statement movement functions.
9883 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9884 New variable.
fbcc67e2
MM
9885 (sql-statement-regexp, sql-beginning-of-statement)
9886 (sql-end-of-statement, sql-signum): New functions.
0757af94 9887 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9888 (sql-show-sqli-buffer): Bug fix.
9889 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9890 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9891 with sql-interactive-mode.
9892 (sql-save-connection): Save buffer local settings.
0757af94 9893 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9894 (sql-product-interactive): Bug fix.
9895 (sql-preoutput-hold): New variable.
9896 (sql-interactive-remove-continuation-prompt): Bug fixes.
9897 (sql-debug-redirect): New variable.
9898 (sql-str-literal): New function.
9899 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9900 Redesign.
fbcc67e2
MM
9901 (sql-oracle-save-settings, sql-oracle-restore-settings)
9902 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9903 (sql-completion-object, sql-completion-column)
9904 (sql-completion-sqlbuf): New variables.
9905 (sql-build-completions-1, sql-build-completions)
9906 (sql-try-completion): New functions.
9907 (sql-read-table-name): Use them.
9908 (sql-contains-names): New buffer local variable.
9909 (sql-list-all, sql-list-table): Use it.
9910 (sql-oracle-completion-types): New variable.
9911 (sql-oracle-completion-object, sql-sqlite-completion-object)
9912 (sql-postgres-completion-object): New functions.
9913
d4eaeab1
GM
99142011-07-06 Glenn Morris <rgm@gnu.org>
9915
9916 * window.el (pop-to-buffer): Doc fix.
9917
322b7dab 99182011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9919
9920 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9921
322b7dab 99222011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9923
322b7dab 9924 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9925
322b7dab 9926 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9927
605dd5bf
CY
99282011-07-05 Chong Yidong <cyd@stupidchicken.com>
9929
9930 * button.el (button): Inherit from link face. Suggested by Dan
9931 Nicolaescu.
9932
7dbfa719
SM
99332011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9934
3db614b0
SM
9935 * progmodes/gdb-mi.el: Fit in 80 columns.
9936 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9937 switch-to-buffer.
9938
7dbfa719
SM
9939 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9940 if imenu is simply not configured (bug#8941).
9941
919d884a
KM
99422011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9943
9944 * allout.el (allout-post-undo-hook): New allout outline-change
9945 event hook to signal undo activity.
9946 (allout-post-command-business): Run allout-post-undo-hook if an
9947 undo just occurred.
7dbfa719
SM
9948 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9949 * allout-widgets.el (allout-widgets-after-undo-function):
9950 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9951 in the vicinity of an undo.
9952 (allout-widgets-mode): Include allout-widgets-after-undo-function
9953 on the new allout-post-undo-hook.
9954
450a0f09
SM
99552011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9958 Let define-derived-mode define it.
9959 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9960 cycles of abbrev-table inheritance (bug#8998).
9961
2de69e00
RW
99622011-07-05 Roland Winkler <winkler@gnu.org>
9963
9964 * textmodes/bibtex.el: Add support for biblatex.
9965 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9966 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9967 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9968 (bibtex-entry-alist, bibtex-field-alist): New variables.
9969 (bibtex-entry-field-alist): Obsolete alias for
9970 bibtex-BibTeX-entry-alist.
9971 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9972 (bibtex-set-dialect): New command.
9973 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9974 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9975 Bind via bibtex-set-dialect.
2de69e00
RW
9976 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9977 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9978 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9979 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9980 Define via bibtex-set-dialect.
450a0f09
SM
9981 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9982 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9983 (bibtex-vec-push, bibtex-vec-incr): New functions.
9984 (bibtex-format-entry, bibtex-field-list)
9985 (bibtex-print-help-message, bibtex-validate)
9986 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9987
2dcdbdd9
SM
99882011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * progmodes/compile.el (compilation-goto-locus):
9991 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9992 * bs.el (bs-cycle-next, bs-cycle-previous):
9993 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9994 * bindings.el (mode-line-other-buffer):
9995 * autoinsert.el (auto-insert):
9996 * arc-mode.el (archive-extract):
9997 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9998
b27640fe
JB
99992011-07-05 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10002 Fix check of `emacs-lock-unlockable-modes'.
10003 Coerce true values of `emacs-lock--try-unlocking' to t.
10004
53bbe3ad
JB
100052011-07-05 Juanma Barranquero <lekktu@gmail.com>
10006
10007 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10008 * emacs-lock.el: New file.
10009
1d3cdbc7
JD
100102011-07-05 Julien Danjou <julien@danjou.info>
10011
10012 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10013 than `boundp' to check if face is set.
10014
9173deec
JB
100152011-07-05 Juanma Barranquero <lekktu@gmail.com>
10016
10017 * register.el (registerv-make):
10018 * window.el (window-min-height): Fix typos in docstrings.
10019
869795d6
JD
100202011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10021
9173deec 10022 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10023 Update doc string.
10024
b768cdcd
JB
100252011-07-04 Juanma Barranquero <lekktu@gmail.com>
10026
10027 * server.el (server-execute): Catch quit and call
10028 `server-return-error' to pass the error back to emacsclient and
10029 close the connection (bug#8942).
10030
13aa217b
KM
100312011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10032
10033 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10034 insecure exception for current topic. Also note that auto-saves
10035 are handled differently.
10036
5d3385a0 10037 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10038 State variables for tracking auto-save inhibition situation.
10039
10040 (allout-write-contents-hook-handler): Rename from
10041 'allout-write-file-hook-handler', and describe how it depends on
10042 write-contents-functions sensitivity to non-nil value to prevent
10043 file write.
10044
10045 (allout-auto-save-hook-handler): Remove. auto-save does not check
10046 this in individual buffers, only in the starting buffer, so this
10047 is not the right way for us to inhibit auto-save in a buffer
10048 according to its condition.
10049
10050 (allout-mode): Use new allout-write-contents-hook-handler, and
10051 only with write-contents-functions. Remove auto-save provisions -
10052 they're implemented elsewhere.
10053
10054 (allout-before-change-handler): If undo is in progress, note that
10055 for attention of allout-post-command-business.
10056
10057 (allout-post-command-business): If the command we're following was
10058 an undo, check for change in the status of encrypted items and
10059 adjust auto-save inhibitions accordingly.
10060
10061 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10062 according to whether there are or aren't any plain-text topics
10063 pending encryption.
10064
2dcdbdd9 10065 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10066 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10067 if there are plain-text topics pending encryption.
13aa217b
KM
10068
10069 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10070 buffer-saved-size and some allout state to not inhibit auto-saves
10071 if there are no longer any plain-text topics pending encryption.
10072
0757af94
SM
10073 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10074 No longer provide for exemption of the current topic.
13aa217b 10075
ac89b32c
JL
100762011-07-04 Juri Linkov <juri@jurta.org>
10077
10078 Add 7z operations to delete and save changed members (bug#8968).
10079 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10080 New defcustoms.
10081 (archive-7z-write-file-member): New function.
10082 (archive-7z-summarize): Fix the number of dashes in the
10083 listing output.
10084
8fa39615
SM
100852011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10088 (bug#8958).
10089
2f11b3f1
CY
100902011-07-04 Chong Yidong <cyd@stupidchicken.com>
10091
d66fef2b
CY
10092 * bindings.el: Ignore next-buffer and previous-buffer in
10093 minibuffer-local-map.
10094
2f11b3f1
CY
10095 * font-lock.el (font-lock-builtin-face): Change light background
10096 color to dark slate blue (Bug#6693).
10097
f932a347
WD
100982011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10099
10100 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10101
c8af70e1
SM
101022011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10105 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10106 Add switch-to-buffer.
10107
f158badc
LMI
101082011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10109
10110 * isearch.el (isearch-search-fun-function): Clarify further the
10111 meaning of the function returned.
10112
6d95bd46
MA
101132011-07-04 Michael Albinus <michael.albinus@gmx.de>
10114
10115 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10116
10117 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10118 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10119 Use it.
10120 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10121 `tramp-default-remote-path' does not exist.
10122 (tramp-send-command-and-read): New optional argument NOERROR.
10123 (tramp-open-connection-setup-interactive-shell)
10124 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10125 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10126 (tramp-process-sentinel): Flush also process' connection property.
10127 (tramp-sh-handle-start-file-process): Do not set process
10128 sentinel. It is done now ...
10129 (tramp-maybe-open-connection): ... here. (Bug#8929)
10130
909e6b67
MK
101312011-07-04 MON KEY <monkey@sandpframing.com>
10132
10133 * play/animate.el (animate-string): Doc fixes and allow changing
10134 the buffer name (bug#5417).
10135
101362011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10137
c8af70e1 10138 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10139
f34755dc
PE
101402011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10141
396cec72
PE
10142 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10143 This is simpler and helps future-proof the code.
10144 (timer-until): Use time-subtract and float-time.
08235028 10145 (timer--time-less-p): Use time-less-p.
f34755dc 10146
56e6cc31
JB
101472011-07-04 Juanma Barranquero <lekktu@gmail.com>
10148
3abb79e5
JB
10149 * type-break.el (timep): Use the value of `float-time' to avoid a
10150 byte-compiler warning.
10151
56e6cc31
JB
10152 * server.el (server-eval-and-print): Return any result, even nil.
10153
7b9430b4
PE
101542011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10155
10156 * type-break.el: Accept time formats that the builtins accept.
10157 (timep, type-break-time-difference): Accept any format that
10158 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10159 This is simpler and helps future-proof the code.
10160 (type-break-time-difference): Round rather than ignoring
10161 subseconds components.
10162
3034e9e7
LMI
101632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10164
10165 * info.el (Info-apropos-matches): Make non-interactive, since it
10166 doesn't seem to do anything useful as a command (bug#8829).
10167
1485f4c0
CY
101682011-07-03 Chong Yidong <cyd@stupidchicken.com>
10169
10170 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10171 Move from faces.el.
1485f4c0
CY
10172 (frame-default-terminal-background): New function.
10173
10174 * custom.el (custom-push-theme): Don't record faces in `changed'
10175 theme; this doesn't work correctly for per-frame face settings.
10176 (disable-theme): Use face-set-after-frame-default to reset faces.
10177 (custom--frame-color-default): New function.
10178
9fa3dd45
LMI
101792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10180
c8af70e1 10181 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10182 (bug#8769).
10183
6cbbc20c
KR
101842011-03-29 Kevin Ryde <user42@zip.com.au>
10185
10186 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10187 `perl-Test2' extend to match possible "fail #N" rep count
10188 (bug#8377).
10189
c7f98048
LMI
101902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10191
65676592
LMI
10192 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10193 `smtpmail-via-smtp' now returns the error instead of nil.
10194
c7f98048
LMI
10195 * isearch.el (isearch-search-fun-function): Clarify the doc string
10196 (bug#8101).
10197
56e6cc31 101982011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10199
10200 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10201 unnecessary spaces (bug#8987).
10202
2b216704
LMI
102032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10204
10205 * net/network-stream.el (open-network-stream): Use the
10206 :end-of-capability command thoughout.
10207
102082011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10209
10210 * net/network-stream.el (open-network-stream): Add the
10211 :end-of-capability command parameter, used by pop3.el.
10212
36adf6ce
LMI
102132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10214
1ca0da0e
LMI
10215 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10216
fc00f69c
LMI
10217 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10218 for list)" (bug#6475).
10219
28fd8759 10220 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10221 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10222 an error (bug#6297).
10223
0dd8b6da
LMI
10224 * man.el (Man-reference-regexp): Allow matching possible
10225 word-wrapped references (bug#6289).
10226
ce1438d6
LMI
10227 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10228 for consistency with the other vc buffers (bug#6197).
10229 (vc-checkin): Ditto.
10230
10231 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10232
36adf6ce
LMI
10233 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10234
e83cc1f7
LMI
102352011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10236
8a20ca4c
LMI
10237 * custom.el (defcustom): Clarify that :set is only used in the
10238 Customize user interface (bug#6089).
10239
83319045
LMI
10240 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10241 associated with a file, refuse to run instead of erroring out
10242 (bug#6084).
10243
a8392169
LMI
10244 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10245 the doc string, since it appears that using `fill-column' always
10246 controls the width (bug#7845).
10247
e83cc1f7
LMI
10248 * simple.el (shell-command-on-region): Say where the error output
10249 went if `shell-command-default-error-buffer' is set (bug#6857).
10250
e47ca23b
KM
102512011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10252
10253 * allout.el (allout-yank-processing): Adjust cursor position for
10254 backwards-deleted space.
10255
10256 (allout-rebullet-heading): Register changes with
10257 allout-exposure-changed-hook, so the modified topic is properly
10258 decorated.
10259
5cf56143
LMI
102602011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10261
08549772
LMI
10262 * minibuffer.el (completion-in-region): Document PREDICATE
10263 (bug#7136).
10264
48e96771
LMI
10265 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10266 of keyword/argument pairs (bug#6904).
10267
c8af70e1
SM
10268 * replace.el (multi-occur):
10269 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10270
e17d05e2
LMI
102712011-07-02 Drew Adams <drew.adams@oracle.com>
10272
10273 * dired.el (dired-mark-if): Make the message about whether it's
10274 marking or unmarking clearer (bug#8523).
10275
063b0e45
LMI
102762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10277
10278 * disp-table.el (display-table-print-array): New function.
10279 (describe-display-table): Use it to print the vectors more pretty
10280 (Bug#8859).
10281
28545e04
MR
102822011-07-02 Martin Rudalics <rudalics@gmx.at>
10283
10284 * window.el (window-state-get-1): Don't assign clone numbers.
10285 Add clone-of item to list of window parameters.
10286 (window-state-put-2): Don't process clone numbers.
10287 (display-buffer-alist): Fix doc-string.
10288
3349e122
SM
102892011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10290
10291 * subr.el (remq): Don't allocate if it's not needed.
10292 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10293 (keymap--merge-bindings): New functions.
10294 (keymap-canonicalize): Use them to refine the canonicalization.
10295 * minibuffer.el (minibuffer-local-completion-map)
10296 (minibuffer-local-must-match-map): Move initialization from C.
10297 (minibuffer-local-filename-completion-map): Move initialization from C;
10298 don't inherit from anything here.
10299 (minibuffer-local-filename-must-match-map): Make obsolete.
10300 (completing-read-default): Use make-composed-keymap to combine
10301 minibuffer-local-filename-completion-map with either
10302 minibuffer-local-must-match-map or
10303 minibuffer-local-filename-completion-map.
10304
d224ac83
GM
103052011-07-01 Glenn Morris <rgm@gnu.org>
10306
3de63bf8
GM
10307 * type-break.el (type-break-time-sum): Use dolist.
10308
d224ac83
GM
10309 * textmodes/flyspell.el (flyspell-word-search-backward):
10310 Replace CL function.
10311
1a1e3f32
SM
103122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10313
fe3f64d5
SM
10314 * mouse.el (mouse--strip-first-event): New function.
10315 (function-key-map): Use it to map fringe clicks to normal clicks
10316 by default.
10317
eb604e34
SM
10318 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10319 (vc-bzr-revision-completion-table): Add support for annotate and date.
10320
1a1e3f32
SM
10321 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10322 inherit from parent.
10323
5bd35902
LMI
103242011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10325
ace6c69c 10326 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10327 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10328
191e2bed
LMI
10329 * dired.el (dired-mode): Fix up the doc string as suggested by
10330 Drew Adams (bug#8817).
10331
5bd35902
LMI
10332 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10333 cookie, since the manual says that it should be possible to add
10334 this function to `find-file-hook' (bug#8709).
10335
eee8207a
TZ
103362011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10337
10338 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10339 here. Noted Ted Zlatanov as the maintainer.
10340 (cfengine-common-settings, cfengine-common-syntax): New functions
10341 to set up common things between `cfengine-mode' and
10342 `cfengine3-mode'.
10343 (cfengine3-mode): New mode.
10344 (cfengine3-defuns cfengine3-defuns-regex
10345 (cfengine3-class-selector-regex cfengine3-category-regex)
10346 (cfengine3-vartypes cfengine3-font-lock-keywords)
10347 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10348 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10349
36b148cf
MA
103502011-07-01 Michael Albinus <michael.albinus@gmx.de>
10351
10352 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10353
10354 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10355
0bf4ba9a
MR
103562011-07-01 Martin Rudalics <rudalics@gmx.at>
10357
10358 * window.el (same-window-buffer-names, same-window-regexps)
10359 (same-window-p, special-display-frame-alist)
10360 (special-display-popup-frame, special-display-function)
10361 (special-display-buffer-names, special-display-regexps)
10362 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10363 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10364 (split-window-preferred-function, split-height-threshold)
10365 (split-width-threshold, even-window-heights)
10366 (display-buffer-mark-dedicated, window-splittable-p)
10367 (split-window-sensibly, window-safely-shrinkable-p):
10368 Un-obsolete.
10369 (display-buffer): Don't spread args with function specifier
10370 because special-display-popup-frame won't like it.
10371
35837f51
PE
103722011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10373
d0672f86
PE
10374 Time-stamp simplifications and fixes.
10375 These improve accuracy slightly, and future-proof the code
10376 against some potential changes to current-time format.
10377
b9444d97
PE
10378 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10379 by using time-since and float-time.
10380
0ef923dc
PE
10381 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10382 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10383 + NNN microseconds".
10384
2f81380d
PE
10385 * type-break.el (type-break-time-sum): Rewrite using time-add.
10386
845b5c3e
PE
10387 * play/hanoi.el (hanoi-current-time-float): Remove.
10388 All uses replaced by float-time.
10389
ee6f1be0
PE
10390 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10391 This yields a more-accurate answer.
10392 (rng-time-to-float): Remove; no longer needed.
10393
fe955043
PE
10394 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10395
5777162a
PE
10396 * calendar/timeclock.el (timeclock-seconds-to-time):
10397 Defalias to seconds-to-time, since they're the same thing.
10398
3103f8b6 10399 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10400 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10401 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10402
0e61a35f
SM
104032011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * window.el (bury-buffer): Don't iconify the only frame.
10406 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10407 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10408
ddd63a1e
CY
104092011-07-01 Chong Yidong <cyd@stupidchicken.com>
10410
0e61a35f
SM
10411 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10412 Add mouse-yank-primary.
ddd63a1e 10413
055f4923
TZ
104142011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10415
10416 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10417
6a2fb145
SM
104182011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10421 (find-library-name): Use it to find relative load names when provided
10422 absolute file name (bug#8803).
10423
fd4983f2
LMI
104242011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10425
887d14ad
LMI
10426 * textmodes/flyspell.el (flyspell-word): Consider words that
10427 differ only in case as potential doublons (bug#5687).
10428
c53dc7fc
LMI
10429 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10430 Remove two rather uninteresting debugging-like messages to make
10431 debbugs.el more silent.
10432
fd4983f2
LMI
10433 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10434 a password-like phrase.
10435
7a71b18d 104362011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10437
10438 * progmodes/cc-guess.el: New file.
10439
6a2fb145 10440 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10441
10442 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10443 derived from `c-basic-common-init'.
10444
10445 * progmodes/cc-mode.el (top-level): Require cc-guess.
10446 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10447
1fa280a3
LM
104482011-06-30 Lawrence Mitchell <wence@gmx.li>
10449
10450 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10451
e6597158
AM
104522011-06-30 Alan Mackenzie <acm@muc.de>
10453
1fa280a3
LM
10454 * progmodes/cc-engine.el (c-guess-continued-construct):
10455 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10456 lock is disabled. Name this case as "CASE G".
10457
68ba37fb
KM
104582011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10459
10460 * allout.el (allout-yank-processing): Fix injection of extra space
10461 between bullet and non-whitespace character in first topic when
10462 pasting, ensuring that the actual spacing in the pasted topic
10463 following the bullet char is preserved. This extra space was
10464 causing pasted encrypted topics to get a decrypted status even
10465 when the content was actually still encrypted. Now the decryption
10466 status from before the paste is preserved.
10467
10468 (allout-flag-region): Set all allout overlays so they evaporate
10469 when reduced to zero length (evanescent), to prevent overlay
10470 leakage.
10471
887a0b34
GM
104722011-06-30 Glenn Morris <rgm@gnu.org>
10473
94b9acce
GM
10474 * w32-fns.el (w32-charset-info-alist): Declare.
10475
1d9b46d4
GM
10476 * find-dired.el (find-grep-options): Simplify.
10477
cc232200
GM
10478 * term/ns-win.el (ns-set-resource): Declare.
10479
28e77c46
GM
10480 * ses.el (row, col): Declare dynamic variables honestly.
10481
887a0b34
GM
10482 * textmodes/reftex-parse.el (index-tags): Declare.
10483
658d8eb8
CY
104842011-06-30 Chong Yidong <cyd@stupidchicken.com>
10485
10486 * cus-edit.el (customize-push-and-save): New function.
10487
10488 * files.el (hack-local-variables-confirm): Use it.
10489
1fa280a3
LM
10490 * custom.el (load-theme): New arg NO-CONFIRM.
10491 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10492 (custom-enabled-themes): Doc fix.
10493
10494 * cus-theme.el (customize-create-theme)
10495 (custom-theme-merge-theme): Callers to load-theme changed.
10496
bb617717
LMI
104972011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10498
d61bdd5d
LMI
10499 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10500 short URLs have at least one dot in them (bug #7614).
10501
bb617717
LMI
10502 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10503 nil, because using a pty is apparently too slow (bug #895).
10504
2f31f37a
LMI
105052011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10506
10507 * mail/sendmail.el (sendmail-query-once): New function.
10508 (sendmail-query-once-function): New variable.
10509
3076b24e
GM
105102011-06-29 Glenn Morris <rgm@gnu.org>
10511
faf2a174
GM
10512 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10513
3076b24e
GM
10514 * ses.el (top-level): Require cl when compiling.
10515 (ses-set-localvars): Fix error statement.
10516 Call it at compile time to silence a storm of warnings.
10517
5386012d
MR
105182011-06-29 Martin Rudalics <rudalics@gmx.at>
10519
10520 * window.el (normalize-live-buffer): Rename to
10521 window-normalize-buffer.
10522 (normalize-live-frame): Rename to window-normalize-frame.
10523 (normalize-any-window): Rename to window-normalize-any-window.
10524 (normalize-live-window): Rename to window-normalize-live-window.
10525 (make-window-atom): Rename to window-make-atom.
10526 (window-resize-reset): Rename to window--resize-reset.
10527 (window-resize-reset-1): Rename to window--resize-reset-1.
10528 (resize-mini-window): Rename to window--resize-mini-window.
10529 (resize-subwindows-skip-p): Rename to
10530 window--resize-subwindows-skip-p.
10531 (resize-subwindows-normal): Rename to
10532 window--resize-subwindows-normal.
10533 (resize-subwindows): Rename to window--resize-subwindows.
10534 (resize-other-windows): Rename to window--resize-siblings.
10535 (resize-this-window): Rename to window--resize-this-window.
10536 (resize-root-window): Rename to window--resize-root-window.
10537 (resize-root-window-vertically): Rename to
10538 window--resize-root-window-vertically.
10539 (normalize-buffer-to-display): Rename to
10540 window-normalize-buffer-to-display.
10541 (normalize-buffer-to-switch-to): Rename to
10542 window-normalize-buffer-to-switch-to.
10543 Correspondingly update all callers of the functions listed
10544 above.
10545 (display-buffer-alist, display-buffer-normalize-arguments)
10546 (display-buffer-normalize-options, display-buffer)
10547 (display-buffer-alist-set): Use "function" instead of
10548 "fun-with-args".
10549
1176868d
CY
105502011-06-28 Chong Yidong <cyd@stupidchicken.com>
10551
10552 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10553 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10554 debbugs.gnu.org. Mention acknowledgment email.
10555
20a7a65f
LMI
105562011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10557
10558 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10559 buffer multibyteness, since it shouldn't matter.
10560
5f45cca5
MR
105612011-06-28 Martin Rudalics <rudalics@gmx.at>
10562
10563 * window.el (display-buffer-in-side-window): Handle dedicated
10564 windows as in display-buffer-reuse-window.
10565 (display-buffer-normalize-alist): Use value of override
10566 specifier.
10567 (display-buffer-normalize-specifiers): Use value of
10568 other-window-means-other-frame specifier.
10569 (display-buffer-alist): Rewrite some texts in widgets.
10570 (display-buffer): Spread arguments when calling function
10571 specified by fun-with-args.
10572
ad85fe1f
DD
105732011-06-28 Deniz Dogan <deniz@dogan.se>
10574
1fa280a3
LM
10575 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10576 Unnest `let'.
da68c4c8 10577
ad85fe1f
DD
10578 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10579 selectors (Bug#5732).
ec49bd31 10580 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10581
a08cc025
JA
105822011-06-27 Jari Aalto <jari.aalto@cante.net>
10583
10584 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10585 (eshell-ls-date-format): New defcustom.
10586 (eshell-ls-file): Use it.
10587
e2b551c5
SM
105882011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10591
8982b231
KY
105922011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10593
10594 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10595 (ange-ftp-make-tmp-name): New arg.
10596 (ange-ftp-file-local-copy): Use it.
10597
36c9fa27
J
105982011-06-27 Jambunathan K <kjambunathan@gmail.com>
10599
10600 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10601 no-conversion (Bug#8870).
10602
d68443dc
MR
106032011-06-27 Martin Rudalics <rudalics@gmx.at>
10604
10605 * window.el (window-right, window-left, window-child)
10606 (window-child-count, window-last-child)
10607 (window-iso-combination-p, walk-window-tree-1)
10608 (window-atom-check-1, window-tree-1, delete-window)
10609 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10610 new naming conventions - window-vchild, window-hchild,
10611 window-next and window-prev are now called window-top-child,
10612 window-left-child, window-next-sibling and window-prev-sibling
10613 respectively.
d615d6d2
MR
10614 (resize-window-reset): Rename to window-resize-reset.
10615 (resize-window-reset-1): Rename to window-resize-reset-1.
10616 (resize-window): Rename to window-resize.
10617 (window-min-height, window-min-width)
10618 (resize-mini-window, resize-this-window, resize-root-window)
10619 (resize-root-window-vertically, adjust-window-trailing-edge)
10620 (enlarge-window, shrink-window, maximize-window)
10621 (minimize-window, delete-window, quit-restore-window)
10622 (split-window, balance-windows, balance-windows-area-adjust)
10623 (balance-windows-area, window-state-put-2)
10624 (display-buffer-even-window-sizes, display-buffer-set-height)
10625 (display-buffer-set-width, set-window-text-height)
10626 (fit-window-to-buffer): Rename all "resize-window" prefixed
10627 calls to use the "window-resize" prefix convention.
10628 (display-buffer-alist): Fix symbol for label specifier.
10629 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10630 corresponding specifier.
10631 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10632
b6458526
VB
106332011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10634
10635 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10636 convention.
10637 (ses-call-printer): Does not pass an empty string to formatter when the
10638 cell is empty to keep from barking printer Calc math-format-value.
10639
d31fd9ac
RS
106402011-06-27 Richard Stallman <rms@gnu.org>
10641
43d5bf84
RS
10642 * battery.el (battery-mode-line-limit): New variable.
10643 (battery-update): Handle it.
10644
d31fd9ac
RS
10645 * mail/rmailmm.el (rmail-mime-process-multipart):
10646 Handle truncated messages.
10647
819a6054
GM
106482011-06-27 Glenn Morris <rgm@gnu.org>
10649
10650 * progmodes/flymake.el (flymake-err-line-patterns):
10651 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10652
cedc73f2
VB
106532011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10654
819a6054 10655 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10656 (ses--clean-!, ses--clean-_): New functions.
10657 (ses-range): Add configurability of readout order, and conversion
10658 to Calc vector.
10659
5e5d49b6
VB
10660 * ses.el (ses-repair-cell-reference-all): New function.
10661 (ses-cell-symbol): Set macro as safe, so that it can be used in
10662 formulas.
10663
56e6cc31 10664 * ses.el: Update cycle detection algorithm.
90ca8b49 10665 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10666 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10667 (ses-set-localvars): New function.
10668 (ses-make-cell): Add property-list as a cell element.
10669 (ses-cell-property-get-fun, ses-cell-property-get)
10670 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10671 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10672 New functions.
90ca8b49
VB
10673 (ses-cell-property-set, ses-cell-property-pop)
10674 (ses-cell-property-get-handle): New macro.
10675 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10676 New aliases, used for code readability.
10677 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10678 cycle detection.
10679 (ses-self-reference-early-detection): New defcustom.
fac916bf 10680 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10681 (ses-mode): Use ses-set-localvars.
10682 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10683 before lauching the update processing.
10684 (ses-initialize-Dijkstra-attempt): New function.
10685 (ses-recalculate-cell): Update for cycle detection based on
10686 Dijkstra algorithm.
10687
2bb63e81
VB
10688 * ses.el: Fix commenting and indenting convention.
10689
c9d29fb8
SM
106902011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 * bs.el (bs-cycle-next): Complete last change.
10693
d8e4b68b
JB
106942011-06-27 Drew Adams <drew.adams@oracle.com>
10695
10696 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10697
40098786
LMI
106982011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10699
c9d29fb8
SM
10700 * net/network-stream.el (network-stream-open-starttls):
10701 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10702 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10703
40098786
LMI
10704 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10705 to binary to possibly avoid line encoding issues on Windows (among
10706 other things).
10707
468d09d4
LMI
107082011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10709
10710 * net/network-stream.el (open-network-stream): Return an :error
10711 saying what the problem was, if possible.
10712
10713 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10714 server.
10715
10716 * net/network-stream.el (network-stream-open-starttls): If we
10717 wanted to use STARTTLS, and the server offered it, but we weren't
10718 able to because we had no STARTTLS support, then close the connection.
10719 (open-network-stream): Return an :error element, if present.
10720
16f07dd7
CY
107212011-06-26 Chong Yidong <cyd@stupidchicken.com>
10722
88821ca0
CY
10723 * hl-line.el (hl-line-sticky-flag): Doc fix.
10724 (global-hl-line-sticky-flag): New option (Bug#8323).
10725 (global-hl-line-highlight): Obey it.
10726
16f07dd7
CY
10727 * vc/vc.el (vc-revert-show-diff): Default to t.
10728
6b5ccddf
KM
107292011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10730
c9d29fb8
SM
10731 * allout-widgets.el (allout-widgets-post-command-business):
10732 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10733 undecorated when an isearch is continued past, and isearch
10734 automatically collapses them. This leads to "widget leaks", where
10735 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10736 hidden widgets can slow down cursor travel, substantially.
10737 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10738 so we're doing without this nicety.
10739
10740 (allout-widgets-tally-string): Don't try to do a hash-table-count
10741 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10742 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10743 *Messages* when allout-widgets-maintain-tally is t.
10744
355f2e07
MR
107452011-06-26 Martin Rudalics <rudalics@gmx.at>
10746
10747 * window.el (display-buffer-normalize-argument): Rename to
10748 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10749 LABEL argument. Respect special-display-function when popping up
10750 a new frame. Fix code searching for a window showing the buffer
10751 on another frame.
c9d29fb8
SM
10752 (display-buffer-normalize-specifiers):
10753 Call display-buffer-normalize-arguments.
355f2e07
MR
10754 (display-buffer-in-window): Don't undedicate the window if its
10755 buffer remains the same.
10756 Reported by Drew Adams <drew.adams@oracle.com>.
10757 (display-buffer-alist): Add choice for same-window macro
10758 specfier.
10759 (display-buffer): Mention special meaning of LABEL argument in
10760 doc-string. Fix quoting. Don't pop up a new frame even as
10761 fallback.
10762
7ca8fc42
JB
107632011-06-26 Juanma Barranquero <lekktu@gmail.com>
10764
10765 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10766 avoid deleting the current window in some cases (bug#8911).
10767
bc312254
AS
107682011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10769
10770 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10771 (Bug#8934)
10772
2db18f3f
LMI
107732011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10774
c9d29fb8
SM
10775 * net/network-stream.el (network-stream-open-starttls):
10776 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10777 (network-stream-open-tls): Ditto.
10778
6302e0d3
LL
107792011-06-26 Leo Liu <sdl.web@gmail.com>
10780
10781 * register.el (registerv): New struct.
10782 (registerv-make): New function.
c9d29fb8
SM
10783 (jump-to-register, describe-register-1, insert-register):
10784 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10785 struct. (Bug#8415)
10786
5fdd4046
CY
107872011-06-26 Chong Yidong <cyd@stupidchicken.com>
10788
2afef60a
CY
10789 * vc/vc.el (vc-revert-show-diff): New defcustom.
10790 (vc-diff-internal): New arg specifying diff buffer.
10791 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10792 reuse an existing *vc-diff* buffer (Bug#8927).
10793
5fdd4046
CY
10794 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10795
e93db24a
GM
107962011-06-26 Glenn Morris <rgm@gnu.org>
10797
10798 * progmodes/f90.el (f90-critical-indent): New option.
10799 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10800 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10801 (f90-mode): Doc fix.
10802 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10803 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10804 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10805 (f90-match-end): Handle block, critical.
10806
eefff499
GM
108072011-06-25 Glenn Morris <rgm@gnu.org>
10808
f6ba4cc9
GM
10809 * calendar/diary-lib.el (diary-included-files): Doc fix.
10810 (diary-include-files): New function, extracted from
10811 diary-include-other-diary-files and diary-mark-included-diary-files.
10812 (diary-include-other-diary-files, diary-mark-included-diary-files):
10813 Just call diary-include-files.
10814 (diary-mark-entries): Reset diary-included-files on first call.
10815
16712304
GM
10816 * calendar/diary-lib.el (diary-mark-entries)
10817 (diary-mark-included-diary-files):
10818 Visit included diary-files in temp buffers.
10819
5d8e0d43
GM
10820 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10821 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10822 (f90-start-block-re, f90-imenu-generic-expression)
10823 (f90-looking-at-program-block-start, f90-no-block-limit):
10824 Add support for submodules.
10825
ccf7a5d5
GM
10826 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10827 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10828
11fdef7d 108292011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10830
10831 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10832 buffer-file-type before setting its value, to avoid disastrous
eefff499 10833 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10834
74f53697
JB
108352011-06-25 Juanma Barranquero <lekktu@gmail.com>
10836
10837 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10838
10839 * ses.el (ses-unload-function):
10840 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10841
10842 * proced.el (proced-unload-function):
10843 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10844
18a4ce5e
AR
108452011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10846
10847 * server.el (server-create-window-system-frame): Add parameters arg.
10848 (server-process-filter): Doc fix. Handle frame-parameters.
10849
519d22cc
JB
108502011-06-25 Juanma Barranquero <lekktu@gmail.com>
10851
10852 Fix bug#8730, bug#8781.
10853
10854 * loadhist.el (unload--set-major-mode): New function.
10855 (unload-feature): Use it.
10856
10857 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10858 (python-unload-function): New function.
10859
c206f5b0
SM
108602011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10861
10862 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10863
f9ad64f3
GS
108642011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10865
10866 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10867 the candidates list.
10868
7d0da90e
JB
108692011-06-24 Juanma Barranquero <lekktu@gmail.com>
10870
10871 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10872
14b4e83d
RS
108732011-06-23 Richard Stallman <rms@gnu.org>
10874
10875 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10876 (rmail-variables): Set next-error-move-function.
10877 (rmail-what-message): Take argument POS.
10878 (rmail-next-error-move): New function.
10879
273d2baf
SM
108802011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10883 messages for adjacent non-terminals.
10884
56c2cc9a
RS
108852011-06-23 Richard Stallman <rms@gnu.org>
10886
10887 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10888 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10889 (rmail-start-mail): Don't specify use of rmail-mail-return;
10890 that's done by mail-bury now.
10891 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10892
d59eb518
MA
108932011-06-23 Michael Albinus <michael.albinus@gmx.de>
10894
10895 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10896 SIZE is a number.
10897
02cfc6d6
MR
108982011-06-23 Martin Rudalics <rudalics@gmx.at>
10899
10900 * window.el (get-lru-window, get-mru-window)
10901 (get-largest-window): Never return a minibuffer window.
10902 (display-buffer-pop-up-window): Fix a bug that could lead to
10903 reusing the minibuffer window.
10904 (display-buffer): Pass original specifier argument to
10905 display-buffer-function instead of the normalized one.
10906 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10907
4e323265
LL
109082011-06-22 Leo Liu <sdl.web@gmail.com>
10909
10910 * minibuffer.el (completing-read-function)
10911 (completing-read-default): Move from minibuf.c
10912
7a70468f
RS
109132011-06-22 Richard Stallman <rms@gnu.org>
10914
50718fc2
RS
10915 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10916 to Rmail even if not started by a special Rmail command.
10917
7a70468f
RS
10918 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10919 Copy the buffer currently showing just one message.
10920
297dde5a
RW
109212011-06-22 Roland Winkler <winkler@gnu.org>
10922
10923 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10924 (bibtex-clean-entry): First delete the old key so that a
10925 customized algorithm for generating the new key does not get
10926 confused by the old key.
10927 (bibtex-url): Obey regexp of first step.
10928 (bibtex-search-entries): Do not use add-to-list with local
10929 list-var.
10930
97bb1093
LMI
109312011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10932
10933 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10934 stored a user name, then query for the password first, instead of
10935 waiting for SMTP to give an error message and the trying again.
10936
1c0f1a19
JD
109372011-06-22 Lawrence Mitchell <wence@gmx.li>
10938
10939 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10940 BUFFER in call-process.
10941
396f7c9d
LMI
109422011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10943
10944 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10945 QUIT twice.
ddb7ffee
LMI
10946 (smtpmail-try-auth-methods): Require user name and password from
10947 auth-source.
396f7c9d 10948
8998d1b3
MR
109492011-06-22 Martin Rudalics <rudalics@gmx.at>
10950
10951 * window.el (display-buffer-default-specifiers)
10952 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10953 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10954 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10955
10956 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10957 (special-display-frame-alist, special-display-popup-frame):
10958 Remove duplicate declarations. These are now in window.el.
10959
4ea31e07
LMI
109602011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10961
c9d29fb8
SM
10962 * mail/smtpmail.el (smtpmail-via-smtp):
10963 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10964 server supports it. SMTP servers that support STARTTLS commonly
10965 require it.
10966
10967 * net/network-stream.el (network-stream-open-starttls): Support
10968 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10969 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10970
95f41d9a
LMI
10971 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10972 upgrades with `open-network-stream', and rely solely on
10973 auth-source for all credentials. Big changes throughout the file,
10974 but in particular:
c9d29fb8
SM
10975 (smtpmail-auth-credentials): Remove.
10976 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10977 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10978 MAIL FROM, too.
95f41d9a 10979
c9d29fb8
SM
10980 * net/network-stream.el (network-stream-open-starttls):
10981 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10982 STARTTLS.
10983 (auth-source): Require.
10984 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10985 (network-stream-certificate): Change cert-cert to cert and
10986 cert-key to key.
4ea31e07 10987
065ec2c7
MA
109882011-06-21 Michael Albinus <michael.albinus@gmx.de>
10989
10990 * net/tramp-cache.el (top): Don't load the persistency file when
10991 "emacs -Q" has been called.
10992
cd93b359
DR
109932011-06-21 Tim Harper <timcharper@gmail.com>
10994
d8e4b68b
JB
10995 * term/ns-win.el (ns-initialize-window-system):
10996 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10997 resource to NO as it is not yet supported by the NS port.
10998
ae9c0411
JB
109992011-06-21 Juanma Barranquero <lekktu@gmail.com>
11000
11001 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11002 (list-dynamic-libraries): ...not here.
11003
7f3f739f
LL
110042011-06-21 Leo Liu <sdl.web@gmail.com>
11005
11006 * subr.el (sha1): Implement sha1 using secure-hash.
11007
327c8fb1
MR
110082011-06-21 Martin Rudalics <rudalics@gmx.at>
11009
11010 * window.el (display-buffer-alist): In default value do not
11011 enforce searching a window on any but the selected frame.
11012 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11013 (display-buffer-select-window): Remove function.
11014 (display-buffer-in-window): When a window on another frame gets
11015 reused, do not select it any more but just raise its frame if
11016 necessary (Bug#8851) and (Bug#8856).
11017 (display-buffer-normalize-options): Handle pop-up-frames related
11018 options more faithfully.
11019 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11020 window if it is on another frame.
c9d29fb8
SM
11021 (display-buffer-alist, display-buffer-default-specifiers):
11022 Don't make new frame unsplittable by default.
9e9de014
MR
11023 (display-buffer-normalize-argument): Fix doc-string typo and use
11024 'same-frame-other-window instead of 'other-window when associating
11025 with display-buffer-macro-specifiers.
327c8fb1 11026
7cf3f556
VB
110272011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
11028
11029 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11030 New functions.
11031 (5x5-mode-map, 5x5-mode-menu): Bind them.
11032 (5x5-draw-grid): Tweak the solver's rendering.
11033
60a406cf
SM
110342011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11037 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11038
d8e4b68b 110392011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11040
11041 * menu-bar.el: Use function variable instead of switch-to-buffer.
11042 (menu-bar-select-buffer-function): New variable.
60a406cf 11043 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11044
478d6f95
SM
110452011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11048 variable's status.
11049
ca530739
JD
110502011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11051
11052 * x-dnd.el (x-dnd-version-from-flags)
11053 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11054 and long as number (Bug#8899).
11055 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11056
bcd70d97
SM
110572011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11058
60a406cf 11059 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11060 (completion-try-completion, completion-all-completions): Compute the
11061 metadata argument if it's missing; make it optional (bug#8795).
11062
60a406cf 11063 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11064 (widget-complete): Use new :completion-function property.
11065 (widget-completions-at-point): New function.
11066 (default): Use :completion-function instead of :complete.
60a406cf
SM
11067 (widget-default-completions): Rename from widget-default-complete;
11068 Rewrite.
bcd70d97
SM
11069 (widget-string-complete, widget-file-complete, widget-color-complete):
11070 Remove functions.
11071 (file, symbol, function, variable, coding-system, color):
11072 * international/mule-cmds.el (default-input-method, charset)
11073 (language-info-custom-alist):
11074 * cus-edit.el (face): Use new property :completions.
11075
11076 * progmodes/pascal.el (pascal-completions-at-point): New function.
11077 (pascal-mode): Use it.
11078 (pascal-mode-map): Use completion-at-point.
11079 (pascal-toggle-completions): Make obsolete.
11080 (pascal-complete-word, pascal-show-completions):
11081 * progmodes/octave-mod.el (octave-complete-symbol):
11082 Redefine as obsolete alias.
11083 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11084 Signal absence of completion info for old Octave,
11085 (inferior-octave-complete): Redefine as obsolete alias.
11086 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11087 (meta-completions-at-point): Rename from meta-complete-symbol and
11088 adapt it for use on completion-at-point-functions.
11089 (meta-common-mode): Use it.
11090 (meta-looking-at-backward, meta-match-buffer): Remove.
11091 (meta-complete-symbol): Redefine as obsolete alias.
11092 (meta-common-mode-map): Use completion-at-point.
11093 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11094 (makefile-mode-map): Use completion-at-point.
11095 (makefile-completions-at-point): Rename from makefile-complete and
11096 adapt it for use on completion-at-point-functions.
11097 (makefile-mode): Use it.
11098 (makefile-complete): Redefine as obsolete alias.
11099
aebf69c8
DD
111002011-06-20 Deniz Dogan <deniz@dogan.se>
11101
11102 * net/rcirc.el: Delete trailing whitespaces once and for all.
11103
bfbbb27d
DC
111042011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11105
11106 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11107
d264a46b
CY
111082011-06-19 Chong Yidong <cyd@stupidchicken.com>
11109
4ca009e5
CY
11110 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11111
d264a46b
CY
11112 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11113
fbf5b3ce
MR
111142011-06-19 Martin Rudalics <rudalics@gmx.at>
11115
11116 * window.el (display-buffer-other-window-means-other-frame):
11117 Call display-buffer-normalize-alist.
11118 (display-buffer-normalize-specifiers-1): Rename to
11119 display-buffer-normalize-argument. New argument other-frame.
11120 Rewrite.
11121 (display-buffer-normalize-specifiers-2): Rename to
11122 display-buffer-normalize-options.
11123 (display-buffer-normalize-alist-1): New function.
11124 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11125 display-buffer-normalize-alist.
11126 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11127 (display-buffer-normalize-options-inhibit): New variable.
11128 (display-buffer-normalize-specifiers): Rewrite calling
11129 display-buffer-normalize-alist,
11130 display-buffer-normalize-argument, and
11131 display-buffer-normalize-options. Don't call the latter if
11132 display-buffer-normalize-options-inhibit is non-nil.
11133 (frame-auto-delete): New option.
11134 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11135 (window-list-no-nils, window-state-ignored-parameters)
11136 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11137 (window-state-put-1, window-state-put-2, window-state-put):
11138 New functions.
9a028c23
MR
11139 (display-buffer-normalize-options): Move special-display-p group
11140 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11141
6d10d800
CY
111422011-06-18 Chong Yidong <cyd@stupidchicken.com>
11143
6420d28b
CY
11144 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11145 groups (Bug#8776).
11146 (rx-submatch-n): New function.
11147 (rx): Document it.
11148
ddb8b596
CY
11149 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11150 (Bug#8768).
11151
11152 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11153
77080289
CY
11154 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11155
61dfb316
CY
11156 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11157 anytime existing face settings are present (Bug#8889).
11158
6d10d800
CY
11159 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11160 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11161 Remove unused argument.
11162
be3fb2b8
MR
111632011-06-18 Martin Rudalics <rudalics@gmx.at>
11164
bcd70d97
SM
11165 * window.el (display-buffer-default-specifiers):
11166 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11167 pop-up-window-min-width, and another reuse-window specifier
11168 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11169 (display-buffer-normalize-specifiers-2):
11170 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11171 pop-up-windows is unset. Add a reuse-window specifier for the
11172 case popping up a new window fails.
11173 (special-display-popup-frame): Remove double quoting.
28dec25a 11174 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11175
1c6d8c76
SM
111762011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11179 according to comint-completion-addsuffix.
11180
11181 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11182 (pcomplete-suffix-list): Mark as obsolete.
11183 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11184 pcomplete-seen in the closure.
11185 (pcomplete-comint-setup): Setup completion-at-point as well.
11186 (pcomplete--entries): New function.
11187 (pcomplete--env-regexp): New var.
11188 (pcomplete-entries): Rewrite to work with partial-completion and
11189 without relying on pcomplete-suffix-list.
11190 (pcomplete-pare-list): Remove, unused.
11191
25aef8b8
MR
111922011-06-17 Martin Rudalics <rudalics@gmx.at>
11193
11194 * window.el (display-buffer-alist): Set pop-up-window-min-height
11195 and pop-up-window-min-width in default value. Reported by
11196 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11197 other-window-means-other-frame.
11198 (display-buffer-macro-specifiers): Comment out entry for
11199 other-window specifier.
11200 (display-buffer-other-window-means-other-frame): New function.
11201 (display-buffer-normalize-specifiers-1): New arguments
11202 buffer-name and label. Treat other-window case specially.
11203 (display-buffer-normalize-specifiers-2): Treat other-window case
11204 specially.
11205 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11206 (display-buffer-normalize-specifiers):
11207 Call display-buffer-normalize-specifiers-3.
25aef8b8 11208
dbad4f69
MR
112092011-06-17 Martin Rudalics <rudalics@gmx.at>
11210
11211 * window.el (same-window-p): Fix two typos introduced when
11212 adding with-no-warnings.
d1067961
MR
11213 (display-buffer-normalize-specifiers-1): Don't check
11214 pop-up-frames for 'unset initialization.
11215 (display-buffer-normalize-specifiers-2): Major rewrite using
11216 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11217 (pop-up-frames, display-buffer-reuse-frames)
11218 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11219 Suggested by David Engster <deng@randomsample.de>.
11220 (even-window-heights): Initialize to 'unset.
11221 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11222 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11223 other window case.
dbad4f69 11224
9b9c9e3a
MR
112252011-06-16 Martin Rudalics <rudalics@gmx.at>
11226
bcd70d97
SM
11227 * window.el (display-buffer-normalize-specifiers-1):
11228 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11229 second argument of display-buffer (Bug#8865).
981d5c09
MR
11230 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11231 (switch-to-buffer-other-window-same-frame)
11232 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11233 Adams (Bug#8875).
9c2755e9
MR
11234 (display-buffer): Don't check noninteractive when calling
11235 display-buffer-pop-up-frame.
11236 (display-buffer-pop-up-frame): Never pop up a frame in
11237 noninteractive mode (Bug#8857).
67222e1d
MR
11238 (enlarge-window, shrink-window): Don't report an error when the
11239 window can't be resized as requested (Bug#8862).
9b9c9e3a 11240
2b75be67
SM
112412011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11242
9ffdd3ba
SM
11243 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11244
cb581a67
SM
11245 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11246
2b75be67
SM
11247 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11248
8c0e3589
AM
112492011-06-15 Alan Mackenzie <acm@muc.de>
11250
cb581a67
SM
11251 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11252 for declarators, disable knr checking to speed up for normal files.
11253 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11254
b96e6cde
LMI
112552011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11256
4bba86e6
LMI
11257 * net/network-stream.el (open-network-stream): Add the keyword
11258 :always-query-capabilities for the case where you want to force a
11259 `plain' network connection, but the protocol still requires the
11260 capabilitiy command (i.e., SMTP and EHLO).
11261
2b75be67 11262 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11263 consistency with other `-live-p' functions.
11264
efdcdbf8
SM
112652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * window.el (same-window-buffer-names, same-window-regexps)
11268 (special-display-frame-alist, special-display-popup-frame)
11269 (special-display-function, special-display-buffer-names)
11270 (special-display-regexps, pop-up-frame-alist)
11271 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11272 (pop-up-windows, split-window-preferred-function)
11273 (split-height-threshold, split-width-threshold, even-window-heights)
11274 (display-buffer-mark-dedicated): Don't encourage the use of
11275 display-buffer-alist from Elisp code.
11276
c5cde042
DN
112772011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11278
11279 * progmodes/python.el (python-mode): Derive from prog-mode.
11280 * progmodes/ps-mode.el (ps-mode):
11281 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11282 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11283 * progmodes/ld-script.el (ld-script-mode): Likewise.
11284
baa1c9ab
MR
112852011-06-15 Martin Rudalics <rudalics@gmx.at>
11286
11287 * window.el (display-buffer-alist): Trim default value to avoid
11288 popping up a new frame (Bug#8857) or reusing an arbitrary window
11289 on another frame.
11290 (display-buffer): Do not fall back on popping up a new frame in
11291 batch mode (Bug#8857).
11292
c5dd5a51
CY
112932011-06-14 Chong Yidong <cyd@stupidchicken.com>
11294
11295 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11296 (custom-theme-summary): New function.
11297 (customize-themes): Use it.
11298
d647b7c4
GM
112992011-06-13 Glenn Morris <rgm@gnu.org>
11300
11301 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11302
9481c002
MR
113032011-06-13 Martin Rudalics <rudalics@gmx.at>
11304
357f93d2
MR
11305 * help.el (help-window): Remove variable.
11306 (help-window-point-marker, temp-buffer-max-height)
11307 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11308 (help-print-return-message): Don't set help-window.
11309 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11310 (help-window-setup-finish): Remove.
11311 (help-window-display-message, help-window-setup)
11312 (with-help-window): Major rewrite based on new
11313 display-buffer-window variable.
11314
11315 * help-mode.el (help-mode-finish): Remove help-window related
11316 code.
11317
11318 * view.el (view-exits-all-viewing-windows): Remove reference to
11319 view-return-to-alist in doc-string.
11320 (view-return-to-alist): Make obsolete.
11321 (view-buffer): Call pop-to-buffer-same-window and remove
11322 undo-window code.
11323 (view-buffer-other-window): Call pop-to-buffer-other-window and
11324 simplify code. Ignore second argument.
11325 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11326 simplify code. Ignore second argument.
11327 (view-return-to-alist-update): Make obsolete.
11328 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11329 Rewrite using quit-restore window parameters.
2b75be67
SM
11330 (view-mode-exit): Rename second argument to EXIT-ONLY.
11331 Rewrite using quit-restore-window.
357f93d2
MR
11332 (View-exit, View-exit-and-edit, View-leave, View-quit)
11333 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11334 appropriate arguments.
11335 (view-end-message): Use quit-restore window parameter.
11336
9481c002
MR
11337 * window.el (display-buffer-function): Rewrite doc-string.
11338 (display-buffer-window, display-buffer-alist): New variables.
11339 (display-buffer-split-specifiers)
11340 (display-buffer-side-specifiers)
11341 (display-buffer-macro-specifiers): New constants.
11342 (display-buffer-even-window-sizes, display-buffer-set-height)
11343 (display-buffer-set-width, display-buffer-select-window)
11344 (display-buffer-in-window, display-buffer-reuse-window)
11345 (display-buffer-split-window-1, display-buffer-split-window)
11346 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11347 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11348 (display-buffer-in-side-window, normalize-buffer-to-display)
11349 (display-buffer-normalize-specifiers-1)
11350 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11351 (display-buffer-normalize-specifiers, display-buffer-frame):
11352 New functions.
9481c002
MR
11353 (display-buffer): Major rewrite.
11354 (display-buffer-other-window, display-buffer-other-frame)
11355 (pop-to-buffer, switch-to-buffer-other-window)
11356 (switch-to-buffer-other-frame): Rewrite.
11357 (display-buffer-same-window, display-buffer-same-frame)
11358 (display-buffer-same-frame-other-window)
11359 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11360 (pop-to-buffer-other-window)
11361 (pop-to-buffer-same-frame-other-window)
11362 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11363 (switch-to-buffer-other-window-same-frame): New functions.
11364 (same-window-p, special-display-p): Rewrite disabling warnings.
11365 Make obsolete.
11366 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11367 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11368 Make obsolete
11369 (same-window-buffer-names, same-window-regexps)
11370 (special-display-frame-alist, special-display-popup-frame)
11371 (special-display-function, special-display-buffer-names)
11372 (special-display-regexps, pop-up-frame-alist)
11373 (pop-up-frame-function, split-window-preferred-function)
11374 (split-height-threshold, split-width-threshold)
11375 (even-window-heights): Make obsolete.
11376
9db51aca
GM
113772011-06-12 Glenn Morris <rgm@gnu.org>
11378
11379 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11380 Misc simplifications.
9db51aca 11381
39cffb44
MR
113822011-06-12 Martin Rudalics <rudalics@gmx.at>
11383
11384 * window.el (window-safely-shrinkable-p): Restore function which
11385 was inadvertently removed in change from 2011-06-11. Declare as
11386 obsolete.
11387
2b75be67
SM
11388 * calendar/calendar.el (calendar-generate-window):
11389 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11390 window-safely-shrinkable-p.
11391
a8955be7
GM
113922011-06-12 Glenn Morris <rgm@gnu.org>
11393
11394 * progmodes/fortran.el (fortran-mode-syntax-table):
11395 * progmodes/f90.el (f90-mode-syntax-table):
11396 Set % to punctuation. (Bug#8820)
11397 (f90-find-tag-default): Remove, no longer needed.
11398
f0d4059d
DC
113992011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11400
11401 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11402
1100a63c
CY
114032011-06-11 Chong Yidong <cyd@stupidchicken.com>
11404
11405 * image.el (image-animated-p): Return animation delay in seconds.
11406 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11407 (image-animate-timeout): Remove DELAY argument. Don't assume
11408 every subimage has the same delay; get it from image-animated-p.
11409 (image-animate): Caller changed.
11410
def722bf
MA
114112011-06-11 Michael Albinus <michael.albinus@gmx.de>
11412
11413 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11414 to ignored backtrace functions.
11415
0a2bb1a9
GM
114162011-06-11 Glenn Morris <rgm@gnu.org>
11417
11418 * calendar/appt.el (appt-disp-window-function): Doc fix.
11419 (appt-check): Handle overlapping appointments. (Bug#8337)
11420
6198ccd0
MR
114212011-06-11 Martin Rudalics <rudalics@gmx.at>
11422
11423 * window.el (window-tree-1, window-tree): New functions, moving
11424 the latter to window.el.
11425 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11426 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11427 (bw-refresh-edges): Remove.
11428 (balance-windows-1, balance-windows-2): New functions.
11429 (balance-windows): Rewrite in terms of window tree functions,
11430 balance-windows-1 and balance-windows-2.
11431 (bw-adjust-window): Remove.
11432 (balance-windows-area-adjust): New function with functionality of
11433 bw-adjust-window but using resize-window.
2b75be67
SM
11434 (set-window-text-height): Rewrite doc-string.
11435 Use normalize-live-window and resize-window.
11436 (enlarge-window-horizontally, shrink-window-horizontally):
11437 Rename argument to DELTA.
6198ccd0
MR
11438 (window-buffer-height): New function.
11439 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11440 Rewrite using new window resize routines.
2b75be67
SM
11441 (kill-buffer-and-window, mouse-autoselect-window-select):
11442 Use ignore-errors instead of condition-case.
6198ccd0
MR
11443 (quit-window): Call delete-frame instead of delete-windows-on
11444 for the only buffer on frame.
11445
9397e56f
MR
114462011-06-10 Martin Rudalics <rudalics@gmx.at>
11447
11448 * loadup.el (top-level): Load window before files for the sake
11449 of replace-buffer-in-windows.
11450
11451 * files.el (read-buffer-to-switch)
11452 (switch-to-buffer-other-window)
2b75be67
SM
11453 (switch-to-buffer-other-frame, display-buffer-other-frame):
11454 Move to window.el.
9397e56f
MR
11455
11456 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11457 (previous-buffer): Move to window.el.
11458
11459 * bindings.el (unbury-buffer): Move to window.el.
11460
11461 * window.el (delete-other-windows-vertically): Move after
11462 definition of delete-other-windows.
11463 (other-window, delete-windows-on, replace-buffer-in-windows):
11464 Move here from window.c.
11465 (record-window-buffer, unrecord-window-buffer)
11466 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11467 (switch-to-next-buffer): New functions.
11468 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11469 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11470 (previous-buffer): Move here from simple.el.
11471 Call switch-to-prev-buffer.
9397e56f
MR
11472 (bury-buffer): Move here from buffer.c. Switch to previous
11473 buffer when window cannot be deleted.
11474 (unbury-buffer): Move here from bindings.el.
11475 (ctl-x-map): Move binding for other-window from window.c to
11476 here.
11477 (read-buffer-to-switch, switch-to-buffer-other-window)
11478 (switch-to-buffer-other-frame): Move here from files.el.
11479 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11480 (switch-to-buffer): Move here from buffer.c.
11481 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11482
562dd5e9
MR
114832011-06-10 Martin Rudalics <rudalics@gmx.at>
11484
11485 * window.el (window-min-height, window-min-width): Move here
11486 from window.c. Add defcustoms and rewrite doc-strings.
11487 (resize-mini-window, resize-window): New functions.
11488 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11489 Move here from window.c.
11490 (maximize-window, minimize-window): New functions.
11491 (delete-window, delete-other-windows, split-window): Move here
11492 from window.c.
11493 (window-split-min-size): New function.
11494 (split-window-keep-point): Mention split-window-above-each-other
11495 instead of split-window-vertically.
2b75be67 11496 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11497 Rename split-window-vertically to split-window-above-each-other
11498 and provide defalias for old definition.
11499 (split-window-side-by-side, split-window-horizontally):
11500 Rename split-window-horizontally to split-window-side-by-side
11501 and provide defalias for the old definition.
562dd5e9
MR
11502 (ctl-x-map): Move bindings for delete-window,
11503 delete-other-windows and enlarge-window here from window.c.
11504 Replace bindings for split-window-vertically and
11505 split-window-horizontally by bindings for
11506 split-window-above-each-other and split-window-side-by-side.
11507
11508 * cus-start.el (all): Remove entries for window-min-height and
11509 window-min-width. Add entries for window-splits and
11510 window-nest.
11511
f0da764a
GM
115122011-06-09 Glenn Morris <rgm@gnu.org>
11513
80675c21
GM
11514 * calendar/appt.el (appt-mode-line): New function.
11515 (appt-check, appt-disp-window): Use it.
11516
f0da764a
GM
11517 * files.el (hack-one-local-variable-eval-safep):
11518 Allow minor-modes with explicit +/-1 arguments.
11519
59f623b7
TZ
115202011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11521
11522 * term/xterm.el (xterm): Add defgroup.
11523 (xterm-extra-capabilities): Add defcustom to supply known xterm
11524 capabilities, skip querying them, or query them (default).
11525 (terminal-init-xterm): Use it.
11526 (terminal-init-xterm-modify-other-keys): New function to set up
11527 modifyOtherKeys support to simplify `terminal-init-xterm'.
11528
9aab8e0d
MR
115292011-06-09 Martin Rudalics <rudalics@gmx.at>
11530
11531 * window.el (resize-window-reset, resize-window-reset-1)
11532 (resize-subwindows-skip-p, resize-subwindows-normal)
11533 (resize-subwindows, resize-other-windows, resize-this-window)
11534 (resize-root-window, resize-root-window-vertically)
11535 (window-deletable-p, window-or-subwindow-p)
11536 (frame-root-window-p): New functions.
11537
e8b08aee
GM
115382011-06-09 Glenn Morris <rgm@gnu.org>
11539
11540 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11541 (ange-ftp-get-files): Use it.
11542
254c37a5
AK
115432011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11544
11545 * mail/sendmail.el (mail-recover-1, mail-recover):
11546 * files.el (recover-file, recover-session):
11547 Handle dired-listing-switches not being just a single short option.
11548
35d7dbd3
GM
115492011-06-09 Glenn Morris <rgm@gnu.org>
11550
11551 * calendar/appt.el (appt-display-message, appt-disp-window):
11552 Handle lists of appointments.
11553
387522b2
MR
115542011-06-08 Martin Rudalics <rudalics@gmx.at>
11555
2b75be67
SM
11556 * window.el (one-window-p): Move down in code.
11557 Rewrite doc-string.
11558 (window-current-scroll-bars): Rewrite doc-string.
11559 Normalize live window argument.
387522b2
MR
11560 (walk-windows, get-window-with-predicate, count-windows):
11561 Rewrite doc-string. Use window-list-1.
11562 (window-in-direction-2, window-in-direction, get-mru-window):
11563 New functions.
11564
d8e4b68b 115652011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11566
11567 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11568 Doc fix (Bug#8713).
11569
115702011-06-08 Chong Yidong <cyd@stupidchicken.com>
11571
11572 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11573
115742011-06-08 Juanma Barranquero <lekktu@gmail.com>
11575
11576 * loadhist.el (unload-feature-special-hooks):
11577 Add `comint-output-filter-functions'.
11578
0de12c52
IK
115792011-06-08 Ivan Kanis <gnu@kanis.fr>
11580
11581 * calendar/appt.el (appt-check): Move some initializations into the let.
11582
f3d1777e
MR
115832011-06-08 Martin Rudalics <rudalics@gmx.at>
11584
11585 * window.el (window-height): Defalias to window-total-height.
11586 (window-width): Defalias to window-body-width.
11587
18af70d0
CY
115882011-06-07 Chong Yidong <cyd@stupidchicken.com>
11589
11590 * image-mode.el (image-toggle-animation): New command.
11591 (image-mode-map): Bind it to RET.
11592 (image-mode): Update message.
11593 (image-toggle-display-image): Avoid a spurious cache flush.
11594 (image-transform-rotation): Doc fix.
11595 (image-transform-properties): Return quickly in the normal case.
11596 (image-animate-loop): Rename from image-animate-max-time.
11597
2b75be67 11598 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11599 (create-animated-image): Remove unnecessary function.
11600 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11601 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11602 (image-animate-timer): Use car-safe.
11603 (image-animate-timeout): Rename argument.
11604
190b47e6
MR
116052011-06-07 Martin Rudalics <rudalics@gmx.at>
11606
11607 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11608 window.c. Rename first argument to ALL-FRAMES.
11609 Rephrase doc-strings.
11610 (get-buffer-window-list): Rewrite using window-list-1.
11611 Rephrase doc-string.
a1511caf
MR
11612 (window-safe-min-height, window-safe-min-width): New constants.
11613 (window-size-ignore, window-min-size, window-min-size-1)
11614 (window-sizable, window-sizable-p, window-size-fixed-1)
11615 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11616 (window-max-delta-1, window-max-delta, window-resizable)
11617 (window-resizable-p, window-total-height, window-total-width)
11618 (window-body-width): New functions.
11619 (window-full-height-p, window-full-width-p): Rewrite using
11620 window-total-size.
11621 (window-body-height): Rewrite using window-body-size.
190b47e6 11622
85cc1f11
MR
116232011-06-06 Martin Rudalics <rudalics@gmx.at>
11624
11625 * window.el (window-right, window-left, window-child)
11626 (window-child-count, window-last-child, window-any-p)
11627 (normalize-live-buffer, normalize-live-frame)
11628 (normalize-any-window, normalize-live-window)
11629 (window-iso-combination-p, window-iso-combined-p)
11630 (window-iso-combinations)
11631 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11632 (windows-with-parameter, window-with-parameter)
11633 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11634 (window-atom-check, window-side-check, window-check):
11635 New functions.
85cc1f11
MR
11636 (ignore-window-parameters, window-sides, window-sides-vertical)
11637 (window-sides-slots): New variables.
11638 (window-size-fixed): Move down in code. Minor doc-string fix.
11639
e7156492
AS
116402011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11641
11642 * comint.el (comint-dynamic-complete-as-filename)
11643 (comint-dynamic-complete-filename): Correctly call
11644 completion-in-region.
11645
7e821d0d
DD
116462011-06-05 Deniz Dogan <deniz@dogan.se>
11647
11648 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11649 in last change.
11650
ac09b8a1
DD
116512011-06-05 Deniz Dogan <deniz@dogan.se>
11652
11653 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11654 (rcirc): Use it to prompt for encryption.
11655
34699b85
RW
116562011-06-05 Roland Winkler <winkler@gnu.org>
11657
11658 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11659 (bibtex-search-entries): New command bound to C-c C-a.
11660 (bibtex-display-entries): New function.
11661
004dedd3
RW
116622011-06-05 Roland Winkler <winkler@gnu.org>
11663
11664 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11665 (bibtex-insert-kill): After yanking insert newline if necessary.
11666 (bibtex-initialize): Call bibtex-string-files-init only once.
11667 (bibtex-mode): Do not call easy-menu-add.
11668 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11669 (bibtex-yank): Set arg properly if nil.
11670
022fe7ce
RW
116712011-06-05 Roland Winkler <winkler@gnu.org>
11672
2b75be67
SM
11673 * textmodes/bibtex.el (bibtex-search-entry-globally):
11674 New variable.
022fe7ce
RW
11675 (bibtex-search-entry): Use it.
11676
b7c3692a
RW
116772011-06-05 Roland Winkler <winkler@gnu.org>
11678
11679 * textmodes/bibtex.el (bibtex-entry-format): New option
11680 sort-fields.
11681 (bibtex-format-entry, bibtex-reformat): Honor this option.
11682 (bibtex-parse-entry): Return fields in proper order.
11683
8eda563d
JB
116842011-06-05 Juanma Barranquero <lekktu@gmail.com>
11685
11686 * doc-view.el (doc-view-remove-if): Move computation of result out
11687 of `dolist' to silence misleading lexical-binding warning.
11688
7dbe3dbc
CY
116892011-06-04 Chong Yidong <cyd@stupidchicken.com>
11690
11691 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11692 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11693
0c33dd17
MA
116942011-06-04 Michael Albinus <michael.albinus@gmx.de>
11695
11696 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11697 "SunOS 5.10".
11698
f8f91c2b
MA
116992011-06-04 Michael Albinus <michael.albinus@gmx.de>
11700
11701 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11702 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11703 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11704 (tramp-parse-putty):
11705 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11706 (tramp-completion-function-alist-ssh)
11707 (tramp-completion-function-alist-telnet)
11708 (tramp-completion-function-alist-su)
11709 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11710 cookie.
11711
11712 * net/tramp-ftp.el:
11713 * net/tramp-sh.el:
11714 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11715 load "tramp.el" `tramp-set-completion-function'.
11716
e17d9003
SM
117172011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * shell.el: Require and use pcomplete.
11720 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11721 (shell-completion-vars): Set pcomplete-default-completion-function.
11722
6c4cab03
DD
117232011-06-04 Deniz Dogan <deniz@dogan.se>
11724
11725 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11726 `memq' (Bug#8799).
11727
ea9fafe0
SM
117282011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11729
11730 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11731
b3e945d3
JB
117322011-06-02 Juanma Barranquero <lekktu@gmail.com>
11733
11734 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11735 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11736 * vc/log-view.el (log-view-beginning-of-defun):
11737 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11738 (smerge-refine-forward, smerge-refine-chopup-region):
11739 Silence warning for unused `dotimes' counter variables.
11740
7d520089
SM
117412011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11742
11743 * net/tramp.el (tramp-with-progress-reporter): Rename from
11744 with-progress-reporter. Use `declare'.
11745 * net/tramp-smb.el:
11746 * net/tramp-sh.el:
11747 * net/tramp-gvfs.el: Update all uses.
11748
a1c2400f
JB
117492011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11750
11751 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11752 buffer isn't killed before making it current.
11753
2403c841
SM
117542011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 Silence various byte-compiler warnings.
11757 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11758 `access-type' and new obsolescence format.
11759 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11760 new format.
11761 (byte-compile-check-variable): New `access-type' argument.
11762 Only warn if the access-type is obsolete.
11763 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11764 (byte-compile-variable-set): Adjust callers.
11765 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11766 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11767 setting it as obsolete.
11768 * simple.el (minibuffer-completing-symbol):
11769 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11770 access as obsolete.
11771 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11772 obsolete yet.
11773 * international/quail.el (quail-mouse-choose-completion): Remove unused
11774 code referring to obsolete var.
11775 (quail-choose-completion-string): Remove.
11776 * server.el (server-clients-with, server-kill-buffer-query-function)
11777 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11778 * proced.el (proced-send-signal):
11779 * emacs-lisp/lisp.el (lisp-complete-symbol):
11780 Replace completion-annotate-function with completion-extra-properties.
11781
2462470b
SM
117822011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11783
fb5b2591
SM
11784 * simple.el (goto-line): Use read-number.
11785 (overriding-map-is-bound): Remove.
11786 (saved-overriding-map): Change default.
11787 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11788 Take the map as argument.
11789 (universal-argument, negative-argument, digit-argument): Use it.
11790 (restore-overriding-map): Adjust.
11791 (do-auto-fill): Use fill-forward-paragraph.
11792 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11793
fd6fa53f
SM
11794 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11795 (minibuffer-inactive-mode): New major mode.
11796 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11797 the *Messages* buffer" hack.
11798 (mouse-popup-menubar): Don't burp if the event is a normal key.
11799
2462470b
SM
11800 Miscellaneous tweaks.
11801 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11802 lexical scoping as in subr.el's dolist and dotimes.
11803 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11804 Silence compiler warning.
11805 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11806 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11807 * international/ccl.el (ccl-compile): Trivial simplification.
11808 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11809 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11810 `printflag' argument.
11811 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11812 Purecopy the whole obsolescence data.
11813
108bf785
LL
118142011-06-01 Leo Liu <sdl.web@gmail.com>
11815
11816 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11817 improve doc-string as suggested by Marco Pessotto
11818 <melmothx@gmail.com>.
11819 (rcirc-print): Fix last change.
11820
30a23501
SM
118212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11822
11823 * minibuffer.el (complete-with-action): Return nil for the metadata and
11824 boundaries of non-functional tables.
11825 (completion-table-dynamic): Return nil for the metadata.
11826 (completion-table-with-terminator): Add default case, using
11827 complete-with-action.
11828 (completion--metadata): New function.
11829 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11830 to try and avoid pathological performance problems.
11831 (completion--embedded-envvar-table): Return `category' metadata.
11832
bcd54f83
LMI
118332011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11834
11835 * subr.el (process-alive-p): New tiny convenience function.
11836
e227544d
SM
118372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11840 content but also its previous major mode.
11841
e8296fdc
HE
118422011-05-31 Helmut Eller <eller.helmut@gmail.com>
11843
4d61f28d 11844 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11845 *Backtrace* buffer when we exit with C-M-c.
11846
620c53a6
SM
118472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * minibuffer.el: Add metadata method to completion tables.
11850 (completion-category-overrides): New defcustom.
11851 (completion-metadata, completion--field-metadata)
11852 (completion-metadata-get, completion--styles)
11853 (completion--cycle-threshold): New functions.
11854 (completion-try-completion, completion-all-completions):
11855 Add `metadata' argument to choose completion-styles.
11856 (completion--do-completion): Use metadata to choose cycling.
11857 (completion-all-sorted-completions): Use metadata for sorting.
11858 Remove :completion-cycle-penalty which is not needed any more.
11859 (completion--try-word-completion): Add `metadata' argument.
11860 (minibuffer-completion-help): Check metadata for annotation function
11861 and sorting.
11862 (completion-file-name-table): Return `category' metadata.
11863 (minibuffer-completing-file-name): Make obsolete.
11864 * simple.el (minibuffer-completing-symbol): Make obsolete.
11865 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11866 completion-try-completion.
11867
1257e755
SM
118682011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11869
11870 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11871
3767e706
LL
118722011-05-30 Leo Liu <sdl.web@gmail.com>
11873
11874 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11875 (rcirc-print): Decode all incoming messages (bug#8744).
11876 (rcirc-decode-coding-system): Allow value nil for automatic coding
11877 system detection.
3767e706 11878
d1a5d56a
GM
118792011-06-01 Glenn Morris <rgm@gnu.org>
11880
11881 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11882
e8cbec34
CY
118832011-05-29 Chong Yidong <cyd@stupidchicken.com>
11884
11885 * image.el (image-animate-max-time): Allow nil and t values.
11886 Default to nil.
11887 (create-animated-image): Doc fix.
11888 (image-animate-start): Remove second arg; just use
11889 image-animate-max-time.
11890 (image-animate-timeout): Doc fix. Args changed.
11891
11892 * image-mode.el (image-toggle-display-image): Ensure that the
11893 image spec passed to the animate timer is the same object as in
58179cce 11894 the buffer's display property (Bug#6981).
e8cbec34
CY
11895 (image-transform-properties): Doc fix.
11896
11897 * image.el (image-animate-max-time): Default to nil.
11898
159daf87
MR
118992011-05-29 Martin Rudalics <rudalics@gmx.at>
11900
11901 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11902 entire buffer list (Bug#8184).
11903
d66c4c7c
CY
119042011-05-29 Chong Yidong <cyd@stupidchicken.com>
11905
11906 * image.el (imagemagick-types-inhibit)
11907 (imagemagick-register-types): Doc fix.
11908
80aec780
DD
119092011-05-29 Deniz Dogan <deniz@dogan.se>
11910
11911 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11912 default.
11913
1dd3c2d9
CY
119142011-05-29 Chong Yidong <cyd@stupidchicken.com>
11915
11916 * select.el: Don't perform clipboard-manager saving in hooks;
11917 leave the hooks empty.
11918
60e56523
LL
119192011-05-28 Leo Liu <sdl.web@gmail.com>
11920
11921 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11922 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11923 (occur-edit-mode): New major mode (Bug#8463).
11924 (occur-after-change-function): New function.
11925 (occur-engine): Give Occur tags a read-only property.
11926
2b1e1a22
KR
119272011-05-28 Kevin Ryde <user42@zip.com.au>
11928
11929 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11930
5d344e88
CY
119312011-05-28 Chong Yidong <cyd@stupidchicken.com>
11932
8e6ca83d
CY
11933 * bindings.el (help-echo): Make the initial non-indicator dash
11934 empty on graphical terminals (Bug#7295).
11935
5d344e88
CY
11936 * files.el (auto-mode-alist): Move config rule after the
11937 in-stripping one (Bug#8547).
11938
bfbbace7
CY
11939 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11940
fbeba6e2
CY
11941 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11942 setting (Bug#8740).
11943
60ed8c72
AA
119442011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11945
4ac619f0
AA
11946 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11947 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11948 (Bug#8539).
60ed8c72 11949
23db196e
CY
119502011-05-28 Chong Yidong <cyd@stupidchicken.com>
11951
11952 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11953
5012f24c
DK
119542011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11955
11956 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11957 (hs-hide-block-at-point, hs-find-block-beginning)
11958 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11959 (Bug#8279).
11960
6a639b16
GM
119612011-05-28 Glenn Morris <rgm@gnu.org>
11962
11963 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11964
d43eaf2c
CY
119652011-05-28 Chong Yidong <cyd@stupidchicken.com>
11966
5199bde1
CY
11967 * help-fns.el (describe-function-1): If the function is a derived
11968 major mode, print the parent mode.
11969
d43eaf2c
CY
11970 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11971 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11972
423428a8
SM
119732011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11974
0ff8e1ba 11975 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11976 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11977 * progmodes/etags.el (tags-completion-at-point-function):
11978 * info-look.el (info-lookup-completions-at-point): Mark as
11979 non-exclusive.
11980 (info-complete): Adjust accordingly.
11981
423428a8
SM
11982 * info-look.el: Convert to lexical-binding and completion-at-point.
11983 (info-lookup-completions-at-point): New function.
11984 (info-complete): Use it and completion-in-region.
11985
b74aa22b
DA
119862011-05-28 Drew Adams <drew.adams@oracle.com>
11987
11988 * isearch.el: Let M-e start with point at the first mismatched char.
11989 (isearch-fail-pos): New function.
11990 (isearch-edit-string): Use it.
11991
66e2e71d
DK
119922011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11993
11994 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11995
b1890b0f 119962011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11997
11998 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11999 traversal functions for avl-trees.
12000 (avl-tree--stack): New struct.
12001 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12002 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12003 (avl-tree--do-enter): Add optional `updatefun' arg.
12004 Change return value.
eb95d01d 12005 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12006 (avl-tree--do-delete): Add `test' and `nilflag' args.
12007 Change return value.
eb95d01d
TC
12008 (avl-tree-member): Add optional `nilflag'
12009 (avl-tree-member-p): New function.
12010 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12011 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12012 (avl-tree-stack-empty-p): New functions.
12013
3769ddcf
TC
12014 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12015 avl-tree--del-balance1 and make it work both ways.
12016 (avl-tree--del-balance2): Remove.
12017 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12018 make it work both ways.
12019 (avl-tree--enter-balance2): Remove.
12020 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12021 New macros.
12022 (avl-tree--mapc, avl-tree-map): Add direction argument.
12023
eb95d01d 120242011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12025
12026 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12027
a9f737ee
CY
120282011-05-27 Chong Yidong <cyd@stupidchicken.com>
12029
12030 * select.el: Support clipboard managers with built-in function
12031 x-clipboard-manager-save, via delete-frame-functions and
12032 kill-emacs-hook.
12033 (xselect-convert-to-targets): Add MULTIPLE target to list.
12034 (xselect-convert-to-save-targets): New function.
12035
c92a1e54
KH
120362011-05-27 Kenichi Handa <handa@m17n.org>
12037
12038 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12039 let-binding rfc2047-encode-encoded-words to nil.
12040
e145f188
GM
120412011-05-27 Glenn Morris <rgm@gnu.org>
12042
5ec8a862
GM
12043 * mail/emacsbug.el: Don't require url-util.
12044
4b29d9fb
GM
12045 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12046
e145f188
GM
12047 * files.el (set-auto-mode):
12048 Also respect mode: entries at the end of the file. (Bug#8586)
12049
7d15102b
GM
120502011-05-26 Glenn Morris <rgm@gnu.org>
12051
98f593b8
GM
12052 * files.el (hack-local-variables-prop-line, hack-local-variables):
12053 Downcase mode names, as seems to be traditional.
27b48e63 12054 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12055
7d15102b
GM
12056 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12057 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12058
51d5b4ec
JD
120592011-05-25 Julien Danjou <julien@danjou.info>
12060
12061 * textmodes/rst.el (rst-define-level-faces): Do not define face
12062 symbol if it is already defined.
12063
91513f63
VB
120642011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12065
12066 * play/5x5.el (5x5-new-game, 5x5-randomize):
12067 Reset 5x5-solver-output to nil when a new grid is cast.
12068 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12069 these debugging traces, as defmacro breaks the compiled code.
12070
4d90d6d0
DK
120712011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12072
12073 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12074
e1b90ef6
LL
120752011-05-24 Leo Liu <sdl.web@gmail.com>
12076
12077 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12078 (vc-bzr-sha1): Adapt.
12079
d8e4b68b 12080 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12081
12082 * bindings.el: Provide sha1 feature.
12083
db0406bb 120842011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12085
12086 * mail/sendmail.el: Require `rfc2047'.
12087 (mail-insert-from-field): Do not perform RFC2047 encoding.
12088 (mail-encode-header): New function.
12089 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12090 buffer to the return value of select-message-coding-system.
12091 Call mail-encode-header.
b8d747b9
KH
12092
12093 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12094
db0406bb 120952011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12096
4d90d6d0
DK
12097 * mail/supercite.el (sc-default-cite-frame):
12098 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12099
eb8a5e9b
GM
121002011-05-24 Glenn Morris <rgm@gnu.org>
12101
f8630703
GM
12102 * progmodes/python.el (brm-menu): Declare.
12103
8831bbed
GM
12104 * emulation/viper.el (viper-set-hooks): Declare.
12105
eb8a5e9b
GM
12106 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12107 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12108 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12109 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12110 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12111 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12112
a2a25d24
SM
121132011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12114
12115 Add an :exit-function for completion-at-point.
12116
12117 * minibuffer.el (completion--done): New fun.
12118 (completion--do-completion): Use it. New arg `expect-exact'.
12119 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12120 since completion--do-completion does it for us now.
12121 (minibuffer-force-complete): Use completion--done and
12122 completion--replace. Handle sole-completion case with more care.
12123 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12124 (completion-extra-properties): New var.
12125 (completion-annotate-function): Make obsolete.
12126 (minibuffer-completion-help): Adjust accordingly.
12127 Use completion-list-insert-choice-function.
12128 (completion-at-point, completion-help-at-point):
12129 Bind completion-extra-properties.
12130 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12131 * simple.el (completion-list-insert-choice-function): New var.
12132 (completion-setup-function): Preserve it.
12133 (choose-completion): Pay attention to it, shuffle the code a bit.
12134 (choose-completion-string): New arg `insert-function'.
12135
12136 * textmodes/bibtex.el: Convert to lexical binding.
12137 (bibtex-mode-map): Use completion-at-point.
12138 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12139 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12140 (bibtex-complete): Define as obsolete alias.
12141 (bibtex-complete-internal): Remove.
12142 (bibtex-format-entry): Remove unused sub-group in regexp.
12143 * shell.el (shell--command-completion-data)
12144 (shell-environment-variable-completion):
12145 * pcomplete.el (pcomplete-completions-at-point):
12146 * comint.el (comint--complete-file-name-data): Use :exit-function
12147 instead of completion-table-with-terminator so it also works for
12148 choose-completion.
12149
e44e373d
SM
121502011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12151
4f91a816
SM
12152 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12153
782fc819
SM
12154 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12155 (bug#8710).
12156
e44e373d
SM
12157 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12158
381987c3
KM
121592011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12160
12161 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12162 customization variable and implement: If non-nil, auto-fill will
12163 be inhibited while on topic's header line.
12164
b776bc70
VB
121652011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12166
12167 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12168 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12169 always have a solution in grid size = 5 cases.
12170 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12171 (5x5-solver-output, 5x5-log-buffer): New vars.
12172 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12173 Make these variables buffer local to achieve 5x5 multi-session-ness.
12174 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12175 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12176 (5x5-solve-suggest): New funs.
12177 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12178 randomize a grid so that we ensure that there is always a solution.
12179 (5x5-make-random-grid): Allow other movement than flipping.
12180
7de88b6e
KR
121812011-05-23 Kevin Ryde <user42@zip.com.au>
12182
12183 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12184 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12185 advice and passes PREDICATE.
12186
b1ef1257
SM
121872011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12188
bbca48fe
SM
12189 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12190 byte-compile-lambda if it's actually a lambda.
12191
b1ef1257
SM
12192 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12193 Fix function quoting. Use backquote better.
12194
92a9cc65
YS
121952011-05-22 Yuanle Song <sylecn@gmail.com>
12196
12197 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12198 matching (Bug#8516).
12199
f0fb8059
JA
122002011-01-22 Jari Aalto <jari.aalto@cante.net>
12201
12202 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12203 different face (Bug#8178).
12204
d5b44c93
CY
122052011-05-22 Chong Yidong <cyd@stupidchicken.com>
12206
12207 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12208 defface (Bug#8144).
12209
79106a44
SM
122102011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12211
9c848d8a
SM
12212 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12213 funcall as well (bug#8712). Warn when performing those conversions.
12214 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12215
79106a44
SM
12216 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12217
88dfa756
GM
122182011-05-22 Glenn Morris <rgm@gnu.org>
12219
12220 * files.el (hack-local-variables-prop-line): Small simplifications.
12221 (hack-local-variables, hack-local-variables-prop-line):
12222 If MODE-ONLY, return the mode, rather than just `t'.
12223
b7cf2c79
SM
122242011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12227
3f1a8558
GM
122282011-05-21 Glenn Morris <rgm@gnu.org>
12229
7e4ccca3
GM
12230 * files.el (hack-local-variables-prop-line, hack-local-variables):
12231 If only interested in the mode, don't bother doing the other stuff.
12232
637d46ca
GM
12233 * image-mode.el (image-after-revert-hook):
12234 Redraw all frames on which the image is visible. (Bug#8567)
12235
973d955b
GM
12236 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12237
3f1a8558
GM
12238 * wid-edit.el (widget-checklist-match-inline):
12239 Fix 2011-04-19 change. (Bug#8649)
12240
96479927
SM
122412011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12242
1dcf791f
SM
12243 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12244 Also allow singlespace after single-letter capitals followed by a dot.
12245
96479927
SM
12246 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12247 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12248
35fd0881
N
122492011-05-20 Nix <nix@esperi.org.uk>
12250
12251 * files.el (basic-save-buffer-2):
12252 Fix handling of break-hardlink-on-save with non-existent files.
12253
82745640
DD
122542011-05-19 Deniz Dogan <deniz@dogan.se>
12255
12256 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12257 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12258
4a720484
GM
122592011-05-19 Glenn Morris <rgm@gnu.org>
12260
d1f21341
GM
12261 * progmodes/f90.el (f90-type-def-re):
12262 Handle "type, bind(c)". (Bug#8691)
12263
4a720484
GM
12264 * emacs-lisp/autoload.el (batch-update-autoloads):
12265 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12266
2fb0a219
MA
122672011-05-18 Michael Albinus <michael.albinus@gmx.de>
12268
12269 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12270 property for the correct connection in case of multihops.
12271
e565dd37
GM
122722011-05-18 Glenn Morris <rgm@gnu.org>
12273
c2571358 12274 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12275 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12276
e565dd37
GM
12277 Rationalize calendar handling of day and month abbrev-arrays.
12278 * calendar/calendar.el (calendar-customized-p): New function.
12279 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12280 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12281 Add :set function.
12282 (calendar-abbrev-length, calendar-day-abbrev-array)
12283 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12284 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12285 Elements may no longer be nil.
12286 (calendar-day-name, calendar-month-name):
12287 Update for changed nature of abbrev arrays.
12288 * calendar/diary-lib.el (diary-name-pattern):
12289 Update for changed nature of abbrev arrays.
12290 (diary-mark-entries-1): Update calendar-make-alist calls.
12291 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12292 * calendar/cal-html.el (cal-html-day-abbrev-array):
12293 Simply inherit from calendar-day-abbrev-array.
12294
1d99a745
SM
122952011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * progmodes/grep.el (grep-mode): Disable default
12298 compilation-directory-matcher setting (bug#8684).
12299
7c1d9aa0
MA
123002011-05-17 Michael Albinus <michael.albinus@gmx.de>
12301
12302 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12303 instead of "head" and "tail". There were problems with SunOS 5.9,
12304 and it performs better.
12305
3952e9d8
GM
123062011-05-17 Glenn Morris <rgm@gnu.org>
12307
2dd12e7f
GM
12308 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12309
e4157b9c
GM
12310 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12311 Replace obsolete function.
12312
8e249bbd
GM
12313 * shell.el (pcomplete-parse-arguments-function): Declare.
12314
3952e9d8
GM
12315 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12316 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12317 (appt-check): Doc fixes.
12318 (appt-disp-window-function, appt-delete-window-function):
12319 Remove needless special case in custom :type.
12320 (appt-display-count): Default to 0, not nil.
12321 (appt-check): Reset appt-display-count to 0, not nil.
12322
c71a0d48 123232011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12324
c71a0d48
GM
12325 * progmodes/python.el (python-font-lock-keywords):
12326 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12327
31d55be9
SM
123282011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12329
12330 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12331
3bfacb2f
KR
123322011-05-16 Kevin Ryde <user42@zip.com.au>
12333
12334 * info-look.el (makefile-automake-mode): New setups, looking in
12335 automake manual, then makefile-mode.
12336 (makefile-mode): Remove automake manual, have it just in
12337 makefile-automake-mode since there's various things different or
12338 not relevant to plain make.
12339 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12340 believe a hypothetical automake-mode would go to makefile-mode,
12341 not the other way around.
12342
c8e83751
CY
123432011-05-15 Chong Yidong <cyd@stupidchicken.com>
12344
5e9e35cd
CY
12345 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12346 hunk-end tags (Bug#8672).
12347
c8e83751
CY
12348 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12349 vc-annotate-show-diff-revision-at-line (Bug#8671).
12350
50b23e5a
GM
123512011-05-14 Glenn Morris <rgm@gnu.org>
12352
7210a739
GM
12353 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12354 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12355 (change-log-font-lock-keywords): Also handle multiple author lines
12356 with leading tabs. (Bug#8644)
7210a739 12357
4691905a
GM
12358 * calendar/appt.el (appt-check): Rename some local variables.
12359 Some simplification/reordering.
12360
50b23e5a
GM
12361 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12362 (feedmail-sendmail-f-doesnt-sell-me-out)
12363 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12364 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12365 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12366 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12367 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12368 (feedmail-binmail-gnulinuxish-template):
12369 Rename from feedmail-binmail-linuxish-template.
12370 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12371 Use insert-buffer-substring.
12372
215cda7c
BC
123732011-05-14 Bill Carpenter <bill@carpenter.org>
12374
12375 * mail/feedmail.el (feedmail-patch-level): Increase.
12376 (feedmail-debug): New custom group.
12377 (feedmail-confirm-outgoing-timeout)
12378 (feedmail-sendmail-f-doesnt-sell-me-out)
12379 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12380 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12381 (feedmail-sender-line, feedmail-from-line)
12382 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12383 (feedmail-spray-this-address)
215cda7c
BC
12384 (feedmail-spray-address-fiddle-plex-list)
12385 (feedmail-queue-use-send-time-for-date)
12386 (feedmail-queue-use-send-time-for-message-id)
12387 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12388 (feedmail-buffer-eating-function):
12389 Doc fixes.
12390 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12391 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12392 (feedmail-message-action-scroll-down): New functions.
12393 (feedmail-queue-directory, feedmail-queue-draft-directory):
12394 Use expand-file-name.
12395 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12396 Remove C-v help entry.
12397 (feedmail-queue-buffer-file-name): New variable.
12398 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12399 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12400 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12401 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12402 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12403 (feedmail-message-action-toggle-spray)
12404 (feedmail-run-the-queue-no-prompts)
12405 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12406 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12407 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12408 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12409 (feedmail-envelope-deducer, feedmail-fiddle-from)
12410 (feedmail-fiddle-sender, feedmail-default-date-generator)
12411 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12412 (feedmail-fiddle-spray-address)
12413 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12414 (feedmail-fiddle-list-of-fiddle-plexes)
12415 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12416 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12417 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12418 Change default. Doc fix.
12419 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12420 (feedmail-binmail-linuxish-template): New constant.
12421 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12422 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12423 (feedmail-send-it): Add debug call.
12424 Use feedmail-queue-buffer-file-name, and
12425 feedmail-send-it-immediately-wrapper.
12426 (feedmail-message-action-send): Add debug call.
12427 Use feedmail-send-it-immediately-wrapper.
12428 (feedmail-queue-express-to-queue): Add debug call.
12429 Run feedmail-queue-express-hook.
12430 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12431 (feedmail-message-action-help-blat):
12432 Rename from feedmail-queue-send-edit-prompt-help-first.
12433 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12434 Check line-endings. Handle errors better.
12435 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12436 Doc fix. Add debug call.
12437 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12438 Use feedmail-queue-send-edit-prompt-inner.
12439 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12440 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12441 from feedmail-queue-send-edit-prompt.
12442 (feedmail-queue-send-edit-prompt-help)
12443 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12444 (feedmail-tidy-up-slug): Add debug call.
12445 Respect feedmail-queue-slug-suspect-regexp.
12446 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12447 (feedmail-dump-message-to-queue): Add debug call.
12448 Expand queue-directory.
12449 (feedmail-dump-message-to-queue): Change message slightly.
12450 Use feedmail-say-chatter.
12451 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12452 (feedmail-send-it-immediately-wrapper): New function.
12453 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12454 Insert empty string rather than newline. Handle full-frame case.
12455 Use catch/throw. Use feedmail-say-chatter.
12456 (feedmail-fiddle-from): Try mail-host-address.
12457 (feedmail-default-message-id-generator): Doc fix.
12458 Bind system-time-locale. Handle missing end.
12459 (feedmail-fiddle-x-mailer): Add debug call.
12460 Handle feedmail-x-mailer-line being nil.
12461 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12462 Add debug call. Use buffer-substring-no-properties.
12463 (feedmail-say-debug, feedmail-say-chatter): New functions.
12464 (feedmail-find-eoh): Give an explicit error.
12465
42c7e61e
UJ
124662011-05-13 Ulf Jasper <ulf.jasper@web.de>
12467
c2571358 12468 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12469 family from helvetica to sans.
c2571358 12470 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12471 etc/images/newsticker.
12472
c2571358 12473 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12474 family from helvetica to sans.
12475
12476 * net/newst-plainview.el (newsticker-new-item-face)
12477 (newsticker-old-item-face, newsticker-immortal-item-face)
12478 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12479 (newsticker-statistics-face): Change default family from
42c7e61e 12480 helvetica to sans.
c2571358 12481 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12482 etc/images/newsticker.
12483
5d3385a0
JB
12484 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12485 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12486 auto-marking.
12487
8497a297
DV
124882011-05-13 Didier Verna <didier@xemacs.org>
12489
12490 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12491 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12492 TODO entries.
8497a297
DV
12493 (lisp-lambda-list-keyword-parameter-indentation)
12494 (lisp-lambda-list-keyword-parameter-alignment)
12495 (lisp-lambda-list-keyword-alignment): New customizable user options.
12496 (lisp-indent-defun-method): Improve docstring.
12497 (extended-loop-p): Fix comment.
12498 (lisp-indent-lambda-list-keywords-regexp): New variable.
12499 (lisp-indent-lambda-list): New function.
12500 (lisp-indent-259): Use it.
12501 (lisp-indent-defmethod): Support for more than one
12502 method qualifier and properly indent methods lambda-lists.
12503 (defgeneric): Provide a missing common-lisp-indent-function property.
12504
f278f87f
SM
125052011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12506
12507 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12508 bounds for the empty string (bug#8667).
12509
5233edd7
GM
125102011-05-13 Glenn Morris <rgm@gnu.org>
12511
5237a44f
GM
12512 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12513
8340026c 12514 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12515 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12516
5233edd7 12517 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12518 (appt-time-msg-list): Doc fix.
a5464014 12519 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12520
92d10796
AS
125212011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12522
12523 * progmodes/ld-script.el (ld-script-keywords)
12524 (ld-script-builtins): Update keywords list.
12525
914a0ae1
SM
125262011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12527
c89be45f
SM
12528 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12529
914a0ae1
SM
12530 * shell.el (shell-completion-vars): New function.
12531 (shell-mode):
12532 * simple.el (read-shell-command): Use it.
12533 (blink-matching-open): No need for " [...]" in minibuffer-message.
12534
98dc3df3
GM
125352011-05-12 Glenn Morris <rgm@gnu.org>
12536
12537 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12538 (appt-check): Simplify.
12539
d2fc7e3d 125402011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12541
4d61f28d 12542 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12543 literal "/dev/null".
12544
d2fc7e3d 125452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12546
12547 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12548 Fix typo.
12549
d2fc7e3d 125502011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12551
3f254caa
SM
12552 * progmodes/which-func.el (which-function):
12553 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12554 which might not be defined (Bug#8260).
12555
d45885f7
GM
125562011-05-12 Glenn Morris <rgm@gnu.org>
12557
12558 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12559 Let byte-compile-initial-macro-environment always take precedence.
12560
488086f4
SM
125612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * net/rcirc.el: Add support for SSL/TLS connections.
12564 (rcirc-server-alist): New field `encryption'.
12565 (rcirc): Check `encryption' settings.
12566 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12567 Merge make-local-variable into `set'.
12568 (rcirc--connection-open-p): New function.
12569 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12570 the process is not a network process (e.g. running gnutls-cli).
12571 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12572 Make rcirc-(en|de)code-coding-system local here.
12573 (rcirc-mode): Merge make-local-variable into `set'.
12574 (rcirc-parent-buffer): Make permanent buffer-local.
12575 (rcirc-multiline-minor-mode): Don't do it here.
12576 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12577 there's no server buffer.
12578
7d3b9d44
GM
125792011-05-11 Glenn Morris <rgm@gnu.org>
12580
f64049c6
GM
12581 * newcomment.el (comment-kill): Prefix "unused" local.
12582
93c9df73
GM
12583 * term/w32console.el (get-screen-color): Declare.
12584
7d3b9d44
GM
12585 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12586 Handle symbol elements of byte-compile-initial-macro-environment.
12587
9e2dd53f
LL
125882011-05-10 Leo Liu <sdl.web@gmail.com>
12589
488086f4
SM
12590 * bookmark.el (bookmark-bmenu-mode-map):
12591 Bind bookmark-bmenu-search to `/'.
8b340240 12592
9e2dd53f 12593 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12594 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12595 (Footnote-unicode): New function.
12596 (footnote-style-alist): Add unicode style to the list.
12597 (footnote-style): Doc fix.
9e2dd53f 12598
79b70037
GM
125992011-05-10 Jim Meyering <meyering@redhat.com>
12600
12601 Fix doubled-word typos.
12602 * international/quail.el (quail-insert-kbd-layout): and and -> and
12603 * kermit.el: and and -> and
12604 * net/ldap.el (ldap-search-internal): to to -> to
12605 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12606 * progmodes/js.el (js-mode): and and -> and
12607 * textmodes/artist.el (artist-move-to-xy): at at -> at
12608 (artist-draw-region-trim-line-endings): if if -> if
12609 And Safetyc -> Safety.
12610 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12611
b8f82dc1 126122011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12613 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12614
12615 * files.el (hack-one-local-variable-eval-safep):
12616 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12617
4f99f44b
GM
126182011-05-10 Glenn Morris <rgm@gnu.org>
12619
12620 * calendar/diary-lib.el (diary-list-entries-hook)
12621 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12622 (diary-nongregorian-marking-hook, diary-list-entries)
12623 (diary-include-other-diary-files, diary-mark-entries)
12624 (diary-mark-included-diary-files): Doc fixes.
12625
84f29e6b
JB
126262011-05-09 Juanma Barranquero <lekktu@gmail.com>
12627
12628 * misc.el: Require tabulated-list.el during compilation.
12629
9bedd73a
CY
126302011-05-09 Chong Yidong <cyd@stupidchicken.com>
12631
488086f4
SM
12632 * progmodes/compile.el (compilation-start):
12633 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12634 (compilation-filter-hook): Doc fix.
12635
797c735c
DD
126362011-05-09 Deniz Dogan <deniz@dogan.se>
12637
12638 * wdired.el: Remove outdated installation comment. Fix usage
12639 comment.
12640
5f4b1dfe
JB
126412011-05-09 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * misc.el: Implement new command `list-dynamic-libraries'.
12644 (list-dynamic-libraries--loaded-only-p): New variable.
12645 (list-dynamic-libraries--refresh): New function.
12646 (list-dynamic-libraries): New command.
12647
4c44026c
CY
126482011-05-09 Chong Yidong <cyd@stupidchicken.com>
12649
488086f4
SM
12650 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12651 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12652 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12653 higher priority to avoid clobbering by gnu.
12654
027f966d
CY
126552011-05-08 Chong Yidong <cyd@stupidchicken.com>
12656
12657 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12658 if the face has existing theme settings (Bug#8454).
12659
085f5d7d
CY
126602011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12661
488086f4
SM
12662 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12663 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12664
2a86a00c
RS
12665 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12666 special file names `.' and `..' (Bug#8259).
12667
d9c54a06
CY
126682011-05-08 Chong Yidong <cyd@stupidchicken.com>
12669
488086f4
SM
12670 * progmodes/grep.el (grep-mode-font-lock-keywords):
12671 Remove buffer-changing entries.
d9c54a06
CY
12672 (grep-filter): New function.
12673 (grep-mode): Add it to compilation-filter-hook.
12674
12675 * progmodes/compile.el (compilation-filter-hook)
12676 (compilation-filter-start): New defvars.
12677 (compilation-filter): Call compilation-filter-hook prior to
12678 updating the process mark.
12679
c4662635
SM
126802011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12681
12682 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12683
b0512a1d
EZ
126842011-05-07 Eli Zaretskii <eliz@gnu.org>
12685
605c9376
EZ
12686 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12687 mailclient-send-it even if window-system is nil. (Bug#8595)
12688
c4662635
SM
12689 * term/w32console.el (terminal-init-w32console):
12690 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12691 background-mode. (Bug#8597)
12692
d1dc2cc2
SM
126932011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12696 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12697 New functions.
12698 (defgeneric, eieio--defmethod): Use them.
12699 (eieio-defgeneric): Remove.
12700 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12701
915d1300
GM
127022011-05-07 Glenn Morris <rgm@gnu.org>
12703
a3961c3e
GM
12704 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12705 Use let rather than let*.
12706 (timeclock-find-discrep): Remove unused local.
12707
314347b9
GM
12708 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12709
915d1300
GM
12710 * calendar/appt.el (appt-time-msg-list): Doc fix.
12711
275b59b0
NF
127122011-05-06 Noah Friedman <friedman@splode.com>
12713
12714 * apropos.el (apropos-print-doc): Only use
12715 emacs-lisp-docstring-fill-column when it is bound to an integer,
12716 per that variable's documentation.
12717
6c19f744
SM
127182011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12719
12720 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12721 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12722
60f884b2
GM
127232011-05-06 Glenn Morris <rgm@gnu.org>
12724
5006e634
GM
12725 * calendar/appt.el (appt-message-warning-time): Doc fix.
12726 (appt-warning-time-regexp): New option.
12727 (appt-make-list): Respect appt-message-warning-time.
12728
548d0a63
GM
12729 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12730 New options.
12731 (diary-add-to-list): Strip comments from the displayed string.
12732 (diary-mode): Set comment-start and comment-end.
12733
60f884b2
GM
12734 * vc/diff-mode.el (smerge-refine-subst): Declare.
12735 (diff-refine-hunk): Don't require smerge-mode when compiling.
12736
989681bb
JB
127372011-05-06 Juanma Barranquero <lekktu@gmail.com>
12738
12739 * simple.el (list-processes): Return nil as the docstring says.
12740
a6bc05e1
MA
127412011-05-05 Michael Albinus <michael.albinus@gmx.de>
12742
12743 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12744 to "".
12745 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12746 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12747 determining of binary transfer. (Bug#7383)
12748
23c22e9a
MA
127492011-05-05 Michael Albinus <michael.albinus@gmx.de>
12750
c4662635
SM
12751 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12752 Fix port computation bug. (Bug#8618)
23c22e9a 12753
0bff894f
GM
127542011-05-05 Glenn Morris <rgm@gnu.org>
12755
b8296902
GM
12756 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12757
1f522ce8
GM
12758 * simple.el (shell-dynamic-complete-functions)
12759 (comint-dynamic-complete-functions): Declare.
12760
cf5bee67
GM
12761 * net/network-stream.el (gnutls-negotiate):
12762 * simple.el (tabulated-list-print): Fix declarations.
12763
12764 * progmodes/gud.el (syntax-symbol, syntax-point):
12765 Remove unnecessary and incorrect declarations.
12766
0bff894f
GM
12767 * emacs-lisp/check-declare.el (check-declare-scan):
12768 Handle byte-compile-initial-macro-environment in bytecomp.el
12769
9869b3ae
SM
127702011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 Fix earlier half-done eieio-defmethod change (bug#8338).
12773 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12774 Streamline and change calling convention.
12775 (defmethod): Adjust accordingly and simplify.
12776 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12777 new eieio--defmethod.
12778 (slot-boundp): Minor CSE simplification.
12779
9c1d5ac5
MZ
127802011-05-05 Milan Zamazal <pdm@zamazal.org>
12781
12782 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12783 (glasses-make-readable): Use glasses-separate-capital-groups.
12784
455c834e
JB
127852011-05-05 Juanma Barranquero <lekktu@gmail.com>
12786
12787 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12788 (warning-series): Doc fix.
12789 (display-warning): Don't try to create the buffer if we just found it.
12790
9ed7c8cb
CY
127912011-05-04 Chong Yidong <cyd@stupidchicken.com>
12792
12793 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12794 (autoload-find-generated-file): New function.
12795 (generate-file-autoloads): Bind generated-autoload-file to
12796 buffer-file-name.
9869b3ae
SM
12797 (update-file-autoloads, update-directory-autoloads):
12798 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12799 output file (Bug#7989).
12800 (batch-update-autoloads): Doc fix.
12801
0898ca10
JB
128022011-05-04 Juanma Barranquero <lekktu@gmail.com>
12803
12804 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12805
31dfb76c
GM
128062011-05-04 Glenn Morris <rgm@gnu.org>
12807
f330b642
GM
12808 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12809 function, so it follows changes in calendar-date-style.
12810 (diary-fancy-date-matcher): New function.
12811 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12812 (diary-fancy-font-lock-fontify-region-function):
12813 Use diary-fancy-date-pattern as a function.
12814
31dfb76c
GM
12815 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12816 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12817
48e79d6a
TZ
128182011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12819
12820 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12821 instead of positional arguments. Allow :keylist and :crlfiles
12822 arguments.
12823 (open-gnutls-stream): Call it.
12824
12825 * net/network-stream.el (network-stream-open-starttls): Adjust to
12826 call `gnutls-negotiate' with :process and :hostname arguments.
12827
dd5a5ee0
SM
128282011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12829
ef80fc09
SM
12830 * minibuffer.el (completion--message): New function.
12831 (completion--do-completion, minibuffer-complete)
12832 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12833 (completion--do-completion): Don't ignore completion-auto-help when in
12834 icomplete-mode.
12835
dd5a5ee0
SM
12836 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12837 internal encoding (e.g. tibetan zero is not whitespace).
12838 (global-whitespace-mode): Prefer save-current-buffer.
12839 (whitespace-trailing-regexp): Remove useless save-match-data.
12840 (whitespace-empty-at-bob-regexp): Minor simplification.
12841
b7d22a83
CY
128422011-05-03 Chong Yidong <cyd@stupidchicken.com>
12843
12844 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12845
5192af46
AM
128462011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12847
12848 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12849 Use `concat' to create string for insertion.
5192af46 12850
5767d190
SM
128512011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12854 Avoid open-line which runs post-self-insert-hook.
12855 (bibtex-fill-entry): Remove unused `end' var.
12856
bf242939
AM
128572011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12858
5767d190
SM
12859 * textmodes/ispell.el (ispell-add-per-file-word-list):
12860 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12861
25666126
LL
128622011-05-03 Leo Liu <sdl.web@gmail.com>
12863
12864 * isearch.el (isearch-yank-pop): New command.
5767d190 12865 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12866 (isearch-forward): Mention it.
12867
52d3c2d0
SM
128682011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12869
1bcace58
SM
12870 * simple.el (minibuffer-complete-shell-command): Remove.
12871 (minibuffer-local-shell-command-map): Use completion-at-point.
12872 (read-shell-command): Setup completion vars here instead.
12873 (read-expression-map): Bind TAB to symbol completion.
12874
52d3c2d0
SM
12875 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12876 error directly rather via storing it into `results'.
12877
35813471
LL
128782011-05-02 Leo Liu <sdl.web@gmail.com>
12879
12880 * vc/diff.el: Fix description.
12881
e793a940
LMI
128822011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12883
12884 * server.el (server-eval-at): New function.
12885
8de66e05
LMI
128862011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12887
12888 * net/network-stream.el (open-network-stream): Take a :nowait
12889 parameter and pass it on to `make-network-process'.
12890 (network-stream-open-plain): Ditto.
12891
dcb79f20
AS
128922011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12893
12894 * faces.el (face-spec-set-match-display): Don't match toolkit
12895 options on terminal frames.
12896
14a7fbd8
SM
128972011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12898
7eabc1be
SM
12899 * progmodes/pascal.el: Use lexical binding.
12900 (pascal-mode-map): Remove author preferences.
12901
14a7fbd8
SM
12902 * pcomplete.el (pcomplete-std-complete): Don't abuse
12903 completion-at-point.
12904
50f84510
JB
129052011-04-28 Juanma Barranquero <lekktu@gmail.com>
12906
6e087a44
JB
12907 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12908 removing code that has been dead since 1991 or so.
12909
50f84510
JB
12910 * startup.el (command-line): When warning about "_emacs", use a
12911 delayed warning to allow the user to filter it out.
12912
0ba690bd
DD
129132011-04-28 Deniz Dogan <deniz@dogan.se>
12914
12915 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12916 user has not joined.
12917
08abfaad
SM
129182011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12921 aren't any completions at point.
12922
638f053a
JB
129232011-04-28 Juanma Barranquero <lekktu@gmail.com>
12924
12925 * subr.el (display-delayed-warnings): New function.
12926 (delayed-warnings-hook): New variable.
12927
8fff8daa
SM
129282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12929
08abfaad
SM
12930 * minibuffer.el (completion-at-point, completion-help-at-point):
12931 Don't presume that a given completion-at-point-function will always
12932 use the same calling convention.
12933
8fff8daa
SM
12934 * pcomplete.el (pcomplete-completions-at-point):
12935 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12936 pcomplete-seen is non-nil.
12937 (pcomplete-comint-setup): Also recognize the new comint/shell
12938 completion functions.
12939 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12940 pcomplete-seen is non-nil.
12941
841a1577 129422011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12943
841a1577 12944 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12945 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12946 the first character in the entry. This allows for code to add its
211ec907
UJ
12947 own uid to the entry.
12948 (icalendar--convert-float-to-ical): Add export of
12949 `diary-float'-entries save for those with the optional DAY
12950 argument.
12951
2a782793
DC
129522011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12953
12954 * subr.el (shell-quote-argument): Use alternate escaping strategy
12955 when we spot a variable reference in a string.
12956
0438ce91
DC
129572011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12958
12959 * cus-start.el (all): Define customization for debug-on-event.
12960
841a1577 129612011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12962
12963 * subr.el (shell-quote-argument): Escape correctly under Windows.
12964
d090ed6c
SM
129652011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12968
bfd31217
MA
129692011-04-25 Michael Albinus <michael.albinus@gmx.de>
12970
d090ed6c
SM
12971 * net/tramp.el (tramp-process-actions): Add POS argument.
12972 Delete region between POS and (pos).
bfd31217 12973
d090ed6c
SM
12974 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12975 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12976 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12977
12978 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12979 position in `tramp-process-actions' call.
12980
12981 * net/trampver.el: Update release number.
12982
e92f3bd3
SM
129832011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12984
850256b5
SM
12985 * custom.el (defcustom): Obey lexical-binding.
12986
e92f3bd3
SM
12987 Fix octave-inf completion problems reported by Alexander Klimov.
12988 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12989 Inherit from octave-mode-syntax-table.
12990 (inferior-octave-mode): Set info-lookup-mode.
12991 (inferior-octave-completion-at-point): New function.
12992 (inferior-octave-complete): Use it and completion-in-region.
12993 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12994 comint-filename-completion.
12995 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12996 symbol elements which shouldn't be word elements.
12997 (octave-font-lock-keywords, octave-beginning-of-defun)
12998 (octave-function-header-regexp): Adjust regexps accordingly.
12999 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13000
cd22b309
JB
130012011-04-25 Juanma Barranquero <lekktu@gmail.com>
13002
13003 * net/gnutls.el (gnutls-errorp): Declare before first use.
13004
8b492194
TZ
130052011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13006
13007 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13008 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13009 default trustfile exists before going to use it. Add missing
5a5fa834 13010 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13011 Reported by Claudio Bley <claudio.bley@gmail.com>.
13012 (open-gnutls-stream): Add usage example.
13013
13014 * net/network-stream.el (network-stream-open-starttls): Give host
13015 parameter to `gnutls-negotiate'.
13016 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13017 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13018
841a1577 130192011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13020
cd22b309
JB
13021 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13022 Use correct match group (bug#8438).
05842630 13023
3ba7869c
CY
130242011-04-24 Chong Yidong <cyd@stupidchicken.com>
13025
512e3ae1
CY
13026 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13027 (package-menu--generate): New arg specifying packages to show.
13028 (package-menu-refresh, package-menu-execute, list-packages):
13029 Callers changed.
13030 (package-show-package-list): New function, replacing deleted
13031 package--list-packages (renamed because it is non-internal).
13032
13033 * finder.el (finder-list-matches): Use package-show-package-list
13034 instead of deleted package--list-packages.
13035
e92f3bd3
SM
13036 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13037 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13038 (vc-annotate-mode-map): Bind it to RET.
13039
7031be6d
UR
130402011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13041
13042 * progmodes/etags.el (next-file): Don't use set-buffer to change
13043 buffers (Bug#8478).
13044
4ef177aa
CY
130452011-04-24 Chong Yidong <cyd@stupidchicken.com>
13046
c8d173eb
CY
13047 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13048
4ef177aa
CY
13049 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13050 (apropos-accumulator): Doc fix.
13051 (apropos-function, apropos-macro, apropos-command)
13052 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13053 (apropos-plist): Add face property.
13054 (apropos-symbols-internal): Fix indentation.
13055 (apropos-print): Simplify help, and recognize apropos-multi-type.
13056 (apropos-print-doc): Use button-type-get to extract the button's
13057 face property. Fill docstring (Bug#8352).
13058
4ffd0d6b 130592011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13060
13061 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13062
c6c32125 13063 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13064 (mpuz-mode-map): Use mapc.
c6c32125
JB
13065 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13066 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13067 Fix typos in docstrings.
13068
58d468b4
JB
13069 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13070 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13071
6470c3c6
JB
13072 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13073
4ffd0d6b 130742011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13075
13076 * minibuffer.el (completion--do-completion): Avoid the "Next char
13077 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13078
3ad8bad0
CY
13079 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13080 mouse-2 into unread-command-events, it is interpreted correctly.
13081
71d73c9c 13082 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13083 (image-toggle-display): Doc fix.
71d73c9c 13084
841a1577 130852011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13086
4ffd0d6b
GM
13087 * textmodes/page.el (what-page): Use line-number-at-pos to
13088 calculate line number (Bug#6825).
6e1dbaa9 13089
c2fb1b60
JB
130902011-04-22 Juanma Barranquero <lekktu@gmail.com>
13091
13092 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13093 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13094 Pass argument NO-DEFAULT to `find-tag-interactive'.
13095
e02f48d7
JB
130962011-04-22 Juanma Barranquero <lekktu@gmail.com>
13097
13098 Lexical-binding cleanup.
13099
13100 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13101 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13102 * progmodes/ada-prj.el (ada-prj-initialize-values)
13103 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13104 (ada-prj-show-value):
13105 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13106 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13107 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13108 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13109 * progmodes/bug-reference.el (bug-reference-push-button):
13110 * progmodes/fortran.el (fortran-line-length):
13111 * progmodes/glasses.el (glasses-change):
13112 * progmodes/octave-mod.el (octave-fill-paragraph):
13113 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13114 (python-pdbtrack-grub-for-buffer, python-sentinel):
13115 * progmodes/sql.el (sql-save-connection):
13116 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13117 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13118 Mark unused parameters.
13119
13120 * progmodes/compile.el (compilation--flush-directory-cache)
13121 (compilation--flush-parse, compile-internal): Mark unused parameters.
13122 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13123 (compilation-next-error-function): Remove unused variable `timestamp'.
13124
13125 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13126 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13127
13128 * progmodes/dcl-mode.el (dcl-end-of-command):
13129 Remove unused variable `start'.
13130 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13131 (dcl-option-value-basic, dcl-option-value-offset)
13132 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13133 Mark unused parameters.
13134 (dcl-save-local-variable): Remove unused variable `val'.
13135 (mode): Declare.
13136
13137 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13138 Mark unused parameters.
13139 (delphi-ignore-changes): Move before first use.
13140 (delphi-charset-token-at): Remove unused variable `start'.
13141 (delphi-else-start): Remove unused variable `if-count'.
13142 (delphi-comment-block-start, delphi-comment-block-end):
13143 Remove unused variable `kind'.
13144 (delphi-indent-line): Remove unused variable `new-point'.
13145
13146 * progmodes/ebrowse.el (ebrowse-files-list)
13147 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13148 Mark unused parameters. Don't quote `lambda'.
13149 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13150 Don't quote `lambda'.
13151 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13152 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13153 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13154 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13155 Use `ignore-errors'.
13156 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13157 (ebrowse-view/find-file-and-search-pattern)
13158 (ebrowse-view/find-member-declaration/definition):
13159 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13160 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13161 Rename parameter PREFIX-ARG to PREFIX.
13162 (ebrowse-tags-read-name): Remove unused variables `start' and
13163 `member-info'.
13164 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13165 to `tags-file'.
13166
13167 * progmodes/etags.el (local-find-tag-hook): Declare.
13168 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13169 Mark unused parameters.
13170
13171 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13172 (executable-interpret): Mark unused parameter.
13173
13174 * progmodes/flymake.el (flymake-process-sentinel)
13175 (flymake-after-change-function)
13176 (flymake-create-temp-with-folder-structure)
13177 (flymake-get-include-dirs-dot): Mark unused parameters.
13178 (flymake-safe-delete-directory): Remove unused variable `err'.
13179
13180 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13181 (speedbar-timer-fn, speedbar-line-text)
13182 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13183 (speedbar-center-buffer-smartly): Declare functions.
13184 (gdb-find-watch-expression): Remove unused variable `array'.
13185 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13186 (gdb-starting): Mark unused parameters.
13187 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13188 (gdb-table-string): Remove unused variable `res'.
13189 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13190 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13191 (gdb-display-buffer): Remove unused variable `cur-size'.
13192
13193 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13194 allow lexical-binding compilation.
13195 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13196 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13197 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13198 Mark unused parameters.
13199 (gud-gdb-marker-filter): Remove unused variable `match'.
13200 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13201 lambda expressions and funcall them, instead of using `fset'.
13202
13203 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13204 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13205
13206 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13207 variable `header-beg'; use `let'.
13208
13209 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13210 `restart', `last-sexp' and `at-do'.
13211
13212 * progmodes/js.el (js--debug): Mark unused parameter.
13213 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13214 (js--splice-into-items): Remove unused variable `item'.
13215 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13216
13217 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13218 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13219 (makefile-complete): Remove unused variable `try'.
13220 (makefile-fill-paragraph, makefile-match-function-end):
13221 Mark unused parameters.
13222
13223 * progmodes/octave-inf.el (inferior-octave-complete):
13224 Remove unused variable `proc'.
13225 (inferior-octave-output-digest): Mark unused parameter.
13226
13227 * progmodes/perl-mode.el (perl-calculate-indent):
13228 Remove unused variable `err'.
13229
13230 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13231 (prolog-indent-line): Mark unused parameters.
13232 (prolog-indent-line): Remove unused variable `beg'.
13233
13234 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13235 (reporter-dont-compact-list): Declare.
13236
13237 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13238 Remove unused variable `char'.
13239 (sh-debug): Mark unused parameter.
13240 (sh-get-indent-info): Remove unused variable `start'.
13241 (sh-calculate-indent): Remove unused variable `var'.
13242
13243 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13244 (simula-electric-keyword): Remove unused variable `null'.
13245 (simula-search-backward, simula-search-forward): Remove unused
13246 variables `begin' and `end'.
13247
13248 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13249 Remove unused variable `pos'.
13250 (vera-electric-tab, vera-comment-uncomment-region):
13251 Mark unused parameters.
13252 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13253
7ede3b65
CY
132542011-04-22 Chong Yidong <cyd@stupidchicken.com>
13255
13256 * emacs-lisp/package.el (package--builtins, package-alist)
13257 (package-load-descriptor, package-built-in-p, package-activate)
13258 (define-package, package-installed-p)
13259 (package-compute-transaction, package-buffer-info)
13260 (package--push): Doc fix. Distinguish more clearly between
13261 version strings and version lists.
13262
121656e9
JB
132632011-04-21 Juanma Barranquero <lekktu@gmail.com>
13264
13265 Lexical-binding cleanup.
13266
13267 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13268 (5x5-make-mutate-best):
13269 * play/fortune.el (fortune-in-buffer):
13270 * play/gomoku.el (gomoku-init-display):
13271 * play/solitaire.el (solitaire, solitaire-do-check):
13272 * play/tetris.el (tetris-default-update-speed-function):
13273 Mark unused parameters.
13274
13275 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13276 (bubbles--shift): Remove unused variable `char-org'.
13277 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13278 (bubbles--show-images): Remove unused variable `char'.
13279
13280 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13281 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13282 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13283 (decipher-analyze-buffer): Use ?\s.
13284 (decipher-make-checkpoint): Remove unused variable `mapping'.
13285
13286 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13287
13288 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13289 Remove unused variable `result'; use `let'.
13290
13291 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13292 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13293 (gametree-children-shown-p, gametree-compute-reduced-score):
13294 Use `ignore-errors'.
13295
13296 * play/handwrite.el (ps-lpr-switches): Declare.
13297 (handwrite): Remove unused variables `pmin' and `lastp'.
13298
13299 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13300
13301 * play/landmark.el (landmark-init-display)
13302 (landmark-update-naught-weights): Mark unused parameters.
13303 (landmark-y): Remove unused variable `noise'. Simplify.
13304 (landmark-human-plays): Remove unused variable `score'.
13305
13306 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13307 (mpuz-try-proposal): Remove unused variable `game'.
13308
13309 * play/zone.el (life-patterns): Declare.
13310
80f499c7
JB
133112011-04-20 Juanma Barranquero <lekktu@gmail.com>
13312
13313 * vc/vc.el (ediff-vc-internal): Declare function.
13314
024ff170
SM
133152011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13316
c0a193ea
SM
13317 * shell.el: Use lexical-binding and std completion UI.
13318 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13319 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13320 comint-preoutput-filter-functions rather than on
13321 comint-output-filter-functions.
13322 (shell-command-completion, shell--command-completion-data)
13323 (shell-filename-completion, shell-environment-variable-completion)
13324 (shell-c-a-p-replace-by-expanded-directory): New functions.
13325 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13326 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13327 (shell-dynamic-complete-environment-variable): Use them.
13328 (shell-dynamic-complete-as-environment-variable)
13329 (shell-dynamic-complete-as-command): Remove.
13330 (shell-match-partial-variable): Match past point.
13331 * comint.el: Clean up use of completion-at-point-functions.
13332 (comint-completion-at-point): New function.
13333 (comint-mode): Use it completion-at-point-functions.
13334 (comint-dynamic-complete): Make it obsolete.
13335 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13336 (comint-c-a-p-replace-by-expanded-history): New function.
13337 (comint-dynamic-complete-functions)
13338 (comint-replace-by-expanded-history): Use it.
13339 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13340 termination strings. Try harder to avoid second try-completion.
13341 (completion-in-region-mode-map): Disable bindings that don't work yet.
13342
2dbaa080
SM
13343 * comint.el: Use lexical-binding. Require CL.
13344 (comint-dynamic-complete-functions): Use comint-filename-completion.
13345 (comint-completion-addsuffix): Tweak custom type.
13346 (comint-filename-completion, comint--common-suffix)
13347 (comint--common-quoted-suffix, comint--table-subvert)
13348 (comint--complete-file-name-data): New functions.
13349 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13350 (comint-dynamic-list-filename-completions): Use them.
13351 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13352
2dbaa080
SM
13353 * minibuffer.el (completion-in-region-mode):
13354 Keep completion-in-region-mode--predicate global.
13355 (completion-in-region--postch):
13356 Assume completion-in-region-mode--predicate is not null.
13357
c79a6f38
SM
13358 * progmodes/flymake.el (flymake-start-syntax-check-process):
13359 Obey `dir'. Simplify.
13360
024ff170
SM
13361 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13362 we're in VC after all.
13363
1c6c854e
CS
133642011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13365
13366 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13367 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13368 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13369
bed7f140
SM
133702011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13371
332e62ab
SM
13372 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13373 add sanity check.
13374
bed7f140
SM
13375 * obsolete/erc-hecomplete.el: Make obsolete.
13376 * obsolete/: Standardize obsolescence info in the header.
13377
f195c582
GM
133782011-04-20 Glenn Morris <rgm@gnu.org>
13379
13380 * calendar/solar.el (solar-horizontal-coordinates):
13381 Use the longitude argument rather than `calendar-longitude'.
13382 (solar-date-next-longitude): Remove unused locals.
13383
cb79b8c0
VJL
133842011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13385
13386 * whitespace.el: New version 13.2.1.
13387
133882011-04-20 felix <EmacsWiki> (tiny change)
13389
d8e4b68b 13390 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13391 switching between major modes on a file.
13392
602ea69d
SM
133932011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13396 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13397 multi-line comments as well.
13398
06b60517
JB
133992011-04-19 Juanma Barranquero <lekktu@gmail.com>
13400
13401 Lexical-binding cleanup.
13402
13403 * arc-mode.el (archive-mode-revert):
13404 * cmuscheme.el (scheme-interactively-start-process):
13405 * custom.el (custom-initialize-delay):
13406 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13407 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13408 * emacs-lock.el (emacs-lock-clear-sentinel):
13409 * ezimage.el (defezimage):
13410 * follow.el (follow-avoid-tail-recenter):
13411 * fringe.el (set-fringe-mode-1):
13412 * generic-x.el (bat-generic-mode-compile):
13413 * help-mode.el (help-info-variable, help-do-xref)
13414 (help-mode-revert-buffer):
13415 * help.el (view-emacs-todo):
13416 * iswitchb.el (iswitchb-completion-help):
13417 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13418 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13419 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13420 * locate.el (locate-update):
13421 * longlines.el (longlines-encode-region)
13422 (longlines-after-change-function):
13423 * outline.el (outline-isearch-open-invisible):
13424 * ps-def.el (declare-function, charset-dimension, char-width)
13425 (encode-char):
13426 * ps-mule.el (ps-mule-plot-string):
13427 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13428 (recentf-edit-list-select, recentf-edit-list-validate)
13429 (recentf-open-files-action):
13430 * rect.el (delete-whitespace-rectangle-line)
13431 (rectangle-number-line-callback):
13432 * register.el (window-configuration-to-register)
13433 (frame-configuration-to-register):
13434 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13435 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13436 (xselect-convert-to-targets, xselect-convert-to-delete)
13437 (xselect-convert-to-filename, xselect-convert-to-charpos)
13438 (xselect-convert-to-lineno, xselect-convert-to-colno)
13439 (xselect-convert-to-os, xselect-convert-to-host)
13440 (xselect-convert-to-user, xselect-convert-to-class)
13441 (xselect-convert-to-name, xselect-convert-to-integer)
13442 (xselect-convert-to-atom, xselect-convert-to-identity):
13443 * subr.el (declare, ignore, process-kill-without-query)
13444 (text-clone-maintain):
13445 * terminal.el (te-get-char, te-tic-sentinel):
13446 * tool-bar.el (tool-bar-make-keymap):
13447 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13448 * type-break.el (type-break-mode, type-break-noninteractive-query):
13449 * view.el (View-back-to-mark):
13450 * wid-browse.el (widget-browse-action, widget-browse-widget)
13451 (widget-browse-widgets, widget-browse-sexp):
13452 * widget.el (define-widget-keywords):
13453 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13454 Mark unused parameters.
13455
13456 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13457 (align-areas): Remove unused variable `look'.
13458 (align-region): Remove unused variables `real-end' and `pos-list'.
13459
13460 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13461
13462 * bindings.el (mode-line-modified, mode-line-remote):
13463 Mark unused parameters.
13464 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13465
13466 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13467 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13468
13469 * comint.el (comint-history-isearch-pop-state)
13470 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13471 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13472 (comint-substitute-in-file-name): Doc fix.
13473
13474 * completion.el (cmpl-statistics-block): Mark unused parameter.
13475 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13476 (save-completions-to-file, load-completions-from-file):
13477 Remove unused local variable `e'.
13478
13479 * composite.el (compose-chars): Remove unused variable `len'.
13480 (lgstring-insert-glyph): Remove unused variable `g'.
13481 (compose-glyph-string): Remove unused variables `ascent',
13482 `descent', `lbearing' and `rbearing'.
13483 (compose-glyph-string-relative): Remove unused variables
13484 `lbearing', `rbearing' and `wadjust'.
13485 (compose-gstring-for-graphic): Remove unused variables `header',
13486 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13487 (compose-gstring-for-terminal): Remove unused variables `header'
13488 and `nchars'. Use `let', not `let*'.
13489
13490 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13491 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13492 (Custom-buffer-done, custom-buffer-create-internal)
13493 (custom-browse-visibility-action, custom-browse-group-tag-action)
13494 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13495 (widget-magic-mouse-down-action, custom-toggle-parent)
13496 (custom-add-parent-links, custom-toggle-hide-variable)
13497 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13498 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13499 (custom-face-menu-create, custom-variable-menu-create, get)
13500 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13501 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13502 (customize-apropos): Remove unused variable `tests'.
13503 (custom-group-value-create): Remove unused variable `hidden-p'.
13504 (sort-fold-case): Declare.
13505
13506 * cus-theme.el (custom-reset-standard-faces-list)
13507 (custom-reset-standard-variables-list): Declare.
13508 (customize-create-theme, custom-theme-revert, custom-theme-write)
13509 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13510 Mark unused parameters.
13511
13512 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13513
13514 * delim-col.el (delimit-columns-max): Move defvar before first use.
13515
13516 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13517 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13518
13519 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13520 (auto-insert): Declare.
13521 (desktop-restore-file-buffer): Rename desktop-* parameters;
13522 mark unused ones.
13523 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13524 (desktop-buffer): Rename desktop-* parameters.
13525
13526 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13527 (dframe-reposition-frame-xemacs, dframe-help-echo)
13528 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13529 Mark unused parameters.
13530
13531 * dired-aux.el (backup-extract-version-start, overwrite-query)
13532 (overwrite-backup-query, rename-regexp-query)
13533 (rename-non-directory-query): Declare.
13534 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13535 (dired-add-entry): Remove unused variable `orig-file-name'.
13536 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13537 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13538 `dired-copy-preserve-time' directly.
13539 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13540 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13541
13542 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13543 (dired-virtual-revert, dired-make-relative-symlink):
13544 Mark unused parameters.
13545 (manual-program): Declare.
13546 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13547 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13548 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13549
13550 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13551
13552 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13553
13554 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13555 Declare.
13556
13557 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13558
13559 * electric.el (Electric-command-loop): Rename parameter
13560 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13561
13562 * expand.el (expand-in-literal): Remove unused variable `here'.
13563
13564 * facemenu.el (facemenu-add-new-color):
13565 Remove unused variable `docstring'.
13566
13567 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13568 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13569 (face-attr-construct): Mark unused parameter. Doc fix.
13570 (read-color): Remove unused variable `hex-string'.
13571
13572 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13573 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13574 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13575 (display-buffer-other-frame): Remove unused variable `old-window'.
13576 (kill-buffer-hook): Declare.
13577 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13578 Mark unused parameters.
13579 (after-find-file): Pass 1 to `auto-save-mode', not t.
13580
13581 * files-x.el (auto-insert): Declare.
13582 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13583
13584 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13585 variable `buf'. Mark unused parameter.
06b60517
JB
13586 (find-lisp-insert-directory): Mark unused parameter.
13587
13588 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13589 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13590 (format-common-tail): Remove, unused.
13591 (format-deannotate-region): Remove unused variable `loc'.
13592 (format-annotate-region): Remove unused variable `p'.
13593 (format-annotate-single-property-change): Remove unused variables
13594 `default' and `tail'.
13595
13596 * forms.el (read-file-filter): Declare.
13597 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13598
13599 * frame.el (frame-creation-function-alist): Mark unused parameter.
13600 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13601
13602 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13603 Remove unused parameters.
13604 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13605 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13606
13607 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13608 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13609 (hfy-prepare-tag-map): Mark unused parameters.
13610 (htmlfontify-buffer): Use `called-interactively-p'.
13611
13612 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13613 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13614 (ibuffer-do-occur): Mark unused parameters.
13615 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13616 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13617
13618 * ibuffer.el: Don't quote `lambda'.
13619 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13620 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13621 Mark unused parameters.
13622
13623 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13624 (ido-completing-read): Mark unused parameters.
13625 (ido-copy-current-word): Mark unused parameters;
13626 remove unused variable `name'.
13627 (ido-sort-merged-list): Remove unused parameter `dirs'.
13628
13629 * ielm.el (ielm-input-sender): Mark unused parameter.
13630 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13631 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13632 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13633 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13634 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13635
13636 * image-dired.el (image-dired-display-thumbs): Remove unused
13637 variables `curr-file' and `count'.
13638 (image-dired-remove-tag): Remove unused variable `start'.
13639 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13640 variable `curr-file'
13641 (image-dired-rotate-original): Remove unused variable `temp-file'.
13642 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13643 Remove unused variable `file'.
13644 (image-dired-gallery-generate): Remove unused variable `curr'.
13645 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13646
13647 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13648
13649 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13650
13651 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13652
13653 * isearch.el (minibuffer-history-symbol): Declare.
13654 (isearch-edit-string): Remove unused variable `err'.
13655 (isearch-message-prefix, isearch-message-suffix):
13656 Mark unused parameters.
13657
13658 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13659
13660 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13661
13662 * makesum.el (double-column): Remove unused variable `cnt'.
13663
13664 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13665 (ido-ignore-item-temp-list): Declare.
13666
13667 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13668 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13669 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13670 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13671 `mouse-col-delta'.
13672
13673 * mouse-sel.el (mouse-extend-internal):
13674 Remove unused variable `orig-window-frame'.
13675
13676 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13677 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13678 Move declarations before first use.
13679 (pcomplete-opt): Mark unused parameters; doc fix.
13680
13681 * proced.el (proced-revert): Mark unused parameter.
13682 (proced-send-signal): Remove unused variable `err'.
13683
13684 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13685 Rename parameter PREFIX-ARG to ARG.
13686 (ps-basic-plot-string, ps-basic-plot-whitespace):
13687 Mark unused parameters.
13688
13689 * replace.el (replace-count): Define.
13690 (occur-revert-function): Mark unused parameters.
13691 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13692 (isearch-case-fold-search, isearch-string): Declare.
13693 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13694 bind `case-fold-search'. Remove unused variables `beg' and `end',
13695 and simplify.
13696 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13697 COUNT and bind `replace-count'.
13698 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13699 to COUNT.
13700
13701 * savehist.el (print-readably, print-string-length): Declare.
13702
13703 * shadowfile.el (shadow-expand-cluster-in-file-name):
13704 Remove unused variable `cluster'.
13705 (shadow-copy-file): Remove unused variable `i'.
13706 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13707 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13708 (shadow-define-literal-group, shadow-define-regexp-group)
13709 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13710
13711 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13712 (shell): Use `called-interactively-p'.
13713 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13714
13715 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13716 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13717 (delete-backward-char): Remove unused variable `ocol'.
13718 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13719 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13720 (event-apply-hyper-modifier, event-apply-shift-modifier)
13721 (event-apply-control-modifier, event-apply-meta-modifier):
13722 Mark unused parameters.
13723 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13724 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13725
13726 * speedbar.el (speedbar-ignored-directory-expressions)
13727 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13728 (speedbar-find-file, speedbar-dir-follow)
13729 (speedbar-directory-buttons-follow, speedbar-tag-find)
13730 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13731 (speedbar-buffers-line-directory, speedbar-buffer-click):
13732 Mark unused parameters.
13733 (speedbar-tag-file): Remove unused variable `mode'.
13734 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13735
13736 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13737
13738 * talk.el (talk): Remove unused variable `display'.
13739
13740 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13741 (tar-write-region-annotate): Mark unused parameter.
13742
13743 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13744 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13745 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13746 warning by another.
13747
13748 * time-stamp.el (time-stamp-string-preprocess):
13749 Remove unused variable `require-padding'.
13750
13751 * tree-widget.el (widget-glyph-enable): Declare.
13752 (tree-widget-action): Mark unused parameter.
13753
13754 * w32-fns.el (x-get-selection): Mark unused parameter.
13755 (autoload-make-program, generated-autoload-file): Declare.
13756
13757 * wdired.el (wdired-revert): Mark unused parameters.
13758 (wdired-xcase-word): Remove unused variable `err'.
13759
13760 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13761 (whitespace-help-scroll): Remove unused variable `data-help'.
13762
13763 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13764 (widget-image-insert, widget-after-change, default)
13765 (widget-default-format-handler, widget-default-notify)
13766 (widget-default-prompt-value, widget-info-link-action)
13767 (widget-url-link-action, widget-function-link-action)
13768 (widget-variable-link-action, widget-file-link-action)
13769 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13770 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13771 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13772 (widget-insert-button-action, widget-delete-button-action, visibility)
13773 (widget-documentation-link-action, widget-documentation-string-action)
13774 (widget-const-prompt-value, widget-regexp-match, symbol)
13775 (widget-coding-system-prompt-value)
13776 (widget-key-sequence-value-to-external, sexp)
13777 (widget-sexp-value-to-internal, character, vector, cons)
13778 (widget-choice-prompt-value, widget-boolean-prompt-value)
13779 (widget-color--choose-action): Mark unused parameters.
13780 (widget-item-match-inline, widget-choice-match-inline)
13781 (widget-checklist-match, widget-checklist-match-inline)
13782 (widget-group-match): Rename parameter VALUES to VALS.
13783 (widget-field-value-set): Remove unused variable `size'.
13784 (widget-color-action): Remove unused variables `value' and `start'.
13785
13786 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13787 variable `dir'. Doc fix.
06b60517
JB
13788 (windmove-find-other-window): Don't pass it.
13789
13790 * window.el (count-windows): Mark unused parameter.
13791 (bw-adjust-window): Remove unused variable `err'.
13792
13793 * woman.el (woman-file-name): Remove unused variable `default'.
13794 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13795 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13796 (global-font-lock-mode): Declare.
13797 (woman-decode-region): Mark unused parameter.
13798 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13799
13800 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13801 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13802 (x-dnd-handle-moz-url): Remove unused variable `title'.
13803 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13804
13805 * xml.el (xml-parse-tag, xml-parse-attlist):
13806 Remove unused variable `pos'.
13807
bc4f7f3d
GM
138082011-04-19 Glenn Morris <rgm@gnu.org>
13809
13810 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13811 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13812 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13813 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13814 * calendar/cal-html.el (cal-html-insert-minical):
13815 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13816 (calendar-mark-date-pattern):
13817 Prefix "unused" locals.
13818
13819 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13820 optional argument `style'.
13821
13822 * calendar/appt.el (appt-make-list):
13823 * calendar/cal-china.el (calendar-chinese-date-string):
13824 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13825 (diary-hebrew-yahrzeit):
13826 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13827 * calendar/calendar.el (calendar-generate-window):
13828 * calendar/time-date.el (time-to-days):
13829 Remove unused local variables.
13830
16a43933
CY
138312011-04-18 Chong Yidong <cyd@stupidchicken.com>
13832
13833 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13834 glyphless-char-display table.
13835 (tabulated-list-glyphless-char-display): New var.
13836
7eed1860
SS
138372011-04-18 Sam Steingold <sds@gnu.org>
13838
13839 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13840 to acknowledgments.
13841
4d2d1ccd
GM
138422011-04-17 Glenn Morris <rgm@gnu.org>
13843
13844 * calendar/diary-lib.el (diary-sexp-entry):
13845 * calendar/holidays.el (holiday-sexp):
13846 Set debug-on-error rather than the removed stack-trace-on-error.
13847
239da61d
GM
138482011-04-16 Glenn Morris <rgm@gnu.org>
13849
13850 * progmodes/f90.el: Use lexical-binding.
13851 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13852
8b05752a
SM
138532011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13854
daca8ba5
SM
13855 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13856 (mail-mode): Setup mailalias completion here instead.
13857 * mail/mailalias.el: Use lexical-binding.
13858 (pattern, mailalias-done): Declare dynamic.
13859 (mail-completion-at-point-function): New function, from mail-complete.
13860 (mail-complete): Use it.
13861 (mail-completion-expand): New function.
13862 (mail-get-names): Use it.
13863 (mail-directory, mail-directory-process, mail-directory-stream):
13864 Don't use `pattern' for lexically bound arg.
13865
6f542485
SM
13866 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13867
037e7c3f
SM
13868 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13869 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13870 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13871
8b05752a
SM
13872 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13873 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13874 (byte-interactive-p): Define them again, for use when inlining
13875 old code.
13876
49093f60
JB
138772011-04-15 Juanma Barranquero <lekktu@gmail.com>
13878
13879 * loadup.el: Use `string-to-number', not `string-to-int'.
13880
b5b8e7de
SM
138812011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13882
13883 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13884 gud-gdb-complete-command.
13885 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13886 (gud-gdb-completion-at-point): New function.
13887 (gud-gdb-completions): Remove.
13888
f42efeb5
MA
138892011-04-14 Michael Albinus <michael.albinus@gmx.de>
13890
49093f60
JB
13891 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13892 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13893 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13894 whether `executable-find' is bound.
f42efeb5
MA
13895
13896 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13897
e240cc21
SM
138982011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13899
13900 * minibuffer.el (completion-in-region-mode-predicate)
13901 (completion-in-region-mode--predicate): New vars.
13902 (completion-in-region, completion-in-region--postch)
13903 (completion-in-region-mode): Use them.
13904 (completion--capf-wrapper): Also return the hook function.
13905 (completion-at-point, completion-help-at-point):
13906 Adjust and provide a predicate.
c2bd2ab0
SM
13907
13908 Preserve arg names for advice of subr and lexical functions (bug#8457).
13909 * help-fns.el (help-function-arglist): Consolidate the subr and
13910 new-byte-code cases. Add argument `preserve-names' to extract names
13911 from the docstring when needed.
13912 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13913 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13914 (ad-arglist): Use help-function-arglist's new arg.
13915 (ad-definition-type): Use cond.
13916
c183f693
JB
139172011-04-13 Juanma Barranquero <lekktu@gmail.com>
13918
06641a47
JB
13919 * autorevert.el (auto-revert-handler):
13920 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13921 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13922 Don't quote lambda.
13923
c183f693
JB
13924 * image-mode.el (image-transform-set-scale):
13925 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13926
1e3b6001
G
139272011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13928
13929 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13930 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13931 Upgrades via gnutls-cli are too slow to be done opportunistically.
13932
2d6af8dd
JB
139332011-04-12 Juanma Barranquero <lekktu@gmail.com>
13934
13935 * dframe.el (dframe-current-frame): Remove spurious quote.
13936
c0749a51
GM
139372011-04-12 Glenn Morris <rgm@gnu.org>
13938
088d0d61
GM
13939 * calendar/cal-tex.el (cal-tex-end-document):
13940 Try to automatically use latin1 input if needed.
13941
c0749a51
GM
13942 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13943 Don't try to cons a mark onto an empty element.
13944
5c90fde0
LL
139452011-04-11 Leo Liu <sdl.web@gmail.com>
13946
13947 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13948 buffers.
13949 (ido-kill-buffer-at-head): Support killing virtual buffers.
13950
369e974d
CY
139512011-04-10 Chong Yidong <cyd@stupidchicken.com>
13952
13953 * minibuffer.el (completion-show-inline-help): New var.
13954 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13955 (minibuffer-force-complete, minibuffer-complete-word):
13956 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13957
13958 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13959 to avoid interference from inline help (Bug#5849).
13960
37f1c930
LL
139612011-04-10 Leo Liu <sdl.web@gmail.com>
13962
099c39a4
JB
13963 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13964 Fix typo.
37f1c930 13965
a32d4040
CY
139662011-04-09 Chong Yidong <cyd@stupidchicken.com>
13967
13968 * image-mode.el (image-toggle-display-image): Signal an error if
13969 not in Image mode.
13970 (image-transform-mode, image-transform-resize)
13971 (image-transform-set-rotation): Doc fix.
daca8ba5 13972 (image-transform-set-resize): Delete.
a32d4040
CY
13973 (image-transform-set-scale, image-transform-fit-to-height)
13974 (image-transform-fit-to-width): Handle image-toggle-display-image
13975 and image-transform-resize directly.
13976
099c39a4 139772011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13978
13979 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13980 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13981 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13982 (doc-view-mode-map): Add bindings for the new functions.
13983
099c39a4 139842011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13985
4d61f28d 13986 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13987 Fix typo in docstring.
13988
3726838a
EZ
139892011-04-08 Eli Zaretskii <eliz@gnu.org>
13990
04f33f1e
EZ
13991 * files.el (file-size-human-readable): Produce one digit after
13992 decimal, like "ls -lh" does.
13993
13994 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13995 the file size representation.
13996
3726838a
EZ
13997 * simple.el (list-processes): If async subprocesses are not
13998 available, error out with a clear error message.
13999
cbb59342
CY
140002011-04-08 Chong Yidong <cyd@stupidchicken.com>
14001
14002 * help.el (help-form-show): New function, to be called from C.
14003 Put help-form output in a buffer named differently than *Help*.
14004
e3971c44
EZ
140052011-04-08 Eli Zaretskii <eliz@gnu.org>
14006
14007 * files.el (file-size-human-readable): New function.
14008
14009 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14010 computing the representation inline. Don't require `cl'.
14011
12544bbe
GM
140122011-04-08 Glenn Morris <rgm@gnu.org>
14013
a1de6c6a
GM
14014 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14015
3c4671f4
GM
14016 * net/browse-url.el (browse-url-firefox):
14017 Test system-type, not system-configuration.
14018
b605679c
GM
14019 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14020 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14021 Use log-edit-empty-buffer-p. (Bug#7598)
14022
56442f0c
GM
14023 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14024 (rlogin-mode-map): Initialize in the defvar.
14025 (rlogin): Use ignore-errors.
14026
12544bbe
GM
14027 * replace.el (occur-mode-map): Some fixes for menu items.
14028
eb237b0f
AH
140292011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14030
14031 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14032
7d668f2c
CY
140332011-04-06 Chong Yidong <cyd@stupidchicken.com>
14034
e67a13ab
CY
14035 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14036 issuing unused warnings.
14037
14038 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14039 macro directly.
14040
7d668f2c
CY
14041 * simple.el: Lisp reimplement of list-processes. Based on an
14042 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14043 (process-menu-mode): New major mode.
14044 (list-processes--refresh, list-processes):
14045 (process-menu-visit-buffer): New functions.
14046
14047 * files.el (save-buffers-kill-emacs): Don't assume any return
14048 value of list-processes, which is undocumented anyway.
14049
a83ec3c9
CY
140502011-04-06 Chong Yidong <cyd@stupidchicken.com>
14051
14052 * emacs-lisp/tabulated-list.el: New file.
14053
e91a96fe
CY
14054 * emacs-lisp/package.el: Use Tabulated List mode.
14055 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14056 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14057 table format using Tabulated List mode variables.
14058 (package--push): New macro, replacing package-list-maybe-add.
14059 (package-menu--generate): Use package--push. Renamed from
14060 package--generate-package-list.
14061 (package-menu-refresh, list-packages): Use it.
daca8ba5 14062 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14063 Return insertion data instead of inserting it directly.
099c39a4
JB
14064 (package-menu-describe-package, package-menu-execute):
14065 Use tabulated-list-get-id.
e91a96fe
CY
14066 (package-menu-mark-delete, package-menu-mark-install)
14067 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14068 (package-menu-mark-obsolete-for-deletion):
14069 Use tabulated-list-put-tag.
e91a96fe
CY
14070 (package--list-packages, package-menu-revert)
14071 (package-menu-get-package, package-menu-get-version)
14072 (package-menu-sort-by-column): Functions deleted.
14073 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14074 (package-menu--status-predicate, package-menu--version-predicate)
14075 (package-menu--name-predicate)
14076 (package-menu--description-predicate): Handle arguments in the
14077 Tabulated List format.
14078 (package-list-packages-no-fetch): Call list-packages.
14079
3e214b50
JB
140802011-04-06 Juanma Barranquero <lekktu@gmail.com>
14081
14082 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14083 (after-find-file): Don't bind it.
3e214b50
JB
14084 (revert-buffer-in-progress-p): New variable.
14085 (revert-buffer): Bind it.
14086 Pass nil for `after-find-file-from-revert-buffer'.
14087
14088 * saveplace.el (save-place-find-file-hook): Use new variable
14089 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14090
3f0f1700
GM
140912011-04-06 Glenn Morris <rgm@gnu.org>
14092
c0274801
GM
14093 * Makefile.in (AUTOGEN_VCS): New variable.
14094 (autoloads): Use $AUTOGEN_VCS.
14095
3f0f1700
GM
14096 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14097 * calendar/calendar.el (calendar-mode-map):
14098 Check for toolkit scroll bars. (Bug#8305)
14099
41ea9e48
CY
141002011-04-05 Chong Yidong <cyd@stupidchicken.com>
14101
14102 * minibuffer.el (completion-in-region--postch)
14103 (completion-in-region-mode): Remove unnecessary messages.
14104
6194c800
JB
141052011-04-05 Juanma Barranquero <lekktu@gmail.com>
14106
33256f14
JB
14107 * font-lock.el (font-lock-refresh-defaults):
14108 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14109 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14110
6194c800
JB
14111 * info.el (Info-directory-list, Info-read-node-name-2)
14112 (Info-split-parameter-string): Doc fixes.
14113 (Info-virtual-nodes): Reflow docstring.
14114 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14115 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14116 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14117 Fix typos in docstrings.
14118 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14119 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14120 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14121 (Info-restore-desktop-buffer): Mark unused parameters.
14122 (Info-directory-find-file, Info-directory-find-node)
14123 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14124 (Info-virtual-index-find-node, Info-apropos-find-file)
14125 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14126 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14127 (Info-virtual-index): Remove unused local variable `nodename'.
14128
b87a8200 141292011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14130
b87a8200
DD
14131 * net/rcirc.el: Update my e-mail address.
14132 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14133
3b2ff876
CY
141342011-04-05 Chong Yidong <cyd@stupidchicken.com>
14135
14136 * startup.el (command-line): Save the cursor's theme-face
14137 directly, instead of using face-override-spec.
14138
14139 * custom.el (load-theme): Minor optimization in assigning faces.
14140
8d17e7ca
JB
141412011-04-04 Juanma Barranquero <lekktu@gmail.com>
14142
14143 * help-fns.el (describe-variable): Complete all variables having
14144 documentation, including keywords.
14145 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14146
2fbc1934
JB
141472011-04-04 Juanma Barranquero <lekktu@gmail.com>
14148
14149 Convert to lexical-binding.
14150
14151 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14152 (bs--get-marked-string, bs--get-modified-string)
14153 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14154 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14155 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14156
14157 * ehelp.el (electric-help-execute-extended)
14158 (electric-help-ctrl-x-prefix):
14159 * hexl.el (hexl-revert-buffer-function):
14160 * linum.el (linum-after-change, linum-after-scroll):
14161 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14162
14163 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14164
74f50695
DU
141652011-04-04 Daiki Ueno <ueno@unixuser.org>
14166
14167 * epa-dired.el:
14168 * epa-mail.el:
14169 * epa-hook.el:
14170 * epa-file.el:
14171 * epa.el:
14172 * epg.el: Use lexical binding.
14173
c11325f7
CY
141742011-04-03 Chong Yidong <cyd@stupidchicken.com>
14175
0d9e9a12
CY
14176 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14177
c11325f7 14178 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14179 dictionary case for flyspell-mark-duplications-exceptions.
14180 Use regexp matching for languages.
c11325f7
CY
14181 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14182 default dictionary (Bug#7926).
14183
da91b5f2
CY
141842011-04-02 Chong Yidong <cyd@stupidchicken.com>
14185
099c39a4
JB
14186 * emacs-lisp/package.el (package--with-work-buffer):
14187 Recognize https URLs.
da91b5f2 14188
099c39a4
JB
14189 * net/network-stream.el: Move from gnus/proto-stream.el.
14190 Change prefix to network-stream throughout.
da91b5f2
CY
14191 (open-protocol-stream): Merge into open-network-stream, leaving
14192 open-protocol-stream as an alias. Handle nil BUFFER args.
14193
14194 * subr.el (open-network-stream): Move to net/network-stream.el.
14195
afa8e9f6
GM
141962011-04-02 Glenn Morris <rgm@gnu.org>
14197
1d2e369d
GM
14198 * find-dired.el (find-exec-terminator): New option.
14199 (find-ls-option): Test for -ls support.
14200 (find-ls-subdir-switches): Test for -b in find-ls-option.
14201 (find-dired, find-grep-dired): Doc fixes.
14202 (find-dired): Use find-exec-terminator.
14203
8abb7da8 14204 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14205 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14206 (find-name-arg): Remove purecopy.
8abb7da8 14207
f3ca7378
GM
14208 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14209 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14210 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14211 accordingly. Don't add the null-device if not needed.
14212
afa8e9f6
GM
14213 * files.el (save-some-buffers): Doc fix.
14214
35eae264
EZ
142152011-04-02 Eli Zaretskii <eliz@gnu.org>
14216
14217 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14218
26b51db5
JB
142192011-04-01 Juanma Barranquero <lekktu@gmail.com>
14220
14221 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14222 Use `dolist' rather than `mapcar'.
14223
7200d79c
SM
142242011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14225
03408648 14226 Add lexical binding.
7200d79c 14227
03408648
SM
14228 * subr.el (apply-partially): Use new closures rather than CL.
14229 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14230 (dolist, dotimes): Use slightly different expansion for lexical code.
14231 (functionp): Move to C.
14232 (letrec): New macro.
14233 (with-wrapper-hook): Use it and apply-partially instead of CL.
14234 (eval-after-load): Preserve lexical-binding.
14235 (save-window-excursion, with-output-to-temp-buffer): Turn them
14236 into macros.
7200d79c 14237
03408648
SM
14238 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14239
14240 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14241 than the arglist.
14242 (help-add-fundoc-usage): Don't add `Not documented'.
14243 (help-function-arglist): Handle closures, subroutines, and new
14244 byte-code-functions.
14245 (help-make-usage): Remove leading underscores.
14246 (describe-function-1): Handle closures.
14247 (describe-variable): Use special-variable-p for completion.
14248
14249 * files.el (lexical-binding): Declare safe.
f488fb65 14250
03408648
SM
14251 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14252 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14253 (pcase): Add `let' pattern.
14254 Change memoization so it actually works.
14255 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14256 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14257 <let>: New case.
f488fb65 14258
03408648
SM
14259 * emacs-lisp/macroexp.el: Use lexical binding.
14260 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14261 Don't convert ' to #' without checking that it's indeed quoting
14262 a lambda.
14263
14264 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14265 Use eval-sexp-add-defvars.
03408648
SM
14266 (eval-sexp-add-defvars): New fun.
14267
14268 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14269
14270 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14271 Don't autoload.
14272 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14273 than the internal `byte-compile-lambda'.
14274 (defmethod): Don't hide code under quotes.
14275 (eieio-defmethod): New `code' argument.
14276
14277 * emacs-lisp/eieio-comp.el: Remove.
14278
14279 * emacs-lisp/edebug.el (edebug-eval-defun)
14280 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14281 (edebug-toggle): Avoid `eval'.
14282
14283 * emacs-lisp/disass.el (disassemble-internal): Handle new
14284 `closure' objects.
14285 (disassemble-1): Handle new byte codes.
14286
14287 * emacs-lisp/cl.el (pushnew): Silence warning.
14288
14289 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14290 (cl-byte-compile-throw): Remove.
14291 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14292
14293 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14294 closures.
14295
14296 * emacs-lisp/cconv.el: New file.
14297
14298 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14299 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14300 (byte-compile-initial-macro-environment):
14301 Handle declare-function here.
14302 (byte-compile--lexical-environment): New var.
14303 (byte-stack-ref, byte-stack-set, byte-discardN)
14304 (byte-discardN-preserve-tos): New lap codes.
14305 (byte-interactive-p): Don't use any more.
14306 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14307 New macros.
14308 (byte-compile-lapcode): Use them and handle new lap codes.
14309 (byte-compile-obsolete): Remove.
14310 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14311 (byte-compile-arglist-warn): Check late def of inlinable funs.
14312 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14313 since they should have been expanded by now.
14314 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14315 (byte-compile-from-buffer): Remove unused second arg.
14316 (byte-compile-preprocess): New function.
14317 (byte-compile-toplevel-file-form): New function to distinguish
14318 file-form calls from outside from file-form calls from hunk-handlers.
14319 (byte-compile-file-form): Simplify.
14320 (byte-compile-file-form-defsubst): Remove.
14321 (byte-compile-file-form-defmumble): Simplify now that
14322 byte-compile-lambda always returns a byte-code-function.
14323 (byte-compile): Preprocess.
14324 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14325 Remove, not used any more.
14326 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14327 (byte-compile-make-args-desc): New funs.
14328 (byte-compile-lambda): Handle lexical functions. Always return
14329 a byte-code-function.
14330 (byte-compile-reserved-constants): New var, to make up room for
14331 closed-over variables.
14332 (byte-compile-constants-vector): Obey it.
14333 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14334 (byte-compile-macroexpand-declare-function): New function.
14335 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14336 byte-code-functions.
14337 (byte-compile-form): Check obsolescence here.
14338 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14339 (byte-compile-variable-ref): Remove.
14340 (byte-compile-dynamic-variable-op): New fun.
14341 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14342 (byte-compile-variable-set): New funs.
14343 (byte-compile-discard): Add 2 args.
14344 (byte-compile-stack-ref, byte-compile-stack-set)
14345 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14346 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14347 macroexpand-all instead.
14348 (byte-compile-quote-form): Remove.
14349 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14350 (byte-compile-bind, byte-compile-unbind): New funs.
14351 (byte-compile-let): Handle let* and lexical binding.
14352 (byte-compile-let*): Remove.
14353 (byte-compile-catch, byte-compile-unwind-protect)
14354 (byte-compile-track-mouse, byte-compile-condition-case):
14355 Handle a new :fun-body form, used for lexical scoping.
14356 (byte-compile-save-window-excursion)
14357 (byte-compile-with-output-to-temp-buffer): Remove.
14358 (byte-compile-defun): Simplify.
14359 (byte-compile-stack-adjustment): New fun.
14360 (byte-compile-out): Use it.
14361 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14362
14363 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14364 handler any more.
14365
14366 * emacs-lisp/byte-opt.el: Use lexical binding.
14367 (byte-inline-lapcode): Remove (to bytecomp).
14368 (byte-compile-inline-expand): Pay attention to inlining to/from
14369 lexically bound code.
14370 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14371 any more.
14372 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14373 any more and don't call compiler-macros.
14374 (byte-compile-splice-in-already-compiled-code): Remove.
14375 (byte-code): Don't inline any more.
14376 (disassemble-offset): Receive `bytes' as argument rather than via
14377 dynamic scoping.
14378 (byte-compile-tag-number): Declare before first use.
14379 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14380 `return' even if make-spliceable.
14381 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14382 obsolete interactive-p.
14383 (byte-optimize-lapcode): Optimize new lap-codes.
14384 Don't trip up on new form of `byte-constant' lap code.
14385
14386 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14387
14388 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14389
14390 * custom.el (custom-initialize-default, custom-declare-variable):
14391 Use `defvar'.
14392
14393 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14394 New variables.
14395 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14396 (COMPILE_FIRST): Add macroexp and cconv.
14397 * makefile.w32-in: Mirror changes in Makefile.in.
14398
14399 * vc/cvs-status.el:
14400 * vc/diff-mode.el:
14401 * vc/log-edit.el:
14402 * vc/log-view.el:
14403 * vc/smerge-mode.el:
14404 * textmodes/bibtex-style.el:
14405 * textmodes/css.el:
14406 * startup.el:
14407 * uniquify.el:
da91b5f2
CY
14408 * minibuffer.el:
14409 * newcomment.el:
14410 * reveal.el:
14411 * server.el:
14412 * mpc.el:
14413 * emacs-lisp/smie.el:
14414 * doc-view.el:
14415 * dired.el:
03408648
SM
14416 * abbrev.el: Use lexical binding.
14417
0f0c1f27
EZ
144182011-04-01 Eli Zaretskii <eliz@gnu.org>
14419
14420 * info.el (info-display-manual): New function.
14421
c82b2579
SM
144222011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14425
221ddf68
TH
144262011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14427
14428 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14429 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14430
cba6e77e
GM
144312011-03-31 Glenn Morris <rgm@gnu.org>
14432
e040639f
GM
14433 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14434
cba6e77e
GM
14435 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14436
6d0f1c9e
CS
144372011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14438
14439 * progmodes/python.el (python-default-interpreter)
14440 (python-python-command-args, python-jython-command-args)
14441 (python-which-shell, python-which-args, python-which-bufname)
14442 (python-file-queue, python-comint-output-filter-function)
14443 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14444 variables and functions.
14445
3e2d70fd
SM
144462011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14449 (completion-in-region-mode): New minor mode.
14450 (completion-in-region): Use it.
14451 (completion-in-region--data, completion-in-region-mode-map): New vars.
14452 (completion-in-region--postch): New function.
14453 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14454 New vars.
14455 (completion--capf-wrapper): New function.
14456 (completion-at-point): Use it to track well-behavedness of
14457 hook functions.
14458 (completion-help-at-point): New command.
14459
f3e4086c
JM
144602011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14461
14462 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14463 syntax class to search for whitespace on a single line
14464 (Message-ID: <4D938140.4030905@redhat.com>).
14465
eb7ffc14
LL
144662011-03-30 Leo Liu <sdl.web@gmail.com>
14467
14468 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14469 New commands.
14470 (edit-abbrevs-map): Bind them here.
14471 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14472
d806ab68
KM
144732011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14474
14475 * allout.el (allout-hide-by-annotation, allout-flag-region):
14476 Reduce possibility of overlay leakage by making them volatile.
14477
14478 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14479 hash is not shared between buffers. Mode initialization is
14480 responsible for giving it a useful starting value.
14481 (allout-item-span): Reduce possibility of overlay leakage by
14482 making them volatile.
14483 (allout-widgets-count-buttons-in-region): Add diagnostic function
14484 for tracking down button overlay leaks.
14485
ea622834
LL
144862011-03-29 Leo Liu <sdl.web@gmail.com>
14487
14488 * ido.el (ido-read-internal): Use the default history var
14489 minibuffer-history if no HISTORY is specified.
14490
b62f8267
G
144912011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14492
03408648
SM
14493 * net/imap.el (imap-shell-open, imap-process-connection-type):
14494 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14495 Kerberos, SSL, other subprocesses.
14496
947b6566
LL
144972011-03-28 Leo Liu <sdl.web@gmail.com>
14498
14499 * abbrev.el (abbrev-table-empty-p): New function.
14500 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14501 nonempty ones. (Bug#5937)
14502
5ffb62aa
JD
145032011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14504
14505 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14506
7a097943
LL
145072011-03-27 Leo Liu <sdl.web@gmail.com>
14508
14509 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14510 for foreground and background colors.
14511 (ansi-color-make-color-map): Adapt.
14512
c5b40130
LL
145132011-03-25 Leo Liu <sdl.web@gmail.com>
14514
1f48f7d2
LL
14515 * midnight.el (midnight-time-float): Remove. Note it calculates
14516 the microsecond component incorrectly and seconds-to-time does the
14517 same job.
625897ec 14518 Remove redundant (require 'timer).
1f48f7d2 14519
c5b40130
LL
14520 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14521 (ido-completions): Remove unused arguments. (Bug#8329)
14522
d86d2721
SM
145232011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * minibuffer.el (completion--flush-all-sorted-completions):
14526 Remove itself from hook.
14527 (completion-at-point): Let the functions perform the completion
14528 immediately and return nil or t.
14529 * comint.el (comint-dynamic-complete-functions): Now identical to
14530 completion-at-point-functions.
14531 (comint-dynamic-list-input-ring): Remove unused var `index'.
14532 (comint--match-partial-filename, comint--unquote&expand-filename):
14533 New funs, split from comint-match-partial-filename.
14534 (comint-dynamic-complete): Use completion-at-point.
14535 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14536
e8974c48
DA
145372011-03-24 Drew Adams <drew.adams@oracle.com>
14538
14539 * thingatpt.el: Support `defun'.
14540
def71b5e
LL
145412011-03-23 Leo Liu <sdl.web@gmail.com>
14542
cb5af48e
LL
14543 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14544
def71b5e
LL
14545 * help-mode.el (help-mode-finish): Tweak regexp.
14546
927c53e7
GM
145472011-03-23 Glenn Morris <rgm@gnu.org>
14548
18d05bed
GM
14549 * eshell/esh-opt.el (eshell-eval-using-options):
14550 Do not bind unused local variable `eshell-option-stub'.
14551
927c53e7
GM
14552 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14553
9d0da923
JB
145542011-03-22 Juanma Barranquero <lekktu@gmail.com>
14555
14556 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14557 keymap variable in `with-no-warnings' to avoid a warning when the
14558 keymap has been already `defconst'ed.
14559
4b978a67
LL
145602011-03-22 Leo Liu <sdl.web@gmail.com>
14561
14562 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14563 encode all chars in abbrevs; otherwise use emacs-mule or
14564 utf-8-emacs. (Bug#8308)
14565
5fd62452
JB
145662011-03-22 Juanma Barranquero <lekktu@gmail.com>
14567
0b1596c6
JB
14568 * simple.el (backward-delete-char-untabify):
14569 Avoid warning about using `delete-backward-char'.
14570
5fd62452
JB
14571 * image.el (image-type-file-name-regexps): Make it variable.
14572 `imagemagick-register-types' modifies it, and the user may want
14573 to add new extensions for known image types.
14574 (imagemagick-register-types): Throw error if not using ImageMagick.
14575
0b4e93f1
LL
145762011-03-22 Leo Liu <sdl.web@gmail.com>
14577
14578 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14579 located before rcirc-prompt-end-marker.
14580 (rcirc-complete): Error if point is not after rcirc prompt.
14581 Handle the case when table is nil.
9882e214 14582 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14583
fccee4ab
CY
145842011-03-22 Chong Yidong <cyd@stupidchicken.com>
14585
14586 * custom.el (custom--inhibit-theme-enable): Make it affect only
14587 custom-theme-set-variables and custom-theme-set-faces.
14588 (provide-theme): Ignore custom--inhibit-theme-enable.
14589 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14590 (custom-enabling-themes): Delete variable.
d86d2721
SM
14591 (enable-theme): Accept only loaded themes as arguments.
14592 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14593 (custom-enabled-themes): Forbid themes from setting this.
14594 Eliminate use of custom-enabling-themes.
14595 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14596
af896da6
LL
145972011-03-21 Leo Liu <sdl.web@gmail.com>
14598
14599 * ido.el (ido-read-internal): Add ido-selected to history instead
14600 of user input.
14601
78f64af0
SM
146022011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14603
14604 * subr.el (deferred-action-list, deferred-action-function):
14605 Mark obsolete.
14606
b16ac1ec
LL
146072011-03-21 Leo Liu <sdl.web@gmail.com>
14608
810f7698
LL
14609 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14610 change on 2011-02-13 (bug#8309).
14611
b16ac1ec
LL
14612 * minibuffer.el (read-file-name-function): Change default value.
14613 (read-file-name--defaults): Rename from read-file-name-defaults.
14614 (read-file-name-default): Rename from read-file-name.
14615 (read-file-name): Call read-file-name-function.
14616
4e05e67e
GM
146172011-03-21 Glenn Morris <rgm@gnu.org>
14618
14619 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14620 Doc fixes.
14621
4359915b
CY
146222011-03-21 Chong Yidong <cyd@stupidchicken.com>
14623
14624 * cus-theme.el: Add missing provide statement.
14625 (customize-create-theme): Extract theme value correctly.
14626 (custom-theme-visit-theme): Autoload.
14627 (customize-create-theme): Prompt before inserting default faces.
14628
1fe275ee
JB
146292011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14630
14631 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14632 units and musical notes.
14633
cd394be1 146342011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14635
14636 * ido.el (ido-read-internal): Use completing-read-default.
14637 (ido-completing-read): Fix compatibility with completing-read.
14638
7d476bde
CO
146392011-03-20 Christian Ohler <ohler@gnu.org>
14640
14641 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14642 (ert-delete-all-tests): Use `called-interactively-p' rather than
14643 `interactive-p'.
14644 (ert--make-xrefs-region): Respect END.
14645
fe0fb33e
CY
146462011-03-19 Chong Yidong <cyd@stupidchicken.com>
14647
ff854b0b
CY
14648 * dired-aux.el (dired-create-directory): Signal an error if the
14649 directory already exists (Bug#8246).
14650
fe0fb33e
CY
14651 * facemenu.el (list-colors-display): Call list-faces-display
14652 inside with-help-window.
14653 (list-colors-print): Use display property to align the final
14654 column, instead of checking window-width.
14655
576bce32
EZ
146562011-03-19 Eli Zaretskii <eliz@gnu.org>
14657
4d61f28d 14658 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14659 windows-nt systems.
14660 (emerge-protect-metachars): Quote correctly for ms-dos and
14661 windows-nt systems.
14662
89c41d68 146632011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14664
14665 * info.el (info-initialize): Replace all uses of `:' with
14666 path-separator for compatibility with non-Unix systems.
14667 Cache quoting of path-separator. (Bug#8258)
14668
b14e3e21 146692011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14670
14671 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14672 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14673 (mouse-avoidance-mode): Fix typos in docstrings.
14674
4525ce3e
CY
146752011-03-19 Chong Yidong <cyd@stupidchicken.com>
14676
14677 * startup.el (package-subdirectory-regexp): Move from package.el.
14678 Omit \\` and \\', and let callers add them.
14679
14680 * emacs-lisp/package.el (package-strip-version)
14681 (package-load-all-descriptors): Add \\` and \\' to
14682 package-subdirectory-regexp before using it.
14683 (package-untar-buffer): New arg DIR; ensure that file untars only
14684 into this expected directory. Remove superfluous delete-region.
14685 (package-unpack): Caller changed.
14686 (package-tar-file-info): Use package-subdirectory-regexp.
14687
a904a09a 146882011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14689
a904a09a
SM
14690 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14691 diff-mode-shared-map (bug#8284).
14692 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14693
146942011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14695
14696 * calendar/time-date.el (format-seconds): Use assoc instead of
14697 assoc-string, since assoc-string doesn't exist in XEmacs.
14698
171fc304
JB
146992011-03-17 Juanma Barranquero <lekktu@gmail.com>
14700
14701 * custom.el (custom-known-themes): Reflow docstring.
14702 (custom-theme-load-path): Fix typo in docstring.
14703 (load-theme): Fix typo in error message.
14704 (custom-available-themes, custom-variable-theme-value):
14705 Use `let', not `let*'.
14706
d71990a1
JB
147072011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14708
14709 * calc/README: Mention inclusion of musical notes.
14710
14711 * calc/calc-units.el (calc-lu-quant): Rename from
14712 `calc-logunits-quantity'.
14713 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14714 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14715 (calc-db): Rename from `calc-dblevel'.
14716 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14717 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14718 (calc-np): Rename from `calc-nplevel'.
14719 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14720 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14721 (calc-lu-plus): Rename from `calc-logunits-add'.
14722 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14723 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14724 (calc-lu-minus): Rename from `calc-logunits-sub'.
14725 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14726 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14727 (calc-lu-times): Rename from `calc-logunits-mul'.
14728 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14729 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14730 (calc-lu-divide): Rename from `calc-logunits-div'.
14731 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14732 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14733
14734 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14735 functions being autoloaded.
14736
14737 * calc/calc.el (calc-lu-power-reference): Rename from
14738 `calc-logunits-power-reference'.
14739 (calc-lu-field-reference): Rename from
14740 `calc-logunits-field-reference'.
14741
7a71b18d
GM
14742 * calc/calc-help.el (calc-l-prefix-help):
14743 Mention musical note functions.
d71990a1 14744
40c2934b
SM
147452011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14746
14747 * minibuffer.el (completion-all-sorted-completions):
14748 Use :completion-cycle-penalty text property if present.
14749
b0911414
KM
147502011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14751
14752 * allout.el (allout-yank-processing): Adjust for new rebulleting
14753 regime so bullet being yanked is used without prompting the user
14754 for a choice.
14755
8a05b668
JB
147562011-03-16 Juanma Barranquero <lekktu@gmail.com>
14757
14758 * startup.el (command-line): Warn the user that _emacs is deprecated.
14759
5ba5fb81
JB
147602011-03-16 Juanma Barranquero <lekktu@gmail.com>
14761
14762 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14763 (delphi-verbose, delphi-comment-face, delphi-string-face)
14764 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14765 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14766 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14767 (delphi-new-comment-line, delphi-font-lock-defaults)
14768 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14769 Fix typos in docstrings.
14770
2dab465b
KM
147712011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14772
5ba5fb81 14773 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14774 Invert the roles of character and string values for INSTEAD, so a
14775 string is used for the more common case of a defaulting prompt.
14776
0adf5618
SM
147772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14778
14779 * progmodes/ruby-mode.el (ruby-backward-sexp):
14780 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14781 * play/gamegrid.el (gamegrid-make-face):
14782 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14783 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14784 * notifications.el (notifications-notify):
14785 * net/xesam.el (xesam-search-engines):
14786 * net/quickurl.el (quickurl-list-insert):
14787 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14788
d72700e5
CY
147892011-03-15 Chong Yidong <cyd@stupidchicken.com>
14790
14791 * startup.el (command-line): Update package subdirectory regexp.
14792
49c5410a
SM
147932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14794
c6eee9aa
SM
14795 * allout.el (allout-abbreviate-flattened-numbering)
14796 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14797
49c5410a
SM
14798 * subr.el (read-char-choice): Only show the cursor after the prompt,
14799 not after the answer.
14800
047b2bb9
KR
148012011-03-15 Kevin Ryde <user42@zip.com.au>
14802
14803 * help-fns.el (variable-at-point): Skip leading quotes, if any
14804 (bug#8253).
14805
0a57d256
SM
148062011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14807
14808 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14809 warning message.
14810
77c992bc
MA
148112011-03-14 Michael Albinus <michael.albinus@gmx.de>
14812
14813 * shell.el (shell): When called interactively, offer to change the
14814 shell file name on remote hosts.
14815
eebc475d
TZ
148162011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14817
14818 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14819 integration for LDAP parameters. The host, base, user or binddn,
14820 and secret tokens can be specified in a netrc file, for instance.
14821 This is optional because an `auth-source' parameter must be
14822 specified in the search attributes.
14823
9d05d1ba
JB
148242011-03-13 Juanma Barranquero <lekktu@gmail.com>
14825
14826 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14827
09d9db2c
GM
148282011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14829
14830 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14831 into declaration. Remove redundant and harmful binding.
14832
148332011-03-12 Eli Zaretskii <eliz@gnu.org>
14834
14835 * files.el (file-ownership-preserved-p): Pass `integer' as an
14836 explicit 2nd argument to `file-attributes'. If the file's owner
14837 is the Administrators group on Windows, and the current user is
14838 Administrator, consider that a match.
14839
14840 * server.el (server-ensure-safe-dir): Consider server directory
14841 safe on MS-Windows if its owner is the Administrators group while
14842 the current Emacs user is Administrator. Use `=' to compare
14843 numerical UIDs, since they could be integers or floats.
14844
219bd536
JB
148452011-03-12 Juanma Barranquero <lekktu@gmail.com>
14846
14847 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14848
f3afd36b
MA
148492011-03-12 Michael Albinus <michael.albinus@gmx.de>
14850
14851 Sync with Tramp 2.2.1.
14852
14853 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14854
14855 * net/trampver.el: Update release number.
14856
3aaaa6f1
SM
148572011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14858
94642599
SM
14859 * progmodes/compile.el (compilation--previous-directory): Fix up
14860 various nil/dead-marker mismatches (bug#8014).
14861 (compilation-directory-properties, compilation-error-properties):
14862 Don't call it at a position past the one we're about to change.
14863
3aaaa6f1
SM
14864 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14865 Disable obsolescence warnings in the file that declares it.
14866
14239447
KM
148672011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14868
099c39a4
JB
14869 * allout-widgets.el (allout-widgets-tally):
14870 Initialize allout-widgets-tally as a hash table rather than nil to
14871 prevent mode-line redisplay warnings. Also, clarify the module
14872 description and fix a comment typo.
14239447 14873
135e287c
JB
148742011-03-11 Juanma Barranquero <lekktu@gmail.com>
14875
14876 * help-fns.el (describe-variable): Don't complete keywords.
14877 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14878
ffbf300e
CY
148792011-03-10 Chong Yidong <cyd@stupidchicken.com>
14880
ba08b241
CY
14881 * emacs-lisp/package.el (package-version-join): Impose a standard
14882 string representation for pre/alpha/beta version lists.
14883 (package-unpack-single): Standardize the directory name by passing
14884 it through package-version-join.
14885 (package-strip-rcs-id): Accept any version string that does not
14886 signal an error in version-to-list.
ffbf300e 14887
f346fd6b
MA
148882011-03-10 Michael Albinus <michael.albinus@gmx.de>
14889
14890 * simple.el (delete-trailing-whitespace): Return nil for the
14891 benefit of `write-file-functions'.
14892
ccb55d27
GM
148932011-03-10 Glenn Morris <rgm@gnu.org>
14894
5ceaac0c
GM
14895 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14896
02da65ff
GM
14897 * vc/vc-git.el (vc-git-program): New option.
14898 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14899 (vc-git--call): Use it.
14900
b2f603cc
GM
14901 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14902
5772caab
GM
14903 * cus-edit.el (Custom-newline): If no button at point, look
14904 for a subgroup button at start-of-line. (Bug#2298)
14905
ccb55d27
GM
14906 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14907
ec6ecaed
JD
149082011-03-10 Julien Danjou <julien@danjou.info>
14909
14910 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14911 `cursor-type' is nil.
14912
9d5aa01d
JB
149132011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14914
14915 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14916
b6a5875b
KM
149172011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14918
7a71b18d 14919 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14920 preserves the existing header prefix, rebulleting it if necessary,
14921 rather than replacing it. This is necessary for proper operation
14922 of cooperative addons like allout-widgets.
1154d12e
JB
14923 (allout-make-topic-prefix, allout-rebullet-heading):
14924 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14925 value as alternate bullet to be used, instead of prompting the user
14926 for a bullet character.
b6a5875b 14927
ee545c35
MA
149282011-03-09 Michael Albinus <michael.albinus@gmx.de>
14929
d86d2721
SM
14930 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14931 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14932 `tramp-default-port'.
14933
c47971d7
DD
149342011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14935
14936 * net/rcirc.el (rcirc-handler-001): Remove useless
14937 with-rcirc-process-buffer.
14938 (rcirc-check-auth-status): Swap arguments to string-match.
14939
13522cb4
GM
149402011-03-09 Glenn Morris <rgm@gnu.org>
14941
0be6f4f1
GM
14942 * shell.el (shell-mode):
14943 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14944
13522cb4
GM
14945 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14946 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14947
515de2e3
CY
149482011-03-08 Chong Yidong <cyd@stupidchicken.com>
14949
14950 * emacs-lisp/package.el (package-refresh-contents)
14951 (package-menu-execute): Use condition-case-no-debug.
14952
b511b994
MA
149532011-03-08 Michael Albinus <michael.albinus@gmx.de>
14954
14955 * simple.el (shell-command-to-string): Use `process-file'.
14956
14957 * emacs-lisp/package.el (package-tar-file-info): Handle also
14958 remote files.
14959
d86d2721
SM
14960 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14961 Use `equal' for upload base check.
b511b994 14962
25bbfb31
AM
149632011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14964
14965 * textmodes/texinfo.el (texinfo-environments):
14966 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14967
be996521
GM
149682011-03-08 Glenn Morris <rgm@gnu.org>
14969
e9c8529f
GM
14970 * cus-start.el (cursor-in-non-selected-windows):
14971 Fix :set quoting oddness. (Bug#8192)
14972
be996521
GM
14973 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14974 in some setf expressions. (Bug#2159)
14975
2bb5649e
CY
149762011-03-08 Chong Yidong <cyd@stupidchicken.com>
14977
14978 * custom.el (custom-available-themes): Return themes in
14979 alphabetical order.
14980
33383987 14981See ChangeLog.15 for earlier changes.
e3d51b27
MR
14982
14983;; Local Variables:
14984;; coding: utf-8
e3d51b27
MR
14985;; End:
14986
acaf905b 14987 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14988
14989 This file is part of GNU Emacs.
14990
14991 GNU Emacs is free software: you can redistribute it and/or modify
14992 it under the terms of the GNU General Public License as published by
14993 the Free Software Foundation, either version 3 of the License, or
14994 (at your option) any later version.
14995
14996 GNU Emacs is distributed in the hope that it will be useful,
14997 but WITHOUT ANY WARRANTY; without even the implied warranty of
14998 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14999 GNU General Public License for more details.
15000
15001 You should have received a copy of the GNU General Public License
15002 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.