Give ImageMagick lowest priority in image-type-file-name-regexps.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
72834e10
CY
12012-06-11 Chong Yidong <cyd@gnu.org>
2
3 * image.el (imagemagick-register-types): Put the ImageMagick entry
4 at the end of image-type-file-name-regexps.
5
a4712e11
JB
62012-06-11 Johan Bockgård <bojohan@gnu.org>
7
8 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9 (pcase, pcase-let*, pcase-dolist): Use them.
10
82ad98e3
SM
112012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * emacs-lisp/pcase.el (pcase--let*): New function.
14 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
15 (pcase--expand): Use macroexp-let².
16
f80efb86
SM
172012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
20 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
21 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
22 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
23 * emacs-lisp/derived.el: Use pcase instead of `cl'.
24 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
25
31ca4639 262012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 27
31ca4639
CY
28 * mail/rmail.el (rmail-yank-current-message): Leave point at
29 correct position. (Bug#11660)
94f0aa34 30
31ca4639 312012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 32
31ca4639 33 * allout-widgets.el: Fix code header.
9e1b8ec4 34
31ca4639 352012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 36
f80efb86
SM
37 * cus-edit.el (customize-changed-options-previous-release):
38 Bump to 24.1.
31ca4639 39
642b6d30
AS
402012-06-09 Andreas Schwab <schwab@linux-m68k.org>
41
42 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
43
4f5d2ba1
CY
442012-06-09 Chong Yidong <cyd@gnu.org>
45
46 * ebuff-menu.el (electric-buffer-list): Preserve header line.
47
e75852fd
MR
482012-06-09 Martin Rudalics <rudalics@gmx.at>
49
50 * window.el (special-display-popup-frame): Don't use
51 window--display-buffer (Bug#11651).
52
1e48e282
EZ
532012-06-09 Eli Zaretskii <eliz@gnu.org>
54
8a26b487
EZ
55 Fix parallel builds: make sure loaddefs.el is not being written
56 while Lisp files are compiled.
57 (compile): Don't depend on 'mh-autoloads'.
58 (compile-CMD, compile-SH): Depend on 'autoloads'.
59 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
60
1e48e282
EZ
61 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
62
6175e34b
CY
632012-06-09 Chong Yidong <cyd@gnu.org>
64
65 * face-remap.el (face-remap-add-relative, face-remap-set-base)
66 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
67 Doc fixes (Bug#11225).
68
d9857e53
SM
692012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
72 a function if there's a clear indication that it has a compiler-macro.
73 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
74 (macro-declarations-alist): Add arglist to declaration functions.
75 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
76 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
77 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
78 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
79 Also add autoload to find the compiler macro.
80 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
81 (cl--compiler-macro-member, cl--compiler-macro-assoc)
82 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
83 (cl--compiler-macro-get): New functions, replacing calls to
84 cl-define-compiler-macro.
85 (cl-typep) [compiler-macro]: Use macroexp-let².
86
f81298f8 872012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
88
89 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
90 string properly, fixes Bug#11473.
91
4b56d0fe
CY
922012-06-08 Chong Yidong <cyd@gnu.org>
93
94 * faces.el (set-face-attribute): Doc fix.
95 (modify-face): Don't use :bold and :italic.
96 (error, warning, success): Tweak definitions.
97
98 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
99 (custom-modified, custom-set, custom-changed, custom-themed)
100 (custom-saved, custom-button, custom-button-mouse)
101 (custom-button-pressed, custom-state, custom-comment-tag)
102 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
103 (custom-group-subtitle): Use new-style face specs.
104 (custom-invalid-face, custom-rogue-face, custom-modified-face)
105 (custom-set-face, custom-changed-face, custom-saved-face)
106 (custom-button-face, custom-button-pressed-face)
107 (custom-documentation-face, custom-state-face)
108 (custom-comment-face, custom-comment-tag-face)
109 (custom-variable-tag-face, custom-variable-button-face)
110 (custom-face-tag-face, custom-group-tag-face-1)
111 (custom-group-tag-face): Remove obsolete face alias.
112
113 * epa.el (epa-validity-high, epa-validity-medium)
114 (epa-validity-low, epa-mark, epa-field-name, epa-string)
115 (epa-field-name, epa-field-body):
116 * font-lock.el (font-lock-comment-face, font-lock-string-face)
117 (font-lock-keyword-face, font-lock-builtin-face)
118 (font-lock-function-name-face, font-lock-variable-name-face)
119 (font-lock-type-face, font-lock-constant-face):
120 * ido.el (ido-first-match, ido-only-match, ido-subdir)
121 (ido-virtual, ido-indicator, ido-incomplete-regexp):
122 * speedbar.el (speedbar-button-face, speedbar-file-face)
123 (speedbar-directory-face, speedbar-tag-face)
124 (speedbar-selected-face, speedbar-highlight-face)
125 (speedbar-separator-face):
126 * whitespace.el (whitespace-newline, whitespace-space)
127 (whitespace-hspace, whitespace-tab, whitespace-trailing)
128 (whitespace-line, whitespace-space-before-tab)
129 (whitespace-space-after-tab, whitespace-indentation)
130 (whitespace-empty):
131 * emulation/cua-base.el (cua-global-mark):
132 * eshell/em-prompt.el (eshell-prompt):
133 * net/newst-plainview.el (newsticker-new-item-face)
134 (newsticker-old-item-face, newsticker-immortal-item-face)
135 (newsticker-obsolete-item-face, newsticker-date-face)
136 (newsticker-statistics-face, newsticker-default-face):
137 * net/newst-reader.el (newsticker-feed-face)
138 (newsticker-extra-face, newsticker-enclosure-face):
139 * net/newst-treeview.el (newsticker-treeview-face)
140 (newsticker-treeview-new-face, newsticker-treeview-old-face)
141 (newsticker-treeview-immortal-face)
142 (newsticker-treeview-obsolete-face)
143 (newsticker-treeview-selection-face):
144 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
145 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
146 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
147 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
148 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
149 (nxml-outline-active-indicator, nxml-outline-ellipsis):
150 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
151 (mpuz-text):
152 * progmodes/vera-mode.el (vera-font-lock-number)
153 (vera-font-lock-function, vera-font-lock-interface):
154 * textmodes/table.el (table-cell): Use new-style face specs, and
155 don't use the old :bold and :italic attributes.
156
157 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
158 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
159 (ebrowse-member-class, ebrowse-progress): Likewise.
160 (ebrowse-tree-mark-face, ebrowse-root-class-face)
161 (ebrowse-file-name-face, ebrowse-default-face)
162 (ebrowse-member-attribute-face, ebrowse-member-class-face)
163 (ebrowse-progress-face): Remove obsolete faces.
164
165 * progmodes/flymake.el (flymake-errline, flymake-warnline):
166 Inherit from error and warning faces respectively.
167
168 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
169 Likewise.
f80efb86
SM
170 (flyspell-incorrect-face, flyspell-duplicate-face):
171 Remove obsolete aliases.
4b56d0fe 172
03310646
MA
1732012-06-08 Michael Albinus <michael.albinus@gmx.de>
174
175 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
176 Avoid infloop.
177
513749ee
SM
1782012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * startup.el (argv, argi): Make lexically scoped.
181 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
182 * emacs-lisp/cl-macs.el: Use lexical-binding.
183 Rename cl-bind-* to cl--bind-*.
184 * files.el: Don't require `cl' since it doesn't use it.
185 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
186
595ef4ad
JB
1872012-06-08 Juanma Barranquero <lekktu@gmail.com>
188
189 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
190 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
191 instead of calling external sort utility.
192 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
193
e9f66fcb
EZ
1942012-06-08 Eli Zaretskii <eliz@gnu.org>
195
196 * descr-text.el (describe-char): Mention how to insert the
197 character, if the current input method doesn't support it.
198 See the discussion in this thread for the details:
199 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
200
3d10db47
SS
2012012-06-08 Sam Steingold <sds@gnu.org>
202
203 * bindings.el (global-map): Bind XF86Forward to next-buffer and
204 XF86Back to previous-buffer.
205 (minibuffer-local-map): Bind them to next-history-element and
206 previous-history-element respectively.
207 * help-mode.el (help-mode-map): Bind them to help-go-forward and
208 help-go-back respectively.
209 * info.el (Info-mode-map): Bind them to Info-history-forward and
210 Info-history-back respectively.
211 These are the keys next to Up on the ThinkPad keyboard.
212
de7e2b36
SM
2132012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
216 * emacs-lisp/cl-macs.el: Provide itself.
217 (cl--labels-convert-cache): New var.
218 (cl--labels-convert): New function.
219 (cl-flet, cl-labels): New implementation with new semantics, relying on
220 lexical-binding.
221 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
222 (cl-closure-vars, cl--function-convert-cache)
223 (cl--function-convert): Move from cl-macs.el.
224 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
225 rename by removing the "cl-" prefix.
226 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
227
6fa6c4ae
SM
2282012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
231 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
232 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
233 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
234 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
235 (cl-hash-table-count): Add old compatibility aliases.
236
237 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
238 Use macroexpand-all-environment instead.
239 (cl--old-macroexpand): New var.
240 (cl--sm-macroexpand): New function.
241 (cl-symbol-macrolet): Use it during macro expansion.
242 (cl--function-convert-cache): New var.
243 (cl--function-convert): New function, extracted from
244 cl-macroexpand-all.
245 (cl-lexical-let): Use it.
246
247 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
248 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
249 (cl-member): Remove old alias.
250
251 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
252 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
253 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
254 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
255 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
256 (cl-macroexpand-cmacs): Remove var.
257 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
258 Use macroexpand-all instead.
259
4dd1c416
SM
2602012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
263 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
264 (macroexp-copyable-p): New functions and macros.
265 * emacs-lisp/edebug.el (edebug-unwrap):
266 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
267 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
268 (pcase--let*): Remove.
269 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
270 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
271 macroexp-const-p instead.
272 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
273
274 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
275 instead of "cl-" for internal definitions. Use macroexp-const-p.
276 (cl-old-bc-file-form): Remove var.
277 (cl-const-exprs-p): Remove fun.
278 (cl-labels, cl-macrolet): Use backquote.
279 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
280 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
281 (cl-define-setf-expander): Rename from cl-define-setf-method.
282 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
283
284 * international/mule-cmds.el: Don't require CL.
285 (view-hello-file): Don't use `letf'.
286
ed8bd4d7
SM
2872012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
288
7287f2f3
SM
289 * tmm.el (tmm-prompt): Use string-prefix-p.
290 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
291 (tmm-add-prompt): Use minibuffer-completion-help.
292 (tmm-delete-map): Remove.
293
ed8bd4d7
SM
294 * subr.el (kbd): Make it its own function.
295
7b4cdbf4
SM
2962012-06-07 Stefan Merten <smerten@oekonux.de>
297
298 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
299 Silence compiler warnings. Fix versions.
ed8bd4d7 300 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 301 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 302 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
303 (rst-package-emacs-version-alist): Correct Emacs version to
304 represent major merge with upstream.
ed8bd4d7 305 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 306
2b48d721
GM
3072012-06-06 Glenn Morris <rgm@gnu.org>
308
309 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
310 Only print environment variables if set.
311
fa779ab0
SM
3122012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
315 (macroexp--cons): Rename from maybe-cons.
316 (macroexp--accumulate): Rename from macroexp-accumulate.
317 (macroexp--all-forms): Rename from macroexpand-all-forms.
318 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
319 (macroexp--expand-all): Rename from macroexpand-all-1.
320
628299e0
SS
3212012-06-06 Sam Steingold <sds@gnu.org>
322
323 * calendar/calendar.el (calendar-in-read-only-buffer):
324 Call `special-mode' to enable the standard read-only keybindings.
325
b7bb5838
SM
3262012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
329 with "loading" messages (bug#11635).
330
dfb308ba
MA
3312012-06-06 Michael Albinus <michael.albinus@gmx.de>
332
333 * files.el (enable-remote-dir-locals): New option.
334 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
335
0372ee92
MA
336 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
337 Ensure, that the temp directory is local.
338
339 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
340 `temporary-file-directory'.
341
eed0bb91
MA
342 * progmodes/python.el (python-send-region): Ensure, that the
343 temporary file is created also in the remote case.
344
7a58f64d
GM
3452012-06-06 Glenn Morris <rgm@gnu.org>
346
f7dd4e98
GM
347 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
348 (vc-rcs-update-changelog): Use it.
349
276d5f5d
GM
350 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
351
7a58f64d
GM
352 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
353 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
354 (vc-sccs-diff): Replace use of the external vcdiff script.
355
daed4003
GM
3562012-06-05 Glenn Morris <rgm@gnu.org>
357
358 * ledit.el: Move to obsolete/.
359
48c455c7
SS
3602012-06-05 Sam Steingold <sds@gnu.org>
361
362 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
363 patch (Bug#11140).
364
57a7d507
SM
3652012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
366
d32926ff
SM
367 * emacs-list/cust-print.el: Move to obsolete.
368
53aacf21
SM
369 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
370 compiler-macro expansion.
371
57a7d507
SM
372 Add native compiler-macro support.
373 * emacs-lisp/macroexp.el (macroexpand-all-1):
374 Support compiler-macros directly. Properly follow aliases and apply
375 the compiler macros more thoroughly.
376 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
377 macroexpand now properly follows aliases.
378 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
379 (cl-compiler-macroexpand): Use new prop.
380 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
381
382 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
383
51a5f9d8
MR
3842012-06-05 Martin Rudalics <rudalics@gmx.at>
385
386 * window.el (get-lru-window, get-mru-window, get-largest-window):
387 New argument NOT-SELECTED to avoid picking the selected window.
388 (window--display-buffer-1, window--display-buffer-2): Replace by
389 new function window--display-buffer
390 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
391 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
392 Use window--display-buffer.
51a5f9d8
MR
393 (display-buffer-use-some-window): Remove temporary dedication
394 hack by calling get-lru-window and get-largest-window with
395 NOT-SELECTED argument non-nil. Call window--display-buffer.
396
08f9f738
GM
3972012-06-05 Glenn Morris <rgm@gnu.org>
398
399 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
400 Replace external vcdiff script.
401
e364a2b7
SM
4022012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
405
041df390
CY
4062012-06-04 Chong Yidong <cyd@gnu.org>
407
e364a2b7
SM
408 * image.el (imagemagick-types-inhibit): Revert last change.
409 Add INFO and M.
47b36b94 410 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 411
7c1898a7
SM
4122012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * emacs-lisp/cl-lib.el: Rename from cl.el.
415 * emacs-lisp/cl.el: New compatibility file.
416 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
417 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
418 to obey the "cl-" prefix.
419 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
420
0c3461de
GM
4212012-06-03 Glenn Morris <rgm@gnu.org>
422
1e266c88
GM
423 * emacs-lisp/authors.el (authors-aliases): Addition.
424
0c3461de
GM
425 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
426 Fix :version.
427
d8a52e15
SM
4282012-06-03 Stefan Merten <smerten@oekonux.de>
429
430 * textmodes/rst.el: Add comments.
431 (rst-transition, rst-adornment): New faces.
432 (rst-adornment-faces-alist): Make default safe to reevaluate.
433 Fixes
434 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
435 Improve customization tags.
436 (rst-define-level-faces): Clarify meaning.
437
5205d6f6
CY
4382012-06-03 Chong Yidong <cyd@gnu.org>
439
440 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
441 (compilation-mode-line-run, compilation-mode-line-exit):
442 New faces.
5205d6f6
CY
443 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
444
757ee657
JD
4452012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
446
7c1898a7
SM
447 * progmodes/which-func.el (which-func-update-ediff-windows):
448 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 449
5f2c76c6
CY
4502012-06-03 Chong Yidong <cyd@gnu.org>
451
452 * bindings.el: Remove explicit help text from format-mode-line.
453 It is now supplied by mode-line-default-help-echo.
454 (mode-line-front-space, mode-line-end-spaces)
455 (mode-line-misc-info): New variables.
456 (mode-line-modes, mode-line-position): Move the default value to
457 the variable definition.
458 (mode-line-default-help-echo): New defcustom.
383f7350
CY
459 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
460 (mode-line-modified-help-echo): New functions.
461 (mode-line-mule-info, mode-line-modified): Use them.
462 (mode-line-eol-desc, propertized-buffer-identification):
463 Consistency fixes for help text.
cbe46e5f
CY
464 (mode-line-coding-system-map): Allow using mouse-3 to invoke
465 set-buffer-file-coding-system (Bug#289).
466 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 467
f2d6a3df
SM
4682012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * simple.el (execute-extended-command): Set real-this-command
471 (bug#11506).
472
37269466
CY
4732012-06-02 Chong Yidong <cyd@gnu.org>
474
475 Remove incorrect uses of "modeline" in comments, docstrings, and
476 function/variable names (Bug#10329).
477
478 * cus-edit.el (mode-line):
479 * dframe.el (dframe-mouse-hscroll):
480 * emacs-lisp/re-builder.el:
481 * emacs-lisp/easy-mmode.el (define-minor-mode):
482 * frame.el (set-frame-name):
483 * help.el (lookup-minor-mode-from-indicator):
484 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
485 * progmodes/cc-cmds.el (c-toggle-auto-newline)
486 (c-toggle-hungry-state):
487 * progmodes/antlr-mode.el (antlr-language-alist):
488 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
489 * progmodes/vhdl-mode.el (vhdl-mode):
490 * progmodes/which-func.el (which-func, which-func-cleanup-function):
491 * term/ns-win.el (ns-face-at-pos):
492 * term/sup-mouse.el (sup-mouse-report):
493 * textmodes/flyspell.el (flyspell-mode-line-string):
494 * textmodes/ispell.el (ispell-highlight-face):
495 * textmodes/reftex-global.el:
496 * vc/vc-arch.el (vc-arch-mode-line-string):
497 * vc/vc-cvs.el (vc-cvs-mode-line-string):
498 * vc/vc-git.el (vc-git-mode-line-string):
499 * vc/vc-hooks.el (vc-display-status)
500 (vc-default-mode-line-string):
501 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
502
503 * ansi-color.el (ansi-color-faces-vector): Change default faces.
504
505 * dired.el (dired-sort-set-mode-line): Rename from
506 dired-sort-set-modeline. All callers changed.
507
508 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
509 eshell-status-in-modeline.
510
511 * foldout.el (foldout-mode-line-string): Rename from
512 foldout-modeline-string. All callers changed.
513 (foldout-update-mode-line): Rename from foldout-update-modeline.
514
515 * subr.el (redraw-modeline): Make into obsolete alias.
516
517 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
518 timeclock-modeline-display. Make old name an alias.
519 (timeclock-update-mode-line): Likewise. All callers changed.
520 (timeclock-mode-line-display): No need to check before using
521 add-hook.
522 (timeclock-relative, timeclock-day-over-hook)
523 (timeclock-use-elapsed, timeclock-mode-string)
524 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
525
526 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
527 crisp-mode-modeline-string.
528
529 * play/solitaire.el (solitaire-build-mode-line): Rename from
530 solitaire-build-modeline. All callers changed.
531
532 * play/zone.el (zone-hiding-mode-line): Rename from
533 zone-hiding-modeline. All callers changed.
534 (zone): Remove unusued `modeline-hidden-level' property.
535
536 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
537 xscheme-modeline-initialize. All callers changed.
538
539 * strokes.el (strokes-lighter): Rename from
540 strokes-modeline-string.
541
542 * textmodes/sgml-mode.el (html-face-tag-alist)
543 (html-tag-face-alist): Use mode-line face instead of obsolete
544 alias modeline.
545
42152ee4
SM
5462012-06-02 Stefan Merten <smerten@oekonux.de>
547
548 * textmodes/rst.el: Always require `cl'.
4cf9b38d 549 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 550
95f520b5
CY
5512012-06-02 Chong Yidong <cyd@gnu.org>
552
553 * image.el (imagemagick-enabled-types): Rename from
554 imagemagick-types-enable. Add many more types.
555 (imagemagick-types-inhibit): Change default to nil.
556 (imagemagick-filter-types): Caller changed.
557
4a5f187a
SM
5582012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
559
03fef3e6
SM
560 * emacs-lisp/cl-macs.el: Use backquotes.
561 (cl-transform-function-property): Use eval-and-compile rather than
562 abusing `require'.
563 (defstruct): Use declare-function instead of with-no-warnings.
564
4a5f187a
SM
565 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
566 (byte-compile-output-docform): Re-add the print-circle bindings.
567 (byte-compile-fix-header): Use #$ just because it's shorter.
568 (byte-compile-output-file-form): Remove defun/defmacro.
569
bd56924f
MR
5702012-06-01 Martin Rudalics <rudalics@gmx.at>
571
572 * simple.el (choose-completion): Remove now obsolete binding for
573 owindow.
574
046e38ce
MA
5752012-06-01 Michael Albinus <michael.albinus@gmx.de>
576
577 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
578 in order to avoid "Stack overflow in regexp matcher".
579
32d72c2f
GM
5802012-05-31 Glenn Morris <rgm@gnu.org>
581
582 * image.el: For clarity, call imagemagick-register-types at
583 top-level, rather than relying on a custom :initialize.
584 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
585 (imagemagick-filter-types): New function. (Bug#7406)
586 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
587 If disabling support, remove elements altogether rather
588 than using an impossible regexp.
589 (imagemagick-types-inhibit): Give it the default init function.
590
dd41169b
SM
5912012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
592
4a5f187a
SM
593 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
594 Handle arbitrary file name lengths (Bug#11585).
dd41169b 595
efc00ab1 5962012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
597
598 * desktop.el (desktop-read): Clear previous and next buffers for
599 all windows and bury *Messages* buffer (bug#11556).
600
500fcedc
SM
6012012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 Add `declare' for `defun'. Align `defmacro's with it.
604 * emacs-lisp/easy-mmode.el (define-minor-mode)
605 (define-globalized-minor-mode): Don't autoload the var definitions.
606 * emacs-lisp/byte-run.el: Use lexical-binding.
607 (defun-declarations-alist, macro-declarations-alist): New vars.
608 (defmacro, defun): Use them.
609 (make-obsolete, define-obsolete-function-alias)
610 (make-obsolete-variable, define-obsolete-variable-alias):
611 Use `declare'.
612 (macro-declaration-function): Mark obsolete.
613 * emacs-lisp/autoload.el: Use lexical-binding.
614 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
615
6e8a1786
AM
6162012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
617
618 * textmodes/ispell.el (ispell-with-no-warnings):
619 Define as a macro.
500fcedc
SM
620 (ispell-kill-ispell, ispell-change-dictionary):
621 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
622 `interactive-p'.
623
61b108cc
SM
6242012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
627 (macro-declaration-function): Move var from C code.
628 (macro-declaration-function): Define function with defalias.
629 * emacs-lisp/macroexp.el (macroexpand-all-1):
630 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
631 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
632 defun/defmacro any more.
633 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
634 Provide fallback for unknown arglist.
635 (byte-compile-arglist-warn): Change calling convention.
636 (byte-compile-output-file-form): Move print-vars binding.
637 (byte-compile-output-docform): Simplify accordingly.
638 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
639 (byte-compile-defmacro-declaration): Remove.
640 (byte-compile-file-form-defmumble): Generalize to defalias.
641 (byte-compile-output-as-comment): Return byte-positions.
642 Simplify callers accordingly.
643 (byte-compile-lambda): Use `assert'.
644 (byte-compile-defun, byte-compile-defmacro): Remove.
645 (byte-compile-file-form-defalias):
646 Use byte-compile-file-form-defmumble.
647 (byte-compile-defalias-warn): Remove.
648
6d3f7c2f
SM
6492012-05-29 Stefan Merten <smerten@oekonux.de>
650
651 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 652 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
653
654 (rst-mode-abbrev-table): Merge definition.
655 (rst-mode): Make sure `font-lock-defaults' is buffer local.
656 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
657
6dbaa1c7
UJ
6582012-05-29 Ulf Jasper <ulf.jasper@web.de>
659
660 * calendar/icalendar.el
661 (icalendar-export-region): Export UID properly.
662
6632012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
664 * calendar/icalendar.el (icalendar-import-format):
665 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
666 (icalendar-import-format-uid): New.
667 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
668 Export UID.
669
6876a58d
SM
6702012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
673 different alternative patterns.
674 (pcase-codegen): Be more careful to preserve identity.
675 (pcase--u1): Don't forget to mark vars as used.
676
677 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
678 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
679 (byte-compile-from-buffer): ...rather than here.
680
681 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
682 functions from byte-compile-function-environment.
683
46b7967e
TN
6842012-05-29 Troels Nielsen <bn.troels@gmail.com>
685
686 * window.el (window-deletable-p): Avoid deleting the root window
687 of a frame with an active minibuffer.
688
69d565e2
MR
6892012-05-29 Martin Rudalics <rudalics@gmx.at>
690
691 * simple.el (choose-completion): Use quit-window (Bug#11567).
692
a149fa51
CY
6932012-05-29 Chong Yidong <cyd@gnu.org>
694
695 * whitespace.el (whitespace-cleanup): Fix usage of
696 whitespace-empty-at-bob-regexp (Bug#11492).
697
2b311310
AH
6982012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
699
700 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
701 revert (Bug#11488).
702
b9cb2387
JL
7032012-05-29 Juri Linkov <juri@jurta.org>
704
705 * isearch.el (isearch-mode-map): Bind `M-s _' to
706 `isearch-toggle-symbol'. Bind `M-s c' to
707 `isearch-toggle-case-fold'.
708 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
709 (isearch-forward): Add `M-s _' to the docstring.
710 (isearch-forward-symbol, isearch-toggle-case-fold)
711 (isearch-symbol-regexp): New functions. (Bug#11381)
712
d5e61c1c
JL
7132012-05-29 Juri Linkov <juri@jurta.org>
714
715 * isearch.el (isearch-word): Add docstring. (Bug#11381)
716 (isearch-occur, isearch-search-and-update): If `isearch-word' is
717 a function, call it to get the regexp.
718 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
719 property `isearch-message-prefix' instead of the string "word ".
720 (isearch-search-fun-default): For the case of `isearch-word',
721 return a lambda that calls re-search-forward/re-search-backward
722 with a regexp returned by `word-search-regexp' or by the function
723 in `isearch-word'.
724
8cbd80f7
JL
7252012-05-29 Juri Linkov <juri@jurta.org>
726
727 * isearch.el (isearch-search-fun-default): New function.
728 (isearch-search-fun): Move default part to the new function
729 `isearch-search-fun-default'.
730 (isearch-search-fun-function): Set the default value to
731 `isearch-search-fun-default'. (Bug#11381)
732
733 * comint.el (comint-history-isearch-end):
734 Use `isearch-search-fun-default'.
735 (comint-history-isearch-search): Use `isearch-search-fun-default'
736 and remove spacial case for `isearch-word'.
737 (comint-history-isearch-wrap): Remove spacial case for
738 `isearch-word'.
739
740 * hexl.el (hexl-isearch-search-function):
741 Use `isearch-search-fun-default'.
742
743 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
744 Use `word-search-regexp' for `isearch-word'.
745
746 * misearch.el (multi-isearch-search-fun):
747 Use `isearch-search-fun-default'.
748
749 * simple.el (minibuffer-history-isearch-search):
750 Use `isearch-search-fun-default' and remove spacial case for
751 `isearch-word'.
752 (minibuffer-history-isearch-wrap): Remove spacial case for
753 `isearch-word'.
754
755 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
756 Remove spacial case for `isearch-word'.
757 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
758
85c8c5b6
AM
7592012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
760
761 Decrease XEmacs incompatibilities.
762 * textmodes/flyspell.el (flyspell-check-pre-word-p):
763 Use `string-match'.
764 (flyspell-delete-region-overlays): Use alternative definition for
765 XEmacs.
766 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
767 (flyspell-word): Use `process-kill-without-query' if XEmacs.
768 (flyspell-mode-on): Use `interactive-p' if XEmacs.
769 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
770 `define-obsolete-face-alias' under XEmacs, but old method.
771
772 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
773 `with-no-warnings' definition or Emacs alias.
774 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
775 (ispell-word): Do not use `region-p' if XEmacs.
776
8cab9efc
AM
7772012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
778
779 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
780 Check for `ispell-dictionary-base-alist' instead of full
781 `ispell-dictionary-alist'.
782 (ispell-init-process): Show spellchecker when starting new Ispell
783 process.
784
fda91268
RZ
7852012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
788 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
789
694ea8e3
JB
7902012-05-27 Juanma Barranquero <lekktu@gmail.com>
791
792 * version.el (motif-version-string, gtk-version-string)
793 (ns-version-string): Declare.
794
e4d4f539
JL
7952012-05-27 Juri Linkov <juri@jurta.org>
796
797 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
798 after the `eval-defun-1' specialcaseing
799 like in `edebug-eval-defun' (bug#10181).
800
801 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
802 like in `eval-defun-1'.
803
33017faf 8042012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 805
fda91268
RZ
806 * mail/sendmail.el (mail-yank-region):
807 Recognize rmail-yank-current-message in addition to insert-buffer.
808 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
809 a *mail* buffer created through rmail-start-mail with sendmail as
810 mail-user-agent.
811
33017faf
GM
8122012-05-27 Chong Yidong <cyd@gnu.org>
813
814 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
815 Default to 256 (Bug#11267).
816
817 * help.el (describe-mode): Doc fix.
818
04188bb9
GM
8192012-05-26 Glenn Morris <rgm@gnu.org>
820
38264cc9
GM
821 * w32-fns.el (w32-init-info): Remove.
822 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
823
eb7afdad
GM
824 * info.el (info-initialize): For self-contained NS builds, put the
825 included info/ directory at the front. (Bug#2791)
826
04188bb9
GM
827 * paths.el (Info-default-directory-list): Make it a defcustom,
828 mainly so that we can use custom-initialize-delay.
829
a179e3f7
SM
8302012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
831
43416392
SM
832 * subr.el (buffer-has-markers-at): Mark obsolete.
833
a179e3f7 834 * subr.el (lambda): Use declare.
43416392 835
a179e3f7
SM
836 * emacs-lisp/lisp-mode.el (lambda):
837 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
838
34a008d9
AH
8392012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
840
841 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
842
0a3b289f
GM
8432012-05-26 Glenn Morris <rgm@gnu.org>
844
845 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
846
758c81e8
GM
8472012-05-25 Glenn Morris <rgm@gnu.org>
848
f9f334f0
GM
849 * paths.el: Remove no-byte-compile.
850 * loadup.el: No need to load paths.el uncompiled.
851
87eb79c2
GM
852 * image.el (imagemagick-types-inhibit): Doc fix.
853
758c81e8
GM
854 * version.el: Remove no-byte-compile and associated formatting.
855 * loadup.el: No need to load version.el uncompiled. AFAICS, this
856 is ancient code from when there was an "inc-vers.el".
857
e7e85dc0
SM
8582012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * progmodes/gdb-mi.el: Minor style changes.
861 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
862 Turn into minor modes.
863 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
864 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
865 (gdb-shell): Remove unneeded let-binding.
866 (gdb-get-many-fields): Eliminate O(n²) behavior.
867
f31237a4
EZ
8682012-05-25 Eli Zaretskii <eliz@gnu.org>
869
870 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
871 platforms that don't link in fontset.c.
872
bc1b21bb
JL
8732012-05-25 Juri Linkov <juri@jurta.org>
874
875 Use the same diff color scheme as in modern VCSes (bug#10181).
876
877 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
878 to avoid confusion with `diff-added' that now uses green colors.
879 (diff-removed): Use shades of red.
880 (diff-added): Use shades of green.
881 (diff-changed): Leave just the yellow color.
882 (diff-use-changed-face): New variable.
883 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
884 how to highlight context diff changes.
885 (diff-refine-change): Use shades of yellow.
886 (diff-refine-removed): New face that uses shades of red.
887 (diff-refine-added): New face that uses shades of green.
888 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
889 `diff-refine-removed' in the call to `smerge-refine-subst'
890 depending on the value of `diff-use-changed-face'.
891
892 * vc/smerge-mode.el (smerge-mine): Use shades of red.
893 (smerge-other): Use shades of green.
894 (smerge-base): Use shades of yellow.
895 (smerge-refined-change): Empty face.
896 (smerge-refined-removed): New face that uses shades of red.
897 (smerge-refined-added): New face that uses shades of green.
898 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
899 args `props-r' and `props-a', and use them. Doc fix.
900 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
901 on its value use different faces `smerge-refined-change',
902 `smerge-refined-removed', `smerge-refined-added' in the call to
903 `smerge-refine-subst'.
904
905 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
906 Add face condition `min-colors 88' with shades of red.
907 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
908 `min-colors 88' with shades of green.
909 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
910 `min-colors 88' with shades of yellow.
911
6df9112c
GM
9122012-05-24 Glenn Morris <rgm@gnu.org>
913
ead5edc0
GM
914 * paths.el (prune-directory-list, remote-shell-program): Move to...
915 * files.el (prune-directory-list, remote-shell-program): ...here.
916 For the latter, delay initialization, prefer ssh, just search PATH.
917
f18b81e6
GM
918 * paths.el (term-file-prefix): Move to faces.el (the only user).
919 * faces.el (term-file-prefix): Move here, make it a defcustom.
920
ee2f89a6
GM
921 * paths.el (news-directory, news-path, news-inews-program):
922 Move to gnus/nnspool.el.
61a583ca 923
f8815e4c
GM
924 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
925
c8f3b42c
GM
926 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
927 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
928 Make the latter a defcustom, with a delayed initialization.
929
6df9112c
GM
930 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
931 These were deleted from Gnus itself late 2010.
932
5dadff36
JB
9332012-05-22 Juanma Barranquero <lekktu@gmail.com>
934
9e1701c6
JB
935 * progmodes/which-func.el (which-func-ff-hook):
936 Check against user-error, not error.
937
bd7239f5 938 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
939 cl-specs.el, which no longer exists.
940
3290526d
GM
9412012-05-22 Glenn Morris <rgm@gnu.org>
942
943 * info.el (info-emacs-bug): New command.
944 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
945 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
946
ff0c3cfb
GM
9472012-05-21 Glenn Morris <rgm@gnu.org>
948
949 * makefile.w32-in (update-subdirs-SH):
950 * Makefile.in (update-subdirs): Update for moved update-subdirs.
951
5814f126
SM
9522012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
953
a52c0aa0
SM
954 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
955
5814f126
SM
956 * progmodes/compile.el (compilation-error-regexp-alist-alist):
957 Simplify Maven regexp, and make sure the file can't start with a space
958 (bug#11517).
959
b847032c
GM
9602012-05-21 Glenn Morris <rgm@gnu.org>
961
962 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
963 Scrap superfluous subshells.
964
3858bfe7
SM
9652012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
968 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
969
d14b0029
JB
9702012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
971
972 * calc/calc.el (calc-ensure-consistent-units): New variable.
973
a52c0aa0
SM
974 * calc/calc-units.el (math-consistent-units-p)
975 (math-check-unit-consistency): New functions.
976 (calc-quick-units, calc-convert-units):
977 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
978 is non-nil.
d14b0029
JB
979 (calc-extract-units): Fix typo.
980
60c4db3a
SM
9812012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
982
77f3b62e
SM
983 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
984
60c4db3a
SM
985 * textmodes/flyspell.el: Commenting style, plus code simplifications.
986 (flyspell-default-deplacement-commands): Don't spell check after
987 repeated window/frame switches (e.g. triggered by mouse-movement).
988 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
989 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
990 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
991 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
992 Remove unused vars.
993 (flyspell-get-casechars, flyspell-get-not-casechars):
994 Simplify; Don't bother removing a ] just to add it back.
995 * textmodes/ispell.el (ispell-program-name): Use executable-find.
996
b1a10716
RS
9972012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
998
999 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1000 New functions.
bd7239f5 1001 (math-function-table): Add support for more C functions.
b1a10716 1002
3f1b25b5
AM
10032012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1004
1005 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1006 (flyspell-debug-signal-word-checked): Protect delay handling for
1007 otherchars against empty otherchars.
1008
b581bb5c
SM
10092012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1012 their respective macro declarations.
1013 * skeleton.el (define-skeleton):
1014 * progmodes/compile.el (define-compilation-mode):
1015 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1016 (define-ibuffer-filter):
1017 * emacs-lisp/generic.el (define-generic-mode):
1018 * emacs-lisp/easy-mmode.el (define-minor-mode)
1019 (define-globalized-minor-mode):
1020 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1021 * emacs-lisp/byte-run.el (defsubst):
1022 * custom.el (deftheme): Add doc-string metadata.
1023
70b8ef8f
SM
10242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1027
b1198e17
SM
10282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1029
9abdc45d
SM
1030 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1031
b1198e17
SM
1032 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1033 * emacs-lisp/cl-macs.el: Idem.
1034 * emacs-lisp/cl-specs.el: Remove.
1035
4735906a
SM
10362012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 Minor renaming of internal CL functions and variables.
1039 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1040 (cl--position): Rename from cl-position.
1041 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1042 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1043 (cl--random-state): Rename from *random-state*.
1044
ac348012
SM
10452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1048 parens around the arg list (bug#11499).
1049
a0a79cde
JL
10502012-05-17 Juri Linkov <juri@jurta.org>
1051
1052 * isearch.el (word-search-regexp, word-search-backward)
1053 (word-search-forward, word-search-backward-lax)
1054 (word-search-forward-lax): Move functions from search.c
1055 (bug#10145, bug#11381).
1056
65034a51
AM
10572012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1058
1059 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1060 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1061 normal word components.
1062
1a72a195
SM
10632012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * minibuffer.el (completion--sifn-requote): Fix last change.
1066 (minibuffer-local-must-match-filename-map):
1067 Move define-obsolete-variable-alias before its var.
1068
fdb058c2
SM
10692012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1070
c41045e6
SM
1071 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1072
036dfb8b
SM
1073 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1074 behavior.
1075 (completion--string-equal-p): New function.
1076 (completion--twq-all): Use it to get better assertion failure data.
1077
2473256d
SM
1078 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1079 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1080 (shell--requote-argument): New functions.
1081 (shell-completion-vars): Use them.
1082 (shell--parse-pcomplete-arguments): Rename from
1083 shell-parse-pcomplete-arguments.
1084 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1085 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1086 Obey comint-file-name-quote-list.
1087
fdb058c2
SM
1088 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1089 (smie-indent-keyword): Use it.
1090
51fa99f1
SM
10912012-05-14 Stefan Merten <smerten@oekonux.de>
1092
1093 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1094
e18afed7 10952012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1096
1097 * net/rlogin.el (rlogin-mode-map): Fix last change.
1098
e18afed7 10992012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1100
1101 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1102 the following \r\n using a single `process-send-string', since the
1103 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1104 with two `process-send-string's (Bug#11444).
8633b1f4 1105
e18afed7 11062012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1107
fdb058c2
SM
1108 * shell.el (shell-parse-pcomplete-arguments):
1109 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1110
2d21d7f6
WJ
11112012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1112
e18afed7 1113 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1114 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1115 (image-transform-width, image-transform-fit-width): New functions.
1116 (image-transform-properties): Use them.
1117 (image-transform-check-size): New function.
1118 (image-toggle-display-image): Use it (for testing).
1119 (image-transform-set-rotation): Reduce angle mod 360.
1120 Delete obsolete comment.
1121
7102e6d0
WJ
11222012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1123
1124 * image-mode.el: Fix scaling (bug#11399).
1125 (image-transform-resize): Doc fix.
1126 (image-transform-properties): Default scale is 1 and height should
1127 be an integer.
1128
06bc5e6e
SM
11292012-05-13 Johan Bockgård <bojohan@gnu.org>
1130
1131 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1132 than hard-coding `car', to fix misbehavior when moving forward.
1133
0ae03b6a
CY
11342012-05-13 Chong Yidong <cyd@gnu.org>
1135
1136 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1137 (tabulated-list-entries, tabulated-list-padding)
1138 (tabulated-list-sort-key): Make permanent-local.
1139
1140 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1141 (electric-buffer-list): Put electric buffer menu
1142 command descriptions in this docstring, instead of the docstring
1143 of electric-buffer-menu-mode. Code cleanups.
1144 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1145 Electric-buffer-menu-mode.
1146 (electric-buffer-update-highlight): Minor code cleanup.
1147
205a7391
MA
11482012-05-13 Michael Albinus <michael.albinus@gmx.de>
1149
1150 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1151 (Bug#11447)
1152
e5bd0a28
SM
11532012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 Move define-obsolete-variable-alias before the var's definition.
1156 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1157 * tooltip.el (tooltip-hook):
1158 * textmodes/reftex-toc.el (reftex-toc-map):
1159 * textmodes/reftex-sel.el (reftex-select-label-map)
1160 (reftex-select-bib-map):
1161 * textmodes/reftex-index.el (reftex-index-map)
1162 (reftex-index-phrases-map):
1163 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1164 * progmodes/meta-mode.el (meta-mode-map):
1165 * novice.el (disabled-command-hook):
1166 * loadhist.el (unload-hook-features-list):
1167 * frame.el (blink-cursor):
1168 * files.el (find-file-not-found-hooks, write-file-hooks)
1169 (write-contents-hooks):
1170 * emulation/tpu-edt.el (GOLD-map):
1171 * emacs-lock.el (emacs-lock-from-exiting):
1172 * emacs-lisp/generic.el (generic-font-lock-defaults):
1173 * emacs-lisp/chart.el (chart-map):
1174 * dos-fns.el (register-name-alist):
1175 * dired-x.el (dired-omit-files-p):
1176 * desktop.el (desktop-enable):
1177 * cus-edit.el (custom-mode-hook):
1178 * buff-menu.el (buffer-menu-mode-hook):
1179 * bookmark.el (bookmark-read-annotation-text-func)
1180 (bookmark-exit-hooks):
1181 * allout.el (allout-mode-deactivate-hook)
1182 (allout-exposure-change-hook, allout-structure-added-hook)
1183 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1184 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1185 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1186 comes before the corresponding variable's definition.
1187
ac59c2f6
CY
11882012-05-12 Chong Yidong <cyd@gnu.org>
1189
1190 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1191 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1192 (Buffer-menu-mode-map): Bind it.
1193 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1194
dee6c9a3
SM
11952012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1196
2171cea5
SM
1197 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1198 (prolog-upper-case-string, prolog-lower-case-string)
1199 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1200 (prolog-use-smie, prolog-smie-grammar): New vars.
1201 (prolog-smie-forward-token, prolog-smie-backward-token)
1202 (prolog-smie-rules): New funs.
1203 (prolog-comment-indent): Remove.
1204 (prolog-mode-variables): Use default comment indentation instead.
1205 Setup SMIE.
1206 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1207 (prolog-mode): Don't call them any more.
1208 (prolog-electric-colon, prolog-electric-dash)
1209 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1210
aa0382bd
SM
1211 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1212
dbacb4bd
SM
1213 * minibuffer.el (completion--twq-all): Again, allow case differences.
1214
13bdd94c
SM
1215 * term.el: Move keymap initialization code to be more idiomatic.
1216 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1217 (term-terminal-menu): Move initialization into declaration.
1218 (term-escape-char): Let the user set it in her .emacs.
1219
ff46c759
SM
1220 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1221 Provide SMIE-based indentation (not enabled by default yet).
1222 (sh-mode-map): Don't bind electric keys.
1223 Use electric-pair-mode instead of skeleton-pair.
1224 (sh-assignment-regexp): Fit within 80 columns.
1225 (sh-indent-supported): Specify actual shell name instead of boolean.
1226 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1227 (sh-maybe-here-document): Use it. Make obsolete.
1228 (sh-electric-here-document-mode) New minor mode.
1229 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1230 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1231 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1232 (sh-smie-rc-grammar, sh-use-smie): New vars.
1233 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1234 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1235 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1236 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1237 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1238 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1239 (sh-set-shell): Use smie-setup if requested.
1240
dee6c9a3
SM
1241 * term.el (term-set-escape-char): Properly set term-escape-char.
1242 See http://stackoverflow.com/questions/10524656.
1243
9f9aa044
CY
12442012-05-10 Chong Yidong <cyd@gnu.org>
1245
1246 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1247 Use url-generic-parse-url, and handle host names and Windows
1248 filenames properly.
1249 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1250 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1251 URL schemes to work on.
1252 (ffap--toggle-read-only): New function.
1253 (ffap-read-only, ffap-read-only-other-window)
1254 (ffap-read-only-other-frame): Use it.
1255 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1256 necessary for ffap-url-unwrap-remote.
1257
836d29b3
DA
12582012-05-10 Dave Abrahams <dave@boostpro.com>
1259
1260 * cus-start.el (create-lockfiles): Add it.
1261
00fd78ed
CY
12622012-05-09 Chong Yidong <cyd@gnu.org>
1263
1264 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1265 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1266
666b903b 12672012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1268
1269 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1270
666b903b 12712012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1272
1273 * ansi-color.el (ansi-color-process-output): Check for validity of
1274 comint-last-output-start before using it. This avoids a bad
1275 interaction with gdb-mi's input/output buffer.
1276
666b903b 12772012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1278
1279 * files.el (dir-locals-read-from-file):
1280 Mention dir-locals in any error message.
1281
666b903b 12822012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1283
1284 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1285 package (Bug#11410).
1286
f677562b
CY
1287 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1288 variables into description.
1289
666b903b 12902012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1291
1292 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1293 shell-delimiter-argument-list (bug#11348).
1294 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1295
b499d8d0
JB
12962012-05-09 Juanma Barranquero <lekktu@gmail.com>
1297
8f6b6da8
JB
1298 * textmodes/rst.el: Silence byte-compiler warnings.
1299 (rst-re-alist, rst-reset-section-caches): Move around.
1300 (rst-re): Use `characterp', not `char-valid-p'.
1301 (font-lock-beg, font-lock-end): Declare.
1302
4824146a
JB
1303 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1304 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1305
b499d8d0
JB
1306 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1307
ad89bb83
GM
13082012-05-08 Glenn Morris <rgm@gnu.org>
1309
1310 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1311
8bba5a75
SM
13122012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1313
49ed9c8e
SM
1314 * vc/log-edit.el: Add GNU coding standards highlighting.
1315 (log-edit-font-lock-gnu-style)
1316 (log-edit-font-lock-gnu-keywords): New vars.
1317 (log-edit-font-lock-keywords): New fun.
1318 (log-edit-mode): Don't fold case in font-lock.
1319 (log-edit-font-lock-keywords): Do not assume case-folding.
1320
07d00b56
SM
1321 * imenu.el: Misc cleanup. Make docstrings out of comments.
1322 Use lexical-binding.
1323 (imenu--index-alist, imenu--last-menubar-index-alist)
1324 (imenu-menubar-modified-tick): Use defvar-local.
1325 (imenu--split-menu): Remove unused var.
1326 (imenu--cleanup-seen): Declare as global.
1327 (imenu--cleanup): Use dolist.
1328
8bba5a75
SM
1329 * subr.el (defvar-local): Add debug spec and doc-string position.
1330
5075bdb5
GM
13312012-05-08 Glenn Morris <rgm@gnu.org>
1332
c052c904
GM
1333 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1334 * language/english.el, language/georgian.el, language/greek.el:
1335 * language/japanese.el, language/khmer.el, language/korean.el:
1336 * language/lao.el, language/misc-lang.el, language/romanian.el:
1337 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1338 * language/thai.el, language/utf-8-lang.el:
1339 Remove no-byte-compile setting.
1340
5075bdb5
GM
1341 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1342
06f679a7
AH
13432012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1344
1345 * progmodes/make-mode.el (makefile-browse):
1346 Remove unnecessary interactive. (Bug#11324)
1347
03794570
GM
13482012-05-07 Glenn Morris <rgm@gnu.org>
1349
af8630f4
GM
1350 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1351
03794570
GM
1352 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1353
f0809a9d
SM
13542012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1355
28be5ce7
SM
1356 * loadup.el: Preload newcomment.el.
1357 * newcomment.el: Move autoload-only code to toplevel.
1358
f0809a9d
SM
1359 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1360 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1361 Handle new :right-align column property.
1362 (tabulated-list-print-col): Idem, plus use `display' text-property to
1363 try and preserve alignment for variable pitch fonts.
1364
1241b724
CY
13652012-05-07 Chong Yidong <cyd@gnu.org>
1366
1367 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1368 (tabulated-list-use-header-line): New var.
1369 (tabulated-list-init-header): Use it.
1370 (tabulated-list-print-fake-header): New function.
1371 (tabulated-list-print): Use it.
1372 (tabulated-list-sort-button-map): Add non-header-line commands.
1373 (tabulated-list-init-header): Add column name property to basic
1374 labels as well.
1375 (tabulated-list-col-sort): Handle non-header-line button case.
1376 (tabulated-list--sort-by-column-name): Fix a corner case.
1377
f0809a9d
SM
1378 * buff-menu.el (list-buffers--refresh):
1379 Handle Buffer-menu-use-header-line.
1241b724 1380
e5f9458f
CY
13812012-05-06 Chong Yidong <cyd@gnu.org>
1382
1383 * buff-menu.el: Convert to Tabulated List mode.
1384 (Buffer-menu-buffer+size-width): Make obsolete.
1385 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1386 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1387 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1388 documentation into docstring of buffer-menu.
1389 (Buffer-menu-toggle-files-only): Add an informative message.
1390 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1391 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1392 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1393 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1394 (Buffer-menu-execute, Buffer-menu-select)
1395 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1396 (Buffer-menu-bury): Use Tabulated List machinery.
1397 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1398 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1399 Delete.
e5f9458f
CY
1400 (list-buffers--refresh): New function.
1401 (list-buffers-noselect): Use it.
1402 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1403 (Buffer-menu--pretty-file-name): New helper functions.
1404
1405 * loadup.el: Preload tabulated-list.
1406
1407 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1408 tabulated-list-sort-column.
1409 (tabulated-list-init-header): Add the initial aligning space even
1410 if tabulated-list-padding is zero.
1411
e129292c
CS
14122012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1413
1414 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1415 whose cdr is not a cons cell correctly (bug#11038).
1416
6632d361
CY
14172012-05-06 Chong Yidong <cyd@gnu.org>
1418
e129292c
CS
1419 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1420 Accept additional plist in column descriptors.
6632d361
CY
1421 (tabulated-list-init-header): Obey it.
1422 (tabulated-list-get-entry): New function.
1423 (tabulated-list-put-tag): Use it. Use string-width instead of
1424 length.
1425 (tabulated-list--column-number): New function.
1426 (tabulated-list-print): Use it.
e129292c
CS
1427 (tabulated-list-print-col): New function.
1428 Set `tabulated-list-column-name' property on each column's text.
6632d361 1429 (tabulated-list-print-entry): Use it.
e129292c
CS
1430 (tabulated-list-delete-entry, tabulated-list-set-col):
1431 New functions.
6632d361
CY
1432 (tabulated-list-sort-column): New command (Bug#11337).
1433
3cc99f68
CY
1434 * buff-menu.el (list-buffers): Move C-x C-b binding from
1435 buff-menu.el to bindings.el.
1436
1437 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1438 :advertised-binding feature.
1439
52b61776
TN
14402012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1441
1442 * progmodes/compile.el (compilation-internal-error-properties):
1443 Calculate start position correctly when end-col is set but
1444 end-line is not (Bug#11382).
1445
ebfe2597
WJ
14462012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1447
1448 * man.el (Man-unindent): Use text-property-default-nonsticky to
1449 prevent untabify from inheriting face properties (Bug#11408).
1450
6d3f7c2f
SM
14512012-05-05 Stefan Merten <smerten@oekonux.de>
1452
1453 * textmodes/rst.el: Major merge with upstream development up to
1454 Docutils SVN r7399 / rst.el V1.2.1.
1455
1456 Clarify maintainership and authors.
1457
1458 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1459 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1460 (rst-official-version, rst-official-cvs-rev, rst-version)
1461 (rst-package-emacs-version-alist): New functions and variables
1462 for version information.
1463
1464 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1465 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1466 (rst-mode-syntax-table, rst-mode): New and corrected functions
1467 and variables representing reStructuredText features.
1468
1469 (rst-re): New function for reStructuredText regexes. Use in
1470 many places.
1471
1472 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1473 (rst-mode-map): Rebind keys.
1474
1475 (rst-mode-lazy, rst-font-lock-keywords)
1476 (rst-font-lock-extend-region)
1477 (rst-font-lock-extend-region-internal)
1478 (rst-font-lock-extend-region-extend)
1479 (rst-font-lock-find-unindented-line-limit)
1480 (rst-font-lock-find-unindented-line-match)
1481 (rst-adornment-level, rst-font-lock-adornment-level)
1482 (rst-font-lock-adornment-match)
1483 (rst-font-lock-handle-adornment-pre-match-form)
1484 (rst-font-lock-handle-adornment-matcher): Major revision of
1485 font-locking. Integrate with other code. Use `jit-lock-mode'.
1486
1487 (rst-preferred-adornments, rst-adjust-hook)
1488 (rst-new-adornment-down, rst-preferred-bullets)
1489 (rst-preferred-bullets, rst-indent, rst-indent-width)
1490 (rst-indent-field, rst-indent-literal-normal)
1491 (rst-indent-literal-minimized, rst-indent-comment): Change,
1492 extend and improve customization.
1493
1494 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1495 (rst-normalize-cursor-position, rst-get-decoration)
1496 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1497 (rst-rstrip, rst-toc-insert-find-delete-contents)
1498 (rst-shift-fill-region, rst-compute-bullet-tabs)
1499 (rst-debug-print-tabs, rst-debug-mark-found)
1500 (rst-shift-region-guts, rst-shift-region-right)
1501 (rst-shift-region-left, rst-use-char-classes)
1502 (rst-font-lock-keywords-function)
1503 (rst-font-lock-indentation-point)
1504 (rst-font-lock-find-unindented-line-begin)
1505 (rst-font-lock-find-unindented-line-end)
1506 (rst-font-lock-find-unindented-line)
1507 (rst-font-lock-adornment-point, rst-font-lock-level)
1508 (rst-adornment-level-alist): Remove functions and variables.
1509
1510 (rst-compare-adornments, rst-get-adornment-match)
1511 (rst-suggest-new-adornment, rst-get-adornments-around)
1512 (rst-adornment-complete-p, rst-get-next-adornment)
1513 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1514 (rst-straighten-adornments): Standardize function names to
1515 use "adornment" instead of "decoration". Correct callers.
1516 Similar standardizing in many places.
1517
1518 (rst-update-section, rst-adjust, rst-promote-region)
1519 (rst-enumerate-region, rst-bullet-list-region)
1520 (rst-repeat-last-character): Correct use of `interactive'.
1521
1522 (rst-classify-adornment, rst-find-all-adornments)
1523 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1524 (rst-find-leftmost-column, rst-repeat-last-character):
1525 Refactor functions.
1526
1527 (rst-find-title-line, rst-reset-section-caches)
1528 (rst-get-adornments-around, rst-adjust-adornment-work)
1529 (rst-arabic-to-roman, rst-roman-to-arabic)
1530 (rst-insert-list-pos, rst-insert-list-new-item)
1531 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1532 New functions.
1533
1534 (rst-all-sections, rst-section-hierarchy)
1535 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1536 New variables.
1537
1538 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1539 configuration instead of only buffer. Change where necessary.
1540
1541 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1542 (rst-shift-region, rst-adaptive-fill): New functions for
1543 indentation and filling.
1544
1545 (rst-comment-line-break, rst-comment-indent)
1546 (rst-comment-insert-comment, rst-comment-region)
1547 (rst-uncomment-region): New functions for handling comments.
1548
1549 (rst-compile): Quote shell arguments.
1550
1551 (rst-compile-pdf-preview, rst-compile-slides-preview):
1552 Delete temporary files after use.
1553
a43f98b3
GM
15542012-05-05 Glenn Morris <rgm@gnu.org>
1555
48176e8b
GM
1556 * calendar/cal-html.el: Optionally include holidays in the output.
1557 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1558 (cal-html-holidays): New option.
1559 (cal-html-css-default): Add holiday entry.
1560 (holiday-in-range): Autoload it.
1561 (cal-html-htmlify-entry): Add optional class argument.
1562 (cal-html-htmlify-list): Add optional holidays argument.
1563 (cal-html-insert-agenda-days): Include holidays in the output.
1564 (cal-html-one-month): Maybe include holidays.
1565
a43f98b3
GM
1566 * calendar/holidays.el (holiday-in-range):
1567 Move here from cal-tex-list-holidays.
1568 * calendar/cal-tex.el (cal-tex-list-holidays):
1569 Make it an obsolete alias for holiday-in-range. Update all callers.
1570
fef9d149 15712012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1572
1573 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1574 Nextstep.
1575
248da2f4
RW
15762012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1577
1578 * files.el (file-auto-mode-skip): New var.
1579 (set-auto-mode-1): Use it.
1580
f95e9344
SM
15812012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1582
df96ab1e
SM
1583 * repeat.el: Use lexical-binding.
1584 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1585 (repeat-undo-count): Remove.
1586 (repeat):
1587 * progmodes/octave-mod.el (octave-abbrev-start):
1588 * progmodes/f90.el (f90-abbrev-start):
1589 * face-remap.el (text-scale-adjust):
1590 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1591
5342bb06
SM
1592 * emacs-lisp/pcase.el (pcase--let*): New function.
1593 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1594 a bit more.
1595 (pcase--split-pred): Be more clever about ruling out overlap between
1596 a predicate and some constant pattern.
1597 (pcase--q1): Use `null' instead of (eq foo nil).
1598
f95e9344
SM
1599 * subr.el (setq-local, defvar-local): New macros.
1600 (kbd): Redefine as an alias.
1601 (with-selected-window): Leave unrelated frames alone.
1602 (set-temporary-overlay-map): New function.
1603
71873e2b
SM
16042012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * subr.el (user-error): New function.
1607 * window.el (switch-to-buffer):
1608 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1609 (smerge-match-conflict):
1610 * simple.el (previous-matching-history-element)
1611 (next-matching-history-element, goto-history-element, undo-more)
1612 (undo-start):
1613 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1614 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1615 (next-file, tags-loop-scan, list-tags, complete-tag):
1616 * progmodes/compile.el (compilation-loop):
1617 * mouse.el (mouse-minibuffer-check):
1618 * man.el (Man-bgproc-sentinel, Man-goto-page):
1619 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1620 (Info-history-forward, Info-follow-reference, Info-menu)
1621 (Info-extract-menu-item, Info-extract-menu-counting)
1622 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1623 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1624 (Info-next-reference, Info-prev-reference, Info-index)
1625 (Info-index-next, Info-follow-nearest-node)
1626 (Info-copy-current-node-name):
1627 * imenu.el (imenu--make-index-alist)
1628 (imenu-default-create-index-function, imenu-add-to-menubar):
1629 * files.el (basic-save-buffer, recover-file):
1630 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1631 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1632 (checkdoc-message-text, checkdoc-defun):
1633 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1634 * cus-edit.el (customize-changed-options, customize-rogue)
1635 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1636 (custom-variable-mark-to-reset-standard)
1637 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1638 (custom-file):
1639 * completion.el (check-completion-length):
1640 * comint.el (comint-search-arg)
1641 (comint-previous-matching-input-string-position)
1642 (comint-previous-matching-input)
1643 (comint-replace-by-expanded-history-before-point, comint-send-input)
1644 (comint-copy-old-input, comint-backward-matching-input)
1645 (comint-goto-process-mark, comint-set-process-mark):
1646 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1647 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1648
8a61ee22
SM
16492012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1650
66408d1e
SM
1651 * dabbrev.el (dabbrev--ignore-case-p): New function.
1652 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1653 Use it.
1654
8a61ee22
SM
1655 * files.el (automount-dir-prefix): Mark as obsolete.
1656
3c74813a
GM
16572012-05-04 Glenn Morris <rgm@gnu.org>
1658
1659 * patcomp.el, play/bruce.el: Move to obsolete/.
1660
0bfcf5c5
PE
16612012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1662
1663 Fix minor Y10k bugs.
1664 * arc-mode.el (archive-unixdate):
1665 * autoinsert.el (auto-insert-alist):
1666 * calc/calc-forms.el (math-this-year):
1667 * emacs-lisp/copyright.el (copyright-current-year)
1668 (copyright-update-year, copyright):
1669 * tar-mode.el (tar-clip-time-string):
1670 * time.el (display-time-update):
1671 Don't assume years have 4 digits.
1672
78f3273a
CY
16732012-05-04 Chong Yidong <cyd@gnu.org>
1674
1675 * dos-w32.el (file-name-buffer-file-type-alist)
1676 (direct-print-region-use-command-dot-com):
1677 * ffap.el (ffap-menu-regexp):
1678 * find-file.el (ff-special-constructs):
1679 * follow.el (follow-debug):
1680 * forms.el (forms--debug):
1681 * iswitchb.el (iswitchb-all-frames):
1682 * ido.el (ido-all-frames):
1683 * emacs-lisp/timer.el (timer-max-repeats):
1684 * mail/feedmail.el (feedmail-mail-send-hook)
1685 (feedmail-mail-send-hook-queued):
1686 * mail/footnote.el (footnote-signature-separator):
1687 * mail/mailabbrev.el (mail-alias-separator-string)
1688 (mail-abbrev-mode-regexp):
1689 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1690 * progmodes/idlwave.el (idlwave-libinfo-file)
1691 (idlwave-default-completion-case-is-down)
1692 (idlwave-library-routines): Convert defvars to defcustoms.
1693
1694 * mail/rmail.el (rmail-decode-mime-charset):
1695 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1696 (idlwave-shell-fix-inserted-breaks)
1697 (idlwave-shell-activate-alt-keybindings)
1698 (idlwave-shell-use-breakpoint-glyph):
1699 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1700
f7ae6719
SM
17012012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1702
1703 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1704
47086495
WS
17052012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1706
1707 * progmodes/verilog-mode.el (font-lock-keywords):
1708 Fix mis-highligting auto. Reported by Craig Barner.
1709 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1710 defines from global name space. Reported by Dan Dever.
1711 (verilog-auto-reset, verilog-auto-reset-widths)
1712 (verilog-auto-tieoff): Support using unbased numbers for
1713 AUTORESET and AUTOTIEOFF.
1714 (verilog-submit-bug-report): Update variable list.
1715 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1716 parenthesis from not matching. Reported by Michael Rytting.
1717 (verilog-auto-template-lint): Fix hash error when linting modules
1718 with no used templates.
1719 (verilog-warn, verilog-warn-error)
1720 (verilog-warn-fatal): When non-interactive report multiple
1721 warnings before exiting. Suggested by Brad Dobbie.
1722 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1723 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1724 to report unused template errors. Reported by Brad Dobbie.
1725 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1726 nets, bug438. Reported by Vns Blore.
1727 (verilog-auto-inout-module, verilog-auto-reg)
1728 (verilog-read-decls, verilog-read-sub-decls-sig)
1729 (verilog-signals-edit-wire-reg, verilog-signals-with):
1730 Fix passing of Verilog data types in ANSI input/output ports
1731 such as "output logic" into the AUTOs. Special case "wire" and
1732 "reg" for backwards compatibility presuming Verilog 2001.
1733 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1734 (verilog-preprocess): Fix replication of preprocess output.
1735 Reported by Brad Dobbie.
1736 (verilog-auto-inst-interfaced-ports):
1737 Create verilog-auto-inst-interfaced-ports, bug429.
1738 Reported by Julian Gorfajn.
1739 (verilog-after-save-font-hook)
1740 (verilog-before-save-font-hook): New variable.
1741 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1742 (verilog-save-font-mods): Wrap disabling fontification, reported
1743 by David Rogoff.
1744 (verilog-do-indent, verilog-pretty-declarations-auto)
1745 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1746 Reported by Pierre-David Pfister.
1747 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1748 of class declarations, bug292. Reported by Kevin Heilman.
1749 (verilog-read-decls): Fix 'parameter type' not appearing in
1750 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1751 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1752 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1753 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1754 Reported by David Kravitz.
1755
17562012-05-03 Michael McNamara <mac@mail.brushroad.com>
1757
1758 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1759 assignment with tests in ifs and for loops.
1760 (verilog-extended-complete-re, verilog-complete-reg): Change so
1761 that DPI inport functions don't look like fuction declarations.
1762 (verilog-pretty-expr): Don't line up assignment
1763 operations to the test and increment in if and for loops
1764 (verilog-extended-complete-re, verilog-complete-reg): Change so
1765 that DPI inport functions don't look like fuction declarations
1766
2e51d4b5
KH
17672012-05-03 Kenichi Handa <handa@m17n.org>
1768
1769 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1770 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1771 (Bug#11282).
1772
2bd785a2
SM
17732012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * emacs-lisp/bytecomp.el
1776 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1777 since cconv.el might have introduced :fun-body, internal-make-closure,
1778 and friends for bytecomp to handle (bug#11391).
1779 * custom.el (defcustom): Avoid ((λ ..) ..).
1780
99d27583
SM
17812012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1784
55a71479
JB
17852012-05-02 Juanma Barranquero <lekktu@gmail.com>
1786
1787 * notifications.el (dbus-debug):
1788 * term/linux.el (gpm-mouse-enable):
1789 * term/screen.el (xterm-register-default-colors): Declare.
1790
7b97c764
CY
17912012-05-02 Chong Yidong <cyd@gnu.org>
1792
2bc356d7
CY
1793 * cus-start.el (gc-cons-percentage, exec-suffixes)
1794 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1795 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1796 (make-cursor-line-fully-visible, void-text-area-pointer)
1797 (font-list-limit): Add customization data.
1798
7b97c764
CY
1799 * allout.el (allout-exposure-change-functions)
1800 (allout-structure-added-functions)
1801 (allout-structure-deleted-functions)
1802 (allout-structure-shifted-functions): Rename abnormal hooks from
1803 *-hook, and convert to defcustoms.
5d3385a0
JB
1804 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1805 Convert to defcustoms.
7b97c764
CY
1806 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1807
1808 * allout-widgets.el: Hook callers changed.
1809
90207a15 18102012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1811
1812 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1813 the yanked message in preference to the default value of
1814 buffer-file-coding-system.
1815
90207a15 18162012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1817
5d3385a0
JB
1818 * window.el (display-buffer--action-function-custom-type):
1819 Fix entry.
d9558cad 1820
90207a15 18212012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1822
1823 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1824
d80ac57b
GM
18252012-05-01 Glenn Morris <rgm@gnu.org>
1826
976f7668
GM
1827 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1828
beb83b5a
GM
1829 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1830
d80ac57b
GM
1831 * cus-edit.el (custom-variable-documentation): Simplify with format.
1832
b593d6a9
AH
18332012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1834 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * simple.el (suggest-key-bindings, execute-extended-command):
1837 Move from keyboard.c.
1838
782fbf2a
CY
18392012-05-01 Chong Yidong <cyd@gnu.org>
1840
1841 * follow.el: Eliminate advice.
1842 (set-process-filter, process-filter, sit-for): Advice deleted.
1843 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1844 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1845 Vars deleted.
782fbf2a
CY
1846 (follow-auto): Use a :set function.
1847 (follow-mode): Rewritten. Don't advise process filters.
1848 (follow-switch-to-current-buffer-all, follow-scroll-up)
1849 (follow-scroll-down): Assume follow-mode is bound.
1850 (follow-comint-scroll-to-bottom)
1851 (follow-align-compilation-windows): New functions.
1852 (follow--window-sorter): New function.
1853 (follow-all-followers): Use it to explicitly sort windows by their
1854 positions; don't make assumptions about next-window order.
1855 (follow-windows-start-end, follow-delete-other-windows-and-split)
1856 (follow-calc-win-start): Doc fix.
1857 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1858 vertical-motion unnecessarily.
1859 (follow-adjust-window): New function.
1860 (follow-post-command-hook): Use it.
1861 (follow-call-set-process-filter, follow-call-process-filter)
1862 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1863 (follow-stop-intercept-process-output, follow-generic-filter):
1864 Functions deleted.
1865 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1866 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1867 New functions, replacing advice on scroll-bar-* commands.
87233a14 1868 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1869
1870 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1871 (comint-postoutput-scroll-to-bottom): Use it.
1872 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1873
290af740
GM
18742012-05-01 Glenn Morris <rgm@gnu.org>
1875
1876 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1877 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1878 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1879 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1880 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1881 Remove no-byte-compile setting.
1882
6eac8dc9
SM
18832012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1884
1885 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1886 all-completions code to not return a number in the last cdr.
1887
9cc7819c
LL
18882012-04-30 Leo Liu <sdl.web@gmail.com>
1889
1890 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1891 read-only error.
1892
c93b886f
CY
18932012-04-29 Chong Yidong <cyd@gnu.org>
1894
1895 * follow.el (follow-calc-win-end): Rewrite to handle partial
1896 screen lines correctly (Bug#8390).
1897 (follow-avoid-tail-recenter): Minor cleanup.
1898
8b6c19f4
SM
18992012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 Avoid the obsolete `assoc' package.
1902 * speedbar.el (speedbar-refresh): Avoid adelete.
1903 (speedbar-file-lists): Simplify and avoid aput.
1904 * man.el (Man--sections, Man--refpages): New vars, replacing
1905 Man-sections-alist and Man-refpages-alist.
1906 (Man-build-section-alist, Man-build-references-alist):
1907 Use them; avoid aput.
1908 (Man--last-section, Man--last-refpage): New vars.
1909 (Man-follow-manual-reference): Use them.
1910 Use the `default' arg of completing-read.
1911 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1912
c5bb7569
CY
19132012-04-27 Chong Yidong <cyd@gnu.org>
1914
d1d2e2e8
CY
1915 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1916
15cd8efd
CY
1917 * startup.el (x-apply-session-resources): New function.
1918
1919 * term/ns-win.el (ns-initialize-window-system):
1920 * term/w32-win.el (w32-initialize-window-system):
1921 * term/x-win.el (x-initialize-window-system): Use it to properly
1922 set menu-bar-mode and other vars from X resources, even if the
1923 initial frame is not a window-system frame (Bug#2299).
1924
c5bb7569
CY
1925 * subr.el (read-key): Avoid running filter function when setting
1926 up temporary tool bar entries (Bug#9922).
1927
a8e7d6d7 19282012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1929
1930 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1931 (Bug#11344)
1932
a8e7d6d7 19332012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1934
1935 * select.el (xselect--encode-string): New function, split from
1936 xselect-convert-to-string.
1937 (xselect-convert-to-string): Use it.
1938 (xselect-convert-to-filename, xselect-convert-to-os)
1939 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1940 returned strings are properly encoded (Bug#11315).
1941
a8e7d6d7 19422012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1943
1944 * simple.el (delete-active-region): Move to killing custom group.
1945
a8e7d6d7 19462012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1947
1948 * progmodes/which-func.el (which-func-current): Quote %
1949 characters for mode-line processing.
1950
578c1d4b 19512012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1952
1953 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1954 reaching eob (Bug#11286).
1955
a8e7d6d7 19562012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1957
1958 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1959 (gdb): Make it buffer-local and init to zero.
1960 (gdb-control-commands-regexp): New variable.
1961 (gdb-send): Don't wrap in "-interpreter-exec console" if
1962 gdb-control-level is positive. Increment gdb-control-level
1963 whenever the command matches gdb-control-commands-regexp, and
1964 decrement it each time the command is "end". (Bug#11279)
1965
a8e7d6d7 19662012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1967
1968 * window.el (adjust-window-trailing-edge, enlarge-window)
1969 (shrink-window, window-resize):
1970 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1971 windows (Bug#11276).
1972
b3608390
CY
19732012-04-27 Chong Yidong <cyd@gnu.org>
1974
1975 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1976 fix "missing prefix" warning. All callers changed.
b3608390 1977
797e6e88
SM
19782012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * emacs-lisp/assoc.el: Move to obsolete/.
1981
e95a67dc
SM
19822012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1983
657c21e4 1984 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1985
1986 * term/ns-win.el (ns-define-service):
1987 * progmodes/pascal.el (pascal-goto-defun):
1988 * progmodes/js.el (js--read-tab):
1989 * progmodes/etags.el (tags-lazy-completion-table):
1990 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1991 * emacs-lisp/ewoc.el (ewoc--wrap):
1992 * emacs-lisp/assoc.el (aput, adelete, amake):
1993 * doc-view.el (doc-view-convert-current-doc):
1994 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1995
cb3e7ae0
CY
19962012-04-26 Chong Yidong <cyd@gnu.org>
1997
dce04f7f
CY
1998 * image.el (image-type-from-buffer): Only return supported image
1999 type (Bug#9045).
2000
cb3e7ae0
CY
2001 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2002 value, for symmetry with diff-end-of-hunk.
2003 (diff-split-hunk, diff-find-source-location)
2004 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2005 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2006 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2007 compute the relevant hunk or file properly (Bug#6005).
2008 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2009
0d42eb3e
SM
20102012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * vc/vc-mtn.el:
2013 * vc/vc-hg.el:
2014 * vc/vc-git.el:
2015 * vc/vc-dir.el:
2016 * vc/vc-cvs.el:
2017 * vc/vc-bzr.el:
2018 * vc/vc-arch.el:
2019 * vc/vc.el: Replace lexical-let by lexical-binding.
2020 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2021 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2022 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2023
f08ae1c9
CY
20242012-04-26 Chong Yidong <cyd@gnu.org>
2025
8b71081d
CY
2026 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2027 (diff-mode-shared-map): Bind it to / and [remap undo].
2028
f08ae1c9
CY
2029 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2030 (ediff-window-setup-function): Use it as the default, to set up
2031 windows based on whether the current frame is graphical (Bug#2138).
2032 (ediff-choose-window-setup-function-automatically): Make obsolete.
2033
2034 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2035
ef24141c
SM
20362012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2037
cc356a5d
SM
2038 * ffap.el: Remove old code for obsolete package.
2039 (ffap-complete-as-file-p): Remove.
2040
b4ff4f1f
SM
2041 Use completion-table-with-quoting for comint and pcomplete.
2042 * comint.el (comint--unquote&requote-argument)
2043 (comint--unquote-argument, comint--requote-argument): New functions.
2044 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2045 (comint-quote-filename): Use regexp-opt-charset.
2046 (comint--common-suffix, comint--common-quoted-suffix)
2047 (comint--table-subvert): Remove.
2048 (comint-unquote-function, comint-requote-function): New vars.
2049 (comint--complete-file-name-data): Use them with
2050 completion-table-with-quoting.
2051 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2052 * pcomplete.el (pcomplete-arg-quote-list)
2053 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2054 (pcomplete-unquote-argument-function): Default to non-nil.
2055 (pcomplete-unquote-argument): Simplify.
2056 (pcomplete--common-quoted-suffix): Remove.
2057 (pcomplete-requote-argument-function): New var.
2058 (pcomplete--common-suffix): New function.
2059 (pcomplete-completions-at-point): Use completion-table-with-quoting
2060 and completion-table-subvert.
2061
79c4eeb4
SM
2062 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2063 (minibuffer--double-dollars): Preserve properties.
2064 (completion--sifn-requote): New function.
2065 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2066
ef24141c
SM
2067 * minibuffer.el: Add support for completion of quoted/escaped data.
2068 (completion-table-with-quoting, completion-table-subvert): New funs.
2069 (completion--twq-try, completion--twq-all): New functions.
2070 (completion--nth-completion): New function.
2071 (completion-try-completion, completion-all-completions): Use it.
2072
784e7d6e
LL
20732012-04-25 Leo Liu <sdl.web@gmail.com>
2074
dd2ac746
SM
2075 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2076 Use compilation-message if available to find real filename.
784e7d6e 2077
07875ee7
CY
20782012-04-25 Chong Yidong <cyd@gnu.org>
2079
2080 * vc/diff-mode.el (diff-setup-whitespace): New function.
2081 (diff-mode): Use it.
2082
2083 * vc/diff.el (diff-sentinel):
2084 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2085 Whitespace mode variables based on diff style (Bug#8612).
2086
5055880d
LL
20872012-04-25 Leo Liu <sdl.web@gmail.com>
2088
daf75653
LL
2089 * progmodes/python.el (python-send-region): Add suffix .py to the
2090 temp file.
2091
5055880d
LL
2092 * files.el (auto-mode-alist): Use javascript-mode instead.
2093
db9b177b
AH
20942012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2095
ef24141c 2096 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2097
2098 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2099 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2100 references, see Bug#9.
ef24141c 2101 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2102 when receiving a fault reply.
ef24141c 2103 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2104
2105 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2106 (soap-inspect-simple-type): New function.
db9b177b 2107
ef24141c 2108 * soap-client.el (soap-simple-type): New struct.
db9b177b 2109 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2110 (soap-decode-basic-type, soap-encode-basic-type):
2111 support unsignedInt and double basic types.
db9b177b 2112 (soap-resolve-references-for-simple-type)
ef24141c
SM
2113 (soap-parse-simple-type, soap-encode-simple-type): New function.
2114 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2115
2116 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2117 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2118 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2119 the local name of "soapenc:Array".
2120 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2121 decoding integer, byte and anyURI xsd types.
2122
1fc6097b
CY
21232012-04-25 Chong Yidong <cyd@gnu.org>
2124
2125 * cus-edit.el (custom-buffer-create-internal): Update header text.
2126
afc6df87
EZ
21272012-04-25 Eli Zaretskii <eliz@gnu.org>
2128
2129 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2130 settings on 'system-type', not on 'window-system'. On MS-Windows,
2131 set interactive-mode on in GDB.
2132
dfbd787f
SM
21332012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2134
2135 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2136 (ruby-syntax-propertize-regexp): Remove.
2137 (ruby-syntax-propertize-function): Split regexp into chunks.
2138 Match following code directly.
2139
85222d44
DG
21402012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2141
51a8ea2a
DG
2142 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2143 (ruby-syntax-propertize-regexp): New function.
2144 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2145 by a special keyword.
2146
85222d44
DG
2147 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2148 (ruby-syntax-general-delimiters-goto-beg)
2149 (ruby-syntax-propertize-general-delimiters): New functions.
2150 (ruby-syntax-propertize-function): Use them to handle GDL.
2151 (ruby-font-lock-keywords): Move old handling of GDL...
2152 (ruby-font-lock-syntactic-keywords): .. to here.
2153 (ruby-calculate-indent): Adjust indentation for GDL.
2154
b613912b
MA
21552012-04-24 Michael Albinus <michael.albinus@gmx.de>
2156
b5380639
MA
2157 * notifications.el (top): Remove unneeded declarations.
2158 (notifications-specification-version): Change to "1.2".
e43042fe 2159 (notifications-interface, notifications-notify-method)
b613912b
MA
2160 (notifications-close-notification-method): Fix docstring.
2161 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2162 (notifications-notify): Add :action-items, :resident and
2163 :transient hints. Change "image_data" to "image-data" and
2164 "image_path" to "image-path".
b613912b
MA
2165 (notifications-get-capabilities): New defun.
2166
257440aa
LL
21672012-04-24 Leo Liu <sdl.web@gmail.com>
2168
2169 * progmodes/python.el: Move hideshow setup to the end.
2170
b1bac16e
MR
21712012-04-24 Martin Rudalics <rudalics@gmx.at>
2172
2173 * window.el (handle-select-window): Clear echo area since this is
2174 no more done by read_char (Bug#11304).
2175
d81bd059
SM
21762012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2179 and `/ M' to filter-derived-mode.
2180 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2181 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2182 (ibuffer-mark-by-mode): Use default rather than initial-input.
2183 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2184
c4cf6d91
IA
21852012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2186
2187 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2188 (ibuffer-filter-by-derived-mode): New filter.
2189 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2190
7511ded8
CY
21912012-04-23 Andreas Politz <politza@fh-trier.de>
2192
2193 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2194
775c916b
CY
21952012-04-23 Chong Yidong <cyd@gnu.org>
2196
2197 * cus-edit.el (customize-apropos, customize-apropos-options):
2198 Disable matching of non-option variables (Bug#11176).
2199 (customize-option, customize-option-other-window)
2200 (customize-changed-options): Doc fix.
2201 (customize-apropos-options, customize-apropos-faces)
2202 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2203
2204 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2205 Fix word list splitting (Bug#11132).
46c71e23
CY
2206 (apropos-symbol, apropos-keybinding, apropos-label)
2207 (apropos-property, apropos-function-button)
2208 (apropos-variable-button, apropos-misc-button): New faces.
2209 (apropos-symbol-face, apropos-keybinding-face)
2210 (apropos-label-face, apropos-property-face, apropos-match-face):
2211 Variables removed (Bug#8396).
2212 (apropos-library-button, apropos-format-plist, apropos-print)
2213 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2214
2df41f9c
MA
22152012-04-23 Michael Albinus <michael.albinus@gmx.de>
2216
2217 * net/xesam.el (xesam-mode-map): Use let-bound map in
2218 initialization. (Bug#11292)
2219
da00640a
AM
22202012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2221
2222 Preserve ispell session localwords when switching back to
2223 original buffer.
2224
2225 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2226 variable to hold buffer session localwords.
2227 (ispell-kill-ispell): add option 'clear to delete session
2228 localwords.
2229 (ispell-command-loop, ispell-change-dictionary)
2230 (ispell-buffer-local-words): Preserve session localwords when
2231 needed.
2232
2233 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2234 Preserve session localwords when needed.
2235
f621ccf5
AM
22362012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2237
2238 * ispell.el (ispell-insert-word) Remove unneeded function using
2239 obsolete `translation-table-for-input'.
ef24141c
SM
2240 (ispell-word, ispell-process-line, ispell-complete-word):
2241 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2242
c2d1019e
CY
22432012-04-22 Chong Yidong <cyd@gnu.org>
2244
2245 * cus-edit.el (custom-variable-menu)
2246 (custom-variable-reset-saved, custom-face-menu)
2247 (custom-face-reset-saved): If there is no saved value, make the
2248 "reset-saved" operation bring back the default (Bug#9509).
2249 (custom-face-state): Properly detect themed faces.
2250
eeddc531
CY
2251 * faces.el (face-spec-set): Stop supporting deprecated form of
2252 third arg.
2253
dcbf5805
MA
22542012-04-22 Michael Albinus <michael.albinus@gmx.de>
2255
2256 Move functions from C to Lisp. Make non-blocking method calls
2257 the default. Implement further D-Bus standard interfaces.
2258
ef24141c
SM
2259 * net/dbus.el (dbus-message-internal): Declare function.
2260 Remove unneeded function declarations.
dcbf5805
MA
2261 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2262 (dbus-message-type-method-return, dbus-message-type-error)
2263 (dbus-message-type-signal): Declare variables. Remove local
2264 definitions.
2265 (dbus-interface-dbus, dbus-interface-peer)
2266 (dbus-interface-introspectable, dbus-interface-properties)
2267 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2268 Adapt docstring.
2269 (dbus-interface-objectmanager): New defconst.
2270 (dbus-call-method, dbus-call-method-asynchronously)
2271 (dbus-send-signal, dbus-method-return-internal)
2272 (dbus-method-error-internal, dbus-register-service)
2273 (dbus-register-signal, dbus-register-method): New defuns, moved
2274 from dbusbind.c
2275 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2276 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2277 New defuns.
dcbf5805
MA
2278 (dbus-call-method-non-blocking): Make it an obsolete function.
2279 (dbus-unregister-object, dbus-unregister-service)
2280 (dbus-handle-event, dbus-register-property)
2281 (dbus-property-handler): Obey the new structure of
2282 `bus-registered-objects'.
2283 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2284 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2285 Use `dbus-call-method'.
2286
cf20dee0
CY
22872012-04-22 Chong Yidong <cyd@gnu.org>
2288
2289 * cus-edit.el (custom-commands, custom-reset-menu)
2290 (Custom-reset-standard): Tweak labels.
2291 (custom-reset-button-menu): Change default to t.
2292 (custom-buffer-create-internal): For the custom-reset-button-menu
2293 case, put the revert button first.
2294 (custom-group-subtitle): New face.
2295 (custom-group-value-create): Align docstring to a specific column.
2296
2297 * wid-edit.el (widget-documentation-link-add): Don't handle
2298 indentation in this function.
2299 (widget-documentation-string-indent-to): New function.
2300 (widget-documentation-string-value-create): Use it.
2301
2302 * autorevert.el (auto-revert):
2303 * epg-config.el (epg):
2304 * ibuffer.el (ibuffer):
2305 * mpc.el (mpc):
2306 * ses.el (ses):
2307 * eshell/eshell.el (eshell):
2308 * net/ange-ftp.el (ange-ftp):
2309 * progmodes/ebnf2ps.el (postscript):
2310 * progmodes/flymake.el (flymake):
2311 * progmodes/prolog.el (prolog):
2312 * progmodes/verilog-mode.el (verilog-mode):
2313 * progmodes/which-func.el (which-func):
2314 * term/xterm.el (xterm):
2315 * textmodes/picture.el (picture):
2316 * textmodes/tildify.el (tildify):
2317 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2318 customization buffers.
2319
583e23bd
AM
23202012-04-22 Alan Mackenzie <acm@muc.de>
2321
2322 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2323 Adding a ) can hide the resulting (..) from searches. Fix it.
2324 Bound the backward search to the position of the existing (.
2325
7dd51bf1
JB
23262012-04-21 Juanma Barranquero <lekktu@gmail.com>
2327
2328 * progmodes/verilog-mode.el (verilog-mode): Check whether
2329 which-func-modes is t before adding verilog-mode.
2330 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2331
d64a438f
LL
23322012-04-21 Leo Liu <sdl.web@gmail.com>
2333
7dd51bf1 2334 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2335
081e8d65
MV
23362012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2337
2338 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2339 filling of the last column of a table (Bug#5635).
2340 (woman-find-next-control-line): New arg, specifying an additional
2341 regexp component for the control line.
2342 (woman2-roff-buffer): Use it.
2343 (woman-break-table): New function.
2344 (woman2-TS): Use it.
2345
23462012-04-21 Chong Yidong <cyd@gnu.org>
2347
2348 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2349 (woman-horizontal-escapes, woman-negative-vertical-space)
2350 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2351 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2352
ed571ccb
SM
23532012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * minibuffer.el (completion-file-name-table): Complete user names.
2356
39773899
LL
23572012-04-20 Leo Liu <sdl.web@gmail.com>
2358
2359 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2360 and pcase-let*.
2361
de6ff46d
CY
23622012-04-20 Chong Yidong <cyd@gnu.org>
2363
2364 * server.el (server-execute): Respect initial-buffer-choice if it
2365 is a string and there are no files to open (Bug#2825).
2366 (server-create-window-system-frame, server-create-tty-frame):
2367 Don't switch buffers here.
2d0e8e61
CY
2368 (server-process-filter): Only try to open a window system frame if
2369 compiled with graphical support (Bug#8314).
de6ff46d 2370
54071013
DN
23712012-04-20 Dan Nicolaescu <dann@gnu.org>
2372
2373 * battery.el (battery-echo-area-format): Display remaining time
2374 for sysfs backend too (Bug#11269).
2375 (battery-linux-sysfs): Fix conditional for the charge.
2376
f30d612a
CY
23772012-04-20 Chong Yidong <cyd@gnu.org>
2378
c07a4c0b 2379 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2380 (gdb-inferior-io--init-proc): New function.
2381 (gdb-init-1): Use it.
2382 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2383 responsible for allocating a new pty and hooking it to gdb when
2384 the old pty gets an EIO due to process exit.
2385 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2386 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2387 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2388
2116e93c
EZ
23892012-04-20 Eli Zaretskii <eliz@gnu.org>
2390
2391 * window.el (window-min-size, window-sizable, window-min-delta)
2392 (window-max-delta, window--resizable, window-resizable)
2393 (window-total-size, window-full-height-p, window-full-width-p)
2394 (window-in-direction, window--resize-mini-window, window-resize)
2395 (window--resize-child-windows-normal)
2396 (window--resize-child-windows, window--resize-siblings)
2397 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2398 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2399
c07a4c0b 24002012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2401
ef24141c
SM
2402 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2403 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2404 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2405 pty process (Bug#11273).
2406 (gdb-update): New arg to suppress talking to the gdb process.
2407 (gdb-done-or-error): Use it.
2408 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2409 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2410 sentinel not being called.
2411
2412 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2413
d02766ab
CY
2414 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2415
c07a4c0b 24162012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2417
2418 * net/network-stream.el (open-network-stream): Doc fix.
2419
c07a4c0b 24202012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2421
2422 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2423
c07a4c0b 24242012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2425
2426 Ensure searching for keywords is case sensitive.
2427
2428 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2429 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2430 (c-defun-name, c-mark-function, c-cpp-define-name)
2431 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2432 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2433
ef24141c
SM
2434 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2435 Bind case-fold-search to nil.
f0f6bc35 2436
c07a4c0b 24372012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2438
2439 * mail/sendmail.el (mail-bury): Call return action with the right
2440 Rmail buffer (Bug#11242).
2441
9a864fa2
CY
2442 * server.el (server-process-filter): Handle corner case where both
2443 tty and nowait options are present (Bug#11102).
2444
539aa513
EZ
24452012-04-20 Eli Zaretskii <eliz@gnu.org>
2446
2447 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2448 (top level): Put into the executable the ident-style '$Id:' tag on
2449 windows-nt as well.
539aa513 2450
cfc7d5da
SM
24512012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2452
2453 * electric.el (electric-indent-post-self-insert-function): Check that
2454 electric-indent-mode is enabled in current buffer.
2455
5b01685c
JB
24562012-04-19 Juanma Barranquero <lekktu@gmail.com>
2457
2458 * imenu.el (imenu-progress-message): Restore; it is "used" in
2459 erc/erc-imenu.el and net/snmp-mode.el.
2460
4d6769e1
JB
24612012-04-19 Juanma Barranquero <lekktu@gmail.com>
2462
2463 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2464 (mouse-avoidance-nudge-mouse): Remove unused binding.
2465
2466 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2467
2468 * descr-text.el (describe-char):
2469 * progmodes/python.el (python-describe-symbol):
2470 Don't call `toggle-read-only', set `buffer-read-only'.
2471
2472 * imenu.el (imenu-default-goto-function): Mark unused args.
2473 (imenu-progress-message): Remove obsolete macro; all callers changed.
2474
2475 * subr.el (keymap-canonicalize): Remove unused binding.
2476 (read-passwd): Mark unused arg.
2477
2478 * tutorial.el (tutorial--display-changes): Remove unused binding.
2479 (tutorial--save-tutorial-to): Remove unused variable.
2480
2481 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2482 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2483 (package-generate-autoloads, package-menu--generate)
2484 (package-menu--find-upgrades): Remove unused bindings.
2485
2486 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2487 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2488 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2489 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2490 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2491 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2492 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2493 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2494 (cua-delete-char-rectangle): Mark unused args.
2495 (cua-align-rectangle): Remove unused binding.
2496
2497 * mail/rmail.el (compilation--message->loc)
2498 (epa--find-coding-system-for-mime-charset): Declare.
2499
2500 * net/dbus.el (dbus-register-service): Declare.
2501 (dbus-name-owner-changed-handler): Remove unused binding.
2502
2503 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2504 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2505 (nxml-scan-backward-within): Mark unused arg.
2506 (nxml-dynamic-markup-word): Remove unused binding.
2507
2508 * mouse.el (mouse-menu-major-mode-map):
2509 * emacs-lisp/authors.el (authors-scan-change-log)
2510 (authors-add-to-author-list):
2511 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2512 * emacs-lisp/smie.el (smie-auto-fill):
2513 * mail/sendmail.el (mail-bury):
2514 * mail/unrmail.el (unrmail):
2515 * net/tls.el (open-tls-stream):
2516 * textmodes/picture.el (picture-mouse-set-point):
2517 Remove unused bindings.
2518
8c8fc5df
MA
25192012-04-19 Michael Albinus <michael.albinus@gmx.de>
2520
2521 * net/tramp.el (tramp-action-password): Let-bind
2522 `enable-recursive-minibuffers' to t.
2523
a77b0ac9
SS
25242012-04-18 Sam Steingold <sds@gnu.org>
2525
2526 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2527 instead of 'string to accommodate values like [f11].
2528 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2529 * progmodes/gdb-mi.el: Likewise.
2530
12a106a9
LL
25312012-04-18 Leo Liu <sdl.web@gmail.com>
2532
2533 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2534 current buffer.
2535 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2536 LOCAL is nil.
2537
bc6494ef
CY
25382012-04-18 Chong Yidong <cyd@gnu.org>
2539
2540 * simple.el (line-move): Use forward-line if in batch mode
2541 (Bug#11053).
2542
c09c46b2
CS
25432012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2544
2545 * files.el (after-find-file): Do not try to add a final newline if
2546 the buffer is read-only (Bug#11156).
2547
5f6530ea
RS
25482012-04-17 Richard Stallman <rms@gnu.org>
2549
2550 * mail/rmail.el (rmail-start-mail):
2551 Pass (rmail-mail-return...) for the return-action.
2552 Pass (rmail-yank-current-message...) for the yank-action.
2553 (rmail-yank-current-message): New function.
2554 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2555 (rmail-reply): Likewise.
2556 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2557
2558 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2559 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2560 buffer, not newbuf.
2561
197b6f3c
JB
25622012-04-17 Juanma Barranquero <lekktu@gmail.com>
2563
2564 * server.el (server-ensure-safe-dir): Simplify.
2565
2311d8e5 25662012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2567
2311d8e5
GM
2568 * emacs-lisp/smie.el: Provide smarter auto-filling.
2569 (smie-auto-fill): New function.
2570 (smie-setup): Use it.
98fb480e 2571
2311d8e5
GM
2572 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2573
25742012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2575
2576 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2577 (comment-indent): Use it.
2578
2311d8e5 25792012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2580
2581 * ses.el: The overall change is to add cell renaming, that is
2582 setting fancy names for cell symbols other than name matching
2583 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2584 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2585 (ses-create-cell-variable): New defun.
2311d8e5 2586 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2587 (ses-relocate-formula): Relocate formulas only for cells the
2588 symbols of which are not renamed, i.e. symbols whose names do not
2589 match regexp "\\`[A-Z]+[0-9]+\\'".
2590 (ses-relocate-all): Relocate values only for cells the symbols of
2591 which are not renamed.
2592 (ses-load): Create cells variables as the (ses-cell ...) are read,
2593 in order to check row col consistency with cell symbol name only
2594 for cells that are not renamed.
2595 (ses-replace-name-in-formula): New defun.
2596 (ses-rename-cell): New defun.
4bdf2ad2 2597
fc72b15c
PO
25982012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2599
2600 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2601 New option (bug#11118).
2602 (perl-calculate-indent): Respect it.
2603
12e10e61
GM
26042012-04-17 Glenn Morris <rgm@gnu.org>
2605
2606 * dired-aux.el (dired-mark-read-string): Doc fix.
2607
30009afd
DA
26082012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2609
2610 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2611 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2612
41f03f4d
GM
26132012-04-17 Glenn Morris <rgm@gnu.org>
2614
2615 * mouse.el (mouse-drag-track):
2616 * speedbar.el (speedbar-frame-mode):
2617 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2618
f45f90f3
LL
26192012-04-16 Leo Liu <sdl.web@gmail.com>
2620
2621 * progmodes/python.el: Trivial cleanup.
2622
94ee8db5
GM
26232012-04-16 Glenn Morris <rgm@gnu.org>
2624
121b8917
GM
2625 * vc/vc.el (vc-string-prefix-p):
2626 * vc/pcvs-util.el (cvs-string-prefix-p):
2627 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2628 * mpc.el (mpc-string-prefix-p):
2629 Make all of these into obsolete aliases for string-prefix-p.
2630 Update callers.
2631 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2632
1197ecfa
GM
2633 * textmodes/two-column.el: Move custom options to the start.
2634 (frame-width): Remove compat definition.
2635 (2C-associate-buffer, 2C-dissociate):
2636 Use with-current-buffer rather than save-excursion.
2637 (2C-dissociate): Force a mode-line update.
2638 (2C-autoscroll): Use ignore-errors.
2639
099e7202
GM
2640 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2641 Autoload trivia.
2642
bf350d6a
GM
2643 * emacs-lisp/cl-extra.el (*random-state*):
2644 Remove unnecessary declaration.
2645
0e829eab
GM
2646 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2647
e3ad7552
GM
2648 * play/cookie1.el (cookie-snarf):
2649 Give an explicit error if input file cannot be read.
2650
68892d27
GM
2651 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2652
20f0c46d
GM
2653 * progmodes/perl-mode.el (c-macro-expand):
2654 Remove unnecessary autoload (it is in loaddefs.el).
2655
5a0978ce
GM
2656 * textmodes/picture.el (picture-desired-column)
2657 (picture-update-desired-column): Convert comments to doc-strings.
2658 (picture-substitute): Remove function.
2659 (picture-mode-map): Initialize in the defvar.
2660
6b955486
GM
2661 * woman.el: Remove eval-after-load for tar-mode.
2662 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2663 (woman-tar-extract-file): Autoload it.
2664
94ee8db5
GM
2665 * frame.el (automatic-hscrolling): Make this alias obsolete.
2666
177eca34
AM
26672012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2668
2669 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2670 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2671 (ispell-dictionary-base-alist): Revert to original XEmacs
2672 friendly version for default. [:alpha:] will be added in
2673 `ispell-set-spellchecker-params' if needed
177eca34 2674
c505aaeb
CY
26752012-04-16 Chong Yidong <cyd@gnu.org>
2676
2677 * image.el (imagemagick--extension-regexp): New variable.
2678 (imagemagick-register-types): Use it.
2679 (imagemagick-types-inhibit): Add :set function. Allow new value
2680 of t to inhibit all types.
2681
2682 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2683 so we can preload it.
2684
2685 * loadup.el (fboundp): Preload regexp-opt, needed by
2686 imagemagick-register-types.
2687
60efac0f
CY
26882012-04-15 Chong Yidong <cyd@gnu.org>
2689
2690 * frame.el (scrolling): Remove nearly unused customization group.
2691
2692 * scroll-all.el (scroll-all-mode): Move to windows group.
2693
5dd1713e
CY
26942012-04-15 Chong Yidong <cyd@gnu.org>
2695
2696 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2697
e6fd457e
CY
26982012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2701 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2702
e153c136
GM
27032012-04-15 Glenn Morris <rgm@gnu.org>
2704
2705 * simple.el (process-file-side-effects): Doc fix.
2706
e6fd457e 27072012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2708
2709 * international/mule-cmds.el (set-language-environment): Doc fix.
2710
3603c3b1
JB
27112012-04-14 Juanma Barranquero <lekktu@gmail.com>
2712
2713 * server.el (server-auth-key, server-generate-key): Doc fixes.
2714 (server-get-auth-key): Doc fix. Use `string-match-p'.
2715 (server-start): Reflow docstring.
2716
e6de100c
LI
27172012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2718
2719 * server.el (server-generate-key): `called-interactively-p'
2720 requires a parameter.
2721
29734c21
MN
27222012-04-14 Michal Nazarewicz <mina86@mina86.com>
2723
2724 * server.el (server-auth-key): New variable.
75f1671a 2725 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2726 (server-start): Use the new variable and functions to allow
2727 setting a permanent server key (bug#9423).
2728
d65c9521
LL
27292012-04-14 Leo Liu <sdl.web@gmail.com>
2730
2731 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2732
5ae255c7
PE
27332012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2734
2735 Spelling fixes.
2736 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2737 Emacs uses American spelling.
2738
d5e6342e
JB
27392012-04-14 Juanma Barranquero <lekktu@gmail.com>
2740
2741 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2742 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2743 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2744 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2745
ab036cd7
SM
27462012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * progmodes/which-func.el (which-func-modes): Change default.
2749
35dc09a1 27502012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2751
2752 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2753 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2754
35dc09a1 27552012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2756
2757 * custom.el (custom-theme-set-variables): Doc fix.
2758
35dc09a1 27592012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2760
2761 * international/mule.el (set-auto-coding-for-load): Doc fix.
2762
35dc09a1 27632012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2764
35dc09a1
GM
2765 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2766 imenu work again for Objective C Mode. Correct the *-index values,
2767 these having been disturbed by a previous change in 2011-08.
57f845ee 2768
0de3da9f
AM
2769 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2770 Correct two search limits.
2771
35dc09a1 27722012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2773
2774 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2775
35dc09a1 27762012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2777
2778 * international/characters.el: Fix sorting.
2779
35dc09a1 27802012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2781
2782 * international/characters.el: Add more missing Latin case pairs.
2783
35dc09a1 27842012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2785
2786 * files.el (dir-locals-set-class-variables): Doc fix.
2787
35dc09a1 27882012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2789
3f1b5bf8
EZ
2790 * international/characters.el: Add set-case-syntax-pair call for
2791 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2792 counterpart. (Bug#11209)
2793
9f847f41
EZ
2794 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2795
35dc09a1 27962012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2797
2798 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2799
35dc09a1 28002012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2801
35dc09a1
GM
2802 * textmodes/ispell.el (ispell-dictionary-base-alist):
2803 Add data for Hebrew.
e2627d21 2804
35dc09a1 28052012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2806
35dc09a1
GM
2807 * net/rcirc.el (rcirc-cmd-quit):
2808 Revert 2012-03-18 change (Bug#11192).
5c14e333 2809
35dc09a1 28102012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2811
2812 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2813
35dc09a1 28142012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2815
4517fe3a
SM
2816 * minibuffer.el (completion-in-region-mode-map):
2817 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2818
b472a594
VD
28192012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2820
2821 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2822
09b95ce3
MY
28232012-04-13 Masatake YAMATO <yamato@redhat.com>
2824
2825 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2826 to allow `C-M-f' and `C-M-b' to move to the nearest path
2827 separator (bug#9511).
2828
4b63a9ca
LI
28292012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2830
2831 * avoid.el: Require cl when compiling. And also move the
2832 `provide' to the end.
2833
7b55b8bf
TV
28342012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2835
2836 * avoid.el (mouse-avoidance-banish-position): New variable.
2837 (mouse-avoidance-banish-destination): Use it (bug#10165).
2838
adedaa1f
LL
28392012-04-13 Leo Liu <sdl.web@gmail.com>
2840
2841 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2842
70e74021
KB
28432012-04-13 Ken Brown <kbrown@cornell.edu>
2844
2845 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2846 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2847 (browse-url-filename-alist): For the same reason, don't modify
2848 file:// URLs on Cygwin.
2849
e75e89ba
SM
28502012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2853 the region on shift if the binding is already shifted (bug#11221).
2854
82f289a4
GM
28552012-04-12 Glenn Morris <rgm@gnu.org>
2856
2857 * mail/mailpost.el: Move to obsolete/.
2858
d333dc4c
DA
28592012-04-12 Drew Adams <drew.adams@oracle.com>
2860
2861 * imenu.el (imenu--generic-function): Ignore invisible definitions
2862 (bug#10123).
2863
0d15b5ba
VD
28642012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2865
2866 * hexl.el (hexl-bits): New variable.
2867 (hexl-options): Mention the variable in the doc string.
75f1671a 2868 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2869 (hexl-mode): Mention the new variable.
75f1671a
JB
2870 (hexl-mode, hexl-current-address, hexl-current-address):
2871 Use the displen.
0d15b5ba
VD
2872 (hexl-ascii-start-column): New function.
2873 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2874 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2875
64a440db
AM
28762012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2877
2878 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2879 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2880 the encoding, as expected by hunspell.
2881
6decb6c2
SM
28822012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * battery.el (battery--linux-sysfs-regexp): New const.
2885 (battery-status-function): Use it. Remove yeeloong special case.
2886 (battery-yeeloong-sysfs): Remove.
2887 (battery-echo-area-format): Remove yeeloong special case.
2888
088be6fb
SM
28892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2890
6622e416
SM
2891 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2892 Reported by Noah Friedman.
2893
088be6fb
SM
2894 * subr.el (read-passwd): Use read-string.
2895
b49f886e
LMI
28962012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2897
2898 * vcursor.el (vcursor-move): Increase the priority of the overlay
2899 (bug#9663).
2900
a63067fc
DD
29012012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2902
2903 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2904 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2905
ac3cf14a
WS
29062012-04-11 William Stevenson <yhvh2000@gmail.com>
2907
2908 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2909 define-minor-mode (bug#10760).
2910
c4fc691b 29112012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2912
4d6769e1 2913 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2914 that directories matching `grep-find-ignored-files' won't be
2915 pruned (bug#10351).
2916
af23e2e5
CY
29172012-04-11 Chong Yidong <cyd@gnu.org>
2918
2919 * startup.el (command-line): Remove support for long-obsolete
2920 variable font-lock-face-attributes.
2921
ab7ce8c1
GM
29222012-04-11 Glenn Morris <rgm@gnu.org>
2923
2924 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2925
de8c03dc
SM
29262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * window.el (window--state-get-1): Obey window-point-insertion-type.
2929
050cc68b
LB
29302012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2931
2932 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2933 to previous function when point is on the first character of a
75f1671a 2934 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2935
a38c310c
GM
29362012-04-11 Glenn Morris <rgm@gnu.org>
2937
effed0c2
GM
2938 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2939 not just file-errors.
2940
a38c310c
GM
2941 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2942 (vc-bzr-sha1): Use internal sha1.
2943
0221e323
SM
29442012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2947
43956923
SG
29482012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2949
2950 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2951 that start in the middle of the line (bug#10496).
2952
6a8c9eaf
DN
29532012-04-10 Dan Nicolaescu <dann@gnu.org>
2954
2955 * battery.el (battery-linux-proc-acpi): Only one battery is
2956 discharged at a time, but that seems to confuse battery.el when
2957 computing `rate-type' for the battery not being discharged
2958 (bug#10332).
2959
1930bf5d
SM
29602012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2a718f6f
SM
2962 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2963
599430d0
SM
2964 * international/quail.el: Use dolist and simplify.
2965 (quail-define-package, quail-update-keyboard-layout)
2966 (quail-define-rules): Use dolist.
2967 (quail-insert-kbd-layout, quail-get-translation): CSE.
2968
a2754b6c
SM
2969 * tmm.el: Use dolist, remove left over hook.
2970 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2971 Use dolist.
2972 (calendar-load-hook): Don't mess with it.
2973
1930bf5d
SM
2974 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2975 Use derived-mode-p. Run the diff asynchronously.
2976
9f67961c
LMI
29772012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2978
2979 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2980
2a8ce227
JB
29812012-04-10 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2984 (list-dynamic-libraries--loaded): New function.
2985 (list-dynamic-libraries--refresh): Use it.
2986
8f33b5f8
NW
29872012-04-10 Nathan Weizenbaum <nweiz@google.com>
2988
1930bf5d
SM
2989 * progmodes/python.el (python-fill-paragraph):
2990 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2991 disabled (bug#7018).
2992
b12f0439
L
29932012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2994
1930bf5d 2995 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2996 DOS/MS Windows for the Baltic languages. There are still plenty
2997 of texts written in this encoding/codepage (bug#6519).
b12f0439 2998
57c3bd01
GM
29992012-04-10 Glenn Morris <rgm@gnu.org>
3000
3001 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3002 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3003
6c3eab30
FA
30042012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3005
1930bf5d 3006 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3007 next-line "n" and previous-line "p" in order to make recentf more
3008 consistent with ibuffer, dired or org-mode (bug#9387).
3009
24d78a88
LMI
30102012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3011
bc72b5d9
LMI
3012 * image.el (put-image): Return the overlay created instead of the
3013 optional input string (bug#7834). Note that this may break code
3014 that is (for some reason or other) depending on `put-image'
3015 returning the string.
3016
bd2dba5a
LMI
3017 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3018
74beb59f
LMI
3019 * simple.el (zap-to-char): Allow zapping using input methods
3020 (bug#1580).
3021
24d78a88
LMI
3022 * textmodes/fill.el (fill-region): Leave point and mark where they
3023 were before filling (bug#5399).
3024
263f20cd
GM
30252012-04-09 Glenn Morris <rgm@gnu.org>
3026
3027 * version.el (emacs-bzr-get-version):
3028 Handle lightweight checkouts of local branches.
3029
58d1f797
AS
30302012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3031
263f20cd 3032 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3033
b4d3bc10
CY
30342012-04-09 Chong Yidong <cyd@gnu.org>
3035
3036 * custom.el (custom-variable-p): Return nil for non-symbol
3037 arguments instead of signaling an error.
3038 (user-variable-p): Obsolete alias for custom-variable-p.
3039
3040 * apropos.el (apropos-variable):
3041 * files-x.el (read-file-local-variable):
3042 * simple.el (set-variable):
3043 * woman.el (woman-mini-help):
3044 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3045
fd06db5d
GM
30462012-04-09 Glenn Morris <rgm@gnu.org>
3047
e5fcdb5e
GM
3048 * startup.el (normal-top-level): Don't look for leim-list.el
3049 in places where it will not be found. (Bug#910)
3050
fd06db5d
GM
3051 * international/mule-cmds.el (set-default-coding-systems):
3052 * files.el (normal-mode):
3053 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3054 This function was removed with ucs-tables.el in 2008.
3055
b39bb7e1
EZ
30562012-04-08 Eli Zaretskii <eliz@gnu.org>
3057
3058 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3059 ispell-encoding8-command to "-i", without a trailing space.
3060 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3061 separate command-line arguments, to specify the encoding, since
3062 that's how hunspell expects it.
3063
5c5b8e23
GM
30642012-04-08 Glenn Morris <rgm@gnu.org>
3065
3066 * loadup.el: Load bindings before cus-start.
3067 This reduces somewhat the number of "rogue" settings in emacs -Q.
3068
a1ed8b05
GM
30692012-04-07 Glenn Morris <rgm@gnu.org>
3070
3071 * version.el (emacs-bzr-get-version): New function.
dfae128a 3072 (emacs-bzr-version): New variable.
a1ed8b05
GM
3073 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3074 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3075
b142f158
EZ
30762012-04-07 Eli Zaretskii <eliz@gnu.org>
3077
dfae128a
GM
3078 * international/uni-bidi.el, international/uni-category.el:
3079 * international/uni-combining.el, international/uni-decimal.el:
3080 * international/uni-decomposition.el, international/uni-digit.el:
3081 * international/uni-lowercase.el, international/uni-mirrored.el:
3082 * international/uni-name.el, international/uni-numeric.el:
3083 * international/uni-titlecase.el, international/uni-uppercase.el:
3084 Update for Unicode 6.1.
b142f158 3085
9078ead6
EZ
30862012-04-07 Eli Zaretskii <eliz@gnu.org>
3087
3088 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3089
f23d2c7d
LMI
30902012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3091
3092 * window.el (shrink-window): Mention the `window-min-height'
3093 variable in the doc string.
3094
0a0a3573
BG
30952012-04-05 Bastien Guerry <bzg@altern.org>
3096
3097 * color.el (color-lighten-name): Fix typo.
3098
e5248ac9
SM
30992012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * server.el (server--on-display-p): New function.
3102 (server--on-display-p): Use it.
3103
b4243e22
GV
31042012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3105
3106 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3107 (bug#11145).
3108
305d9f44
SM
31092012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * comint.el (comint--common-quoted-suffix): Check string boundary
3112 before comparing (bug#11158).
3113 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3114
3d439cd1
CY
31152012-04-04 Chong Yidong <cyd@gnu.org>
3116
321cc491
CY
3117 * minibuffer.el (completion-extra-properties): Doc fix.
3118
3d439cd1
CY
3119 * subr.el (delayed-warnings-hook): Doc fix.
3120
2d562c0f
DU
31212012-04-04 Daiki Ueno <ueno@unixuser.org>
3122
3123 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3124 selection (Bug#11159).
3125 (epa-insert-keys): Inform that the default public key will be
3126 exported if no key is selected.
3127
4443f204
RS
31282012-04-04 Richard Stallman <rms@gnu.org>
3129
3130 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3131
529c06b6
CY
31322012-04-03 Chong Yidong <cyd@gnu.org>
3133
3134 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3135 mail-insert-file, not its obsolete alias mail-attach-file.
3136
66b907dc
MA
31372012-04-03 Michael Albinus <michael.albinus@gmx.de>
3138
3139 * notifications.el (notifications-notify): Fix docstring.
3140
c0ea195d
GM
31412012-04-02 Glenn Morris <rgm@gnu.org>
3142
3143 * emacs-lisp/authors.el (authors-aliases): Another addition.
3144
5ca64e00
MA
31452012-04-02 Michael Albinus <michael.albinus@gmx.de>
3146
3147 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3148 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3149 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3150
42ee526b
CY
31512012-04-01 Chong Yidong <cyd@gnu.org>
3152
3153 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3154 Handle root directory properly.
3155 (copy-directory): Caller changed.
3156
3157 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3158 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3159
0b021094
GM
31602012-03-31 Glenn Morris <rgm@gnu.org>
3161
40f86458
GM
3162 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3163
7019c177
GM
3164 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3165
a1daddd6
GM
3166 * calendar/calendar.el (calendar-window-list)
3167 (calendar-hide-window): Restore. (Bug#11140)
3168 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3169
0b021094
GM
3170 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3171
40311efc
TV
31722012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3173
3174 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3175 Check if file is a symlink (Bug#10489).
3176
3177 * files.el (copy-directory): Likewise.
3178
5319014e
CY
31792012-03-30 Chong Yidong <cyd@gnu.org>
3180
3181 * image.el (imagemagick-types-inhibit)
3182 (imagemagick-register-types): Doc fix.
3183
935d1290
AM
31842012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3185
ef24141c
SM
3186 * ispell.el (ispell-get-extended-character-mode):
3187 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3188 and treats ~word as ordinary words in pipe mode.
935d1290 3189
61c6e8fd
GM
31902012-03-30 Glenn Morris <rgm@gnu.org>
3191
3192 * tutorial.el (help-with-tutorial): Ensure local variables don't
3193 happen to make the buffer read-only. (Bug#11127)
3194
81fdff00
SM
31952012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3198 (perl-calculate-indent): Return `noindent' in strings.
3199
6e7a6ec0
SS
32002012-03-28 Sam Steingold <sds@gnu.org>
3201
3202 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3203 instead of the broken adhockery which does not prevent calendar
3204 buffers from being displayed at random after exit.
3205 (calendar-window-list, calendar-hide-window): Remove the broken
3206 adhockery.
3207
fee88ca0
GM
32082012-03-28 Glenn Morris <rgm@gnu.org>
3209
3210 * replace.el (query-replace-map): Doc fix.
3211
38de3354
AS
32122012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3213
3214 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3215 contents. (Bug#11109)
3216
b973155e
SM
32172012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3220 (bug#11077).
3221 (avl-tree--check, avl-tree--check-node): New funs.
3222
dcb6e7b3
MR
32232012-03-27 Martin Rudalics <rudalics@gmx.at>
3224
3225 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3226 (switch-to-prev-buffer, switch-to-next-buffer):
3227 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3228 showing a buffer already is done on the same frame.
3229
b4fa35fa
GM
32302012-03-27 Glenn Morris <rgm@gnu.org>
3231
3232 * startup.el (mail-host-address): Doc fix.
3233
f9210e18
SM
32342012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3235
3236 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3237 than 197 variables.
3238
c0bf7753
AF
32392012-03-26 Ami Fischman <ami@fischman.org>
3240
3241 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3242
33da7b16
GM
32432012-03-26 Glenn Morris <rgm@gnu.org>
3244
02243d9d
GM
3245 * files.el (save-buffers-kill-emacs): Doc fix.
3246
33da7b16
GM
3247 * startup.el (normal-top-level, command-line, command-line-1):
3248 Give them doc strings.
3249
e5a69fd0
EZ
32502012-03-25 Eli Zaretskii <eliz@gnu.org>
3251
3252 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3253 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3254
9a69676a
CY
32552012-03-25 Chong Yidong <cyd@gnu.org>
3256
4125cb8b
CY
3257 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3258 theme if it was previously enabled before (Bug#11031).
3259
dd470960
CY
3260 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3261 spec with custom-face-get-current-spec if its :shown-value is not
3262 determined yet (Bug#9337).
4125cb8b 3263 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3264
9a69676a
CY
3265 * button.el (button-at): Minor addition to docstring.
3266
6e7e90fa
SL
32672012-03-24 Simon Leinen <simon.leinen@gmail.com>
3268
3269 * vc/vc.el (vc-merge): Fix a prompt.
3270
f06e2758
CY
32712012-03-24 Chong Yidong <cyd@gnu.org>
3272
3273 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3274 point (Bug#9623).
3275
6e7e90fa
SL
3276 * button.el (button-at): Minor addition to docstring.
3277
b9d0879b
SM
32782012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * newcomment.el (comment-choose-indent): No space after BOL.
3281
e71cebb3
SS
32822012-03-22 Sam Steingold <sds@gnu.org>
3283
3284 * window.el (switch-to-prev-buffer): Revert last patch because the
3285 bug turned out to be an advertised feature (Elisp manual 28.14).
3286
335aff35
GM
32872012-03-22 Glenn Morris <rgm@gnu.org>
3288
3289 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3290 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3291
c676576a
LMI
32922012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3293
3294 * net/network-stream.el (network-stream-open-starttls): Make error
3295 message under Windows be less misleading.
3296
126f3d39
LW
32972012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3298
3299 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3300 understands (bug#9942).
3301
64fee311
CY
33022012-03-22 Chong Yidong <cyd@gnu.org>
3303
3304 * simple.el (end-of-visible-line): Handle return value of
3305 next-single-property-change properly (Bug#9371).
3306
a640d29a
KH
33072012-03-22 Kenichi Handa <handa@m17n.org>
3308
3309 * international/quail.el (quail-insert-kbd-layout): Fix previous
3310 change. To avoid unwanted bidi reordering, use
3311 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3312
39675016
DG
33132012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3314
3315 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3316 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3317 (ruby-beginning-of-indent): Be more careful with the difference
3318 between word-boundary and symbol boundary.
3319 (ruby-mode-syntax-table): Make : a symbol constituent.
3320
0a6934fc 33212012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3322
3d008e4f
SM
3323 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3324
0a6934fc
SM
33252012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3326
af67c9d7
SM
3327 * progmodes/etags.el (tags-completion-at-point-function):
3328 Improve last fix.
3329
1acad97c
SM
3330 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3331
e298b5da
SS
33322012-03-21 Sam Steingold <sds@gnu.org>
3333
3334 * progmodes/etags.el (tags-completion-at-point-function):
3335 Avoid the error when point is inside the pattern.
3336
91d82a70
JY
33372012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3338
3339 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3340 line (Bug#10855).
3341
69188b79
CY
33422012-03-21 Drew Adams <drew.adams@oracle.com>
3343
3344 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3345
99fc91fe
AK
33462012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3347
3348 * ido.el (ido-set-current-directory, ido-read-internal)
3349 (ido-choose-completion-string, ido-completion-help): Handle nil
3350 value of ido-completion-buffer (Bug#11008).
3351
087bbb4c
SS
33522012-03-21 Sam Steingold <sds@gnu.org>
3353
3354 * window.el (switch-to-prev-buffer): Do not switch to a visible
3355 window previous buffer, just like with the frame previous buffers.
3356
fb5b8aca
CY
33572012-03-21 Chong Yidong <cyd@gnu.org>
3358
3359 * faces.el (make-face, make-empty-face, copy-face):
3360 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3361 Doc fixes.
3362
dc9924b8
SM
33632012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3366 (widget-complete): Remove broken use of it.
3367
f0bcceb9
CY
33682012-03-20 Chong Yidong <cyd@gnu.org>
3369
dc9924b8
SM
3370 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3371 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3372 characters.
3373
ee52ebf3
TH
33742012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3375
3376 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3377 to draw rectangles, not squares. (Regression introduced by revno
3378 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3379
4c5779ab
CY
33802012-03-18 Chong Yidong <cyd@gnu.org>
3381
3382 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3383 it is not yet defined (for temacs).
3384
15360934
LL
33852012-03-18 Leo Liu <sdl.web@gmail.com>
3386
dc9924b8 3387 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3388
d9a8eb66
EZ
33892012-03-17 Eli Zaretskii <eliz@gnu.org>
3390
3391 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3392 (ispell-choices-win-default-height, ispell-silently-savep)
3393 (ispell-dictionary-alist, ispell-encoding8-command)
3394 (ispell-check-version, ispell-aspell-find-dictionary)
3395 (ispell-valid-dictionary-list, ispell-words-keyword)
3396 (ispell-get-word, ispell-internal-change-dictionary)
3397 (ispell-region, ispell-skip-region-list)
3398 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3399 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3400 (ispell-message-text-end, ispell-message)
3401 (ispell-buffer-local-parsing): Doc fix.
3402
f02ff80d
J
34032012-03-13 Jambunathan K <kjambunathan@gmail.com>
3404
3405 * htmlfontify.el: Add support for code block fontification for ODT
3406 export (Bug #9914).
3407 (hfy-optimisations): Define new option
3408 `body-text-only'
3409 (hfy-fontify-buffer): Honor above setting.
3410 (hfy-begin-span, hfy-end-span): New routines factored out form
3411 `hfy-fontify-buffer'.
3412 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3413 that permit insertion of custom tags.
3414 (hfy-fontify-buffer): Use above handlers.
3415 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3416 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3417 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3418 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3419 bind a special variable `hfy-user-sheet-assoc'.
3420 (htmlfontify-string): New defun.
3421 (hfy-compile-face-map): Make sure that the last char in the
3422 buffer is correctly fontified.
3423 (hfy-face-resolve-face): Whitespace only change.
3424
9ac7a13f
EZ
34252012-03-17 Eli Zaretskii <eliz@gnu.org>
3426
3427 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3428 message more clear.
3429
e2b5bdd7
LL
34302012-03-16 Leo Liu <sdl.web@gmail.com>
3431
3432 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3433
2e492df3
AM
34342012-03-16 Alan Mackenzie <acm@muc.de>
3435
3436 Further optimise the handling of large macros.
3437
3438 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3439 limit to a call of `c-literal-limits'.
3440 (c-determine-+ve-limit): New function.
dc9924b8
SM
3441 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3442 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3443 In CASE 5B, restrict a search limit to 500.
3444 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3445
3446 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3447 Restrict macro bounds to +-500 from after-change's BEG END.
3448
50e94f0c
LL
34492012-03-16 Leo Liu <sdl.web@gmail.com>
3450
3451 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3452
6f09f6ed
AH
34532012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3454
3455 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3456 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3457
c7e73d51
GM
34582012-03-16 Glenn Morris <rgm@gnu.org>
3459
da986230
GM
3460 * view.el (view-buffer, view-buffer-other-window)
3461 (view-buffer-other-frame): Doc fixes re special mode-class.
3462
0835f01e
GM
3463 * subr.el (eval-after-load): If named feature is provided not from
3464 a file, run after-load forms. (Bug#10946)
3465
c7e73d51
GM
3466 * calendar/calendar.el (calendar-insert-at-column):
3467 Handle non-unit-width characters a bit better. (Bug#10978)
3468
3f2eafd1
CY
34692012-03-15 Chong Yidong <cyd@gnu.org>
3470
3471 * emacs-lisp/ring.el (ring-extend): New function.
3472 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3473
3474 * comint.el (comint-read-input-ring)
3475 (comint-add-to-input-history): Grow comint-input-ring lazily.
3476
103af3fe
SM
34772012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3478
663b1677
SM
3479 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3480 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3481
103af3fe
SM
3482 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3483 (imenu-add-to-menubar): Don't add a redundant index.
3484 (imenu-update-menubar): Handle a dynamically composed keymap.
3485
899cb7cb
KY
34862012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3487
3488 * mail/sendmail.el (mail-encode-header):
3489 Bind rfc2047-encode-encoded-words to nil.
3490
3809f91d
GM
34912012-03-13 Glenn Morris <rgm@gnu.org>
3492
3493 * calendar/calendar.el (calendar-string-spread):
3494 Handle non-unit-width characters a bit better. (Bug#10978)
3495
9e345a01
LL
34962012-03-13 Leo Liu <sdl.web@gmail.com>
3497
3498 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3499 directory and file as argument (Bug#10822).
3500
4a07df36
KS
35012012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3502
3503 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3504 For dynamically generated code, follow $PC.
3505 (gdb-disassembly-handler-custom): Handle no function name case.
3506
4aaa9356
TL
35072012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3508
3509 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3510 * emulation/ws-mode.el (ws-query-replace):
3511 * sort.el (sort-regexp-fields):
3512 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3513
225979da
SM
35142012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * dabbrev.el: Fix cycle completion order (bug#10963).
3517 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3518 (dabbrev-completion): Don't use an obarray; provide
3519 a cycle-sort-function.
3520
e2f1fdab
LL
35212012-03-12 Leo Liu <sdl.web@gmail.com>
3522
dc9924b8 3523 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3524 (kill-do-not-save-duplicates): Doc fix.
3525
b19490ed
SM
35262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * dabbrev.el: Fix cycle completion (bug#10963).
3529 Use lexical binding and wrap to 80 columns.
3530 (dabbrev-completion): Delay computing the list of completions.
3531
4b05d722
KH
35322012-03-12 Kenichi Handa <handa@m17n.org>
3533
3534 * international/quail.el (quail-insert-kbd-layout): Surround each
3535 row by LRO and PDF instead of inserting many LRMs. Pad the left
3536 and right of each non-spacing marks. Insert invisible space
3537 between lower and upper characters to prevent composition.
3538
dbbc2e69
SM
35392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * minibuffer.el (minibuffer-complete): Don't get confused when the
3542 function is run twice via different commands (bug#10958).
3543 (complete-with-action): Fix docstring.
3544
292112ed
CY
35452012-03-12 Chong Yidong <cyd@gnu.org>
3546
5d1ac394
CY
3547 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3548 (nxml-completion-at-point-function): New function.
3549 (nxml-mode): Use it.
3550 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3551
292112ed
CY
3552 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3553 Load generated autoloads file before byte compiling (Bug#10970).
3554 (package--make-autoloads-and-compile): New helper fun.
3555
4098f8f7
CS
35562012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3557
3558 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3559
8f754691
MA
35602012-03-11 Michael Albinus <michael.albinus@gmx.de>
3561
3562 * autorevert.el (auto-revert-handler): Ensure, that
3563 file-readable-p is applied only for local files or in
3564 auto-revert-tail-mode.
3565
e29ab36b
AS
35662012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3567
dbbc2e69
SM
3568 * server.el (server-eval-at): Handle non-tcp connections.
3569 Decode result string.
ad0bf5b6 3570
e29ab36b
AS
3571 * server.el (server-msg-size): New constant.
3572 (server-reply-print): New function.
3573 (server-eval-and-print): Use it.
3574 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3575 Handle -print-nonl.
3576
de5939ba
CS
35772012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3578
3579 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3580 (Bug#10987).
3581
0c93eabf
CY
35822012-03-11 Chong Yidong <cyd@gnu.org>
3583
397a688f
CY
3584 * simple.el (goto-line): Doc fix (Bug#9938).
3585
2cc775f9
CY
3586 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3587
0c93eabf
CY
3588 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3589 when finished (Bug#10963).
3590
c491fa41
MR
35912012-03-11 Martin Rudalics <rudalics@gmx.at>
3592
3593 * window.el (split-window-below): Fix bug in case where
3594 split-window-keep-point is nil (Bug#10971).
3595
300e8fa5
JL
35962012-03-11 Juri Linkov <juri@jurta.org>
3597
3598 * replace.el (replace-highlight): Set isearch-word to nil
3599 unconditionally. (Bug#10887)
3600
dbf6c5a1
EZ
36012012-03-10 Eli Zaretskii <eliz@gnu.org>
3602
3603 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3604 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3605 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3606 (mairix-widget-create-query): Add usage information about mairix
3607 search forms: negating words, searching for substrings, etc.
3608
b9e501de
JP
36092012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3610
3611 * international/fontset.el (font-encoding-alist): Add an entry for
3612 ksx1001 (Bug#5667).
3613
92795c91
RS
36142012-03-10 Richard Stallman <rms@gnu.org>
3615
1694e6c1
RS
3616 * mail/sendmail.el (mail-encode-header):
3617 Set rfc2047-encode-encoded-words.
3618
607e8555
RS
3619 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3620
de3bc99a
RS
3621 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3622 view buffer means not swapped.
3623 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3624 (rmail-write-region-annotate): Error if real text has disappeared.
3625
92795c91
RS
3626 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3627
699bd04e
CY
36282012-03-10 Chong Yidong <cyd@gnu.org>
3629
3630 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3631 * emulation/cua-base.el (cua--init-keymaps):
3632 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3633
570a1714
MR
36342012-03-10 Martin Rudalics <rudalics@gmx.at>
3635
dbbc2e69
SM
3636 * speedbar.el (speedbar-unhighlight-one-tag-line):
3637 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3638
82dcf4e4
CY
36392012-03-10 Chong Yidong <cyd@gnu.org>
3640
7a2c7ca7
CY
3641 * minibuffer.el (completion-in-region, completion-help-at-point):
3642 Give the completion field overlay a high priority (Bug#6830).
3643
82dcf4e4
CY
3644 * dired.el (dired-goto-file): Recognize absolute file name
3645 listings (Bug#7126).
3646 (dired-goto-file-1): New helper function.
3647 (dired-toggle-read-only): Inhibit warnings.
3648
052e28ac
MA
36492012-03-09 Michael Albinus <michael.albinus@gmx.de>
3650
75f1671a 3651 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3652 there are no properties.
3653
95d5e396
LL
36542012-03-09 Leo Liu <sdl.web@gmail.com>
3655
3656 * savehist.el (savehist-printable): Stricter check for string
3657 value (Bug#10937).
3658
3f018d6d
EZ
36592012-03-09 Eli Zaretskii <eliz@gnu.org>
3660
dbbc2e69
SM
3661 * mail/smtpmail.el (smtpmail-send-it):
3662 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3663 valid mbox format.
3664
f7fd3d79
GM
36652012-03-09 Glenn Morris <rgm@gnu.org>
3666
3667 * files.el (dir-locals-find-file):
3668 Don't check result is regular, readable.
3669 (dir-locals-read-from-file): Demote errors.
3670
6ff6e72f
EZ
36712012-03-08 Eli Zaretskii <eliz@gnu.org>
3672
dbbc2e69
SM
3673 * international/quail.el (quail-insert-kbd-layout):
3674 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3675 layout cell, to prevent their reordering by bidi display engine.
3676 For details, see the discussion in
3677 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3678
9cec7834
AM
36792012-03-08 Alan Mackenzie <acm@muc.de>
3680
3681 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3682 the starting position; make it extend the marked region when
3683 invoked repeatedly - all under appropriate circumstances.
3684 Fixes bugs #5525, #10906.
3685
9a40b8d4
GM
36862012-03-08 Glenn Morris <rgm@gnu.org>
3687
3688 * files.el (locate-dominating-file, dir-locals-find-file):
3689 Undo 2012-03-06 change.
3690
7a08ed35
EZ
36912012-03-07 Eli Zaretskii <eliz@gnu.org>
3692
dbbc2e69
SM
3693 * international/quail.el (quail-help):
3694 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3695 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3696 for the reason.
3697
5aca4f71 36982012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3699
3700 Avoid superfluous registering of signals. (Bug#10807)
3701
3702 * notifications.el (notifications-on-action-object)
3703 (notifications-on-close-object): New defvars.
3704 (notifications-on-action-signal, notifications-on-closed-signal):
3705 Unregister the signal if not needed any longer.
3706 (notifications-notify): Register `notifications-action-signal' or
3707 `notifications-closed-signal', if :on-action or :on-close has been
3708 passed as argument.
3709
78e8b10a
CY
37102012-03-07 Chong Yidong <cyd@gnu.org>
3711
3712 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3713 non-X platforms.
3714
69481eb8
GM
37152012-03-06 Glenn Morris <rgm@gnu.org>
3716
3717 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3718 (x-disown-selection-internal, x-get-selection-internal):
3719 Doc fix (add arglist signatures). (Bug#10783)
3720
133b8e11
KS
37212012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3722
3723 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3724 Handle breakpoints with no "type".
3725
99a83064
GM
37262012-03-06 Glenn Morris <rgm@gnu.org>
3727
3728 * files.el (locate-dominating-file): Add optional predicate argument.
3729 (dir-locals-find-file): Make use of above change.
3730
17798e78
TTN
37312012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3732
3733 * info.el (Info-insert-dir): Also try "dir.gz".
3734
eb182446
GM
37352012-03-06 Glenn Morris <rgm@gnu.org>
3736
8f2114ee
GM
3737 * files.el (dir-locals-find-file):
3738 Ignore non-readable or non-regular files. (Bug#10928)
3739
eb182446
GM
3740 * files.el (locate-dominating-file): Doc fix.
3741
24679323
AS
37422012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3743
3744 * calendar/calendar.el (calendar-set-mode-line):
3745 `getenv' returns a string. (Bug#10951)
3746
01d972a9
LL
37472012-03-05 Leo Liu <sdl.web@gmail.com>
3748
109aa8a9
LL
3749 * simple.el (backward-delete-char-untabify): Constrain point to
3750 field (Bug#10939).
3751
01d972a9
LL
3752 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3753
10607bea
CY
37542012-03-05 Chong Yidong <cyd@gnu.org>
3755
3756 * simple.el (count-words): If called from Lisp, return the word
3757 count, for symmetry with `count-lines'. Arglist changed.
3758 (count-words--message): Args changed. Consolidate counting code
3759 from count-words and count-words-region.
3760 (count-words-region): Caller changed.
3761 (count-lines-region): Make it an obsolete alias.
3762
5dd11cfe
TH
37632012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3764
3765 * saveplace.el (save-place-to-alist)
3766 (save-place-ignore-files-regexp): Allow value nil to disable this
3767 feature.
3768
c349f4e6
CY
37692012-03-04 Chong Yidong <cyd@gnu.org>
3770
3771 * faces.el (face-spec-reset-face): For the default face, reset the
3772 attributes to default values (Bug#10748).
3773
e627be4c
LMI
37742012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3775
3776 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3777 previous patch: Check `message-send-mail-function', and not the
3778 default function (bug#10897).
3779
ebeabff4
MA
37802012-03-04 Michael Albinus <michael.albinus@gmx.de>
3781
a41a6cf4
MA
3782 * notifications.el (notifications-on-action-signal)
3783 (notifications-on-closed-signal): Check for unique service name of
3784 incoming event. Fix error in removing entry.
ebeabff4 3785 (top): Register for signals with wildcard service name.
a41a6cf4 3786 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3787
c1ca42b4
CY
37882012-03-04 Chong Yidong <cyd@gnu.org>
3789
dc9924b8 3790 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3791
ea16568d
GM
37922012-03-04 Glenn Morris <rgm@gnu.org>
3793
3794 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3795 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3796 (expand-abbrev, define-abbrev-table): Doc fixes.
3797
fbae4637
LMI
37982012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3799
3800 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3801 `message-default-send-mail-function' and not `send-mail-function'
3802 when doing the prompting for `sendmail-query-once' before sending
3803 in Message buffers (bug#10897).
3804
a1e7225c
LMI
3805 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3806 This is inconsistent with all the other stream functions, which leave
3807 the setting up to the higher levels (if so wanted) (bug#10931).
3808
56d093a9
AM
38092012-03-02 Alan Mackenzie <acm@muc.de>
3810
3811 Depessimize the handling of very large macros.
3812
3813 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3814 (c-macro-cache-syntactic): New variables to implement a one
3815 element macro cache.
3816 (c-invalidate-macro-cache): New function.
3817 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3818 Adapt to use the new cache.
3819 (c-state-safe-place): Use better the cache of safe positions.
3820 (c-state-semi-nonlit-pos-cache)
3821 (c-state-semi-nonlit-pos-cache-limit):
3822 New variables for...
3823 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3824 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3825 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3826 Use c-state-semi-safe-place.
56d093a9 3827
dbbc2e69
SM
3828 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3829 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3830
817e5c3d
MA
38312012-03-02 Michael Albinus <michael.albinus@gmx.de>
3832
dbbc2e69
SM
3833 * jka-compr.el (jka-compr-call-process):
3834 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3835 not remote.
3836
a032a702
MA
38372012-03-01 Michael Albinus <michael.albinus@gmx.de>
3838
3839 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3840 access of FILE2, if FILE1 does not exist.
3841
99a54f21
MA
3842 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3843 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3844
3845 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3846 Add "PAGER=" to `process-environment'.
3847
f6561e1f
MM
38482012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3849
3850 * progmodes/sql.el: Bug fix
3851 (sql-get-login-ext): Save login values in globals.
3852 (sql-get-login): Use new version of `sql-get-login-ext'.
3853 (sql-interactive-mode): Set global `sql-connection' to nil.
3854 (sql-connect): Set global values for connection.
3855 (sql-product-interactive): Save global values as buffer local.
3856
2d44d9cc
LL
38572012-02-29 Leo Liu <sdl.web@gmail.com>
3858
3859 * abbrev.el (define-abbrevs): Reset sys to nil.
3860
96b49301 38612012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3862
bf7f9bc5
JB
3863 * files.el (file-equal-p): Rename from `files-equal-p'.
3864 Return nil when one or both files don't exist.
96b49301 3865 (file-subdir-of-p): Now only top directory must exists,
3866 return nil if it doesn't.
bf7f9bc5
JB
3867 (copy-directory): No need to test with `file-subdir-of-p' after
3868 creating dir.
3869 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3870 to `file-equal-p'.
96b49301 3871
44e97401
GM
38722012-02-28 Glenn Morris <rgm@gnu.org>
3873
3874 * shell.el (shell-mode):
3875 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3876 * play/landmark.el (landmark-font-lock-face-O):
3877 * play/handwrite.el (handwrite):
3878 * play/gomoku.el (gomoku-O):
3879 * net/browse-url.el (browse-url-browser-display):
3880 * international/mule.el (define-charset):
3881 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3882 * filesets.el (filesets-find-file-delay):
3883 * eshell/em-xtra.el (eshell-xtra):
3884 * eshell/em-unix.el (eshell-grep):
3885 * emulation/viper.el (viper-mode):
3886 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3887 * emacs-lisp/easymenu.el (easy-menu-define):
3888 * calendar/timeclock.el (timeclock-use-display-time):
3889 * bs.el (bs-mode):
3890 * bookmark.el (bookmark-save-flag):
3891 Doc fix (standardize possessive apostrophe usage).
3892
c98c6276
CY
38932012-02-27 Chong Yidong <cyd@gnu.org>
3894
bf7f9bc5
JB
3895 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3896 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3897
c98c6276
CY
3898 * font-lock.el (font-lock-specified-p): Rename from
3899 font-lock-spec-present. Callers changed.
3900
9c62cd04 39012012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3902
bf7f9bc5
JB
3903 * emacs-lisp/package.el (package-compute-transaction):
3904 Handle holding a package version to t in package-load-list.
8ac9e529 3905
530739c9
MA
39062012-02-26 Michael Albinus <michael.albinus@gmx.de>
3907
3908 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3909 (tramp-get-inode, tramp-get-device): Use cached values.
3910
487915d7
AM
39112012-02-26 Alan Mackenzie <acm@muc.de>
3912
3913 Check there is a font-lock specification before doing initial
3914 fontification.
3915
3916 * font-core.el (font-lock-mode): Move the conditional from
3917 :after-hook to font-lock-initial-fontify.
3918 (font-lock-default-function): Move the check for a specification
3919 to font-lock-spec-present.
3920
dc9924b8 3921 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3922 (font-lock-spec-present): New function.
3923
4fd96557
JB
39242012-02-26 Jim Blandy <jimb@red-bean.com>
3925
3926 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3927 (gdb-send): Apply it to the operand of the '-interpreter-exec
3928 console' command, so that we can pass arguments with (say) quotes
3929 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3930
9a4888c0
CY
39312012-02-26 Chong Yidong <cyd@gnu.org>
3932
07498861
CY
3933 * help-fns.el (describe-function-1): Clarify description of
3934 remapping (Bug#10844).
3935
9a4888c0
CY
3936 * files.el (files-equal-p): Doc fix.
3937 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3938 and quit the loop once a mismatch is found.
3939
ea8fb88d
JB
39402012-02-25 Juanma Barranquero <lekktu@gmail.com>
3941
3942 * bs.el (bs--show-with-configuration): Don't throw an error
3943 if the window cannot be split; otherwise, subsequent calls to
3944 bs-show fail, restoring a stale window config. (Bug#10882)
3945
525795c1
JD
39462012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3947
3948 * term/ns-win.el (global-map): Bind ns-drag-file to
3949 ns-find-file (Bug#5855, Bug#10050).
3950
f008086f
AS
39512012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3952
3953 * calendar/parse-time.el (parse-time-string): Allow extractor to
3954 return nil.
3955
a3fcfa99
MA
39562012-02-25 Michael Albinus <michael.albinus@gmx.de>
3957
91027d08
JB
3958 * net/tramp.el (tramp-file-name-for-operation):
3959 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3960
3961 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3962 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3963 Add COPY-CONTENTS argument.
a3fcfa99 3964
67b0de11
CY
39652012-02-25 Chong Yidong <cyd@gnu.org>
3966
3967 Add custom groups for VC backends, for consistency with vc-bzr.
3968
3969 * vc/vc-arch.el (vc-arch):
3970 * vc/vc-cvs.el (vc-cvs):
3971 * vc/vc-git.el (vc-git):
3972 * vc/vc-hg.el (vc-hg):
3973 * vc/vc-mtn.el (vc-mtn):
3974 * vc/vc-rcs.el (vc-rcs):
3975 * vc/vc-sccs.el (vc-sccs):
3976 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3977 All relevant defcustoms reassigned.
3978
3c9dfce6
CY
39792012-02-25 Chong Yidong <cyd@gnu.org>
3980
1339bf43
CY
3981 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3982
3c9dfce6
CY
3983 * term/x-win.el (x-initialize-window-system): Reduce default for
3984 x-selection-timeout to 5 seconds (Bug#8869).
3985
25b2e303 39862012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3987
ec70a47d
GM
3988 * files.el (files-equal-p, file-subdir-of-p): New functions.
3989 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3990 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3991 * dired-aux.el (dired-copy-file-recursive): Same.
3992 (dired-create-files): Modify destination when source is equal to
3993 dest when copying files.
53a46cd0 3994 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3995
914260cd
MA
39962012-02-24 Michael Albinus <michael.albinus@gmx.de>
3997
3998 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3999 (Bug#10874)
4000
2cb228f7
AM
40012012-02-23 Alan Mackenzie <acm@muc.de>
4002
4003 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4004 parameter "after-hook:" to allow the expansion to run code after
4005 the execution of the mode hooks.
4006
4007 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4008 from font-lock-mode-internal.
2cb228f7 4009
91027d08 4010 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4011 :after-hook.
4012
8f0fde21
SM
40132012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4014
3e88618b
SM
4015 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4016 (completion--cache-all-sorted-completions): New function.
4017 (completion-all-sorted-completions): Use it.
4018 (completion--do-completion, minibuffer-force-complete):
4019 Use it to re-instate the flush hook.
4020
8f0fde21
SM
4021 * icomplete.el (icomplete-completions): Replace last fix with a better
4022 one (bug#10850).
4023
8e911f6f
DG
40242012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4025
4026 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4027 when it might call us back infinitely (bug#10797).
4028
49fe4321
GM
40292012-02-23 Glenn Morris <rgm@gnu.org>
4030
4031 * minibuffer.el (completion-category-overrides): Doc fix.
4032
b291b572
SM
40332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4036 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4037
31a9ef2e
GM
40382012-02-23 Glenn Morris <rgm@gnu.org>
4039
5e6e6794 4040 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4041 (authors-obsolete-files-regexps, authors-ignored-files)
4042 (authors-ambiguous-files, authors-renamed-files-alist):
4043 Add more entries.
4044
0bd1e074
JL
40452012-02-23 Juri Linkov <juri@jurta.org>
4046
4047 * isearch.el (isearch-occur): Sync interactive spec with occur's
4048 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4049
b617673c
JL
4050 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4051
19e9789e
JL
40522012-02-22 Juri Linkov <juri@jurta.org>
4053
4054 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4055 (ucs-insert): Doc fix. Check for hex digits in the string.
4056 Don't display `nil' in the error message. (Bug#10857)
4057
f41ce09d
AM
40582012-02-22 Alan Mackenzie <acm@muc.de>
4059
7a71b18d 4060 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4061
ac2eceee
GM
40622012-02-22 Glenn Morris <rgm@gnu.org>
4063
4064 * ffap.el (ffap-c-path):
4065 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4066
abd1f678
CY
40672012-02-22 Chong Yidong <cyd@gnu.org>
4068
4069 * custom.el (load-theme): Doc fix.
4070
f25aef2e
GM
40712012-02-22 Glenn Morris <rgm@gnu.org>
4072
4073 * dired-x.el (dired-guess-shell-alist-default):
4074 Remove escape sequences from nroff output. (Bug#172)
4075
5f8dc2ca
GM
40762012-02-21 Glenn Morris <rgm@gnu.org>
4077
6ff86ec4
GM
4078 * vc/emerge.el (emerge-defvar-local):
4079 Set `permanent-local' property rather than unused `preserved'.
4080
be3223a3 4081 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4082 (picture-mode-map): Use it. (Bug#10860)
4083 (picture-mode): Doc fix.
4084
3fe58f4f
JB
40852012-02-21 Juanma Barranquero <lekktu@gmail.com>
4086
4087 * newcomment.el (uncomment-region-default): Remove unused binding.
4088
f9a998c3
GM
40892012-02-21 Glenn Morris <rgm@gnu.org>
4090
4091 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4092 (picture-self-insert, picture-tab-chars): Doc fix.
4093 (picture-mode-map): Fix C-a, C-e.
4094
c6029348
GM
40952012-02-20 Glenn Morris <rgm@gnu.org>
4096
4097 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4098
ab1ce9d7
LL
40992012-02-20 Leo Liu <sdl.web@gmail.com>
4100
4101 * icomplete.el (icomplete-completions): Check FROM arg before
4102 passing to substring (Bug#10850).
4103
0fd40f89
CY
41042012-02-19 Chong Yidong <cyd@gnu.org>
4105
4106 * comint.el: Require ansi-color.
4107 (comint-output-filter-functions): Add ansi-color-process-output.
4108
4109 * ansi-color.el: Don't set comint-output-filter-functions; it is
4110 now in the initial value defined in comint.el.
4111 (ansi-color-apply-face-function): New variable.
4112 (ansi-color-apply-on-region): Use it.
4113 (ansi-color-apply-overlay-face): New function.
4114
4115 * shell.el (shell): No need to require ansi-color.
4116 (shell-mode): Use ansi-color-apply-face-function to highlight
4117 color escapes using font-lock-face property (Bug#10835).
4118
20af2394
CY
41192012-02-19 Chong Yidong <cyd@gnu.org>
4120
4121 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4122 mode-line formats (Bug#10839).
4123
e23a3fbe
GM
41242012-02-18 Glenn Morris <rgm@gnu.org>
4125
b474519e
GM
4126 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4127
4128 * mail/undigest.el (unforward-rmail-message): Doc fix.
4129
e23a3fbe
GM
4130 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4131
57939ff4
EZ
41322012-02-18 Eli Zaretskii <eliz@gnu.org>
4133
4134 * international/characters.el (script-list): Sync with the latest
4135 Unicode Character Database.
4136
0c23686e
AS
41372012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4138
4139 * international/titdic-cnv.el: Remove duplicate coding tag.
4140 * language/cham.el: Likewise.
4141 * language/tai-viet.el: Likewise.
4142
6818b449
GM
41432012-02-18 Glenn Morris <rgm@gnu.org>
4144
4145 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4146 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4147 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4148 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4149 * calendar/holidays.el (holiday-bahai-holidays)
4150 (calendar-holidays, list-holidays):
4151 Use utf-8 Bahá'í in doc-strings, menus, etc.
4152
0311a3fc
TH
41532012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4154
4155 * saveplace.el (save-place-ignore-files-regexp): New variable
4156 allowing for excluding files from saving their location of point.
4157 The default value matches the temporary commit message editing
4158 files from Git, SVN, Bazaar, and Mercurial.
4159 (save-place-to-alist): Use it.
4160
eb864a71
LM
41612012-02-17 Lawrence Mitchell <wence@gmx.li>
4162 Stefan Monnier <monnier@iro.umontreal.ca>
4163
4164 * newcomment.el (uncomment-region-default): Don't leave extra space
4165 when an arg is provided (bug#8150).
4166
ee0ce425
TZ
41672012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4168
eb864a71 4169 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4170
95ddf442
GM
41712012-02-17 Glenn Morris <rgm@gnu.org>
4172
4173 * net/socks.el: Require network-stream. (Bug#10599)
4174
48dd1e39 41752012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4176
4177 * international/charprop.el:
4178 * international/uni-name.el:
4179 * international/uni-old-name.el:
4180 * international/uni-comment.el: Regenerate.
4181
d68cd087
GM
41822012-02-16 Glenn Morris <rgm@gnu.org>
4183
4184 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4185 Interactively in calendar buffer, give an error if not on a date.
4186
13932042
GM
41872012-02-15 Glenn Morris <rgm@gnu.org>
4188
4189 * shell.el (shell-delimiter-argument-list):
4190 Revert 2011-02-17 change. (Bug#8027)
4191
c3a70e2b
CY
41922012-02-15 Chong Yidong <cyd@gnu.org>
4193
60236b0d
CY
4194 * minibuffer.el (completion-at-point-functions): Doc fix.
4195
c3a70e2b
CY
4196 * custom.el (defcustom): Doc fix; note use of defvar.
4197
9f26dc24
GM
41982012-02-15 Glenn Morris <rgm@gnu.org>
4199
4200 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4201 Doc fixes.
4202
6546b134
GM
42032012-02-14 Glenn Morris <rgm@gnu.org>
4204
4205 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4206
d29b2b4c
LI
42072012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4208
4209 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4210 way the ports list is computed.
835bdcba
LI
4211 (smtpmail-query-smtp-server): Prompt the user for a port number if
4212 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4213
08dcdbc9
TZ
42142012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4215
4216 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4217
2605051a
GM
42182012-02-13 Glenn Morris <rgm@gnu.org>
4219
4220 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4221
7ee99f32
TZ
42222012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4223
4224 * net/gnutls.el (gnutls-trustfiles): New variable.
4225 (gnutls-negotiate): Use it.
4226
5f0af64f
LI
42272012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4228
4229 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4230 does its stuff if Gnus is running.
4231
c14fcc95
AM
42322012-02-13 Alan Mackenzie <acm@muc.de>
4233
4234 Fix a loop in c-set-fl-decl-start.
4235
7a71b18d 4236 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4237 c-backward-syntactic-ws actually moves backwards.
4238
142b4d90
LL
42392012-02-13 Leo Liu <sdl.web@gmail.com>
4240
4241 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4242 beginning so that all \C-o chars are removed.
4243
fa9958a6
TZ
42442012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4245
dc9924b8 4246 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4247
0bc5886a
AM
42482012-02-12 Alan Mackenzie <acm@muc.de>
4249
4250 Fix infinite loop with long macros.
4d6769e1 4251 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4252
d4bd55e7
CY
42532012-02-12 Chong Yidong <cyd@gnu.org>
4254
4255 * window.el (display-buffer): Doc fix (Bug#10785).
4256
66f3fe22
GM
42572012-02-12 Glenn Morris <rgm@gnu.org>
4258
bd7da63e
GM
4259 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4260 (x-disown-selection-internal, x-get-selection-internal):
4261 Sync docs with the xselect.c versions.
4262
66f3fe22
GM
4263 * allout-widgets.el: Add missing license notice.
4264
3e0d2fa7
GM
42652012-02-11 Glenn Morris <rgm@gnu.org>
4266
cfecdf09
GM
4267 * select.el (x-get-selection-internal, x-own-selection-internal)
4268 (x-disown-selection-internal):
4269 * x-dnd.el (x-get-selection-internal): Update declarations.
4270
6d216d7f
GM
4271 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4272
2bed3f04
GM
4273 * window.el (window-sides-slots):
4274 * tool-bar.el (tool-bar-position):
4275 * term/xterm.el (xterm-extra-capabilities):
4276 * ses.el (ses-self-reference-early-detection):
4277 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4278 (verilog-auto-wire-type)
4279 (verilog-auto-delete-trailing-whitespace)
4280 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4281 (verilog-auto-tieoff-declaration):
4282 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4283 (sql-oracle-statement-starters, sql-oracle-scan-on):
4284 * progmodes/prolog.el (prolog-align-comments-flag)
4285 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4286 (prolog-left-indent-regexp, prolog-paren-indent-p)
4287 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4288 (prolog-types, prolog-mode-specificators)
4289 (prolog-determinism-specificators, prolog-directives)
4290 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4291 (prolog-electric-dot-flag)
4292 (prolog-electric-dot-full-predicate-template)
4293 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4294 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4295 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4296 (prolog-program-switches, prolog-prompt-regexp)
4297 (prolog-debug-on-string, prolog-debug-off-string)
4298 (prolog-trace-on-string, prolog-trace-off-string)
4299 (prolog-zip-on-string, prolog-zip-off-string)
4300 (prolog-use-standard-consult-compile-method-flag)
4301 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4302 (prolog-imenu-max-lines, prolog-info-predicate-index)
4303 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4304 (prolog-char-quote-workaround):
4305 * progmodes/cc-vars.el (c-defun-tactic):
4306 * net/tramp.el (tramp-encoding-command-interactive)
4307 (tramp-local-end-of-line):
4308 * net/soap-client.el (soap-client):
4309 * net/netrc.el (netrc-file):
4310 * net/gnutls.el (gnutls):
4311 * minibuffer.el (completion-category-overrides)
4312 (completion-cycle-threshold)
4313 (completion-pcm-complete-word-inserts-delimiters):
4314 * man.el (Man-name-local-regexp):
4315 * mail/feedmail.el (feedmail-display-full-frame):
4316 * international/characters.el (glyphless-char-display-control):
4317 * eshell/em-ls.el (eshell-ls-date-format):
4318 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4319 (lisp-lambda-list-keyword-parameter-indentation)
4320 (lisp-lambda-list-keyword-parameter-alignment):
4321 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4322 * dired-x.el (dired-omit-verbose):
4323 * cus-theme.el (custom-theme-allow-multiple-selections):
4324 * calc/calc.el (calc-highlight-selections-with-faces)
4325 (calc-lu-field-reference, calc-lu-power-reference)
4326 (calc-note-threshold):
4327 * battery.el (battery-mode-line-limit):
4328 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4329 (archive-7z-update):
4330 * allout.el (allout-prefixed-keybindings)
4331 (allout-unprefixed-keybindings)
4332 (allout-inhibit-auto-fill-on-headline)
4333 (allout-flattened-numbering-abbreviation):
4334 * allout-widgets.el (allout-widgets-auto-activation)
4335 (allout-widgets-icons-dark-subdir)
4336 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4337 (allout-widgets-theme-dark-background)
4338 (allout-widgets-theme-light-background)
4339 (allout-widgets-item-image-properties-emacs)
4340 (allout-widgets-item-image-properties-xemacs)
4341 (allout-widgets-run-unit-tests-on-load)
4342 (allout-widgets-time-decoration-activity)
4343 (allout-widgets-hook-error-post-time)
4344 (allout-widgets-track-decoration):
4345 Add missing :version tags to new defcustoms and defgroups.
4346
5fec1b8e
GM
4347 * progmodes/sql.el (sql-ansi-statement-starters)
4348 (sql-oracle-statement-starters): Add custom type.
4349
3e0d2fa7
GM
4350 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4351 (prolog-system-version): Give it a type.
4352
90b671e2
EZ
43532012-02-11 Eli Zaretskii <eliz@gnu.org>
4354
4355 * term/pc-win.el (x-select-text, x-selection-owner-p)
4356 (x-own-selection-internal, x-disown-selection-internal)
4357 (x-get-selection-internal): Sync doc strings and argument lists
4358 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4359
5eac0c02
LL
43602012-02-11 Leo Liu <sdl.web@gmail.com>
4361
4362 * progmodes/python.el (python-end-of-statement): Fix infinite
4363 loop. (Bug#10788)
4364
f82cb659
GM
43652012-02-10 Glenn Morris <rgm@gnu.org>
4366
4367 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4368 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4369
cc26d239
LI
43702012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4371
4372 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4373 about SMTP before checking the From header.
4374
91027d08 4375 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4376 into own function for reuse by emacsbug.el.
4377
1be3ca5a
LL
43782012-02-10 Leo Liu <sdl.web@gmail.com>
4379
4380 * subr.el (condition-case-unless-debug): Rename from
4381 condition-case-no-debug. All callers changed.
4382 (with-demoted-errors): Fix caller.
4383
4384 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4385 * nxml/rng-valid.el (rng-do-some-validation):
4386 * emacs-lisp/package.el (package-refresh-contents)
4387 (package-menu-execute):
4388 * desktop.el (desktop-create-buffer):
91027d08 4389 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4390
b011fbfe
GM
43912012-02-10 Glenn Morris <rgm@gnu.org>
4392
b2096d72
GM
4393 * textmodes/bibtex.el:
4394 Add missing :version tags for new/changed defcustoms.
4395
b011fbfe
GM
4396 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4397
4c7e65bf
LI
43982012-02-09 Lars Ingebrigtsen <larsi@rusty>
4399
4400 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4401 (smtpmail-via-smtp): Use it, or fall back on the From address.
4402 (smtpmail-send-it): Ditto.
4403
f3934f6f
SM
44042012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4407 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4408 (byte-compile-tmp-var): New const.
4409 (byte-compile-defvar): Use it to minimize .elc size.
4410 Just use `defvar' rather than simulate it (bug#10761).
4411
a075a2c5
GM
44122012-02-09 Glenn Morris <rgm@gnu.org>
4413
cf3aa21b
GM
4414 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4415
354998cd
GM
4416 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4417 Add :version tags.
4418
dc9924b8
SM
4419 * progmodes/compile.el (compilation-error-screen-columns)
4420 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4421
dab3703d
GM
4422 * vc/log-view.el (log-view-toggle-entry-display):
4423 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4424
3f88cd72
GM
4425 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4426 (report-emacs-bug-can-use-xdg-email):
4427 (report-emacs-bug-insert-to-mailer): Doc fixes.
4428 (report-emacs-bug): Message fix.
4429
d95b247d
GM
4430 * net/browse-url.el (browse-url-can-use-xdg-open)
4431 (browse-url-xdg-open): Doc fixes.
4432
a075a2c5
GM
4433 * electric.el (electric-indent-mode, electric-pair-mode)
4434 (electric-layout-rules, electric-layout-mode): Doc fixes.
4435 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4436
ffb6157e
MR
44372012-02-08 Martin Rudalics <rudalics@gmx.at>
4438
4439 * server.el (server-unselect-display): Don't inadvertently kill
4440 the current buffer. (Bug#10729)
4441
e1ac4066
GM
44422012-02-08 Glenn Morris <rgm@gnu.org>
4443
34e8a2da
GM
4444 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4445 (sql-list-table): Doc fixes.
4446
b4ac6e8c
GM
4447 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4448 Comment out (does nothing).
4449
e1ac4066
GM
4450 * completion.el (dynamic-completion-mode):
4451 * dirtrack.el (dirtrack-debug-mode):
4452 * electric.el (electric-layout-mode):
4453 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4454 * face-remap.el (text-scale-mode, buffer-face-mode):
4455 * iimage.el (iimage-mode):
4456 * image-mode.el (image-transform-mode):
4457 * minibuffer.el (completion-in-region-mode):
4458 * scroll-lock.el (scroll-lock-mode):
4459 * simple.el (next-error-follow-minor-mode):
4460 * tar-mode.el (tar-subfile-mode):
4461 * tooltip.el (tooltip-mode):
4462 * vcursor.el (vcursor-use-vcursor-map):
4463 * wid-browse.el (widget-minor-mode):
4464 * emulation/tpu-edt.el (tpu-edt-mode):
4465 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4466 * international/iso-ascii.el (iso-ascii-mode):
4467 * language/thai-util.el (thai-word-mode):
4468 * mail/supercite.el (sc-minor-mode):
4469 * net/goto-addr.el (goto-address-mode):
4470 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4471 * progmodes/cwarn.el (cwarn-mode):
4472 * progmodes/flymake.el (flymake-mode):
4473 * progmodes/glasses.el (glasses-mode):
4474 * progmodes/hideshow.el (hs-minor-mode):
4475 * progmodes/pascal.el (pascal-outline-mode):
4476 * textmodes/enriched.el (enriched-mode):
4477 * vc/smerge-mode.el (smerge-mode):
4478 Doc fixes (minor mode argument).
4479
5e0d957f
EZ
44802012-02-07 Eli Zaretskii <eliz@gnu.org>
4481
4482 * ls-lisp.el (ls-lisp-sanitize): New function.
4483 (ls-lisp-insert-directory): Use it to fix or remove any elements
4484 in file-alist with missing attributes. (Bug#4673)
4485
98d7371e
AM
44862012-02-07 Alan Mackenzie <acm@muc.de>
4487
4488 Fix spurious recognition of c-in-knr-argdecl.
4489
4490 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4491 putative K&R region.
4492
667ced3a
AM
44932012-02-07 Alan Mackenzie <acm@muc.de>
4494
eb864a71
LM
4495 * progmodes/cc-engine.el (c-forward-objc-directive):
4496 Prevent looping in "#pragma mark @implementation".
667ced3a 4497
5b77774d
MA
44982012-02-07 Michael Albinus <michael.albinus@gmx.de>
4499
4500 * notifications.el (notifications-on-closed-signal): Make `reason'
4501 optional. (Bug#10744)
4502
af008560
GM
45032012-02-07 Glenn Morris <rgm@gnu.org>
4504
60d47423
GM
4505 * emacs-lisp/easy-mmode.el (define-minor-mode):
4506 Doc fixes for the macro and the mode it defines.
4507
dd605cc4
GM
4508 * image.el (imagemagick-types-inhibit): Doc fix.
4509
af008560
GM
4510 * cus-start.el (imagemagick-render-type): Add it.
4511
5cc59a37
LI
45122012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4513
4d6769e1
JB
4514 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4515 Set the default at load time, too, so that `font-lock-fontify-buffer'
4516 can be called without setting up the entire mode first. This fixes
4517 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4518
9a6dd747
CY
45192012-02-06 Chong Yidong <cyd@gnu.org>
4520
2d16b285
CY
4521 * simple.el (list-processes--refresh): Delete exited processes
4522 (Bug#8094).
4523
171e9b6e
CY
4524 * comint.el (comint-next-prompt): next-single-char-property-change
4525 and prev-single-char-property-change never return nil (Bug#8657).
4526
9a6dd747
CY
4527 * custom.el (defcustom): Doc fix (Bug#9711).
4528
aa4589a7
CY
45292012-02-05 Chong Yidong <cyd@gnu.org>
4530
5c2a252f
CY
4531 * cus-edit.el (custom-variable-reset-backup): Quote the value
4532 before storing it in the customized-value property (Bug#6712).
4aab9006 4533 (custom-display): Add a customization type tag.
983b9602 4534 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4535
aa4589a7
CY
4536 * wid-edit.el (widget-field-value-get): New optional arg to
4537 suppress trailing whitespace truncation.
4538 (character): Use it (Bug#2689).
4539
1ff980ae
AS
45402012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4541
4542 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4543 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4544
03988c98
CY
45452012-02-05 Chong Yidong <cyd@gnu.org>
4546
eeb6cc88
CY
4547 * cus-edit.el (custom-variable-value-create): For mismatched
4548 types, show the current value (Bug#7600).
4549
03988c98
CY
4550 * custom.el (defcustom): Doc fix.
4551
f8cdeef0
GM
45522012-02-05 Glenn Morris <rgm@gnu.org>
4553
4554 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4555
0696d255
JB
45562012-02-05 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4559 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4560 (pp-last-sexp): Use `looking-at-p'.
4561
34c99998
GM
45622012-02-04 Glenn Morris <rgm@gnu.org>
4563
8f05da42
GM
4564 * files.el (revert-buffer):
4565 Doc fix (mention revert-buffer-in-progress-p).
4566
f160676e
GM
4567 * emacs-lisp/ert-x.el (ert-simulate-command):
4568 Check deferred-action-list (which is obsolete) is bound.
4569
c7291ad9
GM
4570 * subr.el (with-wrapper-hook): Doc fixes.
4571
34c99998
GM
4572 * simple.el (filter-buffer-substring-functions)
4573 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4574
6283a7d3
LL
45752012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4576
4577 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4578 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4579
e96e3013
LL
45802012-02-04 Leo Liu <sdl.web@gmail.com>
4581
4582 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4583
8ded50f2
GM
45842012-02-04 Glenn Morris <rgm@gnu.org>
4585
82ff1d13
GM
4586 * image.el (image-extension-data): Add obsolete alias.
4587
987a0a16
GM
4588 * isearch.el (isearch-update): Doc fix.
4589
ea32ef46
GM
4590 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4591
8ded50f2
GM
4592 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4593
eea14f31
GM
45942012-02-03 Glenn Morris <rgm@gnu.org>
4595
4596 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4597 (image-animate-timeout): Doc fix.
4598
4599 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4600
12f381b7
GM
46012012-02-02 Glenn Morris <rgm@gnu.org>
4602
953cebf5
GM
4603 * server.el (server-auth-dir): Doc fix.
4604 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4605
12f381b7
GM
4606 * subr.el (run-mode-hooks): Doc fix.
4607
953a8c3b
JL
46082012-02-02 Juri Linkov <juri@jurta.org>
4609
4610 * image-mode.el (image-toggle-display-image): Remove tautological
4611 `major-mode' from the `derived-mode-p' test.
4612
c5d3843c
KH
46132012-02-02 Kenichi Handa <handa@m17n.org>
4614
9f6e692e 4615 * composite.el (compose-region): Cancel previous change.
c5d3843c 4616
159462d4 46172012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4618
4619 * composite.el (compose-region, compose-string): Signal error for
4620 a null string component (Bug#6988).
4621
9f562668
CY
46222012-02-01 Chong Yidong <cyd@gnu.org>
4623
e2cef717
CY
4624 * view.el (view-buffer-other-window, view-buffer-other-frame):
4625 Handle special modes like view-buffer (Bug#10650).
4626 (view-buffer): Simplify.
4627
9f562668
CY
4628 * frame.el (set-frame-font): Tweak meaning of third argument.
4629
9f6e692e
JB
4630 * dynamic-setting.el (font-setting-change-default-font):
4631 Use set-frame-font (Bug#9982).
9f562668 4632
781acb9f
GM
46332012-02-01 Glenn Morris <rgm@gnu.org>
4634
6035be52
GM
4635 * progmodes/compile.el (compilation-internal-error-properties):
4636 Respect compilation-first-column in the "*compilation*" buffer.
4637
781acb9f
GM
4638 * emacs-lisp/easy-mmode.el (define-minor-mode):
4639 Relax :variable's test for a named function.
4640
abbceb00
AM
46412012-01-31 Alan Mackenzie <acm@muc.de>
4642
4643 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4644 off by one error.
4645
fce3fdeb
CY
46462012-01-31 Chong Yidong <cyd@gnu.org>
4647
4648 * frame.el (set-frame-font): New arg ALL-FRAMES.
4649
4650 * menu-bar.el (menu-set-font): Use set-frame-font.
4651
4652 * faces.el (face-spec-reset-face): Don't apply unspecified
4653 attribute values to the default face.
4654
47893581
JB
46552012-01-31 Juanma Barranquero <lekktu@gmail.com>
4656
4657 * progmodes/cwarn.el (cwarn): Remove dead link.
4658 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4659 Remove * from defcustom docstrings.
4660 (turn-on-cwarn-mode): Make obsolete.
4661 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4662 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4663
e58e988a
GM
46642012-01-31 Glenn Morris <rgm@gnu.org>
4665
60dc2671 4666 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4667 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4668 Allow named functions to be used as the cdr of :variable.
e58e988a 4669
7a3f511d
GM
46702012-01-30 Glenn Morris <rgm@gnu.org>
4671
4672 * emacs-lisp/authors.el (authors-fixed-entries):
4673 Remove reference to deleted file rnewspost.el.
4674
cb882333
JB
46752012-01-29 Juanma Barranquero <lekktu@gmail.com>
4676
4677 * window.el (window-with-parameter): Remove unused variable `windows'.
4678 (window--side-check): Remove unused variable `code'.
4679 (window--resize-siblings): Remove unused variable `first'.
4680 (adjust-window-trailing-edge): Remove unused variable `failed'.
4681 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4682 Use `let', not `let*'.
4683 (balance-windows-2): Remove unused variable `found'.
4684 (window--state-put-2): Remove unused variable `splits'.
4685 (window-state-put): Remove unused variable `selected'.
4686 (same-window-p): Use `string-match-p'.
4687 (display-buffer-assq-regexp): Remove unused variable `value'.
4688 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4689 Mark argument ALIST as ignored.
4690 (pop-to-buffer): Remove unused variable `old-window'.
4691
907201af
EZ
46922012-01-29 Eli Zaretskii <eliz@gnu.org>
4693
4694 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4695 and .lzma compressed files.
4696
ea162670
CY
46972012-01-29 Chong Yidong <cyd@gnu.org>
4698
5b95ee8a
CY
4699 * frame.el (window-system-default-frame-alist): Doc fix.
4700
ea162670
CY
4701 * dynamic-setting.el (font-setting-change-default-font): Don't
4702 change the default face if SET-FONT argument is non-nil (Bug#9982).
4703
d6e6f4b1
SB
47042012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4705
4706 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4707
0f29fa41 47082012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4709
4710 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4711 breakpoints in files outside current directory (Bug#6098).
4712
db174434
CY
47132012-01-29 Chong Yidong <cyd@gnu.org>
4714
6b25e4e2
SE
4715 * progmodes/python.el: Require ansi-color at top-level.
4716
6df6ae42
JB
4717 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4718 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4719 (lisp-mode-abbrev-table): Add doc.
4720 (lisp-mode-variables): Don't set local-abbrev-table.
4721 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4722
e70ee681
RW
47232012-01-28 Roland Winkler <winkler@gnu.org>
4724
4725 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4726
ace88aa2
RW
47272012-01-28 Roland Winkler <winkler@gnu.org>
4728
4729 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4730 (bibtex-set-dialect): Use it. Either set global values of
4731 dialect-dependent variables or bind these variables buffer-locally
4732 (Bug#10254).
4733 (bibtex-mode): Call bibtex-set-dialect via
4734 hack-local-variables-hook.
eb864a71
LM
4735 (bibtex-dialect): Update docstring.
4736 Add safe-local-variable predicate.
ace88aa2
RW
4737 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4738 bibtex-set-dialect.
4739 (bibtex-mode-map): Define menu for each dialect.
4740 (bibtex-entry): Fix docstring.
4741
93376c5b
CY
47422012-01-28 Chong Yidong <cyd@gnu.org>
4743
4744 * eshell/esh-arg.el (eshell-quote-argument): New function.
4745
4746 * eshell/esh-ext.el (eshell-invoke-batch-file):
4747 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4748 first arg to eshell-parse-command (Bug#10523).
4749
4372494f
DA
47502012-01-28 Drew Adams <drew.adams@oracle.com>
4751
4752 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4753 `default-directory' is non-nil.
4754
4d4ec1f8
EZ
47552012-01-28 Eli Zaretskii <eliz@gnu.org>
4756
4757 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4758 line that displays system-configuration-options. (Bug#9924)
4759
7c188927
DA
47602012-01-28 Drew Adams <drew.adams@oracle.com>
4761
4762 * descr-text.el (describe-char): Show information about POS, in
4763 addition to information about the character at POS. Improve and
4764 update the doc string. Change "code point" to "code point in
4765 charset", to avoid confusion with the character's Unicode code
4766 point shown above that. (Bug#10129)
4767
e0da685a
EZ
47682012-01-28 Eli Zaretskii <eliz@gnu.org>
4769
4770 * descr-text.el (describe-char): Show the raw character, not only
4771 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4772 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4773 for the reasons.
4774
70550acf
PH
47752012-01-28 Phil Hagelberg <phil@hagelb.org>
4776
eb864a71
LM
4777 * emacs-lisp/package.el (package-install):
4778 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4779
0ce8e868
CY
47802012-01-28 Chong Yidong <cyd@gnu.org>
4781
cb882333
JB
4782 * emacs-lisp/package.el (package-maybe-load-descriptor):
4783 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4784 (package-maybe-load-descriptor): Use it.
4785 (package-download-transaction): Fully load required packages
4786 inside the loop, so that `require' calls work (Bug#10593).
4787 (package-install): No need to call package-initialize now.
4788
2e7f3bea
CY
47892012-01-28 Chong Yidong <cyd@gnu.org>
4790
6e9bad14
CY
4791 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4792
f823b8ca
CY
4793 * tooltip.el (tooltip-mode): Doc fix.
4794 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4795
2680c309
CY
4796 * frame.el (set-cursor-color): Doc fix (Bug#352).
4797
d7a9e63b
CY
4798 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4799 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4800
2e7f3bea
CY
4801 * cus-edit.el (custom-buffer-create-internal): Fix search button
4802 action (Bug#10542).
2ae01800 4803 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4804
fc4f7a23
EW
48052012-01-27 Eduard Wiebe <usenet@pusto.de>
4806
4807 * dired.el (dired-mark-files-regexp):
4808 Include any subdirectory components. (Bug#10445)
4809
7dd37071
ML
48102012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4811
4812 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4813 Handle [host]:port syntax. (Bug#10533)
4814
a268160b
AH
48152012-01-27 Alex Harsanyi <harsanyi@mac.com>
4816
4817 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4818
e43273ef
GM
48192012-01-26 Glenn Morris <rgm@gnu.org>
4820
4821 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4822 * term.el (term-raw-escape-map): Use Control-X-prefix.
4823 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4824
1edf595d
MR
48252012-01-25 Martin Rudalics <rudalics@gmx.at>
4826
4827 * window.el (window-state-get, window--state-get-1): Don't deal
4828 with fixed-sizeness of windows. Simplify code.
4829
fa8eafef
JC
48302012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4831
6df6ae42
JB
4832 * window.el (window--state-get-1, window--state-put-2):
4833 Don't save and restore the mark.
fa8eafef 4834
0b21c100
CY
48352012-01-25 Chong Yidong <cyd@gnu.org>
4836
4837 * custom.el (custom-variable-p): Doc fix.
4838
5ae1a6c8
GM
48392012-01-25 Glenn Morris <rgm@gnu.org>
4840
40047858
GM
4841 * dired.el (dired-goto-file): Handle some of the more common
4842 characters that `ls -b' escapes. (Bug#10596)
4843
5ddce96c
GM
4844 * progmodes/compile.el (compilation-next-error-function):
4845 Respect compilation-first-column in the "*compilation*" buffer.
4846 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4847
5ae1a6c8
GM
4848 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4849
b559f1a9
GM
48502012-01-24 Glenn Morris <rgm@gnu.org>
4851
4852 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4853
6725d21a
JD
48542012-01-24 Julien Danjou <julien@danjou.info>
4855
4856 * color.el (color-rgb-to-hsl): Fix value computing.
4857 (color-hue-to-rgb): New function.
4858 (color-hsl-to-rgb): New function.
4859 (color-clamp, color-saturate-hsl, color-saturate-name)
4860 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4861 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4862
70df4bbe
GM
48632012-01-24 Glenn Morris <rgm@gnu.org>
4864
4865 * vc/vc-rcs.el (vc-rcs-create-tag):
4866 * vc/vc-sccs.el (vc-sccs-create-tag):
4867 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4868
802a2ae2
ML
48692012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4870
4871 * eshell/esh-util.el (eshell-read-hosts-file):
4872 Skip comment lines. (Bug#10549)
4873
d7128bb1
ML
4874 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4875
d1a5c3b4
JB
48762012-01-23 Juanma Barranquero <lekktu@gmail.com>
4877
2724d9c7
JB
4878 * subr.el (display-delayed-warnings): Doc fix.
4879 (collapse-delayed-warnings): New function to collapse identical
4880 adjacent warnings.
4881 (delayed-warnings-hook): Add it.
d1a5c3b4 4882
a5509865
MA
48832012-01-22 Michael Albinus <michael.albinus@gmx.de>
4884
4885 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4886
4887 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4888 properties, when "login-as" is set.
4889
4890 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4891 (tramp-default-user-alist): Don't add "pscp".
4892 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4893 property "login-as", if set. (Bug#10530)
4894
cc6d5805
MA
48952012-01-21 Michael Albinus <michael.albinus@gmx.de>
4896
4897 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4898 "plink1" and "psftp". (Bug#10530)
4899
49002012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4901
4902 * international/mule-cmds.el (prefer-coding-system): Show a
4903 warning message if the default value of file-name-coding-system
4904 was not changed.
4905
f0960428
JC
49062012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4907
cb882333
JB
4908 * windmove.el (windmove-reference-loc):
4909 Fix windmove-reference-loc miscalculation.
f0960428 4910
dd6f2a63
JB
49112012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4912
4913 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4914 default unit.
4915
7b447e9b
GM
49162012-01-21 Glenn Morris <rgm@gnu.org>
4917
117a9ea1
GM
4918 * international/mule.el (auto-coding-alist): Add .tbz.
4919
7b447e9b
GM
4920 * files.el (local-enable-local-variables): Doc fix.
4921 (inhibit-local-variables-regexps): Rename from
4922 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4923 Doc fix. Add some extensions from auto-coding-alist.
4924 (inhibit-local-variables-suffixes):
4925 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4926 (inhibit-local-variables-p):
4927 New function, extracted from set-auto-mode-1.
4928 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4929 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4930 (hack-local-variables): Doc fix. Make the mode-only case
4931 respect enable-local-variables and friends.
4932 Respect inhibit-local-variables-regexps for file-locals, but
4933 not for directory-locals.
4934 (set-visited-file-name):
4935 Take account of inhibit-local-variables-regexps.
4936 Whether it applies may change as the file name is changed.
4937 * jka-cmpr-hook.el (jka-compr-install):
4938 * jka-compr.el (jka-compr-uninstall):
4939 Update for inhibit-first-line-modes-suffixes name change.
4940
dd6e3cdd
MR
49412012-01-20 Martin Rudalics <rudalics@gmx.at>
4942
4943 * help-macro.el (make-help-screen): Temporarily restore original
4944 binding for minor-mode-map-alist (Bug#10454).
4945
0d0deb38
JD
49462012-01-19 Julien Danjou <julien@danjou.info>
4947
4948 * color.el (color-name-to-rgb): Use the white color to find the max
4949 color component value and return correctly computed values.
4950 (color-name-to-rgb): Add missing float conversion for max value.
4951
34a02f46
MR
49522012-01-19 Martin Rudalics <rudalics@gmx.at>
4953
4954 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4955 special state value for window-persistent-parameters.
4956 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4957 (window--state-put-2): Reset all window parameters to nil before
4958 assigning values of persistent parameters.
4959
606c44c4
AM
49602012-01-18 Alan Mackenzie <acm@muc.de>
4961
4962 Eliminate sluggishness and hangs in fontification of "semicolon
4963 deserts".
4964
cb882333
JB
4965 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4966 Change value 10000 -> 3000.
606c44c4
AM
4967 (c-state-safe-place): Reformulate so it doesn't stack up an
4968 infinite number of wrong entries in c-state-nonlit-pos-cache.
4969 (c-determine-limit-get-base, c-determine-limit): New functions to
4970 determine backward search limits disregarding literals.
4971 (c-find-decl-spots): Amend commenting.
4972 (c-cheap-inside-bracelist-p): New function which detects "={".
4973
4974 * progmodes/cc-fonts.el
4975 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4976 backward search.
4977 (c-font-lock-declarations): Fix an occurrence of point being
4978 undefined. Check additionally for point being in a bracelist or
4979 near a macro invocation without a semicolon so as to avoid a
4980 fruitless time consuming search for a declarator. Give a more
4981 precise search limit for declarators using the new
4982 c-determine-limit.
4983
f3860cea
GM
49842012-01-18 Glenn Morris <rgm@gnu.org>
4985
4986 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4987 (set-auto-mode): Doc fixes.
4988
1db03b16
GM
49892012-01-17 Glenn Morris <rgm@gnu.org>
4990
0e6038be
GM
4991 * isearch.el (search-nonincremental-instead): Fix doc typo.
4992
1db03b16
GM
4993 * dired.el (dired-insert-directory): Handle newlines in directory name.
4994 (dired-build-subdir-alist): Unescape newlines in directory name.
4995
4cb0aa75
MA
49962012-01-17 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4999 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5000 (tramp-action-terminal): Use it. (Bug#10530)
5001
1d00653d
SM
50022012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5005
6a6ee00d
MR
50062012-01-16 Martin Rudalics <rudalics@gmx.at>
5007
5008 * window.el (window-state-ignored-parameters): Remove variable.
5009 (window--state-get-1): Rename argument MARKERS to IGNORE.
5010 Handle persistent window parameters. Make copy of clone-of
5011 parameter only if requested. (Bug#10348)
5012 (window--state-put-2): Install a window parameter only if it has
5013 a non-nil value or an existing parameter shall be overwritten.
5014
97912def
MA
50152012-01-15 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5018
688070a5
EZ
50192012-01-14 Eli Zaretskii <eliz@gnu.org>
5020
5021 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5022 don't pass the (nil) value of `upnode' to string-match.
5023
301afadc
CY
50242012-01-14 Chong Yidong <cyd@gnu.org>
5025
5026 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5027 Fix values recognized by the cursorBlink resource.
301afadc 5028
9e5788aa
PE
50292012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5030
5031 * epg.el (epg--make-temp-file): Avoid permission race condition
5032 when running on old Emacs versions (bug#10403).
5033
3cdb7f5a
GM
50342012-01-14 Glenn Morris <rgm@gnu.org>
5035
5036 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5037
8c82b1b4
AM
50382012-01-13 Alan Mackenzie <acm@muc.de>
5039
5040 Fix filling for when filladapt mode is enabled.
5041
5042 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5043 c-mask-paragraph, pass in `fill-paragraph' rather than
5044 `fill-region-as-paragraph'. (This is a reversion of a previous
5045 change.)
eb864a71
LM
5046 * progmodes/cc-mode.el (c-basic-common-init):
5047 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5048
e517eda4
GM
50492012-01-13 Glenn Morris <rgm@gnu.org>
5050
1498536e
GM
5051 * dired.el (dired-switches-escape-p): New function.
5052 (dired-insert-directory): Use dired-switches-escape-p.
5053 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5054
e517eda4
GM
5055 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5056
328f984d
GM
50572012-01-12 Glenn Morris <rgm@gnu.org>
5058
5059 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5060 changes in adaptive-fill-regexp. (Bug#10276)
5061
2cc769a8
AM
50622012-01-11 Alan Mackenzie <acm@muc.de>
5063
5064 Fix Emacs bug #10463 - put `widen's around the critical spots.
5065
1d00653d 5066 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5067 widen around each invocation of c-state-pp-to-literal. Remove an
5068 unused let variable.
5069
e52c37fa
GM
50702012-01-11 Glenn Morris <rgm@gnu.org>
5071
5072 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5073 Doc fix.
e52c37fa 5074
96f8741e
CY
50752012-01-10 Chong Yidong <cyd@gnu.org>
5076
1d00653d
SM
5077 * net/network-stream.el (network-stream-open-starttls):
5078 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5079 response to the capability command.
5080
b09a806e
GM
50812012-01-10 Glenn Morris <rgm@gnu.org>
5082
5083 * mail/unrmail.el (unrmail): Tweak previous change.
5084
7655cb66
CY
50852012-01-09 Chong Yidong <cyd@gnu.org>
5086
5087 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5088
9d5a8f0b
AM
50892012-01-08 Alan Mackenzie <acm@muc.de>
5090
5091 Optimise font locking in long enum definitions.
5092
5093 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5094 arm to a cond form to handle enums.
5095 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5096 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5097
9a0115ab 50982012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5099
5100 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5101 (Bug#10401)
6bb72cbd 5102
f186bb95
LMI
51032012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5104
29232a68
LMI
5105 * faces.el (set-face-attribute): Clarify the meaning of the nil
5106 frame (bug#10294).
5107
4e5d086d
LMI
5108 * subr.el (with-selected-frame): Mention that the selected frame
5109 is restored (bug#9980).
5110
8e66aebe
LMI
5111 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5112 (bug#9759).
5113
cd394be1 5114 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5115 (password-read): Don't autoload unused function.
5116
adf4e762
JB
51172012-01-07 Juanma Barranquero <lekktu@gmail.com>
5118
5119 * progmodes/which-func.el (which-func-mode): Turn into a
5120 non-interactive function and mark as obsolete (bug#10428).
5121
89bd9ccd
CY
51222012-01-06 Chong Yidong <cyd@gnu.org>
5123
5124 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5125 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5126 functions, along with 1 and -1.
5127
4afee9d5
EZ
51282012-01-06 Eli Zaretskii <eliz@gnu.org>
5129
5130 * time.el (display-time-load-average)
5131 (display-time-default-load-average): Doc fixes. See the thread
5132 starting at
5133 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5134 for the details.
5135
536aea70
GM
51362012-01-06 Glenn Morris <rgm@gnu.org>
5137
665ae865
GM
5138 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5139 has no messages. (Bug#10377)
5140
c869783d
GM
5141 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5142 than Info-edit. (Bug#10385)
5143
2bb4227e
GM
5144 * time.el (display-time-load-average, display-time-next-load-average):
5145 Doc fixes.
5146
7d5944b9
GM
5147 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5148 local setting of buffer-read-only to the input buffer. (Bug#10419)
5149
536aea70
GM
5150 * calendar/calendar.el (calendar-mode):
5151 Locally set scroll-margin to 0. (Bug#10379)
5152
7dccca16
UM
51532012-01-06 Ulrich Mueller <ulm@gentoo.org>
5154
5155 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5156
afbb7930
GM
51572012-01-05 Glenn Morris <rgm@gnu.org>
5158
5159 * eshell/em-unix.el (diff-no-select): Autoload it.
5160 (eshell/diff): Use diff-no-select. (Bug#10420)
5161
04482335
CY
51622012-01-05 Chong Yidong <cyd@gnu.org>
5163
7baca3bc
CY
5164 * shell.el (shell-dynamic-complete-functions): Revert last change.
5165 (shell-command-completion-function): New function.
5166 (shell-completion-vars): Use it to implement
5167 shell-completion-execonly (Bug#10417).
5168
04482335
CY
5169 * custom.el (enable-theme): Don't set custom-safe-themes.
5170
1d00653d
SM
5171 * cus-theme.el (custom-theme-merge-theme):
5172 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5173
bb5aa5d6
MM
51742012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5175
5176 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5177 first prompt in `sql-interacive-mode'.
5178 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5179 keywords.
6df6ae42 5180 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5181 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5182 context of original buffer. Invoke `sql-login-hook'.
5183
a7183d7c
EZ
51842012-01-04 Eli Zaretskii <eliz@gnu.org>
5185
5186 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5187 letters in cite-prefix.
5188
a1eacd1e
LMI
51892012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5190
5191 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5192
787cdb34
CY
51932012-01-03 Chong Yidong <cyd@gnu.org>
5194
1d00653d
SM
5195 * shell.el (shell-dynamic-complete-functions):
5196 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5197 comint-filename-completion first (Bug#10417).
5198
30710442
RS
51992012-01-02 Richard Stallman <rms@gnu.org>
5200
5201 * battery.el (battery-status-function):
5202 Detect when to use battery-yeeloong-sysfs.
5203 (battery-echo-area-format): Add string for Yeeloong.
5204 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5205 (battery-yeeloong-sysfs): New function.
5206
f75bfc33
CY
52072012-01-02 Chong Yidong <cyd@gnu.org>
5208
5209 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5210 (dirtrack): Merge code for handling relative filenames in prompt
5211 from shell-dir-cookie-watcher.
5212 (dirtrack-debug-message): New arg to avoid excess format calls.
5213
5214 * shell.el (shell-dir-cookie-re): Variable deleted.
5215 (shell-dir-cookie-watcher): Function deleted.
5216 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5217 with dirtrack-mode.
5218
651e947e
EZ
52192012-01-01 Eli Zaretskii <eliz@gnu.org>
5220
1d00653d
SM
5221 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5222 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5223 libgnutls-26.dll.
5224
94d4c7dc
AS
52252011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5226
5227 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5228
8d43f3cd
EZ
52292011-12-31 Eli Zaretskii <eliz@gnu.org>
5230
5231 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5232 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5233
98c8795a
MA
52342011-12-29 Michael Albinus <michael.albinus@gmx.de>
5235
5236 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5237 also for alternative shells.
5238 (tramp-open-connection-setup-interactive-shell): Check, whether
5239 the shell is a busybox.
5240 (tramp-send-command): Don't suppress multiple prompts for
5241 busyboxes, it hurts.
5242
51281b32
CY
52432011-12-28 Chong Yidong <cyd@gnu.org>
5244
5245 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5246 (gdb-get-source-file): Move mode line update to
5247 gdb-get-source-file (Bug#10087).
5248
2170cb53
CY
52492011-12-25 Chong Yidong <cyd@gnu.org>
5250
5251 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5252 gud-gdb-marker-filter without taking it as an argument.
5253 (gud-gdb-run-command-fetch-lines): Caller changed.
5254 (gud-gdb-completion-function): New variable.
5255 (gud-gdb-completion-at-point): Use it.
5256 (gud-gdb-completions-1): Split from gud-gdb-completions.
5257
5258 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5259 function as separate arguments.
5260 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5261 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5262 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5263 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5264 (gdb-stopped, def-gdb-auto-update-trigger)
5265 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5266 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5267 Callers changed.
2170cb53
CY
5268 (gud-gdbmi-completions): New function.
5269 (gdb): Use it for generating the completion table.
5270
be8b11bb
AM
52712011-12-24 Alan Mackenzie <acm@muc.de>
5272
5273 Introduce a mechanism to widen the region used in context font
1d00653d 5274 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5275
1d00653d
SM
5276 * progmodes/cc-langs.el (c-before-font-lock-functions):
5277 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5278 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5279 functions to be run just before context (etc.) font locking.
5280
5281 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5282 New, functionality extracted from
be8b11bb 5283 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5284 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5285 (c-after-change): Set c-in-after-change-fontification.
5286 (c-set-fl-decl-start): Rejig its interface, so it can be called
5287 from both after-change and context fontifying.
b81d40f0
JB
5288 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5289 New functions.
5290 (c-standard-font-lock-fontify-region-function): New variable.
5291 (c-font-lock-fontify-region): New function.
be8b11bb 5292
341cf6ac
JL
52932011-12-24 Juri Linkov <juri@jurta.org>
5294
5295 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5296 (Bug#10348)
5297
bffcee0a
MA
52982011-12-23 Michael Albinus <michael.albinus@gmx.de>
5299
5300 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5301 existence of source file. (Bug#10325)
5302
cb5e207c
AM
53032011-12-23 Alan Mackenzie <acm@muc.de>
5304
5305 Fix unstable fontification inside templates.
5306
b81d40f0
JB
5307 * progmodes/cc-langs.el (c-before-font-lock-functions):
5308 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5309 additionally has c-set-fl-decl-start. The other languages (apart
5310 from AWK) have that as a single entry.
5311
b81d40f0
JB
5312 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5313 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5314 c-set-fl-decl-start.
5315
b81d40f0
JB
5316 * progmodes/cc-mode.el (c-common-init, c-after-change):
5317 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5318 (c-set-fl-decl-start): New function, extracted from
5319 c-font-lock-enclosing-decls and enhanced.
5320
60ff536c
JB
53212011-12-23 Juanma Barranquero <lekktu@gmail.com>
5322
5323 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5324
1c4757d6
JL
53252011-12-22 Juri Linkov <juri@jurta.org>
5326
5327 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5328
d031f2c7
CY
53292011-12-22 Chong Yidong <cyd@gnu.org>
5330
5331 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5332
bace743a
DA
53332011-12-21 Drew Adams <drew.adams@oracle.com>
5334
5335 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5336
728a1f2b
JC
53372011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5338
5339 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5340
0d373f73
TZ
53412011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5342
fec0aaa4
TZ
5343 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5344 highlighting and support. Fix up comments for capitalization.
5345 (cfengine-mode-debug): New var.
5346 (cfengine3-mode): Change the modeline indicator to "CFE3".
5347 (cfengine3-font-lock-keywords): Improve defun highlighting.
5348 (cfengine2-actions): Rename from `cfengine-actions'.
5349 (cfengine2-font-lock-keywords): Rename from
5350 `cfengine-font-lock-keywords'.
5351 (cfengine2-imenu-expression): Rename from
5352 `cfengine-imenu-expression'.
5353 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5354 (cfengine2-beginning-of-defun): Rename from
5355 `cfengine-beginning-of-defun'.
5356 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5357 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5358 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5359 modeline indicator to "CFE2".
5360 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5361 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5362
bc86f573
CY
53632011-12-21 Chong Yidong <cyd@gnu.org>
5364
5365 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5366 filename argument.
5367
d45ba96b
MR
53682011-12-20 Martin Rudalics <rudalics@gmx.at>
5369
5370 * window.el (window-normalize-buffer-to-display): Remove.
5371 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5372
a6198c90
CY
53732011-12-19 Chong Yidong <cyd@gnu.org>
5374
5375 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5376 Don't signal an error in a predicate function; return non-nil.
5377 (vc-dir-mark-file): Move the error here.
5378 (vc-dir-mark-unmark): If acting on the region, keep going if one
5379 of the entries cannot be marked/unmarked.
5380 (vc-dir-mark-all-files): If current entry is a directory, mark
5381 only child files, as documented.
5382
34c5fb55
VB
53832011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5384
5385 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5386 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5387 addition.
5388
c803b2b7
JD
53892011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5390
5391 * term/ns-win.el (ns-get-selection-internal)
5392 (ns-store-selection-internal): Declare.
1154d12e
JB
5393 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5394 Declare as obsolete.
5395 (ns-get-pasteboard, ns-paste-secondary):
5396 Use ns-get-selection-internal.
5397 (ns-set-pasteboard, ns-copy-including-secondary):
5398 Use ns-store-selection-internal.
c803b2b7 5399
9cff91f8 54002011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5401
5402 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5403 (vc-deduce-fileset): Doc fix.
99a289d9 5404
f16c898a
AS
54052011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5406
5407 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5408
763237c4
SS
54092011-12-13 Sam Steingold <sds@gnu.org>
5410
5411 * man.el (Man-getpage-in-background): When running under a
5412 window-system, ignore $MANWIDTH and $COLUMNS.
5413
5fc1c122
KH
54142011-12-15 Kenichi Handa <handa@m17n.org>
5415
5416 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5417 (setup-ethiopic-environment-internal): Comment out key-binding for
5418 ethio-toggle-punctuation.
5419
13d49cbb
AM
54202011-12-13 Alan Mackenzie <acm@muc.de>
5421
898169a2
AM
5422 Add the switch statement to AWK Mode.
5423
7a71b18d 5424 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5425 "default" to the keywords regexp.
5426
7a71b18d 5427 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5428 expression as the rest.
1d00653d
SM
5429 (c-nonlabel-token-key): Allow string literals for AWK.
5430 Refactor for the other modes.
898169a2 5431
13d49cbb 5432 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5433 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5434 routines. Limit backward searching in c-font-lock-enclosing.decl.
5435
5436 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5437 pp-state and literal type in addition to the limits.
1d00653d 5438 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5439 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5440 (c-slow-in-literal, c-fast-in-literal): Remove.
5441 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5442
5443 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5444 being in a literal. Add a limit for backward searching.
5445
5446 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5447 c-slow-in-literal.
5448
15e0efc7
SM
54492011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5452
454592a6
MR
54532011-12-13 Martin Rudalics <rudalics@gmx.at>
5454
5455 * window.el (delete-other-windows): Use correct frame in call to
5456 window-with-parameter.
5457
87393f26
DP
54582011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5459
5460 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5461 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5462 (makefile-gmake-statements, makefile-makepp-statements):
5463 Use it and add new makepp keywords.
5464 (makefile-makepp-font-lock-keywords): Add new patterns.
5465 (makefile-match-function-end): Match new [...] and [[...]].
5466
11636b22
JB
54672011-12-11 Juanma Barranquero <lekktu@gmail.com>
5468
5469 * ses.el (ses-call-printer-return, ses-cell-property-get)
5470 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5471 (ses-create-cell-variable, ses-reset-header-string)
5472 (ses-cell-set-formula, ses-repair-cell-reference-all)
5473 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5474 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5475 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5476 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5477 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5478 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5479 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5480 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5481 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5482 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5483 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5484 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5485
cf018193
VB
54862011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5487
5488 * ses.el: The overall change is to add cell renaming, that is
5489 setting fancy names for cell symbols other than name matching
5490 "\\`[A-Z]+[0-9]+\\'" regexp .
5491 (ses-create-cell-variable): New defun.
5492 (ses-relocate-formula): Relocate formulas only for cells the
5493 symbols of which are not renamed, i.e. symbols whose names do not
5494 match regexp "\\`[A-Z]+[0-9]+\\'".
5495 (ses-relocate-all): Relocate values only for cells the symbols of
5496 which are not renamed.
5497 (ses-load): Create cells variables as the (ses-cell ...) are read,
5498 in order to check row col consistency with cell symbol name only
5499 for cells that are not renamed.
5500 (ses-replace-name-in-formula): New defun.
5501 (ses-rename-cell): New defun.
5502
ee957461
CY
55032011-12-11 Chong Yidong <cyd@gnu.org>
5504
5505 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5506 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5507
9a9e9ef0
MR
55082011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5509
5510 * window.el (other-window): Fix docstring.
5511
92a8eba5
EZ
55122011-12-10 Eli Zaretskii <eliz@gnu.org>
5513
5514 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5515 `from' or `to' address before taking its substring.
5516 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5517 encoded name is chopped in the middle of the encoded string, and
5518 thus displayed encoded.
5519
e152e577
JB
55202011-12-10 Juanma Barranquero <lekktu@gmail.com>
5521
5522 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5523
e5d84bfe
EZ
55242011-12-10 Eli Zaretskii <eliz@gnu.org>
5525
5526 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5527 to use texinfo-update-node and commands that call it if the
5528 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5529 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5530 (texinfo-all-menus-update, texinfo-master-menu)
5531 (texinfo-update-node, texinfo-every-node-update)
5532 (texinfo-multiple-files-update): Doc fix. Warn against updating
5533 all the @node lines.
5534 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5535 argument is numeric. Explain better in the doc string what the
5536 function really does.
5537 (texinfo-insert-master-menu-list): Improve the error message
5538 displayed if there's no menu in the Top node.
5539 (Bug#2975) See also this thread:
e5d84bfe
EZ
5540 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5541
1d84e9bb
MG
55422011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5543
5544 * speedbar.el (speedbar-supported-extension-expressions):
5545 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5546
382c953b
JB
55472011-12-09 Juanma Barranquero <lekktu@gmail.com>
5548
5549 * printing.el (pr-mode-alist):
5550 * simple.el (filter-buffer-substring-functions)
5551 (completion-list-insert-choice-function):
5552 * window.el (window-with-parameter, window-atom-root)
5553 (window-sides-slots, window-size-fixed, window-min-delta)
5554 (window-max-delta, window--resize-mini-window)
5555 (window--resize-child-windows-normal, window-tree)
5556 (delete-other-windows, quit-window, split-window)
5557 (display-buffer-record-window, special-display-buffer-names)
5558 (special-display-regexps, special-display-popup-frame)
5559 (same-window-p, split-window-sensibly)
5560 (display-buffer-overriding-action, display-buffer-alist)
5561 (display-buffer-base-action, display-buffer, switch-to-buffer)
5562 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5563 (fit-window-to-buffer, recenter-positions)
5564 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5565 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5566 and remove unneeded backslashes in docstrings.
5567
39c9faef
SM
55682011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5569
98449af8
SM
5570 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5571
39c9faef
SM
5572 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5573 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5574 end in ".mk".
5575 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5576 when reading the makefile (bug#10116).
5577
86ed9fdc
SM
55782011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5581 (bug#10116).
5582
5580f89d
GM
55832011-12-06 Glenn Morris <rgm@gnu.org>
5584
5585 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5586
28d3917c
CY
55872011-12-06 Chong Yidong <cyd@gnu.org>
5588
5589 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5590
a98edce9
JB
55912011-12-06 Juanma Barranquero <lekktu@gmail.com>
5592
5593 * textmodes/table.el (table-shorten-cell): Fix typo.
5594
e65adfac
CG
55952011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5596
5597 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5598
71cc0b74
EZ
55992011-12-05 Eli Zaretskii <eliz@gnu.org>
5600
5601 * descr-text.el (describe-char): Fix display of strong
5602 right-to-left characters and directional embeddings and overrides.
5603
5604 * simple.el (what-cursor-position): Fix display of codepoints of
5605 strong right-to-left characters.
5606
315bc30d
CY
56072011-12-05 Chong Yidong <cyd@gnu.org>
5608
5609 * faces.el (read-color): Doc fix.
5610
58a70b94
GM
56112011-12-05 Glenn Morris <rgm@gnu.org>
5612
5613 * align.el (align--set-marker): Add doc-string.
5614 Don't try to move something that is not a marker. (Bug#10216)
5615
5158face
GM
56162011-12-04 Glenn Morris <rgm@gnu.org>
5617
5618 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5619 overly zealous deletion of trailing whitespace.
5620
520fca41
JB
56212011-12-04 Juanma Barranquero <lekktu@gmail.com>
5622
5623 * server.el (server-delete-client): On Windows, do not try to delete
5624 the only terminal.
5625 (server-process-filter): On Windows, treat requests for a tty frame as
5626 if they were for a GUI frame if the running server is in GUI mode.
5627
5e605a2e
GM
56282011-12-03 Glenn Morris <rgm@gnu.org>
5629
5630 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5631
5c3fe83f
SM
56322011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5633
6f5e57e7
SM
5634 * electric.el: Streamline electric-indent's hook.
5635 (electric-indent-chars): Revert to simple list.
5636 (electric-indent-functions): New var.
5637 (electric-indent-post-self-insert-function): Use it.
5638
5c3fe83f
SM
5639 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5640 there's no inferior buffer (bug#10196).
5641 (prolog-consult-compile): Don't use toggle-read-only.
5642
6bdac736
MA
56432011-12-02 Michael Albinus <michael.albinus@gmx.de>
5644
5645 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5646 interrupt. (Bug#10187)
5647
6131ba7f
SM
56482011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5649
99c79fee
SM
5650 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5651 (bug#9160).
5652
6131ba7f
SM
5653 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5654 (bug#10191).
5655
cb0a02ea
JL
56562011-12-02 Juri Linkov <juri@jurta.org>
5657
5658 * info.el (Info-search): Display "end of manual" when Isearch
5659 reaches the end of single-file Info manual. (Bug#9918)
5660
66e0570c
EZ
56612011-12-02 Eli Zaretskii <eliz@gnu.org>
5662
5663 * isearch.el (isearch-message-prefix): Run the input method part
5664 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5665
02b16839
JL
56662011-12-02 Juri Linkov <juri@jurta.org>
5667
5668 * isearch.el (isearch-occur): Use `word-search-regexp' for
5669 `isearch-word'.
5670 (isearch-search-and-update): Add condition for `isearch-word' and
5671 call `word-search-regexp'. (Bug#10145)
5672
0b950688
GM
56732011-12-01 Glenn Morris <rgm@gnu.org>
5674
5675 * eshell/em-hist.el (eshell-hist-initialize):
5676 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5677 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5678
9505c3c7
SM
56792011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5682
1bbe96b2 56832011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5684
a1beca85
SM
5685 * progmodes/verilog-mode.el (verilog-pretty-expr):
5686 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5687 verilog, such as += *= and the like.
5688 (verilog-assignment-operator-re): Regular expression to find the
5689 assigment operator in a verilog assignment.
5690 (verilog-assignment-operation-re): Regular expression to find an
5691 assignment statement for pretty-expr.
5692 (verilog-in-attribute-p): Query returns true if point is in an
5693 attribute context; used to skip these for expression line up from
5694 pretty-expr.
5695 (verilog-in-parameter-p): Query returns true if point is in an
5696 parameter definition context; used to skip these for expression
5697 line up from pretty-expr.
5698 (verilog-in-parenthesis-p): Query returns true if point is in a
5699 parenthetical expression, specifically ( ) but not [ ] or { };
5700 used by pretty-expr.
5701 (verilog-just-one-space): If there is no space, don't add one.
5702 (verilog-get-lineup-indent-2): Specifically skip just attribute
5703 contexts for expression lineup, rather than skipping all
5704 parenthetical expressions.
5705 (verilog-calculate-indent): Fix comment, and fix indent.
5706 (verilog-do-indent): Indent declarations in lists (suggested by
5707 Joachim Lechner).
5708 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5709 skeleton items.
5710 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5711 by Alain Mellan).
5712
1bbe96b2 57132011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5714
5715 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5716 parameters with embedded comments. Reported by Ray Stevens.
5717 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5718 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5719 Reported by Tim Holt.
5720 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5721 instantiated by upper module causing wrong expansion until AUTOed a
5722 second time. Reported by K C Buckenmaier.
5723 (verilog-diff-auto): Fix showing .* as a difference when
5724 `verilog-auto-star-save' off. Reported by Dan Dever.
5725 (verilog-auto-reset, verilog-read-always-signals)
5726 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5727 temporary signals in reset list if
5728 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5729 style to each signal's assignment type, bug381.
5730 Reported by Thomas Esposito.
6288f0ca
WS
5731 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5732 (verilog-uvm-statement-re): Support UVM indentation and
5733 highlighting, with old OVM keywords only.
a1beca85 5734 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5735 Support AUTOTIEOFF creating non-wire data types.
5736 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5737 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5738 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5739 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5740 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5741 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5742 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5743 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5744 non-numeric vector width. Reported by Alex Reed.
5745 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5746 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5747 (verilog-auto-delete-trailing-whitespace):
5748 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5749 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5750 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5751 Fix verilog-scan-cache corruption when running user AUTO expansion
5752 hooks that call indentation routines.
5753 (verilog-simplify-range-expression): Fix typo ignoring lower case
5754 identifiers.
5755 (verilog-delete-auto): Fix delete-autos to also remove user created
5756 automatics, as long as they start with AUTO.
5757 (verilog-batch-diff-auto, verilog-diff-auto)
5758 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5759 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5760 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5761 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5762 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5763 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5764 is disabled and its cache will get corrupt, causing AUTOS not to
5765 expand. Instead use only -quick functions.
5766 (verilog-scan-region): Fix scanning over escaped quotes.
5767 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5768 (verilog-re-search-backward-quick)
5769 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5770 related functions now ignore strings, to fix misparsing of strings
5771 with magic comments embedded in them.
a1beca85
SM
5772 (verilog-read-auto-template):
5773 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5774 Reported by Brad Dobbie.
5775 (verilog-read-auto-template):
5776 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5777 Reported by Brad Dobbie.
6288f0ca
WS
5778 (verilog-auto-inst, verilog-auto-inst-param)
5779 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5780 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5781 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5782 debugging templates without merge conflicts, bug357.
5783 Reported by Brad Dobbie.
5784 (verilog-read-auto-template):
5785 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5786 Reported by Brad Dobbie.
5787 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5788 abbrevs so user won't be asked to save.
5789 (verilog-read-auto-lisp-present): Fix to start at beginning of
5790 buffer in case called outside of verilog-auto.
5791 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5792 to "X-2". Reported by Matthew Myers.
5793 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5794 all inputs from module templates. Reported by Leith Johnson.
5795 (verilog-module-inside-filename-p): Fix locating programs as with
5796 modules.
5797 (verilog-auto-inst-port): Fix vl-width expressions when using
5798 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5799 (verilog-decls-get-regs, verilog-decls-get-signals,
5800 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5801 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5802 verilog-read-decls): Combine reg and wire structures into one var
5803 structure to represent SystemVerilog concepts.
5804 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5805 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5806 (verilog-auto-wire-type, verilog-insert-definition):
5807 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5808 SystemVerilog "logic" keyword instead of "wire"/"reg".
5809 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5810 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5811 ifdef or generate if so there's not a driver conflict).
5812 Reported by Matthew Myers.
5813 (verilog-auto-declare-nettype, verilog-insert-definition):
5814 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5815 `default_nettype none. Reported by Julian Gorfajn.
5816 (verilog-read-always-signals-recurse, verilog-read-decls)
5817 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5818 malformed end statement, bug325. Reported by Joshua Wise and
5819 Andrew Drake.
5820 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5821 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5822 when expanding .* in interfaces, bug320.
5823 Reported by Pierre-David Pfister.
6288f0ca 5824 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5825 name and open parenthesis, bug317.
5826 Reported by Pierre-David Pfister.
6288f0ca
WS
5827 (verilog-simplify-range-expression): Fix simplification of
5828 multiplications inside AUTOWIRE connections, bug303.
5829 (verilog-auto-inst-port): Support parameter expansion in
5830 multidimensional arrays.
5831 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5832 after "assert property". Reported by Julian Gorfajn.
5833 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5834 with multiplication, bug303.
5835 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5836 Reported by Jan Frode Lonnum.
5837
1bbe96b2
GM
58382011-11-30 Juanma Barranquero <lekktu@gmail.com>
5839
5840 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5841 (hfy-shell-file-name, hfy-shell):
5842 * international/fontset.el (x-decompose-font-name): Fix typos.
5843
58442011-11-29 Ken Brown <kbrown@cornell.edu>
5845
5846 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5847 (gdb-version): Remove defvar.
5848 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5849 (gdb-gud-context-command, gdb-non-stop-handler)
5850 (gdb-current-context-command, gdb-stopped): Use it.
5851 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5852 (gdb-non-stop-handler): Don't enable pretty-printing here.
5853 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5854 non-stop mode. Use the following.
5855 (gdb-check-target-async): New defun.
5856 (gud-watch, gdb-stopped): Fix whitespace.
5857 (gdb-get-source-file): Don't try to display the source file if
5858 `gdb-main-file' is nil.
5859
58602011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * align.el: Try to generate fewer markers (bug#10047).
5863 (align--set-marker): New macro.
5864 (align-region): Use it.
5865
c935221f
SM
58662011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5869
e70b5064
CY
58702011-11-29 Chong Yidong <cyd@gnu.org>
5871
5872 * indent.el (indent-for-tab-command, indent-according-to-mode):
5873 Doc fix.
5874 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5875
f3af92b7
MA
58762011-11-29 Michael Albinus <michael.albinus@gmx.de>
5877
5878 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5879 aware of remote file names. (Bug#10124)
5880
ed472be9
CY
58812011-11-29 Chong Yidong <cyd@gnu.org>
5882
5883 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5884
24510c22
SM
58852011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5886
5887 * files.el (find-file): Don't use force-same-window (bug#10144).
5888 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5889 use pop-to-buffer if the selected window can't be used.
5890 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5891
c60c3703
EZ
58922011-11-28 Eli Zaretskii <eliz@gnu.org>
5893
5894 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5895 special-mode-map.
5896
e95def75
CY
58972011-11-28 Chong Yidong <cyd@gnu.org>
5898
5899 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5900
c3f1c606
NR
59012011-11-27 Nick Roberts <nickrob@snap.net.nz>
5902
5903 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5904 gdb-get-source-file-list on gdb-create-source-file-list.
5905
00db469c
EZ
59062011-11-26 Eli Zaretskii <eliz@gnu.org>
5907
5908 * whitespace.el (whitespace-newline): Use a different foreground
5909 color for 16-color light-background displays.
5910
4ad3bc2a
CY
59112011-11-24 Chong Yidong <cyd@gnu.org>
5912
5913 * window.el (display-buffer--special-action): Doc fix.
5914
e9fce1ac
JB
59152011-11-25 Juanma Barranquero <lekktu@gmail.com>
5916
5917 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5918 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5919 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5920 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5921 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5922 (avl-tree-stack-first):
5923 * emacs-lisp/cconv.el (cconv--analyse-use):
5924 * net/gnutls.el (gnutls-negotiate): Fix typos.
5925
cb825e5d
GM
59262011-11-24 Glenn Morris <rgm@gnu.org>
5927
3adbe224
GM
5928 * lpr.el (lpr-windows-system, lpr-lp-system):
5929 * mail/binhex.el (binhex-begin-line):
5930 * progmodes/grep.el (grep-history, grep-find-history):
5931 * textmodes/flyspell.el:
5932 * vc/pcvs-defs.el (cvs-global-menu):
5933 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5934 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5935 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5936
321decc8
GM
5937 * net/tls.el: Fix case of "GnuTLS".
5938
420b63ad
GM
5939 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5940
cb825e5d
GM
5941 * version.el (emacs-build-system): Give it a doc-string.
5942
a0649f08
JL
59432011-11-24 Juri Linkov <juri@jurta.org>
5944
5945 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5946
c0bc0fd4
GM
59472011-11-24 Glenn Morris <rgm@gnu.org>
5948
5949 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5950 if called on a non-mime message just toggle the headers. (Bug#8006)
5951
20db1522
JB
59522011-11-24 Juanma Barranquero <lekktu@gmail.com>
5953
5954 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5955 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5956 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5957 (allout-rebullet-heading, allout-open-sibtopic)
5958 (allout-toggle-current-subtree-encryption)
5959 (allout-toggle-subtree-encryption, allout-encrypt-string)
5960 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5961 (allout-distinctive-bullets-string, allout-auto-activation):
5962 * window.el (window-normalize-buffer-to-display):
5963 * progmodes/verilog-mode.el (verilog-batch-indent):
5964 * textmodes/bibtex.el (bibtex-field-braces-opt)
5965 (bibtex-field-strings-opt):
5966 * vc/cvs-status.el (cvs-tree-merge):
5967 Fix typos.
5968
7262a87c
MA
59692011-11-23 Michael Albinus <michael.albinus@gmx.de>
5970
5971 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5972 `non-essential' to t, in order to avoid remote connections.
5973
283430a1
EZ
59742011-11-23 Eli Zaretskii <eliz@gnu.org>
5975
a1beca85
SM
5976 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5977 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5978 case-insensitively.
5979
d2992a38
ML
59802011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5981
5982 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5983
50419064
GM
59842011-11-23 Glenn Morris <rgm@gnu.org>
5985
da94eca1
GM
5986 * paths.el (rmail-file-name): Reformat the doc-string so that it
5987 is picked up.
5988
9aac4de2
GM
5989 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5990 (rmail-auto-file): Ignore case in the "special" field names,
5991 as mail-fetch-field does for all others.
5992
8038d2d2
GM
5993 * mail/rmail.el (rmail-forward):
5994 * mail/rmailkwd.el (rmail-set-label):
5995 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5996 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5997
f3fe222a
GM
5998 * mail/rmail.el (rmail-current-message): Doc fix.
5999
50419064
GM
6000 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6001
28109f49
SM
60022011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6005
394c65f1
GM
60062011-11-22 Glenn Morris <rgm@gnu.org>
6007
6008 * mail/rmailmm.el (test-rmail-mime-handler)
6009 (test-rmail-mime-bulk-handler)
6010 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6011
f2a0aa3a
JL
60122011-11-21 Juri Linkov <juri@jurta.org>
6013
1154d12e
JB
6014 * calc/calc.el (calc-read-key-sequence):
6015 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6016
9c34a344
LMI
60172011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6018
6019 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6020 Tell the caller that the next line needs recomputation, even
6021 though it doesn't start a sexp (bug#10094).
6022
f04a3be9
SM
60232011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6026
7978747f
SM
60272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6028
f04a3be9
SM
6029 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6030 Use force-same-window.
7978747f 6031
fe7a3057
JB
60322011-11-20 Juanma Barranquero <lekktu@gmail.com>
6033
6034 * descr-text.el (describe-char-unicode-data):
6035 * json.el (json-string-escape):
6036 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6037 (Footnote-unicode, Footnote-style-p):
6038 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6039
24901d61
CY
60402011-11-20 Chong Yidong <cyd@gnu.org>
6041
6042 * window.el (replace-buffer-in-windows): Restore interactive spec.
6043
bac7ff22
SM
60442011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6045
24f3d7b9
SM
6046 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6047
bac7ff22
SM
6048 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6049 (byte-compile-global-not-obsolete-vars): New var.
6050 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6051 Use it.
6052 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6053
cd1181db
JB
60542011-11-20 Juanma Barranquero <lekktu@gmail.com>
6055
6056 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6057 * progmodes/pascal.el (electric-pascal-equal):
6058 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6059 * xml.el (xml-substitute-special): Fix typos.
6060
7fb18e9e
GM
60612011-11-20 Glenn Morris <rgm@gnu.org>
6062
6063 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6064 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6065 Doc fixes.
6066 (rmail-decode-mime-charset): Mark as obsolete.
6067
6068 * mail/rmailsum.el (rmail-message-regexp-p-1):
6069 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6070 Before using mime functions, check they are set. (Bug#10077)
6071
d5a6b3ba
JL
60722011-11-19 Juri Linkov <juri@jurta.org>
6073
6074 * info.el (Info-finder-find-node): Use `package--builtins' instead
6075 of `package-alist'. Use node names formed by the pattern "Keyword "
6076 and the keyword name.
6077
e981b61f
AS
60782011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6079
1d00653d 6080 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6081
3ffbc301
JL
60822011-11-19 Juri Linkov <juri@jurta.org>
6083
6084 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6085 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6086 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6087 `old-history', `old-history-forward'. Add let-binding
6088 `window-selected'. Remove calls to `kill-buffer',
6089 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6090 before calling `Info-find-node', so `Info-find-node-2' will reread
6091 the Info file. Restore window positions only when `window-selected'
6092 is non-nil.
6093
30c62133
JL
60942011-11-19 Juri Linkov <juri@jurta.org>
6095
6096 * isearch.el (isearch-lazy-highlight-new-loop):
6097 Remove condition `(not isearch-error)'. (Bug#9918)
6098
6099 * misearch.el (multi-isearch-search-fun): Add condition
6100 `(not bound)' to ignore lazy-highlighting search.
6101 Add the search-failed message "end of multi" when the end of
6102 multi-sequence is reached. Uncapitalize the search-failed
6103 message "Repeat for next buffer".
6104
6105 * info.el (Info-search): Add the search-failed message
6106 "end of the manual" when the end of the manual is reached
6107 in Isearch mode.
6108
645ca9cf
JL
61092011-11-19 Juri Linkov <juri@jurta.org>
6110
6111 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6112 Use non-destructive `remove' instead of `delete' because
6113 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6114 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6115
df754f66
JL
61162011-11-19 Juri Linkov <juri@jurta.org>
6117
6118 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6119 to nil instead of binding `search-ring' and `regexp-search-ring'.
6120 (Bug#9185)
6121
0e23d96a
EZ
61222011-11-19 Eli Zaretskii <eliz@gnu.org>
6123
6124 * simple.el (line-move): Force movement by logical lines for any
6125 hscrolled window, not only when auto-hscroll-mode is on.
6126 (line-move-visual): Update doc string to that effect. (Bug#10076)
6127
8a6ccb66
AS
61282011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6129
6130 * language/european.el (macintosh): Define as alias for mac-roman.
6131
49ae5b39
EZ
61322011-11-19 Eli Zaretskii <eliz@gnu.org>
6133
6134 * mail/rmailmm.el (rmail-mime-display-header)
6135 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6136 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6137 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6138 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6139 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6140 of a raw aref.
6141 (rmail-mime-entity-segment): To get past the tagline, move forward
6142 2 more lines, to account for the 2 empty lines that precede and
6143 follow the line with the buttons.
6144 (rmail-mime-update-tagline): Move one more line, to get past the
6145 empty line that follows the buttons in the tagline. (Bug#9520)
6146
c56cad4a
MR
61472011-11-19 Martin Rudalics <rudalics@gmx.at>
6148
6149 * window.el (window-max-delta-1, window-min-delta-1)
6150 (window-min-size-1, window-state-get-1, window-state-put-1)
6151 (window-state-put-2): Use "window--" prefix.
6152
cbe71af3
SM
61532011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6154
2ad52c60
SM
6155 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6156 (smie-warning-count): New var.
6157 (smie-set-prec2tab): Use it.
6158 (smie-bnf->prec2): Improve warnings. Add docstring.
6159 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6160 (smie-bnf--set-class): New function.
6161 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6162 corner case.
6163
6944dbc1
SM
6164 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6165 (compilation-error-properties, compilation-move-to-column):
6166 Handle compilation-first-column while in the target buffer.
6167
c400c4d7
SM
6168 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6169 Don't hardcode point-min==1.
6170
6dbe3e96
SM
6171 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6172 (eshell-rewrite-for-command): Remove workaround.
6173 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6174 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6175 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6176
cbe71af3
SM
6177 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6178
a8e1496d
GM
61792011-11-17 Glenn Morris <rgm@gnu.org>
6180
6181 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6182 Ignore buffer-local generated-autoload-file if it is the same
6183 as the global value. (Bug#10049)
6184
df85d315
JB
61852011-11-17 Juanma Barranquero <lekktu@gmail.com>
6186
6187 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6188 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6189 (reftex-toc-previous-heading, reftex-toc-max-level)
6190 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6191 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6192 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6193 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6194 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6195 (reftex-toc-rename-label, reftex-toc-visit-location)
6196 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6197 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6198 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6199 leaving "*toc*" only for references to the buffer.
6200
a0c2d0ae
MR
62012011-11-17 Martin Rudalics <rudalics@gmx.at>
6202
6203 * window.el (window-resize, delete-window, split-window):
6204 Replace window-splits by window-combination-resize.
1d00653d 6205 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6206
35c0bac8
GM
62072011-11-17 Glenn Morris <rgm@gnu.org>
6208
6209 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6210 Make bash entry derive from sh entry, not shell entry.
6211
d0c8fc8a
MA
62122011-11-16 Michael Albinus <michael.albinus@gmx.de>
6213
d0c8fc8a
MA
6214 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6215 properties of linked files. (Bug#9879)
6216
7262a87c
MA
6217 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6218 local file name.
6219
7877f373
JB
62202011-11-16 Juanma Barranquero <lekktu@gmail.com>
6221
6222 * menu-bar.el (menu-bar-file-menu):
6223 * printing.el (pr-ps-utility):
6224 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6225 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6226 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6227 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6228 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6229 (icalendar--convert-cyclic-to-ical)
6230 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6231 (icalendar--convert-ical-to-diary)
6232 (icalendar--convert-recurring-to-diary)
6233 (icalendar--convert-non-recurring-all-day-to-diary)
6234 (icalendar-import-format-sample):
6235 * progmodes/idlw-shell.el (idlwave-shell-mode):
6236 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6237 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6238 (vhdl-ps-print-init): Fix typos.
6239
10649b82
KM
62402011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6241
9d0cfcd6
GM
6242 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6243 FSF and collapse date sequence, obscure author/maintainer email address
6244 better, remove extra version line, track relocation of author's webpage.
10649b82 6245
9d0cfcd6
GM
6246 * progmodes/python.el (python-pdbtrack-input-prompt)
6247 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6248 regular python pdb prompts. Adjustments shamelessly taken exactly as
6249 suggested in EmacsWiki page (tiny change):
6250 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6251
58179cce
JB
62522011-11-16 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * expand.el (expand-pos, expand-index, expand-point):
6255 Remove redundant info from docstring.
6256 (expand-add-abbrevs): Doc fix.
6257 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6258 (expand-sample-perl-mode-expand-list): Fix typos.
6259
6260 * net/dbus.el (dbus-event-member-name):
6261 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6262 * term/pc-win.el (msdos-create-frame-with-faces):
6263 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6264
b6f67890
MR
62652011-11-16 Martin Rudalics <rudalics@gmx.at>
6266
6267 * window.el (split-window, window-state-get-1)
6268 (window-state-put-1, window-state-put-2): Rename occurrences of
6269 window-nest to window-combination-limit.
1d00653d 6270 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6271
ce7ddba0
CY
62722011-11-16 Chong Yidong <cyd@gnu.org>
6273
6274 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6275 regexp (Bug#10033).
6276
3ae704f4
SM
62772011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6278
6279 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6280 `completing-read' will remove *Completions* and will preserve
6281 current-buffer for us.
6282 (tmm-add-prompt): Users of *Completions* will always (re)set its
6283 major mode.
6284 (tmm-old-comp-map): Remove.
6285
6ad1cdde
GM
62862011-11-16 Glenn Morris <rgm@gnu.org>
6287
6288 * mail/rmailedit.el: Require rmailmm when compiling.
6289 (rmail-old-mime-state): New declaration.
6290 (rmail-edit-current-message): If editing a mime message,
6291 edit the "raw" message from the mbox buffer.
6292 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6293
d20faa20
GM
62942011-11-15 Glenn Morris <rgm@gnu.org>
6295
6296 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6297 which wasn't being used. Add optional arg to force given state.
6298 (rmail-mime): Add optional arg to force given state.
6299
c7015153
JB
63002011-11-15 Juanma Barranquero <lekktu@gmail.com>
6301
6302 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6303 * frame.el (display-mm-dimensions-alist):
6304 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6305 (outline-move-subtree-down):
6306 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6307 (newsticker--treeview-do-get-node):
6308 * net/quickurl.el (quickurl-list-buffer-name):
6309 * progmodes/dcl-mode.el (dcl-mode):
6310 * progmodes/gdb-mi.el (gdb-mapcar*):
6311 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6312
45261b50
GM
63132011-11-15 Glenn Morris <rgm@gnu.org>
6314
6315 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6316 in a boolean sense, so just make it a boolean, and fix the doc.
6317 (rmail-show-mime-function, rmail-mime-feature)
6318 (rmail-require-mime-maybe): Doc fixes.
6319 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6320
6321 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6322
0d26e0b6
JB
63232011-11-15 Juanma Barranquero <lekktu@gmail.com>
6324
6325 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6326 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6327 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6328 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6329
447f30f6
GM
63302011-11-15 Glenn Morris <rgm@gnu.org>
6331
672b871d
GM
6332 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6333 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6334 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6335 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6336 (rmail-mime, rmail-show-mime): Doc fixes.
6337
f6aa5bb1
GM
6338 * term/ns-win.el (mode-line-frame-identification):
6339 Leave it alone. (Bug#10051)
6340
947cd66b
GM
6341 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6342
447f30f6
GM
6343 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6344 Handle empty buffers. (Bug#9978)
6345
0b381c7e
JB
63462011-11-14 Juanma Barranquero <lekktu@gmail.com>
6347
6348 * international/mule.el (define-charset):
6349 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6350 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6351 * progmodes/verilog-mode.el (verilog-backward-token):
6352 * textmodes/ispell.el (lookup-words):
6353 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6354
71e027ac
GM
63552011-11-14 Glenn Morris <rgm@gnu.org>
6356
56632ce4
GM
6357 * progmodes/executable.el
6358 (executable-make-buffer-file-executable-if-script-p):
6359 Handle file-modes returning nil.
6360
40500957
GM
6361 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6362 message - not necessary, and causes problems. (Bug#9831)
6363
071c2340
GM
6364 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6365
d3cfca60
GM
6366 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6367
71e027ac
GM
6368 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6369 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6370 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6371
89d61221
MR
63722011-11-12 Martin Rudalics <rudalics@gmx.at>
6373
6374 * window.el (window-resize, delete-window): Use window-splits
6375 variable instead of function.
6376 (window-state-get-1, window-state-put-2, window-state-put):
6377 Don't deal with windows' splits status.
6378
98282f6f
GM
63792011-11-12 Glenn Morris <rgm@gnu.org>
6380
6381 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6382 (apropos-documentation): Doc fixes.
6383
40a8bdf6
JB
63842011-11-11 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6387 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6388
65bd19ff
SM
63892011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * electric.el (electric-indent-post-self-insert-function): Make it
6392 possible for a char to only indent in some circumstances.
6393 (electric-indent-mode): Simplify.
6394
54f9154c
MR
63952011-11-11 Martin Rudalics <rudalics@gmx.at>
6396
6397 * window.el (windows-with-parameter): Remove unused function.
6398 (windows-at-side): Rename to window-at-side-list.
6399 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6400 (window-side-check, window-size-ignore, window-size-fixed-1)
6401 (window-in-direction-2): Prefix with "window--".
6402 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6403
68cbc58b
GM
64042011-11-11 Glenn Morris <rgm@gnu.org>
6405
6406 * subr.el (eval-after-load): If FILE is already loaded,
6407 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6408
b2621720
GM
64092011-11-10 Glenn Morris <rgm@gnu.org>
6410
9a4de110
GM
6411 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6412 Call svn via vc-svn-command rather than vc-do-command.
6413 (vc-svn-command): Add --non-interactive. (Bug#9993)
6414 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6415
b2621720
GM
6416 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6417 Add toggle-read-only. (Bug#7292)
6418 * files.el (toggle-read-only): Mention that it should only
6419 be used interactively. (Bug#10006)
6420
1dce7193
SM
64212011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6422
d9ac1a1e
SM
6423 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6424 Adjust regexp for OCaml warnings.
6425
0c325082
SM
6426 * electric.el (electric-pair-post-self-insert-function): Let user
6427 turn it off buffer-locally (bug#9932).
6428
90132c14
SM
6429 * progmodes/python.el (python-beginning-of-statement):
6430 Rewrite (bug#2703).
6431
1dce7193
SM
6432 * progmodes/compile.el: Better handle TABs (bug#9749).
6433 (compilation-internal-error-properties)
6434 (compilation-next-error-function): Obey the target buffer's
6435 compilation-error-screen-columns.
6436
c4e7c63a
JB
64372011-11-09 Juanma Barranquero <lekktu@gmail.com>
6438
6439 * progmodes/meta-mode.el: Remove obsolete comments.
6440 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6441 Fix typos in docstrings.
6442
2cffd681
MR
64432011-11-09 Martin Rudalics <rudalics@gmx.at>
6444
6445 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6446 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6447 (window--resizable): New function. Make all callers of
6448 window-resizable call window--resizable instead.
6449 (window-resizable): Rewrite in terms of window--resizable.
6450
0edcba87
GM
64512011-11-08 Glenn Morris <rgm@gnu.org>
6452
6453 * progmodes/delphi.el (delphi-mode-syntax-table):
6454 Let define-derived-mode define a proper syntax table. (Bug#9994)
6455
4b0d61e3
SM
64562011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * window.el: Stay away from defsubst.
6459 (window-list-no-nils): Remove.
6460 (window-state-get-1, window-state-get): Use backquote instead.
6461
cd394be1 64622011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6463
4b0d61e3 6464 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6465 Fix incorrect use of default argument in `completing-read'.
6466
e1c2c6f2
MR
64672011-11-08 Martin Rudalics <rudalics@gmx.at>
6468
6469 * window.el (display-buffer-function, special-display-function):
6470 Mention display-buffer-record-window but do not mention
6471 help-setup parameter in doc-strings.
b3f4a882 6472 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6473
105216ed
CY
64742011-11-08 Chong Yidong <cyd@gnu.org>
6475
6476 * window.el (window-total-height, window-total-width): Doc fix.
6477 (window-body-size): Move from C.
6478 (window-body-height, window-body-width): Move to C.
6479
0a9f9ab5
SM
64802011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 * window.el: Make special-display like display-buffer-alist (bug#9532).
6483 (display-buffer--special-action): New function, morphed
6484 from display-buffer--special.
6485 (display-buffer): Use it to handle special-display-buffers at higher
6486 priority (just after display-buffer-alist).
6487 (display-buffer-fallback-action, display-buffer--other-frame-action)
6488 (pop-to-buffer-same-window): Remove display-buffer--special.
6489
a769dd15
GM
64902011-11-07 Glenn Morris <rgm@gnu.org>
6491
6492 * calendar/cal-menu.el (cal-menu-set-date-title):
6493 Do nothing if not in a calendar. (Bug#9976)
6494
05a61ee3
SM
64952011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * files.el (find-file): Always use selected-window.
6498
be7f5545
MR
64992011-11-07 Martin Rudalics <rudalics@gmx.at>
6500
6501 * window.el (window-combinations): Make WINDOW argument
6502 mandatory. Rewrite doc-string.
6503 (walk-window-subtree, window-atom-check, window-min-delta)
6504 (window-max-delta, window--resize-this-window)
6505 (window--resize-root-window-vertically, window-tree)
6506 (balance-windows, window-state-put): Rewrite doc-strings as to
6507 not mention the term "subwindow".
6508 (window--resize-subwindows-skip-p): Rename to
6509 window--resize-child-windows-skip-p.
6510 (window--resize-subwindows-normal): Rename to
6511 window--resize-child-windows-normal.
6512 (window--resize-subwindows): Rename to
6513 window--resize-child-windows.
6514 (window-or-subwindow-p): Rename to window--in-subtree-p.
6515
3c6702ef
ML
65162011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6517
6518 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6519 Ensure that mbox format messages end in two newlines (Bug#9974).
6520
49745b39
CY
65212011-11-06 Chong Yidong <cyd@gnu.org>
6522
6523 * window.el (window-combination-p): Function deleted; its
6524 side-effect is not used in any existing code.
6525 (window-combinations, window-combined-p): Call window-*-child
6526 directly.
6527
24300f5f
CY
65282011-11-05 Chong Yidong <cyd@gnu.org>
6529
6530 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6531 (window-size-ignore, window-state-get): Callers changed.
6532 (window-normalize-window): Rename from window-normalize-any-window.
6533 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6534 (window-normalize-live-window): Delete.
447f16b8
CY
6535 (window-combination-p, window-combined-p, window-combinations)
6536 (walk-window-subtree, window-atom-root, window-min-size)
6537 (window-sizable, window-sizable-p, window-size-fixed-p)
6538 (window-min-delta, window-max-delta, window-resizable)
6539 (window-resizable-p, window-full-height-p, window-full-width-p)
6540 (window-current-scroll-bars, window-point-1, set-window-point-1)
6541 (window-at-side-p, window-in-direction, window-resize)
6542 (adjust-window-trailing-edge, maximize-window, minimize-window)
6543 (window-deletable-p, delete-window, delete-other-windows)
6544 (record-window-buffer, unrecord-window-buffer)
6545 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6546 (quit-window, split-window, window-state-put)
6547 (set-window-text-height, fit-window-to-buffer)
6548 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6549
89bd5ee1
EZ
65502011-11-04 Eli Zaretskii <eliz@gnu.org>
6551
53479029
EZ
6552 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6553 rfc2047-decode-string.
6554 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6555 warnings.
6556
89bd5ee1
EZ
6557 * window.el (window-body-height, window-body-width): Mention in
6558 the doc string that the return values are in frame's canonical
6559 units. (Bug#9949)
6560
bd17fdee
AM
65612011-11-03 Alan Mackenzie <acm@muc.de>
6562
6563 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6564 change in cc-engine.el.
6565
acc825c5
SM
65662011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6568 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6569
1885e5b8
MR
65702011-11-02 Martin Rudalics <rudalics@gmx.at>
6571
6572 * window.el (quit-window): Call unrecord-window-buffer after
6573 showing another buffer in the window. (Bug#9937)
acc825c5 6574 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6575
ebe06da9
JB
65762011-11-02 Juanma Barranquero <lekktu@gmail.com>
6577
6578 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6579 Accept status with more than 9 shelves. (Bug#9935)
6580 Reported by Colin D Bennett <colin@gibibit.com>.
6581
4ee88440
MR
65822011-11-01 Martin Rudalics <rudalics@gmx.at>
6583
6584 * help.el (with-help-window): Don't reference
6585 temp-buffer-show-specifiers in doc-string.
6586
08e1d82c
AS
65872011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6588
6589 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6590 menu-item.
6591
84bd6e9e
VJL
65922011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6593
6594 * whitespace.el: New version 13.2.2.
6595 (whitespace-newline-mode): Disable properly. Reported by Sarah
6596 <EmacsWiki>.
6597
dba0634a
UJ
65982011-10-30 Ulf Jasper <ulf.jasper@web.de>
6599
6600 * net/newst-treeview.el: Remove "Time-stamp".
6601 (newsticker--group-manage-orphan-feeds): Do not call
6602 newsticker--treeview-tree-update.
db22a3c2
JB
6603 (newsticker-treeview-update, newsticker-treeview):
6604 Call newsticker--treeview-tree-update if necessary.
dba0634a 6605
3d8daefe
MR
66062011-10-30 Martin Rudalics <rudalics@gmx.at>
6607
6608 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6609 (window-iso-combinations): Remove "iso-" infix.
6610 Suggested by Chong Yidong.
3d8daefe
MR
6611 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6612 (window-max-delta-1, window-resize, window--resize-siblings)
6613 (window--resize-this-window, adjust-window-trailing-edge)
6614 (split-window, balance-windows-1)
6615 (shrink-window-if-larger-than-buffer):
6616 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6617 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6618
1bc4c3ae
SM
66192011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6622 in place (bug#9907).
6623 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6624 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6625 (eshell-structure-basic-command, eshell-rewrite-while-command)
6626 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6627 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6628 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6629 (eshell-do-pipelines-synchronously, eshell-eval-command):
6630 Use backquotes and prefer setq to set.
6631 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6632 (eshell-macrop): Use functionp.
c1e2f5fa 6633 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6634
30b65d9c
CY
66352011-10-30 Chong Yidong <cyd@gnu.org>
6636
6637 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6638 instead of set-mark (Bug#9810).
6639
2d197ffb
CY
66402011-10-30 Chong Yidong <cyd@gnu.org>
6641
6642 * window.el (split-window-below, split-window-right): Rename from
6643 split-window-above-each-other and split-window-side-by-side
6644 respectively. All callers changed.
6645 (split-window-sensibly, split-window-sensibly): Use them.
6646 (split-window-keep-point): Doc fix.
6647
6648 * isearch.el: Add isearch-scroll property to split-window-below
6649 and split-window-right.
6650
6651 * follow.el (follow-mode):
6652 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6653 * progmodes/ada-xref.el (ada-gdb-application):
6654 * emulation/vip.el (vip-buffer-in-two-windows):
6655 * image-dired.el (image-dired-dired-with-window-configuration):
6656 * dired-x.el (dired-do-find-marked-files):
6657 * dired.el (dired-pop-to-buffer):
6658 * bs.el (bs--show-with-configuration):
6659 * vc/emerge.el (emerge-setup-windows):
6660 * textmodes/two-column.el (2C-two-columns):
6661 * textmodes/reftex-toc.el (reftex-toc):
6662 * progmodes/gdb-mi.el (gdb-setup-windows):
6663 * progmodes/fortran.el (fortran-window-create):
6664 * net/newst-treeview.el (newsticker--treeview-window-init):
6665 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6666 * emulation/tpu-edt.el (tpu-gold-map):
6667 * emulation/crisp.el (crisp-mode-map):
6668 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6669
38bb2ca8
CY
66702011-10-29 Chong Yidong <cyd@gnu.org>
6671
aa4de341
CY
6672 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6673
e1eb5385
CY
6674 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6675
5d2ece3c
CY
6676 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6677 forged Ispell output (Bug#7904).
6678
38bb2ca8
CY
6679 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6680
d0af9f77
SM
66812011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * doc-view.el: Avoid ugly errors about not finding nil.
6684 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6685 (doc-view-dvipdf-program, doc-view-unoconv-program)
6686 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6687 Avoid nil or absolute file name as default value.
6688 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6689
52bedd34
AM
66902011-10-28 Alan Mackenzie <acm@muc.de>
6691
db22a3c2 6692 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6693
7e43cfa5
AM
66942011-10-28 Alan Mackenzie <acm@muc.de>
6695
6696 Amend the handling of c-beginning/end-of-defun in nested declaration
6697 scopes.
6698
52bedd34
AM
6699 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6700 cc-langs.el. Change it to a defcustom.
7e43cfa5 6701
52bedd34
AM
6702 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6703 cc-vars.el.
7e43cfa5 6704
d0af9f77
SM
6705 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6706 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6707
52bedd34 6708 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6709 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6710 (c-widen-to-enclosing-decl-scope): New function.
6711 (c-while-widening-to-decl-block): New macro.
6712 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6713 outward for defun boundaries, and correspondingly change symbol
6714 `respect-enclosure' to `go-outward'.
6715 (c-declaration-limits): Change algorithm to report only the "innermost"
6716 defun's boundaries.
6717
1a2ce9ee
DD
67182011-10-28 Deniz Dogan <deniz@dogan.se>
6719
6720 * net/rcirc.el (rcirc-mode): Use hard newlines.
6721
bc97a826
AM
67222011-10-28 Alan Mackenzie <acm@muc.de>
6723
6724 Amend to indent and fontify macros "which include their own semicolon"
6725 correctly, using the "virtual semicolon" mechanism.
6726
52bedd34 6727 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6728
d0af9f77 6729 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6730 Recode to scan one line at a time rather than having \n and \r
58179cce 6731 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6732 (c-forward-label): Amend for virtual semicolons.
58179cce 6733 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6734
52bedd34
AM
6735 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6736 of the new C macros.
bc97a826 6737
52bedd34 6738 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6739 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6740 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6741 (c-opt-cpp-macro-define): Make into a full language variable.
6742 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6743 AWK Mode (including \n, \r) removed, no longer needed.
6744
d0af9f77
SM
6745 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6746 Invoke c-make-macro-with-semi-re.
bc97a826 6747
52bedd34
AM
6748 * progmodes/cc-vars.el (c-macro-with-semi-re):
6749 (c-macro-names-with-semicolon): New variables.
58179cce 6750 (c-make-macro-with-semi-re): New function.
bc97a826 6751
7a6c0941
SM
67522011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * vc/log-edit.el: Fill empty field rather than adding new one.
6755 (log-edit-add-field): New function.
6756 (log-edit-insert-changelog): Use it.
6757
b0c4cdcf
ML
67582011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6759
6760 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6761
ee1f1da9
SM
67622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6765 (gdb--check-interpreter): New function.
6766 (gdb): Use it.
6767
51bc5f8b
GM
67682011-10-27 Glenn Morris <rgm@gnu.org>
6769
416a2c45
GM
6770 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6771 (least-positive-float, least-negative-float)
6772 (least-positive-normalized-float, least-negative-normalized-float)
6773 (float-epsilon, float-negative-epsilon):
6774 Remove unnecessary declarations.
6775
6776 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6777 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6778 (least-positive-float, least-negative-float)
6779 (least-positive-normalized-float, least-negative-normalized-float)
6780 (float-epsilon, float-negative-epsilon): Add doc-strings,
6781 based on those in cl.texi.
6782
51bc5f8b
GM
6783 * files.el (set-visited-file-name): If the major-mode changed,
6784 reload the local variables. (Bug#9796)
6785
15de15c6
CY
67862011-10-27 Chong Yidong <cyd@gnu.org>
6787
6788 * subr.el (change-major-mode-after-body-hook): New hook.
6789 (run-mode-hooks): Run it.
6790
ee1f1da9
SM
6791 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6792 Use change-major-mode-before-body-hook.
15de15c6
CY
6793
6794 * simple.el (fundamental-mode):
6795 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6796 change introducing fundamental-mode-hook.
6797
5430d399
JB
67982011-10-26 Juanma Barranquero <lekktu@gmail.com>
6799
acc825c5 6800 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6801
ad74a69e
MA
68022011-10-26 Michael Albinus <michael.albinus@gmx.de>
6803
6804 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6805 tramp.el explicitly. (Bug#7583)
ad74a69e 6806
71d4c2a5
SM
68072011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6808
6809 * progmodes/octave-mod.el:
6810 * progmodes/octave-inf.el: Update maintainer.
6811
b1f6fa26
CY
68122011-10-26 Chong Yidong <cyd@gnu.org>
6813
6814 * subr.el (with-wrapper-hook): Rewrite doc.
6815
3f04efd6
MA
68162011-10-25 Michael Albinus <michael.albinus@gmx.de>
6817
6818 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6819 filenames "/method:foo:". (Bug#9793)
3f04efd6 6820
410488d3
SM
68212011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6824 (bug#9865).
6825
c1ebb47e
GM
68262011-10-24 Glenn Morris <rgm@gnu.org>
6827
6828 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6829
7f5c46c7
MA
68302011-10-24 Michael Albinus <michael.albinus@gmx.de>
6831
6832 * notifications.el: Add the requirement of a running D-Bus session
6833 bus to the Commentary.
6834
db2440b6
JL
68352011-10-24 Juri Linkov <juri@jurta.org>
6836
6837 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6838 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6839 (Bug#9364)
6840
feecf435
JL
68412011-10-24 Juri Linkov <juri@jurta.org>
6842
6843 * info.el (Info-following-node-name-re): Add newline to the list
6844 of allowed characters for leading space. (Bug#9824)
6845
a3839de2
SM
68462011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6847
acc825c5
SM
6848 * progmodes/octave-inf.el (inferior-octave-mode-map):
6849 Fix C-c C-h binding.
a3839de2
SM
6850 * progmodes/octave-mod.el (octave-help): Remove.
6851
09388e76
MA
68522011-10-23 Michael Albinus <michael.albinus@gmx.de>
6853
6854 Sync with Tramp 2.2.3.
6855
6856 * net/tramp-cache.el (top): Pacify byte-compiler using
6857 `init-file-user' and `site-run-file'.
6858
6859 * net/trampver.el: Update release number.
6860
86c60681
CY
68612011-10-23 Chong Yidong <cyd@gnu.org>
6862
6863 * files.el (toggle-read-only): Remove obsolete comment about
6864 version control.
6865
6866 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6867 for toggle-read-only. Note that this hasn't called vc-next-action
6868 since 2008-05-02, though it wasn't documented at the time.
6869
a3839de2
SM
6870 * vc/ediff-init.el (ediff-toggle-read-only-function):
6871 Use toggle-read-only.
86c60681 6872
cd5495ff
AM
68732011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6874
6875 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6876 of c-parse-state.
6877
00b77525 6878 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6879 correct faulty logical expression.
cd5495ff
AM
6880 (c-parse-state-state, c-record-parse-state-state):
6881 (c-replay-parse-state-state): New defvar/defuns.
6882 (c-debug-parse-state): Use new functions.
6883
42ee24ed
MR
68842011-10-22 Martin Rudalics <rudalics@gmx.at>
6885
6886 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6887 last fix. Use window-in-direction correctly.
42ee24ed 6888
a7dee7e7
CY
68892011-10-21 Chong Yidong <cyd@gnu.org>
6890
6891 * progmodes/idlwave.el (idlwave-mode):
6892 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6893 require-final-newline; that's done in prog-mode.
6894 Suggested by Stefan Monnier.
a7dee7e7 6895
e07b9a6d
MR
68962011-10-21 Martin Rudalics <rudalics@gmx.at>
6897
6898 * mouse.el (mouse-drag-window-above)
6899 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6900 (mouse-drag-mode-line-1, mouse-drag-header-line)
6901 (mouse-drag-vertical-line-rightward-window): Remove.
6902 (mouse-drag-line): New function.
6903 (mouse-drag-mode-line, mouse-drag-header-line)
6904 (mouse-drag-vertical-line): Call mouse-drag-line.
6905 * window.el (window-at-side-p, windows-at-side): New functions.
6906
7e1361d9
UM
69072011-10-21 Ulrich Mueller <ulm@gentoo.org>
6908
6909 * tar-mode.el (tar-grind-file-mode):
6910 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6911
30fcaf3a
CY
69122011-10-21 Chong Yidong <cyd@gnu.org>
6913
6914 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6915 * progmodes/vera-mode.el (vera-mode):
6916 Use mode-require-final-newline.
30fcaf3a 6917
516eddb0
GM
69182011-10-20 Glenn Morris <rgm@gnu.org>
6919
db22a3c2 6920 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6921
10d5f513
CS
69222011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6923
6924 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6925
ac6c8639
CY
69262011-10-20 Chong Yidong <cyd@gnu.org>
6927
6928 * emulation/cua-base.el (cua-mode):
6929 * mail/footnote.el (footnote-mode):
6930 * mail/mailabbrev.el (mail-abbrevs-mode):
6931 * net/xesam.el (xesam-minor-mode):
6932 * progmodes/bug-reference.el (bug-reference-mode):
6933 * progmodes/cap-words.el (capitalized-words-mode):
6934 * progmodes/compile.el (compilation-minor-mode)
6935 (compilation-shell-minor-mode):
6936 * progmodes/gud.el (gud-tooltip-mode):
6937 * progmodes/hideif.el (hide-ifdef-mode):
6938 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6939 * progmodes/subword.el (subword-mode):
6940 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6941 * progmodes/which-func.el (which-function-mode):
6942 * term/tvi970.el (tvi970-set-keypad-mode):
6943 * term/vt100.el (vt100-wide-mode):
6944 * textmodes/flyspell.el (flyspell-mode):
6945 * textmodes/ispell.el (ispell-minor-mode):
6946 * textmodes/nroff-mode.el (nroff-electric-mode):
6947 * textmodes/paragraphs.el (use-hard-newlines):
6948 * textmodes/refill.el (refill-mode):
6949 * textmodes/reftex.el (reftex-mode):
6950 * textmodes/rst.el (rst-minor-mode):
6951 * textmodes/sgml-mode.el (html-autoview-mode)
6952 (sgml-electric-tag-pair-mode):
6953 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6954 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6955 * emulation/crisp.el (crisp-mode):
6956 * emacs-lisp/eldoc.el (eldoc-mode):
6957 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6958 minor mode behavior.
6959
aa42ab43
JL
69602011-10-19 Juri Linkov <juri@jurta.org>
6961
6962 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6963 the list of hard-coded chars with escape-glyph face.
6964
89400f1d
SM
69652011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6968
305c07f6
MA
69692011-10-19 Michael Albinus <michael.albinus@gmx.de>
6970
6971 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6972 running process.
6973
13754b54
GM
69742011-10-19 Glenn Morris <rgm@gnu.org>
6975
6976 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6977 Ignore ignored files. (Bug#9726)
6978
06e21633
CY
69792011-10-19 Chong Yidong <cyd@gnu.org>
6980
6981 Doc fix for minor modes, stating that an omitted argument enables
6982 the mode unconditionally when called from Lisp.
6983
6984 * abbrev.el (abbrev-mode):
6985 * allout.el (allout-mode):
6986 * autoinsert.el (auto-insert-mode):
6987 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6988 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6989 (global-auto-revert-mode):
6990 * battery.el (display-battery-mode):
6991 * composite.el (global-auto-composition-mode)
6992 (auto-composition-mode):
6993 * delsel.el (delete-selection-mode):
6994 * desktop.el (desktop-save-mode):
6995 * dired-x.el (dired-omit-mode):
6996 * dirtrack.el (dirtrack-mode):
6997 * doc-view.el (doc-view-minor-mode):
6998 * double.el (double-mode):
6999 * electric.el (electric-indent-mode, electric-pair-mode):
7000 * emacs-lock.el (emacs-lock-mode):
7001 * epa-hook.el (auto-encryption-mode):
7002 * follow.el (follow-mode):
7003 * font-core.el (font-lock-mode):
7004 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7005 * help.el (temp-buffer-resize-mode):
7006 * hilit-chg.el (highlight-changes-mode)
7007 (highlight-changes-visible-mode):
7008 * hi-lock.el (hi-lock-mode):
7009 * hl-line.el (hl-line-mode, global-hl-line-mode):
7010 * icomplete.el (icomplete-mode):
7011 * ido.el (ido-everywhere):
7012 * image-file.el (auto-image-file-mode):
7013 * image-mode.el (image-minor-mode):
7014 * iswitchb.el (iswitchb-mode):
7015 * jka-cmpr-hook.el (auto-compression-mode):
7016 * linum.el (linum-mode):
7017 * longlines.el (longlines-mode):
7018 * master.el (master-mode):
7019 * mb-depth.el (minibuffer-depth-indicate-mode):
7020 * menu-bar.el (menu-bar-mode):
7021 * minibuf-eldef.el (minibuffer-electric-default-mode):
7022 * mouse-sel.el (mouse-sel-mode):
7023 * msb.el (msb-mode):
7024 * mwheel.el (mouse-wheel-mode):
7025 * outline.el (outline-minor-mode):
7026 * paren.el (show-paren-mode):
7027 * recentf.el (recentf-mode):
7028 * reveal.el (reveal-mode, global-reveal-mode):
7029 * rfn-eshadow.el (file-name-shadow-mode):
7030 * ruler-mode.el (ruler-mode):
7031 * savehist.el (savehist-mode):
7032 * scroll-all.el (scroll-all-mode):
7033 * scroll-bar.el (scroll-bar-mode):
7034 * server.el (server-mode):
7035 * shell.el (shell-dirtrack-mode):
7036 * simple.el (auto-fill-mode, transient-mark-mode)
7037 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7038 (line-number-mode, column-number-mode, size-indication-mode)
7039 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7040 * strokes.el (strokes-mode):
7041 * time.el (display-time-mode):
7042 * t-mouse.el (gpm-mouse-mode):
7043 * tool-bar.el (tool-bar-mode):
7044 * tooltip.el (tooltip-mode):
7045 * type-break.el (type-break-mode-line-message-mode)
7046 (type-break-query-mode):
7047 * view.el (view-mode):
7048 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7049 (global-whitespace-mode, global-whitespace-newline-mode):
7050 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7051
a3839de2
SM
7052 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7053 Fix autogenerated docstring.
06e21633 7054
5214e501
JL
70552011-10-19 Juri Linkov <juri@jurta.org>
7056
7057 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7058 by checking environment variables "DESKTOP_SESSION" and
7059 "XDG_CURRENT_DESKTOP". (Bug#9779)
7060
195f8db9
JL
70612011-10-19 Juri Linkov <juri@jurta.org>
7062
7063 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7064 (browse-url-chromium-program, browse-url-chromium-arguments):
7065 New defcustoms.
7066 (browse-url-default-browser): Check for `browse-url-chromium' and
7067 call `browse-url-chromium-program'.
7068 (browse-url-chromium): New command. (Bug#9779)
7069
343a34ff
JB
70702011-10-18 Juanma Barranquero <lekktu@gmail.com>
7071
7072 * facemenu.el (list-colors-duplicates): On Windows, detect more
7073 duplicates by assuming that only colors matching "^System" are
7074 special "system colors". (Bug#9722)
7075
6978a151
SM
70762011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7077
7078 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7079 to distinguish the author from the committer.
7080
6a80b297
MA
70812011-10-18 Michael Albinus <michael.albinus@gmx.de>
7082
7083 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7084
b31a5677
JK
70852011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7086
7087 * international/mule.el (sgml-html-meta-auto-coding-function):
7088 Add support for detecting encoding in HTML5 specified only as
7089 <meta charset="UTF-8">. Implementation just makes http-equiv and
7090 content-type parts from HTML4 encoding string optional. (Bug#9716)
7091
80c6d77f
GM
70922011-10-18 Glenn Morris <rgm@gnu.org>
7093
7094 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7095
08b0fee8
CY
70962011-10-18 Chong Yidong <cyd@gnu.org>
7097
7098 * faces.el (cursor): Doc fix.
7099
67e729a5
CY
71002011-10-17 Chong Yidong <cyd@gnu.org>
7101
7102 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7103
343a34ff 71042011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7105
7106 * dirtrack.el (dirtrack): Support shell buffers with path
7107 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7108
0bc06380
TZ
71092011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7110
7111 * json.el: Bump version to 1.3 and note change in History.
7112 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7113
8b79f3e0
SM
71142011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7115
5a7c536b
SM
7116 * comint.el (comint-insert-input, comint-send-input)
7117 (comint-get-old-input-default, comint-backward-matching-input)
7118 (comint-next-prompt): Use nil instead of `input' for field property of
7119 past user input (bug#114).
7120
96a8a0df
SM
7121 * minibuffer.el (completion--replace): Inherit surrounding properties
7122 (bug#114).
7123 (minibuffer-complete-and-exit): Use it.
7124
8b79f3e0
SM
7125 * comint.el (comint--table-subvert): Quote the all-completions output
7126 (bug#9160).
7127
b8f7ff0d
MR
71282011-10-17 Martin Rudalics <rudalics@gmx.at>
7129
8b79f3e0 7130 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7131
b8f7ff0d 7132 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7133 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7134 entries and separate them from frame entries.
7135
c235b555
GM
71362011-10-15 Glenn Morris <rgm@gnu.org>
7137
7138 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7139 Doc fixes.
7140
6bbfa6e1
CY
71412011-10-15 Chong Yidong <cyd@stupidchicken.com>
7142
8b79f3e0
SM
7143 * net/network-stream.el (network-stream-open-starttls):
7144 Improve detection of failure due to lack of TLS support.
ec5c990d 7145
6bbfa6e1
CY
7146 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7147 putting the input text in front and in bold.
7148
98488977
SM
71492011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7150
3d1337be
SM
7151 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7152
ee0b45e4
SM
7153 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7154 empty buffer.
7155
98488977
SM
7156 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7157 unread-command-events rather than pushing yet-another event.
7158
186f4720
EZ
71592011-10-14 Eli Zaretskii <eliz@gnu.org>
7160
7161 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7162 the explanation of the possible choices. Make the options passed
7163 to completing-read shorter.
7164
8b7a997c
AM
71652011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7166
7167 * textmodes/flyspell.el (flyspell-large-region): Make sure
7168 extended character mode is used if defined (Bug#1339).
7169
12587bbb
EZ
71702011-10-13 Eli Zaretskii <eliz@gnu.org>
7171
7172 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7173 character info for LRE, LRO, RLE, and RLO characters by appending
7174 an invisible PDF.
12587bbb 7175
bad41229
SM
71762011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7179 even in case of error; add debug spec; simplify data flow.
7180 (with-timeout-handler): Remove.
7181
28dbc92f
MA
71822011-10-12 Michael Albinus <michael.albinus@gmx.de>
7183
7184 Fix Bug#6019, Bug#9315.
7185
7186 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7187 complete `buffer-file-name', the local file name part could look
7188 remotely (for example on VMS).
7189
7190 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7191 `tramp-run-real-handler'.
7192 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7193 already quoted by '"'.
7194
7195 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7196 Let `file-name-handler-alist' be nil, the local file name part
7197 could look remotely (for example on VMS).
7198
e1b0b23a
SM
71992011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7202 from here...
7203 (flyspell-post-command-hook): ...to here.
7204
a120bde9
SM
72052011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7208 if not needed.
7209 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7210 using completion. Protect against "slow" callers.
7211 Remove the "message hack".
7212
7ce7717b
JL
72132011-10-11 Juri Linkov <juri@jurta.org>
7214
7215 * isearch.el (isearch-lazy-highlight-word): New variable.
7216 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7217 Use it. (Bug#9727)
7218
c02ee9d6
GM
72192011-10-11 Glenn Morris <rgm@gnu.org>
7220
7221 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7222 like f90-previous-statement does.
7223
93e616fd 72242011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7225
1f190e73 7226 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7227 only in interactive use, to avoid error.
7228
af7b6078
SM
72292011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * minibuffer.el (completion-file-name-table): Fix last change,
7232 i.e. ignore normal errors but not the other ones.
7233
0563dae9
MR
72342011-10-10 Martin Rudalics <rudalics@gmx.at>
7235
7236 * window.el (special-display-buffer-names)
7237 (special-display-regexps): Remove some remnants of earlier
7238 changes from doc-strings.
366ca7f3
MR
7239 (quit-windows-on): New function.
7240
7241 * vc/vc.el (vc-revert, vc-rollback):
7242 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7243 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7244 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7245
49677495
MR
72462011-10-09 Martin Rudalics <rudalics@gmx.at>
7247
7248 * window.el (frame-auto-hide-function): Add version tag.
7249 (Bug#9699)
7250
56f2d1e1
MA
72512011-10-09 Michael Albinus <michael.albinus@gmx.de>
7252
7253 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7254 condition.
7255
112a6592
LL
72562011-10-09 Leo Liu <sdl.web@gmail.com>
7257
7258 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7259 (Bug#9701)
7260
0812589b
GM
72612011-10-08 Glenn Morris <rgm@gnu.org>
7262
7263 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7264 before the first code statement zero indent. (Bug#9690)
7265
b2b0776e
CY
72662011-10-08 Chong Yidong <cyd@stupidchicken.com>
7267
7268 * simple.el (count-words-region): Always count in the region.
7269 Report the number of lines and characters too.
7270 (count-words): New command, which counts in the buffer if the
7271 region is inactive, as count-words-region used to.
7272 (count-words--message): New function. Handle plurals.
7273 (count-lines-region): Make it an alias for count-words-region.
7274
7275 * bindings.el (esc-map): Replace count-lines-region with
7276 count-words-region.
7277
c557cd6b
MR
72782011-10-08 Martin Rudalics <rudalics@gmx.at>
7279
7280 * window.el (window--delete): Delete dedicated frame
7281 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7282 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7283
61a57ef4 72842011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7285
3a7d293b 7286 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7287
c3833279
CY
72882011-10-07 Chong Yidong <cyd@stupidchicken.com>
7289
7290 * bindings.el ([M-left],[M-right]): Bind to left-word and
7291 right-word respectively.
7292
21ce8245
GM
72932011-10-07 Glenn Morris <rgm@gnu.org>
7294
7295 * cus-start.el (debug-on-quit): Fix custom type.
7296
6d823bb2
LMI
72972011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7298
0181e193
LMI
7299 * subr.el (define-key-after): Clarify that the function is not
7300 useful for non-menu keymaps.
7301
6d823bb2
LMI
7302 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7303
8e3459ce 73042011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7305
21ce8245 7306 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7307 in current minibuffer (Fix bug with recursive minibuffers).
7308
a1c2d21e
CY
73092011-10-06 Chong Yidong <cyd@stupidchicken.com>
7310
7311 * progmodes/gdb-mi.el (gdb): Doc fix.
7312
5a4cf282
MR
73132011-10-05 Martin Rudalics <rudalics@gmx.at>
7314
7315 * window.el (frame-auto-hide-function): New option replacing
7316 frame-auto-delete. Suggested by Stefan Monnier.
7317 (window--delete): Call frame-auto-hide-function instead of
7318 investigating frame-auto-delete.
c96111ea
MR
7319 (window-point-1, set-window-point-1): New functions.
7320 (window-in-direction, record-window-buffer, window-state-get-1)
7321 (display-buffer-record-window): Use window-point-1 instead of
7322 window-point.
7323 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7324
9854542e
SM
73252011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7328
8943cfb0
GM
73292011-10-05 Glenn Morris <rgm@gnu.org>
7330
7331 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7332 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7333
647ab967
LL
73342011-10-05 Leo Liu <sdl.web@gmail.com>
7335
7336 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7337 works with buffer object.
7338
3ddfbced
SM
73392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * mpc.el (mpc-tool-bar-map): Add labels.
7342
bdfa5dd2
GM
73432011-10-04 Glenn Morris <rgm@gnu.org>
7344
7345 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7346
0e2070b5
MR
73472011-10-04 Martin Rudalics <rudalics@gmx.at>
7348
7349 * window.el (window--delete): New function.
7350 (frame-auto-delete): Resuscitate option.
7351 (bury-buffer, replace-buffer-in-windows)
7352 (quit-window): Rewrite using window--delete.
7353 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7354 Pass display-buffer-mark-dedicated to window--display-buffer-2
7355 (Bug#9639).
7356
3dc61a09
SM
73572011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7358
915a9b64
SM
7359 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7360 returns a list (bug#9554). Add remote file name completion.
7361 * comint.el (comint--table-subvert): Curry and get quote&unquote
7362 functions as arguments.
7363 (comint--complete-file-name-data): Adjust call accordingly.
7364 * pcomplete.el (pcomplete--table-subvert): Remove.
7365 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7366
3dc61a09
SM
7367 * minibuffer.el (completion-table-case-fold): Use currying.
7368 (completion--styles-type, completion--cycling-threshold-type):
7369 New constants.
7370 (completion-styles, completion-category-overrides)
7371 (completion-cycle-threshold): Use them.
7372 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7373 completion-table-case-fold.
7374
8ea0a993
SB
73752011-10-03 Stephen Berman <stephen.berman@gmx.net>
7376
7377 * minibuffer.el (completion-category-overrides): Fix type of styles
7378 and add more user friendly tags (bug#9660).
7379
8c24b7f6
SM
73802011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7381
7382 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7383 (mule-input-method-string): New widget.
7384 (default-input-method, language-info-custom-alist): Use it.
7385
428fe61a
SM
73862011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7387
32c1fffd
SM
7388 * pcomplete.el: Require comint.
7389 (pcomplete--common-suffix): Remove.
7390 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7391 (pcomplete--table-subvert): Sync with comint--table-subvert.
7392 (pcomplete--entries): Use comint-completion-file-name-table.
7393 * comint.el (comint-unquote-filename): Simplify.
7394 (comint-completion-file-name-table): New function (bug#9616).
7395 (comint--complete-file-name-data): Use it.
7396
428fe61a
SM
7397 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7398 (pcmpl-gnu-tar-buffer): Remove.
7399 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7400 around. Make sure pcomplete-suffix-list is only changed temporarily.
7401 Don't look inside the tar's file if it's too large.
428fe61a 7402
04c52e2f
CY
74032011-10-01 Chong Yidong <cyd@stupidchicken.com>
7404
ce3cefcc
CY
7405 * cus-edit.el (custom-mode-map):
7406 * epa.el (epa-key-list-mode-map):
7407 * man.el (Man-mode-map):
7408 * startup.el (splash-screen-keymap):
7409 * simple.el (special-mode-map): Use scroll-up-command and
7410 scroll-down-command.
7411
7412 * progmodes/idlw-help.el (idlwave-help-mode-map):
7413 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7414 * net/newst-plainview.el (newsticker-mode-map):
7415 * emulation/ws-mode.el (wordstar-mode-map):
7416 * emulation/vi.el (vi-com-map):
7417 * calc/calc-graph.el (calc-graph-show-dumb):
7418 * term/sun.el (terminal-init-sun):
7419 * term/ns-win.el (global-map):
7420 * progmodes/grep.el (grep-mode-map):
7421 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7422 * mail/rmail.el (rmail-mode-map):
7423 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7424
04c52e2f
CY
7425 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7426 custom-safe-themes as special.
7427
79adf8c8
JD
74282011-10-01 Julien Danjou <julien@danjou.info>
7429
7430 * notifications.el (notifications-notify): Fix docstring.
7431
63bd50d3
PS
74322011-10-01 Per Starbäck <per@starback.se>
7433
7434 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7435
199e4c7e
MR
74362011-09-30 Martin Rudalics <rudalics@gmx.at>
7437
7438 * startup.el (command-line-1): Fix last fix by inserting
7439 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7440 (Bug#9605) and (Bug#9636)
199e4c7e 7441
fe5f08dd
EZ
74422011-09-29 Eli Zaretskii <eliz@gnu.org>
7443
7444 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7445 window is hscrolled, move by logical lines. (Bug#9607)
7446 (line-move-visual): Update the doc string to the above effect.
7447
b5516bbd
MR
74482011-09-29 Martin Rudalics <rudalics@gmx.at>
7449
ccee00c0
MR
7450 * window.el (display-buffer-record-window): When WINDOW is the
7451 selected window use `point' instead of `window-point'. (Bug#9626)
7452
b5516bbd
MR
7453 * startup.el (command-line-1): Use insert-before-markers when
7454 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7455
b5516bbd
MR
7456 * help.el (help-window): Remove variable.
7457
52aa0014
GM
74582011-09-29 Glenn Morris <rgm@gnu.org>
7459
7460 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7461
df9a7357
JB
74622011-09-29 Juanma Barranquero <lekktu@gmail.com>
7463
7464 * descr-text.el (describe-char-categories): Accept category
7465 descriptions more than one line long.
7466
a8406c20
SM
74672011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7468
88d9610c
SM
7469 * simple.el (delete-trailing-whitespace): Fix last change.
7470
a5daf810
SM
7471 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7472 Don't confuse "y => 3" as the beginning of a `y' operation.
7473
a8406c20
SM
7474 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7475 object has more than 4 slots (bug#9613).
7476
a239d4e9
JB
74772011-09-28 Juanma Barranquero <lekktu@gmail.com>
7478
7479 * subr.el (with-output-to-temp-buffer):
7480 * net/quickurl.el (quickurl, quickurl-browse-url):
7481 Fix typos in docstrings.
7482
693fbdb6
EZ
74832011-09-27 Eli Zaretskii <eliz@gnu.org>
7484
7485 * minibuffer.el (completion-styles)
7486 (completion-category-overrides): Cross reference each other in doc
7487 strings.
7488
8b457e28
GM
74892011-09-27 Glenn Morris <rgm@gnu.org>
7490
7491 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7492 to split-string. (Bug#9606)
7493
85a16208
LMI
74942011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7495
7496 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7497 (bug#9615).
7498
502f9ebd
CY
74992011-09-27 Chong Yidong <cyd@stupidchicken.com>
7500
7501 * emacs-lisp/package.el (list-packages): Fix echo area message.
7502
7690bdea
LL
75032011-09-27 Leo Liu <sdl.web@gmail.com>
7504
7505 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7506
e2ee6f30
MA
75072011-09-25 Michael Albinus <michael.albinus@gmx.de>
7508
7509 * net/dbus.el (dbus-unregister-object): Don't release services for
7510 registered signals. (Bug#9581)
7511
f3f98342
TZ
75122011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7513
7514 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7515 function that picks between cfengine 2 and 3 support
7516 automatically. Update docs accordingly.
7517
dd7aa8dd
KH
75182011-09-22 Kenichi Handa <handa@m17n.org>
7519
7520 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7521 ZERO.
7522 (indian-itrans-v5-table-for-tamil): New variable.
7523 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7524
3f2b07f8
KM
75252011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7526
7527 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7528 that's true if the current command involved collapsing of text.
7529 It's reset to false at the beginning of the next command.
7530 (allout-post-command-business): Move the cursor to the beginning
7531 of entry if the cursor is hidden and collapsing activity just
7532 happened.
7533
371d6a61
CY
75342011-09-24 Chong Yidong <cyd@stupidchicken.com>
7535
7536 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7537 tracking (Bug#9541).
7538
2ac2721a
UJ
75392011-09-24 Ulf Jasper <ulf.jasper@web.de>
7540
7541 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7542 (newsticker-show-news): Automatically load html rendering package
7543 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7544 because w3m-fill-column is let-bound" and the error "Symbol's value
7545 as variable is void: w3m-fill-column".
2ac2721a 7546
fac7ae53
MA
75472011-09-24 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7550 Release services only if they are defined. (Bug#9581)
7551
e08b633b
RS
75522011-09-23 Richard Stallman <rms@gnu.org>
7553
e488d29c
RS
7554 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7555 distinguish start of paragraph from start of its text.
7556
19c38752
RS
7557 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7558
e08b633b
RS
7559 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7560 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7561 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7562
0a39f27e
AS
75632011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7564
7565 * international/mule-diag.el (mule-diag): Insert a newline after
7566 each fontset description.
7567
db4e950d
SM
75682011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * simple.el (delete-trailing-whitespace):
7571 Document last change; simplify.
7572
eca3f3ea
PW
75732011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7574
d68e189a
PW
7575 * simple.el (delete-trailing-whitespace): Also delete
7576 extra newlines at the end of the buffer.
7577
eca3f3ea
PW
7578 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7579 (picture-newline): Use forward-line so as to ignore fields.
7580
01c157cc
SM
75812011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * subr.el (with-wrapper-hook): Fix edebug spec.
7584
022de23e
LMI
75852011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7586
7587 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7588 (bug#4538).
7589
91683089
MA
75902011-09-23 Michael Albinus <michael.albinus@gmx.de>
7591
eca3f3ea
PW
7592 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7593 Fix nasty bug using wrong cached values.
91683089 7594
5bdd6fa4
AM
75952011-09-23 Alan Mackenzie <acm@muc.de>
7596
7597 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7598
97adfb97
CY
75992011-09-23 Chong Yidong <cyd@stupidchicken.com>
7600
7601 * window.el (pop-to-buffer): Ensure right window is selected if we
7602 chose another frame.
7603
d4ef2b50
EZ
76042011-09-22 Eli Zaretskii <eliz@gnu.org>
7605
7606 * simple.el (what-cursor-position): Use get-char-property-change
7607 and next-single-char-property-change, to be able to show display
7608 properties that come from overlays as well as text properties.
7609
72258fe5
CY
76102011-09-22 Chong Yidong <cyd@stupidchicken.com>
7611
7612 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7613
7614 * cmuscheme.el (run-scheme, switch-to-scheme):
7615 * cus-edit.el (customize-group, custom-buffer-create)
7616 (customize-browse):
7617 * info.el (info):
7618 * shell.el (shell):
7619 * mail/sendmail.el (mail):
7620 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7621
8f098516
RS
76222011-09-22 Richard Stallman <rms@gnu.org>
7623
7624 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7625 move back only to line beg, don't move back over blank lines.
7626
e74f1bb6
MA
76272011-09-22 Michael Albinus <michael.albinus@gmx.de>
7628
7629 * files.el (copy-directory): Set directory attributes only in case
7630 they could be retrieved from the source directory. (Bug#9565)
7631
bfeef8b6
DK
76322011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7633
7634 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7635 (hs-find-block-beginning, hs-hide-level-recursive):
7636 Ignore strings as well as comments. (Bug#9502)
7637
7e423bb8
AS
76382011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7639
7640 * progmodes/sql.el (sql-comint-postgres):
7641 Convert port number to a string. (Bug#9566)
7642
b4d72fcf
MR
76432011-09-22 Martin Rudalics <rudalics@gmx.at>
7644
7645 * window.el (quit-window): Undedicate window when switching to
7646 previous buffer. Reported by Thierry Volpiatto
7647 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7648 (special-display-popup-frame): When popping up a new frame reset
7649 its previous buffers to nil. Simplify code.
b4d72fcf 7650
a7b88dc6
MA
76512011-09-21 Michael Albinus <michael.albinus@gmx.de>
7652
7653 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7654 and process filter, as done also in `shell-command'.
7655
cf4eacfd
MR
76562011-09-21 Martin Rudalics <rudalics@gmx.at>
7657
eca3f3ea 7658 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7659 Call set-window-start with NOFORCE argument t.
7660 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7661 (quit-window): Reword doc-string. Handle new format of
7662 quit-restore parameter. Don't delete window if it has a
7663 previous buffer we can show instead of the present one.
7664 (display-buffer-record-window): Rewrite using a new format for
7665 the quit-restore window parameter
7666 (special-display-popup-frame, display-buffer-same-window)
7667 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7668 (display-buffer-pop-up-window, display-buffer-use-some-window):
7669 Adapt symbol passed to display-buffer-record-window.
7670 * help.el (help-window-setup): Handle new format of quit-restore
7671 parameter.
7672
8d28cb95
SM
76732011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7674
94ab793f
SM
7675 * faces.el (face-list): Fix docstring (bug#9564).
7676
8d28cb95
SM
7677 * window.el (display-buffer--action-function-custom-type):
7678 Don't include internal functions in the Custom interface.
7679
3820edeb
JL
76802011-09-20 Juri Linkov <juri@jurta.org>
7681
7682 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7683 (Info-forward-node, Info-backward-node, Info-next-preorder)
7684 (Info-last-preorder): Use it. (Bug#9528)
7685
5147931d
JL
76862011-09-20 Juri Linkov <juri@jurta.org>
7687
7688 * info.el (Info-last-preorder): Visit last menu item only when
7689 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7690
cf499a1a
JD
76912011-09-20 Julien Danjou <julien@danjou.info>
7692
7693 * password-cache.el (password-cache-remove): Remove entries even if the
7694 value is nil, so that password with a nil value (negative caching) is
7695 possible to invalidate.
7696
f84e2fe2
LM
76972011-09-20 Lawrence Mitchell <wence@gmx.li>
7698
7699 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7700 all whitespace around breakpoint. (Bug#9553)
7701 (f90-find-breakpoint): Only break at whitespace inside a comment.
7702
78054a46
SM
77032011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * minibuffer.el (completion-file-name-table): Keep track of errors.
7706 (completion-table-with-predicate): Handle the case where pred1 is nil.
7707 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7708
345083b2
SM
77092011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7710
e24e27be
SM
7711 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7712 (debugger-return-value): Signal an error if the debugging context does
7713 not await any return value.
7714
345083b2
SM
7715 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7716 * image-mode.el (image-toggle-display-text)
7717 (image-toggle-display-image): Stay away from evil `intangible'.
7718
08d355e3
LL
77192011-09-19 Leo Liu <sdl.web@gmail.com>
7720
7721 * replace.el (occur-revert-arguments): Make it permanent-local.
7722 (occur-mode): Don't call font-lock-defontify.
7723
f01da43f
CY
77242011-09-19 Chong Yidong <cyd@stupidchicken.com>
7725
7726 * net/ldap.el (ldap-search-internal): Don't push empty search
7727 result (Bug#9508).
7728
b6072fa6
SM
77292011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7732
443d6696
MA
77332011-09-19 Michael Albinus <michael.albinus@gmx.de>
7734
7735 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7736 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7737
7cc6e154
JL
77382011-09-18 Juri Linkov <juri@jurta.org>
7739
7740 * buff-menu.el (Buffer-menu-mode-map):
7741 * dired.el (dired-mode-map):
7742 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7743 (lisp-interaction-mode-map):
7744 * emacs-lisp/package.el (package-menu-mode-map):
7745 * epa.el (epa-key-list-mode-map):
7746 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7747 (menu-bar-options-menu):
7748 * outline.el (outline-mode-menu-bar-map):
7749 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7750 * vc/vc-dir.el (vc-dir-menu-map):
7751 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7752 Capitalize non-function content words in menu item strings.
7753
7754 * dired.el (dired-mode-map): Add menu item for
7755 `image-dired-dired-toggle-marked-thumbs'.
7756
80302a81
JL
77572011-09-18 Juri Linkov <juri@jurta.org>
7758
7759 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7760 to `isearch-case-fold-search' and restore its original value
7761 after the `isearch-mode' call.
7762
46c5cf66
JL
77632011-09-18 Juri Linkov <juri@jurta.org>
7764
7765 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7766 because `zgrep' returns 1 for successful matches (bug#9226).
7767
d18b513b
JL
77682011-09-18 Juri Linkov <juri@jurta.org>
7769
7770 * info.el (Info-extract-menu-node-name): Check the second match
7771 for empty string (second test-case of bug#9528).
7772 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7773 intermediate nodes to the history (first test-case of bug#9528).
7774
72753f87
JL
77752011-09-18 Juri Linkov <juri@jurta.org>
7776
7777 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7778 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7779
c9384295
JL
77802011-09-18 Juri Linkov <juri@jurta.org>
7781
1154d12e
JB
7782 * info.el (Info-file-supports-index-cookies):
7783 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7784 outputs one more line for long file names (bug#4142).
c9384295 7785
d473dce8
CY
77862011-09-18 Chong Yidong <cyd@stupidchicken.com>
7787
7788 * newcomment.el (comment-normalize-vars): If prompting for
7789 comment-start, set comment-start-skip too (Bug#8424).
7790
2176854d
JB
77912011-09-18 Johan Bockgård <bojohan@gnu.org>
7792
7793 * icomplete.el: Fix previous fix of Bug#5849.
7794 (icomplete-mode): Don't set completion-show-inline-help.
7795 (icomplete-minibuffer-setup): Set completion-show-inline-help
7796 locally during icompletion.
7797
3aace4e4
CY
77982011-09-18 Chong Yidong <cyd@stupidchicken.com>
7799
c940224f
CY
7800 * woman.el (woman2-process-escapes): Don't delete unrecognized
7801 escapes (Bug#7843).
7802
3aace4e4
CY
7803 * files.el (inhibit-first-line-modes-regexps): Add image files.
7804 (hack-local-variables-prop-line): Return nil for malformed
7805 prop-lines (Bug#9044).
7806
710dec63
MA
78072011-09-18 Michael Albinus <michael.albinus@gmx.de>
7808
7809 * net/tramp.el (top): Don't require 'shell.
7810 (tramp-methods): Fix docstring.
7811 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7812 Return complete remote file name. Handle "smb" case.
7813 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7814 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7815
7816 * net/tramp-compat.el (top): Require 'shell.
7817
7818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7819 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7820 `tramp-current-host'.
7821 (tramp-get-remote-tmpdir): Remove.
7822
7823 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7824 `tramp-tmpdir' entries.
7825 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7826 (tramp-smb-handle-file-attributes): Ignore errors.
7827 (tramp-smb-wait-for-output): Check also for process end.
7828
5d5ac8ec
LMI
78292011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7830
7831 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7832 when sending QUIT (bug#9312).
7833
8c0f49f0
CY
78342011-09-17 Chong Yidong <cyd@stupidchicken.com>
7835
7836 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7837 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7838 occur-mode-display-occurrence.
7839 (occur-edit-mode): Add usage message.
7840 (occur-cease-edit): New command.
7841 (occur-after-change-function): Use text properties to find the
7842 position of the prefix text.
7843 (occur-engine): Set stickiness of prefix text properties.
7844
8f1383f7
GM
78452011-09-17 Glenn Morris <rgm@gnu.org>
7846
7847 * progmodes/etags.el (complete-tag):
7848 Fix call to completion-in-region. (Bug#9526)
7849
744ba0e3
JL
78502011-09-17 Juri Linkov <juri@jurta.org>
7851
7852 * textmodes/ispell.el (ispell-word): Add to the error message
7853 the word, ispell program name and current dictionary (bug#9121).
7854 (ispell-tex-arg-end): Capitalize "error" in the error message.
7855
d9bbf400
AS
78562011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7857
7858 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7859 check. (Bug#4251)
7860
8da11505
JL
78612011-09-17 Juri Linkov <juri@jurta.org>
7862
7863 * window.el (window-safe-min-height, window-safe-min-width):
7864 Fix typos (followup to bug#9522).
7865
a91adc7e
SJ
78662011-09-17 Sven Joachim <svenjoac@gmx.de>
7867
7868 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7869
064f328a
EZ
78702011-09-16 Eli Zaretskii <eliz@gnu.org>
7871
7872 * simple.el (line-move): If goal-column is set, move by logical
7873 lines, not by display lines. (Bug#971)
7874 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7875 to reflect the above change.
7876
e69df516
SM
78772011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7878
7879 * image.el (imagemagick-register-types): Use regexp-opt.
7880
cbb0f9ab
CY
78812011-09-15 Chong Yidong <cyd@stupidchicken.com>
7882
7883 * window.el (display-buffer-base-action): Rename from
7884 display-buffer-default-action. Make default value empty.
7885 (display-buffer-overriding-action): Convert to defvar.
7886 (display-buffer-fallback-action): New var.
7887
25322144
CY
78882011-09-15 Chong Yidong <cyd@stupidchicken.com>
7889
7890 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7891 declaration.
7892 (package--add-to-archive-contents): If there is a duplicate entry
7893 with an older version, remove it.
7894 (package-menu-mark-delete, package-menu-mark-install)
7895 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7896 (package-menu-mark-obsolete-for-deletion):
7897 Use package-menu-get-status instead of a regexp search.
25322144
CY
7898 (package-menu-get-status): Use tabulated-list-entry.
7899 (package-menu-mark-upgrades): New command.
d770725a 7900 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7901 (package-menu-execute): Do installation before deletion.
7902 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7903 instead of checking major-mode.
7904 (package-menu--find-upgrades): New function.
7905
7520339c
LMI
79062011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7907
7908 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7909 passwords in the log buffer.
65a046c4
LMI
7910 (smtpmail-process-filter): Update the process marker so that the
7911 "broken by peer" status message is inserted in the right place.
7520339c 7912
d3c30954
SM
79132011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7914
3fe48822
SM
7915 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7916 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7917 bibtex-completion-at-point-function.
7918 (bibtex-completion-at-point-function): Use them.
7919
1b8b3954
SM
7920 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7921
d3c30954
SM
7922 * mpc.el (mpc-constraints-tag-lookup): New function.
7923 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7924 also to browser "album|playlist".
7925
72779976
JL
79262011-09-14 Juri Linkov <juri@jurta.org>
7927
7928 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7929 (isearch-edit-string): Use length of `isearch-string' when
7930 `isearch-fail-pos' returns nil.
7931 (isearch-message): Remove duplicate code and call
7932 `isearch-fail-pos' with arg `t'.
7933
a0bf2bcd
CY
79342011-09-14 Chong Yidong <cyd@stupidchicken.com>
7935
17bb0a2d
CY
7936 * replace.el (occur-mode-goto-occurrence): Don't force using other
7937 window (Bug#9499).
7938
a0bf2bcd
CY
7939 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7940
f678e0b6
MR
79412011-09-14 Martin Rudalics <rudalics@gmx.at>
7942
7943 * window.el (display-buffer-window): Remove.
7944 (display-buffer-record-window): Use help-setup window parameter
7945 instead of variable display-buffer-window.
7946 (display-buffer-function, special-display-buffer-names)
7947 (special-display-function): Mention help-setup parameter instead
7948 of display-buffer-window in doc-string.
d3c30954
SM
7949 * help.el (help-window-setup): New argument help-window.
7950 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7951 Reword some messages.
7952 (with-help-window): Pass window used for displaying the buffer
7953 to help-window-setup. Don't set display-buffer-window.
7954
8e39b2e8
GM
79552011-09-13 Glenn Morris <rgm@gnu.org>
7956
7957 * emacs-lisp/debug.el (debugger-make-xrefs):
7958 Preserve point. (Bug#9462)
7959
85e9c04b
CY
79602011-09-13 Chong Yidong <cyd@stupidchicken.com>
7961
7962 * window.el (window-deletable-p): Use next-frame.
7963
1b36ed6a
MR
79642011-09-13 Martin Rudalics <rudalics@gmx.at>
7965
7966 * window.el (window-auto-delete): Remove.
7967 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7968 dedication and previous buffers.
1b36ed6a
MR
7969 (switch-to-prev-buffer): Don't delete window.
7970 (delete-windows-on): Delete a window's frame if and only if the
7971 window is dedicated.
7972 (replace-buffer-in-windows): Delete buffer's window or frame if
7973 and only if window is dedicated.
7974 (quit-window): Handle quit-restore as before last change.
4d61f28d 7975 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7976
ef8ef9fb
CY
79772011-09-13 Chong Yidong <cyd@stupidchicken.com>
7978
7979 * window.el (window-deletable-p): Never delete the last frame on a
7980 given terminal.
7981
b2cba41e
GM
79822011-09-13 Glenn Morris <rgm@gnu.org>
7983
7984 * help.el (describe-key-briefly): Copy previous standard-output change.
7985
51553db6 79862011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7987
7988 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7989
b7556719
GM
79902011-09-13 Glenn Morris <rgm@gnu.org>
7991
7992 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7993 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7994
64b51947
CY
79952011-09-12 Chong Yidong <cyd@stupidchicken.com>
7996
7997 * dired-aux.el (dired-mark-read-string): Don't return default
7998 value on empty input (Bug#9361).
7999 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8000 Omit initial minibuffer contents.
8001 (dired-do-chmod): Signal an error on empty input.
8002 (dired-mark-read-string): Don't return default on empty input.
8003
8004 * files.el (file-modes-symbolic-to-number): Doc fix.
8005
393a301e
SM
80062011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * international/mule-cmds.el (ucs-completions): Remove.
8009 (read-char-by-name): Use complete-with-action instead; add metadata.
8010
fa5660f9
CY
80112011-09-11 Chong Yidong <cyd@stupidchicken.com>
8012
8013 * window.el (display-buffer--action-function-custom-type)
8014 (display-buffer--action-custom-type): New vars.
8015 (display-buffer-alist, display-buffer-default-action)
8016 (display-buffer-overriding-action): Add defcustom types.
8017
4a592f66
CY
8018 * frame.el (delete-other-frames): Doc fix (Bug#276).
8019
73d56dbd
LMI
80202011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8021
8022 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8023
37ac18a3
CY
80242011-09-11 Chong Yidong <cyd@stupidchicken.com>
8025
8026 Change modes that used same-window-* vars to use switch-to-buffer.
8027
8028 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8029 Use switch-to-buffer.
8030
8031 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8032 (customize-browse, custom-buffer-create-other-window):
8033 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8034
8035 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8036 (Info-prev, Info-up, Info-speedbar-goto-node)
8037 (info-display-manual): Use switch-to-buffer.
8038 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8039
8040 * mail/sendmail.el (mail): Use switch-to-buffer.
8041 (mail-recover): Use switch-to-buffer-other-window.
8042
8043 * cmuscheme.el (run-scheme, switch-to-scheme):
8044 * ielm.el (ielm):
8045 * shell.el (shell):
8046 * net/rlogin.el (rlogin):
8047 * net/telnet.el (telnet, rsh):
8048 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8049
10195bd6
AS
80502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8051
8052 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8053
b322f63a
LMI
80542011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8055
39d7fed6
LMI
8056 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8057 so don't mention it (bug#9301).
ba5a81f1 8058 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8059
ee0e9f11
LMI
8060 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8061 match `x', `w32' and `ns', like the manual says (bug#9029).
8062
0b1c89c1 8063 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8064 (process-kill-buffer-query-function): Mention the buffer name in
8065 the query.
0b1c89c1 8066
77549ea8
LMI
8067 * image-mode.el (image-next-line): The line parameter is mandatory
8068 (bug#9258).
8069
803ef892
LMI
8070 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8071 which can be useful (bug#9301).
8072
12980837
LMI
8073 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8074
91054f8f
LMI
8075 * subr.el (match-string): Mention that the current buffer should
8076 be the same as the search was done in (bug#9282).
8077
b322f63a
LMI
8078 * facemenu.el: Disable the remove-* commands if the mark isn't
8079 active (bug#9162).
8080
3199b96f
CY
80812011-09-10 Chong Yidong <cyd@stupidchicken.com>
8082
8083 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8084 of display-buffer.
8085 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8086
8087 * replace.el (occur-mode-goto-occurrence)
8088 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8089 and display-buffer.
8090
8091 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8092 display-buffer.
8093
8094 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8095 special-display and same-window variables.
8096 (mail-other-window): Use switch-to-buffer-other-window.
8097 (mail-other-frame): USe switch-to-buffer-other-frame.
8098
393a301e
SM
8099 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8100 Use display-buffer-other-frame.
3199b96f
CY
8101 (gdb-display-gdb-buffer): Use pop-to-buffer.
8102
8103 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8104
8105 * progmodes/python.el: Don't set same-window-buffer-names.
8106
8107 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8108
8109 * window.el (display-buffer-alist): Add *Python*.
8110
8319e0bf
CY
81112011-09-10 Chong Yidong <cyd@stupidchicken.com>
8112
8113 * window.el (display-buffer-alist): Add entry for buffers
8114 previously handled same-window-*.
8115 (display-buffer-alist, display-buffer-default-action)
8116 (display-buffer-overriding-action): Mark as risky.
8117 (display-buffer-alist): Document action function changes.
8118 (display-buffer--same-window-action)
8119 (display-buffer--other-frame-action): New variables.
8120 (switch-to-buffer, display-buffer-other-frame): Use them.
8121 (display-buffer): Rename reuse-frame entry to reusable-frames.
8122 (display-buffer-reuse-selected-window): Function deleted.
8123 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8124 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8125 (display-buffer-special): New function.
8126 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8127 display-buffer-reuse-or-pop-window. Split off special-display
8128 part into display-buffer-special.
8129 (display-buffer-use-some-window): Don't perform any special
8130 pop-up-frames handling.
8131 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8132 (display-buffer--maybe-same-window): Rename from
0d3ff375 8133 display-buffer-maybe-same-window.
8319e0bf 8134
919a69aa
CY
8135 * info.el: Don't set same-window-regexps.
8136 (info-setup): New function.
8137 (info-other-window, info): Call it.
8138
8139 * cus-edit.el: Don't set same-window-regexps.
8140 (customize-group): New argument.
8141 (customize-group-other-window): Use it.
8142 (customize-face, customize-face-other-window): Likewise.
8143 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8144
8319e0bf
CY
8145 * net/rlogin.el:
8146 * net/telnet.el:
8147 * progmodes/gud.el: Don't set same-window-regexps.
8148
8149 * cmuscheme.el:
8150 * ielm.el:
8151 * shell.el:
8152 * mail/sendmail.el:
8153 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8154
25173000
JL
81552011-09-10 Juri Linkov <juri@jurta.org>
8156
8157 * isearch.el (isearch-edit-string): Remove obsolete mention of
8158 `C-w' (`isearch-yank-word-or-char') from docstring.
8159 (isearch-query-replace): Fix typo in docstring (bug#9466).
8160
056e44ef
JL
81612011-09-10 Juri Linkov <juri@jurta.org>
8162
8163 * paren.el (show-paren-function): Don't show escaped parens.
8164 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8165
c3760c17
EZ
81662011-09-10 Eli Zaretskii <eliz@gnu.org>
8167
8168 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8169 (mm-default-file-encoding): Remove autoload forms, they are
8170 replaced with autoload cookies in mml.el and mm-encode.el.
8171 (mail-add-attachment): New command.
8172 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8173 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8174 the doc string.
8175 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8176
fece895e
RT
81772011-09-10 Reuben Thomas <rrt@sc3d.org>
8178
e69df516
SM
8179 * simple.el (count-words-region): Use buffer if there's no region
8180 (bug#9429).
fece895e 8181
5e68ce4a
JL
81822011-09-09 Juri Linkov <juri@jurta.org>
8183
8184 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8185 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8186 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8187
0a6b9622
AM
81882011-09-09 Alan Mackenzie <acm@muc.de>
8189
8190 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8191 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8192
14a29deb
EZ
81932011-09-09 Eli Zaretskii <eliz@gnu.org>
8194
8195 Fix for Savannah bug#9392.
8196 * simple.el (mail-encode-mml): New defvar.
8197
8198 * mail/rmail.el (mail-encode-mml): Add a defvar.
8199 (rmail-enable-mime-composing): Default to t.
8200 (rmail-forward): Use MIME method of forwarding only if both
8201 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8202 Set mail-encode-mml non-nil if the MIME method was used.
8203
8204 * mail/sendmail.el (mml-to-mime): Add autoload form.
8205 (mail-encode-mml): Add a defvar.
8206 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8207 to nil.
8208 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8209 message through mml-to-mime, and reset mail-encode-mml to nil.
8210
28c45130
GM
82112011-09-09 Glenn Morris <rgm@gnu.org>
8212
8213 * woman.el (woman-if-body): When processing an .el block,
8214 do not delete the next .el block as well. (Bug#9447)
69f4b618 8215 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8216
9b1c252e
MR
82172011-09-08 Martin Rudalics <rudalics@gmx.at>
8218
8219 * window.el (window-deletable-p): Make sure window is live before
8220 invoking window-prev-buffers.
8221
567457e3
LL
82222011-09-08 Leo Liu <sdl.web@gmail.com>
8223
8224 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8225
97f05794
JL
82262011-09-08 Juri Linkov <juri@jurta.org>
8227
8228 * progmodes/compile.el (compilation-environment): Make it
8229 a defcustom (bug#8340).
8230
8b0874b5
MR
82312011-09-08 Martin Rudalics <rudalics@gmx.at>
8232
8233 * window.el (frame-auto-delete): Rename to window-auto-delete.
8234 Make it control auto-deletion of windows and/or frames.
8235 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8236 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8237 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8238 Rewrite handling of case when window/frame can be deleted.
8239 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8240 argument t. (Bug#9456)
8b0874b5 8241
4feb6e73
CY
82422011-09-07 Chong Yidong <cyd@stupidchicken.com>
8243
8244 * help-mode.el (help-mode): Restore autoload.
8245
91ab9c13
JL
82462011-09-07 Juri Linkov <juri@jurta.org>
8247
8248 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8249 `compilation-environment'. Set buffer-local
8250 `compilation-environment' to `thisenv' later after (funcall mode).
8251 (Bug#8340)
8252
8253 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8254 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8255 instead of replacing its value. (Bug#8340)
8256
0527e251
JL
82572011-09-07 Juri Linkov <juri@jurta.org>
8258
8259 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8260 based on text properties put by `grep-filter' instead of matching
8261 escape sequences.
8262 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8263 to the value of `grep-error-screen-columns' (bug#9438).
8264
249f792c
JL
82652011-09-07 Juri Linkov <juri@jurta.org>
8266
8267 * simple.el (next-error-highlight, next-error-highlight-no-select):
8268 Doc fix (bug#9432).
8269
ff7271b9
OT
82702011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8271
8272 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8273 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8274
183fc730
LL
82752011-09-07 Leo Liu <sdl.web@gmail.com>
8276
8277 * net/rcirc.el (rcirc-mode): Conditionally initialize
8278 rcirc-input-ring.
8279
77694924
SM
82802011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * emacs-lisp/find-func.el (find-function-C-source): Only set
8283 find-function-C-source-directory after checking that we found a source
8284 file there (bug#9440).
8285
d809b8eb
AM
82862011-09-06 Alan Mackenzie <acm@muc.de>
8287
8288 * isearch.el (isearch-other-meta-char): Wherever a key list is
8289 unread, "unread" the prefix arg, too. This fixes bug #8901.
8290
453de99f
OG
82912011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8292
8293 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8294
90439906
JL
82952011-09-05 Juri Linkov <juri@jurta.org>
8296
8297 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8298
f62bd846
JL
82992011-09-05 Juri Linkov <juri@jurta.org>
8300
8301 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8302 keeping point where processing of grep matches begins, and
8303 continue to delete remaining escape sequences from the same point.
8304 (grep-filter): Make leading zero optional in "0?1;31m" because
8305 git-grep emits "\033[1;31m" escape sequences unlike expected
8306 "\033[01;31m" as GNU Grep does (bug#9408).
8307 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8308
045820ec
JL
83092011-09-05 Juri Linkov <juri@jurta.org>
8310
8311 * subr.el (y-or-n-p): Capitalize "yes".
8312
f5e29b9b
MA
83132011-09-04 Michael Albinus <michael.albinus@gmx.de>
8314
8315 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8316 `tramp-cache-unload-hook' where appropriate.
8317 (tramp-methods): Rename `tramp-remote-sh' to
8318 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8319 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8320
8321 * net/tramp-sh.el (top): Don't require 'shell.
8322 (tramp-methods): Add `tramp-remote-shell' and
8323 `tramp-remote-shell-args' entries.
8324 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8325 (tramp-sh-handle-shell-command): Remove.
8326 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8327 Use `tramp-remote-shell'.
8328
2784c434
CY
83292011-09-03 Chong Yidong <cyd@stupidchicken.com>
8330
393a301e 8331 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8332 (sendmail-query-once): Save directly to send-mail-function.
8333 Update message-send-mail-function too.
8334
8335 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8336
464cdf56
CS
83372011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8338
8339 * progmodes/python.el (python-mode-map): Use correct function to
8340 start python interpreter from menu-bar (as reported by Geert
8341 Kloosterman).
8342 (inferior-python-mode-map): Fix typo.
393a301e 8343 (python-shell-map): Remove.
464cdf56 8344
d37e5c87
DD
83452011-09-03 Deniz Dogan <deniz@dogan.se>
8346
8347 * net/rcirc.el (rcirc-print): Simplify code for
8348 rcirc-scroll-show-maximum-output. There is no need to walk
8349 through all windows to find the right one.
8350
f3ada0ee
CS
83512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8352
8353 * help.el (help-return-method): Doc fix.
8354
1f3c99ca
MR
83552011-09-03 Martin Rudalics <rudalics@gmx.at>
8356
8357 * window.el (window-deletable-p): Don't return a non-nil value
8358 when there's a buffer that was shown in the window before.
8359 (Bug#9419)
393a301e
SM
8360 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8361 Set window's previous buffers to nil.
1f3c99ca 8362
a3cf097f
EZ
83632011-09-03 Eli Zaretskii <eliz@gnu.org>
8364
8365 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8366 newline before and after the tag line, so it doesn't interfere
8367 with determining the paragraph direction of bidirectional text.
8368
3d03de90
LL
83692011-09-03 Leo Liu <sdl.web@gmail.com>
8370
8371 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8372
c3313451
CY
83732011-09-02 Chong Yidong <cyd@stupidchicken.com>
8374
393a301e 8375 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8376 (pop-to-buffer): Change interactive spec. Pass second argument
8377 directly to display-buffer.
8378 (display-buffer): Fix interactive spec. Use functionp to
8379 distinguish between a function and a list of functions.
8380
8381 * abbrev.el (edit-abbrevs):
8382 * arc-mode.el (archive-extract):
8383 * autoinsert.el (auto-insert):
8384 * bookmark.el (bookmark-bmenu-list):
8385 * files.el (find-file):
8386 * view.el (view-buffer):
8387 * progmodes/compile.el (compilation-goto-locus):
8388 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8389
89894cd8
CY
83902011-09-02 Chong Yidong <cyd@stupidchicken.com>
8391
8392 * window.el (display-buffer-alist): Doc fix.
8393 (display-buffer): Add docstring. Don't treat
8394 display-buffer-default specially.
8395 (display-buffer-reuse-selected-window)
8396 (display-buffer-same-window, display-buffer-maybe-same-window)
8397 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8398 (display-buffer-pop-up-window)
8399 (display-buffer-reuse-or-pop-window)
8400 (display-buffer-use-some-window): New functions.
8401 (display-buffer-default-action): Use them.
393a301e 8402 (display-buffer-default): Delete.
89894cd8
CY
8403 (pop-to-buffer-1): Fix choice of actions.
8404
ae0bc9fb
SM
84052011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * minibuffer.el (completion--insert-strings): Don't get confused by
8408 completion entries that end with an LF char.
8409
e9d90883
EZ
84102011-09-01 Eli Zaretskii <eliz@gnu.org>
8411
8412 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8413
437014c8
CY
84142011-09-01 Chong Yidong <cyd@stupidchicken.com>
8415
8416 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8417 (display-buffer-same-window, display-buffer-other-window):
8418 New functions.
437014c8
CY
8419 (pop-to-buffer-1): New function. Use the above.
8420 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8421 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8422
8423 * view.el (view-buffer-other-window, view-buffer-other-frame):
8424 Just use pop-to-buffer.
8425
a5e063d5
TV
84262011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8427
8428 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8429
793d32bb
WH
84302011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8431
8432 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8433
d65e4c15
RS
84342011-08-31 Richard Stallman <rms@gnu.org>
8435
8436 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8437 of the separation of rmail-view-buffer from rmail-buffer.
8438 If you say no to "replace original", the decrypt is in the
8439 view buffer. If you say yes, the decrypt goes into the
8440 rmail buffer also.
8441
f818cd2a
MR
84422011-08-31 Martin Rudalics <rudalics@gmx.at>
8443
8444 * window.el (display-buffer-window): Rewrite doc-string.
8445 (display-buffer-record-window): New function.
8446 (display-buffer-macro-specifiers)
8447 (display-buffer-even-window-sizes, display-buffer-set-height)
8448 (display-buffer-set-width, display-buffer-in-window)
8449 (display-buffer-reuse-window, display-buffer-split-specifiers)
8450 (display-buffer-side-specifiers, display-buffer-split-window-1)
8451 (display-buffer-split-window, display-buffer-split-atom-window)
8452 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8453 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8454 (display-buffer-other-window-means-other-frame)
8455 (display-buffer-normalize-special)
8456 (display-buffer-normalize-default)
8457 (display-buffer-normalize-argument)
8458 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8459 (display-buffer-normalize-specifiers, display-buffer-frame)
8460 (display-buffer-same-window, display-buffer-same-frame)
8461 (display-buffer-other-window)
8462 (display-buffer-same-frame-other-window)
8463 (display-buffer-other-frame, pop-to-buffer-same-window)
8464 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8465 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8466 (switch-to-buffer-same-frame)
8467 (switch-to-buffer-other-window-same-frame)
8468 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8469 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8470 (display-buffer-alist-set): Remove.
8471 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8472 (special-display-regexps, special-display-function):
8473 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8474 parameter.
8475 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8476 (special-display-frame-alist, special-display-popup-frame)
8477 (same-window-buffer-names, same-window-regexps, same-window-p)
8478 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8479 (split-window-preferred-function, split-height-threshold)
8480 (split-width-threshold, window-splittable-p)
8481 (split-window-sensibly, window--try-to-split-window)
8482 (window--frame-usable-p, even-window-heights)
8483 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8484 (window--display-buffer-2, display-buffer-other-frame):
8485 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8486 (display-buffer-default, display-buffer-assq-regexp): New functions.
8487 (display-buffer-alist): Rewrite doc-string.
8488 (display-buffer-default-action)
8489 (display-buffer-overriding-action): New variables.
8490 (display-buffer, switch-to-buffer): Rewrite.
8491 (pop-to-buffer): Restore Emacs 23 behavior but use
8492 window-normalize-buffer-to-display.
8493 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8494 Restore Emacs 23 behavior but use
8495 window-normalize-buffer-to-switch-to.
8496 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8497 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8498 Rewrite using Emacs 23 options.
f818cd2a 8499
5bc3b51d
MA
85002011-08-31 Michael Albinus <michael.albinus@gmx.de>
8501
8502 * net/tramp.el (tramp-root-regexp): Remove.
8503 (tramp-completion-file-name-regexp-unified)
8504 (tramp-completion-file-name-regexp-separate)
8505 (tramp-completion-file-name-regexp-url): Don't use leading volume
8506 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8507 (tramp-drop-volume-letter): Simplify definition.
8508 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8509
b1a4f8e1
SM
85102011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8513 (bug#9356).
8514
5664fa7b
RT
85152011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8516
b1a4f8e1 8517 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8518
9a45d6c3
JL
85192011-08-29 Juri Linkov <juri@jurta.org>
8520
8521 * isearch.el (isearch-done): Don't display message "Mark saved"
8522 when arg `edit' is non-nil to prevent its flicker in the echo area.
8523
fb87e0fb
CY
85242011-08-28 Chong Yidong <cyd@stupidchicken.com>
8525
8526 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8527 obsolete packages for deletion.
8528
09ac1c2a
CS
85292011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8530
8531 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8532 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8533 view-mode from help-mode.
8534 (help-xref-override-view-map): Remove.
8535 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8536 view-mode is not used anymore.
8537
7a1ff57f
CY
85382011-08-28 Chong Yidong <cyd@stupidchicken.com>
8539
8540 * server.el (server-port): Doc fix.
8541
b9696605
CY
8542 * cus-theme.el (custom-theme-choose-mode): Inherit from
8543 special-mode (Bug#9124).
8544 (custom-theme-choose-mode-map): Add special-mode to parent.
8545
ef8cdf8c
AM
85462011-08-28 Alan Mackenzie <acm@muc.de>
8547
8548 * progmodes/cc-fonts.el
8549 (c-make-font-lock-BO-decl-search-function): New function.
8550 (c-basic-matchers-after - "Fontify the clauses after various
8551 keywords"): Extract the three keyword lists for the 3 erroneous
8552 constructs from the list of four, and use the new function above
8553 in place of an old one.
8554
27de4e20
DD
85552011-08-28 Deniz Dogan <deniz@dogan.se>
8556
8557 * net/rcirc.el (rcirc-insert-prev-input)
8558 (rcirc-insert-next-input): Remove unused argument.
8559
356a3681
SM
85602011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8563
3fc9b218
AM
85642011-08-27 Alan Mackenzie <acm@muc.de>
8565
8566 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8567 handle function pointer parameters properly.
8568
538a061c
MR
85692011-08-27 Martin Rudalics <rudalics@gmx.at>
8570
8571 * window.el (display-buffer-reuse-window): Fix case where
8572 selected window was reused with non-nil OTHER-WINDOW argument.
8573 (Bug#9381)
8574
35b1c40c
DD
85752011-08-27 Deniz Dogan <deniz@dogan.se>
8576
8577 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8578 oftc's NickServ messages.
8579
2f6a3e79
GM
85802011-08-27 Glenn Morris <rgm@gnu.org>
8581
8582 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8583
7254299e
CY
85842011-08-26 Chong Yidong <cyd@stupidchicken.com>
8585
8586 * emacs-lisp/package.el (package-install): Call package-initialize
8587 if called interactively.
8588
f8ccf167
LL
85892011-08-26 Leo Liu <sdl.web@gmail.com>
8590
8591 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8592
3e8cd5ce
JL
85932011-08-25 Juri Linkov <juri@jurta.org>
8594
8595 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8596 `search-whitespace-regexp' (bug#9364).
8597
93eb7113
JL
85982011-08-25 Juri Linkov <juri@jurta.org>
8599
8600 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8601 `regexp-search-ring' to their global values to protect from
8602 updating by `read-from-minibuffer' (bug#9185).
8603
f65d1611
JL
86042011-08-25 Juri Linkov <juri@jurta.org>
8605
8606 * textmodes/ispell.el (ispell-command-loop): Add newline
8607 at the end of the "Use option `i'..." line.
8608
f1cf7a31
JL
86092011-08-25 Juri Linkov <juri@jurta.org>
8610
8611 * battery.el (display-battery-mode): If `battery-status-function'
8612 or `battery-mode-line-format' is nil, display the message and set
8613 `display-battery-mode' to nil (bug#9363).
8614
0c95fcf7
EZ
86152011-08-25 Eli Zaretskii <eliz@gnu.org>
8616
8617 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8618 bidi-string-mark-left-to-right; they are unnecessary now.
8619
a2ebe600
DD
86202011-08-25 Deniz Dogan <deniz@dogan.se>
8621
8622 * net/quickurl.el: Documentation typo fixes.
8623
e4ed06f1
CY
86242011-08-25 Chong Yidong <cyd@stupidchicken.com>
8625
8626 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8627
e5f1c99e
GM
86282011-08-25 Glenn Morris <rgm@gnu.org>
8629
b2948976
GM
8630 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8631
e5f1c99e
GM
8632 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8633 (smtpmail-via-smtp): Handle nil response from smtp.
8634
f22f4808
JL
86352011-08-24 Juri Linkov <juri@jurta.org>
8636
8637 * proced.el (proced-marked): Inherit from `error' instead of
8638 `font-lock-warning-face'.
8639
8640 * ibuffer.el (ibuffer-marked-face): Change default face from
8641 `font-lock-warning-face' to `warning'.
8642 (ibuffer-deletion-face): Change default face from
8643 `font-lock-type-face' to `error'.
8644
8645 * battery.el (battery-update): Use the face `error' instead of
8646 `font-lock-warning-face' (bug#6117).
8647
6a93965e
JL
86482011-08-24 Juri Linkov <juri@jurta.org>
8649
8650 * faces.el (success): Change face color from "Green3" to
8651 "ForestGreen" on light background (bug#9353).
8652
1ed43b09
CY
86532011-08-24 Chong Yidong <cyd@stupidchicken.com>
8654
5664fa7b
RT
8655 * window.el (quit-window): Rename from quit-restore-window.
8656 Use same arglist as old quit-window.
1ed43b09
CY
8657 (frame-auto-delete): Doc fix.
8658
8659 * view.el (view-mode-exit): Use quit-window.
8660
11dcdbb2
JL
86612011-08-24 Juri Linkov <juri@jurta.org>
8662
8663 * isearch.el (isearch-ring-adjust1): Start visiting previous
8664 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8665 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8666 for empty search string (when the last search string is reused
8667 automatically) to adjust the isearch ring to the last element and
8668 prepare the correct index for further M-p commands (bug#9185).
8669
de62b4df
KH
86702011-08-24 Kenichi Handa <handa@m17n.org>
8671
8672 * international/ucs-normalize.el: If decomposition property of
8673 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8674 nil.
8675 (nfd, nfkd): Likewise.
8676
963b492b
SM
86772011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8680 from process filters aren't reliably transmitted to the surrounding
8681 accept-process-output.
8682 (mpc-proc-check): New function.
8683 (mpc-proc-sync): Use it (bug#8293)
8684
93b6b5e1
SM
86852011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8688 Add compatibility functions (bug#9313).
8689
bca633fb
EZ
86902011-08-23 Eli Zaretskii <eliz@gnu.org>
8691
b177498a
EZ
8692 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8693
6df6ae42 8694 * international/uni-bidi.el: Regenerate.
bca633fb 8695
0902a04e
KH
86962011-08-23 Kenichi Handa <handa@m17n.org>
8697
8698 * international/charprop.el:
8699 * international/uni-bidi.el:
8700 * international/uni-category.el:
8701 * international/uni-combining.el:
8702 * international/uni-comment.el:
8703 * international/uni-decimal.el:
8704 * international/uni-decomposition.el:
8705 * international/uni-digit.el:
8706 * international/uni-lowercase.el:
8707 * international/uni-mirrored.el:
8708 * international/uni-name.el:
8709 * international/uni-numeric.el:
8710 * international/uni-old-name.el:
8711 * international/uni-titlecase.el:
8712 * international/uni-uppercase.el: Regenerate.
8713
3bbf23bc
MR
87142011-08-23 Martin Rudalics <rudalics@gmx.at>
8715
8716 * help.el (help-window-setup): Fix message displayed when other
8717 window is reused. (Bug#9341)
8718
b3fd59bd
SM
87192011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8720
1802e444
SM
8721 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8722 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8723
b3fd59bd
SM
8724 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8725 Mark obsolete.
8726 * shell.el (shell-parse-pcomplete-arguments): New function.
8727 (shell-completion-vars): Use it instead (bug#9160).
8728
4eb61348
SM
87292011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8730
867cab74
SM
8731 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8732 strings and comments (bug#9333).
8733
4eb61348
SM
8734 * emacs-lisp/debug.el (debug-arglist): New function.
8735 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8736 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8737
262a1439
JL
87382011-08-22 Juri Linkov <juri@jurta.org>
8739
56ee679c
JL
8740 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8741 Revert regexp that highlights output switches to its old
8742 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8743
262a1439
JL
8744 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8745 to check for empty output (bug#9226).
8746
f13f86fb
CY
87472011-08-22 Chong Yidong <cyd@stupidchicken.com>
8748
8749 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8750 symbol-constituent as the default, as that stops font-lock from
8751 working properly (Bug#8843).
8752
c65c9622
LMI
87532011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8754
8755 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8756 `coding-system-for-*' around the process open call to avoid
8757 auth-source side effects.
e7f2c178 8758 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8759 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8760 probe hangs.
c65c9622 8761
23a8a5ab
CY
87622011-08-21 Chong Yidong <cyd@stupidchicken.com>
8763
ff98b2dd
CY
8764 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8765
23a8a5ab
CY
8766 * emacs-lisp/find-func.el (find-function-noselect): New arg
8767 lisp-only.
8768
8769 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8770 signal an error for built-in functions (Bug#6664).
8771
f5e3c598
LMI
87722011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8773
8774 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8775 (smtpmail-try-auth-methods): Use it.
8776
a3f2468a
CY
87772011-08-21 Chong Yidong <cyd@stupidchicken.com>
8778
2c34e8da
CY
8779 * font-lock.el (font-lock-fontify-region)
8780 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8781 (font-lock-default-unfontify-buffer)
8782 (font-lock-default-fontify-region)
8783 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8784
b3fd59bd
SM
8785 * progmodes/compile.el (compilation-error-properties):
8786 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8787 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8788 `ant' regexp.
ee31aabc 8789
a3f2468a
CY
8790 * net/browse-url.el (browse-url-firefox): Don't call
8791 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8792
8e999f70
GM
87932011-08-20 Glenn Morris <rgm@gnu.org>
8794
c21a496a
GM
8795 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8796
59ee0542
GM
8797 * tutorial.el (tutorial--default-keys): Update some default bindings.
8798
8e999f70
GM
8799 * files.el (hack-local-variables): Fully ignore case for "mode:".
8800
e3715033
AM
88012011-08-20 Alan Mackenzie <acm@muc.de>
8802
8803 Resolve invalid use of a regexp in regexp-opt.
8804
4d61f28d
JB
8805 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8806 detection for a java annotation.
e3715033 8807
4d61f28d 8808 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8809 detection for a java annotation.
8810
4d61f28d
JB
8811 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8812 handling for java.
e3715033
AM
8813 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8814
04ed2e9c
CY
88152011-08-20 Chong Yidong <cyd@stupidchicken.com>
8816
8817 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8818 (Bug#9274).
8819
826cee64
AM
88202011-08-20 Alan Mackenzie <acm@muc.de>
8821
58179cce 8822 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8823 such a construct. Mainly for when jit-lock etc. starts a chunk
8824 here.
8825
58179cce 8826 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8827 variable.
58179cce 8828 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8829 c-make-font-lock-search-function.
8830 (c-make-font-lock-search-function): Use the above function.
8831 (c-make-font-lock-context-search-function): New function.
8832 (c-cpp-matchers): Enhance the preprocessor expression case with
8833 the above function
8834 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8835 which takes an expression.
8836
8837 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8838
13009bd8
MR
88392011-08-20 Martin Rudalics <rudalics@gmx.at>
8840
8841 * window.el (display-buffer-reuse-window)
8842 (display-buffer-pop-up-window): Don't reuse or split a side
8843 window.
8844
9234ff7f
GM
88452011-08-19 Glenn Morris <rgm@gnu.org>
8846
8847 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8848 Downcase "Mode:". (Bug#9331)
9234ff7f 8849
f635daa1
CY
88502011-08-18 Chong Yidong <cyd@stupidchicken.com>
8851
8852 * international/characters.el: Add L and R categories.
8853
8854 * subr.el (bidi-string-mark-left-to-right): Rename from
8855 string-mark-left-to-right. Use category search.
8856
8857 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8858
bc987f8b
JL
88592011-08-18 Juri Linkov <juri@jurta.org>
8860
8861 * faces.el (error, warning, success): New faces with definitions
8862 copied from old default values of `font-lock-warning-face',
8863 `compilation-warning', `compilation-info' (bug#6117).
8864
8865 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8866
8867 * progmodes/compile.el (compilation-error): Inherit from `error'.
8868 (compilation-warning): Inherit from `warning'.
8869 (compilation-info): Inherit from `success'.
8870
8871 * dired.el (dired-marked): Inherit from `warning'.
8872 (dired-flagged): Inherit from `error'.
8873
57173b96
LMI
88742011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8875
3e79eb87
LMI
8876 * mail/smtpmail.el (auth-source): Require to avoid problems with
8877 binding variables (bug#9298). Also clean up some unused
8878 autoloads.
8879
b3fd59bd
SM
8880 * net/network-stream.el (network-stream-open-starttls):
8881 Support using starttls.el without using gnutls-cli.
57173b96 8882
02b404de
JL
88832011-08-17 Juri Linkov <juri@jurta.org>
8884
8885 * progmodes/grep.el (rgrep): Handle the case when
8886 `grep-find-command' is a cons cell (bug#9278).
8887
8c9177f2
MR
88882011-08-17 Martin Rudalics <rudalics@gmx.at>
8889
8890 * window.el (display-buffer-pop-up-frame): Run frame creation
8891 function with BUFFER current (as special-display-popup-frame
8892 does). Reported by Drew Adams.
8893
3644a0ab
DU
88942011-08-17 Daiki Ueno <ueno@unixuser.org>
8895
8896 * epa-mail.el: Simplify GnuPG group expansion using
8897 epg-expand-group.
8898 (epa-mail-group-alist, epa-mail-group-modtime)
8899 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8900 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8901 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8902 Remove.
8903
5e617bc2 89042011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8905
8906 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8907
9c4aeabf
AM
89082011-08-16 Alan Mackenzie <acm@muc.de>
8909
8910 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8911 Correct, to avoid the inside of macros.
8912
3a99bf64
RS
89132011-08-16 Richard Stallman <rms@gnu.org>
8914
04963aa8
RS
8915 * epa-mail.el: Handle GnuPG group definitions.
8916 (epa-mail-group-alist, epa-mail-group-modtime)
8917 (epa-mail-gnupg-conf-file): New variables.
8918 (epa-mail-parse-groups, epa-mail-sync-groups)
8919 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8920 (epa-mail-expand-recipients): New functions.
8921 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8922
177549d0
RS
8923 * mail/rmail.el (rmail-epa-decrypt): New command.
8924
fe38beef
RS
8925 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8926 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8927 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8928 (epa-decrypt-armor-in-region): Make error message clearer.
8929
934eacb9
SM
89302011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8931
8932 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8933 and "a2b" to "ab" for `prefix'.
8934
d024fb4e
CY
89352011-08-14 Chong Yidong <cyd@stupidchicken.com>
8936
8937 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8938 filter groups.
de148fee
CY
8939 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8940 Fourquet (Bug#8804).
d024fb4e 8941
62f1ca49
JB
89422011-08-12 Juanma Barranquero <lekktu@gmail.com>
8943
8944 * startup.el (argi): Declare as global variable (bug#9275).
8945
9ccaaa4b
CY
89462011-08-12 Chong Yidong <cyd@stupidchicken.com>
8947
8948 * subr.el (string-mark-left-to-right): Search the entire string
8949 for RTL script, not just the terminating character. Doc fix.
8950
a3dae87a
SM
89512011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8952
6cd18349
SM
8953 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8954 New function.
8955 (js--regexp-literal, js-syntax-propertize-function): Remove.
8956 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8957 (js-mode-map): Don't rebind electric keys.
8958 (js-insert-and-indent): Remove.
8959 (js-mode): Setup electric-layout and electric-indent instead.
8960
a3dae87a
SM
8961 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8962
9d5cb631
DU
89632011-08-12 Daiki Ueno <ueno@unixuser.org>
8964
8965 * epa.el (epa-progress-callback-function): Fix the logic of
8966 displaying progress.
8967 * epa-file.el (epa-file-insert-file-contents): Make progress
8968 display more user-friendly.
8969 (epa-file-write-region): Ditto.
8970
3e26a4a2
CY
89712011-08-10 Chong Yidong <cyd@stupidchicken.com>
8972
8973 * subr.el (string-mark-left-to-right): New function.
8974
8975 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8976 Use string-mark-left-to-right.
8977 (list-buffers-noselect): Caller changed.
8978
a3dae87a
SM
8979 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8980 Use string-mark-left-to-right.
3e26a4a2
CY
8981 (tabulated-list-print): Recenter after moving point.
8982
ac8cf6e6
JL
89832011-08-10 Juri Linkov <juri@jurta.org>
8984
8985 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8986 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8987 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8988
8d96c9a4
CY
89892011-08-09 Chong Yidong <cyd@stupidchicken.com>
8990
8991 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8992 (Bug#7554).
8993
7be1c708 89942011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8995
8996 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8997 character. (Bug#6594)
8998
37e11a63
CY
89992011-08-08 Chong Yidong <cyd@stupidchicken.com>
9000
839dde57
CY
9001 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9002 (image-dired--with-db-file): New macro.
9003 (image-dired-write-tags, image-dired-remove-tag)
9004 (image-dired-create-gallery-lists, image-dired-write-comments)
9005 (image-dired-get-comment, image-dired-mark-tagged-files)
9006 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9007 (image-dired-gallery-generate): Use insert-file-contents.
9008
37e11a63
CY
9009 * time.el (display-time-world-list, display-time-world-display):
9010 * time-stamp.el (time-stamp-string):
9011 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9012 set-time-zone-rule (Bug#7337).
9013
0b4946c4
DU
90142011-08-08 Daiki Ueno <ueno@unixuser.org>
9015
9016 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9017 (epg-error-to-string, epg-errors-to-string): New function.
9018 (epg-wait-for-completion): Reverse errors list.
9019 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9020 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9021 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9022 (epg-sign-keys, epg-generate-key-from-file)
9023 (epg-generate-key-from-string): Format errors by using
9024 epg-errors-to-string (bug#9255).
9025 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9026
75bfc667
JL
90272011-08-07 Juri Linkov <juri@jurta.org>
9028
9029 * faces.el (list-faces-display): Remove extra angle bracket
9030 from `help-mode-map'.
9031
9032 * info.el (Info-history-toc-nodes): Doc fix.
9033
9034 * longlines.el (longlines-mode): Doc fix.
9035
673e08bb
SM
90362011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9037
4640dd88
SM
9038 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9039 of statements and in a few more cases (bug#9183).
9040
673e08bb
SM
9041 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9042 New functions.
9043 (cl-transform-lambda): Use them (bug#9239).
9044
89b3f019
MR
90452011-08-05 Martin Rudalics <rudalics@gmx.at>
9046
9047 * window.el (display-buffer-same-window)
9048 (display-buffer-same-frame, display-buffer-other-window)
9049 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9050 (pop-to-buffer-other-window)
9051 (pop-to-buffer-same-frame-other-window)
9052 (pop-to-buffer-other-frame): Make them defuns.
9053 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9054
640c8776
SM
90552011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * subr.el (make-composed-keymap): Move from C. Change calling
9058 convention, and improve docstring to bring attention to a subtle point.
9059 * minibuffer.el (completing-read-default): Adjust accordingly.
9060
63648a95
MA
90612011-08-03 Michael Albinus <michael.albinus@gmx.de>
9062
9063 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9064 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9065
9066 * net/trampver.el: Update release number.
9067
b796c9b7
SM
90682011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9071 "in" (bug#9190).
9072
2239d7d5
LMI
90732011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074
e07dd7c3
LMI
9075 * mail/sendmail.el (sendmail-query-once): Restore the current
9076 buffer after querying (bug#9074).
9077
0e6a2bd7
LMI
9078 * dired.el (dired-flagged): Use different faces for marked and
9079 flagged files (bug#6117).
9080
ce887515
LMI
9081 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9082 (bug#4433).
9083
92f2affc
LMI
9084 * ido.el (ido-mode): Switch off the message if called
9085 non-interactively.
9086
57d5aff0
LMI
9087 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9088 before 587, since it appears that that's more likely to work for
9089 more people.
9090
98cd6c18 9091 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9092 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9093 exist.
9094
b96dec83
LMI
9095 * info.el: Remove the `Info-beginning-of-buffer' function
9096 (bug#8325).
9097
b796c9b7
SM
9098 * net/network-stream.el (network-stream-open-starttls):
9099 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9100
d90e2ea0
MR
91012011-08-01 Martin Rudalics <rudalics@gmx.at>
9102
9103 * window.el (display-buffer-in-window): Don't set dedicated status
9104 of window here (Bug#9215).
9105 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9106 (display-buffer-pop-up-side-window)
b796c9b7 9107 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9108
cca09170
SM
91092011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9112 before binding generated-autoload-file.
9113
027b979c
DD
91142011-08-01 Deniz Dogan <deniz@dogan.se>
9115
9116 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9117
3c7ee4f3
MA
91182011-07-30 Michael Albinus <michael.albinus@gmx.de>
9119
9120 Sync with Tramp 2.2.2.
9121
9122 * net/trampver.el: Update release number.
9123
2cc8e51a
JL
91242011-07-30 Juri Linkov <juri@jurta.org>
9125
9126 * dired-aux.el (dired-touch-initial): Remove function.
9127 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9128 current time, and `default' to the last modification time of the
9129 current marked file (bug#6887).
9130
a514d856
JM
91312011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9132
9133 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9134 numeric argument to read-number (bug#9163).
a514d856 9135
8a7eddd7
MA
91362011-07-27 Michael Albinus <michael.albinus@gmx.de>
9137
9138 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9139 connection process, it could be nil.
9140
1ddd96f5
LL
91412011-07-27 Leo Liu <sdl.web@gmail.com>
9142
9143 Simplify url handling in rcirc-mode.
9144
9145 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9146 (rcirc-browse-url-at-mouse): Remove.
9147 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9148
b248a85d
AM
91492011-07-26 Alan Mackenzie <acm@muc.de>
9150
9151 Fontify bitfield declarations properly.
9152
9153 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9154 (c-symbol-chars): Now exported as a lang variable.
9155 (c-not-primitive-type-keywords): New lang variable.
9156
9157 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9158 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9159 parsed as a bitfield declaration.
b248a85d 9160
b796c9b7
SM
9161 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9162 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9163 (c-punctuation-in): New function.
9164 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9165 declarations properly.
9166
68575ab0
UJ
91672011-07-26 Ulf Jasper <ulf.jasper@web.de>
9168
9169 * calendar/icalendar.el (icalendar--all-events): Take care of
9170 multiple vcalendars in a single file.
b796c9b7 9171 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9172
0f0a88b9
DD
91732011-07-25 Deniz Dogan <deniz@dogan.se>
9174
9175 * image.el (insert-image): Clarifying docstring.
9176
0b3f36df
MA
91772011-07-24 Michael Albinus <michael.albinus@gmx.de>
9178
9179 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9180 `tramp-send-command-and-check' if there is no error.
9181 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9182
a9901f61
AM
91832011-07-22 Alan Mackenzie <acm@muc.de>
9184
9185 Prevent cc-langs.elc being loaded at run time.
9186
9187 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9188 cc-langs.
9189
4d61f28d 9190 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9191 "(require 'cc-langs)". Quote a form so it will evaluate at
9192 (cc-mode's) compilation time.
9193
11d074b2
MA
91942011-07-22 Michael Albinus <michael.albinus@gmx.de>
9195
9196 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9197 loading. (Bug#9114)
9198
938b94c8
MR
91992011-07-21 Martin Rudalics <rudalics@gmx.at>
9200
9201 * window.el (display-buffer-pop-up-window)
9202 (display-buffer-pop-up-side-window)
9203 (display-buffer-in-side-window): Call display-buffer-set-height
9204 and display-buffer-set-width after setting the new window's
b796c9b7 9205 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9206
bfa4f190
SS
92072011-07-20 Sam Steingold <sds@gnu.org>
9208
9209 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9210 (etags-tags-included-tables): Call `convert-standard-filename' on
9211 the file names contained in TAGS so that windows Emacs can handle
9212 TAGS files created by cygwin ctags.
9213
8ca42262
LMI
92142011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9215
9216 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9217 which apparently didn't work.
9218
5db2afd2 92192011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9220
5db2afd2
RW
9221 * proced.el (proced-send-signal): For *Marked Processes* buffer
9222 put point at beginning of buffer.
9223
92e15d10
SB
92242011-07-19 Stephen Berman <stephen.berman@gmx.net>
9225
9226 * proced.el (proced-format): Make header lines align with the text
9227 (bug#1779).
9228
1bfd59e5
LMI
92292011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9230
9231 * view.el (view-buffer): Allow running in `special' modes if we're
9232 visiting a file (bug#8615).
9233
f5aae37c
MR
92342011-07-19 Martin Rudalics <rudalics@gmx.at>
9235
9236 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9237 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9238 New functions.
f5aae37c
MR
9239 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9240 more accurately.
9241
bf2c1571
AM
92422011-07-18 Alan Mackenzie <acm@muc.de>
9243
9244 Fontify declarators properly when, e.g., a jit-lock chunk begins
9245 inside a declaration.
9246
9247 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9248
b796c9b7
SM
9249 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9250 New function.
bf2c1571
AM
9251 (c-complex-decl-matchers): Insert reference to
9252 c-font-lock-enclosing-decls.
9253
9254 * progmodes/cc-engine.el (c-backward-single-comment):
9255 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9256 to nil around calls to (forward-comment -1).
9257
4e190b80
LMI
92582011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9259
12dc863d
LMI
9260 * image.el (put-image): Doc typo fix.
9261
a762e966
LMI
9262 * progmodes/etags.el (tags-search): Doc typo fix.
9263
4e190b80
LMI
9264 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9265 password if we get errors 550 to 554.
9266
f019fb21
LMI
92672011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
b796c9b7 9269 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9270
81746738
LMI
9271 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9272 indentation character (bug#6380).
9273
3ee3a1b5
LMI
9274 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9275
c82f64de
LMI
9276 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9277 to clarify what the problem is (bug#4291).
9278
f019fb21
LMI
9279 * simple.el (current-kill): Clarify what
9280 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9281 (auto-fill-mode): Document `auto-fill-function' in relation to
9282 `auto-fill-mode' (bug#2470).
f019fb21 9283
0794775d
LM
92842011-07-16 Lawrence Mitchell <wence@gmx.li>
9285
9286 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9287 method if slot is read-only (bug#9035).
9288
be39b8cc
MR
92892011-07-16 Martin Rudalics <rudalics@gmx.at>
9290
b796c9b7 9291 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9292 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9293 selected before, see discussion of (Bug#8615), (Bug#6954).
9294 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9295
6ccf7859
GM
92962011-07-15 Glenn Morris <rgm@gnu.org>
9297
9298 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9299 Respect help-form.
6ccf7859 9300
87e86684
LM
93012011-07-09 Lawrence Mitchell <wence@gmx.li>
9302
9303 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9304 (gnutls-negotiate): Use it.
9305
d6066239
LMI
93062011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9307
b796c9b7
SM
9308 * net/gnutls.el (gnutls-negotiate):
9309 Upcase `gnutls-algorithm-priority'.
d6066239 9310
bd23ebc0
GM
93112011-07-15 Glenn Morris <rgm@gnu.org>
9312
c65bca65
GM
9313 * jka-compr.el (jka-compr-verbose): Move from here...
9314 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9315 Add missing :version tag.
9316 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9317
478615cc
LMI
93182011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9319
7b41decb
LMI
9320 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9321 (gnutls-negotiate): Use it.
9322
dbc44fcd
LMI
9323 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9324
06789f97
LMI
9325 * info.el (Info-beginning-of-buffer): New command.
9326 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9327 announcing `b' as the key (bug#8325).
ab896c37 9328 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9329
c39da690
LMI
9330 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9331
3aa5f34b
LMI
9332 * international/mule-cmds.el
9333 (describe-specified-language-support): Make the error message
9334 clearer (bug#8905).
9335
4bf0979f
LMI
9336 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9337
478615cc
LMI
9338 * isearch.el (isearch-barrier): Add a doc string, since it's
9339 mentioned in a function doc string (bug#8678).
9340
75c68aa1
MR
93412011-07-15 Martin Rudalics <rudalics@gmx.at>
9342
9343 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9344 buffer argument (Bug#9083) and self-identifying label argument.
9345
a7c33da2
GM
93462011-07-15 Glenn Morris <rgm@gnu.org>
9347
9348 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9349
2f5c6024
LMI
93502011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9351
9352 * man.el (Man-fontify-manpage): Fix message when formatting the
9353 man page (bug#7929).
9354
0bb23927 93552011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9356
9357 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9358 argument LRM; if non-nil, append an invisible LRM character to the
9359 buffer name.
9360 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9361 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9362 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9363 paragraph direction.
cce4b0a7 9364
621ef9ab
LMI
93652011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9366
d1583c48
LMI
9367 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9368 the man page name (bug#7929).
9369
6a57fb5f
LMI
9370 * image.el (put-image): Mention the `put-image' overlay property
9371 (bug#7834).
9372
d7956b14
LMI
9373 * scroll-bar.el (set-scroll-bar-mode): Mention that
9374 `scroll-bar-mode' lists the values (bug#7772).
9375
5b2d4a66
LMI
9376 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9377 command (bug#7729).
9378
7509a874
LMI
9379 * rect.el (apply-on-rectangle): Return the point after the last
9380 operation.
9381 (string-rectangle): Go to the point after the last operation
9382 (bug#7522).
9383
4fe74b19
LMI
9384 * printing.el (pr-toggle-region): Clarify the documentation
9385 slightly (bug#7493).
9386
b796c9b7
SM
9387 * time.el (display-time-update):
9388 Allow `display-time-mail-function' to return nil (bug#7158).
9389 Fix suggested by Detlev Zundel.
ab283561 9390
fc233c9d
LMI
9391 * vc/diff.el (diff): Clarify the order the file names are read
9392 (bug#7111).
9393
43f5740b
LMI
9394 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9395 the doc string (bug#7015).
9396
f2182a76
LMI
9397 * font-lock.el (font-lock-maximum-decoration): Mention what
9398 numeric levels mean (bug#6935).
9399
621ef9ab
LMI
9400 * startup.el (initial-buffer-choice): Don't mention the `none'
9401 selection, which is against policy.
9402
adc47434
MR
94032011-07-14 Martin Rudalics <rudalics@gmx.at>
9404
b796c9b7
SM
9405 * window.el (display-buffer-normalize-special):
9406 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9407
7e5bfb8f
EZ
94082011-07-14 Eli Zaretskii <eliz@gnu.org>
9409
9410 * subr.el (version<, version<=, version=): Mention "-CVS" and
9411 "-12345" alpha version numbers.
9412
27fa387a
CY
94132011-07-14 Chong Yidong <cyd@stupidchicken.com>
9414
9415 * bindings.el: Add advertised binding for set-mark-command
9416 (Bug#5772).
9417
8bdfa064
CY
94182011-07-14 Chong Yidong <cyd@stupidchicken.com>
9419
9420 * bindings.el (mode-line-other-buffer):
9421 * bookmark.el (bookmark-bmenu-2-window):
9422 * bs.el (bs-cycle-next, bs-cycle-previous):
9423 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9424 switch-to-buffer.
9425
9426 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9427 Delete.
8bdfa064 9428
5eba16a3
JB
94292011-07-14 Juanma Barranquero <lekktu@gmail.com>
9430
9431 * follow.el (follow-debug-message, follow-redisplay):
9432 * jka-cmpr-hook.el (with-auto-compression-mode):
9433 Fix typos in docstrings.
9434
15853710
LMI
94352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9436
a28e4607
LMI
9437 * subr.el (with-silent-modifications): Clarify somewhat what the
9438 macro inhibits (bug#6525).
9439
15853710
LMI
9440 * simple.el (eval-expression): Note what it does if called
9441 interactively (bug#6495).
9442
bee0fcef
CY
94432011-07-13 Chong Yidong <cyd@stupidchicken.com>
9444
b796c9b7
SM
9445 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9446 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9447
9448 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9449 Remove switch-to-buffer.
9450
58274504
LMI
94512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9452
bd2fcc8d
LMI
9453 * files.el (make-directory): Clarify that an error will be raised
9454 if there's an error (bug#6397).
9455
0f04b32c
LMI
9456 * startup.el (initial-buffer-choice): Add `none' as a choice
9457 (bug#6234).
9458
465c5fc8
LMI
9459 * subr.el (add-hook): Clarify section about buffer-local hooks
9460 (bug#6218).
9461
58274504
LMI
9462 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9463
bead9a43
JB
94642011-07-13 Juanma Barranquero <lekktu@gmail.com>
9465
9466 * tabify.el (untabify): Preserve the current column so that point
9467 doesn't move (bug#6032).
9468
3af98a7b
LMI
94692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9470
b796c9b7
SM
9471 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9472 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9473
6240145a
GM
94742011-07-13 Glenn Morris <rgm@gnu.org>
9475
9476 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9477 (dired-insert-directory): Give a message the first time
9478 if ls is found not to support --dired.
9479
1d8c2ccc
LMI
94802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9481
9482 * simple.el (toggle-truncate-lines): Clarify what is toggled
9483 (bug#5580). Text by Drew Adams.
9484
5fc4038e
CY
94852011-07-13 Chong Yidong <cyd@stupidchicken.com>
9486
9487 * simple.el (blink-matching-open): Make the error message from the
9488 last change less verbose.
9489
bf6012e5
DN
94902011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9491
9492 * font-lock.el (font-lock-comment-face): Use the high contrast
9493 "yellow" color for font-lock-comment-face on low color terminals
9494 using a dark background color (bug#4221).
9495
343c3b5a
LMI
94962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9497
7e9505c5
LMI
9498 * dired.el (dired-insert-set-properties): Make the doc string
9499 reflect what it does now (bug#5325).
9500
c26fdcf5
LMI
9501 * simple.el (blink-matching-open): Say that we were unable to find
9502 the match within the limit, if we're limited (bug#5122).
9503
bb388cc5
LMI
9504 * international/mule-cmds.el (prefer-coding-system): Add an
9505 example (bug#4869).
9506
343c3b5a
LMI
9507 * progmodes/etags.el (tags-search): Document `file-list-form'
9508 (bug#4731).
9509
2a517d45
LM
95102011-07-13 Lawrence Mitchell <wence@gmx.li>
9511
9512 * net/browse-url.el (browse-url-default-browser)
9513 (browse-url-browser-function): Make the default browser choice a
9514 bit more logical (bug#4300). Also clean up the doc string.
9515
b6c78ef2
JB
95162011-07-13 Juanma Barranquero <lekktu@gmail.com>
9517
9518 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9519 binary endings (bug#4440).
9520
1c4dd947
LMI
95212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9522
a2014063
LMI
9523 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9524 which can be pretty annoying (bug#8971).
9525
9c9c2d88
LMI
9526 * jka-compr.el (jka-compr-verbose): New variable, and use
9527 throughout (bug#8971).
9528
1c4dd947
LMI
9529 * info.el (Info-find-file): Fall back on the installation
9530 directory if we can't find the info node anywhere else.
9531
a1c9f41b
SO
95322011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9533
9534 * vc/vc.el (vc-revert-file):
9535 Don't set file time-stamp in the past. (Bug#5181)
9536
536f3d36
LMI
95372011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9538
7152b011
LMI
9539 * files.el (after-find-file): Give a better error message when
9540 trying to find a symlink that points to a file that doesn't exist
9541 (bug#4398).
9542
536f3d36
LMI
9543 * progmodes/cc-vars.el: Remove (probably) misleading comment
9544 (bug#4396).
9545
460c0fba
JB
95462011-07-12 Johan Bockgård <bojohan@gnu.org>
9547
9548 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9549
7a6bda45
CY
95502011-07-12 Chong Yidong <cyd@stupidchicken.com>
9551
9552 * mouse-sel.el: Hack restoring functionality, while keeping
9553 compatibility with 2010-07-03 changes to mouse selection.
9554 (mouse-sel-primary-overlay): New var.
9555 (mouse-sel-selection-alist): Use it.
9556 (mouse-sel-mode): Doc fix; remove points that are default features
9557 of mouse.el.
9558
c79598ef
JB
95592011-07-12 Johan Bockgård <bojohan@gnu.org>
9560
9561 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9562 Fix previous fix (bug#2490).
9563
ff8be6ef
RW
95642011-07-12 Roland Winkler <winkler@gnu.org>
9565
b796c9b7
SM
9566 * textmodes/bibtex.el (bibtex-initialize):
9567 Use pop-to-buffer-same-window.
ff8be6ef
RW
9568 (bibtex-search-entries): Fix interactive call.
9569
296ba3ee
LMI
95702011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9571
f5242a02 9572 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9573 Fontise bytecomp Error lines more correctly (bug#2490).
9574 Fix suggested by Johan Bockgård.
f5242a02 9575
296ba3ee
LMI
9576 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9577
9578 * dired-x.el (dired-guess-default): Use `delete-dups'.
9579
f69fd0d2
CY
95802011-07-12 Chong Yidong <cyd@stupidchicken.com>
9581
9582 * dired.el (dired-mark-prompt):
9583 * dired-aux.el (dired-read-shell-command): Doc fix.
9584
eab5dc07
LMI
95852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9586
b796c9b7
SM
9587 * mail/sendmail.el (sendmail-query-once):
9588 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9589 emacs -Q.
9590
9591 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9592
eab5dc07
LMI
9593 * cus-edit.el (custom-file): Take an optional no-error variable.
9594 (customize-save-variable): Set the variable, and give a warning if
9595 running under "emacs -q".
9596
a1e65d42
JB
95972011-07-11 Juanma Barranquero <lekktu@gmail.com>
9598
9599 * loadhist.el (unload-feature-special-hooks):
9600 Add `auto-coding-functions', `fill-nobreak-predicate' and
9601 `find-directory-functions' (bug#5327).
9602
1d52da10
LMI
96032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9604
be958f1d
LMI
9605 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9606
5bedb26c
LMI
9607 * cus-edit.el (custom-guess-name-alist): -alist variables should
9608 use the `alist' type (bug#3120). Suggested by Drew Adams.
9609
1d52da10
LMI
9610 * printing.el: Add documentation to all the `pr-toggle-' commands.
9611
cd394be1 96122011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9613
9614 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9615 backends where it makes sense (bug#2623).
9616
dcc88d8a
LMI
96172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9618
c3de9feb
LMI
9619 * dired-x.el (dired-guess-default): Remove duplicate shell command
9620 entries (bug#2028).
8a93078b 9621 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9622 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9623
dcc88d8a
LMI
9624 * subr.el (remove-duplicates): New conveniency function.
9625
505e3645
LMI
96262011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9627
9628 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9629 (bug#1526).
9630
96312011-07-10 Martin Rudalics <rudalics@gmx.at>
9632
9633 * window.el (display-buffer-normalize-default): Don't invert
9634 meaning of even-window-heights. Reported by Eli Zaretskii
9635 <eliz@gnu.org>.
9636
455e4fa1
BR
96372011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9638
9639 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9640
8e0bc3e9
CY
96412011-07-10 Chong Yidong <cyd@stupidchicken.com>
9642
9643 * window.el (display-buffer): Fix arguments to
9644 display-buffer-reuse-window in last change.
9645
fa7c3228
CY
9646 * faces.el (link): Use a less saturated blue on light backgrounds.
9647
9648 * startup.el (fancy-startup-text, fancy-about-text)
9649 (fancy-startup-tail): Use font-lock faces, for background safety.
9650
c0a7f300
BN
96512011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9652
b796c9b7
SM
9653 * emulation/viper-cmd.el (viper-change-state-to-vi):
9654 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9655
4dc2a129
MR
96562011-07-09 Martin Rudalics <rudalics@gmx.at>
9657
9658 * window.el (display-buffer-default-specifiers): Remove.
9659 (display-buffer-macro-specifiers): Remove default specifiers.
9660 (display-buffer-alist): Default to nil.
b796c9b7 9661 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9662 (display-buffer-pop-up-window): Allow splitting internal
9663 windows. Check whether a live window was created.
9664 (display-buffer-other-window-means-other-frame)
9665 (display-buffer-normalize-arguments): Rename to
9666 display-buffer-normalize-argument and rewrite. Set the
9667 other-window specifier.
9668 (display-buffer-normalize-special): New function.
9669 (display-buffer-normalize-options): Rename to
9670 display-buffer-normalize-default and rewrite.
9671 (display-buffer-normalize-options-inhibit): Remove.
9672 (display-buffer-normalize-specifiers): Rewrite.
9673 (display-buffer): Process other-window specifier and call
9674 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9675 more faithfully.
b796c9b7 9676 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9677 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9678 (display-buffer-in-window, display-buffer-alist-set):
9679 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9680 <tassilo@member.fsf.org>.
9681
2d43b8c9
LL
96822011-07-09 Leo Liu <sdl.web@gmail.com>
9683
9684 * register.el (insert-register): Restore accidental change on
9685 2011-06-26. (Bug#9028)
9686
7f9b7c53
GM
96872011-07-09 Glenn Morris <rgm@gnu.org>
9688
9689 * subr.el (remq): Handle the empty list. (Bug#9024)
9690
f042cfd8
AS
96912011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9692
9693 * mail/sendmail.el (send-mail-function): No longer delay custom
9694 initialization.
9695 * custom.el (custom-initialize-delay): Doc fix.
9696
856b2f11
SM
96972011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9700
afae1d68
MA
97012011-07-08 Michael Albinus <michael.albinus@gmx.de>
9702
9703 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9704 human-friendly prompt.
9705
0757af94
SM
97062011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9707
9708 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9709 provided by a particular plugin.
9710
d760b731
LMI
97112011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9712
9713 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9714 save customizations (with "emacs -Q"), just set the variable
9715 instead of erroring out.
9716
9717 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9718
cd79ce90
JL
97192011-07-08 Juri Linkov <juri@jurta.org>
9720
9721 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9722 (archive-zip-update-case): Use 7z if found by `executable-find'.
9723 The order of searching the available programs is the same as in
9724 `archive-zip-extract' (bug#8968).
9725
14cc04aa
CY
97262011-07-07 Chong Yidong <cyd@stupidchicken.com>
9727
9728 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9729 (menu-bar-options-menu): Tweak descriptions.
9730
0a1848ec
LMI
97312011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9732
9733 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9734 menu items into verb phrases (bug#1421). Also refill to fit under
9735 80 columns.
9736
f5bd0689
CY
97372011-07-07 Chong Yidong <cyd@stupidchicken.com>
9738
538e85c6
CY
9739 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9740 (Info-read-node-name): Doc fix (Bug#1084).
9741
f5bd0689
CY
9742 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9743 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9744 (end-of-sexp, beginning-of-sexp)
9745 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9746 (forward-symbol, forward-same-syntax, word-at-point)
9747 (sentence-at-point): Doc fix (Bug#1144).
9748
56ec5115
LMI
97492011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9750
f3f8e37f
LMI
9751 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9752 should cover it (bug#1281).
9753
0757af94 9754 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9755
e9fce1ac 9756 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9757 negotiation fails, then possibly try again with a non-encrypted
9758 connection (bug#9017).
9759
56ec5115
LMI
9760 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9761 be used.
9762
c2f9aec8
RS
97632011-07-07 Richard Stallman <rms@gnu.org>
9764
9765 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9766 property, and handle its changed format.
9767 Look for the correct line number.
9768 Use file's line contents (but not past first =) to find
9769 correct line in message.
9770
ef7b981d 97712011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9772
9773 * international/characters.el (build-unicode-category-table):
9774 Delete it.
0757af94 9775 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9776
0757af94 9777 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9778 to src/chartab.c.
9779 (get-char-code-property): Call unicode-property-table-internal to
9780 load a file. Call get-unicode-property-internal where necessary.
9781 (put-char-code-property): Call unicode-property-table-internal to
9782 load a file. Call put-unicode-property-internal where necessary.
9783 put-unicode-property-internal where necessary.
0757af94
SM
9784 (char-code-property-description):
9785 Call unicode-property-table-internal to load a file.
c805dec0
KH
9786
9787 * international/charprop.el:
9788 * international/uni-bidi.el:
9789 * international/uni-category.el:
9790 * international/uni-combining.el:
9791 * international/uni-comment.el:
9792 * international/uni-decimal.el:
9793 * international/uni-decomposition.el:
9794 * international/uni-digit.el:
9795 * international/uni-lowercase.el:
9796 * international/uni-mirrored.el:
9797 * international/uni-name.el:
9798 * international/uni-numeric.el:
9799 * international/uni-old-name.el:
9800 * international/uni-titlecase.el:
9801 * international/uni-uppercase.el: Regenerate.
9802
9803 * loadup.el: Load international/charprop.el before
9804 international/characters.
9805
e14b388a
CY
98062011-07-07 Chong Yidong <cyd@stupidchicken.com>
9807
9808 * window.el (next-buffer, previous-buffer): Signal an error if
9809 called from a minibuffer window.
9810
9811 * bindings.el: Revert 2011-07-04 change.
9812
354cf0ba
RS
98132011-07-06 Richard Stallman <rms@gnu.org>
9814
9815 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9816 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9817 Treat markers like ints.
9818 (rmail-mime-entity): Doc fix.
9819
a48868a7
LMI
98202011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9821
4906cd3d
LMI
9822 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9823 defcustom again for backwards compatibility.
9824
e0457abe
LMI
9825 * simple.el (shell-command-on-region): Fill.
9826
d67f7e1f
LMI
9827 * dired-aux.el (dired-kill-line): Add a doc string.
9828
fe204702
LMI
9829 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9830 to "\\sw\\|\\s_" (bug#358).
9831
a48868a7
LMI
9832 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9833 (dired-unmark-backward): Ditto.
9834 (dired-flag-backup-files): Ditto.
9835
9836 * dired-x.el (dired-mark-sexp): Ditto.
9837
aa8a705c
RS
98382011-07-06 Richard Stallman <rms@gnu.org>
9839
9840 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9841 (rmail-mime-entity): New arg TRUNCATED.
9842 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9843 New functions.
9844 (rmail-mime-save): Warn if entity is truncated.
9845 (rmail-mime-toggle-hidden): Likewise, for showing.
9846 (rmail-mime-process-multipart): Record when an entity is truncated.
9847
a9a936b9
RS
9848 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9849 if ENTITY is a string.
9850
1f2b92cb
LMI
98512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9852
f4f73198 9853 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9854 of faces when `M-C-x'-ing their definitions (bug#8378).
9855 Also clean up the code slightly.
f4f73198 9856
12b16734 9857 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9858 because that makes the colors go away.
12b16734 9859
f0691d22
LMI
9860 * mail/sendmail.el (send-mail-function): Change the default to
9861 `sendmail-query-once'.
9e87df06 9862 (sendmail-query-once): Add an autoload cookie.
f0691d22 9863
1f2b92cb
LMI
9864 * net/network-stream.el (network-stream-open-starttls): Try using
9865 a plain connection even if the server offered STARTTLS, and we
9866 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9867 capability. This should make smtpmail.el work in slightly more
9868 configurations.
9869
1cdd2a1b
MA
98702011-07-06 Michael Albinus <michael.albinus@gmx.de>
9871
9872 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9873 New defun.
9874 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9875
fbcc67e2
MM
98762011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9877
9878 * progmodes/sql.el: Version 3.0
0757af94 9879 (sql-product-alist): Add product :completion-object,
fbcc67e2 9880 :completion-column, and :statement attributes.
0757af94 9881 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9882 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9883 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9884 ansi keywords.
9885 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9886 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9887 (sql-oracle-show-reserved-words): New function for development.
9888 (sql-product-font-lock): Simplify for source code buffers.
9889 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9890 New functions.
9891 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9892 (sql-mode-map): Add statement movement functions.
9893 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9894 New variable.
fbcc67e2
MM
9895 (sql-statement-regexp, sql-beginning-of-statement)
9896 (sql-end-of-statement, sql-signum): New functions.
0757af94 9897 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9898 (sql-show-sqli-buffer): Bug fix.
9899 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9900 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9901 with sql-interactive-mode.
9902 (sql-save-connection): Save buffer local settings.
0757af94 9903 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9904 (sql-product-interactive): Bug fix.
9905 (sql-preoutput-hold): New variable.
9906 (sql-interactive-remove-continuation-prompt): Bug fixes.
9907 (sql-debug-redirect): New variable.
9908 (sql-str-literal): New function.
9909 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9910 Redesign.
fbcc67e2
MM
9911 (sql-oracle-save-settings, sql-oracle-restore-settings)
9912 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9913 (sql-completion-object, sql-completion-column)
9914 (sql-completion-sqlbuf): New variables.
9915 (sql-build-completions-1, sql-build-completions)
9916 (sql-try-completion): New functions.
9917 (sql-read-table-name): Use them.
9918 (sql-contains-names): New buffer local variable.
9919 (sql-list-all, sql-list-table): Use it.
9920 (sql-oracle-completion-types): New variable.
9921 (sql-oracle-completion-object, sql-sqlite-completion-object)
9922 (sql-postgres-completion-object): New functions.
9923
d4eaeab1
GM
99242011-07-06 Glenn Morris <rgm@gnu.org>
9925
9926 * window.el (pop-to-buffer): Doc fix.
9927
322b7dab 99282011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9929
9930 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9931
322b7dab 99322011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9933
322b7dab 9934 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9935
322b7dab 9936 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9937
605dd5bf
CY
99382011-07-05 Chong Yidong <cyd@stupidchicken.com>
9939
9940 * button.el (button): Inherit from link face. Suggested by Dan
9941 Nicolaescu.
9942
7dbfa719
SM
99432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9944
3db614b0
SM
9945 * progmodes/gdb-mi.el: Fit in 80 columns.
9946 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9947 switch-to-buffer.
9948
7dbfa719
SM
9949 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9950 if imenu is simply not configured (bug#8941).
9951
919d884a
KM
99522011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9953
9954 * allout.el (allout-post-undo-hook): New allout outline-change
9955 event hook to signal undo activity.
9956 (allout-post-command-business): Run allout-post-undo-hook if an
9957 undo just occurred.
7dbfa719
SM
9958 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9959 * allout-widgets.el (allout-widgets-after-undo-function):
9960 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9961 in the vicinity of an undo.
9962 (allout-widgets-mode): Include allout-widgets-after-undo-function
9963 on the new allout-post-undo-hook.
9964
450a0f09
SM
99652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9968 Let define-derived-mode define it.
9969 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9970 cycles of abbrev-table inheritance (bug#8998).
9971
2de69e00
RW
99722011-07-05 Roland Winkler <winkler@gnu.org>
9973
9974 * textmodes/bibtex.el: Add support for biblatex.
9975 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9976 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9977 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9978 (bibtex-entry-alist, bibtex-field-alist): New variables.
9979 (bibtex-entry-field-alist): Obsolete alias for
9980 bibtex-BibTeX-entry-alist.
9981 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9982 (bibtex-set-dialect): New command.
9983 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9984 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9985 Bind via bibtex-set-dialect.
2de69e00
RW
9986 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9987 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9988 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9989 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9990 Define via bibtex-set-dialect.
450a0f09
SM
9991 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9992 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9993 (bibtex-vec-push, bibtex-vec-incr): New functions.
9994 (bibtex-format-entry, bibtex-field-list)
9995 (bibtex-print-help-message, bibtex-validate)
9996 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9997
2dcdbdd9
SM
99982011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * progmodes/compile.el (compilation-goto-locus):
10001 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10002 * bs.el (bs-cycle-next, bs-cycle-previous):
10003 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10004 * bindings.el (mode-line-other-buffer):
10005 * autoinsert.el (auto-insert):
10006 * arc-mode.el (archive-extract):
10007 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10008
b27640fe
JB
100092011-07-05 Juanma Barranquero <lekktu@gmail.com>
10010
10011 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10012 Fix check of `emacs-lock-unlockable-modes'.
10013 Coerce true values of `emacs-lock--try-unlocking' to t.
10014
53bbe3ad
JB
100152011-07-05 Juanma Barranquero <lekktu@gmail.com>
10016
10017 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10018 * emacs-lock.el: New file.
10019
1d3cdbc7
JD
100202011-07-05 Julien Danjou <julien@danjou.info>
10021
10022 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10023 than `boundp' to check if face is set.
10024
9173deec
JB
100252011-07-05 Juanma Barranquero <lekktu@gmail.com>
10026
10027 * register.el (registerv-make):
10028 * window.el (window-min-height): Fix typos in docstrings.
10029
869795d6
JD
100302011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10031
9173deec 10032 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10033 Update doc string.
10034
b768cdcd
JB
100352011-07-04 Juanma Barranquero <lekktu@gmail.com>
10036
10037 * server.el (server-execute): Catch quit and call
10038 `server-return-error' to pass the error back to emacsclient and
10039 close the connection (bug#8942).
10040
13aa217b
KM
100412011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10042
10043 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10044 insecure exception for current topic. Also note that auto-saves
10045 are handled differently.
10046
5d3385a0 10047 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10048 State variables for tracking auto-save inhibition situation.
10049
10050 (allout-write-contents-hook-handler): Rename from
10051 'allout-write-file-hook-handler', and describe how it depends on
10052 write-contents-functions sensitivity to non-nil value to prevent
10053 file write.
10054
10055 (allout-auto-save-hook-handler): Remove. auto-save does not check
10056 this in individual buffers, only in the starting buffer, so this
10057 is not the right way for us to inhibit auto-save in a buffer
10058 according to its condition.
10059
10060 (allout-mode): Use new allout-write-contents-hook-handler, and
10061 only with write-contents-functions. Remove auto-save provisions -
10062 they're implemented elsewhere.
10063
10064 (allout-before-change-handler): If undo is in progress, note that
10065 for attention of allout-post-command-business.
10066
10067 (allout-post-command-business): If the command we're following was
10068 an undo, check for change in the status of encrypted items and
10069 adjust auto-save inhibitions accordingly.
10070
10071 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10072 according to whether there are or aren't any plain-text topics
10073 pending encryption.
10074
2dcdbdd9 10075 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10076 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10077 if there are plain-text topics pending encryption.
13aa217b
KM
10078
10079 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10080 buffer-saved-size and some allout state to not inhibit auto-saves
10081 if there are no longer any plain-text topics pending encryption.
10082
0757af94
SM
10083 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10084 No longer provide for exemption of the current topic.
13aa217b 10085
ac89b32c
JL
100862011-07-04 Juri Linkov <juri@jurta.org>
10087
10088 Add 7z operations to delete and save changed members (bug#8968).
10089 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10090 New defcustoms.
10091 (archive-7z-write-file-member): New function.
10092 (archive-7z-summarize): Fix the number of dashes in the
10093 listing output.
10094
8fa39615
SM
100952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10098 (bug#8958).
10099
2f11b3f1
CY
101002011-07-04 Chong Yidong <cyd@stupidchicken.com>
10101
d66fef2b
CY
10102 * bindings.el: Ignore next-buffer and previous-buffer in
10103 minibuffer-local-map.
10104
2f11b3f1
CY
10105 * font-lock.el (font-lock-builtin-face): Change light background
10106 color to dark slate blue (Bug#6693).
10107
f932a347
WD
101082011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10109
10110 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10111
c8af70e1
SM
101122011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10115 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10116 Add switch-to-buffer.
10117
f158badc
LMI
101182011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10119
10120 * isearch.el (isearch-search-fun-function): Clarify further the
10121 meaning of the function returned.
10122
6d95bd46
MA
101232011-07-04 Michael Albinus <michael.albinus@gmx.de>
10124
10125 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10126
10127 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10128 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10129 Use it.
10130 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10131 `tramp-default-remote-path' does not exist.
10132 (tramp-send-command-and-read): New optional argument NOERROR.
10133 (tramp-open-connection-setup-interactive-shell)
10134 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10135 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10136 (tramp-process-sentinel): Flush also process' connection property.
10137 (tramp-sh-handle-start-file-process): Do not set process
10138 sentinel. It is done now ...
10139 (tramp-maybe-open-connection): ... here. (Bug#8929)
10140
909e6b67
MK
101412011-07-04 MON KEY <monkey@sandpframing.com>
10142
10143 * play/animate.el (animate-string): Doc fixes and allow changing
10144 the buffer name (bug#5417).
10145
101462011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10147
c8af70e1 10148 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10149
f34755dc
PE
101502011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10151
396cec72
PE
10152 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10153 This is simpler and helps future-proof the code.
10154 (timer-until): Use time-subtract and float-time.
08235028 10155 (timer--time-less-p): Use time-less-p.
f34755dc 10156
56e6cc31
JB
101572011-07-04 Juanma Barranquero <lekktu@gmail.com>
10158
3abb79e5
JB
10159 * type-break.el (timep): Use the value of `float-time' to avoid a
10160 byte-compiler warning.
10161
56e6cc31
JB
10162 * server.el (server-eval-and-print): Return any result, even nil.
10163
7b9430b4
PE
101642011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10165
10166 * type-break.el: Accept time formats that the builtins accept.
10167 (timep, type-break-time-difference): Accept any format that
10168 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10169 This is simpler and helps future-proof the code.
10170 (type-break-time-difference): Round rather than ignoring
10171 subseconds components.
10172
3034e9e7
LMI
101732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10174
10175 * info.el (Info-apropos-matches): Make non-interactive, since it
10176 doesn't seem to do anything useful as a command (bug#8829).
10177
1485f4c0
CY
101782011-07-03 Chong Yidong <cyd@stupidchicken.com>
10179
10180 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10181 Move from faces.el.
1485f4c0
CY
10182 (frame-default-terminal-background): New function.
10183
10184 * custom.el (custom-push-theme): Don't record faces in `changed'
10185 theme; this doesn't work correctly for per-frame face settings.
10186 (disable-theme): Use face-set-after-frame-default to reset faces.
10187 (custom--frame-color-default): New function.
10188
9fa3dd45
LMI
101892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10190
c8af70e1 10191 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10192 (bug#8769).
10193
6cbbc20c
KR
101942011-03-29 Kevin Ryde <user42@zip.com.au>
10195
10196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10197 `perl-Test2' extend to match possible "fail #N" rep count
10198 (bug#8377).
10199
c7f98048
LMI
102002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10201
65676592
LMI
10202 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10203 `smtpmail-via-smtp' now returns the error instead of nil.
10204
c7f98048
LMI
10205 * isearch.el (isearch-search-fun-function): Clarify the doc string
10206 (bug#8101).
10207
56e6cc31 102082011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10209
10210 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10211 unnecessary spaces (bug#8987).
10212
2b216704
LMI
102132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10214
10215 * net/network-stream.el (open-network-stream): Use the
10216 :end-of-capability command thoughout.
10217
102182011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10219
10220 * net/network-stream.el (open-network-stream): Add the
10221 :end-of-capability command parameter, used by pop3.el.
10222
36adf6ce
LMI
102232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10224
1ca0da0e
LMI
10225 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10226
fc00f69c
LMI
10227 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10228 for list)" (bug#6475).
10229
28fd8759 10230 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10231 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10232 an error (bug#6297).
10233
0dd8b6da
LMI
10234 * man.el (Man-reference-regexp): Allow matching possible
10235 word-wrapped references (bug#6289).
10236
ce1438d6
LMI
10237 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10238 for consistency with the other vc buffers (bug#6197).
10239 (vc-checkin): Ditto.
10240
10241 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10242
36adf6ce
LMI
10243 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10244
e83cc1f7
LMI
102452011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10246
8a20ca4c
LMI
10247 * custom.el (defcustom): Clarify that :set is only used in the
10248 Customize user interface (bug#6089).
10249
83319045
LMI
10250 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10251 associated with a file, refuse to run instead of erroring out
10252 (bug#6084).
10253
a8392169
LMI
10254 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10255 the doc string, since it appears that using `fill-column' always
10256 controls the width (bug#7845).
10257
e83cc1f7
LMI
10258 * simple.el (shell-command-on-region): Say where the error output
10259 went if `shell-command-default-error-buffer' is set (bug#6857).
10260
e47ca23b
KM
102612011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10262
10263 * allout.el (allout-yank-processing): Adjust cursor position for
10264 backwards-deleted space.
10265
10266 (allout-rebullet-heading): Register changes with
10267 allout-exposure-changed-hook, so the modified topic is properly
10268 decorated.
10269
5cf56143
LMI
102702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10271
08549772
LMI
10272 * minibuffer.el (completion-in-region): Document PREDICATE
10273 (bug#7136).
10274
48e96771
LMI
10275 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10276 of keyword/argument pairs (bug#6904).
10277
c8af70e1
SM
10278 * replace.el (multi-occur):
10279 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10280
e17d05e2
LMI
102812011-07-02 Drew Adams <drew.adams@oracle.com>
10282
10283 * dired.el (dired-mark-if): Make the message about whether it's
10284 marking or unmarking clearer (bug#8523).
10285
063b0e45
LMI
102862011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10287
10288 * disp-table.el (display-table-print-array): New function.
10289 (describe-display-table): Use it to print the vectors more pretty
10290 (Bug#8859).
10291
28545e04
MR
102922011-07-02 Martin Rudalics <rudalics@gmx.at>
10293
10294 * window.el (window-state-get-1): Don't assign clone numbers.
10295 Add clone-of item to list of window parameters.
10296 (window-state-put-2): Don't process clone numbers.
10297 (display-buffer-alist): Fix doc-string.
10298
3349e122
SM
102992011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * subr.el (remq): Don't allocate if it's not needed.
10302 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10303 (keymap--merge-bindings): New functions.
10304 (keymap-canonicalize): Use them to refine the canonicalization.
10305 * minibuffer.el (minibuffer-local-completion-map)
10306 (minibuffer-local-must-match-map): Move initialization from C.
10307 (minibuffer-local-filename-completion-map): Move initialization from C;
10308 don't inherit from anything here.
10309 (minibuffer-local-filename-must-match-map): Make obsolete.
10310 (completing-read-default): Use make-composed-keymap to combine
10311 minibuffer-local-filename-completion-map with either
10312 minibuffer-local-must-match-map or
10313 minibuffer-local-filename-completion-map.
10314
d224ac83
GM
103152011-07-01 Glenn Morris <rgm@gnu.org>
10316
3de63bf8
GM
10317 * type-break.el (type-break-time-sum): Use dolist.
10318
d224ac83
GM
10319 * textmodes/flyspell.el (flyspell-word-search-backward):
10320 Replace CL function.
10321
1a1e3f32
SM
103222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10323
fe3f64d5
SM
10324 * mouse.el (mouse--strip-first-event): New function.
10325 (function-key-map): Use it to map fringe clicks to normal clicks
10326 by default.
10327
eb604e34
SM
10328 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10329 (vc-bzr-revision-completion-table): Add support for annotate and date.
10330
1a1e3f32
SM
10331 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10332 inherit from parent.
10333
5bd35902
LMI
103342011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10335
ace6c69c 10336 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10337 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10338
191e2bed
LMI
10339 * dired.el (dired-mode): Fix up the doc string as suggested by
10340 Drew Adams (bug#8817).
10341
5bd35902
LMI
10342 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10343 cookie, since the manual says that it should be possible to add
10344 this function to `find-file-hook' (bug#8709).
10345
eee8207a
TZ
103462011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10347
10348 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10349 here. Noted Ted Zlatanov as the maintainer.
10350 (cfengine-common-settings, cfengine-common-syntax): New functions
10351 to set up common things between `cfengine-mode' and
10352 `cfengine3-mode'.
10353 (cfengine3-mode): New mode.
10354 (cfengine3-defuns cfengine3-defuns-regex
10355 (cfengine3-class-selector-regex cfengine3-category-regex)
10356 (cfengine3-vartypes cfengine3-font-lock-keywords)
10357 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10358 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10359
36b148cf
MA
103602011-07-01 Michael Albinus <michael.albinus@gmx.de>
10361
10362 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10363
10364 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10365
0bf4ba9a
MR
103662011-07-01 Martin Rudalics <rudalics@gmx.at>
10367
10368 * window.el (same-window-buffer-names, same-window-regexps)
10369 (same-window-p, special-display-frame-alist)
10370 (special-display-popup-frame, special-display-function)
10371 (special-display-buffer-names, special-display-regexps)
10372 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10373 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10374 (split-window-preferred-function, split-height-threshold)
10375 (split-width-threshold, even-window-heights)
10376 (display-buffer-mark-dedicated, window-splittable-p)
10377 (split-window-sensibly, window-safely-shrinkable-p):
10378 Un-obsolete.
10379 (display-buffer): Don't spread args with function specifier
10380 because special-display-popup-frame won't like it.
10381
35837f51
PE
103822011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10383
d0672f86
PE
10384 Time-stamp simplifications and fixes.
10385 These improve accuracy slightly, and future-proof the code
10386 against some potential changes to current-time format.
10387
b9444d97
PE
10388 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10389 by using time-since and float-time.
10390
0ef923dc
PE
10391 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10392 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10393 + NNN microseconds".
10394
2f81380d
PE
10395 * type-break.el (type-break-time-sum): Rewrite using time-add.
10396
845b5c3e
PE
10397 * play/hanoi.el (hanoi-current-time-float): Remove.
10398 All uses replaced by float-time.
10399
ee6f1be0
PE
10400 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10401 This yields a more-accurate answer.
10402 (rng-time-to-float): Remove; no longer needed.
10403
fe955043
PE
10404 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10405
5777162a
PE
10406 * calendar/timeclock.el (timeclock-seconds-to-time):
10407 Defalias to seconds-to-time, since they're the same thing.
10408
3103f8b6 10409 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10410 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10411 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10412
0e61a35f
SM
104132011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * window.el (bury-buffer): Don't iconify the only frame.
10416 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10417 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10418
ddd63a1e
CY
104192011-07-01 Chong Yidong <cyd@stupidchicken.com>
10420
0e61a35f
SM
10421 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10422 Add mouse-yank-primary.
ddd63a1e 10423
055f4923
TZ
104242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10425
10426 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10427
6a2fb145
SM
104282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10431 (find-library-name): Use it to find relative load names when provided
10432 absolute file name (bug#8803).
10433
fd4983f2
LMI
104342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10435
887d14ad
LMI
10436 * textmodes/flyspell.el (flyspell-word): Consider words that
10437 differ only in case as potential doublons (bug#5687).
10438
c53dc7fc
LMI
10439 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10440 Remove two rather uninteresting debugging-like messages to make
10441 debbugs.el more silent.
10442
fd4983f2
LMI
10443 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10444 a password-like phrase.
10445
7a71b18d 104462011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10447
10448 * progmodes/cc-guess.el: New file.
10449
6a2fb145 10450 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10451
10452 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10453 derived from `c-basic-common-init'.
10454
10455 * progmodes/cc-mode.el (top-level): Require cc-guess.
10456 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10457
1fa280a3
LM
104582011-06-30 Lawrence Mitchell <wence@gmx.li>
10459
10460 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10461
e6597158
AM
104622011-06-30 Alan Mackenzie <acm@muc.de>
10463
1fa280a3
LM
10464 * progmodes/cc-engine.el (c-guess-continued-construct):
10465 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10466 lock is disabled. Name this case as "CASE G".
10467
68ba37fb
KM
104682011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10469
10470 * allout.el (allout-yank-processing): Fix injection of extra space
10471 between bullet and non-whitespace character in first topic when
10472 pasting, ensuring that the actual spacing in the pasted topic
10473 following the bullet char is preserved. This extra space was
10474 causing pasted encrypted topics to get a decrypted status even
10475 when the content was actually still encrypted. Now the decryption
10476 status from before the paste is preserved.
10477
10478 (allout-flag-region): Set all allout overlays so they evaporate
10479 when reduced to zero length (evanescent), to prevent overlay
10480 leakage.
10481
887a0b34
GM
104822011-06-30 Glenn Morris <rgm@gnu.org>
10483
94b9acce
GM
10484 * w32-fns.el (w32-charset-info-alist): Declare.
10485
1d9b46d4
GM
10486 * find-dired.el (find-grep-options): Simplify.
10487
cc232200
GM
10488 * term/ns-win.el (ns-set-resource): Declare.
10489
28e77c46
GM
10490 * ses.el (row, col): Declare dynamic variables honestly.
10491
887a0b34
GM
10492 * textmodes/reftex-parse.el (index-tags): Declare.
10493
658d8eb8
CY
104942011-06-30 Chong Yidong <cyd@stupidchicken.com>
10495
10496 * cus-edit.el (customize-push-and-save): New function.
10497
10498 * files.el (hack-local-variables-confirm): Use it.
10499
1fa280a3
LM
10500 * custom.el (load-theme): New arg NO-CONFIRM.
10501 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10502 (custom-enabled-themes): Doc fix.
10503
10504 * cus-theme.el (customize-create-theme)
10505 (custom-theme-merge-theme): Callers to load-theme changed.
10506
bb617717
LMI
105072011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10508
d61bdd5d
LMI
10509 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10510 short URLs have at least one dot in them (bug #7614).
10511
bb617717
LMI
10512 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10513 nil, because using a pty is apparently too slow (bug #895).
10514
2f31f37a
LMI
105152011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10516
10517 * mail/sendmail.el (sendmail-query-once): New function.
10518 (sendmail-query-once-function): New variable.
10519
3076b24e
GM
105202011-06-29 Glenn Morris <rgm@gnu.org>
10521
faf2a174
GM
10522 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10523
3076b24e
GM
10524 * ses.el (top-level): Require cl when compiling.
10525 (ses-set-localvars): Fix error statement.
10526 Call it at compile time to silence a storm of warnings.
10527
5386012d
MR
105282011-06-29 Martin Rudalics <rudalics@gmx.at>
10529
10530 * window.el (normalize-live-buffer): Rename to
10531 window-normalize-buffer.
10532 (normalize-live-frame): Rename to window-normalize-frame.
10533 (normalize-any-window): Rename to window-normalize-any-window.
10534 (normalize-live-window): Rename to window-normalize-live-window.
10535 (make-window-atom): Rename to window-make-atom.
10536 (window-resize-reset): Rename to window--resize-reset.
10537 (window-resize-reset-1): Rename to window--resize-reset-1.
10538 (resize-mini-window): Rename to window--resize-mini-window.
10539 (resize-subwindows-skip-p): Rename to
10540 window--resize-subwindows-skip-p.
10541 (resize-subwindows-normal): Rename to
10542 window--resize-subwindows-normal.
10543 (resize-subwindows): Rename to window--resize-subwindows.
10544 (resize-other-windows): Rename to window--resize-siblings.
10545 (resize-this-window): Rename to window--resize-this-window.
10546 (resize-root-window): Rename to window--resize-root-window.
10547 (resize-root-window-vertically): Rename to
10548 window--resize-root-window-vertically.
10549 (normalize-buffer-to-display): Rename to
10550 window-normalize-buffer-to-display.
10551 (normalize-buffer-to-switch-to): Rename to
10552 window-normalize-buffer-to-switch-to.
10553 Correspondingly update all callers of the functions listed
10554 above.
10555 (display-buffer-alist, display-buffer-normalize-arguments)
10556 (display-buffer-normalize-options, display-buffer)
10557 (display-buffer-alist-set): Use "function" instead of
10558 "fun-with-args".
10559
1176868d
CY
105602011-06-28 Chong Yidong <cyd@stupidchicken.com>
10561
10562 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10563 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10564 debbugs.gnu.org. Mention acknowledgment email.
10565
20a7a65f
LMI
105662011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10567
10568 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10569 buffer multibyteness, since it shouldn't matter.
10570
5f45cca5
MR
105712011-06-28 Martin Rudalics <rudalics@gmx.at>
10572
10573 * window.el (display-buffer-in-side-window): Handle dedicated
10574 windows as in display-buffer-reuse-window.
10575 (display-buffer-normalize-alist): Use value of override
10576 specifier.
10577 (display-buffer-normalize-specifiers): Use value of
10578 other-window-means-other-frame specifier.
10579 (display-buffer-alist): Rewrite some texts in widgets.
10580 (display-buffer): Spread arguments when calling function
10581 specified by fun-with-args.
10582
ad85fe1f
DD
105832011-06-28 Deniz Dogan <deniz@dogan.se>
10584
1fa280a3
LM
10585 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10586 Unnest `let'.
da68c4c8 10587
ad85fe1f
DD
10588 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10589 selectors (Bug#5732).
ec49bd31 10590 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10591
a08cc025
JA
105922011-06-27 Jari Aalto <jari.aalto@cante.net>
10593
10594 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10595 (eshell-ls-date-format): New defcustom.
10596 (eshell-ls-file): Use it.
10597
e2b551c5
SM
105982011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10601
8982b231
KY
106022011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10603
10604 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10605 (ange-ftp-make-tmp-name): New arg.
10606 (ange-ftp-file-local-copy): Use it.
10607
36c9fa27
J
106082011-06-27 Jambunathan K <kjambunathan@gmail.com>
10609
10610 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10611 no-conversion (Bug#8870).
10612
d68443dc
MR
106132011-06-27 Martin Rudalics <rudalics@gmx.at>
10614
10615 * window.el (window-right, window-left, window-child)
10616 (window-child-count, window-last-child)
10617 (window-iso-combination-p, walk-window-tree-1)
10618 (window-atom-check-1, window-tree-1, delete-window)
10619 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10620 new naming conventions - window-vchild, window-hchild,
10621 window-next and window-prev are now called window-top-child,
10622 window-left-child, window-next-sibling and window-prev-sibling
10623 respectively.
d615d6d2
MR
10624 (resize-window-reset): Rename to window-resize-reset.
10625 (resize-window-reset-1): Rename to window-resize-reset-1.
10626 (resize-window): Rename to window-resize.
10627 (window-min-height, window-min-width)
10628 (resize-mini-window, resize-this-window, resize-root-window)
10629 (resize-root-window-vertically, adjust-window-trailing-edge)
10630 (enlarge-window, shrink-window, maximize-window)
10631 (minimize-window, delete-window, quit-restore-window)
10632 (split-window, balance-windows, balance-windows-area-adjust)
10633 (balance-windows-area, window-state-put-2)
10634 (display-buffer-even-window-sizes, display-buffer-set-height)
10635 (display-buffer-set-width, set-window-text-height)
10636 (fit-window-to-buffer): Rename all "resize-window" prefixed
10637 calls to use the "window-resize" prefix convention.
10638 (display-buffer-alist): Fix symbol for label specifier.
10639 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10640 corresponding specifier.
10641 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10642
b6458526
VB
106432011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10644
10645 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10646 convention.
10647 (ses-call-printer): Does not pass an empty string to formatter when the
10648 cell is empty to keep from barking printer Calc math-format-value.
10649
d31fd9ac
RS
106502011-06-27 Richard Stallman <rms@gnu.org>
10651
43d5bf84
RS
10652 * battery.el (battery-mode-line-limit): New variable.
10653 (battery-update): Handle it.
10654
d31fd9ac
RS
10655 * mail/rmailmm.el (rmail-mime-process-multipart):
10656 Handle truncated messages.
10657
819a6054
GM
106582011-06-27 Glenn Morris <rgm@gnu.org>
10659
10660 * progmodes/flymake.el (flymake-err-line-patterns):
10661 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10662
cedc73f2
VB
106632011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10664
819a6054 10665 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10666 (ses--clean-!, ses--clean-_): New functions.
10667 (ses-range): Add configurability of readout order, and conversion
10668 to Calc vector.
10669
5e5d49b6
VB
10670 * ses.el (ses-repair-cell-reference-all): New function.
10671 (ses-cell-symbol): Set macro as safe, so that it can be used in
10672 formulas.
10673
56e6cc31 10674 * ses.el: Update cycle detection algorithm.
90ca8b49 10675 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10676 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10677 (ses-set-localvars): New function.
10678 (ses-make-cell): Add property-list as a cell element.
10679 (ses-cell-property-get-fun, ses-cell-property-get)
10680 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10681 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10682 New functions.
90ca8b49
VB
10683 (ses-cell-property-set, ses-cell-property-pop)
10684 (ses-cell-property-get-handle): New macro.
10685 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10686 New aliases, used for code readability.
10687 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10688 cycle detection.
10689 (ses-self-reference-early-detection): New defcustom.
fac916bf 10690 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10691 (ses-mode): Use ses-set-localvars.
10692 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10693 before lauching the update processing.
10694 (ses-initialize-Dijkstra-attempt): New function.
10695 (ses-recalculate-cell): Update for cycle detection based on
10696 Dijkstra algorithm.
10697
2bb63e81
VB
10698 * ses.el: Fix commenting and indenting convention.
10699
c9d29fb8
SM
107002011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * bs.el (bs-cycle-next): Complete last change.
10703
d8e4b68b
JB
107042011-06-27 Drew Adams <drew.adams@oracle.com>
10705
10706 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10707
40098786
LMI
107082011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10709
c9d29fb8
SM
10710 * net/network-stream.el (network-stream-open-starttls):
10711 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10712 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10713
40098786
LMI
10714 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10715 to binary to possibly avoid line encoding issues on Windows (among
10716 other things).
10717
468d09d4
LMI
107182011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10719
10720 * net/network-stream.el (open-network-stream): Return an :error
10721 saying what the problem was, if possible.
10722
10723 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10724 server.
10725
10726 * net/network-stream.el (network-stream-open-starttls): If we
10727 wanted to use STARTTLS, and the server offered it, but we weren't
10728 able to because we had no STARTTLS support, then close the connection.
10729 (open-network-stream): Return an :error element, if present.
10730
16f07dd7
CY
107312011-06-26 Chong Yidong <cyd@stupidchicken.com>
10732
88821ca0
CY
10733 * hl-line.el (hl-line-sticky-flag): Doc fix.
10734 (global-hl-line-sticky-flag): New option (Bug#8323).
10735 (global-hl-line-highlight): Obey it.
10736
16f07dd7
CY
10737 * vc/vc.el (vc-revert-show-diff): Default to t.
10738
6b5ccddf
KM
107392011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10740
c9d29fb8
SM
10741 * allout-widgets.el (allout-widgets-post-command-business):
10742 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10743 undecorated when an isearch is continued past, and isearch
10744 automatically collapses them. This leads to "widget leaks", where
10745 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10746 hidden widgets can slow down cursor travel, substantially.
10747 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10748 so we're doing without this nicety.
10749
10750 (allout-widgets-tally-string): Don't try to do a hash-table-count
10751 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10752 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10753 *Messages* when allout-widgets-maintain-tally is t.
10754
355f2e07
MR
107552011-06-26 Martin Rudalics <rudalics@gmx.at>
10756
10757 * window.el (display-buffer-normalize-argument): Rename to
10758 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10759 LABEL argument. Respect special-display-function when popping up
10760 a new frame. Fix code searching for a window showing the buffer
10761 on another frame.
c9d29fb8
SM
10762 (display-buffer-normalize-specifiers):
10763 Call display-buffer-normalize-arguments.
355f2e07
MR
10764 (display-buffer-in-window): Don't undedicate the window if its
10765 buffer remains the same.
10766 Reported by Drew Adams <drew.adams@oracle.com>.
10767 (display-buffer-alist): Add choice for same-window macro
10768 specfier.
10769 (display-buffer): Mention special meaning of LABEL argument in
10770 doc-string. Fix quoting. Don't pop up a new frame even as
10771 fallback.
10772
7ca8fc42
JB
107732011-06-26 Juanma Barranquero <lekktu@gmail.com>
10774
10775 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10776 avoid deleting the current window in some cases (bug#8911).
10777
bc312254
AS
107782011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10779
10780 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10781 (Bug#8934)
10782
2db18f3f
LMI
107832011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10784
c9d29fb8
SM
10785 * net/network-stream.el (network-stream-open-starttls):
10786 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10787 (network-stream-open-tls): Ditto.
10788
6302e0d3
LL
107892011-06-26 Leo Liu <sdl.web@gmail.com>
10790
10791 * register.el (registerv): New struct.
10792 (registerv-make): New function.
c9d29fb8
SM
10793 (jump-to-register, describe-register-1, insert-register):
10794 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10795 struct. (Bug#8415)
10796
5fdd4046
CY
107972011-06-26 Chong Yidong <cyd@stupidchicken.com>
10798
2afef60a
CY
10799 * vc/vc.el (vc-revert-show-diff): New defcustom.
10800 (vc-diff-internal): New arg specifying diff buffer.
10801 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10802 reuse an existing *vc-diff* buffer (Bug#8927).
10803
5fdd4046
CY
10804 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10805
e93db24a
GM
108062011-06-26 Glenn Morris <rgm@gnu.org>
10807
10808 * progmodes/f90.el (f90-critical-indent): New option.
10809 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10810 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10811 (f90-mode): Doc fix.
10812 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10813 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10814 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10815 (f90-match-end): Handle block, critical.
10816
eefff499
GM
108172011-06-25 Glenn Morris <rgm@gnu.org>
10818
f6ba4cc9
GM
10819 * calendar/diary-lib.el (diary-included-files): Doc fix.
10820 (diary-include-files): New function, extracted from
10821 diary-include-other-diary-files and diary-mark-included-diary-files.
10822 (diary-include-other-diary-files, diary-mark-included-diary-files):
10823 Just call diary-include-files.
10824 (diary-mark-entries): Reset diary-included-files on first call.
10825
16712304
GM
10826 * calendar/diary-lib.el (diary-mark-entries)
10827 (diary-mark-included-diary-files):
10828 Visit included diary-files in temp buffers.
10829
5d8e0d43
GM
10830 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10831 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10832 (f90-start-block-re, f90-imenu-generic-expression)
10833 (f90-looking-at-program-block-start, f90-no-block-limit):
10834 Add support for submodules.
10835
ccf7a5d5
GM
10836 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10837 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10838
11fdef7d 108392011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10840
10841 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10842 buffer-file-type before setting its value, to avoid disastrous
eefff499 10843 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10844
74f53697
JB
108452011-06-25 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10848
10849 * ses.el (ses-unload-function):
10850 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10851
10852 * proced.el (proced-unload-function):
10853 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10854
18a4ce5e
AR
108552011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10856
10857 * server.el (server-create-window-system-frame): Add parameters arg.
10858 (server-process-filter): Doc fix. Handle frame-parameters.
10859
519d22cc
JB
108602011-06-25 Juanma Barranquero <lekktu@gmail.com>
10861
10862 Fix bug#8730, bug#8781.
10863
10864 * loadhist.el (unload--set-major-mode): New function.
10865 (unload-feature): Use it.
10866
10867 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10868 (python-unload-function): New function.
10869
c206f5b0
SM
108702011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10873
f9ad64f3
GS
108742011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10875
10876 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10877 the candidates list.
10878
7d0da90e
JB
108792011-06-24 Juanma Barranquero <lekktu@gmail.com>
10880
10881 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10882
14b4e83d
RS
108832011-06-23 Richard Stallman <rms@gnu.org>
10884
10885 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10886 (rmail-variables): Set next-error-move-function.
10887 (rmail-what-message): Take argument POS.
10888 (rmail-next-error-move): New function.
10889
273d2baf
SM
108902011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10893 messages for adjacent non-terminals.
10894
56c2cc9a
RS
108952011-06-23 Richard Stallman <rms@gnu.org>
10896
10897 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10898 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10899 (rmail-start-mail): Don't specify use of rmail-mail-return;
10900 that's done by mail-bury now.
10901 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10902
d59eb518
MA
109032011-06-23 Michael Albinus <michael.albinus@gmx.de>
10904
10905 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10906 SIZE is a number.
10907
02cfc6d6
MR
109082011-06-23 Martin Rudalics <rudalics@gmx.at>
10909
10910 * window.el (get-lru-window, get-mru-window)
10911 (get-largest-window): Never return a minibuffer window.
10912 (display-buffer-pop-up-window): Fix a bug that could lead to
10913 reusing the minibuffer window.
10914 (display-buffer): Pass original specifier argument to
10915 display-buffer-function instead of the normalized one.
10916 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10917
4e323265
LL
109182011-06-22 Leo Liu <sdl.web@gmail.com>
10919
10920 * minibuffer.el (completing-read-function)
10921 (completing-read-default): Move from minibuf.c
10922
7a70468f
RS
109232011-06-22 Richard Stallman <rms@gnu.org>
10924
50718fc2
RS
10925 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10926 to Rmail even if not started by a special Rmail command.
10927
7a70468f
RS
10928 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10929 Copy the buffer currently showing just one message.
10930
297dde5a
RW
109312011-06-22 Roland Winkler <winkler@gnu.org>
10932
10933 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10934 (bibtex-clean-entry): First delete the old key so that a
10935 customized algorithm for generating the new key does not get
10936 confused by the old key.
10937 (bibtex-url): Obey regexp of first step.
10938 (bibtex-search-entries): Do not use add-to-list with local
10939 list-var.
10940
97bb1093
LMI
109412011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10942
10943 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10944 stored a user name, then query for the password first, instead of
10945 waiting for SMTP to give an error message and the trying again.
10946
1c0f1a19
JD
109472011-06-22 Lawrence Mitchell <wence@gmx.li>
10948
10949 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10950 BUFFER in call-process.
10951
396f7c9d
LMI
109522011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10953
10954 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10955 QUIT twice.
ddb7ffee
LMI
10956 (smtpmail-try-auth-methods): Require user name and password from
10957 auth-source.
396f7c9d 10958
8998d1b3
MR
109592011-06-22 Martin Rudalics <rudalics@gmx.at>
10960
10961 * window.el (display-buffer-default-specifiers)
10962 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10963 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10964 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10965
10966 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10967 (special-display-frame-alist, special-display-popup-frame):
10968 Remove duplicate declarations. These are now in window.el.
10969
4ea31e07
LMI
109702011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10971
c9d29fb8
SM
10972 * mail/smtpmail.el (smtpmail-via-smtp):
10973 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10974 server supports it. SMTP servers that support STARTTLS commonly
10975 require it.
10976
10977 * net/network-stream.el (network-stream-open-starttls): Support
10978 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10979 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10980
95f41d9a
LMI
10981 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10982 upgrades with `open-network-stream', and rely solely on
10983 auth-source for all credentials. Big changes throughout the file,
10984 but in particular:
c9d29fb8
SM
10985 (smtpmail-auth-credentials): Remove.
10986 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10987 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10988 MAIL FROM, too.
95f41d9a 10989
c9d29fb8
SM
10990 * net/network-stream.el (network-stream-open-starttls):
10991 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10992 STARTTLS.
10993 (auth-source): Require.
10994 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10995 (network-stream-certificate): Change cert-cert to cert and
10996 cert-key to key.
4ea31e07 10997
065ec2c7
MA
109982011-06-21 Michael Albinus <michael.albinus@gmx.de>
10999
11000 * net/tramp-cache.el (top): Don't load the persistency file when
11001 "emacs -Q" has been called.
11002
cd93b359
DR
110032011-06-21 Tim Harper <timcharper@gmail.com>
11004
d8e4b68b
JB
11005 * term/ns-win.el (ns-initialize-window-system):
11006 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11007 resource to NO as it is not yet supported by the NS port.
11008
ae9c0411
JB
110092011-06-21 Juanma Barranquero <lekktu@gmail.com>
11010
11011 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11012 (list-dynamic-libraries): ...not here.
11013
7f3f739f
LL
110142011-06-21 Leo Liu <sdl.web@gmail.com>
11015
11016 * subr.el (sha1): Implement sha1 using secure-hash.
11017
327c8fb1
MR
110182011-06-21 Martin Rudalics <rudalics@gmx.at>
11019
11020 * window.el (display-buffer-alist): In default value do not
11021 enforce searching a window on any but the selected frame.
11022 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11023 (display-buffer-select-window): Remove function.
11024 (display-buffer-in-window): When a window on another frame gets
11025 reused, do not select it any more but just raise its frame if
11026 necessary (Bug#8851) and (Bug#8856).
11027 (display-buffer-normalize-options): Handle pop-up-frames related
11028 options more faithfully.
11029 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11030 window if it is on another frame.
c9d29fb8
SM
11031 (display-buffer-alist, display-buffer-default-specifiers):
11032 Don't make new frame unsplittable by default.
9e9de014
MR
11033 (display-buffer-normalize-argument): Fix doc-string typo and use
11034 'same-frame-other-window instead of 'other-window when associating
11035 with display-buffer-macro-specifiers.
327c8fb1 11036
7cf3f556
VB
110372011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11038
11039 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11040 New functions.
11041 (5x5-mode-map, 5x5-mode-menu): Bind them.
11042 (5x5-draw-grid): Tweak the solver's rendering.
11043
60a406cf
SM
110442011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11047 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11048
d8e4b68b 110492011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11050
11051 * menu-bar.el: Use function variable instead of switch-to-buffer.
11052 (menu-bar-select-buffer-function): New variable.
60a406cf 11053 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11054
478d6f95
SM
110552011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11058 variable's status.
11059
ca530739
JD
110602011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11061
11062 * x-dnd.el (x-dnd-version-from-flags)
11063 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11064 and long as number (Bug#8899).
11065 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11066
bcd70d97
SM
110672011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11068
60a406cf 11069 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11070 (completion-try-completion, completion-all-completions): Compute the
11071 metadata argument if it's missing; make it optional (bug#8795).
11072
60a406cf 11073 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11074 (widget-complete): Use new :completion-function property.
11075 (widget-completions-at-point): New function.
11076 (default): Use :completion-function instead of :complete.
60a406cf
SM
11077 (widget-default-completions): Rename from widget-default-complete;
11078 Rewrite.
bcd70d97
SM
11079 (widget-string-complete, widget-file-complete, widget-color-complete):
11080 Remove functions.
11081 (file, symbol, function, variable, coding-system, color):
11082 * international/mule-cmds.el (default-input-method, charset)
11083 (language-info-custom-alist):
11084 * cus-edit.el (face): Use new property :completions.
11085
11086 * progmodes/pascal.el (pascal-completions-at-point): New function.
11087 (pascal-mode): Use it.
11088 (pascal-mode-map): Use completion-at-point.
11089 (pascal-toggle-completions): Make obsolete.
11090 (pascal-complete-word, pascal-show-completions):
11091 * progmodes/octave-mod.el (octave-complete-symbol):
11092 Redefine as obsolete alias.
11093 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11094 Signal absence of completion info for old Octave,
11095 (inferior-octave-complete): Redefine as obsolete alias.
11096 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11097 (meta-completions-at-point): Rename from meta-complete-symbol and
11098 adapt it for use on completion-at-point-functions.
11099 (meta-common-mode): Use it.
11100 (meta-looking-at-backward, meta-match-buffer): Remove.
11101 (meta-complete-symbol): Redefine as obsolete alias.
11102 (meta-common-mode-map): Use completion-at-point.
11103 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11104 (makefile-mode-map): Use completion-at-point.
11105 (makefile-completions-at-point): Rename from makefile-complete and
11106 adapt it for use on completion-at-point-functions.
11107 (makefile-mode): Use it.
11108 (makefile-complete): Redefine as obsolete alias.
11109
aebf69c8
DD
111102011-06-20 Deniz Dogan <deniz@dogan.se>
11111
11112 * net/rcirc.el: Delete trailing whitespaces once and for all.
11113
bfbbb27d
DC
111142011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11115
11116 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11117
d264a46b
CY
111182011-06-19 Chong Yidong <cyd@stupidchicken.com>
11119
4ca009e5
CY
11120 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11121
d264a46b
CY
11122 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11123
fbf5b3ce
MR
111242011-06-19 Martin Rudalics <rudalics@gmx.at>
11125
11126 * window.el (display-buffer-other-window-means-other-frame):
11127 Call display-buffer-normalize-alist.
11128 (display-buffer-normalize-specifiers-1): Rename to
11129 display-buffer-normalize-argument. New argument other-frame.
11130 Rewrite.
11131 (display-buffer-normalize-specifiers-2): Rename to
11132 display-buffer-normalize-options.
11133 (display-buffer-normalize-alist-1): New function.
11134 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11135 display-buffer-normalize-alist.
11136 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11137 (display-buffer-normalize-options-inhibit): New variable.
11138 (display-buffer-normalize-specifiers): Rewrite calling
11139 display-buffer-normalize-alist,
11140 display-buffer-normalize-argument, and
11141 display-buffer-normalize-options. Don't call the latter if
11142 display-buffer-normalize-options-inhibit is non-nil.
11143 (frame-auto-delete): New option.
11144 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11145 (window-list-no-nils, window-state-ignored-parameters)
11146 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11147 (window-state-put-1, window-state-put-2, window-state-put):
11148 New functions.
9a028c23
MR
11149 (display-buffer-normalize-options): Move special-display-p group
11150 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11151
6d10d800
CY
111522011-06-18 Chong Yidong <cyd@stupidchicken.com>
11153
6420d28b
CY
11154 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11155 groups (Bug#8776).
11156 (rx-submatch-n): New function.
11157 (rx): Document it.
11158
ddb8b596
CY
11159 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11160 (Bug#8768).
11161
11162 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11163
77080289
CY
11164 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11165
61dfb316
CY
11166 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11167 anytime existing face settings are present (Bug#8889).
11168
6d10d800
CY
11169 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11170 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11171 Remove unused argument.
11172
be3fb2b8
MR
111732011-06-18 Martin Rudalics <rudalics@gmx.at>
11174
bcd70d97
SM
11175 * window.el (display-buffer-default-specifiers):
11176 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11177 pop-up-window-min-width, and another reuse-window specifier
11178 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11179 (display-buffer-normalize-specifiers-2):
11180 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11181 pop-up-windows is unset. Add a reuse-window specifier for the
11182 case popping up a new window fails.
11183 (special-display-popup-frame): Remove double quoting.
28dec25a 11184 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11185
1c6d8c76
SM
111862011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11189 according to comint-completion-addsuffix.
11190
11191 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11192 (pcomplete-suffix-list): Mark as obsolete.
11193 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11194 pcomplete-seen in the closure.
11195 (pcomplete-comint-setup): Setup completion-at-point as well.
11196 (pcomplete--entries): New function.
11197 (pcomplete--env-regexp): New var.
11198 (pcomplete-entries): Rewrite to work with partial-completion and
11199 without relying on pcomplete-suffix-list.
11200 (pcomplete-pare-list): Remove, unused.
11201
25aef8b8
MR
112022011-06-17 Martin Rudalics <rudalics@gmx.at>
11203
11204 * window.el (display-buffer-alist): Set pop-up-window-min-height
11205 and pop-up-window-min-width in default value. Reported by
11206 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11207 other-window-means-other-frame.
11208 (display-buffer-macro-specifiers): Comment out entry for
11209 other-window specifier.
11210 (display-buffer-other-window-means-other-frame): New function.
11211 (display-buffer-normalize-specifiers-1): New arguments
11212 buffer-name and label. Treat other-window case specially.
11213 (display-buffer-normalize-specifiers-2): Treat other-window case
11214 specially.
11215 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11216 (display-buffer-normalize-specifiers):
11217 Call display-buffer-normalize-specifiers-3.
25aef8b8 11218
dbad4f69
MR
112192011-06-17 Martin Rudalics <rudalics@gmx.at>
11220
11221 * window.el (same-window-p): Fix two typos introduced when
11222 adding with-no-warnings.
d1067961
MR
11223 (display-buffer-normalize-specifiers-1): Don't check
11224 pop-up-frames for 'unset initialization.
11225 (display-buffer-normalize-specifiers-2): Major rewrite using
11226 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11227 (pop-up-frames, display-buffer-reuse-frames)
11228 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11229 Suggested by David Engster <deng@randomsample.de>.
11230 (even-window-heights): Initialize to 'unset.
11231 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11232 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11233 other window case.
dbad4f69 11234
9b9c9e3a
MR
112352011-06-16 Martin Rudalics <rudalics@gmx.at>
11236
bcd70d97
SM
11237 * window.el (display-buffer-normalize-specifiers-1):
11238 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11239 second argument of display-buffer (Bug#8865).
981d5c09
MR
11240 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11241 (switch-to-buffer-other-window-same-frame)
11242 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11243 Adams (Bug#8875).
9c2755e9
MR
11244 (display-buffer): Don't check noninteractive when calling
11245 display-buffer-pop-up-frame.
11246 (display-buffer-pop-up-frame): Never pop up a frame in
11247 noninteractive mode (Bug#8857).
67222e1d
MR
11248 (enlarge-window, shrink-window): Don't report an error when the
11249 window can't be resized as requested (Bug#8862).
9b9c9e3a 11250
2b75be67
SM
112512011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11252
9ffdd3ba
SM
11253 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11254
cb581a67
SM
11255 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11256
2b75be67
SM
11257 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11258
8c0e3589
AM
112592011-06-15 Alan Mackenzie <acm@muc.de>
11260
cb581a67
SM
11261 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11262 for declarators, disable knr checking to speed up for normal files.
11263 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11264
b96e6cde
LMI
112652011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11266
4bba86e6
LMI
11267 * net/network-stream.el (open-network-stream): Add the keyword
11268 :always-query-capabilities for the case where you want to force a
11269 `plain' network connection, but the protocol still requires the
11270 capabilitiy command (i.e., SMTP and EHLO).
11271
2b75be67 11272 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11273 consistency with other `-live-p' functions.
11274
efdcdbf8
SM
112752011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * window.el (same-window-buffer-names, same-window-regexps)
11278 (special-display-frame-alist, special-display-popup-frame)
11279 (special-display-function, special-display-buffer-names)
11280 (special-display-regexps, pop-up-frame-alist)
11281 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11282 (pop-up-windows, split-window-preferred-function)
11283 (split-height-threshold, split-width-threshold, even-window-heights)
11284 (display-buffer-mark-dedicated): Don't encourage the use of
11285 display-buffer-alist from Elisp code.
11286
c5cde042
DN
112872011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11288
11289 * progmodes/python.el (python-mode): Derive from prog-mode.
11290 * progmodes/ps-mode.el (ps-mode):
11291 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11292 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11293 * progmodes/ld-script.el (ld-script-mode): Likewise.
11294
baa1c9ab
MR
112952011-06-15 Martin Rudalics <rudalics@gmx.at>
11296
11297 * window.el (display-buffer-alist): Trim default value to avoid
11298 popping up a new frame (Bug#8857) or reusing an arbitrary window
11299 on another frame.
11300 (display-buffer): Do not fall back on popping up a new frame in
11301 batch mode (Bug#8857).
11302
c5dd5a51
CY
113032011-06-14 Chong Yidong <cyd@stupidchicken.com>
11304
11305 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11306 (custom-theme-summary): New function.
11307 (customize-themes): Use it.
11308
d647b7c4
GM
113092011-06-13 Glenn Morris <rgm@gnu.org>
11310
11311 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11312
9481c002
MR
113132011-06-13 Martin Rudalics <rudalics@gmx.at>
11314
357f93d2
MR
11315 * help.el (help-window): Remove variable.
11316 (help-window-point-marker, temp-buffer-max-height)
11317 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11318 (help-print-return-message): Don't set help-window.
11319 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11320 (help-window-setup-finish): Remove.
11321 (help-window-display-message, help-window-setup)
11322 (with-help-window): Major rewrite based on new
11323 display-buffer-window variable.
11324
11325 * help-mode.el (help-mode-finish): Remove help-window related
11326 code.
11327
11328 * view.el (view-exits-all-viewing-windows): Remove reference to
11329 view-return-to-alist in doc-string.
11330 (view-return-to-alist): Make obsolete.
11331 (view-buffer): Call pop-to-buffer-same-window and remove
11332 undo-window code.
11333 (view-buffer-other-window): Call pop-to-buffer-other-window and
11334 simplify code. Ignore second argument.
11335 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11336 simplify code. Ignore second argument.
11337 (view-return-to-alist-update): Make obsolete.
11338 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11339 Rewrite using quit-restore window parameters.
2b75be67
SM
11340 (view-mode-exit): Rename second argument to EXIT-ONLY.
11341 Rewrite using quit-restore-window.
357f93d2
MR
11342 (View-exit, View-exit-and-edit, View-leave, View-quit)
11343 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11344 appropriate arguments.
11345 (view-end-message): Use quit-restore window parameter.
11346
9481c002
MR
11347 * window.el (display-buffer-function): Rewrite doc-string.
11348 (display-buffer-window, display-buffer-alist): New variables.
11349 (display-buffer-split-specifiers)
11350 (display-buffer-side-specifiers)
11351 (display-buffer-macro-specifiers): New constants.
11352 (display-buffer-even-window-sizes, display-buffer-set-height)
11353 (display-buffer-set-width, display-buffer-select-window)
11354 (display-buffer-in-window, display-buffer-reuse-window)
11355 (display-buffer-split-window-1, display-buffer-split-window)
11356 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11357 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11358 (display-buffer-in-side-window, normalize-buffer-to-display)
11359 (display-buffer-normalize-specifiers-1)
11360 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11361 (display-buffer-normalize-specifiers, display-buffer-frame):
11362 New functions.
9481c002
MR
11363 (display-buffer): Major rewrite.
11364 (display-buffer-other-window, display-buffer-other-frame)
11365 (pop-to-buffer, switch-to-buffer-other-window)
11366 (switch-to-buffer-other-frame): Rewrite.
11367 (display-buffer-same-window, display-buffer-same-frame)
11368 (display-buffer-same-frame-other-window)
11369 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11370 (pop-to-buffer-other-window)
11371 (pop-to-buffer-same-frame-other-window)
11372 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11373 (switch-to-buffer-other-window-same-frame): New functions.
11374 (same-window-p, special-display-p): Rewrite disabling warnings.
11375 Make obsolete.
11376 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11377 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11378 Make obsolete
11379 (same-window-buffer-names, same-window-regexps)
11380 (special-display-frame-alist, special-display-popup-frame)
11381 (special-display-function, special-display-buffer-names)
11382 (special-display-regexps, pop-up-frame-alist)
11383 (pop-up-frame-function, split-window-preferred-function)
11384 (split-height-threshold, split-width-threshold)
11385 (even-window-heights): Make obsolete.
11386
9db51aca
GM
113872011-06-12 Glenn Morris <rgm@gnu.org>
11388
11389 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11390 Misc simplifications.
9db51aca 11391
39cffb44
MR
113922011-06-12 Martin Rudalics <rudalics@gmx.at>
11393
11394 * window.el (window-safely-shrinkable-p): Restore function which
11395 was inadvertently removed in change from 2011-06-11. Declare as
11396 obsolete.
11397
2b75be67
SM
11398 * calendar/calendar.el (calendar-generate-window):
11399 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11400 window-safely-shrinkable-p.
11401
a8955be7
GM
114022011-06-12 Glenn Morris <rgm@gnu.org>
11403
11404 * progmodes/fortran.el (fortran-mode-syntax-table):
11405 * progmodes/f90.el (f90-mode-syntax-table):
11406 Set % to punctuation. (Bug#8820)
11407 (f90-find-tag-default): Remove, no longer needed.
11408
f0d4059d
DC
114092011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11410
11411 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11412
1100a63c
CY
114132011-06-11 Chong Yidong <cyd@stupidchicken.com>
11414
11415 * image.el (image-animated-p): Return animation delay in seconds.
11416 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11417 (image-animate-timeout): Remove DELAY argument. Don't assume
11418 every subimage has the same delay; get it from image-animated-p.
11419 (image-animate): Caller changed.
11420
def722bf
MA
114212011-06-11 Michael Albinus <michael.albinus@gmx.de>
11422
11423 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11424 to ignored backtrace functions.
11425
0a2bb1a9
GM
114262011-06-11 Glenn Morris <rgm@gnu.org>
11427
11428 * calendar/appt.el (appt-disp-window-function): Doc fix.
11429 (appt-check): Handle overlapping appointments. (Bug#8337)
11430
6198ccd0
MR
114312011-06-11 Martin Rudalics <rudalics@gmx.at>
11432
11433 * window.el (window-tree-1, window-tree): New functions, moving
11434 the latter to window.el.
11435 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11436 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11437 (bw-refresh-edges): Remove.
11438 (balance-windows-1, balance-windows-2): New functions.
11439 (balance-windows): Rewrite in terms of window tree functions,
11440 balance-windows-1 and balance-windows-2.
11441 (bw-adjust-window): Remove.
11442 (balance-windows-area-adjust): New function with functionality of
11443 bw-adjust-window but using resize-window.
2b75be67
SM
11444 (set-window-text-height): Rewrite doc-string.
11445 Use normalize-live-window and resize-window.
11446 (enlarge-window-horizontally, shrink-window-horizontally):
11447 Rename argument to DELTA.
6198ccd0
MR
11448 (window-buffer-height): New function.
11449 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11450 Rewrite using new window resize routines.
2b75be67
SM
11451 (kill-buffer-and-window, mouse-autoselect-window-select):
11452 Use ignore-errors instead of condition-case.
6198ccd0
MR
11453 (quit-window): Call delete-frame instead of delete-windows-on
11454 for the only buffer on frame.
11455
9397e56f
MR
114562011-06-10 Martin Rudalics <rudalics@gmx.at>
11457
11458 * loadup.el (top-level): Load window before files for the sake
11459 of replace-buffer-in-windows.
11460
11461 * files.el (read-buffer-to-switch)
11462 (switch-to-buffer-other-window)
2b75be67
SM
11463 (switch-to-buffer-other-frame, display-buffer-other-frame):
11464 Move to window.el.
9397e56f
MR
11465
11466 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11467 (previous-buffer): Move to window.el.
11468
11469 * bindings.el (unbury-buffer): Move to window.el.
11470
11471 * window.el (delete-other-windows-vertically): Move after
11472 definition of delete-other-windows.
11473 (other-window, delete-windows-on, replace-buffer-in-windows):
11474 Move here from window.c.
11475 (record-window-buffer, unrecord-window-buffer)
11476 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11477 (switch-to-next-buffer): New functions.
11478 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11479 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11480 (previous-buffer): Move here from simple.el.
11481 Call switch-to-prev-buffer.
9397e56f
MR
11482 (bury-buffer): Move here from buffer.c. Switch to previous
11483 buffer when window cannot be deleted.
11484 (unbury-buffer): Move here from bindings.el.
11485 (ctl-x-map): Move binding for other-window from window.c to
11486 here.
11487 (read-buffer-to-switch, switch-to-buffer-other-window)
11488 (switch-to-buffer-other-frame): Move here from files.el.
11489 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11490 (switch-to-buffer): Move here from buffer.c.
11491 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11492
562dd5e9
MR
114932011-06-10 Martin Rudalics <rudalics@gmx.at>
11494
11495 * window.el (window-min-height, window-min-width): Move here
11496 from window.c. Add defcustoms and rewrite doc-strings.
11497 (resize-mini-window, resize-window): New functions.
11498 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11499 Move here from window.c.
11500 (maximize-window, minimize-window): New functions.
11501 (delete-window, delete-other-windows, split-window): Move here
11502 from window.c.
11503 (window-split-min-size): New function.
11504 (split-window-keep-point): Mention split-window-above-each-other
11505 instead of split-window-vertically.
2b75be67 11506 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11507 Rename split-window-vertically to split-window-above-each-other
11508 and provide defalias for old definition.
11509 (split-window-side-by-side, split-window-horizontally):
11510 Rename split-window-horizontally to split-window-side-by-side
11511 and provide defalias for the old definition.
562dd5e9
MR
11512 (ctl-x-map): Move bindings for delete-window,
11513 delete-other-windows and enlarge-window here from window.c.
11514 Replace bindings for split-window-vertically and
11515 split-window-horizontally by bindings for
11516 split-window-above-each-other and split-window-side-by-side.
11517
11518 * cus-start.el (all): Remove entries for window-min-height and
11519 window-min-width. Add entries for window-splits and
11520 window-nest.
11521
f0da764a
GM
115222011-06-09 Glenn Morris <rgm@gnu.org>
11523
80675c21
GM
11524 * calendar/appt.el (appt-mode-line): New function.
11525 (appt-check, appt-disp-window): Use it.
11526
f0da764a
GM
11527 * files.el (hack-one-local-variable-eval-safep):
11528 Allow minor-modes with explicit +/-1 arguments.
11529
59f623b7
TZ
115302011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11531
11532 * term/xterm.el (xterm): Add defgroup.
11533 (xterm-extra-capabilities): Add defcustom to supply known xterm
11534 capabilities, skip querying them, or query them (default).
11535 (terminal-init-xterm): Use it.
11536 (terminal-init-xterm-modify-other-keys): New function to set up
11537 modifyOtherKeys support to simplify `terminal-init-xterm'.
11538
9aab8e0d
MR
115392011-06-09 Martin Rudalics <rudalics@gmx.at>
11540
11541 * window.el (resize-window-reset, resize-window-reset-1)
11542 (resize-subwindows-skip-p, resize-subwindows-normal)
11543 (resize-subwindows, resize-other-windows, resize-this-window)
11544 (resize-root-window, resize-root-window-vertically)
11545 (window-deletable-p, window-or-subwindow-p)
11546 (frame-root-window-p): New functions.
11547
e8b08aee
GM
115482011-06-09 Glenn Morris <rgm@gnu.org>
11549
11550 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11551 (ange-ftp-get-files): Use it.
11552
254c37a5
AK
115532011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11554
11555 * mail/sendmail.el (mail-recover-1, mail-recover):
11556 * files.el (recover-file, recover-session):
11557 Handle dired-listing-switches not being just a single short option.
11558
35d7dbd3
GM
115592011-06-09 Glenn Morris <rgm@gnu.org>
11560
11561 * calendar/appt.el (appt-display-message, appt-disp-window):
11562 Handle lists of appointments.
11563
387522b2
MR
115642011-06-08 Martin Rudalics <rudalics@gmx.at>
11565
2b75be67
SM
11566 * window.el (one-window-p): Move down in code.
11567 Rewrite doc-string.
11568 (window-current-scroll-bars): Rewrite doc-string.
11569 Normalize live window argument.
387522b2
MR
11570 (walk-windows, get-window-with-predicate, count-windows):
11571 Rewrite doc-string. Use window-list-1.
11572 (window-in-direction-2, window-in-direction, get-mru-window):
11573 New functions.
11574
d8e4b68b 115752011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11576
11577 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11578 Doc fix (Bug#8713).
11579
115802011-06-08 Chong Yidong <cyd@stupidchicken.com>
11581
11582 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11583
115842011-06-08 Juanma Barranquero <lekktu@gmail.com>
11585
11586 * loadhist.el (unload-feature-special-hooks):
11587 Add `comint-output-filter-functions'.
11588
0de12c52
IK
115892011-06-08 Ivan Kanis <gnu@kanis.fr>
11590
11591 * calendar/appt.el (appt-check): Move some initializations into the let.
11592
f3d1777e
MR
115932011-06-08 Martin Rudalics <rudalics@gmx.at>
11594
11595 * window.el (window-height): Defalias to window-total-height.
11596 (window-width): Defalias to window-body-width.
11597
18af70d0
CY
115982011-06-07 Chong Yidong <cyd@stupidchicken.com>
11599
11600 * image-mode.el (image-toggle-animation): New command.
11601 (image-mode-map): Bind it to RET.
11602 (image-mode): Update message.
11603 (image-toggle-display-image): Avoid a spurious cache flush.
11604 (image-transform-rotation): Doc fix.
11605 (image-transform-properties): Return quickly in the normal case.
11606 (image-animate-loop): Rename from image-animate-max-time.
11607
2b75be67 11608 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11609 (create-animated-image): Remove unnecessary function.
11610 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11611 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11612 (image-animate-timer): Use car-safe.
11613 (image-animate-timeout): Rename argument.
11614
190b47e6
MR
116152011-06-07 Martin Rudalics <rudalics@gmx.at>
11616
11617 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11618 window.c. Rename first argument to ALL-FRAMES.
11619 Rephrase doc-strings.
11620 (get-buffer-window-list): Rewrite using window-list-1.
11621 Rephrase doc-string.
a1511caf
MR
11622 (window-safe-min-height, window-safe-min-width): New constants.
11623 (window-size-ignore, window-min-size, window-min-size-1)
11624 (window-sizable, window-sizable-p, window-size-fixed-1)
11625 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11626 (window-max-delta-1, window-max-delta, window-resizable)
11627 (window-resizable-p, window-total-height, window-total-width)
11628 (window-body-width): New functions.
11629 (window-full-height-p, window-full-width-p): Rewrite using
11630 window-total-size.
11631 (window-body-height): Rewrite using window-body-size.
190b47e6 11632
85cc1f11
MR
116332011-06-06 Martin Rudalics <rudalics@gmx.at>
11634
11635 * window.el (window-right, window-left, window-child)
11636 (window-child-count, window-last-child, window-any-p)
11637 (normalize-live-buffer, normalize-live-frame)
11638 (normalize-any-window, normalize-live-window)
11639 (window-iso-combination-p, window-iso-combined-p)
11640 (window-iso-combinations)
11641 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11642 (windows-with-parameter, window-with-parameter)
11643 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11644 (window-atom-check, window-side-check, window-check):
11645 New functions.
85cc1f11
MR
11646 (ignore-window-parameters, window-sides, window-sides-vertical)
11647 (window-sides-slots): New variables.
11648 (window-size-fixed): Move down in code. Minor doc-string fix.
11649
e7156492
AS
116502011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11651
11652 * comint.el (comint-dynamic-complete-as-filename)
11653 (comint-dynamic-complete-filename): Correctly call
11654 completion-in-region.
11655
7e821d0d
DD
116562011-06-05 Deniz Dogan <deniz@dogan.se>
11657
11658 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11659 in last change.
11660
ac09b8a1
DD
116612011-06-05 Deniz Dogan <deniz@dogan.se>
11662
11663 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11664 (rcirc): Use it to prompt for encryption.
11665
34699b85
RW
116662011-06-05 Roland Winkler <winkler@gnu.org>
11667
11668 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11669 (bibtex-search-entries): New command bound to C-c C-a.
11670 (bibtex-display-entries): New function.
11671
004dedd3
RW
116722011-06-05 Roland Winkler <winkler@gnu.org>
11673
11674 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11675 (bibtex-insert-kill): After yanking insert newline if necessary.
11676 (bibtex-initialize): Call bibtex-string-files-init only once.
11677 (bibtex-mode): Do not call easy-menu-add.
11678 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11679 (bibtex-yank): Set arg properly if nil.
11680
022fe7ce
RW
116812011-06-05 Roland Winkler <winkler@gnu.org>
11682
2b75be67
SM
11683 * textmodes/bibtex.el (bibtex-search-entry-globally):
11684 New variable.
022fe7ce
RW
11685 (bibtex-search-entry): Use it.
11686
b7c3692a
RW
116872011-06-05 Roland Winkler <winkler@gnu.org>
11688
11689 * textmodes/bibtex.el (bibtex-entry-format): New option
11690 sort-fields.
11691 (bibtex-format-entry, bibtex-reformat): Honor this option.
11692 (bibtex-parse-entry): Return fields in proper order.
11693
8eda563d
JB
116942011-06-05 Juanma Barranquero <lekktu@gmail.com>
11695
11696 * doc-view.el (doc-view-remove-if): Move computation of result out
11697 of `dolist' to silence misleading lexical-binding warning.
11698
7dbe3dbc
CY
116992011-06-04 Chong Yidong <cyd@stupidchicken.com>
11700
11701 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11702 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11703
0c33dd17
MA
117042011-06-04 Michael Albinus <michael.albinus@gmx.de>
11705
11706 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11707 "SunOS 5.10".
11708
f8f91c2b
MA
117092011-06-04 Michael Albinus <michael.albinus@gmx.de>
11710
11711 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11712 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11713 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11714 (tramp-parse-putty):
11715 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11716 (tramp-completion-function-alist-ssh)
11717 (tramp-completion-function-alist-telnet)
11718 (tramp-completion-function-alist-su)
11719 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11720 cookie.
11721
11722 * net/tramp-ftp.el:
11723 * net/tramp-sh.el:
11724 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11725 load "tramp.el" `tramp-set-completion-function'.
11726
e17d9003
SM
117272011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11728
11729 * shell.el: Require and use pcomplete.
11730 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11731 (shell-completion-vars): Set pcomplete-default-completion-function.
11732
6c4cab03
DD
117332011-06-04 Deniz Dogan <deniz@dogan.se>
11734
11735 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11736 `memq' (Bug#8799).
11737
ea9fafe0
SM
117382011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11739
11740 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11741
b3e945d3
JB
117422011-06-02 Juanma Barranquero <lekktu@gmail.com>
11743
11744 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11745 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11746 * vc/log-view.el (log-view-beginning-of-defun):
11747 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11748 (smerge-refine-forward, smerge-refine-chopup-region):
11749 Silence warning for unused `dotimes' counter variables.
11750
7d520089
SM
117512011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 * net/tramp.el (tramp-with-progress-reporter): Rename from
11754 with-progress-reporter. Use `declare'.
11755 * net/tramp-smb.el:
11756 * net/tramp-sh.el:
11757 * net/tramp-gvfs.el: Update all uses.
11758
a1c2400f
JB
117592011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11760
11761 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11762 buffer isn't killed before making it current.
11763
2403c841
SM
117642011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 Silence various byte-compiler warnings.
11767 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11768 `access-type' and new obsolescence format.
11769 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11770 new format.
11771 (byte-compile-check-variable): New `access-type' argument.
11772 Only warn if the access-type is obsolete.
11773 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11774 (byte-compile-variable-set): Adjust callers.
11775 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11776 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11777 setting it as obsolete.
11778 * simple.el (minibuffer-completing-symbol):
11779 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11780 access as obsolete.
11781 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11782 obsolete yet.
11783 * international/quail.el (quail-mouse-choose-completion): Remove unused
11784 code referring to obsolete var.
11785 (quail-choose-completion-string): Remove.
11786 * server.el (server-clients-with, server-kill-buffer-query-function)
11787 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11788 * proced.el (proced-send-signal):
11789 * emacs-lisp/lisp.el (lisp-complete-symbol):
11790 Replace completion-annotate-function with completion-extra-properties.
11791
2462470b
SM
117922011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11793
fb5b2591
SM
11794 * simple.el (goto-line): Use read-number.
11795 (overriding-map-is-bound): Remove.
11796 (saved-overriding-map): Change default.
11797 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11798 Take the map as argument.
11799 (universal-argument, negative-argument, digit-argument): Use it.
11800 (restore-overriding-map): Adjust.
11801 (do-auto-fill): Use fill-forward-paragraph.
11802 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11803
fd6fa53f
SM
11804 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11805 (minibuffer-inactive-mode): New major mode.
11806 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11807 the *Messages* buffer" hack.
11808 (mouse-popup-menubar): Don't burp if the event is a normal key.
11809
2462470b
SM
11810 Miscellaneous tweaks.
11811 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11812 lexical scoping as in subr.el's dolist and dotimes.
11813 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11814 Silence compiler warning.
11815 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11816 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11817 * international/ccl.el (ccl-compile): Trivial simplification.
11818 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11819 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11820 `printflag' argument.
11821 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11822 Purecopy the whole obsolescence data.
11823
108bf785
LL
118242011-06-01 Leo Liu <sdl.web@gmail.com>
11825
11826 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11827 improve doc-string as suggested by Marco Pessotto
11828 <melmothx@gmail.com>.
11829 (rcirc-print): Fix last change.
11830
30a23501
SM
118312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11832
11833 * minibuffer.el (complete-with-action): Return nil for the metadata and
11834 boundaries of non-functional tables.
11835 (completion-table-dynamic): Return nil for the metadata.
11836 (completion-table-with-terminator): Add default case, using
11837 complete-with-action.
11838 (completion--metadata): New function.
11839 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11840 to try and avoid pathological performance problems.
11841 (completion--embedded-envvar-table): Return `category' metadata.
11842
bcd54f83
LMI
118432011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11844
11845 * subr.el (process-alive-p): New tiny convenience function.
11846
e227544d
SM
118472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11850 content but also its previous major mode.
11851
e8296fdc
HE
118522011-05-31 Helmut Eller <eller.helmut@gmail.com>
11853
4d61f28d 11854 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11855 *Backtrace* buffer when we exit with C-M-c.
11856
620c53a6
SM
118572011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11858
11859 * minibuffer.el: Add metadata method to completion tables.
11860 (completion-category-overrides): New defcustom.
11861 (completion-metadata, completion--field-metadata)
11862 (completion-metadata-get, completion--styles)
11863 (completion--cycle-threshold): New functions.
11864 (completion-try-completion, completion-all-completions):
11865 Add `metadata' argument to choose completion-styles.
11866 (completion--do-completion): Use metadata to choose cycling.
11867 (completion-all-sorted-completions): Use metadata for sorting.
11868 Remove :completion-cycle-penalty which is not needed any more.
11869 (completion--try-word-completion): Add `metadata' argument.
11870 (minibuffer-completion-help): Check metadata for annotation function
11871 and sorting.
11872 (completion-file-name-table): Return `category' metadata.
11873 (minibuffer-completing-file-name): Make obsolete.
11874 * simple.el (minibuffer-completing-symbol): Make obsolete.
11875 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11876 completion-try-completion.
11877
1257e755
SM
118782011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11881
3767e706
LL
118822011-05-30 Leo Liu <sdl.web@gmail.com>
11883
11884 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11885 (rcirc-print): Decode all incoming messages (bug#8744).
11886 (rcirc-decode-coding-system): Allow value nil for automatic coding
11887 system detection.
3767e706 11888
d1a5d56a
GM
118892011-06-01 Glenn Morris <rgm@gnu.org>
11890
11891 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11892
e8cbec34
CY
118932011-05-29 Chong Yidong <cyd@stupidchicken.com>
11894
11895 * image.el (image-animate-max-time): Allow nil and t values.
11896 Default to nil.
11897 (create-animated-image): Doc fix.
11898 (image-animate-start): Remove second arg; just use
11899 image-animate-max-time.
11900 (image-animate-timeout): Doc fix. Args changed.
11901
11902 * image-mode.el (image-toggle-display-image): Ensure that the
11903 image spec passed to the animate timer is the same object as in
58179cce 11904 the buffer's display property (Bug#6981).
e8cbec34
CY
11905 (image-transform-properties): Doc fix.
11906
11907 * image.el (image-animate-max-time): Default to nil.
11908
159daf87
MR
119092011-05-29 Martin Rudalics <rudalics@gmx.at>
11910
11911 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11912 entire buffer list (Bug#8184).
11913
d66c4c7c
CY
119142011-05-29 Chong Yidong <cyd@stupidchicken.com>
11915
11916 * image.el (imagemagick-types-inhibit)
11917 (imagemagick-register-types): Doc fix.
11918
80aec780
DD
119192011-05-29 Deniz Dogan <deniz@dogan.se>
11920
11921 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11922 default.
11923
1dd3c2d9
CY
119242011-05-29 Chong Yidong <cyd@stupidchicken.com>
11925
11926 * select.el: Don't perform clipboard-manager saving in hooks;
11927 leave the hooks empty.
11928
60e56523
LL
119292011-05-28 Leo Liu <sdl.web@gmail.com>
11930
11931 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11932 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11933 (occur-edit-mode): New major mode (Bug#8463).
11934 (occur-after-change-function): New function.
11935 (occur-engine): Give Occur tags a read-only property.
11936
2b1e1a22
KR
119372011-05-28 Kevin Ryde <user42@zip.com.au>
11938
11939 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11940
5d344e88
CY
119412011-05-28 Chong Yidong <cyd@stupidchicken.com>
11942
8e6ca83d
CY
11943 * bindings.el (help-echo): Make the initial non-indicator dash
11944 empty on graphical terminals (Bug#7295).
11945
5d344e88
CY
11946 * files.el (auto-mode-alist): Move config rule after the
11947 in-stripping one (Bug#8547).
11948
bfbbace7
CY
11949 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11950
fbeba6e2
CY
11951 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11952 setting (Bug#8740).
11953
60ed8c72
AA
119542011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11955
4ac619f0
AA
11956 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11957 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11958 (Bug#8539).
60ed8c72 11959
23db196e
CY
119602011-05-28 Chong Yidong <cyd@stupidchicken.com>
11961
11962 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11963
5012f24c
DK
119642011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11965
11966 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11967 (hs-hide-block-at-point, hs-find-block-beginning)
11968 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11969 (Bug#8279).
11970
6a639b16
GM
119712011-05-28 Glenn Morris <rgm@gnu.org>
11972
11973 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11974
d43eaf2c
CY
119752011-05-28 Chong Yidong <cyd@stupidchicken.com>
11976
5199bde1
CY
11977 * help-fns.el (describe-function-1): If the function is a derived
11978 major mode, print the parent mode.
11979
d43eaf2c
CY
11980 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11981 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11982
423428a8
SM
119832011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11984
0ff8e1ba 11985 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11986 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11987 * progmodes/etags.el (tags-completion-at-point-function):
11988 * info-look.el (info-lookup-completions-at-point): Mark as
11989 non-exclusive.
11990 (info-complete): Adjust accordingly.
11991
423428a8
SM
11992 * info-look.el: Convert to lexical-binding and completion-at-point.
11993 (info-lookup-completions-at-point): New function.
11994 (info-complete): Use it and completion-in-region.
11995
b74aa22b
DA
119962011-05-28 Drew Adams <drew.adams@oracle.com>
11997
11998 * isearch.el: Let M-e start with point at the first mismatched char.
11999 (isearch-fail-pos): New function.
12000 (isearch-edit-string): Use it.
12001
66e2e71d
DK
120022011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12003
12004 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12005
b1890b0f 120062011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12007
12008 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12009 traversal functions for avl-trees.
12010 (avl-tree--stack): New struct.
12011 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12012 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12013 (avl-tree--do-enter): Add optional `updatefun' arg.
12014 Change return value.
eb95d01d 12015 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12016 (avl-tree--do-delete): Add `test' and `nilflag' args.
12017 Change return value.
eb95d01d
TC
12018 (avl-tree-member): Add optional `nilflag'
12019 (avl-tree-member-p): New function.
12020 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12021 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12022 (avl-tree-stack-empty-p): New functions.
12023
3769ddcf
TC
12024 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12025 avl-tree--del-balance1 and make it work both ways.
12026 (avl-tree--del-balance2): Remove.
12027 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12028 make it work both ways.
12029 (avl-tree--enter-balance2): Remove.
12030 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12031 New macros.
12032 (avl-tree--mapc, avl-tree-map): Add direction argument.
12033
eb95d01d 120342011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12035
12036 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12037
a9f737ee
CY
120382011-05-27 Chong Yidong <cyd@stupidchicken.com>
12039
12040 * select.el: Support clipboard managers with built-in function
12041 x-clipboard-manager-save, via delete-frame-functions and
12042 kill-emacs-hook.
12043 (xselect-convert-to-targets): Add MULTIPLE target to list.
12044 (xselect-convert-to-save-targets): New function.
12045
c92a1e54
KH
120462011-05-27 Kenichi Handa <handa@m17n.org>
12047
12048 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12049 let-binding rfc2047-encode-encoded-words to nil.
12050
e145f188
GM
120512011-05-27 Glenn Morris <rgm@gnu.org>
12052
5ec8a862
GM
12053 * mail/emacsbug.el: Don't require url-util.
12054
4b29d9fb
GM
12055 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12056
e145f188
GM
12057 * files.el (set-auto-mode):
12058 Also respect mode: entries at the end of the file. (Bug#8586)
12059
7d15102b
GM
120602011-05-26 Glenn Morris <rgm@gnu.org>
12061
98f593b8
GM
12062 * files.el (hack-local-variables-prop-line, hack-local-variables):
12063 Downcase mode names, as seems to be traditional.
27b48e63 12064 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12065
7d15102b
GM
12066 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12067 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12068
51d5b4ec
JD
120692011-05-25 Julien Danjou <julien@danjou.info>
12070
12071 * textmodes/rst.el (rst-define-level-faces): Do not define face
12072 symbol if it is already defined.
12073
91513f63
VB
120742011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12075
12076 * play/5x5.el (5x5-new-game, 5x5-randomize):
12077 Reset 5x5-solver-output to nil when a new grid is cast.
12078 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12079 these debugging traces, as defmacro breaks the compiled code.
12080
4d90d6d0
DK
120812011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12082
12083 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12084
e1b90ef6
LL
120852011-05-24 Leo Liu <sdl.web@gmail.com>
12086
12087 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12088 (vc-bzr-sha1): Adapt.
12089
d8e4b68b 12090 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12091
12092 * bindings.el: Provide sha1 feature.
12093
db0406bb 120942011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12095
12096 * mail/sendmail.el: Require `rfc2047'.
12097 (mail-insert-from-field): Do not perform RFC2047 encoding.
12098 (mail-encode-header): New function.
12099 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12100 buffer to the return value of select-message-coding-system.
12101 Call mail-encode-header.
b8d747b9
KH
12102
12103 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12104
db0406bb 121052011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12106
4d90d6d0
DK
12107 * mail/supercite.el (sc-default-cite-frame):
12108 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12109
eb8a5e9b
GM
121102011-05-24 Glenn Morris <rgm@gnu.org>
12111
f8630703
GM
12112 * progmodes/python.el (brm-menu): Declare.
12113
8831bbed
GM
12114 * emulation/viper.el (viper-set-hooks): Declare.
12115
eb8a5e9b
GM
12116 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12117 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12118 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12119 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12120 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12121 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12122
a2a25d24
SM
121232011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 Add an :exit-function for completion-at-point.
12126
12127 * minibuffer.el (completion--done): New fun.
12128 (completion--do-completion): Use it. New arg `expect-exact'.
12129 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12130 since completion--do-completion does it for us now.
12131 (minibuffer-force-complete): Use completion--done and
12132 completion--replace. Handle sole-completion case with more care.
12133 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12134 (completion-extra-properties): New var.
12135 (completion-annotate-function): Make obsolete.
12136 (minibuffer-completion-help): Adjust accordingly.
12137 Use completion-list-insert-choice-function.
12138 (completion-at-point, completion-help-at-point):
12139 Bind completion-extra-properties.
12140 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12141 * simple.el (completion-list-insert-choice-function): New var.
12142 (completion-setup-function): Preserve it.
12143 (choose-completion): Pay attention to it, shuffle the code a bit.
12144 (choose-completion-string): New arg `insert-function'.
12145
12146 * textmodes/bibtex.el: Convert to lexical binding.
12147 (bibtex-mode-map): Use completion-at-point.
12148 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12149 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12150 (bibtex-complete): Define as obsolete alias.
12151 (bibtex-complete-internal): Remove.
12152 (bibtex-format-entry): Remove unused sub-group in regexp.
12153 * shell.el (shell--command-completion-data)
12154 (shell-environment-variable-completion):
12155 * pcomplete.el (pcomplete-completions-at-point):
12156 * comint.el (comint--complete-file-name-data): Use :exit-function
12157 instead of completion-table-with-terminator so it also works for
12158 choose-completion.
12159
e44e373d
SM
121602011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12161
4f91a816
SM
12162 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12163
782fc819
SM
12164 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12165 (bug#8710).
12166
e44e373d
SM
12167 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12168
381987c3
KM
121692011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12170
12171 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12172 customization variable and implement: If non-nil, auto-fill will
12173 be inhibited while on topic's header line.
12174
b776bc70
VB
121752011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12176
12177 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12178 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12179 always have a solution in grid size = 5 cases.
12180 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12181 (5x5-solver-output, 5x5-log-buffer): New vars.
12182 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12183 Make these variables buffer local to achieve 5x5 multi-session-ness.
12184 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12185 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12186 (5x5-solve-suggest): New funs.
12187 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12188 randomize a grid so that we ensure that there is always a solution.
12189 (5x5-make-random-grid): Allow other movement than flipping.
12190
7de88b6e
KR
121912011-05-23 Kevin Ryde <user42@zip.com.au>
12192
12193 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12194 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12195 advice and passes PREDICATE.
12196
b1ef1257
SM
121972011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12198
bbca48fe
SM
12199 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12200 byte-compile-lambda if it's actually a lambda.
12201
b1ef1257
SM
12202 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12203 Fix function quoting. Use backquote better.
12204
92a9cc65
YS
122052011-05-22 Yuanle Song <sylecn@gmail.com>
12206
12207 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12208 matching (Bug#8516).
12209
f0fb8059
JA
122102011-01-22 Jari Aalto <jari.aalto@cante.net>
12211
12212 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12213 different face (Bug#8178).
12214
d5b44c93
CY
122152011-05-22 Chong Yidong <cyd@stupidchicken.com>
12216
12217 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12218 defface (Bug#8144).
12219
79106a44
SM
122202011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12221
9c848d8a
SM
12222 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12223 funcall as well (bug#8712). Warn when performing those conversions.
12224 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12225
79106a44
SM
12226 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12227
88dfa756
GM
122282011-05-22 Glenn Morris <rgm@gnu.org>
12229
12230 * files.el (hack-local-variables-prop-line): Small simplifications.
12231 (hack-local-variables, hack-local-variables-prop-line):
12232 If MODE-ONLY, return the mode, rather than just `t'.
12233
b7cf2c79
SM
122342011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12237
3f1a8558
GM
122382011-05-21 Glenn Morris <rgm@gnu.org>
12239
7e4ccca3
GM
12240 * files.el (hack-local-variables-prop-line, hack-local-variables):
12241 If only interested in the mode, don't bother doing the other stuff.
12242
637d46ca
GM
12243 * image-mode.el (image-after-revert-hook):
12244 Redraw all frames on which the image is visible. (Bug#8567)
12245
973d955b
GM
12246 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12247
3f1a8558
GM
12248 * wid-edit.el (widget-checklist-match-inline):
12249 Fix 2011-04-19 change. (Bug#8649)
12250
96479927
SM
122512011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12252
1dcf791f
SM
12253 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12254 Also allow singlespace after single-letter capitals followed by a dot.
12255
96479927
SM
12256 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12257 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12258
35fd0881
N
122592011-05-20 Nix <nix@esperi.org.uk>
12260
12261 * files.el (basic-save-buffer-2):
12262 Fix handling of break-hardlink-on-save with non-existent files.
12263
82745640
DD
122642011-05-19 Deniz Dogan <deniz@dogan.se>
12265
12266 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12267 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12268
4a720484
GM
122692011-05-19 Glenn Morris <rgm@gnu.org>
12270
d1f21341
GM
12271 * progmodes/f90.el (f90-type-def-re):
12272 Handle "type, bind(c)". (Bug#8691)
12273
4a720484
GM
12274 * emacs-lisp/autoload.el (batch-update-autoloads):
12275 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12276
2fb0a219
MA
122772011-05-18 Michael Albinus <michael.albinus@gmx.de>
12278
12279 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12280 property for the correct connection in case of multihops.
12281
e565dd37
GM
122822011-05-18 Glenn Morris <rgm@gnu.org>
12283
c2571358 12284 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12285 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12286
e565dd37
GM
12287 Rationalize calendar handling of day and month abbrev-arrays.
12288 * calendar/calendar.el (calendar-customized-p): New function.
12289 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12290 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12291 Add :set function.
12292 (calendar-abbrev-length, calendar-day-abbrev-array)
12293 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12294 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12295 Elements may no longer be nil.
12296 (calendar-day-name, calendar-month-name):
12297 Update for changed nature of abbrev arrays.
12298 * calendar/diary-lib.el (diary-name-pattern):
12299 Update for changed nature of abbrev arrays.
12300 (diary-mark-entries-1): Update calendar-make-alist calls.
12301 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12302 * calendar/cal-html.el (cal-html-day-abbrev-array):
12303 Simply inherit from calendar-day-abbrev-array.
12304
1d99a745
SM
123052011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * progmodes/grep.el (grep-mode): Disable default
12308 compilation-directory-matcher setting (bug#8684).
12309
7c1d9aa0
MA
123102011-05-17 Michael Albinus <michael.albinus@gmx.de>
12311
12312 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12313 instead of "head" and "tail". There were problems with SunOS 5.9,
12314 and it performs better.
12315
3952e9d8
GM
123162011-05-17 Glenn Morris <rgm@gnu.org>
12317
2dd12e7f
GM
12318 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12319
e4157b9c
GM
12320 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12321 Replace obsolete function.
12322
8e249bbd
GM
12323 * shell.el (pcomplete-parse-arguments-function): Declare.
12324
3952e9d8
GM
12325 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12326 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12327 (appt-check): Doc fixes.
12328 (appt-disp-window-function, appt-delete-window-function):
12329 Remove needless special case in custom :type.
12330 (appt-display-count): Default to 0, not nil.
12331 (appt-check): Reset appt-display-count to 0, not nil.
12332
c71a0d48 123332011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12334
c71a0d48
GM
12335 * progmodes/python.el (python-font-lock-keywords):
12336 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12337
31d55be9
SM
123382011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12341
3bfacb2f
KR
123422011-05-16 Kevin Ryde <user42@zip.com.au>
12343
12344 * info-look.el (makefile-automake-mode): New setups, looking in
12345 automake manual, then makefile-mode.
12346 (makefile-mode): Remove automake manual, have it just in
12347 makefile-automake-mode since there's various things different or
12348 not relevant to plain make.
12349 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12350 believe a hypothetical automake-mode would go to makefile-mode,
12351 not the other way around.
12352
c8e83751
CY
123532011-05-15 Chong Yidong <cyd@stupidchicken.com>
12354
5e9e35cd
CY
12355 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12356 hunk-end tags (Bug#8672).
12357
c8e83751
CY
12358 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12359 vc-annotate-show-diff-revision-at-line (Bug#8671).
12360
50b23e5a
GM
123612011-05-14 Glenn Morris <rgm@gnu.org>
12362
7210a739
GM
12363 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12364 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12365 (change-log-font-lock-keywords): Also handle multiple author lines
12366 with leading tabs. (Bug#8644)
7210a739 12367
4691905a
GM
12368 * calendar/appt.el (appt-check): Rename some local variables.
12369 Some simplification/reordering.
12370
50b23e5a
GM
12371 * mail/feedmail.el (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)
12375 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12376 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12377 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12378 (feedmail-binmail-gnulinuxish-template):
12379 Rename from feedmail-binmail-linuxish-template.
12380 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12381 Use insert-buffer-substring.
12382
215cda7c
BC
123832011-05-14 Bill Carpenter <bill@carpenter.org>
12384
12385 * mail/feedmail.el (feedmail-patch-level): Increase.
12386 (feedmail-debug): New custom group.
12387 (feedmail-confirm-outgoing-timeout)
12388 (feedmail-sendmail-f-doesnt-sell-me-out)
12389 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12390 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12391 (feedmail-sender-line, feedmail-from-line)
12392 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12393 (feedmail-spray-this-address)
215cda7c
BC
12394 (feedmail-spray-address-fiddle-plex-list)
12395 (feedmail-queue-use-send-time-for-date)
12396 (feedmail-queue-use-send-time-for-message-id)
12397 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12398 (feedmail-buffer-eating-function):
12399 Doc fixes.
12400 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12401 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12402 (feedmail-message-action-scroll-down): New functions.
12403 (feedmail-queue-directory, feedmail-queue-draft-directory):
12404 Use expand-file-name.
12405 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12406 Remove C-v help entry.
12407 (feedmail-queue-buffer-file-name): New variable.
12408 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12409 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12410 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12411 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12412 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12413 (feedmail-message-action-toggle-spray)
12414 (feedmail-run-the-queue-no-prompts)
12415 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12416 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12417 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12418 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12419 (feedmail-envelope-deducer, feedmail-fiddle-from)
12420 (feedmail-fiddle-sender, feedmail-default-date-generator)
12421 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12422 (feedmail-fiddle-spray-address)
12423 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12424 (feedmail-fiddle-list-of-fiddle-plexes)
12425 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12426 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12427 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12428 Change default. Doc fix.
12429 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12430 (feedmail-binmail-linuxish-template): New constant.
12431 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12432 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12433 (feedmail-send-it): Add debug call.
12434 Use feedmail-queue-buffer-file-name, and
12435 feedmail-send-it-immediately-wrapper.
12436 (feedmail-message-action-send): Add debug call.
12437 Use feedmail-send-it-immediately-wrapper.
12438 (feedmail-queue-express-to-queue): Add debug call.
12439 Run feedmail-queue-express-hook.
12440 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12441 (feedmail-message-action-help-blat):
12442 Rename from feedmail-queue-send-edit-prompt-help-first.
12443 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12444 Check line-endings. Handle errors better.
12445 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12446 Doc fix. Add debug call.
12447 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12448 Use feedmail-queue-send-edit-prompt-inner.
12449 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12450 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12451 from feedmail-queue-send-edit-prompt.
12452 (feedmail-queue-send-edit-prompt-help)
12453 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12454 (feedmail-tidy-up-slug): Add debug call.
12455 Respect feedmail-queue-slug-suspect-regexp.
12456 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12457 (feedmail-dump-message-to-queue): Add debug call.
12458 Expand queue-directory.
12459 (feedmail-dump-message-to-queue): Change message slightly.
12460 Use feedmail-say-chatter.
12461 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12462 (feedmail-send-it-immediately-wrapper): New function.
12463 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12464 Insert empty string rather than newline. Handle full-frame case.
12465 Use catch/throw. Use feedmail-say-chatter.
12466 (feedmail-fiddle-from): Try mail-host-address.
12467 (feedmail-default-message-id-generator): Doc fix.
12468 Bind system-time-locale. Handle missing end.
12469 (feedmail-fiddle-x-mailer): Add debug call.
12470 Handle feedmail-x-mailer-line being nil.
12471 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12472 Add debug call. Use buffer-substring-no-properties.
12473 (feedmail-say-debug, feedmail-say-chatter): New functions.
12474 (feedmail-find-eoh): Give an explicit error.
12475
42c7e61e
UJ
124762011-05-13 Ulf Jasper <ulf.jasper@web.de>
12477
c2571358 12478 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12479 family from helvetica to sans.
c2571358 12480 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12481 etc/images/newsticker.
12482
c2571358 12483 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12484 family from helvetica to sans.
12485
12486 * net/newst-plainview.el (newsticker-new-item-face)
12487 (newsticker-old-item-face, newsticker-immortal-item-face)
12488 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12489 (newsticker-statistics-face): Change default family from
42c7e61e 12490 helvetica to sans.
c2571358 12491 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12492 etc/images/newsticker.
12493
5d3385a0
JB
12494 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12495 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12496 auto-marking.
12497
8497a297
DV
124982011-05-13 Didier Verna <didier@xemacs.org>
12499
12500 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12501 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12502 TODO entries.
8497a297
DV
12503 (lisp-lambda-list-keyword-parameter-indentation)
12504 (lisp-lambda-list-keyword-parameter-alignment)
12505 (lisp-lambda-list-keyword-alignment): New customizable user options.
12506 (lisp-indent-defun-method): Improve docstring.
12507 (extended-loop-p): Fix comment.
12508 (lisp-indent-lambda-list-keywords-regexp): New variable.
12509 (lisp-indent-lambda-list): New function.
12510 (lisp-indent-259): Use it.
12511 (lisp-indent-defmethod): Support for more than one
12512 method qualifier and properly indent methods lambda-lists.
12513 (defgeneric): Provide a missing common-lisp-indent-function property.
12514
f278f87f
SM
125152011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12516
12517 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12518 bounds for the empty string (bug#8667).
12519
5233edd7
GM
125202011-05-13 Glenn Morris <rgm@gnu.org>
12521
5237a44f
GM
12522 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12523
8340026c 12524 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12525 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12526
5233edd7 12527 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12528 (appt-time-msg-list): Doc fix.
a5464014 12529 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12530
92d10796
AS
125312011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12532
12533 * progmodes/ld-script.el (ld-script-keywords)
12534 (ld-script-builtins): Update keywords list.
12535
914a0ae1
SM
125362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12537
c89be45f
SM
12538 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12539
914a0ae1
SM
12540 * shell.el (shell-completion-vars): New function.
12541 (shell-mode):
12542 * simple.el (read-shell-command): Use it.
12543 (blink-matching-open): No need for " [...]" in minibuffer-message.
12544
98dc3df3
GM
125452011-05-12 Glenn Morris <rgm@gnu.org>
12546
12547 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12548 (appt-check): Simplify.
12549
d2fc7e3d 125502011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12551
4d61f28d 12552 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12553 literal "/dev/null".
12554
d2fc7e3d 125552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12556
12557 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12558 Fix typo.
12559
d2fc7e3d 125602011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12561
3f254caa
SM
12562 * progmodes/which-func.el (which-function):
12563 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12564 which might not be defined (Bug#8260).
12565
d45885f7
GM
125662011-05-12 Glenn Morris <rgm@gnu.org>
12567
12568 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12569 Let byte-compile-initial-macro-environment always take precedence.
12570
488086f4
SM
125712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * net/rcirc.el: Add support for SSL/TLS connections.
12574 (rcirc-server-alist): New field `encryption'.
12575 (rcirc): Check `encryption' settings.
12576 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12577 Merge make-local-variable into `set'.
12578 (rcirc--connection-open-p): New function.
12579 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12580 the process is not a network process (e.g. running gnutls-cli).
12581 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12582 Make rcirc-(en|de)code-coding-system local here.
12583 (rcirc-mode): Merge make-local-variable into `set'.
12584 (rcirc-parent-buffer): Make permanent buffer-local.
12585 (rcirc-multiline-minor-mode): Don't do it here.
12586 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12587 there's no server buffer.
12588
7d3b9d44
GM
125892011-05-11 Glenn Morris <rgm@gnu.org>
12590
f64049c6
GM
12591 * newcomment.el (comment-kill): Prefix "unused" local.
12592
93c9df73
GM
12593 * term/w32console.el (get-screen-color): Declare.
12594
7d3b9d44
GM
12595 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12596 Handle symbol elements of byte-compile-initial-macro-environment.
12597
9e2dd53f
LL
125982011-05-10 Leo Liu <sdl.web@gmail.com>
12599
488086f4
SM
12600 * bookmark.el (bookmark-bmenu-mode-map):
12601 Bind bookmark-bmenu-search to `/'.
8b340240 12602
9e2dd53f 12603 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12604 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12605 (Footnote-unicode): New function.
12606 (footnote-style-alist): Add unicode style to the list.
12607 (footnote-style): Doc fix.
9e2dd53f 12608
79b70037
GM
126092011-05-10 Jim Meyering <meyering@redhat.com>
12610
12611 Fix doubled-word typos.
12612 * international/quail.el (quail-insert-kbd-layout): and and -> and
12613 * kermit.el: and and -> and
12614 * net/ldap.el (ldap-search-internal): to to -> to
12615 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12616 * progmodes/js.el (js-mode): and and -> and
12617 * textmodes/artist.el (artist-move-to-xy): at at -> at
12618 (artist-draw-region-trim-line-endings): if if -> if
12619 And Safetyc -> Safety.
12620 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12621
b8f82dc1 126222011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12623 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12624
12625 * files.el (hack-one-local-variable-eval-safep):
12626 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12627
4f99f44b
GM
126282011-05-10 Glenn Morris <rgm@gnu.org>
12629
12630 * calendar/diary-lib.el (diary-list-entries-hook)
12631 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12632 (diary-nongregorian-marking-hook, diary-list-entries)
12633 (diary-include-other-diary-files, diary-mark-entries)
12634 (diary-mark-included-diary-files): Doc fixes.
12635
84f29e6b
JB
126362011-05-09 Juanma Barranquero <lekktu@gmail.com>
12637
12638 * misc.el: Require tabulated-list.el during compilation.
12639
9bedd73a
CY
126402011-05-09 Chong Yidong <cyd@stupidchicken.com>
12641
488086f4
SM
12642 * progmodes/compile.el (compilation-start):
12643 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12644 (compilation-filter-hook): Doc fix.
12645
797c735c
DD
126462011-05-09 Deniz Dogan <deniz@dogan.se>
12647
12648 * wdired.el: Remove outdated installation comment. Fix usage
12649 comment.
12650
5f4b1dfe
JB
126512011-05-09 Juanma Barranquero <lekktu@gmail.com>
12652
12653 * misc.el: Implement new command `list-dynamic-libraries'.
12654 (list-dynamic-libraries--loaded-only-p): New variable.
12655 (list-dynamic-libraries--refresh): New function.
12656 (list-dynamic-libraries): New command.
12657
4c44026c
CY
126582011-05-09 Chong Yidong <cyd@stupidchicken.com>
12659
488086f4
SM
12660 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12661 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12662 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12663 higher priority to avoid clobbering by gnu.
12664
027f966d
CY
126652011-05-08 Chong Yidong <cyd@stupidchicken.com>
12666
12667 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12668 if the face has existing theme settings (Bug#8454).
12669
085f5d7d
CY
126702011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12671
488086f4
SM
12672 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12673 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12674
2a86a00c
RS
12675 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12676 special file names `.' and `..' (Bug#8259).
12677
d9c54a06
CY
126782011-05-08 Chong Yidong <cyd@stupidchicken.com>
12679
488086f4
SM
12680 * progmodes/grep.el (grep-mode-font-lock-keywords):
12681 Remove buffer-changing entries.
d9c54a06
CY
12682 (grep-filter): New function.
12683 (grep-mode): Add it to compilation-filter-hook.
12684
12685 * progmodes/compile.el (compilation-filter-hook)
12686 (compilation-filter-start): New defvars.
12687 (compilation-filter): Call compilation-filter-hook prior to
12688 updating the process mark.
12689
c4662635
SM
126902011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12693
b0512a1d
EZ
126942011-05-07 Eli Zaretskii <eliz@gnu.org>
12695
605c9376
EZ
12696 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12697 mailclient-send-it even if window-system is nil. (Bug#8595)
12698
c4662635
SM
12699 * term/w32console.el (terminal-init-w32console):
12700 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12701 background-mode. (Bug#8597)
12702
d1dc2cc2
SM
127032011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12704
12705 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12706 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12707 New functions.
12708 (defgeneric, eieio--defmethod): Use them.
12709 (eieio-defgeneric): Remove.
12710 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12711
915d1300
GM
127122011-05-07 Glenn Morris <rgm@gnu.org>
12713
a3961c3e
GM
12714 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12715 Use let rather than let*.
12716 (timeclock-find-discrep): Remove unused local.
12717
314347b9
GM
12718 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12719
915d1300
GM
12720 * calendar/appt.el (appt-time-msg-list): Doc fix.
12721
275b59b0
NF
127222011-05-06 Noah Friedman <friedman@splode.com>
12723
12724 * apropos.el (apropos-print-doc): Only use
12725 emacs-lisp-docstring-fill-column when it is bound to an integer,
12726 per that variable's documentation.
12727
6c19f744
SM
127282011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12731 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12732
60f884b2
GM
127332011-05-06 Glenn Morris <rgm@gnu.org>
12734
5006e634
GM
12735 * calendar/appt.el (appt-message-warning-time): Doc fix.
12736 (appt-warning-time-regexp): New option.
12737 (appt-make-list): Respect appt-message-warning-time.
12738
548d0a63
GM
12739 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12740 New options.
12741 (diary-add-to-list): Strip comments from the displayed string.
12742 (diary-mode): Set comment-start and comment-end.
12743
60f884b2
GM
12744 * vc/diff-mode.el (smerge-refine-subst): Declare.
12745 (diff-refine-hunk): Don't require smerge-mode when compiling.
12746
989681bb
JB
127472011-05-06 Juanma Barranquero <lekktu@gmail.com>
12748
12749 * simple.el (list-processes): Return nil as the docstring says.
12750
a6bc05e1
MA
127512011-05-05 Michael Albinus <michael.albinus@gmx.de>
12752
12753 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12754 to "".
12755 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12756 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12757 determining of binary transfer. (Bug#7383)
12758
23c22e9a
MA
127592011-05-05 Michael Albinus <michael.albinus@gmx.de>
12760
c4662635
SM
12761 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12762 Fix port computation bug. (Bug#8618)
23c22e9a 12763
0bff894f
GM
127642011-05-05 Glenn Morris <rgm@gnu.org>
12765
b8296902
GM
12766 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12767
1f522ce8
GM
12768 * simple.el (shell-dynamic-complete-functions)
12769 (comint-dynamic-complete-functions): Declare.
12770
cf5bee67
GM
12771 * net/network-stream.el (gnutls-negotiate):
12772 * simple.el (tabulated-list-print): Fix declarations.
12773
12774 * progmodes/gud.el (syntax-symbol, syntax-point):
12775 Remove unnecessary and incorrect declarations.
12776
0bff894f
GM
12777 * emacs-lisp/check-declare.el (check-declare-scan):
12778 Handle byte-compile-initial-macro-environment in bytecomp.el
12779
9869b3ae
SM
127802011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 Fix earlier half-done eieio-defmethod change (bug#8338).
12783 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12784 Streamline and change calling convention.
12785 (defmethod): Adjust accordingly and simplify.
12786 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12787 new eieio--defmethod.
12788 (slot-boundp): Minor CSE simplification.
12789
9c1d5ac5
MZ
127902011-05-05 Milan Zamazal <pdm@zamazal.org>
12791
12792 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12793 (glasses-make-readable): Use glasses-separate-capital-groups.
12794
455c834e
JB
127952011-05-05 Juanma Barranquero <lekktu@gmail.com>
12796
12797 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12798 (warning-series): Doc fix.
12799 (display-warning): Don't try to create the buffer if we just found it.
12800
9ed7c8cb
CY
128012011-05-04 Chong Yidong <cyd@stupidchicken.com>
12802
12803 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12804 (autoload-find-generated-file): New function.
12805 (generate-file-autoloads): Bind generated-autoload-file to
12806 buffer-file-name.
9869b3ae
SM
12807 (update-file-autoloads, update-directory-autoloads):
12808 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12809 output file (Bug#7989).
12810 (batch-update-autoloads): Doc fix.
12811
0898ca10
JB
128122011-05-04 Juanma Barranquero <lekktu@gmail.com>
12813
12814 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12815
31dfb76c
GM
128162011-05-04 Glenn Morris <rgm@gnu.org>
12817
f330b642
GM
12818 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12819 function, so it follows changes in calendar-date-style.
12820 (diary-fancy-date-matcher): New function.
12821 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12822 (diary-fancy-font-lock-fontify-region-function):
12823 Use diary-fancy-date-pattern as a function.
12824
31dfb76c
GM
12825 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12826 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12827
48e79d6a
TZ
128282011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12829
12830 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12831 instead of positional arguments. Allow :keylist and :crlfiles
12832 arguments.
12833 (open-gnutls-stream): Call it.
12834
12835 * net/network-stream.el (network-stream-open-starttls): Adjust to
12836 call `gnutls-negotiate' with :process and :hostname arguments.
12837
dd5a5ee0
SM
128382011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12839
ef80fc09
SM
12840 * minibuffer.el (completion--message): New function.
12841 (completion--do-completion, minibuffer-complete)
12842 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12843 (completion--do-completion): Don't ignore completion-auto-help when in
12844 icomplete-mode.
12845
dd5a5ee0
SM
12846 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12847 internal encoding (e.g. tibetan zero is not whitespace).
12848 (global-whitespace-mode): Prefer save-current-buffer.
12849 (whitespace-trailing-regexp): Remove useless save-match-data.
12850 (whitespace-empty-at-bob-regexp): Minor simplification.
12851
b7d22a83
CY
128522011-05-03 Chong Yidong <cyd@stupidchicken.com>
12853
12854 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12855
5192af46
AM
128562011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12857
12858 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12859 Use `concat' to create string for insertion.
5192af46 12860
5767d190
SM
128612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12862
12863 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12864 Avoid open-line which runs post-self-insert-hook.
12865 (bibtex-fill-entry): Remove unused `end' var.
12866
bf242939
AM
128672011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12868
5767d190
SM
12869 * textmodes/ispell.el (ispell-add-per-file-word-list):
12870 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12871
25666126
LL
128722011-05-03 Leo Liu <sdl.web@gmail.com>
12873
12874 * isearch.el (isearch-yank-pop): New command.
5767d190 12875 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12876 (isearch-forward): Mention it.
12877
52d3c2d0
SM
128782011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12879
1bcace58
SM
12880 * simple.el (minibuffer-complete-shell-command): Remove.
12881 (minibuffer-local-shell-command-map): Use completion-at-point.
12882 (read-shell-command): Setup completion vars here instead.
12883 (read-expression-map): Bind TAB to symbol completion.
12884
52d3c2d0
SM
12885 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12886 error directly rather via storing it into `results'.
12887
35813471
LL
128882011-05-02 Leo Liu <sdl.web@gmail.com>
12889
12890 * vc/diff.el: Fix description.
12891
e793a940
LMI
128922011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12893
12894 * server.el (server-eval-at): New function.
12895
8de66e05
LMI
128962011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12897
12898 * net/network-stream.el (open-network-stream): Take a :nowait
12899 parameter and pass it on to `make-network-process'.
12900 (network-stream-open-plain): Ditto.
12901
dcb79f20
AS
129022011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12903
12904 * faces.el (face-spec-set-match-display): Don't match toolkit
12905 options on terminal frames.
12906
14a7fbd8
SM
129072011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12908
7eabc1be
SM
12909 * progmodes/pascal.el: Use lexical binding.
12910 (pascal-mode-map): Remove author preferences.
12911
14a7fbd8
SM
12912 * pcomplete.el (pcomplete-std-complete): Don't abuse
12913 completion-at-point.
12914
50f84510
JB
129152011-04-28 Juanma Barranquero <lekktu@gmail.com>
12916
6e087a44
JB
12917 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12918 removing code that has been dead since 1991 or so.
12919
50f84510
JB
12920 * startup.el (command-line): When warning about "_emacs", use a
12921 delayed warning to allow the user to filter it out.
12922
0ba690bd
DD
129232011-04-28 Deniz Dogan <deniz@dogan.se>
12924
12925 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12926 user has not joined.
12927
08abfaad
SM
129282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12931 aren't any completions at point.
12932
638f053a
JB
129332011-04-28 Juanma Barranquero <lekktu@gmail.com>
12934
12935 * subr.el (display-delayed-warnings): New function.
12936 (delayed-warnings-hook): New variable.
12937
8fff8daa
SM
129382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12939
08abfaad
SM
12940 * minibuffer.el (completion-at-point, completion-help-at-point):
12941 Don't presume that a given completion-at-point-function will always
12942 use the same calling convention.
12943
8fff8daa
SM
12944 * pcomplete.el (pcomplete-completions-at-point):
12945 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12946 pcomplete-seen is non-nil.
12947 (pcomplete-comint-setup): Also recognize the new comint/shell
12948 completion functions.
12949 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12950 pcomplete-seen is non-nil.
12951
841a1577 129522011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12953
841a1577 12954 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12955 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12956 the first character in the entry. This allows for code to add its
211ec907
UJ
12957 own uid to the entry.
12958 (icalendar--convert-float-to-ical): Add export of
12959 `diary-float'-entries save for those with the optional DAY
12960 argument.
12961
2a782793
DC
129622011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12963
12964 * subr.el (shell-quote-argument): Use alternate escaping strategy
12965 when we spot a variable reference in a string.
12966
0438ce91
DC
129672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12968
12969 * cus-start.el (all): Define customization for debug-on-event.
12970
841a1577 129712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12972
12973 * subr.el (shell-quote-argument): Escape correctly under Windows.
12974
d090ed6c
SM
129752011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12978
bfd31217
MA
129792011-04-25 Michael Albinus <michael.albinus@gmx.de>
12980
d090ed6c
SM
12981 * net/tramp.el (tramp-process-actions): Add POS argument.
12982 Delete region between POS and (pos).
bfd31217 12983
d090ed6c
SM
12984 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12985 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12986 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12987
12988 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12989 position in `tramp-process-actions' call.
12990
12991 * net/trampver.el: Update release number.
12992
e92f3bd3
SM
129932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12994
850256b5
SM
12995 * custom.el (defcustom): Obey lexical-binding.
12996
e92f3bd3
SM
12997 Fix octave-inf completion problems reported by Alexander Klimov.
12998 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12999 Inherit from octave-mode-syntax-table.
13000 (inferior-octave-mode): Set info-lookup-mode.
13001 (inferior-octave-completion-at-point): New function.
13002 (inferior-octave-complete): Use it and completion-in-region.
13003 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13004 comint-filename-completion.
13005 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13006 symbol elements which shouldn't be word elements.
13007 (octave-font-lock-keywords, octave-beginning-of-defun)
13008 (octave-function-header-regexp): Adjust regexps accordingly.
13009 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13010
cd22b309
JB
130112011-04-25 Juanma Barranquero <lekktu@gmail.com>
13012
13013 * net/gnutls.el (gnutls-errorp): Declare before first use.
13014
8b492194
TZ
130152011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13016
13017 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13018 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13019 default trustfile exists before going to use it. Add missing
5a5fa834 13020 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13021 Reported by Claudio Bley <claudio.bley@gmail.com>.
13022 (open-gnutls-stream): Add usage example.
13023
13024 * net/network-stream.el (network-stream-open-starttls): Give host
13025 parameter to `gnutls-negotiate'.
13026 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13027 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13028
841a1577 130292011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13030
cd22b309
JB
13031 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13032 Use correct match group (bug#8438).
05842630 13033
3ba7869c
CY
130342011-04-24 Chong Yidong <cyd@stupidchicken.com>
13035
512e3ae1
CY
13036 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13037 (package-menu--generate): New arg specifying packages to show.
13038 (package-menu-refresh, package-menu-execute, list-packages):
13039 Callers changed.
13040 (package-show-package-list): New function, replacing deleted
13041 package--list-packages (renamed because it is non-internal).
13042
13043 * finder.el (finder-list-matches): Use package-show-package-list
13044 instead of deleted package--list-packages.
13045
e92f3bd3
SM
13046 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13047 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13048 (vc-annotate-mode-map): Bind it to RET.
13049
7031be6d
UR
130502011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13051
13052 * progmodes/etags.el (next-file): Don't use set-buffer to change
13053 buffers (Bug#8478).
13054
4ef177aa
CY
130552011-04-24 Chong Yidong <cyd@stupidchicken.com>
13056
c8d173eb
CY
13057 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13058
4ef177aa
CY
13059 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13060 (apropos-accumulator): Doc fix.
13061 (apropos-function, apropos-macro, apropos-command)
13062 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13063 (apropos-plist): Add face property.
13064 (apropos-symbols-internal): Fix indentation.
13065 (apropos-print): Simplify help, and recognize apropos-multi-type.
13066 (apropos-print-doc): Use button-type-get to extract the button's
13067 face property. Fill docstring (Bug#8352).
13068
4ffd0d6b 130692011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13070
13071 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13072
c6c32125 13073 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13074 (mpuz-mode-map): Use mapc.
c6c32125
JB
13075 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13076 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13077 Fix typos in docstrings.
13078
58d468b4
JB
13079 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13080 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13081
6470c3c6
JB
13082 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13083
4ffd0d6b 130842011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13085
13086 * minibuffer.el (completion--do-completion): Avoid the "Next char
13087 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13088
3ad8bad0
CY
13089 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13090 mouse-2 into unread-command-events, it is interpreted correctly.
13091
71d73c9c 13092 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13093 (image-toggle-display): Doc fix.
71d73c9c 13094
841a1577 130952011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13096
4ffd0d6b
GM
13097 * textmodes/page.el (what-page): Use line-number-at-pos to
13098 calculate line number (Bug#6825).
6e1dbaa9 13099
c2fb1b60
JB
131002011-04-22 Juanma Barranquero <lekktu@gmail.com>
13101
13102 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13103 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13104 Pass argument NO-DEFAULT to `find-tag-interactive'.
13105
e02f48d7
JB
131062011-04-22 Juanma Barranquero <lekktu@gmail.com>
13107
13108 Lexical-binding cleanup.
13109
13110 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13111 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13112 * progmodes/ada-prj.el (ada-prj-initialize-values)
13113 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13114 (ada-prj-show-value):
13115 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13116 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13117 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13118 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13119 * progmodes/bug-reference.el (bug-reference-push-button):
13120 * progmodes/fortran.el (fortran-line-length):
13121 * progmodes/glasses.el (glasses-change):
13122 * progmodes/octave-mod.el (octave-fill-paragraph):
13123 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13124 (python-pdbtrack-grub-for-buffer, python-sentinel):
13125 * progmodes/sql.el (sql-save-connection):
13126 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13127 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13128 Mark unused parameters.
13129
13130 * progmodes/compile.el (compilation--flush-directory-cache)
13131 (compilation--flush-parse, compile-internal): Mark unused parameters.
13132 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13133 (compilation-next-error-function): Remove unused variable `timestamp'.
13134
13135 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13136 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13137
13138 * progmodes/dcl-mode.el (dcl-end-of-command):
13139 Remove unused variable `start'.
13140 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13141 (dcl-option-value-basic, dcl-option-value-offset)
13142 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13143 Mark unused parameters.
13144 (dcl-save-local-variable): Remove unused variable `val'.
13145 (mode): Declare.
13146
13147 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13148 Mark unused parameters.
13149 (delphi-ignore-changes): Move before first use.
13150 (delphi-charset-token-at): Remove unused variable `start'.
13151 (delphi-else-start): Remove unused variable `if-count'.
13152 (delphi-comment-block-start, delphi-comment-block-end):
13153 Remove unused variable `kind'.
13154 (delphi-indent-line): Remove unused variable `new-point'.
13155
13156 * progmodes/ebrowse.el (ebrowse-files-list)
13157 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13158 Mark unused parameters. Don't quote `lambda'.
13159 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13160 Don't quote `lambda'.
13161 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13162 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13163 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13164 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13165 Use `ignore-errors'.
13166 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13167 (ebrowse-view/find-file-and-search-pattern)
13168 (ebrowse-view/find-member-declaration/definition):
13169 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13170 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13171 Rename parameter PREFIX-ARG to PREFIX.
13172 (ebrowse-tags-read-name): Remove unused variables `start' and
13173 `member-info'.
13174 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13175 to `tags-file'.
13176
13177 * progmodes/etags.el (local-find-tag-hook): Declare.
13178 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13179 Mark unused parameters.
13180
13181 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13182 (executable-interpret): Mark unused parameter.
13183
13184 * progmodes/flymake.el (flymake-process-sentinel)
13185 (flymake-after-change-function)
13186 (flymake-create-temp-with-folder-structure)
13187 (flymake-get-include-dirs-dot): Mark unused parameters.
13188 (flymake-safe-delete-directory): Remove unused variable `err'.
13189
13190 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13191 (speedbar-timer-fn, speedbar-line-text)
13192 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13193 (speedbar-center-buffer-smartly): Declare functions.
13194 (gdb-find-watch-expression): Remove unused variable `array'.
13195 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13196 (gdb-starting): Mark unused parameters.
13197 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13198 (gdb-table-string): Remove unused variable `res'.
13199 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13200 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13201 (gdb-display-buffer): Remove unused variable `cur-size'.
13202
13203 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13204 allow lexical-binding compilation.
13205 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13206 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13207 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13208 Mark unused parameters.
13209 (gud-gdb-marker-filter): Remove unused variable `match'.
13210 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13211 lambda expressions and funcall them, instead of using `fset'.
13212
13213 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13214 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13215
13216 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13217 variable `header-beg'; use `let'.
13218
13219 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13220 `restart', `last-sexp' and `at-do'.
13221
13222 * progmodes/js.el (js--debug): Mark unused parameter.
13223 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13224 (js--splice-into-items): Remove unused variable `item'.
13225 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13226
13227 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13228 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13229 (makefile-complete): Remove unused variable `try'.
13230 (makefile-fill-paragraph, makefile-match-function-end):
13231 Mark unused parameters.
13232
13233 * progmodes/octave-inf.el (inferior-octave-complete):
13234 Remove unused variable `proc'.
13235 (inferior-octave-output-digest): Mark unused parameter.
13236
13237 * progmodes/perl-mode.el (perl-calculate-indent):
13238 Remove unused variable `err'.
13239
13240 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13241 (prolog-indent-line): Mark unused parameters.
13242 (prolog-indent-line): Remove unused variable `beg'.
13243
13244 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13245 (reporter-dont-compact-list): Declare.
13246
13247 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13248 Remove unused variable `char'.
13249 (sh-debug): Mark unused parameter.
13250 (sh-get-indent-info): Remove unused variable `start'.
13251 (sh-calculate-indent): Remove unused variable `var'.
13252
13253 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13254 (simula-electric-keyword): Remove unused variable `null'.
13255 (simula-search-backward, simula-search-forward): Remove unused
13256 variables `begin' and `end'.
13257
13258 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13259 Remove unused variable `pos'.
13260 (vera-electric-tab, vera-comment-uncomment-region):
13261 Mark unused parameters.
13262 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13263
7ede3b65
CY
132642011-04-22 Chong Yidong <cyd@stupidchicken.com>
13265
13266 * emacs-lisp/package.el (package--builtins, package-alist)
13267 (package-load-descriptor, package-built-in-p, package-activate)
13268 (define-package, package-installed-p)
13269 (package-compute-transaction, package-buffer-info)
13270 (package--push): Doc fix. Distinguish more clearly between
13271 version strings and version lists.
13272
121656e9
JB
132732011-04-21 Juanma Barranquero <lekktu@gmail.com>
13274
13275 Lexical-binding cleanup.
13276
13277 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13278 (5x5-make-mutate-best):
13279 * play/fortune.el (fortune-in-buffer):
13280 * play/gomoku.el (gomoku-init-display):
13281 * play/solitaire.el (solitaire, solitaire-do-check):
13282 * play/tetris.el (tetris-default-update-speed-function):
13283 Mark unused parameters.
13284
13285 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13286 (bubbles--shift): Remove unused variable `char-org'.
13287 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13288 (bubbles--show-images): Remove unused variable `char'.
13289
13290 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13291 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13292 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13293 (decipher-analyze-buffer): Use ?\s.
13294 (decipher-make-checkpoint): Remove unused variable `mapping'.
13295
13296 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13297
13298 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13299 Remove unused variable `result'; use `let'.
13300
13301 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13302 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13303 (gametree-children-shown-p, gametree-compute-reduced-score):
13304 Use `ignore-errors'.
13305
13306 * play/handwrite.el (ps-lpr-switches): Declare.
13307 (handwrite): Remove unused variables `pmin' and `lastp'.
13308
13309 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13310
13311 * play/landmark.el (landmark-init-display)
13312 (landmark-update-naught-weights): Mark unused parameters.
13313 (landmark-y): Remove unused variable `noise'. Simplify.
13314 (landmark-human-plays): Remove unused variable `score'.
13315
13316 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13317 (mpuz-try-proposal): Remove unused variable `game'.
13318
13319 * play/zone.el (life-patterns): Declare.
13320
80f499c7
JB
133212011-04-20 Juanma Barranquero <lekktu@gmail.com>
13322
13323 * vc/vc.el (ediff-vc-internal): Declare function.
13324
024ff170
SM
133252011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13326
c0a193ea
SM
13327 * shell.el: Use lexical-binding and std completion UI.
13328 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13329 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13330 comint-preoutput-filter-functions rather than on
13331 comint-output-filter-functions.
13332 (shell-command-completion, shell--command-completion-data)
13333 (shell-filename-completion, shell-environment-variable-completion)
13334 (shell-c-a-p-replace-by-expanded-directory): New functions.
13335 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13336 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13337 (shell-dynamic-complete-environment-variable): Use them.
13338 (shell-dynamic-complete-as-environment-variable)
13339 (shell-dynamic-complete-as-command): Remove.
13340 (shell-match-partial-variable): Match past point.
13341 * comint.el: Clean up use of completion-at-point-functions.
13342 (comint-completion-at-point): New function.
13343 (comint-mode): Use it completion-at-point-functions.
13344 (comint-dynamic-complete): Make it obsolete.
13345 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13346 (comint-c-a-p-replace-by-expanded-history): New function.
13347 (comint-dynamic-complete-functions)
13348 (comint-replace-by-expanded-history): Use it.
13349 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13350 termination strings. Try harder to avoid second try-completion.
13351 (completion-in-region-mode-map): Disable bindings that don't work yet.
13352
2dbaa080
SM
13353 * comint.el: Use lexical-binding. Require CL.
13354 (comint-dynamic-complete-functions): Use comint-filename-completion.
13355 (comint-completion-addsuffix): Tweak custom type.
13356 (comint-filename-completion, comint--common-suffix)
13357 (comint--common-quoted-suffix, comint--table-subvert)
13358 (comint--complete-file-name-data): New functions.
13359 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13360 (comint-dynamic-list-filename-completions): Use them.
13361 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13362
2dbaa080
SM
13363 * minibuffer.el (completion-in-region-mode):
13364 Keep completion-in-region-mode--predicate global.
13365 (completion-in-region--postch):
13366 Assume completion-in-region-mode--predicate is not null.
13367
c79a6f38
SM
13368 * progmodes/flymake.el (flymake-start-syntax-check-process):
13369 Obey `dir'. Simplify.
13370
024ff170
SM
13371 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13372 we're in VC after all.
13373
1c6c854e
CS
133742011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13375
13376 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13377 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13378 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13379
bed7f140
SM
133802011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13381
332e62ab
SM
13382 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13383 add sanity check.
13384
bed7f140
SM
13385 * obsolete/erc-hecomplete.el: Make obsolete.
13386 * obsolete/: Standardize obsolescence info in the header.
13387
f195c582
GM
133882011-04-20 Glenn Morris <rgm@gnu.org>
13389
13390 * calendar/solar.el (solar-horizontal-coordinates):
13391 Use the longitude argument rather than `calendar-longitude'.
13392 (solar-date-next-longitude): Remove unused locals.
13393
cb79b8c0
VJL
133942011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13395
13396 * whitespace.el: New version 13.2.1.
13397
133982011-04-20 felix <EmacsWiki> (tiny change)
13399
d8e4b68b 13400 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13401 switching between major modes on a file.
13402
602ea69d
SM
134032011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13404
13405 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13406 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13407 multi-line comments as well.
13408
06b60517
JB
134092011-04-19 Juanma Barranquero <lekktu@gmail.com>
13410
13411 Lexical-binding cleanup.
13412
13413 * arc-mode.el (archive-mode-revert):
13414 * cmuscheme.el (scheme-interactively-start-process):
13415 * custom.el (custom-initialize-delay):
13416 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13417 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13418 * emacs-lock.el (emacs-lock-clear-sentinel):
13419 * ezimage.el (defezimage):
13420 * follow.el (follow-avoid-tail-recenter):
13421 * fringe.el (set-fringe-mode-1):
13422 * generic-x.el (bat-generic-mode-compile):
13423 * help-mode.el (help-info-variable, help-do-xref)
13424 (help-mode-revert-buffer):
13425 * help.el (view-emacs-todo):
13426 * iswitchb.el (iswitchb-completion-help):
13427 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13428 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13429 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13430 * locate.el (locate-update):
13431 * longlines.el (longlines-encode-region)
13432 (longlines-after-change-function):
13433 * outline.el (outline-isearch-open-invisible):
13434 * ps-def.el (declare-function, charset-dimension, char-width)
13435 (encode-char):
13436 * ps-mule.el (ps-mule-plot-string):
13437 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13438 (recentf-edit-list-select, recentf-edit-list-validate)
13439 (recentf-open-files-action):
13440 * rect.el (delete-whitespace-rectangle-line)
13441 (rectangle-number-line-callback):
13442 * register.el (window-configuration-to-register)
13443 (frame-configuration-to-register):
13444 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13445 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13446 (xselect-convert-to-targets, xselect-convert-to-delete)
13447 (xselect-convert-to-filename, xselect-convert-to-charpos)
13448 (xselect-convert-to-lineno, xselect-convert-to-colno)
13449 (xselect-convert-to-os, xselect-convert-to-host)
13450 (xselect-convert-to-user, xselect-convert-to-class)
13451 (xselect-convert-to-name, xselect-convert-to-integer)
13452 (xselect-convert-to-atom, xselect-convert-to-identity):
13453 * subr.el (declare, ignore, process-kill-without-query)
13454 (text-clone-maintain):
13455 * terminal.el (te-get-char, te-tic-sentinel):
13456 * tool-bar.el (tool-bar-make-keymap):
13457 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13458 * type-break.el (type-break-mode, type-break-noninteractive-query):
13459 * view.el (View-back-to-mark):
13460 * wid-browse.el (widget-browse-action, widget-browse-widget)
13461 (widget-browse-widgets, widget-browse-sexp):
13462 * widget.el (define-widget-keywords):
13463 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13464 Mark unused parameters.
13465
13466 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13467 (align-areas): Remove unused variable `look'.
13468 (align-region): Remove unused variables `real-end' and `pos-list'.
13469
13470 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13471
13472 * bindings.el (mode-line-modified, mode-line-remote):
13473 Mark unused parameters.
13474 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13475
13476 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13477 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13478
13479 * comint.el (comint-history-isearch-pop-state)
13480 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13481 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13482 (comint-substitute-in-file-name): Doc fix.
13483
13484 * completion.el (cmpl-statistics-block): Mark unused parameter.
13485 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13486 (save-completions-to-file, load-completions-from-file):
13487 Remove unused local variable `e'.
13488
13489 * composite.el (compose-chars): Remove unused variable `len'.
13490 (lgstring-insert-glyph): Remove unused variable `g'.
13491 (compose-glyph-string): Remove unused variables `ascent',
13492 `descent', `lbearing' and `rbearing'.
13493 (compose-glyph-string-relative): Remove unused variables
13494 `lbearing', `rbearing' and `wadjust'.
13495 (compose-gstring-for-graphic): Remove unused variables `header',
13496 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13497 (compose-gstring-for-terminal): Remove unused variables `header'
13498 and `nchars'. Use `let', not `let*'.
13499
13500 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13501 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13502 (Custom-buffer-done, custom-buffer-create-internal)
13503 (custom-browse-visibility-action, custom-browse-group-tag-action)
13504 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13505 (widget-magic-mouse-down-action, custom-toggle-parent)
13506 (custom-add-parent-links, custom-toggle-hide-variable)
13507 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13508 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13509 (custom-face-menu-create, custom-variable-menu-create, get)
13510 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13511 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13512 (customize-apropos): Remove unused variable `tests'.
13513 (custom-group-value-create): Remove unused variable `hidden-p'.
13514 (sort-fold-case): Declare.
13515
13516 * cus-theme.el (custom-reset-standard-faces-list)
13517 (custom-reset-standard-variables-list): Declare.
13518 (customize-create-theme, custom-theme-revert, custom-theme-write)
13519 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13520 Mark unused parameters.
13521
13522 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13523
13524 * delim-col.el (delimit-columns-max): Move defvar before first use.
13525
13526 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13527 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13528
13529 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13530 (auto-insert): Declare.
13531 (desktop-restore-file-buffer): Rename desktop-* parameters;
13532 mark unused ones.
13533 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13534 (desktop-buffer): Rename desktop-* parameters.
13535
13536 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13537 (dframe-reposition-frame-xemacs, dframe-help-echo)
13538 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13539 Mark unused parameters.
13540
13541 * dired-aux.el (backup-extract-version-start, overwrite-query)
13542 (overwrite-backup-query, rename-regexp-query)
13543 (rename-non-directory-query): Declare.
13544 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13545 (dired-add-entry): Remove unused variable `orig-file-name'.
13546 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13547 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13548 `dired-copy-preserve-time' directly.
13549 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13550 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13551
13552 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13553 (dired-virtual-revert, dired-make-relative-symlink):
13554 Mark unused parameters.
13555 (manual-program): Declare.
13556 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13557 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13558 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13559
13560 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13561
13562 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13563
13564 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13565 Declare.
13566
13567 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13568
13569 * electric.el (Electric-command-loop): Rename parameter
13570 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13571
13572 * expand.el (expand-in-literal): Remove unused variable `here'.
13573
13574 * facemenu.el (facemenu-add-new-color):
13575 Remove unused variable `docstring'.
13576
13577 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13578 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13579 (face-attr-construct): Mark unused parameter. Doc fix.
13580 (read-color): Remove unused variable `hex-string'.
13581
13582 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13583 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13584 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13585 (display-buffer-other-frame): Remove unused variable `old-window'.
13586 (kill-buffer-hook): Declare.
13587 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13588 Mark unused parameters.
13589 (after-find-file): Pass 1 to `auto-save-mode', not t.
13590
13591 * files-x.el (auto-insert): Declare.
13592 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13593
13594 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13595 variable `buf'. Mark unused parameter.
06b60517
JB
13596 (find-lisp-insert-directory): Mark unused parameter.
13597
13598 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13599 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13600 (format-common-tail): Remove, unused.
13601 (format-deannotate-region): Remove unused variable `loc'.
13602 (format-annotate-region): Remove unused variable `p'.
13603 (format-annotate-single-property-change): Remove unused variables
13604 `default' and `tail'.
13605
13606 * forms.el (read-file-filter): Declare.
13607 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13608
13609 * frame.el (frame-creation-function-alist): Mark unused parameter.
13610 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13611
13612 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13613 Remove unused parameters.
13614 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13615 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13616
13617 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13618 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13619 (hfy-prepare-tag-map): Mark unused parameters.
13620 (htmlfontify-buffer): Use `called-interactively-p'.
13621
13622 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13623 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13624 (ibuffer-do-occur): Mark unused parameters.
13625 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13626 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13627
13628 * ibuffer.el: Don't quote `lambda'.
13629 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13630 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13631 Mark unused parameters.
13632
13633 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13634 (ido-completing-read): Mark unused parameters.
13635 (ido-copy-current-word): Mark unused parameters;
13636 remove unused variable `name'.
13637 (ido-sort-merged-list): Remove unused parameter `dirs'.
13638
13639 * ielm.el (ielm-input-sender): Mark unused parameter.
13640 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13641 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13642 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13643 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13644 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13645
13646 * image-dired.el (image-dired-display-thumbs): Remove unused
13647 variables `curr-file' and `count'.
13648 (image-dired-remove-tag): Remove unused variable `start'.
13649 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13650 variable `curr-file'
13651 (image-dired-rotate-original): Remove unused variable `temp-file'.
13652 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13653 Remove unused variable `file'.
13654 (image-dired-gallery-generate): Remove unused variable `curr'.
13655 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13656
13657 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13658
13659 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13660
13661 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13662
13663 * isearch.el (minibuffer-history-symbol): Declare.
13664 (isearch-edit-string): Remove unused variable `err'.
13665 (isearch-message-prefix, isearch-message-suffix):
13666 Mark unused parameters.
13667
13668 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13669
13670 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13671
13672 * makesum.el (double-column): Remove unused variable `cnt'.
13673
13674 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13675 (ido-ignore-item-temp-list): Declare.
13676
13677 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13678 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13679 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13680 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13681 `mouse-col-delta'.
13682
13683 * mouse-sel.el (mouse-extend-internal):
13684 Remove unused variable `orig-window-frame'.
13685
13686 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13687 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13688 Move declarations before first use.
13689 (pcomplete-opt): Mark unused parameters; doc fix.
13690
13691 * proced.el (proced-revert): Mark unused parameter.
13692 (proced-send-signal): Remove unused variable `err'.
13693
13694 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13695 Rename parameter PREFIX-ARG to ARG.
13696 (ps-basic-plot-string, ps-basic-plot-whitespace):
13697 Mark unused parameters.
13698
13699 * replace.el (replace-count): Define.
13700 (occur-revert-function): Mark unused parameters.
13701 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13702 (isearch-case-fold-search, isearch-string): Declare.
13703 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13704 bind `case-fold-search'. Remove unused variables `beg' and `end',
13705 and simplify.
13706 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13707 COUNT and bind `replace-count'.
13708 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13709 to COUNT.
13710
13711 * savehist.el (print-readably, print-string-length): Declare.
13712
13713 * shadowfile.el (shadow-expand-cluster-in-file-name):
13714 Remove unused variable `cluster'.
13715 (shadow-copy-file): Remove unused variable `i'.
13716 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13717 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13718 (shadow-define-literal-group, shadow-define-regexp-group)
13719 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13720
13721 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13722 (shell): Use `called-interactively-p'.
13723 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13724
13725 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13726 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13727 (delete-backward-char): Remove unused variable `ocol'.
13728 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13729 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13730 (event-apply-hyper-modifier, event-apply-shift-modifier)
13731 (event-apply-control-modifier, event-apply-meta-modifier):
13732 Mark unused parameters.
13733 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13734 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13735
13736 * speedbar.el (speedbar-ignored-directory-expressions)
13737 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13738 (speedbar-find-file, speedbar-dir-follow)
13739 (speedbar-directory-buttons-follow, speedbar-tag-find)
13740 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13741 (speedbar-buffers-line-directory, speedbar-buffer-click):
13742 Mark unused parameters.
13743 (speedbar-tag-file): Remove unused variable `mode'.
13744 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13745
13746 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13747
13748 * talk.el (talk): Remove unused variable `display'.
13749
13750 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13751 (tar-write-region-annotate): Mark unused parameter.
13752
13753 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13754 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13755 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13756 warning by another.
13757
13758 * time-stamp.el (time-stamp-string-preprocess):
13759 Remove unused variable `require-padding'.
13760
13761 * tree-widget.el (widget-glyph-enable): Declare.
13762 (tree-widget-action): Mark unused parameter.
13763
13764 * w32-fns.el (x-get-selection): Mark unused parameter.
13765 (autoload-make-program, generated-autoload-file): Declare.
13766
13767 * wdired.el (wdired-revert): Mark unused parameters.
13768 (wdired-xcase-word): Remove unused variable `err'.
13769
13770 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13771 (whitespace-help-scroll): Remove unused variable `data-help'.
13772
13773 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13774 (widget-image-insert, widget-after-change, default)
13775 (widget-default-format-handler, widget-default-notify)
13776 (widget-default-prompt-value, widget-info-link-action)
13777 (widget-url-link-action, widget-function-link-action)
13778 (widget-variable-link-action, widget-file-link-action)
13779 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13780 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13781 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13782 (widget-insert-button-action, widget-delete-button-action, visibility)
13783 (widget-documentation-link-action, widget-documentation-string-action)
13784 (widget-const-prompt-value, widget-regexp-match, symbol)
13785 (widget-coding-system-prompt-value)
13786 (widget-key-sequence-value-to-external, sexp)
13787 (widget-sexp-value-to-internal, character, vector, cons)
13788 (widget-choice-prompt-value, widget-boolean-prompt-value)
13789 (widget-color--choose-action): Mark unused parameters.
13790 (widget-item-match-inline, widget-choice-match-inline)
13791 (widget-checklist-match, widget-checklist-match-inline)
13792 (widget-group-match): Rename parameter VALUES to VALS.
13793 (widget-field-value-set): Remove unused variable `size'.
13794 (widget-color-action): Remove unused variables `value' and `start'.
13795
13796 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13797 variable `dir'. Doc fix.
06b60517
JB
13798 (windmove-find-other-window): Don't pass it.
13799
13800 * window.el (count-windows): Mark unused parameter.
13801 (bw-adjust-window): Remove unused variable `err'.
13802
13803 * woman.el (woman-file-name): Remove unused variable `default'.
13804 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13805 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13806 (global-font-lock-mode): Declare.
13807 (woman-decode-region): Mark unused parameter.
13808 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13809
13810 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13811 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13812 (x-dnd-handle-moz-url): Remove unused variable `title'.
13813 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13814
13815 * xml.el (xml-parse-tag, xml-parse-attlist):
13816 Remove unused variable `pos'.
13817
bc4f7f3d
GM
138182011-04-19 Glenn Morris <rgm@gnu.org>
13819
13820 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13821 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13822 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13823 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13824 * calendar/cal-html.el (cal-html-insert-minical):
13825 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13826 (calendar-mark-date-pattern):
13827 Prefix "unused" locals.
13828
13829 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13830 optional argument `style'.
13831
13832 * calendar/appt.el (appt-make-list):
13833 * calendar/cal-china.el (calendar-chinese-date-string):
13834 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13835 (diary-hebrew-yahrzeit):
13836 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13837 * calendar/calendar.el (calendar-generate-window):
13838 * calendar/time-date.el (time-to-days):
13839 Remove unused local variables.
13840
16a43933
CY
138412011-04-18 Chong Yidong <cyd@stupidchicken.com>
13842
13843 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13844 glyphless-char-display table.
13845 (tabulated-list-glyphless-char-display): New var.
13846
7eed1860
SS
138472011-04-18 Sam Steingold <sds@gnu.org>
13848
13849 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13850 to acknowledgments.
13851
4d2d1ccd
GM
138522011-04-17 Glenn Morris <rgm@gnu.org>
13853
13854 * calendar/diary-lib.el (diary-sexp-entry):
13855 * calendar/holidays.el (holiday-sexp):
13856 Set debug-on-error rather than the removed stack-trace-on-error.
13857
239da61d
GM
138582011-04-16 Glenn Morris <rgm@gnu.org>
13859
13860 * progmodes/f90.el: Use lexical-binding.
13861 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13862
8b05752a
SM
138632011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13864
daca8ba5
SM
13865 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13866 (mail-mode): Setup mailalias completion here instead.
13867 * mail/mailalias.el: Use lexical-binding.
13868 (pattern, mailalias-done): Declare dynamic.
13869 (mail-completion-at-point-function): New function, from mail-complete.
13870 (mail-complete): Use it.
13871 (mail-completion-expand): New function.
13872 (mail-get-names): Use it.
13873 (mail-directory, mail-directory-process, mail-directory-stream):
13874 Don't use `pattern' for lexically bound arg.
13875
6f542485
SM
13876 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13877
037e7c3f
SM
13878 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13879 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13880 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13881
8b05752a
SM
13882 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13883 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13884 (byte-interactive-p): Define them again, for use when inlining
13885 old code.
13886
49093f60
JB
138872011-04-15 Juanma Barranquero <lekktu@gmail.com>
13888
13889 * loadup.el: Use `string-to-number', not `string-to-int'.
13890
b5b8e7de
SM
138912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13892
13893 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13894 gud-gdb-complete-command.
13895 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13896 (gud-gdb-completion-at-point): New function.
13897 (gud-gdb-completions): Remove.
13898
f42efeb5
MA
138992011-04-14 Michael Albinus <michael.albinus@gmx.de>
13900
49093f60
JB
13901 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13902 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13903 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13904 whether `executable-find' is bound.
f42efeb5
MA
13905
13906 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13907
e240cc21
SM
139082011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * minibuffer.el (completion-in-region-mode-predicate)
13911 (completion-in-region-mode--predicate): New vars.
13912 (completion-in-region, completion-in-region--postch)
13913 (completion-in-region-mode): Use them.
13914 (completion--capf-wrapper): Also return the hook function.
13915 (completion-at-point, completion-help-at-point):
13916 Adjust and provide a predicate.
c2bd2ab0
SM
13917
13918 Preserve arg names for advice of subr and lexical functions (bug#8457).
13919 * help-fns.el (help-function-arglist): Consolidate the subr and
13920 new-byte-code cases. Add argument `preserve-names' to extract names
13921 from the docstring when needed.
13922 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13923 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13924 (ad-arglist): Use help-function-arglist's new arg.
13925 (ad-definition-type): Use cond.
13926
c183f693
JB
139272011-04-13 Juanma Barranquero <lekktu@gmail.com>
13928
06641a47
JB
13929 * autorevert.el (auto-revert-handler):
13930 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13931 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13932 Don't quote lambda.
13933
c183f693
JB
13934 * image-mode.el (image-transform-set-scale):
13935 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13936
1e3b6001
G
139372011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13938
13939 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13940 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13941 Upgrades via gnutls-cli are too slow to be done opportunistically.
13942
2d6af8dd
JB
139432011-04-12 Juanma Barranquero <lekktu@gmail.com>
13944
13945 * dframe.el (dframe-current-frame): Remove spurious quote.
13946
c0749a51
GM
139472011-04-12 Glenn Morris <rgm@gnu.org>
13948
088d0d61
GM
13949 * calendar/cal-tex.el (cal-tex-end-document):
13950 Try to automatically use latin1 input if needed.
13951
c0749a51
GM
13952 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13953 Don't try to cons a mark onto an empty element.
13954
5c90fde0
LL
139552011-04-11 Leo Liu <sdl.web@gmail.com>
13956
13957 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13958 buffers.
13959 (ido-kill-buffer-at-head): Support killing virtual buffers.
13960
369e974d
CY
139612011-04-10 Chong Yidong <cyd@stupidchicken.com>
13962
13963 * minibuffer.el (completion-show-inline-help): New var.
13964 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13965 (minibuffer-force-complete, minibuffer-complete-word):
13966 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13967
13968 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13969 to avoid interference from inline help (Bug#5849).
13970
37f1c930
LL
139712011-04-10 Leo Liu <sdl.web@gmail.com>
13972
099c39a4
JB
13973 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13974 Fix typo.
37f1c930 13975
a32d4040
CY
139762011-04-09 Chong Yidong <cyd@stupidchicken.com>
13977
13978 * image-mode.el (image-toggle-display-image): Signal an error if
13979 not in Image mode.
13980 (image-transform-mode, image-transform-resize)
13981 (image-transform-set-rotation): Doc fix.
daca8ba5 13982 (image-transform-set-resize): Delete.
a32d4040
CY
13983 (image-transform-set-scale, image-transform-fit-to-height)
13984 (image-transform-fit-to-width): Handle image-toggle-display-image
13985 and image-transform-resize directly.
13986
099c39a4 139872011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13988
13989 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13990 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13991 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13992 (doc-view-mode-map): Add bindings for the new functions.
13993
099c39a4 139942011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13995
4d61f28d 13996 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13997 Fix typo in docstring.
13998
3726838a
EZ
139992011-04-08 Eli Zaretskii <eliz@gnu.org>
14000
04f33f1e
EZ
14001 * files.el (file-size-human-readable): Produce one digit after
14002 decimal, like "ls -lh" does.
14003
14004 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14005 the file size representation.
14006
3726838a
EZ
14007 * simple.el (list-processes): If async subprocesses are not
14008 available, error out with a clear error message.
14009
cbb59342
CY
140102011-04-08 Chong Yidong <cyd@stupidchicken.com>
14011
14012 * help.el (help-form-show): New function, to be called from C.
14013 Put help-form output in a buffer named differently than *Help*.
14014
e3971c44
EZ
140152011-04-08 Eli Zaretskii <eliz@gnu.org>
14016
14017 * files.el (file-size-human-readable): New function.
14018
14019 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14020 computing the representation inline. Don't require `cl'.
14021
12544bbe
GM
140222011-04-08 Glenn Morris <rgm@gnu.org>
14023
a1de6c6a
GM
14024 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14025
3c4671f4
GM
14026 * net/browse-url.el (browse-url-firefox):
14027 Test system-type, not system-configuration.
14028
b605679c
GM
14029 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14030 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14031 Use log-edit-empty-buffer-p. (Bug#7598)
14032
56442f0c
GM
14033 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14034 (rlogin-mode-map): Initialize in the defvar.
14035 (rlogin): Use ignore-errors.
14036
12544bbe
GM
14037 * replace.el (occur-mode-map): Some fixes for menu items.
14038
eb237b0f
AH
140392011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14040
14041 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14042
7d668f2c
CY
140432011-04-06 Chong Yidong <cyd@stupidchicken.com>
14044
e67a13ab
CY
14045 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14046 issuing unused warnings.
14047
14048 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14049 macro directly.
14050
7d668f2c
CY
14051 * simple.el: Lisp reimplement of list-processes. Based on an
14052 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14053 (process-menu-mode): New major mode.
14054 (list-processes--refresh, list-processes):
14055 (process-menu-visit-buffer): New functions.
14056
14057 * files.el (save-buffers-kill-emacs): Don't assume any return
14058 value of list-processes, which is undocumented anyway.
14059
a83ec3c9
CY
140602011-04-06 Chong Yidong <cyd@stupidchicken.com>
14061
14062 * emacs-lisp/tabulated-list.el: New file.
14063
e91a96fe
CY
14064 * emacs-lisp/package.el: Use Tabulated List mode.
14065 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14066 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14067 table format using Tabulated List mode variables.
14068 (package--push): New macro, replacing package-list-maybe-add.
14069 (package-menu--generate): Use package--push. Renamed from
14070 package--generate-package-list.
14071 (package-menu-refresh, list-packages): Use it.
daca8ba5 14072 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14073 Return insertion data instead of inserting it directly.
099c39a4
JB
14074 (package-menu-describe-package, package-menu-execute):
14075 Use tabulated-list-get-id.
e91a96fe
CY
14076 (package-menu-mark-delete, package-menu-mark-install)
14077 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14078 (package-menu-mark-obsolete-for-deletion):
14079 Use tabulated-list-put-tag.
e91a96fe
CY
14080 (package--list-packages, package-menu-revert)
14081 (package-menu-get-package, package-menu-get-version)
14082 (package-menu-sort-by-column): Functions deleted.
14083 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14084 (package-menu--status-predicate, package-menu--version-predicate)
14085 (package-menu--name-predicate)
14086 (package-menu--description-predicate): Handle arguments in the
14087 Tabulated List format.
14088 (package-list-packages-no-fetch): Call list-packages.
14089
3e214b50
JB
140902011-04-06 Juanma Barranquero <lekktu@gmail.com>
14091
14092 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14093 (after-find-file): Don't bind it.
3e214b50
JB
14094 (revert-buffer-in-progress-p): New variable.
14095 (revert-buffer): Bind it.
14096 Pass nil for `after-find-file-from-revert-buffer'.
14097
14098 * saveplace.el (save-place-find-file-hook): Use new variable
14099 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14100
3f0f1700
GM
141012011-04-06 Glenn Morris <rgm@gnu.org>
14102
c0274801
GM
14103 * Makefile.in (AUTOGEN_VCS): New variable.
14104 (autoloads): Use $AUTOGEN_VCS.
14105
3f0f1700
GM
14106 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14107 * calendar/calendar.el (calendar-mode-map):
14108 Check for toolkit scroll bars. (Bug#8305)
14109
41ea9e48
CY
141102011-04-05 Chong Yidong <cyd@stupidchicken.com>
14111
14112 * minibuffer.el (completion-in-region--postch)
14113 (completion-in-region-mode): Remove unnecessary messages.
14114
6194c800
JB
141152011-04-05 Juanma Barranquero <lekktu@gmail.com>
14116
33256f14
JB
14117 * font-lock.el (font-lock-refresh-defaults):
14118 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14119 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14120
6194c800
JB
14121 * info.el (Info-directory-list, Info-read-node-name-2)
14122 (Info-split-parameter-string): Doc fixes.
14123 (Info-virtual-nodes): Reflow docstring.
14124 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14125 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14126 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14127 Fix typos in docstrings.
14128 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14129 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14130 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14131 (Info-restore-desktop-buffer): Mark unused parameters.
14132 (Info-directory-find-file, Info-directory-find-node)
14133 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14134 (Info-virtual-index-find-node, Info-apropos-find-file)
14135 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14136 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14137 (Info-virtual-index): Remove unused local variable `nodename'.
14138
b87a8200 141392011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14140
b87a8200
DD
14141 * net/rcirc.el: Update my e-mail address.
14142 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14143
3b2ff876
CY
141442011-04-05 Chong Yidong <cyd@stupidchicken.com>
14145
14146 * startup.el (command-line): Save the cursor's theme-face
14147 directly, instead of using face-override-spec.
14148
14149 * custom.el (load-theme): Minor optimization in assigning faces.
14150
8d17e7ca
JB
141512011-04-04 Juanma Barranquero <lekktu@gmail.com>
14152
14153 * help-fns.el (describe-variable): Complete all variables having
14154 documentation, including keywords.
14155 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14156
2fbc1934
JB
141572011-04-04 Juanma Barranquero <lekktu@gmail.com>
14158
14159 Convert to lexical-binding.
14160
14161 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14162 (bs--get-marked-string, bs--get-modified-string)
14163 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14164 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14165 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14166
14167 * ehelp.el (electric-help-execute-extended)
14168 (electric-help-ctrl-x-prefix):
14169 * hexl.el (hexl-revert-buffer-function):
14170 * linum.el (linum-after-change, linum-after-scroll):
14171 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14172
14173 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14174
74f50695
DU
141752011-04-04 Daiki Ueno <ueno@unixuser.org>
14176
14177 * epa-dired.el:
14178 * epa-mail.el:
14179 * epa-hook.el:
14180 * epa-file.el:
14181 * epa.el:
14182 * epg.el: Use lexical binding.
14183
c11325f7
CY
141842011-04-03 Chong Yidong <cyd@stupidchicken.com>
14185
0d9e9a12
CY
14186 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14187
c11325f7 14188 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14189 dictionary case for flyspell-mark-duplications-exceptions.
14190 Use regexp matching for languages.
c11325f7
CY
14191 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14192 default dictionary (Bug#7926).
14193
da91b5f2
CY
141942011-04-02 Chong Yidong <cyd@stupidchicken.com>
14195
099c39a4
JB
14196 * emacs-lisp/package.el (package--with-work-buffer):
14197 Recognize https URLs.
da91b5f2 14198
099c39a4
JB
14199 * net/network-stream.el: Move from gnus/proto-stream.el.
14200 Change prefix to network-stream throughout.
da91b5f2
CY
14201 (open-protocol-stream): Merge into open-network-stream, leaving
14202 open-protocol-stream as an alias. Handle nil BUFFER args.
14203
14204 * subr.el (open-network-stream): Move to net/network-stream.el.
14205
afa8e9f6
GM
142062011-04-02 Glenn Morris <rgm@gnu.org>
14207
1d2e369d
GM
14208 * find-dired.el (find-exec-terminator): New option.
14209 (find-ls-option): Test for -ls support.
14210 (find-ls-subdir-switches): Test for -b in find-ls-option.
14211 (find-dired, find-grep-dired): Doc fixes.
14212 (find-dired): Use find-exec-terminator.
14213
8abb7da8 14214 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14215 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14216 (find-name-arg): Remove purecopy.
8abb7da8 14217
f3ca7378
GM
14218 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14219 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14220 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14221 accordingly. Don't add the null-device if not needed.
14222
afa8e9f6
GM
14223 * files.el (save-some-buffers): Doc fix.
14224
35eae264
EZ
142252011-04-02 Eli Zaretskii <eliz@gnu.org>
14226
14227 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14228
26b51db5
JB
142292011-04-01 Juanma Barranquero <lekktu@gmail.com>
14230
14231 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14232 Use `dolist' rather than `mapcar'.
14233
7200d79c
SM
142342011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14235
03408648 14236 Add lexical binding.
7200d79c 14237
03408648
SM
14238 * subr.el (apply-partially): Use new closures rather than CL.
14239 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14240 (dolist, dotimes): Use slightly different expansion for lexical code.
14241 (functionp): Move to C.
14242 (letrec): New macro.
14243 (with-wrapper-hook): Use it and apply-partially instead of CL.
14244 (eval-after-load): Preserve lexical-binding.
14245 (save-window-excursion, with-output-to-temp-buffer): Turn them
14246 into macros.
7200d79c 14247
03408648
SM
14248 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14249
14250 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14251 than the arglist.
14252 (help-add-fundoc-usage): Don't add `Not documented'.
14253 (help-function-arglist): Handle closures, subroutines, and new
14254 byte-code-functions.
14255 (help-make-usage): Remove leading underscores.
14256 (describe-function-1): Handle closures.
14257 (describe-variable): Use special-variable-p for completion.
14258
14259 * files.el (lexical-binding): Declare safe.
f488fb65 14260
03408648
SM
14261 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14262 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14263 (pcase): Add `let' pattern.
14264 Change memoization so it actually works.
14265 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14266 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14267 <let>: New case.
f488fb65 14268
03408648
SM
14269 * emacs-lisp/macroexp.el: Use lexical binding.
14270 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14271 Don't convert ' to #' without checking that it's indeed quoting
14272 a lambda.
14273
14274 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14275 Use eval-sexp-add-defvars.
03408648
SM
14276 (eval-sexp-add-defvars): New fun.
14277
14278 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14279
14280 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14281 Don't autoload.
14282 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14283 than the internal `byte-compile-lambda'.
14284 (defmethod): Don't hide code under quotes.
14285 (eieio-defmethod): New `code' argument.
14286
14287 * emacs-lisp/eieio-comp.el: Remove.
14288
14289 * emacs-lisp/edebug.el (edebug-eval-defun)
14290 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14291 (edebug-toggle): Avoid `eval'.
14292
14293 * emacs-lisp/disass.el (disassemble-internal): Handle new
14294 `closure' objects.
14295 (disassemble-1): Handle new byte codes.
14296
14297 * emacs-lisp/cl.el (pushnew): Silence warning.
14298
14299 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14300 (cl-byte-compile-throw): Remove.
14301 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14302
14303 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14304 closures.
14305
14306 * emacs-lisp/cconv.el: New file.
14307
14308 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14309 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14310 (byte-compile-initial-macro-environment):
14311 Handle declare-function here.
14312 (byte-compile--lexical-environment): New var.
14313 (byte-stack-ref, byte-stack-set, byte-discardN)
14314 (byte-discardN-preserve-tos): New lap codes.
14315 (byte-interactive-p): Don't use any more.
14316 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14317 New macros.
14318 (byte-compile-lapcode): Use them and handle new lap codes.
14319 (byte-compile-obsolete): Remove.
14320 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14321 (byte-compile-arglist-warn): Check late def of inlinable funs.
14322 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14323 since they should have been expanded by now.
14324 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14325 (byte-compile-from-buffer): Remove unused second arg.
14326 (byte-compile-preprocess): New function.
14327 (byte-compile-toplevel-file-form): New function to distinguish
14328 file-form calls from outside from file-form calls from hunk-handlers.
14329 (byte-compile-file-form): Simplify.
14330 (byte-compile-file-form-defsubst): Remove.
14331 (byte-compile-file-form-defmumble): Simplify now that
14332 byte-compile-lambda always returns a byte-code-function.
14333 (byte-compile): Preprocess.
14334 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14335 Remove, not used any more.
14336 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14337 (byte-compile-make-args-desc): New funs.
14338 (byte-compile-lambda): Handle lexical functions. Always return
14339 a byte-code-function.
14340 (byte-compile-reserved-constants): New var, to make up room for
14341 closed-over variables.
14342 (byte-compile-constants-vector): Obey it.
14343 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14344 (byte-compile-macroexpand-declare-function): New function.
14345 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14346 byte-code-functions.
14347 (byte-compile-form): Check obsolescence here.
14348 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14349 (byte-compile-variable-ref): Remove.
14350 (byte-compile-dynamic-variable-op): New fun.
14351 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14352 (byte-compile-variable-set): New funs.
14353 (byte-compile-discard): Add 2 args.
14354 (byte-compile-stack-ref, byte-compile-stack-set)
14355 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14356 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14357 macroexpand-all instead.
14358 (byte-compile-quote-form): Remove.
14359 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14360 (byte-compile-bind, byte-compile-unbind): New funs.
14361 (byte-compile-let): Handle let* and lexical binding.
14362 (byte-compile-let*): Remove.
14363 (byte-compile-catch, byte-compile-unwind-protect)
14364 (byte-compile-track-mouse, byte-compile-condition-case):
14365 Handle a new :fun-body form, used for lexical scoping.
14366 (byte-compile-save-window-excursion)
14367 (byte-compile-with-output-to-temp-buffer): Remove.
14368 (byte-compile-defun): Simplify.
14369 (byte-compile-stack-adjustment): New fun.
14370 (byte-compile-out): Use it.
14371 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14372
14373 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14374 handler any more.
14375
14376 * emacs-lisp/byte-opt.el: Use lexical binding.
14377 (byte-inline-lapcode): Remove (to bytecomp).
14378 (byte-compile-inline-expand): Pay attention to inlining to/from
14379 lexically bound code.
14380 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14381 any more.
14382 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14383 any more and don't call compiler-macros.
14384 (byte-compile-splice-in-already-compiled-code): Remove.
14385 (byte-code): Don't inline any more.
14386 (disassemble-offset): Receive `bytes' as argument rather than via
14387 dynamic scoping.
14388 (byte-compile-tag-number): Declare before first use.
14389 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14390 `return' even if make-spliceable.
14391 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14392 obsolete interactive-p.
14393 (byte-optimize-lapcode): Optimize new lap-codes.
14394 Don't trip up on new form of `byte-constant' lap code.
14395
14396 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14397
14398 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14399
14400 * custom.el (custom-initialize-default, custom-declare-variable):
14401 Use `defvar'.
14402
14403 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14404 New variables.
14405 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14406 (COMPILE_FIRST): Add macroexp and cconv.
14407 * makefile.w32-in: Mirror changes in Makefile.in.
14408
14409 * vc/cvs-status.el:
14410 * vc/diff-mode.el:
14411 * vc/log-edit.el:
14412 * vc/log-view.el:
14413 * vc/smerge-mode.el:
14414 * textmodes/bibtex-style.el:
14415 * textmodes/css.el:
14416 * startup.el:
14417 * uniquify.el:
da91b5f2
CY
14418 * minibuffer.el:
14419 * newcomment.el:
14420 * reveal.el:
14421 * server.el:
14422 * mpc.el:
14423 * emacs-lisp/smie.el:
14424 * doc-view.el:
14425 * dired.el:
03408648
SM
14426 * abbrev.el: Use lexical binding.
14427
0f0c1f27
EZ
144282011-04-01 Eli Zaretskii <eliz@gnu.org>
14429
14430 * info.el (info-display-manual): New function.
14431
c82b2579
SM
144322011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14433
14434 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14435
221ddf68
TH
144362011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14437
14438 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14439 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14440
cba6e77e
GM
144412011-03-31 Glenn Morris <rgm@gnu.org>
14442
e040639f
GM
14443 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14444
cba6e77e
GM
14445 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14446
6d0f1c9e
CS
144472011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14448
14449 * progmodes/python.el (python-default-interpreter)
14450 (python-python-command-args, python-jython-command-args)
14451 (python-which-shell, python-which-args, python-which-bufname)
14452 (python-file-queue, python-comint-output-filter-function)
14453 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14454 variables and functions.
14455
3e2d70fd
SM
144562011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14457
14458 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14459 (completion-in-region-mode): New minor mode.
14460 (completion-in-region): Use it.
14461 (completion-in-region--data, completion-in-region-mode-map): New vars.
14462 (completion-in-region--postch): New function.
14463 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14464 New vars.
14465 (completion--capf-wrapper): New function.
14466 (completion-at-point): Use it to track well-behavedness of
14467 hook functions.
14468 (completion-help-at-point): New command.
14469
f3e4086c
JM
144702011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14471
14472 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14473 syntax class to search for whitespace on a single line
14474 (Message-ID: <4D938140.4030905@redhat.com>).
14475
eb7ffc14
LL
144762011-03-30 Leo Liu <sdl.web@gmail.com>
14477
14478 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14479 New commands.
14480 (edit-abbrevs-map): Bind them here.
14481 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14482
d806ab68
KM
144832011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14484
14485 * allout.el (allout-hide-by-annotation, allout-flag-region):
14486 Reduce possibility of overlay leakage by making them volatile.
14487
14488 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14489 hash is not shared between buffers. Mode initialization is
14490 responsible for giving it a useful starting value.
14491 (allout-item-span): Reduce possibility of overlay leakage by
14492 making them volatile.
14493 (allout-widgets-count-buttons-in-region): Add diagnostic function
14494 for tracking down button overlay leaks.
14495
ea622834
LL
144962011-03-29 Leo Liu <sdl.web@gmail.com>
14497
14498 * ido.el (ido-read-internal): Use the default history var
14499 minibuffer-history if no HISTORY is specified.
14500
b62f8267
G
145012011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14502
03408648
SM
14503 * net/imap.el (imap-shell-open, imap-process-connection-type):
14504 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14505 Kerberos, SSL, other subprocesses.
14506
947b6566
LL
145072011-03-28 Leo Liu <sdl.web@gmail.com>
14508
14509 * abbrev.el (abbrev-table-empty-p): New function.
14510 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14511 nonempty ones. (Bug#5937)
14512
5ffb62aa
JD
145132011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14514
14515 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14516
7a097943
LL
145172011-03-27 Leo Liu <sdl.web@gmail.com>
14518
14519 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14520 for foreground and background colors.
14521 (ansi-color-make-color-map): Adapt.
14522
c5b40130
LL
145232011-03-25 Leo Liu <sdl.web@gmail.com>
14524
1f48f7d2
LL
14525 * midnight.el (midnight-time-float): Remove. Note it calculates
14526 the microsecond component incorrectly and seconds-to-time does the
14527 same job.
625897ec 14528 Remove redundant (require 'timer).
1f48f7d2 14529
c5b40130
LL
14530 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14531 (ido-completions): Remove unused arguments. (Bug#8329)
14532
d86d2721
SM
145332011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * minibuffer.el (completion--flush-all-sorted-completions):
14536 Remove itself from hook.
14537 (completion-at-point): Let the functions perform the completion
14538 immediately and return nil or t.
14539 * comint.el (comint-dynamic-complete-functions): Now identical to
14540 completion-at-point-functions.
14541 (comint-dynamic-list-input-ring): Remove unused var `index'.
14542 (comint--match-partial-filename, comint--unquote&expand-filename):
14543 New funs, split from comint-match-partial-filename.
14544 (comint-dynamic-complete): Use completion-at-point.
14545 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14546
e8974c48
DA
145472011-03-24 Drew Adams <drew.adams@oracle.com>
14548
14549 * thingatpt.el: Support `defun'.
14550
def71b5e
LL
145512011-03-23 Leo Liu <sdl.web@gmail.com>
14552
cb5af48e
LL
14553 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14554
def71b5e
LL
14555 * help-mode.el (help-mode-finish): Tweak regexp.
14556
927c53e7
GM
145572011-03-23 Glenn Morris <rgm@gnu.org>
14558
18d05bed
GM
14559 * eshell/esh-opt.el (eshell-eval-using-options):
14560 Do not bind unused local variable `eshell-option-stub'.
14561
927c53e7
GM
14562 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14563
9d0da923
JB
145642011-03-22 Juanma Barranquero <lekktu@gmail.com>
14565
14566 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14567 keymap variable in `with-no-warnings' to avoid a warning when the
14568 keymap has been already `defconst'ed.
14569
4b978a67
LL
145702011-03-22 Leo Liu <sdl.web@gmail.com>
14571
14572 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14573 encode all chars in abbrevs; otherwise use emacs-mule or
14574 utf-8-emacs. (Bug#8308)
14575
5fd62452
JB
145762011-03-22 Juanma Barranquero <lekktu@gmail.com>
14577
0b1596c6
JB
14578 * simple.el (backward-delete-char-untabify):
14579 Avoid warning about using `delete-backward-char'.
14580
5fd62452
JB
14581 * image.el (image-type-file-name-regexps): Make it variable.
14582 `imagemagick-register-types' modifies it, and the user may want
14583 to add new extensions for known image types.
14584 (imagemagick-register-types): Throw error if not using ImageMagick.
14585
0b4e93f1
LL
145862011-03-22 Leo Liu <sdl.web@gmail.com>
14587
14588 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14589 located before rcirc-prompt-end-marker.
14590 (rcirc-complete): Error if point is not after rcirc prompt.
14591 Handle the case when table is nil.
9882e214 14592 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14593
fccee4ab
CY
145942011-03-22 Chong Yidong <cyd@stupidchicken.com>
14595
14596 * custom.el (custom--inhibit-theme-enable): Make it affect only
14597 custom-theme-set-variables and custom-theme-set-faces.
14598 (provide-theme): Ignore custom--inhibit-theme-enable.
14599 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14600 (custom-enabling-themes): Delete variable.
d86d2721
SM
14601 (enable-theme): Accept only loaded themes as arguments.
14602 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14603 (custom-enabled-themes): Forbid themes from setting this.
14604 Eliminate use of custom-enabling-themes.
14605 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14606
af896da6
LL
146072011-03-21 Leo Liu <sdl.web@gmail.com>
14608
14609 * ido.el (ido-read-internal): Add ido-selected to history instead
14610 of user input.
14611
78f64af0
SM
146122011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14613
14614 * subr.el (deferred-action-list, deferred-action-function):
14615 Mark obsolete.
14616
b16ac1ec
LL
146172011-03-21 Leo Liu <sdl.web@gmail.com>
14618
810f7698
LL
14619 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14620 change on 2011-02-13 (bug#8309).
14621
b16ac1ec
LL
14622 * minibuffer.el (read-file-name-function): Change default value.
14623 (read-file-name--defaults): Rename from read-file-name-defaults.
14624 (read-file-name-default): Rename from read-file-name.
14625 (read-file-name): Call read-file-name-function.
14626
4e05e67e
GM
146272011-03-21 Glenn Morris <rgm@gnu.org>
14628
14629 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14630 Doc fixes.
14631
4359915b
CY
146322011-03-21 Chong Yidong <cyd@stupidchicken.com>
14633
14634 * cus-theme.el: Add missing provide statement.
14635 (customize-create-theme): Extract theme value correctly.
14636 (custom-theme-visit-theme): Autoload.
14637 (customize-create-theme): Prompt before inserting default faces.
14638
1fe275ee
JB
146392011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14640
14641 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14642 units and musical notes.
14643
cd394be1 146442011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14645
14646 * ido.el (ido-read-internal): Use completing-read-default.
14647 (ido-completing-read): Fix compatibility with completing-read.
14648
7d476bde
CO
146492011-03-20 Christian Ohler <ohler@gnu.org>
14650
14651 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14652 (ert-delete-all-tests): Use `called-interactively-p' rather than
14653 `interactive-p'.
14654 (ert--make-xrefs-region): Respect END.
14655
fe0fb33e
CY
146562011-03-19 Chong Yidong <cyd@stupidchicken.com>
14657
ff854b0b
CY
14658 * dired-aux.el (dired-create-directory): Signal an error if the
14659 directory already exists (Bug#8246).
14660
fe0fb33e
CY
14661 * facemenu.el (list-colors-display): Call list-faces-display
14662 inside with-help-window.
14663 (list-colors-print): Use display property to align the final
14664 column, instead of checking window-width.
14665
576bce32
EZ
146662011-03-19 Eli Zaretskii <eliz@gnu.org>
14667
4d61f28d 14668 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14669 windows-nt systems.
14670 (emerge-protect-metachars): Quote correctly for ms-dos and
14671 windows-nt systems.
14672
89c41d68 146732011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14674
14675 * info.el (info-initialize): Replace all uses of `:' with
14676 path-separator for compatibility with non-Unix systems.
14677 Cache quoting of path-separator. (Bug#8258)
14678
b14e3e21 146792011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14680
14681 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14682 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14683 (mouse-avoidance-mode): Fix typos in docstrings.
14684
4525ce3e
CY
146852011-03-19 Chong Yidong <cyd@stupidchicken.com>
14686
14687 * startup.el (package-subdirectory-regexp): Move from package.el.
14688 Omit \\` and \\', and let callers add them.
14689
14690 * emacs-lisp/package.el (package-strip-version)
14691 (package-load-all-descriptors): Add \\` and \\' to
14692 package-subdirectory-regexp before using it.
14693 (package-untar-buffer): New arg DIR; ensure that file untars only
14694 into this expected directory. Remove superfluous delete-region.
14695 (package-unpack): Caller changed.
14696 (package-tar-file-info): Use package-subdirectory-regexp.
14697
a904a09a 146982011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14699
a904a09a
SM
14700 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14701 diff-mode-shared-map (bug#8284).
14702 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14703
147042011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14705
14706 * calendar/time-date.el (format-seconds): Use assoc instead of
14707 assoc-string, since assoc-string doesn't exist in XEmacs.
14708
171fc304
JB
147092011-03-17 Juanma Barranquero <lekktu@gmail.com>
14710
14711 * custom.el (custom-known-themes): Reflow docstring.
14712 (custom-theme-load-path): Fix typo in docstring.
14713 (load-theme): Fix typo in error message.
14714 (custom-available-themes, custom-variable-theme-value):
14715 Use `let', not `let*'.
14716
d71990a1
JB
147172011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14718
14719 * calc/README: Mention inclusion of musical notes.
14720
14721 * calc/calc-units.el (calc-lu-quant): Rename from
14722 `calc-logunits-quantity'.
14723 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14724 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14725 (calc-db): Rename from `calc-dblevel'.
14726 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14727 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14728 (calc-np): Rename from `calc-nplevel'.
14729 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14730 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14731 (calc-lu-plus): Rename from `calc-logunits-add'.
14732 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14733 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14734 (calc-lu-minus): Rename from `calc-logunits-sub'.
14735 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14736 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14737 (calc-lu-times): Rename from `calc-logunits-mul'.
14738 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14739 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14740 (calc-lu-divide): Rename from `calc-logunits-div'.
14741 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14742 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14743
14744 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14745 functions being autoloaded.
14746
14747 * calc/calc.el (calc-lu-power-reference): Rename from
14748 `calc-logunits-power-reference'.
14749 (calc-lu-field-reference): Rename from
14750 `calc-logunits-field-reference'.
14751
7a71b18d
GM
14752 * calc/calc-help.el (calc-l-prefix-help):
14753 Mention musical note functions.
d71990a1 14754
40c2934b
SM
147552011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14756
14757 * minibuffer.el (completion-all-sorted-completions):
14758 Use :completion-cycle-penalty text property if present.
14759
b0911414
KM
147602011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14761
14762 * allout.el (allout-yank-processing): Adjust for new rebulleting
14763 regime so bullet being yanked is used without prompting the user
14764 for a choice.
14765
8a05b668
JB
147662011-03-16 Juanma Barranquero <lekktu@gmail.com>
14767
14768 * startup.el (command-line): Warn the user that _emacs is deprecated.
14769
5ba5fb81
JB
147702011-03-16 Juanma Barranquero <lekktu@gmail.com>
14771
14772 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14773 (delphi-verbose, delphi-comment-face, delphi-string-face)
14774 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14775 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14776 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14777 (delphi-new-comment-line, delphi-font-lock-defaults)
14778 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14779 Fix typos in docstrings.
14780
2dab465b
KM
147812011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14782
5ba5fb81 14783 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14784 Invert the roles of character and string values for INSTEAD, so a
14785 string is used for the more common case of a defaulting prompt.
14786
0adf5618
SM
147872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14788
14789 * progmodes/ruby-mode.el (ruby-backward-sexp):
14790 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14791 * play/gamegrid.el (gamegrid-make-face):
14792 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14793 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14794 * notifications.el (notifications-notify):
14795 * net/xesam.el (xesam-search-engines):
14796 * net/quickurl.el (quickurl-list-insert):
14797 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14798
d72700e5
CY
147992011-03-15 Chong Yidong <cyd@stupidchicken.com>
14800
14801 * startup.el (command-line): Update package subdirectory regexp.
14802
49c5410a
SM
148032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14804
c6eee9aa
SM
14805 * allout.el (allout-abbreviate-flattened-numbering)
14806 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14807
49c5410a
SM
14808 * subr.el (read-char-choice): Only show the cursor after the prompt,
14809 not after the answer.
14810
047b2bb9
KR
148112011-03-15 Kevin Ryde <user42@zip.com.au>
14812
14813 * help-fns.el (variable-at-point): Skip leading quotes, if any
14814 (bug#8253).
14815
0a57d256
SM
148162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14817
14818 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14819 warning message.
14820
77c992bc
MA
148212011-03-14 Michael Albinus <michael.albinus@gmx.de>
14822
14823 * shell.el (shell): When called interactively, offer to change the
14824 shell file name on remote hosts.
14825
eebc475d
TZ
148262011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14827
14828 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14829 integration for LDAP parameters. The host, base, user or binddn,
14830 and secret tokens can be specified in a netrc file, for instance.
14831 This is optional because an `auth-source' parameter must be
14832 specified in the search attributes.
14833
9d05d1ba
JB
148342011-03-13 Juanma Barranquero <lekktu@gmail.com>
14835
14836 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14837
09d9db2c
GM
148382011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14839
14840 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14841 into declaration. Remove redundant and harmful binding.
14842
148432011-03-12 Eli Zaretskii <eliz@gnu.org>
14844
14845 * files.el (file-ownership-preserved-p): Pass `integer' as an
14846 explicit 2nd argument to `file-attributes'. If the file's owner
14847 is the Administrators group on Windows, and the current user is
14848 Administrator, consider that a match.
14849
14850 * server.el (server-ensure-safe-dir): Consider server directory
14851 safe on MS-Windows if its owner is the Administrators group while
14852 the current Emacs user is Administrator. Use `=' to compare
14853 numerical UIDs, since they could be integers or floats.
14854
219bd536
JB
148552011-03-12 Juanma Barranquero <lekktu@gmail.com>
14856
14857 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14858
f3afd36b
MA
148592011-03-12 Michael Albinus <michael.albinus@gmx.de>
14860
14861 Sync with Tramp 2.2.1.
14862
14863 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14864
14865 * net/trampver.el: Update release number.
14866
3aaaa6f1
SM
148672011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14868
94642599
SM
14869 * progmodes/compile.el (compilation--previous-directory): Fix up
14870 various nil/dead-marker mismatches (bug#8014).
14871 (compilation-directory-properties, compilation-error-properties):
14872 Don't call it at a position past the one we're about to change.
14873
3aaaa6f1
SM
14874 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14875 Disable obsolescence warnings in the file that declares it.
14876
14239447
KM
148772011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14878
099c39a4
JB
14879 * allout-widgets.el (allout-widgets-tally):
14880 Initialize allout-widgets-tally as a hash table rather than nil to
14881 prevent mode-line redisplay warnings. Also, clarify the module
14882 description and fix a comment typo.
14239447 14883
135e287c
JB
148842011-03-11 Juanma Barranquero <lekktu@gmail.com>
14885
14886 * help-fns.el (describe-variable): Don't complete keywords.
14887 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14888
ffbf300e
CY
148892011-03-10 Chong Yidong <cyd@stupidchicken.com>
14890
ba08b241
CY
14891 * emacs-lisp/package.el (package-version-join): Impose a standard
14892 string representation for pre/alpha/beta version lists.
14893 (package-unpack-single): Standardize the directory name by passing
14894 it through package-version-join.
14895 (package-strip-rcs-id): Accept any version string that does not
14896 signal an error in version-to-list.
ffbf300e 14897
f346fd6b
MA
148982011-03-10 Michael Albinus <michael.albinus@gmx.de>
14899
14900 * simple.el (delete-trailing-whitespace): Return nil for the
14901 benefit of `write-file-functions'.
14902
ccb55d27
GM
149032011-03-10 Glenn Morris <rgm@gnu.org>
14904
5ceaac0c
GM
14905 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14906
02da65ff
GM
14907 * vc/vc-git.el (vc-git-program): New option.
14908 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14909 (vc-git--call): Use it.
14910
b2f603cc
GM
14911 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14912
5772caab
GM
14913 * cus-edit.el (Custom-newline): If no button at point, look
14914 for a subgroup button at start-of-line. (Bug#2298)
14915
ccb55d27
GM
14916 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14917
ec6ecaed
JD
149182011-03-10 Julien Danjou <julien@danjou.info>
14919
14920 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14921 `cursor-type' is nil.
14922
9d5aa01d
JB
149232011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14924
14925 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14926
b6a5875b
KM
149272011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14928
7a71b18d 14929 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14930 preserves the existing header prefix, rebulleting it if necessary,
14931 rather than replacing it. This is necessary for proper operation
14932 of cooperative addons like allout-widgets.
1154d12e
JB
14933 (allout-make-topic-prefix, allout-rebullet-heading):
14934 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14935 value as alternate bullet to be used, instead of prompting the user
14936 for a bullet character.
b6a5875b 14937
ee545c35
MA
149382011-03-09 Michael Albinus <michael.albinus@gmx.de>
14939
d86d2721
SM
14940 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14941 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14942 `tramp-default-port'.
14943
c47971d7
DD
149442011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14945
14946 * net/rcirc.el (rcirc-handler-001): Remove useless
14947 with-rcirc-process-buffer.
14948 (rcirc-check-auth-status): Swap arguments to string-match.
14949
13522cb4
GM
149502011-03-09 Glenn Morris <rgm@gnu.org>
14951
0be6f4f1
GM
14952 * shell.el (shell-mode):
14953 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14954
13522cb4
GM
14955 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14956 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14957
515de2e3
CY
149582011-03-08 Chong Yidong <cyd@stupidchicken.com>
14959
14960 * emacs-lisp/package.el (package-refresh-contents)
14961 (package-menu-execute): Use condition-case-no-debug.
14962
b511b994
MA
149632011-03-08 Michael Albinus <michael.albinus@gmx.de>
14964
14965 * simple.el (shell-command-to-string): Use `process-file'.
14966
14967 * emacs-lisp/package.el (package-tar-file-info): Handle also
14968 remote files.
14969
d86d2721
SM
14970 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14971 Use `equal' for upload base check.
b511b994 14972
25bbfb31
AM
149732011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14974
14975 * textmodes/texinfo.el (texinfo-environments):
14976 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14977
be996521
GM
149782011-03-08 Glenn Morris <rgm@gnu.org>
14979
e9c8529f
GM
14980 * cus-start.el (cursor-in-non-selected-windows):
14981 Fix :set quoting oddness. (Bug#8192)
14982
be996521
GM
14983 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14984 in some setf expressions. (Bug#2159)
14985
2bb5649e
CY
149862011-03-08 Chong Yidong <cyd@stupidchicken.com>
14987
14988 * custom.el (custom-available-themes): Return themes in
14989 alphabetical order.
14990
33383987 14991See ChangeLog.15 for earlier changes.
e3d51b27
MR
14992
14993;; Local Variables:
14994;; coding: utf-8
e3d51b27
MR
14995;; End:
14996
acaf905b 14997 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14998
14999 This file is part of GNU Emacs.
15000
15001 GNU Emacs is free software: you can redistribute it and/or modify
15002 it under the terms of the GNU General Public License as published by
15003 the Free Software Foundation, either version 3 of the License, or
15004 (at your option) any later version.
15005
15006 GNU Emacs is distributed in the hope that it will be useful,
15007 but WITHOUT ANY WARRANTY; without even the implied warranty of
15008 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15009 GNU General Public License for more details.
15010
15011 You should have received a copy of the GNU General Public License
15012 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.