Merge bugfixes done in Gnus trunk
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f80efb86
SM
12012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9
31ca4639 102012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 11
31ca4639
CY
12 * mail/rmail.el (rmail-yank-current-message): Leave point at
13 correct position. (Bug#11660)
94f0aa34 14
31ca4639 152012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 16
31ca4639 17 * allout-widgets.el: Fix code header.
9e1b8ec4 18
31ca4639 192012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 20
f80efb86
SM
21 * cus-edit.el (customize-changed-options-previous-release):
22 Bump to 24.1.
31ca4639 23
642b6d30
AS
242012-06-09 Andreas Schwab <schwab@linux-m68k.org>
25
26 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
27
4f5d2ba1
CY
282012-06-09 Chong Yidong <cyd@gnu.org>
29
30 * ebuff-menu.el (electric-buffer-list): Preserve header line.
31
e75852fd
MR
322012-06-09 Martin Rudalics <rudalics@gmx.at>
33
34 * window.el (special-display-popup-frame): Don't use
35 window--display-buffer (Bug#11651).
36
1e48e282
EZ
372012-06-09 Eli Zaretskii <eliz@gnu.org>
38
8a26b487
EZ
39 Fix parallel builds: make sure loaddefs.el is not being written
40 while Lisp files are compiled.
41 (compile): Don't depend on 'mh-autoloads'.
42 (compile-CMD, compile-SH): Depend on 'autoloads'.
43 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
44
1e48e282
EZ
45 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
46
6175e34b
CY
472012-06-09 Chong Yidong <cyd@gnu.org>
48
49 * face-remap.el (face-remap-add-relative, face-remap-set-base)
50 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
51 Doc fixes (Bug#11225).
52
d9857e53
SM
532012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
56 a function if there's a clear indication that it has a compiler-macro.
57 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
58 (macro-declarations-alist): Add arglist to declaration functions.
59 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
60 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
61 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
62 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
63 Also add autoload to find the compiler macro.
64 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
65 (cl--compiler-macro-member, cl--compiler-macro-assoc)
66 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
67 (cl--compiler-macro-get): New functions, replacing calls to
68 cl-define-compiler-macro.
69 (cl-typep) [compiler-macro]: Use macroexp-let².
70
f81298f8 712012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
72
73 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
74 string properly, fixes Bug#11473.
75
4b56d0fe
CY
762012-06-08 Chong Yidong <cyd@gnu.org>
77
78 * faces.el (set-face-attribute): Doc fix.
79 (modify-face): Don't use :bold and :italic.
80 (error, warning, success): Tweak definitions.
81
82 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
83 (custom-modified, custom-set, custom-changed, custom-themed)
84 (custom-saved, custom-button, custom-button-mouse)
85 (custom-button-pressed, custom-state, custom-comment-tag)
86 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
87 (custom-group-subtitle): Use new-style face specs.
88 (custom-invalid-face, custom-rogue-face, custom-modified-face)
89 (custom-set-face, custom-changed-face, custom-saved-face)
90 (custom-button-face, custom-button-pressed-face)
91 (custom-documentation-face, custom-state-face)
92 (custom-comment-face, custom-comment-tag-face)
93 (custom-variable-tag-face, custom-variable-button-face)
94 (custom-face-tag-face, custom-group-tag-face-1)
95 (custom-group-tag-face): Remove obsolete face alias.
96
97 * epa.el (epa-validity-high, epa-validity-medium)
98 (epa-validity-low, epa-mark, epa-field-name, epa-string)
99 (epa-field-name, epa-field-body):
100 * font-lock.el (font-lock-comment-face, font-lock-string-face)
101 (font-lock-keyword-face, font-lock-builtin-face)
102 (font-lock-function-name-face, font-lock-variable-name-face)
103 (font-lock-type-face, font-lock-constant-face):
104 * ido.el (ido-first-match, ido-only-match, ido-subdir)
105 (ido-virtual, ido-indicator, ido-incomplete-regexp):
106 * speedbar.el (speedbar-button-face, speedbar-file-face)
107 (speedbar-directory-face, speedbar-tag-face)
108 (speedbar-selected-face, speedbar-highlight-face)
109 (speedbar-separator-face):
110 * whitespace.el (whitespace-newline, whitespace-space)
111 (whitespace-hspace, whitespace-tab, whitespace-trailing)
112 (whitespace-line, whitespace-space-before-tab)
113 (whitespace-space-after-tab, whitespace-indentation)
114 (whitespace-empty):
115 * emulation/cua-base.el (cua-global-mark):
116 * eshell/em-prompt.el (eshell-prompt):
117 * net/newst-plainview.el (newsticker-new-item-face)
118 (newsticker-old-item-face, newsticker-immortal-item-face)
119 (newsticker-obsolete-item-face, newsticker-date-face)
120 (newsticker-statistics-face, newsticker-default-face):
121 * net/newst-reader.el (newsticker-feed-face)
122 (newsticker-extra-face, newsticker-enclosure-face):
123 * net/newst-treeview.el (newsticker-treeview-face)
124 (newsticker-treeview-new-face, newsticker-treeview-old-face)
125 (newsticker-treeview-immortal-face)
126 (newsticker-treeview-obsolete-face)
127 (newsticker-treeview-selection-face):
128 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
129 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
130 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
131 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
132 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
133 (nxml-outline-active-indicator, nxml-outline-ellipsis):
134 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
135 (mpuz-text):
136 * progmodes/vera-mode.el (vera-font-lock-number)
137 (vera-font-lock-function, vera-font-lock-interface):
138 * textmodes/table.el (table-cell): Use new-style face specs, and
139 don't use the old :bold and :italic attributes.
140
141 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
142 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
143 (ebrowse-member-class, ebrowse-progress): Likewise.
144 (ebrowse-tree-mark-face, ebrowse-root-class-face)
145 (ebrowse-file-name-face, ebrowse-default-face)
146 (ebrowse-member-attribute-face, ebrowse-member-class-face)
147 (ebrowse-progress-face): Remove obsolete faces.
148
149 * progmodes/flymake.el (flymake-errline, flymake-warnline):
150 Inherit from error and warning faces respectively.
151
152 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
153 Likewise.
f80efb86
SM
154 (flyspell-incorrect-face, flyspell-duplicate-face):
155 Remove obsolete aliases.
4b56d0fe 156
03310646
MA
1572012-06-08 Michael Albinus <michael.albinus@gmx.de>
158
159 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
160 Avoid infloop.
161
513749ee
SM
1622012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * startup.el (argv, argi): Make lexically scoped.
165 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
166 * emacs-lisp/cl-macs.el: Use lexical-binding.
167 Rename cl-bind-* to cl--bind-*.
168 * files.el: Don't require `cl' since it doesn't use it.
169 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
170
595ef4ad
JB
1712012-06-08 Juanma Barranquero <lekktu@gmail.com>
172
173 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
174 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
175 instead of calling external sort utility.
176 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
177
e9f66fcb
EZ
1782012-06-08 Eli Zaretskii <eliz@gnu.org>
179
180 * descr-text.el (describe-char): Mention how to insert the
181 character, if the current input method doesn't support it.
182 See the discussion in this thread for the details:
183 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
184
3d10db47
SS
1852012-06-08 Sam Steingold <sds@gnu.org>
186
187 * bindings.el (global-map): Bind XF86Forward to next-buffer and
188 XF86Back to previous-buffer.
189 (minibuffer-local-map): Bind them to next-history-element and
190 previous-history-element respectively.
191 * help-mode.el (help-mode-map): Bind them to help-go-forward and
192 help-go-back respectively.
193 * info.el (Info-mode-map): Bind them to Info-history-forward and
194 Info-history-back respectively.
195 These are the keys next to Up on the ThinkPad keyboard.
196
de7e2b36
SM
1972012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
200 * emacs-lisp/cl-macs.el: Provide itself.
201 (cl--labels-convert-cache): New var.
202 (cl--labels-convert): New function.
203 (cl-flet, cl-labels): New implementation with new semantics, relying on
204 lexical-binding.
205 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
206 (cl-closure-vars, cl--function-convert-cache)
207 (cl--function-convert): Move from cl-macs.el.
208 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
209 rename by removing the "cl-" prefix.
210 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
211
6fa6c4ae
SM
2122012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
215 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
216 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
217 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
218 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
219 (cl-hash-table-count): Add old compatibility aliases.
220
221 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
222 Use macroexpand-all-environment instead.
223 (cl--old-macroexpand): New var.
224 (cl--sm-macroexpand): New function.
225 (cl-symbol-macrolet): Use it during macro expansion.
226 (cl--function-convert-cache): New var.
227 (cl--function-convert): New function, extracted from
228 cl-macroexpand-all.
229 (cl-lexical-let): Use it.
230
231 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
232 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
233 (cl-member): Remove old alias.
234
235 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
236 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
237 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
238 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
239 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
240 (cl-macroexpand-cmacs): Remove var.
241 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
242 Use macroexpand-all instead.
243
4dd1c416
SM
2442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
247 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
248 (macroexp-copyable-p): New functions and macros.
249 * emacs-lisp/edebug.el (edebug-unwrap):
250 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
251 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
252 (pcase--let*): Remove.
253 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
254 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
255 macroexp-const-p instead.
256 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
257
258 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
259 instead of "cl-" for internal definitions. Use macroexp-const-p.
260 (cl-old-bc-file-form): Remove var.
261 (cl-const-exprs-p): Remove fun.
262 (cl-labels, cl-macrolet): Use backquote.
263 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
264 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
265 (cl-define-setf-expander): Rename from cl-define-setf-method.
266 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
267
268 * international/mule-cmds.el: Don't require CL.
269 (view-hello-file): Don't use `letf'.
270
ed8bd4d7
SM
2712012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
272
7287f2f3
SM
273 * tmm.el (tmm-prompt): Use string-prefix-p.
274 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
275 (tmm-add-prompt): Use minibuffer-completion-help.
276 (tmm-delete-map): Remove.
277
ed8bd4d7
SM
278 * subr.el (kbd): Make it its own function.
279
7b4cdbf4
SM
2802012-06-07 Stefan Merten <smerten@oekonux.de>
281
282 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
283 Silence compiler warnings. Fix versions.
ed8bd4d7 284 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 285 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 286 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
287 (rst-package-emacs-version-alist): Correct Emacs version to
288 represent major merge with upstream.
ed8bd4d7 289 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 290
2b48d721
GM
2912012-06-06 Glenn Morris <rgm@gnu.org>
292
293 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
294 Only print environment variables if set.
295
fa779ab0
SM
2962012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
299 (macroexp--cons): Rename from maybe-cons.
300 (macroexp--accumulate): Rename from macroexp-accumulate.
301 (macroexp--all-forms): Rename from macroexpand-all-forms.
302 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
303 (macroexp--expand-all): Rename from macroexpand-all-1.
304
628299e0
SS
3052012-06-06 Sam Steingold <sds@gnu.org>
306
307 * calendar/calendar.el (calendar-in-read-only-buffer):
308 Call `special-mode' to enable the standard read-only keybindings.
309
b7bb5838
SM
3102012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
313 with "loading" messages (bug#11635).
314
dfb308ba
MA
3152012-06-06 Michael Albinus <michael.albinus@gmx.de>
316
317 * files.el (enable-remote-dir-locals): New option.
318 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
319
0372ee92
MA
320 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
321 Ensure, that the temp directory is local.
322
323 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
324 `temporary-file-directory'.
325
eed0bb91
MA
326 * progmodes/python.el (python-send-region): Ensure, that the
327 temporary file is created also in the remote case.
328
7a58f64d
GM
3292012-06-06 Glenn Morris <rgm@gnu.org>
330
f7dd4e98
GM
331 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
332 (vc-rcs-update-changelog): Use it.
333
276d5f5d
GM
334 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
335
7a58f64d
GM
336 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
337 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
338 (vc-sccs-diff): Replace use of the external vcdiff script.
339
daed4003
GM
3402012-06-05 Glenn Morris <rgm@gnu.org>
341
342 * ledit.el: Move to obsolete/.
343
48c455c7
SS
3442012-06-05 Sam Steingold <sds@gnu.org>
345
346 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
347 patch (Bug#11140).
348
57a7d507
SM
3492012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
350
d32926ff
SM
351 * emacs-list/cust-print.el: Move to obsolete.
352
53aacf21
SM
353 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
354 compiler-macro expansion.
355
57a7d507
SM
356 Add native compiler-macro support.
357 * emacs-lisp/macroexp.el (macroexpand-all-1):
358 Support compiler-macros directly. Properly follow aliases and apply
359 the compiler macros more thoroughly.
360 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
361 macroexpand now properly follows aliases.
362 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
363 (cl-compiler-macroexpand): Use new prop.
364 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
365
366 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
367
51a5f9d8
MR
3682012-06-05 Martin Rudalics <rudalics@gmx.at>
369
370 * window.el (get-lru-window, get-mru-window, get-largest-window):
371 New argument NOT-SELECTED to avoid picking the selected window.
372 (window--display-buffer-1, window--display-buffer-2): Replace by
373 new function window--display-buffer
374 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
375 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
376 Use window--display-buffer.
51a5f9d8
MR
377 (display-buffer-use-some-window): Remove temporary dedication
378 hack by calling get-lru-window and get-largest-window with
379 NOT-SELECTED argument non-nil. Call window--display-buffer.
380
08f9f738
GM
3812012-06-05 Glenn Morris <rgm@gnu.org>
382
383 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
384 Replace external vcdiff script.
385
e364a2b7
SM
3862012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
389
041df390
CY
3902012-06-04 Chong Yidong <cyd@gnu.org>
391
e364a2b7
SM
392 * image.el (imagemagick-types-inhibit): Revert last change.
393 Add INFO and M.
47b36b94 394 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 395
7c1898a7
SM
3962012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * emacs-lisp/cl-lib.el: Rename from cl.el.
399 * emacs-lisp/cl.el: New compatibility file.
400 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
401 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
402 to obey the "cl-" prefix.
403 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
404
0c3461de
GM
4052012-06-03 Glenn Morris <rgm@gnu.org>
406
1e266c88
GM
407 * emacs-lisp/authors.el (authors-aliases): Addition.
408
0c3461de
GM
409 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
410 Fix :version.
411
d8a52e15
SM
4122012-06-03 Stefan Merten <smerten@oekonux.de>
413
414 * textmodes/rst.el: Add comments.
415 (rst-transition, rst-adornment): New faces.
416 (rst-adornment-faces-alist): Make default safe to reevaluate.
417 Fixes
418 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
419 Improve customization tags.
420 (rst-define-level-faces): Clarify meaning.
421
5205d6f6
CY
4222012-06-03 Chong Yidong <cyd@gnu.org>
423
424 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
425 (compilation-mode-line-run, compilation-mode-line-exit):
426 New faces.
5205d6f6
CY
427 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
428
757ee657
JD
4292012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
430
7c1898a7
SM
431 * progmodes/which-func.el (which-func-update-ediff-windows):
432 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 433
5f2c76c6
CY
4342012-06-03 Chong Yidong <cyd@gnu.org>
435
436 * bindings.el: Remove explicit help text from format-mode-line.
437 It is now supplied by mode-line-default-help-echo.
438 (mode-line-front-space, mode-line-end-spaces)
439 (mode-line-misc-info): New variables.
440 (mode-line-modes, mode-line-position): Move the default value to
441 the variable definition.
442 (mode-line-default-help-echo): New defcustom.
383f7350
CY
443 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
444 (mode-line-modified-help-echo): New functions.
445 (mode-line-mule-info, mode-line-modified): Use them.
446 (mode-line-eol-desc, propertized-buffer-identification):
447 Consistency fixes for help text.
cbe46e5f
CY
448 (mode-line-coding-system-map): Allow using mouse-3 to invoke
449 set-buffer-file-coding-system (Bug#289).
450 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 451
f2d6a3df
SM
4522012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * simple.el (execute-extended-command): Set real-this-command
455 (bug#11506).
456
37269466
CY
4572012-06-02 Chong Yidong <cyd@gnu.org>
458
459 Remove incorrect uses of "modeline" in comments, docstrings, and
460 function/variable names (Bug#10329).
461
462 * cus-edit.el (mode-line):
463 * dframe.el (dframe-mouse-hscroll):
464 * emacs-lisp/re-builder.el:
465 * emacs-lisp/easy-mmode.el (define-minor-mode):
466 * frame.el (set-frame-name):
467 * help.el (lookup-minor-mode-from-indicator):
468 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
469 * progmodes/cc-cmds.el (c-toggle-auto-newline)
470 (c-toggle-hungry-state):
471 * progmodes/antlr-mode.el (antlr-language-alist):
472 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
473 * progmodes/vhdl-mode.el (vhdl-mode):
474 * progmodes/which-func.el (which-func, which-func-cleanup-function):
475 * term/ns-win.el (ns-face-at-pos):
476 * term/sup-mouse.el (sup-mouse-report):
477 * textmodes/flyspell.el (flyspell-mode-line-string):
478 * textmodes/ispell.el (ispell-highlight-face):
479 * textmodes/reftex-global.el:
480 * vc/vc-arch.el (vc-arch-mode-line-string):
481 * vc/vc-cvs.el (vc-cvs-mode-line-string):
482 * vc/vc-git.el (vc-git-mode-line-string):
483 * vc/vc-hooks.el (vc-display-status)
484 (vc-default-mode-line-string):
485 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
486
487 * ansi-color.el (ansi-color-faces-vector): Change default faces.
488
489 * dired.el (dired-sort-set-mode-line): Rename from
490 dired-sort-set-modeline. All callers changed.
491
492 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
493 eshell-status-in-modeline.
494
495 * foldout.el (foldout-mode-line-string): Rename from
496 foldout-modeline-string. All callers changed.
497 (foldout-update-mode-line): Rename from foldout-update-modeline.
498
499 * subr.el (redraw-modeline): Make into obsolete alias.
500
501 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
502 timeclock-modeline-display. Make old name an alias.
503 (timeclock-update-mode-line): Likewise. All callers changed.
504 (timeclock-mode-line-display): No need to check before using
505 add-hook.
506 (timeclock-relative, timeclock-day-over-hook)
507 (timeclock-use-elapsed, timeclock-mode-string)
508 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
509
510 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
511 crisp-mode-modeline-string.
512
513 * play/solitaire.el (solitaire-build-mode-line): Rename from
514 solitaire-build-modeline. All callers changed.
515
516 * play/zone.el (zone-hiding-mode-line): Rename from
517 zone-hiding-modeline. All callers changed.
518 (zone): Remove unusued `modeline-hidden-level' property.
519
520 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
521 xscheme-modeline-initialize. All callers changed.
522
523 * strokes.el (strokes-lighter): Rename from
524 strokes-modeline-string.
525
526 * textmodes/sgml-mode.el (html-face-tag-alist)
527 (html-tag-face-alist): Use mode-line face instead of obsolete
528 alias modeline.
529
42152ee4
SM
5302012-06-02 Stefan Merten <smerten@oekonux.de>
531
532 * textmodes/rst.el: Always require `cl'.
4cf9b38d 533 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 534
95f520b5
CY
5352012-06-02 Chong Yidong <cyd@gnu.org>
536
537 * image.el (imagemagick-enabled-types): Rename from
538 imagemagick-types-enable. Add many more types.
539 (imagemagick-types-inhibit): Change default to nil.
540 (imagemagick-filter-types): Caller changed.
541
4a5f187a
SM
5422012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
543
03fef3e6
SM
544 * emacs-lisp/cl-macs.el: Use backquotes.
545 (cl-transform-function-property): Use eval-and-compile rather than
546 abusing `require'.
547 (defstruct): Use declare-function instead of with-no-warnings.
548
4a5f187a
SM
549 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
550 (byte-compile-output-docform): Re-add the print-circle bindings.
551 (byte-compile-fix-header): Use #$ just because it's shorter.
552 (byte-compile-output-file-form): Remove defun/defmacro.
553
bd56924f
MR
5542012-06-01 Martin Rudalics <rudalics@gmx.at>
555
556 * simple.el (choose-completion): Remove now obsolete binding for
557 owindow.
558
046e38ce
MA
5592012-06-01 Michael Albinus <michael.albinus@gmx.de>
560
561 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
562 in order to avoid "Stack overflow in regexp matcher".
563
32d72c2f
GM
5642012-05-31 Glenn Morris <rgm@gnu.org>
565
566 * image.el: For clarity, call imagemagick-register-types at
567 top-level, rather than relying on a custom :initialize.
568 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
569 (imagemagick-filter-types): New function. (Bug#7406)
570 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
571 If disabling support, remove elements altogether rather
572 than using an impossible regexp.
573 (imagemagick-types-inhibit): Give it the default init function.
574
dd41169b
SM
5752012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
576
4a5f187a
SM
577 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
578 Handle arbitrary file name lengths (Bug#11585).
dd41169b 579
efc00ab1 5802012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
581
582 * desktop.el (desktop-read): Clear previous and next buffers for
583 all windows and bury *Messages* buffer (bug#11556).
584
500fcedc
SM
5852012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 Add `declare' for `defun'. Align `defmacro's with it.
588 * emacs-lisp/easy-mmode.el (define-minor-mode)
589 (define-globalized-minor-mode): Don't autoload the var definitions.
590 * emacs-lisp/byte-run.el: Use lexical-binding.
591 (defun-declarations-alist, macro-declarations-alist): New vars.
592 (defmacro, defun): Use them.
593 (make-obsolete, define-obsolete-function-alias)
594 (make-obsolete-variable, define-obsolete-variable-alias):
595 Use `declare'.
596 (macro-declaration-function): Mark obsolete.
597 * emacs-lisp/autoload.el: Use lexical-binding.
598 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
599
6e8a1786
AM
6002012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
601
602 * textmodes/ispell.el (ispell-with-no-warnings):
603 Define as a macro.
500fcedc
SM
604 (ispell-kill-ispell, ispell-change-dictionary):
605 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
606 `interactive-p'.
607
61b108cc
SM
6082012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
611 (macro-declaration-function): Move var from C code.
612 (macro-declaration-function): Define function with defalias.
613 * emacs-lisp/macroexp.el (macroexpand-all-1):
614 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
615 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
616 defun/defmacro any more.
617 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
618 Provide fallback for unknown arglist.
619 (byte-compile-arglist-warn): Change calling convention.
620 (byte-compile-output-file-form): Move print-vars binding.
621 (byte-compile-output-docform): Simplify accordingly.
622 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
623 (byte-compile-defmacro-declaration): Remove.
624 (byte-compile-file-form-defmumble): Generalize to defalias.
625 (byte-compile-output-as-comment): Return byte-positions.
626 Simplify callers accordingly.
627 (byte-compile-lambda): Use `assert'.
628 (byte-compile-defun, byte-compile-defmacro): Remove.
629 (byte-compile-file-form-defalias):
630 Use byte-compile-file-form-defmumble.
631 (byte-compile-defalias-warn): Remove.
632
6d3f7c2f
SM
6332012-05-29 Stefan Merten <smerten@oekonux.de>
634
635 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 636 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
637
638 (rst-mode-abbrev-table): Merge definition.
639 (rst-mode): Make sure `font-lock-defaults' is buffer local.
640 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
641
6dbaa1c7
UJ
6422012-05-29 Ulf Jasper <ulf.jasper@web.de>
643
644 * calendar/icalendar.el
645 (icalendar-export-region): Export UID properly.
646
6472012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
648 * calendar/icalendar.el (icalendar-import-format):
649 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
650 (icalendar-import-format-uid): New.
651 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
652 Export UID.
653
6876a58d
SM
6542012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
657 different alternative patterns.
658 (pcase-codegen): Be more careful to preserve identity.
659 (pcase--u1): Don't forget to mark vars as used.
660
661 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
662 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
663 (byte-compile-from-buffer): ...rather than here.
664
665 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
666 functions from byte-compile-function-environment.
667
46b7967e
TN
6682012-05-29 Troels Nielsen <bn.troels@gmail.com>
669
670 * window.el (window-deletable-p): Avoid deleting the root window
671 of a frame with an active minibuffer.
672
69d565e2
MR
6732012-05-29 Martin Rudalics <rudalics@gmx.at>
674
675 * simple.el (choose-completion): Use quit-window (Bug#11567).
676
a149fa51
CY
6772012-05-29 Chong Yidong <cyd@gnu.org>
678
679 * whitespace.el (whitespace-cleanup): Fix usage of
680 whitespace-empty-at-bob-regexp (Bug#11492).
681
2b311310
AH
6822012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
683
684 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
685 revert (Bug#11488).
686
b9cb2387
JL
6872012-05-29 Juri Linkov <juri@jurta.org>
688
689 * isearch.el (isearch-mode-map): Bind `M-s _' to
690 `isearch-toggle-symbol'. Bind `M-s c' to
691 `isearch-toggle-case-fold'.
692 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
693 (isearch-forward): Add `M-s _' to the docstring.
694 (isearch-forward-symbol, isearch-toggle-case-fold)
695 (isearch-symbol-regexp): New functions. (Bug#11381)
696
d5e61c1c
JL
6972012-05-29 Juri Linkov <juri@jurta.org>
698
699 * isearch.el (isearch-word): Add docstring. (Bug#11381)
700 (isearch-occur, isearch-search-and-update): If `isearch-word' is
701 a function, call it to get the regexp.
702 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
703 property `isearch-message-prefix' instead of the string "word ".
704 (isearch-search-fun-default): For the case of `isearch-word',
705 return a lambda that calls re-search-forward/re-search-backward
706 with a regexp returned by `word-search-regexp' or by the function
707 in `isearch-word'.
708
8cbd80f7
JL
7092012-05-29 Juri Linkov <juri@jurta.org>
710
711 * isearch.el (isearch-search-fun-default): New function.
712 (isearch-search-fun): Move default part to the new function
713 `isearch-search-fun-default'.
714 (isearch-search-fun-function): Set the default value to
715 `isearch-search-fun-default'. (Bug#11381)
716
717 * comint.el (comint-history-isearch-end):
718 Use `isearch-search-fun-default'.
719 (comint-history-isearch-search): Use `isearch-search-fun-default'
720 and remove spacial case for `isearch-word'.
721 (comint-history-isearch-wrap): Remove spacial case for
722 `isearch-word'.
723
724 * hexl.el (hexl-isearch-search-function):
725 Use `isearch-search-fun-default'.
726
727 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
728 Use `word-search-regexp' for `isearch-word'.
729
730 * misearch.el (multi-isearch-search-fun):
731 Use `isearch-search-fun-default'.
732
733 * simple.el (minibuffer-history-isearch-search):
734 Use `isearch-search-fun-default' and remove spacial case for
735 `isearch-word'.
736 (minibuffer-history-isearch-wrap): Remove spacial case for
737 `isearch-word'.
738
739 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
740 Remove spacial case for `isearch-word'.
741 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
742
85c8c5b6
AM
7432012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
744
745 Decrease XEmacs incompatibilities.
746 * textmodes/flyspell.el (flyspell-check-pre-word-p):
747 Use `string-match'.
748 (flyspell-delete-region-overlays): Use alternative definition for
749 XEmacs.
750 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
751 (flyspell-word): Use `process-kill-without-query' if XEmacs.
752 (flyspell-mode-on): Use `interactive-p' if XEmacs.
753 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
754 `define-obsolete-face-alias' under XEmacs, but old method.
755
756 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
757 `with-no-warnings' definition or Emacs alias.
758 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
759 (ispell-word): Do not use `region-p' if XEmacs.
760
8cab9efc
AM
7612012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
762
763 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
764 Check for `ispell-dictionary-base-alist' instead of full
765 `ispell-dictionary-alist'.
766 (ispell-init-process): Show spellchecker when starting new Ispell
767 process.
768
fda91268
RZ
7692012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
770
771 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
772 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
773
694ea8e3
JB
7742012-05-27 Juanma Barranquero <lekktu@gmail.com>
775
776 * version.el (motif-version-string, gtk-version-string)
777 (ns-version-string): Declare.
778
e4d4f539
JL
7792012-05-27 Juri Linkov <juri@jurta.org>
780
781 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
782 after the `eval-defun-1' specialcaseing
783 like in `edebug-eval-defun' (bug#10181).
784
785 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
786 like in `eval-defun-1'.
787
33017faf 7882012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 789
fda91268
RZ
790 * mail/sendmail.el (mail-yank-region):
791 Recognize rmail-yank-current-message in addition to insert-buffer.
792 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
793 a *mail* buffer created through rmail-start-mail with sendmail as
794 mail-user-agent.
795
33017faf
GM
7962012-05-27 Chong Yidong <cyd@gnu.org>
797
798 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
799 Default to 256 (Bug#11267).
800
801 * help.el (describe-mode): Doc fix.
802
04188bb9
GM
8032012-05-26 Glenn Morris <rgm@gnu.org>
804
38264cc9
GM
805 * w32-fns.el (w32-init-info): Remove.
806 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
807
eb7afdad
GM
808 * info.el (info-initialize): For self-contained NS builds, put the
809 included info/ directory at the front. (Bug#2791)
810
04188bb9
GM
811 * paths.el (Info-default-directory-list): Make it a defcustom,
812 mainly so that we can use custom-initialize-delay.
813
a179e3f7
SM
8142012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
815
43416392
SM
816 * subr.el (buffer-has-markers-at): Mark obsolete.
817
a179e3f7 818 * subr.el (lambda): Use declare.
43416392 819
a179e3f7
SM
820 * emacs-lisp/lisp-mode.el (lambda):
821 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
822
34a008d9
AH
8232012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
824
825 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
826
0a3b289f
GM
8272012-05-26 Glenn Morris <rgm@gnu.org>
828
829 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
830
758c81e8
GM
8312012-05-25 Glenn Morris <rgm@gnu.org>
832
f9f334f0
GM
833 * paths.el: Remove no-byte-compile.
834 * loadup.el: No need to load paths.el uncompiled.
835
87eb79c2
GM
836 * image.el (imagemagick-types-inhibit): Doc fix.
837
758c81e8
GM
838 * version.el: Remove no-byte-compile and associated formatting.
839 * loadup.el: No need to load version.el uncompiled. AFAICS, this
840 is ancient code from when there was an "inc-vers.el".
841
e7e85dc0
SM
8422012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * progmodes/gdb-mi.el: Minor style changes.
845 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
846 Turn into minor modes.
847 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
848 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
849 (gdb-shell): Remove unneeded let-binding.
850 (gdb-get-many-fields): Eliminate O(n²) behavior.
851
f31237a4
EZ
8522012-05-25 Eli Zaretskii <eliz@gnu.org>
853
854 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
855 platforms that don't link in fontset.c.
856
bc1b21bb
JL
8572012-05-25 Juri Linkov <juri@jurta.org>
858
859 Use the same diff color scheme as in modern VCSes (bug#10181).
860
861 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
862 to avoid confusion with `diff-added' that now uses green colors.
863 (diff-removed): Use shades of red.
864 (diff-added): Use shades of green.
865 (diff-changed): Leave just the yellow color.
866 (diff-use-changed-face): New variable.
867 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
868 how to highlight context diff changes.
869 (diff-refine-change): Use shades of yellow.
870 (diff-refine-removed): New face that uses shades of red.
871 (diff-refine-added): New face that uses shades of green.
872 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
873 `diff-refine-removed' in the call to `smerge-refine-subst'
874 depending on the value of `diff-use-changed-face'.
875
876 * vc/smerge-mode.el (smerge-mine): Use shades of red.
877 (smerge-other): Use shades of green.
878 (smerge-base): Use shades of yellow.
879 (smerge-refined-change): Empty face.
880 (smerge-refined-removed): New face that uses shades of red.
881 (smerge-refined-added): New face that uses shades of green.
882 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
883 args `props-r' and `props-a', and use them. Doc fix.
884 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
885 on its value use different faces `smerge-refined-change',
886 `smerge-refined-removed', `smerge-refined-added' in the call to
887 `smerge-refine-subst'.
888
889 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
890 Add face condition `min-colors 88' with shades of red.
891 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
892 `min-colors 88' with shades of green.
893 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
894 `min-colors 88' with shades of yellow.
895
6df9112c
GM
8962012-05-24 Glenn Morris <rgm@gnu.org>
897
ead5edc0
GM
898 * paths.el (prune-directory-list, remote-shell-program): Move to...
899 * files.el (prune-directory-list, remote-shell-program): ...here.
900 For the latter, delay initialization, prefer ssh, just search PATH.
901
f18b81e6
GM
902 * paths.el (term-file-prefix): Move to faces.el (the only user).
903 * faces.el (term-file-prefix): Move here, make it a defcustom.
904
ee2f89a6
GM
905 * paths.el (news-directory, news-path, news-inews-program):
906 Move to gnus/nnspool.el.
61a583ca 907
f8815e4c
GM
908 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
909
c8f3b42c
GM
910 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
911 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
912 Make the latter a defcustom, with a delayed initialization.
913
6df9112c
GM
914 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
915 These were deleted from Gnus itself late 2010.
916
5dadff36
JB
9172012-05-22 Juanma Barranquero <lekktu@gmail.com>
918
9e1701c6
JB
919 * progmodes/which-func.el (which-func-ff-hook):
920 Check against user-error, not error.
921
bd7239f5 922 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
923 cl-specs.el, which no longer exists.
924
3290526d
GM
9252012-05-22 Glenn Morris <rgm@gnu.org>
926
927 * info.el (info-emacs-bug): New command.
928 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
929 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
930
ff0c3cfb
GM
9312012-05-21 Glenn Morris <rgm@gnu.org>
932
933 * makefile.w32-in (update-subdirs-SH):
934 * Makefile.in (update-subdirs): Update for moved update-subdirs.
935
5814f126
SM
9362012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
937
a52c0aa0
SM
938 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
939
5814f126
SM
940 * progmodes/compile.el (compilation-error-regexp-alist-alist):
941 Simplify Maven regexp, and make sure the file can't start with a space
942 (bug#11517).
943
b847032c
GM
9442012-05-21 Glenn Morris <rgm@gnu.org>
945
946 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
947 Scrap superfluous subshells.
948
3858bfe7
SM
9492012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
952 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
953
d14b0029
JB
9542012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
955
956 * calc/calc.el (calc-ensure-consistent-units): New variable.
957
a52c0aa0
SM
958 * calc/calc-units.el (math-consistent-units-p)
959 (math-check-unit-consistency): New functions.
960 (calc-quick-units, calc-convert-units):
961 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
962 is non-nil.
d14b0029
JB
963 (calc-extract-units): Fix typo.
964
60c4db3a
SM
9652012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
966
77f3b62e
SM
967 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
968
60c4db3a
SM
969 * textmodes/flyspell.el: Commenting style, plus code simplifications.
970 (flyspell-default-deplacement-commands): Don't spell check after
971 repeated window/frame switches (e.g. triggered by mouse-movement).
972 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
973 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
974 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
975 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
976 Remove unused vars.
977 (flyspell-get-casechars, flyspell-get-not-casechars):
978 Simplify; Don't bother removing a ] just to add it back.
979 * textmodes/ispell.el (ispell-program-name): Use executable-find.
980
b1a10716
RS
9812012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
982
983 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
984 New functions.
bd7239f5 985 (math-function-table): Add support for more C functions.
b1a10716 986
3f1b25b5
AM
9872012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
988
989 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
990 (flyspell-debug-signal-word-checked): Protect delay handling for
991 otherchars against empty otherchars.
992
b581bb5c
SM
9932012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
996 their respective macro declarations.
997 * skeleton.el (define-skeleton):
998 * progmodes/compile.el (define-compilation-mode):
999 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1000 (define-ibuffer-filter):
1001 * emacs-lisp/generic.el (define-generic-mode):
1002 * emacs-lisp/easy-mmode.el (define-minor-mode)
1003 (define-globalized-minor-mode):
1004 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1005 * emacs-lisp/byte-run.el (defsubst):
1006 * custom.el (deftheme): Add doc-string metadata.
1007
70b8ef8f
SM
10082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1009
1010 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1011
b1198e17
SM
10122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1013
9abdc45d
SM
1014 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1015
b1198e17
SM
1016 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1017 * emacs-lisp/cl-macs.el: Idem.
1018 * emacs-lisp/cl-specs.el: Remove.
1019
4735906a
SM
10202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 Minor renaming of internal CL functions and variables.
1023 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1024 (cl--position): Rename from cl-position.
1025 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1026 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1027 (cl--random-state): Rename from *random-state*.
1028
ac348012
SM
10292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1032 parens around the arg list (bug#11499).
1033
a0a79cde
JL
10342012-05-17 Juri Linkov <juri@jurta.org>
1035
1036 * isearch.el (word-search-regexp, word-search-backward)
1037 (word-search-forward, word-search-backward-lax)
1038 (word-search-forward-lax): Move functions from search.c
1039 (bug#10145, bug#11381).
1040
65034a51
AM
10412012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1042
1043 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1044 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1045 normal word components.
1046
1a72a195
SM
10472012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * minibuffer.el (completion--sifn-requote): Fix last change.
1050 (minibuffer-local-must-match-filename-map):
1051 Move define-obsolete-variable-alias before its var.
1052
fdb058c2
SM
10532012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1054
c41045e6
SM
1055 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1056
036dfb8b
SM
1057 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1058 behavior.
1059 (completion--string-equal-p): New function.
1060 (completion--twq-all): Use it to get better assertion failure data.
1061
2473256d
SM
1062 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1063 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1064 (shell--requote-argument): New functions.
1065 (shell-completion-vars): Use them.
1066 (shell--parse-pcomplete-arguments): Rename from
1067 shell-parse-pcomplete-arguments.
1068 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1069 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1070 Obey comint-file-name-quote-list.
1071
fdb058c2
SM
1072 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1073 (smie-indent-keyword): Use it.
1074
51fa99f1
SM
10752012-05-14 Stefan Merten <smerten@oekonux.de>
1076
1077 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1078
e18afed7 10792012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1080
1081 * net/rlogin.el (rlogin-mode-map): Fix last change.
1082
e18afed7 10832012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1084
1085 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1086 the following \r\n using a single `process-send-string', since the
1087 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1088 with two `process-send-string's (Bug#11444).
8633b1f4 1089
e18afed7 10902012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1091
fdb058c2
SM
1092 * shell.el (shell-parse-pcomplete-arguments):
1093 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1094
2d21d7f6
WJ
10952012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1096
e18afed7 1097 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1098 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1099 (image-transform-width, image-transform-fit-width): New functions.
1100 (image-transform-properties): Use them.
1101 (image-transform-check-size): New function.
1102 (image-toggle-display-image): Use it (for testing).
1103 (image-transform-set-rotation): Reduce angle mod 360.
1104 Delete obsolete comment.
1105
7102e6d0
WJ
11062012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1107
1108 * image-mode.el: Fix scaling (bug#11399).
1109 (image-transform-resize): Doc fix.
1110 (image-transform-properties): Default scale is 1 and height should
1111 be an integer.
1112
06bc5e6e
SM
11132012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
1114
1115 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1116 than hard-coding `car', to fix misbehavior when moving forward.
1117
0ae03b6a
CY
11182012-05-13 Chong Yidong <cyd@gnu.org>
1119
1120 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1121 (tabulated-list-entries, tabulated-list-padding)
1122 (tabulated-list-sort-key): Make permanent-local.
1123
1124 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1125 (electric-buffer-list): Put electric buffer menu
1126 command descriptions in this docstring, instead of the docstring
1127 of electric-buffer-menu-mode. Code cleanups.
1128 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1129 Electric-buffer-menu-mode.
1130 (electric-buffer-update-highlight): Minor code cleanup.
1131
205a7391
MA
11322012-05-13 Michael Albinus <michael.albinus@gmx.de>
1133
1134 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1135 (Bug#11447)
1136
e5bd0a28
SM
11372012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 Move define-obsolete-variable-alias before the var's definition.
1140 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1141 * tooltip.el (tooltip-hook):
1142 * textmodes/reftex-toc.el (reftex-toc-map):
1143 * textmodes/reftex-sel.el (reftex-select-label-map)
1144 (reftex-select-bib-map):
1145 * textmodes/reftex-index.el (reftex-index-map)
1146 (reftex-index-phrases-map):
1147 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1148 * progmodes/meta-mode.el (meta-mode-map):
1149 * novice.el (disabled-command-hook):
1150 * loadhist.el (unload-hook-features-list):
1151 * frame.el (blink-cursor):
1152 * files.el (find-file-not-found-hooks, write-file-hooks)
1153 (write-contents-hooks):
1154 * emulation/tpu-edt.el (GOLD-map):
1155 * emacs-lock.el (emacs-lock-from-exiting):
1156 * emacs-lisp/generic.el (generic-font-lock-defaults):
1157 * emacs-lisp/chart.el (chart-map):
1158 * dos-fns.el (register-name-alist):
1159 * dired-x.el (dired-omit-files-p):
1160 * desktop.el (desktop-enable):
1161 * cus-edit.el (custom-mode-hook):
1162 * buff-menu.el (buffer-menu-mode-hook):
1163 * bookmark.el (bookmark-read-annotation-text-func)
1164 (bookmark-exit-hooks):
1165 * allout.el (allout-mode-deactivate-hook)
1166 (allout-exposure-change-hook, allout-structure-added-hook)
1167 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1168 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1169 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1170 comes before the corresponding variable's definition.
1171
ac59c2f6
CY
11722012-05-12 Chong Yidong <cyd@gnu.org>
1173
1174 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1175 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1176 (Buffer-menu-mode-map): Bind it.
1177 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1178
dee6c9a3
SM
11792012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1180
2171cea5
SM
1181 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1182 (prolog-upper-case-string, prolog-lower-case-string)
1183 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1184 (prolog-use-smie, prolog-smie-grammar): New vars.
1185 (prolog-smie-forward-token, prolog-smie-backward-token)
1186 (prolog-smie-rules): New funs.
1187 (prolog-comment-indent): Remove.
1188 (prolog-mode-variables): Use default comment indentation instead.
1189 Setup SMIE.
1190 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1191 (prolog-mode): Don't call them any more.
1192 (prolog-electric-colon, prolog-electric-dash)
1193 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1194
aa0382bd
SM
1195 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1196
dbacb4bd
SM
1197 * minibuffer.el (completion--twq-all): Again, allow case differences.
1198
13bdd94c
SM
1199 * term.el: Move keymap initialization code to be more idiomatic.
1200 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1201 (term-terminal-menu): Move initialization into declaration.
1202 (term-escape-char): Let the user set it in her .emacs.
1203
ff46c759
SM
1204 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1205 Provide SMIE-based indentation (not enabled by default yet).
1206 (sh-mode-map): Don't bind electric keys.
1207 Use electric-pair-mode instead of skeleton-pair.
1208 (sh-assignment-regexp): Fit within 80 columns.
1209 (sh-indent-supported): Specify actual shell name instead of boolean.
1210 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1211 (sh-maybe-here-document): Use it. Make obsolete.
1212 (sh-electric-here-document-mode) New minor mode.
1213 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1214 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1215 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1216 (sh-smie-rc-grammar, sh-use-smie): New vars.
1217 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1218 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1219 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1220 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1221 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1222 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1223 (sh-set-shell): Use smie-setup if requested.
1224
dee6c9a3
SM
1225 * term.el (term-set-escape-char): Properly set term-escape-char.
1226 See http://stackoverflow.com/questions/10524656.
1227
9f9aa044
CY
12282012-05-10 Chong Yidong <cyd@gnu.org>
1229
1230 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1231 Use url-generic-parse-url, and handle host names and Windows
1232 filenames properly.
1233 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1234 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1235 URL schemes to work on.
1236 (ffap--toggle-read-only): New function.
1237 (ffap-read-only, ffap-read-only-other-window)
1238 (ffap-read-only-other-frame): Use it.
1239 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1240 necessary for ffap-url-unwrap-remote.
1241
836d29b3
DA
12422012-05-10 Dave Abrahams <dave@boostpro.com>
1243
1244 * cus-start.el (create-lockfiles): Add it.
1245
00fd78ed
CY
12462012-05-09 Chong Yidong <cyd@gnu.org>
1247
1248 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1249 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1250
666b903b 12512012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1252
1253 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1254
666b903b 12552012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1256
1257 * ansi-color.el (ansi-color-process-output): Check for validity of
1258 comint-last-output-start before using it. This avoids a bad
1259 interaction with gdb-mi's input/output buffer.
1260
666b903b 12612012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1262
1263 * files.el (dir-locals-read-from-file):
1264 Mention dir-locals in any error message.
1265
666b903b 12662012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1267
1268 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1269 package (Bug#11410).
1270
f677562b
CY
1271 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1272 variables into description.
1273
666b903b 12742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1275
1276 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1277 shell-delimiter-argument-list (bug#11348).
1278 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1279
b499d8d0
JB
12802012-05-09 Juanma Barranquero <lekktu@gmail.com>
1281
8f6b6da8
JB
1282 * textmodes/rst.el: Silence byte-compiler warnings.
1283 (rst-re-alist, rst-reset-section-caches): Move around.
1284 (rst-re): Use `characterp', not `char-valid-p'.
1285 (font-lock-beg, font-lock-end): Declare.
1286
4824146a
JB
1287 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1288 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1289
b499d8d0
JB
1290 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1291
ad89bb83
GM
12922012-05-08 Glenn Morris <rgm@gnu.org>
1293
1294 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1295
8bba5a75
SM
12962012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1297
49ed9c8e
SM
1298 * vc/log-edit.el: Add GNU coding standards highlighting.
1299 (log-edit-font-lock-gnu-style)
1300 (log-edit-font-lock-gnu-keywords): New vars.
1301 (log-edit-font-lock-keywords): New fun.
1302 (log-edit-mode): Don't fold case in font-lock.
1303 (log-edit-font-lock-keywords): Do not assume case-folding.
1304
07d00b56
SM
1305 * imenu.el: Misc cleanup. Make docstrings out of comments.
1306 Use lexical-binding.
1307 (imenu--index-alist, imenu--last-menubar-index-alist)
1308 (imenu-menubar-modified-tick): Use defvar-local.
1309 (imenu--split-menu): Remove unused var.
1310 (imenu--cleanup-seen): Declare as global.
1311 (imenu--cleanup): Use dolist.
1312
8bba5a75
SM
1313 * subr.el (defvar-local): Add debug spec and doc-string position.
1314
5075bdb5
GM
13152012-05-08 Glenn Morris <rgm@gnu.org>
1316
c052c904
GM
1317 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1318 * language/english.el, language/georgian.el, language/greek.el:
1319 * language/japanese.el, language/khmer.el, language/korean.el:
1320 * language/lao.el, language/misc-lang.el, language/romanian.el:
1321 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1322 * language/thai.el, language/utf-8-lang.el:
1323 Remove no-byte-compile setting.
1324
5075bdb5
GM
1325 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1326
06f679a7
AH
13272012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1328
1329 * progmodes/make-mode.el (makefile-browse):
1330 Remove unnecessary interactive. (Bug#11324)
1331
03794570
GM
13322012-05-07 Glenn Morris <rgm@gnu.org>
1333
af8630f4
GM
1334 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1335
03794570
GM
1336 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1337
f0809a9d
SM
13382012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1339
28be5ce7
SM
1340 * loadup.el: Preload newcomment.el.
1341 * newcomment.el: Move autoload-only code to toplevel.
1342
f0809a9d
SM
1343 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1344 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1345 Handle new :right-align column property.
1346 (tabulated-list-print-col): Idem, plus use `display' text-property to
1347 try and preserve alignment for variable pitch fonts.
1348
1241b724
CY
13492012-05-07 Chong Yidong <cyd@gnu.org>
1350
1351 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1352 (tabulated-list-use-header-line): New var.
1353 (tabulated-list-init-header): Use it.
1354 (tabulated-list-print-fake-header): New function.
1355 (tabulated-list-print): Use it.
1356 (tabulated-list-sort-button-map): Add non-header-line commands.
1357 (tabulated-list-init-header): Add column name property to basic
1358 labels as well.
1359 (tabulated-list-col-sort): Handle non-header-line button case.
1360 (tabulated-list--sort-by-column-name): Fix a corner case.
1361
f0809a9d
SM
1362 * buff-menu.el (list-buffers--refresh):
1363 Handle Buffer-menu-use-header-line.
1241b724 1364
e5f9458f
CY
13652012-05-06 Chong Yidong <cyd@gnu.org>
1366
1367 * buff-menu.el: Convert to Tabulated List mode.
1368 (Buffer-menu-buffer+size-width): Make obsolete.
1369 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1370 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1371 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1372 documentation into docstring of buffer-menu.
1373 (Buffer-menu-toggle-files-only): Add an informative message.
1374 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1375 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1376 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1377 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1378 (Buffer-menu-execute, Buffer-menu-select)
1379 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1380 (Buffer-menu-bury): Use Tabulated List machinery.
1381 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1382 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1383 Delete.
e5f9458f
CY
1384 (list-buffers--refresh): New function.
1385 (list-buffers-noselect): Use it.
1386 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1387 (Buffer-menu--pretty-file-name): New helper functions.
1388
1389 * loadup.el: Preload tabulated-list.
1390
1391 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1392 tabulated-list-sort-column.
1393 (tabulated-list-init-header): Add the initial aligning space even
1394 if tabulated-list-padding is zero.
1395
e129292c
CS
13962012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1397
1398 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1399 whose cdr is not a cons cell correctly (bug#11038).
1400
6632d361
CY
14012012-05-06 Chong Yidong <cyd@gnu.org>
1402
e129292c
CS
1403 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1404 Accept additional plist in column descriptors.
6632d361
CY
1405 (tabulated-list-init-header): Obey it.
1406 (tabulated-list-get-entry): New function.
1407 (tabulated-list-put-tag): Use it. Use string-width instead of
1408 length.
1409 (tabulated-list--column-number): New function.
1410 (tabulated-list-print): Use it.
e129292c
CS
1411 (tabulated-list-print-col): New function.
1412 Set `tabulated-list-column-name' property on each column's text.
6632d361 1413 (tabulated-list-print-entry): Use it.
e129292c
CS
1414 (tabulated-list-delete-entry, tabulated-list-set-col):
1415 New functions.
6632d361
CY
1416 (tabulated-list-sort-column): New command (Bug#11337).
1417
3cc99f68
CY
1418 * buff-menu.el (list-buffers): Move C-x C-b binding from
1419 buff-menu.el to bindings.el.
1420
1421 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1422 :advertised-binding feature.
1423
52b61776
TN
14242012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1425
1426 * progmodes/compile.el (compilation-internal-error-properties):
1427 Calculate start position correctly when end-col is set but
1428 end-line is not (Bug#11382).
1429
ebfe2597
WJ
14302012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1431
1432 * man.el (Man-unindent): Use text-property-default-nonsticky to
1433 prevent untabify from inheriting face properties (Bug#11408).
1434
6d3f7c2f
SM
14352012-05-05 Stefan Merten <smerten@oekonux.de>
1436
1437 * textmodes/rst.el: Major merge with upstream development up to
1438 Docutils SVN r7399 / rst.el V1.2.1.
1439
1440 Clarify maintainership and authors.
1441
1442 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1443 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1444 (rst-official-version, rst-official-cvs-rev, rst-version)
1445 (rst-package-emacs-version-alist): New functions and variables
1446 for version information.
1447
1448 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1449 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1450 (rst-mode-syntax-table, rst-mode): New and corrected functions
1451 and variables representing reStructuredText features.
1452
1453 (rst-re): New function for reStructuredText regexes. Use in
1454 many places.
1455
1456 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1457 (rst-mode-map): Rebind keys.
1458
1459 (rst-mode-lazy, rst-font-lock-keywords)
1460 (rst-font-lock-extend-region)
1461 (rst-font-lock-extend-region-internal)
1462 (rst-font-lock-extend-region-extend)
1463 (rst-font-lock-find-unindented-line-limit)
1464 (rst-font-lock-find-unindented-line-match)
1465 (rst-adornment-level, rst-font-lock-adornment-level)
1466 (rst-font-lock-adornment-match)
1467 (rst-font-lock-handle-adornment-pre-match-form)
1468 (rst-font-lock-handle-adornment-matcher): Major revision of
1469 font-locking. Integrate with other code. Use `jit-lock-mode'.
1470
1471 (rst-preferred-adornments, rst-adjust-hook)
1472 (rst-new-adornment-down, rst-preferred-bullets)
1473 (rst-preferred-bullets, rst-indent, rst-indent-width)
1474 (rst-indent-field, rst-indent-literal-normal)
1475 (rst-indent-literal-minimized, rst-indent-comment): Change,
1476 extend and improve customization.
1477
1478 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1479 (rst-normalize-cursor-position, rst-get-decoration)
1480 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1481 (rst-rstrip, rst-toc-insert-find-delete-contents)
1482 (rst-shift-fill-region, rst-compute-bullet-tabs)
1483 (rst-debug-print-tabs, rst-debug-mark-found)
1484 (rst-shift-region-guts, rst-shift-region-right)
1485 (rst-shift-region-left, rst-use-char-classes)
1486 (rst-font-lock-keywords-function)
1487 (rst-font-lock-indentation-point)
1488 (rst-font-lock-find-unindented-line-begin)
1489 (rst-font-lock-find-unindented-line-end)
1490 (rst-font-lock-find-unindented-line)
1491 (rst-font-lock-adornment-point, rst-font-lock-level)
1492 (rst-adornment-level-alist): Remove functions and variables.
1493
1494 (rst-compare-adornments, rst-get-adornment-match)
1495 (rst-suggest-new-adornment, rst-get-adornments-around)
1496 (rst-adornment-complete-p, rst-get-next-adornment)
1497 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1498 (rst-straighten-adornments): Standardize function names to
1499 use "adornment" instead of "decoration". Correct callers.
1500 Similar standardizing in many places.
1501
1502 (rst-update-section, rst-adjust, rst-promote-region)
1503 (rst-enumerate-region, rst-bullet-list-region)
1504 (rst-repeat-last-character): Correct use of `interactive'.
1505
1506 (rst-classify-adornment, rst-find-all-adornments)
1507 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1508 (rst-find-leftmost-column, rst-repeat-last-character):
1509 Refactor functions.
1510
1511 (rst-find-title-line, rst-reset-section-caches)
1512 (rst-get-adornments-around, rst-adjust-adornment-work)
1513 (rst-arabic-to-roman, rst-roman-to-arabic)
1514 (rst-insert-list-pos, rst-insert-list-new-item)
1515 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1516 New functions.
1517
1518 (rst-all-sections, rst-section-hierarchy)
1519 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1520 New variables.
1521
1522 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1523 configuration instead of only buffer. Change where necessary.
1524
1525 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1526 (rst-shift-region, rst-adaptive-fill): New functions for
1527 indentation and filling.
1528
1529 (rst-comment-line-break, rst-comment-indent)
1530 (rst-comment-insert-comment, rst-comment-region)
1531 (rst-uncomment-region): New functions for handling comments.
1532
1533 (rst-compile): Quote shell arguments.
1534
1535 (rst-compile-pdf-preview, rst-compile-slides-preview):
1536 Delete temporary files after use.
1537
a43f98b3
GM
15382012-05-05 Glenn Morris <rgm@gnu.org>
1539
48176e8b
GM
1540 * calendar/cal-html.el: Optionally include holidays in the output.
1541 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1542 (cal-html-holidays): New option.
1543 (cal-html-css-default): Add holiday entry.
1544 (holiday-in-range): Autoload it.
1545 (cal-html-htmlify-entry): Add optional class argument.
1546 (cal-html-htmlify-list): Add optional holidays argument.
1547 (cal-html-insert-agenda-days): Include holidays in the output.
1548 (cal-html-one-month): Maybe include holidays.
1549
a43f98b3
GM
1550 * calendar/holidays.el (holiday-in-range):
1551 Move here from cal-tex-list-holidays.
1552 * calendar/cal-tex.el (cal-tex-list-holidays):
1553 Make it an obsolete alias for holiday-in-range. Update all callers.
1554
fef9d149 15552012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1556
1557 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1558 Nextstep.
1559
248da2f4
RW
15602012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1561
1562 * files.el (file-auto-mode-skip): New var.
1563 (set-auto-mode-1): Use it.
1564
f95e9344
SM
15652012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1566
df96ab1e
SM
1567 * repeat.el: Use lexical-binding.
1568 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1569 (repeat-undo-count): Remove.
1570 (repeat):
1571 * progmodes/octave-mod.el (octave-abbrev-start):
1572 * progmodes/f90.el (f90-abbrev-start):
1573 * face-remap.el (text-scale-adjust):
1574 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1575
5342bb06
SM
1576 * emacs-lisp/pcase.el (pcase--let*): New function.
1577 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1578 a bit more.
1579 (pcase--split-pred): Be more clever about ruling out overlap between
1580 a predicate and some constant pattern.
1581 (pcase--q1): Use `null' instead of (eq foo nil).
1582
f95e9344
SM
1583 * subr.el (setq-local, defvar-local): New macros.
1584 (kbd): Redefine as an alias.
1585 (with-selected-window): Leave unrelated frames alone.
1586 (set-temporary-overlay-map): New function.
1587
71873e2b
SM
15882012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * subr.el (user-error): New function.
1591 * window.el (switch-to-buffer):
1592 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1593 (smerge-match-conflict):
1594 * simple.el (previous-matching-history-element)
1595 (next-matching-history-element, goto-history-element, undo-more)
1596 (undo-start):
1597 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1598 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1599 (next-file, tags-loop-scan, list-tags, complete-tag):
1600 * progmodes/compile.el (compilation-loop):
1601 * mouse.el (mouse-minibuffer-check):
1602 * man.el (Man-bgproc-sentinel, Man-goto-page):
1603 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1604 (Info-history-forward, Info-follow-reference, Info-menu)
1605 (Info-extract-menu-item, Info-extract-menu-counting)
1606 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1607 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1608 (Info-next-reference, Info-prev-reference, Info-index)
1609 (Info-index-next, Info-follow-nearest-node)
1610 (Info-copy-current-node-name):
1611 * imenu.el (imenu--make-index-alist)
1612 (imenu-default-create-index-function, imenu-add-to-menubar):
1613 * files.el (basic-save-buffer, recover-file):
1614 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1615 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1616 (checkdoc-message-text, checkdoc-defun):
1617 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1618 * cus-edit.el (customize-changed-options, customize-rogue)
1619 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1620 (custom-variable-mark-to-reset-standard)
1621 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1622 (custom-file):
1623 * completion.el (check-completion-length):
1624 * comint.el (comint-search-arg)
1625 (comint-previous-matching-input-string-position)
1626 (comint-previous-matching-input)
1627 (comint-replace-by-expanded-history-before-point, comint-send-input)
1628 (comint-copy-old-input, comint-backward-matching-input)
1629 (comint-goto-process-mark, comint-set-process-mark):
1630 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1631 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1632
8a61ee22
SM
16332012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1634
66408d1e
SM
1635 * dabbrev.el (dabbrev--ignore-case-p): New function.
1636 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1637 Use it.
1638
8a61ee22
SM
1639 * files.el (automount-dir-prefix): Mark as obsolete.
1640
3c74813a
GM
16412012-05-04 Glenn Morris <rgm@gnu.org>
1642
1643 * patcomp.el, play/bruce.el: Move to obsolete/.
1644
0bfcf5c5
PE
16452012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1646
1647 Fix minor Y10k bugs.
1648 * arc-mode.el (archive-unixdate):
1649 * autoinsert.el (auto-insert-alist):
1650 * calc/calc-forms.el (math-this-year):
1651 * emacs-lisp/copyright.el (copyright-current-year)
1652 (copyright-update-year, copyright):
1653 * tar-mode.el (tar-clip-time-string):
1654 * time.el (display-time-update):
1655 Don't assume years have 4 digits.
1656
78f3273a
CY
16572012-05-04 Chong Yidong <cyd@gnu.org>
1658
1659 * dos-w32.el (file-name-buffer-file-type-alist)
1660 (direct-print-region-use-command-dot-com):
1661 * ffap.el (ffap-menu-regexp):
1662 * find-file.el (ff-special-constructs):
1663 * follow.el (follow-debug):
1664 * forms.el (forms--debug):
1665 * iswitchb.el (iswitchb-all-frames):
1666 * ido.el (ido-all-frames):
1667 * emacs-lisp/timer.el (timer-max-repeats):
1668 * mail/feedmail.el (feedmail-mail-send-hook)
1669 (feedmail-mail-send-hook-queued):
1670 * mail/footnote.el (footnote-signature-separator):
1671 * mail/mailabbrev.el (mail-alias-separator-string)
1672 (mail-abbrev-mode-regexp):
1673 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1674 * progmodes/idlwave.el (idlwave-libinfo-file)
1675 (idlwave-default-completion-case-is-down)
1676 (idlwave-library-routines): Convert defvars to defcustoms.
1677
1678 * mail/rmail.el (rmail-decode-mime-charset):
1679 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1680 (idlwave-shell-fix-inserted-breaks)
1681 (idlwave-shell-activate-alt-keybindings)
1682 (idlwave-shell-use-breakpoint-glyph):
1683 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1684
f7ae6719
SM
16852012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1688
47086495
WS
16892012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1690
1691 * progmodes/verilog-mode.el (font-lock-keywords):
1692 Fix mis-highligting auto. Reported by Craig Barner.
1693 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1694 defines from global name space. Reported by Dan Dever.
1695 (verilog-auto-reset, verilog-auto-reset-widths)
1696 (verilog-auto-tieoff): Support using unbased numbers for
1697 AUTORESET and AUTOTIEOFF.
1698 (verilog-submit-bug-report): Update variable list.
1699 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1700 parenthesis from not matching. Reported by Michael Rytting.
1701 (verilog-auto-template-lint): Fix hash error when linting modules
1702 with no used templates.
1703 (verilog-warn, verilog-warn-error)
1704 (verilog-warn-fatal): When non-interactive report multiple
1705 warnings before exiting. Suggested by Brad Dobbie.
1706 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1707 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1708 to report unused template errors. Reported by Brad Dobbie.
1709 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1710 nets, bug438. Reported by Vns Blore.
1711 (verilog-auto-inout-module, verilog-auto-reg)
1712 (verilog-read-decls, verilog-read-sub-decls-sig)
1713 (verilog-signals-edit-wire-reg, verilog-signals-with):
1714 Fix passing of Verilog data types in ANSI input/output ports
1715 such as "output logic" into the AUTOs. Special case "wire" and
1716 "reg" for backwards compatibility presuming Verilog 2001.
1717 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1718 (verilog-preprocess): Fix replication of preprocess output.
1719 Reported by Brad Dobbie.
1720 (verilog-auto-inst-interfaced-ports):
1721 Create verilog-auto-inst-interfaced-ports, bug429.
1722 Reported by Julian Gorfajn.
1723 (verilog-after-save-font-hook)
1724 (verilog-before-save-font-hook): New variable.
1725 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1726 (verilog-save-font-mods): Wrap disabling fontification, reported
1727 by David Rogoff.
1728 (verilog-do-indent, verilog-pretty-declarations-auto)
1729 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1730 Reported by Pierre-David Pfister.
1731 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1732 of class declarations, bug292. Reported by Kevin Heilman.
1733 (verilog-read-decls): Fix 'parameter type' not appearing in
1734 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1735 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1736 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1737 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1738 Reported by David Kravitz.
1739
17402012-05-03 Michael McNamara <mac@mail.brushroad.com>
1741
1742 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1743 assignment with tests in ifs and for loops.
1744 (verilog-extended-complete-re, verilog-complete-reg): Change so
1745 that DPI inport functions don't look like fuction declarations.
1746 (verilog-pretty-expr): Don't line up assignment
1747 operations to the test and increment in if and for loops
1748 (verilog-extended-complete-re, verilog-complete-reg): Change so
1749 that DPI inport functions don't look like fuction declarations
1750
2e51d4b5
KH
17512012-05-03 Kenichi Handa <handa@m17n.org>
1752
1753 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1754 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1755 (Bug#11282).
1756
2bd785a2
SM
17572012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * emacs-lisp/bytecomp.el
1760 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1761 since cconv.el might have introduced :fun-body, internal-make-closure,
1762 and friends for bytecomp to handle (bug#11391).
1763 * custom.el (defcustom): Avoid ((λ ..) ..).
1764
99d27583
SM
17652012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1768
55a71479
JB
17692012-05-02 Juanma Barranquero <lekktu@gmail.com>
1770
1771 * notifications.el (dbus-debug):
1772 * term/linux.el (gpm-mouse-enable):
1773 * term/screen.el (xterm-register-default-colors): Declare.
1774
7b97c764
CY
17752012-05-02 Chong Yidong <cyd@gnu.org>
1776
2bc356d7
CY
1777 * cus-start.el (gc-cons-percentage, exec-suffixes)
1778 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1779 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1780 (make-cursor-line-fully-visible, void-text-area-pointer)
1781 (font-list-limit): Add customization data.
1782
7b97c764
CY
1783 * allout.el (allout-exposure-change-functions)
1784 (allout-structure-added-functions)
1785 (allout-structure-deleted-functions)
1786 (allout-structure-shifted-functions): Rename abnormal hooks from
1787 *-hook, and convert to defcustoms.
5d3385a0
JB
1788 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1789 Convert to defcustoms.
7b97c764
CY
1790 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1791
1792 * allout-widgets.el: Hook callers changed.
1793
90207a15 17942012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1795
1796 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1797 the yanked message in preference to the default value of
1798 buffer-file-coding-system.
1799
90207a15 18002012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1801
5d3385a0
JB
1802 * window.el (display-buffer--action-function-custom-type):
1803 Fix entry.
d9558cad 1804
90207a15 18052012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1806
1807 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1808
d80ac57b
GM
18092012-05-01 Glenn Morris <rgm@gnu.org>
1810
976f7668
GM
1811 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1812
beb83b5a
GM
1813 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1814
d80ac57b
GM
1815 * cus-edit.el (custom-variable-documentation): Simplify with format.
1816
b593d6a9
AH
18172012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1818 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * simple.el (suggest-key-bindings, execute-extended-command):
1821 Move from keyboard.c.
1822
782fbf2a
CY
18232012-05-01 Chong Yidong <cyd@gnu.org>
1824
1825 * follow.el: Eliminate advice.
1826 (set-process-filter, process-filter, sit-for): Advice deleted.
1827 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1828 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1829 Vars deleted.
782fbf2a
CY
1830 (follow-auto): Use a :set function.
1831 (follow-mode): Rewritten. Don't advise process filters.
1832 (follow-switch-to-current-buffer-all, follow-scroll-up)
1833 (follow-scroll-down): Assume follow-mode is bound.
1834 (follow-comint-scroll-to-bottom)
1835 (follow-align-compilation-windows): New functions.
1836 (follow--window-sorter): New function.
1837 (follow-all-followers): Use it to explicitly sort windows by their
1838 positions; don't make assumptions about next-window order.
1839 (follow-windows-start-end, follow-delete-other-windows-and-split)
1840 (follow-calc-win-start): Doc fix.
1841 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1842 vertical-motion unnecessarily.
1843 (follow-adjust-window): New function.
1844 (follow-post-command-hook): Use it.
1845 (follow-call-set-process-filter, follow-call-process-filter)
1846 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1847 (follow-stop-intercept-process-output, follow-generic-filter):
1848 Functions deleted.
1849 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1850 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1851 New functions, replacing advice on scroll-bar-* commands.
87233a14 1852 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1853
1854 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1855 (comint-postoutput-scroll-to-bottom): Use it.
1856 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1857
290af740
GM
18582012-05-01 Glenn Morris <rgm@gnu.org>
1859
1860 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1861 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1862 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1863 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1864 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1865 Remove no-byte-compile setting.
1866
6eac8dc9
SM
18672012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1870 all-completions code to not return a number in the last cdr.
1871
9cc7819c
LL
18722012-04-30 Leo Liu <sdl.web@gmail.com>
1873
1874 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1875 read-only error.
1876
c93b886f
CY
18772012-04-29 Chong Yidong <cyd@gnu.org>
1878
1879 * follow.el (follow-calc-win-end): Rewrite to handle partial
1880 screen lines correctly (Bug#8390).
1881 (follow-avoid-tail-recenter): Minor cleanup.
1882
8b6c19f4
SM
18832012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1884
1885 Avoid the obsolete `assoc' package.
1886 * speedbar.el (speedbar-refresh): Avoid adelete.
1887 (speedbar-file-lists): Simplify and avoid aput.
1888 * man.el (Man--sections, Man--refpages): New vars, replacing
1889 Man-sections-alist and Man-refpages-alist.
1890 (Man-build-section-alist, Man-build-references-alist):
1891 Use them; avoid aput.
1892 (Man--last-section, Man--last-refpage): New vars.
1893 (Man-follow-manual-reference): Use them.
1894 Use the `default' arg of completing-read.
1895 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1896
c5bb7569
CY
18972012-04-27 Chong Yidong <cyd@gnu.org>
1898
d1d2e2e8
CY
1899 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1900
15cd8efd
CY
1901 * startup.el (x-apply-session-resources): New function.
1902
1903 * term/ns-win.el (ns-initialize-window-system):
1904 * term/w32-win.el (w32-initialize-window-system):
1905 * term/x-win.el (x-initialize-window-system): Use it to properly
1906 set menu-bar-mode and other vars from X resources, even if the
1907 initial frame is not a window-system frame (Bug#2299).
1908
c5bb7569
CY
1909 * subr.el (read-key): Avoid running filter function when setting
1910 up temporary tool bar entries (Bug#9922).
1911
a8e7d6d7 19122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1913
1914 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1915 (Bug#11344)
1916
a8e7d6d7 19172012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1918
1919 * select.el (xselect--encode-string): New function, split from
1920 xselect-convert-to-string.
1921 (xselect-convert-to-string): Use it.
1922 (xselect-convert-to-filename, xselect-convert-to-os)
1923 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1924 returned strings are properly encoded (Bug#11315).
1925
a8e7d6d7 19262012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1927
1928 * simple.el (delete-active-region): Move to killing custom group.
1929
a8e7d6d7 19302012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1931
1932 * progmodes/which-func.el (which-func-current): Quote %
1933 characters for mode-line processing.
1934
578c1d4b 19352012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1936
1937 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1938 reaching eob (Bug#11286).
1939
a8e7d6d7 19402012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1941
1942 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1943 (gdb): Make it buffer-local and init to zero.
1944 (gdb-control-commands-regexp): New variable.
1945 (gdb-send): Don't wrap in "-interpreter-exec console" if
1946 gdb-control-level is positive. Increment gdb-control-level
1947 whenever the command matches gdb-control-commands-regexp, and
1948 decrement it each time the command is "end". (Bug#11279)
1949
a8e7d6d7 19502012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1951
1952 * window.el (adjust-window-trailing-edge, enlarge-window)
1953 (shrink-window, window-resize):
1954 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1955 windows (Bug#11276).
1956
b3608390
CY
19572012-04-27 Chong Yidong <cyd@gnu.org>
1958
1959 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1960 fix "missing prefix" warning. All callers changed.
b3608390 1961
797e6e88
SM
19622012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * emacs-lisp/assoc.el: Move to obsolete/.
1965
e95a67dc
SM
19662012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1967
657c21e4 1968 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1969
1970 * term/ns-win.el (ns-define-service):
1971 * progmodes/pascal.el (pascal-goto-defun):
1972 * progmodes/js.el (js--read-tab):
1973 * progmodes/etags.el (tags-lazy-completion-table):
1974 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1975 * emacs-lisp/ewoc.el (ewoc--wrap):
1976 * emacs-lisp/assoc.el (aput, adelete, amake):
1977 * doc-view.el (doc-view-convert-current-doc):
1978 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1979
cb3e7ae0
CY
19802012-04-26 Chong Yidong <cyd@gnu.org>
1981
dce04f7f
CY
1982 * image.el (image-type-from-buffer): Only return supported image
1983 type (Bug#9045).
1984
cb3e7ae0
CY
1985 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1986 value, for symmetry with diff-end-of-hunk.
1987 (diff-split-hunk, diff-find-source-location)
1988 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1989 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1990 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1991 compute the relevant hunk or file properly (Bug#6005).
1992 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1993
0d42eb3e
SM
19942012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * vc/vc-mtn.el:
1997 * vc/vc-hg.el:
1998 * vc/vc-git.el:
1999 * vc/vc-dir.el:
2000 * vc/vc-cvs.el:
2001 * vc/vc-bzr.el:
2002 * vc/vc-arch.el:
2003 * vc/vc.el: Replace lexical-let by lexical-binding.
2004 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2005 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2006 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2007
f08ae1c9
CY
20082012-04-26 Chong Yidong <cyd@gnu.org>
2009
8b71081d
CY
2010 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2011 (diff-mode-shared-map): Bind it to / and [remap undo].
2012
f08ae1c9
CY
2013 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2014 (ediff-window-setup-function): Use it as the default, to set up
2015 windows based on whether the current frame is graphical (Bug#2138).
2016 (ediff-choose-window-setup-function-automatically): Make obsolete.
2017
2018 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2019
ef24141c
SM
20202012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2021
cc356a5d
SM
2022 * ffap.el: Remove old code for obsolete package.
2023 (ffap-complete-as-file-p): Remove.
2024
b4ff4f1f
SM
2025 Use completion-table-with-quoting for comint and pcomplete.
2026 * comint.el (comint--unquote&requote-argument)
2027 (comint--unquote-argument, comint--requote-argument): New functions.
2028 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2029 (comint-quote-filename): Use regexp-opt-charset.
2030 (comint--common-suffix, comint--common-quoted-suffix)
2031 (comint--table-subvert): Remove.
2032 (comint-unquote-function, comint-requote-function): New vars.
2033 (comint--complete-file-name-data): Use them with
2034 completion-table-with-quoting.
2035 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2036 * pcomplete.el (pcomplete-arg-quote-list)
2037 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2038 (pcomplete-unquote-argument-function): Default to non-nil.
2039 (pcomplete-unquote-argument): Simplify.
2040 (pcomplete--common-quoted-suffix): Remove.
2041 (pcomplete-requote-argument-function): New var.
2042 (pcomplete--common-suffix): New function.
2043 (pcomplete-completions-at-point): Use completion-table-with-quoting
2044 and completion-table-subvert.
2045
79c4eeb4
SM
2046 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2047 (minibuffer--double-dollars): Preserve properties.
2048 (completion--sifn-requote): New function.
2049 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2050
ef24141c
SM
2051 * minibuffer.el: Add support for completion of quoted/escaped data.
2052 (completion-table-with-quoting, completion-table-subvert): New funs.
2053 (completion--twq-try, completion--twq-all): New functions.
2054 (completion--nth-completion): New function.
2055 (completion-try-completion, completion-all-completions): Use it.
2056
784e7d6e
LL
20572012-04-25 Leo Liu <sdl.web@gmail.com>
2058
dd2ac746
SM
2059 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2060 Use compilation-message if available to find real filename.
784e7d6e 2061
07875ee7
CY
20622012-04-25 Chong Yidong <cyd@gnu.org>
2063
2064 * vc/diff-mode.el (diff-setup-whitespace): New function.
2065 (diff-mode): Use it.
2066
2067 * vc/diff.el (diff-sentinel):
2068 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2069 Whitespace mode variables based on diff style (Bug#8612).
2070
5055880d
LL
20712012-04-25 Leo Liu <sdl.web@gmail.com>
2072
daf75653
LL
2073 * progmodes/python.el (python-send-region): Add suffix .py to the
2074 temp file.
2075
5055880d
LL
2076 * files.el (auto-mode-alist): Use javascript-mode instead.
2077
db9b177b
AH
20782012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2079
ef24141c 2080 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2081
2082 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2083 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2084 references, see Bug#9.
ef24141c 2085 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2086 when receiving a fault reply.
ef24141c 2087 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2088
2089 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2090 (soap-inspect-simple-type): New function.
db9b177b 2091
ef24141c 2092 * soap-client.el (soap-simple-type): New struct.
db9b177b 2093 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2094 (soap-decode-basic-type, soap-encode-basic-type):
2095 support unsignedInt and double basic types.
db9b177b 2096 (soap-resolve-references-for-simple-type)
ef24141c
SM
2097 (soap-parse-simple-type, soap-encode-simple-type): New function.
2098 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2099
2100 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2101 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2102 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2103 the local name of "soapenc:Array".
2104 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2105 decoding integer, byte and anyURI xsd types.
2106
1fc6097b
CY
21072012-04-25 Chong Yidong <cyd@gnu.org>
2108
2109 * cus-edit.el (custom-buffer-create-internal): Update header text.
2110
afc6df87
EZ
21112012-04-25 Eli Zaretskii <eliz@gnu.org>
2112
2113 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2114 settings on 'system-type', not on 'window-system'. On MS-Windows,
2115 set interactive-mode on in GDB.
2116
dfbd787f
SM
21172012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2120 (ruby-syntax-propertize-regexp): Remove.
2121 (ruby-syntax-propertize-function): Split regexp into chunks.
2122 Match following code directly.
2123
85222d44
DG
21242012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2125
51a8ea2a
DG
2126 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2127 (ruby-syntax-propertize-regexp): New function.
2128 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2129 by a special keyword.
2130
85222d44
DG
2131 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2132 (ruby-syntax-general-delimiters-goto-beg)
2133 (ruby-syntax-propertize-general-delimiters): New functions.
2134 (ruby-syntax-propertize-function): Use them to handle GDL.
2135 (ruby-font-lock-keywords): Move old handling of GDL...
2136 (ruby-font-lock-syntactic-keywords): .. to here.
2137 (ruby-calculate-indent): Adjust indentation for GDL.
2138
b613912b
MA
21392012-04-24 Michael Albinus <michael.albinus@gmx.de>
2140
b5380639
MA
2141 * notifications.el (top): Remove unneeded declarations.
2142 (notifications-specification-version): Change to "1.2".
e43042fe 2143 (notifications-interface, notifications-notify-method)
b613912b
MA
2144 (notifications-close-notification-method): Fix docstring.
2145 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2146 (notifications-notify): Add :action-items, :resident and
2147 :transient hints. Change "image_data" to "image-data" and
2148 "image_path" to "image-path".
b613912b
MA
2149 (notifications-get-capabilities): New defun.
2150
257440aa
LL
21512012-04-24 Leo Liu <sdl.web@gmail.com>
2152
2153 * progmodes/python.el: Move hideshow setup to the end.
2154
b1bac16e
MR
21552012-04-24 Martin Rudalics <rudalics@gmx.at>
2156
2157 * window.el (handle-select-window): Clear echo area since this is
2158 no more done by read_char (Bug#11304).
2159
d81bd059
SM
21602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2163 and `/ M' to filter-derived-mode.
2164 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2165 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2166 (ibuffer-mark-by-mode): Use default rather than initial-input.
2167 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2168
c4cf6d91
IA
21692012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2170
2171 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2172 (ibuffer-filter-by-derived-mode): New filter.
2173 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2174
7511ded8
CY
21752012-04-23 Andreas Politz <politza@fh-trier.de>
2176
2177 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2178
775c916b
CY
21792012-04-23 Chong Yidong <cyd@gnu.org>
2180
2181 * cus-edit.el (customize-apropos, customize-apropos-options):
2182 Disable matching of non-option variables (Bug#11176).
2183 (customize-option, customize-option-other-window)
2184 (customize-changed-options): Doc fix.
2185 (customize-apropos-options, customize-apropos-faces)
2186 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2187
2188 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2189 Fix word list splitting (Bug#11132).
46c71e23
CY
2190 (apropos-symbol, apropos-keybinding, apropos-label)
2191 (apropos-property, apropos-function-button)
2192 (apropos-variable-button, apropos-misc-button): New faces.
2193 (apropos-symbol-face, apropos-keybinding-face)
2194 (apropos-label-face, apropos-property-face, apropos-match-face):
2195 Variables removed (Bug#8396).
2196 (apropos-library-button, apropos-format-plist, apropos-print)
2197 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2198
2df41f9c
MA
21992012-04-23 Michael Albinus <michael.albinus@gmx.de>
2200
2201 * net/xesam.el (xesam-mode-map): Use let-bound map in
2202 initialization. (Bug#11292)
2203
da00640a
AM
22042012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2205
2206 Preserve ispell session localwords when switching back to
2207 original buffer.
2208
2209 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2210 variable to hold buffer session localwords.
2211 (ispell-kill-ispell): add option 'clear to delete session
2212 localwords.
2213 (ispell-command-loop, ispell-change-dictionary)
2214 (ispell-buffer-local-words): Preserve session localwords when
2215 needed.
2216
2217 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2218 Preserve session localwords when needed.
2219
f621ccf5
AM
22202012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2221
2222 * ispell.el (ispell-insert-word) Remove unneeded function using
2223 obsolete `translation-table-for-input'.
ef24141c
SM
2224 (ispell-word, ispell-process-line, ispell-complete-word):
2225 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2226
c2d1019e
CY
22272012-04-22 Chong Yidong <cyd@gnu.org>
2228
2229 * cus-edit.el (custom-variable-menu)
2230 (custom-variable-reset-saved, custom-face-menu)
2231 (custom-face-reset-saved): If there is no saved value, make the
2232 "reset-saved" operation bring back the default (Bug#9509).
2233 (custom-face-state): Properly detect themed faces.
2234
eeddc531
CY
2235 * faces.el (face-spec-set): Stop supporting deprecated form of
2236 third arg.
2237
dcbf5805
MA
22382012-04-22 Michael Albinus <michael.albinus@gmx.de>
2239
2240 Move functions from C to Lisp. Make non-blocking method calls
2241 the default. Implement further D-Bus standard interfaces.
2242
ef24141c
SM
2243 * net/dbus.el (dbus-message-internal): Declare function.
2244 Remove unneeded function declarations.
dcbf5805
MA
2245 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2246 (dbus-message-type-method-return, dbus-message-type-error)
2247 (dbus-message-type-signal): Declare variables. Remove local
2248 definitions.
2249 (dbus-interface-dbus, dbus-interface-peer)
2250 (dbus-interface-introspectable, dbus-interface-properties)
2251 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2252 Adapt docstring.
2253 (dbus-interface-objectmanager): New defconst.
2254 (dbus-call-method, dbus-call-method-asynchronously)
2255 (dbus-send-signal, dbus-method-return-internal)
2256 (dbus-method-error-internal, dbus-register-service)
2257 (dbus-register-signal, dbus-register-method): New defuns, moved
2258 from dbusbind.c
2259 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2260 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2261 New defuns.
dcbf5805
MA
2262 (dbus-call-method-non-blocking): Make it an obsolete function.
2263 (dbus-unregister-object, dbus-unregister-service)
2264 (dbus-handle-event, dbus-register-property)
2265 (dbus-property-handler): Obey the new structure of
2266 `bus-registered-objects'.
2267 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2268 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2269 Use `dbus-call-method'.
2270
cf20dee0
CY
22712012-04-22 Chong Yidong <cyd@gnu.org>
2272
2273 * cus-edit.el (custom-commands, custom-reset-menu)
2274 (Custom-reset-standard): Tweak labels.
2275 (custom-reset-button-menu): Change default to t.
2276 (custom-buffer-create-internal): For the custom-reset-button-menu
2277 case, put the revert button first.
2278 (custom-group-subtitle): New face.
2279 (custom-group-value-create): Align docstring to a specific column.
2280
2281 * wid-edit.el (widget-documentation-link-add): Don't handle
2282 indentation in this function.
2283 (widget-documentation-string-indent-to): New function.
2284 (widget-documentation-string-value-create): Use it.
2285
2286 * autorevert.el (auto-revert):
2287 * epg-config.el (epg):
2288 * ibuffer.el (ibuffer):
2289 * mpc.el (mpc):
2290 * ses.el (ses):
2291 * eshell/eshell.el (eshell):
2292 * net/ange-ftp.el (ange-ftp):
2293 * progmodes/ebnf2ps.el (postscript):
2294 * progmodes/flymake.el (flymake):
2295 * progmodes/prolog.el (prolog):
2296 * progmodes/verilog-mode.el (verilog-mode):
2297 * progmodes/which-func.el (which-func):
2298 * term/xterm.el (xterm):
2299 * textmodes/picture.el (picture):
2300 * textmodes/tildify.el (tildify):
2301 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2302 customization buffers.
2303
583e23bd
AM
23042012-04-22 Alan Mackenzie <acm@muc.de>
2305
2306 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2307 Adding a ) can hide the resulting (..) from searches. Fix it.
2308 Bound the backward search to the position of the existing (.
2309
7dd51bf1
JB
23102012-04-21 Juanma Barranquero <lekktu@gmail.com>
2311
2312 * progmodes/verilog-mode.el (verilog-mode): Check whether
2313 which-func-modes is t before adding verilog-mode.
2314 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2315
d64a438f
LL
23162012-04-21 Leo Liu <sdl.web@gmail.com>
2317
7dd51bf1 2318 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2319
081e8d65
MV
23202012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2321
2322 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2323 filling of the last column of a table (Bug#5635).
2324 (woman-find-next-control-line): New arg, specifying an additional
2325 regexp component for the control line.
2326 (woman2-roff-buffer): Use it.
2327 (woman-break-table): New function.
2328 (woman2-TS): Use it.
2329
23302012-04-21 Chong Yidong <cyd@gnu.org>
2331
2332 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2333 (woman-horizontal-escapes, woman-negative-vertical-space)
2334 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2335 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2336
ed571ccb
SM
23372012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * minibuffer.el (completion-file-name-table): Complete user names.
2340
39773899
LL
23412012-04-20 Leo Liu <sdl.web@gmail.com>
2342
2343 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2344 and pcase-let*.
2345
de6ff46d
CY
23462012-04-20 Chong Yidong <cyd@gnu.org>
2347
2348 * server.el (server-execute): Respect initial-buffer-choice if it
2349 is a string and there are no files to open (Bug#2825).
2350 (server-create-window-system-frame, server-create-tty-frame):
2351 Don't switch buffers here.
2d0e8e61
CY
2352 (server-process-filter): Only try to open a window system frame if
2353 compiled with graphical support (Bug#8314).
de6ff46d 2354
54071013
DN
23552012-04-20 Dan Nicolaescu <dann@gnu.org>
2356
2357 * battery.el (battery-echo-area-format): Display remaining time
2358 for sysfs backend too (Bug#11269).
2359 (battery-linux-sysfs): Fix conditional for the charge.
2360
f30d612a
CY
23612012-04-20 Chong Yidong <cyd@gnu.org>
2362
c07a4c0b 2363 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2364 (gdb-inferior-io--init-proc): New function.
2365 (gdb-init-1): Use it.
2366 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2367 responsible for allocating a new pty and hooking it to gdb when
2368 the old pty gets an EIO due to process exit.
2369 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2370 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2371 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2372
2116e93c
EZ
23732012-04-20 Eli Zaretskii <eliz@gnu.org>
2374
2375 * window.el (window-min-size, window-sizable, window-min-delta)
2376 (window-max-delta, window--resizable, window-resizable)
2377 (window-total-size, window-full-height-p, window-full-width-p)
2378 (window-in-direction, window--resize-mini-window, window-resize)
2379 (window--resize-child-windows-normal)
2380 (window--resize-child-windows, window--resize-siblings)
2381 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2382 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2383
c07a4c0b 23842012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2385
ef24141c
SM
2386 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2387 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2388 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2389 pty process (Bug#11273).
2390 (gdb-update): New arg to suppress talking to the gdb process.
2391 (gdb-done-or-error): Use it.
2392 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2393 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2394 sentinel not being called.
2395
2396 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2397
d02766ab
CY
2398 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2399
c07a4c0b 24002012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2401
2402 * net/network-stream.el (open-network-stream): Doc fix.
2403
c07a4c0b 24042012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2405
2406 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2407
c07a4c0b 24082012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2409
2410 Ensure searching for keywords is case sensitive.
2411
2412 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2413 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2414 (c-defun-name, c-mark-function, c-cpp-define-name)
2415 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2416 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2417
ef24141c
SM
2418 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2419 Bind case-fold-search to nil.
f0f6bc35 2420
c07a4c0b 24212012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2422
2423 * mail/sendmail.el (mail-bury): Call return action with the right
2424 Rmail buffer (Bug#11242).
2425
9a864fa2
CY
2426 * server.el (server-process-filter): Handle corner case where both
2427 tty and nowait options are present (Bug#11102).
2428
539aa513
EZ
24292012-04-20 Eli Zaretskii <eliz@gnu.org>
2430
2431 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2432 (top level): Put into the executable the ident-style '$Id:' tag on
2433 windows-nt as well.
539aa513 2434
cfc7d5da
SM
24352012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2436
2437 * electric.el (electric-indent-post-self-insert-function): Check that
2438 electric-indent-mode is enabled in current buffer.
2439
5b01685c
JB
24402012-04-19 Juanma Barranquero <lekktu@gmail.com>
2441
2442 * imenu.el (imenu-progress-message): Restore; it is "used" in
2443 erc/erc-imenu.el and net/snmp-mode.el.
2444
4d6769e1
JB
24452012-04-19 Juanma Barranquero <lekktu@gmail.com>
2446
2447 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2448 (mouse-avoidance-nudge-mouse): Remove unused binding.
2449
2450 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2451
2452 * descr-text.el (describe-char):
2453 * progmodes/python.el (python-describe-symbol):
2454 Don't call `toggle-read-only', set `buffer-read-only'.
2455
2456 * imenu.el (imenu-default-goto-function): Mark unused args.
2457 (imenu-progress-message): Remove obsolete macro; all callers changed.
2458
2459 * subr.el (keymap-canonicalize): Remove unused binding.
2460 (read-passwd): Mark unused arg.
2461
2462 * tutorial.el (tutorial--display-changes): Remove unused binding.
2463 (tutorial--save-tutorial-to): Remove unused variable.
2464
2465 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2466 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2467 (package-generate-autoloads, package-menu--generate)
2468 (package-menu--find-upgrades): Remove unused bindings.
2469
2470 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2471 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2472 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2473 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2474 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2475 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2476 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2477 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2478 (cua-delete-char-rectangle): Mark unused args.
2479 (cua-align-rectangle): Remove unused binding.
2480
2481 * mail/rmail.el (compilation--message->loc)
2482 (epa--find-coding-system-for-mime-charset): Declare.
2483
2484 * net/dbus.el (dbus-register-service): Declare.
2485 (dbus-name-owner-changed-handler): Remove unused binding.
2486
2487 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2488 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2489 (nxml-scan-backward-within): Mark unused arg.
2490 (nxml-dynamic-markup-word): Remove unused binding.
2491
2492 * mouse.el (mouse-menu-major-mode-map):
2493 * emacs-lisp/authors.el (authors-scan-change-log)
2494 (authors-add-to-author-list):
2495 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2496 * emacs-lisp/smie.el (smie-auto-fill):
2497 * mail/sendmail.el (mail-bury):
2498 * mail/unrmail.el (unrmail):
2499 * net/tls.el (open-tls-stream):
2500 * textmodes/picture.el (picture-mouse-set-point):
2501 Remove unused bindings.
2502
8c8fc5df
MA
25032012-04-19 Michael Albinus <michael.albinus@gmx.de>
2504
2505 * net/tramp.el (tramp-action-password): Let-bind
2506 `enable-recursive-minibuffers' to t.
2507
a77b0ac9
SS
25082012-04-18 Sam Steingold <sds@gnu.org>
2509
2510 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2511 instead of 'string to accommodate values like [f11].
2512 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2513 * progmodes/gdb-mi.el: Likewise.
2514
12a106a9
LL
25152012-04-18 Leo Liu <sdl.web@gmail.com>
2516
2517 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2518 current buffer.
2519 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2520 LOCAL is nil.
2521
bc6494ef
CY
25222012-04-18 Chong Yidong <cyd@gnu.org>
2523
2524 * simple.el (line-move): Use forward-line if in batch mode
2525 (Bug#11053).
2526
c09c46b2
CS
25272012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2528
2529 * files.el (after-find-file): Do not try to add a final newline if
2530 the buffer is read-only (Bug#11156).
2531
5f6530ea
RS
25322012-04-17 Richard Stallman <rms@gnu.org>
2533
2534 * mail/rmail.el (rmail-start-mail):
2535 Pass (rmail-mail-return...) for the return-action.
2536 Pass (rmail-yank-current-message...) for the yank-action.
2537 (rmail-yank-current-message): New function.
2538 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2539 (rmail-reply): Likewise.
2540 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2541
2542 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2543 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2544 buffer, not newbuf.
2545
197b6f3c
JB
25462012-04-17 Juanma Barranquero <lekktu@gmail.com>
2547
2548 * server.el (server-ensure-safe-dir): Simplify.
2549
2311d8e5 25502012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2551
2311d8e5
GM
2552 * emacs-lisp/smie.el: Provide smarter auto-filling.
2553 (smie-auto-fill): New function.
2554 (smie-setup): Use it.
98fb480e 2555
2311d8e5
GM
2556 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2557
25582012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2559
2560 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2561 (comment-indent): Use it.
2562
2311d8e5 25632012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2564
2565 * ses.el: The overall change is to add cell renaming, that is
2566 setting fancy names for cell symbols other than name matching
2567 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2568 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2569 (ses-create-cell-variable): New defun.
2311d8e5 2570 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2571 (ses-relocate-formula): Relocate formulas only for cells the
2572 symbols of which are not renamed, i.e. symbols whose names do not
2573 match regexp "\\`[A-Z]+[0-9]+\\'".
2574 (ses-relocate-all): Relocate values only for cells the symbols of
2575 which are not renamed.
2576 (ses-load): Create cells variables as the (ses-cell ...) are read,
2577 in order to check row col consistency with cell symbol name only
2578 for cells that are not renamed.
2579 (ses-replace-name-in-formula): New defun.
2580 (ses-rename-cell): New defun.
4bdf2ad2 2581
fc72b15c
PO
25822012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2583
2584 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2585 New option (bug#11118).
2586 (perl-calculate-indent): Respect it.
2587
12e10e61
GM
25882012-04-17 Glenn Morris <rgm@gnu.org>
2589
2590 * dired-aux.el (dired-mark-read-string): Doc fix.
2591
30009afd
DA
25922012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2593
2594 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2595 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2596
41f03f4d
GM
25972012-04-17 Glenn Morris <rgm@gnu.org>
2598
2599 * mouse.el (mouse-drag-track):
2600 * speedbar.el (speedbar-frame-mode):
2601 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2602
f45f90f3
LL
26032012-04-16 Leo Liu <sdl.web@gmail.com>
2604
2605 * progmodes/python.el: Trivial cleanup.
2606
94ee8db5
GM
26072012-04-16 Glenn Morris <rgm@gnu.org>
2608
121b8917
GM
2609 * vc/vc.el (vc-string-prefix-p):
2610 * vc/pcvs-util.el (cvs-string-prefix-p):
2611 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2612 * mpc.el (mpc-string-prefix-p):
2613 Make all of these into obsolete aliases for string-prefix-p.
2614 Update callers.
2615 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2616
1197ecfa
GM
2617 * textmodes/two-column.el: Move custom options to the start.
2618 (frame-width): Remove compat definition.
2619 (2C-associate-buffer, 2C-dissociate):
2620 Use with-current-buffer rather than save-excursion.
2621 (2C-dissociate): Force a mode-line update.
2622 (2C-autoscroll): Use ignore-errors.
2623
099e7202
GM
2624 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2625 Autoload trivia.
2626
bf350d6a
GM
2627 * emacs-lisp/cl-extra.el (*random-state*):
2628 Remove unnecessary declaration.
2629
0e829eab
GM
2630 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2631
e3ad7552
GM
2632 * play/cookie1.el (cookie-snarf):
2633 Give an explicit error if input file cannot be read.
2634
68892d27
GM
2635 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2636
20f0c46d
GM
2637 * progmodes/perl-mode.el (c-macro-expand):
2638 Remove unnecessary autoload (it is in loaddefs.el).
2639
5a0978ce
GM
2640 * textmodes/picture.el (picture-desired-column)
2641 (picture-update-desired-column): Convert comments to doc-strings.
2642 (picture-substitute): Remove function.
2643 (picture-mode-map): Initialize in the defvar.
2644
6b955486
GM
2645 * woman.el: Remove eval-after-load for tar-mode.
2646 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2647 (woman-tar-extract-file): Autoload it.
2648
94ee8db5
GM
2649 * frame.el (automatic-hscrolling): Make this alias obsolete.
2650
177eca34
AM
26512012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2652
2653 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2654 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2655 (ispell-dictionary-base-alist): Revert to original XEmacs
2656 friendly version for default. [:alpha:] will be added in
2657 `ispell-set-spellchecker-params' if needed
177eca34 2658
c505aaeb
CY
26592012-04-16 Chong Yidong <cyd@gnu.org>
2660
2661 * image.el (imagemagick--extension-regexp): New variable.
2662 (imagemagick-register-types): Use it.
2663 (imagemagick-types-inhibit): Add :set function. Allow new value
2664 of t to inhibit all types.
2665
2666 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2667 so we can preload it.
2668
2669 * loadup.el (fboundp): Preload regexp-opt, needed by
2670 imagemagick-register-types.
2671
60efac0f
CY
26722012-04-15 Chong Yidong <cyd@gnu.org>
2673
2674 * frame.el (scrolling): Remove nearly unused customization group.
2675
2676 * scroll-all.el (scroll-all-mode): Move to windows group.
2677
5dd1713e
CY
26782012-04-15 Chong Yidong <cyd@gnu.org>
2679
2680 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2681
e6fd457e
CY
26822012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2683
2684 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2685 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2686
e153c136
GM
26872012-04-15 Glenn Morris <rgm@gnu.org>
2688
2689 * simple.el (process-file-side-effects): Doc fix.
2690
e6fd457e 26912012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2692
2693 * international/mule-cmds.el (set-language-environment): Doc fix.
2694
3603c3b1
JB
26952012-04-14 Juanma Barranquero <lekktu@gmail.com>
2696
2697 * server.el (server-auth-key, server-generate-key): Doc fixes.
2698 (server-get-auth-key): Doc fix. Use `string-match-p'.
2699 (server-start): Reflow docstring.
2700
e6de100c
LI
27012012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2702
2703 * server.el (server-generate-key): `called-interactively-p'
2704 requires a parameter.
2705
29734c21
MN
27062012-04-14 Michal Nazarewicz <mina86@mina86.com>
2707
2708 * server.el (server-auth-key): New variable.
75f1671a 2709 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2710 (server-start): Use the new variable and functions to allow
2711 setting a permanent server key (bug#9423).
2712
d65c9521
LL
27132012-04-14 Leo Liu <sdl.web@gmail.com>
2714
2715 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2716
5ae255c7
PE
27172012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2718
2719 Spelling fixes.
2720 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2721 Emacs uses American spelling.
2722
d5e6342e
JB
27232012-04-14 Juanma Barranquero <lekktu@gmail.com>
2724
2725 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2726 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2727 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2728 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2729
ab036cd7
SM
27302012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * progmodes/which-func.el (which-func-modes): Change default.
2733
35dc09a1 27342012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2735
2736 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2737 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2738
35dc09a1 27392012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2740
2741 * custom.el (custom-theme-set-variables): Doc fix.
2742
35dc09a1 27432012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2744
2745 * international/mule.el (set-auto-coding-for-load): Doc fix.
2746
35dc09a1 27472012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2748
35dc09a1
GM
2749 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2750 imenu work again for Objective C Mode. Correct the *-index values,
2751 these having been disturbed by a previous change in 2011-08.
57f845ee 2752
0de3da9f
AM
2753 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2754 Correct two search limits.
2755
35dc09a1 27562012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2757
2758 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2759
35dc09a1 27602012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2761
2762 * international/characters.el: Fix sorting.
2763
35dc09a1 27642012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2765
2766 * international/characters.el: Add more missing Latin case pairs.
2767
35dc09a1 27682012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2769
2770 * files.el (dir-locals-set-class-variables): Doc fix.
2771
35dc09a1 27722012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2773
3f1b5bf8
EZ
2774 * international/characters.el: Add set-case-syntax-pair call for
2775 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2776 counterpart. (Bug#11209)
2777
9f847f41
EZ
2778 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2779
35dc09a1 27802012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2781
2782 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2783
35dc09a1 27842012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2785
35dc09a1
GM
2786 * textmodes/ispell.el (ispell-dictionary-base-alist):
2787 Add data for Hebrew.
e2627d21 2788
35dc09a1 27892012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2790
35dc09a1
GM
2791 * net/rcirc.el (rcirc-cmd-quit):
2792 Revert 2012-03-18 change (Bug#11192).
5c14e333 2793
35dc09a1 27942012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2795
2796 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2797
35dc09a1 27982012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2799
4517fe3a
SM
2800 * minibuffer.el (completion-in-region-mode-map):
2801 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2802
b472a594
VD
28032012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2804
2805 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2806
09b95ce3
MY
28072012-04-13 Masatake YAMATO <yamato@redhat.com>
2808
2809 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2810 to allow `C-M-f' and `C-M-b' to move to the nearest path
2811 separator (bug#9511).
2812
4b63a9ca
LI
28132012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2814
2815 * avoid.el: Require cl when compiling. And also move the
2816 `provide' to the end.
2817
7b55b8bf
TV
28182012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2819
2820 * avoid.el (mouse-avoidance-banish-position): New variable.
2821 (mouse-avoidance-banish-destination): Use it (bug#10165).
2822
adedaa1f
LL
28232012-04-13 Leo Liu <sdl.web@gmail.com>
2824
2825 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2826
70e74021
KB
28272012-04-13 Ken Brown <kbrown@cornell.edu>
2828
2829 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2830 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2831 (browse-url-filename-alist): For the same reason, don't modify
2832 file:// URLs on Cygwin.
2833
e75e89ba
SM
28342012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2837 the region on shift if the binding is already shifted (bug#11221).
2838
82f289a4
GM
28392012-04-12 Glenn Morris <rgm@gnu.org>
2840
2841 * mail/mailpost.el: Move to obsolete/.
2842
d333dc4c
DA
28432012-04-12 Drew Adams <drew.adams@oracle.com>
2844
2845 * imenu.el (imenu--generic-function): Ignore invisible definitions
2846 (bug#10123).
2847
0d15b5ba
VD
28482012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2849
2850 * hexl.el (hexl-bits): New variable.
2851 (hexl-options): Mention the variable in the doc string.
75f1671a 2852 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2853 (hexl-mode): Mention the new variable.
75f1671a
JB
2854 (hexl-mode, hexl-current-address, hexl-current-address):
2855 Use the displen.
0d15b5ba
VD
2856 (hexl-ascii-start-column): New function.
2857 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2858 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2859
64a440db
AM
28602012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2861
2862 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2863 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2864 the encoding, as expected by hunspell.
2865
6decb6c2
SM
28662012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * battery.el (battery--linux-sysfs-regexp): New const.
2869 (battery-status-function): Use it. Remove yeeloong special case.
2870 (battery-yeeloong-sysfs): Remove.
2871 (battery-echo-area-format): Remove yeeloong special case.
2872
088be6fb
SM
28732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2874
6622e416
SM
2875 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2876 Reported by Noah Friedman.
2877
088be6fb
SM
2878 * subr.el (read-passwd): Use read-string.
2879
b49f886e
LMI
28802012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2881
2882 * vcursor.el (vcursor-move): Increase the priority of the overlay
2883 (bug#9663).
2884
a63067fc
DD
28852012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2886
2887 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2888 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2889
ac3cf14a
WS
28902012-04-11 William Stevenson <yhvh2000@gmail.com>
2891
2892 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2893 define-minor-mode (bug#10760).
2894
c4fc691b 28952012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2896
4d6769e1 2897 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2898 that directories matching `grep-find-ignored-files' won't be
2899 pruned (bug#10351).
2900
af23e2e5
CY
29012012-04-11 Chong Yidong <cyd@gnu.org>
2902
2903 * startup.el (command-line): Remove support for long-obsolete
2904 variable font-lock-face-attributes.
2905
ab7ce8c1
GM
29062012-04-11 Glenn Morris <rgm@gnu.org>
2907
2908 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2909
de8c03dc
SM
29102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * window.el (window--state-get-1): Obey window-point-insertion-type.
2913
050cc68b
LB
29142012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2915
2916 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2917 to previous function when point is on the first character of a
75f1671a 2918 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2919
a38c310c
GM
29202012-04-11 Glenn Morris <rgm@gnu.org>
2921
effed0c2
GM
2922 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2923 not just file-errors.
2924
a38c310c
GM
2925 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2926 (vc-bzr-sha1): Use internal sha1.
2927
0221e323
SM
29282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2929
2930 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2931
43956923
SG
29322012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2933
2934 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2935 that start in the middle of the line (bug#10496).
2936
6a8c9eaf
DN
29372012-04-10 Dan Nicolaescu <dann@gnu.org>
2938
2939 * battery.el (battery-linux-proc-acpi): Only one battery is
2940 discharged at a time, but that seems to confuse battery.el when
2941 computing `rate-type' for the battery not being discharged
2942 (bug#10332).
2943
1930bf5d
SM
29442012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2a718f6f
SM
2946 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2947
599430d0
SM
2948 * international/quail.el: Use dolist and simplify.
2949 (quail-define-package, quail-update-keyboard-layout)
2950 (quail-define-rules): Use dolist.
2951 (quail-insert-kbd-layout, quail-get-translation): CSE.
2952
a2754b6c
SM
2953 * tmm.el: Use dolist, remove left over hook.
2954 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2955 Use dolist.
2956 (calendar-load-hook): Don't mess with it.
2957
1930bf5d
SM
2958 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2959 Use derived-mode-p. Run the diff asynchronously.
2960
9f67961c
LMI
29612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2962
2963 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2964
2a8ce227
JB
29652012-04-10 Juanma Barranquero <lekktu@gmail.com>
2966
2967 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2968 (list-dynamic-libraries--loaded): New function.
2969 (list-dynamic-libraries--refresh): Use it.
2970
8f33b5f8
NW
29712012-04-10 Nathan Weizenbaum <nweiz@google.com>
2972
1930bf5d
SM
2973 * progmodes/python.el (python-fill-paragraph):
2974 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2975 disabled (bug#7018).
2976
b12f0439
L
29772012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2978
1930bf5d 2979 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2980 DOS/MS Windows for the Baltic languages. There are still plenty
2981 of texts written in this encoding/codepage (bug#6519).
b12f0439 2982
57c3bd01
GM
29832012-04-10 Glenn Morris <rgm@gnu.org>
2984
2985 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2986 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2987
6c3eab30
FA
29882012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2989
1930bf5d 2990 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2991 next-line "n" and previous-line "p" in order to make recentf more
2992 consistent with ibuffer, dired or org-mode (bug#9387).
2993
24d78a88
LMI
29942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2995
bc72b5d9
LMI
2996 * image.el (put-image): Return the overlay created instead of the
2997 optional input string (bug#7834). Note that this may break code
2998 that is (for some reason or other) depending on `put-image'
2999 returning the string.
3000
bd2dba5a
LMI
3001 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3002
74beb59f
LMI
3003 * simple.el (zap-to-char): Allow zapping using input methods
3004 (bug#1580).
3005
24d78a88
LMI
3006 * textmodes/fill.el (fill-region): Leave point and mark where they
3007 were before filling (bug#5399).
3008
263f20cd
GM
30092012-04-09 Glenn Morris <rgm@gnu.org>
3010
3011 * version.el (emacs-bzr-get-version):
3012 Handle lightweight checkouts of local branches.
3013
58d1f797
AS
30142012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3015
263f20cd 3016 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3017
b4d3bc10
CY
30182012-04-09 Chong Yidong <cyd@gnu.org>
3019
3020 * custom.el (custom-variable-p): Return nil for non-symbol
3021 arguments instead of signaling an error.
3022 (user-variable-p): Obsolete alias for custom-variable-p.
3023
3024 * apropos.el (apropos-variable):
3025 * files-x.el (read-file-local-variable):
3026 * simple.el (set-variable):
3027 * woman.el (woman-mini-help):
3028 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3029
fd06db5d
GM
30302012-04-09 Glenn Morris <rgm@gnu.org>
3031
e5fcdb5e
GM
3032 * startup.el (normal-top-level): Don't look for leim-list.el
3033 in places where it will not be found. (Bug#910)
3034
fd06db5d
GM
3035 * international/mule-cmds.el (set-default-coding-systems):
3036 * files.el (normal-mode):
3037 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3038 This function was removed with ucs-tables.el in 2008.
3039
b39bb7e1
EZ
30402012-04-08 Eli Zaretskii <eliz@gnu.org>
3041
3042 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3043 ispell-encoding8-command to "-i", without a trailing space.
3044 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3045 separate command-line arguments, to specify the encoding, since
3046 that's how hunspell expects it.
3047
5c5b8e23
GM
30482012-04-08 Glenn Morris <rgm@gnu.org>
3049
3050 * loadup.el: Load bindings before cus-start.
3051 This reduces somewhat the number of "rogue" settings in emacs -Q.
3052
a1ed8b05
GM
30532012-04-07 Glenn Morris <rgm@gnu.org>
3054
3055 * version.el (emacs-bzr-get-version): New function.
dfae128a 3056 (emacs-bzr-version): New variable.
a1ed8b05
GM
3057 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3058 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3059
b142f158
EZ
30602012-04-07 Eli Zaretskii <eliz@gnu.org>
3061
dfae128a
GM
3062 * international/uni-bidi.el, international/uni-category.el:
3063 * international/uni-combining.el, international/uni-decimal.el:
3064 * international/uni-decomposition.el, international/uni-digit.el:
3065 * international/uni-lowercase.el, international/uni-mirrored.el:
3066 * international/uni-name.el, international/uni-numeric.el:
3067 * international/uni-titlecase.el, international/uni-uppercase.el:
3068 Update for Unicode 6.1.
b142f158 3069
9078ead6
EZ
30702012-04-07 Eli Zaretskii <eliz@gnu.org>
3071
3072 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3073
f23d2c7d
LMI
30742012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3075
3076 * window.el (shrink-window): Mention the `window-min-height'
3077 variable in the doc string.
3078
0a0a3573
BG
30792012-04-05 Bastien Guerry <bzg@altern.org>
3080
3081 * color.el (color-lighten-name): Fix typo.
3082
e5248ac9
SM
30832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * server.el (server--on-display-p): New function.
3086 (server--on-display-p): Use it.
3087
b4243e22
GV
30882012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3089
3090 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3091 (bug#11145).
3092
305d9f44
SM
30932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * comint.el (comint--common-quoted-suffix): Check string boundary
3096 before comparing (bug#11158).
3097 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3098
3d439cd1
CY
30992012-04-04 Chong Yidong <cyd@gnu.org>
3100
321cc491
CY
3101 * minibuffer.el (completion-extra-properties): Doc fix.
3102
3d439cd1
CY
3103 * subr.el (delayed-warnings-hook): Doc fix.
3104
2d562c0f
DU
31052012-04-04 Daiki Ueno <ueno@unixuser.org>
3106
3107 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3108 selection (Bug#11159).
3109 (epa-insert-keys): Inform that the default public key will be
3110 exported if no key is selected.
3111
4443f204
RS
31122012-04-04 Richard Stallman <rms@gnu.org>
3113
3114 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3115
529c06b6
CY
31162012-04-03 Chong Yidong <cyd@gnu.org>
3117
3118 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3119 mail-insert-file, not its obsolete alias mail-attach-file.
3120
66b907dc
MA
31212012-04-03 Michael Albinus <michael.albinus@gmx.de>
3122
3123 * notifications.el (notifications-notify): Fix docstring.
3124
c0ea195d
GM
31252012-04-02 Glenn Morris <rgm@gnu.org>
3126
3127 * emacs-lisp/authors.el (authors-aliases): Another addition.
3128
5ca64e00
MA
31292012-04-02 Michael Albinus <michael.albinus@gmx.de>
3130
3131 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3132 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3133 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3134
42ee526b
CY
31352012-04-01 Chong Yidong <cyd@gnu.org>
3136
3137 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3138 Handle root directory properly.
3139 (copy-directory): Caller changed.
3140
3141 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3142 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3143
0b021094
GM
31442012-03-31 Glenn Morris <rgm@gnu.org>
3145
40f86458
GM
3146 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3147
7019c177
GM
3148 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3149
a1daddd6
GM
3150 * calendar/calendar.el (calendar-window-list)
3151 (calendar-hide-window): Restore. (Bug#11140)
3152 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3153
0b021094
GM
3154 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3155
40311efc
TV
31562012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3157
3158 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3159 Check if file is a symlink (Bug#10489).
3160
3161 * files.el (copy-directory): Likewise.
3162
5319014e
CY
31632012-03-30 Chong Yidong <cyd@gnu.org>
3164
3165 * image.el (imagemagick-types-inhibit)
3166 (imagemagick-register-types): Doc fix.
3167
935d1290
AM
31682012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3169
ef24141c
SM
3170 * ispell.el (ispell-get-extended-character-mode):
3171 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3172 and treats ~word as ordinary words in pipe mode.
935d1290 3173
61c6e8fd
GM
31742012-03-30 Glenn Morris <rgm@gnu.org>
3175
3176 * tutorial.el (help-with-tutorial): Ensure local variables don't
3177 happen to make the buffer read-only. (Bug#11127)
3178
81fdff00
SM
31792012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3182 (perl-calculate-indent): Return `noindent' in strings.
3183
6e7a6ec0
SS
31842012-03-28 Sam Steingold <sds@gnu.org>
3185
3186 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3187 instead of the broken adhockery which does not prevent calendar
3188 buffers from being displayed at random after exit.
3189 (calendar-window-list, calendar-hide-window): Remove the broken
3190 adhockery.
3191
fee88ca0
GM
31922012-03-28 Glenn Morris <rgm@gnu.org>
3193
3194 * replace.el (query-replace-map): Doc fix.
3195
38de3354
AS
31962012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3197
3198 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3199 contents. (Bug#11109)
3200
b973155e
SM
32012012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3202
3203 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3204 (bug#11077).
3205 (avl-tree--check, avl-tree--check-node): New funs.
3206
dcb6e7b3
MR
32072012-03-27 Martin Rudalics <rudalics@gmx.at>
3208
3209 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3210 (switch-to-prev-buffer, switch-to-next-buffer):
3211 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3212 showing a buffer already is done on the same frame.
3213
b4fa35fa
GM
32142012-03-27 Glenn Morris <rgm@gnu.org>
3215
3216 * startup.el (mail-host-address): Doc fix.
3217
f9210e18
SM
32182012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3221 than 197 variables.
3222
c0bf7753
AF
32232012-03-26 Ami Fischman <ami@fischman.org>
3224
3225 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3226
33da7b16
GM
32272012-03-26 Glenn Morris <rgm@gnu.org>
3228
02243d9d
GM
3229 * files.el (save-buffers-kill-emacs): Doc fix.
3230
33da7b16
GM
3231 * startup.el (normal-top-level, command-line, command-line-1):
3232 Give them doc strings.
3233
e5a69fd0
EZ
32342012-03-25 Eli Zaretskii <eliz@gnu.org>
3235
3236 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3237 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3238
9a69676a
CY
32392012-03-25 Chong Yidong <cyd@gnu.org>
3240
4125cb8b
CY
3241 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3242 theme if it was previously enabled before (Bug#11031).
3243
dd470960
CY
3244 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3245 spec with custom-face-get-current-spec if its :shown-value is not
3246 determined yet (Bug#9337).
4125cb8b 3247 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3248
9a69676a
CY
3249 * button.el (button-at): Minor addition to docstring.
3250
6e7e90fa
SL
32512012-03-24 Simon Leinen <simon.leinen@gmail.com>
3252
3253 * vc/vc.el (vc-merge): Fix a prompt.
3254
f06e2758
CY
32552012-03-24 Chong Yidong <cyd@gnu.org>
3256
3257 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3258 point (Bug#9623).
3259
6e7e90fa
SL
3260 * button.el (button-at): Minor addition to docstring.
3261
b9d0879b
SM
32622012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * newcomment.el (comment-choose-indent): No space after BOL.
3265
e71cebb3
SS
32662012-03-22 Sam Steingold <sds@gnu.org>
3267
3268 * window.el (switch-to-prev-buffer): Revert last patch because the
3269 bug turned out to be an advertised feature (Elisp manual 28.14).
3270
335aff35
GM
32712012-03-22 Glenn Morris <rgm@gnu.org>
3272
3273 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3274 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3275
c676576a
LMI
32762012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3277
3278 * net/network-stream.el (network-stream-open-starttls): Make error
3279 message under Windows be less misleading.
3280
126f3d39
LW
32812012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3282
3283 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3284 understands (bug#9942).
3285
64fee311
CY
32862012-03-22 Chong Yidong <cyd@gnu.org>
3287
3288 * simple.el (end-of-visible-line): Handle return value of
3289 next-single-property-change properly (Bug#9371).
3290
a640d29a
KH
32912012-03-22 Kenichi Handa <handa@m17n.org>
3292
3293 * international/quail.el (quail-insert-kbd-layout): Fix previous
3294 change. To avoid unwanted bidi reordering, use
3295 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3296
39675016
DG
32972012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3298
3299 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3300 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3301 (ruby-beginning-of-indent): Be more careful with the difference
3302 between word-boundary and symbol boundary.
3303 (ruby-mode-syntax-table): Make : a symbol constituent.
3304
0a6934fc 33052012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3306
3d008e4f
SM
3307 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3308
0a6934fc
SM
33092012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3310
af67c9d7
SM
3311 * progmodes/etags.el (tags-completion-at-point-function):
3312 Improve last fix.
3313
1acad97c
SM
3314 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3315
e298b5da
SS
33162012-03-21 Sam Steingold <sds@gnu.org>
3317
3318 * progmodes/etags.el (tags-completion-at-point-function):
3319 Avoid the error when point is inside the pattern.
3320
91d82a70
JY
33212012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3322
3323 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3324 line (Bug#10855).
3325
69188b79
CY
33262012-03-21 Drew Adams <drew.adams@oracle.com>
3327
3328 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3329
99fc91fe
AK
33302012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3331
3332 * ido.el (ido-set-current-directory, ido-read-internal)
3333 (ido-choose-completion-string, ido-completion-help): Handle nil
3334 value of ido-completion-buffer (Bug#11008).
3335
087bbb4c
SS
33362012-03-21 Sam Steingold <sds@gnu.org>
3337
3338 * window.el (switch-to-prev-buffer): Do not switch to a visible
3339 window previous buffer, just like with the frame previous buffers.
3340
fb5b8aca
CY
33412012-03-21 Chong Yidong <cyd@gnu.org>
3342
3343 * faces.el (make-face, make-empty-face, copy-face):
3344 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3345 Doc fixes.
3346
dc9924b8
SM
33472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3348
3349 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3350 (widget-complete): Remove broken use of it.
3351
f0bcceb9
CY
33522012-03-20 Chong Yidong <cyd@gnu.org>
3353
dc9924b8
SM
3354 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3355 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3356 characters.
3357
ee52ebf3
TH
33582012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3359
3360 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3361 to draw rectangles, not squares. (Regression introduced by revno
3362 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3363
4c5779ab
CY
33642012-03-18 Chong Yidong <cyd@gnu.org>
3365
3366 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3367 it is not yet defined (for temacs).
3368
15360934
LL
33692012-03-18 Leo Liu <sdl.web@gmail.com>
3370
dc9924b8 3371 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3372
d9a8eb66
EZ
33732012-03-17 Eli Zaretskii <eliz@gnu.org>
3374
3375 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3376 (ispell-choices-win-default-height, ispell-silently-savep)
3377 (ispell-dictionary-alist, ispell-encoding8-command)
3378 (ispell-check-version, ispell-aspell-find-dictionary)
3379 (ispell-valid-dictionary-list, ispell-words-keyword)
3380 (ispell-get-word, ispell-internal-change-dictionary)
3381 (ispell-region, ispell-skip-region-list)
3382 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3383 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3384 (ispell-message-text-end, ispell-message)
3385 (ispell-buffer-local-parsing): Doc fix.
3386
f02ff80d
J
33872012-03-13 Jambunathan K <kjambunathan@gmail.com>
3388
3389 * htmlfontify.el: Add support for code block fontification for ODT
3390 export (Bug #9914).
3391 (hfy-optimisations): Define new option
3392 `body-text-only'
3393 (hfy-fontify-buffer): Honor above setting.
3394 (hfy-begin-span, hfy-end-span): New routines factored out form
3395 `hfy-fontify-buffer'.
3396 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3397 that permit insertion of custom tags.
3398 (hfy-fontify-buffer): Use above handlers.
3399 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3400 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3401 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3402 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3403 bind a special variable `hfy-user-sheet-assoc'.
3404 (htmlfontify-string): New defun.
3405 (hfy-compile-face-map): Make sure that the last char in the
3406 buffer is correctly fontified.
3407 (hfy-face-resolve-face): Whitespace only change.
3408
9ac7a13f
EZ
34092012-03-17 Eli Zaretskii <eliz@gnu.org>
3410
3411 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3412 message more clear.
3413
e2b5bdd7
LL
34142012-03-16 Leo Liu <sdl.web@gmail.com>
3415
3416 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3417
2e492df3
AM
34182012-03-16 Alan Mackenzie <acm@muc.de>
3419
3420 Further optimise the handling of large macros.
3421
3422 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3423 limit to a call of `c-literal-limits'.
3424 (c-determine-+ve-limit): New function.
dc9924b8
SM
3425 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3426 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3427 In CASE 5B, restrict a search limit to 500.
3428 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3429
3430 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3431 Restrict macro bounds to +-500 from after-change's BEG END.
3432
50e94f0c
LL
34332012-03-16 Leo Liu <sdl.web@gmail.com>
3434
3435 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3436
6f09f6ed
AH
34372012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3438
3439 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3440 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3441
c7e73d51
GM
34422012-03-16 Glenn Morris <rgm@gnu.org>
3443
da986230
GM
3444 * view.el (view-buffer, view-buffer-other-window)
3445 (view-buffer-other-frame): Doc fixes re special mode-class.
3446
0835f01e
GM
3447 * subr.el (eval-after-load): If named feature is provided not from
3448 a file, run after-load forms. (Bug#10946)
3449
c7e73d51
GM
3450 * calendar/calendar.el (calendar-insert-at-column):
3451 Handle non-unit-width characters a bit better. (Bug#10978)
3452
3f2eafd1
CY
34532012-03-15 Chong Yidong <cyd@gnu.org>
3454
3455 * emacs-lisp/ring.el (ring-extend): New function.
3456 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3457
3458 * comint.el (comint-read-input-ring)
3459 (comint-add-to-input-history): Grow comint-input-ring lazily.
3460
103af3fe
SM
34612012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3462
663b1677
SM
3463 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3464 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3465
103af3fe
SM
3466 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3467 (imenu-add-to-menubar): Don't add a redundant index.
3468 (imenu-update-menubar): Handle a dynamically composed keymap.
3469
899cb7cb
KY
34702012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3471
3472 * mail/sendmail.el (mail-encode-header):
3473 Bind rfc2047-encode-encoded-words to nil.
3474
3809f91d
GM
34752012-03-13 Glenn Morris <rgm@gnu.org>
3476
3477 * calendar/calendar.el (calendar-string-spread):
3478 Handle non-unit-width characters a bit better. (Bug#10978)
3479
9e345a01
LL
34802012-03-13 Leo Liu <sdl.web@gmail.com>
3481
3482 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3483 directory and file as argument (Bug#10822).
3484
4a07df36
KS
34852012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3486
3487 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3488 For dynamically generated code, follow $PC.
3489 (gdb-disassembly-handler-custom): Handle no function name case.
3490
4aaa9356
TL
34912012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3492
3493 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3494 * emulation/ws-mode.el (ws-query-replace):
3495 * sort.el (sort-regexp-fields):
3496 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3497
225979da
SM
34982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3499
3500 * dabbrev.el: Fix cycle completion order (bug#10963).
3501 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3502 (dabbrev-completion): Don't use an obarray; provide
3503 a cycle-sort-function.
3504
e2f1fdab
LL
35052012-03-12 Leo Liu <sdl.web@gmail.com>
3506
dc9924b8 3507 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3508 (kill-do-not-save-duplicates): Doc fix.
3509
b19490ed
SM
35102012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * dabbrev.el: Fix cycle completion (bug#10963).
3513 Use lexical binding and wrap to 80 columns.
3514 (dabbrev-completion): Delay computing the list of completions.
3515
4b05d722
KH
35162012-03-12 Kenichi Handa <handa@m17n.org>
3517
3518 * international/quail.el (quail-insert-kbd-layout): Surround each
3519 row by LRO and PDF instead of inserting many LRMs. Pad the left
3520 and right of each non-spacing marks. Insert invisible space
3521 between lower and upper characters to prevent composition.
3522
dbbc2e69
SM
35232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3524
3525 * minibuffer.el (minibuffer-complete): Don't get confused when the
3526 function is run twice via different commands (bug#10958).
3527 (complete-with-action): Fix docstring.
3528
292112ed
CY
35292012-03-12 Chong Yidong <cyd@gnu.org>
3530
5d1ac394
CY
3531 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3532 (nxml-completion-at-point-function): New function.
3533 (nxml-mode): Use it.
3534 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3535
292112ed
CY
3536 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3537 Load generated autoloads file before byte compiling (Bug#10970).
3538 (package--make-autoloads-and-compile): New helper fun.
3539
4098f8f7
CS
35402012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3541
3542 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3543
8f754691
MA
35442012-03-11 Michael Albinus <michael.albinus@gmx.de>
3545
3546 * autorevert.el (auto-revert-handler): Ensure, that
3547 file-readable-p is applied only for local files or in
3548 auto-revert-tail-mode.
3549
e29ab36b
AS
35502012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3551
dbbc2e69
SM
3552 * server.el (server-eval-at): Handle non-tcp connections.
3553 Decode result string.
ad0bf5b6 3554
e29ab36b
AS
3555 * server.el (server-msg-size): New constant.
3556 (server-reply-print): New function.
3557 (server-eval-and-print): Use it.
3558 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3559 Handle -print-nonl.
3560
de5939ba
CS
35612012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3562
3563 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3564 (Bug#10987).
3565
0c93eabf
CY
35662012-03-11 Chong Yidong <cyd@gnu.org>
3567
397a688f
CY
3568 * simple.el (goto-line): Doc fix (Bug#9938).
3569
2cc775f9
CY
3570 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3571
0c93eabf
CY
3572 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3573 when finished (Bug#10963).
3574
c491fa41
MR
35752012-03-11 Martin Rudalics <rudalics@gmx.at>
3576
3577 * window.el (split-window-below): Fix bug in case where
3578 split-window-keep-point is nil (Bug#10971).
3579
300e8fa5
JL
35802012-03-11 Juri Linkov <juri@jurta.org>
3581
3582 * replace.el (replace-highlight): Set isearch-word to nil
3583 unconditionally. (Bug#10887)
3584
dbf6c5a1
EZ
35852012-03-10 Eli Zaretskii <eliz@gnu.org>
3586
3587 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3588 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3589 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3590 (mairix-widget-create-query): Add usage information about mairix
3591 search forms: negating words, searching for substrings, etc.
3592
b9e501de
JP
35932012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3594
3595 * international/fontset.el (font-encoding-alist): Add an entry for
3596 ksx1001 (Bug#5667).
3597
92795c91
RS
35982012-03-10 Richard Stallman <rms@gnu.org>
3599
1694e6c1
RS
3600 * mail/sendmail.el (mail-encode-header):
3601 Set rfc2047-encode-encoded-words.
3602
607e8555
RS
3603 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3604
de3bc99a
RS
3605 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3606 view buffer means not swapped.
3607 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3608 (rmail-write-region-annotate): Error if real text has disappeared.
3609
92795c91
RS
3610 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3611
699bd04e
CY
36122012-03-10 Chong Yidong <cyd@gnu.org>
3613
3614 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3615 * emulation/cua-base.el (cua--init-keymaps):
3616 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3617
570a1714
MR
36182012-03-10 Martin Rudalics <rudalics@gmx.at>
3619
dbbc2e69
SM
3620 * speedbar.el (speedbar-unhighlight-one-tag-line):
3621 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3622
82dcf4e4
CY
36232012-03-10 Chong Yidong <cyd@gnu.org>
3624
7a2c7ca7
CY
3625 * minibuffer.el (completion-in-region, completion-help-at-point):
3626 Give the completion field overlay a high priority (Bug#6830).
3627
82dcf4e4
CY
3628 * dired.el (dired-goto-file): Recognize absolute file name
3629 listings (Bug#7126).
3630 (dired-goto-file-1): New helper function.
3631 (dired-toggle-read-only): Inhibit warnings.
3632
052e28ac
MA
36332012-03-09 Michael Albinus <michael.albinus@gmx.de>
3634
75f1671a 3635 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3636 there are no properties.
3637
95d5e396
LL
36382012-03-09 Leo Liu <sdl.web@gmail.com>
3639
3640 * savehist.el (savehist-printable): Stricter check for string
3641 value (Bug#10937).
3642
3f018d6d
EZ
36432012-03-09 Eli Zaretskii <eliz@gnu.org>
3644
dbbc2e69
SM
3645 * mail/smtpmail.el (smtpmail-send-it):
3646 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3647 valid mbox format.
3648
f7fd3d79
GM
36492012-03-09 Glenn Morris <rgm@gnu.org>
3650
3651 * files.el (dir-locals-find-file):
3652 Don't check result is regular, readable.
3653 (dir-locals-read-from-file): Demote errors.
3654
6ff6e72f
EZ
36552012-03-08 Eli Zaretskii <eliz@gnu.org>
3656
dbbc2e69
SM
3657 * international/quail.el (quail-insert-kbd-layout):
3658 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3659 layout cell, to prevent their reordering by bidi display engine.
3660 For details, see the discussion in
3661 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3662
9cec7834
AM
36632012-03-08 Alan Mackenzie <acm@muc.de>
3664
3665 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3666 the starting position; make it extend the marked region when
3667 invoked repeatedly - all under appropriate circumstances.
3668 Fixes bugs #5525, #10906.
3669
9a40b8d4
GM
36702012-03-08 Glenn Morris <rgm@gnu.org>
3671
3672 * files.el (locate-dominating-file, dir-locals-find-file):
3673 Undo 2012-03-06 change.
3674
7a08ed35
EZ
36752012-03-07 Eli Zaretskii <eliz@gnu.org>
3676
dbbc2e69
SM
3677 * international/quail.el (quail-help):
3678 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3679 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3680 for the reason.
3681
5aca4f71 36822012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3683
3684 Avoid superfluous registering of signals. (Bug#10807)
3685
3686 * notifications.el (notifications-on-action-object)
3687 (notifications-on-close-object): New defvars.
3688 (notifications-on-action-signal, notifications-on-closed-signal):
3689 Unregister the signal if not needed any longer.
3690 (notifications-notify): Register `notifications-action-signal' or
3691 `notifications-closed-signal', if :on-action or :on-close has been
3692 passed as argument.
3693
78e8b10a
CY
36942012-03-07 Chong Yidong <cyd@gnu.org>
3695
3696 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3697 non-X platforms.
3698
69481eb8
GM
36992012-03-06 Glenn Morris <rgm@gnu.org>
3700
3701 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3702 (x-disown-selection-internal, x-get-selection-internal):
3703 Doc fix (add arglist signatures). (Bug#10783)
3704
133b8e11
KS
37052012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3706
3707 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3708 Handle breakpoints with no "type".
3709
99a83064
GM
37102012-03-06 Glenn Morris <rgm@gnu.org>
3711
3712 * files.el (locate-dominating-file): Add optional predicate argument.
3713 (dir-locals-find-file): Make use of above change.
3714
17798e78
TTN
37152012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3716
3717 * info.el (Info-insert-dir): Also try "dir.gz".
3718
eb182446
GM
37192012-03-06 Glenn Morris <rgm@gnu.org>
3720
8f2114ee
GM
3721 * files.el (dir-locals-find-file):
3722 Ignore non-readable or non-regular files. (Bug#10928)
3723
eb182446
GM
3724 * files.el (locate-dominating-file): Doc fix.
3725
24679323
AS
37262012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3727
3728 * calendar/calendar.el (calendar-set-mode-line):
3729 `getenv' returns a string. (Bug#10951)
3730
01d972a9
LL
37312012-03-05 Leo Liu <sdl.web@gmail.com>
3732
109aa8a9
LL
3733 * simple.el (backward-delete-char-untabify): Constrain point to
3734 field (Bug#10939).
3735
01d972a9
LL
3736 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3737
10607bea
CY
37382012-03-05 Chong Yidong <cyd@gnu.org>
3739
3740 * simple.el (count-words): If called from Lisp, return the word
3741 count, for symmetry with `count-lines'. Arglist changed.
3742 (count-words--message): Args changed. Consolidate counting code
3743 from count-words and count-words-region.
3744 (count-words-region): Caller changed.
3745 (count-lines-region): Make it an obsolete alias.
3746
5dd11cfe
TH
37472012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3748
3749 * saveplace.el (save-place-to-alist)
3750 (save-place-ignore-files-regexp): Allow value nil to disable this
3751 feature.
3752
c349f4e6
CY
37532012-03-04 Chong Yidong <cyd@gnu.org>
3754
3755 * faces.el (face-spec-reset-face): For the default face, reset the
3756 attributes to default values (Bug#10748).
3757
e627be4c
LMI
37582012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3759
3760 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3761 previous patch: Check `message-send-mail-function', and not the
3762 default function (bug#10897).
3763
ebeabff4
MA
37642012-03-04 Michael Albinus <michael.albinus@gmx.de>
3765
a41a6cf4
MA
3766 * notifications.el (notifications-on-action-signal)
3767 (notifications-on-closed-signal): Check for unique service name of
3768 incoming event. Fix error in removing entry.
ebeabff4 3769 (top): Register for signals with wildcard service name.
a41a6cf4 3770 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3771
c1ca42b4
CY
37722012-03-04 Chong Yidong <cyd@gnu.org>
3773
dc9924b8 3774 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3775
ea16568d
GM
37762012-03-04 Glenn Morris <rgm@gnu.org>
3777
3778 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3779 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3780 (expand-abbrev, define-abbrev-table): Doc fixes.
3781
fbae4637
LMI
37822012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3783
3784 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3785 `message-default-send-mail-function' and not `send-mail-function'
3786 when doing the prompting for `sendmail-query-once' before sending
3787 in Message buffers (bug#10897).
3788
a1e7225c
LMI
3789 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3790 This is inconsistent with all the other stream functions, which leave
3791 the setting up to the higher levels (if so wanted) (bug#10931).
3792
56d093a9
AM
37932012-03-02 Alan Mackenzie <acm@muc.de>
3794
3795 Depessimize the handling of very large macros.
3796
3797 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3798 (c-macro-cache-syntactic): New variables to implement a one
3799 element macro cache.
3800 (c-invalidate-macro-cache): New function.
3801 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3802 Adapt to use the new cache.
3803 (c-state-safe-place): Use better the cache of safe positions.
3804 (c-state-semi-nonlit-pos-cache)
3805 (c-state-semi-nonlit-pos-cache-limit):
3806 New variables for...
3807 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3808 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3809 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3810 Use c-state-semi-safe-place.
56d093a9 3811
dbbc2e69
SM
3812 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3813 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3814
817e5c3d
MA
38152012-03-02 Michael Albinus <michael.albinus@gmx.de>
3816
dbbc2e69
SM
3817 * jka-compr.el (jka-compr-call-process):
3818 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3819 not remote.
3820
a032a702
MA
38212012-03-01 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3824 access of FILE2, if FILE1 does not exist.
3825
99a54f21
MA
3826 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3827 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3828
3829 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3830 Add "PAGER=" to `process-environment'.
3831
f6561e1f
MM
38322012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3833
3834 * progmodes/sql.el: Bug fix
3835 (sql-get-login-ext): Save login values in globals.
3836 (sql-get-login): Use new version of `sql-get-login-ext'.
3837 (sql-interactive-mode): Set global `sql-connection' to nil.
3838 (sql-connect): Set global values for connection.
3839 (sql-product-interactive): Save global values as buffer local.
3840
2d44d9cc
LL
38412012-02-29 Leo Liu <sdl.web@gmail.com>
3842
3843 * abbrev.el (define-abbrevs): Reset sys to nil.
3844
96b49301 38452012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3846
bf7f9bc5
JB
3847 * files.el (file-equal-p): Rename from `files-equal-p'.
3848 Return nil when one or both files don't exist.
96b49301 3849 (file-subdir-of-p): Now only top directory must exists,
3850 return nil if it doesn't.
bf7f9bc5
JB
3851 (copy-directory): No need to test with `file-subdir-of-p' after
3852 creating dir.
3853 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3854 to `file-equal-p'.
96b49301 3855
44e97401
GM
38562012-02-28 Glenn Morris <rgm@gnu.org>
3857
3858 * shell.el (shell-mode):
3859 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3860 * play/landmark.el (landmark-font-lock-face-O):
3861 * play/handwrite.el (handwrite):
3862 * play/gomoku.el (gomoku-O):
3863 * net/browse-url.el (browse-url-browser-display):
3864 * international/mule.el (define-charset):
3865 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3866 * filesets.el (filesets-find-file-delay):
3867 * eshell/em-xtra.el (eshell-xtra):
3868 * eshell/em-unix.el (eshell-grep):
3869 * emulation/viper.el (viper-mode):
3870 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3871 * emacs-lisp/easymenu.el (easy-menu-define):
3872 * calendar/timeclock.el (timeclock-use-display-time):
3873 * bs.el (bs-mode):
3874 * bookmark.el (bookmark-save-flag):
3875 Doc fix (standardize possessive apostrophe usage).
3876
c98c6276
CY
38772012-02-27 Chong Yidong <cyd@gnu.org>
3878
bf7f9bc5
JB
3879 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3880 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3881
c98c6276
CY
3882 * font-lock.el (font-lock-specified-p): Rename from
3883 font-lock-spec-present. Callers changed.
3884
9c62cd04 38852012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3886
bf7f9bc5
JB
3887 * emacs-lisp/package.el (package-compute-transaction):
3888 Handle holding a package version to t in package-load-list.
8ac9e529 3889
530739c9
MA
38902012-02-26 Michael Albinus <michael.albinus@gmx.de>
3891
3892 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3893 (tramp-get-inode, tramp-get-device): Use cached values.
3894
487915d7
AM
38952012-02-26 Alan Mackenzie <acm@muc.de>
3896
3897 Check there is a font-lock specification before doing initial
3898 fontification.
3899
3900 * font-core.el (font-lock-mode): Move the conditional from
3901 :after-hook to font-lock-initial-fontify.
3902 (font-lock-default-function): Move the check for a specification
3903 to font-lock-spec-present.
3904
dc9924b8 3905 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3906 (font-lock-spec-present): New function.
3907
4fd96557
JB
39082012-02-26 Jim Blandy <jimb@red-bean.com>
3909
3910 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3911 (gdb-send): Apply it to the operand of the '-interpreter-exec
3912 console' command, so that we can pass arguments with (say) quotes
3913 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3914
9a4888c0
CY
39152012-02-26 Chong Yidong <cyd@gnu.org>
3916
07498861
CY
3917 * help-fns.el (describe-function-1): Clarify description of
3918 remapping (Bug#10844).
3919
9a4888c0
CY
3920 * files.el (files-equal-p): Doc fix.
3921 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3922 and quit the loop once a mismatch is found.
3923
ea8fb88d
JB
39242012-02-25 Juanma Barranquero <lekktu@gmail.com>
3925
3926 * bs.el (bs--show-with-configuration): Don't throw an error
3927 if the window cannot be split; otherwise, subsequent calls to
3928 bs-show fail, restoring a stale window config. (Bug#10882)
3929
525795c1
JD
39302012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3931
3932 * term/ns-win.el (global-map): Bind ns-drag-file to
3933 ns-find-file (Bug#5855, Bug#10050).
3934
f008086f
AS
39352012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3936
3937 * calendar/parse-time.el (parse-time-string): Allow extractor to
3938 return nil.
3939
a3fcfa99
MA
39402012-02-25 Michael Albinus <michael.albinus@gmx.de>
3941
91027d08
JB
3942 * net/tramp.el (tramp-file-name-for-operation):
3943 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3944
3945 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3946 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3947 Add COPY-CONTENTS argument.
a3fcfa99 3948
67b0de11
CY
39492012-02-25 Chong Yidong <cyd@gnu.org>
3950
3951 Add custom groups for VC backends, for consistency with vc-bzr.
3952
3953 * vc/vc-arch.el (vc-arch):
3954 * vc/vc-cvs.el (vc-cvs):
3955 * vc/vc-git.el (vc-git):
3956 * vc/vc-hg.el (vc-hg):
3957 * vc/vc-mtn.el (vc-mtn):
3958 * vc/vc-rcs.el (vc-rcs):
3959 * vc/vc-sccs.el (vc-sccs):
3960 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3961 All relevant defcustoms reassigned.
3962
3c9dfce6
CY
39632012-02-25 Chong Yidong <cyd@gnu.org>
3964
1339bf43
CY
3965 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3966
3c9dfce6
CY
3967 * term/x-win.el (x-initialize-window-system): Reduce default for
3968 x-selection-timeout to 5 seconds (Bug#8869).
3969
25b2e303 39702012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3971
ec70a47d
GM
3972 * files.el (files-equal-p, file-subdir-of-p): New functions.
3973 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3974 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3975 * dired-aux.el (dired-copy-file-recursive): Same.
3976 (dired-create-files): Modify destination when source is equal to
3977 dest when copying files.
53a46cd0 3978 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3979
914260cd
MA
39802012-02-24 Michael Albinus <michael.albinus@gmx.de>
3981
3982 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3983 (Bug#10874)
3984
2cb228f7
AM
39852012-02-23 Alan Mackenzie <acm@muc.de>
3986
3987 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3988 parameter "after-hook:" to allow the expansion to run code after
3989 the execution of the mode hooks.
3990
3991 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3992 from font-lock-mode-internal.
2cb228f7 3993
91027d08 3994 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3995 :after-hook.
3996
8f0fde21
SM
39972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3e88618b
SM
3999 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4000 (completion--cache-all-sorted-completions): New function.
4001 (completion-all-sorted-completions): Use it.
4002 (completion--do-completion, minibuffer-force-complete):
4003 Use it to re-instate the flush hook.
4004
8f0fde21
SM
4005 * icomplete.el (icomplete-completions): Replace last fix with a better
4006 one (bug#10850).
4007
8e911f6f
DG
40082012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4009
4010 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4011 when it might call us back infinitely (bug#10797).
4012
49fe4321
GM
40132012-02-23 Glenn Morris <rgm@gnu.org>
4014
4015 * minibuffer.el (completion-category-overrides): Doc fix.
4016
b291b572
SM
40172012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4020 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4021
31a9ef2e
GM
40222012-02-23 Glenn Morris <rgm@gnu.org>
4023
5e6e6794 4024 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4025 (authors-obsolete-files-regexps, authors-ignored-files)
4026 (authors-ambiguous-files, authors-renamed-files-alist):
4027 Add more entries.
4028
0bd1e074
JL
40292012-02-23 Juri Linkov <juri@jurta.org>
4030
4031 * isearch.el (isearch-occur): Sync interactive spec with occur's
4032 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4033
b617673c
JL
4034 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4035
19e9789e
JL
40362012-02-22 Juri Linkov <juri@jurta.org>
4037
4038 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4039 (ucs-insert): Doc fix. Check for hex digits in the string.
4040 Don't display `nil' in the error message. (Bug#10857)
4041
f41ce09d
AM
40422012-02-22 Alan Mackenzie <acm@muc.de>
4043
7a71b18d 4044 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4045
ac2eceee
GM
40462012-02-22 Glenn Morris <rgm@gnu.org>
4047
4048 * ffap.el (ffap-c-path):
4049 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4050
abd1f678
CY
40512012-02-22 Chong Yidong <cyd@gnu.org>
4052
4053 * custom.el (load-theme): Doc fix.
4054
f25aef2e
GM
40552012-02-22 Glenn Morris <rgm@gnu.org>
4056
4057 * dired-x.el (dired-guess-shell-alist-default):
4058 Remove escape sequences from nroff output. (Bug#172)
4059
5f8dc2ca
GM
40602012-02-21 Glenn Morris <rgm@gnu.org>
4061
6ff86ec4
GM
4062 * vc/emerge.el (emerge-defvar-local):
4063 Set `permanent-local' property rather than unused `preserved'.
4064
be3223a3 4065 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4066 (picture-mode-map): Use it. (Bug#10860)
4067 (picture-mode): Doc fix.
4068
3fe58f4f
JB
40692012-02-21 Juanma Barranquero <lekktu@gmail.com>
4070
4071 * newcomment.el (uncomment-region-default): Remove unused binding.
4072
f9a998c3
GM
40732012-02-21 Glenn Morris <rgm@gnu.org>
4074
4075 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4076 (picture-self-insert, picture-tab-chars): Doc fix.
4077 (picture-mode-map): Fix C-a, C-e.
4078
c6029348
GM
40792012-02-20 Glenn Morris <rgm@gnu.org>
4080
4081 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4082
ab1ce9d7
LL
40832012-02-20 Leo Liu <sdl.web@gmail.com>
4084
4085 * icomplete.el (icomplete-completions): Check FROM arg before
4086 passing to substring (Bug#10850).
4087
0fd40f89
CY
40882012-02-19 Chong Yidong <cyd@gnu.org>
4089
4090 * comint.el: Require ansi-color.
4091 (comint-output-filter-functions): Add ansi-color-process-output.
4092
4093 * ansi-color.el: Don't set comint-output-filter-functions; it is
4094 now in the initial value defined in comint.el.
4095 (ansi-color-apply-face-function): New variable.
4096 (ansi-color-apply-on-region): Use it.
4097 (ansi-color-apply-overlay-face): New function.
4098
4099 * shell.el (shell): No need to require ansi-color.
4100 (shell-mode): Use ansi-color-apply-face-function to highlight
4101 color escapes using font-lock-face property (Bug#10835).
4102
20af2394
CY
41032012-02-19 Chong Yidong <cyd@gnu.org>
4104
4105 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4106 mode-line formats (Bug#10839).
4107
e23a3fbe
GM
41082012-02-18 Glenn Morris <rgm@gnu.org>
4109
b474519e
GM
4110 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4111
4112 * mail/undigest.el (unforward-rmail-message): Doc fix.
4113
e23a3fbe
GM
4114 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4115
57939ff4
EZ
41162012-02-18 Eli Zaretskii <eliz@gnu.org>
4117
4118 * international/characters.el (script-list): Sync with the latest
4119 Unicode Character Database.
4120
0c23686e
AS
41212012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4122
4123 * international/titdic-cnv.el: Remove duplicate coding tag.
4124 * language/cham.el: Likewise.
4125 * language/tai-viet.el: Likewise.
4126
6818b449
GM
41272012-02-18 Glenn Morris <rgm@gnu.org>
4128
4129 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4130 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4131 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4132 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4133 * calendar/holidays.el (holiday-bahai-holidays)
4134 (calendar-holidays, list-holidays):
4135 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
4136
0311a3fc
TH
41372012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4138
4139 * saveplace.el (save-place-ignore-files-regexp): New variable
4140 allowing for excluding files from saving their location of point.
4141 The default value matches the temporary commit message editing
4142 files from Git, SVN, Bazaar, and Mercurial.
4143 (save-place-to-alist): Use it.
4144
eb864a71
LM
41452012-02-17 Lawrence Mitchell <wence@gmx.li>
4146 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * newcomment.el (uncomment-region-default): Don't leave extra space
4149 when an arg is provided (bug#8150).
4150
ee0ce425
TZ
41512012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4152
eb864a71 4153 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4154
95ddf442
GM
41552012-02-17 Glenn Morris <rgm@gnu.org>
4156
4157 * net/socks.el: Require network-stream. (Bug#10599)
4158
48dd1e39 41592012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4160
4161 * international/charprop.el:
4162 * international/uni-name.el:
4163 * international/uni-old-name.el:
4164 * international/uni-comment.el: Regenerate.
4165
d68cd087
GM
41662012-02-16 Glenn Morris <rgm@gnu.org>
4167
4168 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4169 Interactively in calendar buffer, give an error if not on a date.
4170
13932042
GM
41712012-02-15 Glenn Morris <rgm@gnu.org>
4172
4173 * shell.el (shell-delimiter-argument-list):
4174 Revert 2011-02-17 change. (Bug#8027)
4175
c3a70e2b
CY
41762012-02-15 Chong Yidong <cyd@gnu.org>
4177
60236b0d
CY
4178 * minibuffer.el (completion-at-point-functions): Doc fix.
4179
c3a70e2b
CY
4180 * custom.el (defcustom): Doc fix; note use of defvar.
4181
9f26dc24
GM
41822012-02-15 Glenn Morris <rgm@gnu.org>
4183
4184 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4185 Doc fixes.
4186
6546b134
GM
41872012-02-14 Glenn Morris <rgm@gnu.org>
4188
4189 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4190
d29b2b4c
LI
41912012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4192
4193 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4194 way the ports list is computed.
835bdcba
LI
4195 (smtpmail-query-smtp-server): Prompt the user for a port number if
4196 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4197
08dcdbc9
TZ
41982012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4199
4200 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4201
2605051a
GM
42022012-02-13 Glenn Morris <rgm@gnu.org>
4203
4204 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4205
7ee99f32
TZ
42062012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4207
4208 * net/gnutls.el (gnutls-trustfiles): New variable.
4209 (gnutls-negotiate): Use it.
4210
5f0af64f
LI
42112012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4212
4213 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4214 does its stuff if Gnus is running.
4215
c14fcc95
AM
42162012-02-13 Alan Mackenzie <acm@muc.de>
4217
4218 Fix a loop in c-set-fl-decl-start.
4219
7a71b18d 4220 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4221 c-backward-syntactic-ws actually moves backwards.
4222
142b4d90
LL
42232012-02-13 Leo Liu <sdl.web@gmail.com>
4224
4225 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4226 beginning so that all \C-o chars are removed.
4227
fa9958a6
TZ
42282012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4229
dc9924b8 4230 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4231
0bc5886a
AM
42322012-02-12 Alan Mackenzie <acm@muc.de>
4233
4234 Fix infinite loop with long macros.
4d6769e1 4235 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4236
d4bd55e7
CY
42372012-02-12 Chong Yidong <cyd@gnu.org>
4238
4239 * window.el (display-buffer): Doc fix (Bug#10785).
4240
66f3fe22
GM
42412012-02-12 Glenn Morris <rgm@gnu.org>
4242
bd7da63e
GM
4243 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4244 (x-disown-selection-internal, x-get-selection-internal):
4245 Sync docs with the xselect.c versions.
4246
66f3fe22
GM
4247 * allout-widgets.el: Add missing license notice.
4248
3e0d2fa7
GM
42492012-02-11 Glenn Morris <rgm@gnu.org>
4250
cfecdf09
GM
4251 * select.el (x-get-selection-internal, x-own-selection-internal)
4252 (x-disown-selection-internal):
4253 * x-dnd.el (x-get-selection-internal): Update declarations.
4254
6d216d7f
GM
4255 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4256
2bed3f04
GM
4257 * window.el (window-sides-slots):
4258 * tool-bar.el (tool-bar-position):
4259 * term/xterm.el (xterm-extra-capabilities):
4260 * ses.el (ses-self-reference-early-detection):
4261 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4262 (verilog-auto-wire-type)
4263 (verilog-auto-delete-trailing-whitespace)
4264 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4265 (verilog-auto-tieoff-declaration):
4266 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4267 (sql-oracle-statement-starters, sql-oracle-scan-on):
4268 * progmodes/prolog.el (prolog-align-comments-flag)
4269 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4270 (prolog-left-indent-regexp, prolog-paren-indent-p)
4271 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4272 (prolog-types, prolog-mode-specificators)
4273 (prolog-determinism-specificators, prolog-directives)
4274 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4275 (prolog-electric-dot-flag)
4276 (prolog-electric-dot-full-predicate-template)
4277 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4278 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4279 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4280 (prolog-program-switches, prolog-prompt-regexp)
4281 (prolog-debug-on-string, prolog-debug-off-string)
4282 (prolog-trace-on-string, prolog-trace-off-string)
4283 (prolog-zip-on-string, prolog-zip-off-string)
4284 (prolog-use-standard-consult-compile-method-flag)
4285 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4286 (prolog-imenu-max-lines, prolog-info-predicate-index)
4287 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4288 (prolog-char-quote-workaround):
4289 * progmodes/cc-vars.el (c-defun-tactic):
4290 * net/tramp.el (tramp-encoding-command-interactive)
4291 (tramp-local-end-of-line):
4292 * net/soap-client.el (soap-client):
4293 * net/netrc.el (netrc-file):
4294 * net/gnutls.el (gnutls):
4295 * minibuffer.el (completion-category-overrides)
4296 (completion-cycle-threshold)
4297 (completion-pcm-complete-word-inserts-delimiters):
4298 * man.el (Man-name-local-regexp):
4299 * mail/feedmail.el (feedmail-display-full-frame):
4300 * international/characters.el (glyphless-char-display-control):
4301 * eshell/em-ls.el (eshell-ls-date-format):
4302 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4303 (lisp-lambda-list-keyword-parameter-indentation)
4304 (lisp-lambda-list-keyword-parameter-alignment):
4305 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4306 * dired-x.el (dired-omit-verbose):
4307 * cus-theme.el (custom-theme-allow-multiple-selections):
4308 * calc/calc.el (calc-highlight-selections-with-faces)
4309 (calc-lu-field-reference, calc-lu-power-reference)
4310 (calc-note-threshold):
4311 * battery.el (battery-mode-line-limit):
4312 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4313 (archive-7z-update):
4314 * allout.el (allout-prefixed-keybindings)
4315 (allout-unprefixed-keybindings)
4316 (allout-inhibit-auto-fill-on-headline)
4317 (allout-flattened-numbering-abbreviation):
4318 * allout-widgets.el (allout-widgets-auto-activation)
4319 (allout-widgets-icons-dark-subdir)
4320 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4321 (allout-widgets-theme-dark-background)
4322 (allout-widgets-theme-light-background)
4323 (allout-widgets-item-image-properties-emacs)
4324 (allout-widgets-item-image-properties-xemacs)
4325 (allout-widgets-run-unit-tests-on-load)
4326 (allout-widgets-time-decoration-activity)
4327 (allout-widgets-hook-error-post-time)
4328 (allout-widgets-track-decoration):
4329 Add missing :version tags to new defcustoms and defgroups.
4330
5fec1b8e
GM
4331 * progmodes/sql.el (sql-ansi-statement-starters)
4332 (sql-oracle-statement-starters): Add custom type.
4333
3e0d2fa7
GM
4334 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4335 (prolog-system-version): Give it a type.
4336
90b671e2
EZ
43372012-02-11 Eli Zaretskii <eliz@gnu.org>
4338
4339 * term/pc-win.el (x-select-text, x-selection-owner-p)
4340 (x-own-selection-internal, x-disown-selection-internal)
4341 (x-get-selection-internal): Sync doc strings and argument lists
4342 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4343
5eac0c02
LL
43442012-02-11 Leo Liu <sdl.web@gmail.com>
4345
4346 * progmodes/python.el (python-end-of-statement): Fix infinite
4347 loop. (Bug#10788)
4348
f82cb659
GM
43492012-02-10 Glenn Morris <rgm@gnu.org>
4350
4351 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4352 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4353
cc26d239
LI
43542012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4355
4356 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4357 about SMTP before checking the From header.
4358
91027d08 4359 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4360 into own function for reuse by emacsbug.el.
4361
1be3ca5a
LL
43622012-02-10 Leo Liu <sdl.web@gmail.com>
4363
4364 * subr.el (condition-case-unless-debug): Rename from
4365 condition-case-no-debug. All callers changed.
4366 (with-demoted-errors): Fix caller.
4367
4368 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4369 * nxml/rng-valid.el (rng-do-some-validation):
4370 * emacs-lisp/package.el (package-refresh-contents)
4371 (package-menu-execute):
4372 * desktop.el (desktop-create-buffer):
91027d08 4373 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4374
b011fbfe
GM
43752012-02-10 Glenn Morris <rgm@gnu.org>
4376
b2096d72
GM
4377 * textmodes/bibtex.el:
4378 Add missing :version tags for new/changed defcustoms.
4379
b011fbfe
GM
4380 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4381
4c7e65bf
LI
43822012-02-09 Lars Ingebrigtsen <larsi@rusty>
4383
4384 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4385 (smtpmail-via-smtp): Use it, or fall back on the From address.
4386 (smtpmail-send-it): Ditto.
4387
f3934f6f
SM
43882012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4391 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4392 (byte-compile-tmp-var): New const.
4393 (byte-compile-defvar): Use it to minimize .elc size.
4394 Just use `defvar' rather than simulate it (bug#10761).
4395
a075a2c5
GM
43962012-02-09 Glenn Morris <rgm@gnu.org>
4397
cf3aa21b
GM
4398 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4399
354998cd
GM
4400 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4401 Add :version tags.
4402
dc9924b8
SM
4403 * progmodes/compile.el (compilation-error-screen-columns)
4404 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4405
dab3703d
GM
4406 * vc/log-view.el (log-view-toggle-entry-display):
4407 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4408
3f88cd72
GM
4409 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4410 (report-emacs-bug-can-use-xdg-email):
4411 (report-emacs-bug-insert-to-mailer): Doc fixes.
4412 (report-emacs-bug): Message fix.
4413
d95b247d
GM
4414 * net/browse-url.el (browse-url-can-use-xdg-open)
4415 (browse-url-xdg-open): Doc fixes.
4416
a075a2c5
GM
4417 * electric.el (electric-indent-mode, electric-pair-mode)
4418 (electric-layout-rules, electric-layout-mode): Doc fixes.
4419 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4420
ffb6157e
MR
44212012-02-08 Martin Rudalics <rudalics@gmx.at>
4422
4423 * server.el (server-unselect-display): Don't inadvertently kill
4424 the current buffer. (Bug#10729)
4425
e1ac4066
GM
44262012-02-08 Glenn Morris <rgm@gnu.org>
4427
34e8a2da
GM
4428 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4429 (sql-list-table): Doc fixes.
4430
b4ac6e8c
GM
4431 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4432 Comment out (does nothing).
4433
e1ac4066
GM
4434 * completion.el (dynamic-completion-mode):
4435 * dirtrack.el (dirtrack-debug-mode):
4436 * electric.el (electric-layout-mode):
4437 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4438 * face-remap.el (text-scale-mode, buffer-face-mode):
4439 * iimage.el (iimage-mode):
4440 * image-mode.el (image-transform-mode):
4441 * minibuffer.el (completion-in-region-mode):
4442 * scroll-lock.el (scroll-lock-mode):
4443 * simple.el (next-error-follow-minor-mode):
4444 * tar-mode.el (tar-subfile-mode):
4445 * tooltip.el (tooltip-mode):
4446 * vcursor.el (vcursor-use-vcursor-map):
4447 * wid-browse.el (widget-minor-mode):
4448 * emulation/tpu-edt.el (tpu-edt-mode):
4449 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4450 * international/iso-ascii.el (iso-ascii-mode):
4451 * language/thai-util.el (thai-word-mode):
4452 * mail/supercite.el (sc-minor-mode):
4453 * net/goto-addr.el (goto-address-mode):
4454 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4455 * progmodes/cwarn.el (cwarn-mode):
4456 * progmodes/flymake.el (flymake-mode):
4457 * progmodes/glasses.el (glasses-mode):
4458 * progmodes/hideshow.el (hs-minor-mode):
4459 * progmodes/pascal.el (pascal-outline-mode):
4460 * textmodes/enriched.el (enriched-mode):
4461 * vc/smerge-mode.el (smerge-mode):
4462 Doc fixes (minor mode argument).
4463
5e0d957f
EZ
44642012-02-07 Eli Zaretskii <eliz@gnu.org>
4465
4466 * ls-lisp.el (ls-lisp-sanitize): New function.
4467 (ls-lisp-insert-directory): Use it to fix or remove any elements
4468 in file-alist with missing attributes. (Bug#4673)
4469
98d7371e
AM
44702012-02-07 Alan Mackenzie <acm@muc.de>
4471
4472 Fix spurious recognition of c-in-knr-argdecl.
4473
4474 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4475 putative K&R region.
4476
667ced3a
AM
44772012-02-07 Alan Mackenzie <acm@muc.de>
4478
eb864a71
LM
4479 * progmodes/cc-engine.el (c-forward-objc-directive):
4480 Prevent looping in "#pragma mark @implementation".
667ced3a 4481
5b77774d
MA
44822012-02-07 Michael Albinus <michael.albinus@gmx.de>
4483
4484 * notifications.el (notifications-on-closed-signal): Make `reason'
4485 optional. (Bug#10744)
4486
af008560
GM
44872012-02-07 Glenn Morris <rgm@gnu.org>
4488
60d47423
GM
4489 * emacs-lisp/easy-mmode.el (define-minor-mode):
4490 Doc fixes for the macro and the mode it defines.
4491
dd605cc4
GM
4492 * image.el (imagemagick-types-inhibit): Doc fix.
4493
af008560
GM
4494 * cus-start.el (imagemagick-render-type): Add it.
4495
5cc59a37
LI
44962012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4497
4d6769e1
JB
4498 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4499 Set the default at load time, too, so that `font-lock-fontify-buffer'
4500 can be called without setting up the entire mode first. This fixes
4501 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4502
9a6dd747
CY
45032012-02-06 Chong Yidong <cyd@gnu.org>
4504
2d16b285
CY
4505 * simple.el (list-processes--refresh): Delete exited processes
4506 (Bug#8094).
4507
171e9b6e
CY
4508 * comint.el (comint-next-prompt): next-single-char-property-change
4509 and prev-single-char-property-change never return nil (Bug#8657).
4510
9a6dd747
CY
4511 * custom.el (defcustom): Doc fix (Bug#9711).
4512
aa4589a7
CY
45132012-02-05 Chong Yidong <cyd@gnu.org>
4514
5c2a252f
CY
4515 * cus-edit.el (custom-variable-reset-backup): Quote the value
4516 before storing it in the customized-value property (Bug#6712).
4aab9006 4517 (custom-display): Add a customization type tag.
983b9602 4518 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4519
aa4589a7
CY
4520 * wid-edit.el (widget-field-value-get): New optional arg to
4521 suppress trailing whitespace truncation.
4522 (character): Use it (Bug#2689).
4523
1ff980ae
AS
45242012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4525
4526 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4527 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4528
03988c98
CY
45292012-02-05 Chong Yidong <cyd@gnu.org>
4530
eeb6cc88
CY
4531 * cus-edit.el (custom-variable-value-create): For mismatched
4532 types, show the current value (Bug#7600).
4533
03988c98
CY
4534 * custom.el (defcustom): Doc fix.
4535
f8cdeef0
GM
45362012-02-05 Glenn Morris <rgm@gnu.org>
4537
4538 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4539
0696d255
JB
45402012-02-05 Juanma Barranquero <lekktu@gmail.com>
4541
4542 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4543 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4544 (pp-last-sexp): Use `looking-at-p'.
4545
34c99998
GM
45462012-02-04 Glenn Morris <rgm@gnu.org>
4547
8f05da42
GM
4548 * files.el (revert-buffer):
4549 Doc fix (mention revert-buffer-in-progress-p).
4550
f160676e
GM
4551 * emacs-lisp/ert-x.el (ert-simulate-command):
4552 Check deferred-action-list (which is obsolete) is bound.
4553
c7291ad9
GM
4554 * subr.el (with-wrapper-hook): Doc fixes.
4555
34c99998
GM
4556 * simple.el (filter-buffer-substring-functions)
4557 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4558
6283a7d3
LL
45592012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4560
4561 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4562 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4563
e96e3013
LL
45642012-02-04 Leo Liu <sdl.web@gmail.com>
4565
4566 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4567
8ded50f2
GM
45682012-02-04 Glenn Morris <rgm@gnu.org>
4569
82ff1d13
GM
4570 * image.el (image-extension-data): Add obsolete alias.
4571
987a0a16
GM
4572 * isearch.el (isearch-update): Doc fix.
4573
ea32ef46
GM
4574 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4575
8ded50f2
GM
4576 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4577
eea14f31
GM
45782012-02-03 Glenn Morris <rgm@gnu.org>
4579
4580 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4581 (image-animate-timeout): Doc fix.
4582
4583 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4584
12f381b7
GM
45852012-02-02 Glenn Morris <rgm@gnu.org>
4586
953cebf5
GM
4587 * server.el (server-auth-dir): Doc fix.
4588 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4589
12f381b7
GM
4590 * subr.el (run-mode-hooks): Doc fix.
4591
953a8c3b
JL
45922012-02-02 Juri Linkov <juri@jurta.org>
4593
4594 * image-mode.el (image-toggle-display-image): Remove tautological
4595 `major-mode' from the `derived-mode-p' test.
4596
c5d3843c
KH
45972012-02-02 Kenichi Handa <handa@m17n.org>
4598
9f6e692e 4599 * composite.el (compose-region): Cancel previous change.
c5d3843c 4600
159462d4 46012012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4602
4603 * composite.el (compose-region, compose-string): Signal error for
4604 a null string component (Bug#6988).
4605
9f562668
CY
46062012-02-01 Chong Yidong <cyd@gnu.org>
4607
e2cef717
CY
4608 * view.el (view-buffer-other-window, view-buffer-other-frame):
4609 Handle special modes like view-buffer (Bug#10650).
4610 (view-buffer): Simplify.
4611
9f562668
CY
4612 * frame.el (set-frame-font): Tweak meaning of third argument.
4613
9f6e692e
JB
4614 * dynamic-setting.el (font-setting-change-default-font):
4615 Use set-frame-font (Bug#9982).
9f562668 4616
781acb9f
GM
46172012-02-01 Glenn Morris <rgm@gnu.org>
4618
6035be52
GM
4619 * progmodes/compile.el (compilation-internal-error-properties):
4620 Respect compilation-first-column in the "*compilation*" buffer.
4621
781acb9f
GM
4622 * emacs-lisp/easy-mmode.el (define-minor-mode):
4623 Relax :variable's test for a named function.
4624
abbceb00
AM
46252012-01-31 Alan Mackenzie <acm@muc.de>
4626
4627 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4628 off by one error.
4629
fce3fdeb
CY
46302012-01-31 Chong Yidong <cyd@gnu.org>
4631
4632 * frame.el (set-frame-font): New arg ALL-FRAMES.
4633
4634 * menu-bar.el (menu-set-font): Use set-frame-font.
4635
4636 * faces.el (face-spec-reset-face): Don't apply unspecified
4637 attribute values to the default face.
4638
47893581
JB
46392012-01-31 Juanma Barranquero <lekktu@gmail.com>
4640
4641 * progmodes/cwarn.el (cwarn): Remove dead link.
4642 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4643 Remove * from defcustom docstrings.
4644 (turn-on-cwarn-mode): Make obsolete.
4645 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4646 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4647
e58e988a
GM
46482012-01-31 Glenn Morris <rgm@gnu.org>
4649
60dc2671 4650 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4651 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4652 Allow named functions to be used as the cdr of :variable.
e58e988a 4653
7a3f511d
GM
46542012-01-30 Glenn Morris <rgm@gnu.org>
4655
4656 * emacs-lisp/authors.el (authors-fixed-entries):
4657 Remove reference to deleted file rnewspost.el.
4658
cb882333
JB
46592012-01-29 Juanma Barranquero <lekktu@gmail.com>
4660
4661 * window.el (window-with-parameter): Remove unused variable `windows'.
4662 (window--side-check): Remove unused variable `code'.
4663 (window--resize-siblings): Remove unused variable `first'.
4664 (adjust-window-trailing-edge): Remove unused variable `failed'.
4665 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4666 Use `let', not `let*'.
4667 (balance-windows-2): Remove unused variable `found'.
4668 (window--state-put-2): Remove unused variable `splits'.
4669 (window-state-put): Remove unused variable `selected'.
4670 (same-window-p): Use `string-match-p'.
4671 (display-buffer-assq-regexp): Remove unused variable `value'.
4672 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4673 Mark argument ALIST as ignored.
4674 (pop-to-buffer): Remove unused variable `old-window'.
4675
907201af
EZ
46762012-01-29 Eli Zaretskii <eliz@gnu.org>
4677
4678 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4679 and .lzma compressed files.
4680
ea162670
CY
46812012-01-29 Chong Yidong <cyd@gnu.org>
4682
5b95ee8a
CY
4683 * frame.el (window-system-default-frame-alist): Doc fix.
4684
ea162670
CY
4685 * dynamic-setting.el (font-setting-change-default-font): Don't
4686 change the default face if SET-FONT argument is non-nil (Bug#9982).
4687
d6e6f4b1
SB
46882012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4689
4690 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4691
0f29fa41 46922012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4693
4694 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4695 breakpoints in files outside current directory (Bug#6098).
4696
db174434
CY
46972012-01-29 Chong Yidong <cyd@gnu.org>
4698
6b25e4e2
SE
4699 * progmodes/python.el: Require ansi-color at top-level.
4700
6df6ae42
JB
4701 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4702 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4703 (lisp-mode-abbrev-table): Add doc.
4704 (lisp-mode-variables): Don't set local-abbrev-table.
4705 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4706
e70ee681
RW
47072012-01-28 Roland Winkler <winkler@gnu.org>
4708
4709 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4710
ace88aa2
RW
47112012-01-28 Roland Winkler <winkler@gnu.org>
4712
4713 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4714 (bibtex-set-dialect): Use it. Either set global values of
4715 dialect-dependent variables or bind these variables buffer-locally
4716 (Bug#10254).
4717 (bibtex-mode): Call bibtex-set-dialect via
4718 hack-local-variables-hook.
eb864a71
LM
4719 (bibtex-dialect): Update docstring.
4720 Add safe-local-variable predicate.
ace88aa2
RW
4721 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4722 bibtex-set-dialect.
4723 (bibtex-mode-map): Define menu for each dialect.
4724 (bibtex-entry): Fix docstring.
4725
93376c5b
CY
47262012-01-28 Chong Yidong <cyd@gnu.org>
4727
4728 * eshell/esh-arg.el (eshell-quote-argument): New function.
4729
4730 * eshell/esh-ext.el (eshell-invoke-batch-file):
4731 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4732 first arg to eshell-parse-command (Bug#10523).
4733
4372494f
DA
47342012-01-28 Drew Adams <drew.adams@oracle.com>
4735
4736 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4737 `default-directory' is non-nil.
4738
4d4ec1f8
EZ
47392012-01-28 Eli Zaretskii <eliz@gnu.org>
4740
4741 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4742 line that displays system-configuration-options. (Bug#9924)
4743
7c188927
DA
47442012-01-28 Drew Adams <drew.adams@oracle.com>
4745
4746 * descr-text.el (describe-char): Show information about POS, in
4747 addition to information about the character at POS. Improve and
4748 update the doc string. Change "code point" to "code point in
4749 charset", to avoid confusion with the character's Unicode code
4750 point shown above that. (Bug#10129)
4751
e0da685a
EZ
47522012-01-28 Eli Zaretskii <eliz@gnu.org>
4753
4754 * descr-text.el (describe-char): Show the raw character, not only
4755 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4756 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4757 for the reasons.
4758
70550acf
PH
47592012-01-28 Phil Hagelberg <phil@hagelb.org>
4760
eb864a71
LM
4761 * emacs-lisp/package.el (package-install):
4762 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4763
0ce8e868
CY
47642012-01-28 Chong Yidong <cyd@gnu.org>
4765
cb882333
JB
4766 * emacs-lisp/package.el (package-maybe-load-descriptor):
4767 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4768 (package-maybe-load-descriptor): Use it.
4769 (package-download-transaction): Fully load required packages
4770 inside the loop, so that `require' calls work (Bug#10593).
4771 (package-install): No need to call package-initialize now.
4772
2e7f3bea
CY
47732012-01-28 Chong Yidong <cyd@gnu.org>
4774
6e9bad14
CY
4775 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4776
f823b8ca
CY
4777 * tooltip.el (tooltip-mode): Doc fix.
4778 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4779
2680c309
CY
4780 * frame.el (set-cursor-color): Doc fix (Bug#352).
4781
d7a9e63b
CY
4782 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4783 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4784
2e7f3bea
CY
4785 * cus-edit.el (custom-buffer-create-internal): Fix search button
4786 action (Bug#10542).
2ae01800 4787 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4788
fc4f7a23
EW
47892012-01-27 Eduard Wiebe <usenet@pusto.de>
4790
4791 * dired.el (dired-mark-files-regexp):
4792 Include any subdirectory components. (Bug#10445)
4793
7dd37071
ML
47942012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4795
4796 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4797 Handle [host]:port syntax. (Bug#10533)
4798
a268160b
AH
47992012-01-27 Alex Harsanyi <harsanyi@mac.com>
4800
4801 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4802
e43273ef
GM
48032012-01-26 Glenn Morris <rgm@gnu.org>
4804
4805 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4806 * term.el (term-raw-escape-map): Use Control-X-prefix.
4807 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4808
1edf595d
MR
48092012-01-25 Martin Rudalics <rudalics@gmx.at>
4810
4811 * window.el (window-state-get, window--state-get-1): Don't deal
4812 with fixed-sizeness of windows. Simplify code.
4813
fa8eafef
JC
48142012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4815
6df6ae42
JB
4816 * window.el (window--state-get-1, window--state-put-2):
4817 Don't save and restore the mark.
fa8eafef 4818
0b21c100
CY
48192012-01-25 Chong Yidong <cyd@gnu.org>
4820
4821 * custom.el (custom-variable-p): Doc fix.
4822
5ae1a6c8
GM
48232012-01-25 Glenn Morris <rgm@gnu.org>
4824
40047858
GM
4825 * dired.el (dired-goto-file): Handle some of the more common
4826 characters that `ls -b' escapes. (Bug#10596)
4827
5ddce96c
GM
4828 * progmodes/compile.el (compilation-next-error-function):
4829 Respect compilation-first-column in the "*compilation*" buffer.
4830 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4831
5ae1a6c8
GM
4832 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4833
b559f1a9
GM
48342012-01-24 Glenn Morris <rgm@gnu.org>
4835
4836 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4837
6725d21a
JD
48382012-01-24 Julien Danjou <julien@danjou.info>
4839
4840 * color.el (color-rgb-to-hsl): Fix value computing.
4841 (color-hue-to-rgb): New function.
4842 (color-hsl-to-rgb): New function.
4843 (color-clamp, color-saturate-hsl, color-saturate-name)
4844 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4845 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4846
70df4bbe
GM
48472012-01-24 Glenn Morris <rgm@gnu.org>
4848
4849 * vc/vc-rcs.el (vc-rcs-create-tag):
4850 * vc/vc-sccs.el (vc-sccs-create-tag):
4851 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4852
802a2ae2
ML
48532012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4854
4855 * eshell/esh-util.el (eshell-read-hosts-file):
4856 Skip comment lines. (Bug#10549)
4857
d7128bb1
ML
4858 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4859
d1a5c3b4
JB
48602012-01-23 Juanma Barranquero <lekktu@gmail.com>
4861
2724d9c7
JB
4862 * subr.el (display-delayed-warnings): Doc fix.
4863 (collapse-delayed-warnings): New function to collapse identical
4864 adjacent warnings.
4865 (delayed-warnings-hook): Add it.
d1a5c3b4 4866
a5509865
MA
48672012-01-22 Michael Albinus <michael.albinus@gmx.de>
4868
4869 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4870
4871 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4872 properties, when "login-as" is set.
4873
4874 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4875 (tramp-default-user-alist): Don't add "pscp".
4876 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4877 property "login-as", if set. (Bug#10530)
4878
cc6d5805
MA
48792012-01-21 Michael Albinus <michael.albinus@gmx.de>
4880
4881 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4882 "plink1" and "psftp". (Bug#10530)
4883
48842012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4885
4886 * international/mule-cmds.el (prefer-coding-system): Show a
4887 warning message if the default value of file-name-coding-system
4888 was not changed.
4889
f0960428
JC
48902012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4891
cb882333
JB
4892 * windmove.el (windmove-reference-loc):
4893 Fix windmove-reference-loc miscalculation.
f0960428 4894
dd6f2a63
JB
48952012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4896
4897 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4898 default unit.
4899
7b447e9b
GM
49002012-01-21 Glenn Morris <rgm@gnu.org>
4901
117a9ea1
GM
4902 * international/mule.el (auto-coding-alist): Add .tbz.
4903
7b447e9b
GM
4904 * files.el (local-enable-local-variables): Doc fix.
4905 (inhibit-local-variables-regexps): Rename from
4906 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4907 Doc fix. Add some extensions from auto-coding-alist.
4908 (inhibit-local-variables-suffixes):
4909 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4910 (inhibit-local-variables-p):
4911 New function, extracted from set-auto-mode-1.
4912 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4913 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4914 (hack-local-variables): Doc fix. Make the mode-only case
4915 respect enable-local-variables and friends.
4916 Respect inhibit-local-variables-regexps for file-locals, but
4917 not for directory-locals.
4918 (set-visited-file-name):
4919 Take account of inhibit-local-variables-regexps.
4920 Whether it applies may change as the file name is changed.
4921 * jka-cmpr-hook.el (jka-compr-install):
4922 * jka-compr.el (jka-compr-uninstall):
4923 Update for inhibit-first-line-modes-suffixes name change.
4924
dd6e3cdd
MR
49252012-01-20 Martin Rudalics <rudalics@gmx.at>
4926
4927 * help-macro.el (make-help-screen): Temporarily restore original
4928 binding for minor-mode-map-alist (Bug#10454).
4929
0d0deb38
JD
49302012-01-19 Julien Danjou <julien@danjou.info>
4931
4932 * color.el (color-name-to-rgb): Use the white color to find the max
4933 color component value and return correctly computed values.
4934 (color-name-to-rgb): Add missing float conversion for max value.
4935
34a02f46
MR
49362012-01-19 Martin Rudalics <rudalics@gmx.at>
4937
4938 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4939 special state value for window-persistent-parameters.
4940 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4941 (window--state-put-2): Reset all window parameters to nil before
4942 assigning values of persistent parameters.
4943
606c44c4
AM
49442012-01-18 Alan Mackenzie <acm@muc.de>
4945
4946 Eliminate sluggishness and hangs in fontification of "semicolon
4947 deserts".
4948
cb882333
JB
4949 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4950 Change value 10000 -> 3000.
606c44c4
AM
4951 (c-state-safe-place): Reformulate so it doesn't stack up an
4952 infinite number of wrong entries in c-state-nonlit-pos-cache.
4953 (c-determine-limit-get-base, c-determine-limit): New functions to
4954 determine backward search limits disregarding literals.
4955 (c-find-decl-spots): Amend commenting.
4956 (c-cheap-inside-bracelist-p): New function which detects "={".
4957
4958 * progmodes/cc-fonts.el
4959 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4960 backward search.
4961 (c-font-lock-declarations): Fix an occurrence of point being
4962 undefined. Check additionally for point being in a bracelist or
4963 near a macro invocation without a semicolon so as to avoid a
4964 fruitless time consuming search for a declarator. Give a more
4965 precise search limit for declarators using the new
4966 c-determine-limit.
4967
f3860cea
GM
49682012-01-18 Glenn Morris <rgm@gnu.org>
4969
4970 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4971 (set-auto-mode): Doc fixes.
4972
1db03b16
GM
49732012-01-17 Glenn Morris <rgm@gnu.org>
4974
0e6038be
GM
4975 * isearch.el (search-nonincremental-instead): Fix doc typo.
4976
1db03b16
GM
4977 * dired.el (dired-insert-directory): Handle newlines in directory name.
4978 (dired-build-subdir-alist): Unescape newlines in directory name.
4979
4cb0aa75
MA
49802012-01-17 Michael Albinus <michael.albinus@gmx.de>
4981
4982 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4983 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4984 (tramp-action-terminal): Use it. (Bug#10530)
4985
1d00653d
SM
49862012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4989
6a6ee00d
MR
49902012-01-16 Martin Rudalics <rudalics@gmx.at>
4991
4992 * window.el (window-state-ignored-parameters): Remove variable.
4993 (window--state-get-1): Rename argument MARKERS to IGNORE.
4994 Handle persistent window parameters. Make copy of clone-of
4995 parameter only if requested. (Bug#10348)
4996 (window--state-put-2): Install a window parameter only if it has
4997 a non-nil value or an existing parameter shall be overwritten.
4998
97912def
MA
49992012-01-15 Michael Albinus <michael.albinus@gmx.de>
5000
5001 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5002
688070a5
EZ
50032012-01-14 Eli Zaretskii <eliz@gnu.org>
5004
5005 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5006 don't pass the (nil) value of `upnode' to string-match.
5007
301afadc
CY
50082012-01-14 Chong Yidong <cyd@gnu.org>
5009
5010 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5011 Fix values recognized by the cursorBlink resource.
301afadc 5012
9e5788aa
PE
50132012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5014
5015 * epg.el (epg--make-temp-file): Avoid permission race condition
5016 when running on old Emacs versions (bug#10403).
5017
3cdb7f5a
GM
50182012-01-14 Glenn Morris <rgm@gnu.org>
5019
5020 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5021
8c82b1b4
AM
50222012-01-13 Alan Mackenzie <acm@muc.de>
5023
5024 Fix filling for when filladapt mode is enabled.
5025
5026 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5027 c-mask-paragraph, pass in `fill-paragraph' rather than
5028 `fill-region-as-paragraph'. (This is a reversion of a previous
5029 change.)
eb864a71
LM
5030 * progmodes/cc-mode.el (c-basic-common-init):
5031 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5032
e517eda4
GM
50332012-01-13 Glenn Morris <rgm@gnu.org>
5034
1498536e
GM
5035 * dired.el (dired-switches-escape-p): New function.
5036 (dired-insert-directory): Use dired-switches-escape-p.
5037 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5038
e517eda4
GM
5039 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5040
328f984d
GM
50412012-01-12 Glenn Morris <rgm@gnu.org>
5042
5043 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5044 changes in adaptive-fill-regexp. (Bug#10276)
5045
2cc769a8
AM
50462012-01-11 Alan Mackenzie <acm@muc.de>
5047
5048 Fix Emacs bug #10463 - put `widen's around the critical spots.
5049
1d00653d 5050 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5051 widen around each invocation of c-state-pp-to-literal. Remove an
5052 unused let variable.
5053
e52c37fa
GM
50542012-01-11 Glenn Morris <rgm@gnu.org>
5055
5056 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5057 Doc fix.
e52c37fa 5058
96f8741e
CY
50592012-01-10 Chong Yidong <cyd@gnu.org>
5060
1d00653d
SM
5061 * net/network-stream.el (network-stream-open-starttls):
5062 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5063 response to the capability command.
5064
b09a806e
GM
50652012-01-10 Glenn Morris <rgm@gnu.org>
5066
5067 * mail/unrmail.el (unrmail): Tweak previous change.
5068
7655cb66
CY
50692012-01-09 Chong Yidong <cyd@gnu.org>
5070
5071 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5072
9d5a8f0b
AM
50732012-01-08 Alan Mackenzie <acm@muc.de>
5074
5075 Optimise font locking in long enum definitions.
5076
5077 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5078 arm to a cond form to handle enums.
5079 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5080 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5081
9a0115ab 50822012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5083
5084 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5085 (Bug#10401)
6bb72cbd 5086
f186bb95
LMI
50872012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5088
29232a68
LMI
5089 * faces.el (set-face-attribute): Clarify the meaning of the nil
5090 frame (bug#10294).
5091
4e5d086d
LMI
5092 * subr.el (with-selected-frame): Mention that the selected frame
5093 is restored (bug#9980).
5094
8e66aebe
LMI
5095 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5096 (bug#9759).
5097
cd394be1 5098 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5099 (password-read): Don't autoload unused function.
5100
adf4e762
JB
51012012-01-07 Juanma Barranquero <lekktu@gmail.com>
5102
5103 * progmodes/which-func.el (which-func-mode): Turn into a
5104 non-interactive function and mark as obsolete (bug#10428).
5105
89bd9ccd
CY
51062012-01-06 Chong Yidong <cyd@gnu.org>
5107
5108 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5109 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5110 functions, along with 1 and -1.
5111
4afee9d5
EZ
51122012-01-06 Eli Zaretskii <eliz@gnu.org>
5113
5114 * time.el (display-time-load-average)
5115 (display-time-default-load-average): Doc fixes. See the thread
5116 starting at
5117 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5118 for the details.
5119
536aea70
GM
51202012-01-06 Glenn Morris <rgm@gnu.org>
5121
665ae865
GM
5122 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5123 has no messages. (Bug#10377)
5124
c869783d
GM
5125 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5126 than Info-edit. (Bug#10385)
5127
2bb4227e
GM
5128 * time.el (display-time-load-average, display-time-next-load-average):
5129 Doc fixes.
5130
7d5944b9
GM
5131 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5132 local setting of buffer-read-only to the input buffer. (Bug#10419)
5133
536aea70
GM
5134 * calendar/calendar.el (calendar-mode):
5135 Locally set scroll-margin to 0. (Bug#10379)
5136
7dccca16
UM
51372012-01-06 Ulrich Mueller <ulm@gentoo.org>
5138
5139 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5140
afbb7930
GM
51412012-01-05 Glenn Morris <rgm@gnu.org>
5142
5143 * eshell/em-unix.el (diff-no-select): Autoload it.
5144 (eshell/diff): Use diff-no-select. (Bug#10420)
5145
04482335
CY
51462012-01-05 Chong Yidong <cyd@gnu.org>
5147
7baca3bc
CY
5148 * shell.el (shell-dynamic-complete-functions): Revert last change.
5149 (shell-command-completion-function): New function.
5150 (shell-completion-vars): Use it to implement
5151 shell-completion-execonly (Bug#10417).
5152
04482335
CY
5153 * custom.el (enable-theme): Don't set custom-safe-themes.
5154
1d00653d
SM
5155 * cus-theme.el (custom-theme-merge-theme):
5156 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5157
bb5aa5d6
MM
51582012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5159
5160 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5161 first prompt in `sql-interacive-mode'.
5162 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5163 keywords.
6df6ae42 5164 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5165 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5166 context of original buffer. Invoke `sql-login-hook'.
5167
a7183d7c
EZ
51682012-01-04 Eli Zaretskii <eliz@gnu.org>
5169
5170 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5171 letters in cite-prefix.
5172
a1eacd1e
LMI
51732012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5174
5175 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5176
787cdb34
CY
51772012-01-03 Chong Yidong <cyd@gnu.org>
5178
1d00653d
SM
5179 * shell.el (shell-dynamic-complete-functions):
5180 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5181 comint-filename-completion first (Bug#10417).
5182
30710442
RS
51832012-01-02 Richard Stallman <rms@gnu.org>
5184
5185 * battery.el (battery-status-function):
5186 Detect when to use battery-yeeloong-sysfs.
5187 (battery-echo-area-format): Add string for Yeeloong.
5188 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5189 (battery-yeeloong-sysfs): New function.
5190
f75bfc33
CY
51912012-01-02 Chong Yidong <cyd@gnu.org>
5192
5193 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5194 (dirtrack): Merge code for handling relative filenames in prompt
5195 from shell-dir-cookie-watcher.
5196 (dirtrack-debug-message): New arg to avoid excess format calls.
5197
5198 * shell.el (shell-dir-cookie-re): Variable deleted.
5199 (shell-dir-cookie-watcher): Function deleted.
5200 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5201 with dirtrack-mode.
5202
651e947e
EZ
52032012-01-01 Eli Zaretskii <eliz@gnu.org>
5204
1d00653d
SM
5205 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5206 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5207 libgnutls-26.dll.
5208
94d4c7dc
AS
52092011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5210
5211 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5212
8d43f3cd
EZ
52132011-12-31 Eli Zaretskii <eliz@gnu.org>
5214
5215 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5216 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5217
98c8795a
MA
52182011-12-29 Michael Albinus <michael.albinus@gmx.de>
5219
5220 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5221 also for alternative shells.
5222 (tramp-open-connection-setup-interactive-shell): Check, whether
5223 the shell is a busybox.
5224 (tramp-send-command): Don't suppress multiple prompts for
5225 busyboxes, it hurts.
5226
51281b32
CY
52272011-12-28 Chong Yidong <cyd@gnu.org>
5228
5229 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5230 (gdb-get-source-file): Move mode line update to
5231 gdb-get-source-file (Bug#10087).
5232
2170cb53
CY
52332011-12-25 Chong Yidong <cyd@gnu.org>
5234
5235 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5236 gud-gdb-marker-filter without taking it as an argument.
5237 (gud-gdb-run-command-fetch-lines): Caller changed.
5238 (gud-gdb-completion-function): New variable.
5239 (gud-gdb-completion-at-point): Use it.
5240 (gud-gdb-completions-1): Split from gud-gdb-completions.
5241
5242 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5243 function as separate arguments.
5244 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5245 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5246 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5247 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5248 (gdb-stopped, def-gdb-auto-update-trigger)
5249 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5250 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5251 Callers changed.
2170cb53
CY
5252 (gud-gdbmi-completions): New function.
5253 (gdb): Use it for generating the completion table.
5254
be8b11bb
AM
52552011-12-24 Alan Mackenzie <acm@muc.de>
5256
5257 Introduce a mechanism to widen the region used in context font
1d00653d 5258 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5259
1d00653d
SM
5260 * progmodes/cc-langs.el (c-before-font-lock-functions):
5261 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5262 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5263 functions to be run just before context (etc.) font locking.
5264
5265 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5266 New, functionality extracted from
be8b11bb 5267 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5268 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5269 (c-after-change): Set c-in-after-change-fontification.
5270 (c-set-fl-decl-start): Rejig its interface, so it can be called
5271 from both after-change and context fontifying.
b81d40f0
JB
5272 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5273 New functions.
5274 (c-standard-font-lock-fontify-region-function): New variable.
5275 (c-font-lock-fontify-region): New function.
be8b11bb 5276
341cf6ac
JL
52772011-12-24 Juri Linkov <juri@jurta.org>
5278
5279 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5280 (Bug#10348)
5281
bffcee0a
MA
52822011-12-23 Michael Albinus <michael.albinus@gmx.de>
5283
5284 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5285 existence of source file. (Bug#10325)
5286
cb5e207c
AM
52872011-12-23 Alan Mackenzie <acm@muc.de>
5288
5289 Fix unstable fontification inside templates.
5290
b81d40f0
JB
5291 * progmodes/cc-langs.el (c-before-font-lock-functions):
5292 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5293 additionally has c-set-fl-decl-start. The other languages (apart
5294 from AWK) have that as a single entry.
5295
b81d40f0
JB
5296 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5297 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5298 c-set-fl-decl-start.
5299
b81d40f0
JB
5300 * progmodes/cc-mode.el (c-common-init, c-after-change):
5301 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5302 (c-set-fl-decl-start): New function, extracted from
5303 c-font-lock-enclosing-decls and enhanced.
5304
60ff536c
JB
53052011-12-23 Juanma Barranquero <lekktu@gmail.com>
5306
5307 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5308
1c4757d6
JL
53092011-12-22 Juri Linkov <juri@jurta.org>
5310
5311 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5312
d031f2c7
CY
53132011-12-22 Chong Yidong <cyd@gnu.org>
5314
5315 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5316
bace743a
DA
53172011-12-21 Drew Adams <drew.adams@oracle.com>
5318
5319 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5320
728a1f2b
JC
53212011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5322
5323 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5324
0d373f73
TZ
53252011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5326
fec0aaa4
TZ
5327 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5328 highlighting and support. Fix up comments for capitalization.
5329 (cfengine-mode-debug): New var.
5330 (cfengine3-mode): Change the modeline indicator to "CFE3".
5331 (cfengine3-font-lock-keywords): Improve defun highlighting.
5332 (cfengine2-actions): Rename from `cfengine-actions'.
5333 (cfengine2-font-lock-keywords): Rename from
5334 `cfengine-font-lock-keywords'.
5335 (cfengine2-imenu-expression): Rename from
5336 `cfengine-imenu-expression'.
5337 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5338 (cfengine2-beginning-of-defun): Rename from
5339 `cfengine-beginning-of-defun'.
5340 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5341 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5342 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5343 modeline indicator to "CFE2".
5344 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5345 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5346
bc86f573
CY
53472011-12-21 Chong Yidong <cyd@gnu.org>
5348
5349 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5350 filename argument.
5351
d45ba96b
MR
53522011-12-20 Martin Rudalics <rudalics@gmx.at>
5353
5354 * window.el (window-normalize-buffer-to-display): Remove.
5355 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5356
a6198c90
CY
53572011-12-19 Chong Yidong <cyd@gnu.org>
5358
5359 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5360 Don't signal an error in a predicate function; return non-nil.
5361 (vc-dir-mark-file): Move the error here.
5362 (vc-dir-mark-unmark): If acting on the region, keep going if one
5363 of the entries cannot be marked/unmarked.
5364 (vc-dir-mark-all-files): If current entry is a directory, mark
5365 only child files, as documented.
5366
34c5fb55
VB
53672011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5368
5369 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5370 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5371 addition.
5372
c803b2b7
JD
53732011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5374
5375 * term/ns-win.el (ns-get-selection-internal)
5376 (ns-store-selection-internal): Declare.
1154d12e
JB
5377 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5378 Declare as obsolete.
5379 (ns-get-pasteboard, ns-paste-secondary):
5380 Use ns-get-selection-internal.
5381 (ns-set-pasteboard, ns-copy-including-secondary):
5382 Use ns-store-selection-internal.
c803b2b7 5383
9cff91f8 53842011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5385
5386 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5387 (vc-deduce-fileset): Doc fix.
99a289d9 5388
f16c898a
AS
53892011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5390
5391 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5392
763237c4
SS
53932011-12-13 Sam Steingold <sds@gnu.org>
5394
5395 * man.el (Man-getpage-in-background): When running under a
5396 window-system, ignore $MANWIDTH and $COLUMNS.
5397
5fc1c122
KH
53982011-12-15 Kenichi Handa <handa@m17n.org>
5399
5400 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5401 (setup-ethiopic-environment-internal): Comment out key-binding for
5402 ethio-toggle-punctuation.
5403
13d49cbb
AM
54042011-12-13 Alan Mackenzie <acm@muc.de>
5405
898169a2
AM
5406 Add the switch statement to AWK Mode.
5407
7a71b18d 5408 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5409 "default" to the keywords regexp.
5410
7a71b18d 5411 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5412 expression as the rest.
1d00653d
SM
5413 (c-nonlabel-token-key): Allow string literals for AWK.
5414 Refactor for the other modes.
898169a2 5415
13d49cbb 5416 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5417 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5418 routines. Limit backward searching in c-font-lock-enclosing.decl.
5419
5420 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5421 pp-state and literal type in addition to the limits.
1d00653d 5422 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5423 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5424 (c-slow-in-literal, c-fast-in-literal): Remove.
5425 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5426
5427 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5428 being in a literal. Add a limit for backward searching.
5429
5430 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5431 c-slow-in-literal.
5432
15e0efc7
SM
54332011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5436
454592a6
MR
54372011-12-13 Martin Rudalics <rudalics@gmx.at>
5438
5439 * window.el (delete-other-windows): Use correct frame in call to
5440 window-with-parameter.
5441
87393f26
DP
54422011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5443
5444 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5445 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5446 (makefile-gmake-statements, makefile-makepp-statements):
5447 Use it and add new makepp keywords.
5448 (makefile-makepp-font-lock-keywords): Add new patterns.
5449 (makefile-match-function-end): Match new [...] and [[...]].
5450
11636b22
JB
54512011-12-11 Juanma Barranquero <lekktu@gmail.com>
5452
5453 * ses.el (ses-call-printer-return, ses-cell-property-get)
5454 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5455 (ses-create-cell-variable, ses-reset-header-string)
5456 (ses-cell-set-formula, ses-repair-cell-reference-all)
5457 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5458 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5459 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5460 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5461 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5462 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5463 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5464 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5465 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5466 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5467 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5468 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5469
cf018193
VB
54702011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5471
5472 * ses.el: The overall change is to add cell renaming, that is
5473 setting fancy names for cell symbols other than name matching
5474 "\\`[A-Z]+[0-9]+\\'" regexp .
5475 (ses-create-cell-variable): New defun.
5476 (ses-relocate-formula): Relocate formulas only for cells the
5477 symbols of which are not renamed, i.e. symbols whose names do not
5478 match regexp "\\`[A-Z]+[0-9]+\\'".
5479 (ses-relocate-all): Relocate values only for cells the symbols of
5480 which are not renamed.
5481 (ses-load): Create cells variables as the (ses-cell ...) are read,
5482 in order to check row col consistency with cell symbol name only
5483 for cells that are not renamed.
5484 (ses-replace-name-in-formula): New defun.
5485 (ses-rename-cell): New defun.
5486
ee957461
CY
54872011-12-11 Chong Yidong <cyd@gnu.org>
5488
5489 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5490 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5491
9a9e9ef0
MR
54922011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5493
5494 * window.el (other-window): Fix docstring.
5495
92a8eba5
EZ
54962011-12-10 Eli Zaretskii <eliz@gnu.org>
5497
5498 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5499 `from' or `to' address before taking its substring.
5500 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5501 encoded name is chopped in the middle of the encoded string, and
5502 thus displayed encoded.
5503
e152e577
JB
55042011-12-10 Juanma Barranquero <lekktu@gmail.com>
5505
5506 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5507
e5d84bfe
EZ
55082011-12-10 Eli Zaretskii <eliz@gnu.org>
5509
5510 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5511 to use texinfo-update-node and commands that call it if the
5512 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5513 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5514 (texinfo-all-menus-update, texinfo-master-menu)
5515 (texinfo-update-node, texinfo-every-node-update)
5516 (texinfo-multiple-files-update): Doc fix. Warn against updating
5517 all the @node lines.
5518 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5519 argument is numeric. Explain better in the doc string what the
5520 function really does.
5521 (texinfo-insert-master-menu-list): Improve the error message
5522 displayed if there's no menu in the Top node.
5523 (Bug#2975) See also this thread:
e5d84bfe
EZ
5524 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5525
1d84e9bb
MG
55262011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5527
5528 * speedbar.el (speedbar-supported-extension-expressions):
5529 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5530
382c953b
JB
55312011-12-09 Juanma Barranquero <lekktu@gmail.com>
5532
5533 * printing.el (pr-mode-alist):
5534 * simple.el (filter-buffer-substring-functions)
5535 (completion-list-insert-choice-function):
5536 * window.el (window-with-parameter, window-atom-root)
5537 (window-sides-slots, window-size-fixed, window-min-delta)
5538 (window-max-delta, window--resize-mini-window)
5539 (window--resize-child-windows-normal, window-tree)
5540 (delete-other-windows, quit-window, split-window)
5541 (display-buffer-record-window, special-display-buffer-names)
5542 (special-display-regexps, special-display-popup-frame)
5543 (same-window-p, split-window-sensibly)
5544 (display-buffer-overriding-action, display-buffer-alist)
5545 (display-buffer-base-action, display-buffer, switch-to-buffer)
5546 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5547 (fit-window-to-buffer, recenter-positions)
5548 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5549 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5550 and remove unneeded backslashes in docstrings.
5551
39c9faef
SM
55522011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5553
98449af8
SM
5554 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5555
39c9faef
SM
5556 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5557 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5558 end in ".mk".
5559 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5560 when reading the makefile (bug#10116).
5561
86ed9fdc
SM
55622011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5565 (bug#10116).
5566
5580f89d
GM
55672011-12-06 Glenn Morris <rgm@gnu.org>
5568
5569 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5570
28d3917c
CY
55712011-12-06 Chong Yidong <cyd@gnu.org>
5572
5573 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5574
a98edce9
JB
55752011-12-06 Juanma Barranquero <lekktu@gmail.com>
5576
5577 * textmodes/table.el (table-shorten-cell): Fix typo.
5578
e65adfac
CG
55792011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5580
5581 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5582
71cc0b74
EZ
55832011-12-05 Eli Zaretskii <eliz@gnu.org>
5584
5585 * descr-text.el (describe-char): Fix display of strong
5586 right-to-left characters and directional embeddings and overrides.
5587
5588 * simple.el (what-cursor-position): Fix display of codepoints of
5589 strong right-to-left characters.
5590
315bc30d
CY
55912011-12-05 Chong Yidong <cyd@gnu.org>
5592
5593 * faces.el (read-color): Doc fix.
5594
58a70b94
GM
55952011-12-05 Glenn Morris <rgm@gnu.org>
5596
5597 * align.el (align--set-marker): Add doc-string.
5598 Don't try to move something that is not a marker. (Bug#10216)
5599
5158face
GM
56002011-12-04 Glenn Morris <rgm@gnu.org>
5601
5602 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5603 overly zealous deletion of trailing whitespace.
5604
520fca41
JB
56052011-12-04 Juanma Barranquero <lekktu@gmail.com>
5606
5607 * server.el (server-delete-client): On Windows, do not try to delete
5608 the only terminal.
5609 (server-process-filter): On Windows, treat requests for a tty frame as
5610 if they were for a GUI frame if the running server is in GUI mode.
5611
5e605a2e
GM
56122011-12-03 Glenn Morris <rgm@gnu.org>
5613
5614 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5615
5c3fe83f
SM
56162011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5617
6f5e57e7
SM
5618 * electric.el: Streamline electric-indent's hook.
5619 (electric-indent-chars): Revert to simple list.
5620 (electric-indent-functions): New var.
5621 (electric-indent-post-self-insert-function): Use it.
5622
5c3fe83f
SM
5623 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5624 there's no inferior buffer (bug#10196).
5625 (prolog-consult-compile): Don't use toggle-read-only.
5626
6bdac736
MA
56272011-12-02 Michael Albinus <michael.albinus@gmx.de>
5628
5629 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5630 interrupt. (Bug#10187)
5631
6131ba7f
SM
56322011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5633
99c79fee
SM
5634 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5635 (bug#9160).
5636
6131ba7f
SM
5637 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5638 (bug#10191).
5639
cb0a02ea
JL
56402011-12-02 Juri Linkov <juri@jurta.org>
5641
5642 * info.el (Info-search): Display "end of manual" when Isearch
5643 reaches the end of single-file Info manual. (Bug#9918)
5644
66e0570c
EZ
56452011-12-02 Eli Zaretskii <eliz@gnu.org>
5646
5647 * isearch.el (isearch-message-prefix): Run the input method part
5648 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5649
02b16839
JL
56502011-12-02 Juri Linkov <juri@jurta.org>
5651
5652 * isearch.el (isearch-occur): Use `word-search-regexp' for
5653 `isearch-word'.
5654 (isearch-search-and-update): Add condition for `isearch-word' and
5655 call `word-search-regexp'. (Bug#10145)
5656
0b950688
GM
56572011-12-01 Glenn Morris <rgm@gnu.org>
5658
5659 * eshell/em-hist.el (eshell-hist-initialize):
5660 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5661 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5662
9505c3c7
SM
56632011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5666
1bbe96b2 56672011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5668
a1beca85
SM
5669 * progmodes/verilog-mode.el (verilog-pretty-expr):
5670 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5671 verilog, such as += *= and the like.
5672 (verilog-assignment-operator-re): Regular expression to find the
5673 assigment operator in a verilog assignment.
5674 (verilog-assignment-operation-re): Regular expression to find an
5675 assignment statement for pretty-expr.
5676 (verilog-in-attribute-p): Query returns true if point is in an
5677 attribute context; used to skip these for expression line up from
5678 pretty-expr.
5679 (verilog-in-parameter-p): Query returns true if point is in an
5680 parameter definition context; used to skip these for expression
5681 line up from pretty-expr.
5682 (verilog-in-parenthesis-p): Query returns true if point is in a
5683 parenthetical expression, specifically ( ) but not [ ] or { };
5684 used by pretty-expr.
5685 (verilog-just-one-space): If there is no space, don't add one.
5686 (verilog-get-lineup-indent-2): Specifically skip just attribute
5687 contexts for expression lineup, rather than skipping all
5688 parenthetical expressions.
5689 (verilog-calculate-indent): Fix comment, and fix indent.
5690 (verilog-do-indent): Indent declarations in lists (suggested by
5691 Joachim Lechner).
5692 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5693 skeleton items.
5694 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5695 by Alain Mellan).
5696
1bbe96b2 56972011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5698
5699 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5700 parameters with embedded comments. Reported by Ray Stevens.
5701 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5702 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5703 Reported by Tim Holt.
5704 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5705 instantiated by upper module causing wrong expansion until AUTOed a
5706 second time. Reported by K C Buckenmaier.
5707 (verilog-diff-auto): Fix showing .* as a difference when
5708 `verilog-auto-star-save' off. Reported by Dan Dever.
5709 (verilog-auto-reset, verilog-read-always-signals)
5710 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5711 temporary signals in reset list if
5712 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5713 style to each signal's assignment type, bug381.
5714 Reported by Thomas Esposito.
6288f0ca
WS
5715 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5716 (verilog-uvm-statement-re): Support UVM indentation and
5717 highlighting, with old OVM keywords only.
a1beca85 5718 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5719 Support AUTOTIEOFF creating non-wire data types.
5720 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5721 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5722 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5723 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5724 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5725 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5726 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5727 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5728 non-numeric vector width. Reported by Alex Reed.
5729 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5730 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5731 (verilog-auto-delete-trailing-whitespace):
5732 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5733 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5734 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5735 Fix verilog-scan-cache corruption when running user AUTO expansion
5736 hooks that call indentation routines.
5737 (verilog-simplify-range-expression): Fix typo ignoring lower case
5738 identifiers.
5739 (verilog-delete-auto): Fix delete-autos to also remove user created
5740 automatics, as long as they start with AUTO.
5741 (verilog-batch-diff-auto, verilog-diff-auto)
5742 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5743 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5744 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5745 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5746 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5747 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5748 is disabled and its cache will get corrupt, causing AUTOS not to
5749 expand. Instead use only -quick functions.
5750 (verilog-scan-region): Fix scanning over escaped quotes.
5751 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5752 (verilog-re-search-backward-quick)
5753 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5754 related functions now ignore strings, to fix misparsing of strings
5755 with magic comments embedded in them.
a1beca85
SM
5756 (verilog-read-auto-template):
5757 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5758 Reported by Brad Dobbie.
5759 (verilog-read-auto-template):
5760 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5761 Reported by Brad Dobbie.
6288f0ca
WS
5762 (verilog-auto-inst, verilog-auto-inst-param)
5763 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5764 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5765 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5766 debugging templates without merge conflicts, bug357.
5767 Reported by Brad Dobbie.
5768 (verilog-read-auto-template):
5769 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5770 Reported by Brad Dobbie.
5771 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5772 abbrevs so user won't be asked to save.
5773 (verilog-read-auto-lisp-present): Fix to start at beginning of
5774 buffer in case called outside of verilog-auto.
5775 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5776 to "X-2". Reported by Matthew Myers.
5777 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5778 all inputs from module templates. Reported by Leith Johnson.
5779 (verilog-module-inside-filename-p): Fix locating programs as with
5780 modules.
5781 (verilog-auto-inst-port): Fix vl-width expressions when using
5782 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5783 (verilog-decls-get-regs, verilog-decls-get-signals,
5784 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5785 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5786 verilog-read-decls): Combine reg and wire structures into one var
5787 structure to represent SystemVerilog concepts.
5788 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5789 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5790 (verilog-auto-wire-type, verilog-insert-definition):
5791 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5792 SystemVerilog "logic" keyword instead of "wire"/"reg".
5793 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5794 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5795 ifdef or generate if so there's not a driver conflict).
5796 Reported by Matthew Myers.
5797 (verilog-auto-declare-nettype, verilog-insert-definition):
5798 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5799 `default_nettype none. Reported by Julian Gorfajn.
5800 (verilog-read-always-signals-recurse, verilog-read-decls)
5801 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5802 malformed end statement, bug325. Reported by Joshua Wise and
5803 Andrew Drake.
5804 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5805 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5806 when expanding .* in interfaces, bug320.
5807 Reported by Pierre-David Pfister.
6288f0ca 5808 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5809 name and open parenthesis, bug317.
5810 Reported by Pierre-David Pfister.
6288f0ca
WS
5811 (verilog-simplify-range-expression): Fix simplification of
5812 multiplications inside AUTOWIRE connections, bug303.
5813 (verilog-auto-inst-port): Support parameter expansion in
5814 multidimensional arrays.
5815 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5816 after "assert property". Reported by Julian Gorfajn.
5817 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5818 with multiplication, bug303.
5819 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5820 Reported by Jan Frode Lonnum.
5821
1bbe96b2
GM
58222011-11-30 Juanma Barranquero <lekktu@gmail.com>
5823
5824 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5825 (hfy-shell-file-name, hfy-shell):
5826 * international/fontset.el (x-decompose-font-name): Fix typos.
5827
58282011-11-29 Ken Brown <kbrown@cornell.edu>
5829
5830 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5831 (gdb-version): Remove defvar.
5832 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5833 (gdb-gud-context-command, gdb-non-stop-handler)
5834 (gdb-current-context-command, gdb-stopped): Use it.
5835 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5836 (gdb-non-stop-handler): Don't enable pretty-printing here.
5837 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5838 non-stop mode. Use the following.
5839 (gdb-check-target-async): New defun.
5840 (gud-watch, gdb-stopped): Fix whitespace.
5841 (gdb-get-source-file): Don't try to display the source file if
5842 `gdb-main-file' is nil.
5843
58442011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * align.el: Try to generate fewer markers (bug#10047).
5847 (align--set-marker): New macro.
5848 (align-region): Use it.
5849
c935221f
SM
58502011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5853
e70b5064
CY
58542011-11-29 Chong Yidong <cyd@gnu.org>
5855
5856 * indent.el (indent-for-tab-command, indent-according-to-mode):
5857 Doc fix.
5858 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5859
f3af92b7
MA
58602011-11-29 Michael Albinus <michael.albinus@gmx.de>
5861
5862 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5863 aware of remote file names. (Bug#10124)
5864
ed472be9
CY
58652011-11-29 Chong Yidong <cyd@gnu.org>
5866
5867 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5868
24510c22
SM
58692011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * files.el (find-file): Don't use force-same-window (bug#10144).
5872 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5873 use pop-to-buffer if the selected window can't be used.
5874 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5875
c60c3703
EZ
58762011-11-28 Eli Zaretskii <eliz@gnu.org>
5877
5878 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5879 special-mode-map.
5880
e95def75
CY
58812011-11-28 Chong Yidong <cyd@gnu.org>
5882
5883 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5884
c3f1c606
NR
58852011-11-27 Nick Roberts <nickrob@snap.net.nz>
5886
5887 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5888 gdb-get-source-file-list on gdb-create-source-file-list.
5889
00db469c
EZ
58902011-11-26 Eli Zaretskii <eliz@gnu.org>
5891
5892 * whitespace.el (whitespace-newline): Use a different foreground
5893 color for 16-color light-background displays.
5894
4ad3bc2a
CY
58952011-11-24 Chong Yidong <cyd@gnu.org>
5896
5897 * window.el (display-buffer--special-action): Doc fix.
5898
e9fce1ac
JB
58992011-11-25 Juanma Barranquero <lekktu@gmail.com>
5900
5901 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5902 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5903 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5904 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5905 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5906 (avl-tree-stack-first):
5907 * emacs-lisp/cconv.el (cconv--analyse-use):
5908 * net/gnutls.el (gnutls-negotiate): Fix typos.
5909
cb825e5d
GM
59102011-11-24 Glenn Morris <rgm@gnu.org>
5911
3adbe224
GM
5912 * lpr.el (lpr-windows-system, lpr-lp-system):
5913 * mail/binhex.el (binhex-begin-line):
5914 * progmodes/grep.el (grep-history, grep-find-history):
5915 * textmodes/flyspell.el:
5916 * vc/pcvs-defs.el (cvs-global-menu):
5917 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5918 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5919 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5920
321decc8
GM
5921 * net/tls.el: Fix case of "GnuTLS".
5922
420b63ad
GM
5923 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5924
cb825e5d
GM
5925 * version.el (emacs-build-system): Give it a doc-string.
5926
a0649f08
JL
59272011-11-24 Juri Linkov <juri@jurta.org>
5928
5929 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5930
c0bc0fd4
GM
59312011-11-24 Glenn Morris <rgm@gnu.org>
5932
5933 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5934 if called on a non-mime message just toggle the headers. (Bug#8006)
5935
20db1522
JB
59362011-11-24 Juanma Barranquero <lekktu@gmail.com>
5937
5938 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5939 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5940 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5941 (allout-rebullet-heading, allout-open-sibtopic)
5942 (allout-toggle-current-subtree-encryption)
5943 (allout-toggle-subtree-encryption, allout-encrypt-string)
5944 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5945 (allout-distinctive-bullets-string, allout-auto-activation):
5946 * window.el (window-normalize-buffer-to-display):
5947 * progmodes/verilog-mode.el (verilog-batch-indent):
5948 * textmodes/bibtex.el (bibtex-field-braces-opt)
5949 (bibtex-field-strings-opt):
5950 * vc/cvs-status.el (cvs-tree-merge):
5951 Fix typos.
5952
7262a87c
MA
59532011-11-23 Michael Albinus <michael.albinus@gmx.de>
5954
5955 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5956 `non-essential' to t, in order to avoid remote connections.
5957
283430a1
EZ
59582011-11-23 Eli Zaretskii <eliz@gnu.org>
5959
a1beca85
SM
5960 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5961 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5962 case-insensitively.
5963
d2992a38
ML
59642011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5965
5966 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5967
50419064
GM
59682011-11-23 Glenn Morris <rgm@gnu.org>
5969
da94eca1
GM
5970 * paths.el (rmail-file-name): Reformat the doc-string so that it
5971 is picked up.
5972
9aac4de2
GM
5973 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5974 (rmail-auto-file): Ignore case in the "special" field names,
5975 as mail-fetch-field does for all others.
5976
8038d2d2
GM
5977 * mail/rmail.el (rmail-forward):
5978 * mail/rmailkwd.el (rmail-set-label):
5979 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5980 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5981
f3fe222a
GM
5982 * mail/rmail.el (rmail-current-message): Doc fix.
5983
50419064
GM
5984 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5985
28109f49
SM
59862011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5989
394c65f1
GM
59902011-11-22 Glenn Morris <rgm@gnu.org>
5991
5992 * mail/rmailmm.el (test-rmail-mime-handler)
5993 (test-rmail-mime-bulk-handler)
5994 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5995
f2a0aa3a
JL
59962011-11-21 Juri Linkov <juri@jurta.org>
5997
1154d12e
JB
5998 * calc/calc.el (calc-read-key-sequence):
5999 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6000
9c34a344
LMI
60012011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6002
6003 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6004 Tell the caller that the next line needs recomputation, even
6005 though it doesn't start a sexp (bug#10094).
6006
f04a3be9
SM
60072011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6010
7978747f
SM
60112011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6012
f04a3be9
SM
6013 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6014 Use force-same-window.
7978747f 6015
fe7a3057
JB
60162011-11-20 Juanma Barranquero <lekktu@gmail.com>
6017
6018 * descr-text.el (describe-char-unicode-data):
6019 * json.el (json-string-escape):
6020 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6021 (Footnote-unicode, Footnote-style-p):
6022 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6023
24901d61
CY
60242011-11-20 Chong Yidong <cyd@gnu.org>
6025
6026 * window.el (replace-buffer-in-windows): Restore interactive spec.
6027
bac7ff22
SM
60282011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6029
24f3d7b9
SM
6030 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6031
bac7ff22
SM
6032 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6033 (byte-compile-global-not-obsolete-vars): New var.
6034 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6035 Use it.
6036 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6037
cd1181db
JB
60382011-11-20 Juanma Barranquero <lekktu@gmail.com>
6039
6040 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6041 * progmodes/pascal.el (electric-pascal-equal):
6042 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6043 * xml.el (xml-substitute-special): Fix typos.
6044
7fb18e9e
GM
60452011-11-20 Glenn Morris <rgm@gnu.org>
6046
6047 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6048 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6049 Doc fixes.
6050 (rmail-decode-mime-charset): Mark as obsolete.
6051
6052 * mail/rmailsum.el (rmail-message-regexp-p-1):
6053 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6054 Before using mime functions, check they are set. (Bug#10077)
6055
d5a6b3ba
JL
60562011-11-19 Juri Linkov <juri@jurta.org>
6057
6058 * info.el (Info-finder-find-node): Use `package--builtins' instead
6059 of `package-alist'. Use node names formed by the pattern "Keyword "
6060 and the keyword name.
6061
e981b61f
AS
60622011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6063
1d00653d 6064 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6065
3ffbc301
JL
60662011-11-19 Juri Linkov <juri@jurta.org>
6067
6068 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6069 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6070 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6071 `old-history', `old-history-forward'. Add let-binding
6072 `window-selected'. Remove calls to `kill-buffer',
6073 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6074 before calling `Info-find-node', so `Info-find-node-2' will reread
6075 the Info file. Restore window positions only when `window-selected'
6076 is non-nil.
6077
30c62133
JL
60782011-11-19 Juri Linkov <juri@jurta.org>
6079
6080 * isearch.el (isearch-lazy-highlight-new-loop):
6081 Remove condition `(not isearch-error)'. (Bug#9918)
6082
6083 * misearch.el (multi-isearch-search-fun): Add condition
6084 `(not bound)' to ignore lazy-highlighting search.
6085 Add the search-failed message "end of multi" when the end of
6086 multi-sequence is reached. Uncapitalize the search-failed
6087 message "Repeat for next buffer".
6088
6089 * info.el (Info-search): Add the search-failed message
6090 "end of the manual" when the end of the manual is reached
6091 in Isearch mode.
6092
645ca9cf
JL
60932011-11-19 Juri Linkov <juri@jurta.org>
6094
6095 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6096 Use non-destructive `remove' instead of `delete' because
6097 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6098 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6099
df754f66
JL
61002011-11-19 Juri Linkov <juri@jurta.org>
6101
6102 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6103 to nil instead of binding `search-ring' and `regexp-search-ring'.
6104 (Bug#9185)
6105
0e23d96a
EZ
61062011-11-19 Eli Zaretskii <eliz@gnu.org>
6107
6108 * simple.el (line-move): Force movement by logical lines for any
6109 hscrolled window, not only when auto-hscroll-mode is on.
6110 (line-move-visual): Update doc string to that effect. (Bug#10076)
6111
8a6ccb66
AS
61122011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6113
6114 * language/european.el (macintosh): Define as alias for mac-roman.
6115
49ae5b39
EZ
61162011-11-19 Eli Zaretskii <eliz@gnu.org>
6117
6118 * mail/rmailmm.el (rmail-mime-display-header)
6119 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6120 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6121 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6122 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6123 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6124 of a raw aref.
6125 (rmail-mime-entity-segment): To get past the tagline, move forward
6126 2 more lines, to account for the 2 empty lines that precede and
6127 follow the line with the buttons.
6128 (rmail-mime-update-tagline): Move one more line, to get past the
6129 empty line that follows the buttons in the tagline. (Bug#9520)
6130
c56cad4a
MR
61312011-11-19 Martin Rudalics <rudalics@gmx.at>
6132
6133 * window.el (window-max-delta-1, window-min-delta-1)
6134 (window-min-size-1, window-state-get-1, window-state-put-1)
6135 (window-state-put-2): Use "window--" prefix.
6136
cbe71af3
SM
61372011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6138
2ad52c60
SM
6139 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6140 (smie-warning-count): New var.
6141 (smie-set-prec2tab): Use it.
6142 (smie-bnf->prec2): Improve warnings. Add docstring.
6143 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6144 (smie-bnf--set-class): New function.
6145 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6146 corner case.
6147
6944dbc1
SM
6148 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6149 (compilation-error-properties, compilation-move-to-column):
6150 Handle compilation-first-column while in the target buffer.
6151
c400c4d7
SM
6152 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6153 Don't hardcode point-min==1.
6154
6dbe3e96
SM
6155 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6156 (eshell-rewrite-for-command): Remove workaround.
6157 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6158 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6159 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6160
cbe71af3
SM
6161 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6162
a8e1496d
GM
61632011-11-17 Glenn Morris <rgm@gnu.org>
6164
6165 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6166 Ignore buffer-local generated-autoload-file if it is the same
6167 as the global value. (Bug#10049)
6168
df85d315
JB
61692011-11-17 Juanma Barranquero <lekktu@gmail.com>
6170
6171 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6172 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6173 (reftex-toc-previous-heading, reftex-toc-max-level)
6174 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6175 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6176 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6177 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6178 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6179 (reftex-toc-rename-label, reftex-toc-visit-location)
6180 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6181 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6182 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6183 leaving "*toc*" only for references to the buffer.
6184
a0c2d0ae
MR
61852011-11-17 Martin Rudalics <rudalics@gmx.at>
6186
6187 * window.el (window-resize, delete-window, split-window):
6188 Replace window-splits by window-combination-resize.
1d00653d 6189 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6190
35c0bac8
GM
61912011-11-17 Glenn Morris <rgm@gnu.org>
6192
6193 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6194 Make bash entry derive from sh entry, not shell entry.
6195
d0c8fc8a
MA
61962011-11-16 Michael Albinus <michael.albinus@gmx.de>
6197
d0c8fc8a
MA
6198 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6199 properties of linked files. (Bug#9879)
6200
7262a87c
MA
6201 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6202 local file name.
6203
7877f373
JB
62042011-11-16 Juanma Barranquero <lekktu@gmail.com>
6205
6206 * menu-bar.el (menu-bar-file-menu):
6207 * printing.el (pr-ps-utility):
6208 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6209 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6210 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6211 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6212 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6213 (icalendar--convert-cyclic-to-ical)
6214 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6215 (icalendar--convert-ical-to-diary)
6216 (icalendar--convert-recurring-to-diary)
6217 (icalendar--convert-non-recurring-all-day-to-diary)
6218 (icalendar-import-format-sample):
6219 * progmodes/idlw-shell.el (idlwave-shell-mode):
6220 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6221 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6222 (vhdl-ps-print-init): Fix typos.
6223
10649b82
KM
62242011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6225
9d0cfcd6
GM
6226 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6227 FSF and collapse date sequence, obscure author/maintainer email address
6228 better, remove extra version line, track relocation of author's webpage.
10649b82 6229
9d0cfcd6
GM
6230 * progmodes/python.el (python-pdbtrack-input-prompt)
6231 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6232 regular python pdb prompts. Adjustments shamelessly taken exactly as
6233 suggested in EmacsWiki page (tiny change):
6234 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6235
58179cce
JB
62362011-11-16 Juanma Barranquero <lekktu@gmail.com>
6237
6238 * expand.el (expand-pos, expand-index, expand-point):
6239 Remove redundant info from docstring.
6240 (expand-add-abbrevs): Doc fix.
6241 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6242 (expand-sample-perl-mode-expand-list): Fix typos.
6243
6244 * net/dbus.el (dbus-event-member-name):
6245 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6246 * term/pc-win.el (msdos-create-frame-with-faces):
6247 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6248
b6f67890
MR
62492011-11-16 Martin Rudalics <rudalics@gmx.at>
6250
6251 * window.el (split-window, window-state-get-1)
6252 (window-state-put-1, window-state-put-2): Rename occurrences of
6253 window-nest to window-combination-limit.
1d00653d 6254 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6255
ce7ddba0
CY
62562011-11-16 Chong Yidong <cyd@gnu.org>
6257
6258 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6259 regexp (Bug#10033).
6260
3ae704f4
SM
62612011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6262
6263 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6264 `completing-read' will remove *Completions* and will preserve
6265 current-buffer for us.
6266 (tmm-add-prompt): Users of *Completions* will always (re)set its
6267 major mode.
6268 (tmm-old-comp-map): Remove.
6269
6ad1cdde
GM
62702011-11-16 Glenn Morris <rgm@gnu.org>
6271
6272 * mail/rmailedit.el: Require rmailmm when compiling.
6273 (rmail-old-mime-state): New declaration.
6274 (rmail-edit-current-message): If editing a mime message,
6275 edit the "raw" message from the mbox buffer.
6276 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6277
d20faa20
GM
62782011-11-15 Glenn Morris <rgm@gnu.org>
6279
6280 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6281 which wasn't being used. Add optional arg to force given state.
6282 (rmail-mime): Add optional arg to force given state.
6283
c7015153
JB
62842011-11-15 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6287 * frame.el (display-mm-dimensions-alist):
6288 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6289 (outline-move-subtree-down):
6290 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6291 (newsticker--treeview-do-get-node):
6292 * net/quickurl.el (quickurl-list-buffer-name):
6293 * progmodes/dcl-mode.el (dcl-mode):
6294 * progmodes/gdb-mi.el (gdb-mapcar*):
6295 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6296
45261b50
GM
62972011-11-15 Glenn Morris <rgm@gnu.org>
6298
6299 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6300 in a boolean sense, so just make it a boolean, and fix the doc.
6301 (rmail-show-mime-function, rmail-mime-feature)
6302 (rmail-require-mime-maybe): Doc fixes.
6303 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6304
6305 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6306
0d26e0b6
JB
63072011-11-15 Juanma Barranquero <lekktu@gmail.com>
6308
6309 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6310 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6311 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6312 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6313
447f30f6
GM
63142011-11-15 Glenn Morris <rgm@gnu.org>
6315
672b871d
GM
6316 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6317 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6318 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6319 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6320 (rmail-mime, rmail-show-mime): Doc fixes.
6321
f6aa5bb1
GM
6322 * term/ns-win.el (mode-line-frame-identification):
6323 Leave it alone. (Bug#10051)
6324
947cd66b
GM
6325 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6326
447f30f6
GM
6327 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6328 Handle empty buffers. (Bug#9978)
6329
0b381c7e
JB
63302011-11-14 Juanma Barranquero <lekktu@gmail.com>
6331
6332 * international/mule.el (define-charset):
6333 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6334 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6335 * progmodes/verilog-mode.el (verilog-backward-token):
6336 * textmodes/ispell.el (lookup-words):
6337 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6338
71e027ac
GM
63392011-11-14 Glenn Morris <rgm@gnu.org>
6340
56632ce4
GM
6341 * progmodes/executable.el
6342 (executable-make-buffer-file-executable-if-script-p):
6343 Handle file-modes returning nil.
6344
40500957
GM
6345 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6346 message - not necessary, and causes problems. (Bug#9831)
6347
071c2340
GM
6348 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6349
d3cfca60
GM
6350 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6351
71e027ac
GM
6352 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6353 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6354 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6355
89d61221
MR
63562011-11-12 Martin Rudalics <rudalics@gmx.at>
6357
6358 * window.el (window-resize, delete-window): Use window-splits
6359 variable instead of function.
6360 (window-state-get-1, window-state-put-2, window-state-put):
6361 Don't deal with windows' splits status.
6362
98282f6f
GM
63632011-11-12 Glenn Morris <rgm@gnu.org>
6364
6365 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6366 (apropos-documentation): Doc fixes.
6367
40a8bdf6
JB
63682011-11-11 Juanma Barranquero <lekktu@gmail.com>
6369
6370 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6371 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6372
65bd19ff
SM
63732011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * electric.el (electric-indent-post-self-insert-function): Make it
6376 possible for a char to only indent in some circumstances.
6377 (electric-indent-mode): Simplify.
6378
54f9154c
MR
63792011-11-11 Martin Rudalics <rudalics@gmx.at>
6380
6381 * window.el (windows-with-parameter): Remove unused function.
6382 (windows-at-side): Rename to window-at-side-list.
6383 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6384 (window-side-check, window-size-ignore, window-size-fixed-1)
6385 (window-in-direction-2): Prefix with "window--".
6386 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6387
68cbc58b
GM
63882011-11-11 Glenn Morris <rgm@gnu.org>
6389
6390 * subr.el (eval-after-load): If FILE is already loaded,
6391 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6392
b2621720
GM
63932011-11-10 Glenn Morris <rgm@gnu.org>
6394
9a4de110
GM
6395 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6396 Call svn via vc-svn-command rather than vc-do-command.
6397 (vc-svn-command): Add --non-interactive. (Bug#9993)
6398 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6399
b2621720
GM
6400 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6401 Add toggle-read-only. (Bug#7292)
6402 * files.el (toggle-read-only): Mention that it should only
6403 be used interactively. (Bug#10006)
6404
1dce7193
SM
64052011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6406
d9ac1a1e
SM
6407 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6408 Adjust regexp for OCaml warnings.
6409
0c325082
SM
6410 * electric.el (electric-pair-post-self-insert-function): Let user
6411 turn it off buffer-locally (bug#9932).
6412
90132c14
SM
6413 * progmodes/python.el (python-beginning-of-statement):
6414 Rewrite (bug#2703).
6415
1dce7193
SM
6416 * progmodes/compile.el: Better handle TABs (bug#9749).
6417 (compilation-internal-error-properties)
6418 (compilation-next-error-function): Obey the target buffer's
6419 compilation-error-screen-columns.
6420
c4e7c63a
JB
64212011-11-09 Juanma Barranquero <lekktu@gmail.com>
6422
6423 * progmodes/meta-mode.el: Remove obsolete comments.
6424 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6425 Fix typos in docstrings.
6426
2cffd681
MR
64272011-11-09 Martin Rudalics <rudalics@gmx.at>
6428
6429 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6430 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6431 (window--resizable): New function. Make all callers of
6432 window-resizable call window--resizable instead.
6433 (window-resizable): Rewrite in terms of window--resizable.
6434
0edcba87
GM
64352011-11-08 Glenn Morris <rgm@gnu.org>
6436
6437 * progmodes/delphi.el (delphi-mode-syntax-table):
6438 Let define-derived-mode define a proper syntax table. (Bug#9994)
6439
4b0d61e3
SM
64402011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6441
6442 * window.el: Stay away from defsubst.
6443 (window-list-no-nils): Remove.
6444 (window-state-get-1, window-state-get): Use backquote instead.
6445
cd394be1 64462011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6447
4b0d61e3 6448 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6449 Fix incorrect use of default argument in `completing-read'.
6450
e1c2c6f2
MR
64512011-11-08 Martin Rudalics <rudalics@gmx.at>
6452
6453 * window.el (display-buffer-function, special-display-function):
6454 Mention display-buffer-record-window but do not mention
6455 help-setup parameter in doc-strings.
b3f4a882 6456 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6457
105216ed
CY
64582011-11-08 Chong Yidong <cyd@gnu.org>
6459
6460 * window.el (window-total-height, window-total-width): Doc fix.
6461 (window-body-size): Move from C.
6462 (window-body-height, window-body-width): Move to C.
6463
0a9f9ab5
SM
64642011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * window.el: Make special-display like display-buffer-alist (bug#9532).
6467 (display-buffer--special-action): New function, morphed
6468 from display-buffer--special.
6469 (display-buffer): Use it to handle special-display-buffers at higher
6470 priority (just after display-buffer-alist).
6471 (display-buffer-fallback-action, display-buffer--other-frame-action)
6472 (pop-to-buffer-same-window): Remove display-buffer--special.
6473
a769dd15
GM
64742011-11-07 Glenn Morris <rgm@gnu.org>
6475
6476 * calendar/cal-menu.el (cal-menu-set-date-title):
6477 Do nothing if not in a calendar. (Bug#9976)
6478
05a61ee3
SM
64792011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * files.el (find-file): Always use selected-window.
6482
be7f5545
MR
64832011-11-07 Martin Rudalics <rudalics@gmx.at>
6484
6485 * window.el (window-combinations): Make WINDOW argument
6486 mandatory. Rewrite doc-string.
6487 (walk-window-subtree, window-atom-check, window-min-delta)
6488 (window-max-delta, window--resize-this-window)
6489 (window--resize-root-window-vertically, window-tree)
6490 (balance-windows, window-state-put): Rewrite doc-strings as to
6491 not mention the term "subwindow".
6492 (window--resize-subwindows-skip-p): Rename to
6493 window--resize-child-windows-skip-p.
6494 (window--resize-subwindows-normal): Rename to
6495 window--resize-child-windows-normal.
6496 (window--resize-subwindows): Rename to
6497 window--resize-child-windows.
6498 (window-or-subwindow-p): Rename to window--in-subtree-p.
6499
3c6702ef
ML
65002011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6501
6502 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6503 Ensure that mbox format messages end in two newlines (Bug#9974).
6504
49745b39
CY
65052011-11-06 Chong Yidong <cyd@gnu.org>
6506
6507 * window.el (window-combination-p): Function deleted; its
6508 side-effect is not used in any existing code.
6509 (window-combinations, window-combined-p): Call window-*-child
6510 directly.
6511
24300f5f
CY
65122011-11-05 Chong Yidong <cyd@gnu.org>
6513
6514 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6515 (window-size-ignore, window-state-get): Callers changed.
6516 (window-normalize-window): Rename from window-normalize-any-window.
6517 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6518 (window-normalize-live-window): Delete.
447f16b8
CY
6519 (window-combination-p, window-combined-p, window-combinations)
6520 (walk-window-subtree, window-atom-root, window-min-size)
6521 (window-sizable, window-sizable-p, window-size-fixed-p)
6522 (window-min-delta, window-max-delta, window-resizable)
6523 (window-resizable-p, window-full-height-p, window-full-width-p)
6524 (window-current-scroll-bars, window-point-1, set-window-point-1)
6525 (window-at-side-p, window-in-direction, window-resize)
6526 (adjust-window-trailing-edge, maximize-window, minimize-window)
6527 (window-deletable-p, delete-window, delete-other-windows)
6528 (record-window-buffer, unrecord-window-buffer)
6529 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6530 (quit-window, split-window, window-state-put)
6531 (set-window-text-height, fit-window-to-buffer)
6532 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6533
89bd5ee1
EZ
65342011-11-04 Eli Zaretskii <eliz@gnu.org>
6535
53479029
EZ
6536 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6537 rfc2047-decode-string.
6538 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6539 warnings.
6540
89bd5ee1
EZ
6541 * window.el (window-body-height, window-body-width): Mention in
6542 the doc string that the return values are in frame's canonical
6543 units. (Bug#9949)
6544
bd17fdee
AM
65452011-11-03 Alan Mackenzie <acm@muc.de>
6546
6547 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6548 change in cc-engine.el.
6549
acc825c5
SM
65502011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6553
1885e5b8
MR
65542011-11-02 Martin Rudalics <rudalics@gmx.at>
6555
6556 * window.el (quit-window): Call unrecord-window-buffer after
6557 showing another buffer in the window. (Bug#9937)
acc825c5 6558 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6559
ebe06da9
JB
65602011-11-02 Juanma Barranquero <lekktu@gmail.com>
6561
6562 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6563 Accept status with more than 9 shelves. (Bug#9935)
6564 Reported by Colin D Bennett <colin@gibibit.com>.
6565
4ee88440
MR
65662011-11-01 Martin Rudalics <rudalics@gmx.at>
6567
6568 * help.el (with-help-window): Don't reference
6569 temp-buffer-show-specifiers in doc-string.
6570
08e1d82c
AS
65712011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6572
6573 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6574 menu-item.
6575
84bd6e9e
VJL
65762011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6577
6578 * whitespace.el: New version 13.2.2.
6579 (whitespace-newline-mode): Disable properly. Reported by Sarah
6580 <EmacsWiki>.
6581
dba0634a
UJ
65822011-10-30 Ulf Jasper <ulf.jasper@web.de>
6583
6584 * net/newst-treeview.el: Remove "Time-stamp".
6585 (newsticker--group-manage-orphan-feeds): Do not call
6586 newsticker--treeview-tree-update.
db22a3c2
JB
6587 (newsticker-treeview-update, newsticker-treeview):
6588 Call newsticker--treeview-tree-update if necessary.
dba0634a 6589
3d8daefe
MR
65902011-10-30 Martin Rudalics <rudalics@gmx.at>
6591
6592 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6593 (window-iso-combinations): Remove "iso-" infix.
6594 Suggested by Chong Yidong.
3d8daefe
MR
6595 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6596 (window-max-delta-1, window-resize, window--resize-siblings)
6597 (window--resize-this-window, adjust-window-trailing-edge)
6598 (split-window, balance-windows-1)
6599 (shrink-window-if-larger-than-buffer):
6600 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6601 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6602
1bc4c3ae
SM
66032011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6604
6605 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6606 in place (bug#9907).
6607 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6608 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6609 (eshell-structure-basic-command, eshell-rewrite-while-command)
6610 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6611 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6612 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6613 (eshell-do-pipelines-synchronously, eshell-eval-command):
6614 Use backquotes and prefer setq to set.
6615 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6616 (eshell-macrop): Use functionp.
c1e2f5fa 6617 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6618
30b65d9c
CY
66192011-10-30 Chong Yidong <cyd@gnu.org>
6620
6621 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6622 instead of set-mark (Bug#9810).
6623
2d197ffb
CY
66242011-10-30 Chong Yidong <cyd@gnu.org>
6625
6626 * window.el (split-window-below, split-window-right): Rename from
6627 split-window-above-each-other and split-window-side-by-side
6628 respectively. All callers changed.
6629 (split-window-sensibly, split-window-sensibly): Use them.
6630 (split-window-keep-point): Doc fix.
6631
6632 * isearch.el: Add isearch-scroll property to split-window-below
6633 and split-window-right.
6634
6635 * follow.el (follow-mode):
6636 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6637 * progmodes/ada-xref.el (ada-gdb-application):
6638 * emulation/vip.el (vip-buffer-in-two-windows):
6639 * image-dired.el (image-dired-dired-with-window-configuration):
6640 * dired-x.el (dired-do-find-marked-files):
6641 * dired.el (dired-pop-to-buffer):
6642 * bs.el (bs--show-with-configuration):
6643 * vc/emerge.el (emerge-setup-windows):
6644 * textmodes/two-column.el (2C-two-columns):
6645 * textmodes/reftex-toc.el (reftex-toc):
6646 * progmodes/gdb-mi.el (gdb-setup-windows):
6647 * progmodes/fortran.el (fortran-window-create):
6648 * net/newst-treeview.el (newsticker--treeview-window-init):
6649 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6650 * emulation/tpu-edt.el (tpu-gold-map):
6651 * emulation/crisp.el (crisp-mode-map):
6652 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6653
38bb2ca8
CY
66542011-10-29 Chong Yidong <cyd@gnu.org>
6655
aa4de341
CY
6656 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6657
e1eb5385
CY
6658 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6659
5d2ece3c
CY
6660 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6661 forged Ispell output (Bug#7904).
6662
38bb2ca8
CY
6663 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6664
d0af9f77
SM
66652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * doc-view.el: Avoid ugly errors about not finding nil.
6668 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6669 (doc-view-dvipdf-program, doc-view-unoconv-program)
6670 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6671 Avoid nil or absolute file name as default value.
6672 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6673
52bedd34
AM
66742011-10-28 Alan Mackenzie <acm@muc.de>
6675
db22a3c2 6676 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6677
7e43cfa5
AM
66782011-10-28 Alan Mackenzie <acm@muc.de>
6679
6680 Amend the handling of c-beginning/end-of-defun in nested declaration
6681 scopes.
6682
52bedd34
AM
6683 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6684 cc-langs.el. Change it to a defcustom.
7e43cfa5 6685
52bedd34
AM
6686 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6687 cc-vars.el.
7e43cfa5 6688
d0af9f77
SM
6689 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6690 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6691
52bedd34 6692 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6693 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6694 (c-widen-to-enclosing-decl-scope): New function.
6695 (c-while-widening-to-decl-block): New macro.
6696 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6697 outward for defun boundaries, and correspondingly change symbol
6698 `respect-enclosure' to `go-outward'.
6699 (c-declaration-limits): Change algorithm to report only the "innermost"
6700 defun's boundaries.
6701
1a2ce9ee
DD
67022011-10-28 Deniz Dogan <deniz@dogan.se>
6703
6704 * net/rcirc.el (rcirc-mode): Use hard newlines.
6705
bc97a826
AM
67062011-10-28 Alan Mackenzie <acm@muc.de>
6707
6708 Amend to indent and fontify macros "which include their own semicolon"
6709 correctly, using the "virtual semicolon" mechanism.
6710
52bedd34 6711 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6712
d0af9f77 6713 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6714 Recode to scan one line at a time rather than having \n and \r
58179cce 6715 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6716 (c-forward-label): Amend for virtual semicolons.
58179cce 6717 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6718
52bedd34
AM
6719 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6720 of the new C macros.
bc97a826 6721
52bedd34 6722 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6723 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6724 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6725 (c-opt-cpp-macro-define): Make into a full language variable.
6726 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6727 AWK Mode (including \n, \r) removed, no longer needed.
6728
d0af9f77
SM
6729 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6730 Invoke c-make-macro-with-semi-re.
bc97a826 6731
52bedd34
AM
6732 * progmodes/cc-vars.el (c-macro-with-semi-re):
6733 (c-macro-names-with-semicolon): New variables.
58179cce 6734 (c-make-macro-with-semi-re): New function.
bc97a826 6735
7a6c0941
SM
67362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6737
6738 * vc/log-edit.el: Fill empty field rather than adding new one.
6739 (log-edit-add-field): New function.
6740 (log-edit-insert-changelog): Use it.
6741
b0c4cdcf
ML
67422011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6743
6744 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6745
ee1f1da9
SM
67462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6747
6748 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6749 (gdb--check-interpreter): New function.
6750 (gdb): Use it.
6751
51bc5f8b
GM
67522011-10-27 Glenn Morris <rgm@gnu.org>
6753
416a2c45
GM
6754 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6755 (least-positive-float, least-negative-float)
6756 (least-positive-normalized-float, least-negative-normalized-float)
6757 (float-epsilon, float-negative-epsilon):
6758 Remove unnecessary declarations.
6759
6760 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6761 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6762 (least-positive-float, least-negative-float)
6763 (least-positive-normalized-float, least-negative-normalized-float)
6764 (float-epsilon, float-negative-epsilon): Add doc-strings,
6765 based on those in cl.texi.
6766
51bc5f8b
GM
6767 * files.el (set-visited-file-name): If the major-mode changed,
6768 reload the local variables. (Bug#9796)
6769
15de15c6
CY
67702011-10-27 Chong Yidong <cyd@gnu.org>
6771
6772 * subr.el (change-major-mode-after-body-hook): New hook.
6773 (run-mode-hooks): Run it.
6774
ee1f1da9
SM
6775 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6776 Use change-major-mode-before-body-hook.
15de15c6
CY
6777
6778 * simple.el (fundamental-mode):
6779 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6780 change introducing fundamental-mode-hook.
6781
5430d399
JB
67822011-10-26 Juanma Barranquero <lekktu@gmail.com>
6783
acc825c5 6784 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6785
ad74a69e
MA
67862011-10-26 Michael Albinus <michael.albinus@gmx.de>
6787
6788 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6789 tramp.el explicitly. (Bug#7583)
ad74a69e 6790
71d4c2a5
SM
67912011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * progmodes/octave-mod.el:
6794 * progmodes/octave-inf.el: Update maintainer.
6795
b1f6fa26
CY
67962011-10-26 Chong Yidong <cyd@gnu.org>
6797
6798 * subr.el (with-wrapper-hook): Rewrite doc.
6799
3f04efd6
MA
68002011-10-25 Michael Albinus <michael.albinus@gmx.de>
6801
6802 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6803 filenames "/method:foo:". (Bug#9793)
3f04efd6 6804
410488d3
SM
68052011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6808 (bug#9865).
6809
c1ebb47e
GM
68102011-10-24 Glenn Morris <rgm@gnu.org>
6811
6812 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6813
7f5c46c7
MA
68142011-10-24 Michael Albinus <michael.albinus@gmx.de>
6815
6816 * notifications.el: Add the requirement of a running D-Bus session
6817 bus to the Commentary.
6818
db2440b6
JL
68192011-10-24 Juri Linkov <juri@jurta.org>
6820
6821 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6822 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6823 (Bug#9364)
6824
feecf435
JL
68252011-10-24 Juri Linkov <juri@jurta.org>
6826
6827 * info.el (Info-following-node-name-re): Add newline to the list
6828 of allowed characters for leading space. (Bug#9824)
6829
a3839de2
SM
68302011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6831
acc825c5
SM
6832 * progmodes/octave-inf.el (inferior-octave-mode-map):
6833 Fix C-c C-h binding.
a3839de2
SM
6834 * progmodes/octave-mod.el (octave-help): Remove.
6835
09388e76
MA
68362011-10-23 Michael Albinus <michael.albinus@gmx.de>
6837
6838 Sync with Tramp 2.2.3.
6839
6840 * net/tramp-cache.el (top): Pacify byte-compiler using
6841 `init-file-user' and `site-run-file'.
6842
6843 * net/trampver.el: Update release number.
6844
86c60681
CY
68452011-10-23 Chong Yidong <cyd@gnu.org>
6846
6847 * files.el (toggle-read-only): Remove obsolete comment about
6848 version control.
6849
6850 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6851 for toggle-read-only. Note that this hasn't called vc-next-action
6852 since 2008-05-02, though it wasn't documented at the time.
6853
a3839de2
SM
6854 * vc/ediff-init.el (ediff-toggle-read-only-function):
6855 Use toggle-read-only.
86c60681 6856
cd5495ff
AM
68572011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6858
6859 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6860 of c-parse-state.
6861
00b77525 6862 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6863 correct faulty logical expression.
cd5495ff
AM
6864 (c-parse-state-state, c-record-parse-state-state):
6865 (c-replay-parse-state-state): New defvar/defuns.
6866 (c-debug-parse-state): Use new functions.
6867
42ee24ed
MR
68682011-10-22 Martin Rudalics <rudalics@gmx.at>
6869
6870 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6871 last fix. Use window-in-direction correctly.
42ee24ed 6872
a7dee7e7
CY
68732011-10-21 Chong Yidong <cyd@gnu.org>
6874
6875 * progmodes/idlwave.el (idlwave-mode):
6876 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6877 require-final-newline; that's done in prog-mode.
6878 Suggested by Stefan Monnier.
a7dee7e7 6879
e07b9a6d
MR
68802011-10-21 Martin Rudalics <rudalics@gmx.at>
6881
6882 * mouse.el (mouse-drag-window-above)
6883 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6884 (mouse-drag-mode-line-1, mouse-drag-header-line)
6885 (mouse-drag-vertical-line-rightward-window): Remove.
6886 (mouse-drag-line): New function.
6887 (mouse-drag-mode-line, mouse-drag-header-line)
6888 (mouse-drag-vertical-line): Call mouse-drag-line.
6889 * window.el (window-at-side-p, windows-at-side): New functions.
6890
7e1361d9
UM
68912011-10-21 Ulrich Mueller <ulm@gentoo.org>
6892
6893 * tar-mode.el (tar-grind-file-mode):
6894 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6895
30fcaf3a
CY
68962011-10-21 Chong Yidong <cyd@gnu.org>
6897
6898 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6899 * progmodes/vera-mode.el (vera-mode):
6900 Use mode-require-final-newline.
30fcaf3a 6901
516eddb0
GM
69022011-10-20 Glenn Morris <rgm@gnu.org>
6903
db22a3c2 6904 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6905
10d5f513
CS
69062011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6907
6908 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6909
ac6c8639
CY
69102011-10-20 Chong Yidong <cyd@gnu.org>
6911
6912 * emulation/cua-base.el (cua-mode):
6913 * mail/footnote.el (footnote-mode):
6914 * mail/mailabbrev.el (mail-abbrevs-mode):
6915 * net/xesam.el (xesam-minor-mode):
6916 * progmodes/bug-reference.el (bug-reference-mode):
6917 * progmodes/cap-words.el (capitalized-words-mode):
6918 * progmodes/compile.el (compilation-minor-mode)
6919 (compilation-shell-minor-mode):
6920 * progmodes/gud.el (gud-tooltip-mode):
6921 * progmodes/hideif.el (hide-ifdef-mode):
6922 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6923 * progmodes/subword.el (subword-mode):
6924 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6925 * progmodes/which-func.el (which-function-mode):
6926 * term/tvi970.el (tvi970-set-keypad-mode):
6927 * term/vt100.el (vt100-wide-mode):
6928 * textmodes/flyspell.el (flyspell-mode):
6929 * textmodes/ispell.el (ispell-minor-mode):
6930 * textmodes/nroff-mode.el (nroff-electric-mode):
6931 * textmodes/paragraphs.el (use-hard-newlines):
6932 * textmodes/refill.el (refill-mode):
6933 * textmodes/reftex.el (reftex-mode):
6934 * textmodes/rst.el (rst-minor-mode):
6935 * textmodes/sgml-mode.el (html-autoview-mode)
6936 (sgml-electric-tag-pair-mode):
6937 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6938 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6939 * emulation/crisp.el (crisp-mode):
6940 * emacs-lisp/eldoc.el (eldoc-mode):
6941 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6942 minor mode behavior.
6943
aa42ab43
JL
69442011-10-19 Juri Linkov <juri@jurta.org>
6945
6946 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6947 the list of hard-coded chars with escape-glyph face.
6948
89400f1d
SM
69492011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6952
305c07f6
MA
69532011-10-19 Michael Albinus <michael.albinus@gmx.de>
6954
6955 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6956 running process.
6957
13754b54
GM
69582011-10-19 Glenn Morris <rgm@gnu.org>
6959
6960 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6961 Ignore ignored files. (Bug#9726)
6962
06e21633
CY
69632011-10-19 Chong Yidong <cyd@gnu.org>
6964
6965 Doc fix for minor modes, stating that an omitted argument enables
6966 the mode unconditionally when called from Lisp.
6967
6968 * abbrev.el (abbrev-mode):
6969 * allout.el (allout-mode):
6970 * autoinsert.el (auto-insert-mode):
6971 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6972 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6973 (global-auto-revert-mode):
6974 * battery.el (display-battery-mode):
6975 * composite.el (global-auto-composition-mode)
6976 (auto-composition-mode):
6977 * delsel.el (delete-selection-mode):
6978 * desktop.el (desktop-save-mode):
6979 * dired-x.el (dired-omit-mode):
6980 * dirtrack.el (dirtrack-mode):
6981 * doc-view.el (doc-view-minor-mode):
6982 * double.el (double-mode):
6983 * electric.el (electric-indent-mode, electric-pair-mode):
6984 * emacs-lock.el (emacs-lock-mode):
6985 * epa-hook.el (auto-encryption-mode):
6986 * follow.el (follow-mode):
6987 * font-core.el (font-lock-mode):
6988 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6989 * help.el (temp-buffer-resize-mode):
6990 * hilit-chg.el (highlight-changes-mode)
6991 (highlight-changes-visible-mode):
6992 * hi-lock.el (hi-lock-mode):
6993 * hl-line.el (hl-line-mode, global-hl-line-mode):
6994 * icomplete.el (icomplete-mode):
6995 * ido.el (ido-everywhere):
6996 * image-file.el (auto-image-file-mode):
6997 * image-mode.el (image-minor-mode):
6998 * iswitchb.el (iswitchb-mode):
6999 * jka-cmpr-hook.el (auto-compression-mode):
7000 * linum.el (linum-mode):
7001 * longlines.el (longlines-mode):
7002 * master.el (master-mode):
7003 * mb-depth.el (minibuffer-depth-indicate-mode):
7004 * menu-bar.el (menu-bar-mode):
7005 * minibuf-eldef.el (minibuffer-electric-default-mode):
7006 * mouse-sel.el (mouse-sel-mode):
7007 * msb.el (msb-mode):
7008 * mwheel.el (mouse-wheel-mode):
7009 * outline.el (outline-minor-mode):
7010 * paren.el (show-paren-mode):
7011 * recentf.el (recentf-mode):
7012 * reveal.el (reveal-mode, global-reveal-mode):
7013 * rfn-eshadow.el (file-name-shadow-mode):
7014 * ruler-mode.el (ruler-mode):
7015 * savehist.el (savehist-mode):
7016 * scroll-all.el (scroll-all-mode):
7017 * scroll-bar.el (scroll-bar-mode):
7018 * server.el (server-mode):
7019 * shell.el (shell-dirtrack-mode):
7020 * simple.el (auto-fill-mode, transient-mark-mode)
7021 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7022 (line-number-mode, column-number-mode, size-indication-mode)
7023 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7024 * strokes.el (strokes-mode):
7025 * time.el (display-time-mode):
7026 * t-mouse.el (gpm-mouse-mode):
7027 * tool-bar.el (tool-bar-mode):
7028 * tooltip.el (tooltip-mode):
7029 * type-break.el (type-break-mode-line-message-mode)
7030 (type-break-query-mode):
7031 * view.el (view-mode):
7032 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7033 (global-whitespace-mode, global-whitespace-newline-mode):
7034 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7035
a3839de2
SM
7036 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7037 Fix autogenerated docstring.
06e21633 7038
5214e501
JL
70392011-10-19 Juri Linkov <juri@jurta.org>
7040
7041 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7042 by checking environment variables "DESKTOP_SESSION" and
7043 "XDG_CURRENT_DESKTOP". (Bug#9779)
7044
195f8db9
JL
70452011-10-19 Juri Linkov <juri@jurta.org>
7046
7047 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7048 (browse-url-chromium-program, browse-url-chromium-arguments):
7049 New defcustoms.
7050 (browse-url-default-browser): Check for `browse-url-chromium' and
7051 call `browse-url-chromium-program'.
7052 (browse-url-chromium): New command. (Bug#9779)
7053
343a34ff
JB
70542011-10-18 Juanma Barranquero <lekktu@gmail.com>
7055
7056 * facemenu.el (list-colors-duplicates): On Windows, detect more
7057 duplicates by assuming that only colors matching "^System" are
7058 special "system colors". (Bug#9722)
7059
6978a151
SM
70602011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7061
7062 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7063 to distinguish the author from the committer.
7064
6a80b297
MA
70652011-10-18 Michael Albinus <michael.albinus@gmx.de>
7066
7067 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7068
b31a5677
JK
70692011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7070
7071 * international/mule.el (sgml-html-meta-auto-coding-function):
7072 Add support for detecting encoding in HTML5 specified only as
7073 <meta charset="UTF-8">. Implementation just makes http-equiv and
7074 content-type parts from HTML4 encoding string optional. (Bug#9716)
7075
80c6d77f
GM
70762011-10-18 Glenn Morris <rgm@gnu.org>
7077
7078 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7079
08b0fee8
CY
70802011-10-18 Chong Yidong <cyd@gnu.org>
7081
7082 * faces.el (cursor): Doc fix.
7083
67e729a5
CY
70842011-10-17 Chong Yidong <cyd@gnu.org>
7085
7086 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7087
343a34ff 70882011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7089
7090 * dirtrack.el (dirtrack): Support shell buffers with path
7091 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7092
0bc06380
TZ
70932011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7094
7095 * json.el: Bump version to 1.3 and note change in History.
7096 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7097
8b79f3e0
SM
70982011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7099
5a7c536b
SM
7100 * comint.el (comint-insert-input, comint-send-input)
7101 (comint-get-old-input-default, comint-backward-matching-input)
7102 (comint-next-prompt): Use nil instead of `input' for field property of
7103 past user input (bug#114).
7104
96a8a0df
SM
7105 * minibuffer.el (completion--replace): Inherit surrounding properties
7106 (bug#114).
7107 (minibuffer-complete-and-exit): Use it.
7108
8b79f3e0
SM
7109 * comint.el (comint--table-subvert): Quote the all-completions output
7110 (bug#9160).
7111
b8f7ff0d
MR
71122011-10-17 Martin Rudalics <rudalics@gmx.at>
7113
8b79f3e0 7114 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7115
b8f7ff0d 7116 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7117 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7118 entries and separate them from frame entries.
7119
c235b555
GM
71202011-10-15 Glenn Morris <rgm@gnu.org>
7121
7122 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7123 Doc fixes.
7124
6bbfa6e1
CY
71252011-10-15 Chong Yidong <cyd@stupidchicken.com>
7126
8b79f3e0
SM
7127 * net/network-stream.el (network-stream-open-starttls):
7128 Improve detection of failure due to lack of TLS support.
ec5c990d 7129
6bbfa6e1
CY
7130 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7131 putting the input text in front and in bold.
7132
98488977
SM
71332011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7134
3d1337be
SM
7135 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7136
ee0b45e4
SM
7137 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7138 empty buffer.
7139
98488977
SM
7140 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7141 unread-command-events rather than pushing yet-another event.
7142
186f4720
EZ
71432011-10-14 Eli Zaretskii <eliz@gnu.org>
7144
7145 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7146 the explanation of the possible choices. Make the options passed
7147 to completing-read shorter.
7148
8b7a997c
AM
71492011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7150
7151 * textmodes/flyspell.el (flyspell-large-region): Make sure
7152 extended character mode is used if defined (Bug#1339).
7153
12587bbb
EZ
71542011-10-13 Eli Zaretskii <eliz@gnu.org>
7155
7156 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7157 character info for LRE, LRO, RLE, and RLO characters by appending
7158 an invisible PDF.
12587bbb 7159
bad41229
SM
71602011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7163 even in case of error; add debug spec; simplify data flow.
7164 (with-timeout-handler): Remove.
7165
28dbc92f
MA
71662011-10-12 Michael Albinus <michael.albinus@gmx.de>
7167
7168 Fix Bug#6019, Bug#9315.
7169
7170 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7171 complete `buffer-file-name', the local file name part could look
7172 remotely (for example on VMS).
7173
7174 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7175 `tramp-run-real-handler'.
7176 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7177 already quoted by '"'.
7178
7179 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7180 Let `file-name-handler-alist' be nil, the local file name part
7181 could look remotely (for example on VMS).
7182
e1b0b23a
SM
71832011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7186 from here...
7187 (flyspell-post-command-hook): ...to here.
7188
a120bde9
SM
71892011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7190
7191 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7192 if not needed.
7193 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7194 using completion. Protect against "slow" callers.
7195 Remove the "message hack".
7196
7ce7717b
JL
71972011-10-11 Juri Linkov <juri@jurta.org>
7198
7199 * isearch.el (isearch-lazy-highlight-word): New variable.
7200 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7201 Use it. (Bug#9727)
7202
c02ee9d6
GM
72032011-10-11 Glenn Morris <rgm@gnu.org>
7204
7205 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7206 like f90-previous-statement does.
7207
93e616fd 72082011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7209
1f190e73 7210 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7211 only in interactive use, to avoid error.
7212
af7b6078
SM
72132011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * minibuffer.el (completion-file-name-table): Fix last change,
7216 i.e. ignore normal errors but not the other ones.
7217
0563dae9
MR
72182011-10-10 Martin Rudalics <rudalics@gmx.at>
7219
7220 * window.el (special-display-buffer-names)
7221 (special-display-regexps): Remove some remnants of earlier
7222 changes from doc-strings.
366ca7f3
MR
7223 (quit-windows-on): New function.
7224
7225 * vc/vc.el (vc-revert, vc-rollback):
7226 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7227 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7228 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7229
49677495
MR
72302011-10-09 Martin Rudalics <rudalics@gmx.at>
7231
7232 * window.el (frame-auto-hide-function): Add version tag.
7233 (Bug#9699)
7234
56f2d1e1
MA
72352011-10-09 Michael Albinus <michael.albinus@gmx.de>
7236
7237 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7238 condition.
7239
112a6592
LL
72402011-10-09 Leo Liu <sdl.web@gmail.com>
7241
7242 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7243 (Bug#9701)
7244
0812589b
GM
72452011-10-08 Glenn Morris <rgm@gnu.org>
7246
7247 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7248 before the first code statement zero indent. (Bug#9690)
7249
b2b0776e
CY
72502011-10-08 Chong Yidong <cyd@stupidchicken.com>
7251
7252 * simple.el (count-words-region): Always count in the region.
7253 Report the number of lines and characters too.
7254 (count-words): New command, which counts in the buffer if the
7255 region is inactive, as count-words-region used to.
7256 (count-words--message): New function. Handle plurals.
7257 (count-lines-region): Make it an alias for count-words-region.
7258
7259 * bindings.el (esc-map): Replace count-lines-region with
7260 count-words-region.
7261
c557cd6b
MR
72622011-10-08 Martin Rudalics <rudalics@gmx.at>
7263
7264 * window.el (window--delete): Delete dedicated frame
7265 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7266 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7267
61a57ef4 72682011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7269
3a7d293b 7270 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7271
c3833279
CY
72722011-10-07 Chong Yidong <cyd@stupidchicken.com>
7273
7274 * bindings.el ([M-left],[M-right]): Bind to left-word and
7275 right-word respectively.
7276
21ce8245
GM
72772011-10-07 Glenn Morris <rgm@gnu.org>
7278
7279 * cus-start.el (debug-on-quit): Fix custom type.
7280
6d823bb2
LMI
72812011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7282
0181e193
LMI
7283 * subr.el (define-key-after): Clarify that the function is not
7284 useful for non-menu keymaps.
7285
6d823bb2
LMI
7286 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7287
8e3459ce 72882011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7289
21ce8245 7290 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7291 in current minibuffer (Fix bug with recursive minibuffers).
7292
a1c2d21e
CY
72932011-10-06 Chong Yidong <cyd@stupidchicken.com>
7294
7295 * progmodes/gdb-mi.el (gdb): Doc fix.
7296
5a4cf282
MR
72972011-10-05 Martin Rudalics <rudalics@gmx.at>
7298
7299 * window.el (frame-auto-hide-function): New option replacing
7300 frame-auto-delete. Suggested by Stefan Monnier.
7301 (window--delete): Call frame-auto-hide-function instead of
7302 investigating frame-auto-delete.
c96111ea
MR
7303 (window-point-1, set-window-point-1): New functions.
7304 (window-in-direction, record-window-buffer, window-state-get-1)
7305 (display-buffer-record-window): Use window-point-1 instead of
7306 window-point.
7307 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7308
9854542e
SM
73092011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7310
7311 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7312
8943cfb0
GM
73132011-10-05 Glenn Morris <rgm@gnu.org>
7314
7315 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7316 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7317
647ab967
LL
73182011-10-05 Leo Liu <sdl.web@gmail.com>
7319
7320 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7321 works with buffer object.
7322
3ddfbced
SM
73232011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * mpc.el (mpc-tool-bar-map): Add labels.
7326
bdfa5dd2
GM
73272011-10-04 Glenn Morris <rgm@gnu.org>
7328
7329 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7330
0e2070b5
MR
73312011-10-04 Martin Rudalics <rudalics@gmx.at>
7332
7333 * window.el (window--delete): New function.
7334 (frame-auto-delete): Resuscitate option.
7335 (bury-buffer, replace-buffer-in-windows)
7336 (quit-window): Rewrite using window--delete.
7337 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7338 Pass display-buffer-mark-dedicated to window--display-buffer-2
7339 (Bug#9639).
7340
3dc61a09
SM
73412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7342
915a9b64
SM
7343 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7344 returns a list (bug#9554). Add remote file name completion.
7345 * comint.el (comint--table-subvert): Curry and get quote&unquote
7346 functions as arguments.
7347 (comint--complete-file-name-data): Adjust call accordingly.
7348 * pcomplete.el (pcomplete--table-subvert): Remove.
7349 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7350
3dc61a09
SM
7351 * minibuffer.el (completion-table-case-fold): Use currying.
7352 (completion--styles-type, completion--cycling-threshold-type):
7353 New constants.
7354 (completion-styles, completion-category-overrides)
7355 (completion-cycle-threshold): Use them.
7356 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7357 completion-table-case-fold.
7358
8ea0a993
SB
73592011-10-03 Stephen Berman <stephen.berman@gmx.net>
7360
7361 * minibuffer.el (completion-category-overrides): Fix type of styles
7362 and add more user friendly tags (bug#9660).
7363
8c24b7f6
SM
73642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7367 (mule-input-method-string): New widget.
7368 (default-input-method, language-info-custom-alist): Use it.
7369
428fe61a
SM
73702011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7371
32c1fffd
SM
7372 * pcomplete.el: Require comint.
7373 (pcomplete--common-suffix): Remove.
7374 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7375 (pcomplete--table-subvert): Sync with comint--table-subvert.
7376 (pcomplete--entries): Use comint-completion-file-name-table.
7377 * comint.el (comint-unquote-filename): Simplify.
7378 (comint-completion-file-name-table): New function (bug#9616).
7379 (comint--complete-file-name-data): Use it.
7380
428fe61a
SM
7381 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7382 (pcmpl-gnu-tar-buffer): Remove.
7383 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7384 around. Make sure pcomplete-suffix-list is only changed temporarily.
7385 Don't look inside the tar's file if it's too large.
428fe61a 7386
04c52e2f
CY
73872011-10-01 Chong Yidong <cyd@stupidchicken.com>
7388
ce3cefcc
CY
7389 * cus-edit.el (custom-mode-map):
7390 * epa.el (epa-key-list-mode-map):
7391 * man.el (Man-mode-map):
7392 * startup.el (splash-screen-keymap):
7393 * simple.el (special-mode-map): Use scroll-up-command and
7394 scroll-down-command.
7395
7396 * progmodes/idlw-help.el (idlwave-help-mode-map):
7397 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7398 * net/newst-plainview.el (newsticker-mode-map):
7399 * emulation/ws-mode.el (wordstar-mode-map):
7400 * emulation/vi.el (vi-com-map):
7401 * calc/calc-graph.el (calc-graph-show-dumb):
7402 * term/sun.el (terminal-init-sun):
7403 * term/ns-win.el (global-map):
7404 * progmodes/grep.el (grep-mode-map):
7405 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7406 * mail/rmail.el (rmail-mode-map):
7407 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7408
04c52e2f
CY
7409 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7410 custom-safe-themes as special.
7411
79adf8c8
JD
74122011-10-01 Julien Danjou <julien@danjou.info>
7413
7414 * notifications.el (notifications-notify): Fix docstring.
7415
63bd50d3
PS
74162011-10-01 Per Starbäck <per@starback.se>
7417
7418 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7419
199e4c7e
MR
74202011-09-30 Martin Rudalics <rudalics@gmx.at>
7421
7422 * startup.el (command-line-1): Fix last fix by inserting
7423 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7424 (Bug#9605) and (Bug#9636)
199e4c7e 7425
fe5f08dd
EZ
74262011-09-29 Eli Zaretskii <eliz@gnu.org>
7427
7428 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7429 window is hscrolled, move by logical lines. (Bug#9607)
7430 (line-move-visual): Update the doc string to the above effect.
7431
b5516bbd
MR
74322011-09-29 Martin Rudalics <rudalics@gmx.at>
7433
ccee00c0
MR
7434 * window.el (display-buffer-record-window): When WINDOW is the
7435 selected window use `point' instead of `window-point'. (Bug#9626)
7436
b5516bbd
MR
7437 * startup.el (command-line-1): Use insert-before-markers when
7438 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7439
b5516bbd
MR
7440 * help.el (help-window): Remove variable.
7441
52aa0014
GM
74422011-09-29 Glenn Morris <rgm@gnu.org>
7443
7444 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7445
df9a7357
JB
74462011-09-29 Juanma Barranquero <lekktu@gmail.com>
7447
7448 * descr-text.el (describe-char-categories): Accept category
7449 descriptions more than one line long.
7450
a8406c20
SM
74512011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7452
88d9610c
SM
7453 * simple.el (delete-trailing-whitespace): Fix last change.
7454
a5daf810
SM
7455 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7456 Don't confuse "y => 3" as the beginning of a `y' operation.
7457
a8406c20
SM
7458 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7459 object has more than 4 slots (bug#9613).
7460
a239d4e9
JB
74612011-09-28 Juanma Barranquero <lekktu@gmail.com>
7462
7463 * subr.el (with-output-to-temp-buffer):
7464 * net/quickurl.el (quickurl, quickurl-browse-url):
7465 Fix typos in docstrings.
7466
693fbdb6
EZ
74672011-09-27 Eli Zaretskii <eliz@gnu.org>
7468
7469 * minibuffer.el (completion-styles)
7470 (completion-category-overrides): Cross reference each other in doc
7471 strings.
7472
8b457e28
GM
74732011-09-27 Glenn Morris <rgm@gnu.org>
7474
7475 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7476 to split-string. (Bug#9606)
7477
85a16208
LMI
74782011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7479
7480 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7481 (bug#9615).
7482
502f9ebd
CY
74832011-09-27 Chong Yidong <cyd@stupidchicken.com>
7484
7485 * emacs-lisp/package.el (list-packages): Fix echo area message.
7486
7690bdea
LL
74872011-09-27 Leo Liu <sdl.web@gmail.com>
7488
7489 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7490
e2ee6f30
MA
74912011-09-25 Michael Albinus <michael.albinus@gmx.de>
7492
7493 * net/dbus.el (dbus-unregister-object): Don't release services for
7494 registered signals. (Bug#9581)
7495
f3f98342
TZ
74962011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7497
7498 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7499 function that picks between cfengine 2 and 3 support
7500 automatically. Update docs accordingly.
7501
dd7aa8dd
KH
75022011-09-22 Kenichi Handa <handa@m17n.org>
7503
7504 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7505 ZERO.
7506 (indian-itrans-v5-table-for-tamil): New variable.
7507 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7508
3f2b07f8
KM
75092011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7510
7511 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7512 that's true if the current command involved collapsing of text.
7513 It's reset to false at the beginning of the next command.
7514 (allout-post-command-business): Move the cursor to the beginning
7515 of entry if the cursor is hidden and collapsing activity just
7516 happened.
7517
371d6a61
CY
75182011-09-24 Chong Yidong <cyd@stupidchicken.com>
7519
7520 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7521 tracking (Bug#9541).
7522
2ac2721a
UJ
75232011-09-24 Ulf Jasper <ulf.jasper@web.de>
7524
7525 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7526 (newsticker-show-news): Automatically load html rendering package
7527 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7528 because w3m-fill-column is let-bound" and the error "Symbol's value
7529 as variable is void: w3m-fill-column".
2ac2721a 7530
fac7ae53
MA
75312011-09-24 Michael Albinus <michael.albinus@gmx.de>
7532
7533 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7534 Release services only if they are defined. (Bug#9581)
7535
e08b633b
RS
75362011-09-23 Richard Stallman <rms@gnu.org>
7537
e488d29c
RS
7538 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7539 distinguish start of paragraph from start of its text.
7540
19c38752
RS
7541 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7542
e08b633b
RS
7543 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7544 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7545 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7546
0a39f27e
AS
75472011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7548
7549 * international/mule-diag.el (mule-diag): Insert a newline after
7550 each fontset description.
7551
db4e950d
SM
75522011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * simple.el (delete-trailing-whitespace):
7555 Document last change; simplify.
7556
eca3f3ea
PW
75572011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7558
d68e189a
PW
7559 * simple.el (delete-trailing-whitespace): Also delete
7560 extra newlines at the end of the buffer.
7561
eca3f3ea
PW
7562 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7563 (picture-newline): Use forward-line so as to ignore fields.
7564
01c157cc
SM
75652011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7566
7567 * subr.el (with-wrapper-hook): Fix edebug spec.
7568
022de23e
LMI
75692011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7570
7571 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7572 (bug#4538).
7573
91683089
MA
75742011-09-23 Michael Albinus <michael.albinus@gmx.de>
7575
eca3f3ea
PW
7576 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7577 Fix nasty bug using wrong cached values.
91683089 7578
5bdd6fa4
AM
75792011-09-23 Alan Mackenzie <acm@muc.de>
7580
7581 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7582
97adfb97
CY
75832011-09-23 Chong Yidong <cyd@stupidchicken.com>
7584
7585 * window.el (pop-to-buffer): Ensure right window is selected if we
7586 chose another frame.
7587
d4ef2b50
EZ
75882011-09-22 Eli Zaretskii <eliz@gnu.org>
7589
7590 * simple.el (what-cursor-position): Use get-char-property-change
7591 and next-single-char-property-change, to be able to show display
7592 properties that come from overlays as well as text properties.
7593
72258fe5
CY
75942011-09-22 Chong Yidong <cyd@stupidchicken.com>
7595
7596 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7597
7598 * cmuscheme.el (run-scheme, switch-to-scheme):
7599 * cus-edit.el (customize-group, custom-buffer-create)
7600 (customize-browse):
7601 * info.el (info):
7602 * shell.el (shell):
7603 * mail/sendmail.el (mail):
7604 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7605
8f098516
RS
76062011-09-22 Richard Stallman <rms@gnu.org>
7607
7608 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7609 move back only to line beg, don't move back over blank lines.
7610
e74f1bb6
MA
76112011-09-22 Michael Albinus <michael.albinus@gmx.de>
7612
7613 * files.el (copy-directory): Set directory attributes only in case
7614 they could be retrieved from the source directory. (Bug#9565)
7615
bfeef8b6
DK
76162011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7617
7618 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7619 (hs-find-block-beginning, hs-hide-level-recursive):
7620 Ignore strings as well as comments. (Bug#9502)
7621
7e423bb8
AS
76222011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7623
7624 * progmodes/sql.el (sql-comint-postgres):
7625 Convert port number to a string. (Bug#9566)
7626
b4d72fcf
MR
76272011-09-22 Martin Rudalics <rudalics@gmx.at>
7628
7629 * window.el (quit-window): Undedicate window when switching to
7630 previous buffer. Reported by Thierry Volpiatto
7631 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7632 (special-display-popup-frame): When popping up a new frame reset
7633 its previous buffers to nil. Simplify code.
b4d72fcf 7634
a7b88dc6
MA
76352011-09-21 Michael Albinus <michael.albinus@gmx.de>
7636
7637 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7638 and process filter, as done also in `shell-command'.
7639
cf4eacfd
MR
76402011-09-21 Martin Rudalics <rudalics@gmx.at>
7641
eca3f3ea 7642 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7643 Call set-window-start with NOFORCE argument t.
7644 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7645 (quit-window): Reword doc-string. Handle new format of
7646 quit-restore parameter. Don't delete window if it has a
7647 previous buffer we can show instead of the present one.
7648 (display-buffer-record-window): Rewrite using a new format for
7649 the quit-restore window parameter
7650 (special-display-popup-frame, display-buffer-same-window)
7651 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7652 (display-buffer-pop-up-window, display-buffer-use-some-window):
7653 Adapt symbol passed to display-buffer-record-window.
7654 * help.el (help-window-setup): Handle new format of quit-restore
7655 parameter.
7656
8d28cb95
SM
76572011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7658
94ab793f
SM
7659 * faces.el (face-list): Fix docstring (bug#9564).
7660
8d28cb95
SM
7661 * window.el (display-buffer--action-function-custom-type):
7662 Don't include internal functions in the Custom interface.
7663
3820edeb
JL
76642011-09-20 Juri Linkov <juri@jurta.org>
7665
7666 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7667 (Info-forward-node, Info-backward-node, Info-next-preorder)
7668 (Info-last-preorder): Use it. (Bug#9528)
7669
5147931d
JL
76702011-09-20 Juri Linkov <juri@jurta.org>
7671
7672 * info.el (Info-last-preorder): Visit last menu item only when
7673 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7674
cf499a1a
JD
76752011-09-20 Julien Danjou <julien@danjou.info>
7676
7677 * password-cache.el (password-cache-remove): Remove entries even if the
7678 value is nil, so that password with a nil value (negative caching) is
7679 possible to invalidate.
7680
f84e2fe2
LM
76812011-09-20 Lawrence Mitchell <wence@gmx.li>
7682
7683 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7684 all whitespace around breakpoint. (Bug#9553)
7685 (f90-find-breakpoint): Only break at whitespace inside a comment.
7686
78054a46
SM
76872011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7688
7689 * minibuffer.el (completion-file-name-table): Keep track of errors.
7690 (completion-table-with-predicate): Handle the case where pred1 is nil.
7691 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7692
345083b2
SM
76932011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7694
e24e27be
SM
7695 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7696 (debugger-return-value): Signal an error if the debugging context does
7697 not await any return value.
7698
345083b2
SM
7699 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7700 * image-mode.el (image-toggle-display-text)
7701 (image-toggle-display-image): Stay away from evil `intangible'.
7702
08d355e3
LL
77032011-09-19 Leo Liu <sdl.web@gmail.com>
7704
7705 * replace.el (occur-revert-arguments): Make it permanent-local.
7706 (occur-mode): Don't call font-lock-defontify.
7707
f01da43f
CY
77082011-09-19 Chong Yidong <cyd@stupidchicken.com>
7709
7710 * net/ldap.el (ldap-search-internal): Don't push empty search
7711 result (Bug#9508).
7712
b6072fa6
SM
77132011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7716
443d6696
MA
77172011-09-19 Michael Albinus <michael.albinus@gmx.de>
7718
7719 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7720 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7721
7cc6e154
JL
77222011-09-18 Juri Linkov <juri@jurta.org>
7723
7724 * buff-menu.el (Buffer-menu-mode-map):
7725 * dired.el (dired-mode-map):
7726 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7727 (lisp-interaction-mode-map):
7728 * emacs-lisp/package.el (package-menu-mode-map):
7729 * epa.el (epa-key-list-mode-map):
7730 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7731 (menu-bar-options-menu):
7732 * outline.el (outline-mode-menu-bar-map):
7733 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7734 * vc/vc-dir.el (vc-dir-menu-map):
7735 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7736 Capitalize non-function content words in menu item strings.
7737
7738 * dired.el (dired-mode-map): Add menu item for
7739 `image-dired-dired-toggle-marked-thumbs'.
7740
80302a81
JL
77412011-09-18 Juri Linkov <juri@jurta.org>
7742
7743 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7744 to `isearch-case-fold-search' and restore its original value
7745 after the `isearch-mode' call.
7746
46c5cf66
JL
77472011-09-18 Juri Linkov <juri@jurta.org>
7748
7749 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7750 because `zgrep' returns 1 for successful matches (bug#9226).
7751
d18b513b
JL
77522011-09-18 Juri Linkov <juri@jurta.org>
7753
7754 * info.el (Info-extract-menu-node-name): Check the second match
7755 for empty string (second test-case of bug#9528).
7756 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7757 intermediate nodes to the history (first test-case of bug#9528).
7758
72753f87
JL
77592011-09-18 Juri Linkov <juri@jurta.org>
7760
7761 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7762 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7763
c9384295
JL
77642011-09-18 Juri Linkov <juri@jurta.org>
7765
1154d12e
JB
7766 * info.el (Info-file-supports-index-cookies):
7767 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7768 outputs one more line for long file names (bug#4142).
c9384295 7769
d473dce8
CY
77702011-09-18 Chong Yidong <cyd@stupidchicken.com>
7771
7772 * newcomment.el (comment-normalize-vars): If prompting for
7773 comment-start, set comment-start-skip too (Bug#8424).
7774
2176854d
JB
77752011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7776
7777 * icomplete.el: Fix previous fix of Bug#5849.
7778 (icomplete-mode): Don't set completion-show-inline-help.
7779 (icomplete-minibuffer-setup): Set completion-show-inline-help
7780 locally during icompletion.
7781
3aace4e4
CY
77822011-09-18 Chong Yidong <cyd@stupidchicken.com>
7783
c940224f
CY
7784 * woman.el (woman2-process-escapes): Don't delete unrecognized
7785 escapes (Bug#7843).
7786
3aace4e4
CY
7787 * files.el (inhibit-first-line-modes-regexps): Add image files.
7788 (hack-local-variables-prop-line): Return nil for malformed
7789 prop-lines (Bug#9044).
7790
710dec63
MA
77912011-09-18 Michael Albinus <michael.albinus@gmx.de>
7792
7793 * net/tramp.el (top): Don't require 'shell.
7794 (tramp-methods): Fix docstring.
7795 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7796 Return complete remote file name. Handle "smb" case.
7797 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7798 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7799
7800 * net/tramp-compat.el (top): Require 'shell.
7801
7802 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7803 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7804 `tramp-current-host'.
7805 (tramp-get-remote-tmpdir): Remove.
7806
7807 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7808 `tramp-tmpdir' entries.
7809 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7810 (tramp-smb-handle-file-attributes): Ignore errors.
7811 (tramp-smb-wait-for-output): Check also for process end.
7812
5d5ac8ec
LMI
78132011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7814
7815 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7816 when sending QUIT (bug#9312).
7817
8c0f49f0
CY
78182011-09-17 Chong Yidong <cyd@stupidchicken.com>
7819
7820 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7821 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7822 occur-mode-display-occurrence.
7823 (occur-edit-mode): Add usage message.
7824 (occur-cease-edit): New command.
7825 (occur-after-change-function): Use text properties to find the
7826 position of the prefix text.
7827 (occur-engine): Set stickiness of prefix text properties.
7828
8f1383f7
GM
78292011-09-17 Glenn Morris <rgm@gnu.org>
7830
7831 * progmodes/etags.el (complete-tag):
7832 Fix call to completion-in-region. (Bug#9526)
7833
744ba0e3
JL
78342011-09-17 Juri Linkov <juri@jurta.org>
7835
7836 * textmodes/ispell.el (ispell-word): Add to the error message
7837 the word, ispell program name and current dictionary (bug#9121).
7838 (ispell-tex-arg-end): Capitalize "error" in the error message.
7839
d9bbf400
AS
78402011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7841
7842 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7843 check. (Bug#4251)
7844
8da11505
JL
78452011-09-17 Juri Linkov <juri@jurta.org>
7846
7847 * window.el (window-safe-min-height, window-safe-min-width):
7848 Fix typos (followup to bug#9522).
7849
a91adc7e
SJ
78502011-09-17 Sven Joachim <svenjoac@gmx.de>
7851
7852 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7853
064f328a
EZ
78542011-09-16 Eli Zaretskii <eliz@gnu.org>
7855
7856 * simple.el (line-move): If goal-column is set, move by logical
7857 lines, not by display lines. (Bug#971)
7858 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7859 to reflect the above change.
7860
e69df516
SM
78612011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * image.el (imagemagick-register-types): Use regexp-opt.
7864
cbb0f9ab
CY
78652011-09-15 Chong Yidong <cyd@stupidchicken.com>
7866
7867 * window.el (display-buffer-base-action): Rename from
7868 display-buffer-default-action. Make default value empty.
7869 (display-buffer-overriding-action): Convert to defvar.
7870 (display-buffer-fallback-action): New var.
7871
25322144
CY
78722011-09-15 Chong Yidong <cyd@stupidchicken.com>
7873
7874 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7875 declaration.
7876 (package--add-to-archive-contents): If there is a duplicate entry
7877 with an older version, remove it.
7878 (package-menu-mark-delete, package-menu-mark-install)
7879 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7880 (package-menu-mark-obsolete-for-deletion):
7881 Use package-menu-get-status instead of a regexp search.
25322144
CY
7882 (package-menu-get-status): Use tabulated-list-entry.
7883 (package-menu-mark-upgrades): New command.
d770725a 7884 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7885 (package-menu-execute): Do installation before deletion.
7886 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7887 instead of checking major-mode.
7888 (package-menu--find-upgrades): New function.
7889
7520339c
LMI
78902011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7891
7892 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7893 passwords in the log buffer.
65a046c4
LMI
7894 (smtpmail-process-filter): Update the process marker so that the
7895 "broken by peer" status message is inserted in the right place.
7520339c 7896
d3c30954
SM
78972011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7898
3fe48822
SM
7899 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7900 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7901 bibtex-completion-at-point-function.
7902 (bibtex-completion-at-point-function): Use them.
7903
1b8b3954
SM
7904 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7905
d3c30954
SM
7906 * mpc.el (mpc-constraints-tag-lookup): New function.
7907 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7908 also to browser "album|playlist".
7909
72779976
JL
79102011-09-14 Juri Linkov <juri@jurta.org>
7911
7912 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7913 (isearch-edit-string): Use length of `isearch-string' when
7914 `isearch-fail-pos' returns nil.
7915 (isearch-message): Remove duplicate code and call
7916 `isearch-fail-pos' with arg `t'.
7917
a0bf2bcd
CY
79182011-09-14 Chong Yidong <cyd@stupidchicken.com>
7919
17bb0a2d
CY
7920 * replace.el (occur-mode-goto-occurrence): Don't force using other
7921 window (Bug#9499).
7922
a0bf2bcd
CY
7923 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7924
f678e0b6
MR
79252011-09-14 Martin Rudalics <rudalics@gmx.at>
7926
7927 * window.el (display-buffer-window): Remove.
7928 (display-buffer-record-window): Use help-setup window parameter
7929 instead of variable display-buffer-window.
7930 (display-buffer-function, special-display-buffer-names)
7931 (special-display-function): Mention help-setup parameter instead
7932 of display-buffer-window in doc-string.
d3c30954
SM
7933 * help.el (help-window-setup): New argument help-window.
7934 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7935 Reword some messages.
7936 (with-help-window): Pass window used for displaying the buffer
7937 to help-window-setup. Don't set display-buffer-window.
7938
8e39b2e8
GM
79392011-09-13 Glenn Morris <rgm@gnu.org>
7940
7941 * emacs-lisp/debug.el (debugger-make-xrefs):
7942 Preserve point. (Bug#9462)
7943
85e9c04b
CY
79442011-09-13 Chong Yidong <cyd@stupidchicken.com>
7945
7946 * window.el (window-deletable-p): Use next-frame.
7947
1b36ed6a
MR
79482011-09-13 Martin Rudalics <rudalics@gmx.at>
7949
7950 * window.el (window-auto-delete): Remove.
7951 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7952 dedication and previous buffers.
1b36ed6a
MR
7953 (switch-to-prev-buffer): Don't delete window.
7954 (delete-windows-on): Delete a window's frame if and only if the
7955 window is dedicated.
7956 (replace-buffer-in-windows): Delete buffer's window or frame if
7957 and only if window is dedicated.
7958 (quit-window): Handle quit-restore as before last change.
4d61f28d 7959 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7960
ef8ef9fb
CY
79612011-09-13 Chong Yidong <cyd@stupidchicken.com>
7962
7963 * window.el (window-deletable-p): Never delete the last frame on a
7964 given terminal.
7965
b2cba41e
GM
79662011-09-13 Glenn Morris <rgm@gnu.org>
7967
7968 * help.el (describe-key-briefly): Copy previous standard-output change.
7969
51553db6 79702011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7971
7972 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7973
b7556719
GM
79742011-09-13 Glenn Morris <rgm@gnu.org>
7975
7976 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7977 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7978
64b51947
CY
79792011-09-12 Chong Yidong <cyd@stupidchicken.com>
7980
7981 * dired-aux.el (dired-mark-read-string): Don't return default
7982 value on empty input (Bug#9361).
7983 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7984 Omit initial minibuffer contents.
7985 (dired-do-chmod): Signal an error on empty input.
7986 (dired-mark-read-string): Don't return default on empty input.
7987
7988 * files.el (file-modes-symbolic-to-number): Doc fix.
7989
393a301e
SM
79902011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7991
7992 * international/mule-cmds.el (ucs-completions): Remove.
7993 (read-char-by-name): Use complete-with-action instead; add metadata.
7994
fa5660f9
CY
79952011-09-11 Chong Yidong <cyd@stupidchicken.com>
7996
7997 * window.el (display-buffer--action-function-custom-type)
7998 (display-buffer--action-custom-type): New vars.
7999 (display-buffer-alist, display-buffer-default-action)
8000 (display-buffer-overriding-action): Add defcustom types.
8001
4a592f66
CY
8002 * frame.el (delete-other-frames): Doc fix (Bug#276).
8003
73d56dbd
LMI
80042011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8005
8006 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8007
37ac18a3
CY
80082011-09-11 Chong Yidong <cyd@stupidchicken.com>
8009
8010 Change modes that used same-window-* vars to use switch-to-buffer.
8011
8012 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8013 Use switch-to-buffer.
8014
8015 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8016 (customize-browse, custom-buffer-create-other-window):
8017 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8018
8019 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8020 (Info-prev, Info-up, Info-speedbar-goto-node)
8021 (info-display-manual): Use switch-to-buffer.
8022 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8023
8024 * mail/sendmail.el (mail): Use switch-to-buffer.
8025 (mail-recover): Use switch-to-buffer-other-window.
8026
8027 * cmuscheme.el (run-scheme, switch-to-scheme):
8028 * ielm.el (ielm):
8029 * shell.el (shell):
8030 * net/rlogin.el (rlogin):
8031 * net/telnet.el (telnet, rsh):
8032 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8033
10195bd6
AS
80342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8035
8036 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8037
b322f63a
LMI
80382011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8039
39d7fed6
LMI
8040 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8041 so don't mention it (bug#9301).
ba5a81f1 8042 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8043
ee0e9f11
LMI
8044 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8045 match `x', `w32' and `ns', like the manual says (bug#9029).
8046
0b1c89c1 8047 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8048 (process-kill-buffer-query-function): Mention the buffer name in
8049 the query.
0b1c89c1 8050
77549ea8
LMI
8051 * image-mode.el (image-next-line): The line parameter is mandatory
8052 (bug#9258).
8053
803ef892
LMI
8054 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8055 which can be useful (bug#9301).
8056
12980837
LMI
8057 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8058
91054f8f
LMI
8059 * subr.el (match-string): Mention that the current buffer should
8060 be the same as the search was done in (bug#9282).
8061
b322f63a
LMI
8062 * facemenu.el: Disable the remove-* commands if the mark isn't
8063 active (bug#9162).
8064
3199b96f
CY
80652011-09-10 Chong Yidong <cyd@stupidchicken.com>
8066
8067 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8068 of display-buffer.
8069 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8070
8071 * replace.el (occur-mode-goto-occurrence)
8072 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8073 and display-buffer.
8074
8075 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8076 display-buffer.
8077
8078 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8079 special-display and same-window variables.
8080 (mail-other-window): Use switch-to-buffer-other-window.
8081 (mail-other-frame): USe switch-to-buffer-other-frame.
8082
393a301e
SM
8083 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8084 Use display-buffer-other-frame.
3199b96f
CY
8085 (gdb-display-gdb-buffer): Use pop-to-buffer.
8086
8087 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8088
8089 * progmodes/python.el: Don't set same-window-buffer-names.
8090
8091 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8092
8093 * window.el (display-buffer-alist): Add *Python*.
8094
8319e0bf
CY
80952011-09-10 Chong Yidong <cyd@stupidchicken.com>
8096
8097 * window.el (display-buffer-alist): Add entry for buffers
8098 previously handled same-window-*.
8099 (display-buffer-alist, display-buffer-default-action)
8100 (display-buffer-overriding-action): Mark as risky.
8101 (display-buffer-alist): Document action function changes.
8102 (display-buffer--same-window-action)
8103 (display-buffer--other-frame-action): New variables.
8104 (switch-to-buffer, display-buffer-other-frame): Use them.
8105 (display-buffer): Rename reuse-frame entry to reusable-frames.
8106 (display-buffer-reuse-selected-window): Function deleted.
8107 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8108 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8109 (display-buffer-special): New function.
8110 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8111 display-buffer-reuse-or-pop-window. Split off special-display
8112 part into display-buffer-special.
8113 (display-buffer-use-some-window): Don't perform any special
8114 pop-up-frames handling.
8115 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8116 (display-buffer--maybe-same-window): Rename from
0d3ff375 8117 display-buffer-maybe-same-window.
8319e0bf 8118
919a69aa
CY
8119 * info.el: Don't set same-window-regexps.
8120 (info-setup): New function.
8121 (info-other-window, info): Call it.
8122
8123 * cus-edit.el: Don't set same-window-regexps.
8124 (customize-group): New argument.
8125 (customize-group-other-window): Use it.
8126 (customize-face, customize-face-other-window): Likewise.
8127 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8128
8319e0bf
CY
8129 * net/rlogin.el:
8130 * net/telnet.el:
8131 * progmodes/gud.el: Don't set same-window-regexps.
8132
8133 * cmuscheme.el:
8134 * ielm.el:
8135 * shell.el:
8136 * mail/sendmail.el:
8137 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8138
25173000
JL
81392011-09-10 Juri Linkov <juri@jurta.org>
8140
8141 * isearch.el (isearch-edit-string): Remove obsolete mention of
8142 `C-w' (`isearch-yank-word-or-char') from docstring.
8143 (isearch-query-replace): Fix typo in docstring (bug#9466).
8144
056e44ef
JL
81452011-09-10 Juri Linkov <juri@jurta.org>
8146
8147 * paren.el (show-paren-function): Don't show escaped parens.
8148 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8149
c3760c17
EZ
81502011-09-10 Eli Zaretskii <eliz@gnu.org>
8151
8152 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8153 (mm-default-file-encoding): Remove autoload forms, they are
8154 replaced with autoload cookies in mml.el and mm-encode.el.
8155 (mail-add-attachment): New command.
8156 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8157 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8158 the doc string.
8159 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8160
fece895e
RT
81612011-09-10 Reuben Thomas <rrt@sc3d.org>
8162
e69df516
SM
8163 * simple.el (count-words-region): Use buffer if there's no region
8164 (bug#9429).
fece895e 8165
5e68ce4a
JL
81662011-09-09 Juri Linkov <juri@jurta.org>
8167
8168 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8169 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8170 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8171
0a6b9622
AM
81722011-09-09 Alan Mackenzie <acm@muc.de>
8173
8174 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8175 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8176
14a29deb
EZ
81772011-09-09 Eli Zaretskii <eliz@gnu.org>
8178
8179 Fix for Savannah bug#9392.
8180 * simple.el (mail-encode-mml): New defvar.
8181
8182 * mail/rmail.el (mail-encode-mml): Add a defvar.
8183 (rmail-enable-mime-composing): Default to t.
8184 (rmail-forward): Use MIME method of forwarding only if both
8185 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8186 Set mail-encode-mml non-nil if the MIME method was used.
8187
8188 * mail/sendmail.el (mml-to-mime): Add autoload form.
8189 (mail-encode-mml): Add a defvar.
8190 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8191 to nil.
8192 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8193 message through mml-to-mime, and reset mail-encode-mml to nil.
8194
28c45130
GM
81952011-09-09 Glenn Morris <rgm@gnu.org>
8196
8197 * woman.el (woman-if-body): When processing an .el block,
8198 do not delete the next .el block as well. (Bug#9447)
69f4b618 8199 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8200
9b1c252e
MR
82012011-09-08 Martin Rudalics <rudalics@gmx.at>
8202
8203 * window.el (window-deletable-p): Make sure window is live before
8204 invoking window-prev-buffers.
8205
567457e3
LL
82062011-09-08 Leo Liu <sdl.web@gmail.com>
8207
8208 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8209
97f05794
JL
82102011-09-08 Juri Linkov <juri@jurta.org>
8211
8212 * progmodes/compile.el (compilation-environment): Make it
8213 a defcustom (bug#8340).
8214
8b0874b5
MR
82152011-09-08 Martin Rudalics <rudalics@gmx.at>
8216
8217 * window.el (frame-auto-delete): Rename to window-auto-delete.
8218 Make it control auto-deletion of windows and/or frames.
8219 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8220 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8221 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8222 Rewrite handling of case when window/frame can be deleted.
8223 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8224 argument t. (Bug#9456)
8b0874b5 8225
4feb6e73
CY
82262011-09-07 Chong Yidong <cyd@stupidchicken.com>
8227
8228 * help-mode.el (help-mode): Restore autoload.
8229
91ab9c13
JL
82302011-09-07 Juri Linkov <juri@jurta.org>
8231
8232 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8233 `compilation-environment'. Set buffer-local
8234 `compilation-environment' to `thisenv' later after (funcall mode).
8235 (Bug#8340)
8236
8237 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8238 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8239 instead of replacing its value. (Bug#8340)
8240
0527e251
JL
82412011-09-07 Juri Linkov <juri@jurta.org>
8242
8243 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8244 based on text properties put by `grep-filter' instead of matching
8245 escape sequences.
8246 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8247 to the value of `grep-error-screen-columns' (bug#9438).
8248
249f792c
JL
82492011-09-07 Juri Linkov <juri@jurta.org>
8250
8251 * simple.el (next-error-highlight, next-error-highlight-no-select):
8252 Doc fix (bug#9432).
8253
ff7271b9
OT
82542011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8255
8256 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8257 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8258
183fc730
LL
82592011-09-07 Leo Liu <sdl.web@gmail.com>
8260
8261 * net/rcirc.el (rcirc-mode): Conditionally initialize
8262 rcirc-input-ring.
8263
77694924
SM
82642011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * emacs-lisp/find-func.el (find-function-C-source): Only set
8267 find-function-C-source-directory after checking that we found a source
8268 file there (bug#9440).
8269
d809b8eb
AM
82702011-09-06 Alan Mackenzie <acm@muc.de>
8271
8272 * isearch.el (isearch-other-meta-char): Wherever a key list is
8273 unread, "unread" the prefix arg, too. This fixes bug #8901.
8274
453de99f
OG
82752011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8276
8277 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8278
90439906
JL
82792011-09-05 Juri Linkov <juri@jurta.org>
8280
8281 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8282
f62bd846
JL
82832011-09-05 Juri Linkov <juri@jurta.org>
8284
8285 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8286 keeping point where processing of grep matches begins, and
8287 continue to delete remaining escape sequences from the same point.
8288 (grep-filter): Make leading zero optional in "0?1;31m" because
8289 git-grep emits "\033[1;31m" escape sequences unlike expected
8290 "\033[01;31m" as GNU Grep does (bug#9408).
8291 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8292
045820ec
JL
82932011-09-05 Juri Linkov <juri@jurta.org>
8294
8295 * subr.el (y-or-n-p): Capitalize "yes".
8296
f5e29b9b
MA
82972011-09-04 Michael Albinus <michael.albinus@gmx.de>
8298
8299 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8300 `tramp-cache-unload-hook' where appropriate.
8301 (tramp-methods): Rename `tramp-remote-sh' to
8302 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8303 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8304
8305 * net/tramp-sh.el (top): Don't require 'shell.
8306 (tramp-methods): Add `tramp-remote-shell' and
8307 `tramp-remote-shell-args' entries.
8308 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8309 (tramp-sh-handle-shell-command): Remove.
8310 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8311 Use `tramp-remote-shell'.
8312
2784c434
CY
83132011-09-03 Chong Yidong <cyd@stupidchicken.com>
8314
393a301e 8315 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8316 (sendmail-query-once): Save directly to send-mail-function.
8317 Update message-send-mail-function too.
8318
8319 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8320
464cdf56
CS
83212011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8322
8323 * progmodes/python.el (python-mode-map): Use correct function to
8324 start python interpreter from menu-bar (as reported by Geert
8325 Kloosterman).
8326 (inferior-python-mode-map): Fix typo.
393a301e 8327 (python-shell-map): Remove.
464cdf56 8328
d37e5c87
DD
83292011-09-03 Deniz Dogan <deniz@dogan.se>
8330
8331 * net/rcirc.el (rcirc-print): Simplify code for
8332 rcirc-scroll-show-maximum-output. There is no need to walk
8333 through all windows to find the right one.
8334
f3ada0ee
CS
83352011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8336
8337 * help.el (help-return-method): Doc fix.
8338
1f3c99ca
MR
83392011-09-03 Martin Rudalics <rudalics@gmx.at>
8340
8341 * window.el (window-deletable-p): Don't return a non-nil value
8342 when there's a buffer that was shown in the window before.
8343 (Bug#9419)
393a301e
SM
8344 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8345 Set window's previous buffers to nil.
1f3c99ca 8346
a3cf097f
EZ
83472011-09-03 Eli Zaretskii <eliz@gnu.org>
8348
8349 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8350 newline before and after the tag line, so it doesn't interfere
8351 with determining the paragraph direction of bidirectional text.
8352
3d03de90
LL
83532011-09-03 Leo Liu <sdl.web@gmail.com>
8354
8355 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8356
c3313451
CY
83572011-09-02 Chong Yidong <cyd@stupidchicken.com>
8358
393a301e 8359 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8360 (pop-to-buffer): Change interactive spec. Pass second argument
8361 directly to display-buffer.
8362 (display-buffer): Fix interactive spec. Use functionp to
8363 distinguish between a function and a list of functions.
8364
8365 * abbrev.el (edit-abbrevs):
8366 * arc-mode.el (archive-extract):
8367 * autoinsert.el (auto-insert):
8368 * bookmark.el (bookmark-bmenu-list):
8369 * files.el (find-file):
8370 * view.el (view-buffer):
8371 * progmodes/compile.el (compilation-goto-locus):
8372 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8373
89894cd8
CY
83742011-09-02 Chong Yidong <cyd@stupidchicken.com>
8375
8376 * window.el (display-buffer-alist): Doc fix.
8377 (display-buffer): Add docstring. Don't treat
8378 display-buffer-default specially.
8379 (display-buffer-reuse-selected-window)
8380 (display-buffer-same-window, display-buffer-maybe-same-window)
8381 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8382 (display-buffer-pop-up-window)
8383 (display-buffer-reuse-or-pop-window)
8384 (display-buffer-use-some-window): New functions.
8385 (display-buffer-default-action): Use them.
393a301e 8386 (display-buffer-default): Delete.
89894cd8
CY
8387 (pop-to-buffer-1): Fix choice of actions.
8388
ae0bc9fb
SM
83892011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8390
8391 * minibuffer.el (completion--insert-strings): Don't get confused by
8392 completion entries that end with an LF char.
8393
e9d90883
EZ
83942011-09-01 Eli Zaretskii <eliz@gnu.org>
8395
8396 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8397
437014c8
CY
83982011-09-01 Chong Yidong <cyd@stupidchicken.com>
8399
8400 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8401 (display-buffer-same-window, display-buffer-other-window):
8402 New functions.
437014c8
CY
8403 (pop-to-buffer-1): New function. Use the above.
8404 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8405 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8406
8407 * view.el (view-buffer-other-window, view-buffer-other-frame):
8408 Just use pop-to-buffer.
8409
a5e063d5
TV
84102011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8411
8412 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8413
793d32bb
WH
84142011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8415
8416 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8417
d65e4c15
RS
84182011-08-31 Richard Stallman <rms@gnu.org>
8419
8420 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8421 of the separation of rmail-view-buffer from rmail-buffer.
8422 If you say no to "replace original", the decrypt is in the
8423 view buffer. If you say yes, the decrypt goes into the
8424 rmail buffer also.
8425
f818cd2a
MR
84262011-08-31 Martin Rudalics <rudalics@gmx.at>
8427
8428 * window.el (display-buffer-window): Rewrite doc-string.
8429 (display-buffer-record-window): New function.
8430 (display-buffer-macro-specifiers)
8431 (display-buffer-even-window-sizes, display-buffer-set-height)
8432 (display-buffer-set-width, display-buffer-in-window)
8433 (display-buffer-reuse-window, display-buffer-split-specifiers)
8434 (display-buffer-side-specifiers, display-buffer-split-window-1)
8435 (display-buffer-split-window, display-buffer-split-atom-window)
8436 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8437 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8438 (display-buffer-other-window-means-other-frame)
8439 (display-buffer-normalize-special)
8440 (display-buffer-normalize-default)
8441 (display-buffer-normalize-argument)
8442 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8443 (display-buffer-normalize-specifiers, display-buffer-frame)
8444 (display-buffer-same-window, display-buffer-same-frame)
8445 (display-buffer-other-window)
8446 (display-buffer-same-frame-other-window)
8447 (display-buffer-other-frame, pop-to-buffer-same-window)
8448 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8449 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8450 (switch-to-buffer-same-frame)
8451 (switch-to-buffer-other-window-same-frame)
8452 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8453 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8454 (display-buffer-alist-set): Remove.
8455 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8456 (special-display-regexps, special-display-function):
8457 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8458 parameter.
8459 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8460 (special-display-frame-alist, special-display-popup-frame)
8461 (same-window-buffer-names, same-window-regexps, same-window-p)
8462 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8463 (split-window-preferred-function, split-height-threshold)
8464 (split-width-threshold, window-splittable-p)
8465 (split-window-sensibly, window--try-to-split-window)
8466 (window--frame-usable-p, even-window-heights)
8467 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8468 (window--display-buffer-2, display-buffer-other-frame):
8469 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8470 (display-buffer-default, display-buffer-assq-regexp): New functions.
8471 (display-buffer-alist): Rewrite doc-string.
8472 (display-buffer-default-action)
8473 (display-buffer-overriding-action): New variables.
8474 (display-buffer, switch-to-buffer): Rewrite.
8475 (pop-to-buffer): Restore Emacs 23 behavior but use
8476 window-normalize-buffer-to-display.
8477 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8478 Restore Emacs 23 behavior but use
8479 window-normalize-buffer-to-switch-to.
8480 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8481 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8482 Rewrite using Emacs 23 options.
f818cd2a 8483
5bc3b51d
MA
84842011-08-31 Michael Albinus <michael.albinus@gmx.de>
8485
8486 * net/tramp.el (tramp-root-regexp): Remove.
8487 (tramp-completion-file-name-regexp-unified)
8488 (tramp-completion-file-name-regexp-separate)
8489 (tramp-completion-file-name-regexp-url): Don't use leading volume
8490 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8491 (tramp-drop-volume-letter): Simplify definition.
8492 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8493
b1a4f8e1
SM
84942011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8495
8496 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8497 (bug#9356).
8498
5664fa7b
RT
84992011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8500
b1a4f8e1 8501 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8502
9a45d6c3
JL
85032011-08-29 Juri Linkov <juri@jurta.org>
8504
8505 * isearch.el (isearch-done): Don't display message "Mark saved"
8506 when arg `edit' is non-nil to prevent its flicker in the echo area.
8507
fb87e0fb
CY
85082011-08-28 Chong Yidong <cyd@stupidchicken.com>
8509
8510 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8511 obsolete packages for deletion.
8512
09ac1c2a
CS
85132011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8514
8515 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8516 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8517 view-mode from help-mode.
8518 (help-xref-override-view-map): Remove.
8519 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8520 view-mode is not used anymore.
8521
7a1ff57f
CY
85222011-08-28 Chong Yidong <cyd@stupidchicken.com>
8523
8524 * server.el (server-port): Doc fix.
8525
b9696605
CY
8526 * cus-theme.el (custom-theme-choose-mode): Inherit from
8527 special-mode (Bug#9124).
8528 (custom-theme-choose-mode-map): Add special-mode to parent.
8529
ef8cdf8c
AM
85302011-08-28 Alan Mackenzie <acm@muc.de>
8531
8532 * progmodes/cc-fonts.el
8533 (c-make-font-lock-BO-decl-search-function): New function.
8534 (c-basic-matchers-after - "Fontify the clauses after various
8535 keywords"): Extract the three keyword lists for the 3 erroneous
8536 constructs from the list of four, and use the new function above
8537 in place of an old one.
8538
27de4e20
DD
85392011-08-28 Deniz Dogan <deniz@dogan.se>
8540
8541 * net/rcirc.el (rcirc-insert-prev-input)
8542 (rcirc-insert-next-input): Remove unused argument.
8543
356a3681
SM
85442011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8547
3fc9b218
AM
85482011-08-27 Alan Mackenzie <acm@muc.de>
8549
8550 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8551 handle function pointer parameters properly.
8552
538a061c
MR
85532011-08-27 Martin Rudalics <rudalics@gmx.at>
8554
8555 * window.el (display-buffer-reuse-window): Fix case where
8556 selected window was reused with non-nil OTHER-WINDOW argument.
8557 (Bug#9381)
8558
35b1c40c
DD
85592011-08-27 Deniz Dogan <deniz@dogan.se>
8560
8561 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8562 oftc's NickServ messages.
8563
2f6a3e79
GM
85642011-08-27 Glenn Morris <rgm@gnu.org>
8565
8566 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8567
7254299e
CY
85682011-08-26 Chong Yidong <cyd@stupidchicken.com>
8569
8570 * emacs-lisp/package.el (package-install): Call package-initialize
8571 if called interactively.
8572
f8ccf167
LL
85732011-08-26 Leo Liu <sdl.web@gmail.com>
8574
8575 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8576
3e8cd5ce
JL
85772011-08-25 Juri Linkov <juri@jurta.org>
8578
8579 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8580 `search-whitespace-regexp' (bug#9364).
8581
93eb7113
JL
85822011-08-25 Juri Linkov <juri@jurta.org>
8583
8584 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8585 `regexp-search-ring' to their global values to protect from
8586 updating by `read-from-minibuffer' (bug#9185).
8587
f65d1611
JL
85882011-08-25 Juri Linkov <juri@jurta.org>
8589
8590 * textmodes/ispell.el (ispell-command-loop): Add newline
8591 at the end of the "Use option `i'..." line.
8592
f1cf7a31
JL
85932011-08-25 Juri Linkov <juri@jurta.org>
8594
8595 * battery.el (display-battery-mode): If `battery-status-function'
8596 or `battery-mode-line-format' is nil, display the message and set
8597 `display-battery-mode' to nil (bug#9363).
8598
0c95fcf7
EZ
85992011-08-25 Eli Zaretskii <eliz@gnu.org>
8600
8601 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8602 bidi-string-mark-left-to-right; they are unnecessary now.
8603
a2ebe600
DD
86042011-08-25 Deniz Dogan <deniz@dogan.se>
8605
8606 * net/quickurl.el: Documentation typo fixes.
8607
e4ed06f1
CY
86082011-08-25 Chong Yidong <cyd@stupidchicken.com>
8609
8610 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8611
e5f1c99e
GM
86122011-08-25 Glenn Morris <rgm@gnu.org>
8613
b2948976
GM
8614 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8615
e5f1c99e
GM
8616 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8617 (smtpmail-via-smtp): Handle nil response from smtp.
8618
f22f4808
JL
86192011-08-24 Juri Linkov <juri@jurta.org>
8620
8621 * proced.el (proced-marked): Inherit from `error' instead of
8622 `font-lock-warning-face'.
8623
8624 * ibuffer.el (ibuffer-marked-face): Change default face from
8625 `font-lock-warning-face' to `warning'.
8626 (ibuffer-deletion-face): Change default face from
8627 `font-lock-type-face' to `error'.
8628
8629 * battery.el (battery-update): Use the face `error' instead of
8630 `font-lock-warning-face' (bug#6117).
8631
6a93965e
JL
86322011-08-24 Juri Linkov <juri@jurta.org>
8633
8634 * faces.el (success): Change face color from "Green3" to
8635 "ForestGreen" on light background (bug#9353).
8636
1ed43b09
CY
86372011-08-24 Chong Yidong <cyd@stupidchicken.com>
8638
5664fa7b
RT
8639 * window.el (quit-window): Rename from quit-restore-window.
8640 Use same arglist as old quit-window.
1ed43b09
CY
8641 (frame-auto-delete): Doc fix.
8642
8643 * view.el (view-mode-exit): Use quit-window.
8644
11dcdbb2
JL
86452011-08-24 Juri Linkov <juri@jurta.org>
8646
8647 * isearch.el (isearch-ring-adjust1): Start visiting previous
8648 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8649 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8650 for empty search string (when the last search string is reused
8651 automatically) to adjust the isearch ring to the last element and
8652 prepare the correct index for further M-p commands (bug#9185).
8653
de62b4df
KH
86542011-08-24 Kenichi Handa <handa@m17n.org>
8655
8656 * international/ucs-normalize.el: If decomposition property of
8657 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8658 nil.
8659 (nfd, nfkd): Likewise.
8660
963b492b
SM
86612011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8662
8663 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8664 from process filters aren't reliably transmitted to the surrounding
8665 accept-process-output.
8666 (mpc-proc-check): New function.
8667 (mpc-proc-sync): Use it (bug#8293)
8668
93b6b5e1
SM
86692011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8672 Add compatibility functions (bug#9313).
8673
bca633fb
EZ
86742011-08-23 Eli Zaretskii <eliz@gnu.org>
8675
b177498a
EZ
8676 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8677
6df6ae42 8678 * international/uni-bidi.el: Regenerate.
bca633fb 8679
0902a04e
KH
86802011-08-23 Kenichi Handa <handa@m17n.org>
8681
8682 * international/charprop.el:
8683 * international/uni-bidi.el:
8684 * international/uni-category.el:
8685 * international/uni-combining.el:
8686 * international/uni-comment.el:
8687 * international/uni-decimal.el:
8688 * international/uni-decomposition.el:
8689 * international/uni-digit.el:
8690 * international/uni-lowercase.el:
8691 * international/uni-mirrored.el:
8692 * international/uni-name.el:
8693 * international/uni-numeric.el:
8694 * international/uni-old-name.el:
8695 * international/uni-titlecase.el:
8696 * international/uni-uppercase.el: Regenerate.
8697
3bbf23bc
MR
86982011-08-23 Martin Rudalics <rudalics@gmx.at>
8699
8700 * help.el (help-window-setup): Fix message displayed when other
8701 window is reused. (Bug#9341)
8702
b3fd59bd
SM
87032011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8704
1802e444
SM
8705 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8706 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8707
b3fd59bd
SM
8708 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8709 Mark obsolete.
8710 * shell.el (shell-parse-pcomplete-arguments): New function.
8711 (shell-completion-vars): Use it instead (bug#9160).
8712
4eb61348
SM
87132011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8714
867cab74
SM
8715 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8716 strings and comments (bug#9333).
8717
4eb61348
SM
8718 * emacs-lisp/debug.el (debug-arglist): New function.
8719 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8720 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8721
262a1439
JL
87222011-08-22 Juri Linkov <juri@jurta.org>
8723
56ee679c
JL
8724 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8725 Revert regexp that highlights output switches to its old
8726 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8727
262a1439
JL
8728 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8729 to check for empty output (bug#9226).
8730
f13f86fb
CY
87312011-08-22 Chong Yidong <cyd@stupidchicken.com>
8732
8733 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8734 symbol-constituent as the default, as that stops font-lock from
8735 working properly (Bug#8843).
8736
c65c9622
LMI
87372011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8738
8739 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8740 `coding-system-for-*' around the process open call to avoid
8741 auth-source side effects.
e7f2c178 8742 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8743 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8744 probe hangs.
c65c9622 8745
23a8a5ab
CY
87462011-08-21 Chong Yidong <cyd@stupidchicken.com>
8747
ff98b2dd
CY
8748 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8749
23a8a5ab
CY
8750 * emacs-lisp/find-func.el (find-function-noselect): New arg
8751 lisp-only.
8752
8753 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8754 signal an error for built-in functions (Bug#6664).
8755
f5e3c598
LMI
87562011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8757
8758 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8759 (smtpmail-try-auth-methods): Use it.
8760
a3f2468a
CY
87612011-08-21 Chong Yidong <cyd@stupidchicken.com>
8762
2c34e8da
CY
8763 * font-lock.el (font-lock-fontify-region)
8764 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8765 (font-lock-default-unfontify-buffer)
8766 (font-lock-default-fontify-region)
8767 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8768
b3fd59bd
SM
8769 * progmodes/compile.el (compilation-error-properties):
8770 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8771 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8772 `ant' regexp.
ee31aabc 8773
a3f2468a
CY
8774 * net/browse-url.el (browse-url-firefox): Don't call
8775 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8776
8e999f70
GM
87772011-08-20 Glenn Morris <rgm@gnu.org>
8778
c21a496a
GM
8779 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8780
59ee0542
GM
8781 * tutorial.el (tutorial--default-keys): Update some default bindings.
8782
8e999f70
GM
8783 * files.el (hack-local-variables): Fully ignore case for "mode:".
8784
e3715033
AM
87852011-08-20 Alan Mackenzie <acm@muc.de>
8786
8787 Resolve invalid use of a regexp in regexp-opt.
8788
4d61f28d
JB
8789 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8790 detection for a java annotation.
e3715033 8791
4d61f28d 8792 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8793 detection for a java annotation.
8794
4d61f28d
JB
8795 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8796 handling for java.
e3715033
AM
8797 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8798
04ed2e9c
CY
87992011-08-20 Chong Yidong <cyd@stupidchicken.com>
8800
8801 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8802 (Bug#9274).
8803
826cee64
AM
88042011-08-20 Alan Mackenzie <acm@muc.de>
8805
58179cce 8806 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8807 such a construct. Mainly for when jit-lock etc. starts a chunk
8808 here.
8809
58179cce 8810 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8811 variable.
58179cce 8812 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8813 c-make-font-lock-search-function.
8814 (c-make-font-lock-search-function): Use the above function.
8815 (c-make-font-lock-context-search-function): New function.
8816 (c-cpp-matchers): Enhance the preprocessor expression case with
8817 the above function
8818 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8819 which takes an expression.
8820
8821 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8822
13009bd8
MR
88232011-08-20 Martin Rudalics <rudalics@gmx.at>
8824
8825 * window.el (display-buffer-reuse-window)
8826 (display-buffer-pop-up-window): Don't reuse or split a side
8827 window.
8828
9234ff7f
GM
88292011-08-19 Glenn Morris <rgm@gnu.org>
8830
8831 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8832 Downcase "Mode:". (Bug#9331)
9234ff7f 8833
f635daa1
CY
88342011-08-18 Chong Yidong <cyd@stupidchicken.com>
8835
8836 * international/characters.el: Add L and R categories.
8837
8838 * subr.el (bidi-string-mark-left-to-right): Rename from
8839 string-mark-left-to-right. Use category search.
8840
8841 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8842
bc987f8b
JL
88432011-08-18 Juri Linkov <juri@jurta.org>
8844
8845 * faces.el (error, warning, success): New faces with definitions
8846 copied from old default values of `font-lock-warning-face',
8847 `compilation-warning', `compilation-info' (bug#6117).
8848
8849 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8850
8851 * progmodes/compile.el (compilation-error): Inherit from `error'.
8852 (compilation-warning): Inherit from `warning'.
8853 (compilation-info): Inherit from `success'.
8854
8855 * dired.el (dired-marked): Inherit from `warning'.
8856 (dired-flagged): Inherit from `error'.
8857
57173b96
LMI
88582011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8859
3e79eb87
LMI
8860 * mail/smtpmail.el (auth-source): Require to avoid problems with
8861 binding variables (bug#9298). Also clean up some unused
8862 autoloads.
8863
b3fd59bd
SM
8864 * net/network-stream.el (network-stream-open-starttls):
8865 Support using starttls.el without using gnutls-cli.
57173b96 8866
02b404de
JL
88672011-08-17 Juri Linkov <juri@jurta.org>
8868
8869 * progmodes/grep.el (rgrep): Handle the case when
8870 `grep-find-command' is a cons cell (bug#9278).
8871
8c9177f2
MR
88722011-08-17 Martin Rudalics <rudalics@gmx.at>
8873
8874 * window.el (display-buffer-pop-up-frame): Run frame creation
8875 function with BUFFER current (as special-display-popup-frame
8876 does). Reported by Drew Adams.
8877
3644a0ab
DU
88782011-08-17 Daiki Ueno <ueno@unixuser.org>
8879
8880 * epa-mail.el: Simplify GnuPG group expansion using
8881 epg-expand-group.
8882 (epa-mail-group-alist, epa-mail-group-modtime)
8883 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8884 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8885 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8886 Remove.
8887
5e617bc2 88882011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8889
8890 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8891
9c4aeabf
AM
88922011-08-16 Alan Mackenzie <acm@muc.de>
8893
8894 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8895 Correct, to avoid the inside of macros.
8896
3a99bf64
RS
88972011-08-16 Richard Stallman <rms@gnu.org>
8898
04963aa8
RS
8899 * epa-mail.el: Handle GnuPG group definitions.
8900 (epa-mail-group-alist, epa-mail-group-modtime)
8901 (epa-mail-gnupg-conf-file): New variables.
8902 (epa-mail-parse-groups, epa-mail-sync-groups)
8903 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8904 (epa-mail-expand-recipients): New functions.
8905 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8906
177549d0
RS
8907 * mail/rmail.el (rmail-epa-decrypt): New command.
8908
fe38beef
RS
8909 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8910 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8911 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8912 (epa-decrypt-armor-in-region): Make error message clearer.
8913
934eacb9
SM
89142011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8917 and "a2b" to "ab" for `prefix'.
8918
d024fb4e
CY
89192011-08-14 Chong Yidong <cyd@stupidchicken.com>
8920
8921 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8922 filter groups.
de148fee
CY
8923 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8924 Fourquet (Bug#8804).
d024fb4e 8925
62f1ca49
JB
89262011-08-12 Juanma Barranquero <lekktu@gmail.com>
8927
8928 * startup.el (argi): Declare as global variable (bug#9275).
8929
9ccaaa4b
CY
89302011-08-12 Chong Yidong <cyd@stupidchicken.com>
8931
8932 * subr.el (string-mark-left-to-right): Search the entire string
8933 for RTL script, not just the terminating character. Doc fix.
8934
a3dae87a
SM
89352011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8936
6cd18349
SM
8937 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8938 New function.
8939 (js--regexp-literal, js-syntax-propertize-function): Remove.
8940 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8941 (js-mode-map): Don't rebind electric keys.
8942 (js-insert-and-indent): Remove.
8943 (js-mode): Setup electric-layout and electric-indent instead.
8944
a3dae87a
SM
8945 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8946
9d5cb631
DU
89472011-08-12 Daiki Ueno <ueno@unixuser.org>
8948
8949 * epa.el (epa-progress-callback-function): Fix the logic of
8950 displaying progress.
8951 * epa-file.el (epa-file-insert-file-contents): Make progress
8952 display more user-friendly.
8953 (epa-file-write-region): Ditto.
8954
3e26a4a2
CY
89552011-08-10 Chong Yidong <cyd@stupidchicken.com>
8956
8957 * subr.el (string-mark-left-to-right): New function.
8958
8959 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8960 Use string-mark-left-to-right.
8961 (list-buffers-noselect): Caller changed.
8962
a3dae87a
SM
8963 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8964 Use string-mark-left-to-right.
3e26a4a2
CY
8965 (tabulated-list-print): Recenter after moving point.
8966
ac8cf6e6
JL
89672011-08-10 Juri Linkov <juri@jurta.org>
8968
8969 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8970 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8971 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8972
8d96c9a4
CY
89732011-08-09 Chong Yidong <cyd@stupidchicken.com>
8974
8975 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8976 (Bug#7554).
8977
7be1c708 89782011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8979
8980 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8981 character. (Bug#6594)
8982
37e11a63
CY
89832011-08-08 Chong Yidong <cyd@stupidchicken.com>
8984
839dde57
CY
8985 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8986 (image-dired--with-db-file): New macro.
8987 (image-dired-write-tags, image-dired-remove-tag)
8988 (image-dired-create-gallery-lists, image-dired-write-comments)
8989 (image-dired-get-comment, image-dired-mark-tagged-files)
8990 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8991 (image-dired-gallery-generate): Use insert-file-contents.
8992
37e11a63
CY
8993 * time.el (display-time-world-list, display-time-world-display):
8994 * time-stamp.el (time-stamp-string):
8995 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8996 set-time-zone-rule (Bug#7337).
8997
0b4946c4
DU
89982011-08-08 Daiki Ueno <ueno@unixuser.org>
8999
9000 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9001 (epg-error-to-string, epg-errors-to-string): New function.
9002 (epg-wait-for-completion): Reverse errors list.
9003 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9004 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9005 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9006 (epg-sign-keys, epg-generate-key-from-file)
9007 (epg-generate-key-from-string): Format errors by using
9008 epg-errors-to-string (bug#9255).
9009 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9010
75bfc667
JL
90112011-08-07 Juri Linkov <juri@jurta.org>
9012
9013 * faces.el (list-faces-display): Remove extra angle bracket
9014 from `help-mode-map'.
9015
9016 * info.el (Info-history-toc-nodes): Doc fix.
9017
9018 * longlines.el (longlines-mode): Doc fix.
9019
673e08bb
SM
90202011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9021
4640dd88
SM
9022 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9023 of statements and in a few more cases (bug#9183).
9024
673e08bb
SM
9025 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9026 New functions.
9027 (cl-transform-lambda): Use them (bug#9239).
9028
89b3f019
MR
90292011-08-05 Martin Rudalics <rudalics@gmx.at>
9030
9031 * window.el (display-buffer-same-window)
9032 (display-buffer-same-frame, display-buffer-other-window)
9033 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9034 (pop-to-buffer-other-window)
9035 (pop-to-buffer-same-frame-other-window)
9036 (pop-to-buffer-other-frame): Make them defuns.
9037 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9038
640c8776
SM
90392011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * subr.el (make-composed-keymap): Move from C. Change calling
9042 convention, and improve docstring to bring attention to a subtle point.
9043 * minibuffer.el (completing-read-default): Adjust accordingly.
9044
63648a95
MA
90452011-08-03 Michael Albinus <michael.albinus@gmx.de>
9046
9047 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9048 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9049
9050 * net/trampver.el: Update release number.
9051
b796c9b7
SM
90522011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9053
9054 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9055 "in" (bug#9190).
9056
2239d7d5
LMI
90572011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9058
e07dd7c3
LMI
9059 * mail/sendmail.el (sendmail-query-once): Restore the current
9060 buffer after querying (bug#9074).
9061
0e6a2bd7
LMI
9062 * dired.el (dired-flagged): Use different faces for marked and
9063 flagged files (bug#6117).
9064
ce887515
LMI
9065 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9066 (bug#4433).
9067
92f2affc
LMI
9068 * ido.el (ido-mode): Switch off the message if called
9069 non-interactively.
9070
57d5aff0
LMI
9071 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9072 before 587, since it appears that that's more likely to work for
9073 more people.
9074
98cd6c18 9075 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9076 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9077 exist.
9078
b96dec83
LMI
9079 * info.el: Remove the `Info-beginning-of-buffer' function
9080 (bug#8325).
9081
b796c9b7
SM
9082 * net/network-stream.el (network-stream-open-starttls):
9083 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9084
d90e2ea0
MR
90852011-08-01 Martin Rudalics <rudalics@gmx.at>
9086
9087 * window.el (display-buffer-in-window): Don't set dedicated status
9088 of window here (Bug#9215).
9089 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9090 (display-buffer-pop-up-side-window)
b796c9b7 9091 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9092
cca09170
SM
90932011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9096 before binding generated-autoload-file.
9097
027b979c
DD
90982011-08-01 Deniz Dogan <deniz@dogan.se>
9099
9100 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9101
3c7ee4f3
MA
91022011-07-30 Michael Albinus <michael.albinus@gmx.de>
9103
9104 Sync with Tramp 2.2.2.
9105
9106 * net/trampver.el: Update release number.
9107
2cc8e51a
JL
91082011-07-30 Juri Linkov <juri@jurta.org>
9109
9110 * dired-aux.el (dired-touch-initial): Remove function.
9111 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9112 current time, and `default' to the last modification time of the
9113 current marked file (bug#6887).
9114
a514d856
JM
91152011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9116
9117 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9118 numeric argument to read-number (bug#9163).
a514d856 9119
8a7eddd7
MA
91202011-07-27 Michael Albinus <michael.albinus@gmx.de>
9121
9122 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9123 connection process, it could be nil.
9124
1ddd96f5
LL
91252011-07-27 Leo Liu <sdl.web@gmail.com>
9126
9127 Simplify url handling in rcirc-mode.
9128
9129 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9130 (rcirc-browse-url-at-mouse): Remove.
9131 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9132
b248a85d
AM
91332011-07-26 Alan Mackenzie <acm@muc.de>
9134
9135 Fontify bitfield declarations properly.
9136
9137 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9138 (c-symbol-chars): Now exported as a lang variable.
9139 (c-not-primitive-type-keywords): New lang variable.
9140
9141 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9142 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9143 parsed as a bitfield declaration.
b248a85d 9144
b796c9b7
SM
9145 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9146 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9147 (c-punctuation-in): New function.
9148 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9149 declarations properly.
9150
68575ab0
UJ
91512011-07-26 Ulf Jasper <ulf.jasper@web.de>
9152
9153 * calendar/icalendar.el (icalendar--all-events): Take care of
9154 multiple vcalendars in a single file.
b796c9b7 9155 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9156
0f0a88b9
DD
91572011-07-25 Deniz Dogan <deniz@dogan.se>
9158
9159 * image.el (insert-image): Clarifying docstring.
9160
0b3f36df
MA
91612011-07-24 Michael Albinus <michael.albinus@gmx.de>
9162
9163 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9164 `tramp-send-command-and-check' if there is no error.
9165 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9166
a9901f61
AM
91672011-07-22 Alan Mackenzie <acm@muc.de>
9168
9169 Prevent cc-langs.elc being loaded at run time.
9170
9171 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9172 cc-langs.
9173
4d61f28d 9174 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9175 "(require 'cc-langs)". Quote a form so it will evaluate at
9176 (cc-mode's) compilation time.
9177
11d074b2
MA
91782011-07-22 Michael Albinus <michael.albinus@gmx.de>
9179
9180 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9181 loading. (Bug#9114)
9182
938b94c8
MR
91832011-07-21 Martin Rudalics <rudalics@gmx.at>
9184
9185 * window.el (display-buffer-pop-up-window)
9186 (display-buffer-pop-up-side-window)
9187 (display-buffer-in-side-window): Call display-buffer-set-height
9188 and display-buffer-set-width after setting the new window's
b796c9b7 9189 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9190
bfa4f190
SS
91912011-07-20 Sam Steingold <sds@gnu.org>
9192
9193 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9194 (etags-tags-included-tables): Call `convert-standard-filename' on
9195 the file names contained in TAGS so that windows Emacs can handle
9196 TAGS files created by cygwin ctags.
9197
8ca42262
LMI
91982011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9199
9200 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9201 which apparently didn't work.
9202
5db2afd2 92032011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9204
5db2afd2
RW
9205 * proced.el (proced-send-signal): For *Marked Processes* buffer
9206 put point at beginning of buffer.
9207
92e15d10
SB
92082011-07-19 Stephen Berman <stephen.berman@gmx.net>
9209
9210 * proced.el (proced-format): Make header lines align with the text
9211 (bug#1779).
9212
1bfd59e5
LMI
92132011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9214
9215 * view.el (view-buffer): Allow running in `special' modes if we're
9216 visiting a file (bug#8615).
9217
f5aae37c
MR
92182011-07-19 Martin Rudalics <rudalics@gmx.at>
9219
9220 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9221 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9222 New functions.
f5aae37c
MR
9223 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9224 more accurately.
9225
bf2c1571
AM
92262011-07-18 Alan Mackenzie <acm@muc.de>
9227
9228 Fontify declarators properly when, e.g., a jit-lock chunk begins
9229 inside a declaration.
9230
9231 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9232
b796c9b7
SM
9233 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9234 New function.
bf2c1571
AM
9235 (c-complex-decl-matchers): Insert reference to
9236 c-font-lock-enclosing-decls.
9237
9238 * progmodes/cc-engine.el (c-backward-single-comment):
9239 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9240 to nil around calls to (forward-comment -1).
9241
4e190b80
LMI
92422011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9243
12dc863d
LMI
9244 * image.el (put-image): Doc typo fix.
9245
a762e966
LMI
9246 * progmodes/etags.el (tags-search): Doc typo fix.
9247
4e190b80
LMI
9248 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9249 password if we get errors 550 to 554.
9250
f019fb21
LMI
92512011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9252
b796c9b7 9253 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9254
81746738
LMI
9255 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9256 indentation character (bug#6380).
9257
3ee3a1b5
LMI
9258 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9259
c82f64de
LMI
9260 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9261 to clarify what the problem is (bug#4291).
9262
f019fb21
LMI
9263 * simple.el (current-kill): Clarify what
9264 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9265 (auto-fill-mode): Document `auto-fill-function' in relation to
9266 `auto-fill-mode' (bug#2470).
f019fb21 9267
0794775d
LM
92682011-07-16 Lawrence Mitchell <wence@gmx.li>
9269
9270 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9271 method if slot is read-only (bug#9035).
9272
be39b8cc
MR
92732011-07-16 Martin Rudalics <rudalics@gmx.at>
9274
b796c9b7 9275 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9276 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9277 selected before, see discussion of (Bug#8615), (Bug#6954).
9278 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9279
6ccf7859
GM
92802011-07-15 Glenn Morris <rgm@gnu.org>
9281
9282 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9283 Respect help-form.
6ccf7859 9284
87e86684
LM
92852011-07-09 Lawrence Mitchell <wence@gmx.li>
9286
9287 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9288 (gnutls-negotiate): Use it.
9289
d6066239
LMI
92902011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9291
b796c9b7
SM
9292 * net/gnutls.el (gnutls-negotiate):
9293 Upcase `gnutls-algorithm-priority'.
d6066239 9294
bd23ebc0
GM
92952011-07-15 Glenn Morris <rgm@gnu.org>
9296
c65bca65
GM
9297 * jka-compr.el (jka-compr-verbose): Move from here...
9298 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9299 Add missing :version tag.
9300 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9301
478615cc
LMI
93022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9303
7b41decb
LMI
9304 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9305 (gnutls-negotiate): Use it.
9306
dbc44fcd
LMI
9307 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9308
06789f97
LMI
9309 * info.el (Info-beginning-of-buffer): New command.
9310 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9311 announcing `b' as the key (bug#8325).
ab896c37 9312 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9313
c39da690
LMI
9314 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9315
3aa5f34b
LMI
9316 * international/mule-cmds.el
9317 (describe-specified-language-support): Make the error message
9318 clearer (bug#8905).
9319
4bf0979f
LMI
9320 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9321
478615cc
LMI
9322 * isearch.el (isearch-barrier): Add a doc string, since it's
9323 mentioned in a function doc string (bug#8678).
9324
75c68aa1
MR
93252011-07-15 Martin Rudalics <rudalics@gmx.at>
9326
9327 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9328 buffer argument (Bug#9083) and self-identifying label argument.
9329
a7c33da2
GM
93302011-07-15 Glenn Morris <rgm@gnu.org>
9331
9332 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9333
2f5c6024
LMI
93342011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9335
9336 * man.el (Man-fontify-manpage): Fix message when formatting the
9337 man page (bug#7929).
9338
0bb23927 93392011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9340
9341 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9342 argument LRM; if non-nil, append an invisible LRM character to the
9343 buffer name.
9344 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9345 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9346 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9347 paragraph direction.
cce4b0a7 9348
621ef9ab
LMI
93492011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9350
d1583c48
LMI
9351 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9352 the man page name (bug#7929).
9353
6a57fb5f
LMI
9354 * image.el (put-image): Mention the `put-image' overlay property
9355 (bug#7834).
9356
d7956b14
LMI
9357 * scroll-bar.el (set-scroll-bar-mode): Mention that
9358 `scroll-bar-mode' lists the values (bug#7772).
9359
5b2d4a66
LMI
9360 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9361 command (bug#7729).
9362
7509a874
LMI
9363 * rect.el (apply-on-rectangle): Return the point after the last
9364 operation.
9365 (string-rectangle): Go to the point after the last operation
9366 (bug#7522).
9367
4fe74b19
LMI
9368 * printing.el (pr-toggle-region): Clarify the documentation
9369 slightly (bug#7493).
9370
b796c9b7
SM
9371 * time.el (display-time-update):
9372 Allow `display-time-mail-function' to return nil (bug#7158).
9373 Fix suggested by Detlev Zundel.
ab283561 9374
fc233c9d
LMI
9375 * vc/diff.el (diff): Clarify the order the file names are read
9376 (bug#7111).
9377
43f5740b
LMI
9378 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9379 the doc string (bug#7015).
9380
f2182a76
LMI
9381 * font-lock.el (font-lock-maximum-decoration): Mention what
9382 numeric levels mean (bug#6935).
9383
621ef9ab
LMI
9384 * startup.el (initial-buffer-choice): Don't mention the `none'
9385 selection, which is against policy.
9386
adc47434
MR
93872011-07-14 Martin Rudalics <rudalics@gmx.at>
9388
b796c9b7
SM
9389 * window.el (display-buffer-normalize-special):
9390 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9391
7e5bfb8f
EZ
93922011-07-14 Eli Zaretskii <eliz@gnu.org>
9393
9394 * subr.el (version<, version<=, version=): Mention "-CVS" and
9395 "-12345" alpha version numbers.
9396
27fa387a
CY
93972011-07-14 Chong Yidong <cyd@stupidchicken.com>
9398
9399 * bindings.el: Add advertised binding for set-mark-command
9400 (Bug#5772).
9401
8bdfa064
CY
94022011-07-14 Chong Yidong <cyd@stupidchicken.com>
9403
9404 * bindings.el (mode-line-other-buffer):
9405 * bookmark.el (bookmark-bmenu-2-window):
9406 * bs.el (bs-cycle-next, bs-cycle-previous):
9407 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9408 switch-to-buffer.
9409
9410 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9411 Delete.
8bdfa064 9412
5eba16a3
JB
94132011-07-14 Juanma Barranquero <lekktu@gmail.com>
9414
9415 * follow.el (follow-debug-message, follow-redisplay):
9416 * jka-cmpr-hook.el (with-auto-compression-mode):
9417 Fix typos in docstrings.
9418
15853710
LMI
94192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9420
a28e4607
LMI
9421 * subr.el (with-silent-modifications): Clarify somewhat what the
9422 macro inhibits (bug#6525).
9423
15853710
LMI
9424 * simple.el (eval-expression): Note what it does if called
9425 interactively (bug#6495).
9426
bee0fcef
CY
94272011-07-13 Chong Yidong <cyd@stupidchicken.com>
9428
b796c9b7
SM
9429 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9430 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9431
9432 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9433 Remove switch-to-buffer.
9434
58274504
LMI
94352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9436
bd2fcc8d
LMI
9437 * files.el (make-directory): Clarify that an error will be raised
9438 if there's an error (bug#6397).
9439
0f04b32c
LMI
9440 * startup.el (initial-buffer-choice): Add `none' as a choice
9441 (bug#6234).
9442
465c5fc8
LMI
9443 * subr.el (add-hook): Clarify section about buffer-local hooks
9444 (bug#6218).
9445
58274504
LMI
9446 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9447
bead9a43
JB
94482011-07-13 Juanma Barranquero <lekktu@gmail.com>
9449
9450 * tabify.el (untabify): Preserve the current column so that point
9451 doesn't move (bug#6032).
9452
3af98a7b
LMI
94532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9454
b796c9b7
SM
9455 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9456 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9457
6240145a
GM
94582011-07-13 Glenn Morris <rgm@gnu.org>
9459
9460 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9461 (dired-insert-directory): Give a message the first time
9462 if ls is found not to support --dired.
9463
1d8c2ccc
LMI
94642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9465
9466 * simple.el (toggle-truncate-lines): Clarify what is toggled
9467 (bug#5580). Text by Drew Adams.
9468
5fc4038e
CY
94692011-07-13 Chong Yidong <cyd@stupidchicken.com>
9470
9471 * simple.el (blink-matching-open): Make the error message from the
9472 last change less verbose.
9473
bf6012e5
DN
94742011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9475
9476 * font-lock.el (font-lock-comment-face): Use the high contrast
9477 "yellow" color for font-lock-comment-face on low color terminals
9478 using a dark background color (bug#4221).
9479
343c3b5a
LMI
94802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9481
7e9505c5
LMI
9482 * dired.el (dired-insert-set-properties): Make the doc string
9483 reflect what it does now (bug#5325).
9484
c26fdcf5
LMI
9485 * simple.el (blink-matching-open): Say that we were unable to find
9486 the match within the limit, if we're limited (bug#5122).
9487
bb388cc5
LMI
9488 * international/mule-cmds.el (prefer-coding-system): Add an
9489 example (bug#4869).
9490
343c3b5a
LMI
9491 * progmodes/etags.el (tags-search): Document `file-list-form'
9492 (bug#4731).
9493
2a517d45
LM
94942011-07-13 Lawrence Mitchell <wence@gmx.li>
9495
9496 * net/browse-url.el (browse-url-default-browser)
9497 (browse-url-browser-function): Make the default browser choice a
9498 bit more logical (bug#4300). Also clean up the doc string.
9499
b6c78ef2
JB
95002011-07-13 Juanma Barranquero <lekktu@gmail.com>
9501
9502 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9503 binary endings (bug#4440).
9504
1c4dd947
LMI
95052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9506
a2014063
LMI
9507 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9508 which can be pretty annoying (bug#8971).
9509
9c9c2d88
LMI
9510 * jka-compr.el (jka-compr-verbose): New variable, and use
9511 throughout (bug#8971).
9512
1c4dd947
LMI
9513 * info.el (Info-find-file): Fall back on the installation
9514 directory if we can't find the info node anywhere else.
9515
a1c9f41b
SO
95162011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9517
9518 * vc/vc.el (vc-revert-file):
9519 Don't set file time-stamp in the past. (Bug#5181)
9520
536f3d36
LMI
95212011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9522
7152b011
LMI
9523 * files.el (after-find-file): Give a better error message when
9524 trying to find a symlink that points to a file that doesn't exist
9525 (bug#4398).
9526
536f3d36
LMI
9527 * progmodes/cc-vars.el: Remove (probably) misleading comment
9528 (bug#4396).
9529
460c0fba
JB
95302011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9531
9532 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9533
7a6bda45
CY
95342011-07-12 Chong Yidong <cyd@stupidchicken.com>
9535
9536 * mouse-sel.el: Hack restoring functionality, while keeping
9537 compatibility with 2010-07-03 changes to mouse selection.
9538 (mouse-sel-primary-overlay): New var.
9539 (mouse-sel-selection-alist): Use it.
9540 (mouse-sel-mode): Doc fix; remove points that are default features
9541 of mouse.el.
9542
c79598ef
JB
95432011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9544
9545 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9546 Fix previous fix (bug#2490).
9547
ff8be6ef
RW
95482011-07-12 Roland Winkler <winkler@gnu.org>
9549
b796c9b7
SM
9550 * textmodes/bibtex.el (bibtex-initialize):
9551 Use pop-to-buffer-same-window.
ff8be6ef
RW
9552 (bibtex-search-entries): Fix interactive call.
9553
296ba3ee
LMI
95542011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9555
f5242a02 9556 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9557 Fontise bytecomp Error lines more correctly (bug#2490).
9558 Fix suggested by Johan BockgĂ¥rd.
f5242a02 9559
296ba3ee
LMI
9560 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9561
9562 * dired-x.el (dired-guess-default): Use `delete-dups'.
9563
f69fd0d2
CY
95642011-07-12 Chong Yidong <cyd@stupidchicken.com>
9565
9566 * dired.el (dired-mark-prompt):
9567 * dired-aux.el (dired-read-shell-command): Doc fix.
9568
eab5dc07
LMI
95692011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9570
b796c9b7
SM
9571 * mail/sendmail.el (sendmail-query-once):
9572 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9573 emacs -Q.
9574
9575 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9576
eab5dc07
LMI
9577 * cus-edit.el (custom-file): Take an optional no-error variable.
9578 (customize-save-variable): Set the variable, and give a warning if
9579 running under "emacs -q".
9580
a1e65d42
JB
95812011-07-11 Juanma Barranquero <lekktu@gmail.com>
9582
9583 * loadhist.el (unload-feature-special-hooks):
9584 Add `auto-coding-functions', `fill-nobreak-predicate' and
9585 `find-directory-functions' (bug#5327).
9586
1d52da10
LMI
95872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9588
be958f1d
LMI
9589 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9590
5bedb26c
LMI
9591 * cus-edit.el (custom-guess-name-alist): -alist variables should
9592 use the `alist' type (bug#3120). Suggested by Drew Adams.
9593
1d52da10
LMI
9594 * printing.el: Add documentation to all the `pr-toggle-' commands.
9595
cd394be1 95962011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9597
9598 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9599 backends where it makes sense (bug#2623).
9600
dcc88d8a
LMI
96012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9602
c3de9feb
LMI
9603 * dired-x.el (dired-guess-default): Remove duplicate shell command
9604 entries (bug#2028).
8a93078b 9605 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9606 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9607
dcc88d8a
LMI
9608 * subr.el (remove-duplicates): New conveniency function.
9609
505e3645
LMI
96102011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9611
9612 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9613 (bug#1526).
9614
96152011-07-10 Martin Rudalics <rudalics@gmx.at>
9616
9617 * window.el (display-buffer-normalize-default): Don't invert
9618 meaning of even-window-heights. Reported by Eli Zaretskii
9619 <eliz@gnu.org>.
9620
455e4fa1
BR
96212011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9622
9623 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9624
8e0bc3e9
CY
96252011-07-10 Chong Yidong <cyd@stupidchicken.com>
9626
9627 * window.el (display-buffer): Fix arguments to
9628 display-buffer-reuse-window in last change.
9629
fa7c3228
CY
9630 * faces.el (link): Use a less saturated blue on light backgrounds.
9631
9632 * startup.el (fancy-startup-text, fancy-about-text)
9633 (fancy-startup-tail): Use font-lock faces, for background safety.
9634
c0a7f300
BN
96352011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9636
b796c9b7
SM
9637 * emulation/viper-cmd.el (viper-change-state-to-vi):
9638 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9639
4dc2a129
MR
96402011-07-09 Martin Rudalics <rudalics@gmx.at>
9641
9642 * window.el (display-buffer-default-specifiers): Remove.
9643 (display-buffer-macro-specifiers): Remove default specifiers.
9644 (display-buffer-alist): Default to nil.
b796c9b7 9645 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9646 (display-buffer-pop-up-window): Allow splitting internal
9647 windows. Check whether a live window was created.
9648 (display-buffer-other-window-means-other-frame)
9649 (display-buffer-normalize-arguments): Rename to
9650 display-buffer-normalize-argument and rewrite. Set the
9651 other-window specifier.
9652 (display-buffer-normalize-special): New function.
9653 (display-buffer-normalize-options): Rename to
9654 display-buffer-normalize-default and rewrite.
9655 (display-buffer-normalize-options-inhibit): Remove.
9656 (display-buffer-normalize-specifiers): Rewrite.
9657 (display-buffer): Process other-window specifier and call
9658 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9659 more faithfully.
b796c9b7 9660 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9661 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9662 (display-buffer-in-window, display-buffer-alist-set):
9663 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9664 <tassilo@member.fsf.org>.
9665
2d43b8c9
LL
96662011-07-09 Leo Liu <sdl.web@gmail.com>
9667
9668 * register.el (insert-register): Restore accidental change on
9669 2011-06-26. (Bug#9028)
9670
7f9b7c53
GM
96712011-07-09 Glenn Morris <rgm@gnu.org>
9672
9673 * subr.el (remq): Handle the empty list. (Bug#9024)
9674
f042cfd8
AS
96752011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9676
9677 * mail/sendmail.el (send-mail-function): No longer delay custom
9678 initialization.
9679 * custom.el (custom-initialize-delay): Doc fix.
9680
856b2f11
SM
96812011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9682
9683 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9684
afae1d68
MA
96852011-07-08 Michael Albinus <michael.albinus@gmx.de>
9686
9687 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9688 human-friendly prompt.
9689
0757af94
SM
96902011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9691
9692 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9693 provided by a particular plugin.
9694
d760b731
LMI
96952011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9696
9697 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9698 save customizations (with "emacs -Q"), just set the variable
9699 instead of erroring out.
9700
9701 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9702
cd79ce90
JL
97032011-07-08 Juri Linkov <juri@jurta.org>
9704
9705 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9706 (archive-zip-update-case): Use 7z if found by `executable-find'.
9707 The order of searching the available programs is the same as in
9708 `archive-zip-extract' (bug#8968).
9709
14cc04aa
CY
97102011-07-07 Chong Yidong <cyd@stupidchicken.com>
9711
9712 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9713 (menu-bar-options-menu): Tweak descriptions.
9714
0a1848ec
LMI
97152011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9716
9717 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9718 menu items into verb phrases (bug#1421). Also refill to fit under
9719 80 columns.
9720
f5bd0689
CY
97212011-07-07 Chong Yidong <cyd@stupidchicken.com>
9722
538e85c6
CY
9723 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9724 (Info-read-node-name): Doc fix (Bug#1084).
9725
f5bd0689
CY
9726 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9727 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9728 (end-of-sexp, beginning-of-sexp)
9729 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9730 (forward-symbol, forward-same-syntax, word-at-point)
9731 (sentence-at-point): Doc fix (Bug#1144).
9732
56ec5115
LMI
97332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9734
f3f8e37f
LMI
9735 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9736 should cover it (bug#1281).
9737
0757af94 9738 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9739
e9fce1ac 9740 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9741 negotiation fails, then possibly try again with a non-encrypted
9742 connection (bug#9017).
9743
56ec5115
LMI
9744 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9745 be used.
9746
c2f9aec8
RS
97472011-07-07 Richard Stallman <rms@gnu.org>
9748
9749 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9750 property, and handle its changed format.
9751 Look for the correct line number.
9752 Use file's line contents (but not past first =) to find
9753 correct line in message.
9754
ef7b981d 97552011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9756
9757 * international/characters.el (build-unicode-category-table):
9758 Delete it.
0757af94 9759 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9760
0757af94 9761 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9762 to src/chartab.c.
9763 (get-char-code-property): Call unicode-property-table-internal to
9764 load a file. Call get-unicode-property-internal where necessary.
9765 (put-char-code-property): Call unicode-property-table-internal to
9766 load a file. Call put-unicode-property-internal where necessary.
9767 put-unicode-property-internal where necessary.
0757af94
SM
9768 (char-code-property-description):
9769 Call unicode-property-table-internal to load a file.
c805dec0
KH
9770
9771 * international/charprop.el:
9772 * international/uni-bidi.el:
9773 * international/uni-category.el:
9774 * international/uni-combining.el:
9775 * international/uni-comment.el:
9776 * international/uni-decimal.el:
9777 * international/uni-decomposition.el:
9778 * international/uni-digit.el:
9779 * international/uni-lowercase.el:
9780 * international/uni-mirrored.el:
9781 * international/uni-name.el:
9782 * international/uni-numeric.el:
9783 * international/uni-old-name.el:
9784 * international/uni-titlecase.el:
9785 * international/uni-uppercase.el: Regenerate.
9786
9787 * loadup.el: Load international/charprop.el before
9788 international/characters.
9789
e14b388a
CY
97902011-07-07 Chong Yidong <cyd@stupidchicken.com>
9791
9792 * window.el (next-buffer, previous-buffer): Signal an error if
9793 called from a minibuffer window.
9794
9795 * bindings.el: Revert 2011-07-04 change.
9796
354cf0ba
RS
97972011-07-06 Richard Stallman <rms@gnu.org>
9798
9799 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9800 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9801 Treat markers like ints.
9802 (rmail-mime-entity): Doc fix.
9803
a48868a7
LMI
98042011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9805
4906cd3d
LMI
9806 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9807 defcustom again for backwards compatibility.
9808
e0457abe
LMI
9809 * simple.el (shell-command-on-region): Fill.
9810
d67f7e1f
LMI
9811 * dired-aux.el (dired-kill-line): Add a doc string.
9812
fe204702
LMI
9813 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9814 to "\\sw\\|\\s_" (bug#358).
9815
a48868a7
LMI
9816 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9817 (dired-unmark-backward): Ditto.
9818 (dired-flag-backup-files): Ditto.
9819
9820 * dired-x.el (dired-mark-sexp): Ditto.
9821
aa8a705c
RS
98222011-07-06 Richard Stallman <rms@gnu.org>
9823
9824 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9825 (rmail-mime-entity): New arg TRUNCATED.
9826 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9827 New functions.
9828 (rmail-mime-save): Warn if entity is truncated.
9829 (rmail-mime-toggle-hidden): Likewise, for showing.
9830 (rmail-mime-process-multipart): Record when an entity is truncated.
9831
a9a936b9
RS
9832 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9833 if ENTITY is a string.
9834
1f2b92cb
LMI
98352011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9836
f4f73198 9837 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9838 of faces when `M-C-x'-ing their definitions (bug#8378).
9839 Also clean up the code slightly.
f4f73198 9840
12b16734 9841 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9842 because that makes the colors go away.
12b16734 9843
f0691d22
LMI
9844 * mail/sendmail.el (send-mail-function): Change the default to
9845 `sendmail-query-once'.
9e87df06 9846 (sendmail-query-once): Add an autoload cookie.
f0691d22 9847
1f2b92cb
LMI
9848 * net/network-stream.el (network-stream-open-starttls): Try using
9849 a plain connection even if the server offered STARTTLS, and we
9850 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9851 capability. This should make smtpmail.el work in slightly more
9852 configurations.
9853
1cdd2a1b
MA
98542011-07-06 Michael Albinus <michael.albinus@gmx.de>
9855
9856 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9857 New defun.
9858 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9859
fbcc67e2
MM
98602011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9861
9862 * progmodes/sql.el: Version 3.0
0757af94 9863 (sql-product-alist): Add product :completion-object,
fbcc67e2 9864 :completion-column, and :statement attributes.
0757af94 9865 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9866 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9867 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9868 ansi keywords.
9869 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9870 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9871 (sql-oracle-show-reserved-words): New function for development.
9872 (sql-product-font-lock): Simplify for source code buffers.
9873 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9874 New functions.
9875 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9876 (sql-mode-map): Add statement movement functions.
9877 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9878 New variable.
fbcc67e2
MM
9879 (sql-statement-regexp, sql-beginning-of-statement)
9880 (sql-end-of-statement, sql-signum): New functions.
0757af94 9881 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9882 (sql-show-sqli-buffer): Bug fix.
9883 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9884 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9885 with sql-interactive-mode.
9886 (sql-save-connection): Save buffer local settings.
0757af94 9887 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9888 (sql-product-interactive): Bug fix.
9889 (sql-preoutput-hold): New variable.
9890 (sql-interactive-remove-continuation-prompt): Bug fixes.
9891 (sql-debug-redirect): New variable.
9892 (sql-str-literal): New function.
9893 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9894 Redesign.
fbcc67e2
MM
9895 (sql-oracle-save-settings, sql-oracle-restore-settings)
9896 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9897 (sql-completion-object, sql-completion-column)
9898 (sql-completion-sqlbuf): New variables.
9899 (sql-build-completions-1, sql-build-completions)
9900 (sql-try-completion): New functions.
9901 (sql-read-table-name): Use them.
9902 (sql-contains-names): New buffer local variable.
9903 (sql-list-all, sql-list-table): Use it.
9904 (sql-oracle-completion-types): New variable.
9905 (sql-oracle-completion-object, sql-sqlite-completion-object)
9906 (sql-postgres-completion-object): New functions.
9907
d4eaeab1
GM
99082011-07-06 Glenn Morris <rgm@gnu.org>
9909
9910 * window.el (pop-to-buffer): Doc fix.
9911
322b7dab 99122011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9913
9914 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9915
322b7dab 99162011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9917
322b7dab 9918 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9919
322b7dab 9920 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9921
605dd5bf
CY
99222011-07-05 Chong Yidong <cyd@stupidchicken.com>
9923
9924 * button.el (button): Inherit from link face. Suggested by Dan
9925 Nicolaescu.
9926
7dbfa719
SM
99272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9928
3db614b0
SM
9929 * progmodes/gdb-mi.el: Fit in 80 columns.
9930 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9931 switch-to-buffer.
9932
7dbfa719
SM
9933 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9934 if imenu is simply not configured (bug#8941).
9935
919d884a
KM
99362011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9937
9938 * allout.el (allout-post-undo-hook): New allout outline-change
9939 event hook to signal undo activity.
9940 (allout-post-command-business): Run allout-post-undo-hook if an
9941 undo just occurred.
7dbfa719
SM
9942 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9943 * allout-widgets.el (allout-widgets-after-undo-function):
9944 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9945 in the vicinity of an undo.
9946 (allout-widgets-mode): Include allout-widgets-after-undo-function
9947 on the new allout-post-undo-hook.
9948
450a0f09
SM
99492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9952 Let define-derived-mode define it.
9953 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9954 cycles of abbrev-table inheritance (bug#8998).
9955
2de69e00
RW
99562011-07-05 Roland Winkler <winkler@gnu.org>
9957
9958 * textmodes/bibtex.el: Add support for biblatex.
9959 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9960 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9961 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9962 (bibtex-entry-alist, bibtex-field-alist): New variables.
9963 (bibtex-entry-field-alist): Obsolete alias for
9964 bibtex-BibTeX-entry-alist.
9965 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9966 (bibtex-set-dialect): New command.
9967 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9968 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9969 Bind via bibtex-set-dialect.
2de69e00
RW
9970 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9971 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9972 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9973 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9974 Define via bibtex-set-dialect.
450a0f09
SM
9975 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9976 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9977 (bibtex-vec-push, bibtex-vec-incr): New functions.
9978 (bibtex-format-entry, bibtex-field-list)
9979 (bibtex-print-help-message, bibtex-validate)
9980 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9981
2dcdbdd9
SM
99822011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * progmodes/compile.el (compilation-goto-locus):
9985 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9986 * bs.el (bs-cycle-next, bs-cycle-previous):
9987 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9988 * bindings.el (mode-line-other-buffer):
9989 * autoinsert.el (auto-insert):
9990 * arc-mode.el (archive-extract):
9991 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9992
b27640fe
JB
99932011-07-05 Juanma Barranquero <lekktu@gmail.com>
9994
9995 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9996 Fix check of `emacs-lock-unlockable-modes'.
9997 Coerce true values of `emacs-lock--try-unlocking' to t.
9998
53bbe3ad
JB
99992011-07-05 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10002 * emacs-lock.el: New file.
10003
1d3cdbc7
JD
100042011-07-05 Julien Danjou <julien@danjou.info>
10005
10006 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10007 than `boundp' to check if face is set.
10008
9173deec
JB
100092011-07-05 Juanma Barranquero <lekktu@gmail.com>
10010
10011 * register.el (registerv-make):
10012 * window.el (window-min-height): Fix typos in docstrings.
10013
869795d6
JD
100142011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10015
9173deec 10016 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10017 Update doc string.
10018
b768cdcd
JB
100192011-07-04 Juanma Barranquero <lekktu@gmail.com>
10020
10021 * server.el (server-execute): Catch quit and call
10022 `server-return-error' to pass the error back to emacsclient and
10023 close the connection (bug#8942).
10024
13aa217b
KM
100252011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10026
10027 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10028 insecure exception for current topic. Also note that auto-saves
10029 are handled differently.
10030
5d3385a0 10031 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10032 State variables for tracking auto-save inhibition situation.
10033
10034 (allout-write-contents-hook-handler): Rename from
10035 'allout-write-file-hook-handler', and describe how it depends on
10036 write-contents-functions sensitivity to non-nil value to prevent
10037 file write.
10038
10039 (allout-auto-save-hook-handler): Remove. auto-save does not check
10040 this in individual buffers, only in the starting buffer, so this
10041 is not the right way for us to inhibit auto-save in a buffer
10042 according to its condition.
10043
10044 (allout-mode): Use new allout-write-contents-hook-handler, and
10045 only with write-contents-functions. Remove auto-save provisions -
10046 they're implemented elsewhere.
10047
10048 (allout-before-change-handler): If undo is in progress, note that
10049 for attention of allout-post-command-business.
10050
10051 (allout-post-command-business): If the command we're following was
10052 an undo, check for change in the status of encrypted items and
10053 adjust auto-save inhibitions accordingly.
10054
10055 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10056 according to whether there are or aren't any plain-text topics
10057 pending encryption.
10058
2dcdbdd9 10059 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10060 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10061 if there are plain-text topics pending encryption.
13aa217b
KM
10062
10063 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10064 buffer-saved-size and some allout state to not inhibit auto-saves
10065 if there are no longer any plain-text topics pending encryption.
10066
0757af94
SM
10067 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10068 No longer provide for exemption of the current topic.
13aa217b 10069
ac89b32c
JL
100702011-07-04 Juri Linkov <juri@jurta.org>
10071
10072 Add 7z operations to delete and save changed members (bug#8968).
10073 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10074 New defcustoms.
10075 (archive-7z-write-file-member): New function.
10076 (archive-7z-summarize): Fix the number of dashes in the
10077 listing output.
10078
8fa39615
SM
100792011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10082 (bug#8958).
10083
2f11b3f1
CY
100842011-07-04 Chong Yidong <cyd@stupidchicken.com>
10085
d66fef2b
CY
10086 * bindings.el: Ignore next-buffer and previous-buffer in
10087 minibuffer-local-map.
10088
2f11b3f1
CY
10089 * font-lock.el (font-lock-builtin-face): Change light background
10090 color to dark slate blue (Bug#6693).
10091
f932a347
WD
100922011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10093
10094 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10095
c8af70e1
SM
100962011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10099 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10100 Add switch-to-buffer.
10101
f158badc
LMI
101022011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10103
10104 * isearch.el (isearch-search-fun-function): Clarify further the
10105 meaning of the function returned.
10106
6d95bd46
MA
101072011-07-04 Michael Albinus <michael.albinus@gmx.de>
10108
10109 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10110
10111 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10112 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10113 Use it.
10114 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10115 `tramp-default-remote-path' does not exist.
10116 (tramp-send-command-and-read): New optional argument NOERROR.
10117 (tramp-open-connection-setup-interactive-shell)
10118 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10119 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10120 (tramp-process-sentinel): Flush also process' connection property.
10121 (tramp-sh-handle-start-file-process): Do not set process
10122 sentinel. It is done now ...
10123 (tramp-maybe-open-connection): ... here. (Bug#8929)
10124
909e6b67
MK
101252011-07-04 MON KEY <monkey@sandpframing.com>
10126
10127 * play/animate.el (animate-string): Doc fixes and allow changing
10128 the buffer name (bug#5417).
10129
101302011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10131
c8af70e1 10132 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10133
f34755dc
PE
101342011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10135
396cec72
PE
10136 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10137 This is simpler and helps future-proof the code.
10138 (timer-until): Use time-subtract and float-time.
08235028 10139 (timer--time-less-p): Use time-less-p.
f34755dc 10140
56e6cc31
JB
101412011-07-04 Juanma Barranquero <lekktu@gmail.com>
10142
3abb79e5
JB
10143 * type-break.el (timep): Use the value of `float-time' to avoid a
10144 byte-compiler warning.
10145
56e6cc31
JB
10146 * server.el (server-eval-and-print): Return any result, even nil.
10147
7b9430b4
PE
101482011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10149
10150 * type-break.el: Accept time formats that the builtins accept.
10151 (timep, type-break-time-difference): Accept any format that
10152 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10153 This is simpler and helps future-proof the code.
10154 (type-break-time-difference): Round rather than ignoring
10155 subseconds components.
10156
3034e9e7
LMI
101572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10158
10159 * info.el (Info-apropos-matches): Make non-interactive, since it
10160 doesn't seem to do anything useful as a command (bug#8829).
10161
1485f4c0
CY
101622011-07-03 Chong Yidong <cyd@stupidchicken.com>
10163
10164 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10165 Move from faces.el.
1485f4c0
CY
10166 (frame-default-terminal-background): New function.
10167
10168 * custom.el (custom-push-theme): Don't record faces in `changed'
10169 theme; this doesn't work correctly for per-frame face settings.
10170 (disable-theme): Use face-set-after-frame-default to reset faces.
10171 (custom--frame-color-default): New function.
10172
9fa3dd45
LMI
101732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10174
c8af70e1 10175 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10176 (bug#8769).
10177
6cbbc20c
KR
101782011-03-29 Kevin Ryde <user42@zip.com.au>
10179
10180 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10181 `perl-Test2' extend to match possible "fail #N" rep count
10182 (bug#8377).
10183
c7f98048
LMI
101842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10185
65676592
LMI
10186 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10187 `smtpmail-via-smtp' now returns the error instead of nil.
10188
c7f98048
LMI
10189 * isearch.el (isearch-search-fun-function): Clarify the doc string
10190 (bug#8101).
10191
56e6cc31 101922011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10193
10194 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10195 unnecessary spaces (bug#8987).
10196
2b216704
LMI
101972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10198
10199 * net/network-stream.el (open-network-stream): Use the
10200 :end-of-capability command thoughout.
10201
102022011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10203
10204 * net/network-stream.el (open-network-stream): Add the
10205 :end-of-capability command parameter, used by pop3.el.
10206
36adf6ce
LMI
102072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10208
1ca0da0e
LMI
10209 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10210
fc00f69c
LMI
10211 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10212 for list)" (bug#6475).
10213
28fd8759 10214 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10215 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10216 an error (bug#6297).
10217
0dd8b6da
LMI
10218 * man.el (Man-reference-regexp): Allow matching possible
10219 word-wrapped references (bug#6289).
10220
ce1438d6
LMI
10221 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10222 for consistency with the other vc buffers (bug#6197).
10223 (vc-checkin): Ditto.
10224
10225 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10226
36adf6ce
LMI
10227 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10228
e83cc1f7
LMI
102292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10230
8a20ca4c
LMI
10231 * custom.el (defcustom): Clarify that :set is only used in the
10232 Customize user interface (bug#6089).
10233
83319045
LMI
10234 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10235 associated with a file, refuse to run instead of erroring out
10236 (bug#6084).
10237
a8392169
LMI
10238 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10239 the doc string, since it appears that using `fill-column' always
10240 controls the width (bug#7845).
10241
e83cc1f7
LMI
10242 * simple.el (shell-command-on-region): Say where the error output
10243 went if `shell-command-default-error-buffer' is set (bug#6857).
10244
e47ca23b
KM
102452011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10246
10247 * allout.el (allout-yank-processing): Adjust cursor position for
10248 backwards-deleted space.
10249
10250 (allout-rebullet-heading): Register changes with
10251 allout-exposure-changed-hook, so the modified topic is properly
10252 decorated.
10253
5cf56143
LMI
102542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10255
08549772
LMI
10256 * minibuffer.el (completion-in-region): Document PREDICATE
10257 (bug#7136).
10258
48e96771
LMI
10259 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10260 of keyword/argument pairs (bug#6904).
10261
c8af70e1
SM
10262 * replace.el (multi-occur):
10263 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10264
e17d05e2
LMI
102652011-07-02 Drew Adams <drew.adams@oracle.com>
10266
10267 * dired.el (dired-mark-if): Make the message about whether it's
10268 marking or unmarking clearer (bug#8523).
10269
063b0e45
LMI
102702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10271
10272 * disp-table.el (display-table-print-array): New function.
10273 (describe-display-table): Use it to print the vectors more pretty
10274 (Bug#8859).
10275
28545e04
MR
102762011-07-02 Martin Rudalics <rudalics@gmx.at>
10277
10278 * window.el (window-state-get-1): Don't assign clone numbers.
10279 Add clone-of item to list of window parameters.
10280 (window-state-put-2): Don't process clone numbers.
10281 (display-buffer-alist): Fix doc-string.
10282
3349e122
SM
102832011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * subr.el (remq): Don't allocate if it's not needed.
10286 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10287 (keymap--merge-bindings): New functions.
10288 (keymap-canonicalize): Use them to refine the canonicalization.
10289 * minibuffer.el (minibuffer-local-completion-map)
10290 (minibuffer-local-must-match-map): Move initialization from C.
10291 (minibuffer-local-filename-completion-map): Move initialization from C;
10292 don't inherit from anything here.
10293 (minibuffer-local-filename-must-match-map): Make obsolete.
10294 (completing-read-default): Use make-composed-keymap to combine
10295 minibuffer-local-filename-completion-map with either
10296 minibuffer-local-must-match-map or
10297 minibuffer-local-filename-completion-map.
10298
d224ac83
GM
102992011-07-01 Glenn Morris <rgm@gnu.org>
10300
3de63bf8
GM
10301 * type-break.el (type-break-time-sum): Use dolist.
10302
d224ac83
GM
10303 * textmodes/flyspell.el (flyspell-word-search-backward):
10304 Replace CL function.
10305
1a1e3f32
SM
103062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10307
fe3f64d5
SM
10308 * mouse.el (mouse--strip-first-event): New function.
10309 (function-key-map): Use it to map fringe clicks to normal clicks
10310 by default.
10311
eb604e34
SM
10312 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10313 (vc-bzr-revision-completion-table): Add support for annotate and date.
10314
1a1e3f32
SM
10315 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10316 inherit from parent.
10317
5bd35902
LMI
103182011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10319
ace6c69c 10320 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10321 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10322
191e2bed
LMI
10323 * dired.el (dired-mode): Fix up the doc string as suggested by
10324 Drew Adams (bug#8817).
10325
5bd35902
LMI
10326 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10327 cookie, since the manual says that it should be possible to add
10328 this function to `find-file-hook' (bug#8709).
10329
eee8207a
TZ
103302011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10331
10332 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10333 here. Noted Ted Zlatanov as the maintainer.
10334 (cfengine-common-settings, cfengine-common-syntax): New functions
10335 to set up common things between `cfengine-mode' and
10336 `cfengine3-mode'.
10337 (cfengine3-mode): New mode.
10338 (cfengine3-defuns cfengine3-defuns-regex
10339 (cfengine3-class-selector-regex cfengine3-category-regex)
10340 (cfengine3-vartypes cfengine3-font-lock-keywords)
10341 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10342 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10343
36b148cf
MA
103442011-07-01 Michael Albinus <michael.albinus@gmx.de>
10345
10346 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10347
10348 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10349
0bf4ba9a
MR
103502011-07-01 Martin Rudalics <rudalics@gmx.at>
10351
10352 * window.el (same-window-buffer-names, same-window-regexps)
10353 (same-window-p, special-display-frame-alist)
10354 (special-display-popup-frame, special-display-function)
10355 (special-display-buffer-names, special-display-regexps)
10356 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10357 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10358 (split-window-preferred-function, split-height-threshold)
10359 (split-width-threshold, even-window-heights)
10360 (display-buffer-mark-dedicated, window-splittable-p)
10361 (split-window-sensibly, window-safely-shrinkable-p):
10362 Un-obsolete.
10363 (display-buffer): Don't spread args with function specifier
10364 because special-display-popup-frame won't like it.
10365
35837f51
PE
103662011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10367
d0672f86
PE
10368 Time-stamp simplifications and fixes.
10369 These improve accuracy slightly, and future-proof the code
10370 against some potential changes to current-time format.
10371
b9444d97
PE
10372 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10373 by using time-since and float-time.
10374
0ef923dc
PE
10375 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10376 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10377 + NNN microseconds".
10378
2f81380d
PE
10379 * type-break.el (type-break-time-sum): Rewrite using time-add.
10380
845b5c3e
PE
10381 * play/hanoi.el (hanoi-current-time-float): Remove.
10382 All uses replaced by float-time.
10383
ee6f1be0
PE
10384 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10385 This yields a more-accurate answer.
10386 (rng-time-to-float): Remove; no longer needed.
10387
fe955043
PE
10388 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10389
5777162a
PE
10390 * calendar/timeclock.el (timeclock-seconds-to-time):
10391 Defalias to seconds-to-time, since they're the same thing.
10392
3103f8b6 10393 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10394 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10395 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10396
0e61a35f
SM
103972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10398
10399 * window.el (bury-buffer): Don't iconify the only frame.
10400 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10401 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10402
ddd63a1e
CY
104032011-07-01 Chong Yidong <cyd@stupidchicken.com>
10404
0e61a35f
SM
10405 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10406 Add mouse-yank-primary.
ddd63a1e 10407
055f4923
TZ
104082011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10409
10410 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10411
6a2fb145
SM
104122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10415 (find-library-name): Use it to find relative load names when provided
10416 absolute file name (bug#8803).
10417
fd4983f2
LMI
104182011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10419
887d14ad
LMI
10420 * textmodes/flyspell.el (flyspell-word): Consider words that
10421 differ only in case as potential doublons (bug#5687).
10422
c53dc7fc
LMI
10423 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10424 Remove two rather uninteresting debugging-like messages to make
10425 debbugs.el more silent.
10426
fd4983f2
LMI
10427 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10428 a password-like phrase.
10429
7a71b18d 104302011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10431
10432 * progmodes/cc-guess.el: New file.
10433
6a2fb145 10434 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10435
10436 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10437 derived from `c-basic-common-init'.
10438
10439 * progmodes/cc-mode.el (top-level): Require cc-guess.
10440 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10441
1fa280a3
LM
104422011-06-30 Lawrence Mitchell <wence@gmx.li>
10443
10444 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10445
e6597158
AM
104462011-06-30 Alan Mackenzie <acm@muc.de>
10447
1fa280a3
LM
10448 * progmodes/cc-engine.el (c-guess-continued-construct):
10449 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10450 lock is disabled. Name this case as "CASE G".
10451
68ba37fb
KM
104522011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10453
10454 * allout.el (allout-yank-processing): Fix injection of extra space
10455 between bullet and non-whitespace character in first topic when
10456 pasting, ensuring that the actual spacing in the pasted topic
10457 following the bullet char is preserved. This extra space was
10458 causing pasted encrypted topics to get a decrypted status even
10459 when the content was actually still encrypted. Now the decryption
10460 status from before the paste is preserved.
10461
10462 (allout-flag-region): Set all allout overlays so they evaporate
10463 when reduced to zero length (evanescent), to prevent overlay
10464 leakage.
10465
887a0b34
GM
104662011-06-30 Glenn Morris <rgm@gnu.org>
10467
94b9acce
GM
10468 * w32-fns.el (w32-charset-info-alist): Declare.
10469
1d9b46d4
GM
10470 * find-dired.el (find-grep-options): Simplify.
10471
cc232200
GM
10472 * term/ns-win.el (ns-set-resource): Declare.
10473
28e77c46
GM
10474 * ses.el (row, col): Declare dynamic variables honestly.
10475
887a0b34
GM
10476 * textmodes/reftex-parse.el (index-tags): Declare.
10477
658d8eb8
CY
104782011-06-30 Chong Yidong <cyd@stupidchicken.com>
10479
10480 * cus-edit.el (customize-push-and-save): New function.
10481
10482 * files.el (hack-local-variables-confirm): Use it.
10483
1fa280a3
LM
10484 * custom.el (load-theme): New arg NO-CONFIRM.
10485 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10486 (custom-enabled-themes): Doc fix.
10487
10488 * cus-theme.el (customize-create-theme)
10489 (custom-theme-merge-theme): Callers to load-theme changed.
10490
bb617717
LMI
104912011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10492
d61bdd5d
LMI
10493 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10494 short URLs have at least one dot in them (bug #7614).
10495
bb617717
LMI
10496 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10497 nil, because using a pty is apparently too slow (bug #895).
10498
2f31f37a
LMI
104992011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10500
10501 * mail/sendmail.el (sendmail-query-once): New function.
10502 (sendmail-query-once-function): New variable.
10503
3076b24e
GM
105042011-06-29 Glenn Morris <rgm@gnu.org>
10505
faf2a174
GM
10506 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10507
3076b24e
GM
10508 * ses.el (top-level): Require cl when compiling.
10509 (ses-set-localvars): Fix error statement.
10510 Call it at compile time to silence a storm of warnings.
10511
5386012d
MR
105122011-06-29 Martin Rudalics <rudalics@gmx.at>
10513
10514 * window.el (normalize-live-buffer): Rename to
10515 window-normalize-buffer.
10516 (normalize-live-frame): Rename to window-normalize-frame.
10517 (normalize-any-window): Rename to window-normalize-any-window.
10518 (normalize-live-window): Rename to window-normalize-live-window.
10519 (make-window-atom): Rename to window-make-atom.
10520 (window-resize-reset): Rename to window--resize-reset.
10521 (window-resize-reset-1): Rename to window--resize-reset-1.
10522 (resize-mini-window): Rename to window--resize-mini-window.
10523 (resize-subwindows-skip-p): Rename to
10524 window--resize-subwindows-skip-p.
10525 (resize-subwindows-normal): Rename to
10526 window--resize-subwindows-normal.
10527 (resize-subwindows): Rename to window--resize-subwindows.
10528 (resize-other-windows): Rename to window--resize-siblings.
10529 (resize-this-window): Rename to window--resize-this-window.
10530 (resize-root-window): Rename to window--resize-root-window.
10531 (resize-root-window-vertically): Rename to
10532 window--resize-root-window-vertically.
10533 (normalize-buffer-to-display): Rename to
10534 window-normalize-buffer-to-display.
10535 (normalize-buffer-to-switch-to): Rename to
10536 window-normalize-buffer-to-switch-to.
10537 Correspondingly update all callers of the functions listed
10538 above.
10539 (display-buffer-alist, display-buffer-normalize-arguments)
10540 (display-buffer-normalize-options, display-buffer)
10541 (display-buffer-alist-set): Use "function" instead of
10542 "fun-with-args".
10543
1176868d
CY
105442011-06-28 Chong Yidong <cyd@stupidchicken.com>
10545
10546 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10547 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10548 debbugs.gnu.org. Mention acknowledgment email.
10549
20a7a65f
LMI
105502011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10551
10552 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10553 buffer multibyteness, since it shouldn't matter.
10554
5f45cca5
MR
105552011-06-28 Martin Rudalics <rudalics@gmx.at>
10556
10557 * window.el (display-buffer-in-side-window): Handle dedicated
10558 windows as in display-buffer-reuse-window.
10559 (display-buffer-normalize-alist): Use value of override
10560 specifier.
10561 (display-buffer-normalize-specifiers): Use value of
10562 other-window-means-other-frame specifier.
10563 (display-buffer-alist): Rewrite some texts in widgets.
10564 (display-buffer): Spread arguments when calling function
10565 specified by fun-with-args.
10566
ad85fe1f
DD
105672011-06-28 Deniz Dogan <deniz@dogan.se>
10568
1fa280a3
LM
10569 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10570 Unnest `let'.
da68c4c8 10571
ad85fe1f
DD
10572 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10573 selectors (Bug#5732).
ec49bd31 10574 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10575
a08cc025
JA
105762011-06-27 Jari Aalto <jari.aalto@cante.net>
10577
10578 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10579 (eshell-ls-date-format): New defcustom.
10580 (eshell-ls-file): Use it.
10581
e2b551c5
SM
105822011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10583
10584 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10585
8982b231
KY
105862011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10587
10588 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10589 (ange-ftp-make-tmp-name): New arg.
10590 (ange-ftp-file-local-copy): Use it.
10591
36c9fa27
J
105922011-06-27 Jambunathan K <kjambunathan@gmail.com>
10593
10594 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10595 no-conversion (Bug#8870).
10596
d68443dc
MR
105972011-06-27 Martin Rudalics <rudalics@gmx.at>
10598
10599 * window.el (window-right, window-left, window-child)
10600 (window-child-count, window-last-child)
10601 (window-iso-combination-p, walk-window-tree-1)
10602 (window-atom-check-1, window-tree-1, delete-window)
10603 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10604 new naming conventions - window-vchild, window-hchild,
10605 window-next and window-prev are now called window-top-child,
10606 window-left-child, window-next-sibling and window-prev-sibling
10607 respectively.
d615d6d2
MR
10608 (resize-window-reset): Rename to window-resize-reset.
10609 (resize-window-reset-1): Rename to window-resize-reset-1.
10610 (resize-window): Rename to window-resize.
10611 (window-min-height, window-min-width)
10612 (resize-mini-window, resize-this-window, resize-root-window)
10613 (resize-root-window-vertically, adjust-window-trailing-edge)
10614 (enlarge-window, shrink-window, maximize-window)
10615 (minimize-window, delete-window, quit-restore-window)
10616 (split-window, balance-windows, balance-windows-area-adjust)
10617 (balance-windows-area, window-state-put-2)
10618 (display-buffer-even-window-sizes, display-buffer-set-height)
10619 (display-buffer-set-width, set-window-text-height)
10620 (fit-window-to-buffer): Rename all "resize-window" prefixed
10621 calls to use the "window-resize" prefix convention.
10622 (display-buffer-alist): Fix symbol for label specifier.
10623 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10624 corresponding specifier.
10625 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10626
b6458526
VB
106272011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10628
10629 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10630 convention.
10631 (ses-call-printer): Does not pass an empty string to formatter when the
10632 cell is empty to keep from barking printer Calc math-format-value.
10633
d31fd9ac
RS
106342011-06-27 Richard Stallman <rms@gnu.org>
10635
43d5bf84
RS
10636 * battery.el (battery-mode-line-limit): New variable.
10637 (battery-update): Handle it.
10638
d31fd9ac
RS
10639 * mail/rmailmm.el (rmail-mime-process-multipart):
10640 Handle truncated messages.
10641
819a6054
GM
106422011-06-27 Glenn Morris <rgm@gnu.org>
10643
10644 * progmodes/flymake.el (flymake-err-line-patterns):
10645 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10646
cedc73f2
VB
106472011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10648
819a6054 10649 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10650 (ses--clean-!, ses--clean-_): New functions.
10651 (ses-range): Add configurability of readout order, and conversion
10652 to Calc vector.
10653
5e5d49b6
VB
10654 * ses.el (ses-repair-cell-reference-all): New function.
10655 (ses-cell-symbol): Set macro as safe, so that it can be used in
10656 formulas.
10657
56e6cc31 10658 * ses.el: Update cycle detection algorithm.
90ca8b49 10659 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10660 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10661 (ses-set-localvars): New function.
10662 (ses-make-cell): Add property-list as a cell element.
10663 (ses-cell-property-get-fun, ses-cell-property-get)
10664 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10665 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10666 New functions.
90ca8b49
VB
10667 (ses-cell-property-set, ses-cell-property-pop)
10668 (ses-cell-property-get-handle): New macro.
10669 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10670 New aliases, used for code readability.
10671 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10672 cycle detection.
10673 (ses-self-reference-early-detection): New defcustom.
fac916bf 10674 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10675 (ses-mode): Use ses-set-localvars.
10676 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10677 before lauching the update processing.
10678 (ses-initialize-Dijkstra-attempt): New function.
10679 (ses-recalculate-cell): Update for cycle detection based on
10680 Dijkstra algorithm.
10681
2bb63e81
VB
10682 * ses.el: Fix commenting and indenting convention.
10683
c9d29fb8
SM
106842011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * bs.el (bs-cycle-next): Complete last change.
10687
d8e4b68b
JB
106882011-06-27 Drew Adams <drew.adams@oracle.com>
10689
10690 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10691
40098786
LMI
106922011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10693
c9d29fb8
SM
10694 * net/network-stream.el (network-stream-open-starttls):
10695 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10696 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10697
40098786
LMI
10698 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10699 to binary to possibly avoid line encoding issues on Windows (among
10700 other things).
10701
468d09d4
LMI
107022011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10703
10704 * net/network-stream.el (open-network-stream): Return an :error
10705 saying what the problem was, if possible.
10706
10707 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10708 server.
10709
10710 * net/network-stream.el (network-stream-open-starttls): If we
10711 wanted to use STARTTLS, and the server offered it, but we weren't
10712 able to because we had no STARTTLS support, then close the connection.
10713 (open-network-stream): Return an :error element, if present.
10714
16f07dd7
CY
107152011-06-26 Chong Yidong <cyd@stupidchicken.com>
10716
88821ca0
CY
10717 * hl-line.el (hl-line-sticky-flag): Doc fix.
10718 (global-hl-line-sticky-flag): New option (Bug#8323).
10719 (global-hl-line-highlight): Obey it.
10720
16f07dd7
CY
10721 * vc/vc.el (vc-revert-show-diff): Default to t.
10722
6b5ccddf
KM
107232011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10724
c9d29fb8
SM
10725 * allout-widgets.el (allout-widgets-post-command-business):
10726 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10727 undecorated when an isearch is continued past, and isearch
10728 automatically collapses them. This leads to "widget leaks", where
10729 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10730 hidden widgets can slow down cursor travel, substantially.
10731 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10732 so we're doing without this nicety.
10733
10734 (allout-widgets-tally-string): Don't try to do a hash-table-count
10735 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10736 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10737 *Messages* when allout-widgets-maintain-tally is t.
10738
355f2e07
MR
107392011-06-26 Martin Rudalics <rudalics@gmx.at>
10740
10741 * window.el (display-buffer-normalize-argument): Rename to
10742 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10743 LABEL argument. Respect special-display-function when popping up
10744 a new frame. Fix code searching for a window showing the buffer
10745 on another frame.
c9d29fb8
SM
10746 (display-buffer-normalize-specifiers):
10747 Call display-buffer-normalize-arguments.
355f2e07
MR
10748 (display-buffer-in-window): Don't undedicate the window if its
10749 buffer remains the same.
10750 Reported by Drew Adams <drew.adams@oracle.com>.
10751 (display-buffer-alist): Add choice for same-window macro
10752 specfier.
10753 (display-buffer): Mention special meaning of LABEL argument in
10754 doc-string. Fix quoting. Don't pop up a new frame even as
10755 fallback.
10756
7ca8fc42
JB
107572011-06-26 Juanma Barranquero <lekktu@gmail.com>
10758
10759 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10760 avoid deleting the current window in some cases (bug#8911).
10761
bc312254
AS
107622011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10763
10764 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10765 (Bug#8934)
10766
2db18f3f
LMI
107672011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10768
c9d29fb8
SM
10769 * net/network-stream.el (network-stream-open-starttls):
10770 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10771 (network-stream-open-tls): Ditto.
10772
6302e0d3
LL
107732011-06-26 Leo Liu <sdl.web@gmail.com>
10774
10775 * register.el (registerv): New struct.
10776 (registerv-make): New function.
c9d29fb8
SM
10777 (jump-to-register, describe-register-1, insert-register):
10778 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10779 struct. (Bug#8415)
10780
5fdd4046
CY
107812011-06-26 Chong Yidong <cyd@stupidchicken.com>
10782
2afef60a
CY
10783 * vc/vc.el (vc-revert-show-diff): New defcustom.
10784 (vc-diff-internal): New arg specifying diff buffer.
10785 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10786 reuse an existing *vc-diff* buffer (Bug#8927).
10787
5fdd4046
CY
10788 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10789
e93db24a
GM
107902011-06-26 Glenn Morris <rgm@gnu.org>
10791
10792 * progmodes/f90.el (f90-critical-indent): New option.
10793 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10794 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10795 (f90-mode): Doc fix.
10796 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10797 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10798 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10799 (f90-match-end): Handle block, critical.
10800
eefff499
GM
108012011-06-25 Glenn Morris <rgm@gnu.org>
10802
f6ba4cc9
GM
10803 * calendar/diary-lib.el (diary-included-files): Doc fix.
10804 (diary-include-files): New function, extracted from
10805 diary-include-other-diary-files and diary-mark-included-diary-files.
10806 (diary-include-other-diary-files, diary-mark-included-diary-files):
10807 Just call diary-include-files.
10808 (diary-mark-entries): Reset diary-included-files on first call.
10809
16712304
GM
10810 * calendar/diary-lib.el (diary-mark-entries)
10811 (diary-mark-included-diary-files):
10812 Visit included diary-files in temp buffers.
10813
5d8e0d43
GM
10814 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10815 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10816 (f90-start-block-re, f90-imenu-generic-expression)
10817 (f90-looking-at-program-block-start, f90-no-block-limit):
10818 Add support for submodules.
10819
ccf7a5d5
GM
10820 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10821 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10822
11fdef7d 108232011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10824
10825 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10826 buffer-file-type before setting its value, to avoid disastrous
eefff499 10827 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10828
74f53697
JB
108292011-06-25 Juanma Barranquero <lekktu@gmail.com>
10830
10831 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10832
10833 * ses.el (ses-unload-function):
10834 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10835
10836 * proced.el (proced-unload-function):
10837 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10838
18a4ce5e
AR
108392011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10840
10841 * server.el (server-create-window-system-frame): Add parameters arg.
10842 (server-process-filter): Doc fix. Handle frame-parameters.
10843
519d22cc
JB
108442011-06-25 Juanma Barranquero <lekktu@gmail.com>
10845
10846 Fix bug#8730, bug#8781.
10847
10848 * loadhist.el (unload--set-major-mode): New function.
10849 (unload-feature): Use it.
10850
10851 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10852 (python-unload-function): New function.
10853
c206f5b0
SM
108542011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10857
f9ad64f3
GS
108582011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10859
10860 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10861 the candidates list.
10862
7d0da90e
JB
108632011-06-24 Juanma Barranquero <lekktu@gmail.com>
10864
10865 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10866
14b4e83d
RS
108672011-06-23 Richard Stallman <rms@gnu.org>
10868
10869 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10870 (rmail-variables): Set next-error-move-function.
10871 (rmail-what-message): Take argument POS.
10872 (rmail-next-error-move): New function.
10873
273d2baf
SM
108742011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10877 messages for adjacent non-terminals.
10878
56c2cc9a
RS
108792011-06-23 Richard Stallman <rms@gnu.org>
10880
10881 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10882 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10883 (rmail-start-mail): Don't specify use of rmail-mail-return;
10884 that's done by mail-bury now.
10885 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10886
d59eb518
MA
108872011-06-23 Michael Albinus <michael.albinus@gmx.de>
10888
10889 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10890 SIZE is a number.
10891
02cfc6d6
MR
108922011-06-23 Martin Rudalics <rudalics@gmx.at>
10893
10894 * window.el (get-lru-window, get-mru-window)
10895 (get-largest-window): Never return a minibuffer window.
10896 (display-buffer-pop-up-window): Fix a bug that could lead to
10897 reusing the minibuffer window.
10898 (display-buffer): Pass original specifier argument to
10899 display-buffer-function instead of the normalized one.
10900 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10901
4e323265
LL
109022011-06-22 Leo Liu <sdl.web@gmail.com>
10903
10904 * minibuffer.el (completing-read-function)
10905 (completing-read-default): Move from minibuf.c
10906
7a70468f
RS
109072011-06-22 Richard Stallman <rms@gnu.org>
10908
50718fc2
RS
10909 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10910 to Rmail even if not started by a special Rmail command.
10911
7a70468f
RS
10912 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10913 Copy the buffer currently showing just one message.
10914
297dde5a
RW
109152011-06-22 Roland Winkler <winkler@gnu.org>
10916
10917 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10918 (bibtex-clean-entry): First delete the old key so that a
10919 customized algorithm for generating the new key does not get
10920 confused by the old key.
10921 (bibtex-url): Obey regexp of first step.
10922 (bibtex-search-entries): Do not use add-to-list with local
10923 list-var.
10924
97bb1093
LMI
109252011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10926
10927 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10928 stored a user name, then query for the password first, instead of
10929 waiting for SMTP to give an error message and the trying again.
10930
1c0f1a19
JD
109312011-06-22 Lawrence Mitchell <wence@gmx.li>
10932
10933 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10934 BUFFER in call-process.
10935
396f7c9d
LMI
109362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10937
10938 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10939 QUIT twice.
ddb7ffee
LMI
10940 (smtpmail-try-auth-methods): Require user name and password from
10941 auth-source.
396f7c9d 10942
8998d1b3
MR
109432011-06-22 Martin Rudalics <rudalics@gmx.at>
10944
10945 * window.el (display-buffer-default-specifiers)
10946 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10947 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10948 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10949
10950 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10951 (special-display-frame-alist, special-display-popup-frame):
10952 Remove duplicate declarations. These are now in window.el.
10953
4ea31e07
LMI
109542011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10955
c9d29fb8
SM
10956 * mail/smtpmail.el (smtpmail-via-smtp):
10957 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10958 server supports it. SMTP servers that support STARTTLS commonly
10959 require it.
10960
10961 * net/network-stream.el (network-stream-open-starttls): Support
10962 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10963 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10964
95f41d9a
LMI
10965 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10966 upgrades with `open-network-stream', and rely solely on
10967 auth-source for all credentials. Big changes throughout the file,
10968 but in particular:
c9d29fb8
SM
10969 (smtpmail-auth-credentials): Remove.
10970 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10971 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10972 MAIL FROM, too.
95f41d9a 10973
c9d29fb8
SM
10974 * net/network-stream.el (network-stream-open-starttls):
10975 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10976 STARTTLS.
10977 (auth-source): Require.
10978 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10979 (network-stream-certificate): Change cert-cert to cert and
10980 cert-key to key.
4ea31e07 10981
065ec2c7
MA
109822011-06-21 Michael Albinus <michael.albinus@gmx.de>
10983
10984 * net/tramp-cache.el (top): Don't load the persistency file when
10985 "emacs -Q" has been called.
10986
cd93b359
DR
109872011-06-21 Tim Harper <timcharper@gmail.com>
10988
d8e4b68b
JB
10989 * term/ns-win.el (ns-initialize-window-system):
10990 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10991 resource to NO as it is not yet supported by the NS port.
10992
ae9c0411
JB
109932011-06-21 Juanma Barranquero <lekktu@gmail.com>
10994
10995 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10996 (list-dynamic-libraries): ...not here.
10997
7f3f739f
LL
109982011-06-21 Leo Liu <sdl.web@gmail.com>
10999
11000 * subr.el (sha1): Implement sha1 using secure-hash.
11001
327c8fb1
MR
110022011-06-21 Martin Rudalics <rudalics@gmx.at>
11003
11004 * window.el (display-buffer-alist): In default value do not
11005 enforce searching a window on any but the selected frame.
11006 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11007 (display-buffer-select-window): Remove function.
11008 (display-buffer-in-window): When a window on another frame gets
11009 reused, do not select it any more but just raise its frame if
11010 necessary (Bug#8851) and (Bug#8856).
11011 (display-buffer-normalize-options): Handle pop-up-frames related
11012 options more faithfully.
11013 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11014 window if it is on another frame.
c9d29fb8
SM
11015 (display-buffer-alist, display-buffer-default-specifiers):
11016 Don't make new frame unsplittable by default.
9e9de014
MR
11017 (display-buffer-normalize-argument): Fix doc-string typo and use
11018 'same-frame-other-window instead of 'other-window when associating
11019 with display-buffer-macro-specifiers.
327c8fb1 11020
7cf3f556
VB
110212011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
11022
11023 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11024 New functions.
11025 (5x5-mode-map, 5x5-mode-menu): Bind them.
11026 (5x5-draw-grid): Tweak the solver's rendering.
11027
60a406cf
SM
110282011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11029
11030 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11031 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11032
d8e4b68b 110332011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11034
11035 * menu-bar.el: Use function variable instead of switch-to-buffer.
11036 (menu-bar-select-buffer-function): New variable.
60a406cf 11037 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11038
478d6f95
SM
110392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11042 variable's status.
11043
ca530739
JD
110442011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11045
11046 * x-dnd.el (x-dnd-version-from-flags)
11047 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11048 and long as number (Bug#8899).
11049 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11050
bcd70d97
SM
110512011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11052
60a406cf 11053 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11054 (completion-try-completion, completion-all-completions): Compute the
11055 metadata argument if it's missing; make it optional (bug#8795).
11056
60a406cf 11057 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11058 (widget-complete): Use new :completion-function property.
11059 (widget-completions-at-point): New function.
11060 (default): Use :completion-function instead of :complete.
60a406cf
SM
11061 (widget-default-completions): Rename from widget-default-complete;
11062 Rewrite.
bcd70d97
SM
11063 (widget-string-complete, widget-file-complete, widget-color-complete):
11064 Remove functions.
11065 (file, symbol, function, variable, coding-system, color):
11066 * international/mule-cmds.el (default-input-method, charset)
11067 (language-info-custom-alist):
11068 * cus-edit.el (face): Use new property :completions.
11069
11070 * progmodes/pascal.el (pascal-completions-at-point): New function.
11071 (pascal-mode): Use it.
11072 (pascal-mode-map): Use completion-at-point.
11073 (pascal-toggle-completions): Make obsolete.
11074 (pascal-complete-word, pascal-show-completions):
11075 * progmodes/octave-mod.el (octave-complete-symbol):
11076 Redefine as obsolete alias.
11077 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11078 Signal absence of completion info for old Octave,
11079 (inferior-octave-complete): Redefine as obsolete alias.
11080 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11081 (meta-completions-at-point): Rename from meta-complete-symbol and
11082 adapt it for use on completion-at-point-functions.
11083 (meta-common-mode): Use it.
11084 (meta-looking-at-backward, meta-match-buffer): Remove.
11085 (meta-complete-symbol): Redefine as obsolete alias.
11086 (meta-common-mode-map): Use completion-at-point.
11087 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11088 (makefile-mode-map): Use completion-at-point.
11089 (makefile-completions-at-point): Rename from makefile-complete and
11090 adapt it for use on completion-at-point-functions.
11091 (makefile-mode): Use it.
11092 (makefile-complete): Redefine as obsolete alias.
11093
aebf69c8
DD
110942011-06-20 Deniz Dogan <deniz@dogan.se>
11095
11096 * net/rcirc.el: Delete trailing whitespaces once and for all.
11097
bfbbb27d
DC
110982011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11099
11100 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11101
d264a46b
CY
111022011-06-19 Chong Yidong <cyd@stupidchicken.com>
11103
4ca009e5
CY
11104 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11105
d264a46b
CY
11106 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11107
fbf5b3ce
MR
111082011-06-19 Martin Rudalics <rudalics@gmx.at>
11109
11110 * window.el (display-buffer-other-window-means-other-frame):
11111 Call display-buffer-normalize-alist.
11112 (display-buffer-normalize-specifiers-1): Rename to
11113 display-buffer-normalize-argument. New argument other-frame.
11114 Rewrite.
11115 (display-buffer-normalize-specifiers-2): Rename to
11116 display-buffer-normalize-options.
11117 (display-buffer-normalize-alist-1): New function.
11118 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11119 display-buffer-normalize-alist.
11120 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11121 (display-buffer-normalize-options-inhibit): New variable.
11122 (display-buffer-normalize-specifiers): Rewrite calling
11123 display-buffer-normalize-alist,
11124 display-buffer-normalize-argument, and
11125 display-buffer-normalize-options. Don't call the latter if
11126 display-buffer-normalize-options-inhibit is non-nil.
11127 (frame-auto-delete): New option.
11128 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11129 (window-list-no-nils, window-state-ignored-parameters)
11130 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11131 (window-state-put-1, window-state-put-2, window-state-put):
11132 New functions.
9a028c23
MR
11133 (display-buffer-normalize-options): Move special-display-p group
11134 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11135
6d10d800
CY
111362011-06-18 Chong Yidong <cyd@stupidchicken.com>
11137
6420d28b
CY
11138 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11139 groups (Bug#8776).
11140 (rx-submatch-n): New function.
11141 (rx): Document it.
11142
ddb8b596
CY
11143 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11144 (Bug#8768).
11145
11146 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11147
77080289
CY
11148 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11149
61dfb316
CY
11150 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11151 anytime existing face settings are present (Bug#8889).
11152
6d10d800
CY
11153 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11154 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11155 Remove unused argument.
11156
be3fb2b8
MR
111572011-06-18 Martin Rudalics <rudalics@gmx.at>
11158
bcd70d97
SM
11159 * window.el (display-buffer-default-specifiers):
11160 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11161 pop-up-window-min-width, and another reuse-window specifier
11162 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11163 (display-buffer-normalize-specifiers-2):
11164 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11165 pop-up-windows is unset. Add a reuse-window specifier for the
11166 case popping up a new window fails.
11167 (special-display-popup-frame): Remove double quoting.
28dec25a 11168 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11169
1c6d8c76
SM
111702011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11173 according to comint-completion-addsuffix.
11174
11175 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11176 (pcomplete-suffix-list): Mark as obsolete.
11177 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11178 pcomplete-seen in the closure.
11179 (pcomplete-comint-setup): Setup completion-at-point as well.
11180 (pcomplete--entries): New function.
11181 (pcomplete--env-regexp): New var.
11182 (pcomplete-entries): Rewrite to work with partial-completion and
11183 without relying on pcomplete-suffix-list.
11184 (pcomplete-pare-list): Remove, unused.
11185
25aef8b8
MR
111862011-06-17 Martin Rudalics <rudalics@gmx.at>
11187
11188 * window.el (display-buffer-alist): Set pop-up-window-min-height
11189 and pop-up-window-min-width in default value. Reported by
11190 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11191 other-window-means-other-frame.
11192 (display-buffer-macro-specifiers): Comment out entry for
11193 other-window specifier.
11194 (display-buffer-other-window-means-other-frame): New function.
11195 (display-buffer-normalize-specifiers-1): New arguments
11196 buffer-name and label. Treat other-window case specially.
11197 (display-buffer-normalize-specifiers-2): Treat other-window case
11198 specially.
11199 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11200 (display-buffer-normalize-specifiers):
11201 Call display-buffer-normalize-specifiers-3.
25aef8b8 11202
dbad4f69
MR
112032011-06-17 Martin Rudalics <rudalics@gmx.at>
11204
11205 * window.el (same-window-p): Fix two typos introduced when
11206 adding with-no-warnings.
d1067961
MR
11207 (display-buffer-normalize-specifiers-1): Don't check
11208 pop-up-frames for 'unset initialization.
11209 (display-buffer-normalize-specifiers-2): Major rewrite using
11210 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11211 (pop-up-frames, display-buffer-reuse-frames)
11212 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11213 Suggested by David Engster <deng@randomsample.de>.
11214 (even-window-heights): Initialize to 'unset.
11215 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11216 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11217 other window case.
dbad4f69 11218
9b9c9e3a
MR
112192011-06-16 Martin Rudalics <rudalics@gmx.at>
11220
bcd70d97
SM
11221 * window.el (display-buffer-normalize-specifiers-1):
11222 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11223 second argument of display-buffer (Bug#8865).
981d5c09
MR
11224 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11225 (switch-to-buffer-other-window-same-frame)
11226 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11227 Adams (Bug#8875).
9c2755e9
MR
11228 (display-buffer): Don't check noninteractive when calling
11229 display-buffer-pop-up-frame.
11230 (display-buffer-pop-up-frame): Never pop up a frame in
11231 noninteractive mode (Bug#8857).
67222e1d
MR
11232 (enlarge-window, shrink-window): Don't report an error when the
11233 window can't be resized as requested (Bug#8862).
9b9c9e3a 11234
2b75be67
SM
112352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11236
9ffdd3ba
SM
11237 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11238
cb581a67
SM
11239 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11240
2b75be67
SM
11241 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11242
8c0e3589
AM
112432011-06-15 Alan Mackenzie <acm@muc.de>
11244
cb581a67
SM
11245 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11246 for declarators, disable knr checking to speed up for normal files.
11247 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11248
b96e6cde
LMI
112492011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11250
4bba86e6
LMI
11251 * net/network-stream.el (open-network-stream): Add the keyword
11252 :always-query-capabilities for the case where you want to force a
11253 `plain' network connection, but the protocol still requires the
11254 capabilitiy command (i.e., SMTP and EHLO).
11255
2b75be67 11256 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11257 consistency with other `-live-p' functions.
11258
efdcdbf8
SM
112592011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11260
11261 * window.el (same-window-buffer-names, same-window-regexps)
11262 (special-display-frame-alist, special-display-popup-frame)
11263 (special-display-function, special-display-buffer-names)
11264 (special-display-regexps, pop-up-frame-alist)
11265 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11266 (pop-up-windows, split-window-preferred-function)
11267 (split-height-threshold, split-width-threshold, even-window-heights)
11268 (display-buffer-mark-dedicated): Don't encourage the use of
11269 display-buffer-alist from Elisp code.
11270
c5cde042
DN
112712011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11272
11273 * progmodes/python.el (python-mode): Derive from prog-mode.
11274 * progmodes/ps-mode.el (ps-mode):
11275 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11276 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11277 * progmodes/ld-script.el (ld-script-mode): Likewise.
11278
baa1c9ab
MR
112792011-06-15 Martin Rudalics <rudalics@gmx.at>
11280
11281 * window.el (display-buffer-alist): Trim default value to avoid
11282 popping up a new frame (Bug#8857) or reusing an arbitrary window
11283 on another frame.
11284 (display-buffer): Do not fall back on popping up a new frame in
11285 batch mode (Bug#8857).
11286
c5dd5a51
CY
112872011-06-14 Chong Yidong <cyd@stupidchicken.com>
11288
11289 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11290 (custom-theme-summary): New function.
11291 (customize-themes): Use it.
11292
d647b7c4
GM
112932011-06-13 Glenn Morris <rgm@gnu.org>
11294
11295 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11296
9481c002
MR
112972011-06-13 Martin Rudalics <rudalics@gmx.at>
11298
357f93d2
MR
11299 * help.el (help-window): Remove variable.
11300 (help-window-point-marker, temp-buffer-max-height)
11301 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11302 (help-print-return-message): Don't set help-window.
11303 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11304 (help-window-setup-finish): Remove.
11305 (help-window-display-message, help-window-setup)
11306 (with-help-window): Major rewrite based on new
11307 display-buffer-window variable.
11308
11309 * help-mode.el (help-mode-finish): Remove help-window related
11310 code.
11311
11312 * view.el (view-exits-all-viewing-windows): Remove reference to
11313 view-return-to-alist in doc-string.
11314 (view-return-to-alist): Make obsolete.
11315 (view-buffer): Call pop-to-buffer-same-window and remove
11316 undo-window code.
11317 (view-buffer-other-window): Call pop-to-buffer-other-window and
11318 simplify code. Ignore second argument.
11319 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11320 simplify code. Ignore second argument.
11321 (view-return-to-alist-update): Make obsolete.
11322 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11323 Rewrite using quit-restore window parameters.
2b75be67
SM
11324 (view-mode-exit): Rename second argument to EXIT-ONLY.
11325 Rewrite using quit-restore-window.
357f93d2
MR
11326 (View-exit, View-exit-and-edit, View-leave, View-quit)
11327 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11328 appropriate arguments.
11329 (view-end-message): Use quit-restore window parameter.
11330
9481c002
MR
11331 * window.el (display-buffer-function): Rewrite doc-string.
11332 (display-buffer-window, display-buffer-alist): New variables.
11333 (display-buffer-split-specifiers)
11334 (display-buffer-side-specifiers)
11335 (display-buffer-macro-specifiers): New constants.
11336 (display-buffer-even-window-sizes, display-buffer-set-height)
11337 (display-buffer-set-width, display-buffer-select-window)
11338 (display-buffer-in-window, display-buffer-reuse-window)
11339 (display-buffer-split-window-1, display-buffer-split-window)
11340 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11341 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11342 (display-buffer-in-side-window, normalize-buffer-to-display)
11343 (display-buffer-normalize-specifiers-1)
11344 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11345 (display-buffer-normalize-specifiers, display-buffer-frame):
11346 New functions.
9481c002
MR
11347 (display-buffer): Major rewrite.
11348 (display-buffer-other-window, display-buffer-other-frame)
11349 (pop-to-buffer, switch-to-buffer-other-window)
11350 (switch-to-buffer-other-frame): Rewrite.
11351 (display-buffer-same-window, display-buffer-same-frame)
11352 (display-buffer-same-frame-other-window)
11353 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11354 (pop-to-buffer-other-window)
11355 (pop-to-buffer-same-frame-other-window)
11356 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11357 (switch-to-buffer-other-window-same-frame): New functions.
11358 (same-window-p, special-display-p): Rewrite disabling warnings.
11359 Make obsolete.
11360 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11361 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11362 Make obsolete
11363 (same-window-buffer-names, same-window-regexps)
11364 (special-display-frame-alist, special-display-popup-frame)
11365 (special-display-function, special-display-buffer-names)
11366 (special-display-regexps, pop-up-frame-alist)
11367 (pop-up-frame-function, split-window-preferred-function)
11368 (split-height-threshold, split-width-threshold)
11369 (even-window-heights): Make obsolete.
11370
9db51aca
GM
113712011-06-12 Glenn Morris <rgm@gnu.org>
11372
11373 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11374 Misc simplifications.
9db51aca 11375
39cffb44
MR
113762011-06-12 Martin Rudalics <rudalics@gmx.at>
11377
11378 * window.el (window-safely-shrinkable-p): Restore function which
11379 was inadvertently removed in change from 2011-06-11. Declare as
11380 obsolete.
11381
2b75be67
SM
11382 * calendar/calendar.el (calendar-generate-window):
11383 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11384 window-safely-shrinkable-p.
11385
a8955be7
GM
113862011-06-12 Glenn Morris <rgm@gnu.org>
11387
11388 * progmodes/fortran.el (fortran-mode-syntax-table):
11389 * progmodes/f90.el (f90-mode-syntax-table):
11390 Set % to punctuation. (Bug#8820)
11391 (f90-find-tag-default): Remove, no longer needed.
11392
f0d4059d
DC
113932011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11394
11395 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11396
1100a63c
CY
113972011-06-11 Chong Yidong <cyd@stupidchicken.com>
11398
11399 * image.el (image-animated-p): Return animation delay in seconds.
11400 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11401 (image-animate-timeout): Remove DELAY argument. Don't assume
11402 every subimage has the same delay; get it from image-animated-p.
11403 (image-animate): Caller changed.
11404
def722bf
MA
114052011-06-11 Michael Albinus <michael.albinus@gmx.de>
11406
11407 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11408 to ignored backtrace functions.
11409
0a2bb1a9
GM
114102011-06-11 Glenn Morris <rgm@gnu.org>
11411
11412 * calendar/appt.el (appt-disp-window-function): Doc fix.
11413 (appt-check): Handle overlapping appointments. (Bug#8337)
11414
6198ccd0
MR
114152011-06-11 Martin Rudalics <rudalics@gmx.at>
11416
11417 * window.el (window-tree-1, window-tree): New functions, moving
11418 the latter to window.el.
11419 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11420 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11421 (bw-refresh-edges): Remove.
11422 (balance-windows-1, balance-windows-2): New functions.
11423 (balance-windows): Rewrite in terms of window tree functions,
11424 balance-windows-1 and balance-windows-2.
11425 (bw-adjust-window): Remove.
11426 (balance-windows-area-adjust): New function with functionality of
11427 bw-adjust-window but using resize-window.
2b75be67
SM
11428 (set-window-text-height): Rewrite doc-string.
11429 Use normalize-live-window and resize-window.
11430 (enlarge-window-horizontally, shrink-window-horizontally):
11431 Rename argument to DELTA.
6198ccd0
MR
11432 (window-buffer-height): New function.
11433 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11434 Rewrite using new window resize routines.
2b75be67
SM
11435 (kill-buffer-and-window, mouse-autoselect-window-select):
11436 Use ignore-errors instead of condition-case.
6198ccd0
MR
11437 (quit-window): Call delete-frame instead of delete-windows-on
11438 for the only buffer on frame.
11439
9397e56f
MR
114402011-06-10 Martin Rudalics <rudalics@gmx.at>
11441
11442 * loadup.el (top-level): Load window before files for the sake
11443 of replace-buffer-in-windows.
11444
11445 * files.el (read-buffer-to-switch)
11446 (switch-to-buffer-other-window)
2b75be67
SM
11447 (switch-to-buffer-other-frame, display-buffer-other-frame):
11448 Move to window.el.
9397e56f
MR
11449
11450 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11451 (previous-buffer): Move to window.el.
11452
11453 * bindings.el (unbury-buffer): Move to window.el.
11454
11455 * window.el (delete-other-windows-vertically): Move after
11456 definition of delete-other-windows.
11457 (other-window, delete-windows-on, replace-buffer-in-windows):
11458 Move here from window.c.
11459 (record-window-buffer, unrecord-window-buffer)
11460 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11461 (switch-to-next-buffer): New functions.
11462 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11463 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11464 (previous-buffer): Move here from simple.el.
11465 Call switch-to-prev-buffer.
9397e56f
MR
11466 (bury-buffer): Move here from buffer.c. Switch to previous
11467 buffer when window cannot be deleted.
11468 (unbury-buffer): Move here from bindings.el.
11469 (ctl-x-map): Move binding for other-window from window.c to
11470 here.
11471 (read-buffer-to-switch, switch-to-buffer-other-window)
11472 (switch-to-buffer-other-frame): Move here from files.el.
11473 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11474 (switch-to-buffer): Move here from buffer.c.
11475 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11476
562dd5e9
MR
114772011-06-10 Martin Rudalics <rudalics@gmx.at>
11478
11479 * window.el (window-min-height, window-min-width): Move here
11480 from window.c. Add defcustoms and rewrite doc-strings.
11481 (resize-mini-window, resize-window): New functions.
11482 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11483 Move here from window.c.
11484 (maximize-window, minimize-window): New functions.
11485 (delete-window, delete-other-windows, split-window): Move here
11486 from window.c.
11487 (window-split-min-size): New function.
11488 (split-window-keep-point): Mention split-window-above-each-other
11489 instead of split-window-vertically.
2b75be67 11490 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11491 Rename split-window-vertically to split-window-above-each-other
11492 and provide defalias for old definition.
11493 (split-window-side-by-side, split-window-horizontally):
11494 Rename split-window-horizontally to split-window-side-by-side
11495 and provide defalias for the old definition.
562dd5e9
MR
11496 (ctl-x-map): Move bindings for delete-window,
11497 delete-other-windows and enlarge-window here from window.c.
11498 Replace bindings for split-window-vertically and
11499 split-window-horizontally by bindings for
11500 split-window-above-each-other and split-window-side-by-side.
11501
11502 * cus-start.el (all): Remove entries for window-min-height and
11503 window-min-width. Add entries for window-splits and
11504 window-nest.
11505
f0da764a
GM
115062011-06-09 Glenn Morris <rgm@gnu.org>
11507
80675c21
GM
11508 * calendar/appt.el (appt-mode-line): New function.
11509 (appt-check, appt-disp-window): Use it.
11510
f0da764a
GM
11511 * files.el (hack-one-local-variable-eval-safep):
11512 Allow minor-modes with explicit +/-1 arguments.
11513
59f623b7
TZ
115142011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11515
11516 * term/xterm.el (xterm): Add defgroup.
11517 (xterm-extra-capabilities): Add defcustom to supply known xterm
11518 capabilities, skip querying them, or query them (default).
11519 (terminal-init-xterm): Use it.
11520 (terminal-init-xterm-modify-other-keys): New function to set up
11521 modifyOtherKeys support to simplify `terminal-init-xterm'.
11522
9aab8e0d
MR
115232011-06-09 Martin Rudalics <rudalics@gmx.at>
11524
11525 * window.el (resize-window-reset, resize-window-reset-1)
11526 (resize-subwindows-skip-p, resize-subwindows-normal)
11527 (resize-subwindows, resize-other-windows, resize-this-window)
11528 (resize-root-window, resize-root-window-vertically)
11529 (window-deletable-p, window-or-subwindow-p)
11530 (frame-root-window-p): New functions.
11531
e8b08aee
GM
115322011-06-09 Glenn Morris <rgm@gnu.org>
11533
11534 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11535 (ange-ftp-get-files): Use it.
11536
254c37a5
AK
115372011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11538
11539 * mail/sendmail.el (mail-recover-1, mail-recover):
11540 * files.el (recover-file, recover-session):
11541 Handle dired-listing-switches not being just a single short option.
11542
35d7dbd3
GM
115432011-06-09 Glenn Morris <rgm@gnu.org>
11544
11545 * calendar/appt.el (appt-display-message, appt-disp-window):
11546 Handle lists of appointments.
11547
387522b2
MR
115482011-06-08 Martin Rudalics <rudalics@gmx.at>
11549
2b75be67
SM
11550 * window.el (one-window-p): Move down in code.
11551 Rewrite doc-string.
11552 (window-current-scroll-bars): Rewrite doc-string.
11553 Normalize live window argument.
387522b2
MR
11554 (walk-windows, get-window-with-predicate, count-windows):
11555 Rewrite doc-string. Use window-list-1.
11556 (window-in-direction-2, window-in-direction, get-mru-window):
11557 New functions.
11558
d8e4b68b 115592011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11560
11561 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11562 Doc fix (Bug#8713).
11563
115642011-06-08 Chong Yidong <cyd@stupidchicken.com>
11565
11566 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11567
115682011-06-08 Juanma Barranquero <lekktu@gmail.com>
11569
11570 * loadhist.el (unload-feature-special-hooks):
11571 Add `comint-output-filter-functions'.
11572
0de12c52
IK
115732011-06-08 Ivan Kanis <gnu@kanis.fr>
11574
11575 * calendar/appt.el (appt-check): Move some initializations into the let.
11576
f3d1777e
MR
115772011-06-08 Martin Rudalics <rudalics@gmx.at>
11578
11579 * window.el (window-height): Defalias to window-total-height.
11580 (window-width): Defalias to window-body-width.
11581
18af70d0
CY
115822011-06-07 Chong Yidong <cyd@stupidchicken.com>
11583
11584 * image-mode.el (image-toggle-animation): New command.
11585 (image-mode-map): Bind it to RET.
11586 (image-mode): Update message.
11587 (image-toggle-display-image): Avoid a spurious cache flush.
11588 (image-transform-rotation): Doc fix.
11589 (image-transform-properties): Return quickly in the normal case.
11590 (image-animate-loop): Rename from image-animate-max-time.
11591
2b75be67 11592 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11593 (create-animated-image): Remove unnecessary function.
11594 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11595 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11596 (image-animate-timer): Use car-safe.
11597 (image-animate-timeout): Rename argument.
11598
190b47e6
MR
115992011-06-07 Martin Rudalics <rudalics@gmx.at>
11600
11601 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11602 window.c. Rename first argument to ALL-FRAMES.
11603 Rephrase doc-strings.
11604 (get-buffer-window-list): Rewrite using window-list-1.
11605 Rephrase doc-string.
a1511caf
MR
11606 (window-safe-min-height, window-safe-min-width): New constants.
11607 (window-size-ignore, window-min-size, window-min-size-1)
11608 (window-sizable, window-sizable-p, window-size-fixed-1)
11609 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11610 (window-max-delta-1, window-max-delta, window-resizable)
11611 (window-resizable-p, window-total-height, window-total-width)
11612 (window-body-width): New functions.
11613 (window-full-height-p, window-full-width-p): Rewrite using
11614 window-total-size.
11615 (window-body-height): Rewrite using window-body-size.
190b47e6 11616
85cc1f11
MR
116172011-06-06 Martin Rudalics <rudalics@gmx.at>
11618
11619 * window.el (window-right, window-left, window-child)
11620 (window-child-count, window-last-child, window-any-p)
11621 (normalize-live-buffer, normalize-live-frame)
11622 (normalize-any-window, normalize-live-window)
11623 (window-iso-combination-p, window-iso-combined-p)
11624 (window-iso-combinations)
11625 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11626 (windows-with-parameter, window-with-parameter)
11627 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11628 (window-atom-check, window-side-check, window-check):
11629 New functions.
85cc1f11
MR
11630 (ignore-window-parameters, window-sides, window-sides-vertical)
11631 (window-sides-slots): New variables.
11632 (window-size-fixed): Move down in code. Minor doc-string fix.
11633
e7156492
AS
116342011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11635
11636 * comint.el (comint-dynamic-complete-as-filename)
11637 (comint-dynamic-complete-filename): Correctly call
11638 completion-in-region.
11639
7e821d0d
DD
116402011-06-05 Deniz Dogan <deniz@dogan.se>
11641
11642 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11643 in last change.
11644
ac09b8a1
DD
116452011-06-05 Deniz Dogan <deniz@dogan.se>
11646
11647 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11648 (rcirc): Use it to prompt for encryption.
11649
34699b85
RW
116502011-06-05 Roland Winkler <winkler@gnu.org>
11651
11652 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11653 (bibtex-search-entries): New command bound to C-c C-a.
11654 (bibtex-display-entries): New function.
11655
004dedd3
RW
116562011-06-05 Roland Winkler <winkler@gnu.org>
11657
11658 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11659 (bibtex-insert-kill): After yanking insert newline if necessary.
11660 (bibtex-initialize): Call bibtex-string-files-init only once.
11661 (bibtex-mode): Do not call easy-menu-add.
11662 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11663 (bibtex-yank): Set arg properly if nil.
11664
022fe7ce
RW
116652011-06-05 Roland Winkler <winkler@gnu.org>
11666
2b75be67
SM
11667 * textmodes/bibtex.el (bibtex-search-entry-globally):
11668 New variable.
022fe7ce
RW
11669 (bibtex-search-entry): Use it.
11670
b7c3692a
RW
116712011-06-05 Roland Winkler <winkler@gnu.org>
11672
11673 * textmodes/bibtex.el (bibtex-entry-format): New option
11674 sort-fields.
11675 (bibtex-format-entry, bibtex-reformat): Honor this option.
11676 (bibtex-parse-entry): Return fields in proper order.
11677
8eda563d
JB
116782011-06-05 Juanma Barranquero <lekktu@gmail.com>
11679
11680 * doc-view.el (doc-view-remove-if): Move computation of result out
11681 of `dolist' to silence misleading lexical-binding warning.
11682
7dbe3dbc
CY
116832011-06-04 Chong Yidong <cyd@stupidchicken.com>
11684
11685 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11686 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11687
0c33dd17
MA
116882011-06-04 Michael Albinus <michael.albinus@gmx.de>
11689
11690 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11691 "SunOS 5.10".
11692
f8f91c2b
MA
116932011-06-04 Michael Albinus <michael.albinus@gmx.de>
11694
11695 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11696 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11697 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11698 (tramp-parse-putty):
11699 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11700 (tramp-completion-function-alist-ssh)
11701 (tramp-completion-function-alist-telnet)
11702 (tramp-completion-function-alist-su)
11703 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11704 cookie.
11705
11706 * net/tramp-ftp.el:
11707 * net/tramp-sh.el:
11708 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11709 load "tramp.el" `tramp-set-completion-function'.
11710
e17d9003
SM
117112011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 * shell.el: Require and use pcomplete.
11714 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11715 (shell-completion-vars): Set pcomplete-default-completion-function.
11716
6c4cab03
DD
117172011-06-04 Deniz Dogan <deniz@dogan.se>
11718
11719 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11720 `memq' (Bug#8799).
11721
ea9fafe0
SM
117222011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11725
b3e945d3
JB
117262011-06-02 Juanma Barranquero <lekktu@gmail.com>
11727
11728 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11729 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11730 * vc/log-view.el (log-view-beginning-of-defun):
11731 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11732 (smerge-refine-forward, smerge-refine-chopup-region):
11733 Silence warning for unused `dotimes' counter variables.
11734
7d520089
SM
117352011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * net/tramp.el (tramp-with-progress-reporter): Rename from
11738 with-progress-reporter. Use `declare'.
11739 * net/tramp-smb.el:
11740 * net/tramp-sh.el:
11741 * net/tramp-gvfs.el: Update all uses.
11742
a1c2400f
JB
117432011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11744
11745 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11746 buffer isn't killed before making it current.
11747
2403c841
SM
117482011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11749
11750 Silence various byte-compiler warnings.
11751 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11752 `access-type' and new obsolescence format.
11753 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11754 new format.
11755 (byte-compile-check-variable): New `access-type' argument.
11756 Only warn if the access-type is obsolete.
11757 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11758 (byte-compile-variable-set): Adjust callers.
11759 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11760 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11761 setting it as obsolete.
11762 * simple.el (minibuffer-completing-symbol):
11763 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11764 access as obsolete.
11765 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11766 obsolete yet.
11767 * international/quail.el (quail-mouse-choose-completion): Remove unused
11768 code referring to obsolete var.
11769 (quail-choose-completion-string): Remove.
11770 * server.el (server-clients-with, server-kill-buffer-query-function)
11771 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11772 * proced.el (proced-send-signal):
11773 * emacs-lisp/lisp.el (lisp-complete-symbol):
11774 Replace completion-annotate-function with completion-extra-properties.
11775
2462470b
SM
117762011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11777
fb5b2591
SM
11778 * simple.el (goto-line): Use read-number.
11779 (overriding-map-is-bound): Remove.
11780 (saved-overriding-map): Change default.
11781 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11782 Take the map as argument.
11783 (universal-argument, negative-argument, digit-argument): Use it.
11784 (restore-overriding-map): Adjust.
11785 (do-auto-fill): Use fill-forward-paragraph.
11786 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11787
fd6fa53f
SM
11788 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11789 (minibuffer-inactive-mode): New major mode.
11790 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11791 the *Messages* buffer" hack.
11792 (mouse-popup-menubar): Don't burp if the event is a normal key.
11793
2462470b
SM
11794 Miscellaneous tweaks.
11795 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11796 lexical scoping as in subr.el's dolist and dotimes.
11797 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11798 Silence compiler warning.
11799 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11800 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11801 * international/ccl.el (ccl-compile): Trivial simplification.
11802 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11803 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11804 `printflag' argument.
11805 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11806 Purecopy the whole obsolescence data.
11807
108bf785
LL
118082011-06-01 Leo Liu <sdl.web@gmail.com>
11809
11810 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11811 improve doc-string as suggested by Marco Pessotto
11812 <melmothx@gmail.com>.
11813 (rcirc-print): Fix last change.
11814
30a23501
SM
118152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * minibuffer.el (complete-with-action): Return nil for the metadata and
11818 boundaries of non-functional tables.
11819 (completion-table-dynamic): Return nil for the metadata.
11820 (completion-table-with-terminator): Add default case, using
11821 complete-with-action.
11822 (completion--metadata): New function.
11823 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11824 to try and avoid pathological performance problems.
11825 (completion--embedded-envvar-table): Return `category' metadata.
11826
bcd54f83
LMI
118272011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11828
11829 * subr.el (process-alive-p): New tiny convenience function.
11830
e227544d
SM
118312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11832
11833 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11834 content but also its previous major mode.
11835
e8296fdc
HE
118362011-05-31 Helmut Eller <eller.helmut@gmail.com>
11837
4d61f28d 11838 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11839 *Backtrace* buffer when we exit with C-M-c.
11840
620c53a6
SM
118412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11842
11843 * minibuffer.el: Add metadata method to completion tables.
11844 (completion-category-overrides): New defcustom.
11845 (completion-metadata, completion--field-metadata)
11846 (completion-metadata-get, completion--styles)
11847 (completion--cycle-threshold): New functions.
11848 (completion-try-completion, completion-all-completions):
11849 Add `metadata' argument to choose completion-styles.
11850 (completion--do-completion): Use metadata to choose cycling.
11851 (completion-all-sorted-completions): Use metadata for sorting.
11852 Remove :completion-cycle-penalty which is not needed any more.
11853 (completion--try-word-completion): Add `metadata' argument.
11854 (minibuffer-completion-help): Check metadata for annotation function
11855 and sorting.
11856 (completion-file-name-table): Return `category' metadata.
11857 (minibuffer-completing-file-name): Make obsolete.
11858 * simple.el (minibuffer-completing-symbol): Make obsolete.
11859 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11860 completion-try-completion.
11861
1257e755
SM
118622011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11863
11864 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11865
3767e706
LL
118662011-05-30 Leo Liu <sdl.web@gmail.com>
11867
11868 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11869 (rcirc-print): Decode all incoming messages (bug#8744).
11870 (rcirc-decode-coding-system): Allow value nil for automatic coding
11871 system detection.
3767e706 11872
d1a5d56a
GM
118732011-06-01 Glenn Morris <rgm@gnu.org>
11874
11875 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11876
e8cbec34
CY
118772011-05-29 Chong Yidong <cyd@stupidchicken.com>
11878
11879 * image.el (image-animate-max-time): Allow nil and t values.
11880 Default to nil.
11881 (create-animated-image): Doc fix.
11882 (image-animate-start): Remove second arg; just use
11883 image-animate-max-time.
11884 (image-animate-timeout): Doc fix. Args changed.
11885
11886 * image-mode.el (image-toggle-display-image): Ensure that the
11887 image spec passed to the animate timer is the same object as in
58179cce 11888 the buffer's display property (Bug#6981).
e8cbec34
CY
11889 (image-transform-properties): Doc fix.
11890
11891 * image.el (image-animate-max-time): Default to nil.
11892
159daf87
MR
118932011-05-29 Martin Rudalics <rudalics@gmx.at>
11894
11895 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11896 entire buffer list (Bug#8184).
11897
d66c4c7c
CY
118982011-05-29 Chong Yidong <cyd@stupidchicken.com>
11899
11900 * image.el (imagemagick-types-inhibit)
11901 (imagemagick-register-types): Doc fix.
11902
80aec780
DD
119032011-05-29 Deniz Dogan <deniz@dogan.se>
11904
11905 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11906 default.
11907
1dd3c2d9
CY
119082011-05-29 Chong Yidong <cyd@stupidchicken.com>
11909
11910 * select.el: Don't perform clipboard-manager saving in hooks;
11911 leave the hooks empty.
11912
60e56523
LL
119132011-05-28 Leo Liu <sdl.web@gmail.com>
11914
11915 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11916 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11917 (occur-edit-mode): New major mode (Bug#8463).
11918 (occur-after-change-function): New function.
11919 (occur-engine): Give Occur tags a read-only property.
11920
2b1e1a22
KR
119212011-05-28 Kevin Ryde <user42@zip.com.au>
11922
11923 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11924
5d344e88
CY
119252011-05-28 Chong Yidong <cyd@stupidchicken.com>
11926
8e6ca83d
CY
11927 * bindings.el (help-echo): Make the initial non-indicator dash
11928 empty on graphical terminals (Bug#7295).
11929
5d344e88
CY
11930 * files.el (auto-mode-alist): Move config rule after the
11931 in-stripping one (Bug#8547).
11932
bfbbace7
CY
11933 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11934
fbeba6e2
CY
11935 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11936 setting (Bug#8740).
11937
60ed8c72
AA
119382011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11939
4ac619f0
AA
11940 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11941 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11942 (Bug#8539).
60ed8c72 11943
23db196e
CY
119442011-05-28 Chong Yidong <cyd@stupidchicken.com>
11945
11946 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11947
5012f24c
DK
119482011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11949
11950 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11951 (hs-hide-block-at-point, hs-find-block-beginning)
11952 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11953 (Bug#8279).
11954
6a639b16
GM
119552011-05-28 Glenn Morris <rgm@gnu.org>
11956
11957 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11958
d43eaf2c
CY
119592011-05-28 Chong Yidong <cyd@stupidchicken.com>
11960
5199bde1
CY
11961 * help-fns.el (describe-function-1): If the function is a derived
11962 major mode, print the parent mode.
11963
d43eaf2c
CY
11964 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11965 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11966
423428a8
SM
119672011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11968
0ff8e1ba 11969 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11970 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11971 * progmodes/etags.el (tags-completion-at-point-function):
11972 * info-look.el (info-lookup-completions-at-point): Mark as
11973 non-exclusive.
11974 (info-complete): Adjust accordingly.
11975
423428a8
SM
11976 * info-look.el: Convert to lexical-binding and completion-at-point.
11977 (info-lookup-completions-at-point): New function.
11978 (info-complete): Use it and completion-in-region.
11979
b74aa22b
DA
119802011-05-28 Drew Adams <drew.adams@oracle.com>
11981
11982 * isearch.el: Let M-e start with point at the first mismatched char.
11983 (isearch-fail-pos): New function.
11984 (isearch-edit-string): Use it.
11985
66e2e71d
DK
119862011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11987
11988 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11989
b1890b0f 119902011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11991
11992 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11993 traversal functions for avl-trees.
11994 (avl-tree--stack): New struct.
11995 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11996 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11997 (avl-tree--do-enter): Add optional `updatefun' arg.
11998 Change return value.
eb95d01d 11999 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12000 (avl-tree--do-delete): Add `test' and `nilflag' args.
12001 Change return value.
eb95d01d
TC
12002 (avl-tree-member): Add optional `nilflag'
12003 (avl-tree-member-p): New function.
12004 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12005 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12006 (avl-tree-stack-empty-p): New functions.
12007
3769ddcf
TC
12008 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12009 avl-tree--del-balance1 and make it work both ways.
12010 (avl-tree--del-balance2): Remove.
12011 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12012 make it work both ways.
12013 (avl-tree--enter-balance2): Remove.
12014 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12015 New macros.
12016 (avl-tree--mapc, avl-tree-map): Add direction argument.
12017
eb95d01d 120182011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12019
12020 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12021
a9f737ee
CY
120222011-05-27 Chong Yidong <cyd@stupidchicken.com>
12023
12024 * select.el: Support clipboard managers with built-in function
12025 x-clipboard-manager-save, via delete-frame-functions and
12026 kill-emacs-hook.
12027 (xselect-convert-to-targets): Add MULTIPLE target to list.
12028 (xselect-convert-to-save-targets): New function.
12029
c92a1e54
KH
120302011-05-27 Kenichi Handa <handa@m17n.org>
12031
12032 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12033 let-binding rfc2047-encode-encoded-words to nil.
12034
e145f188
GM
120352011-05-27 Glenn Morris <rgm@gnu.org>
12036
5ec8a862
GM
12037 * mail/emacsbug.el: Don't require url-util.
12038
4b29d9fb
GM
12039 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12040
e145f188
GM
12041 * files.el (set-auto-mode):
12042 Also respect mode: entries at the end of the file. (Bug#8586)
12043
7d15102b
GM
120442011-05-26 Glenn Morris <rgm@gnu.org>
12045
98f593b8
GM
12046 * files.el (hack-local-variables-prop-line, hack-local-variables):
12047 Downcase mode names, as seems to be traditional.
27b48e63 12048 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12049
7d15102b
GM
12050 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12051 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12052
51d5b4ec
JD
120532011-05-25 Julien Danjou <julien@danjou.info>
12054
12055 * textmodes/rst.el (rst-define-level-faces): Do not define face
12056 symbol if it is already defined.
12057
91513f63
VB
120582011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12059
12060 * play/5x5.el (5x5-new-game, 5x5-randomize):
12061 Reset 5x5-solver-output to nil when a new grid is cast.
12062 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12063 these debugging traces, as defmacro breaks the compiled code.
12064
4d90d6d0
DK
120652011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12066
12067 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12068
e1b90ef6
LL
120692011-05-24 Leo Liu <sdl.web@gmail.com>
12070
12071 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12072 (vc-bzr-sha1): Adapt.
12073
d8e4b68b 12074 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12075
12076 * bindings.el: Provide sha1 feature.
12077
db0406bb 120782011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12079
12080 * mail/sendmail.el: Require `rfc2047'.
12081 (mail-insert-from-field): Do not perform RFC2047 encoding.
12082 (mail-encode-header): New function.
12083 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12084 buffer to the return value of select-message-coding-system.
12085 Call mail-encode-header.
b8d747b9
KH
12086
12087 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12088
db0406bb 120892011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12090
4d90d6d0
DK
12091 * mail/supercite.el (sc-default-cite-frame):
12092 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12093
eb8a5e9b
GM
120942011-05-24 Glenn Morris <rgm@gnu.org>
12095
f8630703
GM
12096 * progmodes/python.el (brm-menu): Declare.
12097
8831bbed
GM
12098 * emulation/viper.el (viper-set-hooks): Declare.
12099
eb8a5e9b
GM
12100 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12101 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12102 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12103 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12104 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12105 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12106
a2a25d24
SM
121072011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12108
12109 Add an :exit-function for completion-at-point.
12110
12111 * minibuffer.el (completion--done): New fun.
12112 (completion--do-completion): Use it. New arg `expect-exact'.
12113 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12114 since completion--do-completion does it for us now.
12115 (minibuffer-force-complete): Use completion--done and
12116 completion--replace. Handle sole-completion case with more care.
12117 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12118 (completion-extra-properties): New var.
12119 (completion-annotate-function): Make obsolete.
12120 (minibuffer-completion-help): Adjust accordingly.
12121 Use completion-list-insert-choice-function.
12122 (completion-at-point, completion-help-at-point):
12123 Bind completion-extra-properties.
12124 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12125 * simple.el (completion-list-insert-choice-function): New var.
12126 (completion-setup-function): Preserve it.
12127 (choose-completion): Pay attention to it, shuffle the code a bit.
12128 (choose-completion-string): New arg `insert-function'.
12129
12130 * textmodes/bibtex.el: Convert to lexical binding.
12131 (bibtex-mode-map): Use completion-at-point.
12132 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12133 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12134 (bibtex-complete): Define as obsolete alias.
12135 (bibtex-complete-internal): Remove.
12136 (bibtex-format-entry): Remove unused sub-group in regexp.
12137 * shell.el (shell--command-completion-data)
12138 (shell-environment-variable-completion):
12139 * pcomplete.el (pcomplete-completions-at-point):
12140 * comint.el (comint--complete-file-name-data): Use :exit-function
12141 instead of completion-table-with-terminator so it also works for
12142 choose-completion.
12143
e44e373d
SM
121442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12145
4f91a816
SM
12146 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12147
782fc819
SM
12148 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12149 (bug#8710).
12150
e44e373d
SM
12151 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12152
381987c3
KM
121532011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12154
12155 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12156 customization variable and implement: If non-nil, auto-fill will
12157 be inhibited while on topic's header line.
12158
b776bc70
VB
121592011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12160
12161 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12162 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12163 always have a solution in grid size = 5 cases.
12164 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12165 (5x5-solver-output, 5x5-log-buffer): New vars.
12166 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12167 Make these variables buffer local to achieve 5x5 multi-session-ness.
12168 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12169 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12170 (5x5-solve-suggest): New funs.
12171 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12172 randomize a grid so that we ensure that there is always a solution.
12173 (5x5-make-random-grid): Allow other movement than flipping.
12174
7de88b6e
KR
121752011-05-23 Kevin Ryde <user42@zip.com.au>
12176
12177 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12178 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12179 advice and passes PREDICATE.
12180
b1ef1257
SM
121812011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12182
bbca48fe
SM
12183 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12184 byte-compile-lambda if it's actually a lambda.
12185
b1ef1257
SM
12186 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12187 Fix function quoting. Use backquote better.
12188
92a9cc65
YS
121892011-05-22 Yuanle Song <sylecn@gmail.com>
12190
12191 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12192 matching (Bug#8516).
12193
f0fb8059
JA
121942011-01-22 Jari Aalto <jari.aalto@cante.net>
12195
12196 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12197 different face (Bug#8178).
12198
d5b44c93
CY
121992011-05-22 Chong Yidong <cyd@stupidchicken.com>
12200
12201 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12202 defface (Bug#8144).
12203
79106a44
SM
122042011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12205
9c848d8a
SM
12206 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12207 funcall as well (bug#8712). Warn when performing those conversions.
12208 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12209
79106a44
SM
12210 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12211
88dfa756
GM
122122011-05-22 Glenn Morris <rgm@gnu.org>
12213
12214 * files.el (hack-local-variables-prop-line): Small simplifications.
12215 (hack-local-variables, hack-local-variables-prop-line):
12216 If MODE-ONLY, return the mode, rather than just `t'.
12217
b7cf2c79
SM
122182011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12219
12220 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12221
3f1a8558
GM
122222011-05-21 Glenn Morris <rgm@gnu.org>
12223
7e4ccca3
GM
12224 * files.el (hack-local-variables-prop-line, hack-local-variables):
12225 If only interested in the mode, don't bother doing the other stuff.
12226
637d46ca
GM
12227 * image-mode.el (image-after-revert-hook):
12228 Redraw all frames on which the image is visible. (Bug#8567)
12229
973d955b
GM
12230 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12231
3f1a8558
GM
12232 * wid-edit.el (widget-checklist-match-inline):
12233 Fix 2011-04-19 change. (Bug#8649)
12234
96479927
SM
122352011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12236
1dcf791f
SM
12237 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12238 Also allow singlespace after single-letter capitals followed by a dot.
12239
96479927
SM
12240 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12241 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12242
35fd0881
N
122432011-05-20 Nix <nix@esperi.org.uk>
12244
12245 * files.el (basic-save-buffer-2):
12246 Fix handling of break-hardlink-on-save with non-existent files.
12247
82745640
DD
122482011-05-19 Deniz Dogan <deniz@dogan.se>
12249
12250 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12251 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12252
4a720484
GM
122532011-05-19 Glenn Morris <rgm@gnu.org>
12254
d1f21341
GM
12255 * progmodes/f90.el (f90-type-def-re):
12256 Handle "type, bind(c)". (Bug#8691)
12257
4a720484
GM
12258 * emacs-lisp/autoload.el (batch-update-autoloads):
12259 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12260
2fb0a219
MA
122612011-05-18 Michael Albinus <michael.albinus@gmx.de>
12262
12263 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12264 property for the correct connection in case of multihops.
12265
e565dd37
GM
122662011-05-18 Glenn Morris <rgm@gnu.org>
12267
c2571358 12268 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12269 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12270
e565dd37
GM
12271 Rationalize calendar handling of day and month abbrev-arrays.
12272 * calendar/calendar.el (calendar-customized-p): New function.
12273 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12274 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12275 Add :set function.
12276 (calendar-abbrev-length, calendar-day-abbrev-array)
12277 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12278 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12279 Elements may no longer be nil.
12280 (calendar-day-name, calendar-month-name):
12281 Update for changed nature of abbrev arrays.
12282 * calendar/diary-lib.el (diary-name-pattern):
12283 Update for changed nature of abbrev arrays.
12284 (diary-mark-entries-1): Update calendar-make-alist calls.
12285 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12286 * calendar/cal-html.el (cal-html-day-abbrev-array):
12287 Simply inherit from calendar-day-abbrev-array.
12288
1d99a745
SM
122892011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12290
12291 * progmodes/grep.el (grep-mode): Disable default
12292 compilation-directory-matcher setting (bug#8684).
12293
7c1d9aa0
MA
122942011-05-17 Michael Albinus <michael.albinus@gmx.de>
12295
12296 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12297 instead of "head" and "tail". There were problems with SunOS 5.9,
12298 and it performs better.
12299
3952e9d8
GM
123002011-05-17 Glenn Morris <rgm@gnu.org>
12301
2dd12e7f
GM
12302 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12303
e4157b9c
GM
12304 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12305 Replace obsolete function.
12306
8e249bbd
GM
12307 * shell.el (pcomplete-parse-arguments-function): Declare.
12308
3952e9d8
GM
12309 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12310 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12311 (appt-check): Doc fixes.
12312 (appt-disp-window-function, appt-delete-window-function):
12313 Remove needless special case in custom :type.
12314 (appt-display-count): Default to 0, not nil.
12315 (appt-check): Reset appt-display-count to 0, not nil.
12316
c71a0d48 123172011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12318
c71a0d48
GM
12319 * progmodes/python.el (python-font-lock-keywords):
12320 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12321
31d55be9
SM
123222011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12323
12324 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12325
3bfacb2f
KR
123262011-05-16 Kevin Ryde <user42@zip.com.au>
12327
12328 * info-look.el (makefile-automake-mode): New setups, looking in
12329 automake manual, then makefile-mode.
12330 (makefile-mode): Remove automake manual, have it just in
12331 makefile-automake-mode since there's various things different or
12332 not relevant to plain make.
12333 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12334 believe a hypothetical automake-mode would go to makefile-mode,
12335 not the other way around.
12336
c8e83751
CY
123372011-05-15 Chong Yidong <cyd@stupidchicken.com>
12338
5e9e35cd
CY
12339 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12340 hunk-end tags (Bug#8672).
12341
c8e83751
CY
12342 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12343 vc-annotate-show-diff-revision-at-line (Bug#8671).
12344
50b23e5a
GM
123452011-05-14 Glenn Morris <rgm@gnu.org>
12346
7210a739
GM
12347 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12348 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12349 (change-log-font-lock-keywords): Also handle multiple author lines
12350 with leading tabs. (Bug#8644)
7210a739 12351
4691905a
GM
12352 * calendar/appt.el (appt-check): Rename some local variables.
12353 Some simplification/reordering.
12354
50b23e5a
GM
12355 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12356 (feedmail-sendmail-f-doesnt-sell-me-out)
12357 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12358 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12359 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12360 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12361 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12362 (feedmail-binmail-gnulinuxish-template):
12363 Rename from feedmail-binmail-linuxish-template.
12364 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12365 Use insert-buffer-substring.
12366
215cda7c
BC
123672011-05-14 Bill Carpenter <bill@carpenter.org>
12368
12369 * mail/feedmail.el (feedmail-patch-level): Increase.
12370 (feedmail-debug): New custom group.
12371 (feedmail-confirm-outgoing-timeout)
12372 (feedmail-sendmail-f-doesnt-sell-me-out)
12373 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12374 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12375 (feedmail-sender-line, feedmail-from-line)
12376 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12377 (feedmail-spray-this-address)
215cda7c
BC
12378 (feedmail-spray-address-fiddle-plex-list)
12379 (feedmail-queue-use-send-time-for-date)
12380 (feedmail-queue-use-send-time-for-message-id)
12381 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12382 (feedmail-buffer-eating-function):
12383 Doc fixes.
12384 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12385 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12386 (feedmail-message-action-scroll-down): New functions.
12387 (feedmail-queue-directory, feedmail-queue-draft-directory):
12388 Use expand-file-name.
12389 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12390 Remove C-v help entry.
12391 (feedmail-queue-buffer-file-name): New variable.
12392 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12393 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12394 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12395 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12396 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12397 (feedmail-message-action-toggle-spray)
12398 (feedmail-run-the-queue-no-prompts)
12399 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12400 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12401 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12402 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12403 (feedmail-envelope-deducer, feedmail-fiddle-from)
12404 (feedmail-fiddle-sender, feedmail-default-date-generator)
12405 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12406 (feedmail-fiddle-spray-address)
12407 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12408 (feedmail-fiddle-list-of-fiddle-plexes)
12409 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12410 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12411 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12412 Change default. Doc fix.
12413 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12414 (feedmail-binmail-linuxish-template): New constant.
12415 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12416 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12417 (feedmail-send-it): Add debug call.
12418 Use feedmail-queue-buffer-file-name, and
12419 feedmail-send-it-immediately-wrapper.
12420 (feedmail-message-action-send): Add debug call.
12421 Use feedmail-send-it-immediately-wrapper.
12422 (feedmail-queue-express-to-queue): Add debug call.
12423 Run feedmail-queue-express-hook.
12424 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12425 (feedmail-message-action-help-blat):
12426 Rename from feedmail-queue-send-edit-prompt-help-first.
12427 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12428 Check line-endings. Handle errors better.
12429 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12430 Doc fix. Add debug call.
12431 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12432 Use feedmail-queue-send-edit-prompt-inner.
12433 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12434 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12435 from feedmail-queue-send-edit-prompt.
12436 (feedmail-queue-send-edit-prompt-help)
12437 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12438 (feedmail-tidy-up-slug): Add debug call.
12439 Respect feedmail-queue-slug-suspect-regexp.
12440 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12441 (feedmail-dump-message-to-queue): Add debug call.
12442 Expand queue-directory.
12443 (feedmail-dump-message-to-queue): Change message slightly.
12444 Use feedmail-say-chatter.
12445 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12446 (feedmail-send-it-immediately-wrapper): New function.
12447 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12448 Insert empty string rather than newline. Handle full-frame case.
12449 Use catch/throw. Use feedmail-say-chatter.
12450 (feedmail-fiddle-from): Try mail-host-address.
12451 (feedmail-default-message-id-generator): Doc fix.
12452 Bind system-time-locale. Handle missing end.
12453 (feedmail-fiddle-x-mailer): Add debug call.
12454 Handle feedmail-x-mailer-line being nil.
12455 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12456 Add debug call. Use buffer-substring-no-properties.
12457 (feedmail-say-debug, feedmail-say-chatter): New functions.
12458 (feedmail-find-eoh): Give an explicit error.
12459
42c7e61e
UJ
124602011-05-13 Ulf Jasper <ulf.jasper@web.de>
12461
c2571358 12462 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12463 family from helvetica to sans.
c2571358 12464 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12465 etc/images/newsticker.
12466
c2571358 12467 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12468 family from helvetica to sans.
12469
12470 * net/newst-plainview.el (newsticker-new-item-face)
12471 (newsticker-old-item-face, newsticker-immortal-item-face)
12472 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12473 (newsticker-statistics-face): Change default family from
42c7e61e 12474 helvetica to sans.
c2571358 12475 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12476 etc/images/newsticker.
12477
5d3385a0
JB
12478 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12479 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12480 auto-marking.
12481
8497a297
DV
124822011-05-13 Didier Verna <didier@xemacs.org>
12483
12484 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12485 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12486 TODO entries.
8497a297
DV
12487 (lisp-lambda-list-keyword-parameter-indentation)
12488 (lisp-lambda-list-keyword-parameter-alignment)
12489 (lisp-lambda-list-keyword-alignment): New customizable user options.
12490 (lisp-indent-defun-method): Improve docstring.
12491 (extended-loop-p): Fix comment.
12492 (lisp-indent-lambda-list-keywords-regexp): New variable.
12493 (lisp-indent-lambda-list): New function.
12494 (lisp-indent-259): Use it.
12495 (lisp-indent-defmethod): Support for more than one
12496 method qualifier and properly indent methods lambda-lists.
12497 (defgeneric): Provide a missing common-lisp-indent-function property.
12498
f278f87f
SM
124992011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12500
12501 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12502 bounds for the empty string (bug#8667).
12503
5233edd7
GM
125042011-05-13 Glenn Morris <rgm@gnu.org>
12505
5237a44f
GM
12506 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12507
8340026c 12508 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12509 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12510
5233edd7 12511 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12512 (appt-time-msg-list): Doc fix.
a5464014 12513 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12514
92d10796
AS
125152011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12516
12517 * progmodes/ld-script.el (ld-script-keywords)
12518 (ld-script-builtins): Update keywords list.
12519
914a0ae1
SM
125202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12521
c89be45f
SM
12522 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12523
914a0ae1
SM
12524 * shell.el (shell-completion-vars): New function.
12525 (shell-mode):
12526 * simple.el (read-shell-command): Use it.
12527 (blink-matching-open): No need for " [...]" in minibuffer-message.
12528
98dc3df3
GM
125292011-05-12 Glenn Morris <rgm@gnu.org>
12530
12531 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12532 (appt-check): Simplify.
12533
d2fc7e3d 125342011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12535
4d61f28d 12536 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12537 literal "/dev/null".
12538
d2fc7e3d 125392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12540
12541 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12542 Fix typo.
12543
d2fc7e3d 125442011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12545
3f254caa
SM
12546 * progmodes/which-func.el (which-function):
12547 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12548 which might not be defined (Bug#8260).
12549
d45885f7
GM
125502011-05-12 Glenn Morris <rgm@gnu.org>
12551
12552 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12553 Let byte-compile-initial-macro-environment always take precedence.
12554
488086f4
SM
125552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12556
12557 * net/rcirc.el: Add support for SSL/TLS connections.
12558 (rcirc-server-alist): New field `encryption'.
12559 (rcirc): Check `encryption' settings.
12560 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12561 Merge make-local-variable into `set'.
12562 (rcirc--connection-open-p): New function.
12563 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12564 the process is not a network process (e.g. running gnutls-cli).
12565 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12566 Make rcirc-(en|de)code-coding-system local here.
12567 (rcirc-mode): Merge make-local-variable into `set'.
12568 (rcirc-parent-buffer): Make permanent buffer-local.
12569 (rcirc-multiline-minor-mode): Don't do it here.
12570 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12571 there's no server buffer.
12572
7d3b9d44
GM
125732011-05-11 Glenn Morris <rgm@gnu.org>
12574
f64049c6
GM
12575 * newcomment.el (comment-kill): Prefix "unused" local.
12576
93c9df73
GM
12577 * term/w32console.el (get-screen-color): Declare.
12578
7d3b9d44
GM
12579 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12580 Handle symbol elements of byte-compile-initial-macro-environment.
12581
9e2dd53f
LL
125822011-05-10 Leo Liu <sdl.web@gmail.com>
12583
488086f4
SM
12584 * bookmark.el (bookmark-bmenu-mode-map):
12585 Bind bookmark-bmenu-search to `/'.
8b340240 12586
9e2dd53f 12587 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12588 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12589 (Footnote-unicode): New function.
12590 (footnote-style-alist): Add unicode style to the list.
12591 (footnote-style): Doc fix.
9e2dd53f 12592
79b70037
GM
125932011-05-10 Jim Meyering <meyering@redhat.com>
12594
12595 Fix doubled-word typos.
12596 * international/quail.el (quail-insert-kbd-layout): and and -> and
12597 * kermit.el: and and -> and
12598 * net/ldap.el (ldap-search-internal): to to -> to
12599 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12600 * progmodes/js.el (js-mode): and and -> and
12601 * textmodes/artist.el (artist-move-to-xy): at at -> at
12602 (artist-draw-region-trim-line-endings): if if -> if
12603 And Safetyc -> Safety.
12604 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12605
b8f82dc1 126062011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12607 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12608
12609 * files.el (hack-one-local-variable-eval-safep):
12610 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12611
4f99f44b
GM
126122011-05-10 Glenn Morris <rgm@gnu.org>
12613
12614 * calendar/diary-lib.el (diary-list-entries-hook)
12615 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12616 (diary-nongregorian-marking-hook, diary-list-entries)
12617 (diary-include-other-diary-files, diary-mark-entries)
12618 (diary-mark-included-diary-files): Doc fixes.
12619
84f29e6b
JB
126202011-05-09 Juanma Barranquero <lekktu@gmail.com>
12621
12622 * misc.el: Require tabulated-list.el during compilation.
12623
9bedd73a
CY
126242011-05-09 Chong Yidong <cyd@stupidchicken.com>
12625
488086f4
SM
12626 * progmodes/compile.el (compilation-start):
12627 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12628 (compilation-filter-hook): Doc fix.
12629
797c735c
DD
126302011-05-09 Deniz Dogan <deniz@dogan.se>
12631
12632 * wdired.el: Remove outdated installation comment. Fix usage
12633 comment.
12634
5f4b1dfe
JB
126352011-05-09 Juanma Barranquero <lekktu@gmail.com>
12636
12637 * misc.el: Implement new command `list-dynamic-libraries'.
12638 (list-dynamic-libraries--loaded-only-p): New variable.
12639 (list-dynamic-libraries--refresh): New function.
12640 (list-dynamic-libraries): New command.
12641
4c44026c
CY
126422011-05-09 Chong Yidong <cyd@stupidchicken.com>
12643
488086f4
SM
12644 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12645 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12646 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12647 higher priority to avoid clobbering by gnu.
12648
027f966d
CY
126492011-05-08 Chong Yidong <cyd@stupidchicken.com>
12650
12651 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12652 if the face has existing theme settings (Bug#8454).
12653
085f5d7d
CY
126542011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12655
488086f4
SM
12656 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12657 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12658
2a86a00c
RS
12659 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12660 special file names `.' and `..' (Bug#8259).
12661
d9c54a06
CY
126622011-05-08 Chong Yidong <cyd@stupidchicken.com>
12663
488086f4
SM
12664 * progmodes/grep.el (grep-mode-font-lock-keywords):
12665 Remove buffer-changing entries.
d9c54a06
CY
12666 (grep-filter): New function.
12667 (grep-mode): Add it to compilation-filter-hook.
12668
12669 * progmodes/compile.el (compilation-filter-hook)
12670 (compilation-filter-start): New defvars.
12671 (compilation-filter): Call compilation-filter-hook prior to
12672 updating the process mark.
12673
c4662635
SM
126742011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12675
12676 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12677
b0512a1d
EZ
126782011-05-07 Eli Zaretskii <eliz@gnu.org>
12679
605c9376
EZ
12680 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12681 mailclient-send-it even if window-system is nil. (Bug#8595)
12682
c4662635
SM
12683 * term/w32console.el (terminal-init-w32console):
12684 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12685 background-mode. (Bug#8597)
12686
d1dc2cc2
SM
126872011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12690 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12691 New functions.
12692 (defgeneric, eieio--defmethod): Use them.
12693 (eieio-defgeneric): Remove.
12694 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12695
915d1300
GM
126962011-05-07 Glenn Morris <rgm@gnu.org>
12697
a3961c3e
GM
12698 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12699 Use let rather than let*.
12700 (timeclock-find-discrep): Remove unused local.
12701
314347b9
GM
12702 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12703
915d1300
GM
12704 * calendar/appt.el (appt-time-msg-list): Doc fix.
12705
275b59b0
NF
127062011-05-06 Noah Friedman <friedman@splode.com>
12707
12708 * apropos.el (apropos-print-doc): Only use
12709 emacs-lisp-docstring-fill-column when it is bound to an integer,
12710 per that variable's documentation.
12711
6c19f744
SM
127122011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12713
12714 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12715 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12716
60f884b2
GM
127172011-05-06 Glenn Morris <rgm@gnu.org>
12718
5006e634
GM
12719 * calendar/appt.el (appt-message-warning-time): Doc fix.
12720 (appt-warning-time-regexp): New option.
12721 (appt-make-list): Respect appt-message-warning-time.
12722
548d0a63
GM
12723 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12724 New options.
12725 (diary-add-to-list): Strip comments from the displayed string.
12726 (diary-mode): Set comment-start and comment-end.
12727
60f884b2
GM
12728 * vc/diff-mode.el (smerge-refine-subst): Declare.
12729 (diff-refine-hunk): Don't require smerge-mode when compiling.
12730
989681bb
JB
127312011-05-06 Juanma Barranquero <lekktu@gmail.com>
12732
12733 * simple.el (list-processes): Return nil as the docstring says.
12734
a6bc05e1
MA
127352011-05-05 Michael Albinus <michael.albinus@gmx.de>
12736
12737 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12738 to "".
12739 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12740 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12741 determining of binary transfer. (Bug#7383)
12742
23c22e9a
MA
127432011-05-05 Michael Albinus <michael.albinus@gmx.de>
12744
c4662635
SM
12745 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12746 Fix port computation bug. (Bug#8618)
23c22e9a 12747
0bff894f
GM
127482011-05-05 Glenn Morris <rgm@gnu.org>
12749
b8296902
GM
12750 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12751
1f522ce8
GM
12752 * simple.el (shell-dynamic-complete-functions)
12753 (comint-dynamic-complete-functions): Declare.
12754
cf5bee67
GM
12755 * net/network-stream.el (gnutls-negotiate):
12756 * simple.el (tabulated-list-print): Fix declarations.
12757
12758 * progmodes/gud.el (syntax-symbol, syntax-point):
12759 Remove unnecessary and incorrect declarations.
12760
0bff894f
GM
12761 * emacs-lisp/check-declare.el (check-declare-scan):
12762 Handle byte-compile-initial-macro-environment in bytecomp.el
12763
9869b3ae
SM
127642011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12765
12766 Fix earlier half-done eieio-defmethod change (bug#8338).
12767 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12768 Streamline and change calling convention.
12769 (defmethod): Adjust accordingly and simplify.
12770 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12771 new eieio--defmethod.
12772 (slot-boundp): Minor CSE simplification.
12773
9c1d5ac5
MZ
127742011-05-05 Milan Zamazal <pdm@zamazal.org>
12775
12776 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12777 (glasses-make-readable): Use glasses-separate-capital-groups.
12778
455c834e
JB
127792011-05-05 Juanma Barranquero <lekktu@gmail.com>
12780
12781 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12782 (warning-series): Doc fix.
12783 (display-warning): Don't try to create the buffer if we just found it.
12784
9ed7c8cb
CY
127852011-05-04 Chong Yidong <cyd@stupidchicken.com>
12786
12787 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12788 (autoload-find-generated-file): New function.
12789 (generate-file-autoloads): Bind generated-autoload-file to
12790 buffer-file-name.
9869b3ae
SM
12791 (update-file-autoloads, update-directory-autoloads):
12792 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12793 output file (Bug#7989).
12794 (batch-update-autoloads): Doc fix.
12795
0898ca10
JB
127962011-05-04 Juanma Barranquero <lekktu@gmail.com>
12797
12798 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12799
31dfb76c
GM
128002011-05-04 Glenn Morris <rgm@gnu.org>
12801
f330b642
GM
12802 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12803 function, so it follows changes in calendar-date-style.
12804 (diary-fancy-date-matcher): New function.
12805 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12806 (diary-fancy-font-lock-fontify-region-function):
12807 Use diary-fancy-date-pattern as a function.
12808
31dfb76c
GM
12809 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12810 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12811
48e79d6a
TZ
128122011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12813
12814 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12815 instead of positional arguments. Allow :keylist and :crlfiles
12816 arguments.
12817 (open-gnutls-stream): Call it.
12818
12819 * net/network-stream.el (network-stream-open-starttls): Adjust to
12820 call `gnutls-negotiate' with :process and :hostname arguments.
12821
dd5a5ee0
SM
128222011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12823
ef80fc09
SM
12824 * minibuffer.el (completion--message): New function.
12825 (completion--do-completion, minibuffer-complete)
12826 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12827 (completion--do-completion): Don't ignore completion-auto-help when in
12828 icomplete-mode.
12829
dd5a5ee0
SM
12830 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12831 internal encoding (e.g. tibetan zero is not whitespace).
12832 (global-whitespace-mode): Prefer save-current-buffer.
12833 (whitespace-trailing-regexp): Remove useless save-match-data.
12834 (whitespace-empty-at-bob-regexp): Minor simplification.
12835
b7d22a83
CY
128362011-05-03 Chong Yidong <cyd@stupidchicken.com>
12837
12838 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12839
5192af46
AM
128402011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12841
12842 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12843 Use `concat' to create string for insertion.
5192af46 12844
5767d190
SM
128452011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12848 Avoid open-line which runs post-self-insert-hook.
12849 (bibtex-fill-entry): Remove unused `end' var.
12850
bf242939
AM
128512011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12852
5767d190
SM
12853 * textmodes/ispell.el (ispell-add-per-file-word-list):
12854 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12855
25666126
LL
128562011-05-03 Leo Liu <sdl.web@gmail.com>
12857
12858 * isearch.el (isearch-yank-pop): New command.
5767d190 12859 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12860 (isearch-forward): Mention it.
12861
52d3c2d0
SM
128622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12863
1bcace58
SM
12864 * simple.el (minibuffer-complete-shell-command): Remove.
12865 (minibuffer-local-shell-command-map): Use completion-at-point.
12866 (read-shell-command): Setup completion vars here instead.
12867 (read-expression-map): Bind TAB to symbol completion.
12868
52d3c2d0
SM
12869 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12870 error directly rather via storing it into `results'.
12871
35813471
LL
128722011-05-02 Leo Liu <sdl.web@gmail.com>
12873
12874 * vc/diff.el: Fix description.
12875
e793a940
LMI
128762011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12877
12878 * server.el (server-eval-at): New function.
12879
8de66e05
LMI
128802011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12881
12882 * net/network-stream.el (open-network-stream): Take a :nowait
12883 parameter and pass it on to `make-network-process'.
12884 (network-stream-open-plain): Ditto.
12885
dcb79f20
AS
128862011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12887
12888 * faces.el (face-spec-set-match-display): Don't match toolkit
12889 options on terminal frames.
12890
14a7fbd8
SM
128912011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12892
7eabc1be
SM
12893 * progmodes/pascal.el: Use lexical binding.
12894 (pascal-mode-map): Remove author preferences.
12895
14a7fbd8
SM
12896 * pcomplete.el (pcomplete-std-complete): Don't abuse
12897 completion-at-point.
12898
50f84510
JB
128992011-04-28 Juanma Barranquero <lekktu@gmail.com>
12900
6e087a44
JB
12901 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12902 removing code that has been dead since 1991 or so.
12903
50f84510
JB
12904 * startup.el (command-line): When warning about "_emacs", use a
12905 delayed warning to allow the user to filter it out.
12906
0ba690bd
DD
129072011-04-28 Deniz Dogan <deniz@dogan.se>
12908
12909 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12910 user has not joined.
12911
08abfaad
SM
129122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12915 aren't any completions at point.
12916
638f053a
JB
129172011-04-28 Juanma Barranquero <lekktu@gmail.com>
12918
12919 * subr.el (display-delayed-warnings): New function.
12920 (delayed-warnings-hook): New variable.
12921
8fff8daa
SM
129222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12923
08abfaad
SM
12924 * minibuffer.el (completion-at-point, completion-help-at-point):
12925 Don't presume that a given completion-at-point-function will always
12926 use the same calling convention.
12927
8fff8daa
SM
12928 * pcomplete.el (pcomplete-completions-at-point):
12929 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12930 pcomplete-seen is non-nil.
12931 (pcomplete-comint-setup): Also recognize the new comint/shell
12932 completion functions.
12933 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12934 pcomplete-seen is non-nil.
12935
841a1577 129362011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12937
841a1577 12938 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12939 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12940 the first character in the entry. This allows for code to add its
211ec907
UJ
12941 own uid to the entry.
12942 (icalendar--convert-float-to-ical): Add export of
12943 `diary-float'-entries save for those with the optional DAY
12944 argument.
12945
2a782793
DC
129462011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12947
12948 * subr.el (shell-quote-argument): Use alternate escaping strategy
12949 when we spot a variable reference in a string.
12950
0438ce91
DC
129512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12952
12953 * cus-start.el (all): Define customization for debug-on-event.
12954
841a1577 129552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12956
12957 * subr.el (shell-quote-argument): Escape correctly under Windows.
12958
d090ed6c
SM
129592011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12960
12961 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12962
bfd31217
MA
129632011-04-25 Michael Albinus <michael.albinus@gmx.de>
12964
d090ed6c
SM
12965 * net/tramp.el (tramp-process-actions): Add POS argument.
12966 Delete region between POS and (pos).
bfd31217 12967
d090ed6c
SM
12968 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12969 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12970 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12971
12972 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12973 position in `tramp-process-actions' call.
12974
12975 * net/trampver.el: Update release number.
12976
e92f3bd3
SM
129772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12978
850256b5
SM
12979 * custom.el (defcustom): Obey lexical-binding.
12980
e92f3bd3
SM
12981 Fix octave-inf completion problems reported by Alexander Klimov.
12982 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12983 Inherit from octave-mode-syntax-table.
12984 (inferior-octave-mode): Set info-lookup-mode.
12985 (inferior-octave-completion-at-point): New function.
12986 (inferior-octave-complete): Use it and completion-in-region.
12987 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12988 comint-filename-completion.
12989 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12990 symbol elements which shouldn't be word elements.
12991 (octave-font-lock-keywords, octave-beginning-of-defun)
12992 (octave-function-header-regexp): Adjust regexps accordingly.
12993 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12994
cd22b309
JB
129952011-04-25 Juanma Barranquero <lekktu@gmail.com>
12996
12997 * net/gnutls.el (gnutls-errorp): Declare before first use.
12998
8b492194
TZ
129992011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13000
13001 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13002 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13003 default trustfile exists before going to use it. Add missing
5a5fa834 13004 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13005 Reported by Claudio Bley <claudio.bley@gmail.com>.
13006 (open-gnutls-stream): Add usage example.
13007
13008 * net/network-stream.el (network-stream-open-starttls): Give host
13009 parameter to `gnutls-negotiate'.
13010 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13011 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13012
841a1577 130132011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13014
cd22b309
JB
13015 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13016 Use correct match group (bug#8438).
05842630 13017
3ba7869c
CY
130182011-04-24 Chong Yidong <cyd@stupidchicken.com>
13019
512e3ae1
CY
13020 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13021 (package-menu--generate): New arg specifying packages to show.
13022 (package-menu-refresh, package-menu-execute, list-packages):
13023 Callers changed.
13024 (package-show-package-list): New function, replacing deleted
13025 package--list-packages (renamed because it is non-internal).
13026
13027 * finder.el (finder-list-matches): Use package-show-package-list
13028 instead of deleted package--list-packages.
13029
e92f3bd3
SM
13030 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13031 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13032 (vc-annotate-mode-map): Bind it to RET.
13033
7031be6d
UR
130342011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13035
13036 * progmodes/etags.el (next-file): Don't use set-buffer to change
13037 buffers (Bug#8478).
13038
4ef177aa
CY
130392011-04-24 Chong Yidong <cyd@stupidchicken.com>
13040
c8d173eb
CY
13041 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13042
4ef177aa
CY
13043 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13044 (apropos-accumulator): Doc fix.
13045 (apropos-function, apropos-macro, apropos-command)
13046 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13047 (apropos-plist): Add face property.
13048 (apropos-symbols-internal): Fix indentation.
13049 (apropos-print): Simplify help, and recognize apropos-multi-type.
13050 (apropos-print-doc): Use button-type-get to extract the button's
13051 face property. Fill docstring (Bug#8352).
13052
4ffd0d6b 130532011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13054
13055 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13056
c6c32125 13057 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13058 (mpuz-mode-map): Use mapc.
c6c32125
JB
13059 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13060 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13061 Fix typos in docstrings.
13062
58d468b4
JB
13063 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13064 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13065
6470c3c6
JB
13066 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13067
4ffd0d6b 130682011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13069
13070 * minibuffer.el (completion--do-completion): Avoid the "Next char
13071 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13072
3ad8bad0
CY
13073 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13074 mouse-2 into unread-command-events, it is interpreted correctly.
13075
71d73c9c 13076 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13077 (image-toggle-display): Doc fix.
71d73c9c 13078
841a1577 130792011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13080
4ffd0d6b
GM
13081 * textmodes/page.el (what-page): Use line-number-at-pos to
13082 calculate line number (Bug#6825).
6e1dbaa9 13083
c2fb1b60
JB
130842011-04-22 Juanma Barranquero <lekktu@gmail.com>
13085
13086 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13087 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13088 Pass argument NO-DEFAULT to `find-tag-interactive'.
13089
e02f48d7
JB
130902011-04-22 Juanma Barranquero <lekktu@gmail.com>
13091
13092 Lexical-binding cleanup.
13093
13094 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13095 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13096 * progmodes/ada-prj.el (ada-prj-initialize-values)
13097 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13098 (ada-prj-show-value):
13099 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13100 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13101 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13102 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13103 * progmodes/bug-reference.el (bug-reference-push-button):
13104 * progmodes/fortran.el (fortran-line-length):
13105 * progmodes/glasses.el (glasses-change):
13106 * progmodes/octave-mod.el (octave-fill-paragraph):
13107 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13108 (python-pdbtrack-grub-for-buffer, python-sentinel):
13109 * progmodes/sql.el (sql-save-connection):
13110 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13111 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13112 Mark unused parameters.
13113
13114 * progmodes/compile.el (compilation--flush-directory-cache)
13115 (compilation--flush-parse, compile-internal): Mark unused parameters.
13116 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13117 (compilation-next-error-function): Remove unused variable `timestamp'.
13118
13119 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13120 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13121
13122 * progmodes/dcl-mode.el (dcl-end-of-command):
13123 Remove unused variable `start'.
13124 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13125 (dcl-option-value-basic, dcl-option-value-offset)
13126 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13127 Mark unused parameters.
13128 (dcl-save-local-variable): Remove unused variable `val'.
13129 (mode): Declare.
13130
13131 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13132 Mark unused parameters.
13133 (delphi-ignore-changes): Move before first use.
13134 (delphi-charset-token-at): Remove unused variable `start'.
13135 (delphi-else-start): Remove unused variable `if-count'.
13136 (delphi-comment-block-start, delphi-comment-block-end):
13137 Remove unused variable `kind'.
13138 (delphi-indent-line): Remove unused variable `new-point'.
13139
13140 * progmodes/ebrowse.el (ebrowse-files-list)
13141 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13142 Mark unused parameters. Don't quote `lambda'.
13143 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13144 Don't quote `lambda'.
13145 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13146 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13147 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13148 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13149 Use `ignore-errors'.
13150 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13151 (ebrowse-view/find-file-and-search-pattern)
13152 (ebrowse-view/find-member-declaration/definition):
13153 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13154 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13155 Rename parameter PREFIX-ARG to PREFIX.
13156 (ebrowse-tags-read-name): Remove unused variables `start' and
13157 `member-info'.
13158 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13159 to `tags-file'.
13160
13161 * progmodes/etags.el (local-find-tag-hook): Declare.
13162 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13163 Mark unused parameters.
13164
13165 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13166 (executable-interpret): Mark unused parameter.
13167
13168 * progmodes/flymake.el (flymake-process-sentinel)
13169 (flymake-after-change-function)
13170 (flymake-create-temp-with-folder-structure)
13171 (flymake-get-include-dirs-dot): Mark unused parameters.
13172 (flymake-safe-delete-directory): Remove unused variable `err'.
13173
13174 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13175 (speedbar-timer-fn, speedbar-line-text)
13176 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13177 (speedbar-center-buffer-smartly): Declare functions.
13178 (gdb-find-watch-expression): Remove unused variable `array'.
13179 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13180 (gdb-starting): Mark unused parameters.
13181 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13182 (gdb-table-string): Remove unused variable `res'.
13183 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13184 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13185 (gdb-display-buffer): Remove unused variable `cur-size'.
13186
13187 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13188 allow lexical-binding compilation.
13189 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13190 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13191 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13192 Mark unused parameters.
13193 (gud-gdb-marker-filter): Remove unused variable `match'.
13194 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13195 lambda expressions and funcall them, instead of using `fset'.
13196
13197 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13198 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13199
13200 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13201 variable `header-beg'; use `let'.
13202
13203 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13204 `restart', `last-sexp' and `at-do'.
13205
13206 * progmodes/js.el (js--debug): Mark unused parameter.
13207 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13208 (js--splice-into-items): Remove unused variable `item'.
13209 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13210
13211 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13212 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13213 (makefile-complete): Remove unused variable `try'.
13214 (makefile-fill-paragraph, makefile-match-function-end):
13215 Mark unused parameters.
13216
13217 * progmodes/octave-inf.el (inferior-octave-complete):
13218 Remove unused variable `proc'.
13219 (inferior-octave-output-digest): Mark unused parameter.
13220
13221 * progmodes/perl-mode.el (perl-calculate-indent):
13222 Remove unused variable `err'.
13223
13224 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13225 (prolog-indent-line): Mark unused parameters.
13226 (prolog-indent-line): Remove unused variable `beg'.
13227
13228 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13229 (reporter-dont-compact-list): Declare.
13230
13231 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13232 Remove unused variable `char'.
13233 (sh-debug): Mark unused parameter.
13234 (sh-get-indent-info): Remove unused variable `start'.
13235 (sh-calculate-indent): Remove unused variable `var'.
13236
13237 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13238 (simula-electric-keyword): Remove unused variable `null'.
13239 (simula-search-backward, simula-search-forward): Remove unused
13240 variables `begin' and `end'.
13241
13242 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13243 Remove unused variable `pos'.
13244 (vera-electric-tab, vera-comment-uncomment-region):
13245 Mark unused parameters.
13246 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13247
7ede3b65
CY
132482011-04-22 Chong Yidong <cyd@stupidchicken.com>
13249
13250 * emacs-lisp/package.el (package--builtins, package-alist)
13251 (package-load-descriptor, package-built-in-p, package-activate)
13252 (define-package, package-installed-p)
13253 (package-compute-transaction, package-buffer-info)
13254 (package--push): Doc fix. Distinguish more clearly between
13255 version strings and version lists.
13256
121656e9
JB
132572011-04-21 Juanma Barranquero <lekktu@gmail.com>
13258
13259 Lexical-binding cleanup.
13260
13261 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13262 (5x5-make-mutate-best):
13263 * play/fortune.el (fortune-in-buffer):
13264 * play/gomoku.el (gomoku-init-display):
13265 * play/solitaire.el (solitaire, solitaire-do-check):
13266 * play/tetris.el (tetris-default-update-speed-function):
13267 Mark unused parameters.
13268
13269 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13270 (bubbles--shift): Remove unused variable `char-org'.
13271 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13272 (bubbles--show-images): Remove unused variable `char'.
13273
13274 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13275 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13276 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13277 (decipher-analyze-buffer): Use ?\s.
13278 (decipher-make-checkpoint): Remove unused variable `mapping'.
13279
13280 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13281
13282 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13283 Remove unused variable `result'; use `let'.
13284
13285 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13286 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13287 (gametree-children-shown-p, gametree-compute-reduced-score):
13288 Use `ignore-errors'.
13289
13290 * play/handwrite.el (ps-lpr-switches): Declare.
13291 (handwrite): Remove unused variables `pmin' and `lastp'.
13292
13293 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13294
13295 * play/landmark.el (landmark-init-display)
13296 (landmark-update-naught-weights): Mark unused parameters.
13297 (landmark-y): Remove unused variable `noise'. Simplify.
13298 (landmark-human-plays): Remove unused variable `score'.
13299
13300 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13301 (mpuz-try-proposal): Remove unused variable `game'.
13302
13303 * play/zone.el (life-patterns): Declare.
13304
80f499c7
JB
133052011-04-20 Juanma Barranquero <lekktu@gmail.com>
13306
13307 * vc/vc.el (ediff-vc-internal): Declare function.
13308
024ff170
SM
133092011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13310
c0a193ea
SM
13311 * shell.el: Use lexical-binding and std completion UI.
13312 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13313 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13314 comint-preoutput-filter-functions rather than on
13315 comint-output-filter-functions.
13316 (shell-command-completion, shell--command-completion-data)
13317 (shell-filename-completion, shell-environment-variable-completion)
13318 (shell-c-a-p-replace-by-expanded-directory): New functions.
13319 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13320 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13321 (shell-dynamic-complete-environment-variable): Use them.
13322 (shell-dynamic-complete-as-environment-variable)
13323 (shell-dynamic-complete-as-command): Remove.
13324 (shell-match-partial-variable): Match past point.
13325 * comint.el: Clean up use of completion-at-point-functions.
13326 (comint-completion-at-point): New function.
13327 (comint-mode): Use it completion-at-point-functions.
13328 (comint-dynamic-complete): Make it obsolete.
13329 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13330 (comint-c-a-p-replace-by-expanded-history): New function.
13331 (comint-dynamic-complete-functions)
13332 (comint-replace-by-expanded-history): Use it.
13333 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13334 termination strings. Try harder to avoid second try-completion.
13335 (completion-in-region-mode-map): Disable bindings that don't work yet.
13336
2dbaa080
SM
13337 * comint.el: Use lexical-binding. Require CL.
13338 (comint-dynamic-complete-functions): Use comint-filename-completion.
13339 (comint-completion-addsuffix): Tweak custom type.
13340 (comint-filename-completion, comint--common-suffix)
13341 (comint--common-quoted-suffix, comint--table-subvert)
13342 (comint--complete-file-name-data): New functions.
13343 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13344 (comint-dynamic-list-filename-completions): Use them.
13345 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13346
2dbaa080
SM
13347 * minibuffer.el (completion-in-region-mode):
13348 Keep completion-in-region-mode--predicate global.
13349 (completion-in-region--postch):
13350 Assume completion-in-region-mode--predicate is not null.
13351
c79a6f38
SM
13352 * progmodes/flymake.el (flymake-start-syntax-check-process):
13353 Obey `dir'. Simplify.
13354
024ff170
SM
13355 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13356 we're in VC after all.
13357
1c6c854e
CS
133582011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13359
13360 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13361 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13362 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13363
bed7f140
SM
133642011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13365
332e62ab
SM
13366 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13367 add sanity check.
13368
bed7f140
SM
13369 * obsolete/erc-hecomplete.el: Make obsolete.
13370 * obsolete/: Standardize obsolescence info in the header.
13371
f195c582
GM
133722011-04-20 Glenn Morris <rgm@gnu.org>
13373
13374 * calendar/solar.el (solar-horizontal-coordinates):
13375 Use the longitude argument rather than `calendar-longitude'.
13376 (solar-date-next-longitude): Remove unused locals.
13377
cb79b8c0
VJL
133782011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13379
13380 * whitespace.el: New version 13.2.1.
13381
133822011-04-20 felix <EmacsWiki> (tiny change)
13383
d8e4b68b 13384 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13385 switching between major modes on a file.
13386
602ea69d
SM
133872011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13388
13389 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13390 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13391 multi-line comments as well.
13392
06b60517
JB
133932011-04-19 Juanma Barranquero <lekktu@gmail.com>
13394
13395 Lexical-binding cleanup.
13396
13397 * arc-mode.el (archive-mode-revert):
13398 * cmuscheme.el (scheme-interactively-start-process):
13399 * custom.el (custom-initialize-delay):
13400 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13401 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13402 * emacs-lock.el (emacs-lock-clear-sentinel):
13403 * ezimage.el (defezimage):
13404 * follow.el (follow-avoid-tail-recenter):
13405 * fringe.el (set-fringe-mode-1):
13406 * generic-x.el (bat-generic-mode-compile):
13407 * help-mode.el (help-info-variable, help-do-xref)
13408 (help-mode-revert-buffer):
13409 * help.el (view-emacs-todo):
13410 * iswitchb.el (iswitchb-completion-help):
13411 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13412 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13413 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13414 * locate.el (locate-update):
13415 * longlines.el (longlines-encode-region)
13416 (longlines-after-change-function):
13417 * outline.el (outline-isearch-open-invisible):
13418 * ps-def.el (declare-function, charset-dimension, char-width)
13419 (encode-char):
13420 * ps-mule.el (ps-mule-plot-string):
13421 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13422 (recentf-edit-list-select, recentf-edit-list-validate)
13423 (recentf-open-files-action):
13424 * rect.el (delete-whitespace-rectangle-line)
13425 (rectangle-number-line-callback):
13426 * register.el (window-configuration-to-register)
13427 (frame-configuration-to-register):
13428 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13429 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13430 (xselect-convert-to-targets, xselect-convert-to-delete)
13431 (xselect-convert-to-filename, xselect-convert-to-charpos)
13432 (xselect-convert-to-lineno, xselect-convert-to-colno)
13433 (xselect-convert-to-os, xselect-convert-to-host)
13434 (xselect-convert-to-user, xselect-convert-to-class)
13435 (xselect-convert-to-name, xselect-convert-to-integer)
13436 (xselect-convert-to-atom, xselect-convert-to-identity):
13437 * subr.el (declare, ignore, process-kill-without-query)
13438 (text-clone-maintain):
13439 * terminal.el (te-get-char, te-tic-sentinel):
13440 * tool-bar.el (tool-bar-make-keymap):
13441 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13442 * type-break.el (type-break-mode, type-break-noninteractive-query):
13443 * view.el (View-back-to-mark):
13444 * wid-browse.el (widget-browse-action, widget-browse-widget)
13445 (widget-browse-widgets, widget-browse-sexp):
13446 * widget.el (define-widget-keywords):
13447 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13448 Mark unused parameters.
13449
13450 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13451 (align-areas): Remove unused variable `look'.
13452 (align-region): Remove unused variables `real-end' and `pos-list'.
13453
13454 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13455
13456 * bindings.el (mode-line-modified, mode-line-remote):
13457 Mark unused parameters.
13458 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13459
13460 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13461 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13462
13463 * comint.el (comint-history-isearch-pop-state)
13464 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13465 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13466 (comint-substitute-in-file-name): Doc fix.
13467
13468 * completion.el (cmpl-statistics-block): Mark unused parameter.
13469 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13470 (save-completions-to-file, load-completions-from-file):
13471 Remove unused local variable `e'.
13472
13473 * composite.el (compose-chars): Remove unused variable `len'.
13474 (lgstring-insert-glyph): Remove unused variable `g'.
13475 (compose-glyph-string): Remove unused variables `ascent',
13476 `descent', `lbearing' and `rbearing'.
13477 (compose-glyph-string-relative): Remove unused variables
13478 `lbearing', `rbearing' and `wadjust'.
13479 (compose-gstring-for-graphic): Remove unused variables `header',
13480 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13481 (compose-gstring-for-terminal): Remove unused variables `header'
13482 and `nchars'. Use `let', not `let*'.
13483
13484 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13485 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13486 (Custom-buffer-done, custom-buffer-create-internal)
13487 (custom-browse-visibility-action, custom-browse-group-tag-action)
13488 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13489 (widget-magic-mouse-down-action, custom-toggle-parent)
13490 (custom-add-parent-links, custom-toggle-hide-variable)
13491 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13492 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13493 (custom-face-menu-create, custom-variable-menu-create, get)
13494 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13495 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13496 (customize-apropos): Remove unused variable `tests'.
13497 (custom-group-value-create): Remove unused variable `hidden-p'.
13498 (sort-fold-case): Declare.
13499
13500 * cus-theme.el (custom-reset-standard-faces-list)
13501 (custom-reset-standard-variables-list): Declare.
13502 (customize-create-theme, custom-theme-revert, custom-theme-write)
13503 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13504 Mark unused parameters.
13505
13506 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13507
13508 * delim-col.el (delimit-columns-max): Move defvar before first use.
13509
13510 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13511 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13512
13513 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13514 (auto-insert): Declare.
13515 (desktop-restore-file-buffer): Rename desktop-* parameters;
13516 mark unused ones.
13517 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13518 (desktop-buffer): Rename desktop-* parameters.
13519
13520 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13521 (dframe-reposition-frame-xemacs, dframe-help-echo)
13522 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13523 Mark unused parameters.
13524
13525 * dired-aux.el (backup-extract-version-start, overwrite-query)
13526 (overwrite-backup-query, rename-regexp-query)
13527 (rename-non-directory-query): Declare.
13528 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13529 (dired-add-entry): Remove unused variable `orig-file-name'.
13530 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13531 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13532 `dired-copy-preserve-time' directly.
13533 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13534 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13535
13536 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13537 (dired-virtual-revert, dired-make-relative-symlink):
13538 Mark unused parameters.
13539 (manual-program): Declare.
13540 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13541 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13542 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13543
13544 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13545
13546 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13547
13548 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13549 Declare.
13550
13551 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13552
13553 * electric.el (Electric-command-loop): Rename parameter
13554 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13555
13556 * expand.el (expand-in-literal): Remove unused variable `here'.
13557
13558 * facemenu.el (facemenu-add-new-color):
13559 Remove unused variable `docstring'.
13560
13561 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13562 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13563 (face-attr-construct): Mark unused parameter. Doc fix.
13564 (read-color): Remove unused variable `hex-string'.
13565
13566 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13567 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13568 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13569 (display-buffer-other-frame): Remove unused variable `old-window'.
13570 (kill-buffer-hook): Declare.
13571 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13572 Mark unused parameters.
13573 (after-find-file): Pass 1 to `auto-save-mode', not t.
13574
13575 * files-x.el (auto-insert): Declare.
13576 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13577
13578 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13579 variable `buf'. Mark unused parameter.
06b60517
JB
13580 (find-lisp-insert-directory): Mark unused parameter.
13581
13582 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13583 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13584 (format-common-tail): Remove, unused.
13585 (format-deannotate-region): Remove unused variable `loc'.
13586 (format-annotate-region): Remove unused variable `p'.
13587 (format-annotate-single-property-change): Remove unused variables
13588 `default' and `tail'.
13589
13590 * forms.el (read-file-filter): Declare.
13591 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13592
13593 * frame.el (frame-creation-function-alist): Mark unused parameter.
13594 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13595
13596 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13597 Remove unused parameters.
13598 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13599 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13600
13601 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13602 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13603 (hfy-prepare-tag-map): Mark unused parameters.
13604 (htmlfontify-buffer): Use `called-interactively-p'.
13605
13606 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13607 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13608 (ibuffer-do-occur): Mark unused parameters.
13609 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13610 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13611
13612 * ibuffer.el: Don't quote `lambda'.
13613 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13614 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13615 Mark unused parameters.
13616
13617 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13618 (ido-completing-read): Mark unused parameters.
13619 (ido-copy-current-word): Mark unused parameters;
13620 remove unused variable `name'.
13621 (ido-sort-merged-list): Remove unused parameter `dirs'.
13622
13623 * ielm.el (ielm-input-sender): Mark unused parameter.
13624 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13625 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13626 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13627 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13628 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13629
13630 * image-dired.el (image-dired-display-thumbs): Remove unused
13631 variables `curr-file' and `count'.
13632 (image-dired-remove-tag): Remove unused variable `start'.
13633 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13634 variable `curr-file'
13635 (image-dired-rotate-original): Remove unused variable `temp-file'.
13636 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13637 Remove unused variable `file'.
13638 (image-dired-gallery-generate): Remove unused variable `curr'.
13639 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13640
13641 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13642
13643 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13644
13645 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13646
13647 * isearch.el (minibuffer-history-symbol): Declare.
13648 (isearch-edit-string): Remove unused variable `err'.
13649 (isearch-message-prefix, isearch-message-suffix):
13650 Mark unused parameters.
13651
13652 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13653
13654 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13655
13656 * makesum.el (double-column): Remove unused variable `cnt'.
13657
13658 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13659 (ido-ignore-item-temp-list): Declare.
13660
13661 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13662 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13663 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13664 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13665 `mouse-col-delta'.
13666
13667 * mouse-sel.el (mouse-extend-internal):
13668 Remove unused variable `orig-window-frame'.
13669
13670 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13671 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13672 Move declarations before first use.
13673 (pcomplete-opt): Mark unused parameters; doc fix.
13674
13675 * proced.el (proced-revert): Mark unused parameter.
13676 (proced-send-signal): Remove unused variable `err'.
13677
13678 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13679 Rename parameter PREFIX-ARG to ARG.
13680 (ps-basic-plot-string, ps-basic-plot-whitespace):
13681 Mark unused parameters.
13682
13683 * replace.el (replace-count): Define.
13684 (occur-revert-function): Mark unused parameters.
13685 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13686 (isearch-case-fold-search, isearch-string): Declare.
13687 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13688 bind `case-fold-search'. Remove unused variables `beg' and `end',
13689 and simplify.
13690 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13691 COUNT and bind `replace-count'.
13692 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13693 to COUNT.
13694
13695 * savehist.el (print-readably, print-string-length): Declare.
13696
13697 * shadowfile.el (shadow-expand-cluster-in-file-name):
13698 Remove unused variable `cluster'.
13699 (shadow-copy-file): Remove unused variable `i'.
13700 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13701 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13702 (shadow-define-literal-group, shadow-define-regexp-group)
13703 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13704
13705 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13706 (shell): Use `called-interactively-p'.
13707 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13708
13709 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13710 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13711 (delete-backward-char): Remove unused variable `ocol'.
13712 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13713 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13714 (event-apply-hyper-modifier, event-apply-shift-modifier)
13715 (event-apply-control-modifier, event-apply-meta-modifier):
13716 Mark unused parameters.
13717 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13718 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13719
13720 * speedbar.el (speedbar-ignored-directory-expressions)
13721 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13722 (speedbar-find-file, speedbar-dir-follow)
13723 (speedbar-directory-buttons-follow, speedbar-tag-find)
13724 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13725 (speedbar-buffers-line-directory, speedbar-buffer-click):
13726 Mark unused parameters.
13727 (speedbar-tag-file): Remove unused variable `mode'.
13728 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13729
13730 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13731
13732 * talk.el (talk): Remove unused variable `display'.
13733
13734 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13735 (tar-write-region-annotate): Mark unused parameter.
13736
13737 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13738 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13739 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13740 warning by another.
13741
13742 * time-stamp.el (time-stamp-string-preprocess):
13743 Remove unused variable `require-padding'.
13744
13745 * tree-widget.el (widget-glyph-enable): Declare.
13746 (tree-widget-action): Mark unused parameter.
13747
13748 * w32-fns.el (x-get-selection): Mark unused parameter.
13749 (autoload-make-program, generated-autoload-file): Declare.
13750
13751 * wdired.el (wdired-revert): Mark unused parameters.
13752 (wdired-xcase-word): Remove unused variable `err'.
13753
13754 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13755 (whitespace-help-scroll): Remove unused variable `data-help'.
13756
13757 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13758 (widget-image-insert, widget-after-change, default)
13759 (widget-default-format-handler, widget-default-notify)
13760 (widget-default-prompt-value, widget-info-link-action)
13761 (widget-url-link-action, widget-function-link-action)
13762 (widget-variable-link-action, widget-file-link-action)
13763 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13764 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13765 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13766 (widget-insert-button-action, widget-delete-button-action, visibility)
13767 (widget-documentation-link-action, widget-documentation-string-action)
13768 (widget-const-prompt-value, widget-regexp-match, symbol)
13769 (widget-coding-system-prompt-value)
13770 (widget-key-sequence-value-to-external, sexp)
13771 (widget-sexp-value-to-internal, character, vector, cons)
13772 (widget-choice-prompt-value, widget-boolean-prompt-value)
13773 (widget-color--choose-action): Mark unused parameters.
13774 (widget-item-match-inline, widget-choice-match-inline)
13775 (widget-checklist-match, widget-checklist-match-inline)
13776 (widget-group-match): Rename parameter VALUES to VALS.
13777 (widget-field-value-set): Remove unused variable `size'.
13778 (widget-color-action): Remove unused variables `value' and `start'.
13779
13780 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13781 variable `dir'. Doc fix.
06b60517
JB
13782 (windmove-find-other-window): Don't pass it.
13783
13784 * window.el (count-windows): Mark unused parameter.
13785 (bw-adjust-window): Remove unused variable `err'.
13786
13787 * woman.el (woman-file-name): Remove unused variable `default'.
13788 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13789 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13790 (global-font-lock-mode): Declare.
13791 (woman-decode-region): Mark unused parameter.
13792 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13793
13794 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13795 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13796 (x-dnd-handle-moz-url): Remove unused variable `title'.
13797 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13798
13799 * xml.el (xml-parse-tag, xml-parse-attlist):
13800 Remove unused variable `pos'.
13801
bc4f7f3d
GM
138022011-04-19 Glenn Morris <rgm@gnu.org>
13803
13804 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13805 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13806 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13807 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13808 * calendar/cal-html.el (cal-html-insert-minical):
13809 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13810 (calendar-mark-date-pattern):
13811 Prefix "unused" locals.
13812
13813 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13814 optional argument `style'.
13815
13816 * calendar/appt.el (appt-make-list):
13817 * calendar/cal-china.el (calendar-chinese-date-string):
13818 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13819 (diary-hebrew-yahrzeit):
13820 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13821 * calendar/calendar.el (calendar-generate-window):
13822 * calendar/time-date.el (time-to-days):
13823 Remove unused local variables.
13824
16a43933
CY
138252011-04-18 Chong Yidong <cyd@stupidchicken.com>
13826
13827 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13828 glyphless-char-display table.
13829 (tabulated-list-glyphless-char-display): New var.
13830
7eed1860
SS
138312011-04-18 Sam Steingold <sds@gnu.org>
13832
13833 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13834 to acknowledgments.
13835
4d2d1ccd
GM
138362011-04-17 Glenn Morris <rgm@gnu.org>
13837
13838 * calendar/diary-lib.el (diary-sexp-entry):
13839 * calendar/holidays.el (holiday-sexp):
13840 Set debug-on-error rather than the removed stack-trace-on-error.
13841
239da61d
GM
138422011-04-16 Glenn Morris <rgm@gnu.org>
13843
13844 * progmodes/f90.el: Use lexical-binding.
13845 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13846
8b05752a
SM
138472011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13848
daca8ba5
SM
13849 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13850 (mail-mode): Setup mailalias completion here instead.
13851 * mail/mailalias.el: Use lexical-binding.
13852 (pattern, mailalias-done): Declare dynamic.
13853 (mail-completion-at-point-function): New function, from mail-complete.
13854 (mail-complete): Use it.
13855 (mail-completion-expand): New function.
13856 (mail-get-names): Use it.
13857 (mail-directory, mail-directory-process, mail-directory-stream):
13858 Don't use `pattern' for lexically bound arg.
13859
6f542485
SM
13860 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13861
037e7c3f
SM
13862 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13863 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13864 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13865
8b05752a
SM
13866 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13867 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13868 (byte-interactive-p): Define them again, for use when inlining
13869 old code.
13870
49093f60
JB
138712011-04-15 Juanma Barranquero <lekktu@gmail.com>
13872
13873 * loadup.el: Use `string-to-number', not `string-to-int'.
13874
b5b8e7de
SM
138752011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13876
13877 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13878 gud-gdb-complete-command.
13879 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13880 (gud-gdb-completion-at-point): New function.
13881 (gud-gdb-completions): Remove.
13882
f42efeb5
MA
138832011-04-14 Michael Albinus <michael.albinus@gmx.de>
13884
49093f60
JB
13885 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13886 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13887 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13888 whether `executable-find' is bound.
f42efeb5
MA
13889
13890 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13891
e240cc21
SM
138922011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13893
13894 * minibuffer.el (completion-in-region-mode-predicate)
13895 (completion-in-region-mode--predicate): New vars.
13896 (completion-in-region, completion-in-region--postch)
13897 (completion-in-region-mode): Use them.
13898 (completion--capf-wrapper): Also return the hook function.
13899 (completion-at-point, completion-help-at-point):
13900 Adjust and provide a predicate.
c2bd2ab0
SM
13901
13902 Preserve arg names for advice of subr and lexical functions (bug#8457).
13903 * help-fns.el (help-function-arglist): Consolidate the subr and
13904 new-byte-code cases. Add argument `preserve-names' to extract names
13905 from the docstring when needed.
13906 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13907 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13908 (ad-arglist): Use help-function-arglist's new arg.
13909 (ad-definition-type): Use cond.
13910
c183f693
JB
139112011-04-13 Juanma Barranquero <lekktu@gmail.com>
13912
06641a47
JB
13913 * autorevert.el (auto-revert-handler):
13914 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13915 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13916 Don't quote lambda.
13917
c183f693
JB
13918 * image-mode.el (image-transform-set-scale):
13919 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13920
1e3b6001
G
139212011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13922
13923 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13924 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13925 Upgrades via gnutls-cli are too slow to be done opportunistically.
13926
2d6af8dd
JB
139272011-04-12 Juanma Barranquero <lekktu@gmail.com>
13928
13929 * dframe.el (dframe-current-frame): Remove spurious quote.
13930
c0749a51
GM
139312011-04-12 Glenn Morris <rgm@gnu.org>
13932
088d0d61
GM
13933 * calendar/cal-tex.el (cal-tex-end-document):
13934 Try to automatically use latin1 input if needed.
13935
c0749a51
GM
13936 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13937 Don't try to cons a mark onto an empty element.
13938
5c90fde0
LL
139392011-04-11 Leo Liu <sdl.web@gmail.com>
13940
13941 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13942 buffers.
13943 (ido-kill-buffer-at-head): Support killing virtual buffers.
13944
369e974d
CY
139452011-04-10 Chong Yidong <cyd@stupidchicken.com>
13946
13947 * minibuffer.el (completion-show-inline-help): New var.
13948 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13949 (minibuffer-force-complete, minibuffer-complete-word):
13950 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13951
13952 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13953 to avoid interference from inline help (Bug#5849).
13954
37f1c930
LL
139552011-04-10 Leo Liu <sdl.web@gmail.com>
13956
099c39a4
JB
13957 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13958 Fix typo.
37f1c930 13959
a32d4040
CY
139602011-04-09 Chong Yidong <cyd@stupidchicken.com>
13961
13962 * image-mode.el (image-toggle-display-image): Signal an error if
13963 not in Image mode.
13964 (image-transform-mode, image-transform-resize)
13965 (image-transform-set-rotation): Doc fix.
daca8ba5 13966 (image-transform-set-resize): Delete.
a32d4040
CY
13967 (image-transform-set-scale, image-transform-fit-to-height)
13968 (image-transform-fit-to-width): Handle image-toggle-display-image
13969 and image-transform-resize directly.
13970
099c39a4 139712011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13972
13973 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13974 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13975 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13976 (doc-view-mode-map): Add bindings for the new functions.
13977
099c39a4 139782011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13979
4d61f28d 13980 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13981 Fix typo in docstring.
13982
3726838a
EZ
139832011-04-08 Eli Zaretskii <eliz@gnu.org>
13984
04f33f1e
EZ
13985 * files.el (file-size-human-readable): Produce one digit after
13986 decimal, like "ls -lh" does.
13987
13988 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13989 the file size representation.
13990
3726838a
EZ
13991 * simple.el (list-processes): If async subprocesses are not
13992 available, error out with a clear error message.
13993
cbb59342
CY
139942011-04-08 Chong Yidong <cyd@stupidchicken.com>
13995
13996 * help.el (help-form-show): New function, to be called from C.
13997 Put help-form output in a buffer named differently than *Help*.
13998
e3971c44
EZ
139992011-04-08 Eli Zaretskii <eliz@gnu.org>
14000
14001 * files.el (file-size-human-readable): New function.
14002
14003 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14004 computing the representation inline. Don't require `cl'.
14005
12544bbe
GM
140062011-04-08 Glenn Morris <rgm@gnu.org>
14007
a1de6c6a
GM
14008 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14009
3c4671f4
GM
14010 * net/browse-url.el (browse-url-firefox):
14011 Test system-type, not system-configuration.
14012
b605679c
GM
14013 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14014 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14015 Use log-edit-empty-buffer-p. (Bug#7598)
14016
56442f0c
GM
14017 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14018 (rlogin-mode-map): Initialize in the defvar.
14019 (rlogin): Use ignore-errors.
14020
12544bbe
GM
14021 * replace.el (occur-mode-map): Some fixes for menu items.
14022
eb237b0f
AH
140232011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14024
14025 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14026
7d668f2c
CY
140272011-04-06 Chong Yidong <cyd@stupidchicken.com>
14028
e67a13ab
CY
14029 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14030 issuing unused warnings.
14031
14032 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14033 macro directly.
14034
7d668f2c
CY
14035 * simple.el: Lisp reimplement of list-processes. Based on an
14036 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14037 (process-menu-mode): New major mode.
14038 (list-processes--refresh, list-processes):
14039 (process-menu-visit-buffer): New functions.
14040
14041 * files.el (save-buffers-kill-emacs): Don't assume any return
14042 value of list-processes, which is undocumented anyway.
14043
a83ec3c9
CY
140442011-04-06 Chong Yidong <cyd@stupidchicken.com>
14045
14046 * emacs-lisp/tabulated-list.el: New file.
14047
e91a96fe
CY
14048 * emacs-lisp/package.el: Use Tabulated List mode.
14049 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14050 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14051 table format using Tabulated List mode variables.
14052 (package--push): New macro, replacing package-list-maybe-add.
14053 (package-menu--generate): Use package--push. Renamed from
14054 package--generate-package-list.
14055 (package-menu-refresh, list-packages): Use it.
daca8ba5 14056 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14057 Return insertion data instead of inserting it directly.
099c39a4
JB
14058 (package-menu-describe-package, package-menu-execute):
14059 Use tabulated-list-get-id.
e91a96fe
CY
14060 (package-menu-mark-delete, package-menu-mark-install)
14061 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14062 (package-menu-mark-obsolete-for-deletion):
14063 Use tabulated-list-put-tag.
e91a96fe
CY
14064 (package--list-packages, package-menu-revert)
14065 (package-menu-get-package, package-menu-get-version)
14066 (package-menu-sort-by-column): Functions deleted.
14067 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14068 (package-menu--status-predicate, package-menu--version-predicate)
14069 (package-menu--name-predicate)
14070 (package-menu--description-predicate): Handle arguments in the
14071 Tabulated List format.
14072 (package-list-packages-no-fetch): Call list-packages.
14073
3e214b50
JB
140742011-04-06 Juanma Barranquero <lekktu@gmail.com>
14075
14076 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14077 (after-find-file): Don't bind it.
3e214b50
JB
14078 (revert-buffer-in-progress-p): New variable.
14079 (revert-buffer): Bind it.
14080 Pass nil for `after-find-file-from-revert-buffer'.
14081
14082 * saveplace.el (save-place-find-file-hook): Use new variable
14083 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14084
3f0f1700
GM
140852011-04-06 Glenn Morris <rgm@gnu.org>
14086
c0274801
GM
14087 * Makefile.in (AUTOGEN_VCS): New variable.
14088 (autoloads): Use $AUTOGEN_VCS.
14089
3f0f1700
GM
14090 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14091 * calendar/calendar.el (calendar-mode-map):
14092 Check for toolkit scroll bars. (Bug#8305)
14093
41ea9e48
CY
140942011-04-05 Chong Yidong <cyd@stupidchicken.com>
14095
14096 * minibuffer.el (completion-in-region--postch)
14097 (completion-in-region-mode): Remove unnecessary messages.
14098
6194c800
JB
140992011-04-05 Juanma Barranquero <lekktu@gmail.com>
14100
33256f14
JB
14101 * font-lock.el (font-lock-refresh-defaults):
14102 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14103 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14104
6194c800
JB
14105 * info.el (Info-directory-list, Info-read-node-name-2)
14106 (Info-split-parameter-string): Doc fixes.
14107 (Info-virtual-nodes): Reflow docstring.
14108 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14109 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14110 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14111 Fix typos in docstrings.
14112 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14113 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14114 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14115 (Info-restore-desktop-buffer): Mark unused parameters.
14116 (Info-directory-find-file, Info-directory-find-node)
14117 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14118 (Info-virtual-index-find-node, Info-apropos-find-file)
14119 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14120 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14121 (Info-virtual-index): Remove unused local variable `nodename'.
14122
b87a8200 141232011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14124
b87a8200
DD
14125 * net/rcirc.el: Update my e-mail address.
14126 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14127
3b2ff876
CY
141282011-04-05 Chong Yidong <cyd@stupidchicken.com>
14129
14130 * startup.el (command-line): Save the cursor's theme-face
14131 directly, instead of using face-override-spec.
14132
14133 * custom.el (load-theme): Minor optimization in assigning faces.
14134
8d17e7ca
JB
141352011-04-04 Juanma Barranquero <lekktu@gmail.com>
14136
14137 * help-fns.el (describe-variable): Complete all variables having
14138 documentation, including keywords.
14139 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14140
2fbc1934
JB
141412011-04-04 Juanma Barranquero <lekktu@gmail.com>
14142
14143 Convert to lexical-binding.
14144
14145 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14146 (bs--get-marked-string, bs--get-modified-string)
14147 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14148 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14149 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14150
14151 * ehelp.el (electric-help-execute-extended)
14152 (electric-help-ctrl-x-prefix):
14153 * hexl.el (hexl-revert-buffer-function):
14154 * linum.el (linum-after-change, linum-after-scroll):
14155 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14156
14157 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14158
74f50695
DU
141592011-04-04 Daiki Ueno <ueno@unixuser.org>
14160
14161 * epa-dired.el:
14162 * epa-mail.el:
14163 * epa-hook.el:
14164 * epa-file.el:
14165 * epa.el:
14166 * epg.el: Use lexical binding.
14167
c11325f7
CY
141682011-04-03 Chong Yidong <cyd@stupidchicken.com>
14169
0d9e9a12
CY
14170 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14171
c11325f7 14172 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14173 dictionary case for flyspell-mark-duplications-exceptions.
14174 Use regexp matching for languages.
c11325f7
CY
14175 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14176 default dictionary (Bug#7926).
14177
da91b5f2
CY
141782011-04-02 Chong Yidong <cyd@stupidchicken.com>
14179
099c39a4
JB
14180 * emacs-lisp/package.el (package--with-work-buffer):
14181 Recognize https URLs.
da91b5f2 14182
099c39a4
JB
14183 * net/network-stream.el: Move from gnus/proto-stream.el.
14184 Change prefix to network-stream throughout.
da91b5f2
CY
14185 (open-protocol-stream): Merge into open-network-stream, leaving
14186 open-protocol-stream as an alias. Handle nil BUFFER args.
14187
14188 * subr.el (open-network-stream): Move to net/network-stream.el.
14189
afa8e9f6
GM
141902011-04-02 Glenn Morris <rgm@gnu.org>
14191
1d2e369d
GM
14192 * find-dired.el (find-exec-terminator): New option.
14193 (find-ls-option): Test for -ls support.
14194 (find-ls-subdir-switches): Test for -b in find-ls-option.
14195 (find-dired, find-grep-dired): Doc fixes.
14196 (find-dired): Use find-exec-terminator.
14197
8abb7da8 14198 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14199 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14200 (find-name-arg): Remove purecopy.
8abb7da8 14201
f3ca7378
GM
14202 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14203 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14204 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14205 accordingly. Don't add the null-device if not needed.
14206
afa8e9f6
GM
14207 * files.el (save-some-buffers): Doc fix.
14208
35eae264
EZ
142092011-04-02 Eli Zaretskii <eliz@gnu.org>
14210
14211 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14212
26b51db5
JB
142132011-04-01 Juanma Barranquero <lekktu@gmail.com>
14214
14215 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14216 Use `dolist' rather than `mapcar'.
14217
7200d79c
SM
142182011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14219
03408648 14220 Add lexical binding.
7200d79c 14221
03408648
SM
14222 * subr.el (apply-partially): Use new closures rather than CL.
14223 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14224 (dolist, dotimes): Use slightly different expansion for lexical code.
14225 (functionp): Move to C.
14226 (letrec): New macro.
14227 (with-wrapper-hook): Use it and apply-partially instead of CL.
14228 (eval-after-load): Preserve lexical-binding.
14229 (save-window-excursion, with-output-to-temp-buffer): Turn them
14230 into macros.
7200d79c 14231
03408648
SM
14232 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14233
14234 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14235 than the arglist.
14236 (help-add-fundoc-usage): Don't add `Not documented'.
14237 (help-function-arglist): Handle closures, subroutines, and new
14238 byte-code-functions.
14239 (help-make-usage): Remove leading underscores.
14240 (describe-function-1): Handle closures.
14241 (describe-variable): Use special-variable-p for completion.
14242
14243 * files.el (lexical-binding): Declare safe.
f488fb65 14244
03408648
SM
14245 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14246 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14247 (pcase): Add `let' pattern.
14248 Change memoization so it actually works.
14249 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14250 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14251 <let>: New case.
f488fb65 14252
03408648
SM
14253 * emacs-lisp/macroexp.el: Use lexical binding.
14254 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14255 Don't convert ' to #' without checking that it's indeed quoting
14256 a lambda.
14257
14258 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14259 Use eval-sexp-add-defvars.
03408648
SM
14260 (eval-sexp-add-defvars): New fun.
14261
14262 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14263
14264 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14265 Don't autoload.
14266 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14267 than the internal `byte-compile-lambda'.
14268 (defmethod): Don't hide code under quotes.
14269 (eieio-defmethod): New `code' argument.
14270
14271 * emacs-lisp/eieio-comp.el: Remove.
14272
14273 * emacs-lisp/edebug.el (edebug-eval-defun)
14274 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14275 (edebug-toggle): Avoid `eval'.
14276
14277 * emacs-lisp/disass.el (disassemble-internal): Handle new
14278 `closure' objects.
14279 (disassemble-1): Handle new byte codes.
14280
14281 * emacs-lisp/cl.el (pushnew): Silence warning.
14282
14283 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14284 (cl-byte-compile-throw): Remove.
14285 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14286
14287 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14288 closures.
14289
14290 * emacs-lisp/cconv.el: New file.
14291
14292 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14293 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14294 (byte-compile-initial-macro-environment):
14295 Handle declare-function here.
14296 (byte-compile--lexical-environment): New var.
14297 (byte-stack-ref, byte-stack-set, byte-discardN)
14298 (byte-discardN-preserve-tos): New lap codes.
14299 (byte-interactive-p): Don't use any more.
14300 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14301 New macros.
14302 (byte-compile-lapcode): Use them and handle new lap codes.
14303 (byte-compile-obsolete): Remove.
14304 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14305 (byte-compile-arglist-warn): Check late def of inlinable funs.
14306 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14307 since they should have been expanded by now.
14308 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14309 (byte-compile-from-buffer): Remove unused second arg.
14310 (byte-compile-preprocess): New function.
14311 (byte-compile-toplevel-file-form): New function to distinguish
14312 file-form calls from outside from file-form calls from hunk-handlers.
14313 (byte-compile-file-form): Simplify.
14314 (byte-compile-file-form-defsubst): Remove.
14315 (byte-compile-file-form-defmumble): Simplify now that
14316 byte-compile-lambda always returns a byte-code-function.
14317 (byte-compile): Preprocess.
14318 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14319 Remove, not used any more.
14320 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14321 (byte-compile-make-args-desc): New funs.
14322 (byte-compile-lambda): Handle lexical functions. Always return
14323 a byte-code-function.
14324 (byte-compile-reserved-constants): New var, to make up room for
14325 closed-over variables.
14326 (byte-compile-constants-vector): Obey it.
14327 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14328 (byte-compile-macroexpand-declare-function): New function.
14329 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14330 byte-code-functions.
14331 (byte-compile-form): Check obsolescence here.
14332 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14333 (byte-compile-variable-ref): Remove.
14334 (byte-compile-dynamic-variable-op): New fun.
14335 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14336 (byte-compile-variable-set): New funs.
14337 (byte-compile-discard): Add 2 args.
14338 (byte-compile-stack-ref, byte-compile-stack-set)
14339 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14340 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14341 macroexpand-all instead.
14342 (byte-compile-quote-form): Remove.
14343 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14344 (byte-compile-bind, byte-compile-unbind): New funs.
14345 (byte-compile-let): Handle let* and lexical binding.
14346 (byte-compile-let*): Remove.
14347 (byte-compile-catch, byte-compile-unwind-protect)
14348 (byte-compile-track-mouse, byte-compile-condition-case):
14349 Handle a new :fun-body form, used for lexical scoping.
14350 (byte-compile-save-window-excursion)
14351 (byte-compile-with-output-to-temp-buffer): Remove.
14352 (byte-compile-defun): Simplify.
14353 (byte-compile-stack-adjustment): New fun.
14354 (byte-compile-out): Use it.
14355 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14356
14357 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14358 handler any more.
14359
14360 * emacs-lisp/byte-opt.el: Use lexical binding.
14361 (byte-inline-lapcode): Remove (to bytecomp).
14362 (byte-compile-inline-expand): Pay attention to inlining to/from
14363 lexically bound code.
14364 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14365 any more.
14366 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14367 any more and don't call compiler-macros.
14368 (byte-compile-splice-in-already-compiled-code): Remove.
14369 (byte-code): Don't inline any more.
14370 (disassemble-offset): Receive `bytes' as argument rather than via
14371 dynamic scoping.
14372 (byte-compile-tag-number): Declare before first use.
14373 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14374 `return' even if make-spliceable.
14375 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14376 obsolete interactive-p.
14377 (byte-optimize-lapcode): Optimize new lap-codes.
14378 Don't trip up on new form of `byte-constant' lap code.
14379
14380 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14381
14382 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14383
14384 * custom.el (custom-initialize-default, custom-declare-variable):
14385 Use `defvar'.
14386
14387 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14388 New variables.
14389 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14390 (COMPILE_FIRST): Add macroexp and cconv.
14391 * makefile.w32-in: Mirror changes in Makefile.in.
14392
14393 * vc/cvs-status.el:
14394 * vc/diff-mode.el:
14395 * vc/log-edit.el:
14396 * vc/log-view.el:
14397 * vc/smerge-mode.el:
14398 * textmodes/bibtex-style.el:
14399 * textmodes/css.el:
14400 * startup.el:
14401 * uniquify.el:
da91b5f2
CY
14402 * minibuffer.el:
14403 * newcomment.el:
14404 * reveal.el:
14405 * server.el:
14406 * mpc.el:
14407 * emacs-lisp/smie.el:
14408 * doc-view.el:
14409 * dired.el:
03408648
SM
14410 * abbrev.el: Use lexical binding.
14411
0f0c1f27
EZ
144122011-04-01 Eli Zaretskii <eliz@gnu.org>
14413
14414 * info.el (info-display-manual): New function.
14415
c82b2579
SM
144162011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14417
14418 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14419
221ddf68
TH
144202011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14421
14422 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14423 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14424
cba6e77e
GM
144252011-03-31 Glenn Morris <rgm@gnu.org>
14426
e040639f
GM
14427 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14428
cba6e77e
GM
14429 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14430
6d0f1c9e
CS
144312011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14432
14433 * progmodes/python.el (python-default-interpreter)
14434 (python-python-command-args, python-jython-command-args)
14435 (python-which-shell, python-which-args, python-which-bufname)
14436 (python-file-queue, python-comint-output-filter-function)
14437 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14438 variables and functions.
14439
3e2d70fd
SM
144402011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14441
14442 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14443 (completion-in-region-mode): New minor mode.
14444 (completion-in-region): Use it.
14445 (completion-in-region--data, completion-in-region-mode-map): New vars.
14446 (completion-in-region--postch): New function.
14447 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14448 New vars.
14449 (completion--capf-wrapper): New function.
14450 (completion-at-point): Use it to track well-behavedness of
14451 hook functions.
14452 (completion-help-at-point): New command.
14453
f3e4086c
JM
144542011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14455
14456 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14457 syntax class to search for whitespace on a single line
14458 (Message-ID: <4D938140.4030905@redhat.com>).
14459
eb7ffc14
LL
144602011-03-30 Leo Liu <sdl.web@gmail.com>
14461
14462 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14463 New commands.
14464 (edit-abbrevs-map): Bind them here.
14465 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14466
d806ab68
KM
144672011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14468
14469 * allout.el (allout-hide-by-annotation, allout-flag-region):
14470 Reduce possibility of overlay leakage by making them volatile.
14471
14472 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14473 hash is not shared between buffers. Mode initialization is
14474 responsible for giving it a useful starting value.
14475 (allout-item-span): Reduce possibility of overlay leakage by
14476 making them volatile.
14477 (allout-widgets-count-buttons-in-region): Add diagnostic function
14478 for tracking down button overlay leaks.
14479
ea622834
LL
144802011-03-29 Leo Liu <sdl.web@gmail.com>
14481
14482 * ido.el (ido-read-internal): Use the default history var
14483 minibuffer-history if no HISTORY is specified.
14484
b62f8267
G
144852011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14486
03408648
SM
14487 * net/imap.el (imap-shell-open, imap-process-connection-type):
14488 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14489 Kerberos, SSL, other subprocesses.
14490
947b6566
LL
144912011-03-28 Leo Liu <sdl.web@gmail.com>
14492
14493 * abbrev.el (abbrev-table-empty-p): New function.
14494 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14495 nonempty ones. (Bug#5937)
14496
5ffb62aa
JD
144972011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14498
14499 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14500
7a097943
LL
145012011-03-27 Leo Liu <sdl.web@gmail.com>
14502
14503 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14504 for foreground and background colors.
14505 (ansi-color-make-color-map): Adapt.
14506
c5b40130
LL
145072011-03-25 Leo Liu <sdl.web@gmail.com>
14508
1f48f7d2
LL
14509 * midnight.el (midnight-time-float): Remove. Note it calculates
14510 the microsecond component incorrectly and seconds-to-time does the
14511 same job.
625897ec 14512 Remove redundant (require 'timer).
1f48f7d2 14513
c5b40130
LL
14514 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14515 (ido-completions): Remove unused arguments. (Bug#8329)
14516
d86d2721
SM
145172011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14518
14519 * minibuffer.el (completion--flush-all-sorted-completions):
14520 Remove itself from hook.
14521 (completion-at-point): Let the functions perform the completion
14522 immediately and return nil or t.
14523 * comint.el (comint-dynamic-complete-functions): Now identical to
14524 completion-at-point-functions.
14525 (comint-dynamic-list-input-ring): Remove unused var `index'.
14526 (comint--match-partial-filename, comint--unquote&expand-filename):
14527 New funs, split from comint-match-partial-filename.
14528 (comint-dynamic-complete): Use completion-at-point.
14529 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14530
e8974c48
DA
145312011-03-24 Drew Adams <drew.adams@oracle.com>
14532
14533 * thingatpt.el: Support `defun'.
14534
def71b5e
LL
145352011-03-23 Leo Liu <sdl.web@gmail.com>
14536
cb5af48e
LL
14537 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14538
def71b5e
LL
14539 * help-mode.el (help-mode-finish): Tweak regexp.
14540
927c53e7
GM
145412011-03-23 Glenn Morris <rgm@gnu.org>
14542
18d05bed
GM
14543 * eshell/esh-opt.el (eshell-eval-using-options):
14544 Do not bind unused local variable `eshell-option-stub'.
14545
927c53e7
GM
14546 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14547
9d0da923
JB
145482011-03-22 Juanma Barranquero <lekktu@gmail.com>
14549
14550 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14551 keymap variable in `with-no-warnings' to avoid a warning when the
14552 keymap has been already `defconst'ed.
14553
4b978a67
LL
145542011-03-22 Leo Liu <sdl.web@gmail.com>
14555
14556 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14557 encode all chars in abbrevs; otherwise use emacs-mule or
14558 utf-8-emacs. (Bug#8308)
14559
5fd62452
JB
145602011-03-22 Juanma Barranquero <lekktu@gmail.com>
14561
0b1596c6
JB
14562 * simple.el (backward-delete-char-untabify):
14563 Avoid warning about using `delete-backward-char'.
14564
5fd62452
JB
14565 * image.el (image-type-file-name-regexps): Make it variable.
14566 `imagemagick-register-types' modifies it, and the user may want
14567 to add new extensions for known image types.
14568 (imagemagick-register-types): Throw error if not using ImageMagick.
14569
0b4e93f1
LL
145702011-03-22 Leo Liu <sdl.web@gmail.com>
14571
14572 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14573 located before rcirc-prompt-end-marker.
14574 (rcirc-complete): Error if point is not after rcirc prompt.
14575 Handle the case when table is nil.
9882e214 14576 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14577
fccee4ab
CY
145782011-03-22 Chong Yidong <cyd@stupidchicken.com>
14579
14580 * custom.el (custom--inhibit-theme-enable): Make it affect only
14581 custom-theme-set-variables and custom-theme-set-faces.
14582 (provide-theme): Ignore custom--inhibit-theme-enable.
14583 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14584 (custom-enabling-themes): Delete variable.
d86d2721
SM
14585 (enable-theme): Accept only loaded themes as arguments.
14586 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14587 (custom-enabled-themes): Forbid themes from setting this.
14588 Eliminate use of custom-enabling-themes.
14589 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14590
af896da6
LL
145912011-03-21 Leo Liu <sdl.web@gmail.com>
14592
14593 * ido.el (ido-read-internal): Add ido-selected to history instead
14594 of user input.
14595
78f64af0
SM
145962011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14597
14598 * subr.el (deferred-action-list, deferred-action-function):
14599 Mark obsolete.
14600
b16ac1ec
LL
146012011-03-21 Leo Liu <sdl.web@gmail.com>
14602
810f7698
LL
14603 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14604 change on 2011-02-13 (bug#8309).
14605
b16ac1ec
LL
14606 * minibuffer.el (read-file-name-function): Change default value.
14607 (read-file-name--defaults): Rename from read-file-name-defaults.
14608 (read-file-name-default): Rename from read-file-name.
14609 (read-file-name): Call read-file-name-function.
14610
4e05e67e
GM
146112011-03-21 Glenn Morris <rgm@gnu.org>
14612
14613 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14614 Doc fixes.
14615
4359915b
CY
146162011-03-21 Chong Yidong <cyd@stupidchicken.com>
14617
14618 * cus-theme.el: Add missing provide statement.
14619 (customize-create-theme): Extract theme value correctly.
14620 (custom-theme-visit-theme): Autoload.
14621 (customize-create-theme): Prompt before inserting default faces.
14622
1fe275ee
JB
146232011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14624
14625 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14626 units and musical notes.
14627
cd394be1 146282011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14629
14630 * ido.el (ido-read-internal): Use completing-read-default.
14631 (ido-completing-read): Fix compatibility with completing-read.
14632
7d476bde
CO
146332011-03-20 Christian Ohler <ohler@gnu.org>
14634
14635 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14636 (ert-delete-all-tests): Use `called-interactively-p' rather than
14637 `interactive-p'.
14638 (ert--make-xrefs-region): Respect END.
14639
fe0fb33e
CY
146402011-03-19 Chong Yidong <cyd@stupidchicken.com>
14641
ff854b0b
CY
14642 * dired-aux.el (dired-create-directory): Signal an error if the
14643 directory already exists (Bug#8246).
14644
fe0fb33e
CY
14645 * facemenu.el (list-colors-display): Call list-faces-display
14646 inside with-help-window.
14647 (list-colors-print): Use display property to align the final
14648 column, instead of checking window-width.
14649
576bce32
EZ
146502011-03-19 Eli Zaretskii <eliz@gnu.org>
14651
4d61f28d 14652 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14653 windows-nt systems.
14654 (emerge-protect-metachars): Quote correctly for ms-dos and
14655 windows-nt systems.
14656
89c41d68 146572011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14658
14659 * info.el (info-initialize): Replace all uses of `:' with
14660 path-separator for compatibility with non-Unix systems.
14661 Cache quoting of path-separator. (Bug#8258)
14662
b14e3e21 146632011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14664
14665 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14666 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14667 (mouse-avoidance-mode): Fix typos in docstrings.
14668
4525ce3e
CY
146692011-03-19 Chong Yidong <cyd@stupidchicken.com>
14670
14671 * startup.el (package-subdirectory-regexp): Move from package.el.
14672 Omit \\` and \\', and let callers add them.
14673
14674 * emacs-lisp/package.el (package-strip-version)
14675 (package-load-all-descriptors): Add \\` and \\' to
14676 package-subdirectory-regexp before using it.
14677 (package-untar-buffer): New arg DIR; ensure that file untars only
14678 into this expected directory. Remove superfluous delete-region.
14679 (package-unpack): Caller changed.
14680 (package-tar-file-info): Use package-subdirectory-regexp.
14681
a904a09a 146822011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14683
a904a09a
SM
14684 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14685 diff-mode-shared-map (bug#8284).
14686 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14687
146882011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14689
14690 * calendar/time-date.el (format-seconds): Use assoc instead of
14691 assoc-string, since assoc-string doesn't exist in XEmacs.
14692
171fc304
JB
146932011-03-17 Juanma Barranquero <lekktu@gmail.com>
14694
14695 * custom.el (custom-known-themes): Reflow docstring.
14696 (custom-theme-load-path): Fix typo in docstring.
14697 (load-theme): Fix typo in error message.
14698 (custom-available-themes, custom-variable-theme-value):
14699 Use `let', not `let*'.
14700
d71990a1
JB
147012011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14702
14703 * calc/README: Mention inclusion of musical notes.
14704
14705 * calc/calc-units.el (calc-lu-quant): Rename from
14706 `calc-logunits-quantity'.
14707 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14708 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14709 (calc-db): Rename from `calc-dblevel'.
14710 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14711 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14712 (calc-np): Rename from `calc-nplevel'.
14713 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14714 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14715 (calc-lu-plus): Rename from `calc-logunits-add'.
14716 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14717 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14718 (calc-lu-minus): Rename from `calc-logunits-sub'.
14719 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14720 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14721 (calc-lu-times): Rename from `calc-logunits-mul'.
14722 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14723 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14724 (calc-lu-divide): Rename from `calc-logunits-div'.
14725 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14726 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14727
14728 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14729 functions being autoloaded.
14730
14731 * calc/calc.el (calc-lu-power-reference): Rename from
14732 `calc-logunits-power-reference'.
14733 (calc-lu-field-reference): Rename from
14734 `calc-logunits-field-reference'.
14735
7a71b18d
GM
14736 * calc/calc-help.el (calc-l-prefix-help):
14737 Mention musical note functions.
d71990a1 14738
40c2934b
SM
147392011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14740
14741 * minibuffer.el (completion-all-sorted-completions):
14742 Use :completion-cycle-penalty text property if present.
14743
b0911414
KM
147442011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14745
14746 * allout.el (allout-yank-processing): Adjust for new rebulleting
14747 regime so bullet being yanked is used without prompting the user
14748 for a choice.
14749
8a05b668
JB
147502011-03-16 Juanma Barranquero <lekktu@gmail.com>
14751
14752 * startup.el (command-line): Warn the user that _emacs is deprecated.
14753
5ba5fb81
JB
147542011-03-16 Juanma Barranquero <lekktu@gmail.com>
14755
14756 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14757 (delphi-verbose, delphi-comment-face, delphi-string-face)
14758 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14759 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14760 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14761 (delphi-new-comment-line, delphi-font-lock-defaults)
14762 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14763 Fix typos in docstrings.
14764
2dab465b
KM
147652011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14766
5ba5fb81 14767 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14768 Invert the roles of character and string values for INSTEAD, so a
14769 string is used for the more common case of a defaulting prompt.
14770
0adf5618
SM
147712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14772
14773 * progmodes/ruby-mode.el (ruby-backward-sexp):
14774 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14775 * play/gamegrid.el (gamegrid-make-face):
14776 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14777 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14778 * notifications.el (notifications-notify):
14779 * net/xesam.el (xesam-search-engines):
14780 * net/quickurl.el (quickurl-list-insert):
14781 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14782
d72700e5
CY
147832011-03-15 Chong Yidong <cyd@stupidchicken.com>
14784
14785 * startup.el (command-line): Update package subdirectory regexp.
14786
49c5410a
SM
147872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14788
c6eee9aa
SM
14789 * allout.el (allout-abbreviate-flattened-numbering)
14790 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14791
49c5410a
SM
14792 * subr.el (read-char-choice): Only show the cursor after the prompt,
14793 not after the answer.
14794
047b2bb9
KR
147952011-03-15 Kevin Ryde <user42@zip.com.au>
14796
14797 * help-fns.el (variable-at-point): Skip leading quotes, if any
14798 (bug#8253).
14799
0a57d256
SM
148002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14801
14802 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14803 warning message.
14804
77c992bc
MA
148052011-03-14 Michael Albinus <michael.albinus@gmx.de>
14806
14807 * shell.el (shell): When called interactively, offer to change the
14808 shell file name on remote hosts.
14809
eebc475d
TZ
148102011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14811
14812 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14813 integration for LDAP parameters. The host, base, user or binddn,
14814 and secret tokens can be specified in a netrc file, for instance.
14815 This is optional because an `auth-source' parameter must be
14816 specified in the search attributes.
14817
9d05d1ba
JB
148182011-03-13 Juanma Barranquero <lekktu@gmail.com>
14819
14820 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14821
09d9db2c
GM
148222011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14823
14824 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14825 into declaration. Remove redundant and harmful binding.
14826
148272011-03-12 Eli Zaretskii <eliz@gnu.org>
14828
14829 * files.el (file-ownership-preserved-p): Pass `integer' as an
14830 explicit 2nd argument to `file-attributes'. If the file's owner
14831 is the Administrators group on Windows, and the current user is
14832 Administrator, consider that a match.
14833
14834 * server.el (server-ensure-safe-dir): Consider server directory
14835 safe on MS-Windows if its owner is the Administrators group while
14836 the current Emacs user is Administrator. Use `=' to compare
14837 numerical UIDs, since they could be integers or floats.
14838
219bd536
JB
148392011-03-12 Juanma Barranquero <lekktu@gmail.com>
14840
14841 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14842
f3afd36b
MA
148432011-03-12 Michael Albinus <michael.albinus@gmx.de>
14844
14845 Sync with Tramp 2.2.1.
14846
14847 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14848
14849 * net/trampver.el: Update release number.
14850
3aaaa6f1
SM
148512011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14852
94642599
SM
14853 * progmodes/compile.el (compilation--previous-directory): Fix up
14854 various nil/dead-marker mismatches (bug#8014).
14855 (compilation-directory-properties, compilation-error-properties):
14856 Don't call it at a position past the one we're about to change.
14857
3aaaa6f1
SM
14858 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14859 Disable obsolescence warnings in the file that declares it.
14860
14239447
KM
148612011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14862
099c39a4
JB
14863 * allout-widgets.el (allout-widgets-tally):
14864 Initialize allout-widgets-tally as a hash table rather than nil to
14865 prevent mode-line redisplay warnings. Also, clarify the module
14866 description and fix a comment typo.
14239447 14867
135e287c
JB
148682011-03-11 Juanma Barranquero <lekktu@gmail.com>
14869
14870 * help-fns.el (describe-variable): Don't complete keywords.
14871 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14872
ffbf300e
CY
148732011-03-10 Chong Yidong <cyd@stupidchicken.com>
14874
ba08b241
CY
14875 * emacs-lisp/package.el (package-version-join): Impose a standard
14876 string representation for pre/alpha/beta version lists.
14877 (package-unpack-single): Standardize the directory name by passing
14878 it through package-version-join.
14879 (package-strip-rcs-id): Accept any version string that does not
14880 signal an error in version-to-list.
ffbf300e 14881
f346fd6b
MA
148822011-03-10 Michael Albinus <michael.albinus@gmx.de>
14883
14884 * simple.el (delete-trailing-whitespace): Return nil for the
14885 benefit of `write-file-functions'.
14886
ccb55d27
GM
148872011-03-10 Glenn Morris <rgm@gnu.org>
14888
5ceaac0c
GM
14889 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14890
02da65ff
GM
14891 * vc/vc-git.el (vc-git-program): New option.
14892 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14893 (vc-git--call): Use it.
14894
b2f603cc
GM
14895 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14896
5772caab
GM
14897 * cus-edit.el (Custom-newline): If no button at point, look
14898 for a subgroup button at start-of-line. (Bug#2298)
14899
ccb55d27
GM
14900 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14901
ec6ecaed
JD
149022011-03-10 Julien Danjou <julien@danjou.info>
14903
14904 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14905 `cursor-type' is nil.
14906
9d5aa01d
JB
149072011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14908
14909 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14910
b6a5875b
KM
149112011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14912
7a71b18d 14913 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14914 preserves the existing header prefix, rebulleting it if necessary,
14915 rather than replacing it. This is necessary for proper operation
14916 of cooperative addons like allout-widgets.
1154d12e
JB
14917 (allout-make-topic-prefix, allout-rebullet-heading):
14918 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14919 value as alternate bullet to be used, instead of prompting the user
14920 for a bullet character.
b6a5875b 14921
ee545c35
MA
149222011-03-09 Michael Albinus <michael.albinus@gmx.de>
14923
d86d2721
SM
14924 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14925 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14926 `tramp-default-port'.
14927
c47971d7
DD
149282011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14929
14930 * net/rcirc.el (rcirc-handler-001): Remove useless
14931 with-rcirc-process-buffer.
14932 (rcirc-check-auth-status): Swap arguments to string-match.
14933
13522cb4
GM
149342011-03-09 Glenn Morris <rgm@gnu.org>
14935
0be6f4f1
GM
14936 * shell.el (shell-mode):
14937 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14938
13522cb4
GM
14939 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14940 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14941
515de2e3
CY
149422011-03-08 Chong Yidong <cyd@stupidchicken.com>
14943
14944 * emacs-lisp/package.el (package-refresh-contents)
14945 (package-menu-execute): Use condition-case-no-debug.
14946
b511b994
MA
149472011-03-08 Michael Albinus <michael.albinus@gmx.de>
14948
14949 * simple.el (shell-command-to-string): Use `process-file'.
14950
14951 * emacs-lisp/package.el (package-tar-file-info): Handle also
14952 remote files.
14953
d86d2721
SM
14954 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14955 Use `equal' for upload base check.
b511b994 14956
25bbfb31
AM
149572011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14958
14959 * textmodes/texinfo.el (texinfo-environments):
14960 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14961
be996521
GM
149622011-03-08 Glenn Morris <rgm@gnu.org>
14963
e9c8529f
GM
14964 * cus-start.el (cursor-in-non-selected-windows):
14965 Fix :set quoting oddness. (Bug#8192)
14966
be996521
GM
14967 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14968 in some setf expressions. (Bug#2159)
14969
2bb5649e
CY
149702011-03-08 Chong Yidong <cyd@stupidchicken.com>
14971
14972 * custom.el (custom-available-themes): Return themes in
14973 alphabetical order.
14974
33383987 14975See ChangeLog.15 for earlier changes.
e3d51b27
MR
14976
14977;; Local Variables:
14978;; coding: utf-8
e3d51b27
MR
14979;; End:
14980
acaf905b 14981 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14982
14983 This file is part of GNU Emacs.
14984
14985 GNU Emacs is free software: you can redistribute it and/or modify
14986 it under the terms of the GNU General Public License as published by
14987 the Free Software Foundation, either version 3 of the License, or
14988 (at your option) any later version.
14989
14990 GNU Emacs is distributed in the hope that it will be useful,
14991 but WITHOUT ANY WARRANTY; without even the implied warranty of
14992 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14993 GNU General Public License for more details.
14994
14995 You should have received a copy of the GNU General Public License
14996 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.