Do not avoid creating empty evaporating overlays (Bug#9642).
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8b6c19f4
SM
12012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Avoid the obsolete `assoc' package.
4 * speedbar.el (speedbar-refresh): Avoid adelete.
5 (speedbar-file-lists): Simplify and avoid aput.
6 * man.el (Man--sections, Man--refpages): New vars, replacing
7 Man-sections-alist and Man-refpages-alist.
8 (Man-build-section-alist, Man-build-references-alist):
9 Use them; avoid aput.
10 (Man--last-section, Man--last-refpage): New vars.
11 (Man-follow-manual-reference): Use them.
12 Use the `default' arg of completing-read.
13 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14
c5bb7569
CY
152012-04-27 Chong Yidong <cyd@gnu.org>
16
d1d2e2e8
CY
17 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
18
15cd8efd
CY
19 * startup.el (x-apply-session-resources): New function.
20
21 * term/ns-win.el (ns-initialize-window-system):
22 * term/w32-win.el (w32-initialize-window-system):
23 * term/x-win.el (x-initialize-window-system): Use it to properly
24 set menu-bar-mode and other vars from X resources, even if the
25 initial frame is not a window-system frame (Bug#2299).
26
c5bb7569
CY
27 * subr.el (read-key): Avoid running filter function when setting
28 up temporary tool bar entries (Bug#9922).
29
a8e7d6d7 302012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
31
32 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
33 (Bug#11344)
34
a8e7d6d7 352012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
36
37 * select.el (xselect--encode-string): New function, split from
38 xselect-convert-to-string.
39 (xselect-convert-to-string): Use it.
40 (xselect-convert-to-filename, xselect-convert-to-os)
41 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
42 returned strings are properly encoded (Bug#11315).
43
a8e7d6d7 442012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
45
46 * simple.el (delete-active-region): Move to killing custom group.
47
a8e7d6d7 482012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
49
50 * progmodes/which-func.el (which-func-current): Quote %
51 characters for mode-line processing.
52
578c1d4b 532012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
54
55 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
56 reaching eob (Bug#11286).
57
a8e7d6d7 582012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
59
60 * progmodes/gdb-mi.el (gdb-control-level): New variable.
61 (gdb): Make it buffer-local and init to zero.
62 (gdb-control-commands-regexp): New variable.
63 (gdb-send): Don't wrap in "-interpreter-exec console" if
64 gdb-control-level is positive. Increment gdb-control-level
65 whenever the command matches gdb-control-commands-regexp, and
66 decrement it each time the command is "end". (Bug#11279)
67
a8e7d6d7 682012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
69
70 * window.el (adjust-window-trailing-edge, enlarge-window)
71 (shrink-window, window-resize):
72 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
73 windows (Bug#11276).
74
b3608390
CY
752012-04-27 Chong Yidong <cyd@gnu.org>
76
77 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 78 fix "missing prefix" warning. All callers changed.
b3608390 79
797e6e88
SM
802012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * emacs-lisp/assoc.el: Move to obsolete/.
83
e95a67dc
SM
842012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
85
657c21e4 86 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
87
88 * term/ns-win.el (ns-define-service):
89 * progmodes/pascal.el (pascal-goto-defun):
90 * progmodes/js.el (js--read-tab):
91 * progmodes/etags.el (tags-lazy-completion-table):
92 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
93 * emacs-lisp/ewoc.el (ewoc--wrap):
94 * emacs-lisp/assoc.el (aput, adelete, amake):
95 * doc-view.el (doc-view-convert-current-doc):
96 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
97
cb3e7ae0
CY
982012-04-26 Chong Yidong <cyd@gnu.org>
99
dce04f7f
CY
100 * image.el (image-type-from-buffer): Only return supported image
101 type (Bug#9045).
102
cb3e7ae0
CY
103 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
104 value, for symmetry with diff-end-of-hunk.
105 (diff-split-hunk, diff-find-source-location)
106 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
107 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
108 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
109 compute the relevant hunk or file properly (Bug#6005).
110 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
111
0d42eb3e
SM
1122012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * vc/vc-mtn.el:
115 * vc/vc-hg.el:
116 * vc/vc-git.el:
117 * vc/vc-dir.el:
118 * vc/vc-cvs.el:
119 * vc/vc-bzr.el:
120 * vc/vc-arch.el:
121 * vc/vc.el: Replace lexical-let by lexical-binding.
122 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
123 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
124 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
125
f08ae1c9
CY
1262012-04-26 Chong Yidong <cyd@gnu.org>
127
8b71081d
CY
128 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
129 (diff-mode-shared-map): Bind it to / and [remap undo].
130
f08ae1c9
CY
131 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
132 (ediff-window-setup-function): Use it as the default, to set up
133 windows based on whether the current frame is graphical (Bug#2138).
134 (ediff-choose-window-setup-function-automatically): Make obsolete.
135
136 * vc/ediff-init.el: Always define ediff-pixel-width/height.
137
ef24141c
SM
1382012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
139
cc356a5d
SM
140 * ffap.el: Remove old code for obsolete package.
141 (ffap-complete-as-file-p): Remove.
142
b4ff4f1f
SM
143 Use completion-table-with-quoting for comint and pcomplete.
144 * comint.el (comint--unquote&requote-argument)
145 (comint--unquote-argument, comint--requote-argument): New functions.
146 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
147 (comint-quote-filename): Use regexp-opt-charset.
148 (comint--common-suffix, comint--common-quoted-suffix)
149 (comint--table-subvert): Remove.
150 (comint-unquote-function, comint-requote-function): New vars.
151 (comint--complete-file-name-data): Use them with
152 completion-table-with-quoting.
153 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
154 * pcomplete.el (pcomplete-arg-quote-list)
155 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
156 (pcomplete-unquote-argument-function): Default to non-nil.
157 (pcomplete-unquote-argument): Simplify.
158 (pcomplete--common-quoted-suffix): Remove.
159 (pcomplete-requote-argument-function): New var.
160 (pcomplete--common-suffix): New function.
161 (pcomplete-completions-at-point): Use completion-table-with-quoting
162 and completion-table-subvert.
163
79c4eeb4
SM
164 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
165 (minibuffer--double-dollars): Preserve properties.
166 (completion--sifn-requote): New function.
167 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
168
ef24141c
SM
169 * minibuffer.el: Add support for completion of quoted/escaped data.
170 (completion-table-with-quoting, completion-table-subvert): New funs.
171 (completion--twq-try, completion--twq-all): New functions.
172 (completion--nth-completion): New function.
173 (completion-try-completion, completion-all-completions): Use it.
174
784e7d6e
LL
1752012-04-25 Leo Liu <sdl.web@gmail.com>
176
dd2ac746
SM
177 * progmodes/python.el (python-pdbtrack-get-source-buffer):
178 Use compilation-message if available to find real filename.
784e7d6e 179
07875ee7
CY
1802012-04-25 Chong Yidong <cyd@gnu.org>
181
182 * vc/diff-mode.el (diff-setup-whitespace): New function.
183 (diff-mode): Use it.
184
185 * vc/diff.el (diff-sentinel):
186 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
187 Whitespace mode variables based on diff style (Bug#8612).
188
5055880d
LL
1892012-04-25 Leo Liu <sdl.web@gmail.com>
190
daf75653
LL
191 * progmodes/python.el (python-send-region): Add suffix .py to the
192 temp file.
193
5055880d
LL
194 * files.el (auto-mode-alist): Use javascript-mode instead.
195
db9b177b
AH
1962012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
197
ef24141c 198 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
199
200 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 201 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 202 references, see Bug#9.
ef24141c 203 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 204 when receiving a fault reply.
ef24141c 205 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
206
207 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 208 (soap-inspect-simple-type): New function.
db9b177b 209
ef24141c 210 * soap-client.el (soap-simple-type): New struct.
db9b177b 211 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
212 (soap-decode-basic-type, soap-encode-basic-type):
213 support unsignedInt and double basic types.
db9b177b 214 (soap-resolve-references-for-simple-type)
ef24141c
SM
215 (soap-parse-simple-type, soap-encode-simple-type): New function.
216 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
217
218 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
219 (soap-default-soapenc-types): Add integer, byte and anyURI types.
220 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
221 the local name of "soapenc:Array".
222 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
223 decoding integer, byte and anyURI xsd types.
224
1fc6097b
CY
2252012-04-25 Chong Yidong <cyd@gnu.org>
226
227 * cus-edit.el (custom-buffer-create-internal): Update header text.
228
afc6df87
EZ
2292012-04-25 Eli Zaretskii <eliz@gnu.org>
230
231 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
232 settings on 'system-type', not on 'window-system'. On MS-Windows,
233 set interactive-mode on in GDB.
234
dfbd787f
SM
2352012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
238 (ruby-syntax-propertize-regexp): Remove.
239 (ruby-syntax-propertize-function): Split regexp into chunks.
240 Match following code directly.
241
85222d44
DG
2422012-04-24 Dmitry Gutov <dgutov@yandex.ru>
243
51a8ea2a
DG
244 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
245 (ruby-syntax-propertize-regexp): New function.
246 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
247 by a special keyword.
248
85222d44
DG
249 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
250 (ruby-syntax-general-delimiters-goto-beg)
251 (ruby-syntax-propertize-general-delimiters): New functions.
252 (ruby-syntax-propertize-function): Use them to handle GDL.
253 (ruby-font-lock-keywords): Move old handling of GDL...
254 (ruby-font-lock-syntactic-keywords): .. to here.
255 (ruby-calculate-indent): Adjust indentation for GDL.
256
b613912b
MA
2572012-04-24 Michael Albinus <michael.albinus@gmx.de>
258
b5380639
MA
259 * notifications.el (top): Remove unneeded declarations.
260 (notifications-specification-version): Change to "1.2".
e43042fe 261 (notifications-interface, notifications-notify-method)
b613912b
MA
262 (notifications-close-notification-method): Fix docstring.
263 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
264 (notifications-notify): Add :action-items, :resident and
265 :transient hints. Change "image_data" to "image-data" and
266 "image_path" to "image-path".
b613912b
MA
267 (notifications-get-capabilities): New defun.
268
257440aa
LL
2692012-04-24 Leo Liu <sdl.web@gmail.com>
270
271 * progmodes/python.el: Move hideshow setup to the end.
272
b1bac16e
MR
2732012-04-24 Martin Rudalics <rudalics@gmx.at>
274
275 * window.el (handle-select-window): Clear echo area since this is
276 no more done by read_char (Bug#11304).
277
d81bd059
SM
2782012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
281 and `/ M' to filter-derived-mode.
282 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
283 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
284 (ibuffer-mark-by-mode): Use default rather than initial-input.
285 (ibuffer-filter-by-derived-mode): Autoload and require-match.
286
c4cf6d91
IA
2872012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
288
289 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
290 (ibuffer-filter-by-derived-mode): New filter.
291 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
292
7511ded8
CY
2932012-04-23 Andreas Politz <politza@fh-trier.de>
294
295 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
296
775c916b
CY
2972012-04-23 Chong Yidong <cyd@gnu.org>
298
299 * cus-edit.el (customize-apropos, customize-apropos-options):
300 Disable matching of non-option variables (Bug#11176).
301 (customize-option, customize-option-other-window)
302 (customize-changed-options): Doc fix.
303 (customize-apropos-options, customize-apropos-faces)
304 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
305
306 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 307 Fix word list splitting (Bug#11132).
46c71e23
CY
308 (apropos-symbol, apropos-keybinding, apropos-label)
309 (apropos-property, apropos-function-button)
310 (apropos-variable-button, apropos-misc-button): New faces.
311 (apropos-symbol-face, apropos-keybinding-face)
312 (apropos-label-face, apropos-property-face, apropos-match-face):
313 Variables removed (Bug#8396).
314 (apropos-library-button, apropos-format-plist, apropos-print)
315 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 316
2df41f9c
MA
3172012-04-23 Michael Albinus <michael.albinus@gmx.de>
318
319 * net/xesam.el (xesam-mode-map): Use let-bound map in
320 initialization. (Bug#11292)
321
da00640a
AM
3222012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
323
324 Preserve ispell session localwords when switching back to
325 original buffer.
326
327 * ispell.el (ispell-buffer-session-localwords): New buffer-local
328 variable to hold buffer session localwords.
329 (ispell-kill-ispell): add option 'clear to delete session
330 localwords.
331 (ispell-command-loop, ispell-change-dictionary)
332 (ispell-buffer-local-words): Preserve session localwords when
333 needed.
334
335 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
336 Preserve session localwords when needed.
337
f621ccf5
AM
3382012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
339
340 * ispell.el (ispell-insert-word) Remove unneeded function using
341 obsolete `translation-table-for-input'.
ef24141c
SM
342 (ispell-word, ispell-process-line, ispell-complete-word):
343 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 344
c2d1019e
CY
3452012-04-22 Chong Yidong <cyd@gnu.org>
346
347 * cus-edit.el (custom-variable-menu)
348 (custom-variable-reset-saved, custom-face-menu)
349 (custom-face-reset-saved): If there is no saved value, make the
350 "reset-saved" operation bring back the default (Bug#9509).
351 (custom-face-state): Properly detect themed faces.
352
eeddc531
CY
353 * faces.el (face-spec-set): Stop supporting deprecated form of
354 third arg.
355
dcbf5805
MA
3562012-04-22 Michael Albinus <michael.albinus@gmx.de>
357
358 Move functions from C to Lisp. Make non-blocking method calls
359 the default. Implement further D-Bus standard interfaces.
360
ef24141c
SM
361 * net/dbus.el (dbus-message-internal): Declare function.
362 Remove unneeded function declarations.
dcbf5805
MA
363 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
364 (dbus-message-type-method-return, dbus-message-type-error)
365 (dbus-message-type-signal): Declare variables. Remove local
366 definitions.
367 (dbus-interface-dbus, dbus-interface-peer)
368 (dbus-interface-introspectable, dbus-interface-properties)
369 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
370 Adapt docstring.
371 (dbus-interface-objectmanager): New defconst.
372 (dbus-call-method, dbus-call-method-asynchronously)
373 (dbus-send-signal, dbus-method-return-internal)
374 (dbus-method-error-internal, dbus-register-service)
375 (dbus-register-signal, dbus-register-method): New defuns, moved
376 from dbusbind.c
377 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
378 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
379 New defuns.
dcbf5805
MA
380 (dbus-call-method-non-blocking): Make it an obsolete function.
381 (dbus-unregister-object, dbus-unregister-service)
382 (dbus-handle-event, dbus-register-property)
383 (dbus-property-handler): Obey the new structure of
384 `bus-registered-objects'.
385 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
386 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
387 Use `dbus-call-method'.
388
cf20dee0
CY
3892012-04-22 Chong Yidong <cyd@gnu.org>
390
391 * cus-edit.el (custom-commands, custom-reset-menu)
392 (Custom-reset-standard): Tweak labels.
393 (custom-reset-button-menu): Change default to t.
394 (custom-buffer-create-internal): For the custom-reset-button-menu
395 case, put the revert button first.
396 (custom-group-subtitle): New face.
397 (custom-group-value-create): Align docstring to a specific column.
398
399 * wid-edit.el (widget-documentation-link-add): Don't handle
400 indentation in this function.
401 (widget-documentation-string-indent-to): New function.
402 (widget-documentation-string-value-create): Use it.
403
404 * autorevert.el (auto-revert):
405 * epg-config.el (epg):
406 * ibuffer.el (ibuffer):
407 * mpc.el (mpc):
408 * ses.el (ses):
409 * eshell/eshell.el (eshell):
410 * net/ange-ftp.el (ange-ftp):
411 * progmodes/ebnf2ps.el (postscript):
412 * progmodes/flymake.el (flymake):
413 * progmodes/prolog.el (prolog):
414 * progmodes/verilog-mode.el (verilog-mode):
415 * progmodes/which-func.el (which-func):
416 * term/xterm.el (xterm):
417 * textmodes/picture.el (picture):
418 * textmodes/tildify.el (tildify):
419 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
420 customization buffers.
421
583e23bd
AM
4222012-04-22 Alan Mackenzie <acm@muc.de>
423
424 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
425 Adding a ) can hide the resulting (..) from searches. Fix it.
426 Bound the backward search to the position of the existing (.
427
7dd51bf1
JB
4282012-04-21 Juanma Barranquero <lekktu@gmail.com>
429
430 * progmodes/verilog-mode.el (verilog-mode): Check whether
431 which-func-modes is t before adding verilog-mode.
432 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
433
d64a438f
LL
4342012-04-21 Leo Liu <sdl.web@gmail.com>
435
7dd51bf1 436 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 437
081e8d65
MV
4382012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
439
440 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
441 filling of the last column of a table (Bug#5635).
442 (woman-find-next-control-line): New arg, specifying an additional
443 regexp component for the control line.
444 (woman2-roff-buffer): Use it.
445 (woman-break-table): New function.
446 (woman2-TS): Use it.
447
4482012-04-21 Chong Yidong <cyd@gnu.org>
449
450 * woman.el (woman-set-buffer-display-table, woman-decode-region)
451 (woman-horizontal-escapes, woman-negative-vertical-space)
452 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
453 (WoMan-warn-ignored): Use ?\s instead of ?\ .
454
ed571ccb
SM
4552012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * minibuffer.el (completion-file-name-table): Complete user names.
458
39773899
LL
4592012-04-20 Leo Liu <sdl.web@gmail.com>
460
461 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
462 and pcase-let*.
463
de6ff46d
CY
4642012-04-20 Chong Yidong <cyd@gnu.org>
465
466 * server.el (server-execute): Respect initial-buffer-choice if it
467 is a string and there are no files to open (Bug#2825).
468 (server-create-window-system-frame, server-create-tty-frame):
469 Don't switch buffers here.
2d0e8e61
CY
470 (server-process-filter): Only try to open a window system frame if
471 compiled with graphical support (Bug#8314).
de6ff46d 472
54071013
DN
4732012-04-20 Dan Nicolaescu <dann@gnu.org>
474
475 * battery.el (battery-echo-area-format): Display remaining time
476 for sysfs backend too (Bug#11269).
477 (battery-linux-sysfs): Fix conditional for the charge.
478
f30d612a
CY
4792012-04-20 Chong Yidong <cyd@gnu.org>
480
c07a4c0b 481 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
482 (gdb-inferior-io--init-proc): New function.
483 (gdb-init-1): Use it.
484 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
485 responsible for allocating a new pty and hooking it to gdb when
486 the old pty gets an EIO due to process exit.
487 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
488 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
489 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
490
2116e93c
EZ
4912012-04-20 Eli Zaretskii <eliz@gnu.org>
492
493 * window.el (window-min-size, window-sizable, window-min-delta)
494 (window-max-delta, window--resizable, window-resizable)
495 (window-total-size, window-full-height-p, window-full-width-p)
496 (window-in-direction, window--resize-mini-window, window-resize)
497 (window--resize-child-windows-normal)
498 (window--resize-child-windows, window--resize-siblings)
499 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 500 (enlarge-window, shrink-window): Doc fixes.
2116e93c 501
c07a4c0b 5022012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 503
ef24141c
SM
504 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
505 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
506 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
507 pty process (Bug#11273).
508 (gdb-update): New arg to suppress talking to the gdb process.
509 (gdb-done-or-error): Use it.
510 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
511 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
512 sentinel not being called.
513
514 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
515
d02766ab
CY
516 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
517
c07a4c0b 5182012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
519
520 * net/network-stream.el (open-network-stream): Doc fix.
521
c07a4c0b 5222012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
523
524 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
525
c07a4c0b 5262012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
527
528 Ensure searching for keywords is case sensitive.
529
530 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
531 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
532 (c-defun-name, c-mark-function, c-cpp-define-name)
533 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 534 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 535
ef24141c
SM
536 * progmodes/cc-mode.el (c-font-lock-fontify-region):
537 Bind case-fold-search to nil.
f0f6bc35 538
c07a4c0b 5392012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
540
541 * mail/sendmail.el (mail-bury): Call return action with the right
542 Rmail buffer (Bug#11242).
543
9a864fa2
CY
544 * server.el (server-process-filter): Handle corner case where both
545 tty and nowait options are present (Bug#11102).
546
539aa513
EZ
5472012-04-20 Eli Zaretskii <eliz@gnu.org>
548
549 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
550 (top level): Put into the executable the ident-style '$Id:' tag on
551 windows-nt as well.
539aa513 552
cfc7d5da
SM
5532012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * electric.el (electric-indent-post-self-insert-function): Check that
556 electric-indent-mode is enabled in current buffer.
557
5b01685c
JB
5582012-04-19 Juanma Barranquero <lekktu@gmail.com>
559
560 * imenu.el (imenu-progress-message): Restore; it is "used" in
561 erc/erc-imenu.el and net/snmp-mode.el.
562
4d6769e1
JB
5632012-04-19 Juanma Barranquero <lekktu@gmail.com>
564
565 * avoid.el (mouse-avoidance-mode): Mark unused arg.
566 (mouse-avoidance-nudge-mouse): Remove unused binding.
567
568 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
569
570 * descr-text.el (describe-char):
571 * progmodes/python.el (python-describe-symbol):
572 Don't call `toggle-read-only', set `buffer-read-only'.
573
574 * imenu.el (imenu-default-goto-function): Mark unused args.
575 (imenu-progress-message): Remove obsolete macro; all callers changed.
576
577 * subr.el (keymap-canonicalize): Remove unused binding.
578 (read-passwd): Mark unused arg.
579
580 * tutorial.el (tutorial--display-changes): Remove unused binding.
581 (tutorial--save-tutorial-to): Remove unused variable.
582
583 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
584 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
585 (package-generate-autoloads, package-menu--generate)
586 (package-menu--find-upgrades): Remove unused bindings.
587
588 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
589 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
590 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
591 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
592 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
593 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
594 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
595 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
596 (cua-delete-char-rectangle): Mark unused args.
597 (cua-align-rectangle): Remove unused binding.
598
599 * mail/rmail.el (compilation--message->loc)
600 (epa--find-coding-system-for-mime-charset): Declare.
601
602 * net/dbus.el (dbus-register-service): Declare.
603 (dbus-name-owner-changed-handler): Remove unused binding.
604
605 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
606 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
607 (nxml-scan-backward-within): Mark unused arg.
608 (nxml-dynamic-markup-word): Remove unused binding.
609
610 * mouse.el (mouse-menu-major-mode-map):
611 * emacs-lisp/authors.el (authors-scan-change-log)
612 (authors-add-to-author-list):
613 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
614 * emacs-lisp/smie.el (smie-auto-fill):
615 * mail/sendmail.el (mail-bury):
616 * mail/unrmail.el (unrmail):
617 * net/tls.el (open-tls-stream):
618 * textmodes/picture.el (picture-mouse-set-point):
619 Remove unused bindings.
620
8c8fc5df
MA
6212012-04-19 Michael Albinus <michael.albinus@gmx.de>
622
623 * net/tramp.el (tramp-action-password): Let-bind
624 `enable-recursive-minibuffers' to t.
625
a77b0ac9
SS
6262012-04-18 Sam Steingold <sds@gnu.org>
627
628 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
629 instead of 'string to accommodate values like [f11].
630 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
631 * progmodes/gdb-mi.el: Likewise.
632
12a106a9
LL
6332012-04-18 Leo Liu <sdl.web@gmail.com>
634
635 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
636 current buffer.
637 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
638 LOCAL is nil.
639
bc6494ef
CY
6402012-04-18 Chong Yidong <cyd@gnu.org>
641
642 * simple.el (line-move): Use forward-line if in batch mode
643 (Bug#11053).
644
c09c46b2
CS
6452012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
646
647 * files.el (after-find-file): Do not try to add a final newline if
648 the buffer is read-only (Bug#11156).
649
5f6530ea
RS
6502012-04-17 Richard Stallman <rms@gnu.org>
651
652 * mail/rmail.el (rmail-start-mail):
653 Pass (rmail-mail-return...) for the return-action.
654 Pass (rmail-yank-current-message...) for the yank-action.
655 (rmail-yank-current-message): New function.
656 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
657 (rmail-reply): Likewise.
658 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
659
660 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 661 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
662 buffer, not newbuf.
663
197b6f3c
JB
6642012-04-17 Juanma Barranquero <lekktu@gmail.com>
665
666 * server.el (server-ensure-safe-dir): Simplify.
667
2311d8e5 6682012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 669
2311d8e5
GM
670 * emacs-lisp/smie.el: Provide smarter auto-filling.
671 (smie-auto-fill): New function.
672 (smie-setup): Use it.
98fb480e 673
2311d8e5
GM
674 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
675
6762012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
677
678 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
679 (comment-indent): Use it.
680
2311d8e5 6812012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
682
683 * ses.el: The overall change is to add cell renaming, that is
684 setting fancy names for cell symbols other than name matching
685 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 686 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 687 (ses-create-cell-variable): New defun.
2311d8e5 688 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
689 (ses-relocate-formula): Relocate formulas only for cells the
690 symbols of which are not renamed, i.e. symbols whose names do not
691 match regexp "\\`[A-Z]+[0-9]+\\'".
692 (ses-relocate-all): Relocate values only for cells the symbols of
693 which are not renamed.
694 (ses-load): Create cells variables as the (ses-cell ...) are read,
695 in order to check row col consistency with cell symbol name only
696 for cells that are not renamed.
697 (ses-replace-name-in-formula): New defun.
698 (ses-rename-cell): New defun.
4bdf2ad2 699
fc72b15c
PO
7002012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
701
702 * progmodes/perl-mode.el (perl-indent-parens-as-block):
703 New option (bug#11118).
704 (perl-calculate-indent): Respect it.
705
12e10e61
GM
7062012-04-17 Glenn Morris <rgm@gnu.org>
707
708 * dired-aux.el (dired-mark-read-string): Doc fix.
709
30009afd
DA
7102012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
711
712 * dired-aux.el (dired-mark-read-string): Offer optional completion.
713 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
714
41f03f4d
GM
7152012-04-17 Glenn Morris <rgm@gnu.org>
716
717 * mouse.el (mouse-drag-track):
718 * speedbar.el (speedbar-frame-mode):
719 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
720
f45f90f3
LL
7212012-04-16 Leo Liu <sdl.web@gmail.com>
722
723 * progmodes/python.el: Trivial cleanup.
724
94ee8db5
GM
7252012-04-16 Glenn Morris <rgm@gnu.org>
726
121b8917
GM
727 * vc/vc.el (vc-string-prefix-p):
728 * vc/pcvs-util.el (cvs-string-prefix-p):
729 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
730 * mpc.el (mpc-string-prefix-p):
731 Make all of these into obsolete aliases for string-prefix-p.
732 Update callers.
733 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
734
1197ecfa
GM
735 * textmodes/two-column.el: Move custom options to the start.
736 (frame-width): Remove compat definition.
737 (2C-associate-buffer, 2C-dissociate):
738 Use with-current-buffer rather than save-excursion.
739 (2C-dissociate): Force a mode-line update.
740 (2C-autoscroll): Use ignore-errors.
741
099e7202
GM
742 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
743 Autoload trivia.
744
bf350d6a
GM
745 * emacs-lisp/cl-extra.el (*random-state*):
746 Remove unnecessary declaration.
747
0e829eab
GM
748 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
749
e3ad7552
GM
750 * play/cookie1.el (cookie-snarf):
751 Give an explicit error if input file cannot be read.
752
68892d27
GM
753 * play/yow.el (yow-file): Use expand-file-name rather than concat.
754
20f0c46d
GM
755 * progmodes/perl-mode.el (c-macro-expand):
756 Remove unnecessary autoload (it is in loaddefs.el).
757
5a0978ce
GM
758 * textmodes/picture.el (picture-desired-column)
759 (picture-update-desired-column): Convert comments to doc-strings.
760 (picture-substitute): Remove function.
761 (picture-mode-map): Initialize in the defvar.
762
6b955486
GM
763 * woman.el: Remove eval-after-load for tar-mode.
764 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
765 (woman-tar-extract-file): Autoload it.
766
94ee8db5
GM
767 * frame.el (automatic-hscrolling): Make this alias obsolete.
768
177eca34
AM
7692012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
770
771 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 772 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
773 (ispell-dictionary-base-alist): Revert to original XEmacs
774 friendly version for default. [:alpha:] will be added in
775 `ispell-set-spellchecker-params' if needed
177eca34 776
c505aaeb
CY
7772012-04-16 Chong Yidong <cyd@gnu.org>
778
779 * image.el (imagemagick--extension-regexp): New variable.
780 (imagemagick-register-types): Use it.
781 (imagemagick-types-inhibit): Add :set function. Allow new value
782 of t to inhibit all types.
783
784 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
785 so we can preload it.
786
787 * loadup.el (fboundp): Preload regexp-opt, needed by
788 imagemagick-register-types.
789
60efac0f
CY
7902012-04-15 Chong Yidong <cyd@gnu.org>
791
792 * frame.el (scrolling): Remove nearly unused customization group.
793
794 * scroll-all.el (scroll-all-mode): Move to windows group.
795
5dd1713e
CY
7962012-04-15 Chong Yidong <cyd@gnu.org>
797
798 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
799
e6fd457e
CY
8002012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 803 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 804
e153c136
GM
8052012-04-15 Glenn Morris <rgm@gnu.org>
806
807 * simple.el (process-file-side-effects): Doc fix.
808
e6fd457e 8092012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
810
811 * international/mule-cmds.el (set-language-environment): Doc fix.
812
3603c3b1
JB
8132012-04-14 Juanma Barranquero <lekktu@gmail.com>
814
815 * server.el (server-auth-key, server-generate-key): Doc fixes.
816 (server-get-auth-key): Doc fix. Use `string-match-p'.
817 (server-start): Reflow docstring.
818
e6de100c
LI
8192012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
820
821 * server.el (server-generate-key): `called-interactively-p'
822 requires a parameter.
823
29734c21
MN
8242012-04-14 Michal Nazarewicz <mina86@mina86.com>
825
826 * server.el (server-auth-key): New variable.
75f1671a 827 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
828 (server-start): Use the new variable and functions to allow
829 setting a permanent server key (bug#9423).
830
d65c9521
LL
8312012-04-14 Leo Liu <sdl.web@gmail.com>
832
833 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
834
5ae255c7
PE
8352012-04-14 Paul Eggert <eggert@cs.ucla.edu>
836
837 Spelling fixes.
838 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
839 Emacs uses American spelling.
840
d5e6342e
JB
8412012-04-14 Juanma Barranquero <lekktu@gmail.com>
842
843 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
844 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
845 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
846 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
847
ab036cd7
SM
8482012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * progmodes/which-func.el (which-func-modes): Change default.
851
35dc09a1 8522012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
853
854 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
855 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
856
35dc09a1 8572012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
858
859 * custom.el (custom-theme-set-variables): Doc fix.
860
35dc09a1 8612012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
862
863 * international/mule.el (set-auto-coding-for-load): Doc fix.
864
35dc09a1 8652012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 866
35dc09a1
GM
867 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
868 imenu work again for Objective C Mode. Correct the *-index values,
869 these having been disturbed by a previous change in 2011-08.
57f845ee 870
0de3da9f
AM
871 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
872 Correct two search limits.
873
35dc09a1 8742012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
875
876 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
877
35dc09a1 8782012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
879
880 * international/characters.el: Fix sorting.
881
35dc09a1 8822012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
883
884 * international/characters.el: Add more missing Latin case pairs.
885
35dc09a1 8862012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
887
888 * files.el (dir-locals-set-class-variables): Doc fix.
889
35dc09a1 8902012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 891
3f1b5bf8
EZ
892 * international/characters.el: Add set-case-syntax-pair call for
893 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
894 counterpart. (Bug#11209)
895
9f847f41
EZ
896 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
897
35dc09a1 8982012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
899
900 * calendar/holidays.el (calendar-check-holidays): Doc fix.
901
35dc09a1 9022012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 903
35dc09a1
GM
904 * textmodes/ispell.el (ispell-dictionary-base-alist):
905 Add data for Hebrew.
e2627d21 906
35dc09a1 9072012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 908
35dc09a1
GM
909 * net/rcirc.el (rcirc-cmd-quit):
910 Revert 2012-03-18 change (Bug#11192).
5c14e333 911
35dc09a1 9122012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
913
914 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
915
35dc09a1 9162012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 917
4517fe3a
SM
918 * minibuffer.el (completion-in-region-mode-map):
919 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 920
b472a594
VD
9212012-04-13 Vivek Dasmohapatra <vivek@etla.org>
922
923 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
924
09b95ce3
MY
9252012-04-13 Masatake YAMATO <yamato@redhat.com>
926
927 * minibuffer.el (minibuffer-local-filename-syntax): New variable
928 to allow `C-M-f' and `C-M-b' to move to the nearest path
929 separator (bug#9511).
930
4b63a9ca
LI
9312012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
932
933 * avoid.el: Require cl when compiling. And also move the
934 `provide' to the end.
935
7b55b8bf
TV
9362012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
937
938 * avoid.el (mouse-avoidance-banish-position): New variable.
939 (mouse-avoidance-banish-destination): Use it (bug#10165).
940
adedaa1f
LL
9412012-04-13 Leo Liu <sdl.web@gmail.com>
942
943 * progmodes/which-func.el (which-func-modes): Add objc-mode.
944
70e74021
KB
9452012-04-13 Ken Brown <kbrown@cornell.edu>
946
947 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 948 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
949 (browse-url-filename-alist): For the same reason, don't modify
950 file:// URLs on Cygwin.
951
e75e89ba
SM
9522012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
955 the region on shift if the binding is already shifted (bug#11221).
956
82f289a4
GM
9572012-04-12 Glenn Morris <rgm@gnu.org>
958
959 * mail/mailpost.el: Move to obsolete/.
960
d333dc4c
DA
9612012-04-12 Drew Adams <drew.adams@oracle.com>
962
963 * imenu.el (imenu--generic-function): Ignore invisible definitions
964 (bug#10123).
965
0d15b5ba
VD
9662012-04-12 Vivek Dasmohapatra <vivek@etla.org>
967
968 * hexl.el (hexl-bits): New variable.
969 (hexl-options): Mention the variable in the doc string.
75f1671a 970 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 971 (hexl-mode): Mention the new variable.
75f1671a
JB
972 (hexl-mode, hexl-current-address, hexl-current-address):
973 Use the displen.
0d15b5ba
VD
974 (hexl-ascii-start-column): New function.
975 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
976 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
977
64a440db
AM
9782012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
979
980 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
981 '("-i" ENCODING), in 2 separate command-line arguments, to specify
982 the encoding, as expected by hunspell.
983
6decb6c2
SM
9842012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * battery.el (battery--linux-sysfs-regexp): New const.
987 (battery-status-function): Use it. Remove yeeloong special case.
988 (battery-yeeloong-sysfs): Remove.
989 (battery-echo-area-format): Remove yeeloong special case.
990
088be6fb
SM
9912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
992
6622e416
SM
993 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
994 Reported by Noah Friedman.
995
088be6fb
SM
996 * subr.el (read-passwd): Use read-string.
997
b49f886e
LMI
9982012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
999
1000 * vcursor.el (vcursor-move): Increase the priority of the overlay
1001 (bug#9663).
1002
a63067fc
DD
10032012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1004
1005 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1006 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1007
ac3cf14a
WS
10082012-04-11 William Stevenson <yhvh2000@gmail.com>
1009
1010 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1011 define-minor-mode (bug#10760).
1012
c4fc691b 10132012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1014
4d6769e1 1015 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1016 that directories matching `grep-find-ignored-files' won't be
1017 pruned (bug#10351).
1018
af23e2e5
CY
10192012-04-11 Chong Yidong <cyd@gnu.org>
1020
1021 * startup.el (command-line): Remove support for long-obsolete
1022 variable font-lock-face-attributes.
1023
ab7ce8c1
GM
10242012-04-11 Glenn Morris <rgm@gnu.org>
1025
1026 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1027
de8c03dc
SM
10282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * window.el (window--state-get-1): Obey window-point-insertion-type.
1031
050cc68b
LB
10322012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1033
1034 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1035 to previous function when point is on the first character of a
75f1671a 1036 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1037
a38c310c
GM
10382012-04-11 Glenn Morris <rgm@gnu.org>
1039
effed0c2
GM
1040 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1041 not just file-errors.
1042
a38c310c
GM
1043 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1044 (vc-bzr-sha1): Use internal sha1.
1045
0221e323
SM
10462012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1049
43956923
SG
10502012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1051
1052 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1053 that start in the middle of the line (bug#10496).
1054
6a8c9eaf
DN
10552012-04-10 Dan Nicolaescu <dann@gnu.org>
1056
1057 * battery.el (battery-linux-proc-acpi): Only one battery is
1058 discharged at a time, but that seems to confuse battery.el when
1059 computing `rate-type' for the battery not being discharged
1060 (bug#10332).
1061
1930bf5d
SM
10622012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1063
2a718f6f
SM
1064 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1065
599430d0
SM
1066 * international/quail.el: Use dolist and simplify.
1067 (quail-define-package, quail-update-keyboard-layout)
1068 (quail-define-rules): Use dolist.
1069 (quail-insert-kbd-layout, quail-get-translation): CSE.
1070
a2754b6c
SM
1071 * tmm.el: Use dolist, remove left over hook.
1072 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1073 Use dolist.
1074 (calendar-load-hook): Don't mess with it.
1075
1930bf5d
SM
1076 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1077 Use derived-mode-p. Run the diff asynchronously.
1078
9f67961c
LMI
10792012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1080
1081 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1082
2a8ce227
JB
10832012-04-10 Juanma Barranquero <lekktu@gmail.com>
1084
1085 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1086 (list-dynamic-libraries--loaded): New function.
1087 (list-dynamic-libraries--refresh): Use it.
1088
8f33b5f8
NW
10892012-04-10 Nathan Weizenbaum <nweiz@google.com>
1090
1930bf5d
SM
1091 * progmodes/python.el (python-fill-paragraph):
1092 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1093 disabled (bug#7018).
1094
b12f0439
L
10952012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1096
1930bf5d 1097 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1098 DOS/MS Windows for the Baltic languages. There are still plenty
1099 of texts written in this encoding/codepage (bug#6519).
b12f0439 1100
57c3bd01
GM
11012012-04-10 Glenn Morris <rgm@gnu.org>
1102
1103 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1104 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1105
6c3eab30
FA
11062012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1107
1930bf5d 1108 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1109 next-line "n" and previous-line "p" in order to make recentf more
1110 consistent with ibuffer, dired or org-mode (bug#9387).
1111
24d78a88
LMI
11122012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1113
bc72b5d9
LMI
1114 * image.el (put-image): Return the overlay created instead of the
1115 optional input string (bug#7834). Note that this may break code
1116 that is (for some reason or other) depending on `put-image'
1117 returning the string.
1118
bd2dba5a
LMI
1119 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1120
74beb59f
LMI
1121 * simple.el (zap-to-char): Allow zapping using input methods
1122 (bug#1580).
1123
24d78a88
LMI
1124 * textmodes/fill.el (fill-region): Leave point and mark where they
1125 were before filling (bug#5399).
1126
263f20cd
GM
11272012-04-09 Glenn Morris <rgm@gnu.org>
1128
1129 * version.el (emacs-bzr-get-version):
1130 Handle lightweight checkouts of local branches.
1131
58d1f797
AS
11322012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1133
263f20cd 1134 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1135
b4d3bc10
CY
11362012-04-09 Chong Yidong <cyd@gnu.org>
1137
1138 * custom.el (custom-variable-p): Return nil for non-symbol
1139 arguments instead of signaling an error.
1140 (user-variable-p): Obsolete alias for custom-variable-p.
1141
1142 * apropos.el (apropos-variable):
1143 * files-x.el (read-file-local-variable):
1144 * simple.el (set-variable):
1145 * woman.el (woman-mini-help):
1146 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1147
fd06db5d
GM
11482012-04-09 Glenn Morris <rgm@gnu.org>
1149
e5fcdb5e
GM
1150 * startup.el (normal-top-level): Don't look for leim-list.el
1151 in places where it will not be found. (Bug#910)
1152
fd06db5d
GM
1153 * international/mule-cmds.el (set-default-coding-systems):
1154 * files.el (normal-mode):
1155 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1156 This function was removed with ucs-tables.el in 2008.
1157
b39bb7e1
EZ
11582012-04-08 Eli Zaretskii <eliz@gnu.org>
1159
1160 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1161 ispell-encoding8-command to "-i", without a trailing space.
1162 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1163 separate command-line arguments, to specify the encoding, since
1164 that's how hunspell expects it.
1165
5c5b8e23
GM
11662012-04-08 Glenn Morris <rgm@gnu.org>
1167
1168 * loadup.el: Load bindings before cus-start.
1169 This reduces somewhat the number of "rogue" settings in emacs -Q.
1170
a1ed8b05
GM
11712012-04-07 Glenn Morris <rgm@gnu.org>
1172
1173 * version.el (emacs-bzr-get-version): New function.
dfae128a 1174 (emacs-bzr-version): New variable.
a1ed8b05
GM
1175 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1176 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1177
b142f158
EZ
11782012-04-07 Eli Zaretskii <eliz@gnu.org>
1179
dfae128a
GM
1180 * international/uni-bidi.el, international/uni-category.el:
1181 * international/uni-combining.el, international/uni-decimal.el:
1182 * international/uni-decomposition.el, international/uni-digit.el:
1183 * international/uni-lowercase.el, international/uni-mirrored.el:
1184 * international/uni-name.el, international/uni-numeric.el:
1185 * international/uni-titlecase.el, international/uni-uppercase.el:
1186 Update for Unicode 6.1.
b142f158 1187
9078ead6
EZ
11882012-04-07 Eli Zaretskii <eliz@gnu.org>
1189
1190 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1191
f23d2c7d
LMI
11922012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1193
1194 * window.el (shrink-window): Mention the `window-min-height'
1195 variable in the doc string.
1196
0a0a3573
BG
11972012-04-05 Bastien Guerry <bzg@altern.org>
1198
1199 * color.el (color-lighten-name): Fix typo.
1200
e5248ac9
SM
12012012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * server.el (server--on-display-p): New function.
1204 (server--on-display-p): Use it.
1205
b4243e22
GV
12062012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1207
1208 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1209 (bug#11145).
1210
305d9f44
SM
12112012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * comint.el (comint--common-quoted-suffix): Check string boundary
1214 before comparing (bug#11158).
1215 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1216
3d439cd1
CY
12172012-04-04 Chong Yidong <cyd@gnu.org>
1218
321cc491
CY
1219 * minibuffer.el (completion-extra-properties): Doc fix.
1220
3d439cd1
CY
1221 * subr.el (delayed-warnings-hook): Doc fix.
1222
2d562c0f
DU
12232012-04-04 Daiki Ueno <ueno@unixuser.org>
1224
1225 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1226 selection (Bug#11159).
1227 (epa-insert-keys): Inform that the default public key will be
1228 exported if no key is selected.
1229
4443f204
RS
12302012-04-04 Richard Stallman <rms@gnu.org>
1231
1232 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1233
529c06b6
CY
12342012-04-03 Chong Yidong <cyd@gnu.org>
1235
1236 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1237 mail-insert-file, not its obsolete alias mail-attach-file.
1238
66b907dc
MA
12392012-04-03 Michael Albinus <michael.albinus@gmx.de>
1240
1241 * notifications.el (notifications-notify): Fix docstring.
1242
c0ea195d
GM
12432012-04-02 Glenn Morris <rgm@gnu.org>
1244
1245 * emacs-lisp/authors.el (authors-aliases): Another addition.
1246
5ca64e00
MA
12472012-04-02 Michael Albinus <michael.albinus@gmx.de>
1248
1249 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1250 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1251 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1252
42ee526b
CY
12532012-04-01 Chong Yidong <cyd@gnu.org>
1254
1255 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1256 Handle root directory properly.
1257 (copy-directory): Caller changed.
1258
1259 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1260 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1261
0b021094
GM
12622012-03-31 Glenn Morris <rgm@gnu.org>
1263
40f86458
GM
1264 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1265
7019c177
GM
1266 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1267
a1daddd6
GM
1268 * calendar/calendar.el (calendar-window-list)
1269 (calendar-hide-window): Restore. (Bug#11140)
1270 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1271
0b021094
GM
1272 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1273
40311efc
TV
12742012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1275
1276 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1277 Check if file is a symlink (Bug#10489).
1278
1279 * files.el (copy-directory): Likewise.
1280
5319014e
CY
12812012-03-30 Chong Yidong <cyd@gnu.org>
1282
1283 * image.el (imagemagick-types-inhibit)
1284 (imagemagick-register-types): Doc fix.
1285
935d1290
AM
12862012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1287
ef24141c
SM
1288 * ispell.el (ispell-get-extended-character-mode):
1289 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1290 and treats ~word as ordinary words in pipe mode.
935d1290 1291
61c6e8fd
GM
12922012-03-30 Glenn Morris <rgm@gnu.org>
1293
1294 * tutorial.el (help-with-tutorial): Ensure local variables don't
1295 happen to make the buffer read-only. (Bug#11127)
1296
81fdff00
SM
12972012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1300 (perl-calculate-indent): Return `noindent' in strings.
1301
6e7a6ec0
SS
13022012-03-28 Sam Steingold <sds@gnu.org>
1303
1304 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1305 instead of the broken adhockery which does not prevent calendar
1306 buffers from being displayed at random after exit.
1307 (calendar-window-list, calendar-hide-window): Remove the broken
1308 adhockery.
1309
fee88ca0
GM
13102012-03-28 Glenn Morris <rgm@gnu.org>
1311
1312 * replace.el (query-replace-map): Doc fix.
1313
38de3354
AS
13142012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1315
1316 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1317 contents. (Bug#11109)
1318
b973155e
SM
13192012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1322 (bug#11077).
1323 (avl-tree--check, avl-tree--check-node): New funs.
1324
dcb6e7b3
MR
13252012-03-27 Martin Rudalics <rudalics@gmx.at>
1326
1327 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1328 (switch-to-prev-buffer, switch-to-next-buffer):
1329 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1330 showing a buffer already is done on the same frame.
1331
b4fa35fa
GM
13322012-03-27 Glenn Morris <rgm@gnu.org>
1333
1334 * startup.el (mail-host-address): Doc fix.
1335
f9210e18
SM
13362012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1339 than 197 variables.
1340
c0bf7753
AF
13412012-03-26 Ami Fischman <ami@fischman.org>
1342
1343 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1344
33da7b16
GM
13452012-03-26 Glenn Morris <rgm@gnu.org>
1346
02243d9d
GM
1347 * files.el (save-buffers-kill-emacs): Doc fix.
1348
33da7b16
GM
1349 * startup.el (normal-top-level, command-line, command-line-1):
1350 Give them doc strings.
1351
e5a69fd0
EZ
13522012-03-25 Eli Zaretskii <eliz@gnu.org>
1353
1354 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1355 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1356
9a69676a
CY
13572012-03-25 Chong Yidong <cyd@gnu.org>
1358
4125cb8b
CY
1359 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1360 theme if it was previously enabled before (Bug#11031).
1361
dd470960
CY
1362 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1363 spec with custom-face-get-current-spec if its :shown-value is not
1364 determined yet (Bug#9337).
4125cb8b 1365 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1366
9a69676a
CY
1367 * button.el (button-at): Minor addition to docstring.
1368
6e7e90fa
SL
13692012-03-24 Simon Leinen <simon.leinen@gmail.com>
1370
1371 * vc/vc.el (vc-merge): Fix a prompt.
1372
f06e2758
CY
13732012-03-24 Chong Yidong <cyd@gnu.org>
1374
1375 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1376 point (Bug#9623).
1377
6e7e90fa
SL
1378 * button.el (button-at): Minor addition to docstring.
1379
b9d0879b
SM
13802012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * newcomment.el (comment-choose-indent): No space after BOL.
1383
e71cebb3
SS
13842012-03-22 Sam Steingold <sds@gnu.org>
1385
1386 * window.el (switch-to-prev-buffer): Revert last patch because the
1387 bug turned out to be an advertised feature (Elisp manual 28.14).
1388
335aff35
GM
13892012-03-22 Glenn Morris <rgm@gnu.org>
1390
1391 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1392 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1393
c676576a
LMI
13942012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1395
1396 * net/network-stream.el (network-stream-open-starttls): Make error
1397 message under Windows be less misleading.
1398
126f3d39
LW
13992012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1400
1401 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1402 understands (bug#9942).
1403
64fee311
CY
14042012-03-22 Chong Yidong <cyd@gnu.org>
1405
1406 * simple.el (end-of-visible-line): Handle return value of
1407 next-single-property-change properly (Bug#9371).
1408
a640d29a
KH
14092012-03-22 Kenichi Handa <handa@m17n.org>
1410
1411 * international/quail.el (quail-insert-kbd-layout): Fix previous
1412 change. To avoid unwanted bidi reordering, use
1413 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1414
39675016
DG
14152012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1416
1417 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1418 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1419 (ruby-beginning-of-indent): Be more careful with the difference
1420 between word-boundary and symbol boundary.
1421 (ruby-mode-syntax-table): Make : a symbol constituent.
1422
0a6934fc 14232012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1424
3d008e4f
SM
1425 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1426
0a6934fc
SM
14272012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1428
af67c9d7
SM
1429 * progmodes/etags.el (tags-completion-at-point-function):
1430 Improve last fix.
1431
1acad97c
SM
1432 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1433
e298b5da
SS
14342012-03-21 Sam Steingold <sds@gnu.org>
1435
1436 * progmodes/etags.el (tags-completion-at-point-function):
1437 Avoid the error when point is inside the pattern.
1438
91d82a70
JY
14392012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1440
1441 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1442 line (Bug#10855).
1443
69188b79
CY
14442012-03-21 Drew Adams <drew.adams@oracle.com>
1445
1446 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1447
99fc91fe
AK
14482012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1449
1450 * ido.el (ido-set-current-directory, ido-read-internal)
1451 (ido-choose-completion-string, ido-completion-help): Handle nil
1452 value of ido-completion-buffer (Bug#11008).
1453
087bbb4c
SS
14542012-03-21 Sam Steingold <sds@gnu.org>
1455
1456 * window.el (switch-to-prev-buffer): Do not switch to a visible
1457 window previous buffer, just like with the frame previous buffers.
1458
fb5b8aca
CY
14592012-03-21 Chong Yidong <cyd@gnu.org>
1460
1461 * faces.el (make-face, make-empty-face, copy-face):
1462 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1463 Doc fixes.
1464
dc9924b8
SM
14652012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1466
1467 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1468 (widget-complete): Remove broken use of it.
1469
f0bcceb9
CY
14702012-03-20 Chong Yidong <cyd@gnu.org>
1471
dc9924b8
SM
1472 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1473 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1474 characters.
1475
ee52ebf3
TH
14762012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1477
1478 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1479 to draw rectangles, not squares. (Regression introduced by revno
1480 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1481
4c5779ab
CY
14822012-03-18 Chong Yidong <cyd@gnu.org>
1483
1484 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1485 it is not yet defined (for temacs).
1486
15360934
LL
14872012-03-18 Leo Liu <sdl.web@gmail.com>
1488
dc9924b8 1489 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1490
d9a8eb66
EZ
14912012-03-17 Eli Zaretskii <eliz@gnu.org>
1492
1493 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1494 (ispell-choices-win-default-height, ispell-silently-savep)
1495 (ispell-dictionary-alist, ispell-encoding8-command)
1496 (ispell-check-version, ispell-aspell-find-dictionary)
1497 (ispell-valid-dictionary-list, ispell-words-keyword)
1498 (ispell-get-word, ispell-internal-change-dictionary)
1499 (ispell-region, ispell-skip-region-list)
1500 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1501 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1502 (ispell-message-text-end, ispell-message)
1503 (ispell-buffer-local-parsing): Doc fix.
1504
f02ff80d
J
15052012-03-13 Jambunathan K <kjambunathan@gmail.com>
1506
1507 * htmlfontify.el: Add support for code block fontification for ODT
1508 export (Bug #9914).
1509 (hfy-optimisations): Define new option
1510 `body-text-only'
1511 (hfy-fontify-buffer): Honor above setting.
1512 (hfy-begin-span, hfy-end-span): New routines factored out form
1513 `hfy-fontify-buffer'.
1514 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1515 that permit insertion of custom tags.
1516 (hfy-fontify-buffer): Use above handlers.
1517 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1518 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1519 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1520 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1521 bind a special variable `hfy-user-sheet-assoc'.
1522 (htmlfontify-string): New defun.
1523 (hfy-compile-face-map): Make sure that the last char in the
1524 buffer is correctly fontified.
1525 (hfy-face-resolve-face): Whitespace only change.
1526
9ac7a13f
EZ
15272012-03-17 Eli Zaretskii <eliz@gnu.org>
1528
1529 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1530 message more clear.
1531
e2b5bdd7
LL
15322012-03-16 Leo Liu <sdl.web@gmail.com>
1533
1534 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1535
2e492df3
AM
15362012-03-16 Alan Mackenzie <acm@muc.de>
1537
1538 Further optimise the handling of large macros.
1539
1540 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1541 limit to a call of `c-literal-limits'.
1542 (c-determine-+ve-limit): New function.
dc9924b8
SM
1543 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1544 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1545 In CASE 5B, restrict a search limit to 500.
1546 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1547
1548 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1549 Restrict macro bounds to +-500 from after-change's BEG END.
1550
50e94f0c
LL
15512012-03-16 Leo Liu <sdl.web@gmail.com>
1552
1553 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1554
6f09f6ed
AH
15552012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1556
1557 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1558 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1559
c7e73d51
GM
15602012-03-16 Glenn Morris <rgm@gnu.org>
1561
da986230
GM
1562 * view.el (view-buffer, view-buffer-other-window)
1563 (view-buffer-other-frame): Doc fixes re special mode-class.
1564
0835f01e
GM
1565 * subr.el (eval-after-load): If named feature is provided not from
1566 a file, run after-load forms. (Bug#10946)
1567
c7e73d51
GM
1568 * calendar/calendar.el (calendar-insert-at-column):
1569 Handle non-unit-width characters a bit better. (Bug#10978)
1570
3f2eafd1
CY
15712012-03-15 Chong Yidong <cyd@gnu.org>
1572
1573 * emacs-lisp/ring.el (ring-extend): New function.
1574 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1575
1576 * comint.el (comint-read-input-ring)
1577 (comint-add-to-input-history): Grow comint-input-ring lazily.
1578
103af3fe
SM
15792012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1580
663b1677
SM
1581 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1582 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1583
103af3fe
SM
1584 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1585 (imenu-add-to-menubar): Don't add a redundant index.
1586 (imenu-update-menubar): Handle a dynamically composed keymap.
1587
899cb7cb
KY
15882012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1589
1590 * mail/sendmail.el (mail-encode-header):
1591 Bind rfc2047-encode-encoded-words to nil.
1592
3809f91d
GM
15932012-03-13 Glenn Morris <rgm@gnu.org>
1594
1595 * calendar/calendar.el (calendar-string-spread):
1596 Handle non-unit-width characters a bit better. (Bug#10978)
1597
9e345a01
LL
15982012-03-13 Leo Liu <sdl.web@gmail.com>
1599
1600 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1601 directory and file as argument (Bug#10822).
1602
4a07df36
KS
16032012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1604
1605 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1606 For dynamically generated code, follow $PC.
1607 (gdb-disassembly-handler-custom): Handle no function name case.
1608
4aaa9356
TL
16092012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1610
1611 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1612 * emulation/ws-mode.el (ws-query-replace):
1613 * sort.el (sort-regexp-fields):
1614 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1615
225979da
SM
16162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * dabbrev.el: Fix cycle completion order (bug#10963).
1619 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1620 (dabbrev-completion): Don't use an obarray; provide
1621 a cycle-sort-function.
1622
e2f1fdab
LL
16232012-03-12 Leo Liu <sdl.web@gmail.com>
1624
dc9924b8 1625 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1626 (kill-do-not-save-duplicates): Doc fix.
1627
b19490ed
SM
16282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1629
1630 * dabbrev.el: Fix cycle completion (bug#10963).
1631 Use lexical binding and wrap to 80 columns.
1632 (dabbrev-completion): Delay computing the list of completions.
1633
4b05d722
KH
16342012-03-12 Kenichi Handa <handa@m17n.org>
1635
1636 * international/quail.el (quail-insert-kbd-layout): Surround each
1637 row by LRO and PDF instead of inserting many LRMs. Pad the left
1638 and right of each non-spacing marks. Insert invisible space
1639 between lower and upper characters to prevent composition.
1640
dbbc2e69
SM
16412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * minibuffer.el (minibuffer-complete): Don't get confused when the
1644 function is run twice via different commands (bug#10958).
1645 (complete-with-action): Fix docstring.
1646
292112ed
CY
16472012-03-12 Chong Yidong <cyd@gnu.org>
1648
5d1ac394
CY
1649 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1650 (nxml-completion-at-point-function): New function.
1651 (nxml-mode): Use it.
1652 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1653
292112ed
CY
1654 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1655 Load generated autoloads file before byte compiling (Bug#10970).
1656 (package--make-autoloads-and-compile): New helper fun.
1657
4098f8f7
CS
16582012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1659
1660 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1661
8f754691
MA
16622012-03-11 Michael Albinus <michael.albinus@gmx.de>
1663
1664 * autorevert.el (auto-revert-handler): Ensure, that
1665 file-readable-p is applied only for local files or in
1666 auto-revert-tail-mode.
1667
e29ab36b
AS
16682012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1669
dbbc2e69
SM
1670 * server.el (server-eval-at): Handle non-tcp connections.
1671 Decode result string.
ad0bf5b6 1672
e29ab36b
AS
1673 * server.el (server-msg-size): New constant.
1674 (server-reply-print): New function.
1675 (server-eval-and-print): Use it.
1676 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1677 Handle -print-nonl.
1678
de5939ba
CS
16792012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1680
1681 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1682 (Bug#10987).
1683
0c93eabf
CY
16842012-03-11 Chong Yidong <cyd@gnu.org>
1685
397a688f
CY
1686 * simple.el (goto-line): Doc fix (Bug#9938).
1687
2cc775f9
CY
1688 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1689
0c93eabf
CY
1690 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1691 when finished (Bug#10963).
1692
c491fa41
MR
16932012-03-11 Martin Rudalics <rudalics@gmx.at>
1694
1695 * window.el (split-window-below): Fix bug in case where
1696 split-window-keep-point is nil (Bug#10971).
1697
300e8fa5
JL
16982012-03-11 Juri Linkov <juri@jurta.org>
1699
1700 * replace.el (replace-highlight): Set isearch-word to nil
1701 unconditionally. (Bug#10887)
1702
dbf6c5a1
EZ
17032012-03-10 Eli Zaretskii <eliz@gnu.org>
1704
1705 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1706 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1707 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1708 (mairix-widget-create-query): Add usage information about mairix
1709 search forms: negating words, searching for substrings, etc.
1710
b9e501de
JP
17112012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1712
1713 * international/fontset.el (font-encoding-alist): Add an entry for
1714 ksx1001 (Bug#5667).
1715
92795c91
RS
17162012-03-10 Richard Stallman <rms@gnu.org>
1717
1694e6c1
RS
1718 * mail/sendmail.el (mail-encode-header):
1719 Set rfc2047-encode-encoded-words.
1720
607e8555
RS
1721 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1722
de3bc99a
RS
1723 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1724 view buffer means not swapped.
1725 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1726 (rmail-write-region-annotate): Error if real text has disappeared.
1727
92795c91
RS
1728 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1729
699bd04e
CY
17302012-03-10 Chong Yidong <cyd@gnu.org>
1731
1732 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1733 * emulation/cua-base.el (cua--init-keymaps):
1734 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1735
570a1714
MR
17362012-03-10 Martin Rudalics <rudalics@gmx.at>
1737
dbbc2e69
SM
1738 * speedbar.el (speedbar-unhighlight-one-tag-line):
1739 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1740
82dcf4e4
CY
17412012-03-10 Chong Yidong <cyd@gnu.org>
1742
7a2c7ca7
CY
1743 * minibuffer.el (completion-in-region, completion-help-at-point):
1744 Give the completion field overlay a high priority (Bug#6830).
1745
82dcf4e4
CY
1746 * dired.el (dired-goto-file): Recognize absolute file name
1747 listings (Bug#7126).
1748 (dired-goto-file-1): New helper function.
1749 (dired-toggle-read-only): Inhibit warnings.
1750
052e28ac
MA
17512012-03-09 Michael Albinus <michael.albinus@gmx.de>
1752
75f1671a 1753 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1754 there are no properties.
1755
95d5e396
LL
17562012-03-09 Leo Liu <sdl.web@gmail.com>
1757
1758 * savehist.el (savehist-printable): Stricter check for string
1759 value (Bug#10937).
1760
3f018d6d
EZ
17612012-03-09 Eli Zaretskii <eliz@gnu.org>
1762
dbbc2e69
SM
1763 * mail/smtpmail.el (smtpmail-send-it):
1764 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1765 valid mbox format.
1766
f7fd3d79
GM
17672012-03-09 Glenn Morris <rgm@gnu.org>
1768
1769 * files.el (dir-locals-find-file):
1770 Don't check result is regular, readable.
1771 (dir-locals-read-from-file): Demote errors.
1772
6ff6e72f
EZ
17732012-03-08 Eli Zaretskii <eliz@gnu.org>
1774
dbbc2e69
SM
1775 * international/quail.el (quail-insert-kbd-layout):
1776 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1777 layout cell, to prevent their reordering by bidi display engine.
1778 For details, see the discussion in
1779 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1780
9cec7834
AM
17812012-03-08 Alan Mackenzie <acm@muc.de>
1782
1783 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1784 the starting position; make it extend the marked region when
1785 invoked repeatedly - all under appropriate circumstances.
1786 Fixes bugs #5525, #10906.
1787
9a40b8d4
GM
17882012-03-08 Glenn Morris <rgm@gnu.org>
1789
1790 * files.el (locate-dominating-file, dir-locals-find-file):
1791 Undo 2012-03-06 change.
1792
7a08ed35
EZ
17932012-03-07 Eli Zaretskii <eliz@gnu.org>
1794
dbbc2e69
SM
1795 * international/quail.el (quail-help):
1796 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1797 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1798 for the reason.
1799
5aca4f71 18002012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1801
1802 Avoid superfluous registering of signals. (Bug#10807)
1803
1804 * notifications.el (notifications-on-action-object)
1805 (notifications-on-close-object): New defvars.
1806 (notifications-on-action-signal, notifications-on-closed-signal):
1807 Unregister the signal if not needed any longer.
1808 (notifications-notify): Register `notifications-action-signal' or
1809 `notifications-closed-signal', if :on-action or :on-close has been
1810 passed as argument.
1811
78e8b10a
CY
18122012-03-07 Chong Yidong <cyd@gnu.org>
1813
1814 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1815 non-X platforms.
1816
69481eb8
GM
18172012-03-06 Glenn Morris <rgm@gnu.org>
1818
1819 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1820 (x-disown-selection-internal, x-get-selection-internal):
1821 Doc fix (add arglist signatures). (Bug#10783)
1822
133b8e11
KS
18232012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1824
1825 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1826 Handle breakpoints with no "type".
1827
99a83064
GM
18282012-03-06 Glenn Morris <rgm@gnu.org>
1829
1830 * files.el (locate-dominating-file): Add optional predicate argument.
1831 (dir-locals-find-file): Make use of above change.
1832
17798e78
TTN
18332012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1834
1835 * info.el (Info-insert-dir): Also try "dir.gz".
1836
eb182446
GM
18372012-03-06 Glenn Morris <rgm@gnu.org>
1838
8f2114ee
GM
1839 * files.el (dir-locals-find-file):
1840 Ignore non-readable or non-regular files. (Bug#10928)
1841
eb182446
GM
1842 * files.el (locate-dominating-file): Doc fix.
1843
24679323
AS
18442012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1845
1846 * calendar/calendar.el (calendar-set-mode-line):
1847 `getenv' returns a string. (Bug#10951)
1848
01d972a9
LL
18492012-03-05 Leo Liu <sdl.web@gmail.com>
1850
109aa8a9
LL
1851 * simple.el (backward-delete-char-untabify): Constrain point to
1852 field (Bug#10939).
1853
01d972a9
LL
1854 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1855
10607bea
CY
18562012-03-05 Chong Yidong <cyd@gnu.org>
1857
1858 * simple.el (count-words): If called from Lisp, return the word
1859 count, for symmetry with `count-lines'. Arglist changed.
1860 (count-words--message): Args changed. Consolidate counting code
1861 from count-words and count-words-region.
1862 (count-words-region): Caller changed.
1863 (count-lines-region): Make it an obsolete alias.
1864
5dd11cfe
TH
18652012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1866
1867 * saveplace.el (save-place-to-alist)
1868 (save-place-ignore-files-regexp): Allow value nil to disable this
1869 feature.
1870
c349f4e6
CY
18712012-03-04 Chong Yidong <cyd@gnu.org>
1872
1873 * faces.el (face-spec-reset-face): For the default face, reset the
1874 attributes to default values (Bug#10748).
1875
e627be4c
LMI
18762012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1877
1878 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1879 previous patch: Check `message-send-mail-function', and not the
1880 default function (bug#10897).
1881
ebeabff4
MA
18822012-03-04 Michael Albinus <michael.albinus@gmx.de>
1883
a41a6cf4
MA
1884 * notifications.el (notifications-on-action-signal)
1885 (notifications-on-closed-signal): Check for unique service name of
1886 incoming event. Fix error in removing entry.
ebeabff4 1887 (top): Register for signals with wildcard service name.
a41a6cf4 1888 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1889
c1ca42b4
CY
18902012-03-04 Chong Yidong <cyd@gnu.org>
1891
dc9924b8 1892 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1893
ea16568d
GM
18942012-03-04 Glenn Morris <rgm@gnu.org>
1895
1896 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1897 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1898 (expand-abbrev, define-abbrev-table): Doc fixes.
1899
fbae4637
LMI
19002012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1901
1902 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1903 `message-default-send-mail-function' and not `send-mail-function'
1904 when doing the prompting for `sendmail-query-once' before sending
1905 in Message buffers (bug#10897).
1906
a1e7225c
LMI
1907 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1908 This is inconsistent with all the other stream functions, which leave
1909 the setting up to the higher levels (if so wanted) (bug#10931).
1910
56d093a9
AM
19112012-03-02 Alan Mackenzie <acm@muc.de>
1912
1913 Depessimize the handling of very large macros.
1914
1915 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1916 (c-macro-cache-syntactic): New variables to implement a one
1917 element macro cache.
1918 (c-invalidate-macro-cache): New function.
1919 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1920 Adapt to use the new cache.
1921 (c-state-safe-place): Use better the cache of safe positions.
1922 (c-state-semi-nonlit-pos-cache)
1923 (c-state-semi-nonlit-pos-cache-limit):
1924 New variables for...
1925 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1926 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1927 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1928 Use c-state-semi-safe-place.
56d093a9 1929
dbbc2e69
SM
1930 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1931 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1932
817e5c3d
MA
19332012-03-02 Michael Albinus <michael.albinus@gmx.de>
1934
dbbc2e69
SM
1935 * jka-compr.el (jka-compr-call-process):
1936 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1937 not remote.
1938
a032a702
MA
19392012-03-01 Michael Albinus <michael.albinus@gmx.de>
1940
1941 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1942 access of FILE2, if FILE1 does not exist.
1943
99a54f21
MA
1944 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1945 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1946
1947 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1948 Add "PAGER=" to `process-environment'.
1949
f6561e1f
MM
19502012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1951
1952 * progmodes/sql.el: Bug fix
1953 (sql-get-login-ext): Save login values in globals.
1954 (sql-get-login): Use new version of `sql-get-login-ext'.
1955 (sql-interactive-mode): Set global `sql-connection' to nil.
1956 (sql-connect): Set global values for connection.
1957 (sql-product-interactive): Save global values as buffer local.
1958
2d44d9cc
LL
19592012-02-29 Leo Liu <sdl.web@gmail.com>
1960
1961 * abbrev.el (define-abbrevs): Reset sys to nil.
1962
96b49301 19632012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1964
bf7f9bc5
JB
1965 * files.el (file-equal-p): Rename from `files-equal-p'.
1966 Return nil when one or both files don't exist.
96b49301 1967 (file-subdir-of-p): Now only top directory must exists,
1968 return nil if it doesn't.
bf7f9bc5
JB
1969 (copy-directory): No need to test with `file-subdir-of-p' after
1970 creating dir.
1971 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1972 to `file-equal-p'.
96b49301 1973
44e97401
GM
19742012-02-28 Glenn Morris <rgm@gnu.org>
1975
1976 * shell.el (shell-mode):
1977 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1978 * play/landmark.el (landmark-font-lock-face-O):
1979 * play/handwrite.el (handwrite):
1980 * play/gomoku.el (gomoku-O):
1981 * net/browse-url.el (browse-url-browser-display):
1982 * international/mule.el (define-charset):
1983 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1984 * filesets.el (filesets-find-file-delay):
1985 * eshell/em-xtra.el (eshell-xtra):
1986 * eshell/em-unix.el (eshell-grep):
1987 * emulation/viper.el (viper-mode):
1988 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1989 * emacs-lisp/easymenu.el (easy-menu-define):
1990 * calendar/timeclock.el (timeclock-use-display-time):
1991 * bs.el (bs-mode):
1992 * bookmark.el (bookmark-save-flag):
1993 Doc fix (standardize possessive apostrophe usage).
1994
c98c6276
CY
19952012-02-27 Chong Yidong <cyd@gnu.org>
1996
bf7f9bc5
JB
1997 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1998 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1999
c98c6276
CY
2000 * font-lock.el (font-lock-specified-p): Rename from
2001 font-lock-spec-present. Callers changed.
2002
9c62cd04 20032012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2004
bf7f9bc5
JB
2005 * emacs-lisp/package.el (package-compute-transaction):
2006 Handle holding a package version to t in package-load-list.
8ac9e529 2007
530739c9
MA
20082012-02-26 Michael Albinus <michael.albinus@gmx.de>
2009
2010 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2011 (tramp-get-inode, tramp-get-device): Use cached values.
2012
487915d7
AM
20132012-02-26 Alan Mackenzie <acm@muc.de>
2014
2015 Check there is a font-lock specification before doing initial
2016 fontification.
2017
2018 * font-core.el (font-lock-mode): Move the conditional from
2019 :after-hook to font-lock-initial-fontify.
2020 (font-lock-default-function): Move the check for a specification
2021 to font-lock-spec-present.
2022
dc9924b8 2023 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2024 (font-lock-spec-present): New function.
2025
4fd96557
JB
20262012-02-26 Jim Blandy <jimb@red-bean.com>
2027
2028 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2029 (gdb-send): Apply it to the operand of the '-interpreter-exec
2030 console' command, so that we can pass arguments with (say) quotes
2031 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2032
9a4888c0
CY
20332012-02-26 Chong Yidong <cyd@gnu.org>
2034
07498861
CY
2035 * help-fns.el (describe-function-1): Clarify description of
2036 remapping (Bug#10844).
2037
9a4888c0
CY
2038 * files.el (files-equal-p): Doc fix.
2039 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2040 and quit the loop once a mismatch is found.
2041
ea8fb88d
JB
20422012-02-25 Juanma Barranquero <lekktu@gmail.com>
2043
2044 * bs.el (bs--show-with-configuration): Don't throw an error
2045 if the window cannot be split; otherwise, subsequent calls to
2046 bs-show fail, restoring a stale window config. (Bug#10882)
2047
525795c1
JD
20482012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2049
2050 * term/ns-win.el (global-map): Bind ns-drag-file to
2051 ns-find-file (Bug#5855, Bug#10050).
2052
f008086f
AS
20532012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2054
2055 * calendar/parse-time.el (parse-time-string): Allow extractor to
2056 return nil.
2057
a3fcfa99
MA
20582012-02-25 Michael Albinus <michael.albinus@gmx.de>
2059
91027d08
JB
2060 * net/tramp.el (tramp-file-name-for-operation):
2061 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2062
2063 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2064 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2065 Add COPY-CONTENTS argument.
a3fcfa99 2066
67b0de11
CY
20672012-02-25 Chong Yidong <cyd@gnu.org>
2068
2069 Add custom groups for VC backends, for consistency with vc-bzr.
2070
2071 * vc/vc-arch.el (vc-arch):
2072 * vc/vc-cvs.el (vc-cvs):
2073 * vc/vc-git.el (vc-git):
2074 * vc/vc-hg.el (vc-hg):
2075 * vc/vc-mtn.el (vc-mtn):
2076 * vc/vc-rcs.el (vc-rcs):
2077 * vc/vc-sccs.el (vc-sccs):
2078 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2079 All relevant defcustoms reassigned.
2080
3c9dfce6
CY
20812012-02-25 Chong Yidong <cyd@gnu.org>
2082
1339bf43
CY
2083 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2084
3c9dfce6
CY
2085 * term/x-win.el (x-initialize-window-system): Reduce default for
2086 x-selection-timeout to 5 seconds (Bug#8869).
2087
25b2e303 20882012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2089
ec70a47d
GM
2090 * files.el (files-equal-p, file-subdir-of-p): New functions.
2091 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2092 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2093 * dired-aux.el (dired-copy-file-recursive): Same.
2094 (dired-create-files): Modify destination when source is equal to
2095 dest when copying files.
53a46cd0 2096 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2097
914260cd
MA
20982012-02-24 Michael Albinus <michael.albinus@gmx.de>
2099
2100 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2101 (Bug#10874)
2102
2cb228f7
AM
21032012-02-23 Alan Mackenzie <acm@muc.de>
2104
2105 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2106 parameter "after-hook:" to allow the expansion to run code after
2107 the execution of the mode hooks.
2108
2109 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2110 from font-lock-mode-internal.
2cb228f7 2111
91027d08 2112 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2113 :after-hook.
2114
8f0fde21
SM
21152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2116
3e88618b
SM
2117 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2118 (completion--cache-all-sorted-completions): New function.
2119 (completion-all-sorted-completions): Use it.
2120 (completion--do-completion, minibuffer-force-complete):
2121 Use it to re-instate the flush hook.
2122
8f0fde21
SM
2123 * icomplete.el (icomplete-completions): Replace last fix with a better
2124 one (bug#10850).
2125
8e911f6f
DG
21262012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2127
2128 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2129 when it might call us back infinitely (bug#10797).
2130
49fe4321
GM
21312012-02-23 Glenn Morris <rgm@gnu.org>
2132
2133 * minibuffer.el (completion-category-overrides): Doc fix.
2134
b291b572
SM
21352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2138 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2139
31a9ef2e
GM
21402012-02-23 Glenn Morris <rgm@gnu.org>
2141
5e6e6794 2142 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2143 (authors-obsolete-files-regexps, authors-ignored-files)
2144 (authors-ambiguous-files, authors-renamed-files-alist):
2145 Add more entries.
2146
0bd1e074
JL
21472012-02-23 Juri Linkov <juri@jurta.org>
2148
2149 * isearch.el (isearch-occur): Sync interactive spec with occur's
2150 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2151
b617673c
JL
2152 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2153
19e9789e
JL
21542012-02-22 Juri Linkov <juri@jurta.org>
2155
2156 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2157 (ucs-insert): Doc fix. Check for hex digits in the string.
2158 Don't display `nil' in the error message. (Bug#10857)
2159
f41ce09d
AM
21602012-02-22 Alan Mackenzie <acm@muc.de>
2161
7a71b18d 2162 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2163
ac2eceee
GM
21642012-02-22 Glenn Morris <rgm@gnu.org>
2165
2166 * ffap.el (ffap-c-path):
2167 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2168
abd1f678
CY
21692012-02-22 Chong Yidong <cyd@gnu.org>
2170
2171 * custom.el (load-theme): Doc fix.
2172
f25aef2e
GM
21732012-02-22 Glenn Morris <rgm@gnu.org>
2174
2175 * dired-x.el (dired-guess-shell-alist-default):
2176 Remove escape sequences from nroff output. (Bug#172)
2177
5f8dc2ca
GM
21782012-02-21 Glenn Morris <rgm@gnu.org>
2179
6ff86ec4
GM
2180 * vc/emerge.el (emerge-defvar-local):
2181 Set `permanent-local' property rather than unused `preserved'.
2182
be3223a3 2183 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2184 (picture-mode-map): Use it. (Bug#10860)
2185 (picture-mode): Doc fix.
2186
3fe58f4f
JB
21872012-02-21 Juanma Barranquero <lekktu@gmail.com>
2188
2189 * newcomment.el (uncomment-region-default): Remove unused binding.
2190
f9a998c3
GM
21912012-02-21 Glenn Morris <rgm@gnu.org>
2192
2193 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2194 (picture-self-insert, picture-tab-chars): Doc fix.
2195 (picture-mode-map): Fix C-a, C-e.
2196
c6029348
GM
21972012-02-20 Glenn Morris <rgm@gnu.org>
2198
2199 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2200
ab1ce9d7
LL
22012012-02-20 Leo Liu <sdl.web@gmail.com>
2202
2203 * icomplete.el (icomplete-completions): Check FROM arg before
2204 passing to substring (Bug#10850).
2205
0fd40f89
CY
22062012-02-19 Chong Yidong <cyd@gnu.org>
2207
2208 * comint.el: Require ansi-color.
2209 (comint-output-filter-functions): Add ansi-color-process-output.
2210
2211 * ansi-color.el: Don't set comint-output-filter-functions; it is
2212 now in the initial value defined in comint.el.
2213 (ansi-color-apply-face-function): New variable.
2214 (ansi-color-apply-on-region): Use it.
2215 (ansi-color-apply-overlay-face): New function.
2216
2217 * shell.el (shell): No need to require ansi-color.
2218 (shell-mode): Use ansi-color-apply-face-function to highlight
2219 color escapes using font-lock-face property (Bug#10835).
2220
20af2394
CY
22212012-02-19 Chong Yidong <cyd@gnu.org>
2222
2223 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2224 mode-line formats (Bug#10839).
2225
e23a3fbe
GM
22262012-02-18 Glenn Morris <rgm@gnu.org>
2227
b474519e
GM
2228 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2229
2230 * mail/undigest.el (unforward-rmail-message): Doc fix.
2231
e23a3fbe
GM
2232 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2233
57939ff4
EZ
22342012-02-18 Eli Zaretskii <eliz@gnu.org>
2235
2236 * international/characters.el (script-list): Sync with the latest
2237 Unicode Character Database.
2238
0c23686e
AS
22392012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2240
2241 * international/titdic-cnv.el: Remove duplicate coding tag.
2242 * language/cham.el: Likewise.
2243 * language/tai-viet.el: Likewise.
2244
6818b449
GM
22452012-02-18 Glenn Morris <rgm@gnu.org>
2246
2247 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2248 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2249 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2250 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2251 * calendar/holidays.el (holiday-bahai-holidays)
2252 (calendar-holidays, list-holidays):
2253 Use utf-8 Bahá'í in doc-strings, menus, etc.
2254
0311a3fc
TH
22552012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2256
2257 * saveplace.el (save-place-ignore-files-regexp): New variable
2258 allowing for excluding files from saving their location of point.
2259 The default value matches the temporary commit message editing
2260 files from Git, SVN, Bazaar, and Mercurial.
2261 (save-place-to-alist): Use it.
2262
eb864a71
LM
22632012-02-17 Lawrence Mitchell <wence@gmx.li>
2264 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * newcomment.el (uncomment-region-default): Don't leave extra space
2267 when an arg is provided (bug#8150).
2268
ee0ce425
TZ
22692012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2270
eb864a71 2271 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2272
95ddf442
GM
22732012-02-17 Glenn Morris <rgm@gnu.org>
2274
2275 * net/socks.el: Require network-stream. (Bug#10599)
2276
48dd1e39 22772012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2278
2279 * international/charprop.el:
2280 * international/uni-name.el:
2281 * international/uni-old-name.el:
2282 * international/uni-comment.el: Regenerate.
2283
d68cd087
GM
22842012-02-16 Glenn Morris <rgm@gnu.org>
2285
2286 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2287 Interactively in calendar buffer, give an error if not on a date.
2288
13932042
GM
22892012-02-15 Glenn Morris <rgm@gnu.org>
2290
2291 * shell.el (shell-delimiter-argument-list):
2292 Revert 2011-02-17 change. (Bug#8027)
2293
c3a70e2b
CY
22942012-02-15 Chong Yidong <cyd@gnu.org>
2295
60236b0d
CY
2296 * minibuffer.el (completion-at-point-functions): Doc fix.
2297
c3a70e2b
CY
2298 * custom.el (defcustom): Doc fix; note use of defvar.
2299
9f26dc24
GM
23002012-02-15 Glenn Morris <rgm@gnu.org>
2301
2302 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2303 Doc fixes.
2304
6546b134
GM
23052012-02-14 Glenn Morris <rgm@gnu.org>
2306
2307 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2308
d29b2b4c
LI
23092012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2310
2311 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2312 way the ports list is computed.
835bdcba
LI
2313 (smtpmail-query-smtp-server): Prompt the user for a port number if
2314 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2315
08dcdbc9
TZ
23162012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2317
2318 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2319
2605051a
GM
23202012-02-13 Glenn Morris <rgm@gnu.org>
2321
2322 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2323
7ee99f32
TZ
23242012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2325
2326 * net/gnutls.el (gnutls-trustfiles): New variable.
2327 (gnutls-negotiate): Use it.
2328
5f0af64f
LI
23292012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2330
2331 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2332 does its stuff if Gnus is running.
2333
c14fcc95
AM
23342012-02-13 Alan Mackenzie <acm@muc.de>
2335
2336 Fix a loop in c-set-fl-decl-start.
2337
7a71b18d 2338 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2339 c-backward-syntactic-ws actually moves backwards.
2340
142b4d90
LL
23412012-02-13 Leo Liu <sdl.web@gmail.com>
2342
2343 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2344 beginning so that all \C-o chars are removed.
2345
fa9958a6
TZ
23462012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2347
dc9924b8 2348 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2349
0bc5886a
AM
23502012-02-12 Alan Mackenzie <acm@muc.de>
2351
2352 Fix infinite loop with long macros.
4d6769e1 2353 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2354
d4bd55e7
CY
23552012-02-12 Chong Yidong <cyd@gnu.org>
2356
2357 * window.el (display-buffer): Doc fix (Bug#10785).
2358
66f3fe22
GM
23592012-02-12 Glenn Morris <rgm@gnu.org>
2360
bd7da63e
GM
2361 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2362 (x-disown-selection-internal, x-get-selection-internal):
2363 Sync docs with the xselect.c versions.
2364
66f3fe22
GM
2365 * allout-widgets.el: Add missing license notice.
2366
3e0d2fa7
GM
23672012-02-11 Glenn Morris <rgm@gnu.org>
2368
cfecdf09
GM
2369 * select.el (x-get-selection-internal, x-own-selection-internal)
2370 (x-disown-selection-internal):
2371 * x-dnd.el (x-get-selection-internal): Update declarations.
2372
6d216d7f
GM
2373 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2374
2bed3f04
GM
2375 * window.el (window-sides-slots):
2376 * tool-bar.el (tool-bar-position):
2377 * term/xterm.el (xterm-extra-capabilities):
2378 * ses.el (ses-self-reference-early-detection):
2379 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2380 (verilog-auto-wire-type)
2381 (verilog-auto-delete-trailing-whitespace)
2382 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2383 (verilog-auto-tieoff-declaration):
2384 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2385 (sql-oracle-statement-starters, sql-oracle-scan-on):
2386 * progmodes/prolog.el (prolog-align-comments-flag)
2387 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2388 (prolog-left-indent-regexp, prolog-paren-indent-p)
2389 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2390 (prolog-types, prolog-mode-specificators)
2391 (prolog-determinism-specificators, prolog-directives)
2392 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2393 (prolog-electric-dot-flag)
2394 (prolog-electric-dot-full-predicate-template)
2395 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2396 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2397 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2398 (prolog-program-switches, prolog-prompt-regexp)
2399 (prolog-debug-on-string, prolog-debug-off-string)
2400 (prolog-trace-on-string, prolog-trace-off-string)
2401 (prolog-zip-on-string, prolog-zip-off-string)
2402 (prolog-use-standard-consult-compile-method-flag)
2403 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2404 (prolog-imenu-max-lines, prolog-info-predicate-index)
2405 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2406 (prolog-char-quote-workaround):
2407 * progmodes/cc-vars.el (c-defun-tactic):
2408 * net/tramp.el (tramp-encoding-command-interactive)
2409 (tramp-local-end-of-line):
2410 * net/soap-client.el (soap-client):
2411 * net/netrc.el (netrc-file):
2412 * net/gnutls.el (gnutls):
2413 * minibuffer.el (completion-category-overrides)
2414 (completion-cycle-threshold)
2415 (completion-pcm-complete-word-inserts-delimiters):
2416 * man.el (Man-name-local-regexp):
2417 * mail/feedmail.el (feedmail-display-full-frame):
2418 * international/characters.el (glyphless-char-display-control):
2419 * eshell/em-ls.el (eshell-ls-date-format):
2420 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2421 (lisp-lambda-list-keyword-parameter-indentation)
2422 (lisp-lambda-list-keyword-parameter-alignment):
2423 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2424 * dired-x.el (dired-omit-verbose):
2425 * cus-theme.el (custom-theme-allow-multiple-selections):
2426 * calc/calc.el (calc-highlight-selections-with-faces)
2427 (calc-lu-field-reference, calc-lu-power-reference)
2428 (calc-note-threshold):
2429 * battery.el (battery-mode-line-limit):
2430 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2431 (archive-7z-update):
2432 * allout.el (allout-prefixed-keybindings)
2433 (allout-unprefixed-keybindings)
2434 (allout-inhibit-auto-fill-on-headline)
2435 (allout-flattened-numbering-abbreviation):
2436 * allout-widgets.el (allout-widgets-auto-activation)
2437 (allout-widgets-icons-dark-subdir)
2438 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2439 (allout-widgets-theme-dark-background)
2440 (allout-widgets-theme-light-background)
2441 (allout-widgets-item-image-properties-emacs)
2442 (allout-widgets-item-image-properties-xemacs)
2443 (allout-widgets-run-unit-tests-on-load)
2444 (allout-widgets-time-decoration-activity)
2445 (allout-widgets-hook-error-post-time)
2446 (allout-widgets-track-decoration):
2447 Add missing :version tags to new defcustoms and defgroups.
2448
5fec1b8e
GM
2449 * progmodes/sql.el (sql-ansi-statement-starters)
2450 (sql-oracle-statement-starters): Add custom type.
2451
3e0d2fa7
GM
2452 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2453 (prolog-system-version): Give it a type.
2454
90b671e2
EZ
24552012-02-11 Eli Zaretskii <eliz@gnu.org>
2456
2457 * term/pc-win.el (x-select-text, x-selection-owner-p)
2458 (x-own-selection-internal, x-disown-selection-internal)
2459 (x-get-selection-internal): Sync doc strings and argument lists
2460 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2461
5eac0c02
LL
24622012-02-11 Leo Liu <sdl.web@gmail.com>
2463
2464 * progmodes/python.el (python-end-of-statement): Fix infinite
2465 loop. (Bug#10788)
2466
f82cb659
GM
24672012-02-10 Glenn Morris <rgm@gnu.org>
2468
2469 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2470 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2471
cc26d239
LI
24722012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2473
2474 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2475 about SMTP before checking the From header.
2476
91027d08 2477 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2478 into own function for reuse by emacsbug.el.
2479
1be3ca5a
LL
24802012-02-10 Leo Liu <sdl.web@gmail.com>
2481
2482 * subr.el (condition-case-unless-debug): Rename from
2483 condition-case-no-debug. All callers changed.
2484 (with-demoted-errors): Fix caller.
2485
2486 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2487 * nxml/rng-valid.el (rng-do-some-validation):
2488 * emacs-lisp/package.el (package-refresh-contents)
2489 (package-menu-execute):
2490 * desktop.el (desktop-create-buffer):
91027d08 2491 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2492
b011fbfe
GM
24932012-02-10 Glenn Morris <rgm@gnu.org>
2494
b2096d72
GM
2495 * textmodes/bibtex.el:
2496 Add missing :version tags for new/changed defcustoms.
2497
b011fbfe
GM
2498 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2499
4c7e65bf
LI
25002012-02-09 Lars Ingebrigtsen <larsi@rusty>
2501
2502 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2503 (smtpmail-via-smtp): Use it, or fall back on the From address.
2504 (smtpmail-send-it): Ditto.
2505
f3934f6f
SM
25062012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2509 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2510 (byte-compile-tmp-var): New const.
2511 (byte-compile-defvar): Use it to minimize .elc size.
2512 Just use `defvar' rather than simulate it (bug#10761).
2513
a075a2c5
GM
25142012-02-09 Glenn Morris <rgm@gnu.org>
2515
cf3aa21b
GM
2516 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2517
354998cd
GM
2518 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2519 Add :version tags.
2520
dc9924b8
SM
2521 * progmodes/compile.el (compilation-error-screen-columns)
2522 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2523
dab3703d
GM
2524 * vc/log-view.el (log-view-toggle-entry-display):
2525 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2526
3f88cd72
GM
2527 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2528 (report-emacs-bug-can-use-xdg-email):
2529 (report-emacs-bug-insert-to-mailer): Doc fixes.
2530 (report-emacs-bug): Message fix.
2531
d95b247d
GM
2532 * net/browse-url.el (browse-url-can-use-xdg-open)
2533 (browse-url-xdg-open): Doc fixes.
2534
a075a2c5
GM
2535 * electric.el (electric-indent-mode, electric-pair-mode)
2536 (electric-layout-rules, electric-layout-mode): Doc fixes.
2537 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2538
ffb6157e
MR
25392012-02-08 Martin Rudalics <rudalics@gmx.at>
2540
2541 * server.el (server-unselect-display): Don't inadvertently kill
2542 the current buffer. (Bug#10729)
2543
e1ac4066
GM
25442012-02-08 Glenn Morris <rgm@gnu.org>
2545
34e8a2da
GM
2546 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2547 (sql-list-table): Doc fixes.
2548
b4ac6e8c
GM
2549 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2550 Comment out (does nothing).
2551
e1ac4066
GM
2552 * completion.el (dynamic-completion-mode):
2553 * dirtrack.el (dirtrack-debug-mode):
2554 * electric.el (electric-layout-mode):
2555 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2556 * face-remap.el (text-scale-mode, buffer-face-mode):
2557 * iimage.el (iimage-mode):
2558 * image-mode.el (image-transform-mode):
2559 * minibuffer.el (completion-in-region-mode):
2560 * scroll-lock.el (scroll-lock-mode):
2561 * simple.el (next-error-follow-minor-mode):
2562 * tar-mode.el (tar-subfile-mode):
2563 * tooltip.el (tooltip-mode):
2564 * vcursor.el (vcursor-use-vcursor-map):
2565 * wid-browse.el (widget-minor-mode):
2566 * emulation/tpu-edt.el (tpu-edt-mode):
2567 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2568 * international/iso-ascii.el (iso-ascii-mode):
2569 * language/thai-util.el (thai-word-mode):
2570 * mail/supercite.el (sc-minor-mode):
2571 * net/goto-addr.el (goto-address-mode):
2572 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2573 * progmodes/cwarn.el (cwarn-mode):
2574 * progmodes/flymake.el (flymake-mode):
2575 * progmodes/glasses.el (glasses-mode):
2576 * progmodes/hideshow.el (hs-minor-mode):
2577 * progmodes/pascal.el (pascal-outline-mode):
2578 * textmodes/enriched.el (enriched-mode):
2579 * vc/smerge-mode.el (smerge-mode):
2580 Doc fixes (minor mode argument).
2581
5e0d957f
EZ
25822012-02-07 Eli Zaretskii <eliz@gnu.org>
2583
2584 * ls-lisp.el (ls-lisp-sanitize): New function.
2585 (ls-lisp-insert-directory): Use it to fix or remove any elements
2586 in file-alist with missing attributes. (Bug#4673)
2587
98d7371e
AM
25882012-02-07 Alan Mackenzie <acm@muc.de>
2589
2590 Fix spurious recognition of c-in-knr-argdecl.
2591
2592 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2593 putative K&R region.
2594
667ced3a
AM
25952012-02-07 Alan Mackenzie <acm@muc.de>
2596
eb864a71
LM
2597 * progmodes/cc-engine.el (c-forward-objc-directive):
2598 Prevent looping in "#pragma mark @implementation".
667ced3a 2599
5b77774d
MA
26002012-02-07 Michael Albinus <michael.albinus@gmx.de>
2601
2602 * notifications.el (notifications-on-closed-signal): Make `reason'
2603 optional. (Bug#10744)
2604
af008560
GM
26052012-02-07 Glenn Morris <rgm@gnu.org>
2606
60d47423
GM
2607 * emacs-lisp/easy-mmode.el (define-minor-mode):
2608 Doc fixes for the macro and the mode it defines.
2609
dd605cc4
GM
2610 * image.el (imagemagick-types-inhibit): Doc fix.
2611
af008560
GM
2612 * cus-start.el (imagemagick-render-type): Add it.
2613
5cc59a37
LI
26142012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2615
4d6769e1
JB
2616 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2617 Set the default at load time, too, so that `font-lock-fontify-buffer'
2618 can be called without setting up the entire mode first. This fixes
2619 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2620
9a6dd747
CY
26212012-02-06 Chong Yidong <cyd@gnu.org>
2622
2d16b285
CY
2623 * simple.el (list-processes--refresh): Delete exited processes
2624 (Bug#8094).
2625
171e9b6e
CY
2626 * comint.el (comint-next-prompt): next-single-char-property-change
2627 and prev-single-char-property-change never return nil (Bug#8657).
2628
9a6dd747
CY
2629 * custom.el (defcustom): Doc fix (Bug#9711).
2630
aa4589a7
CY
26312012-02-05 Chong Yidong <cyd@gnu.org>
2632
5c2a252f
CY
2633 * cus-edit.el (custom-variable-reset-backup): Quote the value
2634 before storing it in the customized-value property (Bug#6712).
4aab9006 2635 (custom-display): Add a customization type tag.
983b9602 2636 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2637
aa4589a7
CY
2638 * wid-edit.el (widget-field-value-get): New optional arg to
2639 suppress trailing whitespace truncation.
2640 (character): Use it (Bug#2689).
2641
1ff980ae
AS
26422012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2643
2644 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2645 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2646
03988c98
CY
26472012-02-05 Chong Yidong <cyd@gnu.org>
2648
eeb6cc88
CY
2649 * cus-edit.el (custom-variable-value-create): For mismatched
2650 types, show the current value (Bug#7600).
2651
03988c98
CY
2652 * custom.el (defcustom): Doc fix.
2653
f8cdeef0
GM
26542012-02-05 Glenn Morris <rgm@gnu.org>
2655
2656 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2657
0696d255
JB
26582012-02-05 Juanma Barranquero <lekktu@gmail.com>
2659
2660 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2661 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2662 (pp-last-sexp): Use `looking-at-p'.
2663
34c99998
GM
26642012-02-04 Glenn Morris <rgm@gnu.org>
2665
8f05da42
GM
2666 * files.el (revert-buffer):
2667 Doc fix (mention revert-buffer-in-progress-p).
2668
f160676e
GM
2669 * emacs-lisp/ert-x.el (ert-simulate-command):
2670 Check deferred-action-list (which is obsolete) is bound.
2671
c7291ad9
GM
2672 * subr.el (with-wrapper-hook): Doc fixes.
2673
34c99998
GM
2674 * simple.el (filter-buffer-substring-functions)
2675 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2676
6283a7d3
LL
26772012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2678
2679 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2680 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2681
e96e3013
LL
26822012-02-04 Leo Liu <sdl.web@gmail.com>
2683
2684 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2685
8ded50f2
GM
26862012-02-04 Glenn Morris <rgm@gnu.org>
2687
82ff1d13
GM
2688 * image.el (image-extension-data): Add obsolete alias.
2689
987a0a16
GM
2690 * isearch.el (isearch-update): Doc fix.
2691
ea32ef46
GM
2692 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2693
8ded50f2
GM
2694 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2695
eea14f31
GM
26962012-02-03 Glenn Morris <rgm@gnu.org>
2697
2698 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2699 (image-animate-timeout): Doc fix.
2700
2701 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2702
12f381b7
GM
27032012-02-02 Glenn Morris <rgm@gnu.org>
2704
953cebf5
GM
2705 * server.el (server-auth-dir): Doc fix.
2706 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2707
12f381b7
GM
2708 * subr.el (run-mode-hooks): Doc fix.
2709
953a8c3b
JL
27102012-02-02 Juri Linkov <juri@jurta.org>
2711
2712 * image-mode.el (image-toggle-display-image): Remove tautological
2713 `major-mode' from the `derived-mode-p' test.
2714
c5d3843c
KH
27152012-02-02 Kenichi Handa <handa@m17n.org>
2716
9f6e692e 2717 * composite.el (compose-region): Cancel previous change.
c5d3843c 2718
159462d4 27192012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2720
2721 * composite.el (compose-region, compose-string): Signal error for
2722 a null string component (Bug#6988).
2723
9f562668
CY
27242012-02-01 Chong Yidong <cyd@gnu.org>
2725
e2cef717
CY
2726 * view.el (view-buffer-other-window, view-buffer-other-frame):
2727 Handle special modes like view-buffer (Bug#10650).
2728 (view-buffer): Simplify.
2729
9f562668
CY
2730 * frame.el (set-frame-font): Tweak meaning of third argument.
2731
9f6e692e
JB
2732 * dynamic-setting.el (font-setting-change-default-font):
2733 Use set-frame-font (Bug#9982).
9f562668 2734
781acb9f
GM
27352012-02-01 Glenn Morris <rgm@gnu.org>
2736
6035be52
GM
2737 * progmodes/compile.el (compilation-internal-error-properties):
2738 Respect compilation-first-column in the "*compilation*" buffer.
2739
781acb9f
GM
2740 * emacs-lisp/easy-mmode.el (define-minor-mode):
2741 Relax :variable's test for a named function.
2742
abbceb00
AM
27432012-01-31 Alan Mackenzie <acm@muc.de>
2744
2745 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2746 off by one error.
2747
fce3fdeb
CY
27482012-01-31 Chong Yidong <cyd@gnu.org>
2749
2750 * frame.el (set-frame-font): New arg ALL-FRAMES.
2751
2752 * menu-bar.el (menu-set-font): Use set-frame-font.
2753
2754 * faces.el (face-spec-reset-face): Don't apply unspecified
2755 attribute values to the default face.
2756
47893581
JB
27572012-01-31 Juanma Barranquero <lekktu@gmail.com>
2758
2759 * progmodes/cwarn.el (cwarn): Remove dead link.
2760 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2761 Remove * from defcustom docstrings.
2762 (turn-on-cwarn-mode): Make obsolete.
2763 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2764 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2765
e58e988a
GM
27662012-01-31 Glenn Morris <rgm@gnu.org>
2767
60dc2671 2768 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2769 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2770 Allow named functions to be used as the cdr of :variable.
e58e988a 2771
7a3f511d
GM
27722012-01-30 Glenn Morris <rgm@gnu.org>
2773
2774 * emacs-lisp/authors.el (authors-fixed-entries):
2775 Remove reference to deleted file rnewspost.el.
2776
cb882333
JB
27772012-01-29 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * window.el (window-with-parameter): Remove unused variable `windows'.
2780 (window--side-check): Remove unused variable `code'.
2781 (window--resize-siblings): Remove unused variable `first'.
2782 (adjust-window-trailing-edge): Remove unused variable `failed'.
2783 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2784 Use `let', not `let*'.
2785 (balance-windows-2): Remove unused variable `found'.
2786 (window--state-put-2): Remove unused variable `splits'.
2787 (window-state-put): Remove unused variable `selected'.
2788 (same-window-p): Use `string-match-p'.
2789 (display-buffer-assq-regexp): Remove unused variable `value'.
2790 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2791 Mark argument ALIST as ignored.
2792 (pop-to-buffer): Remove unused variable `old-window'.
2793
907201af
EZ
27942012-01-29 Eli Zaretskii <eliz@gnu.org>
2795
2796 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2797 and .lzma compressed files.
2798
ea162670
CY
27992012-01-29 Chong Yidong <cyd@gnu.org>
2800
5b95ee8a
CY
2801 * frame.el (window-system-default-frame-alist): Doc fix.
2802
ea162670
CY
2803 * dynamic-setting.el (font-setting-change-default-font): Don't
2804 change the default face if SET-FONT argument is non-nil (Bug#9982).
2805
d6e6f4b1
SB
28062012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2807
2808 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2809
0f29fa41 28102012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2811
2812 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2813 breakpoints in files outside current directory (Bug#6098).
2814
db174434
CY
28152012-01-29 Chong Yidong <cyd@gnu.org>
2816
6b25e4e2
SE
2817 * progmodes/python.el: Require ansi-color at top-level.
2818
6df6ae42
JB
2819 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2820 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2821 (lisp-mode-abbrev-table): Add doc.
2822 (lisp-mode-variables): Don't set local-abbrev-table.
2823 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2824
e70ee681
RW
28252012-01-28 Roland Winkler <winkler@gnu.org>
2826
2827 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2828
ace88aa2
RW
28292012-01-28 Roland Winkler <winkler@gnu.org>
2830
2831 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2832 (bibtex-set-dialect): Use it. Either set global values of
2833 dialect-dependent variables or bind these variables buffer-locally
2834 (Bug#10254).
2835 (bibtex-mode): Call bibtex-set-dialect via
2836 hack-local-variables-hook.
eb864a71
LM
2837 (bibtex-dialect): Update docstring.
2838 Add safe-local-variable predicate.
ace88aa2
RW
2839 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2840 bibtex-set-dialect.
2841 (bibtex-mode-map): Define menu for each dialect.
2842 (bibtex-entry): Fix docstring.
2843
93376c5b
CY
28442012-01-28 Chong Yidong <cyd@gnu.org>
2845
2846 * eshell/esh-arg.el (eshell-quote-argument): New function.
2847
2848 * eshell/esh-ext.el (eshell-invoke-batch-file):
2849 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2850 first arg to eshell-parse-command (Bug#10523).
2851
4372494f
DA
28522012-01-28 Drew Adams <drew.adams@oracle.com>
2853
2854 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2855 `default-directory' is non-nil.
2856
4d4ec1f8
EZ
28572012-01-28 Eli Zaretskii <eliz@gnu.org>
2858
2859 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2860 line that displays system-configuration-options. (Bug#9924)
2861
7c188927
DA
28622012-01-28 Drew Adams <drew.adams@oracle.com>
2863
2864 * descr-text.el (describe-char): Show information about POS, in
2865 addition to information about the character at POS. Improve and
2866 update the doc string. Change "code point" to "code point in
2867 charset", to avoid confusion with the character's Unicode code
2868 point shown above that. (Bug#10129)
2869
e0da685a
EZ
28702012-01-28 Eli Zaretskii <eliz@gnu.org>
2871
2872 * descr-text.el (describe-char): Show the raw character, not only
2873 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2874 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2875 for the reasons.
2876
70550acf
PH
28772012-01-28 Phil Hagelberg <phil@hagelb.org>
2878
eb864a71
LM
2879 * emacs-lisp/package.el (package-install):
2880 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2881
0ce8e868
CY
28822012-01-28 Chong Yidong <cyd@gnu.org>
2883
cb882333
JB
2884 * emacs-lisp/package.el (package-maybe-load-descriptor):
2885 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2886 (package-maybe-load-descriptor): Use it.
2887 (package-download-transaction): Fully load required packages
2888 inside the loop, so that `require' calls work (Bug#10593).
2889 (package-install): No need to call package-initialize now.
2890
2e7f3bea
CY
28912012-01-28 Chong Yidong <cyd@gnu.org>
2892
6e9bad14
CY
2893 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2894
f823b8ca
CY
2895 * tooltip.el (tooltip-mode): Doc fix.
2896 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2897
2680c309
CY
2898 * frame.el (set-cursor-color): Doc fix (Bug#352).
2899
d7a9e63b
CY
2900 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2901 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2902
2e7f3bea
CY
2903 * cus-edit.el (custom-buffer-create-internal): Fix search button
2904 action (Bug#10542).
2ae01800 2905 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2906
fc4f7a23
EW
29072012-01-27 Eduard Wiebe <usenet@pusto.de>
2908
2909 * dired.el (dired-mark-files-regexp):
2910 Include any subdirectory components. (Bug#10445)
2911
7dd37071
ML
29122012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2913
2914 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2915 Handle [host]:port syntax. (Bug#10533)
2916
a268160b
AH
29172012-01-27 Alex Harsanyi <harsanyi@mac.com>
2918
2919 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2920
e43273ef
GM
29212012-01-26 Glenn Morris <rgm@gnu.org>
2922
2923 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2924 * term.el (term-raw-escape-map): Use Control-X-prefix.
2925 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2926
1edf595d
MR
29272012-01-25 Martin Rudalics <rudalics@gmx.at>
2928
2929 * window.el (window-state-get, window--state-get-1): Don't deal
2930 with fixed-sizeness of windows. Simplify code.
2931
fa8eafef
JC
29322012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2933
6df6ae42
JB
2934 * window.el (window--state-get-1, window--state-put-2):
2935 Don't save and restore the mark.
fa8eafef 2936
0b21c100
CY
29372012-01-25 Chong Yidong <cyd@gnu.org>
2938
2939 * custom.el (custom-variable-p): Doc fix.
2940
5ae1a6c8
GM
29412012-01-25 Glenn Morris <rgm@gnu.org>
2942
40047858
GM
2943 * dired.el (dired-goto-file): Handle some of the more common
2944 characters that `ls -b' escapes. (Bug#10596)
2945
5ddce96c
GM
2946 * progmodes/compile.el (compilation-next-error-function):
2947 Respect compilation-first-column in the "*compilation*" buffer.
2948 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2949
5ae1a6c8
GM
2950 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2951
b559f1a9
GM
29522012-01-24 Glenn Morris <rgm@gnu.org>
2953
2954 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2955
6725d21a
JD
29562012-01-24 Julien Danjou <julien@danjou.info>
2957
2958 * color.el (color-rgb-to-hsl): Fix value computing.
2959 (color-hue-to-rgb): New function.
2960 (color-hsl-to-rgb): New function.
2961 (color-clamp, color-saturate-hsl, color-saturate-name)
2962 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2963 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2964
70df4bbe
GM
29652012-01-24 Glenn Morris <rgm@gnu.org>
2966
2967 * vc/vc-rcs.el (vc-rcs-create-tag):
2968 * vc/vc-sccs.el (vc-sccs-create-tag):
2969 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2970
802a2ae2
ML
29712012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2972
2973 * eshell/esh-util.el (eshell-read-hosts-file):
2974 Skip comment lines. (Bug#10549)
2975
d7128bb1
ML
2976 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2977
d1a5c3b4
JB
29782012-01-23 Juanma Barranquero <lekktu@gmail.com>
2979
2724d9c7
JB
2980 * subr.el (display-delayed-warnings): Doc fix.
2981 (collapse-delayed-warnings): New function to collapse identical
2982 adjacent warnings.
2983 (delayed-warnings-hook): Add it.
d1a5c3b4 2984
a5509865
MA
29852012-01-22 Michael Albinus <michael.albinus@gmx.de>
2986
2987 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2988
2989 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2990 properties, when "login-as" is set.
2991
2992 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2993 (tramp-default-user-alist): Don't add "pscp".
2994 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2995 property "login-as", if set. (Bug#10530)
2996
cc6d5805
MA
29972012-01-21 Michael Albinus <michael.albinus@gmx.de>
2998
2999 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3000 "plink1" and "psftp". (Bug#10530)
3001
30022012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3003
3004 * international/mule-cmds.el (prefer-coding-system): Show a
3005 warning message if the default value of file-name-coding-system
3006 was not changed.
3007
f0960428
JC
30082012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3009
cb882333
JB
3010 * windmove.el (windmove-reference-loc):
3011 Fix windmove-reference-loc miscalculation.
f0960428 3012
dd6f2a63
JB
30132012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3014
3015 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3016 default unit.
3017
7b447e9b
GM
30182012-01-21 Glenn Morris <rgm@gnu.org>
3019
117a9ea1
GM
3020 * international/mule.el (auto-coding-alist): Add .tbz.
3021
7b447e9b
GM
3022 * files.el (local-enable-local-variables): Doc fix.
3023 (inhibit-local-variables-regexps): Rename from
3024 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3025 Doc fix. Add some extensions from auto-coding-alist.
3026 (inhibit-local-variables-suffixes):
3027 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3028 (inhibit-local-variables-p):
3029 New function, extracted from set-auto-mode-1.
3030 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3031 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3032 (hack-local-variables): Doc fix. Make the mode-only case
3033 respect enable-local-variables and friends.
3034 Respect inhibit-local-variables-regexps for file-locals, but
3035 not for directory-locals.
3036 (set-visited-file-name):
3037 Take account of inhibit-local-variables-regexps.
3038 Whether it applies may change as the file name is changed.
3039 * jka-cmpr-hook.el (jka-compr-install):
3040 * jka-compr.el (jka-compr-uninstall):
3041 Update for inhibit-first-line-modes-suffixes name change.
3042
dd6e3cdd
MR
30432012-01-20 Martin Rudalics <rudalics@gmx.at>
3044
3045 * help-macro.el (make-help-screen): Temporarily restore original
3046 binding for minor-mode-map-alist (Bug#10454).
3047
0d0deb38
JD
30482012-01-19 Julien Danjou <julien@danjou.info>
3049
3050 * color.el (color-name-to-rgb): Use the white color to find the max
3051 color component value and return correctly computed values.
3052 (color-name-to-rgb): Add missing float conversion for max value.
3053
34a02f46
MR
30542012-01-19 Martin Rudalics <rudalics@gmx.at>
3055
3056 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3057 special state value for window-persistent-parameters.
3058 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3059 (window--state-put-2): Reset all window parameters to nil before
3060 assigning values of persistent parameters.
3061
606c44c4
AM
30622012-01-18 Alan Mackenzie <acm@muc.de>
3063
3064 Eliminate sluggishness and hangs in fontification of "semicolon
3065 deserts".
3066
cb882333
JB
3067 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3068 Change value 10000 -> 3000.
606c44c4
AM
3069 (c-state-safe-place): Reformulate so it doesn't stack up an
3070 infinite number of wrong entries in c-state-nonlit-pos-cache.
3071 (c-determine-limit-get-base, c-determine-limit): New functions to
3072 determine backward search limits disregarding literals.
3073 (c-find-decl-spots): Amend commenting.
3074 (c-cheap-inside-bracelist-p): New function which detects "={".
3075
3076 * progmodes/cc-fonts.el
3077 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3078 backward search.
3079 (c-font-lock-declarations): Fix an occurrence of point being
3080 undefined. Check additionally for point being in a bracelist or
3081 near a macro invocation without a semicolon so as to avoid a
3082 fruitless time consuming search for a declarator. Give a more
3083 precise search limit for declarators using the new
3084 c-determine-limit.
3085
f3860cea
GM
30862012-01-18 Glenn Morris <rgm@gnu.org>
3087
3088 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3089 (set-auto-mode): Doc fixes.
3090
1db03b16
GM
30912012-01-17 Glenn Morris <rgm@gnu.org>
3092
0e6038be
GM
3093 * isearch.el (search-nonincremental-instead): Fix doc typo.
3094
1db03b16
GM
3095 * dired.el (dired-insert-directory): Handle newlines in directory name.
3096 (dired-build-subdir-alist): Unescape newlines in directory name.
3097
4cb0aa75
MA
30982012-01-17 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3101 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3102 (tramp-action-terminal): Use it. (Bug#10530)
3103
1d00653d
SM
31042012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3107
6a6ee00d
MR
31082012-01-16 Martin Rudalics <rudalics@gmx.at>
3109
3110 * window.el (window-state-ignored-parameters): Remove variable.
3111 (window--state-get-1): Rename argument MARKERS to IGNORE.
3112 Handle persistent window parameters. Make copy of clone-of
3113 parameter only if requested. (Bug#10348)
3114 (window--state-put-2): Install a window parameter only if it has
3115 a non-nil value or an existing parameter shall be overwritten.
3116
97912def
MA
31172012-01-15 Michael Albinus <michael.albinus@gmx.de>
3118
3119 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3120
688070a5
EZ
31212012-01-14 Eli Zaretskii <eliz@gnu.org>
3122
3123 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3124 don't pass the (nil) value of `upnode' to string-match.
3125
301afadc
CY
31262012-01-14 Chong Yidong <cyd@gnu.org>
3127
3128 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3129 Fix values recognized by the cursorBlink resource.
301afadc 3130
9e5788aa
PE
31312012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3132
3133 * epg.el (epg--make-temp-file): Avoid permission race condition
3134 when running on old Emacs versions (bug#10403).
3135
3cdb7f5a
GM
31362012-01-14 Glenn Morris <rgm@gnu.org>
3137
3138 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3139
8c82b1b4
AM
31402012-01-13 Alan Mackenzie <acm@muc.de>
3141
3142 Fix filling for when filladapt mode is enabled.
3143
3144 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3145 c-mask-paragraph, pass in `fill-paragraph' rather than
3146 `fill-region-as-paragraph'. (This is a reversion of a previous
3147 change.)
eb864a71
LM
3148 * progmodes/cc-mode.el (c-basic-common-init):
3149 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3150
e517eda4
GM
31512012-01-13 Glenn Morris <rgm@gnu.org>
3152
1498536e
GM
3153 * dired.el (dired-switches-escape-p): New function.
3154 (dired-insert-directory): Use dired-switches-escape-p.
3155 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3156
e517eda4
GM
3157 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3158
328f984d
GM
31592012-01-12 Glenn Morris <rgm@gnu.org>
3160
3161 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3162 changes in adaptive-fill-regexp. (Bug#10276)
3163
2cc769a8
AM
31642012-01-11 Alan Mackenzie <acm@muc.de>
3165
3166 Fix Emacs bug #10463 - put `widen's around the critical spots.
3167
1d00653d 3168 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3169 widen around each invocation of c-state-pp-to-literal. Remove an
3170 unused let variable.
3171
e52c37fa
GM
31722012-01-11 Glenn Morris <rgm@gnu.org>
3173
3174 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3175 Doc fix.
e52c37fa 3176
96f8741e
CY
31772012-01-10 Chong Yidong <cyd@gnu.org>
3178
1d00653d
SM
3179 * net/network-stream.el (network-stream-open-starttls):
3180 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3181 response to the capability command.
3182
b09a806e
GM
31832012-01-10 Glenn Morris <rgm@gnu.org>
3184
3185 * mail/unrmail.el (unrmail): Tweak previous change.
3186
7655cb66
CY
31872012-01-09 Chong Yidong <cyd@gnu.org>
3188
3189 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3190
9d5a8f0b
AM
31912012-01-08 Alan Mackenzie <acm@muc.de>
3192
3193 Optimise font locking in long enum definitions.
3194
3195 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3196 arm to a cond form to handle enums.
3197 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3198 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3199
9a0115ab 32002012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3201
3202 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3203 (Bug#10401)
6bb72cbd 3204
f186bb95
LMI
32052012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3206
29232a68
LMI
3207 * faces.el (set-face-attribute): Clarify the meaning of the nil
3208 frame (bug#10294).
3209
4e5d086d
LMI
3210 * subr.el (with-selected-frame): Mention that the selected frame
3211 is restored (bug#9980).
3212
8e66aebe
LMI
3213 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3214 (bug#9759).
3215
cd394be1 3216 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3217 (password-read): Don't autoload unused function.
3218
adf4e762
JB
32192012-01-07 Juanma Barranquero <lekktu@gmail.com>
3220
3221 * progmodes/which-func.el (which-func-mode): Turn into a
3222 non-interactive function and mark as obsolete (bug#10428).
3223
89bd9ccd
CY
32242012-01-06 Chong Yidong <cyd@gnu.org>
3225
3226 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3227 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3228 functions, along with 1 and -1.
3229
4afee9d5
EZ
32302012-01-06 Eli Zaretskii <eliz@gnu.org>
3231
3232 * time.el (display-time-load-average)
3233 (display-time-default-load-average): Doc fixes. See the thread
3234 starting at
3235 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3236 for the details.
3237
536aea70
GM
32382012-01-06 Glenn Morris <rgm@gnu.org>
3239
665ae865
GM
3240 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3241 has no messages. (Bug#10377)
3242
c869783d
GM
3243 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3244 than Info-edit. (Bug#10385)
3245
2bb4227e
GM
3246 * time.el (display-time-load-average, display-time-next-load-average):
3247 Doc fixes.
3248
7d5944b9
GM
3249 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3250 local setting of buffer-read-only to the input buffer. (Bug#10419)
3251
536aea70
GM
3252 * calendar/calendar.el (calendar-mode):
3253 Locally set scroll-margin to 0. (Bug#10379)
3254
7dccca16
UM
32552012-01-06 Ulrich Mueller <ulm@gentoo.org>
3256
3257 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3258
afbb7930
GM
32592012-01-05 Glenn Morris <rgm@gnu.org>
3260
3261 * eshell/em-unix.el (diff-no-select): Autoload it.
3262 (eshell/diff): Use diff-no-select. (Bug#10420)
3263
04482335
CY
32642012-01-05 Chong Yidong <cyd@gnu.org>
3265
7baca3bc
CY
3266 * shell.el (shell-dynamic-complete-functions): Revert last change.
3267 (shell-command-completion-function): New function.
3268 (shell-completion-vars): Use it to implement
3269 shell-completion-execonly (Bug#10417).
3270
04482335
CY
3271 * custom.el (enable-theme): Don't set custom-safe-themes.
3272
1d00653d
SM
3273 * cus-theme.el (custom-theme-merge-theme):
3274 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3275
bb5aa5d6
MM
32762012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3277
3278 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3279 first prompt in `sql-interacive-mode'.
3280 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3281 keywords.
6df6ae42 3282 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3283 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3284 context of original buffer. Invoke `sql-login-hook'.
3285
a7183d7c
EZ
32862012-01-04 Eli Zaretskii <eliz@gnu.org>
3287
3288 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3289 letters in cite-prefix.
3290
a1eacd1e
LMI
32912012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3292
3293 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3294
787cdb34
CY
32952012-01-03 Chong Yidong <cyd@gnu.org>
3296
1d00653d
SM
3297 * shell.el (shell-dynamic-complete-functions):
3298 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3299 comint-filename-completion first (Bug#10417).
3300
30710442
RS
33012012-01-02 Richard Stallman <rms@gnu.org>
3302
3303 * battery.el (battery-status-function):
3304 Detect when to use battery-yeeloong-sysfs.
3305 (battery-echo-area-format): Add string for Yeeloong.
3306 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3307 (battery-yeeloong-sysfs): New function.
3308
f75bfc33
CY
33092012-01-02 Chong Yidong <cyd@gnu.org>
3310
3311 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3312 (dirtrack): Merge code for handling relative filenames in prompt
3313 from shell-dir-cookie-watcher.
3314 (dirtrack-debug-message): New arg to avoid excess format calls.
3315
3316 * shell.el (shell-dir-cookie-re): Variable deleted.
3317 (shell-dir-cookie-watcher): Function deleted.
3318 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3319 with dirtrack-mode.
3320
651e947e
EZ
33212012-01-01 Eli Zaretskii <eliz@gnu.org>
3322
1d00653d
SM
3323 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3324 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3325 libgnutls-26.dll.
3326
94d4c7dc
AS
33272011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3328
3329 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3330
8d43f3cd
EZ
33312011-12-31 Eli Zaretskii <eliz@gnu.org>
3332
3333 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3334 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3335
98c8795a
MA
33362011-12-29 Michael Albinus <michael.albinus@gmx.de>
3337
3338 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3339 also for alternative shells.
3340 (tramp-open-connection-setup-interactive-shell): Check, whether
3341 the shell is a busybox.
3342 (tramp-send-command): Don't suppress multiple prompts for
3343 busyboxes, it hurts.
3344
51281b32
CY
33452011-12-28 Chong Yidong <cyd@gnu.org>
3346
3347 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3348 (gdb-get-source-file): Move mode line update to
3349 gdb-get-source-file (Bug#10087).
3350
2170cb53
CY
33512011-12-25 Chong Yidong <cyd@gnu.org>
3352
3353 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3354 gud-gdb-marker-filter without taking it as an argument.
3355 (gud-gdb-run-command-fetch-lines): Caller changed.
3356 (gud-gdb-completion-function): New variable.
3357 (gud-gdb-completion-at-point): Use it.
3358 (gud-gdb-completions-1): Split from gud-gdb-completions.
3359
3360 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3361 function as separate arguments.
3362 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3363 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3364 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3365 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3366 (gdb-stopped, def-gdb-auto-update-trigger)
3367 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3368 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3369 Callers changed.
2170cb53
CY
3370 (gud-gdbmi-completions): New function.
3371 (gdb): Use it for generating the completion table.
3372
be8b11bb
AM
33732011-12-24 Alan Mackenzie <acm@muc.de>
3374
3375 Introduce a mechanism to widen the region used in context font
1d00653d 3376 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3377
1d00653d
SM
3378 * progmodes/cc-langs.el (c-before-font-lock-functions):
3379 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3380 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3381 functions to be run just before context (etc.) font locking.
3382
3383 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3384 New, functionality extracted from
be8b11bb 3385 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3386 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3387 (c-after-change): Set c-in-after-change-fontification.
3388 (c-set-fl-decl-start): Rejig its interface, so it can be called
3389 from both after-change and context fontifying.
b81d40f0
JB
3390 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3391 New functions.
3392 (c-standard-font-lock-fontify-region-function): New variable.
3393 (c-font-lock-fontify-region): New function.
be8b11bb 3394
341cf6ac
JL
33952011-12-24 Juri Linkov <juri@jurta.org>
3396
3397 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3398 (Bug#10348)
3399
bffcee0a
MA
34002011-12-23 Michael Albinus <michael.albinus@gmx.de>
3401
3402 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3403 existence of source file. (Bug#10325)
3404
cb5e207c
AM
34052011-12-23 Alan Mackenzie <acm@muc.de>
3406
3407 Fix unstable fontification inside templates.
3408
b81d40f0
JB
3409 * progmodes/cc-langs.el (c-before-font-lock-functions):
3410 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3411 additionally has c-set-fl-decl-start. The other languages (apart
3412 from AWK) have that as a single entry.
3413
b81d40f0
JB
3414 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3415 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3416 c-set-fl-decl-start.
3417
b81d40f0
JB
3418 * progmodes/cc-mode.el (c-common-init, c-after-change):
3419 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3420 (c-set-fl-decl-start): New function, extracted from
3421 c-font-lock-enclosing-decls and enhanced.
3422
60ff536c
JB
34232011-12-23 Juanma Barranquero <lekktu@gmail.com>
3424
3425 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3426
1c4757d6
JL
34272011-12-22 Juri Linkov <juri@jurta.org>
3428
3429 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3430
d031f2c7
CY
34312011-12-22 Chong Yidong <cyd@gnu.org>
3432
3433 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3434
bace743a
DA
34352011-12-21 Drew Adams <drew.adams@oracle.com>
3436
3437 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3438
728a1f2b
JC
34392011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3440
3441 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3442
0d373f73
TZ
34432011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3444
fec0aaa4
TZ
3445 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3446 highlighting and support. Fix up comments for capitalization.
3447 (cfengine-mode-debug): New var.
3448 (cfengine3-mode): Change the modeline indicator to "CFE3".
3449 (cfengine3-font-lock-keywords): Improve defun highlighting.
3450 (cfengine2-actions): Rename from `cfengine-actions'.
3451 (cfengine2-font-lock-keywords): Rename from
3452 `cfengine-font-lock-keywords'.
3453 (cfengine2-imenu-expression): Rename from
3454 `cfengine-imenu-expression'.
3455 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3456 (cfengine2-beginning-of-defun): Rename from
3457 `cfengine-beginning-of-defun'.
3458 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3459 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3460 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3461 modeline indicator to "CFE2".
3462 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3463 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3464
bc86f573
CY
34652011-12-21 Chong Yidong <cyd@gnu.org>
3466
3467 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3468 filename argument.
3469
d45ba96b
MR
34702011-12-20 Martin Rudalics <rudalics@gmx.at>
3471
3472 * window.el (window-normalize-buffer-to-display): Remove.
3473 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3474
a6198c90
CY
34752011-12-19 Chong Yidong <cyd@gnu.org>
3476
3477 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3478 Don't signal an error in a predicate function; return non-nil.
3479 (vc-dir-mark-file): Move the error here.
3480 (vc-dir-mark-unmark): If acting on the region, keep going if one
3481 of the entries cannot be marked/unmarked.
3482 (vc-dir-mark-all-files): If current entry is a directory, mark
3483 only child files, as documented.
3484
34c5fb55
VB
34852011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3486
3487 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3488 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3489 addition.
3490
c803b2b7
JD
34912011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3492
3493 * term/ns-win.el (ns-get-selection-internal)
3494 (ns-store-selection-internal): Declare.
1154d12e
JB
3495 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3496 Declare as obsolete.
3497 (ns-get-pasteboard, ns-paste-secondary):
3498 Use ns-get-selection-internal.
3499 (ns-set-pasteboard, ns-copy-including-secondary):
3500 Use ns-store-selection-internal.
c803b2b7 3501
9cff91f8 35022011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3503
3504 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3505 (vc-deduce-fileset): Doc fix.
99a289d9 3506
f16c898a
AS
35072011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3508
3509 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3510
763237c4
SS
35112011-12-13 Sam Steingold <sds@gnu.org>
3512
3513 * man.el (Man-getpage-in-background): When running under a
3514 window-system, ignore $MANWIDTH and $COLUMNS.
3515
5fc1c122
KH
35162011-12-15 Kenichi Handa <handa@m17n.org>
3517
3518 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3519 (setup-ethiopic-environment-internal): Comment out key-binding for
3520 ethio-toggle-punctuation.
3521
13d49cbb
AM
35222011-12-13 Alan Mackenzie <acm@muc.de>
3523
898169a2
AM
3524 Add the switch statement to AWK Mode.
3525
7a71b18d 3526 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3527 "default" to the keywords regexp.
3528
7a71b18d 3529 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3530 expression as the rest.
1d00653d
SM
3531 (c-nonlabel-token-key): Allow string literals for AWK.
3532 Refactor for the other modes.
898169a2 3533
13d49cbb 3534 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3535 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3536 routines. Limit backward searching in c-font-lock-enclosing.decl.
3537
3538 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3539 pp-state and literal type in addition to the limits.
1d00653d 3540 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3541 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3542 (c-slow-in-literal, c-fast-in-literal): Remove.
3543 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3544
3545 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3546 being in a literal. Add a limit for backward searching.
3547
3548 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3549 c-slow-in-literal.
3550
15e0efc7
SM
35512011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3554
454592a6
MR
35552011-12-13 Martin Rudalics <rudalics@gmx.at>
3556
3557 * window.el (delete-other-windows): Use correct frame in call to
3558 window-with-parameter.
3559
87393f26
DP
35602011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3561
3562 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3563 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3564 (makefile-gmake-statements, makefile-makepp-statements):
3565 Use it and add new makepp keywords.
3566 (makefile-makepp-font-lock-keywords): Add new patterns.
3567 (makefile-match-function-end): Match new [...] and [[...]].
3568
11636b22
JB
35692011-12-11 Juanma Barranquero <lekktu@gmail.com>
3570
3571 * ses.el (ses-call-printer-return, ses-cell-property-get)
3572 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3573 (ses-create-cell-variable, ses-reset-header-string)
3574 (ses-cell-set-formula, ses-repair-cell-reference-all)
3575 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3576 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3577 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3578 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3579 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3580 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3581 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3582 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3583 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3584 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3585 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3586 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3587
cf018193
VB
35882011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3589
3590 * ses.el: The overall change is to add cell renaming, that is
3591 setting fancy names for cell symbols other than name matching
3592 "\\`[A-Z]+[0-9]+\\'" regexp .
3593 (ses-create-cell-variable): New defun.
3594 (ses-relocate-formula): Relocate formulas only for cells the
3595 symbols of which are not renamed, i.e. symbols whose names do not
3596 match regexp "\\`[A-Z]+[0-9]+\\'".
3597 (ses-relocate-all): Relocate values only for cells the symbols of
3598 which are not renamed.
3599 (ses-load): Create cells variables as the (ses-cell ...) are read,
3600 in order to check row col consistency with cell symbol name only
3601 for cells that are not renamed.
3602 (ses-replace-name-in-formula): New defun.
3603 (ses-rename-cell): New defun.
3604
ee957461
CY
36052011-12-11 Chong Yidong <cyd@gnu.org>
3606
3607 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3608 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3609
9a9e9ef0
MR
36102011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3611
3612 * window.el (other-window): Fix docstring.
3613
92a8eba5
EZ
36142011-12-10 Eli Zaretskii <eliz@gnu.org>
3615
3616 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3617 `from' or `to' address before taking its substring.
3618 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3619 encoded name is chopped in the middle of the encoded string, and
3620 thus displayed encoded.
3621
e152e577
JB
36222011-12-10 Juanma Barranquero <lekktu@gmail.com>
3623
3624 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3625
e5d84bfe
EZ
36262011-12-10 Eli Zaretskii <eliz@gnu.org>
3627
3628 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3629 to use texinfo-update-node and commands that call it if the
3630 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3631 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3632 (texinfo-all-menus-update, texinfo-master-menu)
3633 (texinfo-update-node, texinfo-every-node-update)
3634 (texinfo-multiple-files-update): Doc fix. Warn against updating
3635 all the @node lines.
3636 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3637 argument is numeric. Explain better in the doc string what the
3638 function really does.
3639 (texinfo-insert-master-menu-list): Improve the error message
3640 displayed if there's no menu in the Top node.
3641 (Bug#2975) See also this thread:
e5d84bfe
EZ
3642 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3643
1d84e9bb
MG
36442011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3645
3646 * speedbar.el (speedbar-supported-extension-expressions):
3647 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3648
382c953b
JB
36492011-12-09 Juanma Barranquero <lekktu@gmail.com>
3650
3651 * printing.el (pr-mode-alist):
3652 * simple.el (filter-buffer-substring-functions)
3653 (completion-list-insert-choice-function):
3654 * window.el (window-with-parameter, window-atom-root)
3655 (window-sides-slots, window-size-fixed, window-min-delta)
3656 (window-max-delta, window--resize-mini-window)
3657 (window--resize-child-windows-normal, window-tree)
3658 (delete-other-windows, quit-window, split-window)
3659 (display-buffer-record-window, special-display-buffer-names)
3660 (special-display-regexps, special-display-popup-frame)
3661 (same-window-p, split-window-sensibly)
3662 (display-buffer-overriding-action, display-buffer-alist)
3663 (display-buffer-base-action, display-buffer, switch-to-buffer)
3664 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3665 (fit-window-to-buffer, recenter-positions)
3666 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3667 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3668 and remove unneeded backslashes in docstrings.
3669
39c9faef
SM
36702011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3671
98449af8
SM
3672 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3673
39c9faef
SM
3674 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3675 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3676 end in ".mk".
3677 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3678 when reading the makefile (bug#10116).
3679
86ed9fdc
SM
36802011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3681
3682 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3683 (bug#10116).
3684
5580f89d
GM
36852011-12-06 Glenn Morris <rgm@gnu.org>
3686
3687 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3688
28d3917c
CY
36892011-12-06 Chong Yidong <cyd@gnu.org>
3690
3691 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3692
a98edce9
JB
36932011-12-06 Juanma Barranquero <lekktu@gmail.com>
3694
3695 * textmodes/table.el (table-shorten-cell): Fix typo.
3696
e65adfac
CG
36972011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3698
3699 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3700
71cc0b74
EZ
37012011-12-05 Eli Zaretskii <eliz@gnu.org>
3702
3703 * descr-text.el (describe-char): Fix display of strong
3704 right-to-left characters and directional embeddings and overrides.
3705
3706 * simple.el (what-cursor-position): Fix display of codepoints of
3707 strong right-to-left characters.
3708
315bc30d
CY
37092011-12-05 Chong Yidong <cyd@gnu.org>
3710
3711 * faces.el (read-color): Doc fix.
3712
58a70b94
GM
37132011-12-05 Glenn Morris <rgm@gnu.org>
3714
3715 * align.el (align--set-marker): Add doc-string.
3716 Don't try to move something that is not a marker. (Bug#10216)
3717
5158face
GM
37182011-12-04 Glenn Morris <rgm@gnu.org>
3719
3720 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3721 overly zealous deletion of trailing whitespace.
3722
520fca41
JB
37232011-12-04 Juanma Barranquero <lekktu@gmail.com>
3724
3725 * server.el (server-delete-client): On Windows, do not try to delete
3726 the only terminal.
3727 (server-process-filter): On Windows, treat requests for a tty frame as
3728 if they were for a GUI frame if the running server is in GUI mode.
3729
5e605a2e
GM
37302011-12-03 Glenn Morris <rgm@gnu.org>
3731
3732 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3733
5c3fe83f
SM
37342011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3735
6f5e57e7
SM
3736 * electric.el: Streamline electric-indent's hook.
3737 (electric-indent-chars): Revert to simple list.
3738 (electric-indent-functions): New var.
3739 (electric-indent-post-self-insert-function): Use it.
3740
5c3fe83f
SM
3741 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3742 there's no inferior buffer (bug#10196).
3743 (prolog-consult-compile): Don't use toggle-read-only.
3744
6bdac736
MA
37452011-12-02 Michael Albinus <michael.albinus@gmx.de>
3746
3747 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3748 interrupt. (Bug#10187)
3749
6131ba7f
SM
37502011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3751
99c79fee
SM
3752 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3753 (bug#9160).
3754
6131ba7f
SM
3755 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3756 (bug#10191).
3757
cb0a02ea
JL
37582011-12-02 Juri Linkov <juri@jurta.org>
3759
3760 * info.el (Info-search): Display "end of manual" when Isearch
3761 reaches the end of single-file Info manual. (Bug#9918)
3762
66e0570c
EZ
37632011-12-02 Eli Zaretskii <eliz@gnu.org>
3764
3765 * isearch.el (isearch-message-prefix): Run the input method part
3766 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3767
02b16839
JL
37682011-12-02 Juri Linkov <juri@jurta.org>
3769
3770 * isearch.el (isearch-occur): Use `word-search-regexp' for
3771 `isearch-word'.
3772 (isearch-search-and-update): Add condition for `isearch-word' and
3773 call `word-search-regexp'. (Bug#10145)
3774
0b950688
GM
37752011-12-01 Glenn Morris <rgm@gnu.org>
3776
3777 * eshell/em-hist.el (eshell-hist-initialize):
3778 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3779 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3780
9505c3c7
SM
37812011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3784
1bbe96b2 37852011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3786
a1beca85
SM
3787 * progmodes/verilog-mode.el (verilog-pretty-expr):
3788 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3789 verilog, such as += *= and the like.
3790 (verilog-assignment-operator-re): Regular expression to find the
3791 assigment operator in a verilog assignment.
3792 (verilog-assignment-operation-re): Regular expression to find an
3793 assignment statement for pretty-expr.
3794 (verilog-in-attribute-p): Query returns true if point is in an
3795 attribute context; used to skip these for expression line up from
3796 pretty-expr.
3797 (verilog-in-parameter-p): Query returns true if point is in an
3798 parameter definition context; used to skip these for expression
3799 line up from pretty-expr.
3800 (verilog-in-parenthesis-p): Query returns true if point is in a
3801 parenthetical expression, specifically ( ) but not [ ] or { };
3802 used by pretty-expr.
3803 (verilog-just-one-space): If there is no space, don't add one.
3804 (verilog-get-lineup-indent-2): Specifically skip just attribute
3805 contexts for expression lineup, rather than skipping all
3806 parenthetical expressions.
3807 (verilog-calculate-indent): Fix comment, and fix indent.
3808 (verilog-do-indent): Indent declarations in lists (suggested by
3809 Joachim Lechner).
3810 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3811 skeleton items.
3812 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3813 by Alain Mellan).
3814
1bbe96b2 38152011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3816
3817 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3818 parameters with embedded comments. Reported by Ray Stevens.
3819 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3820 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3821 Reported by Tim Holt.
3822 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3823 instantiated by upper module causing wrong expansion until AUTOed a
3824 second time. Reported by K C Buckenmaier.
3825 (verilog-diff-auto): Fix showing .* as a difference when
3826 `verilog-auto-star-save' off. Reported by Dan Dever.
3827 (verilog-auto-reset, verilog-read-always-signals)
3828 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3829 temporary signals in reset list if
3830 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3831 style to each signal's assignment type, bug381.
3832 Reported by Thomas Esposito.
6288f0ca
WS
3833 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3834 (verilog-uvm-statement-re): Support UVM indentation and
3835 highlighting, with old OVM keywords only.
a1beca85 3836 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3837 Support AUTOTIEOFF creating non-wire data types.
3838 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3839 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3840 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3841 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3842 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3843 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3844 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3845 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3846 non-numeric vector width. Reported by Alex Reed.
3847 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3848 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3849 (verilog-auto-delete-trailing-whitespace):
3850 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3851 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3852 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3853 Fix verilog-scan-cache corruption when running user AUTO expansion
3854 hooks that call indentation routines.
3855 (verilog-simplify-range-expression): Fix typo ignoring lower case
3856 identifiers.
3857 (verilog-delete-auto): Fix delete-autos to also remove user created
3858 automatics, as long as they start with AUTO.
3859 (verilog-batch-diff-auto, verilog-diff-auto)
3860 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3861 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3862 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3863 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3864 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3865 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3866 is disabled and its cache will get corrupt, causing AUTOS not to
3867 expand. Instead use only -quick functions.
3868 (verilog-scan-region): Fix scanning over escaped quotes.
3869 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3870 (verilog-re-search-backward-quick)
3871 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3872 related functions now ignore strings, to fix misparsing of strings
3873 with magic comments embedded in them.
a1beca85
SM
3874 (verilog-read-auto-template):
3875 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3876 Reported by Brad Dobbie.
3877 (verilog-read-auto-template):
3878 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3879 Reported by Brad Dobbie.
6288f0ca
WS
3880 (verilog-auto-inst, verilog-auto-inst-param)
3881 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3882 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3883 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3884 debugging templates without merge conflicts, bug357.
3885 Reported by Brad Dobbie.
3886 (verilog-read-auto-template):
3887 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3888 Reported by Brad Dobbie.
3889 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3890 abbrevs so user won't be asked to save.
3891 (verilog-read-auto-lisp-present): Fix to start at beginning of
3892 buffer in case called outside of verilog-auto.
3893 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3894 to "X-2". Reported by Matthew Myers.
3895 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3896 all inputs from module templates. Reported by Leith Johnson.
3897 (verilog-module-inside-filename-p): Fix locating programs as with
3898 modules.
3899 (verilog-auto-inst-port): Fix vl-width expressions when using
3900 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3901 (verilog-decls-get-regs, verilog-decls-get-signals,
3902 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3903 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3904 verilog-read-decls): Combine reg and wire structures into one var
3905 structure to represent SystemVerilog concepts.
3906 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3907 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3908 (verilog-auto-wire-type, verilog-insert-definition):
3909 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3910 SystemVerilog "logic" keyword instead of "wire"/"reg".
3911 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3912 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3913 ifdef or generate if so there's not a driver conflict).
3914 Reported by Matthew Myers.
3915 (verilog-auto-declare-nettype, verilog-insert-definition):
3916 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3917 `default_nettype none. Reported by Julian Gorfajn.
3918 (verilog-read-always-signals-recurse, verilog-read-decls)
3919 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3920 malformed end statement, bug325. Reported by Joshua Wise and
3921 Andrew Drake.
3922 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3923 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3924 when expanding .* in interfaces, bug320.
3925 Reported by Pierre-David Pfister.
6288f0ca 3926 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3927 name and open parenthesis, bug317.
3928 Reported by Pierre-David Pfister.
6288f0ca
WS
3929 (verilog-simplify-range-expression): Fix simplification of
3930 multiplications inside AUTOWIRE connections, bug303.
3931 (verilog-auto-inst-port): Support parameter expansion in
3932 multidimensional arrays.
3933 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3934 after "assert property". Reported by Julian Gorfajn.
3935 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3936 with multiplication, bug303.
3937 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3938 Reported by Jan Frode Lonnum.
3939
1bbe96b2
GM
39402011-11-30 Juanma Barranquero <lekktu@gmail.com>
3941
3942 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3943 (hfy-shell-file-name, hfy-shell):
3944 * international/fontset.el (x-decompose-font-name): Fix typos.
3945
39462011-11-29 Ken Brown <kbrown@cornell.edu>
3947
3948 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3949 (gdb-version): Remove defvar.
3950 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3951 (gdb-gud-context-command, gdb-non-stop-handler)
3952 (gdb-current-context-command, gdb-stopped): Use it.
3953 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3954 (gdb-non-stop-handler): Don't enable pretty-printing here.
3955 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3956 non-stop mode. Use the following.
3957 (gdb-check-target-async): New defun.
3958 (gud-watch, gdb-stopped): Fix whitespace.
3959 (gdb-get-source-file): Don't try to display the source file if
3960 `gdb-main-file' is nil.
3961
39622011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * align.el: Try to generate fewer markers (bug#10047).
3965 (align--set-marker): New macro.
3966 (align-region): Use it.
3967
c935221f
SM
39682011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3969
3970 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3971
e70b5064
CY
39722011-11-29 Chong Yidong <cyd@gnu.org>
3973
3974 * indent.el (indent-for-tab-command, indent-according-to-mode):
3975 Doc fix.
3976 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3977
f3af92b7
MA
39782011-11-29 Michael Albinus <michael.albinus@gmx.de>
3979
3980 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3981 aware of remote file names. (Bug#10124)
3982
ed472be9
CY
39832011-11-29 Chong Yidong <cyd@gnu.org>
3984
3985 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3986
24510c22
SM
39872011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * files.el (find-file): Don't use force-same-window (bug#10144).
3990 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3991 use pop-to-buffer if the selected window can't be used.
3992 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3993
c60c3703
EZ
39942011-11-28 Eli Zaretskii <eliz@gnu.org>
3995
3996 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3997 special-mode-map.
3998
e95def75
CY
39992011-11-28 Chong Yidong <cyd@gnu.org>
4000
4001 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4002
c3f1c606
NR
40032011-11-27 Nick Roberts <nickrob@snap.net.nz>
4004
4005 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4006 gdb-get-source-file-list on gdb-create-source-file-list.
4007
00db469c
EZ
40082011-11-26 Eli Zaretskii <eliz@gnu.org>
4009
4010 * whitespace.el (whitespace-newline): Use a different foreground
4011 color for 16-color light-background displays.
4012
4ad3bc2a
CY
40132011-11-24 Chong Yidong <cyd@gnu.org>
4014
4015 * window.el (display-buffer--special-action): Doc fix.
4016
e9fce1ac
JB
40172011-11-25 Juanma Barranquero <lekktu@gmail.com>
4018
4019 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4020 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4021 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4022 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4023 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4024 (avl-tree-stack-first):
4025 * emacs-lisp/cconv.el (cconv--analyse-use):
4026 * net/gnutls.el (gnutls-negotiate): Fix typos.
4027
cb825e5d
GM
40282011-11-24 Glenn Morris <rgm@gnu.org>
4029
3adbe224
GM
4030 * lpr.el (lpr-windows-system, lpr-lp-system):
4031 * mail/binhex.el (binhex-begin-line):
4032 * progmodes/grep.el (grep-history, grep-find-history):
4033 * textmodes/flyspell.el:
4034 * vc/pcvs-defs.el (cvs-global-menu):
4035 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4036 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4037 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4038
321decc8
GM
4039 * net/tls.el: Fix case of "GnuTLS".
4040
420b63ad
GM
4041 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4042
cb825e5d
GM
4043 * version.el (emacs-build-system): Give it a doc-string.
4044
a0649f08
JL
40452011-11-24 Juri Linkov <juri@jurta.org>
4046
4047 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4048
c0bc0fd4
GM
40492011-11-24 Glenn Morris <rgm@gnu.org>
4050
4051 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4052 if called on a non-mime message just toggle the headers. (Bug#8006)
4053
20db1522
JB
40542011-11-24 Juanma Barranquero <lekktu@gmail.com>
4055
4056 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4057 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4058 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4059 (allout-rebullet-heading, allout-open-sibtopic)
4060 (allout-toggle-current-subtree-encryption)
4061 (allout-toggle-subtree-encryption, allout-encrypt-string)
4062 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4063 (allout-distinctive-bullets-string, allout-auto-activation):
4064 * window.el (window-normalize-buffer-to-display):
4065 * progmodes/verilog-mode.el (verilog-batch-indent):
4066 * textmodes/bibtex.el (bibtex-field-braces-opt)
4067 (bibtex-field-strings-opt):
4068 * vc/cvs-status.el (cvs-tree-merge):
4069 Fix typos.
4070
7262a87c
MA
40712011-11-23 Michael Albinus <michael.albinus@gmx.de>
4072
4073 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4074 `non-essential' to t, in order to avoid remote connections.
4075
283430a1
EZ
40762011-11-23 Eli Zaretskii <eliz@gnu.org>
4077
a1beca85
SM
4078 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4079 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4080 case-insensitively.
4081
d2992a38
ML
40822011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4083
4084 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4085
50419064
GM
40862011-11-23 Glenn Morris <rgm@gnu.org>
4087
da94eca1
GM
4088 * paths.el (rmail-file-name): Reformat the doc-string so that it
4089 is picked up.
4090
9aac4de2
GM
4091 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4092 (rmail-auto-file): Ignore case in the "special" field names,
4093 as mail-fetch-field does for all others.
4094
8038d2d2
GM
4095 * mail/rmail.el (rmail-forward):
4096 * mail/rmailkwd.el (rmail-set-label):
4097 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4098 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4099
f3fe222a
GM
4100 * mail/rmail.el (rmail-current-message): Doc fix.
4101
50419064
GM
4102 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4103
28109f49
SM
41042011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4107
394c65f1
GM
41082011-11-22 Glenn Morris <rgm@gnu.org>
4109
4110 * mail/rmailmm.el (test-rmail-mime-handler)
4111 (test-rmail-mime-bulk-handler)
4112 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4113
f2a0aa3a
JL
41142011-11-21 Juri Linkov <juri@jurta.org>
4115
1154d12e
JB
4116 * calc/calc.el (calc-read-key-sequence):
4117 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4118
9c34a344
LMI
41192011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4120
4121 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4122 Tell the caller that the next line needs recomputation, even
4123 though it doesn't start a sexp (bug#10094).
4124
f04a3be9
SM
41252011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4128
7978747f
SM
41292011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4130
f04a3be9
SM
4131 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4132 Use force-same-window.
7978747f 4133
fe7a3057
JB
41342011-11-20 Juanma Barranquero <lekktu@gmail.com>
4135
4136 * descr-text.el (describe-char-unicode-data):
4137 * json.el (json-string-escape):
4138 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4139 (Footnote-unicode, Footnote-style-p):
4140 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4141
24901d61
CY
41422011-11-20 Chong Yidong <cyd@gnu.org>
4143
4144 * window.el (replace-buffer-in-windows): Restore interactive spec.
4145
bac7ff22
SM
41462011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4147
24f3d7b9
SM
4148 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4149
bac7ff22
SM
4150 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4151 (byte-compile-global-not-obsolete-vars): New var.
4152 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4153 Use it.
4154 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4155
cd1181db
JB
41562011-11-20 Juanma Barranquero <lekktu@gmail.com>
4157
4158 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4159 * progmodes/pascal.el (electric-pascal-equal):
4160 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4161 * xml.el (xml-substitute-special): Fix typos.
4162
7fb18e9e
GM
41632011-11-20 Glenn Morris <rgm@gnu.org>
4164
4165 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4166 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4167 Doc fixes.
4168 (rmail-decode-mime-charset): Mark as obsolete.
4169
4170 * mail/rmailsum.el (rmail-message-regexp-p-1):
4171 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4172 Before using mime functions, check they are set. (Bug#10077)
4173
d5a6b3ba
JL
41742011-11-19 Juri Linkov <juri@jurta.org>
4175
4176 * info.el (Info-finder-find-node): Use `package--builtins' instead
4177 of `package-alist'. Use node names formed by the pattern "Keyword "
4178 and the keyword name.
4179
e981b61f
AS
41802011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4181
1d00653d 4182 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4183
3ffbc301
JL
41842011-11-19 Juri Linkov <juri@jurta.org>
4185
4186 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4187 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4188 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4189 `old-history', `old-history-forward'. Add let-binding
4190 `window-selected'. Remove calls to `kill-buffer',
4191 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4192 before calling `Info-find-node', so `Info-find-node-2' will reread
4193 the Info file. Restore window positions only when `window-selected'
4194 is non-nil.
4195
30c62133
JL
41962011-11-19 Juri Linkov <juri@jurta.org>
4197
4198 * isearch.el (isearch-lazy-highlight-new-loop):
4199 Remove condition `(not isearch-error)'. (Bug#9918)
4200
4201 * misearch.el (multi-isearch-search-fun): Add condition
4202 `(not bound)' to ignore lazy-highlighting search.
4203 Add the search-failed message "end of multi" when the end of
4204 multi-sequence is reached. Uncapitalize the search-failed
4205 message "Repeat for next buffer".
4206
4207 * info.el (Info-search): Add the search-failed message
4208 "end of the manual" when the end of the manual is reached
4209 in Isearch mode.
4210
645ca9cf
JL
42112011-11-19 Juri Linkov <juri@jurta.org>
4212
4213 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4214 Use non-destructive `remove' instead of `delete' because
4215 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4216 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4217
df754f66
JL
42182011-11-19 Juri Linkov <juri@jurta.org>
4219
4220 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4221 to nil instead of binding `search-ring' and `regexp-search-ring'.
4222 (Bug#9185)
4223
0e23d96a
EZ
42242011-11-19 Eli Zaretskii <eliz@gnu.org>
4225
4226 * simple.el (line-move): Force movement by logical lines for any
4227 hscrolled window, not only when auto-hscroll-mode is on.
4228 (line-move-visual): Update doc string to that effect. (Bug#10076)
4229
8a6ccb66
AS
42302011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4231
4232 * language/european.el (macintosh): Define as alias for mac-roman.
4233
49ae5b39
EZ
42342011-11-19 Eli Zaretskii <eliz@gnu.org>
4235
4236 * mail/rmailmm.el (rmail-mime-display-header)
4237 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4238 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4239 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4240 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4241 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4242 of a raw aref.
4243 (rmail-mime-entity-segment): To get past the tagline, move forward
4244 2 more lines, to account for the 2 empty lines that precede and
4245 follow the line with the buttons.
4246 (rmail-mime-update-tagline): Move one more line, to get past the
4247 empty line that follows the buttons in the tagline. (Bug#9520)
4248
c56cad4a
MR
42492011-11-19 Martin Rudalics <rudalics@gmx.at>
4250
4251 * window.el (window-max-delta-1, window-min-delta-1)
4252 (window-min-size-1, window-state-get-1, window-state-put-1)
4253 (window-state-put-2): Use "window--" prefix.
4254
cbe71af3
SM
42552011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4256
2ad52c60
SM
4257 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4258 (smie-warning-count): New var.
4259 (smie-set-prec2tab): Use it.
4260 (smie-bnf->prec2): Improve warnings. Add docstring.
4261 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4262 (smie-bnf--set-class): New function.
4263 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4264 corner case.
4265
6944dbc1
SM
4266 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4267 (compilation-error-properties, compilation-move-to-column):
4268 Handle compilation-first-column while in the target buffer.
4269
c400c4d7
SM
4270 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4271 Don't hardcode point-min==1.
4272
6dbe3e96
SM
4273 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4274 (eshell-rewrite-for-command): Remove workaround.
4275 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4276 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4277 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4278
cbe71af3
SM
4279 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4280
a8e1496d
GM
42812011-11-17 Glenn Morris <rgm@gnu.org>
4282
4283 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4284 Ignore buffer-local generated-autoload-file if it is the same
4285 as the global value. (Bug#10049)
4286
df85d315
JB
42872011-11-17 Juanma Barranquero <lekktu@gmail.com>
4288
4289 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4290 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4291 (reftex-toc-previous-heading, reftex-toc-max-level)
4292 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4293 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4294 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4295 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4296 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4297 (reftex-toc-rename-label, reftex-toc-visit-location)
4298 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4299 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4300 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4301 leaving "*toc*" only for references to the buffer.
4302
a0c2d0ae
MR
43032011-11-17 Martin Rudalics <rudalics@gmx.at>
4304
4305 * window.el (window-resize, delete-window, split-window):
4306 Replace window-splits by window-combination-resize.
1d00653d 4307 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4308
35c0bac8
GM
43092011-11-17 Glenn Morris <rgm@gnu.org>
4310
4311 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4312 Make bash entry derive from sh entry, not shell entry.
4313
d0c8fc8a
MA
43142011-11-16 Michael Albinus <michael.albinus@gmx.de>
4315
d0c8fc8a
MA
4316 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4317 properties of linked files. (Bug#9879)
4318
7262a87c
MA
4319 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4320 local file name.
4321
7877f373
JB
43222011-11-16 Juanma Barranquero <lekktu@gmail.com>
4323
4324 * menu-bar.el (menu-bar-file-menu):
4325 * printing.el (pr-ps-utility):
4326 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4327 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4328 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4329 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4330 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4331 (icalendar--convert-cyclic-to-ical)
4332 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4333 (icalendar--convert-ical-to-diary)
4334 (icalendar--convert-recurring-to-diary)
4335 (icalendar--convert-non-recurring-all-day-to-diary)
4336 (icalendar-import-format-sample):
4337 * progmodes/idlw-shell.el (idlwave-shell-mode):
4338 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4339 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4340 (vhdl-ps-print-init): Fix typos.
4341
10649b82
KM
43422011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4343
9d0cfcd6
GM
4344 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4345 FSF and collapse date sequence, obscure author/maintainer email address
4346 better, remove extra version line, track relocation of author's webpage.
10649b82 4347
9d0cfcd6
GM
4348 * progmodes/python.el (python-pdbtrack-input-prompt)
4349 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4350 regular python pdb prompts. Adjustments shamelessly taken exactly as
4351 suggested in EmacsWiki page (tiny change):
4352 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4353
58179cce
JB
43542011-11-16 Juanma Barranquero <lekktu@gmail.com>
4355
4356 * expand.el (expand-pos, expand-index, expand-point):
4357 Remove redundant info from docstring.
4358 (expand-add-abbrevs): Doc fix.
4359 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4360 (expand-sample-perl-mode-expand-list): Fix typos.
4361
4362 * net/dbus.el (dbus-event-member-name):
4363 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4364 * term/pc-win.el (msdos-create-frame-with-faces):
4365 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4366
b6f67890
MR
43672011-11-16 Martin Rudalics <rudalics@gmx.at>
4368
4369 * window.el (split-window, window-state-get-1)
4370 (window-state-put-1, window-state-put-2): Rename occurrences of
4371 window-nest to window-combination-limit.
1d00653d 4372 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4373
ce7ddba0
CY
43742011-11-16 Chong Yidong <cyd@gnu.org>
4375
4376 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4377 regexp (Bug#10033).
4378
3ae704f4
SM
43792011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4382 `completing-read' will remove *Completions* and will preserve
4383 current-buffer for us.
4384 (tmm-add-prompt): Users of *Completions* will always (re)set its
4385 major mode.
4386 (tmm-old-comp-map): Remove.
4387
6ad1cdde
GM
43882011-11-16 Glenn Morris <rgm@gnu.org>
4389
4390 * mail/rmailedit.el: Require rmailmm when compiling.
4391 (rmail-old-mime-state): New declaration.
4392 (rmail-edit-current-message): If editing a mime message,
4393 edit the "raw" message from the mbox buffer.
4394 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4395
d20faa20
GM
43962011-11-15 Glenn Morris <rgm@gnu.org>
4397
4398 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4399 which wasn't being used. Add optional arg to force given state.
4400 (rmail-mime): Add optional arg to force given state.
4401
c7015153
JB
44022011-11-15 Juanma Barranquero <lekktu@gmail.com>
4403
4404 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4405 * frame.el (display-mm-dimensions-alist):
4406 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4407 (outline-move-subtree-down):
4408 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4409 (newsticker--treeview-do-get-node):
4410 * net/quickurl.el (quickurl-list-buffer-name):
4411 * progmodes/dcl-mode.el (dcl-mode):
4412 * progmodes/gdb-mi.el (gdb-mapcar*):
4413 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4414
45261b50
GM
44152011-11-15 Glenn Morris <rgm@gnu.org>
4416
4417 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4418 in a boolean sense, so just make it a boolean, and fix the doc.
4419 (rmail-show-mime-function, rmail-mime-feature)
4420 (rmail-require-mime-maybe): Doc fixes.
4421 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4422
4423 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4424
0d26e0b6
JB
44252011-11-15 Juanma Barranquero <lekktu@gmail.com>
4426
4427 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4428 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4429 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4430 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4431
447f30f6
GM
44322011-11-15 Glenn Morris <rgm@gnu.org>
4433
672b871d
GM
4434 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4435 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4436 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4437 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4438 (rmail-mime, rmail-show-mime): Doc fixes.
4439
f6aa5bb1
GM
4440 * term/ns-win.el (mode-line-frame-identification):
4441 Leave it alone. (Bug#10051)
4442
947cd66b
GM
4443 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4444
447f30f6
GM
4445 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4446 Handle empty buffers. (Bug#9978)
4447
0b381c7e
JB
44482011-11-14 Juanma Barranquero <lekktu@gmail.com>
4449
4450 * international/mule.el (define-charset):
4451 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4452 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4453 * progmodes/verilog-mode.el (verilog-backward-token):
4454 * textmodes/ispell.el (lookup-words):
4455 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4456
71e027ac
GM
44572011-11-14 Glenn Morris <rgm@gnu.org>
4458
56632ce4
GM
4459 * progmodes/executable.el
4460 (executable-make-buffer-file-executable-if-script-p):
4461 Handle file-modes returning nil.
4462
40500957
GM
4463 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4464 message - not necessary, and causes problems. (Bug#9831)
4465
071c2340
GM
4466 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4467
d3cfca60
GM
4468 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4469
71e027ac
GM
4470 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4471 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4472 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4473
89d61221
MR
44742011-11-12 Martin Rudalics <rudalics@gmx.at>
4475
4476 * window.el (window-resize, delete-window): Use window-splits
4477 variable instead of function.
4478 (window-state-get-1, window-state-put-2, window-state-put):
4479 Don't deal with windows' splits status.
4480
98282f6f
GM
44812011-11-12 Glenn Morris <rgm@gnu.org>
4482
4483 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4484 (apropos-documentation): Doc fixes.
4485
40a8bdf6
JB
44862011-11-11 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4489 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4490
65bd19ff
SM
44912011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * electric.el (electric-indent-post-self-insert-function): Make it
4494 possible for a char to only indent in some circumstances.
4495 (electric-indent-mode): Simplify.
4496
54f9154c
MR
44972011-11-11 Martin Rudalics <rudalics@gmx.at>
4498
4499 * window.el (windows-with-parameter): Remove unused function.
4500 (windows-at-side): Rename to window-at-side-list.
4501 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4502 (window-side-check, window-size-ignore, window-size-fixed-1)
4503 (window-in-direction-2): Prefix with "window--".
4504 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4505
68cbc58b
GM
45062011-11-11 Glenn Morris <rgm@gnu.org>
4507
4508 * subr.el (eval-after-load): If FILE is already loaded,
4509 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4510
b2621720
GM
45112011-11-10 Glenn Morris <rgm@gnu.org>
4512
9a4de110
GM
4513 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4514 Call svn via vc-svn-command rather than vc-do-command.
4515 (vc-svn-command): Add --non-interactive. (Bug#9993)
4516 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4517
b2621720
GM
4518 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4519 Add toggle-read-only. (Bug#7292)
4520 * files.el (toggle-read-only): Mention that it should only
4521 be used interactively. (Bug#10006)
4522
1dce7193
SM
45232011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4524
d9ac1a1e
SM
4525 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4526 Adjust regexp for OCaml warnings.
4527
0c325082
SM
4528 * electric.el (electric-pair-post-self-insert-function): Let user
4529 turn it off buffer-locally (bug#9932).
4530
90132c14
SM
4531 * progmodes/python.el (python-beginning-of-statement):
4532 Rewrite (bug#2703).
4533
1dce7193
SM
4534 * progmodes/compile.el: Better handle TABs (bug#9749).
4535 (compilation-internal-error-properties)
4536 (compilation-next-error-function): Obey the target buffer's
4537 compilation-error-screen-columns.
4538
c4e7c63a
JB
45392011-11-09 Juanma Barranquero <lekktu@gmail.com>
4540
4541 * progmodes/meta-mode.el: Remove obsolete comments.
4542 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4543 Fix typos in docstrings.
4544
2cffd681
MR
45452011-11-09 Martin Rudalics <rudalics@gmx.at>
4546
4547 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4548 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4549 (window--resizable): New function. Make all callers of
4550 window-resizable call window--resizable instead.
4551 (window-resizable): Rewrite in terms of window--resizable.
4552
0edcba87
GM
45532011-11-08 Glenn Morris <rgm@gnu.org>
4554
4555 * progmodes/delphi.el (delphi-mode-syntax-table):
4556 Let define-derived-mode define a proper syntax table. (Bug#9994)
4557
4b0d61e3
SM
45582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * window.el: Stay away from defsubst.
4561 (window-list-no-nils): Remove.
4562 (window-state-get-1, window-state-get): Use backquote instead.
4563
cd394be1 45642011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4565
4b0d61e3 4566 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4567 Fix incorrect use of default argument in `completing-read'.
4568
e1c2c6f2
MR
45692011-11-08 Martin Rudalics <rudalics@gmx.at>
4570
4571 * window.el (display-buffer-function, special-display-function):
4572 Mention display-buffer-record-window but do not mention
4573 help-setup parameter in doc-strings.
b3f4a882 4574 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4575
105216ed
CY
45762011-11-08 Chong Yidong <cyd@gnu.org>
4577
4578 * window.el (window-total-height, window-total-width): Doc fix.
4579 (window-body-size): Move from C.
4580 (window-body-height, window-body-width): Move to C.
4581
0a9f9ab5
SM
45822011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * window.el: Make special-display like display-buffer-alist (bug#9532).
4585 (display-buffer--special-action): New function, morphed
4586 from display-buffer--special.
4587 (display-buffer): Use it to handle special-display-buffers at higher
4588 priority (just after display-buffer-alist).
4589 (display-buffer-fallback-action, display-buffer--other-frame-action)
4590 (pop-to-buffer-same-window): Remove display-buffer--special.
4591
a769dd15
GM
45922011-11-07 Glenn Morris <rgm@gnu.org>
4593
4594 * calendar/cal-menu.el (cal-menu-set-date-title):
4595 Do nothing if not in a calendar. (Bug#9976)
4596
05a61ee3
SM
45972011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * files.el (find-file): Always use selected-window.
4600
be7f5545
MR
46012011-11-07 Martin Rudalics <rudalics@gmx.at>
4602
4603 * window.el (window-combinations): Make WINDOW argument
4604 mandatory. Rewrite doc-string.
4605 (walk-window-subtree, window-atom-check, window-min-delta)
4606 (window-max-delta, window--resize-this-window)
4607 (window--resize-root-window-vertically, window-tree)
4608 (balance-windows, window-state-put): Rewrite doc-strings as to
4609 not mention the term "subwindow".
4610 (window--resize-subwindows-skip-p): Rename to
4611 window--resize-child-windows-skip-p.
4612 (window--resize-subwindows-normal): Rename to
4613 window--resize-child-windows-normal.
4614 (window--resize-subwindows): Rename to
4615 window--resize-child-windows.
4616 (window-or-subwindow-p): Rename to window--in-subtree-p.
4617
3c6702ef
ML
46182011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4619
4620 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4621 Ensure that mbox format messages end in two newlines (Bug#9974).
4622
49745b39
CY
46232011-11-06 Chong Yidong <cyd@gnu.org>
4624
4625 * window.el (window-combination-p): Function deleted; its
4626 side-effect is not used in any existing code.
4627 (window-combinations, window-combined-p): Call window-*-child
4628 directly.
4629
24300f5f
CY
46302011-11-05 Chong Yidong <cyd@gnu.org>
4631
4632 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4633 (window-size-ignore, window-state-get): Callers changed.
4634 (window-normalize-window): Rename from window-normalize-any-window.
4635 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4636 (window-normalize-live-window): Delete.
447f16b8
CY
4637 (window-combination-p, window-combined-p, window-combinations)
4638 (walk-window-subtree, window-atom-root, window-min-size)
4639 (window-sizable, window-sizable-p, window-size-fixed-p)
4640 (window-min-delta, window-max-delta, window-resizable)
4641 (window-resizable-p, window-full-height-p, window-full-width-p)
4642 (window-current-scroll-bars, window-point-1, set-window-point-1)
4643 (window-at-side-p, window-in-direction, window-resize)
4644 (adjust-window-trailing-edge, maximize-window, minimize-window)
4645 (window-deletable-p, delete-window, delete-other-windows)
4646 (record-window-buffer, unrecord-window-buffer)
4647 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4648 (quit-window, split-window, window-state-put)
4649 (set-window-text-height, fit-window-to-buffer)
4650 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4651
89bd5ee1
EZ
46522011-11-04 Eli Zaretskii <eliz@gnu.org>
4653
53479029
EZ
4654 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4655 rfc2047-decode-string.
4656 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4657 warnings.
4658
89bd5ee1
EZ
4659 * window.el (window-body-height, window-body-width): Mention in
4660 the doc string that the return values are in frame's canonical
4661 units. (Bug#9949)
4662
bd17fdee
AM
46632011-11-03 Alan Mackenzie <acm@muc.de>
4664
4665 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4666 change in cc-engine.el.
4667
acc825c5
SM
46682011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4671
1885e5b8
MR
46722011-11-02 Martin Rudalics <rudalics@gmx.at>
4673
4674 * window.el (quit-window): Call unrecord-window-buffer after
4675 showing another buffer in the window. (Bug#9937)
acc825c5 4676 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4677
ebe06da9
JB
46782011-11-02 Juanma Barranquero <lekktu@gmail.com>
4679
4680 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4681 Accept status with more than 9 shelves. (Bug#9935)
4682 Reported by Colin D Bennett <colin@gibibit.com>.
4683
4ee88440
MR
46842011-11-01 Martin Rudalics <rudalics@gmx.at>
4685
4686 * help.el (with-help-window): Don't reference
4687 temp-buffer-show-specifiers in doc-string.
4688
08e1d82c
AS
46892011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4690
4691 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4692 menu-item.
4693
84bd6e9e
VJL
46942011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4695
4696 * whitespace.el: New version 13.2.2.
4697 (whitespace-newline-mode): Disable properly. Reported by Sarah
4698 <EmacsWiki>.
4699
dba0634a
UJ
47002011-10-30 Ulf Jasper <ulf.jasper@web.de>
4701
4702 * net/newst-treeview.el: Remove "Time-stamp".
4703 (newsticker--group-manage-orphan-feeds): Do not call
4704 newsticker--treeview-tree-update.
db22a3c2
JB
4705 (newsticker-treeview-update, newsticker-treeview):
4706 Call newsticker--treeview-tree-update if necessary.
dba0634a 4707
3d8daefe
MR
47082011-10-30 Martin Rudalics <rudalics@gmx.at>
4709
4710 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4711 (window-iso-combinations): Remove "iso-" infix.
4712 Suggested by Chong Yidong.
3d8daefe
MR
4713 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4714 (window-max-delta-1, window-resize, window--resize-siblings)
4715 (window--resize-this-window, adjust-window-trailing-edge)
4716 (split-window, balance-windows-1)
4717 (shrink-window-if-larger-than-buffer):
4718 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4719 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4720
1bc4c3ae
SM
47212011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4724 in place (bug#9907).
4725 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4726 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4727 (eshell-structure-basic-command, eshell-rewrite-while-command)
4728 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4729 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4730 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4731 (eshell-do-pipelines-synchronously, eshell-eval-command):
4732 Use backquotes and prefer setq to set.
4733 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4734 (eshell-macrop): Use functionp.
c1e2f5fa 4735 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4736
30b65d9c
CY
47372011-10-30 Chong Yidong <cyd@gnu.org>
4738
4739 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4740 instead of set-mark (Bug#9810).
4741
2d197ffb
CY
47422011-10-30 Chong Yidong <cyd@gnu.org>
4743
4744 * window.el (split-window-below, split-window-right): Rename from
4745 split-window-above-each-other and split-window-side-by-side
4746 respectively. All callers changed.
4747 (split-window-sensibly, split-window-sensibly): Use them.
4748 (split-window-keep-point): Doc fix.
4749
4750 * isearch.el: Add isearch-scroll property to split-window-below
4751 and split-window-right.
4752
4753 * follow.el (follow-mode):
4754 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4755 * progmodes/ada-xref.el (ada-gdb-application):
4756 * emulation/vip.el (vip-buffer-in-two-windows):
4757 * image-dired.el (image-dired-dired-with-window-configuration):
4758 * dired-x.el (dired-do-find-marked-files):
4759 * dired.el (dired-pop-to-buffer):
4760 * bs.el (bs--show-with-configuration):
4761 * vc/emerge.el (emerge-setup-windows):
4762 * textmodes/two-column.el (2C-two-columns):
4763 * textmodes/reftex-toc.el (reftex-toc):
4764 * progmodes/gdb-mi.el (gdb-setup-windows):
4765 * progmodes/fortran.el (fortran-window-create):
4766 * net/newst-treeview.el (newsticker--treeview-window-init):
4767 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4768 * emulation/tpu-edt.el (tpu-gold-map):
4769 * emulation/crisp.el (crisp-mode-map):
4770 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4771
38bb2ca8
CY
47722011-10-29 Chong Yidong <cyd@gnu.org>
4773
aa4de341
CY
4774 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4775
e1eb5385
CY
4776 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4777
5d2ece3c
CY
4778 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4779 forged Ispell output (Bug#7904).
4780
38bb2ca8
CY
4781 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4782
d0af9f77
SM
47832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * doc-view.el: Avoid ugly errors about not finding nil.
4786 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4787 (doc-view-dvipdf-program, doc-view-unoconv-program)
4788 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4789 Avoid nil or absolute file name as default value.
4790 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4791
52bedd34
AM
47922011-10-28 Alan Mackenzie <acm@muc.de>
4793
db22a3c2 4794 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4795
7e43cfa5
AM
47962011-10-28 Alan Mackenzie <acm@muc.de>
4797
4798 Amend the handling of c-beginning/end-of-defun in nested declaration
4799 scopes.
4800
52bedd34
AM
4801 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4802 cc-langs.el. Change it to a defcustom.
7e43cfa5 4803
52bedd34
AM
4804 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4805 cc-vars.el.
7e43cfa5 4806
d0af9f77
SM
4807 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4808 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4809
52bedd34 4810 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4811 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4812 (c-widen-to-enclosing-decl-scope): New function.
4813 (c-while-widening-to-decl-block): New macro.
4814 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4815 outward for defun boundaries, and correspondingly change symbol
4816 `respect-enclosure' to `go-outward'.
4817 (c-declaration-limits): Change algorithm to report only the "innermost"
4818 defun's boundaries.
4819
1a2ce9ee
DD
48202011-10-28 Deniz Dogan <deniz@dogan.se>
4821
4822 * net/rcirc.el (rcirc-mode): Use hard newlines.
4823
bc97a826
AM
48242011-10-28 Alan Mackenzie <acm@muc.de>
4825
4826 Amend to indent and fontify macros "which include their own semicolon"
4827 correctly, using the "virtual semicolon" mechanism.
4828
52bedd34 4829 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4830
d0af9f77 4831 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4832 Recode to scan one line at a time rather than having \n and \r
58179cce 4833 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4834 (c-forward-label): Amend for virtual semicolons.
58179cce 4835 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4836
52bedd34
AM
4837 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4838 of the new C macros.
bc97a826 4839
52bedd34 4840 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4841 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4842 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4843 (c-opt-cpp-macro-define): Make into a full language variable.
4844 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4845 AWK Mode (including \n, \r) removed, no longer needed.
4846
d0af9f77
SM
4847 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4848 Invoke c-make-macro-with-semi-re.
bc97a826 4849
52bedd34
AM
4850 * progmodes/cc-vars.el (c-macro-with-semi-re):
4851 (c-macro-names-with-semicolon): New variables.
58179cce 4852 (c-make-macro-with-semi-re): New function.
bc97a826 4853
7a6c0941
SM
48542011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * vc/log-edit.el: Fill empty field rather than adding new one.
4857 (log-edit-add-field): New function.
4858 (log-edit-insert-changelog): Use it.
4859
b0c4cdcf
ML
48602011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4861
4862 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4863
ee1f1da9
SM
48642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4867 (gdb--check-interpreter): New function.
4868 (gdb): Use it.
4869
51bc5f8b
GM
48702011-10-27 Glenn Morris <rgm@gnu.org>
4871
416a2c45
GM
4872 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4873 (least-positive-float, least-negative-float)
4874 (least-positive-normalized-float, least-negative-normalized-float)
4875 (float-epsilon, float-negative-epsilon):
4876 Remove unnecessary declarations.
4877
4878 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4879 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4880 (least-positive-float, least-negative-float)
4881 (least-positive-normalized-float, least-negative-normalized-float)
4882 (float-epsilon, float-negative-epsilon): Add doc-strings,
4883 based on those in cl.texi.
4884
51bc5f8b
GM
4885 * files.el (set-visited-file-name): If the major-mode changed,
4886 reload the local variables. (Bug#9796)
4887
15de15c6
CY
48882011-10-27 Chong Yidong <cyd@gnu.org>
4889
4890 * subr.el (change-major-mode-after-body-hook): New hook.
4891 (run-mode-hooks): Run it.
4892
ee1f1da9
SM
4893 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4894 Use change-major-mode-before-body-hook.
15de15c6
CY
4895
4896 * simple.el (fundamental-mode):
4897 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4898 change introducing fundamental-mode-hook.
4899
5430d399
JB
49002011-10-26 Juanma Barranquero <lekktu@gmail.com>
4901
acc825c5 4902 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4903
ad74a69e
MA
49042011-10-26 Michael Albinus <michael.albinus@gmx.de>
4905
4906 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4907 tramp.el explicitly. (Bug#7583)
ad74a69e 4908
71d4c2a5
SM
49092011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * progmodes/octave-mod.el:
4912 * progmodes/octave-inf.el: Update maintainer.
4913
b1f6fa26
CY
49142011-10-26 Chong Yidong <cyd@gnu.org>
4915
4916 * subr.el (with-wrapper-hook): Rewrite doc.
4917
3f04efd6
MA
49182011-10-25 Michael Albinus <michael.albinus@gmx.de>
4919
4920 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4921 filenames "/method:foo:". (Bug#9793)
3f04efd6 4922
410488d3
SM
49232011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4926 (bug#9865).
4927
c1ebb47e
GM
49282011-10-24 Glenn Morris <rgm@gnu.org>
4929
4930 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4931
7f5c46c7
MA
49322011-10-24 Michael Albinus <michael.albinus@gmx.de>
4933
4934 * notifications.el: Add the requirement of a running D-Bus session
4935 bus to the Commentary.
4936
db2440b6
JL
49372011-10-24 Juri Linkov <juri@jurta.org>
4938
4939 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4940 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4941 (Bug#9364)
4942
feecf435
JL
49432011-10-24 Juri Linkov <juri@jurta.org>
4944
4945 * info.el (Info-following-node-name-re): Add newline to the list
4946 of allowed characters for leading space. (Bug#9824)
4947
a3839de2
SM
49482011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4949
acc825c5
SM
4950 * progmodes/octave-inf.el (inferior-octave-mode-map):
4951 Fix C-c C-h binding.
a3839de2
SM
4952 * progmodes/octave-mod.el (octave-help): Remove.
4953
09388e76
MA
49542011-10-23 Michael Albinus <michael.albinus@gmx.de>
4955
4956 Sync with Tramp 2.2.3.
4957
4958 * net/tramp-cache.el (top): Pacify byte-compiler using
4959 `init-file-user' and `site-run-file'.
4960
4961 * net/trampver.el: Update release number.
4962
86c60681
CY
49632011-10-23 Chong Yidong <cyd@gnu.org>
4964
4965 * files.el (toggle-read-only): Remove obsolete comment about
4966 version control.
4967
4968 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4969 for toggle-read-only. Note that this hasn't called vc-next-action
4970 since 2008-05-02, though it wasn't documented at the time.
4971
a3839de2
SM
4972 * vc/ediff-init.el (ediff-toggle-read-only-function):
4973 Use toggle-read-only.
86c60681 4974
cd5495ff
AM
49752011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4976
4977 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4978 of c-parse-state.
4979
00b77525 4980 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4981 correct faulty logical expression.
cd5495ff
AM
4982 (c-parse-state-state, c-record-parse-state-state):
4983 (c-replay-parse-state-state): New defvar/defuns.
4984 (c-debug-parse-state): Use new functions.
4985
42ee24ed
MR
49862011-10-22 Martin Rudalics <rudalics@gmx.at>
4987
4988 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4989 last fix. Use window-in-direction correctly.
42ee24ed 4990
a7dee7e7
CY
49912011-10-21 Chong Yidong <cyd@gnu.org>
4992
4993 * progmodes/idlwave.el (idlwave-mode):
4994 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4995 require-final-newline; that's done in prog-mode.
4996 Suggested by Stefan Monnier.
a7dee7e7 4997
e07b9a6d
MR
49982011-10-21 Martin Rudalics <rudalics@gmx.at>
4999
5000 * mouse.el (mouse-drag-window-above)
5001 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5002 (mouse-drag-mode-line-1, mouse-drag-header-line)
5003 (mouse-drag-vertical-line-rightward-window): Remove.
5004 (mouse-drag-line): New function.
5005 (mouse-drag-mode-line, mouse-drag-header-line)
5006 (mouse-drag-vertical-line): Call mouse-drag-line.
5007 * window.el (window-at-side-p, windows-at-side): New functions.
5008
7e1361d9
UM
50092011-10-21 Ulrich Mueller <ulm@gentoo.org>
5010
5011 * tar-mode.el (tar-grind-file-mode):
5012 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5013
30fcaf3a
CY
50142011-10-21 Chong Yidong <cyd@gnu.org>
5015
5016 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5017 * progmodes/vera-mode.el (vera-mode):
5018 Use mode-require-final-newline.
30fcaf3a 5019
516eddb0
GM
50202011-10-20 Glenn Morris <rgm@gnu.org>
5021
db22a3c2 5022 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5023
10d5f513
CS
50242011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5025
5026 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5027
ac6c8639
CY
50282011-10-20 Chong Yidong <cyd@gnu.org>
5029
5030 * emulation/cua-base.el (cua-mode):
5031 * mail/footnote.el (footnote-mode):
5032 * mail/mailabbrev.el (mail-abbrevs-mode):
5033 * net/xesam.el (xesam-minor-mode):
5034 * progmodes/bug-reference.el (bug-reference-mode):
5035 * progmodes/cap-words.el (capitalized-words-mode):
5036 * progmodes/compile.el (compilation-minor-mode)
5037 (compilation-shell-minor-mode):
5038 * progmodes/gud.el (gud-tooltip-mode):
5039 * progmodes/hideif.el (hide-ifdef-mode):
5040 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5041 * progmodes/subword.el (subword-mode):
5042 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5043 * progmodes/which-func.el (which-function-mode):
5044 * term/tvi970.el (tvi970-set-keypad-mode):
5045 * term/vt100.el (vt100-wide-mode):
5046 * textmodes/flyspell.el (flyspell-mode):
5047 * textmodes/ispell.el (ispell-minor-mode):
5048 * textmodes/nroff-mode.el (nroff-electric-mode):
5049 * textmodes/paragraphs.el (use-hard-newlines):
5050 * textmodes/refill.el (refill-mode):
5051 * textmodes/reftex.el (reftex-mode):
5052 * textmodes/rst.el (rst-minor-mode):
5053 * textmodes/sgml-mode.el (html-autoview-mode)
5054 (sgml-electric-tag-pair-mode):
5055 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5056 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5057 * emulation/crisp.el (crisp-mode):
5058 * emacs-lisp/eldoc.el (eldoc-mode):
5059 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5060 minor mode behavior.
5061
aa42ab43
JL
50622011-10-19 Juri Linkov <juri@jurta.org>
5063
5064 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5065 the list of hard-coded chars with escape-glyph face.
5066
89400f1d
SM
50672011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5070
305c07f6
MA
50712011-10-19 Michael Albinus <michael.albinus@gmx.de>
5072
5073 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5074 running process.
5075
13754b54
GM
50762011-10-19 Glenn Morris <rgm@gnu.org>
5077
5078 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5079 Ignore ignored files. (Bug#9726)
5080
06e21633
CY
50812011-10-19 Chong Yidong <cyd@gnu.org>
5082
5083 Doc fix for minor modes, stating that an omitted argument enables
5084 the mode unconditionally when called from Lisp.
5085
5086 * abbrev.el (abbrev-mode):
5087 * allout.el (allout-mode):
5088 * autoinsert.el (auto-insert-mode):
5089 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5090 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5091 (global-auto-revert-mode):
5092 * battery.el (display-battery-mode):
5093 * composite.el (global-auto-composition-mode)
5094 (auto-composition-mode):
5095 * delsel.el (delete-selection-mode):
5096 * desktop.el (desktop-save-mode):
5097 * dired-x.el (dired-omit-mode):
5098 * dirtrack.el (dirtrack-mode):
5099 * doc-view.el (doc-view-minor-mode):
5100 * double.el (double-mode):
5101 * electric.el (electric-indent-mode, electric-pair-mode):
5102 * emacs-lock.el (emacs-lock-mode):
5103 * epa-hook.el (auto-encryption-mode):
5104 * follow.el (follow-mode):
5105 * font-core.el (font-lock-mode):
5106 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5107 * help.el (temp-buffer-resize-mode):
5108 * hilit-chg.el (highlight-changes-mode)
5109 (highlight-changes-visible-mode):
5110 * hi-lock.el (hi-lock-mode):
5111 * hl-line.el (hl-line-mode, global-hl-line-mode):
5112 * icomplete.el (icomplete-mode):
5113 * ido.el (ido-everywhere):
5114 * image-file.el (auto-image-file-mode):
5115 * image-mode.el (image-minor-mode):
5116 * iswitchb.el (iswitchb-mode):
5117 * jka-cmpr-hook.el (auto-compression-mode):
5118 * linum.el (linum-mode):
5119 * longlines.el (longlines-mode):
5120 * master.el (master-mode):
5121 * mb-depth.el (minibuffer-depth-indicate-mode):
5122 * menu-bar.el (menu-bar-mode):
5123 * minibuf-eldef.el (minibuffer-electric-default-mode):
5124 * mouse-sel.el (mouse-sel-mode):
5125 * msb.el (msb-mode):
5126 * mwheel.el (mouse-wheel-mode):
5127 * outline.el (outline-minor-mode):
5128 * paren.el (show-paren-mode):
5129 * recentf.el (recentf-mode):
5130 * reveal.el (reveal-mode, global-reveal-mode):
5131 * rfn-eshadow.el (file-name-shadow-mode):
5132 * ruler-mode.el (ruler-mode):
5133 * savehist.el (savehist-mode):
5134 * scroll-all.el (scroll-all-mode):
5135 * scroll-bar.el (scroll-bar-mode):
5136 * server.el (server-mode):
5137 * shell.el (shell-dirtrack-mode):
5138 * simple.el (auto-fill-mode, transient-mark-mode)
5139 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5140 (line-number-mode, column-number-mode, size-indication-mode)
5141 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5142 * strokes.el (strokes-mode):
5143 * time.el (display-time-mode):
5144 * t-mouse.el (gpm-mouse-mode):
5145 * tool-bar.el (tool-bar-mode):
5146 * tooltip.el (tooltip-mode):
5147 * type-break.el (type-break-mode-line-message-mode)
5148 (type-break-query-mode):
5149 * view.el (view-mode):
5150 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5151 (global-whitespace-mode, global-whitespace-newline-mode):
5152 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5153
a3839de2
SM
5154 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5155 Fix autogenerated docstring.
06e21633 5156
5214e501
JL
51572011-10-19 Juri Linkov <juri@jurta.org>
5158
5159 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5160 by checking environment variables "DESKTOP_SESSION" and
5161 "XDG_CURRENT_DESKTOP". (Bug#9779)
5162
195f8db9
JL
51632011-10-19 Juri Linkov <juri@jurta.org>
5164
5165 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5166 (browse-url-chromium-program, browse-url-chromium-arguments):
5167 New defcustoms.
5168 (browse-url-default-browser): Check for `browse-url-chromium' and
5169 call `browse-url-chromium-program'.
5170 (browse-url-chromium): New command. (Bug#9779)
5171
343a34ff
JB
51722011-10-18 Juanma Barranquero <lekktu@gmail.com>
5173
5174 * facemenu.el (list-colors-duplicates): On Windows, detect more
5175 duplicates by assuming that only colors matching "^System" are
5176 special "system colors". (Bug#9722)
5177
6978a151
SM
51782011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5181 to distinguish the author from the committer.
5182
6a80b297
MA
51832011-10-18 Michael Albinus <michael.albinus@gmx.de>
5184
5185 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5186
b31a5677
JK
51872011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5188
5189 * international/mule.el (sgml-html-meta-auto-coding-function):
5190 Add support for detecting encoding in HTML5 specified only as
5191 <meta charset="UTF-8">. Implementation just makes http-equiv and
5192 content-type parts from HTML4 encoding string optional. (Bug#9716)
5193
80c6d77f
GM
51942011-10-18 Glenn Morris <rgm@gnu.org>
5195
5196 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5197
08b0fee8
CY
51982011-10-18 Chong Yidong <cyd@gnu.org>
5199
5200 * faces.el (cursor): Doc fix.
5201
67e729a5
CY
52022011-10-17 Chong Yidong <cyd@gnu.org>
5203
5204 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5205
343a34ff 52062011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5207
5208 * dirtrack.el (dirtrack): Support shell buffers with path
5209 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5210
0bc06380
TZ
52112011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5212
5213 * json.el: Bump version to 1.3 and note change in History.
5214 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5215
8b79f3e0
SM
52162011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5a7c536b
SM
5218 * comint.el (comint-insert-input, comint-send-input)
5219 (comint-get-old-input-default, comint-backward-matching-input)
5220 (comint-next-prompt): Use nil instead of `input' for field property of
5221 past user input (bug#114).
5222
96a8a0df
SM
5223 * minibuffer.el (completion--replace): Inherit surrounding properties
5224 (bug#114).
5225 (minibuffer-complete-and-exit): Use it.
5226
8b79f3e0
SM
5227 * comint.el (comint--table-subvert): Quote the all-completions output
5228 (bug#9160).
5229
b8f7ff0d
MR
52302011-10-17 Martin Rudalics <rudalics@gmx.at>
5231
8b79f3e0 5232 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5233
b8f7ff0d 5234 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5235 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5236 entries and separate them from frame entries.
5237
c235b555
GM
52382011-10-15 Glenn Morris <rgm@gnu.org>
5239
5240 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5241 Doc fixes.
5242
6bbfa6e1
CY
52432011-10-15 Chong Yidong <cyd@stupidchicken.com>
5244
8b79f3e0
SM
5245 * net/network-stream.el (network-stream-open-starttls):
5246 Improve detection of failure due to lack of TLS support.
ec5c990d 5247
6bbfa6e1
CY
5248 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5249 putting the input text in front and in bold.
5250
98488977
SM
52512011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5252
3d1337be
SM
5253 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5254
ee0b45e4
SM
5255 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5256 empty buffer.
5257
98488977
SM
5258 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5259 unread-command-events rather than pushing yet-another event.
5260
186f4720
EZ
52612011-10-14 Eli Zaretskii <eliz@gnu.org>
5262
5263 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5264 the explanation of the possible choices. Make the options passed
5265 to completing-read shorter.
5266
8b7a997c
AM
52672011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5268
5269 * textmodes/flyspell.el (flyspell-large-region): Make sure
5270 extended character mode is used if defined (Bug#1339).
5271
12587bbb
EZ
52722011-10-13 Eli Zaretskii <eliz@gnu.org>
5273
5274 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5275 character info for LRE, LRO, RLE, and RLO characters by appending
5276 an invisible PDF.
12587bbb 5277
bad41229
SM
52782011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5281 even in case of error; add debug spec; simplify data flow.
5282 (with-timeout-handler): Remove.
5283
28dbc92f
MA
52842011-10-12 Michael Albinus <michael.albinus@gmx.de>
5285
5286 Fix Bug#6019, Bug#9315.
5287
5288 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5289 complete `buffer-file-name', the local file name part could look
5290 remotely (for example on VMS).
5291
5292 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5293 `tramp-run-real-handler'.
5294 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5295 already quoted by '"'.
5296
5297 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5298 Let `file-name-handler-alist' be nil, the local file name part
5299 could look remotely (for example on VMS).
5300
e1b0b23a
SM
53012011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5304 from here...
5305 (flyspell-post-command-hook): ...to here.
5306
a120bde9
SM
53072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5310 if not needed.
5311 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5312 using completion. Protect against "slow" callers.
5313 Remove the "message hack".
5314
7ce7717b
JL
53152011-10-11 Juri Linkov <juri@jurta.org>
5316
5317 * isearch.el (isearch-lazy-highlight-word): New variable.
5318 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5319 Use it. (Bug#9727)
5320
c02ee9d6
GM
53212011-10-11 Glenn Morris <rgm@gnu.org>
5322
5323 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5324 like f90-previous-statement does.
5325
93e616fd 53262011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5327
1f190e73 5328 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5329 only in interactive use, to avoid error.
5330
af7b6078
SM
53312011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * minibuffer.el (completion-file-name-table): Fix last change,
5334 i.e. ignore normal errors but not the other ones.
5335
0563dae9
MR
53362011-10-10 Martin Rudalics <rudalics@gmx.at>
5337
5338 * window.el (special-display-buffer-names)
5339 (special-display-regexps): Remove some remnants of earlier
5340 changes from doc-strings.
366ca7f3
MR
5341 (quit-windows-on): New function.
5342
5343 * vc/vc.el (vc-revert, vc-rollback):
5344 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5345 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5346 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5347
49677495
MR
53482011-10-09 Martin Rudalics <rudalics@gmx.at>
5349
5350 * window.el (frame-auto-hide-function): Add version tag.
5351 (Bug#9699)
5352
56f2d1e1
MA
53532011-10-09 Michael Albinus <michael.albinus@gmx.de>
5354
5355 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5356 condition.
5357
112a6592
LL
53582011-10-09 Leo Liu <sdl.web@gmail.com>
5359
5360 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5361 (Bug#9701)
5362
0812589b
GM
53632011-10-08 Glenn Morris <rgm@gnu.org>
5364
5365 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5366 before the first code statement zero indent. (Bug#9690)
5367
b2b0776e
CY
53682011-10-08 Chong Yidong <cyd@stupidchicken.com>
5369
5370 * simple.el (count-words-region): Always count in the region.
5371 Report the number of lines and characters too.
5372 (count-words): New command, which counts in the buffer if the
5373 region is inactive, as count-words-region used to.
5374 (count-words--message): New function. Handle plurals.
5375 (count-lines-region): Make it an alias for count-words-region.
5376
5377 * bindings.el (esc-map): Replace count-lines-region with
5378 count-words-region.
5379
c557cd6b
MR
53802011-10-08 Martin Rudalics <rudalics@gmx.at>
5381
5382 * window.el (window--delete): Delete dedicated frame
5383 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5384 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5385
61a57ef4 53862011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5387
3a7d293b 5388 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5389
c3833279
CY
53902011-10-07 Chong Yidong <cyd@stupidchicken.com>
5391
5392 * bindings.el ([M-left],[M-right]): Bind to left-word and
5393 right-word respectively.
5394
21ce8245
GM
53952011-10-07 Glenn Morris <rgm@gnu.org>
5396
5397 * cus-start.el (debug-on-quit): Fix custom type.
5398
6d823bb2
LMI
53992011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5400
0181e193
LMI
5401 * subr.el (define-key-after): Clarify that the function is not
5402 useful for non-menu keymaps.
5403
6d823bb2
LMI
5404 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5405
8e3459ce 54062011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5407
21ce8245 5408 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5409 in current minibuffer (Fix bug with recursive minibuffers).
5410
a1c2d21e
CY
54112011-10-06 Chong Yidong <cyd@stupidchicken.com>
5412
5413 * progmodes/gdb-mi.el (gdb): Doc fix.
5414
5a4cf282
MR
54152011-10-05 Martin Rudalics <rudalics@gmx.at>
5416
5417 * window.el (frame-auto-hide-function): New option replacing
5418 frame-auto-delete. Suggested by Stefan Monnier.
5419 (window--delete): Call frame-auto-hide-function instead of
5420 investigating frame-auto-delete.
c96111ea
MR
5421 (window-point-1, set-window-point-1): New functions.
5422 (window-in-direction, record-window-buffer, window-state-get-1)
5423 (display-buffer-record-window): Use window-point-1 instead of
5424 window-point.
5425 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5426
9854542e
SM
54272011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5430
8943cfb0
GM
54312011-10-05 Glenn Morris <rgm@gnu.org>
5432
5433 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5434 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5435
647ab967
LL
54362011-10-05 Leo Liu <sdl.web@gmail.com>
5437
5438 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5439 works with buffer object.
5440
3ddfbced
SM
54412011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * mpc.el (mpc-tool-bar-map): Add labels.
5444
bdfa5dd2
GM
54452011-10-04 Glenn Morris <rgm@gnu.org>
5446
5447 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5448
0e2070b5
MR
54492011-10-04 Martin Rudalics <rudalics@gmx.at>
5450
5451 * window.el (window--delete): New function.
5452 (frame-auto-delete): Resuscitate option.
5453 (bury-buffer, replace-buffer-in-windows)
5454 (quit-window): Rewrite using window--delete.
5455 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5456 Pass display-buffer-mark-dedicated to window--display-buffer-2
5457 (Bug#9639).
5458
3dc61a09
SM
54592011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5460
915a9b64
SM
5461 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5462 returns a list (bug#9554). Add remote file name completion.
5463 * comint.el (comint--table-subvert): Curry and get quote&unquote
5464 functions as arguments.
5465 (comint--complete-file-name-data): Adjust call accordingly.
5466 * pcomplete.el (pcomplete--table-subvert): Remove.
5467 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5468
3dc61a09
SM
5469 * minibuffer.el (completion-table-case-fold): Use currying.
5470 (completion--styles-type, completion--cycling-threshold-type):
5471 New constants.
5472 (completion-styles, completion-category-overrides)
5473 (completion-cycle-threshold): Use them.
5474 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5475 completion-table-case-fold.
5476
8ea0a993
SB
54772011-10-03 Stephen Berman <stephen.berman@gmx.net>
5478
5479 * minibuffer.el (completion-category-overrides): Fix type of styles
5480 and add more user friendly tags (bug#9660).
5481
8c24b7f6
SM
54822011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5485 (mule-input-method-string): New widget.
5486 (default-input-method, language-info-custom-alist): Use it.
5487
428fe61a
SM
54882011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5489
32c1fffd
SM
5490 * pcomplete.el: Require comint.
5491 (pcomplete--common-suffix): Remove.
5492 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5493 (pcomplete--table-subvert): Sync with comint--table-subvert.
5494 (pcomplete--entries): Use comint-completion-file-name-table.
5495 * comint.el (comint-unquote-filename): Simplify.
5496 (comint-completion-file-name-table): New function (bug#9616).
5497 (comint--complete-file-name-data): Use it.
5498
428fe61a
SM
5499 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5500 (pcmpl-gnu-tar-buffer): Remove.
5501 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5502 around. Make sure pcomplete-suffix-list is only changed temporarily.
5503 Don't look inside the tar's file if it's too large.
428fe61a 5504
04c52e2f
CY
55052011-10-01 Chong Yidong <cyd@stupidchicken.com>
5506
ce3cefcc
CY
5507 * cus-edit.el (custom-mode-map):
5508 * epa.el (epa-key-list-mode-map):
5509 * man.el (Man-mode-map):
5510 * startup.el (splash-screen-keymap):
5511 * simple.el (special-mode-map): Use scroll-up-command and
5512 scroll-down-command.
5513
5514 * progmodes/idlw-help.el (idlwave-help-mode-map):
5515 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5516 * net/newst-plainview.el (newsticker-mode-map):
5517 * emulation/ws-mode.el (wordstar-mode-map):
5518 * emulation/vi.el (vi-com-map):
5519 * calc/calc-graph.el (calc-graph-show-dumb):
5520 * term/sun.el (terminal-init-sun):
5521 * term/ns-win.el (global-map):
5522 * progmodes/grep.el (grep-mode-map):
5523 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5524 * mail/rmail.el (rmail-mode-map):
5525 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5526
04c52e2f
CY
5527 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5528 custom-safe-themes as special.
5529
79adf8c8
JD
55302011-10-01 Julien Danjou <julien@danjou.info>
5531
5532 * notifications.el (notifications-notify): Fix docstring.
5533
63bd50d3
PS
55342011-10-01 Per Starbäck <per@starback.se>
5535
5536 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5537
199e4c7e
MR
55382011-09-30 Martin Rudalics <rudalics@gmx.at>
5539
5540 * startup.el (command-line-1): Fix last fix by inserting
5541 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5542 (Bug#9605) and (Bug#9636)
199e4c7e 5543
fe5f08dd
EZ
55442011-09-29 Eli Zaretskii <eliz@gnu.org>
5545
5546 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5547 window is hscrolled, move by logical lines. (Bug#9607)
5548 (line-move-visual): Update the doc string to the above effect.
5549
b5516bbd
MR
55502011-09-29 Martin Rudalics <rudalics@gmx.at>
5551
ccee00c0
MR
5552 * window.el (display-buffer-record-window): When WINDOW is the
5553 selected window use `point' instead of `window-point'. (Bug#9626)
5554
b5516bbd
MR
5555 * startup.el (command-line-1): Use insert-before-markers when
5556 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5557
b5516bbd
MR
5558 * help.el (help-window): Remove variable.
5559
52aa0014
GM
55602011-09-29 Glenn Morris <rgm@gnu.org>
5561
5562 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5563
df9a7357
JB
55642011-09-29 Juanma Barranquero <lekktu@gmail.com>
5565
5566 * descr-text.el (describe-char-categories): Accept category
5567 descriptions more than one line long.
5568
a8406c20
SM
55692011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5570
88d9610c
SM
5571 * simple.el (delete-trailing-whitespace): Fix last change.
5572
a5daf810
SM
5573 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5574 Don't confuse "y => 3" as the beginning of a `y' operation.
5575
a8406c20
SM
5576 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5577 object has more than 4 slots (bug#9613).
5578
a239d4e9
JB
55792011-09-28 Juanma Barranquero <lekktu@gmail.com>
5580
5581 * subr.el (with-output-to-temp-buffer):
5582 * net/quickurl.el (quickurl, quickurl-browse-url):
5583 Fix typos in docstrings.
5584
693fbdb6
EZ
55852011-09-27 Eli Zaretskii <eliz@gnu.org>
5586
5587 * minibuffer.el (completion-styles)
5588 (completion-category-overrides): Cross reference each other in doc
5589 strings.
5590
8b457e28
GM
55912011-09-27 Glenn Morris <rgm@gnu.org>
5592
5593 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5594 to split-string. (Bug#9606)
5595
85a16208
LMI
55962011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5597
5598 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5599 (bug#9615).
5600
502f9ebd
CY
56012011-09-27 Chong Yidong <cyd@stupidchicken.com>
5602
5603 * emacs-lisp/package.el (list-packages): Fix echo area message.
5604
7690bdea
LL
56052011-09-27 Leo Liu <sdl.web@gmail.com>
5606
5607 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5608
e2ee6f30
MA
56092011-09-25 Michael Albinus <michael.albinus@gmx.de>
5610
5611 * net/dbus.el (dbus-unregister-object): Don't release services for
5612 registered signals. (Bug#9581)
5613
f3f98342
TZ
56142011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5615
5616 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5617 function that picks between cfengine 2 and 3 support
5618 automatically. Update docs accordingly.
5619
dd7aa8dd
KH
56202011-09-22 Kenichi Handa <handa@m17n.org>
5621
5622 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5623 ZERO.
5624 (indian-itrans-v5-table-for-tamil): New variable.
5625 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5626
3f2b07f8
KM
56272011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5628
5629 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5630 that's true if the current command involved collapsing of text.
5631 It's reset to false at the beginning of the next command.
5632 (allout-post-command-business): Move the cursor to the beginning
5633 of entry if the cursor is hidden and collapsing activity just
5634 happened.
5635
371d6a61
CY
56362011-09-24 Chong Yidong <cyd@stupidchicken.com>
5637
5638 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5639 tracking (Bug#9541).
5640
2ac2721a
UJ
56412011-09-24 Ulf Jasper <ulf.jasper@web.de>
5642
5643 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5644 (newsticker-show-news): Automatically load html rendering package
5645 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5646 because w3m-fill-column is let-bound" and the error "Symbol's value
5647 as variable is void: w3m-fill-column".
2ac2721a 5648
fac7ae53
MA
56492011-09-24 Michael Albinus <michael.albinus@gmx.de>
5650
5651 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5652 Release services only if they are defined. (Bug#9581)
5653
e08b633b
RS
56542011-09-23 Richard Stallman <rms@gnu.org>
5655
e488d29c
RS
5656 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5657 distinguish start of paragraph from start of its text.
5658
19c38752
RS
5659 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5660
e08b633b
RS
5661 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5662 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5663 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5664
0a39f27e
AS
56652011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5666
5667 * international/mule-diag.el (mule-diag): Insert a newline after
5668 each fontset description.
5669
db4e950d
SM
56702011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * simple.el (delete-trailing-whitespace):
5673 Document last change; simplify.
5674
eca3f3ea
PW
56752011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5676
d68e189a
PW
5677 * simple.el (delete-trailing-whitespace): Also delete
5678 extra newlines at the end of the buffer.
5679
eca3f3ea
PW
5680 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5681 (picture-newline): Use forward-line so as to ignore fields.
5682
01c157cc
SM
56832011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * subr.el (with-wrapper-hook): Fix edebug spec.
5686
022de23e
LMI
56872011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688
5689 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5690 (bug#4538).
5691
91683089
MA
56922011-09-23 Michael Albinus <michael.albinus@gmx.de>
5693
eca3f3ea
PW
5694 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5695 Fix nasty bug using wrong cached values.
91683089 5696
5bdd6fa4
AM
56972011-09-23 Alan Mackenzie <acm@muc.de>
5698
5699 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5700
97adfb97
CY
57012011-09-23 Chong Yidong <cyd@stupidchicken.com>
5702
5703 * window.el (pop-to-buffer): Ensure right window is selected if we
5704 chose another frame.
5705
d4ef2b50
EZ
57062011-09-22 Eli Zaretskii <eliz@gnu.org>
5707
5708 * simple.el (what-cursor-position): Use get-char-property-change
5709 and next-single-char-property-change, to be able to show display
5710 properties that come from overlays as well as text properties.
5711
72258fe5
CY
57122011-09-22 Chong Yidong <cyd@stupidchicken.com>
5713
5714 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5715
5716 * cmuscheme.el (run-scheme, switch-to-scheme):
5717 * cus-edit.el (customize-group, custom-buffer-create)
5718 (customize-browse):
5719 * info.el (info):
5720 * shell.el (shell):
5721 * mail/sendmail.el (mail):
5722 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5723
8f098516
RS
57242011-09-22 Richard Stallman <rms@gnu.org>
5725
5726 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5727 move back only to line beg, don't move back over blank lines.
5728
e74f1bb6
MA
57292011-09-22 Michael Albinus <michael.albinus@gmx.de>
5730
5731 * files.el (copy-directory): Set directory attributes only in case
5732 they could be retrieved from the source directory. (Bug#9565)
5733
bfeef8b6
DK
57342011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5735
5736 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5737 (hs-find-block-beginning, hs-hide-level-recursive):
5738 Ignore strings as well as comments. (Bug#9502)
5739
7e423bb8
AS
57402011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5741
5742 * progmodes/sql.el (sql-comint-postgres):
5743 Convert port number to a string. (Bug#9566)
5744
b4d72fcf
MR
57452011-09-22 Martin Rudalics <rudalics@gmx.at>
5746
5747 * window.el (quit-window): Undedicate window when switching to
5748 previous buffer. Reported by Thierry Volpiatto
5749 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5750 (special-display-popup-frame): When popping up a new frame reset
5751 its previous buffers to nil. Simplify code.
b4d72fcf 5752
a7b88dc6
MA
57532011-09-21 Michael Albinus <michael.albinus@gmx.de>
5754
5755 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5756 and process filter, as done also in `shell-command'.
5757
cf4eacfd
MR
57582011-09-21 Martin Rudalics <rudalics@gmx.at>
5759
eca3f3ea 5760 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5761 Call set-window-start with NOFORCE argument t.
5762 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5763 (quit-window): Reword doc-string. Handle new format of
5764 quit-restore parameter. Don't delete window if it has a
5765 previous buffer we can show instead of the present one.
5766 (display-buffer-record-window): Rewrite using a new format for
5767 the quit-restore window parameter
5768 (special-display-popup-frame, display-buffer-same-window)
5769 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5770 (display-buffer-pop-up-window, display-buffer-use-some-window):
5771 Adapt symbol passed to display-buffer-record-window.
5772 * help.el (help-window-setup): Handle new format of quit-restore
5773 parameter.
5774
8d28cb95
SM
57752011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5776
94ab793f
SM
5777 * faces.el (face-list): Fix docstring (bug#9564).
5778
8d28cb95
SM
5779 * window.el (display-buffer--action-function-custom-type):
5780 Don't include internal functions in the Custom interface.
5781
3820edeb
JL
57822011-09-20 Juri Linkov <juri@jurta.org>
5783
5784 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5785 (Info-forward-node, Info-backward-node, Info-next-preorder)
5786 (Info-last-preorder): Use it. (Bug#9528)
5787
5147931d
JL
57882011-09-20 Juri Linkov <juri@jurta.org>
5789
5790 * info.el (Info-last-preorder): Visit last menu item only when
5791 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5792
cf499a1a
JD
57932011-09-20 Julien Danjou <julien@danjou.info>
5794
5795 * password-cache.el (password-cache-remove): Remove entries even if the
5796 value is nil, so that password with a nil value (negative caching) is
5797 possible to invalidate.
5798
f84e2fe2
LM
57992011-09-20 Lawrence Mitchell <wence@gmx.li>
5800
5801 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5802 all whitespace around breakpoint. (Bug#9553)
5803 (f90-find-breakpoint): Only break at whitespace inside a comment.
5804
78054a46
SM
58052011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * minibuffer.el (completion-file-name-table): Keep track of errors.
5808 (completion-table-with-predicate): Handle the case where pred1 is nil.
5809 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5810
345083b2
SM
58112011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5812
e24e27be
SM
5813 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5814 (debugger-return-value): Signal an error if the debugging context does
5815 not await any return value.
5816
345083b2
SM
5817 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5818 * image-mode.el (image-toggle-display-text)
5819 (image-toggle-display-image): Stay away from evil `intangible'.
5820
08d355e3
LL
58212011-09-19 Leo Liu <sdl.web@gmail.com>
5822
5823 * replace.el (occur-revert-arguments): Make it permanent-local.
5824 (occur-mode): Don't call font-lock-defontify.
5825
f01da43f
CY
58262011-09-19 Chong Yidong <cyd@stupidchicken.com>
5827
5828 * net/ldap.el (ldap-search-internal): Don't push empty search
5829 result (Bug#9508).
5830
b6072fa6
SM
58312011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5834
443d6696
MA
58352011-09-19 Michael Albinus <michael.albinus@gmx.de>
5836
5837 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5838 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5839
7cc6e154
JL
58402011-09-18 Juri Linkov <juri@jurta.org>
5841
5842 * buff-menu.el (Buffer-menu-mode-map):
5843 * dired.el (dired-mode-map):
5844 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5845 (lisp-interaction-mode-map):
5846 * emacs-lisp/package.el (package-menu-mode-map):
5847 * epa.el (epa-key-list-mode-map):
5848 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5849 (menu-bar-options-menu):
5850 * outline.el (outline-mode-menu-bar-map):
5851 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5852 * vc/vc-dir.el (vc-dir-menu-map):
5853 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5854 Capitalize non-function content words in menu item strings.
5855
5856 * dired.el (dired-mode-map): Add menu item for
5857 `image-dired-dired-toggle-marked-thumbs'.
5858
80302a81
JL
58592011-09-18 Juri Linkov <juri@jurta.org>
5860
5861 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5862 to `isearch-case-fold-search' and restore its original value
5863 after the `isearch-mode' call.
5864
46c5cf66
JL
58652011-09-18 Juri Linkov <juri@jurta.org>
5866
5867 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5868 because `zgrep' returns 1 for successful matches (bug#9226).
5869
d18b513b
JL
58702011-09-18 Juri Linkov <juri@jurta.org>
5871
5872 * info.el (Info-extract-menu-node-name): Check the second match
5873 for empty string (second test-case of bug#9528).
5874 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5875 intermediate nodes to the history (first test-case of bug#9528).
5876
72753f87
JL
58772011-09-18 Juri Linkov <juri@jurta.org>
5878
5879 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5880 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5881
c9384295
JL
58822011-09-18 Juri Linkov <juri@jurta.org>
5883
1154d12e
JB
5884 * info.el (Info-file-supports-index-cookies):
5885 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5886 outputs one more line for long file names (bug#4142).
c9384295 5887
d473dce8
CY
58882011-09-18 Chong Yidong <cyd@stupidchicken.com>
5889
5890 * newcomment.el (comment-normalize-vars): If prompting for
5891 comment-start, set comment-start-skip too (Bug#8424).
5892
2176854d
JB
58932011-09-18 Johan Bockgård <bojohan@gnu.org>
5894
5895 * icomplete.el: Fix previous fix of Bug#5849.
5896 (icomplete-mode): Don't set completion-show-inline-help.
5897 (icomplete-minibuffer-setup): Set completion-show-inline-help
5898 locally during icompletion.
5899
3aace4e4
CY
59002011-09-18 Chong Yidong <cyd@stupidchicken.com>
5901
c940224f
CY
5902 * woman.el (woman2-process-escapes): Don't delete unrecognized
5903 escapes (Bug#7843).
5904
3aace4e4
CY
5905 * files.el (inhibit-first-line-modes-regexps): Add image files.
5906 (hack-local-variables-prop-line): Return nil for malformed
5907 prop-lines (Bug#9044).
5908
710dec63
MA
59092011-09-18 Michael Albinus <michael.albinus@gmx.de>
5910
5911 * net/tramp.el (top): Don't require 'shell.
5912 (tramp-methods): Fix docstring.
5913 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5914 Return complete remote file name. Handle "smb" case.
5915 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5916 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5917
5918 * net/tramp-compat.el (top): Require 'shell.
5919
5920 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5921 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5922 `tramp-current-host'.
5923 (tramp-get-remote-tmpdir): Remove.
5924
5925 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5926 `tramp-tmpdir' entries.
5927 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5928 (tramp-smb-handle-file-attributes): Ignore errors.
5929 (tramp-smb-wait-for-output): Check also for process end.
5930
5d5ac8ec
LMI
59312011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5932
5933 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5934 when sending QUIT (bug#9312).
5935
8c0f49f0
CY
59362011-09-17 Chong Yidong <cyd@stupidchicken.com>
5937
5938 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5939 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5940 occur-mode-display-occurrence.
5941 (occur-edit-mode): Add usage message.
5942 (occur-cease-edit): New command.
5943 (occur-after-change-function): Use text properties to find the
5944 position of the prefix text.
5945 (occur-engine): Set stickiness of prefix text properties.
5946
8f1383f7
GM
59472011-09-17 Glenn Morris <rgm@gnu.org>
5948
5949 * progmodes/etags.el (complete-tag):
5950 Fix call to completion-in-region. (Bug#9526)
5951
744ba0e3
JL
59522011-09-17 Juri Linkov <juri@jurta.org>
5953
5954 * textmodes/ispell.el (ispell-word): Add to the error message
5955 the word, ispell program name and current dictionary (bug#9121).
5956 (ispell-tex-arg-end): Capitalize "error" in the error message.
5957
d9bbf400
AS
59582011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5959
5960 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5961 check. (Bug#4251)
5962
8da11505
JL
59632011-09-17 Juri Linkov <juri@jurta.org>
5964
5965 * window.el (window-safe-min-height, window-safe-min-width):
5966 Fix typos (followup to bug#9522).
5967
a91adc7e
SJ
59682011-09-17 Sven Joachim <svenjoac@gmx.de>
5969
5970 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5971
064f328a
EZ
59722011-09-16 Eli Zaretskii <eliz@gnu.org>
5973
5974 * simple.el (line-move): If goal-column is set, move by logical
5975 lines, not by display lines. (Bug#971)
5976 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5977 to reflect the above change.
5978
e69df516
SM
59792011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * image.el (imagemagick-register-types): Use regexp-opt.
5982
cbb0f9ab
CY
59832011-09-15 Chong Yidong <cyd@stupidchicken.com>
5984
5985 * window.el (display-buffer-base-action): Rename from
5986 display-buffer-default-action. Make default value empty.
5987 (display-buffer-overriding-action): Convert to defvar.
5988 (display-buffer-fallback-action): New var.
5989
25322144
CY
59902011-09-15 Chong Yidong <cyd@stupidchicken.com>
5991
5992 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5993 declaration.
5994 (package--add-to-archive-contents): If there is a duplicate entry
5995 with an older version, remove it.
5996 (package-menu-mark-delete, package-menu-mark-install)
5997 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5998 (package-menu-mark-obsolete-for-deletion):
5999 Use package-menu-get-status instead of a regexp search.
25322144
CY
6000 (package-menu-get-status): Use tabulated-list-entry.
6001 (package-menu-mark-upgrades): New command.
d770725a 6002 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6003 (package-menu-execute): Do installation before deletion.
6004 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6005 instead of checking major-mode.
6006 (package-menu--find-upgrades): New function.
6007
7520339c
LMI
60082011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6009
6010 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6011 passwords in the log buffer.
65a046c4
LMI
6012 (smtpmail-process-filter): Update the process marker so that the
6013 "broken by peer" status message is inserted in the right place.
7520339c 6014
d3c30954
SM
60152011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6016
3fe48822
SM
6017 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6018 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6019 bibtex-completion-at-point-function.
6020 (bibtex-completion-at-point-function): Use them.
6021
1b8b3954
SM
6022 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6023
d3c30954
SM
6024 * mpc.el (mpc-constraints-tag-lookup): New function.
6025 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6026 also to browser "album|playlist".
6027
72779976
JL
60282011-09-14 Juri Linkov <juri@jurta.org>
6029
6030 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6031 (isearch-edit-string): Use length of `isearch-string' when
6032 `isearch-fail-pos' returns nil.
6033 (isearch-message): Remove duplicate code and call
6034 `isearch-fail-pos' with arg `t'.
6035
a0bf2bcd
CY
60362011-09-14 Chong Yidong <cyd@stupidchicken.com>
6037
17bb0a2d
CY
6038 * replace.el (occur-mode-goto-occurrence): Don't force using other
6039 window (Bug#9499).
6040
a0bf2bcd
CY
6041 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6042
f678e0b6
MR
60432011-09-14 Martin Rudalics <rudalics@gmx.at>
6044
6045 * window.el (display-buffer-window): Remove.
6046 (display-buffer-record-window): Use help-setup window parameter
6047 instead of variable display-buffer-window.
6048 (display-buffer-function, special-display-buffer-names)
6049 (special-display-function): Mention help-setup parameter instead
6050 of display-buffer-window in doc-string.
d3c30954
SM
6051 * help.el (help-window-setup): New argument help-window.
6052 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6053 Reword some messages.
6054 (with-help-window): Pass window used for displaying the buffer
6055 to help-window-setup. Don't set display-buffer-window.
6056
8e39b2e8
GM
60572011-09-13 Glenn Morris <rgm@gnu.org>
6058
6059 * emacs-lisp/debug.el (debugger-make-xrefs):
6060 Preserve point. (Bug#9462)
6061
85e9c04b
CY
60622011-09-13 Chong Yidong <cyd@stupidchicken.com>
6063
6064 * window.el (window-deletable-p): Use next-frame.
6065
1b36ed6a
MR
60662011-09-13 Martin Rudalics <rudalics@gmx.at>
6067
6068 * window.el (window-auto-delete): Remove.
6069 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6070 dedication and previous buffers.
1b36ed6a
MR
6071 (switch-to-prev-buffer): Don't delete window.
6072 (delete-windows-on): Delete a window's frame if and only if the
6073 window is dedicated.
6074 (replace-buffer-in-windows): Delete buffer's window or frame if
6075 and only if window is dedicated.
6076 (quit-window): Handle quit-restore as before last change.
4d61f28d 6077 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6078
ef8ef9fb
CY
60792011-09-13 Chong Yidong <cyd@stupidchicken.com>
6080
6081 * window.el (window-deletable-p): Never delete the last frame on a
6082 given terminal.
6083
b2cba41e
GM
60842011-09-13 Glenn Morris <rgm@gnu.org>
6085
6086 * help.el (describe-key-briefly): Copy previous standard-output change.
6087
51553db6 60882011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6089
6090 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6091
b7556719
GM
60922011-09-13 Glenn Morris <rgm@gnu.org>
6093
6094 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6095 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6096
64b51947
CY
60972011-09-12 Chong Yidong <cyd@stupidchicken.com>
6098
6099 * dired-aux.el (dired-mark-read-string): Don't return default
6100 value on empty input (Bug#9361).
6101 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6102 Omit initial minibuffer contents.
6103 (dired-do-chmod): Signal an error on empty input.
6104 (dired-mark-read-string): Don't return default on empty input.
6105
6106 * files.el (file-modes-symbolic-to-number): Doc fix.
6107
393a301e
SM
61082011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6109
6110 * international/mule-cmds.el (ucs-completions): Remove.
6111 (read-char-by-name): Use complete-with-action instead; add metadata.
6112
fa5660f9
CY
61132011-09-11 Chong Yidong <cyd@stupidchicken.com>
6114
6115 * window.el (display-buffer--action-function-custom-type)
6116 (display-buffer--action-custom-type): New vars.
6117 (display-buffer-alist, display-buffer-default-action)
6118 (display-buffer-overriding-action): Add defcustom types.
6119
4a592f66
CY
6120 * frame.el (delete-other-frames): Doc fix (Bug#276).
6121
73d56dbd
LMI
61222011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6123
6124 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6125
37ac18a3
CY
61262011-09-11 Chong Yidong <cyd@stupidchicken.com>
6127
6128 Change modes that used same-window-* vars to use switch-to-buffer.
6129
6130 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6131 Use switch-to-buffer.
6132
6133 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6134 (customize-browse, custom-buffer-create-other-window):
6135 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6136
6137 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6138 (Info-prev, Info-up, Info-speedbar-goto-node)
6139 (info-display-manual): Use switch-to-buffer.
6140 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6141
6142 * mail/sendmail.el (mail): Use switch-to-buffer.
6143 (mail-recover): Use switch-to-buffer-other-window.
6144
6145 * cmuscheme.el (run-scheme, switch-to-scheme):
6146 * ielm.el (ielm):
6147 * shell.el (shell):
6148 * net/rlogin.el (rlogin):
6149 * net/telnet.el (telnet, rsh):
6150 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6151
10195bd6
AS
61522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6153
6154 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6155
b322f63a
LMI
61562011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6157
39d7fed6
LMI
6158 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6159 so don't mention it (bug#9301).
ba5a81f1 6160 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6161
ee0e9f11
LMI
6162 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6163 match `x', `w32' and `ns', like the manual says (bug#9029).
6164
0b1c89c1 6165 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6166 (process-kill-buffer-query-function): Mention the buffer name in
6167 the query.
0b1c89c1 6168
77549ea8
LMI
6169 * image-mode.el (image-next-line): The line parameter is mandatory
6170 (bug#9258).
6171
803ef892
LMI
6172 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6173 which can be useful (bug#9301).
6174
12980837
LMI
6175 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6176
91054f8f
LMI
6177 * subr.el (match-string): Mention that the current buffer should
6178 be the same as the search was done in (bug#9282).
6179
b322f63a
LMI
6180 * facemenu.el: Disable the remove-* commands if the mark isn't
6181 active (bug#9162).
6182
3199b96f
CY
61832011-09-10 Chong Yidong <cyd@stupidchicken.com>
6184
6185 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6186 of display-buffer.
6187 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6188
6189 * replace.el (occur-mode-goto-occurrence)
6190 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6191 and display-buffer.
6192
6193 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6194 display-buffer.
6195
6196 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6197 special-display and same-window variables.
6198 (mail-other-window): Use switch-to-buffer-other-window.
6199 (mail-other-frame): USe switch-to-buffer-other-frame.
6200
393a301e
SM
6201 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6202 Use display-buffer-other-frame.
3199b96f
CY
6203 (gdb-display-gdb-buffer): Use pop-to-buffer.
6204
6205 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6206
6207 * progmodes/python.el: Don't set same-window-buffer-names.
6208
6209 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6210
6211 * window.el (display-buffer-alist): Add *Python*.
6212
8319e0bf
CY
62132011-09-10 Chong Yidong <cyd@stupidchicken.com>
6214
6215 * window.el (display-buffer-alist): Add entry for buffers
6216 previously handled same-window-*.
6217 (display-buffer-alist, display-buffer-default-action)
6218 (display-buffer-overriding-action): Mark as risky.
6219 (display-buffer-alist): Document action function changes.
6220 (display-buffer--same-window-action)
6221 (display-buffer--other-frame-action): New variables.
6222 (switch-to-buffer, display-buffer-other-frame): Use them.
6223 (display-buffer): Rename reuse-frame entry to reusable-frames.
6224 (display-buffer-reuse-selected-window): Function deleted.
6225 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6226 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6227 (display-buffer-special): New function.
6228 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6229 display-buffer-reuse-or-pop-window. Split off special-display
6230 part into display-buffer-special.
6231 (display-buffer-use-some-window): Don't perform any special
6232 pop-up-frames handling.
6233 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6234 (display-buffer--maybe-same-window): Rename from
0d3ff375 6235 display-buffer-maybe-same-window.
8319e0bf 6236
919a69aa
CY
6237 * info.el: Don't set same-window-regexps.
6238 (info-setup): New function.
6239 (info-other-window, info): Call it.
6240
6241 * cus-edit.el: Don't set same-window-regexps.
6242 (customize-group): New argument.
6243 (customize-group-other-window): Use it.
6244 (customize-face, customize-face-other-window): Likewise.
6245 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6246
8319e0bf
CY
6247 * net/rlogin.el:
6248 * net/telnet.el:
6249 * progmodes/gud.el: Don't set same-window-regexps.
6250
6251 * cmuscheme.el:
6252 * ielm.el:
6253 * shell.el:
6254 * mail/sendmail.el:
6255 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6256
25173000
JL
62572011-09-10 Juri Linkov <juri@jurta.org>
6258
6259 * isearch.el (isearch-edit-string): Remove obsolete mention of
6260 `C-w' (`isearch-yank-word-or-char') from docstring.
6261 (isearch-query-replace): Fix typo in docstring (bug#9466).
6262
056e44ef
JL
62632011-09-10 Juri Linkov <juri@jurta.org>
6264
6265 * paren.el (show-paren-function): Don't show escaped parens.
6266 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6267
c3760c17
EZ
62682011-09-10 Eli Zaretskii <eliz@gnu.org>
6269
6270 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6271 (mm-default-file-encoding): Remove autoload forms, they are
6272 replaced with autoload cookies in mml.el and mm-encode.el.
6273 (mail-add-attachment): New command.
6274 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6275 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6276 the doc string.
6277 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6278
fece895e
RT
62792011-09-10 Reuben Thomas <rrt@sc3d.org>
6280
e69df516
SM
6281 * simple.el (count-words-region): Use buffer if there's no region
6282 (bug#9429).
fece895e 6283
5e68ce4a
JL
62842011-09-09 Juri Linkov <juri@jurta.org>
6285
6286 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6287 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6288 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6289
0a6b9622
AM
62902011-09-09 Alan Mackenzie <acm@muc.de>
6291
6292 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6293 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6294
14a29deb
EZ
62952011-09-09 Eli Zaretskii <eliz@gnu.org>
6296
6297 Fix for Savannah bug#9392.
6298 * simple.el (mail-encode-mml): New defvar.
6299
6300 * mail/rmail.el (mail-encode-mml): Add a defvar.
6301 (rmail-enable-mime-composing): Default to t.
6302 (rmail-forward): Use MIME method of forwarding only if both
6303 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6304 Set mail-encode-mml non-nil if the MIME method was used.
6305
6306 * mail/sendmail.el (mml-to-mime): Add autoload form.
6307 (mail-encode-mml): Add a defvar.
6308 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6309 to nil.
6310 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6311 message through mml-to-mime, and reset mail-encode-mml to nil.
6312
28c45130
GM
63132011-09-09 Glenn Morris <rgm@gnu.org>
6314
6315 * woman.el (woman-if-body): When processing an .el block,
6316 do not delete the next .el block as well. (Bug#9447)
69f4b618 6317 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6318
9b1c252e
MR
63192011-09-08 Martin Rudalics <rudalics@gmx.at>
6320
6321 * window.el (window-deletable-p): Make sure window is live before
6322 invoking window-prev-buffers.
6323
567457e3
LL
63242011-09-08 Leo Liu <sdl.web@gmail.com>
6325
6326 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6327
97f05794
JL
63282011-09-08 Juri Linkov <juri@jurta.org>
6329
6330 * progmodes/compile.el (compilation-environment): Make it
6331 a defcustom (bug#8340).
6332
8b0874b5
MR
63332011-09-08 Martin Rudalics <rudalics@gmx.at>
6334
6335 * window.el (frame-auto-delete): Rename to window-auto-delete.
6336 Make it control auto-deletion of windows and/or frames.
6337 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6338 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6339 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6340 Rewrite handling of case when window/frame can be deleted.
6341 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6342 argument t. (Bug#9456)
8b0874b5 6343
4feb6e73
CY
63442011-09-07 Chong Yidong <cyd@stupidchicken.com>
6345
6346 * help-mode.el (help-mode): Restore autoload.
6347
91ab9c13
JL
63482011-09-07 Juri Linkov <juri@jurta.org>
6349
6350 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6351 `compilation-environment'. Set buffer-local
6352 `compilation-environment' to `thisenv' later after (funcall mode).
6353 (Bug#8340)
6354
6355 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6356 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6357 instead of replacing its value. (Bug#8340)
6358
0527e251
JL
63592011-09-07 Juri Linkov <juri@jurta.org>
6360
6361 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6362 based on text properties put by `grep-filter' instead of matching
6363 escape sequences.
6364 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6365 to the value of `grep-error-screen-columns' (bug#9438).
6366
249f792c
JL
63672011-09-07 Juri Linkov <juri@jurta.org>
6368
6369 * simple.el (next-error-highlight, next-error-highlight-no-select):
6370 Doc fix (bug#9432).
6371
ff7271b9
OT
63722011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6373
6374 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6375 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6376
183fc730
LL
63772011-09-07 Leo Liu <sdl.web@gmail.com>
6378
6379 * net/rcirc.el (rcirc-mode): Conditionally initialize
6380 rcirc-input-ring.
6381
77694924
SM
63822011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6383
6384 * emacs-lisp/find-func.el (find-function-C-source): Only set
6385 find-function-C-source-directory after checking that we found a source
6386 file there (bug#9440).
6387
d809b8eb
AM
63882011-09-06 Alan Mackenzie <acm@muc.de>
6389
6390 * isearch.el (isearch-other-meta-char): Wherever a key list is
6391 unread, "unread" the prefix arg, too. This fixes bug #8901.
6392
453de99f
OG
63932011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6394
6395 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6396
90439906
JL
63972011-09-05 Juri Linkov <juri@jurta.org>
6398
6399 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6400
f62bd846
JL
64012011-09-05 Juri Linkov <juri@jurta.org>
6402
6403 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6404 keeping point where processing of grep matches begins, and
6405 continue to delete remaining escape sequences from the same point.
6406 (grep-filter): Make leading zero optional in "0?1;31m" because
6407 git-grep emits "\033[1;31m" escape sequences unlike expected
6408 "\033[01;31m" as GNU Grep does (bug#9408).
6409 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6410
045820ec
JL
64112011-09-05 Juri Linkov <juri@jurta.org>
6412
6413 * subr.el (y-or-n-p): Capitalize "yes".
6414
f5e29b9b
MA
64152011-09-04 Michael Albinus <michael.albinus@gmx.de>
6416
6417 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6418 `tramp-cache-unload-hook' where appropriate.
6419 (tramp-methods): Rename `tramp-remote-sh' to
6420 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6421 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6422
6423 * net/tramp-sh.el (top): Don't require 'shell.
6424 (tramp-methods): Add `tramp-remote-shell' and
6425 `tramp-remote-shell-args' entries.
6426 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6427 (tramp-sh-handle-shell-command): Remove.
6428 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6429 Use `tramp-remote-shell'.
6430
2784c434
CY
64312011-09-03 Chong Yidong <cyd@stupidchicken.com>
6432
393a301e 6433 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6434 (sendmail-query-once): Save directly to send-mail-function.
6435 Update message-send-mail-function too.
6436
6437 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6438
464cdf56
CS
64392011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6440
6441 * progmodes/python.el (python-mode-map): Use correct function to
6442 start python interpreter from menu-bar (as reported by Geert
6443 Kloosterman).
6444 (inferior-python-mode-map): Fix typo.
393a301e 6445 (python-shell-map): Remove.
464cdf56 6446
d37e5c87
DD
64472011-09-03 Deniz Dogan <deniz@dogan.se>
6448
6449 * net/rcirc.el (rcirc-print): Simplify code for
6450 rcirc-scroll-show-maximum-output. There is no need to walk
6451 through all windows to find the right one.
6452
f3ada0ee
CS
64532011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6454
6455 * help.el (help-return-method): Doc fix.
6456
1f3c99ca
MR
64572011-09-03 Martin Rudalics <rudalics@gmx.at>
6458
6459 * window.el (window-deletable-p): Don't return a non-nil value
6460 when there's a buffer that was shown in the window before.
6461 (Bug#9419)
393a301e
SM
6462 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6463 Set window's previous buffers to nil.
1f3c99ca 6464
a3cf097f
EZ
64652011-09-03 Eli Zaretskii <eliz@gnu.org>
6466
6467 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6468 newline before and after the tag line, so it doesn't interfere
6469 with determining the paragraph direction of bidirectional text.
6470
3d03de90
LL
64712011-09-03 Leo Liu <sdl.web@gmail.com>
6472
6473 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6474
c3313451
CY
64752011-09-02 Chong Yidong <cyd@stupidchicken.com>
6476
393a301e 6477 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6478 (pop-to-buffer): Change interactive spec. Pass second argument
6479 directly to display-buffer.
6480 (display-buffer): Fix interactive spec. Use functionp to
6481 distinguish between a function and a list of functions.
6482
6483 * abbrev.el (edit-abbrevs):
6484 * arc-mode.el (archive-extract):
6485 * autoinsert.el (auto-insert):
6486 * bookmark.el (bookmark-bmenu-list):
6487 * files.el (find-file):
6488 * view.el (view-buffer):
6489 * progmodes/compile.el (compilation-goto-locus):
6490 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6491
89894cd8
CY
64922011-09-02 Chong Yidong <cyd@stupidchicken.com>
6493
6494 * window.el (display-buffer-alist): Doc fix.
6495 (display-buffer): Add docstring. Don't treat
6496 display-buffer-default specially.
6497 (display-buffer-reuse-selected-window)
6498 (display-buffer-same-window, display-buffer-maybe-same-window)
6499 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6500 (display-buffer-pop-up-window)
6501 (display-buffer-reuse-or-pop-window)
6502 (display-buffer-use-some-window): New functions.
6503 (display-buffer-default-action): Use them.
393a301e 6504 (display-buffer-default): Delete.
89894cd8
CY
6505 (pop-to-buffer-1): Fix choice of actions.
6506
ae0bc9fb
SM
65072011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * minibuffer.el (completion--insert-strings): Don't get confused by
6510 completion entries that end with an LF char.
6511
e9d90883
EZ
65122011-09-01 Eli Zaretskii <eliz@gnu.org>
6513
6514 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6515
437014c8
CY
65162011-09-01 Chong Yidong <cyd@stupidchicken.com>
6517
6518 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6519 (display-buffer-same-window, display-buffer-other-window):
6520 New functions.
437014c8
CY
6521 (pop-to-buffer-1): New function. Use the above.
6522 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6523 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6524
6525 * view.el (view-buffer-other-window, view-buffer-other-frame):
6526 Just use pop-to-buffer.
6527
a5e063d5
TV
65282011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6529
6530 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6531
793d32bb
WH
65322011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6533
6534 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6535
d65e4c15
RS
65362011-08-31 Richard Stallman <rms@gnu.org>
6537
6538 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6539 of the separation of rmail-view-buffer from rmail-buffer.
6540 If you say no to "replace original", the decrypt is in the
6541 view buffer. If you say yes, the decrypt goes into the
6542 rmail buffer also.
6543
f818cd2a
MR
65442011-08-31 Martin Rudalics <rudalics@gmx.at>
6545
6546 * window.el (display-buffer-window): Rewrite doc-string.
6547 (display-buffer-record-window): New function.
6548 (display-buffer-macro-specifiers)
6549 (display-buffer-even-window-sizes, display-buffer-set-height)
6550 (display-buffer-set-width, display-buffer-in-window)
6551 (display-buffer-reuse-window, display-buffer-split-specifiers)
6552 (display-buffer-side-specifiers, display-buffer-split-window-1)
6553 (display-buffer-split-window, display-buffer-split-atom-window)
6554 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6555 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6556 (display-buffer-other-window-means-other-frame)
6557 (display-buffer-normalize-special)
6558 (display-buffer-normalize-default)
6559 (display-buffer-normalize-argument)
6560 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6561 (display-buffer-normalize-specifiers, display-buffer-frame)
6562 (display-buffer-same-window, display-buffer-same-frame)
6563 (display-buffer-other-window)
6564 (display-buffer-same-frame-other-window)
6565 (display-buffer-other-frame, pop-to-buffer-same-window)
6566 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6567 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6568 (switch-to-buffer-same-frame)
6569 (switch-to-buffer-other-window-same-frame)
6570 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6571 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6572 (display-buffer-alist-set): Remove.
6573 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6574 (special-display-regexps, special-display-function):
6575 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6576 parameter.
6577 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6578 (special-display-frame-alist, special-display-popup-frame)
6579 (same-window-buffer-names, same-window-regexps, same-window-p)
6580 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6581 (split-window-preferred-function, split-height-threshold)
6582 (split-width-threshold, window-splittable-p)
6583 (split-window-sensibly, window--try-to-split-window)
6584 (window--frame-usable-p, even-window-heights)
6585 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6586 (window--display-buffer-2, display-buffer-other-frame):
6587 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6588 (display-buffer-default, display-buffer-assq-regexp): New functions.
6589 (display-buffer-alist): Rewrite doc-string.
6590 (display-buffer-default-action)
6591 (display-buffer-overriding-action): New variables.
6592 (display-buffer, switch-to-buffer): Rewrite.
6593 (pop-to-buffer): Restore Emacs 23 behavior but use
6594 window-normalize-buffer-to-display.
6595 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6596 Restore Emacs 23 behavior but use
6597 window-normalize-buffer-to-switch-to.
6598 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6599 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6600 Rewrite using Emacs 23 options.
f818cd2a 6601
5bc3b51d
MA
66022011-08-31 Michael Albinus <michael.albinus@gmx.de>
6603
6604 * net/tramp.el (tramp-root-regexp): Remove.
6605 (tramp-completion-file-name-regexp-unified)
6606 (tramp-completion-file-name-regexp-separate)
6607 (tramp-completion-file-name-regexp-url): Don't use leading volume
6608 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6609 (tramp-drop-volume-letter): Simplify definition.
6610 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6611
b1a4f8e1
SM
66122011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6615 (bug#9356).
6616
5664fa7b
RT
66172011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6618
b1a4f8e1 6619 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6620
9a45d6c3
JL
66212011-08-29 Juri Linkov <juri@jurta.org>
6622
6623 * isearch.el (isearch-done): Don't display message "Mark saved"
6624 when arg `edit' is non-nil to prevent its flicker in the echo area.
6625
fb87e0fb
CY
66262011-08-28 Chong Yidong <cyd@stupidchicken.com>
6627
6628 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6629 obsolete packages for deletion.
6630
09ac1c2a
CS
66312011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6632
6633 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6634 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6635 view-mode from help-mode.
6636 (help-xref-override-view-map): Remove.
6637 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6638 view-mode is not used anymore.
6639
7a1ff57f
CY
66402011-08-28 Chong Yidong <cyd@stupidchicken.com>
6641
6642 * server.el (server-port): Doc fix.
6643
b9696605
CY
6644 * cus-theme.el (custom-theme-choose-mode): Inherit from
6645 special-mode (Bug#9124).
6646 (custom-theme-choose-mode-map): Add special-mode to parent.
6647
ef8cdf8c
AM
66482011-08-28 Alan Mackenzie <acm@muc.de>
6649
6650 * progmodes/cc-fonts.el
6651 (c-make-font-lock-BO-decl-search-function): New function.
6652 (c-basic-matchers-after - "Fontify the clauses after various
6653 keywords"): Extract the three keyword lists for the 3 erroneous
6654 constructs from the list of four, and use the new function above
6655 in place of an old one.
6656
27de4e20
DD
66572011-08-28 Deniz Dogan <deniz@dogan.se>
6658
6659 * net/rcirc.el (rcirc-insert-prev-input)
6660 (rcirc-insert-next-input): Remove unused argument.
6661
356a3681
SM
66622011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6663
6664 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6665
3fc9b218
AM
66662011-08-27 Alan Mackenzie <acm@muc.de>
6667
6668 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6669 handle function pointer parameters properly.
6670
538a061c
MR
66712011-08-27 Martin Rudalics <rudalics@gmx.at>
6672
6673 * window.el (display-buffer-reuse-window): Fix case where
6674 selected window was reused with non-nil OTHER-WINDOW argument.
6675 (Bug#9381)
6676
35b1c40c
DD
66772011-08-27 Deniz Dogan <deniz@dogan.se>
6678
6679 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6680 oftc's NickServ messages.
6681
2f6a3e79
GM
66822011-08-27 Glenn Morris <rgm@gnu.org>
6683
6684 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6685
7254299e
CY
66862011-08-26 Chong Yidong <cyd@stupidchicken.com>
6687
6688 * emacs-lisp/package.el (package-install): Call package-initialize
6689 if called interactively.
6690
f8ccf167
LL
66912011-08-26 Leo Liu <sdl.web@gmail.com>
6692
6693 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6694
3e8cd5ce
JL
66952011-08-25 Juri Linkov <juri@jurta.org>
6696
6697 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6698 `search-whitespace-regexp' (bug#9364).
6699
93eb7113
JL
67002011-08-25 Juri Linkov <juri@jurta.org>
6701
6702 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6703 `regexp-search-ring' to their global values to protect from
6704 updating by `read-from-minibuffer' (bug#9185).
6705
f65d1611
JL
67062011-08-25 Juri Linkov <juri@jurta.org>
6707
6708 * textmodes/ispell.el (ispell-command-loop): Add newline
6709 at the end of the "Use option `i'..." line.
6710
f1cf7a31
JL
67112011-08-25 Juri Linkov <juri@jurta.org>
6712
6713 * battery.el (display-battery-mode): If `battery-status-function'
6714 or `battery-mode-line-format' is nil, display the message and set
6715 `display-battery-mode' to nil (bug#9363).
6716
0c95fcf7
EZ
67172011-08-25 Eli Zaretskii <eliz@gnu.org>
6718
6719 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6720 bidi-string-mark-left-to-right; they are unnecessary now.
6721
a2ebe600
DD
67222011-08-25 Deniz Dogan <deniz@dogan.se>
6723
6724 * net/quickurl.el: Documentation typo fixes.
6725
e4ed06f1
CY
67262011-08-25 Chong Yidong <cyd@stupidchicken.com>
6727
6728 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6729
e5f1c99e
GM
67302011-08-25 Glenn Morris <rgm@gnu.org>
6731
b2948976
GM
6732 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6733
e5f1c99e
GM
6734 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6735 (smtpmail-via-smtp): Handle nil response from smtp.
6736
f22f4808
JL
67372011-08-24 Juri Linkov <juri@jurta.org>
6738
6739 * proced.el (proced-marked): Inherit from `error' instead of
6740 `font-lock-warning-face'.
6741
6742 * ibuffer.el (ibuffer-marked-face): Change default face from
6743 `font-lock-warning-face' to `warning'.
6744 (ibuffer-deletion-face): Change default face from
6745 `font-lock-type-face' to `error'.
6746
6747 * battery.el (battery-update): Use the face `error' instead of
6748 `font-lock-warning-face' (bug#6117).
6749
6a93965e
JL
67502011-08-24 Juri Linkov <juri@jurta.org>
6751
6752 * faces.el (success): Change face color from "Green3" to
6753 "ForestGreen" on light background (bug#9353).
6754
1ed43b09
CY
67552011-08-24 Chong Yidong <cyd@stupidchicken.com>
6756
5664fa7b
RT
6757 * window.el (quit-window): Rename from quit-restore-window.
6758 Use same arglist as old quit-window.
1ed43b09
CY
6759 (frame-auto-delete): Doc fix.
6760
6761 * view.el (view-mode-exit): Use quit-window.
6762
11dcdbb2
JL
67632011-08-24 Juri Linkov <juri@jurta.org>
6764
6765 * isearch.el (isearch-ring-adjust1): Start visiting previous
6766 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6767 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6768 for empty search string (when the last search string is reused
6769 automatically) to adjust the isearch ring to the last element and
6770 prepare the correct index for further M-p commands (bug#9185).
6771
de62b4df
KH
67722011-08-24 Kenichi Handa <handa@m17n.org>
6773
6774 * international/ucs-normalize.el: If decomposition property of
6775 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6776 nil.
6777 (nfd, nfkd): Likewise.
6778
963b492b
SM
67792011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6782 from process filters aren't reliably transmitted to the surrounding
6783 accept-process-output.
6784 (mpc-proc-check): New function.
6785 (mpc-proc-sync): Use it (bug#8293)
6786
93b6b5e1
SM
67872011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6790 Add compatibility functions (bug#9313).
6791
bca633fb
EZ
67922011-08-23 Eli Zaretskii <eliz@gnu.org>
6793
b177498a
EZ
6794 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6795
6df6ae42 6796 * international/uni-bidi.el: Regenerate.
bca633fb 6797
0902a04e
KH
67982011-08-23 Kenichi Handa <handa@m17n.org>
6799
6800 * international/charprop.el:
6801 * international/uni-bidi.el:
6802 * international/uni-category.el:
6803 * international/uni-combining.el:
6804 * international/uni-comment.el:
6805 * international/uni-decimal.el:
6806 * international/uni-decomposition.el:
6807 * international/uni-digit.el:
6808 * international/uni-lowercase.el:
6809 * international/uni-mirrored.el:
6810 * international/uni-name.el:
6811 * international/uni-numeric.el:
6812 * international/uni-old-name.el:
6813 * international/uni-titlecase.el:
6814 * international/uni-uppercase.el: Regenerate.
6815
3bbf23bc
MR
68162011-08-23 Martin Rudalics <rudalics@gmx.at>
6817
6818 * help.el (help-window-setup): Fix message displayed when other
6819 window is reused. (Bug#9341)
6820
b3fd59bd
SM
68212011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6822
1802e444
SM
6823 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6824 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6825
b3fd59bd
SM
6826 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6827 Mark obsolete.
6828 * shell.el (shell-parse-pcomplete-arguments): New function.
6829 (shell-completion-vars): Use it instead (bug#9160).
6830
4eb61348
SM
68312011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6832
867cab74
SM
6833 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6834 strings and comments (bug#9333).
6835
4eb61348
SM
6836 * emacs-lisp/debug.el (debug-arglist): New function.
6837 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6838 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6839
262a1439
JL
68402011-08-22 Juri Linkov <juri@jurta.org>
6841
56ee679c
JL
6842 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6843 Revert regexp that highlights output switches to its old
6844 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6845
262a1439
JL
6846 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6847 to check for empty output (bug#9226).
6848
f13f86fb
CY
68492011-08-22 Chong Yidong <cyd@stupidchicken.com>
6850
6851 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6852 symbol-constituent as the default, as that stops font-lock from
6853 working properly (Bug#8843).
6854
c65c9622
LMI
68552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6856
6857 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6858 `coding-system-for-*' around the process open call to avoid
6859 auth-source side effects.
e7f2c178 6860 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6861 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6862 probe hangs.
c65c9622 6863
23a8a5ab
CY
68642011-08-21 Chong Yidong <cyd@stupidchicken.com>
6865
ff98b2dd
CY
6866 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6867
23a8a5ab
CY
6868 * emacs-lisp/find-func.el (find-function-noselect): New arg
6869 lisp-only.
6870
6871 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6872 signal an error for built-in functions (Bug#6664).
6873
f5e3c598
LMI
68742011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6875
6876 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6877 (smtpmail-try-auth-methods): Use it.
6878
a3f2468a
CY
68792011-08-21 Chong Yidong <cyd@stupidchicken.com>
6880
2c34e8da
CY
6881 * font-lock.el (font-lock-fontify-region)
6882 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6883 (font-lock-default-unfontify-buffer)
6884 (font-lock-default-fontify-region)
6885 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6886
b3fd59bd
SM
6887 * progmodes/compile.el (compilation-error-properties):
6888 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6889 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6890 `ant' regexp.
ee31aabc 6891
a3f2468a
CY
6892 * net/browse-url.el (browse-url-firefox): Don't call
6893 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6894
8e999f70
GM
68952011-08-20 Glenn Morris <rgm@gnu.org>
6896
c21a496a
GM
6897 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6898
59ee0542
GM
6899 * tutorial.el (tutorial--default-keys): Update some default bindings.
6900
8e999f70
GM
6901 * files.el (hack-local-variables): Fully ignore case for "mode:".
6902
e3715033
AM
69032011-08-20 Alan Mackenzie <acm@muc.de>
6904
6905 Resolve invalid use of a regexp in regexp-opt.
6906
4d61f28d
JB
6907 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6908 detection for a java annotation.
e3715033 6909
4d61f28d 6910 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6911 detection for a java annotation.
6912
4d61f28d
JB
6913 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6914 handling for java.
e3715033
AM
6915 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6916
04ed2e9c
CY
69172011-08-20 Chong Yidong <cyd@stupidchicken.com>
6918
6919 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6920 (Bug#9274).
6921
826cee64
AM
69222011-08-20 Alan Mackenzie <acm@muc.de>
6923
58179cce 6924 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6925 such a construct. Mainly for when jit-lock etc. starts a chunk
6926 here.
6927
58179cce 6928 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6929 variable.
58179cce 6930 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6931 c-make-font-lock-search-function.
6932 (c-make-font-lock-search-function): Use the above function.
6933 (c-make-font-lock-context-search-function): New function.
6934 (c-cpp-matchers): Enhance the preprocessor expression case with
6935 the above function
6936 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6937 which takes an expression.
6938
6939 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6940
13009bd8
MR
69412011-08-20 Martin Rudalics <rudalics@gmx.at>
6942
6943 * window.el (display-buffer-reuse-window)
6944 (display-buffer-pop-up-window): Don't reuse or split a side
6945 window.
6946
9234ff7f
GM
69472011-08-19 Glenn Morris <rgm@gnu.org>
6948
6949 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6950 Downcase "Mode:". (Bug#9331)
9234ff7f 6951
f635daa1
CY
69522011-08-18 Chong Yidong <cyd@stupidchicken.com>
6953
6954 * international/characters.el: Add L and R categories.
6955
6956 * subr.el (bidi-string-mark-left-to-right): Rename from
6957 string-mark-left-to-right. Use category search.
6958
6959 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6960
bc987f8b
JL
69612011-08-18 Juri Linkov <juri@jurta.org>
6962
6963 * faces.el (error, warning, success): New faces with definitions
6964 copied from old default values of `font-lock-warning-face',
6965 `compilation-warning', `compilation-info' (bug#6117).
6966
6967 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6968
6969 * progmodes/compile.el (compilation-error): Inherit from `error'.
6970 (compilation-warning): Inherit from `warning'.
6971 (compilation-info): Inherit from `success'.
6972
6973 * dired.el (dired-marked): Inherit from `warning'.
6974 (dired-flagged): Inherit from `error'.
6975
57173b96
LMI
69762011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6977
3e79eb87
LMI
6978 * mail/smtpmail.el (auth-source): Require to avoid problems with
6979 binding variables (bug#9298). Also clean up some unused
6980 autoloads.
6981
b3fd59bd
SM
6982 * net/network-stream.el (network-stream-open-starttls):
6983 Support using starttls.el without using gnutls-cli.
57173b96 6984
02b404de
JL
69852011-08-17 Juri Linkov <juri@jurta.org>
6986
6987 * progmodes/grep.el (rgrep): Handle the case when
6988 `grep-find-command' is a cons cell (bug#9278).
6989
8c9177f2
MR
69902011-08-17 Martin Rudalics <rudalics@gmx.at>
6991
6992 * window.el (display-buffer-pop-up-frame): Run frame creation
6993 function with BUFFER current (as special-display-popup-frame
6994 does). Reported by Drew Adams.
6995
3644a0ab
DU
69962011-08-17 Daiki Ueno <ueno@unixuser.org>
6997
6998 * epa-mail.el: Simplify GnuPG group expansion using
6999 epg-expand-group.
7000 (epa-mail-group-alist, epa-mail-group-modtime)
7001 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7002 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7003 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7004 Remove.
7005
5e617bc2 70062011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7007
7008 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7009
9c4aeabf
AM
70102011-08-16 Alan Mackenzie <acm@muc.de>
7011
7012 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7013 Correct, to avoid the inside of macros.
7014
3a99bf64
RS
70152011-08-16 Richard Stallman <rms@gnu.org>
7016
04963aa8
RS
7017 * epa-mail.el: Handle GnuPG group definitions.
7018 (epa-mail-group-alist, epa-mail-group-modtime)
7019 (epa-mail-gnupg-conf-file): New variables.
7020 (epa-mail-parse-groups, epa-mail-sync-groups)
7021 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7022 (epa-mail-expand-recipients): New functions.
7023 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7024
177549d0
RS
7025 * mail/rmail.el (rmail-epa-decrypt): New command.
7026
fe38beef
RS
7027 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7028 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7029 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7030 (epa-decrypt-armor-in-region): Make error message clearer.
7031
934eacb9
SM
70322011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7035 and "a2b" to "ab" for `prefix'.
7036
d024fb4e
CY
70372011-08-14 Chong Yidong <cyd@stupidchicken.com>
7038
7039 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7040 filter groups.
de148fee
CY
7041 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7042 Fourquet (Bug#8804).
d024fb4e 7043
62f1ca49
JB
70442011-08-12 Juanma Barranquero <lekktu@gmail.com>
7045
7046 * startup.el (argi): Declare as global variable (bug#9275).
7047
9ccaaa4b
CY
70482011-08-12 Chong Yidong <cyd@stupidchicken.com>
7049
7050 * subr.el (string-mark-left-to-right): Search the entire string
7051 for RTL script, not just the terminating character. Doc fix.
7052
a3dae87a
SM
70532011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7054
6cd18349
SM
7055 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7056 New function.
7057 (js--regexp-literal, js-syntax-propertize-function): Remove.
7058 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7059 (js-mode-map): Don't rebind electric keys.
7060 (js-insert-and-indent): Remove.
7061 (js-mode): Setup electric-layout and electric-indent instead.
7062
a3dae87a
SM
7063 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7064
9d5cb631
DU
70652011-08-12 Daiki Ueno <ueno@unixuser.org>
7066
7067 * epa.el (epa-progress-callback-function): Fix the logic of
7068 displaying progress.
7069 * epa-file.el (epa-file-insert-file-contents): Make progress
7070 display more user-friendly.
7071 (epa-file-write-region): Ditto.
7072
3e26a4a2
CY
70732011-08-10 Chong Yidong <cyd@stupidchicken.com>
7074
7075 * subr.el (string-mark-left-to-right): New function.
7076
7077 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7078 Use string-mark-left-to-right.
7079 (list-buffers-noselect): Caller changed.
7080
a3dae87a
SM
7081 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7082 Use string-mark-left-to-right.
3e26a4a2
CY
7083 (tabulated-list-print): Recenter after moving point.
7084
ac8cf6e6
JL
70852011-08-10 Juri Linkov <juri@jurta.org>
7086
7087 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7088 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7089 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7090
8d96c9a4
CY
70912011-08-09 Chong Yidong <cyd@stupidchicken.com>
7092
7093 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7094 (Bug#7554).
7095
7be1c708 70962011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7097
7098 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7099 character. (Bug#6594)
7100
37e11a63
CY
71012011-08-08 Chong Yidong <cyd@stupidchicken.com>
7102
839dde57
CY
7103 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7104 (image-dired--with-db-file): New macro.
7105 (image-dired-write-tags, image-dired-remove-tag)
7106 (image-dired-create-gallery-lists, image-dired-write-comments)
7107 (image-dired-get-comment, image-dired-mark-tagged-files)
7108 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7109 (image-dired-gallery-generate): Use insert-file-contents.
7110
37e11a63
CY
7111 * time.el (display-time-world-list, display-time-world-display):
7112 * time-stamp.el (time-stamp-string):
7113 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7114 set-time-zone-rule (Bug#7337).
7115
0b4946c4
DU
71162011-08-08 Daiki Ueno <ueno@unixuser.org>
7117
7118 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7119 (epg-error-to-string, epg-errors-to-string): New function.
7120 (epg-wait-for-completion): Reverse errors list.
7121 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7122 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7123 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7124 (epg-sign-keys, epg-generate-key-from-file)
7125 (epg-generate-key-from-string): Format errors by using
7126 epg-errors-to-string (bug#9255).
7127 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7128
75bfc667
JL
71292011-08-07 Juri Linkov <juri@jurta.org>
7130
7131 * faces.el (list-faces-display): Remove extra angle bracket
7132 from `help-mode-map'.
7133
7134 * info.el (Info-history-toc-nodes): Doc fix.
7135
7136 * longlines.el (longlines-mode): Doc fix.
7137
673e08bb
SM
71382011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7139
4640dd88
SM
7140 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7141 of statements and in a few more cases (bug#9183).
7142
673e08bb
SM
7143 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7144 New functions.
7145 (cl-transform-lambda): Use them (bug#9239).
7146
89b3f019
MR
71472011-08-05 Martin Rudalics <rudalics@gmx.at>
7148
7149 * window.el (display-buffer-same-window)
7150 (display-buffer-same-frame, display-buffer-other-window)
7151 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7152 (pop-to-buffer-other-window)
7153 (pop-to-buffer-same-frame-other-window)
7154 (pop-to-buffer-other-frame): Make them defuns.
7155 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7156
640c8776
SM
71572011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7158
7159 * subr.el (make-composed-keymap): Move from C. Change calling
7160 convention, and improve docstring to bring attention to a subtle point.
7161 * minibuffer.el (completing-read-default): Adjust accordingly.
7162
63648a95
MA
71632011-08-03 Michael Albinus <michael.albinus@gmx.de>
7164
7165 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7166 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7167
7168 * net/trampver.el: Update release number.
7169
b796c9b7
SM
71702011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7171
7172 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7173 "in" (bug#9190).
7174
2239d7d5
LMI
71752011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7176
e07dd7c3
LMI
7177 * mail/sendmail.el (sendmail-query-once): Restore the current
7178 buffer after querying (bug#9074).
7179
0e6a2bd7
LMI
7180 * dired.el (dired-flagged): Use different faces for marked and
7181 flagged files (bug#6117).
7182
ce887515
LMI
7183 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7184 (bug#4433).
7185
92f2affc
LMI
7186 * ido.el (ido-mode): Switch off the message if called
7187 non-interactively.
7188
57d5aff0
LMI
7189 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7190 before 587, since it appears that that's more likely to work for
7191 more people.
7192
98cd6c18 7193 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7194 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7195 exist.
7196
b96dec83
LMI
7197 * info.el: Remove the `Info-beginning-of-buffer' function
7198 (bug#8325).
7199
b796c9b7
SM
7200 * net/network-stream.el (network-stream-open-starttls):
7201 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7202
d90e2ea0
MR
72032011-08-01 Martin Rudalics <rudalics@gmx.at>
7204
7205 * window.el (display-buffer-in-window): Don't set dedicated status
7206 of window here (Bug#9215).
7207 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7208 (display-buffer-pop-up-side-window)
b796c9b7 7209 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7210
cca09170
SM
72112011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7214 before binding generated-autoload-file.
7215
027b979c
DD
72162011-08-01 Deniz Dogan <deniz@dogan.se>
7217
7218 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7219
3c7ee4f3
MA
72202011-07-30 Michael Albinus <michael.albinus@gmx.de>
7221
7222 Sync with Tramp 2.2.2.
7223
7224 * net/trampver.el: Update release number.
7225
2cc8e51a
JL
72262011-07-30 Juri Linkov <juri@jurta.org>
7227
7228 * dired-aux.el (dired-touch-initial): Remove function.
7229 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7230 current time, and `default' to the last modification time of the
7231 current marked file (bug#6887).
7232
a514d856
JM
72332011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7234
7235 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7236 numeric argument to read-number (bug#9163).
a514d856 7237
8a7eddd7
MA
72382011-07-27 Michael Albinus <michael.albinus@gmx.de>
7239
7240 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7241 connection process, it could be nil.
7242
1ddd96f5
LL
72432011-07-27 Leo Liu <sdl.web@gmail.com>
7244
7245 Simplify url handling in rcirc-mode.
7246
7247 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7248 (rcirc-browse-url-at-mouse): Remove.
7249 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7250
b248a85d
AM
72512011-07-26 Alan Mackenzie <acm@muc.de>
7252
7253 Fontify bitfield declarations properly.
7254
7255 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7256 (c-symbol-chars): Now exported as a lang variable.
7257 (c-not-primitive-type-keywords): New lang variable.
7258
7259 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7260 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7261 parsed as a bitfield declaration.
b248a85d 7262
b796c9b7
SM
7263 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7264 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7265 (c-punctuation-in): New function.
7266 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7267 declarations properly.
7268
68575ab0
UJ
72692011-07-26 Ulf Jasper <ulf.jasper@web.de>
7270
7271 * calendar/icalendar.el (icalendar--all-events): Take care of
7272 multiple vcalendars in a single file.
b796c9b7 7273 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7274
0f0a88b9
DD
72752011-07-25 Deniz Dogan <deniz@dogan.se>
7276
7277 * image.el (insert-image): Clarifying docstring.
7278
0b3f36df
MA
72792011-07-24 Michael Albinus <michael.albinus@gmx.de>
7280
7281 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7282 `tramp-send-command-and-check' if there is no error.
7283 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7284
a9901f61
AM
72852011-07-22 Alan Mackenzie <acm@muc.de>
7286
7287 Prevent cc-langs.elc being loaded at run time.
7288
7289 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7290 cc-langs.
7291
4d61f28d 7292 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7293 "(require 'cc-langs)". Quote a form so it will evaluate at
7294 (cc-mode's) compilation time.
7295
11d074b2
MA
72962011-07-22 Michael Albinus <michael.albinus@gmx.de>
7297
7298 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7299 loading. (Bug#9114)
7300
938b94c8
MR
73012011-07-21 Martin Rudalics <rudalics@gmx.at>
7302
7303 * window.el (display-buffer-pop-up-window)
7304 (display-buffer-pop-up-side-window)
7305 (display-buffer-in-side-window): Call display-buffer-set-height
7306 and display-buffer-set-width after setting the new window's
b796c9b7 7307 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7308
bfa4f190
SS
73092011-07-20 Sam Steingold <sds@gnu.org>
7310
7311 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7312 (etags-tags-included-tables): Call `convert-standard-filename' on
7313 the file names contained in TAGS so that windows Emacs can handle
7314 TAGS files created by cygwin ctags.
7315
8ca42262
LMI
73162011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7317
7318 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7319 which apparently didn't work.
7320
5db2afd2 73212011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7322
5db2afd2
RW
7323 * proced.el (proced-send-signal): For *Marked Processes* buffer
7324 put point at beginning of buffer.
7325
92e15d10
SB
73262011-07-19 Stephen Berman <stephen.berman@gmx.net>
7327
7328 * proced.el (proced-format): Make header lines align with the text
7329 (bug#1779).
7330
1bfd59e5
LMI
73312011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7332
7333 * view.el (view-buffer): Allow running in `special' modes if we're
7334 visiting a file (bug#8615).
7335
f5aae37c
MR
73362011-07-19 Martin Rudalics <rudalics@gmx.at>
7337
7338 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7339 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7340 New functions.
f5aae37c
MR
7341 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7342 more accurately.
7343
bf2c1571
AM
73442011-07-18 Alan Mackenzie <acm@muc.de>
7345
7346 Fontify declarators properly when, e.g., a jit-lock chunk begins
7347 inside a declaration.
7348
7349 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7350
b796c9b7
SM
7351 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7352 New function.
bf2c1571
AM
7353 (c-complex-decl-matchers): Insert reference to
7354 c-font-lock-enclosing-decls.
7355
7356 * progmodes/cc-engine.el (c-backward-single-comment):
7357 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7358 to nil around calls to (forward-comment -1).
7359
4e190b80
LMI
73602011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7361
12dc863d
LMI
7362 * image.el (put-image): Doc typo fix.
7363
a762e966
LMI
7364 * progmodes/etags.el (tags-search): Doc typo fix.
7365
4e190b80
LMI
7366 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7367 password if we get errors 550 to 554.
7368
f019fb21
LMI
73692011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7370
b796c9b7 7371 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7372
81746738
LMI
7373 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7374 indentation character (bug#6380).
7375
3ee3a1b5
LMI
7376 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7377
c82f64de
LMI
7378 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7379 to clarify what the problem is (bug#4291).
7380
f019fb21
LMI
7381 * simple.el (current-kill): Clarify what
7382 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7383 (auto-fill-mode): Document `auto-fill-function' in relation to
7384 `auto-fill-mode' (bug#2470).
f019fb21 7385
0794775d
LM
73862011-07-16 Lawrence Mitchell <wence@gmx.li>
7387
7388 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7389 method if slot is read-only (bug#9035).
7390
be39b8cc
MR
73912011-07-16 Martin Rudalics <rudalics@gmx.at>
7392
b796c9b7 7393 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7394 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7395 selected before, see discussion of (Bug#8615), (Bug#6954).
7396 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7397
6ccf7859
GM
73982011-07-15 Glenn Morris <rgm@gnu.org>
7399
7400 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7401 Respect help-form.
6ccf7859 7402
87e86684
LM
74032011-07-09 Lawrence Mitchell <wence@gmx.li>
7404
7405 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7406 (gnutls-negotiate): Use it.
7407
d6066239
LMI
74082011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7409
b796c9b7
SM
7410 * net/gnutls.el (gnutls-negotiate):
7411 Upcase `gnutls-algorithm-priority'.
d6066239 7412
bd23ebc0
GM
74132011-07-15 Glenn Morris <rgm@gnu.org>
7414
c65bca65
GM
7415 * jka-compr.el (jka-compr-verbose): Move from here...
7416 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7417 Add missing :version tag.
7418 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7419
478615cc
LMI
74202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7421
7b41decb
LMI
7422 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7423 (gnutls-negotiate): Use it.
7424
dbc44fcd
LMI
7425 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7426
06789f97
LMI
7427 * info.el (Info-beginning-of-buffer): New command.
7428 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7429 announcing `b' as the key (bug#8325).
ab896c37 7430 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7431
c39da690
LMI
7432 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7433
3aa5f34b
LMI
7434 * international/mule-cmds.el
7435 (describe-specified-language-support): Make the error message
7436 clearer (bug#8905).
7437
4bf0979f
LMI
7438 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7439
478615cc
LMI
7440 * isearch.el (isearch-barrier): Add a doc string, since it's
7441 mentioned in a function doc string (bug#8678).
7442
75c68aa1
MR
74432011-07-15 Martin Rudalics <rudalics@gmx.at>
7444
7445 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7446 buffer argument (Bug#9083) and self-identifying label argument.
7447
a7c33da2
GM
74482011-07-15 Glenn Morris <rgm@gnu.org>
7449
7450 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7451
2f5c6024
LMI
74522011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7453
7454 * man.el (Man-fontify-manpage): Fix message when formatting the
7455 man page (bug#7929).
7456
0bb23927 74572011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7458
7459 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7460 argument LRM; if non-nil, append an invisible LRM character to the
7461 buffer name.
7462 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7463 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7464 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7465 paragraph direction.
cce4b0a7 7466
621ef9ab
LMI
74672011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7468
d1583c48
LMI
7469 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7470 the man page name (bug#7929).
7471
6a57fb5f
LMI
7472 * image.el (put-image): Mention the `put-image' overlay property
7473 (bug#7834).
7474
d7956b14
LMI
7475 * scroll-bar.el (set-scroll-bar-mode): Mention that
7476 `scroll-bar-mode' lists the values (bug#7772).
7477
5b2d4a66
LMI
7478 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7479 command (bug#7729).
7480
7509a874
LMI
7481 * rect.el (apply-on-rectangle): Return the point after the last
7482 operation.
7483 (string-rectangle): Go to the point after the last operation
7484 (bug#7522).
7485
4fe74b19
LMI
7486 * printing.el (pr-toggle-region): Clarify the documentation
7487 slightly (bug#7493).
7488
b796c9b7
SM
7489 * time.el (display-time-update):
7490 Allow `display-time-mail-function' to return nil (bug#7158).
7491 Fix suggested by Detlev Zundel.
ab283561 7492
fc233c9d
LMI
7493 * vc/diff.el (diff): Clarify the order the file names are read
7494 (bug#7111).
7495
43f5740b
LMI
7496 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7497 the doc string (bug#7015).
7498
f2182a76
LMI
7499 * font-lock.el (font-lock-maximum-decoration): Mention what
7500 numeric levels mean (bug#6935).
7501
621ef9ab
LMI
7502 * startup.el (initial-buffer-choice): Don't mention the `none'
7503 selection, which is against policy.
7504
adc47434
MR
75052011-07-14 Martin Rudalics <rudalics@gmx.at>
7506
b796c9b7
SM
7507 * window.el (display-buffer-normalize-special):
7508 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7509
7e5bfb8f
EZ
75102011-07-14 Eli Zaretskii <eliz@gnu.org>
7511
7512 * subr.el (version<, version<=, version=): Mention "-CVS" and
7513 "-12345" alpha version numbers.
7514
27fa387a
CY
75152011-07-14 Chong Yidong <cyd@stupidchicken.com>
7516
7517 * bindings.el: Add advertised binding for set-mark-command
7518 (Bug#5772).
7519
8bdfa064
CY
75202011-07-14 Chong Yidong <cyd@stupidchicken.com>
7521
7522 * bindings.el (mode-line-other-buffer):
7523 * bookmark.el (bookmark-bmenu-2-window):
7524 * bs.el (bs-cycle-next, bs-cycle-previous):
7525 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7526 switch-to-buffer.
7527
7528 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7529 Delete.
8bdfa064 7530
5eba16a3
JB
75312011-07-14 Juanma Barranquero <lekktu@gmail.com>
7532
7533 * follow.el (follow-debug-message, follow-redisplay):
7534 * jka-cmpr-hook.el (with-auto-compression-mode):
7535 Fix typos in docstrings.
7536
15853710
LMI
75372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7538
a28e4607
LMI
7539 * subr.el (with-silent-modifications): Clarify somewhat what the
7540 macro inhibits (bug#6525).
7541
15853710
LMI
7542 * simple.el (eval-expression): Note what it does if called
7543 interactively (bug#6495).
7544
bee0fcef
CY
75452011-07-13 Chong Yidong <cyd@stupidchicken.com>
7546
b796c9b7
SM
7547 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7548 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7549
7550 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7551 Remove switch-to-buffer.
7552
58274504
LMI
75532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7554
bd2fcc8d
LMI
7555 * files.el (make-directory): Clarify that an error will be raised
7556 if there's an error (bug#6397).
7557
0f04b32c
LMI
7558 * startup.el (initial-buffer-choice): Add `none' as a choice
7559 (bug#6234).
7560
465c5fc8
LMI
7561 * subr.el (add-hook): Clarify section about buffer-local hooks
7562 (bug#6218).
7563
58274504
LMI
7564 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7565
bead9a43
JB
75662011-07-13 Juanma Barranquero <lekktu@gmail.com>
7567
7568 * tabify.el (untabify): Preserve the current column so that point
7569 doesn't move (bug#6032).
7570
3af98a7b
LMI
75712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7572
b796c9b7
SM
7573 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7574 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7575
6240145a
GM
75762011-07-13 Glenn Morris <rgm@gnu.org>
7577
7578 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7579 (dired-insert-directory): Give a message the first time
7580 if ls is found not to support --dired.
7581
1d8c2ccc
LMI
75822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7583
7584 * simple.el (toggle-truncate-lines): Clarify what is toggled
7585 (bug#5580). Text by Drew Adams.
7586
5fc4038e
CY
75872011-07-13 Chong Yidong <cyd@stupidchicken.com>
7588
7589 * simple.el (blink-matching-open): Make the error message from the
7590 last change less verbose.
7591
bf6012e5
DN
75922011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7593
7594 * font-lock.el (font-lock-comment-face): Use the high contrast
7595 "yellow" color for font-lock-comment-face on low color terminals
7596 using a dark background color (bug#4221).
7597
343c3b5a
LMI
75982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7599
7e9505c5
LMI
7600 * dired.el (dired-insert-set-properties): Make the doc string
7601 reflect what it does now (bug#5325).
7602
c26fdcf5
LMI
7603 * simple.el (blink-matching-open): Say that we were unable to find
7604 the match within the limit, if we're limited (bug#5122).
7605
bb388cc5
LMI
7606 * international/mule-cmds.el (prefer-coding-system): Add an
7607 example (bug#4869).
7608
343c3b5a
LMI
7609 * progmodes/etags.el (tags-search): Document `file-list-form'
7610 (bug#4731).
7611
2a517d45
LM
76122011-07-13 Lawrence Mitchell <wence@gmx.li>
7613
7614 * net/browse-url.el (browse-url-default-browser)
7615 (browse-url-browser-function): Make the default browser choice a
7616 bit more logical (bug#4300). Also clean up the doc string.
7617
b6c78ef2
JB
76182011-07-13 Juanma Barranquero <lekktu@gmail.com>
7619
7620 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7621 binary endings (bug#4440).
7622
1c4dd947
LMI
76232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7624
a2014063
LMI
7625 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7626 which can be pretty annoying (bug#8971).
7627
9c9c2d88
LMI
7628 * jka-compr.el (jka-compr-verbose): New variable, and use
7629 throughout (bug#8971).
7630
1c4dd947
LMI
7631 * info.el (Info-find-file): Fall back on the installation
7632 directory if we can't find the info node anywhere else.
7633
a1c9f41b
SO
76342011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7635
7636 * vc/vc.el (vc-revert-file):
7637 Don't set file time-stamp in the past. (Bug#5181)
7638
536f3d36
LMI
76392011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7640
7152b011
LMI
7641 * files.el (after-find-file): Give a better error message when
7642 trying to find a symlink that points to a file that doesn't exist
7643 (bug#4398).
7644
536f3d36
LMI
7645 * progmodes/cc-vars.el: Remove (probably) misleading comment
7646 (bug#4396).
7647
460c0fba
JB
76482011-07-12 Johan Bockgård <bojohan@gnu.org>
7649
7650 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7651
7a6bda45
CY
76522011-07-12 Chong Yidong <cyd@stupidchicken.com>
7653
7654 * mouse-sel.el: Hack restoring functionality, while keeping
7655 compatibility with 2010-07-03 changes to mouse selection.
7656 (mouse-sel-primary-overlay): New var.
7657 (mouse-sel-selection-alist): Use it.
7658 (mouse-sel-mode): Doc fix; remove points that are default features
7659 of mouse.el.
7660
c79598ef
JB
76612011-07-12 Johan Bockgård <bojohan@gnu.org>
7662
7663 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7664 Fix previous fix (bug#2490).
7665
ff8be6ef
RW
76662011-07-12 Roland Winkler <winkler@gnu.org>
7667
b796c9b7
SM
7668 * textmodes/bibtex.el (bibtex-initialize):
7669 Use pop-to-buffer-same-window.
ff8be6ef
RW
7670 (bibtex-search-entries): Fix interactive call.
7671
296ba3ee
LMI
76722011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7673
f5242a02 7674 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7675 Fontise bytecomp Error lines more correctly (bug#2490).
7676 Fix suggested by Johan Bockgård.
f5242a02 7677
296ba3ee
LMI
7678 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7679
7680 * dired-x.el (dired-guess-default): Use `delete-dups'.
7681
f69fd0d2
CY
76822011-07-12 Chong Yidong <cyd@stupidchicken.com>
7683
7684 * dired.el (dired-mark-prompt):
7685 * dired-aux.el (dired-read-shell-command): Doc fix.
7686
eab5dc07
LMI
76872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7688
b796c9b7
SM
7689 * mail/sendmail.el (sendmail-query-once):
7690 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7691 emacs -Q.
7692
7693 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7694
eab5dc07
LMI
7695 * cus-edit.el (custom-file): Take an optional no-error variable.
7696 (customize-save-variable): Set the variable, and give a warning if
7697 running under "emacs -q".
7698
a1e65d42
JB
76992011-07-11 Juanma Barranquero <lekktu@gmail.com>
7700
7701 * loadhist.el (unload-feature-special-hooks):
7702 Add `auto-coding-functions', `fill-nobreak-predicate' and
7703 `find-directory-functions' (bug#5327).
7704
1d52da10
LMI
77052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7706
be958f1d
LMI
7707 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7708
5bedb26c
LMI
7709 * cus-edit.el (custom-guess-name-alist): -alist variables should
7710 use the `alist' type (bug#3120). Suggested by Drew Adams.
7711
1d52da10
LMI
7712 * printing.el: Add documentation to all the `pr-toggle-' commands.
7713
cd394be1 77142011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7715
7716 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7717 backends where it makes sense (bug#2623).
7718
dcc88d8a
LMI
77192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7720
c3de9feb
LMI
7721 * dired-x.el (dired-guess-default): Remove duplicate shell command
7722 entries (bug#2028).
8a93078b 7723 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7724 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7725
dcc88d8a
LMI
7726 * subr.el (remove-duplicates): New conveniency function.
7727
505e3645
LMI
77282011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7729
7730 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7731 (bug#1526).
7732
77332011-07-10 Martin Rudalics <rudalics@gmx.at>
7734
7735 * window.el (display-buffer-normalize-default): Don't invert
7736 meaning of even-window-heights. Reported by Eli Zaretskii
7737 <eliz@gnu.org>.
7738
455e4fa1
BR
77392011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7740
7741 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7742
8e0bc3e9
CY
77432011-07-10 Chong Yidong <cyd@stupidchicken.com>
7744
7745 * window.el (display-buffer): Fix arguments to
7746 display-buffer-reuse-window in last change.
7747
fa7c3228
CY
7748 * faces.el (link): Use a less saturated blue on light backgrounds.
7749
7750 * startup.el (fancy-startup-text, fancy-about-text)
7751 (fancy-startup-tail): Use font-lock faces, for background safety.
7752
c0a7f300
BN
77532011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7754
b796c9b7
SM
7755 * emulation/viper-cmd.el (viper-change-state-to-vi):
7756 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7757
4dc2a129
MR
77582011-07-09 Martin Rudalics <rudalics@gmx.at>
7759
7760 * window.el (display-buffer-default-specifiers): Remove.
7761 (display-buffer-macro-specifiers): Remove default specifiers.
7762 (display-buffer-alist): Default to nil.
b796c9b7 7763 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7764 (display-buffer-pop-up-window): Allow splitting internal
7765 windows. Check whether a live window was created.
7766 (display-buffer-other-window-means-other-frame)
7767 (display-buffer-normalize-arguments): Rename to
7768 display-buffer-normalize-argument and rewrite. Set the
7769 other-window specifier.
7770 (display-buffer-normalize-special): New function.
7771 (display-buffer-normalize-options): Rename to
7772 display-buffer-normalize-default and rewrite.
7773 (display-buffer-normalize-options-inhibit): Remove.
7774 (display-buffer-normalize-specifiers): Rewrite.
7775 (display-buffer): Process other-window specifier and call
7776 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7777 more faithfully.
b796c9b7 7778 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7779 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7780 (display-buffer-in-window, display-buffer-alist-set):
7781 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7782 <tassilo@member.fsf.org>.
7783
2d43b8c9
LL
77842011-07-09 Leo Liu <sdl.web@gmail.com>
7785
7786 * register.el (insert-register): Restore accidental change on
7787 2011-06-26. (Bug#9028)
7788
7f9b7c53
GM
77892011-07-09 Glenn Morris <rgm@gnu.org>
7790
7791 * subr.el (remq): Handle the empty list. (Bug#9024)
7792
f042cfd8
AS
77932011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7794
7795 * mail/sendmail.el (send-mail-function): No longer delay custom
7796 initialization.
7797 * custom.el (custom-initialize-delay): Doc fix.
7798
856b2f11
SM
77992011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7802
afae1d68
MA
78032011-07-08 Michael Albinus <michael.albinus@gmx.de>
7804
7805 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7806 human-friendly prompt.
7807
0757af94
SM
78082011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7809
7810 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7811 provided by a particular plugin.
7812
d760b731
LMI
78132011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7814
7815 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7816 save customizations (with "emacs -Q"), just set the variable
7817 instead of erroring out.
7818
7819 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7820
cd79ce90
JL
78212011-07-08 Juri Linkov <juri@jurta.org>
7822
7823 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7824 (archive-zip-update-case): Use 7z if found by `executable-find'.
7825 The order of searching the available programs is the same as in
7826 `archive-zip-extract' (bug#8968).
7827
14cc04aa
CY
78282011-07-07 Chong Yidong <cyd@stupidchicken.com>
7829
7830 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7831 (menu-bar-options-menu): Tweak descriptions.
7832
0a1848ec
LMI
78332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7834
7835 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7836 menu items into verb phrases (bug#1421). Also refill to fit under
7837 80 columns.
7838
f5bd0689
CY
78392011-07-07 Chong Yidong <cyd@stupidchicken.com>
7840
538e85c6
CY
7841 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7842 (Info-read-node-name): Doc fix (Bug#1084).
7843
f5bd0689
CY
7844 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7845 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7846 (end-of-sexp, beginning-of-sexp)
7847 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7848 (forward-symbol, forward-same-syntax, word-at-point)
7849 (sentence-at-point): Doc fix (Bug#1144).
7850
56ec5115
LMI
78512011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7852
f3f8e37f
LMI
7853 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7854 should cover it (bug#1281).
7855
0757af94 7856 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7857
e9fce1ac 7858 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7859 negotiation fails, then possibly try again with a non-encrypted
7860 connection (bug#9017).
7861
56ec5115
LMI
7862 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7863 be used.
7864
c2f9aec8
RS
78652011-07-07 Richard Stallman <rms@gnu.org>
7866
7867 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7868 property, and handle its changed format.
7869 Look for the correct line number.
7870 Use file's line contents (but not past first =) to find
7871 correct line in message.
7872
ef7b981d 78732011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7874
7875 * international/characters.el (build-unicode-category-table):
7876 Delete it.
0757af94 7877 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7878
0757af94 7879 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7880 to src/chartab.c.
7881 (get-char-code-property): Call unicode-property-table-internal to
7882 load a file. Call get-unicode-property-internal where necessary.
7883 (put-char-code-property): Call unicode-property-table-internal to
7884 load a file. Call put-unicode-property-internal where necessary.
7885 put-unicode-property-internal where necessary.
0757af94
SM
7886 (char-code-property-description):
7887 Call unicode-property-table-internal to load a file.
c805dec0
KH
7888
7889 * international/charprop.el:
7890 * international/uni-bidi.el:
7891 * international/uni-category.el:
7892 * international/uni-combining.el:
7893 * international/uni-comment.el:
7894 * international/uni-decimal.el:
7895 * international/uni-decomposition.el:
7896 * international/uni-digit.el:
7897 * international/uni-lowercase.el:
7898 * international/uni-mirrored.el:
7899 * international/uni-name.el:
7900 * international/uni-numeric.el:
7901 * international/uni-old-name.el:
7902 * international/uni-titlecase.el:
7903 * international/uni-uppercase.el: Regenerate.
7904
7905 * loadup.el: Load international/charprop.el before
7906 international/characters.
7907
e14b388a
CY
79082011-07-07 Chong Yidong <cyd@stupidchicken.com>
7909
7910 * window.el (next-buffer, previous-buffer): Signal an error if
7911 called from a minibuffer window.
7912
7913 * bindings.el: Revert 2011-07-04 change.
7914
354cf0ba
RS
79152011-07-06 Richard Stallman <rms@gnu.org>
7916
7917 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7918 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7919 Treat markers like ints.
7920 (rmail-mime-entity): Doc fix.
7921
a48868a7
LMI
79222011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7923
4906cd3d
LMI
7924 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7925 defcustom again for backwards compatibility.
7926
e0457abe
LMI
7927 * simple.el (shell-command-on-region): Fill.
7928
d67f7e1f
LMI
7929 * dired-aux.el (dired-kill-line): Add a doc string.
7930
fe204702
LMI
7931 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7932 to "\\sw\\|\\s_" (bug#358).
7933
a48868a7
LMI
7934 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7935 (dired-unmark-backward): Ditto.
7936 (dired-flag-backup-files): Ditto.
7937
7938 * dired-x.el (dired-mark-sexp): Ditto.
7939
aa8a705c
RS
79402011-07-06 Richard Stallman <rms@gnu.org>
7941
7942 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7943 (rmail-mime-entity): New arg TRUNCATED.
7944 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7945 New functions.
7946 (rmail-mime-save): Warn if entity is truncated.
7947 (rmail-mime-toggle-hidden): Likewise, for showing.
7948 (rmail-mime-process-multipart): Record when an entity is truncated.
7949
a9a936b9
RS
7950 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7951 if ENTITY is a string.
7952
1f2b92cb
LMI
79532011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7954
f4f73198 7955 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7956 of faces when `M-C-x'-ing their definitions (bug#8378).
7957 Also clean up the code slightly.
f4f73198 7958
12b16734 7959 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7960 because that makes the colors go away.
12b16734 7961
f0691d22
LMI
7962 * mail/sendmail.el (send-mail-function): Change the default to
7963 `sendmail-query-once'.
9e87df06 7964 (sendmail-query-once): Add an autoload cookie.
f0691d22 7965
1f2b92cb
LMI
7966 * net/network-stream.el (network-stream-open-starttls): Try using
7967 a plain connection even if the server offered STARTTLS, and we
7968 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7969 capability. This should make smtpmail.el work in slightly more
7970 configurations.
7971
1cdd2a1b
MA
79722011-07-06 Michael Albinus <michael.albinus@gmx.de>
7973
7974 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7975 New defun.
7976 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7977
fbcc67e2
MM
79782011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7979
7980 * progmodes/sql.el: Version 3.0
0757af94 7981 (sql-product-alist): Add product :completion-object,
fbcc67e2 7982 :completion-column, and :statement attributes.
0757af94 7983 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7984 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7985 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7986 ansi keywords.
7987 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7988 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7989 (sql-oracle-show-reserved-words): New function for development.
7990 (sql-product-font-lock): Simplify for source code buffers.
7991 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7992 New functions.
7993 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7994 (sql-mode-map): Add statement movement functions.
7995 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7996 New variable.
fbcc67e2
MM
7997 (sql-statement-regexp, sql-beginning-of-statement)
7998 (sql-end-of-statement, sql-signum): New functions.
0757af94 7999 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8000 (sql-show-sqli-buffer): Bug fix.
8001 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8002 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8003 with sql-interactive-mode.
8004 (sql-save-connection): Save buffer local settings.
0757af94 8005 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8006 (sql-product-interactive): Bug fix.
8007 (sql-preoutput-hold): New variable.
8008 (sql-interactive-remove-continuation-prompt): Bug fixes.
8009 (sql-debug-redirect): New variable.
8010 (sql-str-literal): New function.
8011 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8012 Redesign.
fbcc67e2
MM
8013 (sql-oracle-save-settings, sql-oracle-restore-settings)
8014 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8015 (sql-completion-object, sql-completion-column)
8016 (sql-completion-sqlbuf): New variables.
8017 (sql-build-completions-1, sql-build-completions)
8018 (sql-try-completion): New functions.
8019 (sql-read-table-name): Use them.
8020 (sql-contains-names): New buffer local variable.
8021 (sql-list-all, sql-list-table): Use it.
8022 (sql-oracle-completion-types): New variable.
8023 (sql-oracle-completion-object, sql-sqlite-completion-object)
8024 (sql-postgres-completion-object): New functions.
8025
d4eaeab1
GM
80262011-07-06 Glenn Morris <rgm@gnu.org>
8027
8028 * window.el (pop-to-buffer): Doc fix.
8029
322b7dab 80302011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8031
8032 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8033
322b7dab 80342011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8035
322b7dab 8036 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8037
322b7dab 8038 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8039
605dd5bf
CY
80402011-07-05 Chong Yidong <cyd@stupidchicken.com>
8041
8042 * button.el (button): Inherit from link face. Suggested by Dan
8043 Nicolaescu.
8044
7dbfa719
SM
80452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8046
3db614b0
SM
8047 * progmodes/gdb-mi.el: Fit in 80 columns.
8048 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8049 switch-to-buffer.
8050
7dbfa719
SM
8051 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8052 if imenu is simply not configured (bug#8941).
8053
919d884a
KM
80542011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8055
8056 * allout.el (allout-post-undo-hook): New allout outline-change
8057 event hook to signal undo activity.
8058 (allout-post-command-business): Run allout-post-undo-hook if an
8059 undo just occurred.
7dbfa719
SM
8060 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8061 * allout-widgets.el (allout-widgets-after-undo-function):
8062 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8063 in the vicinity of an undo.
8064 (allout-widgets-mode): Include allout-widgets-after-undo-function
8065 on the new allout-post-undo-hook.
8066
450a0f09
SM
80672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8070 Let define-derived-mode define it.
8071 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8072 cycles of abbrev-table inheritance (bug#8998).
8073
2de69e00
RW
80742011-07-05 Roland Winkler <winkler@gnu.org>
8075
8076 * textmodes/bibtex.el: Add support for biblatex.
8077 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8078 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8079 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8080 (bibtex-entry-alist, bibtex-field-alist): New variables.
8081 (bibtex-entry-field-alist): Obsolete alias for
8082 bibtex-BibTeX-entry-alist.
8083 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8084 (bibtex-set-dialect): New command.
8085 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8086 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8087 Bind via bibtex-set-dialect.
2de69e00
RW
8088 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8089 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8090 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8091 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8092 Define via bibtex-set-dialect.
450a0f09
SM
8093 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8094 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8095 (bibtex-vec-push, bibtex-vec-incr): New functions.
8096 (bibtex-format-entry, bibtex-field-list)
8097 (bibtex-print-help-message, bibtex-validate)
8098 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8099
2dcdbdd9
SM
81002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8101
8102 * progmodes/compile.el (compilation-goto-locus):
8103 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8104 * bs.el (bs-cycle-next, bs-cycle-previous):
8105 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8106 * bindings.el (mode-line-other-buffer):
8107 * autoinsert.el (auto-insert):
8108 * arc-mode.el (archive-extract):
8109 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8110
b27640fe
JB
81112011-07-05 Juanma Barranquero <lekktu@gmail.com>
8112
8113 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8114 Fix check of `emacs-lock-unlockable-modes'.
8115 Coerce true values of `emacs-lock--try-unlocking' to t.
8116
53bbe3ad
JB
81172011-07-05 Juanma Barranquero <lekktu@gmail.com>
8118
8119 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8120 * emacs-lock.el: New file.
8121
1d3cdbc7
JD
81222011-07-05 Julien Danjou <julien@danjou.info>
8123
8124 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8125 than `boundp' to check if face is set.
8126
9173deec
JB
81272011-07-05 Juanma Barranquero <lekktu@gmail.com>
8128
8129 * register.el (registerv-make):
8130 * window.el (window-min-height): Fix typos in docstrings.
8131
869795d6
JD
81322011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8133
9173deec 8134 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8135 Update doc string.
8136
b768cdcd
JB
81372011-07-04 Juanma Barranquero <lekktu@gmail.com>
8138
8139 * server.el (server-execute): Catch quit and call
8140 `server-return-error' to pass the error back to emacsclient and
8141 close the connection (bug#8942).
8142
13aa217b
KM
81432011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8144
8145 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8146 insecure exception for current topic. Also note that auto-saves
8147 are handled differently.
8148
8149 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8150 State variables for tracking auto-save inhibition situation.
8151
8152 (allout-write-contents-hook-handler): Rename from
8153 'allout-write-file-hook-handler', and describe how it depends on
8154 write-contents-functions sensitivity to non-nil value to prevent
8155 file write.
8156
8157 (allout-auto-save-hook-handler): Remove. auto-save does not check
8158 this in individual buffers, only in the starting buffer, so this
8159 is not the right way for us to inhibit auto-save in a buffer
8160 according to its condition.
8161
8162 (allout-mode): Use new allout-write-contents-hook-handler, and
8163 only with write-contents-functions. Remove auto-save provisions -
8164 they're implemented elsewhere.
8165
8166 (allout-before-change-handler): If undo is in progress, note that
8167 for attention of allout-post-command-business.
8168
8169 (allout-post-command-business): If the command we're following was
8170 an undo, check for change in the status of encrypted items and
8171 adjust auto-save inhibitions accordingly.
8172
8173 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8174 according to whether there are or aren't any plain-text topics
8175 pending encryption.
8176
2dcdbdd9 8177 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8178 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8179 if there are plain-text topics pending encryption.
13aa217b
KM
8180
8181 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8182 buffer-saved-size and some allout state to not inhibit auto-saves
8183 if there are no longer any plain-text topics pending encryption.
8184
0757af94
SM
8185 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8186 No longer provide for exemption of the current topic.
13aa217b 8187
ac89b32c
JL
81882011-07-04 Juri Linkov <juri@jurta.org>
8189
8190 Add 7z operations to delete and save changed members (bug#8968).
8191 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8192 New defcustoms.
8193 (archive-7z-write-file-member): New function.
8194 (archive-7z-summarize): Fix the number of dashes in the
8195 listing output.
8196
8fa39615
SM
81972011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8200 (bug#8958).
8201
2f11b3f1
CY
82022011-07-04 Chong Yidong <cyd@stupidchicken.com>
8203
d66fef2b
CY
8204 * bindings.el: Ignore next-buffer and previous-buffer in
8205 minibuffer-local-map.
8206
2f11b3f1
CY
8207 * font-lock.el (font-lock-builtin-face): Change light background
8208 color to dark slate blue (Bug#6693).
8209
f932a347
WD
82102011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8211
8212 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8213
c8af70e1
SM
82142011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8217 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8218 Add switch-to-buffer.
8219
f158badc
LMI
82202011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8221
8222 * isearch.el (isearch-search-fun-function): Clarify further the
8223 meaning of the function returned.
8224
6d95bd46
MA
82252011-07-04 Michael Albinus <michael.albinus@gmx.de>
8226
8227 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8228
8229 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8230 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8231 Use it.
8232 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8233 `tramp-default-remote-path' does not exist.
8234 (tramp-send-command-and-read): New optional argument NOERROR.
8235 (tramp-open-connection-setup-interactive-shell)
8236 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8237 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8238 (tramp-process-sentinel): Flush also process' connection property.
8239 (tramp-sh-handle-start-file-process): Do not set process
8240 sentinel. It is done now ...
8241 (tramp-maybe-open-connection): ... here. (Bug#8929)
8242
909e6b67
MK
82432011-07-04 MON KEY <monkey@sandpframing.com>
8244
8245 * play/animate.el (animate-string): Doc fixes and allow changing
8246 the buffer name (bug#5417).
8247
82482011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8249
c8af70e1 8250 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8251
f34755dc
PE
82522011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8253
396cec72
PE
8254 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8255 This is simpler and helps future-proof the code.
8256 (timer-until): Use time-subtract and float-time.
08235028 8257 (timer--time-less-p): Use time-less-p.
f34755dc 8258
56e6cc31
JB
82592011-07-04 Juanma Barranquero <lekktu@gmail.com>
8260
3abb79e5
JB
8261 * type-break.el (timep): Use the value of `float-time' to avoid a
8262 byte-compiler warning.
8263
56e6cc31
JB
8264 * server.el (server-eval-and-print): Return any result, even nil.
8265
7b9430b4
PE
82662011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8267
8268 * type-break.el: Accept time formats that the builtins accept.
8269 (timep, type-break-time-difference): Accept any format that
8270 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8271 This is simpler and helps future-proof the code.
8272 (type-break-time-difference): Round rather than ignoring
8273 subseconds components.
8274
3034e9e7
LMI
82752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8276
8277 * info.el (Info-apropos-matches): Make non-interactive, since it
8278 doesn't seem to do anything useful as a command (bug#8829).
8279
1485f4c0
CY
82802011-07-03 Chong Yidong <cyd@stupidchicken.com>
8281
8282 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8283 Move from faces.el.
1485f4c0
CY
8284 (frame-default-terminal-background): New function.
8285
8286 * custom.el (custom-push-theme): Don't record faces in `changed'
8287 theme; this doesn't work correctly for per-frame face settings.
8288 (disable-theme): Use face-set-after-frame-default to reset faces.
8289 (custom--frame-color-default): New function.
8290
9fa3dd45
LMI
82912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8292
c8af70e1 8293 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8294 (bug#8769).
8295
6cbbc20c
KR
82962011-03-29 Kevin Ryde <user42@zip.com.au>
8297
8298 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8299 `perl-Test2' extend to match possible "fail #N" rep count
8300 (bug#8377).
8301
c7f98048
LMI
83022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8303
65676592
LMI
8304 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8305 `smtpmail-via-smtp' now returns the error instead of nil.
8306
c7f98048
LMI
8307 * isearch.el (isearch-search-fun-function): Clarify the doc string
8308 (bug#8101).
8309
56e6cc31 83102011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8311
8312 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8313 unnecessary spaces (bug#8987).
8314
2b216704
LMI
83152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8316
8317 * net/network-stream.el (open-network-stream): Use the
8318 :end-of-capability command thoughout.
8319
83202011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8321
8322 * net/network-stream.el (open-network-stream): Add the
8323 :end-of-capability command parameter, used by pop3.el.
8324
36adf6ce
LMI
83252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8326
1ca0da0e
LMI
8327 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8328
fc00f69c
LMI
8329 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8330 for list)" (bug#6475).
8331
28fd8759 8332 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8333 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8334 an error (bug#6297).
8335
0dd8b6da
LMI
8336 * man.el (Man-reference-regexp): Allow matching possible
8337 word-wrapped references (bug#6289).
8338
ce1438d6
LMI
8339 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8340 for consistency with the other vc buffers (bug#6197).
8341 (vc-checkin): Ditto.
8342
8343 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8344
36adf6ce
LMI
8345 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8346
e83cc1f7
LMI
83472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8348
8a20ca4c
LMI
8349 * custom.el (defcustom): Clarify that :set is only used in the
8350 Customize user interface (bug#6089).
8351
83319045
LMI
8352 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8353 associated with a file, refuse to run instead of erroring out
8354 (bug#6084).
8355
a8392169
LMI
8356 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8357 the doc string, since it appears that using `fill-column' always
8358 controls the width (bug#7845).
8359
e83cc1f7
LMI
8360 * simple.el (shell-command-on-region): Say where the error output
8361 went if `shell-command-default-error-buffer' is set (bug#6857).
8362
e47ca23b
KM
83632011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8364
8365 * allout.el (allout-yank-processing): Adjust cursor position for
8366 backwards-deleted space.
8367
8368 (allout-rebullet-heading): Register changes with
8369 allout-exposure-changed-hook, so the modified topic is properly
8370 decorated.
8371
5cf56143
LMI
83722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8373
08549772
LMI
8374 * minibuffer.el (completion-in-region): Document PREDICATE
8375 (bug#7136).
8376
48e96771
LMI
8377 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8378 of keyword/argument pairs (bug#6904).
8379
c8af70e1
SM
8380 * replace.el (multi-occur):
8381 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8382
e17d05e2
LMI
83832011-07-02 Drew Adams <drew.adams@oracle.com>
8384
8385 * dired.el (dired-mark-if): Make the message about whether it's
8386 marking or unmarking clearer (bug#8523).
8387
063b0e45
LMI
83882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8389
8390 * disp-table.el (display-table-print-array): New function.
8391 (describe-display-table): Use it to print the vectors more pretty
8392 (Bug#8859).
8393
28545e04
MR
83942011-07-02 Martin Rudalics <rudalics@gmx.at>
8395
8396 * window.el (window-state-get-1): Don't assign clone numbers.
8397 Add clone-of item to list of window parameters.
8398 (window-state-put-2): Don't process clone numbers.
8399 (display-buffer-alist): Fix doc-string.
8400
3349e122
SM
84012011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * subr.el (remq): Don't allocate if it's not needed.
8404 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8405 (keymap--merge-bindings): New functions.
8406 (keymap-canonicalize): Use them to refine the canonicalization.
8407 * minibuffer.el (minibuffer-local-completion-map)
8408 (minibuffer-local-must-match-map): Move initialization from C.
8409 (minibuffer-local-filename-completion-map): Move initialization from C;
8410 don't inherit from anything here.
8411 (minibuffer-local-filename-must-match-map): Make obsolete.
8412 (completing-read-default): Use make-composed-keymap to combine
8413 minibuffer-local-filename-completion-map with either
8414 minibuffer-local-must-match-map or
8415 minibuffer-local-filename-completion-map.
8416
d224ac83
GM
84172011-07-01 Glenn Morris <rgm@gnu.org>
8418
3de63bf8
GM
8419 * type-break.el (type-break-time-sum): Use dolist.
8420
d224ac83
GM
8421 * textmodes/flyspell.el (flyspell-word-search-backward):
8422 Replace CL function.
8423
1a1e3f32
SM
84242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8425
fe3f64d5
SM
8426 * mouse.el (mouse--strip-first-event): New function.
8427 (function-key-map): Use it to map fringe clicks to normal clicks
8428 by default.
8429
eb604e34
SM
8430 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8431 (vc-bzr-revision-completion-table): Add support for annotate and date.
8432
1a1e3f32
SM
8433 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8434 inherit from parent.
8435
5bd35902
LMI
84362011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8437
ace6c69c 8438 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8439 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8440
191e2bed
LMI
8441 * dired.el (dired-mode): Fix up the doc string as suggested by
8442 Drew Adams (bug#8817).
8443
5bd35902
LMI
8444 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8445 cookie, since the manual says that it should be possible to add
8446 this function to `find-file-hook' (bug#8709).
8447
eee8207a
TZ
84482011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8449
8450 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8451 here. Noted Ted Zlatanov as the maintainer.
8452 (cfengine-common-settings, cfengine-common-syntax): New functions
8453 to set up common things between `cfengine-mode' and
8454 `cfengine3-mode'.
8455 (cfengine3-mode): New mode.
8456 (cfengine3-defuns cfengine3-defuns-regex
8457 (cfengine3-class-selector-regex cfengine3-category-regex)
8458 (cfengine3-vartypes cfengine3-font-lock-keywords)
8459 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8460 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8461
36b148cf
MA
84622011-07-01 Michael Albinus <michael.albinus@gmx.de>
8463
8464 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8465
8466 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8467
0bf4ba9a
MR
84682011-07-01 Martin Rudalics <rudalics@gmx.at>
8469
8470 * window.el (same-window-buffer-names, same-window-regexps)
8471 (same-window-p, special-display-frame-alist)
8472 (special-display-popup-frame, special-display-function)
8473 (special-display-buffer-names, special-display-regexps)
8474 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8475 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8476 (split-window-preferred-function, split-height-threshold)
8477 (split-width-threshold, even-window-heights)
8478 (display-buffer-mark-dedicated, window-splittable-p)
8479 (split-window-sensibly, window-safely-shrinkable-p):
8480 Un-obsolete.
8481 (display-buffer): Don't spread args with function specifier
8482 because special-display-popup-frame won't like it.
8483
35837f51
PE
84842011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8485
d0672f86
PE
8486 Time-stamp simplifications and fixes.
8487 These improve accuracy slightly, and future-proof the code
8488 against some potential changes to current-time format.
8489
b9444d97
PE
8490 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8491 by using time-since and float-time.
8492
0ef923dc
PE
8493 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8494 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8495 + NNN microseconds".
8496
2f81380d
PE
8497 * type-break.el (type-break-time-sum): Rewrite using time-add.
8498
845b5c3e
PE
8499 * play/hanoi.el (hanoi-current-time-float): Remove.
8500 All uses replaced by float-time.
8501
ee6f1be0
PE
8502 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8503 This yields a more-accurate answer.
8504 (rng-time-to-float): Remove; no longer needed.
8505
fe955043
PE
8506 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8507
5777162a
PE
8508 * calendar/timeclock.el (timeclock-seconds-to-time):
8509 Defalias to seconds-to-time, since they're the same thing.
8510
3103f8b6 8511 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8512 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8513 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8514
0e61a35f
SM
85152011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 * window.el (bury-buffer): Don't iconify the only frame.
8518 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8519 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8520
ddd63a1e
CY
85212011-07-01 Chong Yidong <cyd@stupidchicken.com>
8522
0e61a35f
SM
8523 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8524 Add mouse-yank-primary.
ddd63a1e 8525
055f4923
TZ
85262011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8527
8528 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8529
6a2fb145
SM
85302011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8533 (find-library-name): Use it to find relative load names when provided
8534 absolute file name (bug#8803).
8535
fd4983f2
LMI
85362011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8537
887d14ad
LMI
8538 * textmodes/flyspell.el (flyspell-word): Consider words that
8539 differ only in case as potential doublons (bug#5687).
8540
c53dc7fc
LMI
8541 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8542 Remove two rather uninteresting debugging-like messages to make
8543 debbugs.el more silent.
8544
fd4983f2
LMI
8545 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8546 a password-like phrase.
8547
7a71b18d 85482011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8549
8550 * progmodes/cc-guess.el: New file.
8551
6a2fb145 8552 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8553
8554 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8555 derived from `c-basic-common-init'.
8556
8557 * progmodes/cc-mode.el (top-level): Require cc-guess.
8558 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8559
1fa280a3
LM
85602011-06-30 Lawrence Mitchell <wence@gmx.li>
8561
8562 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8563
e6597158
AM
85642011-06-30 Alan Mackenzie <acm@muc.de>
8565
1fa280a3
LM
8566 * progmodes/cc-engine.el (c-guess-continued-construct):
8567 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8568 lock is disabled. Name this case as "CASE G".
8569
68ba37fb
KM
85702011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8571
8572 * allout.el (allout-yank-processing): Fix injection of extra space
8573 between bullet and non-whitespace character in first topic when
8574 pasting, ensuring that the actual spacing in the pasted topic
8575 following the bullet char is preserved. This extra space was
8576 causing pasted encrypted topics to get a decrypted status even
8577 when the content was actually still encrypted. Now the decryption
8578 status from before the paste is preserved.
8579
8580 (allout-flag-region): Set all allout overlays so they evaporate
8581 when reduced to zero length (evanescent), to prevent overlay
8582 leakage.
8583
887a0b34
GM
85842011-06-30 Glenn Morris <rgm@gnu.org>
8585
94b9acce
GM
8586 * w32-fns.el (w32-charset-info-alist): Declare.
8587
1d9b46d4
GM
8588 * find-dired.el (find-grep-options): Simplify.
8589
cc232200
GM
8590 * term/ns-win.el (ns-set-resource): Declare.
8591
28e77c46
GM
8592 * ses.el (row, col): Declare dynamic variables honestly.
8593
887a0b34
GM
8594 * textmodes/reftex-parse.el (index-tags): Declare.
8595
658d8eb8
CY
85962011-06-30 Chong Yidong <cyd@stupidchicken.com>
8597
8598 * cus-edit.el (customize-push-and-save): New function.
8599
8600 * files.el (hack-local-variables-confirm): Use it.
8601
1fa280a3
LM
8602 * custom.el (load-theme): New arg NO-CONFIRM.
8603 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8604 (custom-enabled-themes): Doc fix.
8605
8606 * cus-theme.el (customize-create-theme)
8607 (custom-theme-merge-theme): Callers to load-theme changed.
8608
bb617717
LMI
86092011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8610
d61bdd5d
LMI
8611 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8612 short URLs have at least one dot in them (bug #7614).
8613
bb617717
LMI
8614 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8615 nil, because using a pty is apparently too slow (bug #895).
8616
2f31f37a
LMI
86172011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8618
8619 * mail/sendmail.el (sendmail-query-once): New function.
8620 (sendmail-query-once-function): New variable.
8621
3076b24e
GM
86222011-06-29 Glenn Morris <rgm@gnu.org>
8623
faf2a174
GM
8624 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8625
3076b24e
GM
8626 * ses.el (top-level): Require cl when compiling.
8627 (ses-set-localvars): Fix error statement.
8628 Call it at compile time to silence a storm of warnings.
8629
5386012d
MR
86302011-06-29 Martin Rudalics <rudalics@gmx.at>
8631
8632 * window.el (normalize-live-buffer): Rename to
8633 window-normalize-buffer.
8634 (normalize-live-frame): Rename to window-normalize-frame.
8635 (normalize-any-window): Rename to window-normalize-any-window.
8636 (normalize-live-window): Rename to window-normalize-live-window.
8637 (make-window-atom): Rename to window-make-atom.
8638 (window-resize-reset): Rename to window--resize-reset.
8639 (window-resize-reset-1): Rename to window--resize-reset-1.
8640 (resize-mini-window): Rename to window--resize-mini-window.
8641 (resize-subwindows-skip-p): Rename to
8642 window--resize-subwindows-skip-p.
8643 (resize-subwindows-normal): Rename to
8644 window--resize-subwindows-normal.
8645 (resize-subwindows): Rename to window--resize-subwindows.
8646 (resize-other-windows): Rename to window--resize-siblings.
8647 (resize-this-window): Rename to window--resize-this-window.
8648 (resize-root-window): Rename to window--resize-root-window.
8649 (resize-root-window-vertically): Rename to
8650 window--resize-root-window-vertically.
8651 (normalize-buffer-to-display): Rename to
8652 window-normalize-buffer-to-display.
8653 (normalize-buffer-to-switch-to): Rename to
8654 window-normalize-buffer-to-switch-to.
8655 Correspondingly update all callers of the functions listed
8656 above.
8657 (display-buffer-alist, display-buffer-normalize-arguments)
8658 (display-buffer-normalize-options, display-buffer)
8659 (display-buffer-alist-set): Use "function" instead of
8660 "fun-with-args".
8661
1176868d
CY
86622011-06-28 Chong Yidong <cyd@stupidchicken.com>
8663
8664 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8665 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8666 debbugs.gnu.org. Mention acknowledgment email.
8667
20a7a65f
LMI
86682011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8669
8670 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8671 buffer multibyteness, since it shouldn't matter.
8672
5f45cca5
MR
86732011-06-28 Martin Rudalics <rudalics@gmx.at>
8674
8675 * window.el (display-buffer-in-side-window): Handle dedicated
8676 windows as in display-buffer-reuse-window.
8677 (display-buffer-normalize-alist): Use value of override
8678 specifier.
8679 (display-buffer-normalize-specifiers): Use value of
8680 other-window-means-other-frame specifier.
8681 (display-buffer-alist): Rewrite some texts in widgets.
8682 (display-buffer): Spread arguments when calling function
8683 specified by fun-with-args.
8684
ad85fe1f
DD
86852011-06-28 Deniz Dogan <deniz@dogan.se>
8686
1fa280a3
LM
8687 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8688 Unnest `let'.
da68c4c8 8689
ad85fe1f
DD
8690 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8691 selectors (Bug#5732).
ec49bd31 8692 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8693
a08cc025
JA
86942011-06-27 Jari Aalto <jari.aalto@cante.net>
8695
8696 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8697 (eshell-ls-date-format): New defcustom.
8698 (eshell-ls-file): Use it.
8699
e2b551c5
SM
87002011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8701
8702 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8703
8982b231
KY
87042011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8705
8706 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8707 (ange-ftp-make-tmp-name): New arg.
8708 (ange-ftp-file-local-copy): Use it.
8709
36c9fa27
J
87102011-06-27 Jambunathan K <kjambunathan@gmail.com>
8711
8712 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8713 no-conversion (Bug#8870).
8714
d68443dc
MR
87152011-06-27 Martin Rudalics <rudalics@gmx.at>
8716
8717 * window.el (window-right, window-left, window-child)
8718 (window-child-count, window-last-child)
8719 (window-iso-combination-p, walk-window-tree-1)
8720 (window-atom-check-1, window-tree-1, delete-window)
8721 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8722 new naming conventions - window-vchild, window-hchild,
8723 window-next and window-prev are now called window-top-child,
8724 window-left-child, window-next-sibling and window-prev-sibling
8725 respectively.
d615d6d2
MR
8726 (resize-window-reset): Rename to window-resize-reset.
8727 (resize-window-reset-1): Rename to window-resize-reset-1.
8728 (resize-window): Rename to window-resize.
8729 (window-min-height, window-min-width)
8730 (resize-mini-window, resize-this-window, resize-root-window)
8731 (resize-root-window-vertically, adjust-window-trailing-edge)
8732 (enlarge-window, shrink-window, maximize-window)
8733 (minimize-window, delete-window, quit-restore-window)
8734 (split-window, balance-windows, balance-windows-area-adjust)
8735 (balance-windows-area, window-state-put-2)
8736 (display-buffer-even-window-sizes, display-buffer-set-height)
8737 (display-buffer-set-width, set-window-text-height)
8738 (fit-window-to-buffer): Rename all "resize-window" prefixed
8739 calls to use the "window-resize" prefix convention.
8740 (display-buffer-alist): Fix symbol for label specifier.
8741 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8742 corresponding specifier.
8743 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8744
b6458526
VB
87452011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8746
8747 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8748 convention.
8749 (ses-call-printer): Does not pass an empty string to formatter when the
8750 cell is empty to keep from barking printer Calc math-format-value.
8751
d31fd9ac
RS
87522011-06-27 Richard Stallman <rms@gnu.org>
8753
43d5bf84
RS
8754 * battery.el (battery-mode-line-limit): New variable.
8755 (battery-update): Handle it.
8756
d31fd9ac
RS
8757 * mail/rmailmm.el (rmail-mime-process-multipart):
8758 Handle truncated messages.
8759
819a6054
GM
87602011-06-27 Glenn Morris <rgm@gnu.org>
8761
8762 * progmodes/flymake.el (flymake-err-line-patterns):
8763 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8764
cedc73f2
VB
87652011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8766
819a6054 8767 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8768 (ses--clean-!, ses--clean-_): New functions.
8769 (ses-range): Add configurability of readout order, and conversion
8770 to Calc vector.
8771
5e5d49b6
VB
8772 * ses.el (ses-repair-cell-reference-all): New function.
8773 (ses-cell-symbol): Set macro as safe, so that it can be used in
8774 formulas.
8775
56e6cc31 8776 * ses.el: Update cycle detection algorithm.
90ca8b49 8777 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8778 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8779 (ses-set-localvars): New function.
8780 (ses-make-cell): Add property-list as a cell element.
8781 (ses-cell-property-get-fun, ses-cell-property-get)
8782 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8783 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8784 New functions.
90ca8b49
VB
8785 (ses-cell-property-set, ses-cell-property-pop)
8786 (ses-cell-property-get-handle): New macro.
8787 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8788 New aliases, used for code readability.
8789 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8790 cycle detection.
8791 (ses-self-reference-early-detection): New defcustom.
fac916bf 8792 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8793 (ses-mode): Use ses-set-localvars.
8794 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8795 before lauching the update processing.
8796 (ses-initialize-Dijkstra-attempt): New function.
8797 (ses-recalculate-cell): Update for cycle detection based on
8798 Dijkstra algorithm.
8799
2bb63e81
VB
8800 * ses.el: Fix commenting and indenting convention.
8801
c9d29fb8
SM
88022011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * bs.el (bs-cycle-next): Complete last change.
8805
d8e4b68b
JB
88062011-06-27 Drew Adams <drew.adams@oracle.com>
8807
8808 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8809
40098786
LMI
88102011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8811
c9d29fb8
SM
8812 * net/network-stream.el (network-stream-open-starttls):
8813 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8814 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8815
40098786
LMI
8816 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8817 to binary to possibly avoid line encoding issues on Windows (among
8818 other things).
8819
468d09d4
LMI
88202011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8821
8822 * net/network-stream.el (open-network-stream): Return an :error
8823 saying what the problem was, if possible.
8824
8825 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8826 server.
8827
8828 * net/network-stream.el (network-stream-open-starttls): If we
8829 wanted to use STARTTLS, and the server offered it, but we weren't
8830 able to because we had no STARTTLS support, then close the connection.
8831 (open-network-stream): Return an :error element, if present.
8832
16f07dd7
CY
88332011-06-26 Chong Yidong <cyd@stupidchicken.com>
8834
88821ca0
CY
8835 * hl-line.el (hl-line-sticky-flag): Doc fix.
8836 (global-hl-line-sticky-flag): New option (Bug#8323).
8837 (global-hl-line-highlight): Obey it.
8838
16f07dd7
CY
8839 * vc/vc.el (vc-revert-show-diff): Default to t.
8840
6b5ccddf
KM
88412011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8842
c9d29fb8
SM
8843 * allout-widgets.el (allout-widgets-post-command-business):
8844 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8845 undecorated when an isearch is continued past, and isearch
8846 automatically collapses them. This leads to "widget leaks", where
8847 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8848 hidden widgets can slow down cursor travel, substantially.
8849 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8850 so we're doing without this nicety.
8851
8852 (allout-widgets-tally-string): Don't try to do a hash-table-count
8853 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8854 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8855 *Messages* when allout-widgets-maintain-tally is t.
8856
355f2e07
MR
88572011-06-26 Martin Rudalics <rudalics@gmx.at>
8858
8859 * window.el (display-buffer-normalize-argument): Rename to
8860 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8861 LABEL argument. Respect special-display-function when popping up
8862 a new frame. Fix code searching for a window showing the buffer
8863 on another frame.
c9d29fb8
SM
8864 (display-buffer-normalize-specifiers):
8865 Call display-buffer-normalize-arguments.
355f2e07
MR
8866 (display-buffer-in-window): Don't undedicate the window if its
8867 buffer remains the same.
8868 Reported by Drew Adams <drew.adams@oracle.com>.
8869 (display-buffer-alist): Add choice for same-window macro
8870 specfier.
8871 (display-buffer): Mention special meaning of LABEL argument in
8872 doc-string. Fix quoting. Don't pop up a new frame even as
8873 fallback.
8874
7ca8fc42
JB
88752011-06-26 Juanma Barranquero <lekktu@gmail.com>
8876
8877 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8878 avoid deleting the current window in some cases (bug#8911).
8879
bc312254
AS
88802011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8881
8882 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8883 (Bug#8934)
8884
2db18f3f
LMI
88852011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8886
c9d29fb8
SM
8887 * net/network-stream.el (network-stream-open-starttls):
8888 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8889 (network-stream-open-tls): Ditto.
8890
6302e0d3
LL
88912011-06-26 Leo Liu <sdl.web@gmail.com>
8892
8893 * register.el (registerv): New struct.
8894 (registerv-make): New function.
c9d29fb8
SM
8895 (jump-to-register, describe-register-1, insert-register):
8896 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8897 struct. (Bug#8415)
8898
5fdd4046
CY
88992011-06-26 Chong Yidong <cyd@stupidchicken.com>
8900
2afef60a
CY
8901 * vc/vc.el (vc-revert-show-diff): New defcustom.
8902 (vc-diff-internal): New arg specifying diff buffer.
8903 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8904 reuse an existing *vc-diff* buffer (Bug#8927).
8905
5fdd4046
CY
8906 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8907
e93db24a
GM
89082011-06-26 Glenn Morris <rgm@gnu.org>
8909
8910 * progmodes/f90.el (f90-critical-indent): New option.
8911 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8912 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8913 (f90-mode): Doc fix.
8914 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8915 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8916 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8917 (f90-match-end): Handle block, critical.
8918
eefff499
GM
89192011-06-25 Glenn Morris <rgm@gnu.org>
8920
f6ba4cc9
GM
8921 * calendar/diary-lib.el (diary-included-files): Doc fix.
8922 (diary-include-files): New function, extracted from
8923 diary-include-other-diary-files and diary-mark-included-diary-files.
8924 (diary-include-other-diary-files, diary-mark-included-diary-files):
8925 Just call diary-include-files.
8926 (diary-mark-entries): Reset diary-included-files on first call.
8927
16712304
GM
8928 * calendar/diary-lib.el (diary-mark-entries)
8929 (diary-mark-included-diary-files):
8930 Visit included diary-files in temp buffers.
8931
5d8e0d43
GM
8932 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8933 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8934 (f90-start-block-re, f90-imenu-generic-expression)
8935 (f90-looking-at-program-block-start, f90-no-block-limit):
8936 Add support for submodules.
8937
ccf7a5d5
GM
8938 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8939 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8940
11fdef7d 89412011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8942
8943 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8944 buffer-file-type before setting its value, to avoid disastrous
eefff499 8945 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8946
74f53697
JB
89472011-06-25 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8950
8951 * ses.el (ses-unload-function):
8952 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8953
8954 * proced.el (proced-unload-function):
8955 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8956
18a4ce5e
AR
89572011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8958
8959 * server.el (server-create-window-system-frame): Add parameters arg.
8960 (server-process-filter): Doc fix. Handle frame-parameters.
8961
519d22cc
JB
89622011-06-25 Juanma Barranquero <lekktu@gmail.com>
8963
8964 Fix bug#8730, bug#8781.
8965
8966 * loadhist.el (unload--set-major-mode): New function.
8967 (unload-feature): Use it.
8968
8969 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8970 (python-unload-function): New function.
8971
c206f5b0
SM
89722011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8975
f9ad64f3
GS
89762011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8977
8978 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8979 the candidates list.
8980
7d0da90e
JB
89812011-06-24 Juanma Barranquero <lekktu@gmail.com>
8982
8983 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8984
14b4e83d
RS
89852011-06-23 Richard Stallman <rms@gnu.org>
8986
8987 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8988 (rmail-variables): Set next-error-move-function.
8989 (rmail-what-message): Take argument POS.
8990 (rmail-next-error-move): New function.
8991
273d2baf
SM
89922011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8995 messages for adjacent non-terminals.
8996
56c2cc9a
RS
89972011-06-23 Richard Stallman <rms@gnu.org>
8998
8999 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9000 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9001 (rmail-start-mail): Don't specify use of rmail-mail-return;
9002 that's done by mail-bury now.
9003 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9004
d59eb518
MA
90052011-06-23 Michael Albinus <michael.albinus@gmx.de>
9006
9007 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9008 SIZE is a number.
9009
02cfc6d6
MR
90102011-06-23 Martin Rudalics <rudalics@gmx.at>
9011
9012 * window.el (get-lru-window, get-mru-window)
9013 (get-largest-window): Never return a minibuffer window.
9014 (display-buffer-pop-up-window): Fix a bug that could lead to
9015 reusing the minibuffer window.
9016 (display-buffer): Pass original specifier argument to
9017 display-buffer-function instead of the normalized one.
9018 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9019
4e323265
LL
90202011-06-22 Leo Liu <sdl.web@gmail.com>
9021
9022 * minibuffer.el (completing-read-function)
9023 (completing-read-default): Move from minibuf.c
9024
7a70468f
RS
90252011-06-22 Richard Stallman <rms@gnu.org>
9026
50718fc2
RS
9027 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9028 to Rmail even if not started by a special Rmail command.
9029
7a70468f
RS
9030 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9031 Copy the buffer currently showing just one message.
9032
297dde5a
RW
90332011-06-22 Roland Winkler <winkler@gnu.org>
9034
9035 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9036 (bibtex-clean-entry): First delete the old key so that a
9037 customized algorithm for generating the new key does not get
9038 confused by the old key.
9039 (bibtex-url): Obey regexp of first step.
9040 (bibtex-search-entries): Do not use add-to-list with local
9041 list-var.
9042
97bb1093
LMI
90432011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9044
9045 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9046 stored a user name, then query for the password first, instead of
9047 waiting for SMTP to give an error message and the trying again.
9048
1c0f1a19
JD
90492011-06-22 Lawrence Mitchell <wence@gmx.li>
9050
9051 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9052 BUFFER in call-process.
9053
396f7c9d
LMI
90542011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9055
9056 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9057 QUIT twice.
ddb7ffee
LMI
9058 (smtpmail-try-auth-methods): Require user name and password from
9059 auth-source.
396f7c9d 9060
8998d1b3
MR
90612011-06-22 Martin Rudalics <rudalics@gmx.at>
9062
9063 * window.el (display-buffer-default-specifiers)
9064 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9065 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9066 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9067
9068 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9069 (special-display-frame-alist, special-display-popup-frame):
9070 Remove duplicate declarations. These are now in window.el.
9071
4ea31e07
LMI
90722011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9073
c9d29fb8
SM
9074 * mail/smtpmail.el (smtpmail-via-smtp):
9075 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9076 server supports it. SMTP servers that support STARTTLS commonly
9077 require it.
9078
9079 * net/network-stream.el (network-stream-open-starttls): Support
9080 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9081 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9082
95f41d9a
LMI
9083 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9084 upgrades with `open-network-stream', and rely solely on
9085 auth-source for all credentials. Big changes throughout the file,
9086 but in particular:
c9d29fb8
SM
9087 (smtpmail-auth-credentials): Remove.
9088 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9089 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9090 MAIL FROM, too.
95f41d9a 9091
c9d29fb8
SM
9092 * net/network-stream.el (network-stream-open-starttls):
9093 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9094 STARTTLS.
9095 (auth-source): Require.
9096 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9097 (network-stream-certificate): Change cert-cert to cert and
9098 cert-key to key.
4ea31e07 9099
065ec2c7
MA
91002011-06-21 Michael Albinus <michael.albinus@gmx.de>
9101
9102 * net/tramp-cache.el (top): Don't load the persistency file when
9103 "emacs -Q" has been called.
9104
cd93b359
DR
91052011-06-21 Tim Harper <timcharper@gmail.com>
9106
d8e4b68b
JB
9107 * term/ns-win.el (ns-initialize-window-system):
9108 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9109 resource to NO as it is not yet supported by the NS port.
9110
ae9c0411
JB
91112011-06-21 Juanma Barranquero <lekktu@gmail.com>
9112
9113 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9114 (list-dynamic-libraries): ...not here.
9115
7f3f739f
LL
91162011-06-21 Leo Liu <sdl.web@gmail.com>
9117
9118 * subr.el (sha1): Implement sha1 using secure-hash.
9119
327c8fb1
MR
91202011-06-21 Martin Rudalics <rudalics@gmx.at>
9121
9122 * window.el (display-buffer-alist): In default value do not
9123 enforce searching a window on any but the selected frame.
9124 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9125 (display-buffer-select-window): Remove function.
9126 (display-buffer-in-window): When a window on another frame gets
9127 reused, do not select it any more but just raise its frame if
9128 necessary (Bug#8851) and (Bug#8856).
9129 (display-buffer-normalize-options): Handle pop-up-frames related
9130 options more faithfully.
9131 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9132 window if it is on another frame.
c9d29fb8
SM
9133 (display-buffer-alist, display-buffer-default-specifiers):
9134 Don't make new frame unsplittable by default.
9e9de014
MR
9135 (display-buffer-normalize-argument): Fix doc-string typo and use
9136 'same-frame-other-window instead of 'other-window when associating
9137 with display-buffer-macro-specifiers.
327c8fb1 9138
7cf3f556
VB
91392011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9140
9141 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9142 New functions.
9143 (5x5-mode-map, 5x5-mode-menu): Bind them.
9144 (5x5-draw-grid): Tweak the solver's rendering.
9145
60a406cf
SM
91462011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9149 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9150
d8e4b68b 91512011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9152
9153 * menu-bar.el: Use function variable instead of switch-to-buffer.
9154 (menu-bar-select-buffer-function): New variable.
60a406cf 9155 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9156
478d6f95
SM
91572011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9160 variable's status.
9161
ca530739
JD
91622011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9163
9164 * x-dnd.el (x-dnd-version-from-flags)
9165 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9166 and long as number (Bug#8899).
9167 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9168
bcd70d97
SM
91692011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9170
60a406cf 9171 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9172 (completion-try-completion, completion-all-completions): Compute the
9173 metadata argument if it's missing; make it optional (bug#8795).
9174
60a406cf 9175 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9176 (widget-complete): Use new :completion-function property.
9177 (widget-completions-at-point): New function.
9178 (default): Use :completion-function instead of :complete.
60a406cf
SM
9179 (widget-default-completions): Rename from widget-default-complete;
9180 Rewrite.
bcd70d97
SM
9181 (widget-string-complete, widget-file-complete, widget-color-complete):
9182 Remove functions.
9183 (file, symbol, function, variable, coding-system, color):
9184 * international/mule-cmds.el (default-input-method, charset)
9185 (language-info-custom-alist):
9186 * cus-edit.el (face): Use new property :completions.
9187
9188 * progmodes/pascal.el (pascal-completions-at-point): New function.
9189 (pascal-mode): Use it.
9190 (pascal-mode-map): Use completion-at-point.
9191 (pascal-toggle-completions): Make obsolete.
9192 (pascal-complete-word, pascal-show-completions):
9193 * progmodes/octave-mod.el (octave-complete-symbol):
9194 Redefine as obsolete alias.
9195 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9196 Signal absence of completion info for old Octave,
9197 (inferior-octave-complete): Redefine as obsolete alias.
9198 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9199 (meta-completions-at-point): Rename from meta-complete-symbol and
9200 adapt it for use on completion-at-point-functions.
9201 (meta-common-mode): Use it.
9202 (meta-looking-at-backward, meta-match-buffer): Remove.
9203 (meta-complete-symbol): Redefine as obsolete alias.
9204 (meta-common-mode-map): Use completion-at-point.
9205 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9206 (makefile-mode-map): Use completion-at-point.
9207 (makefile-completions-at-point): Rename from makefile-complete and
9208 adapt it for use on completion-at-point-functions.
9209 (makefile-mode): Use it.
9210 (makefile-complete): Redefine as obsolete alias.
9211
aebf69c8
DD
92122011-06-20 Deniz Dogan <deniz@dogan.se>
9213
9214 * net/rcirc.el: Delete trailing whitespaces once and for all.
9215
bfbbb27d
DC
92162011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9217
9218 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9219
d264a46b
CY
92202011-06-19 Chong Yidong <cyd@stupidchicken.com>
9221
4ca009e5
CY
9222 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9223
d264a46b
CY
9224 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9225
fbf5b3ce
MR
92262011-06-19 Martin Rudalics <rudalics@gmx.at>
9227
9228 * window.el (display-buffer-other-window-means-other-frame):
9229 Call display-buffer-normalize-alist.
9230 (display-buffer-normalize-specifiers-1): Rename to
9231 display-buffer-normalize-argument. New argument other-frame.
9232 Rewrite.
9233 (display-buffer-normalize-specifiers-2): Rename to
9234 display-buffer-normalize-options.
9235 (display-buffer-normalize-alist-1): New function.
9236 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9237 display-buffer-normalize-alist.
9238 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9239 (display-buffer-normalize-options-inhibit): New variable.
9240 (display-buffer-normalize-specifiers): Rewrite calling
9241 display-buffer-normalize-alist,
9242 display-buffer-normalize-argument, and
9243 display-buffer-normalize-options. Don't call the latter if
9244 display-buffer-normalize-options-inhibit is non-nil.
9245 (frame-auto-delete): New option.
9246 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9247 (window-list-no-nils, window-state-ignored-parameters)
9248 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9249 (window-state-put-1, window-state-put-2, window-state-put):
9250 New functions.
9a028c23
MR
9251 (display-buffer-normalize-options): Move special-display-p group
9252 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9253
6d10d800
CY
92542011-06-18 Chong Yidong <cyd@stupidchicken.com>
9255
6420d28b
CY
9256 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9257 groups (Bug#8776).
9258 (rx-submatch-n): New function.
9259 (rx): Document it.
9260
ddb8b596
CY
9261 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9262 (Bug#8768).
9263
9264 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9265
77080289
CY
9266 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9267
61dfb316
CY
9268 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9269 anytime existing face settings are present (Bug#8889).
9270
6d10d800
CY
9271 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9272 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9273 Remove unused argument.
9274
be3fb2b8
MR
92752011-06-18 Martin Rudalics <rudalics@gmx.at>
9276
bcd70d97
SM
9277 * window.el (display-buffer-default-specifiers):
9278 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9279 pop-up-window-min-width, and another reuse-window specifier
9280 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9281 (display-buffer-normalize-specifiers-2):
9282 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9283 pop-up-windows is unset. Add a reuse-window specifier for the
9284 case popping up a new window fails.
9285 (special-display-popup-frame): Remove double quoting.
28dec25a 9286 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9287
1c6d8c76
SM
92882011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9289
9290 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9291 according to comint-completion-addsuffix.
9292
9293 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9294 (pcomplete-suffix-list): Mark as obsolete.
9295 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9296 pcomplete-seen in the closure.
9297 (pcomplete-comint-setup): Setup completion-at-point as well.
9298 (pcomplete--entries): New function.
9299 (pcomplete--env-regexp): New var.
9300 (pcomplete-entries): Rewrite to work with partial-completion and
9301 without relying on pcomplete-suffix-list.
9302 (pcomplete-pare-list): Remove, unused.
9303
25aef8b8
MR
93042011-06-17 Martin Rudalics <rudalics@gmx.at>
9305
9306 * window.el (display-buffer-alist): Set pop-up-window-min-height
9307 and pop-up-window-min-width in default value. Reported by
9308 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9309 other-window-means-other-frame.
9310 (display-buffer-macro-specifiers): Comment out entry for
9311 other-window specifier.
9312 (display-buffer-other-window-means-other-frame): New function.
9313 (display-buffer-normalize-specifiers-1): New arguments
9314 buffer-name and label. Treat other-window case specially.
9315 (display-buffer-normalize-specifiers-2): Treat other-window case
9316 specially.
9317 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9318 (display-buffer-normalize-specifiers):
9319 Call display-buffer-normalize-specifiers-3.
25aef8b8 9320
dbad4f69
MR
93212011-06-17 Martin Rudalics <rudalics@gmx.at>
9322
9323 * window.el (same-window-p): Fix two typos introduced when
9324 adding with-no-warnings.
d1067961
MR
9325 (display-buffer-normalize-specifiers-1): Don't check
9326 pop-up-frames for 'unset initialization.
9327 (display-buffer-normalize-specifiers-2): Major rewrite using
9328 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9329 (pop-up-frames, display-buffer-reuse-frames)
9330 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9331 Suggested by David Engster <deng@randomsample.de>.
9332 (even-window-heights): Initialize to 'unset.
9333 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9334 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9335 other window case.
dbad4f69 9336
9b9c9e3a
MR
93372011-06-16 Martin Rudalics <rudalics@gmx.at>
9338
bcd70d97
SM
9339 * window.el (display-buffer-normalize-specifiers-1):
9340 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9341 second argument of display-buffer (Bug#8865).
981d5c09
MR
9342 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9343 (switch-to-buffer-other-window-same-frame)
9344 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9345 Adams (Bug#8875).
9c2755e9
MR
9346 (display-buffer): Don't check noninteractive when calling
9347 display-buffer-pop-up-frame.
9348 (display-buffer-pop-up-frame): Never pop up a frame in
9349 noninteractive mode (Bug#8857).
67222e1d
MR
9350 (enlarge-window, shrink-window): Don't report an error when the
9351 window can't be resized as requested (Bug#8862).
9b9c9e3a 9352
2b75be67
SM
93532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9354
9ffdd3ba
SM
9355 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9356
cb581a67
SM
9357 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9358
2b75be67
SM
9359 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9360
8c0e3589
AM
93612011-06-15 Alan Mackenzie <acm@muc.de>
9362
cb581a67
SM
9363 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9364 for declarators, disable knr checking to speed up for normal files.
9365 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9366
b96e6cde
LMI
93672011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9368
4bba86e6
LMI
9369 * net/network-stream.el (open-network-stream): Add the keyword
9370 :always-query-capabilities for the case where you want to force a
9371 `plain' network connection, but the protocol still requires the
9372 capabilitiy command (i.e., SMTP and EHLO).
9373
2b75be67 9374 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9375 consistency with other `-live-p' functions.
9376
efdcdbf8
SM
93772011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * window.el (same-window-buffer-names, same-window-regexps)
9380 (special-display-frame-alist, special-display-popup-frame)
9381 (special-display-function, special-display-buffer-names)
9382 (special-display-regexps, pop-up-frame-alist)
9383 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9384 (pop-up-windows, split-window-preferred-function)
9385 (split-height-threshold, split-width-threshold, even-window-heights)
9386 (display-buffer-mark-dedicated): Don't encourage the use of
9387 display-buffer-alist from Elisp code.
9388
c5cde042
DN
93892011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9390
9391 * progmodes/python.el (python-mode): Derive from prog-mode.
9392 * progmodes/ps-mode.el (ps-mode):
9393 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9394 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9395 * progmodes/ld-script.el (ld-script-mode): Likewise.
9396
baa1c9ab
MR
93972011-06-15 Martin Rudalics <rudalics@gmx.at>
9398
9399 * window.el (display-buffer-alist): Trim default value to avoid
9400 popping up a new frame (Bug#8857) or reusing an arbitrary window
9401 on another frame.
9402 (display-buffer): Do not fall back on popping up a new frame in
9403 batch mode (Bug#8857).
9404
c5dd5a51
CY
94052011-06-14 Chong Yidong <cyd@stupidchicken.com>
9406
9407 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9408 (custom-theme-summary): New function.
9409 (customize-themes): Use it.
9410
d647b7c4
GM
94112011-06-13 Glenn Morris <rgm@gnu.org>
9412
9413 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9414
9481c002
MR
94152011-06-13 Martin Rudalics <rudalics@gmx.at>
9416
357f93d2
MR
9417 * help.el (help-window): Remove variable.
9418 (help-window-point-marker, temp-buffer-max-height)
9419 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9420 (help-print-return-message): Don't set help-window.
9421 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9422 (help-window-setup-finish): Remove.
9423 (help-window-display-message, help-window-setup)
9424 (with-help-window): Major rewrite based on new
9425 display-buffer-window variable.
9426
9427 * help-mode.el (help-mode-finish): Remove help-window related
9428 code.
9429
9430 * view.el (view-exits-all-viewing-windows): Remove reference to
9431 view-return-to-alist in doc-string.
9432 (view-return-to-alist): Make obsolete.
9433 (view-buffer): Call pop-to-buffer-same-window and remove
9434 undo-window code.
9435 (view-buffer-other-window): Call pop-to-buffer-other-window and
9436 simplify code. Ignore second argument.
9437 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9438 simplify code. Ignore second argument.
9439 (view-return-to-alist-update): Make obsolete.
9440 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9441 Rewrite using quit-restore window parameters.
2b75be67
SM
9442 (view-mode-exit): Rename second argument to EXIT-ONLY.
9443 Rewrite using quit-restore-window.
357f93d2
MR
9444 (View-exit, View-exit-and-edit, View-leave, View-quit)
9445 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9446 appropriate arguments.
9447 (view-end-message): Use quit-restore window parameter.
9448
9481c002
MR
9449 * window.el (display-buffer-function): Rewrite doc-string.
9450 (display-buffer-window, display-buffer-alist): New variables.
9451 (display-buffer-split-specifiers)
9452 (display-buffer-side-specifiers)
9453 (display-buffer-macro-specifiers): New constants.
9454 (display-buffer-even-window-sizes, display-buffer-set-height)
9455 (display-buffer-set-width, display-buffer-select-window)
9456 (display-buffer-in-window, display-buffer-reuse-window)
9457 (display-buffer-split-window-1, display-buffer-split-window)
9458 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9459 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9460 (display-buffer-in-side-window, normalize-buffer-to-display)
9461 (display-buffer-normalize-specifiers-1)
9462 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9463 (display-buffer-normalize-specifiers, display-buffer-frame):
9464 New functions.
9481c002
MR
9465 (display-buffer): Major rewrite.
9466 (display-buffer-other-window, display-buffer-other-frame)
9467 (pop-to-buffer, switch-to-buffer-other-window)
9468 (switch-to-buffer-other-frame): Rewrite.
9469 (display-buffer-same-window, display-buffer-same-frame)
9470 (display-buffer-same-frame-other-window)
9471 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9472 (pop-to-buffer-other-window)
9473 (pop-to-buffer-same-frame-other-window)
9474 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9475 (switch-to-buffer-other-window-same-frame): New functions.
9476 (same-window-p, special-display-p): Rewrite disabling warnings.
9477 Make obsolete.
9478 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9479 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9480 Make obsolete
9481 (same-window-buffer-names, same-window-regexps)
9482 (special-display-frame-alist, special-display-popup-frame)
9483 (special-display-function, special-display-buffer-names)
9484 (special-display-regexps, pop-up-frame-alist)
9485 (pop-up-frame-function, split-window-preferred-function)
9486 (split-height-threshold, split-width-threshold)
9487 (even-window-heights): Make obsolete.
9488
9db51aca
GM
94892011-06-12 Glenn Morris <rgm@gnu.org>
9490
9491 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9492 Misc simplifications.
9db51aca 9493
39cffb44
MR
94942011-06-12 Martin Rudalics <rudalics@gmx.at>
9495
9496 * window.el (window-safely-shrinkable-p): Restore function which
9497 was inadvertently removed in change from 2011-06-11. Declare as
9498 obsolete.
9499
2b75be67
SM
9500 * calendar/calendar.el (calendar-generate-window):
9501 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9502 window-safely-shrinkable-p.
9503
a8955be7
GM
95042011-06-12 Glenn Morris <rgm@gnu.org>
9505
9506 * progmodes/fortran.el (fortran-mode-syntax-table):
9507 * progmodes/f90.el (f90-mode-syntax-table):
9508 Set % to punctuation. (Bug#8820)
9509 (f90-find-tag-default): Remove, no longer needed.
9510
f0d4059d
DC
95112011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9512
9513 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9514
1100a63c
CY
95152011-06-11 Chong Yidong <cyd@stupidchicken.com>
9516
9517 * image.el (image-animated-p): Return animation delay in seconds.
9518 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9519 (image-animate-timeout): Remove DELAY argument. Don't assume
9520 every subimage has the same delay; get it from image-animated-p.
9521 (image-animate): Caller changed.
9522
def722bf
MA
95232011-06-11 Michael Albinus <michael.albinus@gmx.de>
9524
9525 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9526 to ignored backtrace functions.
9527
0a2bb1a9
GM
95282011-06-11 Glenn Morris <rgm@gnu.org>
9529
9530 * calendar/appt.el (appt-disp-window-function): Doc fix.
9531 (appt-check): Handle overlapping appointments. (Bug#8337)
9532
6198ccd0
MR
95332011-06-11 Martin Rudalics <rudalics@gmx.at>
9534
9535 * window.el (window-tree-1, window-tree): New functions, moving
9536 the latter to window.el.
9537 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9538 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9539 (bw-refresh-edges): Remove.
9540 (balance-windows-1, balance-windows-2): New functions.
9541 (balance-windows): Rewrite in terms of window tree functions,
9542 balance-windows-1 and balance-windows-2.
9543 (bw-adjust-window): Remove.
9544 (balance-windows-area-adjust): New function with functionality of
9545 bw-adjust-window but using resize-window.
2b75be67
SM
9546 (set-window-text-height): Rewrite doc-string.
9547 Use normalize-live-window and resize-window.
9548 (enlarge-window-horizontally, shrink-window-horizontally):
9549 Rename argument to DELTA.
6198ccd0
MR
9550 (window-buffer-height): New function.
9551 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9552 Rewrite using new window resize routines.
2b75be67
SM
9553 (kill-buffer-and-window, mouse-autoselect-window-select):
9554 Use ignore-errors instead of condition-case.
6198ccd0
MR
9555 (quit-window): Call delete-frame instead of delete-windows-on
9556 for the only buffer on frame.
9557
9397e56f
MR
95582011-06-10 Martin Rudalics <rudalics@gmx.at>
9559
9560 * loadup.el (top-level): Load window before files for the sake
9561 of replace-buffer-in-windows.
9562
9563 * files.el (read-buffer-to-switch)
9564 (switch-to-buffer-other-window)
2b75be67
SM
9565 (switch-to-buffer-other-frame, display-buffer-other-frame):
9566 Move to window.el.
9397e56f
MR
9567
9568 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9569 (previous-buffer): Move to window.el.
9570
9571 * bindings.el (unbury-buffer): Move to window.el.
9572
9573 * window.el (delete-other-windows-vertically): Move after
9574 definition of delete-other-windows.
9575 (other-window, delete-windows-on, replace-buffer-in-windows):
9576 Move here from window.c.
9577 (record-window-buffer, unrecord-window-buffer)
9578 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9579 (switch-to-next-buffer): New functions.
9580 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9581 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9582 (previous-buffer): Move here from simple.el.
9583 Call switch-to-prev-buffer.
9397e56f
MR
9584 (bury-buffer): Move here from buffer.c. Switch to previous
9585 buffer when window cannot be deleted.
9586 (unbury-buffer): Move here from bindings.el.
9587 (ctl-x-map): Move binding for other-window from window.c to
9588 here.
9589 (read-buffer-to-switch, switch-to-buffer-other-window)
9590 (switch-to-buffer-other-frame): Move here from files.el.
9591 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9592 (switch-to-buffer): Move here from buffer.c.
9593 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9594
562dd5e9
MR
95952011-06-10 Martin Rudalics <rudalics@gmx.at>
9596
9597 * window.el (window-min-height, window-min-width): Move here
9598 from window.c. Add defcustoms and rewrite doc-strings.
9599 (resize-mini-window, resize-window): New functions.
9600 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9601 Move here from window.c.
9602 (maximize-window, minimize-window): New functions.
9603 (delete-window, delete-other-windows, split-window): Move here
9604 from window.c.
9605 (window-split-min-size): New function.
9606 (split-window-keep-point): Mention split-window-above-each-other
9607 instead of split-window-vertically.
2b75be67 9608 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9609 Rename split-window-vertically to split-window-above-each-other
9610 and provide defalias for old definition.
9611 (split-window-side-by-side, split-window-horizontally):
9612 Rename split-window-horizontally to split-window-side-by-side
9613 and provide defalias for the old definition.
562dd5e9
MR
9614 (ctl-x-map): Move bindings for delete-window,
9615 delete-other-windows and enlarge-window here from window.c.
9616 Replace bindings for split-window-vertically and
9617 split-window-horizontally by bindings for
9618 split-window-above-each-other and split-window-side-by-side.
9619
9620 * cus-start.el (all): Remove entries for window-min-height and
9621 window-min-width. Add entries for window-splits and
9622 window-nest.
9623
f0da764a
GM
96242011-06-09 Glenn Morris <rgm@gnu.org>
9625
80675c21
GM
9626 * calendar/appt.el (appt-mode-line): New function.
9627 (appt-check, appt-disp-window): Use it.
9628
f0da764a
GM
9629 * files.el (hack-one-local-variable-eval-safep):
9630 Allow minor-modes with explicit +/-1 arguments.
9631
59f623b7
TZ
96322011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9633
9634 * term/xterm.el (xterm): Add defgroup.
9635 (xterm-extra-capabilities): Add defcustom to supply known xterm
9636 capabilities, skip querying them, or query them (default).
9637 (terminal-init-xterm): Use it.
9638 (terminal-init-xterm-modify-other-keys): New function to set up
9639 modifyOtherKeys support to simplify `terminal-init-xterm'.
9640
9aab8e0d
MR
96412011-06-09 Martin Rudalics <rudalics@gmx.at>
9642
9643 * window.el (resize-window-reset, resize-window-reset-1)
9644 (resize-subwindows-skip-p, resize-subwindows-normal)
9645 (resize-subwindows, resize-other-windows, resize-this-window)
9646 (resize-root-window, resize-root-window-vertically)
9647 (window-deletable-p, window-or-subwindow-p)
9648 (frame-root-window-p): New functions.
9649
e8b08aee
GM
96502011-06-09 Glenn Morris <rgm@gnu.org>
9651
9652 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9653 (ange-ftp-get-files): Use it.
9654
254c37a5
AK
96552011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9656
9657 * mail/sendmail.el (mail-recover-1, mail-recover):
9658 * files.el (recover-file, recover-session):
9659 Handle dired-listing-switches not being just a single short option.
9660
35d7dbd3
GM
96612011-06-09 Glenn Morris <rgm@gnu.org>
9662
9663 * calendar/appt.el (appt-display-message, appt-disp-window):
9664 Handle lists of appointments.
9665
387522b2
MR
96662011-06-08 Martin Rudalics <rudalics@gmx.at>
9667
2b75be67
SM
9668 * window.el (one-window-p): Move down in code.
9669 Rewrite doc-string.
9670 (window-current-scroll-bars): Rewrite doc-string.
9671 Normalize live window argument.
387522b2
MR
9672 (walk-windows, get-window-with-predicate, count-windows):
9673 Rewrite doc-string. Use window-list-1.
9674 (window-in-direction-2, window-in-direction, get-mru-window):
9675 New functions.
9676
d8e4b68b 96772011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9678
9679 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9680 Doc fix (Bug#8713).
9681
96822011-06-08 Chong Yidong <cyd@stupidchicken.com>
9683
9684 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9685
96862011-06-08 Juanma Barranquero <lekktu@gmail.com>
9687
9688 * loadhist.el (unload-feature-special-hooks):
9689 Add `comint-output-filter-functions'.
9690
0de12c52
IK
96912011-06-08 Ivan Kanis <gnu@kanis.fr>
9692
9693 * calendar/appt.el (appt-check): Move some initializations into the let.
9694
f3d1777e
MR
96952011-06-08 Martin Rudalics <rudalics@gmx.at>
9696
9697 * window.el (window-height): Defalias to window-total-height.
9698 (window-width): Defalias to window-body-width.
9699
18af70d0
CY
97002011-06-07 Chong Yidong <cyd@stupidchicken.com>
9701
9702 * image-mode.el (image-toggle-animation): New command.
9703 (image-mode-map): Bind it to RET.
9704 (image-mode): Update message.
9705 (image-toggle-display-image): Avoid a spurious cache flush.
9706 (image-transform-rotation): Doc fix.
9707 (image-transform-properties): Return quickly in the normal case.
9708 (image-animate-loop): Rename from image-animate-max-time.
9709
2b75be67 9710 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9711 (create-animated-image): Remove unnecessary function.
9712 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9713 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9714 (image-animate-timer): Use car-safe.
9715 (image-animate-timeout): Rename argument.
9716
190b47e6
MR
97172011-06-07 Martin Rudalics <rudalics@gmx.at>
9718
9719 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9720 window.c. Rename first argument to ALL-FRAMES.
9721 Rephrase doc-strings.
9722 (get-buffer-window-list): Rewrite using window-list-1.
9723 Rephrase doc-string.
a1511caf
MR
9724 (window-safe-min-height, window-safe-min-width): New constants.
9725 (window-size-ignore, window-min-size, window-min-size-1)
9726 (window-sizable, window-sizable-p, window-size-fixed-1)
9727 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9728 (window-max-delta-1, window-max-delta, window-resizable)
9729 (window-resizable-p, window-total-height, window-total-width)
9730 (window-body-width): New functions.
9731 (window-full-height-p, window-full-width-p): Rewrite using
9732 window-total-size.
9733 (window-body-height): Rewrite using window-body-size.
190b47e6 9734
85cc1f11
MR
97352011-06-06 Martin Rudalics <rudalics@gmx.at>
9736
9737 * window.el (window-right, window-left, window-child)
9738 (window-child-count, window-last-child, window-any-p)
9739 (normalize-live-buffer, normalize-live-frame)
9740 (normalize-any-window, normalize-live-window)
9741 (window-iso-combination-p, window-iso-combined-p)
9742 (window-iso-combinations)
9743 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9744 (windows-with-parameter, window-with-parameter)
9745 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9746 (window-atom-check, window-side-check, window-check):
9747 New functions.
85cc1f11
MR
9748 (ignore-window-parameters, window-sides, window-sides-vertical)
9749 (window-sides-slots): New variables.
9750 (window-size-fixed): Move down in code. Minor doc-string fix.
9751
e7156492
AS
97522011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9753
9754 * comint.el (comint-dynamic-complete-as-filename)
9755 (comint-dynamic-complete-filename): Correctly call
9756 completion-in-region.
9757
7e821d0d
DD
97582011-06-05 Deniz Dogan <deniz@dogan.se>
9759
9760 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9761 in last change.
9762
ac09b8a1
DD
97632011-06-05 Deniz Dogan <deniz@dogan.se>
9764
9765 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9766 (rcirc): Use it to prompt for encryption.
9767
34699b85
RW
97682011-06-05 Roland Winkler <winkler@gnu.org>
9769
9770 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9771 (bibtex-search-entries): New command bound to C-c C-a.
9772 (bibtex-display-entries): New function.
9773
004dedd3
RW
97742011-06-05 Roland Winkler <winkler@gnu.org>
9775
9776 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9777 (bibtex-insert-kill): After yanking insert newline if necessary.
9778 (bibtex-initialize): Call bibtex-string-files-init only once.
9779 (bibtex-mode): Do not call easy-menu-add.
9780 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9781 (bibtex-yank): Set arg properly if nil.
9782
022fe7ce
RW
97832011-06-05 Roland Winkler <winkler@gnu.org>
9784
2b75be67
SM
9785 * textmodes/bibtex.el (bibtex-search-entry-globally):
9786 New variable.
022fe7ce
RW
9787 (bibtex-search-entry): Use it.
9788
b7c3692a
RW
97892011-06-05 Roland Winkler <winkler@gnu.org>
9790
9791 * textmodes/bibtex.el (bibtex-entry-format): New option
9792 sort-fields.
9793 (bibtex-format-entry, bibtex-reformat): Honor this option.
9794 (bibtex-parse-entry): Return fields in proper order.
9795
8eda563d
JB
97962011-06-05 Juanma Barranquero <lekktu@gmail.com>
9797
9798 * doc-view.el (doc-view-remove-if): Move computation of result out
9799 of `dolist' to silence misleading lexical-binding warning.
9800
7dbe3dbc
CY
98012011-06-04 Chong Yidong <cyd@stupidchicken.com>
9802
9803 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9804 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9805
0c33dd17
MA
98062011-06-04 Michael Albinus <michael.albinus@gmx.de>
9807
9808 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9809 "SunOS 5.10".
9810
f8f91c2b
MA
98112011-06-04 Michael Albinus <michael.albinus@gmx.de>
9812
9813 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9814 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9815 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9816 (tramp-parse-putty):
9817 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9818 (tramp-completion-function-alist-ssh)
9819 (tramp-completion-function-alist-telnet)
9820 (tramp-completion-function-alist-su)
9821 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9822 cookie.
9823
9824 * net/tramp-ftp.el:
9825 * net/tramp-sh.el:
9826 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9827 load "tramp.el" `tramp-set-completion-function'.
9828
e17d9003
SM
98292011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9830
9831 * shell.el: Require and use pcomplete.
9832 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9833 (shell-completion-vars): Set pcomplete-default-completion-function.
9834
6c4cab03
DD
98352011-06-04 Deniz Dogan <deniz@dogan.se>
9836
9837 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9838 `memq' (Bug#8799).
9839
ea9fafe0
SM
98402011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9841
9842 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9843
b3e945d3
JB
98442011-06-02 Juanma Barranquero <lekktu@gmail.com>
9845
9846 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9847 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9848 * vc/log-view.el (log-view-beginning-of-defun):
9849 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9850 (smerge-refine-forward, smerge-refine-chopup-region):
9851 Silence warning for unused `dotimes' counter variables.
9852
7d520089
SM
98532011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9854
9855 * net/tramp.el (tramp-with-progress-reporter): Rename from
9856 with-progress-reporter. Use `declare'.
9857 * net/tramp-smb.el:
9858 * net/tramp-sh.el:
9859 * net/tramp-gvfs.el: Update all uses.
9860
a1c2400f
JB
98612011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9862
9863 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9864 buffer isn't killed before making it current.
9865
2403c841
SM
98662011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 Silence various byte-compiler warnings.
9869 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9870 `access-type' and new obsolescence format.
9871 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9872 new format.
9873 (byte-compile-check-variable): New `access-type' argument.
9874 Only warn if the access-type is obsolete.
9875 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9876 (byte-compile-variable-set): Adjust callers.
9877 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9878 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9879 setting it as obsolete.
9880 * simple.el (minibuffer-completing-symbol):
9881 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9882 access as obsolete.
9883 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9884 obsolete yet.
9885 * international/quail.el (quail-mouse-choose-completion): Remove unused
9886 code referring to obsolete var.
9887 (quail-choose-completion-string): Remove.
9888 * server.el (server-clients-with, server-kill-buffer-query-function)
9889 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9890 * proced.el (proced-send-signal):
9891 * emacs-lisp/lisp.el (lisp-complete-symbol):
9892 Replace completion-annotate-function with completion-extra-properties.
9893
2462470b
SM
98942011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9895
fb5b2591
SM
9896 * simple.el (goto-line): Use read-number.
9897 (overriding-map-is-bound): Remove.
9898 (saved-overriding-map): Change default.
9899 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9900 Take the map as argument.
9901 (universal-argument, negative-argument, digit-argument): Use it.
9902 (restore-overriding-map): Adjust.
9903 (do-auto-fill): Use fill-forward-paragraph.
9904 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9905
fd6fa53f
SM
9906 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9907 (minibuffer-inactive-mode): New major mode.
9908 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9909 the *Messages* buffer" hack.
9910 (mouse-popup-menubar): Don't burp if the event is a normal key.
9911
2462470b
SM
9912 Miscellaneous tweaks.
9913 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9914 lexical scoping as in subr.el's dolist and dotimes.
9915 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9916 Silence compiler warning.
9917 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9918 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9919 * international/ccl.el (ccl-compile): Trivial simplification.
9920 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9921 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9922 `printflag' argument.
9923 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9924 Purecopy the whole obsolescence data.
9925
108bf785
LL
99262011-06-01 Leo Liu <sdl.web@gmail.com>
9927
9928 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9929 improve doc-string as suggested by Marco Pessotto
9930 <melmothx@gmail.com>.
9931 (rcirc-print): Fix last change.
9932
30a23501
SM
99332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9934
9935 * minibuffer.el (complete-with-action): Return nil for the metadata and
9936 boundaries of non-functional tables.
9937 (completion-table-dynamic): Return nil for the metadata.
9938 (completion-table-with-terminator): Add default case, using
9939 complete-with-action.
9940 (completion--metadata): New function.
9941 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9942 to try and avoid pathological performance problems.
9943 (completion--embedded-envvar-table): Return `category' metadata.
9944
bcd54f83
LMI
99452011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9946
9947 * subr.el (process-alive-p): New tiny convenience function.
9948
e227544d
SM
99492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9952 content but also its previous major mode.
9953
e8296fdc
HE
99542011-05-31 Helmut Eller <eller.helmut@gmail.com>
9955
4d61f28d 9956 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9957 *Backtrace* buffer when we exit with C-M-c.
9958
620c53a6
SM
99592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9960
9961 * minibuffer.el: Add metadata method to completion tables.
9962 (completion-category-overrides): New defcustom.
9963 (completion-metadata, completion--field-metadata)
9964 (completion-metadata-get, completion--styles)
9965 (completion--cycle-threshold): New functions.
9966 (completion-try-completion, completion-all-completions):
9967 Add `metadata' argument to choose completion-styles.
9968 (completion--do-completion): Use metadata to choose cycling.
9969 (completion-all-sorted-completions): Use metadata for sorting.
9970 Remove :completion-cycle-penalty which is not needed any more.
9971 (completion--try-word-completion): Add `metadata' argument.
9972 (minibuffer-completion-help): Check metadata for annotation function
9973 and sorting.
9974 (completion-file-name-table): Return `category' metadata.
9975 (minibuffer-completing-file-name): Make obsolete.
9976 * simple.el (minibuffer-completing-symbol): Make obsolete.
9977 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9978 completion-try-completion.
9979
1257e755
SM
99802011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9981
9982 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9983
3767e706
LL
99842011-05-30 Leo Liu <sdl.web@gmail.com>
9985
9986 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9987 (rcirc-print): Decode all incoming messages (bug#8744).
9988 (rcirc-decode-coding-system): Allow value nil for automatic coding
9989 system detection.
3767e706 9990
d1a5d56a
GM
99912011-06-01 Glenn Morris <rgm@gnu.org>
9992
9993 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9994
e8cbec34
CY
99952011-05-29 Chong Yidong <cyd@stupidchicken.com>
9996
9997 * image.el (image-animate-max-time): Allow nil and t values.
9998 Default to nil.
9999 (create-animated-image): Doc fix.
10000 (image-animate-start): Remove second arg; just use
10001 image-animate-max-time.
10002 (image-animate-timeout): Doc fix. Args changed.
10003
10004 * image-mode.el (image-toggle-display-image): Ensure that the
10005 image spec passed to the animate timer is the same object as in
58179cce 10006 the buffer's display property (Bug#6981).
e8cbec34
CY
10007 (image-transform-properties): Doc fix.
10008
10009 * image.el (image-animate-max-time): Default to nil.
10010
159daf87
MR
100112011-05-29 Martin Rudalics <rudalics@gmx.at>
10012
10013 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10014 entire buffer list (Bug#8184).
10015
d66c4c7c
CY
100162011-05-29 Chong Yidong <cyd@stupidchicken.com>
10017
10018 * image.el (imagemagick-types-inhibit)
10019 (imagemagick-register-types): Doc fix.
10020
80aec780
DD
100212011-05-29 Deniz Dogan <deniz@dogan.se>
10022
10023 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10024 default.
10025
1dd3c2d9
CY
100262011-05-29 Chong Yidong <cyd@stupidchicken.com>
10027
10028 * select.el: Don't perform clipboard-manager saving in hooks;
10029 leave the hooks empty.
10030
60e56523
LL
100312011-05-28 Leo Liu <sdl.web@gmail.com>
10032
10033 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10034 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10035 (occur-edit-mode): New major mode (Bug#8463).
10036 (occur-after-change-function): New function.
10037 (occur-engine): Give Occur tags a read-only property.
10038
2b1e1a22
KR
100392011-05-28 Kevin Ryde <user42@zip.com.au>
10040
10041 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10042
5d344e88
CY
100432011-05-28 Chong Yidong <cyd@stupidchicken.com>
10044
8e6ca83d
CY
10045 * bindings.el (help-echo): Make the initial non-indicator dash
10046 empty on graphical terminals (Bug#7295).
10047
5d344e88
CY
10048 * files.el (auto-mode-alist): Move config rule after the
10049 in-stripping one (Bug#8547).
10050
bfbbace7
CY
10051 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10052
fbeba6e2
CY
10053 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10054 setting (Bug#8740).
10055
60ed8c72
AA
100562011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10057
4ac619f0
AA
10058 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10059 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10060 (Bug#8539).
60ed8c72 10061
23db196e
CY
100622011-05-28 Chong Yidong <cyd@stupidchicken.com>
10063
10064 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10065
5012f24c
DK
100662011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10067
10068 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10069 (hs-hide-block-at-point, hs-find-block-beginning)
10070 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10071 (Bug#8279).
10072
6a639b16
GM
100732011-05-28 Glenn Morris <rgm@gnu.org>
10074
10075 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10076
d43eaf2c
CY
100772011-05-28 Chong Yidong <cyd@stupidchicken.com>
10078
5199bde1
CY
10079 * help-fns.el (describe-function-1): If the function is a derived
10080 major mode, print the parent mode.
10081
d43eaf2c
CY
10082 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10083 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10084
423428a8
SM
100852011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10086
0ff8e1ba 10087 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10088 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10089 * progmodes/etags.el (tags-completion-at-point-function):
10090 * info-look.el (info-lookup-completions-at-point): Mark as
10091 non-exclusive.
10092 (info-complete): Adjust accordingly.
10093
423428a8
SM
10094 * info-look.el: Convert to lexical-binding and completion-at-point.
10095 (info-lookup-completions-at-point): New function.
10096 (info-complete): Use it and completion-in-region.
10097
b74aa22b
DA
100982011-05-28 Drew Adams <drew.adams@oracle.com>
10099
10100 * isearch.el: Let M-e start with point at the first mismatched char.
10101 (isearch-fail-pos): New function.
10102 (isearch-edit-string): Use it.
10103
66e2e71d
DK
101042011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10105
10106 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10107
b1890b0f 101082011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10109
10110 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10111 traversal functions for avl-trees.
10112 (avl-tree--stack): New struct.
10113 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10114 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10115 (avl-tree--do-enter): Add optional `updatefun' arg.
10116 Change return value.
eb95d01d 10117 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10118 (avl-tree--do-delete): Add `test' and `nilflag' args.
10119 Change return value.
eb95d01d
TC
10120 (avl-tree-member): Add optional `nilflag'
10121 (avl-tree-member-p): New function.
10122 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10123 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10124 (avl-tree-stack-empty-p): New functions.
10125
3769ddcf
TC
10126 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10127 avl-tree--del-balance1 and make it work both ways.
10128 (avl-tree--del-balance2): Remove.
10129 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10130 make it work both ways.
10131 (avl-tree--enter-balance2): Remove.
10132 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10133 New macros.
10134 (avl-tree--mapc, avl-tree-map): Add direction argument.
10135
eb95d01d 101362011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10137
10138 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10139
a9f737ee
CY
101402011-05-27 Chong Yidong <cyd@stupidchicken.com>
10141
10142 * select.el: Support clipboard managers with built-in function
10143 x-clipboard-manager-save, via delete-frame-functions and
10144 kill-emacs-hook.
10145 (xselect-convert-to-targets): Add MULTIPLE target to list.
10146 (xselect-convert-to-save-targets): New function.
10147
c92a1e54
KH
101482011-05-27 Kenichi Handa <handa@m17n.org>
10149
10150 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10151 let-binding rfc2047-encode-encoded-words to nil.
10152
e145f188
GM
101532011-05-27 Glenn Morris <rgm@gnu.org>
10154
5ec8a862
GM
10155 * mail/emacsbug.el: Don't require url-util.
10156
4b29d9fb
GM
10157 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10158
e145f188
GM
10159 * files.el (set-auto-mode):
10160 Also respect mode: entries at the end of the file. (Bug#8586)
10161
7d15102b
GM
101622011-05-26 Glenn Morris <rgm@gnu.org>
10163
98f593b8
GM
10164 * files.el (hack-local-variables-prop-line, hack-local-variables):
10165 Downcase mode names, as seems to be traditional.
27b48e63 10166 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10167
7d15102b
GM
10168 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10169 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10170
51d5b4ec
JD
101712011-05-25 Julien Danjou <julien@danjou.info>
10172
10173 * textmodes/rst.el (rst-define-level-faces): Do not define face
10174 symbol if it is already defined.
10175
91513f63
VB
101762011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10177
10178 * play/5x5.el (5x5-new-game, 5x5-randomize):
10179 Reset 5x5-solver-output to nil when a new grid is cast.
10180 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10181 these debugging traces, as defmacro breaks the compiled code.
10182
4d90d6d0
DK
101832011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10184
10185 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10186
e1b90ef6
LL
101872011-05-24 Leo Liu <sdl.web@gmail.com>
10188
10189 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10190 (vc-bzr-sha1): Adapt.
10191
d8e4b68b 10192 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10193
10194 * bindings.el: Provide sha1 feature.
10195
db0406bb 101962011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10197
10198 * mail/sendmail.el: Require `rfc2047'.
10199 (mail-insert-from-field): Do not perform RFC2047 encoding.
10200 (mail-encode-header): New function.
10201 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10202 buffer to the return value of select-message-coding-system.
10203 Call mail-encode-header.
b8d747b9
KH
10204
10205 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10206
db0406bb 102072011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10208
4d90d6d0
DK
10209 * mail/supercite.el (sc-default-cite-frame):
10210 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10211
eb8a5e9b
GM
102122011-05-24 Glenn Morris <rgm@gnu.org>
10213
f8630703
GM
10214 * progmodes/python.el (brm-menu): Declare.
10215
8831bbed
GM
10216 * emulation/viper.el (viper-set-hooks): Declare.
10217
eb8a5e9b
GM
10218 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10219 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10220 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10221 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10222 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10223 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10224
a2a25d24
SM
102252011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 Add an :exit-function for completion-at-point.
10228
10229 * minibuffer.el (completion--done): New fun.
10230 (completion--do-completion): Use it. New arg `expect-exact'.
10231 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10232 since completion--do-completion does it for us now.
10233 (minibuffer-force-complete): Use completion--done and
10234 completion--replace. Handle sole-completion case with more care.
10235 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10236 (completion-extra-properties): New var.
10237 (completion-annotate-function): Make obsolete.
10238 (minibuffer-completion-help): Adjust accordingly.
10239 Use completion-list-insert-choice-function.
10240 (completion-at-point, completion-help-at-point):
10241 Bind completion-extra-properties.
10242 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10243 * simple.el (completion-list-insert-choice-function): New var.
10244 (completion-setup-function): Preserve it.
10245 (choose-completion): Pay attention to it, shuffle the code a bit.
10246 (choose-completion-string): New arg `insert-function'.
10247
10248 * textmodes/bibtex.el: Convert to lexical binding.
10249 (bibtex-mode-map): Use completion-at-point.
10250 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10251 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10252 (bibtex-complete): Define as obsolete alias.
10253 (bibtex-complete-internal): Remove.
10254 (bibtex-format-entry): Remove unused sub-group in regexp.
10255 * shell.el (shell--command-completion-data)
10256 (shell-environment-variable-completion):
10257 * pcomplete.el (pcomplete-completions-at-point):
10258 * comint.el (comint--complete-file-name-data): Use :exit-function
10259 instead of completion-table-with-terminator so it also works for
10260 choose-completion.
10261
e44e373d
SM
102622011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10263
4f91a816
SM
10264 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10265
782fc819
SM
10266 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10267 (bug#8710).
10268
e44e373d
SM
10269 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10270
381987c3
KM
102712011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10272
10273 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10274 customization variable and implement: If non-nil, auto-fill will
10275 be inhibited while on topic's header line.
10276
b776bc70
VB
102772011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10278
10279 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10280 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10281 always have a solution in grid size = 5 cases.
10282 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10283 (5x5-solver-output, 5x5-log-buffer): New vars.
10284 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10285 Make these variables buffer local to achieve 5x5 multi-session-ness.
10286 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10287 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10288 (5x5-solve-suggest): New funs.
10289 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10290 randomize a grid so that we ensure that there is always a solution.
10291 (5x5-make-random-grid): Allow other movement than flipping.
10292
7de88b6e
KR
102932011-05-23 Kevin Ryde <user42@zip.com.au>
10294
10295 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10296 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10297 advice and passes PREDICATE.
10298
b1ef1257
SM
102992011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10300
bbca48fe
SM
10301 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10302 byte-compile-lambda if it's actually a lambda.
10303
b1ef1257
SM
10304 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10305 Fix function quoting. Use backquote better.
10306
92a9cc65
YS
103072011-05-22 Yuanle Song <sylecn@gmail.com>
10308
10309 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10310 matching (Bug#8516).
10311
f0fb8059
JA
103122011-01-22 Jari Aalto <jari.aalto@cante.net>
10313
10314 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10315 different face (Bug#8178).
10316
d5b44c93
CY
103172011-05-22 Chong Yidong <cyd@stupidchicken.com>
10318
10319 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10320 defface (Bug#8144).
10321
79106a44
SM
103222011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10323
9c848d8a
SM
10324 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10325 funcall as well (bug#8712). Warn when performing those conversions.
10326 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10327
79106a44
SM
10328 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10329
88dfa756
GM
103302011-05-22 Glenn Morris <rgm@gnu.org>
10331
10332 * files.el (hack-local-variables-prop-line): Small simplifications.
10333 (hack-local-variables, hack-local-variables-prop-line):
10334 If MODE-ONLY, return the mode, rather than just `t'.
10335
b7cf2c79
SM
103362011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10339
3f1a8558
GM
103402011-05-21 Glenn Morris <rgm@gnu.org>
10341
7e4ccca3
GM
10342 * files.el (hack-local-variables-prop-line, hack-local-variables):
10343 If only interested in the mode, don't bother doing the other stuff.
10344
637d46ca
GM
10345 * image-mode.el (image-after-revert-hook):
10346 Redraw all frames on which the image is visible. (Bug#8567)
10347
973d955b
GM
10348 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10349
3f1a8558
GM
10350 * wid-edit.el (widget-checklist-match-inline):
10351 Fix 2011-04-19 change. (Bug#8649)
10352
96479927
SM
103532011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10354
1dcf791f
SM
10355 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10356 Also allow singlespace after single-letter capitals followed by a dot.
10357
96479927
SM
10358 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10359 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10360
35fd0881
N
103612011-05-20 Nix <nix@esperi.org.uk>
10362
10363 * files.el (basic-save-buffer-2):
10364 Fix handling of break-hardlink-on-save with non-existent files.
10365
82745640
DD
103662011-05-19 Deniz Dogan <deniz@dogan.se>
10367
10368 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10369 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10370
4a720484
GM
103712011-05-19 Glenn Morris <rgm@gnu.org>
10372
d1f21341
GM
10373 * progmodes/f90.el (f90-type-def-re):
10374 Handle "type, bind(c)". (Bug#8691)
10375
4a720484
GM
10376 * emacs-lisp/autoload.el (batch-update-autoloads):
10377 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10378
2fb0a219
MA
103792011-05-18 Michael Albinus <michael.albinus@gmx.de>
10380
10381 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10382 property for the correct connection in case of multihops.
10383
e565dd37
GM
103842011-05-18 Glenn Morris <rgm@gnu.org>
10385
c2571358 10386 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10387 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10388
e565dd37
GM
10389 Rationalize calendar handling of day and month abbrev-arrays.
10390 * calendar/calendar.el (calendar-customized-p): New function.
10391 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10392 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10393 Add :set function.
10394 (calendar-abbrev-length, calendar-day-abbrev-array)
10395 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10396 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10397 Elements may no longer be nil.
10398 (calendar-day-name, calendar-month-name):
10399 Update for changed nature of abbrev arrays.
10400 * calendar/diary-lib.el (diary-name-pattern):
10401 Update for changed nature of abbrev arrays.
10402 (diary-mark-entries-1): Update calendar-make-alist calls.
10403 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10404 * calendar/cal-html.el (cal-html-day-abbrev-array):
10405 Simply inherit from calendar-day-abbrev-array.
10406
1d99a745
SM
104072011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10408
10409 * progmodes/grep.el (grep-mode): Disable default
10410 compilation-directory-matcher setting (bug#8684).
10411
7c1d9aa0
MA
104122011-05-17 Michael Albinus <michael.albinus@gmx.de>
10413
10414 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10415 instead of "head" and "tail". There were problems with SunOS 5.9,
10416 and it performs better.
10417
3952e9d8
GM
104182011-05-17 Glenn Morris <rgm@gnu.org>
10419
2dd12e7f
GM
10420 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10421
e4157b9c
GM
10422 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10423 Replace obsolete function.
10424
8e249bbd
GM
10425 * shell.el (pcomplete-parse-arguments-function): Declare.
10426
3952e9d8
GM
10427 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10428 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10429 (appt-check): Doc fixes.
10430 (appt-disp-window-function, appt-delete-window-function):
10431 Remove needless special case in custom :type.
10432 (appt-display-count): Default to 0, not nil.
10433 (appt-check): Reset appt-display-count to 0, not nil.
10434
c71a0d48 104352011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10436
c71a0d48
GM
10437 * progmodes/python.el (python-font-lock-keywords):
10438 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10439
31d55be9
SM
104402011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10443
3bfacb2f
KR
104442011-05-16 Kevin Ryde <user42@zip.com.au>
10445
10446 * info-look.el (makefile-automake-mode): New setups, looking in
10447 automake manual, then makefile-mode.
10448 (makefile-mode): Remove automake manual, have it just in
10449 makefile-automake-mode since there's various things different or
10450 not relevant to plain make.
10451 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10452 believe a hypothetical automake-mode would go to makefile-mode,
10453 not the other way around.
10454
c8e83751
CY
104552011-05-15 Chong Yidong <cyd@stupidchicken.com>
10456
5e9e35cd
CY
10457 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10458 hunk-end tags (Bug#8672).
10459
c8e83751
CY
10460 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10461 vc-annotate-show-diff-revision-at-line (Bug#8671).
10462
50b23e5a
GM
104632011-05-14 Glenn Morris <rgm@gnu.org>
10464
7210a739
GM
10465 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10466 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10467 (change-log-font-lock-keywords): Also handle multiple author lines
10468 with leading tabs. (Bug#8644)
7210a739 10469
4691905a
GM
10470 * calendar/appt.el (appt-check): Rename some local variables.
10471 Some simplification/reordering.
10472
50b23e5a
GM
10473 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10474 (feedmail-sendmail-f-doesnt-sell-me-out)
10475 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10476 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10477 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10478 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10479 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10480 (feedmail-binmail-gnulinuxish-template):
10481 Rename from feedmail-binmail-linuxish-template.
10482 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10483 Use insert-buffer-substring.
10484
215cda7c
BC
104852011-05-14 Bill Carpenter <bill@carpenter.org>
10486
10487 * mail/feedmail.el (feedmail-patch-level): Increase.
10488 (feedmail-debug): New custom group.
10489 (feedmail-confirm-outgoing-timeout)
10490 (feedmail-sendmail-f-doesnt-sell-me-out)
10491 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10492 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10493 (feedmail-sender-line, feedmail-from-line)
10494 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10495 (feedmail-spray-this-address)
215cda7c
BC
10496 (feedmail-spray-address-fiddle-plex-list)
10497 (feedmail-queue-use-send-time-for-date)
10498 (feedmail-queue-use-send-time-for-message-id)
10499 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10500 (feedmail-buffer-eating-function):
10501 Doc fixes.
10502 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10503 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10504 (feedmail-message-action-scroll-down): New functions.
10505 (feedmail-queue-directory, feedmail-queue-draft-directory):
10506 Use expand-file-name.
10507 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10508 Remove C-v help entry.
10509 (feedmail-queue-buffer-file-name): New variable.
10510 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10511 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10512 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10513 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10514 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10515 (feedmail-message-action-toggle-spray)
10516 (feedmail-run-the-queue-no-prompts)
10517 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10518 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10519 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10520 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10521 (feedmail-envelope-deducer, feedmail-fiddle-from)
10522 (feedmail-fiddle-sender, feedmail-default-date-generator)
10523 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10524 (feedmail-fiddle-spray-address)
10525 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10526 (feedmail-fiddle-list-of-fiddle-plexes)
10527 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10528 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10529 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10530 Change default. Doc fix.
10531 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10532 (feedmail-binmail-linuxish-template): New constant.
10533 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10534 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10535 (feedmail-send-it): Add debug call.
10536 Use feedmail-queue-buffer-file-name, and
10537 feedmail-send-it-immediately-wrapper.
10538 (feedmail-message-action-send): Add debug call.
10539 Use feedmail-send-it-immediately-wrapper.
10540 (feedmail-queue-express-to-queue): Add debug call.
10541 Run feedmail-queue-express-hook.
10542 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10543 (feedmail-message-action-help-blat):
10544 Rename from feedmail-queue-send-edit-prompt-help-first.
10545 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10546 Check line-endings. Handle errors better.
10547 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10548 Doc fix. Add debug call.
10549 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10550 Use feedmail-queue-send-edit-prompt-inner.
10551 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10552 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10553 from feedmail-queue-send-edit-prompt.
10554 (feedmail-queue-send-edit-prompt-help)
10555 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10556 (feedmail-tidy-up-slug): Add debug call.
10557 Respect feedmail-queue-slug-suspect-regexp.
10558 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10559 (feedmail-dump-message-to-queue): Add debug call.
10560 Expand queue-directory.
10561 (feedmail-dump-message-to-queue): Change message slightly.
10562 Use feedmail-say-chatter.
10563 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10564 (feedmail-send-it-immediately-wrapper): New function.
10565 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10566 Insert empty string rather than newline. Handle full-frame case.
10567 Use catch/throw. Use feedmail-say-chatter.
10568 (feedmail-fiddle-from): Try mail-host-address.
10569 (feedmail-default-message-id-generator): Doc fix.
10570 Bind system-time-locale. Handle missing end.
10571 (feedmail-fiddle-x-mailer): Add debug call.
10572 Handle feedmail-x-mailer-line being nil.
10573 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10574 Add debug call. Use buffer-substring-no-properties.
10575 (feedmail-say-debug, feedmail-say-chatter): New functions.
10576 (feedmail-find-eoh): Give an explicit error.
10577
42c7e61e
UJ
105782011-05-13 Ulf Jasper <ulf.jasper@web.de>
10579
c2571358 10580 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10581 family from helvetica to sans.
c2571358 10582 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10583 etc/images/newsticker.
10584
c2571358 10585 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10586 family from helvetica to sans.
10587
10588 * net/newst-plainview.el (newsticker-new-item-face)
10589 (newsticker-old-item-face, newsticker-immortal-item-face)
10590 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10591 (newsticker-statistics-face): Change default family from
42c7e61e 10592 helvetica to sans.
c2571358 10593 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10594 etc/images/newsticker.
10595
10596 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10597 (newsticker--process-auto-mark-filter-match): : Tell user about
10598 auto-marking.
10599
8497a297
DV
106002011-05-13 Didier Verna <didier@xemacs.org>
10601
10602 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10603 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10604 TODO entries.
8497a297
DV
10605 (lisp-lambda-list-keyword-parameter-indentation)
10606 (lisp-lambda-list-keyword-parameter-alignment)
10607 (lisp-lambda-list-keyword-alignment): New customizable user options.
10608 (lisp-indent-defun-method): Improve docstring.
10609 (extended-loop-p): Fix comment.
10610 (lisp-indent-lambda-list-keywords-regexp): New variable.
10611 (lisp-indent-lambda-list): New function.
10612 (lisp-indent-259): Use it.
10613 (lisp-indent-defmethod): Support for more than one
10614 method qualifier and properly indent methods lambda-lists.
10615 (defgeneric): Provide a missing common-lisp-indent-function property.
10616
f278f87f
SM
106172011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10620 bounds for the empty string (bug#8667).
10621
5233edd7
GM
106222011-05-13 Glenn Morris <rgm@gnu.org>
10623
5237a44f
GM
10624 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10625
8340026c 10626 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10627 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10628
5233edd7 10629 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10630 (appt-time-msg-list): Doc fix.
a5464014 10631 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10632
92d10796
AS
106332011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10634
10635 * progmodes/ld-script.el (ld-script-keywords)
10636 (ld-script-builtins): Update keywords list.
10637
914a0ae1
SM
106382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10639
c89be45f
SM
10640 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10641
914a0ae1
SM
10642 * shell.el (shell-completion-vars): New function.
10643 (shell-mode):
10644 * simple.el (read-shell-command): Use it.
10645 (blink-matching-open): No need for " [...]" in minibuffer-message.
10646
98dc3df3
GM
106472011-05-12 Glenn Morris <rgm@gnu.org>
10648
10649 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10650 (appt-check): Simplify.
10651
d2fc7e3d 106522011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10653
4d61f28d 10654 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10655 literal "/dev/null".
10656
d2fc7e3d 106572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10658
10659 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10660 Fix typo.
10661
d2fc7e3d 106622011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10663
3f254caa
SM
10664 * progmodes/which-func.el (which-function):
10665 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10666 which might not be defined (Bug#8260).
10667
d45885f7
GM
106682011-05-12 Glenn Morris <rgm@gnu.org>
10669
10670 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10671 Let byte-compile-initial-macro-environment always take precedence.
10672
488086f4
SM
106732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10674
10675 * net/rcirc.el: Add support for SSL/TLS connections.
10676 (rcirc-server-alist): New field `encryption'.
10677 (rcirc): Check `encryption' settings.
10678 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10679 Merge make-local-variable into `set'.
10680 (rcirc--connection-open-p): New function.
10681 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10682 the process is not a network process (e.g. running gnutls-cli).
10683 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10684 Make rcirc-(en|de)code-coding-system local here.
10685 (rcirc-mode): Merge make-local-variable into `set'.
10686 (rcirc-parent-buffer): Make permanent buffer-local.
10687 (rcirc-multiline-minor-mode): Don't do it here.
10688 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10689 there's no server buffer.
10690
7d3b9d44
GM
106912011-05-11 Glenn Morris <rgm@gnu.org>
10692
f64049c6
GM
10693 * newcomment.el (comment-kill): Prefix "unused" local.
10694
93c9df73
GM
10695 * term/w32console.el (get-screen-color): Declare.
10696
7d3b9d44
GM
10697 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10698 Handle symbol elements of byte-compile-initial-macro-environment.
10699
9e2dd53f
LL
107002011-05-10 Leo Liu <sdl.web@gmail.com>
10701
488086f4
SM
10702 * bookmark.el (bookmark-bmenu-mode-map):
10703 Bind bookmark-bmenu-search to `/'.
8b340240 10704
9e2dd53f 10705 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10706 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10707 (Footnote-unicode): New function.
10708 (footnote-style-alist): Add unicode style to the list.
10709 (footnote-style): Doc fix.
9e2dd53f 10710
79b70037
GM
107112011-05-10 Jim Meyering <meyering@redhat.com>
10712
10713 Fix doubled-word typos.
10714 * international/quail.el (quail-insert-kbd-layout): and and -> and
10715 * kermit.el: and and -> and
10716 * net/ldap.el (ldap-search-internal): to to -> to
10717 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10718 * progmodes/js.el (js-mode): and and -> and
10719 * textmodes/artist.el (artist-move-to-xy): at at -> at
10720 (artist-draw-region-trim-line-endings): if if -> if
10721 And Safetyc -> Safety.
10722 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10723
b8f82dc1 107242011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10725 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10726
10727 * files.el (hack-one-local-variable-eval-safep):
10728 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10729
4f99f44b
GM
107302011-05-10 Glenn Morris <rgm@gnu.org>
10731
10732 * calendar/diary-lib.el (diary-list-entries-hook)
10733 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10734 (diary-nongregorian-marking-hook, diary-list-entries)
10735 (diary-include-other-diary-files, diary-mark-entries)
10736 (diary-mark-included-diary-files): Doc fixes.
10737
84f29e6b
JB
107382011-05-09 Juanma Barranquero <lekktu@gmail.com>
10739
10740 * misc.el: Require tabulated-list.el during compilation.
10741
9bedd73a
CY
107422011-05-09 Chong Yidong <cyd@stupidchicken.com>
10743
488086f4
SM
10744 * progmodes/compile.el (compilation-start):
10745 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10746 (compilation-filter-hook): Doc fix.
10747
797c735c
DD
107482011-05-09 Deniz Dogan <deniz@dogan.se>
10749
10750 * wdired.el: Remove outdated installation comment. Fix usage
10751 comment.
10752
5f4b1dfe
JB
107532011-05-09 Juanma Barranquero <lekktu@gmail.com>
10754
10755 * misc.el: Implement new command `list-dynamic-libraries'.
10756 (list-dynamic-libraries--loaded-only-p): New variable.
10757 (list-dynamic-libraries--refresh): New function.
10758 (list-dynamic-libraries): New command.
10759
4c44026c
CY
107602011-05-09 Chong Yidong <cyd@stupidchicken.com>
10761
488086f4
SM
10762 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10763 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10764 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10765 higher priority to avoid clobbering by gnu.
10766
027f966d
CY
107672011-05-08 Chong Yidong <cyd@stupidchicken.com>
10768
10769 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10770 if the face has existing theme settings (Bug#8454).
10771
085f5d7d
CY
107722011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10773
488086f4
SM
10774 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10775 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10776
2a86a00c
RS
10777 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10778 special file names `.' and `..' (Bug#8259).
10779
d9c54a06
CY
107802011-05-08 Chong Yidong <cyd@stupidchicken.com>
10781
488086f4
SM
10782 * progmodes/grep.el (grep-mode-font-lock-keywords):
10783 Remove buffer-changing entries.
d9c54a06
CY
10784 (grep-filter): New function.
10785 (grep-mode): Add it to compilation-filter-hook.
10786
10787 * progmodes/compile.el (compilation-filter-hook)
10788 (compilation-filter-start): New defvars.
10789 (compilation-filter): Call compilation-filter-hook prior to
10790 updating the process mark.
10791
c4662635
SM
107922011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10795
b0512a1d
EZ
107962011-05-07 Eli Zaretskii <eliz@gnu.org>
10797
605c9376
EZ
10798 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10799 mailclient-send-it even if window-system is nil. (Bug#8595)
10800
c4662635
SM
10801 * term/w32console.el (terminal-init-w32console):
10802 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10803 background-mode. (Bug#8597)
10804
d1dc2cc2
SM
108052011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10806
10807 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10808 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10809 New functions.
10810 (defgeneric, eieio--defmethod): Use them.
10811 (eieio-defgeneric): Remove.
10812 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10813
915d1300
GM
108142011-05-07 Glenn Morris <rgm@gnu.org>
10815
a3961c3e
GM
10816 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10817 Use let rather than let*.
10818 (timeclock-find-discrep): Remove unused local.
10819
314347b9
GM
10820 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10821
915d1300
GM
10822 * calendar/appt.el (appt-time-msg-list): Doc fix.
10823
275b59b0
NF
108242011-05-06 Noah Friedman <friedman@splode.com>
10825
10826 * apropos.el (apropos-print-doc): Only use
10827 emacs-lisp-docstring-fill-column when it is bound to an integer,
10828 per that variable's documentation.
10829
6c19f744
SM
108302011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10833 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10834
60f884b2
GM
108352011-05-06 Glenn Morris <rgm@gnu.org>
10836
5006e634
GM
10837 * calendar/appt.el (appt-message-warning-time): Doc fix.
10838 (appt-warning-time-regexp): New option.
10839 (appt-make-list): Respect appt-message-warning-time.
10840
548d0a63
GM
10841 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10842 New options.
10843 (diary-add-to-list): Strip comments from the displayed string.
10844 (diary-mode): Set comment-start and comment-end.
10845
60f884b2
GM
10846 * vc/diff-mode.el (smerge-refine-subst): Declare.
10847 (diff-refine-hunk): Don't require smerge-mode when compiling.
10848
989681bb
JB
108492011-05-06 Juanma Barranquero <lekktu@gmail.com>
10850
10851 * simple.el (list-processes): Return nil as the docstring says.
10852
a6bc05e1
MA
108532011-05-05 Michael Albinus <michael.albinus@gmx.de>
10854
10855 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10856 to "".
10857 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10858 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10859 determining of binary transfer. (Bug#7383)
10860
23c22e9a
MA
108612011-05-05 Michael Albinus <michael.albinus@gmx.de>
10862
c4662635
SM
10863 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10864 Fix port computation bug. (Bug#8618)
23c22e9a 10865
0bff894f
GM
108662011-05-05 Glenn Morris <rgm@gnu.org>
10867
b8296902
GM
10868 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10869
1f522ce8
GM
10870 * simple.el (shell-dynamic-complete-functions)
10871 (comint-dynamic-complete-functions): Declare.
10872
cf5bee67
GM
10873 * net/network-stream.el (gnutls-negotiate):
10874 * simple.el (tabulated-list-print): Fix declarations.
10875
10876 * progmodes/gud.el (syntax-symbol, syntax-point):
10877 Remove unnecessary and incorrect declarations.
10878
0bff894f
GM
10879 * emacs-lisp/check-declare.el (check-declare-scan):
10880 Handle byte-compile-initial-macro-environment in bytecomp.el
10881
9869b3ae
SM
108822011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 Fix earlier half-done eieio-defmethod change (bug#8338).
10885 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10886 Streamline and change calling convention.
10887 (defmethod): Adjust accordingly and simplify.
10888 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10889 new eieio--defmethod.
10890 (slot-boundp): Minor CSE simplification.
10891
9c1d5ac5
MZ
108922011-05-05 Milan Zamazal <pdm@zamazal.org>
10893
10894 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10895 (glasses-make-readable): Use glasses-separate-capital-groups.
10896
455c834e
JB
108972011-05-05 Juanma Barranquero <lekktu@gmail.com>
10898
10899 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10900 (warning-series): Doc fix.
10901 (display-warning): Don't try to create the buffer if we just found it.
10902
9ed7c8cb
CY
109032011-05-04 Chong Yidong <cyd@stupidchicken.com>
10904
10905 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10906 (autoload-find-generated-file): New function.
10907 (generate-file-autoloads): Bind generated-autoload-file to
10908 buffer-file-name.
9869b3ae
SM
10909 (update-file-autoloads, update-directory-autoloads):
10910 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10911 output file (Bug#7989).
10912 (batch-update-autoloads): Doc fix.
10913
0898ca10
JB
109142011-05-04 Juanma Barranquero <lekktu@gmail.com>
10915
10916 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10917
31dfb76c
GM
109182011-05-04 Glenn Morris <rgm@gnu.org>
10919
f330b642
GM
10920 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10921 function, so it follows changes in calendar-date-style.
10922 (diary-fancy-date-matcher): New function.
10923 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10924 (diary-fancy-font-lock-fontify-region-function):
10925 Use diary-fancy-date-pattern as a function.
10926
31dfb76c
GM
10927 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10928 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10929
48e79d6a
TZ
109302011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10931
10932 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10933 instead of positional arguments. Allow :keylist and :crlfiles
10934 arguments.
10935 (open-gnutls-stream): Call it.
10936
10937 * net/network-stream.el (network-stream-open-starttls): Adjust to
10938 call `gnutls-negotiate' with :process and :hostname arguments.
10939
dd5a5ee0
SM
109402011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10941
ef80fc09
SM
10942 * minibuffer.el (completion--message): New function.
10943 (completion--do-completion, minibuffer-complete)
10944 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10945 (completion--do-completion): Don't ignore completion-auto-help when in
10946 icomplete-mode.
10947
dd5a5ee0
SM
10948 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10949 internal encoding (e.g. tibetan zero is not whitespace).
10950 (global-whitespace-mode): Prefer save-current-buffer.
10951 (whitespace-trailing-regexp): Remove useless save-match-data.
10952 (whitespace-empty-at-bob-regexp): Minor simplification.
10953
b7d22a83
CY
109542011-05-03 Chong Yidong <cyd@stupidchicken.com>
10955
10956 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10957
5192af46
AM
109582011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10959
10960 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10961 Use `concat' to create string for insertion.
5192af46 10962
5767d190
SM
109632011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10966 Avoid open-line which runs post-self-insert-hook.
10967 (bibtex-fill-entry): Remove unused `end' var.
10968
bf242939
AM
109692011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10970
5767d190
SM
10971 * textmodes/ispell.el (ispell-add-per-file-word-list):
10972 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10973
25666126
LL
109742011-05-03 Leo Liu <sdl.web@gmail.com>
10975
10976 * isearch.el (isearch-yank-pop): New command.
5767d190 10977 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10978 (isearch-forward): Mention it.
10979
52d3c2d0
SM
109802011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10981
1bcace58
SM
10982 * simple.el (minibuffer-complete-shell-command): Remove.
10983 (minibuffer-local-shell-command-map): Use completion-at-point.
10984 (read-shell-command): Setup completion vars here instead.
10985 (read-expression-map): Bind TAB to symbol completion.
10986
52d3c2d0
SM
10987 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10988 error directly rather via storing it into `results'.
10989
35813471
LL
109902011-05-02 Leo Liu <sdl.web@gmail.com>
10991
10992 * vc/diff.el: Fix description.
10993
e793a940
LMI
109942011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10995
10996 * server.el (server-eval-at): New function.
10997
8de66e05
LMI
109982011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10999
11000 * net/network-stream.el (open-network-stream): Take a :nowait
11001 parameter and pass it on to `make-network-process'.
11002 (network-stream-open-plain): Ditto.
11003
dcb79f20
AS
110042011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11005
11006 * faces.el (face-spec-set-match-display): Don't match toolkit
11007 options on terminal frames.
11008
14a7fbd8
SM
110092011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11010
7eabc1be
SM
11011 * progmodes/pascal.el: Use lexical binding.
11012 (pascal-mode-map): Remove author preferences.
11013
14a7fbd8
SM
11014 * pcomplete.el (pcomplete-std-complete): Don't abuse
11015 completion-at-point.
11016
50f84510
JB
110172011-04-28 Juanma Barranquero <lekktu@gmail.com>
11018
6e087a44
JB
11019 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11020 removing code that has been dead since 1991 or so.
11021
50f84510
JB
11022 * startup.el (command-line): When warning about "_emacs", use a
11023 delayed warning to allow the user to filter it out.
11024
0ba690bd
DD
110252011-04-28 Deniz Dogan <deniz@dogan.se>
11026
11027 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11028 user has not joined.
11029
08abfaad
SM
110302011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11031
11032 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11033 aren't any completions at point.
11034
638f053a
JB
110352011-04-28 Juanma Barranquero <lekktu@gmail.com>
11036
11037 * subr.el (display-delayed-warnings): New function.
11038 (delayed-warnings-hook): New variable.
11039
8fff8daa
SM
110402011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11041
08abfaad
SM
11042 * minibuffer.el (completion-at-point, completion-help-at-point):
11043 Don't presume that a given completion-at-point-function will always
11044 use the same calling convention.
11045
8fff8daa
SM
11046 * pcomplete.el (pcomplete-completions-at-point):
11047 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11048 pcomplete-seen is non-nil.
11049 (pcomplete-comint-setup): Also recognize the new comint/shell
11050 completion functions.
11051 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11052 pcomplete-seen is non-nil.
11053
841a1577 110542011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11055
841a1577 11056 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11057 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11058 the first character in the entry. This allows for code to add its
211ec907
UJ
11059 own uid to the entry.
11060 (icalendar--convert-float-to-ical): Add export of
11061 `diary-float'-entries save for those with the optional DAY
11062 argument.
11063
2a782793
DC
110642011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11065
11066 * subr.el (shell-quote-argument): Use alternate escaping strategy
11067 when we spot a variable reference in a string.
11068
0438ce91
DC
110692011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11070
11071 * cus-start.el (all): Define customization for debug-on-event.
11072
841a1577 110732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11074
11075 * subr.el (shell-quote-argument): Escape correctly under Windows.
11076
d090ed6c
SM
110772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11078
11079 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11080
bfd31217
MA
110812011-04-25 Michael Albinus <michael.albinus@gmx.de>
11082
d090ed6c
SM
11083 * net/tramp.el (tramp-process-actions): Add POS argument.
11084 Delete region between POS and (pos).
bfd31217 11085
d090ed6c
SM
11086 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11087 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11088 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11089
11090 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11091 position in `tramp-process-actions' call.
11092
11093 * net/trampver.el: Update release number.
11094
e92f3bd3
SM
110952011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11096
850256b5
SM
11097 * custom.el (defcustom): Obey lexical-binding.
11098
e92f3bd3
SM
11099 Fix octave-inf completion problems reported by Alexander Klimov.
11100 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11101 Inherit from octave-mode-syntax-table.
11102 (inferior-octave-mode): Set info-lookup-mode.
11103 (inferior-octave-completion-at-point): New function.
11104 (inferior-octave-complete): Use it and completion-in-region.
11105 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11106 comint-filename-completion.
11107 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11108 symbol elements which shouldn't be word elements.
11109 (octave-font-lock-keywords, octave-beginning-of-defun)
11110 (octave-function-header-regexp): Adjust regexps accordingly.
11111 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11112
cd22b309
JB
111132011-04-25 Juanma Barranquero <lekktu@gmail.com>
11114
11115 * net/gnutls.el (gnutls-errorp): Declare before first use.
11116
8b492194
TZ
111172011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11118
11119 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11120 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11121 default trustfile exists before going to use it. Add missing
5a5fa834 11122 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11123 Reported by Claudio Bley <claudio.bley@gmail.com>.
11124 (open-gnutls-stream): Add usage example.
11125
11126 * net/network-stream.el (network-stream-open-starttls): Give host
11127 parameter to `gnutls-negotiate'.
11128 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11129 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11130
841a1577 111312011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11132
cd22b309
JB
11133 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11134 Use correct match group (bug#8438).
05842630 11135
3ba7869c
CY
111362011-04-24 Chong Yidong <cyd@stupidchicken.com>
11137
512e3ae1
CY
11138 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11139 (package-menu--generate): New arg specifying packages to show.
11140 (package-menu-refresh, package-menu-execute, list-packages):
11141 Callers changed.
11142 (package-show-package-list): New function, replacing deleted
11143 package--list-packages (renamed because it is non-internal).
11144
11145 * finder.el (finder-list-matches): Use package-show-package-list
11146 instead of deleted package--list-packages.
11147
e92f3bd3
SM
11148 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11149 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11150 (vc-annotate-mode-map): Bind it to RET.
11151
7031be6d
UR
111522011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11153
11154 * progmodes/etags.el (next-file): Don't use set-buffer to change
11155 buffers (Bug#8478).
11156
4ef177aa
CY
111572011-04-24 Chong Yidong <cyd@stupidchicken.com>
11158
c8d173eb
CY
11159 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11160
4ef177aa
CY
11161 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11162 (apropos-accumulator): Doc fix.
11163 (apropos-function, apropos-macro, apropos-command)
11164 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11165 (apropos-plist): Add face property.
11166 (apropos-symbols-internal): Fix indentation.
11167 (apropos-print): Simplify help, and recognize apropos-multi-type.
11168 (apropos-print-doc): Use button-type-get to extract the button's
11169 face property. Fill docstring (Bug#8352).
11170
4ffd0d6b 111712011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11172
11173 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11174
c6c32125 11175 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11176 (mpuz-mode-map): Use mapc.
c6c32125
JB
11177 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11178 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11179 Fix typos in docstrings.
11180
58d468b4
JB
11181 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11182 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11183
6470c3c6
JB
11184 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11185
4ffd0d6b 111862011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11187
11188 * minibuffer.el (completion--do-completion): Avoid the "Next char
11189 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11190
3ad8bad0
CY
11191 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11192 mouse-2 into unread-command-events, it is interpreted correctly.
11193
71d73c9c 11194 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11195 (image-toggle-display): Doc fix.
71d73c9c 11196
841a1577 111972011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11198
4ffd0d6b
GM
11199 * textmodes/page.el (what-page): Use line-number-at-pos to
11200 calculate line number (Bug#6825).
6e1dbaa9 11201
c2fb1b60
JB
112022011-04-22 Juanma Barranquero <lekktu@gmail.com>
11203
11204 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11205 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11206 Pass argument NO-DEFAULT to `find-tag-interactive'.
11207
e02f48d7
JB
112082011-04-22 Juanma Barranquero <lekktu@gmail.com>
11209
11210 Lexical-binding cleanup.
11211
11212 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11213 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11214 * progmodes/ada-prj.el (ada-prj-initialize-values)
11215 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11216 (ada-prj-show-value):
11217 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11218 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11219 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11220 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11221 * progmodes/bug-reference.el (bug-reference-push-button):
11222 * progmodes/fortran.el (fortran-line-length):
11223 * progmodes/glasses.el (glasses-change):
11224 * progmodes/octave-mod.el (octave-fill-paragraph):
11225 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11226 (python-pdbtrack-grub-for-buffer, python-sentinel):
11227 * progmodes/sql.el (sql-save-connection):
11228 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11229 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11230 Mark unused parameters.
11231
11232 * progmodes/compile.el (compilation--flush-directory-cache)
11233 (compilation--flush-parse, compile-internal): Mark unused parameters.
11234 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11235 (compilation-next-error-function): Remove unused variable `timestamp'.
11236
11237 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11238 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11239
11240 * progmodes/dcl-mode.el (dcl-end-of-command):
11241 Remove unused variable `start'.
11242 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11243 (dcl-option-value-basic, dcl-option-value-offset)
11244 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11245 Mark unused parameters.
11246 (dcl-save-local-variable): Remove unused variable `val'.
11247 (mode): Declare.
11248
11249 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11250 Mark unused parameters.
11251 (delphi-ignore-changes): Move before first use.
11252 (delphi-charset-token-at): Remove unused variable `start'.
11253 (delphi-else-start): Remove unused variable `if-count'.
11254 (delphi-comment-block-start, delphi-comment-block-end):
11255 Remove unused variable `kind'.
11256 (delphi-indent-line): Remove unused variable `new-point'.
11257
11258 * progmodes/ebrowse.el (ebrowse-files-list)
11259 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11260 Mark unused parameters. Don't quote `lambda'.
11261 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11262 Don't quote `lambda'.
11263 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11264 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11265 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11266 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11267 Use `ignore-errors'.
11268 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11269 (ebrowse-view/find-file-and-search-pattern)
11270 (ebrowse-view/find-member-declaration/definition):
11271 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11272 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11273 Rename parameter PREFIX-ARG to PREFIX.
11274 (ebrowse-tags-read-name): Remove unused variables `start' and
11275 `member-info'.
11276 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11277 to `tags-file'.
11278
11279 * progmodes/etags.el (local-find-tag-hook): Declare.
11280 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11281 Mark unused parameters.
11282
11283 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11284 (executable-interpret): Mark unused parameter.
11285
11286 * progmodes/flymake.el (flymake-process-sentinel)
11287 (flymake-after-change-function)
11288 (flymake-create-temp-with-folder-structure)
11289 (flymake-get-include-dirs-dot): Mark unused parameters.
11290 (flymake-safe-delete-directory): Remove unused variable `err'.
11291
11292 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11293 (speedbar-timer-fn, speedbar-line-text)
11294 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11295 (speedbar-center-buffer-smartly): Declare functions.
11296 (gdb-find-watch-expression): Remove unused variable `array'.
11297 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11298 (gdb-starting): Mark unused parameters.
11299 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11300 (gdb-table-string): Remove unused variable `res'.
11301 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11302 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11303 (gdb-display-buffer): Remove unused variable `cur-size'.
11304
11305 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11306 allow lexical-binding compilation.
11307 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11308 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11309 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11310 Mark unused parameters.
11311 (gud-gdb-marker-filter): Remove unused variable `match'.
11312 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11313 lambda expressions and funcall them, instead of using `fset'.
11314
11315 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11316 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11317
11318 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11319 variable `header-beg'; use `let'.
11320
11321 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11322 `restart', `last-sexp' and `at-do'.
11323
11324 * progmodes/js.el (js--debug): Mark unused parameter.
11325 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11326 (js--splice-into-items): Remove unused variable `item'.
11327 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11328
11329 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11330 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11331 (makefile-complete): Remove unused variable `try'.
11332 (makefile-fill-paragraph, makefile-match-function-end):
11333 Mark unused parameters.
11334
11335 * progmodes/octave-inf.el (inferior-octave-complete):
11336 Remove unused variable `proc'.
11337 (inferior-octave-output-digest): Mark unused parameter.
11338
11339 * progmodes/perl-mode.el (perl-calculate-indent):
11340 Remove unused variable `err'.
11341
11342 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11343 (prolog-indent-line): Mark unused parameters.
11344 (prolog-indent-line): Remove unused variable `beg'.
11345
11346 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11347 (reporter-dont-compact-list): Declare.
11348
11349 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11350 Remove unused variable `char'.
11351 (sh-debug): Mark unused parameter.
11352 (sh-get-indent-info): Remove unused variable `start'.
11353 (sh-calculate-indent): Remove unused variable `var'.
11354
11355 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11356 (simula-electric-keyword): Remove unused variable `null'.
11357 (simula-search-backward, simula-search-forward): Remove unused
11358 variables `begin' and `end'.
11359
11360 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11361 Remove unused variable `pos'.
11362 (vera-electric-tab, vera-comment-uncomment-region):
11363 Mark unused parameters.
11364 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11365
7ede3b65
CY
113662011-04-22 Chong Yidong <cyd@stupidchicken.com>
11367
11368 * emacs-lisp/package.el (package--builtins, package-alist)
11369 (package-load-descriptor, package-built-in-p, package-activate)
11370 (define-package, package-installed-p)
11371 (package-compute-transaction, package-buffer-info)
11372 (package--push): Doc fix. Distinguish more clearly between
11373 version strings and version lists.
11374
121656e9
JB
113752011-04-21 Juanma Barranquero <lekktu@gmail.com>
11376
11377 Lexical-binding cleanup.
11378
11379 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11380 (5x5-make-mutate-best):
11381 * play/fortune.el (fortune-in-buffer):
11382 * play/gomoku.el (gomoku-init-display):
11383 * play/solitaire.el (solitaire, solitaire-do-check):
11384 * play/tetris.el (tetris-default-update-speed-function):
11385 Mark unused parameters.
11386
11387 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11388 (bubbles--shift): Remove unused variable `char-org'.
11389 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11390 (bubbles--show-images): Remove unused variable `char'.
11391
11392 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11393 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11394 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11395 (decipher-analyze-buffer): Use ?\s.
11396 (decipher-make-checkpoint): Remove unused variable `mapping'.
11397
11398 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11399
11400 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11401 Remove unused variable `result'; use `let'.
11402
11403 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11404 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11405 (gametree-children-shown-p, gametree-compute-reduced-score):
11406 Use `ignore-errors'.
11407
11408 * play/handwrite.el (ps-lpr-switches): Declare.
11409 (handwrite): Remove unused variables `pmin' and `lastp'.
11410
11411 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11412
11413 * play/landmark.el (landmark-init-display)
11414 (landmark-update-naught-weights): Mark unused parameters.
11415 (landmark-y): Remove unused variable `noise'. Simplify.
11416 (landmark-human-plays): Remove unused variable `score'.
11417
11418 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11419 (mpuz-try-proposal): Remove unused variable `game'.
11420
11421 * play/zone.el (life-patterns): Declare.
11422
80f499c7
JB
114232011-04-20 Juanma Barranquero <lekktu@gmail.com>
11424
11425 * vc/vc.el (ediff-vc-internal): Declare function.
11426
024ff170
SM
114272011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11428
c0a193ea
SM
11429 * shell.el: Use lexical-binding and std completion UI.
11430 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11431 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11432 comint-preoutput-filter-functions rather than on
11433 comint-output-filter-functions.
11434 (shell-command-completion, shell--command-completion-data)
11435 (shell-filename-completion, shell-environment-variable-completion)
11436 (shell-c-a-p-replace-by-expanded-directory): New functions.
11437 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11438 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11439 (shell-dynamic-complete-environment-variable): Use them.
11440 (shell-dynamic-complete-as-environment-variable)
11441 (shell-dynamic-complete-as-command): Remove.
11442 (shell-match-partial-variable): Match past point.
11443 * comint.el: Clean up use of completion-at-point-functions.
11444 (comint-completion-at-point): New function.
11445 (comint-mode): Use it completion-at-point-functions.
11446 (comint-dynamic-complete): Make it obsolete.
11447 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11448 (comint-c-a-p-replace-by-expanded-history): New function.
11449 (comint-dynamic-complete-functions)
11450 (comint-replace-by-expanded-history): Use it.
11451 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11452 termination strings. Try harder to avoid second try-completion.
11453 (completion-in-region-mode-map): Disable bindings that don't work yet.
11454
2dbaa080
SM
11455 * comint.el: Use lexical-binding. Require CL.
11456 (comint-dynamic-complete-functions): Use comint-filename-completion.
11457 (comint-completion-addsuffix): Tweak custom type.
11458 (comint-filename-completion, comint--common-suffix)
11459 (comint--common-quoted-suffix, comint--table-subvert)
11460 (comint--complete-file-name-data): New functions.
11461 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11462 (comint-dynamic-list-filename-completions): Use them.
11463 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11464
2dbaa080
SM
11465 * minibuffer.el (completion-in-region-mode):
11466 Keep completion-in-region-mode--predicate global.
11467 (completion-in-region--postch):
11468 Assume completion-in-region-mode--predicate is not null.
11469
c79a6f38
SM
11470 * progmodes/flymake.el (flymake-start-syntax-check-process):
11471 Obey `dir'. Simplify.
11472
024ff170
SM
11473 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11474 we're in VC after all.
11475
1c6c854e
CS
114762011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11477
11478 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11479 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11480 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11481
bed7f140
SM
114822011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11483
332e62ab
SM
11484 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11485 add sanity check.
11486
bed7f140
SM
11487 * obsolete/erc-hecomplete.el: Make obsolete.
11488 * obsolete/: Standardize obsolescence info in the header.
11489
f195c582
GM
114902011-04-20 Glenn Morris <rgm@gnu.org>
11491
11492 * calendar/solar.el (solar-horizontal-coordinates):
11493 Use the longitude argument rather than `calendar-longitude'.
11494 (solar-date-next-longitude): Remove unused locals.
11495
cb79b8c0
VJL
114962011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11497
11498 * whitespace.el: New version 13.2.1.
11499
115002011-04-20 felix <EmacsWiki> (tiny change)
11501
d8e4b68b 11502 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11503 switching between major modes on a file.
11504
602ea69d
SM
115052011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11506
11507 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11508 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11509 multi-line comments as well.
11510
06b60517
JB
115112011-04-19 Juanma Barranquero <lekktu@gmail.com>
11512
11513 Lexical-binding cleanup.
11514
11515 * arc-mode.el (archive-mode-revert):
11516 * cmuscheme.el (scheme-interactively-start-process):
11517 * custom.el (custom-initialize-delay):
11518 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11519 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11520 * emacs-lock.el (emacs-lock-clear-sentinel):
11521 * ezimage.el (defezimage):
11522 * follow.el (follow-avoid-tail-recenter):
11523 * fringe.el (set-fringe-mode-1):
11524 * generic-x.el (bat-generic-mode-compile):
11525 * help-mode.el (help-info-variable, help-do-xref)
11526 (help-mode-revert-buffer):
11527 * help.el (view-emacs-todo):
11528 * iswitchb.el (iswitchb-completion-help):
11529 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11530 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11531 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11532 * locate.el (locate-update):
11533 * longlines.el (longlines-encode-region)
11534 (longlines-after-change-function):
11535 * outline.el (outline-isearch-open-invisible):
11536 * ps-def.el (declare-function, charset-dimension, char-width)
11537 (encode-char):
11538 * ps-mule.el (ps-mule-plot-string):
11539 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11540 (recentf-edit-list-select, recentf-edit-list-validate)
11541 (recentf-open-files-action):
11542 * rect.el (delete-whitespace-rectangle-line)
11543 (rectangle-number-line-callback):
11544 * register.el (window-configuration-to-register)
11545 (frame-configuration-to-register):
11546 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11547 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11548 (xselect-convert-to-targets, xselect-convert-to-delete)
11549 (xselect-convert-to-filename, xselect-convert-to-charpos)
11550 (xselect-convert-to-lineno, xselect-convert-to-colno)
11551 (xselect-convert-to-os, xselect-convert-to-host)
11552 (xselect-convert-to-user, xselect-convert-to-class)
11553 (xselect-convert-to-name, xselect-convert-to-integer)
11554 (xselect-convert-to-atom, xselect-convert-to-identity):
11555 * subr.el (declare, ignore, process-kill-without-query)
11556 (text-clone-maintain):
11557 * terminal.el (te-get-char, te-tic-sentinel):
11558 * tool-bar.el (tool-bar-make-keymap):
11559 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11560 * type-break.el (type-break-mode, type-break-noninteractive-query):
11561 * view.el (View-back-to-mark):
11562 * wid-browse.el (widget-browse-action, widget-browse-widget)
11563 (widget-browse-widgets, widget-browse-sexp):
11564 * widget.el (define-widget-keywords):
11565 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11566 Mark unused parameters.
11567
11568 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11569 (align-areas): Remove unused variable `look'.
11570 (align-region): Remove unused variables `real-end' and `pos-list'.
11571
11572 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11573
11574 * bindings.el (mode-line-modified, mode-line-remote):
11575 Mark unused parameters.
11576 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11577
11578 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11579 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11580
11581 * comint.el (comint-history-isearch-pop-state)
11582 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11583 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11584 (comint-substitute-in-file-name): Doc fix.
11585
11586 * completion.el (cmpl-statistics-block): Mark unused parameter.
11587 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11588 (save-completions-to-file, load-completions-from-file):
11589 Remove unused local variable `e'.
11590
11591 * composite.el (compose-chars): Remove unused variable `len'.
11592 (lgstring-insert-glyph): Remove unused variable `g'.
11593 (compose-glyph-string): Remove unused variables `ascent',
11594 `descent', `lbearing' and `rbearing'.
11595 (compose-glyph-string-relative): Remove unused variables
11596 `lbearing', `rbearing' and `wadjust'.
11597 (compose-gstring-for-graphic): Remove unused variables `header',
11598 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11599 (compose-gstring-for-terminal): Remove unused variables `header'
11600 and `nchars'. Use `let', not `let*'.
11601
11602 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11603 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11604 (Custom-buffer-done, custom-buffer-create-internal)
11605 (custom-browse-visibility-action, custom-browse-group-tag-action)
11606 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11607 (widget-magic-mouse-down-action, custom-toggle-parent)
11608 (custom-add-parent-links, custom-toggle-hide-variable)
11609 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11610 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11611 (custom-face-menu-create, custom-variable-menu-create, get)
11612 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11613 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11614 (customize-apropos): Remove unused variable `tests'.
11615 (custom-group-value-create): Remove unused variable `hidden-p'.
11616 (sort-fold-case): Declare.
11617
11618 * cus-theme.el (custom-reset-standard-faces-list)
11619 (custom-reset-standard-variables-list): Declare.
11620 (customize-create-theme, custom-theme-revert, custom-theme-write)
11621 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11622 Mark unused parameters.
11623
11624 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11625
11626 * delim-col.el (delimit-columns-max): Move defvar before first use.
11627
11628 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11629 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11630
11631 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11632 (auto-insert): Declare.
11633 (desktop-restore-file-buffer): Rename desktop-* parameters;
11634 mark unused ones.
11635 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11636 (desktop-buffer): Rename desktop-* parameters.
11637
11638 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11639 (dframe-reposition-frame-xemacs, dframe-help-echo)
11640 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11641 Mark unused parameters.
11642
11643 * dired-aux.el (backup-extract-version-start, overwrite-query)
11644 (overwrite-backup-query, rename-regexp-query)
11645 (rename-non-directory-query): Declare.
11646 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11647 (dired-add-entry): Remove unused variable `orig-file-name'.
11648 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11649 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11650 `dired-copy-preserve-time' directly.
11651 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11652 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11653
11654 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11655 (dired-virtual-revert, dired-make-relative-symlink):
11656 Mark unused parameters.
11657 (manual-program): Declare.
11658 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11659 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11660 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11661
11662 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11663
11664 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11665
11666 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11667 Declare.
11668
11669 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11670
11671 * electric.el (Electric-command-loop): Rename parameter
11672 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11673
11674 * expand.el (expand-in-literal): Remove unused variable `here'.
11675
11676 * facemenu.el (facemenu-add-new-color):
11677 Remove unused variable `docstring'.
11678
11679 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11680 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11681 (face-attr-construct): Mark unused parameter. Doc fix.
11682 (read-color): Remove unused variable `hex-string'.
11683
11684 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11685 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11686 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11687 (display-buffer-other-frame): Remove unused variable `old-window'.
11688 (kill-buffer-hook): Declare.
11689 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11690 Mark unused parameters.
11691 (after-find-file): Pass 1 to `auto-save-mode', not t.
11692
11693 * files-x.el (auto-insert): Declare.
11694 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11695
11696 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11697 variable `buf'. Mark unused parameter.
06b60517
JB
11698 (find-lisp-insert-directory): Mark unused parameter.
11699
11700 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11701 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11702 (format-common-tail): Remove, unused.
11703 (format-deannotate-region): Remove unused variable `loc'.
11704 (format-annotate-region): Remove unused variable `p'.
11705 (format-annotate-single-property-change): Remove unused variables
11706 `default' and `tail'.
11707
11708 * forms.el (read-file-filter): Declare.
11709 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11710
11711 * frame.el (frame-creation-function-alist): Mark unused parameter.
11712 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11713
11714 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11715 Remove unused parameters.
11716 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11717 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11718
11719 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11720 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11721 (hfy-prepare-tag-map): Mark unused parameters.
11722 (htmlfontify-buffer): Use `called-interactively-p'.
11723
11724 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11725 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11726 (ibuffer-do-occur): Mark unused parameters.
11727 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11728 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11729
11730 * ibuffer.el: Don't quote `lambda'.
11731 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11732 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11733 Mark unused parameters.
11734
11735 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11736 (ido-completing-read): Mark unused parameters.
11737 (ido-copy-current-word): Mark unused parameters;
11738 remove unused variable `name'.
11739 (ido-sort-merged-list): Remove unused parameter `dirs'.
11740
11741 * ielm.el (ielm-input-sender): Mark unused parameter.
11742 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11743 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11744 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11745 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11746 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11747
11748 * image-dired.el (image-dired-display-thumbs): Remove unused
11749 variables `curr-file' and `count'.
11750 (image-dired-remove-tag): Remove unused variable `start'.
11751 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11752 variable `curr-file'
11753 (image-dired-rotate-original): Remove unused variable `temp-file'.
11754 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11755 Remove unused variable `file'.
11756 (image-dired-gallery-generate): Remove unused variable `curr'.
11757 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11758
11759 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11760
11761 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11762
11763 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11764
11765 * isearch.el (minibuffer-history-symbol): Declare.
11766 (isearch-edit-string): Remove unused variable `err'.
11767 (isearch-message-prefix, isearch-message-suffix):
11768 Mark unused parameters.
11769
11770 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11771
11772 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11773
11774 * makesum.el (double-column): Remove unused variable `cnt'.
11775
11776 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11777 (ido-ignore-item-temp-list): Declare.
11778
11779 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11780 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11781 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11782 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11783 `mouse-col-delta'.
11784
11785 * mouse-sel.el (mouse-extend-internal):
11786 Remove unused variable `orig-window-frame'.
11787
11788 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11789 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11790 Move declarations before first use.
11791 (pcomplete-opt): Mark unused parameters; doc fix.
11792
11793 * proced.el (proced-revert): Mark unused parameter.
11794 (proced-send-signal): Remove unused variable `err'.
11795
11796 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11797 Rename parameter PREFIX-ARG to ARG.
11798 (ps-basic-plot-string, ps-basic-plot-whitespace):
11799 Mark unused parameters.
11800
11801 * replace.el (replace-count): Define.
11802 (occur-revert-function): Mark unused parameters.
11803 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11804 (isearch-case-fold-search, isearch-string): Declare.
11805 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11806 bind `case-fold-search'. Remove unused variables `beg' and `end',
11807 and simplify.
11808 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11809 COUNT and bind `replace-count'.
11810 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11811 to COUNT.
11812
11813 * savehist.el (print-readably, print-string-length): Declare.
11814
11815 * shadowfile.el (shadow-expand-cluster-in-file-name):
11816 Remove unused variable `cluster'.
11817 (shadow-copy-file): Remove unused variable `i'.
11818 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11819 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11820 (shadow-define-literal-group, shadow-define-regexp-group)
11821 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11822
11823 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11824 (shell): Use `called-interactively-p'.
11825 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11826
11827 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11828 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11829 (delete-backward-char): Remove unused variable `ocol'.
11830 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11831 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11832 (event-apply-hyper-modifier, event-apply-shift-modifier)
11833 (event-apply-control-modifier, event-apply-meta-modifier):
11834 Mark unused parameters.
11835 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11836 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11837
11838 * speedbar.el (speedbar-ignored-directory-expressions)
11839 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11840 (speedbar-find-file, speedbar-dir-follow)
11841 (speedbar-directory-buttons-follow, speedbar-tag-find)
11842 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11843 (speedbar-buffers-line-directory, speedbar-buffer-click):
11844 Mark unused parameters.
11845 (speedbar-tag-file): Remove unused variable `mode'.
11846 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11847
11848 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11849
11850 * talk.el (talk): Remove unused variable `display'.
11851
11852 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11853 (tar-write-region-annotate): Mark unused parameter.
11854
11855 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11856 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11857 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11858 warning by another.
11859
11860 * time-stamp.el (time-stamp-string-preprocess):
11861 Remove unused variable `require-padding'.
11862
11863 * tree-widget.el (widget-glyph-enable): Declare.
11864 (tree-widget-action): Mark unused parameter.
11865
11866 * w32-fns.el (x-get-selection): Mark unused parameter.
11867 (autoload-make-program, generated-autoload-file): Declare.
11868
11869 * wdired.el (wdired-revert): Mark unused parameters.
11870 (wdired-xcase-word): Remove unused variable `err'.
11871
11872 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11873 (whitespace-help-scroll): Remove unused variable `data-help'.
11874
11875 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11876 (widget-image-insert, widget-after-change, default)
11877 (widget-default-format-handler, widget-default-notify)
11878 (widget-default-prompt-value, widget-info-link-action)
11879 (widget-url-link-action, widget-function-link-action)
11880 (widget-variable-link-action, widget-file-link-action)
11881 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11882 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11883 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11884 (widget-insert-button-action, widget-delete-button-action, visibility)
11885 (widget-documentation-link-action, widget-documentation-string-action)
11886 (widget-const-prompt-value, widget-regexp-match, symbol)
11887 (widget-coding-system-prompt-value)
11888 (widget-key-sequence-value-to-external, sexp)
11889 (widget-sexp-value-to-internal, character, vector, cons)
11890 (widget-choice-prompt-value, widget-boolean-prompt-value)
11891 (widget-color--choose-action): Mark unused parameters.
11892 (widget-item-match-inline, widget-choice-match-inline)
11893 (widget-checklist-match, widget-checklist-match-inline)
11894 (widget-group-match): Rename parameter VALUES to VALS.
11895 (widget-field-value-set): Remove unused variable `size'.
11896 (widget-color-action): Remove unused variables `value' and `start'.
11897
11898 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11899 variable `dir'. Doc fix.
06b60517
JB
11900 (windmove-find-other-window): Don't pass it.
11901
11902 * window.el (count-windows): Mark unused parameter.
11903 (bw-adjust-window): Remove unused variable `err'.
11904
11905 * woman.el (woman-file-name): Remove unused variable `default'.
11906 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11907 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11908 (global-font-lock-mode): Declare.
11909 (woman-decode-region): Mark unused parameter.
11910 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11911
11912 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11913 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11914 (x-dnd-handle-moz-url): Remove unused variable `title'.
11915 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11916
11917 * xml.el (xml-parse-tag, xml-parse-attlist):
11918 Remove unused variable `pos'.
11919
bc4f7f3d
GM
119202011-04-19 Glenn Morris <rgm@gnu.org>
11921
11922 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11923 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11924 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11925 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11926 * calendar/cal-html.el (cal-html-insert-minical):
11927 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11928 (calendar-mark-date-pattern):
11929 Prefix "unused" locals.
11930
11931 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11932 optional argument `style'.
11933
11934 * calendar/appt.el (appt-make-list):
11935 * calendar/cal-china.el (calendar-chinese-date-string):
11936 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11937 (diary-hebrew-yahrzeit):
11938 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11939 * calendar/calendar.el (calendar-generate-window):
11940 * calendar/time-date.el (time-to-days):
11941 Remove unused local variables.
11942
16a43933
CY
119432011-04-18 Chong Yidong <cyd@stupidchicken.com>
11944
11945 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11946 glyphless-char-display table.
11947 (tabulated-list-glyphless-char-display): New var.
11948
7eed1860
SS
119492011-04-18 Sam Steingold <sds@gnu.org>
11950
11951 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11952 to acknowledgments.
11953
4d2d1ccd
GM
119542011-04-17 Glenn Morris <rgm@gnu.org>
11955
11956 * calendar/diary-lib.el (diary-sexp-entry):
11957 * calendar/holidays.el (holiday-sexp):
11958 Set debug-on-error rather than the removed stack-trace-on-error.
11959
239da61d
GM
119602011-04-16 Glenn Morris <rgm@gnu.org>
11961
11962 * progmodes/f90.el: Use lexical-binding.
11963 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11964
8b05752a
SM
119652011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11966
daca8ba5
SM
11967 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11968 (mail-mode): Setup mailalias completion here instead.
11969 * mail/mailalias.el: Use lexical-binding.
11970 (pattern, mailalias-done): Declare dynamic.
11971 (mail-completion-at-point-function): New function, from mail-complete.
11972 (mail-complete): Use it.
11973 (mail-completion-expand): New function.
11974 (mail-get-names): Use it.
11975 (mail-directory, mail-directory-process, mail-directory-stream):
11976 Don't use `pattern' for lexically bound arg.
11977
6f542485
SM
11978 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11979
037e7c3f
SM
11980 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11981 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11982 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11983
8b05752a
SM
11984 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11985 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11986 (byte-interactive-p): Define them again, for use when inlining
11987 old code.
11988
49093f60
JB
119892011-04-15 Juanma Barranquero <lekktu@gmail.com>
11990
11991 * loadup.el: Use `string-to-number', not `string-to-int'.
11992
b5b8e7de
SM
119932011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11994
11995 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11996 gud-gdb-complete-command.
11997 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11998 (gud-gdb-completion-at-point): New function.
11999 (gud-gdb-completions): Remove.
12000
f42efeb5
MA
120012011-04-14 Michael Albinus <michael.albinus@gmx.de>
12002
49093f60
JB
12003 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12004 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12005 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12006 whether `executable-find' is bound.
f42efeb5
MA
12007
12008 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12009
e240cc21
SM
120102011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * minibuffer.el (completion-in-region-mode-predicate)
12013 (completion-in-region-mode--predicate): New vars.
12014 (completion-in-region, completion-in-region--postch)
12015 (completion-in-region-mode): Use them.
12016 (completion--capf-wrapper): Also return the hook function.
12017 (completion-at-point, completion-help-at-point):
12018 Adjust and provide a predicate.
c2bd2ab0
SM
12019
12020 Preserve arg names for advice of subr and lexical functions (bug#8457).
12021 * help-fns.el (help-function-arglist): Consolidate the subr and
12022 new-byte-code cases. Add argument `preserve-names' to extract names
12023 from the docstring when needed.
12024 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12025 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12026 (ad-arglist): Use help-function-arglist's new arg.
12027 (ad-definition-type): Use cond.
12028
c183f693
JB
120292011-04-13 Juanma Barranquero <lekktu@gmail.com>
12030
06641a47
JB
12031 * autorevert.el (auto-revert-handler):
12032 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12033 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12034 Don't quote lambda.
12035
c183f693
JB
12036 * image-mode.el (image-transform-set-scale):
12037 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12038
1e3b6001
G
120392011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12040
12041 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12042 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12043 Upgrades via gnutls-cli are too slow to be done opportunistically.
12044
2d6af8dd
JB
120452011-04-12 Juanma Barranquero <lekktu@gmail.com>
12046
12047 * dframe.el (dframe-current-frame): Remove spurious quote.
12048
c0749a51
GM
120492011-04-12 Glenn Morris <rgm@gnu.org>
12050
088d0d61
GM
12051 * calendar/cal-tex.el (cal-tex-end-document):
12052 Try to automatically use latin1 input if needed.
12053
c0749a51
GM
12054 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12055 Don't try to cons a mark onto an empty element.
12056
5c90fde0
LL
120572011-04-11 Leo Liu <sdl.web@gmail.com>
12058
12059 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12060 buffers.
12061 (ido-kill-buffer-at-head): Support killing virtual buffers.
12062
369e974d
CY
120632011-04-10 Chong Yidong <cyd@stupidchicken.com>
12064
12065 * minibuffer.el (completion-show-inline-help): New var.
12066 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12067 (minibuffer-force-complete, minibuffer-complete-word):
12068 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12069
12070 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12071 to avoid interference from inline help (Bug#5849).
12072
37f1c930
LL
120732011-04-10 Leo Liu <sdl.web@gmail.com>
12074
099c39a4
JB
12075 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12076 Fix typo.
37f1c930 12077
a32d4040
CY
120782011-04-09 Chong Yidong <cyd@stupidchicken.com>
12079
12080 * image-mode.el (image-toggle-display-image): Signal an error if
12081 not in Image mode.
12082 (image-transform-mode, image-transform-resize)
12083 (image-transform-set-rotation): Doc fix.
daca8ba5 12084 (image-transform-set-resize): Delete.
a32d4040
CY
12085 (image-transform-set-scale, image-transform-fit-to-height)
12086 (image-transform-fit-to-width): Handle image-toggle-display-image
12087 and image-transform-resize directly.
12088
099c39a4 120892011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12090
12091 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12092 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12093 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12094 (doc-view-mode-map): Add bindings for the new functions.
12095
099c39a4 120962011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12097
4d61f28d 12098 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12099 Fix typo in docstring.
12100
3726838a
EZ
121012011-04-08 Eli Zaretskii <eliz@gnu.org>
12102
04f33f1e
EZ
12103 * files.el (file-size-human-readable): Produce one digit after
12104 decimal, like "ls -lh" does.
12105
12106 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12107 the file size representation.
12108
3726838a
EZ
12109 * simple.el (list-processes): If async subprocesses are not
12110 available, error out with a clear error message.
12111
cbb59342
CY
121122011-04-08 Chong Yidong <cyd@stupidchicken.com>
12113
12114 * help.el (help-form-show): New function, to be called from C.
12115 Put help-form output in a buffer named differently than *Help*.
12116
e3971c44
EZ
121172011-04-08 Eli Zaretskii <eliz@gnu.org>
12118
12119 * files.el (file-size-human-readable): New function.
12120
12121 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12122 computing the representation inline. Don't require `cl'.
12123
12544bbe
GM
121242011-04-08 Glenn Morris <rgm@gnu.org>
12125
a1de6c6a
GM
12126 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12127
3c4671f4
GM
12128 * net/browse-url.el (browse-url-firefox):
12129 Test system-type, not system-configuration.
12130
b605679c
GM
12131 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12132 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12133 Use log-edit-empty-buffer-p. (Bug#7598)
12134
56442f0c
GM
12135 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12136 (rlogin-mode-map): Initialize in the defvar.
12137 (rlogin): Use ignore-errors.
12138
12544bbe
GM
12139 * replace.el (occur-mode-map): Some fixes for menu items.
12140
eb237b0f
AH
121412011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12142
12143 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12144
7d668f2c
CY
121452011-04-06 Chong Yidong <cyd@stupidchicken.com>
12146
e67a13ab
CY
12147 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12148 issuing unused warnings.
12149
12150 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12151 macro directly.
12152
7d668f2c
CY
12153 * simple.el: Lisp reimplement of list-processes. Based on an
12154 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12155 (process-menu-mode): New major mode.
12156 (list-processes--refresh, list-processes):
12157 (process-menu-visit-buffer): New functions.
12158
12159 * files.el (save-buffers-kill-emacs): Don't assume any return
12160 value of list-processes, which is undocumented anyway.
12161
a83ec3c9
CY
121622011-04-06 Chong Yidong <cyd@stupidchicken.com>
12163
12164 * emacs-lisp/tabulated-list.el: New file.
12165
e91a96fe
CY
12166 * emacs-lisp/package.el: Use Tabulated List mode.
12167 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12168 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12169 table format using Tabulated List mode variables.
12170 (package--push): New macro, replacing package-list-maybe-add.
12171 (package-menu--generate): Use package--push. Renamed from
12172 package--generate-package-list.
12173 (package-menu-refresh, list-packages): Use it.
daca8ba5 12174 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12175 Return insertion data instead of inserting it directly.
099c39a4
JB
12176 (package-menu-describe-package, package-menu-execute):
12177 Use tabulated-list-get-id.
e91a96fe
CY
12178 (package-menu-mark-delete, package-menu-mark-install)
12179 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12180 (package-menu-mark-obsolete-for-deletion):
12181 Use tabulated-list-put-tag.
e91a96fe
CY
12182 (package--list-packages, package-menu-revert)
12183 (package-menu-get-package, package-menu-get-version)
12184 (package-menu-sort-by-column): Functions deleted.
12185 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12186 (package-menu--status-predicate, package-menu--version-predicate)
12187 (package-menu--name-predicate)
12188 (package-menu--description-predicate): Handle arguments in the
12189 Tabulated List format.
12190 (package-list-packages-no-fetch): Call list-packages.
12191
3e214b50
JB
121922011-04-06 Juanma Barranquero <lekktu@gmail.com>
12193
12194 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12195 (after-find-file): Don't bind it.
3e214b50
JB
12196 (revert-buffer-in-progress-p): New variable.
12197 (revert-buffer): Bind it.
12198 Pass nil for `after-find-file-from-revert-buffer'.
12199
12200 * saveplace.el (save-place-find-file-hook): Use new variable
12201 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12202
3f0f1700
GM
122032011-04-06 Glenn Morris <rgm@gnu.org>
12204
c0274801
GM
12205 * Makefile.in (AUTOGEN_VCS): New variable.
12206 (autoloads): Use $AUTOGEN_VCS.
12207
3f0f1700
GM
12208 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12209 * calendar/calendar.el (calendar-mode-map):
12210 Check for toolkit scroll bars. (Bug#8305)
12211
41ea9e48
CY
122122011-04-05 Chong Yidong <cyd@stupidchicken.com>
12213
12214 * minibuffer.el (completion-in-region--postch)
12215 (completion-in-region-mode): Remove unnecessary messages.
12216
6194c800
JB
122172011-04-05 Juanma Barranquero <lekktu@gmail.com>
12218
33256f14
JB
12219 * font-lock.el (font-lock-refresh-defaults):
12220 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12221 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12222
6194c800
JB
12223 * info.el (Info-directory-list, Info-read-node-name-2)
12224 (Info-split-parameter-string): Doc fixes.
12225 (Info-virtual-nodes): Reflow docstring.
12226 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12227 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12228 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12229 Fix typos in docstrings.
12230 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12231 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12232 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12233 (Info-restore-desktop-buffer): Mark unused parameters.
12234 (Info-directory-find-file, Info-directory-find-node)
12235 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12236 (Info-virtual-index-find-node, Info-apropos-find-file)
12237 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12238 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12239 (Info-virtual-index): Remove unused local variable `nodename'.
12240
b87a8200 122412011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12242
b87a8200
DD
12243 * net/rcirc.el: Update my e-mail address.
12244 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12245
3b2ff876
CY
122462011-04-05 Chong Yidong <cyd@stupidchicken.com>
12247
12248 * startup.el (command-line): Save the cursor's theme-face
12249 directly, instead of using face-override-spec.
12250
12251 * custom.el (load-theme): Minor optimization in assigning faces.
12252
8d17e7ca
JB
122532011-04-04 Juanma Barranquero <lekktu@gmail.com>
12254
12255 * help-fns.el (describe-variable): Complete all variables having
12256 documentation, including keywords.
12257 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12258
2fbc1934
JB
122592011-04-04 Juanma Barranquero <lekktu@gmail.com>
12260
12261 Convert to lexical-binding.
12262
12263 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12264 (bs--get-marked-string, bs--get-modified-string)
12265 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12266 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12267 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12268
12269 * ehelp.el (electric-help-execute-extended)
12270 (electric-help-ctrl-x-prefix):
12271 * hexl.el (hexl-revert-buffer-function):
12272 * linum.el (linum-after-change, linum-after-scroll):
12273 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12274
12275 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12276
74f50695
DU
122772011-04-04 Daiki Ueno <ueno@unixuser.org>
12278
12279 * epa-dired.el:
12280 * epa-mail.el:
12281 * epa-hook.el:
12282 * epa-file.el:
12283 * epa.el:
12284 * epg.el: Use lexical binding.
12285
c11325f7
CY
122862011-04-03 Chong Yidong <cyd@stupidchicken.com>
12287
0d9e9a12
CY
12288 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12289
c11325f7 12290 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12291 dictionary case for flyspell-mark-duplications-exceptions.
12292 Use regexp matching for languages.
c11325f7
CY
12293 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12294 default dictionary (Bug#7926).
12295
da91b5f2
CY
122962011-04-02 Chong Yidong <cyd@stupidchicken.com>
12297
099c39a4
JB
12298 * emacs-lisp/package.el (package--with-work-buffer):
12299 Recognize https URLs.
da91b5f2 12300
099c39a4
JB
12301 * net/network-stream.el: Move from gnus/proto-stream.el.
12302 Change prefix to network-stream throughout.
da91b5f2
CY
12303 (open-protocol-stream): Merge into open-network-stream, leaving
12304 open-protocol-stream as an alias. Handle nil BUFFER args.
12305
12306 * subr.el (open-network-stream): Move to net/network-stream.el.
12307
afa8e9f6
GM
123082011-04-02 Glenn Morris <rgm@gnu.org>
12309
1d2e369d
GM
12310 * find-dired.el (find-exec-terminator): New option.
12311 (find-ls-option): Test for -ls support.
12312 (find-ls-subdir-switches): Test for -b in find-ls-option.
12313 (find-dired, find-grep-dired): Doc fixes.
12314 (find-dired): Use find-exec-terminator.
12315
8abb7da8 12316 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12317 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12318 (find-name-arg): Remove purecopy.
8abb7da8 12319
f3ca7378
GM
12320 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12321 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12322 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12323 accordingly. Don't add the null-device if not needed.
12324
afa8e9f6
GM
12325 * files.el (save-some-buffers): Doc fix.
12326
35eae264
EZ
123272011-04-02 Eli Zaretskii <eliz@gnu.org>
12328
12329 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12330
26b51db5
JB
123312011-04-01 Juanma Barranquero <lekktu@gmail.com>
12332
12333 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12334 Use `dolist' rather than `mapcar'.
12335
7200d79c
SM
123362011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12337
03408648 12338 Add lexical binding.
7200d79c 12339
03408648
SM
12340 * subr.el (apply-partially): Use new closures rather than CL.
12341 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12342 (dolist, dotimes): Use slightly different expansion for lexical code.
12343 (functionp): Move to C.
12344 (letrec): New macro.
12345 (with-wrapper-hook): Use it and apply-partially instead of CL.
12346 (eval-after-load): Preserve lexical-binding.
12347 (save-window-excursion, with-output-to-temp-buffer): Turn them
12348 into macros.
7200d79c 12349
03408648
SM
12350 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12351
12352 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12353 than the arglist.
12354 (help-add-fundoc-usage): Don't add `Not documented'.
12355 (help-function-arglist): Handle closures, subroutines, and new
12356 byte-code-functions.
12357 (help-make-usage): Remove leading underscores.
12358 (describe-function-1): Handle closures.
12359 (describe-variable): Use special-variable-p for completion.
12360
12361 * files.el (lexical-binding): Declare safe.
f488fb65 12362
03408648
SM
12363 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12364 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12365 (pcase): Add `let' pattern.
12366 Change memoization so it actually works.
12367 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12368 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12369 <let>: New case.
f488fb65 12370
03408648
SM
12371 * emacs-lisp/macroexp.el: Use lexical binding.
12372 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12373 Don't convert ' to #' without checking that it's indeed quoting
12374 a lambda.
12375
12376 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12377 Use eval-sexp-add-defvars.
03408648
SM
12378 (eval-sexp-add-defvars): New fun.
12379
12380 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12381
12382 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12383 Don't autoload.
12384 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12385 than the internal `byte-compile-lambda'.
12386 (defmethod): Don't hide code under quotes.
12387 (eieio-defmethod): New `code' argument.
12388
12389 * emacs-lisp/eieio-comp.el: Remove.
12390
12391 * emacs-lisp/edebug.el (edebug-eval-defun)
12392 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12393 (edebug-toggle): Avoid `eval'.
12394
12395 * emacs-lisp/disass.el (disassemble-internal): Handle new
12396 `closure' objects.
12397 (disassemble-1): Handle new byte codes.
12398
12399 * emacs-lisp/cl.el (pushnew): Silence warning.
12400
12401 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12402 (cl-byte-compile-throw): Remove.
12403 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12404
12405 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12406 closures.
12407
12408 * emacs-lisp/cconv.el: New file.
12409
12410 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12411 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12412 (byte-compile-initial-macro-environment):
12413 Handle declare-function here.
12414 (byte-compile--lexical-environment): New var.
12415 (byte-stack-ref, byte-stack-set, byte-discardN)
12416 (byte-discardN-preserve-tos): New lap codes.
12417 (byte-interactive-p): Don't use any more.
12418 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12419 New macros.
12420 (byte-compile-lapcode): Use them and handle new lap codes.
12421 (byte-compile-obsolete): Remove.
12422 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12423 (byte-compile-arglist-warn): Check late def of inlinable funs.
12424 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12425 since they should have been expanded by now.
12426 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12427 (byte-compile-from-buffer): Remove unused second arg.
12428 (byte-compile-preprocess): New function.
12429 (byte-compile-toplevel-file-form): New function to distinguish
12430 file-form calls from outside from file-form calls from hunk-handlers.
12431 (byte-compile-file-form): Simplify.
12432 (byte-compile-file-form-defsubst): Remove.
12433 (byte-compile-file-form-defmumble): Simplify now that
12434 byte-compile-lambda always returns a byte-code-function.
12435 (byte-compile): Preprocess.
12436 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12437 Remove, not used any more.
12438 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12439 (byte-compile-make-args-desc): New funs.
12440 (byte-compile-lambda): Handle lexical functions. Always return
12441 a byte-code-function.
12442 (byte-compile-reserved-constants): New var, to make up room for
12443 closed-over variables.
12444 (byte-compile-constants-vector): Obey it.
12445 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12446 (byte-compile-macroexpand-declare-function): New function.
12447 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12448 byte-code-functions.
12449 (byte-compile-form): Check obsolescence here.
12450 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12451 (byte-compile-variable-ref): Remove.
12452 (byte-compile-dynamic-variable-op): New fun.
12453 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12454 (byte-compile-variable-set): New funs.
12455 (byte-compile-discard): Add 2 args.
12456 (byte-compile-stack-ref, byte-compile-stack-set)
12457 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12458 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12459 macroexpand-all instead.
12460 (byte-compile-quote-form): Remove.
12461 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12462 (byte-compile-bind, byte-compile-unbind): New funs.
12463 (byte-compile-let): Handle let* and lexical binding.
12464 (byte-compile-let*): Remove.
12465 (byte-compile-catch, byte-compile-unwind-protect)
12466 (byte-compile-track-mouse, byte-compile-condition-case):
12467 Handle a new :fun-body form, used for lexical scoping.
12468 (byte-compile-save-window-excursion)
12469 (byte-compile-with-output-to-temp-buffer): Remove.
12470 (byte-compile-defun): Simplify.
12471 (byte-compile-stack-adjustment): New fun.
12472 (byte-compile-out): Use it.
12473 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12474
12475 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12476 handler any more.
12477
12478 * emacs-lisp/byte-opt.el: Use lexical binding.
12479 (byte-inline-lapcode): Remove (to bytecomp).
12480 (byte-compile-inline-expand): Pay attention to inlining to/from
12481 lexically bound code.
12482 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12483 any more.
12484 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12485 any more and don't call compiler-macros.
12486 (byte-compile-splice-in-already-compiled-code): Remove.
12487 (byte-code): Don't inline any more.
12488 (disassemble-offset): Receive `bytes' as argument rather than via
12489 dynamic scoping.
12490 (byte-compile-tag-number): Declare before first use.
12491 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12492 `return' even if make-spliceable.
12493 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12494 obsolete interactive-p.
12495 (byte-optimize-lapcode): Optimize new lap-codes.
12496 Don't trip up on new form of `byte-constant' lap code.
12497
12498 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12499
12500 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12501
12502 * custom.el (custom-initialize-default, custom-declare-variable):
12503 Use `defvar'.
12504
12505 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12506 New variables.
12507 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12508 (COMPILE_FIRST): Add macroexp and cconv.
12509 * makefile.w32-in: Mirror changes in Makefile.in.
12510
12511 * vc/cvs-status.el:
12512 * vc/diff-mode.el:
12513 * vc/log-edit.el:
12514 * vc/log-view.el:
12515 * vc/smerge-mode.el:
12516 * textmodes/bibtex-style.el:
12517 * textmodes/css.el:
12518 * startup.el:
12519 * uniquify.el:
da91b5f2
CY
12520 * minibuffer.el:
12521 * newcomment.el:
12522 * reveal.el:
12523 * server.el:
12524 * mpc.el:
12525 * emacs-lisp/smie.el:
12526 * doc-view.el:
12527 * dired.el:
03408648
SM
12528 * abbrev.el: Use lexical binding.
12529
0f0c1f27
EZ
125302011-04-01 Eli Zaretskii <eliz@gnu.org>
12531
12532 * info.el (info-display-manual): New function.
12533
c82b2579
SM
125342011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12535
12536 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12537
221ddf68
TH
125382011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12539
12540 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12541 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12542
cba6e77e
GM
125432011-03-31 Glenn Morris <rgm@gnu.org>
12544
e040639f
GM
12545 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12546
cba6e77e
GM
12547 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12548
6d0f1c9e
CS
125492011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12550
12551 * progmodes/python.el (python-default-interpreter)
12552 (python-python-command-args, python-jython-command-args)
12553 (python-which-shell, python-which-args, python-which-bufname)
12554 (python-file-queue, python-comint-output-filter-function)
12555 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12556 variables and functions.
12557
3e2d70fd
SM
125582011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12559
12560 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12561 (completion-in-region-mode): New minor mode.
12562 (completion-in-region): Use it.
12563 (completion-in-region--data, completion-in-region-mode-map): New vars.
12564 (completion-in-region--postch): New function.
12565 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12566 New vars.
12567 (completion--capf-wrapper): New function.
12568 (completion-at-point): Use it to track well-behavedness of
12569 hook functions.
12570 (completion-help-at-point): New command.
12571
f3e4086c
JM
125722011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12573
12574 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12575 syntax class to search for whitespace on a single line
12576 (Message-ID: <4D938140.4030905@redhat.com>).
12577
eb7ffc14
LL
125782011-03-30 Leo Liu <sdl.web@gmail.com>
12579
12580 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12581 New commands.
12582 (edit-abbrevs-map): Bind them here.
12583 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12584
d806ab68
KM
125852011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12586
12587 * allout.el (allout-hide-by-annotation, allout-flag-region):
12588 Reduce possibility of overlay leakage by making them volatile.
12589
12590 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12591 hash is not shared between buffers. Mode initialization is
12592 responsible for giving it a useful starting value.
12593 (allout-item-span): Reduce possibility of overlay leakage by
12594 making them volatile.
12595 (allout-widgets-count-buttons-in-region): Add diagnostic function
12596 for tracking down button overlay leaks.
12597
ea622834
LL
125982011-03-29 Leo Liu <sdl.web@gmail.com>
12599
12600 * ido.el (ido-read-internal): Use the default history var
12601 minibuffer-history if no HISTORY is specified.
12602
b62f8267
G
126032011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12604
03408648
SM
12605 * net/imap.el (imap-shell-open, imap-process-connection-type):
12606 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12607 Kerberos, SSL, other subprocesses.
12608
947b6566
LL
126092011-03-28 Leo Liu <sdl.web@gmail.com>
12610
12611 * abbrev.el (abbrev-table-empty-p): New function.
12612 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12613 nonempty ones. (Bug#5937)
12614
5ffb62aa
JD
126152011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12616
12617 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12618
7a097943
LL
126192011-03-27 Leo Liu <sdl.web@gmail.com>
12620
12621 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12622 for foreground and background colors.
12623 (ansi-color-make-color-map): Adapt.
12624
c5b40130
LL
126252011-03-25 Leo Liu <sdl.web@gmail.com>
12626
1f48f7d2
LL
12627 * midnight.el (midnight-time-float): Remove. Note it calculates
12628 the microsecond component incorrectly and seconds-to-time does the
12629 same job.
625897ec 12630 Remove redundant (require 'timer).
1f48f7d2 12631
c5b40130
LL
12632 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12633 (ido-completions): Remove unused arguments. (Bug#8329)
12634
d86d2721
SM
126352011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12636
12637 * minibuffer.el (completion--flush-all-sorted-completions):
12638 Remove itself from hook.
12639 (completion-at-point): Let the functions perform the completion
12640 immediately and return nil or t.
12641 * comint.el (comint-dynamic-complete-functions): Now identical to
12642 completion-at-point-functions.
12643 (comint-dynamic-list-input-ring): Remove unused var `index'.
12644 (comint--match-partial-filename, comint--unquote&expand-filename):
12645 New funs, split from comint-match-partial-filename.
12646 (comint-dynamic-complete): Use completion-at-point.
12647 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12648
e8974c48
DA
126492011-03-24 Drew Adams <drew.adams@oracle.com>
12650
12651 * thingatpt.el: Support `defun'.
12652
def71b5e
LL
126532011-03-23 Leo Liu <sdl.web@gmail.com>
12654
cb5af48e
LL
12655 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12656
def71b5e
LL
12657 * help-mode.el (help-mode-finish): Tweak regexp.
12658
927c53e7
GM
126592011-03-23 Glenn Morris <rgm@gnu.org>
12660
18d05bed
GM
12661 * eshell/esh-opt.el (eshell-eval-using-options):
12662 Do not bind unused local variable `eshell-option-stub'.
12663
927c53e7
GM
12664 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12665
9d0da923
JB
126662011-03-22 Juanma Barranquero <lekktu@gmail.com>
12667
12668 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12669 keymap variable in `with-no-warnings' to avoid a warning when the
12670 keymap has been already `defconst'ed.
12671
4b978a67
LL
126722011-03-22 Leo Liu <sdl.web@gmail.com>
12673
12674 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12675 encode all chars in abbrevs; otherwise use emacs-mule or
12676 utf-8-emacs. (Bug#8308)
12677
5fd62452
JB
126782011-03-22 Juanma Barranquero <lekktu@gmail.com>
12679
0b1596c6
JB
12680 * simple.el (backward-delete-char-untabify):
12681 Avoid warning about using `delete-backward-char'.
12682
5fd62452
JB
12683 * image.el (image-type-file-name-regexps): Make it variable.
12684 `imagemagick-register-types' modifies it, and the user may want
12685 to add new extensions for known image types.
12686 (imagemagick-register-types): Throw error if not using ImageMagick.
12687
0b4e93f1
LL
126882011-03-22 Leo Liu <sdl.web@gmail.com>
12689
12690 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12691 located before rcirc-prompt-end-marker.
12692 (rcirc-complete): Error if point is not after rcirc prompt.
12693 Handle the case when table is nil.
9882e214 12694 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12695
fccee4ab
CY
126962011-03-22 Chong Yidong <cyd@stupidchicken.com>
12697
12698 * custom.el (custom--inhibit-theme-enable): Make it affect only
12699 custom-theme-set-variables and custom-theme-set-faces.
12700 (provide-theme): Ignore custom--inhibit-theme-enable.
12701 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12702 (custom-enabling-themes): Delete variable.
d86d2721
SM
12703 (enable-theme): Accept only loaded themes as arguments.
12704 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12705 (custom-enabled-themes): Forbid themes from setting this.
12706 Eliminate use of custom-enabling-themes.
12707 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12708
af896da6
LL
127092011-03-21 Leo Liu <sdl.web@gmail.com>
12710
12711 * ido.el (ido-read-internal): Add ido-selected to history instead
12712 of user input.
12713
78f64af0
SM
127142011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12715
12716 * subr.el (deferred-action-list, deferred-action-function):
12717 Mark obsolete.
12718
b16ac1ec
LL
127192011-03-21 Leo Liu <sdl.web@gmail.com>
12720
810f7698
LL
12721 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12722 change on 2011-02-13 (bug#8309).
12723
b16ac1ec
LL
12724 * minibuffer.el (read-file-name-function): Change default value.
12725 (read-file-name--defaults): Rename from read-file-name-defaults.
12726 (read-file-name-default): Rename from read-file-name.
12727 (read-file-name): Call read-file-name-function.
12728
4e05e67e
GM
127292011-03-21 Glenn Morris <rgm@gnu.org>
12730
12731 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12732 Doc fixes.
12733
4359915b
CY
127342011-03-21 Chong Yidong <cyd@stupidchicken.com>
12735
12736 * cus-theme.el: Add missing provide statement.
12737 (customize-create-theme): Extract theme value correctly.
12738 (custom-theme-visit-theme): Autoload.
12739 (customize-create-theme): Prompt before inserting default faces.
12740
1fe275ee
JB
127412011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12742
12743 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12744 units and musical notes.
12745
cd394be1 127462011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12747
12748 * ido.el (ido-read-internal): Use completing-read-default.
12749 (ido-completing-read): Fix compatibility with completing-read.
12750
7d476bde
CO
127512011-03-20 Christian Ohler <ohler@gnu.org>
12752
12753 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12754 (ert-delete-all-tests): Use `called-interactively-p' rather than
12755 `interactive-p'.
12756 (ert--make-xrefs-region): Respect END.
12757
fe0fb33e
CY
127582011-03-19 Chong Yidong <cyd@stupidchicken.com>
12759
ff854b0b
CY
12760 * dired-aux.el (dired-create-directory): Signal an error if the
12761 directory already exists (Bug#8246).
12762
fe0fb33e
CY
12763 * facemenu.el (list-colors-display): Call list-faces-display
12764 inside with-help-window.
12765 (list-colors-print): Use display property to align the final
12766 column, instead of checking window-width.
12767
576bce32
EZ
127682011-03-19 Eli Zaretskii <eliz@gnu.org>
12769
4d61f28d 12770 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12771 windows-nt systems.
12772 (emerge-protect-metachars): Quote correctly for ms-dos and
12773 windows-nt systems.
12774
89c41d68 127752011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12776
12777 * info.el (info-initialize): Replace all uses of `:' with
12778 path-separator for compatibility with non-Unix systems.
12779 Cache quoting of path-separator. (Bug#8258)
12780
b14e3e21 127812011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12782
12783 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12784 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12785 (mouse-avoidance-mode): Fix typos in docstrings.
12786
4525ce3e
CY
127872011-03-19 Chong Yidong <cyd@stupidchicken.com>
12788
12789 * startup.el (package-subdirectory-regexp): Move from package.el.
12790 Omit \\` and \\', and let callers add them.
12791
12792 * emacs-lisp/package.el (package-strip-version)
12793 (package-load-all-descriptors): Add \\` and \\' to
12794 package-subdirectory-regexp before using it.
12795 (package-untar-buffer): New arg DIR; ensure that file untars only
12796 into this expected directory. Remove superfluous delete-region.
12797 (package-unpack): Caller changed.
12798 (package-tar-file-info): Use package-subdirectory-regexp.
12799
a904a09a 128002011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12801
a904a09a
SM
12802 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12803 diff-mode-shared-map (bug#8284).
12804 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12805
128062011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12807
12808 * calendar/time-date.el (format-seconds): Use assoc instead of
12809 assoc-string, since assoc-string doesn't exist in XEmacs.
12810
171fc304
JB
128112011-03-17 Juanma Barranquero <lekktu@gmail.com>
12812
12813 * custom.el (custom-known-themes): Reflow docstring.
12814 (custom-theme-load-path): Fix typo in docstring.
12815 (load-theme): Fix typo in error message.
12816 (custom-available-themes, custom-variable-theme-value):
12817 Use `let', not `let*'.
12818
d71990a1
JB
128192011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12820
12821 * calc/README: Mention inclusion of musical notes.
12822
12823 * calc/calc-units.el (calc-lu-quant): Rename from
12824 `calc-logunits-quantity'.
12825 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12826 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12827 (calc-db): Rename from `calc-dblevel'.
12828 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12829 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12830 (calc-np): Rename from `calc-nplevel'.
12831 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12832 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12833 (calc-lu-plus): Rename from `calc-logunits-add'.
12834 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12835 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12836 (calc-lu-minus): Rename from `calc-logunits-sub'.
12837 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12838 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12839 (calc-lu-times): Rename from `calc-logunits-mul'.
12840 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12841 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12842 (calc-lu-divide): Rename from `calc-logunits-div'.
12843 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12844 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12845
12846 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12847 functions being autoloaded.
12848
12849 * calc/calc.el (calc-lu-power-reference): Rename from
12850 `calc-logunits-power-reference'.
12851 (calc-lu-field-reference): Rename from
12852 `calc-logunits-field-reference'.
12853
7a71b18d
GM
12854 * calc/calc-help.el (calc-l-prefix-help):
12855 Mention musical note functions.
d71990a1 12856
40c2934b
SM
128572011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12858
12859 * minibuffer.el (completion-all-sorted-completions):
12860 Use :completion-cycle-penalty text property if present.
12861
b0911414
KM
128622011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12863
12864 * allout.el (allout-yank-processing): Adjust for new rebulleting
12865 regime so bullet being yanked is used without prompting the user
12866 for a choice.
12867
8a05b668
JB
128682011-03-16 Juanma Barranquero <lekktu@gmail.com>
12869
12870 * startup.el (command-line): Warn the user that _emacs is deprecated.
12871
5ba5fb81
JB
128722011-03-16 Juanma Barranquero <lekktu@gmail.com>
12873
12874 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12875 (delphi-verbose, delphi-comment-face, delphi-string-face)
12876 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12877 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12878 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12879 (delphi-new-comment-line, delphi-font-lock-defaults)
12880 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12881 Fix typos in docstrings.
12882
2dab465b
KM
128832011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12884
5ba5fb81 12885 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12886 Invert the roles of character and string values for INSTEAD, so a
12887 string is used for the more common case of a defaulting prompt.
12888
0adf5618
SM
128892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12890
12891 * progmodes/ruby-mode.el (ruby-backward-sexp):
12892 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12893 * play/gamegrid.el (gamegrid-make-face):
12894 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12895 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12896 * notifications.el (notifications-notify):
12897 * net/xesam.el (xesam-search-engines):
12898 * net/quickurl.el (quickurl-list-insert):
12899 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12900
d72700e5
CY
129012011-03-15 Chong Yidong <cyd@stupidchicken.com>
12902
12903 * startup.el (command-line): Update package subdirectory regexp.
12904
49c5410a
SM
129052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12906
c6eee9aa
SM
12907 * allout.el (allout-abbreviate-flattened-numbering)
12908 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12909
49c5410a
SM
12910 * subr.el (read-char-choice): Only show the cursor after the prompt,
12911 not after the answer.
12912
047b2bb9
KR
129132011-03-15 Kevin Ryde <user42@zip.com.au>
12914
12915 * help-fns.el (variable-at-point): Skip leading quotes, if any
12916 (bug#8253).
12917
0a57d256
SM
129182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12921 warning message.
12922
77c992bc
MA
129232011-03-14 Michael Albinus <michael.albinus@gmx.de>
12924
12925 * shell.el (shell): When called interactively, offer to change the
12926 shell file name on remote hosts.
12927
eebc475d
TZ
129282011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12929
12930 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12931 integration for LDAP parameters. The host, base, user or binddn,
12932 and secret tokens can be specified in a netrc file, for instance.
12933 This is optional because an `auth-source' parameter must be
12934 specified in the search attributes.
12935
9d05d1ba
JB
129362011-03-13 Juanma Barranquero <lekktu@gmail.com>
12937
12938 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12939
09d9db2c
GM
129402011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12941
12942 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12943 into declaration. Remove redundant and harmful binding.
12944
129452011-03-12 Eli Zaretskii <eliz@gnu.org>
12946
12947 * files.el (file-ownership-preserved-p): Pass `integer' as an
12948 explicit 2nd argument to `file-attributes'. If the file's owner
12949 is the Administrators group on Windows, and the current user is
12950 Administrator, consider that a match.
12951
12952 * server.el (server-ensure-safe-dir): Consider server directory
12953 safe on MS-Windows if its owner is the Administrators group while
12954 the current Emacs user is Administrator. Use `=' to compare
12955 numerical UIDs, since they could be integers or floats.
12956
219bd536
JB
129572011-03-12 Juanma Barranquero <lekktu@gmail.com>
12958
12959 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12960
f3afd36b
MA
129612011-03-12 Michael Albinus <michael.albinus@gmx.de>
12962
12963 Sync with Tramp 2.2.1.
12964
12965 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12966
12967 * net/trampver.el: Update release number.
12968
3aaaa6f1
SM
129692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12970
94642599
SM
12971 * progmodes/compile.el (compilation--previous-directory): Fix up
12972 various nil/dead-marker mismatches (bug#8014).
12973 (compilation-directory-properties, compilation-error-properties):
12974 Don't call it at a position past the one we're about to change.
12975
3aaaa6f1
SM
12976 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12977 Disable obsolescence warnings in the file that declares it.
12978
14239447
KM
129792011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12980
099c39a4
JB
12981 * allout-widgets.el (allout-widgets-tally):
12982 Initialize allout-widgets-tally as a hash table rather than nil to
12983 prevent mode-line redisplay warnings. Also, clarify the module
12984 description and fix a comment typo.
14239447 12985
135e287c
JB
129862011-03-11 Juanma Barranquero <lekktu@gmail.com>
12987
12988 * help-fns.el (describe-variable): Don't complete keywords.
12989 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12990
ffbf300e
CY
129912011-03-10 Chong Yidong <cyd@stupidchicken.com>
12992
ba08b241
CY
12993 * emacs-lisp/package.el (package-version-join): Impose a standard
12994 string representation for pre/alpha/beta version lists.
12995 (package-unpack-single): Standardize the directory name by passing
12996 it through package-version-join.
12997 (package-strip-rcs-id): Accept any version string that does not
12998 signal an error in version-to-list.
ffbf300e 12999
f346fd6b
MA
130002011-03-10 Michael Albinus <michael.albinus@gmx.de>
13001
13002 * simple.el (delete-trailing-whitespace): Return nil for the
13003 benefit of `write-file-functions'.
13004
ccb55d27
GM
130052011-03-10 Glenn Morris <rgm@gnu.org>
13006
5ceaac0c
GM
13007 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13008
02da65ff
GM
13009 * vc/vc-git.el (vc-git-program): New option.
13010 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13011 (vc-git--call): Use it.
13012
b2f603cc
GM
13013 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13014
5772caab
GM
13015 * cus-edit.el (Custom-newline): If no button at point, look
13016 for a subgroup button at start-of-line. (Bug#2298)
13017
ccb55d27
GM
13018 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13019
ec6ecaed
JD
130202011-03-10 Julien Danjou <julien@danjou.info>
13021
13022 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13023 `cursor-type' is nil.
13024
9d5aa01d
JB
130252011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13026
13027 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13028
b6a5875b
KM
130292011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13030
7a71b18d 13031 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13032 preserves the existing header prefix, rebulleting it if necessary,
13033 rather than replacing it. This is necessary for proper operation
13034 of cooperative addons like allout-widgets.
1154d12e
JB
13035 (allout-make-topic-prefix, allout-rebullet-heading):
13036 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13037 value as alternate bullet to be used, instead of prompting the user
13038 for a bullet character.
b6a5875b 13039
ee545c35
MA
130402011-03-09 Michael Albinus <michael.albinus@gmx.de>
13041
d86d2721
SM
13042 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13043 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13044 `tramp-default-port'.
13045
c47971d7
DD
130462011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13047
13048 * net/rcirc.el (rcirc-handler-001): Remove useless
13049 with-rcirc-process-buffer.
13050 (rcirc-check-auth-status): Swap arguments to string-match.
13051
13522cb4
GM
130522011-03-09 Glenn Morris <rgm@gnu.org>
13053
0be6f4f1
GM
13054 * shell.el (shell-mode):
13055 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13056
13522cb4
GM
13057 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13058 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13059
515de2e3
CY
130602011-03-08 Chong Yidong <cyd@stupidchicken.com>
13061
13062 * emacs-lisp/package.el (package-refresh-contents)
13063 (package-menu-execute): Use condition-case-no-debug.
13064
b511b994
MA
130652011-03-08 Michael Albinus <michael.albinus@gmx.de>
13066
13067 * simple.el (shell-command-to-string): Use `process-file'.
13068
13069 * emacs-lisp/package.el (package-tar-file-info): Handle also
13070 remote files.
13071
d86d2721
SM
13072 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13073 Use `equal' for upload base check.
b511b994 13074
25bbfb31
AM
130752011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13076
13077 * textmodes/texinfo.el (texinfo-environments):
13078 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13079
be996521
GM
130802011-03-08 Glenn Morris <rgm@gnu.org>
13081
e9c8529f
GM
13082 * cus-start.el (cursor-in-non-selected-windows):
13083 Fix :set quoting oddness. (Bug#8192)
13084
be996521
GM
13085 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13086 in some setf expressions. (Bug#2159)
13087
2bb5649e
CY
130882011-03-08 Chong Yidong <cyd@stupidchicken.com>
13089
13090 * custom.el (custom-available-themes): Return themes in
13091 alphabetical order.
13092
33383987 13093See ChangeLog.15 for earlier changes.
e3d51b27
MR
13094
13095;; Local Variables:
13096;; coding: utf-8
e3d51b27
MR
13097;; End:
13098
acaf905b 13099 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13100
13101 This file is part of GNU Emacs.
13102
13103 GNU Emacs is free software: you can redistribute it and/or modify
13104 it under the terms of the GNU General Public License as published by
13105 the Free Software Foundation, either version 3 of the License, or
13106 (at your option) any later version.
13107
13108 GNU Emacs is distributed in the hope that it will be useful,
13109 but WITHOUT ANY WARRANTY; without even the implied warranty of
13110 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13111 GNU General Public License for more details.
13112
13113 You should have received a copy of the GNU General Public License
13114 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.