Fix application of menu-bar-mode etc. by X resources.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c5bb7569
CY
12012-04-27 Chong Yidong <cyd@gnu.org>
2
15cd8efd
CY
3 * startup.el (x-apply-session-resources): New function.
4
5 * term/ns-win.el (ns-initialize-window-system):
6 * term/w32-win.el (w32-initialize-window-system):
7 * term/x-win.el (x-initialize-window-system): Use it to properly
8 set menu-bar-mode and other vars from X resources, even if the
9 initial frame is not a window-system frame (Bug#2299).
10
c5bb7569
CY
11 * subr.el (read-key): Avoid running filter function when setting
12 up temporary tool bar entries (Bug#9922).
13
a8e7d6d7 142012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
15
16 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
17 (Bug#11344)
18
a8e7d6d7 192012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
20
21 * select.el (xselect--encode-string): New function, split from
22 xselect-convert-to-string.
23 (xselect-convert-to-string): Use it.
24 (xselect-convert-to-filename, xselect-convert-to-os)
25 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
26 returned strings are properly encoded (Bug#11315).
27
a8e7d6d7 282012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
29
30 * simple.el (delete-active-region): Move to killing custom group.
31
a8e7d6d7 322012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
33
34 * progmodes/which-func.el (which-func-current): Quote %
35 characters for mode-line processing.
36
18edb22d
CY
372012-04-21 Chong Yidong <cyd@gnu.org>
38
39 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
40 reaching eob (Bug#11286).
41
a8e7d6d7 422012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
43
44 * progmodes/gdb-mi.el (gdb-control-level): New variable.
45 (gdb): Make it buffer-local and init to zero.
46 (gdb-control-commands-regexp): New variable.
47 (gdb-send): Don't wrap in "-interpreter-exec console" if
48 gdb-control-level is positive. Increment gdb-control-level
49 whenever the command matches gdb-control-commands-regexp, and
50 decrement it each time the command is "end". (Bug#11279)
51
a8e7d6d7 522012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
53
54 * window.el (adjust-window-trailing-edge, enlarge-window)
55 (shrink-window, window-resize):
56 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
57 windows (Bug#11276).
58
b3608390
CY
592012-04-27 Chong Yidong <cyd@gnu.org>
60
61 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 62 fix "missing prefix" warning. All callers changed.
b3608390 63
797e6e88
SM
642012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * emacs-lisp/assoc.el: Move to obsolete/.
67
e95a67dc
SM
682012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
69
657c21e4 70 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
71
72 * term/ns-win.el (ns-define-service):
73 * progmodes/pascal.el (pascal-goto-defun):
74 * progmodes/js.el (js--read-tab):
75 * progmodes/etags.el (tags-lazy-completion-table):
76 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
77 * emacs-lisp/ewoc.el (ewoc--wrap):
78 * emacs-lisp/assoc.el (aput, adelete, amake):
79 * doc-view.el (doc-view-convert-current-doc):
80 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
81
cb3e7ae0
CY
822012-04-26 Chong Yidong <cyd@gnu.org>
83
dce04f7f
CY
84 * image.el (image-type-from-buffer): Only return supported image
85 type (Bug#9045).
86
cb3e7ae0
CY
87 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
88 value, for symmetry with diff-end-of-hunk.
89 (diff-split-hunk, diff-find-source-location)
90 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
91 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
92 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
93 compute the relevant hunk or file properly (Bug#6005).
94 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
95
0d42eb3e
SM
962012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * vc/vc-mtn.el:
99 * vc/vc-hg.el:
100 * vc/vc-git.el:
101 * vc/vc-dir.el:
102 * vc/vc-cvs.el:
103 * vc/vc-bzr.el:
104 * vc/vc-arch.el:
105 * vc/vc.el: Replace lexical-let by lexical-binding.
106 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
107 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
108 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
109
f08ae1c9
CY
1102012-04-26 Chong Yidong <cyd@gnu.org>
111
8b71081d
CY
112 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
113 (diff-mode-shared-map): Bind it to / and [remap undo].
114
f08ae1c9
CY
115 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
116 (ediff-window-setup-function): Use it as the default, to set up
117 windows based on whether the current frame is graphical (Bug#2138).
118 (ediff-choose-window-setup-function-automatically): Make obsolete.
119
120 * vc/ediff-init.el: Always define ediff-pixel-width/height.
121
ef24141c
SM
1222012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
123
cc356a5d
SM
124 * ffap.el: Remove old code for obsolete package.
125 (ffap-complete-as-file-p): Remove.
126
b4ff4f1f
SM
127 Use completion-table-with-quoting for comint and pcomplete.
128 * comint.el (comint--unquote&requote-argument)
129 (comint--unquote-argument, comint--requote-argument): New functions.
130 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
131 (comint-quote-filename): Use regexp-opt-charset.
132 (comint--common-suffix, comint--common-quoted-suffix)
133 (comint--table-subvert): Remove.
134 (comint-unquote-function, comint-requote-function): New vars.
135 (comint--complete-file-name-data): Use them with
136 completion-table-with-quoting.
137 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
138 * pcomplete.el (pcomplete-arg-quote-list)
139 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
140 (pcomplete-unquote-argument-function): Default to non-nil.
141 (pcomplete-unquote-argument): Simplify.
142 (pcomplete--common-quoted-suffix): Remove.
143 (pcomplete-requote-argument-function): New var.
144 (pcomplete--common-suffix): New function.
145 (pcomplete-completions-at-point): Use completion-table-with-quoting
146 and completion-table-subvert.
147
79c4eeb4
SM
148 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
149 (minibuffer--double-dollars): Preserve properties.
150 (completion--sifn-requote): New function.
151 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
152
ef24141c
SM
153 * minibuffer.el: Add support for completion of quoted/escaped data.
154 (completion-table-with-quoting, completion-table-subvert): New funs.
155 (completion--twq-try, completion--twq-all): New functions.
156 (completion--nth-completion): New function.
157 (completion-try-completion, completion-all-completions): Use it.
158
784e7d6e
LL
1592012-04-25 Leo Liu <sdl.web@gmail.com>
160
dd2ac746
SM
161 * progmodes/python.el (python-pdbtrack-get-source-buffer):
162 Use compilation-message if available to find real filename.
784e7d6e 163
07875ee7
CY
1642012-04-25 Chong Yidong <cyd@gnu.org>
165
166 * vc/diff-mode.el (diff-setup-whitespace): New function.
167 (diff-mode): Use it.
168
169 * vc/diff.el (diff-sentinel):
170 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
171 Whitespace mode variables based on diff style (Bug#8612).
172
5055880d
LL
1732012-04-25 Leo Liu <sdl.web@gmail.com>
174
daf75653
LL
175 * progmodes/python.el (python-send-region): Add suffix .py to the
176 temp file.
177
5055880d
LL
178 * files.el (auto-mode-alist): Use javascript-mode instead.
179
db9b177b
AH
1802012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
181
ef24141c 182 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
183
184 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 185 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 186 references, see Bug#9.
ef24141c 187 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 188 when receiving a fault reply.
ef24141c 189 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
190
191 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 192 (soap-inspect-simple-type): New function.
db9b177b 193
ef24141c 194 * soap-client.el (soap-simple-type): New struct.
db9b177b 195 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
196 (soap-decode-basic-type, soap-encode-basic-type):
197 support unsignedInt and double basic types.
db9b177b 198 (soap-resolve-references-for-simple-type)
ef24141c
SM
199 (soap-parse-simple-type, soap-encode-simple-type): New function.
200 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
201
202 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
203 (soap-default-soapenc-types): Add integer, byte and anyURI types.
204 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
205 the local name of "soapenc:Array".
206 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
207 decoding integer, byte and anyURI xsd types.
208
1fc6097b
CY
2092012-04-25 Chong Yidong <cyd@gnu.org>
210
211 * cus-edit.el (custom-buffer-create-internal): Update header text.
212
afc6df87
EZ
2132012-04-25 Eli Zaretskii <eliz@gnu.org>
214
215 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
216 settings on 'system-type', not on 'window-system'. On MS-Windows,
217 set interactive-mode on in GDB.
218
dfbd787f
SM
2192012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
222 (ruby-syntax-propertize-regexp): Remove.
223 (ruby-syntax-propertize-function): Split regexp into chunks.
224 Match following code directly.
225
85222d44
DG
2262012-04-24 Dmitry Gutov <dgutov@yandex.ru>
227
51a8ea2a
DG
228 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
229 (ruby-syntax-propertize-regexp): New function.
230 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
231 by a special keyword.
232
85222d44
DG
233 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
234 (ruby-syntax-general-delimiters-goto-beg)
235 (ruby-syntax-propertize-general-delimiters): New functions.
236 (ruby-syntax-propertize-function): Use them to handle GDL.
237 (ruby-font-lock-keywords): Move old handling of GDL...
238 (ruby-font-lock-syntactic-keywords): .. to here.
239 (ruby-calculate-indent): Adjust indentation for GDL.
240
b613912b
MA
2412012-04-24 Michael Albinus <michael.albinus@gmx.de>
242
b5380639
MA
243 * notifications.el (top): Remove unneeded declarations.
244 (notifications-specification-version): Change to "1.2".
e43042fe 245 (notifications-interface, notifications-notify-method)
b613912b
MA
246 (notifications-close-notification-method): Fix docstring.
247 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
248 (notifications-notify): Add :action-items, :resident and
249 :transient hints. Change "image_data" to "image-data" and
250 "image_path" to "image-path".
b613912b
MA
251 (notifications-get-capabilities): New defun.
252
257440aa
LL
2532012-04-24 Leo Liu <sdl.web@gmail.com>
254
255 * progmodes/python.el: Move hideshow setup to the end.
256
b1bac16e
MR
2572012-04-24 Martin Rudalics <rudalics@gmx.at>
258
259 * window.el (handle-select-window): Clear echo area since this is
260 no more done by read_char (Bug#11304).
261
d81bd059
SM
2622012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
265 and `/ M' to filter-derived-mode.
266 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
267 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
268 (ibuffer-mark-by-mode): Use default rather than initial-input.
269 (ibuffer-filter-by-derived-mode): Autoload and require-match.
270
c4cf6d91
IA
2712012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
272
273 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
274 (ibuffer-filter-by-derived-mode): New filter.
275 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
276
7511ded8
CY
2772012-04-23 Andreas Politz <politza@fh-trier.de>
278
279 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
280
775c916b
CY
2812012-04-23 Chong Yidong <cyd@gnu.org>
282
283 * cus-edit.el (customize-apropos, customize-apropos-options):
284 Disable matching of non-option variables (Bug#11176).
285 (customize-option, customize-option-other-window)
286 (customize-changed-options): Doc fix.
287 (customize-apropos-options, customize-apropos-faces)
288 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
289
290 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 291 Fix word list splitting (Bug#11132).
46c71e23
CY
292 (apropos-symbol, apropos-keybinding, apropos-label)
293 (apropos-property, apropos-function-button)
294 (apropos-variable-button, apropos-misc-button): New faces.
295 (apropos-symbol-face, apropos-keybinding-face)
296 (apropos-label-face, apropos-property-face, apropos-match-face):
297 Variables removed (Bug#8396).
298 (apropos-library-button, apropos-format-plist, apropos-print)
299 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 300
2df41f9c
MA
3012012-04-23 Michael Albinus <michael.albinus@gmx.de>
302
303 * net/xesam.el (xesam-mode-map): Use let-bound map in
304 initialization. (Bug#11292)
305
da00640a
AM
3062012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
307
308 Preserve ispell session localwords when switching back to
309 original buffer.
310
311 * ispell.el (ispell-buffer-session-localwords): New buffer-local
312 variable to hold buffer session localwords.
313 (ispell-kill-ispell): add option 'clear to delete session
314 localwords.
315 (ispell-command-loop, ispell-change-dictionary)
316 (ispell-buffer-local-words): Preserve session localwords when
317 needed.
318
319 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
320 Preserve session localwords when needed.
321
f621ccf5
AM
3222012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
323
324 * ispell.el (ispell-insert-word) Remove unneeded function using
325 obsolete `translation-table-for-input'.
ef24141c
SM
326 (ispell-word, ispell-process-line, ispell-complete-word):
327 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 328
c2d1019e
CY
3292012-04-22 Chong Yidong <cyd@gnu.org>
330
331 * cus-edit.el (custom-variable-menu)
332 (custom-variable-reset-saved, custom-face-menu)
333 (custom-face-reset-saved): If there is no saved value, make the
334 "reset-saved" operation bring back the default (Bug#9509).
335 (custom-face-state): Properly detect themed faces.
336
eeddc531
CY
337 * faces.el (face-spec-set): Stop supporting deprecated form of
338 third arg.
339
dcbf5805
MA
3402012-04-22 Michael Albinus <michael.albinus@gmx.de>
341
342 Move functions from C to Lisp. Make non-blocking method calls
343 the default. Implement further D-Bus standard interfaces.
344
ef24141c
SM
345 * net/dbus.el (dbus-message-internal): Declare function.
346 Remove unneeded function declarations.
dcbf5805
MA
347 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
348 (dbus-message-type-method-return, dbus-message-type-error)
349 (dbus-message-type-signal): Declare variables. Remove local
350 definitions.
351 (dbus-interface-dbus, dbus-interface-peer)
352 (dbus-interface-introspectable, dbus-interface-properties)
353 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
354 Adapt docstring.
355 (dbus-interface-objectmanager): New defconst.
356 (dbus-call-method, dbus-call-method-asynchronously)
357 (dbus-send-signal, dbus-method-return-internal)
358 (dbus-method-error-internal, dbus-register-service)
359 (dbus-register-signal, dbus-register-method): New defuns, moved
360 from dbusbind.c
361 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
362 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
363 New defuns.
dcbf5805
MA
364 (dbus-call-method-non-blocking): Make it an obsolete function.
365 (dbus-unregister-object, dbus-unregister-service)
366 (dbus-handle-event, dbus-register-property)
367 (dbus-property-handler): Obey the new structure of
368 `bus-registered-objects'.
369 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
370 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
371 Use `dbus-call-method'.
372
cf20dee0
CY
3732012-04-22 Chong Yidong <cyd@gnu.org>
374
375 * cus-edit.el (custom-commands, custom-reset-menu)
376 (Custom-reset-standard): Tweak labels.
377 (custom-reset-button-menu): Change default to t.
378 (custom-buffer-create-internal): For the custom-reset-button-menu
379 case, put the revert button first.
380 (custom-group-subtitle): New face.
381 (custom-group-value-create): Align docstring to a specific column.
382
383 * wid-edit.el (widget-documentation-link-add): Don't handle
384 indentation in this function.
385 (widget-documentation-string-indent-to): New function.
386 (widget-documentation-string-value-create): Use it.
387
388 * autorevert.el (auto-revert):
389 * epg-config.el (epg):
390 * ibuffer.el (ibuffer):
391 * mpc.el (mpc):
392 * ses.el (ses):
393 * eshell/eshell.el (eshell):
394 * net/ange-ftp.el (ange-ftp):
395 * progmodes/ebnf2ps.el (postscript):
396 * progmodes/flymake.el (flymake):
397 * progmodes/prolog.el (prolog):
398 * progmodes/verilog-mode.el (verilog-mode):
399 * progmodes/which-func.el (which-func):
400 * term/xterm.el (xterm):
401 * textmodes/picture.el (picture):
402 * textmodes/tildify.el (tildify):
403 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
404 customization buffers.
405
583e23bd
AM
4062012-04-22 Alan Mackenzie <acm@muc.de>
407
408 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
409 Adding a ) can hide the resulting (..) from searches. Fix it.
410 Bound the backward search to the position of the existing (.
411
7dd51bf1
JB
4122012-04-21 Juanma Barranquero <lekktu@gmail.com>
413
414 * progmodes/verilog-mode.el (verilog-mode): Check whether
415 which-func-modes is t before adding verilog-mode.
416 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
417
d64a438f
LL
4182012-04-21 Leo Liu <sdl.web@gmail.com>
419
7dd51bf1 420 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 421
081e8d65
MV
4222012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
423
424 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
425 filling of the last column of a table (Bug#5635).
426 (woman-find-next-control-line): New arg, specifying an additional
427 regexp component for the control line.
428 (woman2-roff-buffer): Use it.
429 (woman-break-table): New function.
430 (woman2-TS): Use it.
431
4322012-04-21 Chong Yidong <cyd@gnu.org>
433
434 * woman.el (woman-set-buffer-display-table, woman-decode-region)
435 (woman-horizontal-escapes, woman-negative-vertical-space)
436 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
437 (WoMan-warn-ignored): Use ?\s instead of ?\ .
438
ed571ccb
SM
4392012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * minibuffer.el (completion-file-name-table): Complete user names.
442
39773899
LL
4432012-04-20 Leo Liu <sdl.web@gmail.com>
444
445 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
446 and pcase-let*.
447
de6ff46d
CY
4482012-04-20 Chong Yidong <cyd@gnu.org>
449
450 * server.el (server-execute): Respect initial-buffer-choice if it
451 is a string and there are no files to open (Bug#2825).
452 (server-create-window-system-frame, server-create-tty-frame):
453 Don't switch buffers here.
2d0e8e61
CY
454 (server-process-filter): Only try to open a window system frame if
455 compiled with graphical support (Bug#8314).
de6ff46d 456
54071013
DN
4572012-04-20 Dan Nicolaescu <dann@gnu.org>
458
459 * battery.el (battery-echo-area-format): Display remaining time
460 for sysfs backend too (Bug#11269).
461 (battery-linux-sysfs): Fix conditional for the charge.
462
f30d612a
CY
4632012-04-20 Chong Yidong <cyd@gnu.org>
464
c07a4c0b 465 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
466 (gdb-inferior-io--init-proc): New function.
467 (gdb-init-1): Use it.
468 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
469 responsible for allocating a new pty and hooking it to gdb when
470 the old pty gets an EIO due to process exit.
471 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
472 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
473 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
474
2116e93c
EZ
4752012-04-20 Eli Zaretskii <eliz@gnu.org>
476
477 * window.el (window-min-size, window-sizable, window-min-delta)
478 (window-max-delta, window--resizable, window-resizable)
479 (window-total-size, window-full-height-p, window-full-width-p)
480 (window-in-direction, window--resize-mini-window, window-resize)
481 (window--resize-child-windows-normal)
482 (window--resize-child-windows, window--resize-siblings)
483 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 484 (enlarge-window, shrink-window): Doc fixes.
2116e93c 485
c07a4c0b 4862012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 487
ef24141c
SM
488 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
489 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
490 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
491 pty process (Bug#11273).
492 (gdb-update): New arg to suppress talking to the gdb process.
493 (gdb-done-or-error): Use it.
494 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
495 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
496 sentinel not being called.
497
498 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
499
d02766ab
CY
500 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
501
c07a4c0b 5022012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
503
504 * net/network-stream.el (open-network-stream): Doc fix.
505
c07a4c0b 5062012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
507
508 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
509
c07a4c0b 5102012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
511
512 Ensure searching for keywords is case sensitive.
513
514 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
515 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
516 (c-defun-name, c-mark-function, c-cpp-define-name)
517 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 518 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 519
ef24141c
SM
520 * progmodes/cc-mode.el (c-font-lock-fontify-region):
521 Bind case-fold-search to nil.
f0f6bc35 522
c07a4c0b 5232012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
524
525 * mail/sendmail.el (mail-bury): Call return action with the right
526 Rmail buffer (Bug#11242).
527
9a864fa2
CY
528 * server.el (server-process-filter): Handle corner case where both
529 tty and nowait options are present (Bug#11102).
530
539aa513
EZ
5312012-04-20 Eli Zaretskii <eliz@gnu.org>
532
533 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
534 (top level): Put into the executable the ident-style '$Id:' tag on
535 windows-nt as well.
539aa513 536
cfc7d5da
SM
5372012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * electric.el (electric-indent-post-self-insert-function): Check that
540 electric-indent-mode is enabled in current buffer.
541
5b01685c
JB
5422012-04-19 Juanma Barranquero <lekktu@gmail.com>
543
544 * imenu.el (imenu-progress-message): Restore; it is "used" in
545 erc/erc-imenu.el and net/snmp-mode.el.
546
4d6769e1
JB
5472012-04-19 Juanma Barranquero <lekktu@gmail.com>
548
549 * avoid.el (mouse-avoidance-mode): Mark unused arg.
550 (mouse-avoidance-nudge-mouse): Remove unused binding.
551
552 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
553
554 * descr-text.el (describe-char):
555 * progmodes/python.el (python-describe-symbol):
556 Don't call `toggle-read-only', set `buffer-read-only'.
557
558 * imenu.el (imenu-default-goto-function): Mark unused args.
559 (imenu-progress-message): Remove obsolete macro; all callers changed.
560
561 * subr.el (keymap-canonicalize): Remove unused binding.
562 (read-passwd): Mark unused arg.
563
564 * tutorial.el (tutorial--display-changes): Remove unused binding.
565 (tutorial--save-tutorial-to): Remove unused variable.
566
567 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
568 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
569 (package-generate-autoloads, package-menu--generate)
570 (package-menu--find-upgrades): Remove unused bindings.
571
572 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
573 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
574 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
575 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
576 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
577 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
578 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
579 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
580 (cua-delete-char-rectangle): Mark unused args.
581 (cua-align-rectangle): Remove unused binding.
582
583 * mail/rmail.el (compilation--message->loc)
584 (epa--find-coding-system-for-mime-charset): Declare.
585
586 * net/dbus.el (dbus-register-service): Declare.
587 (dbus-name-owner-changed-handler): Remove unused binding.
588
589 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
590 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
591 (nxml-scan-backward-within): Mark unused arg.
592 (nxml-dynamic-markup-word): Remove unused binding.
593
594 * mouse.el (mouse-menu-major-mode-map):
595 * emacs-lisp/authors.el (authors-scan-change-log)
596 (authors-add-to-author-list):
597 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
598 * emacs-lisp/smie.el (smie-auto-fill):
599 * mail/sendmail.el (mail-bury):
600 * mail/unrmail.el (unrmail):
601 * net/tls.el (open-tls-stream):
602 * textmodes/picture.el (picture-mouse-set-point):
603 Remove unused bindings.
604
8c8fc5df
MA
6052012-04-19 Michael Albinus <michael.albinus@gmx.de>
606
607 * net/tramp.el (tramp-action-password): Let-bind
608 `enable-recursive-minibuffers' to t.
609
a77b0ac9
SS
6102012-04-18 Sam Steingold <sds@gnu.org>
611
612 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
613 instead of 'string to accommodate values like [f11].
614 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
615 * progmodes/gdb-mi.el: Likewise.
616
12a106a9
LL
6172012-04-18 Leo Liu <sdl.web@gmail.com>
618
619 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
620 current buffer.
621 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
622 LOCAL is nil.
623
bc6494ef
CY
6242012-04-18 Chong Yidong <cyd@gnu.org>
625
626 * simple.el (line-move): Use forward-line if in batch mode
627 (Bug#11053).
628
c09c46b2
CS
6292012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
630
631 * files.el (after-find-file): Do not try to add a final newline if
632 the buffer is read-only (Bug#11156).
633
5f6530ea
RS
6342012-04-17 Richard Stallman <rms@gnu.org>
635
636 * mail/rmail.el (rmail-start-mail):
637 Pass (rmail-mail-return...) for the return-action.
638 Pass (rmail-yank-current-message...) for the yank-action.
639 (rmail-yank-current-message): New function.
640 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
641 (rmail-reply): Likewise.
642 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
643
644 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 645 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
646 buffer, not newbuf.
647
197b6f3c
JB
6482012-04-17 Juanma Barranquero <lekktu@gmail.com>
649
650 * server.el (server-ensure-safe-dir): Simplify.
651
2311d8e5 6522012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 653
2311d8e5
GM
654 * emacs-lisp/smie.el: Provide smarter auto-filling.
655 (smie-auto-fill): New function.
656 (smie-setup): Use it.
98fb480e 657
2311d8e5
GM
658 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
659
6602012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
661
662 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
663 (comment-indent): Use it.
664
2311d8e5 6652012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
666
667 * ses.el: The overall change is to add cell renaming, that is
668 setting fancy names for cell symbols other than name matching
669 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 670 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 671 (ses-create-cell-variable): New defun.
2311d8e5 672 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
673 (ses-relocate-formula): Relocate formulas only for cells the
674 symbols of which are not renamed, i.e. symbols whose names do not
675 match regexp "\\`[A-Z]+[0-9]+\\'".
676 (ses-relocate-all): Relocate values only for cells the symbols of
677 which are not renamed.
678 (ses-load): Create cells variables as the (ses-cell ...) are read,
679 in order to check row col consistency with cell symbol name only
680 for cells that are not renamed.
681 (ses-replace-name-in-formula): New defun.
682 (ses-rename-cell): New defun.
4bdf2ad2 683
fc72b15c
PO
6842012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
685
686 * progmodes/perl-mode.el (perl-indent-parens-as-block):
687 New option (bug#11118).
688 (perl-calculate-indent): Respect it.
689
12e10e61
GM
6902012-04-17 Glenn Morris <rgm@gnu.org>
691
692 * dired-aux.el (dired-mark-read-string): Doc fix.
693
30009afd
DA
6942012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
695
696 * dired-aux.el (dired-mark-read-string): Offer optional completion.
697 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
698
41f03f4d
GM
6992012-04-17 Glenn Morris <rgm@gnu.org>
700
701 * mouse.el (mouse-drag-track):
702 * speedbar.el (speedbar-frame-mode):
703 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
704
f45f90f3
LL
7052012-04-16 Leo Liu <sdl.web@gmail.com>
706
707 * progmodes/python.el: Trivial cleanup.
708
94ee8db5
GM
7092012-04-16 Glenn Morris <rgm@gnu.org>
710
121b8917
GM
711 * vc/vc.el (vc-string-prefix-p):
712 * vc/pcvs-util.el (cvs-string-prefix-p):
713 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
714 * mpc.el (mpc-string-prefix-p):
715 Make all of these into obsolete aliases for string-prefix-p.
716 Update callers.
717 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
718
1197ecfa
GM
719 * textmodes/two-column.el: Move custom options to the start.
720 (frame-width): Remove compat definition.
721 (2C-associate-buffer, 2C-dissociate):
722 Use with-current-buffer rather than save-excursion.
723 (2C-dissociate): Force a mode-line update.
724 (2C-autoscroll): Use ignore-errors.
725
099e7202
GM
726 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
727 Autoload trivia.
728
bf350d6a
GM
729 * emacs-lisp/cl-extra.el (*random-state*):
730 Remove unnecessary declaration.
731
0e829eab
GM
732 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
733
e3ad7552
GM
734 * play/cookie1.el (cookie-snarf):
735 Give an explicit error if input file cannot be read.
736
68892d27
GM
737 * play/yow.el (yow-file): Use expand-file-name rather than concat.
738
20f0c46d
GM
739 * progmodes/perl-mode.el (c-macro-expand):
740 Remove unnecessary autoload (it is in loaddefs.el).
741
5a0978ce
GM
742 * textmodes/picture.el (picture-desired-column)
743 (picture-update-desired-column): Convert comments to doc-strings.
744 (picture-substitute): Remove function.
745 (picture-mode-map): Initialize in the defvar.
746
6b955486
GM
747 * woman.el: Remove eval-after-load for tar-mode.
748 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
749 (woman-tar-extract-file): Autoload it.
750
94ee8db5
GM
751 * frame.el (automatic-hscrolling): Make this alias obsolete.
752
177eca34
AM
7532012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
754
755 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 756 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
757 (ispell-dictionary-base-alist): Revert to original XEmacs
758 friendly version for default. [:alpha:] will be added in
759 `ispell-set-spellchecker-params' if needed
177eca34 760
c505aaeb
CY
7612012-04-16 Chong Yidong <cyd@gnu.org>
762
763 * image.el (imagemagick--extension-regexp): New variable.
764 (imagemagick-register-types): Use it.
765 (imagemagick-types-inhibit): Add :set function. Allow new value
766 of t to inhibit all types.
767
768 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
769 so we can preload it.
770
771 * loadup.el (fboundp): Preload regexp-opt, needed by
772 imagemagick-register-types.
773
60efac0f
CY
7742012-04-15 Chong Yidong <cyd@gnu.org>
775
776 * frame.el (scrolling): Remove nearly unused customization group.
777
778 * scroll-all.el (scroll-all-mode): Move to windows group.
779
5dd1713e
CY
7802012-04-15 Chong Yidong <cyd@gnu.org>
781
782 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
783
e6fd457e
CY
7842012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 787 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 788
e153c136
GM
7892012-04-15 Glenn Morris <rgm@gnu.org>
790
791 * simple.el (process-file-side-effects): Doc fix.
792
e6fd457e 7932012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
794
795 * international/mule-cmds.el (set-language-environment): Doc fix.
796
3603c3b1
JB
7972012-04-14 Juanma Barranquero <lekktu@gmail.com>
798
799 * server.el (server-auth-key, server-generate-key): Doc fixes.
800 (server-get-auth-key): Doc fix. Use `string-match-p'.
801 (server-start): Reflow docstring.
802
e6de100c
LI
8032012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
804
805 * server.el (server-generate-key): `called-interactively-p'
806 requires a parameter.
807
29734c21
MN
8082012-04-14 Michal Nazarewicz <mina86@mina86.com>
809
810 * server.el (server-auth-key): New variable.
75f1671a 811 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
812 (server-start): Use the new variable and functions to allow
813 setting a permanent server key (bug#9423).
814
d65c9521
LL
8152012-04-14 Leo Liu <sdl.web@gmail.com>
816
817 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
818
5ae255c7
PE
8192012-04-14 Paul Eggert <eggert@cs.ucla.edu>
820
821 Spelling fixes.
822 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
823 Emacs uses American spelling.
824
d5e6342e
JB
8252012-04-14 Juanma Barranquero <lekktu@gmail.com>
826
827 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
828 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
829 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
830 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
831
ab036cd7
SM
8322012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * progmodes/which-func.el (which-func-modes): Change default.
835
35dc09a1 8362012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
837
838 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
839 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
840
35dc09a1 8412012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
842
843 * custom.el (custom-theme-set-variables): Doc fix.
844
35dc09a1 8452012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
846
847 * international/mule.el (set-auto-coding-for-load): Doc fix.
848
35dc09a1 8492012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 850
35dc09a1
GM
851 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
852 imenu work again for Objective C Mode. Correct the *-index values,
853 these having been disturbed by a previous change in 2011-08.
57f845ee 854
0de3da9f
AM
855 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
856 Correct two search limits.
857
35dc09a1 8582012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
859
860 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
861
35dc09a1 8622012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
863
864 * international/characters.el: Fix sorting.
865
35dc09a1 8662012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
867
868 * international/characters.el: Add more missing Latin case pairs.
869
35dc09a1 8702012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
871
872 * files.el (dir-locals-set-class-variables): Doc fix.
873
35dc09a1 8742012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 875
3f1b5bf8
EZ
876 * international/characters.el: Add set-case-syntax-pair call for
877 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
878 counterpart. (Bug#11209)
879
9f847f41
EZ
880 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
881
35dc09a1 8822012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
883
884 * calendar/holidays.el (calendar-check-holidays): Doc fix.
885
35dc09a1 8862012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 887
35dc09a1
GM
888 * textmodes/ispell.el (ispell-dictionary-base-alist):
889 Add data for Hebrew.
e2627d21 890
35dc09a1 8912012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 892
35dc09a1
GM
893 * net/rcirc.el (rcirc-cmd-quit):
894 Revert 2012-03-18 change (Bug#11192).
5c14e333 895
35dc09a1 8962012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
897
898 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
899
35dc09a1 9002012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 901
4517fe3a
SM
902 * minibuffer.el (completion-in-region-mode-map):
903 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 904
b472a594
VD
9052012-04-13 Vivek Dasmohapatra <vivek@etla.org>
906
907 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
908
09b95ce3
MY
9092012-04-13 Masatake YAMATO <yamato@redhat.com>
910
911 * minibuffer.el (minibuffer-local-filename-syntax): New variable
912 to allow `C-M-f' and `C-M-b' to move to the nearest path
913 separator (bug#9511).
914
4b63a9ca
LI
9152012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
916
917 * avoid.el: Require cl when compiling. And also move the
918 `provide' to the end.
919
7b55b8bf
TV
9202012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
921
922 * avoid.el (mouse-avoidance-banish-position): New variable.
923 (mouse-avoidance-banish-destination): Use it (bug#10165).
924
adedaa1f
LL
9252012-04-13 Leo Liu <sdl.web@gmail.com>
926
927 * progmodes/which-func.el (which-func-modes): Add objc-mode.
928
70e74021
KB
9292012-04-13 Ken Brown <kbrown@cornell.edu>
930
931 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 932 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
933 (browse-url-filename-alist): For the same reason, don't modify
934 file:// URLs on Cygwin.
935
e75e89ba
SM
9362012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
937
938 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
939 the region on shift if the binding is already shifted (bug#11221).
940
82f289a4
GM
9412012-04-12 Glenn Morris <rgm@gnu.org>
942
943 * mail/mailpost.el: Move to obsolete/.
944
d333dc4c
DA
9452012-04-12 Drew Adams <drew.adams@oracle.com>
946
947 * imenu.el (imenu--generic-function): Ignore invisible definitions
948 (bug#10123).
949
0d15b5ba
VD
9502012-04-12 Vivek Dasmohapatra <vivek@etla.org>
951
952 * hexl.el (hexl-bits): New variable.
953 (hexl-options): Mention the variable in the doc string.
75f1671a 954 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 955 (hexl-mode): Mention the new variable.
75f1671a
JB
956 (hexl-mode, hexl-current-address, hexl-current-address):
957 Use the displen.
0d15b5ba
VD
958 (hexl-ascii-start-column): New function.
959 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
960 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
961
64a440db
AM
9622012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
963
964 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
965 '("-i" ENCODING), in 2 separate command-line arguments, to specify
966 the encoding, as expected by hunspell.
967
6decb6c2
SM
9682012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 * battery.el (battery--linux-sysfs-regexp): New const.
971 (battery-status-function): Use it. Remove yeeloong special case.
972 (battery-yeeloong-sysfs): Remove.
973 (battery-echo-area-format): Remove yeeloong special case.
974
088be6fb
SM
9752012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
976
6622e416
SM
977 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
978 Reported by Noah Friedman.
979
088be6fb
SM
980 * subr.el (read-passwd): Use read-string.
981
b49f886e
LMI
9822012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
983
984 * vcursor.el (vcursor-move): Increase the priority of the overlay
985 (bug#9663).
986
a63067fc
DD
9872012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
988
989 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
990 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
991
ac3cf14a
WS
9922012-04-11 William Stevenson <yhvh2000@gmail.com>
993
994 * textmodes/artist.el (artist-mode): Convert artist-mode to use
995 define-minor-mode (bug#10760).
996
c4fc691b 9972012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 998
4d6769e1 999 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1000 that directories matching `grep-find-ignored-files' won't be
1001 pruned (bug#10351).
1002
af23e2e5
CY
10032012-04-11 Chong Yidong <cyd@gnu.org>
1004
1005 * startup.el (command-line): Remove support for long-obsolete
1006 variable font-lock-face-attributes.
1007
ab7ce8c1
GM
10082012-04-11 Glenn Morris <rgm@gnu.org>
1009
1010 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1011
de8c03dc
SM
10122012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * window.el (window--state-get-1): Obey window-point-insertion-type.
1015
050cc68b
LB
10162012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1017
1018 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1019 to previous function when point is on the first character of a
75f1671a 1020 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1021
a38c310c
GM
10222012-04-11 Glenn Morris <rgm@gnu.org>
1023
effed0c2
GM
1024 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1025 not just file-errors.
1026
a38c310c
GM
1027 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1028 (vc-bzr-sha1): Use internal sha1.
1029
0221e323
SM
10302012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1033
43956923
SG
10342012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1035
1036 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1037 that start in the middle of the line (bug#10496).
1038
6a8c9eaf
DN
10392012-04-10 Dan Nicolaescu <dann@gnu.org>
1040
1041 * battery.el (battery-linux-proc-acpi): Only one battery is
1042 discharged at a time, but that seems to confuse battery.el when
1043 computing `rate-type' for the battery not being discharged
1044 (bug#10332).
1045
1930bf5d
SM
10462012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1047
2a718f6f
SM
1048 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1049
599430d0
SM
1050 * international/quail.el: Use dolist and simplify.
1051 (quail-define-package, quail-update-keyboard-layout)
1052 (quail-define-rules): Use dolist.
1053 (quail-insert-kbd-layout, quail-get-translation): CSE.
1054
a2754b6c
SM
1055 * tmm.el: Use dolist, remove left over hook.
1056 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1057 Use dolist.
1058 (calendar-load-hook): Don't mess with it.
1059
1930bf5d
SM
1060 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1061 Use derived-mode-p. Run the diff asynchronously.
1062
9f67961c
LMI
10632012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1064
1065 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1066
2a8ce227
JB
10672012-04-10 Juanma Barranquero <lekktu@gmail.com>
1068
1069 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1070 (list-dynamic-libraries--loaded): New function.
1071 (list-dynamic-libraries--refresh): Use it.
1072
8f33b5f8
NW
10732012-04-10 Nathan Weizenbaum <nweiz@google.com>
1074
1930bf5d
SM
1075 * progmodes/python.el (python-fill-paragraph):
1076 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1077 disabled (bug#7018).
1078
b12f0439
L
10792012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1080
1930bf5d 1081 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1082 DOS/MS Windows for the Baltic languages. There are still plenty
1083 of texts written in this encoding/codepage (bug#6519).
b12f0439 1084
57c3bd01
GM
10852012-04-10 Glenn Morris <rgm@gnu.org>
1086
1087 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1088 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1089
6c3eab30
FA
10902012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1091
1930bf5d 1092 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1093 next-line "n" and previous-line "p" in order to make recentf more
1094 consistent with ibuffer, dired or org-mode (bug#9387).
1095
24d78a88
LMI
10962012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1097
bc72b5d9
LMI
1098 * image.el (put-image): Return the overlay created instead of the
1099 optional input string (bug#7834). Note that this may break code
1100 that is (for some reason or other) depending on `put-image'
1101 returning the string.
1102
bd2dba5a
LMI
1103 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1104
74beb59f
LMI
1105 * simple.el (zap-to-char): Allow zapping using input methods
1106 (bug#1580).
1107
24d78a88
LMI
1108 * textmodes/fill.el (fill-region): Leave point and mark where they
1109 were before filling (bug#5399).
1110
263f20cd
GM
11112012-04-09 Glenn Morris <rgm@gnu.org>
1112
1113 * version.el (emacs-bzr-get-version):
1114 Handle lightweight checkouts of local branches.
1115
58d1f797
AS
11162012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1117
263f20cd 1118 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1119
b4d3bc10
CY
11202012-04-09 Chong Yidong <cyd@gnu.org>
1121
1122 * custom.el (custom-variable-p): Return nil for non-symbol
1123 arguments instead of signaling an error.
1124 (user-variable-p): Obsolete alias for custom-variable-p.
1125
1126 * apropos.el (apropos-variable):
1127 * files-x.el (read-file-local-variable):
1128 * simple.el (set-variable):
1129 * woman.el (woman-mini-help):
1130 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1131
fd06db5d
GM
11322012-04-09 Glenn Morris <rgm@gnu.org>
1133
e5fcdb5e
GM
1134 * startup.el (normal-top-level): Don't look for leim-list.el
1135 in places where it will not be found. (Bug#910)
1136
fd06db5d
GM
1137 * international/mule-cmds.el (set-default-coding-systems):
1138 * files.el (normal-mode):
1139 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1140 This function was removed with ucs-tables.el in 2008.
1141
b39bb7e1
EZ
11422012-04-08 Eli Zaretskii <eliz@gnu.org>
1143
1144 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1145 ispell-encoding8-command to "-i", without a trailing space.
1146 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1147 separate command-line arguments, to specify the encoding, since
1148 that's how hunspell expects it.
1149
5c5b8e23
GM
11502012-04-08 Glenn Morris <rgm@gnu.org>
1151
1152 * loadup.el: Load bindings before cus-start.
1153 This reduces somewhat the number of "rogue" settings in emacs -Q.
1154
a1ed8b05
GM
11552012-04-07 Glenn Morris <rgm@gnu.org>
1156
1157 * version.el (emacs-bzr-get-version): New function.
dfae128a 1158 (emacs-bzr-version): New variable.
a1ed8b05
GM
1159 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1160 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1161
b142f158
EZ
11622012-04-07 Eli Zaretskii <eliz@gnu.org>
1163
dfae128a
GM
1164 * international/uni-bidi.el, international/uni-category.el:
1165 * international/uni-combining.el, international/uni-decimal.el:
1166 * international/uni-decomposition.el, international/uni-digit.el:
1167 * international/uni-lowercase.el, international/uni-mirrored.el:
1168 * international/uni-name.el, international/uni-numeric.el:
1169 * international/uni-titlecase.el, international/uni-uppercase.el:
1170 Update for Unicode 6.1.
b142f158 1171
9078ead6
EZ
11722012-04-07 Eli Zaretskii <eliz@gnu.org>
1173
1174 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1175
f23d2c7d
LMI
11762012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1177
1178 * window.el (shrink-window): Mention the `window-min-height'
1179 variable in the doc string.
1180
0a0a3573
BG
11812012-04-05 Bastien Guerry <bzg@altern.org>
1182
1183 * color.el (color-lighten-name): Fix typo.
1184
e5248ac9
SM
11852012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1186
1187 * server.el (server--on-display-p): New function.
1188 (server--on-display-p): Use it.
1189
b4243e22
GV
11902012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1191
1192 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1193 (bug#11145).
1194
305d9f44
SM
11952012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * comint.el (comint--common-quoted-suffix): Check string boundary
1198 before comparing (bug#11158).
1199 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1200
3d439cd1
CY
12012012-04-04 Chong Yidong <cyd@gnu.org>
1202
321cc491
CY
1203 * minibuffer.el (completion-extra-properties): Doc fix.
1204
3d439cd1
CY
1205 * subr.el (delayed-warnings-hook): Doc fix.
1206
2d562c0f
DU
12072012-04-04 Daiki Ueno <ueno@unixuser.org>
1208
1209 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1210 selection (Bug#11159).
1211 (epa-insert-keys): Inform that the default public key will be
1212 exported if no key is selected.
1213
4443f204
RS
12142012-04-04 Richard Stallman <rms@gnu.org>
1215
1216 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1217
529c06b6
CY
12182012-04-03 Chong Yidong <cyd@gnu.org>
1219
1220 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1221 mail-insert-file, not its obsolete alias mail-attach-file.
1222
66b907dc
MA
12232012-04-03 Michael Albinus <michael.albinus@gmx.de>
1224
1225 * notifications.el (notifications-notify): Fix docstring.
1226
c0ea195d
GM
12272012-04-02 Glenn Morris <rgm@gnu.org>
1228
1229 * emacs-lisp/authors.el (authors-aliases): Another addition.
1230
5ca64e00
MA
12312012-04-02 Michael Albinus <michael.albinus@gmx.de>
1232
1233 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1234 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1235 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1236
42ee526b
CY
12372012-04-01 Chong Yidong <cyd@gnu.org>
1238
1239 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1240 Handle root directory properly.
1241 (copy-directory): Caller changed.
1242
1243 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1244 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1245
0b021094
GM
12462012-03-31 Glenn Morris <rgm@gnu.org>
1247
40f86458
GM
1248 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1249
7019c177
GM
1250 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1251
a1daddd6
GM
1252 * calendar/calendar.el (calendar-window-list)
1253 (calendar-hide-window): Restore. (Bug#11140)
1254 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1255
0b021094
GM
1256 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1257
40311efc
TV
12582012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1259
1260 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1261 Check if file is a symlink (Bug#10489).
1262
1263 * files.el (copy-directory): Likewise.
1264
5319014e
CY
12652012-03-30 Chong Yidong <cyd@gnu.org>
1266
1267 * image.el (imagemagick-types-inhibit)
1268 (imagemagick-register-types): Doc fix.
1269
935d1290
AM
12702012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1271
ef24141c
SM
1272 * ispell.el (ispell-get-extended-character-mode):
1273 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1274 and treats ~word as ordinary words in pipe mode.
935d1290 1275
61c6e8fd
GM
12762012-03-30 Glenn Morris <rgm@gnu.org>
1277
1278 * tutorial.el (help-with-tutorial): Ensure local variables don't
1279 happen to make the buffer read-only. (Bug#11127)
1280
81fdff00
SM
12812012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1284 (perl-calculate-indent): Return `noindent' in strings.
1285
6e7a6ec0
SS
12862012-03-28 Sam Steingold <sds@gnu.org>
1287
1288 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1289 instead of the broken adhockery which does not prevent calendar
1290 buffers from being displayed at random after exit.
1291 (calendar-window-list, calendar-hide-window): Remove the broken
1292 adhockery.
1293
fee88ca0
GM
12942012-03-28 Glenn Morris <rgm@gnu.org>
1295
1296 * replace.el (query-replace-map): Doc fix.
1297
38de3354
AS
12982012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1299
1300 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1301 contents. (Bug#11109)
1302
b973155e
SM
13032012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1306 (bug#11077).
1307 (avl-tree--check, avl-tree--check-node): New funs.
1308
dcb6e7b3
MR
13092012-03-27 Martin Rudalics <rudalics@gmx.at>
1310
1311 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1312 (switch-to-prev-buffer, switch-to-next-buffer):
1313 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1314 showing a buffer already is done on the same frame.
1315
b4fa35fa
GM
13162012-03-27 Glenn Morris <rgm@gnu.org>
1317
1318 * startup.el (mail-host-address): Doc fix.
1319
f9210e18
SM
13202012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1323 than 197 variables.
1324
c0bf7753
AF
13252012-03-26 Ami Fischman <ami@fischman.org>
1326
1327 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1328
33da7b16
GM
13292012-03-26 Glenn Morris <rgm@gnu.org>
1330
02243d9d
GM
1331 * files.el (save-buffers-kill-emacs): Doc fix.
1332
33da7b16
GM
1333 * startup.el (normal-top-level, command-line, command-line-1):
1334 Give them doc strings.
1335
e5a69fd0
EZ
13362012-03-25 Eli Zaretskii <eliz@gnu.org>
1337
1338 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1339 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1340
9a69676a
CY
13412012-03-25 Chong Yidong <cyd@gnu.org>
1342
4125cb8b
CY
1343 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1344 theme if it was previously enabled before (Bug#11031).
1345
dd470960
CY
1346 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1347 spec with custom-face-get-current-spec if its :shown-value is not
1348 determined yet (Bug#9337).
4125cb8b 1349 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1350
9a69676a
CY
1351 * button.el (button-at): Minor addition to docstring.
1352
6e7e90fa
SL
13532012-03-24 Simon Leinen <simon.leinen@gmail.com>
1354
1355 * vc/vc.el (vc-merge): Fix a prompt.
1356
f06e2758
CY
13572012-03-24 Chong Yidong <cyd@gnu.org>
1358
1359 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1360 point (Bug#9623).
1361
6e7e90fa
SL
1362 * button.el (button-at): Minor addition to docstring.
1363
b9d0879b
SM
13642012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1365
1366 * newcomment.el (comment-choose-indent): No space after BOL.
1367
e71cebb3
SS
13682012-03-22 Sam Steingold <sds@gnu.org>
1369
1370 * window.el (switch-to-prev-buffer): Revert last patch because the
1371 bug turned out to be an advertised feature (Elisp manual 28.14).
1372
335aff35
GM
13732012-03-22 Glenn Morris <rgm@gnu.org>
1374
1375 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1376 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1377
c676576a
LMI
13782012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1379
1380 * net/network-stream.el (network-stream-open-starttls): Make error
1381 message under Windows be less misleading.
1382
126f3d39
LW
13832012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1384
1385 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1386 understands (bug#9942).
1387
64fee311
CY
13882012-03-22 Chong Yidong <cyd@gnu.org>
1389
1390 * simple.el (end-of-visible-line): Handle return value of
1391 next-single-property-change properly (Bug#9371).
1392
a640d29a
KH
13932012-03-22 Kenichi Handa <handa@m17n.org>
1394
1395 * international/quail.el (quail-insert-kbd-layout): Fix previous
1396 change. To avoid unwanted bidi reordering, use
1397 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1398
39675016
DG
13992012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1400
1401 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1402 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1403 (ruby-beginning-of-indent): Be more careful with the difference
1404 between word-boundary and symbol boundary.
1405 (ruby-mode-syntax-table): Make : a symbol constituent.
1406
0a6934fc 14072012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1408
3d008e4f
SM
1409 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1410
0a6934fc
SM
14112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1412
af67c9d7
SM
1413 * progmodes/etags.el (tags-completion-at-point-function):
1414 Improve last fix.
1415
1acad97c
SM
1416 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1417
e298b5da
SS
14182012-03-21 Sam Steingold <sds@gnu.org>
1419
1420 * progmodes/etags.el (tags-completion-at-point-function):
1421 Avoid the error when point is inside the pattern.
1422
91d82a70
JY
14232012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1424
1425 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1426 line (Bug#10855).
1427
69188b79
CY
14282012-03-21 Drew Adams <drew.adams@oracle.com>
1429
1430 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1431
99fc91fe
AK
14322012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1433
1434 * ido.el (ido-set-current-directory, ido-read-internal)
1435 (ido-choose-completion-string, ido-completion-help): Handle nil
1436 value of ido-completion-buffer (Bug#11008).
1437
087bbb4c
SS
14382012-03-21 Sam Steingold <sds@gnu.org>
1439
1440 * window.el (switch-to-prev-buffer): Do not switch to a visible
1441 window previous buffer, just like with the frame previous buffers.
1442
fb5b8aca
CY
14432012-03-21 Chong Yidong <cyd@gnu.org>
1444
1445 * faces.el (make-face, make-empty-face, copy-face):
1446 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1447 Doc fixes.
1448
dc9924b8
SM
14492012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1450
1451 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1452 (widget-complete): Remove broken use of it.
1453
f0bcceb9
CY
14542012-03-20 Chong Yidong <cyd@gnu.org>
1455
dc9924b8
SM
1456 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1457 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1458 characters.
1459
ee52ebf3
TH
14602012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1461
1462 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1463 to draw rectangles, not squares. (Regression introduced by revno
1464 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1465
4c5779ab
CY
14662012-03-18 Chong Yidong <cyd@gnu.org>
1467
1468 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1469 it is not yet defined (for temacs).
1470
15360934
LL
14712012-03-18 Leo Liu <sdl.web@gmail.com>
1472
dc9924b8 1473 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1474
d9a8eb66
EZ
14752012-03-17 Eli Zaretskii <eliz@gnu.org>
1476
1477 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1478 (ispell-choices-win-default-height, ispell-silently-savep)
1479 (ispell-dictionary-alist, ispell-encoding8-command)
1480 (ispell-check-version, ispell-aspell-find-dictionary)
1481 (ispell-valid-dictionary-list, ispell-words-keyword)
1482 (ispell-get-word, ispell-internal-change-dictionary)
1483 (ispell-region, ispell-skip-region-list)
1484 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1485 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1486 (ispell-message-text-end, ispell-message)
1487 (ispell-buffer-local-parsing): Doc fix.
1488
f02ff80d
J
14892012-03-13 Jambunathan K <kjambunathan@gmail.com>
1490
1491 * htmlfontify.el: Add support for code block fontification for ODT
1492 export (Bug #9914).
1493 (hfy-optimisations): Define new option
1494 `body-text-only'
1495 (hfy-fontify-buffer): Honor above setting.
1496 (hfy-begin-span, hfy-end-span): New routines factored out form
1497 `hfy-fontify-buffer'.
1498 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1499 that permit insertion of custom tags.
1500 (hfy-fontify-buffer): Use above handlers.
1501 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1502 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1503 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1504 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1505 bind a special variable `hfy-user-sheet-assoc'.
1506 (htmlfontify-string): New defun.
1507 (hfy-compile-face-map): Make sure that the last char in the
1508 buffer is correctly fontified.
1509 (hfy-face-resolve-face): Whitespace only change.
1510
9ac7a13f
EZ
15112012-03-17 Eli Zaretskii <eliz@gnu.org>
1512
1513 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1514 message more clear.
1515
e2b5bdd7
LL
15162012-03-16 Leo Liu <sdl.web@gmail.com>
1517
1518 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1519
2e492df3
AM
15202012-03-16 Alan Mackenzie <acm@muc.de>
1521
1522 Further optimise the handling of large macros.
1523
1524 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1525 limit to a call of `c-literal-limits'.
1526 (c-determine-+ve-limit): New function.
dc9924b8
SM
1527 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1528 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1529 In CASE 5B, restrict a search limit to 500.
1530 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1531
1532 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1533 Restrict macro bounds to +-500 from after-change's BEG END.
1534
50e94f0c
LL
15352012-03-16 Leo Liu <sdl.web@gmail.com>
1536
1537 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1538
6f09f6ed
AH
15392012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1540
1541 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1542 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1543
c7e73d51
GM
15442012-03-16 Glenn Morris <rgm@gnu.org>
1545
da986230
GM
1546 * view.el (view-buffer, view-buffer-other-window)
1547 (view-buffer-other-frame): Doc fixes re special mode-class.
1548
0835f01e
GM
1549 * subr.el (eval-after-load): If named feature is provided not from
1550 a file, run after-load forms. (Bug#10946)
1551
c7e73d51
GM
1552 * calendar/calendar.el (calendar-insert-at-column):
1553 Handle non-unit-width characters a bit better. (Bug#10978)
1554
3f2eafd1
CY
15552012-03-15 Chong Yidong <cyd@gnu.org>
1556
1557 * emacs-lisp/ring.el (ring-extend): New function.
1558 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1559
1560 * comint.el (comint-read-input-ring)
1561 (comint-add-to-input-history): Grow comint-input-ring lazily.
1562
103af3fe
SM
15632012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1564
663b1677
SM
1565 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1566 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1567
103af3fe
SM
1568 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1569 (imenu-add-to-menubar): Don't add a redundant index.
1570 (imenu-update-menubar): Handle a dynamically composed keymap.
1571
899cb7cb
KY
15722012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1573
1574 * mail/sendmail.el (mail-encode-header):
1575 Bind rfc2047-encode-encoded-words to nil.
1576
3809f91d
GM
15772012-03-13 Glenn Morris <rgm@gnu.org>
1578
1579 * calendar/calendar.el (calendar-string-spread):
1580 Handle non-unit-width characters a bit better. (Bug#10978)
1581
9e345a01
LL
15822012-03-13 Leo Liu <sdl.web@gmail.com>
1583
1584 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1585 directory and file as argument (Bug#10822).
1586
4a07df36
KS
15872012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1588
1589 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1590 For dynamically generated code, follow $PC.
1591 (gdb-disassembly-handler-custom): Handle no function name case.
1592
4aaa9356
TL
15932012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1594
1595 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1596 * emulation/ws-mode.el (ws-query-replace):
1597 * sort.el (sort-regexp-fields):
1598 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1599
225979da
SM
16002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * dabbrev.el: Fix cycle completion order (bug#10963).
1603 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1604 (dabbrev-completion): Don't use an obarray; provide
1605 a cycle-sort-function.
1606
e2f1fdab
LL
16072012-03-12 Leo Liu <sdl.web@gmail.com>
1608
dc9924b8 1609 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1610 (kill-do-not-save-duplicates): Doc fix.
1611
b19490ed
SM
16122012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * dabbrev.el: Fix cycle completion (bug#10963).
1615 Use lexical binding and wrap to 80 columns.
1616 (dabbrev-completion): Delay computing the list of completions.
1617
4b05d722
KH
16182012-03-12 Kenichi Handa <handa@m17n.org>
1619
1620 * international/quail.el (quail-insert-kbd-layout): Surround each
1621 row by LRO and PDF instead of inserting many LRMs. Pad the left
1622 and right of each non-spacing marks. Insert invisible space
1623 between lower and upper characters to prevent composition.
1624
dbbc2e69
SM
16252012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * minibuffer.el (minibuffer-complete): Don't get confused when the
1628 function is run twice via different commands (bug#10958).
1629 (complete-with-action): Fix docstring.
1630
292112ed
CY
16312012-03-12 Chong Yidong <cyd@gnu.org>
1632
5d1ac394
CY
1633 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1634 (nxml-completion-at-point-function): New function.
1635 (nxml-mode): Use it.
1636 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1637
292112ed
CY
1638 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1639 Load generated autoloads file before byte compiling (Bug#10970).
1640 (package--make-autoloads-and-compile): New helper fun.
1641
4098f8f7
CS
16422012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1643
1644 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1645
8f754691
MA
16462012-03-11 Michael Albinus <michael.albinus@gmx.de>
1647
1648 * autorevert.el (auto-revert-handler): Ensure, that
1649 file-readable-p is applied only for local files or in
1650 auto-revert-tail-mode.
1651
e29ab36b
AS
16522012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1653
dbbc2e69
SM
1654 * server.el (server-eval-at): Handle non-tcp connections.
1655 Decode result string.
ad0bf5b6 1656
e29ab36b
AS
1657 * server.el (server-msg-size): New constant.
1658 (server-reply-print): New function.
1659 (server-eval-and-print): Use it.
1660 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1661 Handle -print-nonl.
1662
de5939ba
CS
16632012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1664
1665 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1666 (Bug#10987).
1667
0c93eabf
CY
16682012-03-11 Chong Yidong <cyd@gnu.org>
1669
397a688f
CY
1670 * simple.el (goto-line): Doc fix (Bug#9938).
1671
2cc775f9
CY
1672 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1673
0c93eabf
CY
1674 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1675 when finished (Bug#10963).
1676
c491fa41
MR
16772012-03-11 Martin Rudalics <rudalics@gmx.at>
1678
1679 * window.el (split-window-below): Fix bug in case where
1680 split-window-keep-point is nil (Bug#10971).
1681
300e8fa5
JL
16822012-03-11 Juri Linkov <juri@jurta.org>
1683
1684 * replace.el (replace-highlight): Set isearch-word to nil
1685 unconditionally. (Bug#10887)
1686
dbf6c5a1
EZ
16872012-03-10 Eli Zaretskii <eliz@gnu.org>
1688
1689 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1690 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1691 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1692 (mairix-widget-create-query): Add usage information about mairix
1693 search forms: negating words, searching for substrings, etc.
1694
b9e501de
JP
16952012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1696
1697 * international/fontset.el (font-encoding-alist): Add an entry for
1698 ksx1001 (Bug#5667).
1699
92795c91
RS
17002012-03-10 Richard Stallman <rms@gnu.org>
1701
1694e6c1
RS
1702 * mail/sendmail.el (mail-encode-header):
1703 Set rfc2047-encode-encoded-words.
1704
607e8555
RS
1705 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1706
de3bc99a
RS
1707 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1708 view buffer means not swapped.
1709 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1710 (rmail-write-region-annotate): Error if real text has disappeared.
1711
92795c91
RS
1712 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1713
699bd04e
CY
17142012-03-10 Chong Yidong <cyd@gnu.org>
1715
1716 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1717 * emulation/cua-base.el (cua--init-keymaps):
1718 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1719
570a1714
MR
17202012-03-10 Martin Rudalics <rudalics@gmx.at>
1721
dbbc2e69
SM
1722 * speedbar.el (speedbar-unhighlight-one-tag-line):
1723 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1724
82dcf4e4
CY
17252012-03-10 Chong Yidong <cyd@gnu.org>
1726
7a2c7ca7
CY
1727 * minibuffer.el (completion-in-region, completion-help-at-point):
1728 Give the completion field overlay a high priority (Bug#6830).
1729
82dcf4e4
CY
1730 * dired.el (dired-goto-file): Recognize absolute file name
1731 listings (Bug#7126).
1732 (dired-goto-file-1): New helper function.
1733 (dired-toggle-read-only): Inhibit warnings.
1734
052e28ac
MA
17352012-03-09 Michael Albinus <michael.albinus@gmx.de>
1736
75f1671a 1737 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1738 there are no properties.
1739
95d5e396
LL
17402012-03-09 Leo Liu <sdl.web@gmail.com>
1741
1742 * savehist.el (savehist-printable): Stricter check for string
1743 value (Bug#10937).
1744
3f018d6d
EZ
17452012-03-09 Eli Zaretskii <eliz@gnu.org>
1746
dbbc2e69
SM
1747 * mail/smtpmail.el (smtpmail-send-it):
1748 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1749 valid mbox format.
1750
f7fd3d79
GM
17512012-03-09 Glenn Morris <rgm@gnu.org>
1752
1753 * files.el (dir-locals-find-file):
1754 Don't check result is regular, readable.
1755 (dir-locals-read-from-file): Demote errors.
1756
6ff6e72f
EZ
17572012-03-08 Eli Zaretskii <eliz@gnu.org>
1758
dbbc2e69
SM
1759 * international/quail.el (quail-insert-kbd-layout):
1760 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1761 layout cell, to prevent their reordering by bidi display engine.
1762 For details, see the discussion in
1763 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1764
9cec7834
AM
17652012-03-08 Alan Mackenzie <acm@muc.de>
1766
1767 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1768 the starting position; make it extend the marked region when
1769 invoked repeatedly - all under appropriate circumstances.
1770 Fixes bugs #5525, #10906.
1771
9a40b8d4
GM
17722012-03-08 Glenn Morris <rgm@gnu.org>
1773
1774 * files.el (locate-dominating-file, dir-locals-find-file):
1775 Undo 2012-03-06 change.
1776
7a08ed35
EZ
17772012-03-07 Eli Zaretskii <eliz@gnu.org>
1778
dbbc2e69
SM
1779 * international/quail.el (quail-help):
1780 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1781 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1782 for the reason.
1783
5aca4f71 17842012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1785
1786 Avoid superfluous registering of signals. (Bug#10807)
1787
1788 * notifications.el (notifications-on-action-object)
1789 (notifications-on-close-object): New defvars.
1790 (notifications-on-action-signal, notifications-on-closed-signal):
1791 Unregister the signal if not needed any longer.
1792 (notifications-notify): Register `notifications-action-signal' or
1793 `notifications-closed-signal', if :on-action or :on-close has been
1794 passed as argument.
1795
78e8b10a
CY
17962012-03-07 Chong Yidong <cyd@gnu.org>
1797
1798 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1799 non-X platforms.
1800
69481eb8
GM
18012012-03-06 Glenn Morris <rgm@gnu.org>
1802
1803 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1804 (x-disown-selection-internal, x-get-selection-internal):
1805 Doc fix (add arglist signatures). (Bug#10783)
1806
133b8e11
KS
18072012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1808
1809 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1810 Handle breakpoints with no "type".
1811
99a83064
GM
18122012-03-06 Glenn Morris <rgm@gnu.org>
1813
1814 * files.el (locate-dominating-file): Add optional predicate argument.
1815 (dir-locals-find-file): Make use of above change.
1816
17798e78
TTN
18172012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1818
1819 * info.el (Info-insert-dir): Also try "dir.gz".
1820
eb182446
GM
18212012-03-06 Glenn Morris <rgm@gnu.org>
1822
8f2114ee
GM
1823 * files.el (dir-locals-find-file):
1824 Ignore non-readable or non-regular files. (Bug#10928)
1825
eb182446
GM
1826 * files.el (locate-dominating-file): Doc fix.
1827
24679323
AS
18282012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1829
1830 * calendar/calendar.el (calendar-set-mode-line):
1831 `getenv' returns a string. (Bug#10951)
1832
01d972a9
LL
18332012-03-05 Leo Liu <sdl.web@gmail.com>
1834
109aa8a9
LL
1835 * simple.el (backward-delete-char-untabify): Constrain point to
1836 field (Bug#10939).
1837
01d972a9
LL
1838 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1839
10607bea
CY
18402012-03-05 Chong Yidong <cyd@gnu.org>
1841
1842 * simple.el (count-words): If called from Lisp, return the word
1843 count, for symmetry with `count-lines'. Arglist changed.
1844 (count-words--message): Args changed. Consolidate counting code
1845 from count-words and count-words-region.
1846 (count-words-region): Caller changed.
1847 (count-lines-region): Make it an obsolete alias.
1848
5dd11cfe
TH
18492012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1850
1851 * saveplace.el (save-place-to-alist)
1852 (save-place-ignore-files-regexp): Allow value nil to disable this
1853 feature.
1854
c349f4e6
CY
18552012-03-04 Chong Yidong <cyd@gnu.org>
1856
1857 * faces.el (face-spec-reset-face): For the default face, reset the
1858 attributes to default values (Bug#10748).
1859
e627be4c
LMI
18602012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1861
1862 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1863 previous patch: Check `message-send-mail-function', and not the
1864 default function (bug#10897).
1865
ebeabff4
MA
18662012-03-04 Michael Albinus <michael.albinus@gmx.de>
1867
a41a6cf4
MA
1868 * notifications.el (notifications-on-action-signal)
1869 (notifications-on-closed-signal): Check for unique service name of
1870 incoming event. Fix error in removing entry.
ebeabff4 1871 (top): Register for signals with wildcard service name.
a41a6cf4 1872 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1873
c1ca42b4
CY
18742012-03-04 Chong Yidong <cyd@gnu.org>
1875
dc9924b8 1876 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1877
ea16568d
GM
18782012-03-04 Glenn Morris <rgm@gnu.org>
1879
1880 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1881 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1882 (expand-abbrev, define-abbrev-table): Doc fixes.
1883
fbae4637
LMI
18842012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1885
1886 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1887 `message-default-send-mail-function' and not `send-mail-function'
1888 when doing the prompting for `sendmail-query-once' before sending
1889 in Message buffers (bug#10897).
1890
a1e7225c
LMI
1891 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1892 This is inconsistent with all the other stream functions, which leave
1893 the setting up to the higher levels (if so wanted) (bug#10931).
1894
56d093a9
AM
18952012-03-02 Alan Mackenzie <acm@muc.de>
1896
1897 Depessimize the handling of very large macros.
1898
1899 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1900 (c-macro-cache-syntactic): New variables to implement a one
1901 element macro cache.
1902 (c-invalidate-macro-cache): New function.
1903 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1904 Adapt to use the new cache.
1905 (c-state-safe-place): Use better the cache of safe positions.
1906 (c-state-semi-nonlit-pos-cache)
1907 (c-state-semi-nonlit-pos-cache-limit):
1908 New variables for...
1909 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1910 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1911 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1912 Use c-state-semi-safe-place.
56d093a9 1913
dbbc2e69
SM
1914 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1915 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1916
817e5c3d
MA
19172012-03-02 Michael Albinus <michael.albinus@gmx.de>
1918
dbbc2e69
SM
1919 * jka-compr.el (jka-compr-call-process):
1920 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1921 not remote.
1922
a032a702
MA
19232012-03-01 Michael Albinus <michael.albinus@gmx.de>
1924
1925 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1926 access of FILE2, if FILE1 does not exist.
1927
99a54f21
MA
1928 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1929 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1930
1931 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1932 Add "PAGER=" to `process-environment'.
1933
f6561e1f
MM
19342012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1935
1936 * progmodes/sql.el: Bug fix
1937 (sql-get-login-ext): Save login values in globals.
1938 (sql-get-login): Use new version of `sql-get-login-ext'.
1939 (sql-interactive-mode): Set global `sql-connection' to nil.
1940 (sql-connect): Set global values for connection.
1941 (sql-product-interactive): Save global values as buffer local.
1942
2d44d9cc
LL
19432012-02-29 Leo Liu <sdl.web@gmail.com>
1944
1945 * abbrev.el (define-abbrevs): Reset sys to nil.
1946
96b49301 19472012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1948
bf7f9bc5
JB
1949 * files.el (file-equal-p): Rename from `files-equal-p'.
1950 Return nil when one or both files don't exist.
96b49301 1951 (file-subdir-of-p): Now only top directory must exists,
1952 return nil if it doesn't.
bf7f9bc5
JB
1953 (copy-directory): No need to test with `file-subdir-of-p' after
1954 creating dir.
1955 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1956 to `file-equal-p'.
96b49301 1957
44e97401
GM
19582012-02-28 Glenn Morris <rgm@gnu.org>
1959
1960 * shell.el (shell-mode):
1961 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1962 * play/landmark.el (landmark-font-lock-face-O):
1963 * play/handwrite.el (handwrite):
1964 * play/gomoku.el (gomoku-O):
1965 * net/browse-url.el (browse-url-browser-display):
1966 * international/mule.el (define-charset):
1967 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1968 * filesets.el (filesets-find-file-delay):
1969 * eshell/em-xtra.el (eshell-xtra):
1970 * eshell/em-unix.el (eshell-grep):
1971 * emulation/viper.el (viper-mode):
1972 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1973 * emacs-lisp/easymenu.el (easy-menu-define):
1974 * calendar/timeclock.el (timeclock-use-display-time):
1975 * bs.el (bs-mode):
1976 * bookmark.el (bookmark-save-flag):
1977 Doc fix (standardize possessive apostrophe usage).
1978
c98c6276
CY
19792012-02-27 Chong Yidong <cyd@gnu.org>
1980
bf7f9bc5
JB
1981 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1982 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1983
c98c6276
CY
1984 * font-lock.el (font-lock-specified-p): Rename from
1985 font-lock-spec-present. Callers changed.
1986
9c62cd04 19872012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1988
bf7f9bc5
JB
1989 * emacs-lisp/package.el (package-compute-transaction):
1990 Handle holding a package version to t in package-load-list.
8ac9e529 1991
530739c9
MA
19922012-02-26 Michael Albinus <michael.albinus@gmx.de>
1993
1994 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1995 (tramp-get-inode, tramp-get-device): Use cached values.
1996
487915d7
AM
19972012-02-26 Alan Mackenzie <acm@muc.de>
1998
1999 Check there is a font-lock specification before doing initial
2000 fontification.
2001
2002 * font-core.el (font-lock-mode): Move the conditional from
2003 :after-hook to font-lock-initial-fontify.
2004 (font-lock-default-function): Move the check for a specification
2005 to font-lock-spec-present.
2006
dc9924b8 2007 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2008 (font-lock-spec-present): New function.
2009
4fd96557
JB
20102012-02-26 Jim Blandy <jimb@red-bean.com>
2011
2012 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2013 (gdb-send): Apply it to the operand of the '-interpreter-exec
2014 console' command, so that we can pass arguments with (say) quotes
2015 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2016
9a4888c0
CY
20172012-02-26 Chong Yidong <cyd@gnu.org>
2018
07498861
CY
2019 * help-fns.el (describe-function-1): Clarify description of
2020 remapping (Bug#10844).
2021
9a4888c0
CY
2022 * files.el (files-equal-p): Doc fix.
2023 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2024 and quit the loop once a mismatch is found.
2025
ea8fb88d
JB
20262012-02-25 Juanma Barranquero <lekktu@gmail.com>
2027
2028 * bs.el (bs--show-with-configuration): Don't throw an error
2029 if the window cannot be split; otherwise, subsequent calls to
2030 bs-show fail, restoring a stale window config. (Bug#10882)
2031
525795c1
JD
20322012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2033
2034 * term/ns-win.el (global-map): Bind ns-drag-file to
2035 ns-find-file (Bug#5855, Bug#10050).
2036
f008086f
AS
20372012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2038
2039 * calendar/parse-time.el (parse-time-string): Allow extractor to
2040 return nil.
2041
a3fcfa99
MA
20422012-02-25 Michael Albinus <michael.albinus@gmx.de>
2043
91027d08
JB
2044 * net/tramp.el (tramp-file-name-for-operation):
2045 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2046
2047 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2048 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2049 Add COPY-CONTENTS argument.
a3fcfa99 2050
67b0de11
CY
20512012-02-25 Chong Yidong <cyd@gnu.org>
2052
2053 Add custom groups for VC backends, for consistency with vc-bzr.
2054
2055 * vc/vc-arch.el (vc-arch):
2056 * vc/vc-cvs.el (vc-cvs):
2057 * vc/vc-git.el (vc-git):
2058 * vc/vc-hg.el (vc-hg):
2059 * vc/vc-mtn.el (vc-mtn):
2060 * vc/vc-rcs.el (vc-rcs):
2061 * vc/vc-sccs.el (vc-sccs):
2062 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2063 All relevant defcustoms reassigned.
2064
3c9dfce6
CY
20652012-02-25 Chong Yidong <cyd@gnu.org>
2066
1339bf43
CY
2067 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2068
3c9dfce6
CY
2069 * term/x-win.el (x-initialize-window-system): Reduce default for
2070 x-selection-timeout to 5 seconds (Bug#8869).
2071
25b2e303 20722012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2073
ec70a47d
GM
2074 * files.el (files-equal-p, file-subdir-of-p): New functions.
2075 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2076 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2077 * dired-aux.el (dired-copy-file-recursive): Same.
2078 (dired-create-files): Modify destination when source is equal to
2079 dest when copying files.
53a46cd0 2080 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2081
914260cd
MA
20822012-02-24 Michael Albinus <michael.albinus@gmx.de>
2083
2084 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2085 (Bug#10874)
2086
2cb228f7
AM
20872012-02-23 Alan Mackenzie <acm@muc.de>
2088
2089 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2090 parameter "after-hook:" to allow the expansion to run code after
2091 the execution of the mode hooks.
2092
2093 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2094 from font-lock-mode-internal.
2cb228f7 2095
91027d08 2096 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2097 :after-hook.
2098
8f0fde21
SM
20992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2100
3e88618b
SM
2101 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2102 (completion--cache-all-sorted-completions): New function.
2103 (completion-all-sorted-completions): Use it.
2104 (completion--do-completion, minibuffer-force-complete):
2105 Use it to re-instate the flush hook.
2106
8f0fde21
SM
2107 * icomplete.el (icomplete-completions): Replace last fix with a better
2108 one (bug#10850).
2109
8e911f6f
DG
21102012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2111
2112 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2113 when it might call us back infinitely (bug#10797).
2114
49fe4321
GM
21152012-02-23 Glenn Morris <rgm@gnu.org>
2116
2117 * minibuffer.el (completion-category-overrides): Doc fix.
2118
b291b572
SM
21192012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2122 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2123
31a9ef2e
GM
21242012-02-23 Glenn Morris <rgm@gnu.org>
2125
5e6e6794 2126 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2127 (authors-obsolete-files-regexps, authors-ignored-files)
2128 (authors-ambiguous-files, authors-renamed-files-alist):
2129 Add more entries.
2130
0bd1e074
JL
21312012-02-23 Juri Linkov <juri@jurta.org>
2132
2133 * isearch.el (isearch-occur): Sync interactive spec with occur's
2134 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2135
b617673c
JL
2136 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2137
19e9789e
JL
21382012-02-22 Juri Linkov <juri@jurta.org>
2139
2140 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2141 (ucs-insert): Doc fix. Check for hex digits in the string.
2142 Don't display `nil' in the error message. (Bug#10857)
2143
f41ce09d
AM
21442012-02-22 Alan Mackenzie <acm@muc.de>
2145
7a71b18d 2146 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2147
ac2eceee
GM
21482012-02-22 Glenn Morris <rgm@gnu.org>
2149
2150 * ffap.el (ffap-c-path):
2151 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2152
abd1f678
CY
21532012-02-22 Chong Yidong <cyd@gnu.org>
2154
2155 * custom.el (load-theme): Doc fix.
2156
f25aef2e
GM
21572012-02-22 Glenn Morris <rgm@gnu.org>
2158
2159 * dired-x.el (dired-guess-shell-alist-default):
2160 Remove escape sequences from nroff output. (Bug#172)
2161
5f8dc2ca
GM
21622012-02-21 Glenn Morris <rgm@gnu.org>
2163
6ff86ec4
GM
2164 * vc/emerge.el (emerge-defvar-local):
2165 Set `permanent-local' property rather than unused `preserved'.
2166
be3223a3 2167 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2168 (picture-mode-map): Use it. (Bug#10860)
2169 (picture-mode): Doc fix.
2170
3fe58f4f
JB
21712012-02-21 Juanma Barranquero <lekktu@gmail.com>
2172
2173 * newcomment.el (uncomment-region-default): Remove unused binding.
2174
f9a998c3
GM
21752012-02-21 Glenn Morris <rgm@gnu.org>
2176
2177 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2178 (picture-self-insert, picture-tab-chars): Doc fix.
2179 (picture-mode-map): Fix C-a, C-e.
2180
c6029348
GM
21812012-02-20 Glenn Morris <rgm@gnu.org>
2182
2183 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2184
ab1ce9d7
LL
21852012-02-20 Leo Liu <sdl.web@gmail.com>
2186
2187 * icomplete.el (icomplete-completions): Check FROM arg before
2188 passing to substring (Bug#10850).
2189
0fd40f89
CY
21902012-02-19 Chong Yidong <cyd@gnu.org>
2191
2192 * comint.el: Require ansi-color.
2193 (comint-output-filter-functions): Add ansi-color-process-output.
2194
2195 * ansi-color.el: Don't set comint-output-filter-functions; it is
2196 now in the initial value defined in comint.el.
2197 (ansi-color-apply-face-function): New variable.
2198 (ansi-color-apply-on-region): Use it.
2199 (ansi-color-apply-overlay-face): New function.
2200
2201 * shell.el (shell): No need to require ansi-color.
2202 (shell-mode): Use ansi-color-apply-face-function to highlight
2203 color escapes using font-lock-face property (Bug#10835).
2204
20af2394
CY
22052012-02-19 Chong Yidong <cyd@gnu.org>
2206
2207 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2208 mode-line formats (Bug#10839).
2209
e23a3fbe
GM
22102012-02-18 Glenn Morris <rgm@gnu.org>
2211
b474519e
GM
2212 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2213
2214 * mail/undigest.el (unforward-rmail-message): Doc fix.
2215
e23a3fbe
GM
2216 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2217
57939ff4
EZ
22182012-02-18 Eli Zaretskii <eliz@gnu.org>
2219
2220 * international/characters.el (script-list): Sync with the latest
2221 Unicode Character Database.
2222
0c23686e
AS
22232012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2224
2225 * international/titdic-cnv.el: Remove duplicate coding tag.
2226 * language/cham.el: Likewise.
2227 * language/tai-viet.el: Likewise.
2228
6818b449
GM
22292012-02-18 Glenn Morris <rgm@gnu.org>
2230
2231 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2232 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2233 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2234 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2235 * calendar/holidays.el (holiday-bahai-holidays)
2236 (calendar-holidays, list-holidays):
2237 Use utf-8 Bahá'í in doc-strings, menus, etc.
2238
0311a3fc
TH
22392012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2240
2241 * saveplace.el (save-place-ignore-files-regexp): New variable
2242 allowing for excluding files from saving their location of point.
2243 The default value matches the temporary commit message editing
2244 files from Git, SVN, Bazaar, and Mercurial.
2245 (save-place-to-alist): Use it.
2246
eb864a71
LM
22472012-02-17 Lawrence Mitchell <wence@gmx.li>
2248 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * newcomment.el (uncomment-region-default): Don't leave extra space
2251 when an arg is provided (bug#8150).
2252
ee0ce425
TZ
22532012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2254
eb864a71 2255 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2256
95ddf442
GM
22572012-02-17 Glenn Morris <rgm@gnu.org>
2258
2259 * net/socks.el: Require network-stream. (Bug#10599)
2260
48dd1e39 22612012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2262
2263 * international/charprop.el:
2264 * international/uni-name.el:
2265 * international/uni-old-name.el:
2266 * international/uni-comment.el: Regenerate.
2267
d68cd087
GM
22682012-02-16 Glenn Morris <rgm@gnu.org>
2269
2270 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2271 Interactively in calendar buffer, give an error if not on a date.
2272
13932042
GM
22732012-02-15 Glenn Morris <rgm@gnu.org>
2274
2275 * shell.el (shell-delimiter-argument-list):
2276 Revert 2011-02-17 change. (Bug#8027)
2277
c3a70e2b
CY
22782012-02-15 Chong Yidong <cyd@gnu.org>
2279
60236b0d
CY
2280 * minibuffer.el (completion-at-point-functions): Doc fix.
2281
c3a70e2b
CY
2282 * custom.el (defcustom): Doc fix; note use of defvar.
2283
9f26dc24
GM
22842012-02-15 Glenn Morris <rgm@gnu.org>
2285
2286 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2287 Doc fixes.
2288
6546b134
GM
22892012-02-14 Glenn Morris <rgm@gnu.org>
2290
2291 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2292
d29b2b4c
LI
22932012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2294
2295 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2296 way the ports list is computed.
835bdcba
LI
2297 (smtpmail-query-smtp-server): Prompt the user for a port number if
2298 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2299
08dcdbc9
TZ
23002012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2301
2302 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2303
2605051a
GM
23042012-02-13 Glenn Morris <rgm@gnu.org>
2305
2306 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2307
7ee99f32
TZ
23082012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2309
2310 * net/gnutls.el (gnutls-trustfiles): New variable.
2311 (gnutls-negotiate): Use it.
2312
5f0af64f
LI
23132012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2314
2315 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2316 does its stuff if Gnus is running.
2317
c14fcc95
AM
23182012-02-13 Alan Mackenzie <acm@muc.de>
2319
2320 Fix a loop in c-set-fl-decl-start.
2321
7a71b18d 2322 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2323 c-backward-syntactic-ws actually moves backwards.
2324
142b4d90
LL
23252012-02-13 Leo Liu <sdl.web@gmail.com>
2326
2327 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2328 beginning so that all \C-o chars are removed.
2329
fa9958a6
TZ
23302012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2331
dc9924b8 2332 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2333
0bc5886a
AM
23342012-02-12 Alan Mackenzie <acm@muc.de>
2335
2336 Fix infinite loop with long macros.
4d6769e1 2337 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2338
d4bd55e7
CY
23392012-02-12 Chong Yidong <cyd@gnu.org>
2340
2341 * window.el (display-buffer): Doc fix (Bug#10785).
2342
66f3fe22
GM
23432012-02-12 Glenn Morris <rgm@gnu.org>
2344
bd7da63e
GM
2345 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2346 (x-disown-selection-internal, x-get-selection-internal):
2347 Sync docs with the xselect.c versions.
2348
66f3fe22
GM
2349 * allout-widgets.el: Add missing license notice.
2350
3e0d2fa7
GM
23512012-02-11 Glenn Morris <rgm@gnu.org>
2352
cfecdf09
GM
2353 * select.el (x-get-selection-internal, x-own-selection-internal)
2354 (x-disown-selection-internal):
2355 * x-dnd.el (x-get-selection-internal): Update declarations.
2356
6d216d7f
GM
2357 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2358
2bed3f04
GM
2359 * window.el (window-sides-slots):
2360 * tool-bar.el (tool-bar-position):
2361 * term/xterm.el (xterm-extra-capabilities):
2362 * ses.el (ses-self-reference-early-detection):
2363 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2364 (verilog-auto-wire-type)
2365 (verilog-auto-delete-trailing-whitespace)
2366 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2367 (verilog-auto-tieoff-declaration):
2368 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2369 (sql-oracle-statement-starters, sql-oracle-scan-on):
2370 * progmodes/prolog.el (prolog-align-comments-flag)
2371 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2372 (prolog-left-indent-regexp, prolog-paren-indent-p)
2373 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2374 (prolog-types, prolog-mode-specificators)
2375 (prolog-determinism-specificators, prolog-directives)
2376 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2377 (prolog-electric-dot-flag)
2378 (prolog-electric-dot-full-predicate-template)
2379 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2380 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2381 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2382 (prolog-program-switches, prolog-prompt-regexp)
2383 (prolog-debug-on-string, prolog-debug-off-string)
2384 (prolog-trace-on-string, prolog-trace-off-string)
2385 (prolog-zip-on-string, prolog-zip-off-string)
2386 (prolog-use-standard-consult-compile-method-flag)
2387 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2388 (prolog-imenu-max-lines, prolog-info-predicate-index)
2389 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2390 (prolog-char-quote-workaround):
2391 * progmodes/cc-vars.el (c-defun-tactic):
2392 * net/tramp.el (tramp-encoding-command-interactive)
2393 (tramp-local-end-of-line):
2394 * net/soap-client.el (soap-client):
2395 * net/netrc.el (netrc-file):
2396 * net/gnutls.el (gnutls):
2397 * minibuffer.el (completion-category-overrides)
2398 (completion-cycle-threshold)
2399 (completion-pcm-complete-word-inserts-delimiters):
2400 * man.el (Man-name-local-regexp):
2401 * mail/feedmail.el (feedmail-display-full-frame):
2402 * international/characters.el (glyphless-char-display-control):
2403 * eshell/em-ls.el (eshell-ls-date-format):
2404 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2405 (lisp-lambda-list-keyword-parameter-indentation)
2406 (lisp-lambda-list-keyword-parameter-alignment):
2407 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2408 * dired-x.el (dired-omit-verbose):
2409 * cus-theme.el (custom-theme-allow-multiple-selections):
2410 * calc/calc.el (calc-highlight-selections-with-faces)
2411 (calc-lu-field-reference, calc-lu-power-reference)
2412 (calc-note-threshold):
2413 * battery.el (battery-mode-line-limit):
2414 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2415 (archive-7z-update):
2416 * allout.el (allout-prefixed-keybindings)
2417 (allout-unprefixed-keybindings)
2418 (allout-inhibit-auto-fill-on-headline)
2419 (allout-flattened-numbering-abbreviation):
2420 * allout-widgets.el (allout-widgets-auto-activation)
2421 (allout-widgets-icons-dark-subdir)
2422 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2423 (allout-widgets-theme-dark-background)
2424 (allout-widgets-theme-light-background)
2425 (allout-widgets-item-image-properties-emacs)
2426 (allout-widgets-item-image-properties-xemacs)
2427 (allout-widgets-run-unit-tests-on-load)
2428 (allout-widgets-time-decoration-activity)
2429 (allout-widgets-hook-error-post-time)
2430 (allout-widgets-track-decoration):
2431 Add missing :version tags to new defcustoms and defgroups.
2432
5fec1b8e
GM
2433 * progmodes/sql.el (sql-ansi-statement-starters)
2434 (sql-oracle-statement-starters): Add custom type.
2435
3e0d2fa7
GM
2436 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2437 (prolog-system-version): Give it a type.
2438
90b671e2
EZ
24392012-02-11 Eli Zaretskii <eliz@gnu.org>
2440
2441 * term/pc-win.el (x-select-text, x-selection-owner-p)
2442 (x-own-selection-internal, x-disown-selection-internal)
2443 (x-get-selection-internal): Sync doc strings and argument lists
2444 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2445
5eac0c02
LL
24462012-02-11 Leo Liu <sdl.web@gmail.com>
2447
2448 * progmodes/python.el (python-end-of-statement): Fix infinite
2449 loop. (Bug#10788)
2450
f82cb659
GM
24512012-02-10 Glenn Morris <rgm@gnu.org>
2452
2453 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2454 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2455
cc26d239
LI
24562012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2457
2458 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2459 about SMTP before checking the From header.
2460
91027d08 2461 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2462 into own function for reuse by emacsbug.el.
2463
1be3ca5a
LL
24642012-02-10 Leo Liu <sdl.web@gmail.com>
2465
2466 * subr.el (condition-case-unless-debug): Rename from
2467 condition-case-no-debug. All callers changed.
2468 (with-demoted-errors): Fix caller.
2469
2470 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2471 * nxml/rng-valid.el (rng-do-some-validation):
2472 * emacs-lisp/package.el (package-refresh-contents)
2473 (package-menu-execute):
2474 * desktop.el (desktop-create-buffer):
91027d08 2475 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2476
b011fbfe
GM
24772012-02-10 Glenn Morris <rgm@gnu.org>
2478
b2096d72
GM
2479 * textmodes/bibtex.el:
2480 Add missing :version tags for new/changed defcustoms.
2481
b011fbfe
GM
2482 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2483
4c7e65bf
LI
24842012-02-09 Lars Ingebrigtsen <larsi@rusty>
2485
2486 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2487 (smtpmail-via-smtp): Use it, or fall back on the From address.
2488 (smtpmail-send-it): Ditto.
2489
f3934f6f
SM
24902012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2493 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2494 (byte-compile-tmp-var): New const.
2495 (byte-compile-defvar): Use it to minimize .elc size.
2496 Just use `defvar' rather than simulate it (bug#10761).
2497
a075a2c5
GM
24982012-02-09 Glenn Morris <rgm@gnu.org>
2499
cf3aa21b
GM
2500 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2501
354998cd
GM
2502 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2503 Add :version tags.
2504
dc9924b8
SM
2505 * progmodes/compile.el (compilation-error-screen-columns)
2506 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2507
dab3703d
GM
2508 * vc/log-view.el (log-view-toggle-entry-display):
2509 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2510
3f88cd72
GM
2511 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2512 (report-emacs-bug-can-use-xdg-email):
2513 (report-emacs-bug-insert-to-mailer): Doc fixes.
2514 (report-emacs-bug): Message fix.
2515
d95b247d
GM
2516 * net/browse-url.el (browse-url-can-use-xdg-open)
2517 (browse-url-xdg-open): Doc fixes.
2518
a075a2c5
GM
2519 * electric.el (electric-indent-mode, electric-pair-mode)
2520 (electric-layout-rules, electric-layout-mode): Doc fixes.
2521 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2522
ffb6157e
MR
25232012-02-08 Martin Rudalics <rudalics@gmx.at>
2524
2525 * server.el (server-unselect-display): Don't inadvertently kill
2526 the current buffer. (Bug#10729)
2527
e1ac4066
GM
25282012-02-08 Glenn Morris <rgm@gnu.org>
2529
34e8a2da
GM
2530 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2531 (sql-list-table): Doc fixes.
2532
b4ac6e8c
GM
2533 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2534 Comment out (does nothing).
2535
e1ac4066
GM
2536 * completion.el (dynamic-completion-mode):
2537 * dirtrack.el (dirtrack-debug-mode):
2538 * electric.el (electric-layout-mode):
2539 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2540 * face-remap.el (text-scale-mode, buffer-face-mode):
2541 * iimage.el (iimage-mode):
2542 * image-mode.el (image-transform-mode):
2543 * minibuffer.el (completion-in-region-mode):
2544 * scroll-lock.el (scroll-lock-mode):
2545 * simple.el (next-error-follow-minor-mode):
2546 * tar-mode.el (tar-subfile-mode):
2547 * tooltip.el (tooltip-mode):
2548 * vcursor.el (vcursor-use-vcursor-map):
2549 * wid-browse.el (widget-minor-mode):
2550 * emulation/tpu-edt.el (tpu-edt-mode):
2551 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2552 * international/iso-ascii.el (iso-ascii-mode):
2553 * language/thai-util.el (thai-word-mode):
2554 * mail/supercite.el (sc-minor-mode):
2555 * net/goto-addr.el (goto-address-mode):
2556 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2557 * progmodes/cwarn.el (cwarn-mode):
2558 * progmodes/flymake.el (flymake-mode):
2559 * progmodes/glasses.el (glasses-mode):
2560 * progmodes/hideshow.el (hs-minor-mode):
2561 * progmodes/pascal.el (pascal-outline-mode):
2562 * textmodes/enriched.el (enriched-mode):
2563 * vc/smerge-mode.el (smerge-mode):
2564 Doc fixes (minor mode argument).
2565
5e0d957f
EZ
25662012-02-07 Eli Zaretskii <eliz@gnu.org>
2567
2568 * ls-lisp.el (ls-lisp-sanitize): New function.
2569 (ls-lisp-insert-directory): Use it to fix or remove any elements
2570 in file-alist with missing attributes. (Bug#4673)
2571
98d7371e
AM
25722012-02-07 Alan Mackenzie <acm@muc.de>
2573
2574 Fix spurious recognition of c-in-knr-argdecl.
2575
2576 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2577 putative K&R region.
2578
667ced3a
AM
25792012-02-07 Alan Mackenzie <acm@muc.de>
2580
eb864a71
LM
2581 * progmodes/cc-engine.el (c-forward-objc-directive):
2582 Prevent looping in "#pragma mark @implementation".
667ced3a 2583
5b77774d
MA
25842012-02-07 Michael Albinus <michael.albinus@gmx.de>
2585
2586 * notifications.el (notifications-on-closed-signal): Make `reason'
2587 optional. (Bug#10744)
2588
af008560
GM
25892012-02-07 Glenn Morris <rgm@gnu.org>
2590
60d47423
GM
2591 * emacs-lisp/easy-mmode.el (define-minor-mode):
2592 Doc fixes for the macro and the mode it defines.
2593
dd605cc4
GM
2594 * image.el (imagemagick-types-inhibit): Doc fix.
2595
af008560
GM
2596 * cus-start.el (imagemagick-render-type): Add it.
2597
5cc59a37
LI
25982012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2599
4d6769e1
JB
2600 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2601 Set the default at load time, too, so that `font-lock-fontify-buffer'
2602 can be called without setting up the entire mode first. This fixes
2603 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2604
9a6dd747
CY
26052012-02-06 Chong Yidong <cyd@gnu.org>
2606
2d16b285
CY
2607 * simple.el (list-processes--refresh): Delete exited processes
2608 (Bug#8094).
2609
171e9b6e
CY
2610 * comint.el (comint-next-prompt): next-single-char-property-change
2611 and prev-single-char-property-change never return nil (Bug#8657).
2612
9a6dd747
CY
2613 * custom.el (defcustom): Doc fix (Bug#9711).
2614
aa4589a7
CY
26152012-02-05 Chong Yidong <cyd@gnu.org>
2616
5c2a252f
CY
2617 * cus-edit.el (custom-variable-reset-backup): Quote the value
2618 before storing it in the customized-value property (Bug#6712).
4aab9006 2619 (custom-display): Add a customization type tag.
983b9602 2620 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2621
aa4589a7
CY
2622 * wid-edit.el (widget-field-value-get): New optional arg to
2623 suppress trailing whitespace truncation.
2624 (character): Use it (Bug#2689).
2625
1ff980ae
AS
26262012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2627
2628 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2629 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2630
03988c98
CY
26312012-02-05 Chong Yidong <cyd@gnu.org>
2632
eeb6cc88
CY
2633 * cus-edit.el (custom-variable-value-create): For mismatched
2634 types, show the current value (Bug#7600).
2635
03988c98
CY
2636 * custom.el (defcustom): Doc fix.
2637
f8cdeef0
GM
26382012-02-05 Glenn Morris <rgm@gnu.org>
2639
2640 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2641
0696d255
JB
26422012-02-05 Juanma Barranquero <lekktu@gmail.com>
2643
2644 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2645 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2646 (pp-last-sexp): Use `looking-at-p'.
2647
34c99998
GM
26482012-02-04 Glenn Morris <rgm@gnu.org>
2649
8f05da42
GM
2650 * files.el (revert-buffer):
2651 Doc fix (mention revert-buffer-in-progress-p).
2652
f160676e
GM
2653 * emacs-lisp/ert-x.el (ert-simulate-command):
2654 Check deferred-action-list (which is obsolete) is bound.
2655
c7291ad9
GM
2656 * subr.el (with-wrapper-hook): Doc fixes.
2657
34c99998
GM
2658 * simple.el (filter-buffer-substring-functions)
2659 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2660
6283a7d3
LL
26612012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2662
2663 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2664 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2665
e96e3013
LL
26662012-02-04 Leo Liu <sdl.web@gmail.com>
2667
2668 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2669
8ded50f2
GM
26702012-02-04 Glenn Morris <rgm@gnu.org>
2671
82ff1d13
GM
2672 * image.el (image-extension-data): Add obsolete alias.
2673
987a0a16
GM
2674 * isearch.el (isearch-update): Doc fix.
2675
ea32ef46
GM
2676 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2677
8ded50f2
GM
2678 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2679
eea14f31
GM
26802012-02-03 Glenn Morris <rgm@gnu.org>
2681
2682 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2683 (image-animate-timeout): Doc fix.
2684
2685 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2686
12f381b7
GM
26872012-02-02 Glenn Morris <rgm@gnu.org>
2688
953cebf5
GM
2689 * server.el (server-auth-dir): Doc fix.
2690 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2691
12f381b7
GM
2692 * subr.el (run-mode-hooks): Doc fix.
2693
953a8c3b
JL
26942012-02-02 Juri Linkov <juri@jurta.org>
2695
2696 * image-mode.el (image-toggle-display-image): Remove tautological
2697 `major-mode' from the `derived-mode-p' test.
2698
c5d3843c
KH
26992012-02-02 Kenichi Handa <handa@m17n.org>
2700
9f6e692e 2701 * composite.el (compose-region): Cancel previous change.
c5d3843c 2702
159462d4 27032012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2704
2705 * composite.el (compose-region, compose-string): Signal error for
2706 a null string component (Bug#6988).
2707
9f562668
CY
27082012-02-01 Chong Yidong <cyd@gnu.org>
2709
e2cef717
CY
2710 * view.el (view-buffer-other-window, view-buffer-other-frame):
2711 Handle special modes like view-buffer (Bug#10650).
2712 (view-buffer): Simplify.
2713
9f562668
CY
2714 * frame.el (set-frame-font): Tweak meaning of third argument.
2715
9f6e692e
JB
2716 * dynamic-setting.el (font-setting-change-default-font):
2717 Use set-frame-font (Bug#9982).
9f562668 2718
781acb9f
GM
27192012-02-01 Glenn Morris <rgm@gnu.org>
2720
6035be52
GM
2721 * progmodes/compile.el (compilation-internal-error-properties):
2722 Respect compilation-first-column in the "*compilation*" buffer.
2723
781acb9f
GM
2724 * emacs-lisp/easy-mmode.el (define-minor-mode):
2725 Relax :variable's test for a named function.
2726
abbceb00
AM
27272012-01-31 Alan Mackenzie <acm@muc.de>
2728
2729 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2730 off by one error.
2731
fce3fdeb
CY
27322012-01-31 Chong Yidong <cyd@gnu.org>
2733
2734 * frame.el (set-frame-font): New arg ALL-FRAMES.
2735
2736 * menu-bar.el (menu-set-font): Use set-frame-font.
2737
2738 * faces.el (face-spec-reset-face): Don't apply unspecified
2739 attribute values to the default face.
2740
47893581
JB
27412012-01-31 Juanma Barranquero <lekktu@gmail.com>
2742
2743 * progmodes/cwarn.el (cwarn): Remove dead link.
2744 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2745 Remove * from defcustom docstrings.
2746 (turn-on-cwarn-mode): Make obsolete.
2747 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2748 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2749
e58e988a
GM
27502012-01-31 Glenn Morris <rgm@gnu.org>
2751
60dc2671 2752 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2753 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2754 Allow named functions to be used as the cdr of :variable.
e58e988a 2755
7a3f511d
GM
27562012-01-30 Glenn Morris <rgm@gnu.org>
2757
2758 * emacs-lisp/authors.el (authors-fixed-entries):
2759 Remove reference to deleted file rnewspost.el.
2760
cb882333
JB
27612012-01-29 Juanma Barranquero <lekktu@gmail.com>
2762
2763 * window.el (window-with-parameter): Remove unused variable `windows'.
2764 (window--side-check): Remove unused variable `code'.
2765 (window--resize-siblings): Remove unused variable `first'.
2766 (adjust-window-trailing-edge): Remove unused variable `failed'.
2767 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2768 Use `let', not `let*'.
2769 (balance-windows-2): Remove unused variable `found'.
2770 (window--state-put-2): Remove unused variable `splits'.
2771 (window-state-put): Remove unused variable `selected'.
2772 (same-window-p): Use `string-match-p'.
2773 (display-buffer-assq-regexp): Remove unused variable `value'.
2774 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2775 Mark argument ALIST as ignored.
2776 (pop-to-buffer): Remove unused variable `old-window'.
2777
907201af
EZ
27782012-01-29 Eli Zaretskii <eliz@gnu.org>
2779
2780 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2781 and .lzma compressed files.
2782
ea162670
CY
27832012-01-29 Chong Yidong <cyd@gnu.org>
2784
5b95ee8a
CY
2785 * frame.el (window-system-default-frame-alist): Doc fix.
2786
ea162670
CY
2787 * dynamic-setting.el (font-setting-change-default-font): Don't
2788 change the default face if SET-FONT argument is non-nil (Bug#9982).
2789
d6e6f4b1
SB
27902012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2791
2792 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2793
0f29fa41 27942012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2795
2796 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2797 breakpoints in files outside current directory (Bug#6098).
2798
db174434
CY
27992012-01-29 Chong Yidong <cyd@gnu.org>
2800
6b25e4e2
SE
2801 * progmodes/python.el: Require ansi-color at top-level.
2802
6df6ae42
JB
2803 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2804 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2805 (lisp-mode-abbrev-table): Add doc.
2806 (lisp-mode-variables): Don't set local-abbrev-table.
2807 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2808
e70ee681
RW
28092012-01-28 Roland Winkler <winkler@gnu.org>
2810
2811 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2812
ace88aa2
RW
28132012-01-28 Roland Winkler <winkler@gnu.org>
2814
2815 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2816 (bibtex-set-dialect): Use it. Either set global values of
2817 dialect-dependent variables or bind these variables buffer-locally
2818 (Bug#10254).
2819 (bibtex-mode): Call bibtex-set-dialect via
2820 hack-local-variables-hook.
eb864a71
LM
2821 (bibtex-dialect): Update docstring.
2822 Add safe-local-variable predicate.
ace88aa2
RW
2823 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2824 bibtex-set-dialect.
2825 (bibtex-mode-map): Define menu for each dialect.
2826 (bibtex-entry): Fix docstring.
2827
93376c5b
CY
28282012-01-28 Chong Yidong <cyd@gnu.org>
2829
2830 * eshell/esh-arg.el (eshell-quote-argument): New function.
2831
2832 * eshell/esh-ext.el (eshell-invoke-batch-file):
2833 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2834 first arg to eshell-parse-command (Bug#10523).
2835
4372494f
DA
28362012-01-28 Drew Adams <drew.adams@oracle.com>
2837
2838 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2839 `default-directory' is non-nil.
2840
4d4ec1f8
EZ
28412012-01-28 Eli Zaretskii <eliz@gnu.org>
2842
2843 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2844 line that displays system-configuration-options. (Bug#9924)
2845
7c188927
DA
28462012-01-28 Drew Adams <drew.adams@oracle.com>
2847
2848 * descr-text.el (describe-char): Show information about POS, in
2849 addition to information about the character at POS. Improve and
2850 update the doc string. Change "code point" to "code point in
2851 charset", to avoid confusion with the character's Unicode code
2852 point shown above that. (Bug#10129)
2853
e0da685a
EZ
28542012-01-28 Eli Zaretskii <eliz@gnu.org>
2855
2856 * descr-text.el (describe-char): Show the raw character, not only
2857 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2858 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2859 for the reasons.
2860
70550acf
PH
28612012-01-28 Phil Hagelberg <phil@hagelb.org>
2862
eb864a71
LM
2863 * emacs-lisp/package.el (package-install):
2864 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2865
0ce8e868
CY
28662012-01-28 Chong Yidong <cyd@gnu.org>
2867
cb882333
JB
2868 * emacs-lisp/package.el (package-maybe-load-descriptor):
2869 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2870 (package-maybe-load-descriptor): Use it.
2871 (package-download-transaction): Fully load required packages
2872 inside the loop, so that `require' calls work (Bug#10593).
2873 (package-install): No need to call package-initialize now.
2874
2e7f3bea
CY
28752012-01-28 Chong Yidong <cyd@gnu.org>
2876
6e9bad14
CY
2877 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2878
f823b8ca
CY
2879 * tooltip.el (tooltip-mode): Doc fix.
2880 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2881
2680c309
CY
2882 * frame.el (set-cursor-color): Doc fix (Bug#352).
2883
d7a9e63b
CY
2884 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2885 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2886
2e7f3bea
CY
2887 * cus-edit.el (custom-buffer-create-internal): Fix search button
2888 action (Bug#10542).
2ae01800 2889 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2890
fc4f7a23
EW
28912012-01-27 Eduard Wiebe <usenet@pusto.de>
2892
2893 * dired.el (dired-mark-files-regexp):
2894 Include any subdirectory components. (Bug#10445)
2895
7dd37071
ML
28962012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2897
2898 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2899 Handle [host]:port syntax. (Bug#10533)
2900
a268160b
AH
29012012-01-27 Alex Harsanyi <harsanyi@mac.com>
2902
2903 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2904
e43273ef
GM
29052012-01-26 Glenn Morris <rgm@gnu.org>
2906
2907 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2908 * term.el (term-raw-escape-map): Use Control-X-prefix.
2909 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2910
1edf595d
MR
29112012-01-25 Martin Rudalics <rudalics@gmx.at>
2912
2913 * window.el (window-state-get, window--state-get-1): Don't deal
2914 with fixed-sizeness of windows. Simplify code.
2915
fa8eafef
JC
29162012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2917
6df6ae42
JB
2918 * window.el (window--state-get-1, window--state-put-2):
2919 Don't save and restore the mark.
fa8eafef 2920
0b21c100
CY
29212012-01-25 Chong Yidong <cyd@gnu.org>
2922
2923 * custom.el (custom-variable-p): Doc fix.
2924
5ae1a6c8
GM
29252012-01-25 Glenn Morris <rgm@gnu.org>
2926
40047858
GM
2927 * dired.el (dired-goto-file): Handle some of the more common
2928 characters that `ls -b' escapes. (Bug#10596)
2929
5ddce96c
GM
2930 * progmodes/compile.el (compilation-next-error-function):
2931 Respect compilation-first-column in the "*compilation*" buffer.
2932 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2933
5ae1a6c8
GM
2934 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2935
b559f1a9
GM
29362012-01-24 Glenn Morris <rgm@gnu.org>
2937
2938 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2939
6725d21a
JD
29402012-01-24 Julien Danjou <julien@danjou.info>
2941
2942 * color.el (color-rgb-to-hsl): Fix value computing.
2943 (color-hue-to-rgb): New function.
2944 (color-hsl-to-rgb): New function.
2945 (color-clamp, color-saturate-hsl, color-saturate-name)
2946 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2947 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2948
70df4bbe
GM
29492012-01-24 Glenn Morris <rgm@gnu.org>
2950
2951 * vc/vc-rcs.el (vc-rcs-create-tag):
2952 * vc/vc-sccs.el (vc-sccs-create-tag):
2953 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2954
802a2ae2
ML
29552012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2956
2957 * eshell/esh-util.el (eshell-read-hosts-file):
2958 Skip comment lines. (Bug#10549)
2959
d7128bb1
ML
2960 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2961
d1a5c3b4
JB
29622012-01-23 Juanma Barranquero <lekktu@gmail.com>
2963
2724d9c7
JB
2964 * subr.el (display-delayed-warnings): Doc fix.
2965 (collapse-delayed-warnings): New function to collapse identical
2966 adjacent warnings.
2967 (delayed-warnings-hook): Add it.
d1a5c3b4 2968
a5509865
MA
29692012-01-22 Michael Albinus <michael.albinus@gmx.de>
2970
2971 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2972
2973 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2974 properties, when "login-as" is set.
2975
2976 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2977 (tramp-default-user-alist): Don't add "pscp".
2978 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2979 property "login-as", if set. (Bug#10530)
2980
cc6d5805
MA
29812012-01-21 Michael Albinus <michael.albinus@gmx.de>
2982
2983 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2984 "plink1" and "psftp". (Bug#10530)
2985
29862012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2987
2988 * international/mule-cmds.el (prefer-coding-system): Show a
2989 warning message if the default value of file-name-coding-system
2990 was not changed.
2991
f0960428
JC
29922012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2993
cb882333
JB
2994 * windmove.el (windmove-reference-loc):
2995 Fix windmove-reference-loc miscalculation.
f0960428 2996
dd6f2a63
JB
29972012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2998
2999 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3000 default unit.
3001
7b447e9b
GM
30022012-01-21 Glenn Morris <rgm@gnu.org>
3003
117a9ea1
GM
3004 * international/mule.el (auto-coding-alist): Add .tbz.
3005
7b447e9b
GM
3006 * files.el (local-enable-local-variables): Doc fix.
3007 (inhibit-local-variables-regexps): Rename from
3008 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3009 Doc fix. Add some extensions from auto-coding-alist.
3010 (inhibit-local-variables-suffixes):
3011 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3012 (inhibit-local-variables-p):
3013 New function, extracted from set-auto-mode-1.
3014 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3015 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3016 (hack-local-variables): Doc fix. Make the mode-only case
3017 respect enable-local-variables and friends.
3018 Respect inhibit-local-variables-regexps for file-locals, but
3019 not for directory-locals.
3020 (set-visited-file-name):
3021 Take account of inhibit-local-variables-regexps.
3022 Whether it applies may change as the file name is changed.
3023 * jka-cmpr-hook.el (jka-compr-install):
3024 * jka-compr.el (jka-compr-uninstall):
3025 Update for inhibit-first-line-modes-suffixes name change.
3026
dd6e3cdd
MR
30272012-01-20 Martin Rudalics <rudalics@gmx.at>
3028
3029 * help-macro.el (make-help-screen): Temporarily restore original
3030 binding for minor-mode-map-alist (Bug#10454).
3031
0d0deb38
JD
30322012-01-19 Julien Danjou <julien@danjou.info>
3033
3034 * color.el (color-name-to-rgb): Use the white color to find the max
3035 color component value and return correctly computed values.
3036 (color-name-to-rgb): Add missing float conversion for max value.
3037
34a02f46
MR
30382012-01-19 Martin Rudalics <rudalics@gmx.at>
3039
3040 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3041 special state value for window-persistent-parameters.
3042 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3043 (window--state-put-2): Reset all window parameters to nil before
3044 assigning values of persistent parameters.
3045
606c44c4
AM
30462012-01-18 Alan Mackenzie <acm@muc.de>
3047
3048 Eliminate sluggishness and hangs in fontification of "semicolon
3049 deserts".
3050
cb882333
JB
3051 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3052 Change value 10000 -> 3000.
606c44c4
AM
3053 (c-state-safe-place): Reformulate so it doesn't stack up an
3054 infinite number of wrong entries in c-state-nonlit-pos-cache.
3055 (c-determine-limit-get-base, c-determine-limit): New functions to
3056 determine backward search limits disregarding literals.
3057 (c-find-decl-spots): Amend commenting.
3058 (c-cheap-inside-bracelist-p): New function which detects "={".
3059
3060 * progmodes/cc-fonts.el
3061 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3062 backward search.
3063 (c-font-lock-declarations): Fix an occurrence of point being
3064 undefined. Check additionally for point being in a bracelist or
3065 near a macro invocation without a semicolon so as to avoid a
3066 fruitless time consuming search for a declarator. Give a more
3067 precise search limit for declarators using the new
3068 c-determine-limit.
3069
f3860cea
GM
30702012-01-18 Glenn Morris <rgm@gnu.org>
3071
3072 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3073 (set-auto-mode): Doc fixes.
3074
1db03b16
GM
30752012-01-17 Glenn Morris <rgm@gnu.org>
3076
0e6038be
GM
3077 * isearch.el (search-nonincremental-instead): Fix doc typo.
3078
1db03b16
GM
3079 * dired.el (dired-insert-directory): Handle newlines in directory name.
3080 (dired-build-subdir-alist): Unescape newlines in directory name.
3081
4cb0aa75
MA
30822012-01-17 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3085 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3086 (tramp-action-terminal): Use it. (Bug#10530)
3087
1d00653d
SM
30882012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3089
3090 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3091
6a6ee00d
MR
30922012-01-16 Martin Rudalics <rudalics@gmx.at>
3093
3094 * window.el (window-state-ignored-parameters): Remove variable.
3095 (window--state-get-1): Rename argument MARKERS to IGNORE.
3096 Handle persistent window parameters. Make copy of clone-of
3097 parameter only if requested. (Bug#10348)
3098 (window--state-put-2): Install a window parameter only if it has
3099 a non-nil value or an existing parameter shall be overwritten.
3100
97912def
MA
31012012-01-15 Michael Albinus <michael.albinus@gmx.de>
3102
3103 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3104
688070a5
EZ
31052012-01-14 Eli Zaretskii <eliz@gnu.org>
3106
3107 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3108 don't pass the (nil) value of `upnode' to string-match.
3109
301afadc
CY
31102012-01-14 Chong Yidong <cyd@gnu.org>
3111
3112 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3113 Fix values recognized by the cursorBlink resource.
301afadc 3114
9e5788aa
PE
31152012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3116
3117 * epg.el (epg--make-temp-file): Avoid permission race condition
3118 when running on old Emacs versions (bug#10403).
3119
3cdb7f5a
GM
31202012-01-14 Glenn Morris <rgm@gnu.org>
3121
3122 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3123
8c82b1b4
AM
31242012-01-13 Alan Mackenzie <acm@muc.de>
3125
3126 Fix filling for when filladapt mode is enabled.
3127
3128 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3129 c-mask-paragraph, pass in `fill-paragraph' rather than
3130 `fill-region-as-paragraph'. (This is a reversion of a previous
3131 change.)
eb864a71
LM
3132 * progmodes/cc-mode.el (c-basic-common-init):
3133 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3134
e517eda4
GM
31352012-01-13 Glenn Morris <rgm@gnu.org>
3136
1498536e
GM
3137 * dired.el (dired-switches-escape-p): New function.
3138 (dired-insert-directory): Use dired-switches-escape-p.
3139 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3140
e517eda4
GM
3141 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3142
328f984d
GM
31432012-01-12 Glenn Morris <rgm@gnu.org>
3144
3145 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3146 changes in adaptive-fill-regexp. (Bug#10276)
3147
2cc769a8
AM
31482012-01-11 Alan Mackenzie <acm@muc.de>
3149
3150 Fix Emacs bug #10463 - put `widen's around the critical spots.
3151
1d00653d 3152 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3153 widen around each invocation of c-state-pp-to-literal. Remove an
3154 unused let variable.
3155
e52c37fa
GM
31562012-01-11 Glenn Morris <rgm@gnu.org>
3157
3158 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3159 Doc fix.
e52c37fa 3160
96f8741e
CY
31612012-01-10 Chong Yidong <cyd@gnu.org>
3162
1d00653d
SM
3163 * net/network-stream.el (network-stream-open-starttls):
3164 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3165 response to the capability command.
3166
b09a806e
GM
31672012-01-10 Glenn Morris <rgm@gnu.org>
3168
3169 * mail/unrmail.el (unrmail): Tweak previous change.
3170
7655cb66
CY
31712012-01-09 Chong Yidong <cyd@gnu.org>
3172
3173 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3174
9d5a8f0b
AM
31752012-01-08 Alan Mackenzie <acm@muc.de>
3176
3177 Optimise font locking in long enum definitions.
3178
3179 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3180 arm to a cond form to handle enums.
3181 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3182 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3183
9a0115ab 31842012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3185
3186 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3187 (Bug#10401)
6bb72cbd 3188
f186bb95
LMI
31892012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3190
29232a68
LMI
3191 * faces.el (set-face-attribute): Clarify the meaning of the nil
3192 frame (bug#10294).
3193
4e5d086d
LMI
3194 * subr.el (with-selected-frame): Mention that the selected frame
3195 is restored (bug#9980).
3196
8e66aebe
LMI
3197 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3198 (bug#9759).
3199
cd394be1 3200 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3201 (password-read): Don't autoload unused function.
3202
adf4e762
JB
32032012-01-07 Juanma Barranquero <lekktu@gmail.com>
3204
3205 * progmodes/which-func.el (which-func-mode): Turn into a
3206 non-interactive function and mark as obsolete (bug#10428).
3207
89bd9ccd
CY
32082012-01-06 Chong Yidong <cyd@gnu.org>
3209
3210 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3211 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3212 functions, along with 1 and -1.
3213
4afee9d5
EZ
32142012-01-06 Eli Zaretskii <eliz@gnu.org>
3215
3216 * time.el (display-time-load-average)
3217 (display-time-default-load-average): Doc fixes. See the thread
3218 starting at
3219 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3220 for the details.
3221
536aea70
GM
32222012-01-06 Glenn Morris <rgm@gnu.org>
3223
665ae865
GM
3224 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3225 has no messages. (Bug#10377)
3226
c869783d
GM
3227 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3228 than Info-edit. (Bug#10385)
3229
2bb4227e
GM
3230 * time.el (display-time-load-average, display-time-next-load-average):
3231 Doc fixes.
3232
7d5944b9
GM
3233 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3234 local setting of buffer-read-only to the input buffer. (Bug#10419)
3235
536aea70
GM
3236 * calendar/calendar.el (calendar-mode):
3237 Locally set scroll-margin to 0. (Bug#10379)
3238
7dccca16
UM
32392012-01-06 Ulrich Mueller <ulm@gentoo.org>
3240
3241 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3242
afbb7930
GM
32432012-01-05 Glenn Morris <rgm@gnu.org>
3244
3245 * eshell/em-unix.el (diff-no-select): Autoload it.
3246 (eshell/diff): Use diff-no-select. (Bug#10420)
3247
04482335
CY
32482012-01-05 Chong Yidong <cyd@gnu.org>
3249
7baca3bc
CY
3250 * shell.el (shell-dynamic-complete-functions): Revert last change.
3251 (shell-command-completion-function): New function.
3252 (shell-completion-vars): Use it to implement
3253 shell-completion-execonly (Bug#10417).
3254
04482335
CY
3255 * custom.el (enable-theme): Don't set custom-safe-themes.
3256
1d00653d
SM
3257 * cus-theme.el (custom-theme-merge-theme):
3258 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3259
bb5aa5d6
MM
32602012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3261
3262 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3263 first prompt in `sql-interacive-mode'.
3264 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3265 keywords.
6df6ae42 3266 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3267 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3268 context of original buffer. Invoke `sql-login-hook'.
3269
a7183d7c
EZ
32702012-01-04 Eli Zaretskii <eliz@gnu.org>
3271
3272 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3273 letters in cite-prefix.
3274
a1eacd1e
LMI
32752012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3276
3277 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3278
787cdb34
CY
32792012-01-03 Chong Yidong <cyd@gnu.org>
3280
1d00653d
SM
3281 * shell.el (shell-dynamic-complete-functions):
3282 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3283 comint-filename-completion first (Bug#10417).
3284
30710442
RS
32852012-01-02 Richard Stallman <rms@gnu.org>
3286
3287 * battery.el (battery-status-function):
3288 Detect when to use battery-yeeloong-sysfs.
3289 (battery-echo-area-format): Add string for Yeeloong.
3290 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3291 (battery-yeeloong-sysfs): New function.
3292
f75bfc33
CY
32932012-01-02 Chong Yidong <cyd@gnu.org>
3294
3295 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3296 (dirtrack): Merge code for handling relative filenames in prompt
3297 from shell-dir-cookie-watcher.
3298 (dirtrack-debug-message): New arg to avoid excess format calls.
3299
3300 * shell.el (shell-dir-cookie-re): Variable deleted.
3301 (shell-dir-cookie-watcher): Function deleted.
3302 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3303 with dirtrack-mode.
3304
651e947e
EZ
33052012-01-01 Eli Zaretskii <eliz@gnu.org>
3306
1d00653d
SM
3307 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3308 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3309 libgnutls-26.dll.
3310
94d4c7dc
AS
33112011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3312
3313 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3314
8d43f3cd
EZ
33152011-12-31 Eli Zaretskii <eliz@gnu.org>
3316
3317 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3318 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3319
98c8795a
MA
33202011-12-29 Michael Albinus <michael.albinus@gmx.de>
3321
3322 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3323 also for alternative shells.
3324 (tramp-open-connection-setup-interactive-shell): Check, whether
3325 the shell is a busybox.
3326 (tramp-send-command): Don't suppress multiple prompts for
3327 busyboxes, it hurts.
3328
51281b32
CY
33292011-12-28 Chong Yidong <cyd@gnu.org>
3330
3331 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3332 (gdb-get-source-file): Move mode line update to
3333 gdb-get-source-file (Bug#10087).
3334
2170cb53
CY
33352011-12-25 Chong Yidong <cyd@gnu.org>
3336
3337 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3338 gud-gdb-marker-filter without taking it as an argument.
3339 (gud-gdb-run-command-fetch-lines): Caller changed.
3340 (gud-gdb-completion-function): New variable.
3341 (gud-gdb-completion-at-point): Use it.
3342 (gud-gdb-completions-1): Split from gud-gdb-completions.
3343
3344 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3345 function as separate arguments.
3346 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3347 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3348 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3349 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3350 (gdb-stopped, def-gdb-auto-update-trigger)
3351 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3352 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3353 Callers changed.
2170cb53
CY
3354 (gud-gdbmi-completions): New function.
3355 (gdb): Use it for generating the completion table.
3356
be8b11bb
AM
33572011-12-24 Alan Mackenzie <acm@muc.de>
3358
3359 Introduce a mechanism to widen the region used in context font
1d00653d 3360 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3361
1d00653d
SM
3362 * progmodes/cc-langs.el (c-before-font-lock-functions):
3363 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3364 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3365 functions to be run just before context (etc.) font locking.
3366
3367 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3368 New, functionality extracted from
be8b11bb 3369 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3370 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3371 (c-after-change): Set c-in-after-change-fontification.
3372 (c-set-fl-decl-start): Rejig its interface, so it can be called
3373 from both after-change and context fontifying.
b81d40f0
JB
3374 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3375 New functions.
3376 (c-standard-font-lock-fontify-region-function): New variable.
3377 (c-font-lock-fontify-region): New function.
be8b11bb 3378
341cf6ac
JL
33792011-12-24 Juri Linkov <juri@jurta.org>
3380
3381 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3382 (Bug#10348)
3383
bffcee0a
MA
33842011-12-23 Michael Albinus <michael.albinus@gmx.de>
3385
3386 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3387 existence of source file. (Bug#10325)
3388
cb5e207c
AM
33892011-12-23 Alan Mackenzie <acm@muc.de>
3390
3391 Fix unstable fontification inside templates.
3392
b81d40f0
JB
3393 * progmodes/cc-langs.el (c-before-font-lock-functions):
3394 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3395 additionally has c-set-fl-decl-start. The other languages (apart
3396 from AWK) have that as a single entry.
3397
b81d40f0
JB
3398 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3399 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3400 c-set-fl-decl-start.
3401
b81d40f0
JB
3402 * progmodes/cc-mode.el (c-common-init, c-after-change):
3403 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3404 (c-set-fl-decl-start): New function, extracted from
3405 c-font-lock-enclosing-decls and enhanced.
3406
60ff536c
JB
34072011-12-23 Juanma Barranquero <lekktu@gmail.com>
3408
3409 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3410
1c4757d6
JL
34112011-12-22 Juri Linkov <juri@jurta.org>
3412
3413 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3414
d031f2c7
CY
34152011-12-22 Chong Yidong <cyd@gnu.org>
3416
3417 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3418
bace743a
DA
34192011-12-21 Drew Adams <drew.adams@oracle.com>
3420
3421 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3422
728a1f2b
JC
34232011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3424
3425 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3426
0d373f73
TZ
34272011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3428
fec0aaa4
TZ
3429 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3430 highlighting and support. Fix up comments for capitalization.
3431 (cfengine-mode-debug): New var.
3432 (cfengine3-mode): Change the modeline indicator to "CFE3".
3433 (cfengine3-font-lock-keywords): Improve defun highlighting.
3434 (cfengine2-actions): Rename from `cfengine-actions'.
3435 (cfengine2-font-lock-keywords): Rename from
3436 `cfengine-font-lock-keywords'.
3437 (cfengine2-imenu-expression): Rename from
3438 `cfengine-imenu-expression'.
3439 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3440 (cfengine2-beginning-of-defun): Rename from
3441 `cfengine-beginning-of-defun'.
3442 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3443 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3444 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3445 modeline indicator to "CFE2".
3446 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3447 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3448
bc86f573
CY
34492011-12-21 Chong Yidong <cyd@gnu.org>
3450
3451 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3452 filename argument.
3453
d45ba96b
MR
34542011-12-20 Martin Rudalics <rudalics@gmx.at>
3455
3456 * window.el (window-normalize-buffer-to-display): Remove.
3457 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3458
a6198c90
CY
34592011-12-19 Chong Yidong <cyd@gnu.org>
3460
3461 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3462 Don't signal an error in a predicate function; return non-nil.
3463 (vc-dir-mark-file): Move the error here.
3464 (vc-dir-mark-unmark): If acting on the region, keep going if one
3465 of the entries cannot be marked/unmarked.
3466 (vc-dir-mark-all-files): If current entry is a directory, mark
3467 only child files, as documented.
3468
34c5fb55
VB
34692011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3470
3471 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3472 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3473 addition.
3474
c803b2b7
JD
34752011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3476
3477 * term/ns-win.el (ns-get-selection-internal)
3478 (ns-store-selection-internal): Declare.
1154d12e
JB
3479 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3480 Declare as obsolete.
3481 (ns-get-pasteboard, ns-paste-secondary):
3482 Use ns-get-selection-internal.
3483 (ns-set-pasteboard, ns-copy-including-secondary):
3484 Use ns-store-selection-internal.
c803b2b7 3485
9cff91f8 34862011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3487
3488 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3489 (vc-deduce-fileset): Doc fix.
99a289d9 3490
f16c898a
AS
34912011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3492
3493 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3494
763237c4
SS
34952011-12-13 Sam Steingold <sds@gnu.org>
3496
3497 * man.el (Man-getpage-in-background): When running under a
3498 window-system, ignore $MANWIDTH and $COLUMNS.
3499
5fc1c122
KH
35002011-12-15 Kenichi Handa <handa@m17n.org>
3501
3502 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3503 (setup-ethiopic-environment-internal): Comment out key-binding for
3504 ethio-toggle-punctuation.
3505
13d49cbb
AM
35062011-12-13 Alan Mackenzie <acm@muc.de>
3507
898169a2
AM
3508 Add the switch statement to AWK Mode.
3509
7a71b18d 3510 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3511 "default" to the keywords regexp.
3512
7a71b18d 3513 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3514 expression as the rest.
1d00653d
SM
3515 (c-nonlabel-token-key): Allow string literals for AWK.
3516 Refactor for the other modes.
898169a2 3517
13d49cbb 3518 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3519 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3520 routines. Limit backward searching in c-font-lock-enclosing.decl.
3521
3522 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3523 pp-state and literal type in addition to the limits.
1d00653d 3524 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3525 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3526 (c-slow-in-literal, c-fast-in-literal): Remove.
3527 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3528
3529 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3530 being in a literal. Add a limit for backward searching.
3531
3532 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3533 c-slow-in-literal.
3534
15e0efc7
SM
35352011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3538
454592a6
MR
35392011-12-13 Martin Rudalics <rudalics@gmx.at>
3540
3541 * window.el (delete-other-windows): Use correct frame in call to
3542 window-with-parameter.
3543
87393f26
DP
35442011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3545
3546 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3547 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3548 (makefile-gmake-statements, makefile-makepp-statements):
3549 Use it and add new makepp keywords.
3550 (makefile-makepp-font-lock-keywords): Add new patterns.
3551 (makefile-match-function-end): Match new [...] and [[...]].
3552
11636b22
JB
35532011-12-11 Juanma Barranquero <lekktu@gmail.com>
3554
3555 * ses.el (ses-call-printer-return, ses-cell-property-get)
3556 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3557 (ses-create-cell-variable, ses-reset-header-string)
3558 (ses-cell-set-formula, ses-repair-cell-reference-all)
3559 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3560 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3561 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3562 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3563 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3564 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3565 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3566 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3567 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3568 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3569 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3570 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3571
cf018193
VB
35722011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3573
3574 * ses.el: The overall change is to add cell renaming, that is
3575 setting fancy names for cell symbols other than name matching
3576 "\\`[A-Z]+[0-9]+\\'" regexp .
3577 (ses-create-cell-variable): New defun.
3578 (ses-relocate-formula): Relocate formulas only for cells the
3579 symbols of which are not renamed, i.e. symbols whose names do not
3580 match regexp "\\`[A-Z]+[0-9]+\\'".
3581 (ses-relocate-all): Relocate values only for cells the symbols of
3582 which are not renamed.
3583 (ses-load): Create cells variables as the (ses-cell ...) are read,
3584 in order to check row col consistency with cell symbol name only
3585 for cells that are not renamed.
3586 (ses-replace-name-in-formula): New defun.
3587 (ses-rename-cell): New defun.
3588
ee957461
CY
35892011-12-11 Chong Yidong <cyd@gnu.org>
3590
3591 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3592 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3593
9a9e9ef0
MR
35942011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3595
3596 * window.el (other-window): Fix docstring.
3597
92a8eba5
EZ
35982011-12-10 Eli Zaretskii <eliz@gnu.org>
3599
3600 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3601 `from' or `to' address before taking its substring.
3602 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3603 encoded name is chopped in the middle of the encoded string, and
3604 thus displayed encoded.
3605
e152e577
JB
36062011-12-10 Juanma Barranquero <lekktu@gmail.com>
3607
3608 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3609
e5d84bfe
EZ
36102011-12-10 Eli Zaretskii <eliz@gnu.org>
3611
3612 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3613 to use texinfo-update-node and commands that call it if the
3614 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3615 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3616 (texinfo-all-menus-update, texinfo-master-menu)
3617 (texinfo-update-node, texinfo-every-node-update)
3618 (texinfo-multiple-files-update): Doc fix. Warn against updating
3619 all the @node lines.
3620 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3621 argument is numeric. Explain better in the doc string what the
3622 function really does.
3623 (texinfo-insert-master-menu-list): Improve the error message
3624 displayed if there's no menu in the Top node.
3625 (Bug#2975) See also this thread:
e5d84bfe
EZ
3626 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3627
1d84e9bb
MG
36282011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3629
3630 * speedbar.el (speedbar-supported-extension-expressions):
3631 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3632
382c953b
JB
36332011-12-09 Juanma Barranquero <lekktu@gmail.com>
3634
3635 * printing.el (pr-mode-alist):
3636 * simple.el (filter-buffer-substring-functions)
3637 (completion-list-insert-choice-function):
3638 * window.el (window-with-parameter, window-atom-root)
3639 (window-sides-slots, window-size-fixed, window-min-delta)
3640 (window-max-delta, window--resize-mini-window)
3641 (window--resize-child-windows-normal, window-tree)
3642 (delete-other-windows, quit-window, split-window)
3643 (display-buffer-record-window, special-display-buffer-names)
3644 (special-display-regexps, special-display-popup-frame)
3645 (same-window-p, split-window-sensibly)
3646 (display-buffer-overriding-action, display-buffer-alist)
3647 (display-buffer-base-action, display-buffer, switch-to-buffer)
3648 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3649 (fit-window-to-buffer, recenter-positions)
3650 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3651 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3652 and remove unneeded backslashes in docstrings.
3653
39c9faef
SM
36542011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3655
98449af8
SM
3656 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3657
39c9faef
SM
3658 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3659 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3660 end in ".mk".
3661 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3662 when reading the makefile (bug#10116).
3663
86ed9fdc
SM
36642011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3667 (bug#10116).
3668
5580f89d
GM
36692011-12-06 Glenn Morris <rgm@gnu.org>
3670
3671 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3672
28d3917c
CY
36732011-12-06 Chong Yidong <cyd@gnu.org>
3674
3675 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3676
a98edce9
JB
36772011-12-06 Juanma Barranquero <lekktu@gmail.com>
3678
3679 * textmodes/table.el (table-shorten-cell): Fix typo.
3680
e65adfac
CG
36812011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3682
3683 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3684
71cc0b74
EZ
36852011-12-05 Eli Zaretskii <eliz@gnu.org>
3686
3687 * descr-text.el (describe-char): Fix display of strong
3688 right-to-left characters and directional embeddings and overrides.
3689
3690 * simple.el (what-cursor-position): Fix display of codepoints of
3691 strong right-to-left characters.
3692
315bc30d
CY
36932011-12-05 Chong Yidong <cyd@gnu.org>
3694
3695 * faces.el (read-color): Doc fix.
3696
58a70b94
GM
36972011-12-05 Glenn Morris <rgm@gnu.org>
3698
3699 * align.el (align--set-marker): Add doc-string.
3700 Don't try to move something that is not a marker. (Bug#10216)
3701
5158face
GM
37022011-12-04 Glenn Morris <rgm@gnu.org>
3703
3704 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3705 overly zealous deletion of trailing whitespace.
3706
520fca41
JB
37072011-12-04 Juanma Barranquero <lekktu@gmail.com>
3708
3709 * server.el (server-delete-client): On Windows, do not try to delete
3710 the only terminal.
3711 (server-process-filter): On Windows, treat requests for a tty frame as
3712 if they were for a GUI frame if the running server is in GUI mode.
3713
5e605a2e
GM
37142011-12-03 Glenn Morris <rgm@gnu.org>
3715
3716 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3717
5c3fe83f
SM
37182011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3719
6f5e57e7
SM
3720 * electric.el: Streamline electric-indent's hook.
3721 (electric-indent-chars): Revert to simple list.
3722 (electric-indent-functions): New var.
3723 (electric-indent-post-self-insert-function): Use it.
3724
5c3fe83f
SM
3725 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3726 there's no inferior buffer (bug#10196).
3727 (prolog-consult-compile): Don't use toggle-read-only.
3728
6bdac736
MA
37292011-12-02 Michael Albinus <michael.albinus@gmx.de>
3730
3731 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3732 interrupt. (Bug#10187)
3733
6131ba7f
SM
37342011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3735
99c79fee
SM
3736 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3737 (bug#9160).
3738
6131ba7f
SM
3739 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3740 (bug#10191).
3741
cb0a02ea
JL
37422011-12-02 Juri Linkov <juri@jurta.org>
3743
3744 * info.el (Info-search): Display "end of manual" when Isearch
3745 reaches the end of single-file Info manual. (Bug#9918)
3746
66e0570c
EZ
37472011-12-02 Eli Zaretskii <eliz@gnu.org>
3748
3749 * isearch.el (isearch-message-prefix): Run the input method part
3750 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3751
02b16839
JL
37522011-12-02 Juri Linkov <juri@jurta.org>
3753
3754 * isearch.el (isearch-occur): Use `word-search-regexp' for
3755 `isearch-word'.
3756 (isearch-search-and-update): Add condition for `isearch-word' and
3757 call `word-search-regexp'. (Bug#10145)
3758
0b950688
GM
37592011-12-01 Glenn Morris <rgm@gnu.org>
3760
3761 * eshell/em-hist.el (eshell-hist-initialize):
3762 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3763 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3764
9505c3c7
SM
37652011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3768
1bbe96b2 37692011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3770
a1beca85
SM
3771 * progmodes/verilog-mode.el (verilog-pretty-expr):
3772 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3773 verilog, such as += *= and the like.
3774 (verilog-assignment-operator-re): Regular expression to find the
3775 assigment operator in a verilog assignment.
3776 (verilog-assignment-operation-re): Regular expression to find an
3777 assignment statement for pretty-expr.
3778 (verilog-in-attribute-p): Query returns true if point is in an
3779 attribute context; used to skip these for expression line up from
3780 pretty-expr.
3781 (verilog-in-parameter-p): Query returns true if point is in an
3782 parameter definition context; used to skip these for expression
3783 line up from pretty-expr.
3784 (verilog-in-parenthesis-p): Query returns true if point is in a
3785 parenthetical expression, specifically ( ) but not [ ] or { };
3786 used by pretty-expr.
3787 (verilog-just-one-space): If there is no space, don't add one.
3788 (verilog-get-lineup-indent-2): Specifically skip just attribute
3789 contexts for expression lineup, rather than skipping all
3790 parenthetical expressions.
3791 (verilog-calculate-indent): Fix comment, and fix indent.
3792 (verilog-do-indent): Indent declarations in lists (suggested by
3793 Joachim Lechner).
3794 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3795 skeleton items.
3796 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3797 by Alain Mellan).
3798
1bbe96b2 37992011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3800
3801 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3802 parameters with embedded comments. Reported by Ray Stevens.
3803 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3804 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3805 Reported by Tim Holt.
3806 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3807 instantiated by upper module causing wrong expansion until AUTOed a
3808 second time. Reported by K C Buckenmaier.
3809 (verilog-diff-auto): Fix showing .* as a difference when
3810 `verilog-auto-star-save' off. Reported by Dan Dever.
3811 (verilog-auto-reset, verilog-read-always-signals)
3812 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3813 temporary signals in reset list if
3814 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3815 style to each signal's assignment type, bug381.
3816 Reported by Thomas Esposito.
6288f0ca
WS
3817 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3818 (verilog-uvm-statement-re): Support UVM indentation and
3819 highlighting, with old OVM keywords only.
a1beca85 3820 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3821 Support AUTOTIEOFF creating non-wire data types.
3822 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3823 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3824 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3825 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3826 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3827 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3828 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3829 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3830 non-numeric vector width. Reported by Alex Reed.
3831 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3832 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3833 (verilog-auto-delete-trailing-whitespace):
3834 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3835 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3836 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3837 Fix verilog-scan-cache corruption when running user AUTO expansion
3838 hooks that call indentation routines.
3839 (verilog-simplify-range-expression): Fix typo ignoring lower case
3840 identifiers.
3841 (verilog-delete-auto): Fix delete-autos to also remove user created
3842 automatics, as long as they start with AUTO.
3843 (verilog-batch-diff-auto, verilog-diff-auto)
3844 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3845 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3846 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3847 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3848 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3849 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3850 is disabled and its cache will get corrupt, causing AUTOS not to
3851 expand. Instead use only -quick functions.
3852 (verilog-scan-region): Fix scanning over escaped quotes.
3853 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3854 (verilog-re-search-backward-quick)
3855 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3856 related functions now ignore strings, to fix misparsing of strings
3857 with magic comments embedded in them.
a1beca85
SM
3858 (verilog-read-auto-template):
3859 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3860 Reported by Brad Dobbie.
3861 (verilog-read-auto-template):
3862 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3863 Reported by Brad Dobbie.
6288f0ca
WS
3864 (verilog-auto-inst, verilog-auto-inst-param)
3865 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3866 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3867 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3868 debugging templates without merge conflicts, bug357.
3869 Reported by Brad Dobbie.
3870 (verilog-read-auto-template):
3871 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3872 Reported by Brad Dobbie.
3873 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3874 abbrevs so user won't be asked to save.
3875 (verilog-read-auto-lisp-present): Fix to start at beginning of
3876 buffer in case called outside of verilog-auto.
3877 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3878 to "X-2". Reported by Matthew Myers.
3879 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3880 all inputs from module templates. Reported by Leith Johnson.
3881 (verilog-module-inside-filename-p): Fix locating programs as with
3882 modules.
3883 (verilog-auto-inst-port): Fix vl-width expressions when using
3884 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3885 (verilog-decls-get-regs, verilog-decls-get-signals,
3886 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3887 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3888 verilog-read-decls): Combine reg and wire structures into one var
3889 structure to represent SystemVerilog concepts.
3890 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3891 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3892 (verilog-auto-wire-type, verilog-insert-definition):
3893 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3894 SystemVerilog "logic" keyword instead of "wire"/"reg".
3895 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3896 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3897 ifdef or generate if so there's not a driver conflict).
3898 Reported by Matthew Myers.
3899 (verilog-auto-declare-nettype, verilog-insert-definition):
3900 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3901 `default_nettype none. Reported by Julian Gorfajn.
3902 (verilog-read-always-signals-recurse, verilog-read-decls)
3903 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3904 malformed end statement, bug325. Reported by Joshua Wise and
3905 Andrew Drake.
3906 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3907 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3908 when expanding .* in interfaces, bug320.
3909 Reported by Pierre-David Pfister.
6288f0ca 3910 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3911 name and open parenthesis, bug317.
3912 Reported by Pierre-David Pfister.
6288f0ca
WS
3913 (verilog-simplify-range-expression): Fix simplification of
3914 multiplications inside AUTOWIRE connections, bug303.
3915 (verilog-auto-inst-port): Support parameter expansion in
3916 multidimensional arrays.
3917 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3918 after "assert property". Reported by Julian Gorfajn.
3919 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3920 with multiplication, bug303.
3921 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3922 Reported by Jan Frode Lonnum.
3923
1bbe96b2
GM
39242011-11-30 Juanma Barranquero <lekktu@gmail.com>
3925
3926 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3927 (hfy-shell-file-name, hfy-shell):
3928 * international/fontset.el (x-decompose-font-name): Fix typos.
3929
39302011-11-29 Ken Brown <kbrown@cornell.edu>
3931
3932 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3933 (gdb-version): Remove defvar.
3934 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3935 (gdb-gud-context-command, gdb-non-stop-handler)
3936 (gdb-current-context-command, gdb-stopped): Use it.
3937 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3938 (gdb-non-stop-handler): Don't enable pretty-printing here.
3939 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3940 non-stop mode. Use the following.
3941 (gdb-check-target-async): New defun.
3942 (gud-watch, gdb-stopped): Fix whitespace.
3943 (gdb-get-source-file): Don't try to display the source file if
3944 `gdb-main-file' is nil.
3945
39462011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * align.el: Try to generate fewer markers (bug#10047).
3949 (align--set-marker): New macro.
3950 (align-region): Use it.
3951
c935221f
SM
39522011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3955
e70b5064
CY
39562011-11-29 Chong Yidong <cyd@gnu.org>
3957
3958 * indent.el (indent-for-tab-command, indent-according-to-mode):
3959 Doc fix.
3960 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3961
f3af92b7
MA
39622011-11-29 Michael Albinus <michael.albinus@gmx.de>
3963
3964 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3965 aware of remote file names. (Bug#10124)
3966
ed472be9
CY
39672011-11-29 Chong Yidong <cyd@gnu.org>
3968
3969 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3970
24510c22
SM
39712011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3972
3973 * files.el (find-file): Don't use force-same-window (bug#10144).
3974 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3975 use pop-to-buffer if the selected window can't be used.
3976 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3977
c60c3703
EZ
39782011-11-28 Eli Zaretskii <eliz@gnu.org>
3979
3980 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3981 special-mode-map.
3982
e95def75
CY
39832011-11-28 Chong Yidong <cyd@gnu.org>
3984
3985 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3986
c3f1c606
NR
39872011-11-27 Nick Roberts <nickrob@snap.net.nz>
3988
3989 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3990 gdb-get-source-file-list on gdb-create-source-file-list.
3991
00db469c
EZ
39922011-11-26 Eli Zaretskii <eliz@gnu.org>
3993
3994 * whitespace.el (whitespace-newline): Use a different foreground
3995 color for 16-color light-background displays.
3996
4ad3bc2a
CY
39972011-11-24 Chong Yidong <cyd@gnu.org>
3998
3999 * window.el (display-buffer--special-action): Doc fix.
4000
e9fce1ac
JB
40012011-11-25 Juanma Barranquero <lekktu@gmail.com>
4002
4003 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4004 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4005 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4006 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4007 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4008 (avl-tree-stack-first):
4009 * emacs-lisp/cconv.el (cconv--analyse-use):
4010 * net/gnutls.el (gnutls-negotiate): Fix typos.
4011
cb825e5d
GM
40122011-11-24 Glenn Morris <rgm@gnu.org>
4013
3adbe224
GM
4014 * lpr.el (lpr-windows-system, lpr-lp-system):
4015 * mail/binhex.el (binhex-begin-line):
4016 * progmodes/grep.el (grep-history, grep-find-history):
4017 * textmodes/flyspell.el:
4018 * vc/pcvs-defs.el (cvs-global-menu):
4019 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4020 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4021 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4022
321decc8
GM
4023 * net/tls.el: Fix case of "GnuTLS".
4024
420b63ad
GM
4025 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4026
cb825e5d
GM
4027 * version.el (emacs-build-system): Give it a doc-string.
4028
a0649f08
JL
40292011-11-24 Juri Linkov <juri@jurta.org>
4030
4031 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4032
c0bc0fd4
GM
40332011-11-24 Glenn Morris <rgm@gnu.org>
4034
4035 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4036 if called on a non-mime message just toggle the headers. (Bug#8006)
4037
20db1522
JB
40382011-11-24 Juanma Barranquero <lekktu@gmail.com>
4039
4040 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4041 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4042 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4043 (allout-rebullet-heading, allout-open-sibtopic)
4044 (allout-toggle-current-subtree-encryption)
4045 (allout-toggle-subtree-encryption, allout-encrypt-string)
4046 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4047 (allout-distinctive-bullets-string, allout-auto-activation):
4048 * window.el (window-normalize-buffer-to-display):
4049 * progmodes/verilog-mode.el (verilog-batch-indent):
4050 * textmodes/bibtex.el (bibtex-field-braces-opt)
4051 (bibtex-field-strings-opt):
4052 * vc/cvs-status.el (cvs-tree-merge):
4053 Fix typos.
4054
7262a87c
MA
40552011-11-23 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4058 `non-essential' to t, in order to avoid remote connections.
4059
283430a1
EZ
40602011-11-23 Eli Zaretskii <eliz@gnu.org>
4061
a1beca85
SM
4062 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4063 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4064 case-insensitively.
4065
d2992a38
ML
40662011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4067
4068 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4069
50419064
GM
40702011-11-23 Glenn Morris <rgm@gnu.org>
4071
da94eca1
GM
4072 * paths.el (rmail-file-name): Reformat the doc-string so that it
4073 is picked up.
4074
9aac4de2
GM
4075 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4076 (rmail-auto-file): Ignore case in the "special" field names,
4077 as mail-fetch-field does for all others.
4078
8038d2d2
GM
4079 * mail/rmail.el (rmail-forward):
4080 * mail/rmailkwd.el (rmail-set-label):
4081 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4082 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4083
f3fe222a
GM
4084 * mail/rmail.el (rmail-current-message): Doc fix.
4085
50419064
GM
4086 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4087
28109f49
SM
40882011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4091
394c65f1
GM
40922011-11-22 Glenn Morris <rgm@gnu.org>
4093
4094 * mail/rmailmm.el (test-rmail-mime-handler)
4095 (test-rmail-mime-bulk-handler)
4096 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4097
f2a0aa3a
JL
40982011-11-21 Juri Linkov <juri@jurta.org>
4099
1154d12e
JB
4100 * calc/calc.el (calc-read-key-sequence):
4101 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4102
9c34a344
LMI
41032011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4104
4105 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4106 Tell the caller that the next line needs recomputation, even
4107 though it doesn't start a sexp (bug#10094).
4108
f04a3be9
SM
41092011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4112
7978747f
SM
41132011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4114
f04a3be9
SM
4115 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4116 Use force-same-window.
7978747f 4117
fe7a3057
JB
41182011-11-20 Juanma Barranquero <lekktu@gmail.com>
4119
4120 * descr-text.el (describe-char-unicode-data):
4121 * json.el (json-string-escape):
4122 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4123 (Footnote-unicode, Footnote-style-p):
4124 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4125
24901d61
CY
41262011-11-20 Chong Yidong <cyd@gnu.org>
4127
4128 * window.el (replace-buffer-in-windows): Restore interactive spec.
4129
bac7ff22
SM
41302011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4131
24f3d7b9
SM
4132 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4133
bac7ff22
SM
4134 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4135 (byte-compile-global-not-obsolete-vars): New var.
4136 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4137 Use it.
4138 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4139
cd1181db
JB
41402011-11-20 Juanma Barranquero <lekktu@gmail.com>
4141
4142 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4143 * progmodes/pascal.el (electric-pascal-equal):
4144 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4145 * xml.el (xml-substitute-special): Fix typos.
4146
7fb18e9e
GM
41472011-11-20 Glenn Morris <rgm@gnu.org>
4148
4149 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4150 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4151 Doc fixes.
4152 (rmail-decode-mime-charset): Mark as obsolete.
4153
4154 * mail/rmailsum.el (rmail-message-regexp-p-1):
4155 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4156 Before using mime functions, check they are set. (Bug#10077)
4157
d5a6b3ba
JL
41582011-11-19 Juri Linkov <juri@jurta.org>
4159
4160 * info.el (Info-finder-find-node): Use `package--builtins' instead
4161 of `package-alist'. Use node names formed by the pattern "Keyword "
4162 and the keyword name.
4163
e981b61f
AS
41642011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4165
1d00653d 4166 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4167
3ffbc301
JL
41682011-11-19 Juri Linkov <juri@jurta.org>
4169
4170 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4171 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4172 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4173 `old-history', `old-history-forward'. Add let-binding
4174 `window-selected'. Remove calls to `kill-buffer',
4175 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4176 before calling `Info-find-node', so `Info-find-node-2' will reread
4177 the Info file. Restore window positions only when `window-selected'
4178 is non-nil.
4179
30c62133
JL
41802011-11-19 Juri Linkov <juri@jurta.org>
4181
4182 * isearch.el (isearch-lazy-highlight-new-loop):
4183 Remove condition `(not isearch-error)'. (Bug#9918)
4184
4185 * misearch.el (multi-isearch-search-fun): Add condition
4186 `(not bound)' to ignore lazy-highlighting search.
4187 Add the search-failed message "end of multi" when the end of
4188 multi-sequence is reached. Uncapitalize the search-failed
4189 message "Repeat for next buffer".
4190
4191 * info.el (Info-search): Add the search-failed message
4192 "end of the manual" when the end of the manual is reached
4193 in Isearch mode.
4194
645ca9cf
JL
41952011-11-19 Juri Linkov <juri@jurta.org>
4196
4197 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4198 Use non-destructive `remove' instead of `delete' because
4199 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4200 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4201
df754f66
JL
42022011-11-19 Juri Linkov <juri@jurta.org>
4203
4204 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4205 to nil instead of binding `search-ring' and `regexp-search-ring'.
4206 (Bug#9185)
4207
0e23d96a
EZ
42082011-11-19 Eli Zaretskii <eliz@gnu.org>
4209
4210 * simple.el (line-move): Force movement by logical lines for any
4211 hscrolled window, not only when auto-hscroll-mode is on.
4212 (line-move-visual): Update doc string to that effect. (Bug#10076)
4213
8a6ccb66
AS
42142011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4215
4216 * language/european.el (macintosh): Define as alias for mac-roman.
4217
49ae5b39
EZ
42182011-11-19 Eli Zaretskii <eliz@gnu.org>
4219
4220 * mail/rmailmm.el (rmail-mime-display-header)
4221 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4222 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4223 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4224 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4225 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4226 of a raw aref.
4227 (rmail-mime-entity-segment): To get past the tagline, move forward
4228 2 more lines, to account for the 2 empty lines that precede and
4229 follow the line with the buttons.
4230 (rmail-mime-update-tagline): Move one more line, to get past the
4231 empty line that follows the buttons in the tagline. (Bug#9520)
4232
c56cad4a
MR
42332011-11-19 Martin Rudalics <rudalics@gmx.at>
4234
4235 * window.el (window-max-delta-1, window-min-delta-1)
4236 (window-min-size-1, window-state-get-1, window-state-put-1)
4237 (window-state-put-2): Use "window--" prefix.
4238
cbe71af3
SM
42392011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4240
2ad52c60
SM
4241 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4242 (smie-warning-count): New var.
4243 (smie-set-prec2tab): Use it.
4244 (smie-bnf->prec2): Improve warnings. Add docstring.
4245 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4246 (smie-bnf--set-class): New function.
4247 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4248 corner case.
4249
6944dbc1
SM
4250 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4251 (compilation-error-properties, compilation-move-to-column):
4252 Handle compilation-first-column while in the target buffer.
4253
c400c4d7
SM
4254 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4255 Don't hardcode point-min==1.
4256
6dbe3e96
SM
4257 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4258 (eshell-rewrite-for-command): Remove workaround.
4259 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4260 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4261 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4262
cbe71af3
SM
4263 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4264
a8e1496d
GM
42652011-11-17 Glenn Morris <rgm@gnu.org>
4266
4267 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4268 Ignore buffer-local generated-autoload-file if it is the same
4269 as the global value. (Bug#10049)
4270
df85d315
JB
42712011-11-17 Juanma Barranquero <lekktu@gmail.com>
4272
4273 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4274 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4275 (reftex-toc-previous-heading, reftex-toc-max-level)
4276 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4277 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4278 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4279 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4280 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4281 (reftex-toc-rename-label, reftex-toc-visit-location)
4282 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4283 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4284 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4285 leaving "*toc*" only for references to the buffer.
4286
a0c2d0ae
MR
42872011-11-17 Martin Rudalics <rudalics@gmx.at>
4288
4289 * window.el (window-resize, delete-window, split-window):
4290 Replace window-splits by window-combination-resize.
1d00653d 4291 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4292
35c0bac8
GM
42932011-11-17 Glenn Morris <rgm@gnu.org>
4294
4295 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4296 Make bash entry derive from sh entry, not shell entry.
4297
d0c8fc8a
MA
42982011-11-16 Michael Albinus <michael.albinus@gmx.de>
4299
d0c8fc8a
MA
4300 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4301 properties of linked files. (Bug#9879)
4302
7262a87c
MA
4303 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4304 local file name.
4305
7877f373
JB
43062011-11-16 Juanma Barranquero <lekktu@gmail.com>
4307
4308 * menu-bar.el (menu-bar-file-menu):
4309 * printing.el (pr-ps-utility):
4310 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4311 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4312 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4313 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4314 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4315 (icalendar--convert-cyclic-to-ical)
4316 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4317 (icalendar--convert-ical-to-diary)
4318 (icalendar--convert-recurring-to-diary)
4319 (icalendar--convert-non-recurring-all-day-to-diary)
4320 (icalendar-import-format-sample):
4321 * progmodes/idlw-shell.el (idlwave-shell-mode):
4322 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4323 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4324 (vhdl-ps-print-init): Fix typos.
4325
10649b82
KM
43262011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4327
9d0cfcd6
GM
4328 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4329 FSF and collapse date sequence, obscure author/maintainer email address
4330 better, remove extra version line, track relocation of author's webpage.
10649b82 4331
9d0cfcd6
GM
4332 * progmodes/python.el (python-pdbtrack-input-prompt)
4333 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4334 regular python pdb prompts. Adjustments shamelessly taken exactly as
4335 suggested in EmacsWiki page (tiny change):
4336 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4337
58179cce
JB
43382011-11-16 Juanma Barranquero <lekktu@gmail.com>
4339
4340 * expand.el (expand-pos, expand-index, expand-point):
4341 Remove redundant info from docstring.
4342 (expand-add-abbrevs): Doc fix.
4343 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4344 (expand-sample-perl-mode-expand-list): Fix typos.
4345
4346 * net/dbus.el (dbus-event-member-name):
4347 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4348 * term/pc-win.el (msdos-create-frame-with-faces):
4349 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4350
b6f67890
MR
43512011-11-16 Martin Rudalics <rudalics@gmx.at>
4352
4353 * window.el (split-window, window-state-get-1)
4354 (window-state-put-1, window-state-put-2): Rename occurrences of
4355 window-nest to window-combination-limit.
1d00653d 4356 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4357
ce7ddba0
CY
43582011-11-16 Chong Yidong <cyd@gnu.org>
4359
4360 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4361 regexp (Bug#10033).
4362
3ae704f4
SM
43632011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4366 `completing-read' will remove *Completions* and will preserve
4367 current-buffer for us.
4368 (tmm-add-prompt): Users of *Completions* will always (re)set its
4369 major mode.
4370 (tmm-old-comp-map): Remove.
4371
6ad1cdde
GM
43722011-11-16 Glenn Morris <rgm@gnu.org>
4373
4374 * mail/rmailedit.el: Require rmailmm when compiling.
4375 (rmail-old-mime-state): New declaration.
4376 (rmail-edit-current-message): If editing a mime message,
4377 edit the "raw" message from the mbox buffer.
4378 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4379
d20faa20
GM
43802011-11-15 Glenn Morris <rgm@gnu.org>
4381
4382 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4383 which wasn't being used. Add optional arg to force given state.
4384 (rmail-mime): Add optional arg to force given state.
4385
c7015153
JB
43862011-11-15 Juanma Barranquero <lekktu@gmail.com>
4387
4388 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4389 * frame.el (display-mm-dimensions-alist):
4390 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4391 (outline-move-subtree-down):
4392 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4393 (newsticker--treeview-do-get-node):
4394 * net/quickurl.el (quickurl-list-buffer-name):
4395 * progmodes/dcl-mode.el (dcl-mode):
4396 * progmodes/gdb-mi.el (gdb-mapcar*):
4397 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4398
45261b50
GM
43992011-11-15 Glenn Morris <rgm@gnu.org>
4400
4401 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4402 in a boolean sense, so just make it a boolean, and fix the doc.
4403 (rmail-show-mime-function, rmail-mime-feature)
4404 (rmail-require-mime-maybe): Doc fixes.
4405 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4406
4407 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4408
0d26e0b6
JB
44092011-11-15 Juanma Barranquero <lekktu@gmail.com>
4410
4411 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4412 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4413 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4414 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4415
447f30f6
GM
44162011-11-15 Glenn Morris <rgm@gnu.org>
4417
672b871d
GM
4418 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4419 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4420 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4421 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4422 (rmail-mime, rmail-show-mime): Doc fixes.
4423
f6aa5bb1
GM
4424 * term/ns-win.el (mode-line-frame-identification):
4425 Leave it alone. (Bug#10051)
4426
947cd66b
GM
4427 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4428
447f30f6
GM
4429 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4430 Handle empty buffers. (Bug#9978)
4431
0b381c7e
JB
44322011-11-14 Juanma Barranquero <lekktu@gmail.com>
4433
4434 * international/mule.el (define-charset):
4435 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4436 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4437 * progmodes/verilog-mode.el (verilog-backward-token):
4438 * textmodes/ispell.el (lookup-words):
4439 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4440
71e027ac
GM
44412011-11-14 Glenn Morris <rgm@gnu.org>
4442
56632ce4
GM
4443 * progmodes/executable.el
4444 (executable-make-buffer-file-executable-if-script-p):
4445 Handle file-modes returning nil.
4446
40500957
GM
4447 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4448 message - not necessary, and causes problems. (Bug#9831)
4449
071c2340
GM
4450 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4451
d3cfca60
GM
4452 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4453
71e027ac
GM
4454 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4455 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4456 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4457
89d61221
MR
44582011-11-12 Martin Rudalics <rudalics@gmx.at>
4459
4460 * window.el (window-resize, delete-window): Use window-splits
4461 variable instead of function.
4462 (window-state-get-1, window-state-put-2, window-state-put):
4463 Don't deal with windows' splits status.
4464
98282f6f
GM
44652011-11-12 Glenn Morris <rgm@gnu.org>
4466
4467 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4468 (apropos-documentation): Doc fixes.
4469
40a8bdf6
JB
44702011-11-11 Juanma Barranquero <lekktu@gmail.com>
4471
4472 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4473 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4474
65bd19ff
SM
44752011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4476
4477 * electric.el (electric-indent-post-self-insert-function): Make it
4478 possible for a char to only indent in some circumstances.
4479 (electric-indent-mode): Simplify.
4480
54f9154c
MR
44812011-11-11 Martin Rudalics <rudalics@gmx.at>
4482
4483 * window.el (windows-with-parameter): Remove unused function.
4484 (windows-at-side): Rename to window-at-side-list.
4485 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4486 (window-side-check, window-size-ignore, window-size-fixed-1)
4487 (window-in-direction-2): Prefix with "window--".
4488 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4489
68cbc58b
GM
44902011-11-11 Glenn Morris <rgm@gnu.org>
4491
4492 * subr.el (eval-after-load): If FILE is already loaded,
4493 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4494
b2621720
GM
44952011-11-10 Glenn Morris <rgm@gnu.org>
4496
9a4de110
GM
4497 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4498 Call svn via vc-svn-command rather than vc-do-command.
4499 (vc-svn-command): Add --non-interactive. (Bug#9993)
4500 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4501
b2621720
GM
4502 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4503 Add toggle-read-only. (Bug#7292)
4504 * files.el (toggle-read-only): Mention that it should only
4505 be used interactively. (Bug#10006)
4506
1dce7193
SM
45072011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4508
d9ac1a1e
SM
4509 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4510 Adjust regexp for OCaml warnings.
4511
0c325082
SM
4512 * electric.el (electric-pair-post-self-insert-function): Let user
4513 turn it off buffer-locally (bug#9932).
4514
90132c14
SM
4515 * progmodes/python.el (python-beginning-of-statement):
4516 Rewrite (bug#2703).
4517
1dce7193
SM
4518 * progmodes/compile.el: Better handle TABs (bug#9749).
4519 (compilation-internal-error-properties)
4520 (compilation-next-error-function): Obey the target buffer's
4521 compilation-error-screen-columns.
4522
c4e7c63a
JB
45232011-11-09 Juanma Barranquero <lekktu@gmail.com>
4524
4525 * progmodes/meta-mode.el: Remove obsolete comments.
4526 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4527 Fix typos in docstrings.
4528
2cffd681
MR
45292011-11-09 Martin Rudalics <rudalics@gmx.at>
4530
4531 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4532 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4533 (window--resizable): New function. Make all callers of
4534 window-resizable call window--resizable instead.
4535 (window-resizable): Rewrite in terms of window--resizable.
4536
0edcba87
GM
45372011-11-08 Glenn Morris <rgm@gnu.org>
4538
4539 * progmodes/delphi.el (delphi-mode-syntax-table):
4540 Let define-derived-mode define a proper syntax table. (Bug#9994)
4541
4b0d61e3
SM
45422011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * window.el: Stay away from defsubst.
4545 (window-list-no-nils): Remove.
4546 (window-state-get-1, window-state-get): Use backquote instead.
4547
cd394be1 45482011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4549
4b0d61e3 4550 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4551 Fix incorrect use of default argument in `completing-read'.
4552
e1c2c6f2
MR
45532011-11-08 Martin Rudalics <rudalics@gmx.at>
4554
4555 * window.el (display-buffer-function, special-display-function):
4556 Mention display-buffer-record-window but do not mention
4557 help-setup parameter in doc-strings.
b3f4a882 4558 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4559
105216ed
CY
45602011-11-08 Chong Yidong <cyd@gnu.org>
4561
4562 * window.el (window-total-height, window-total-width): Doc fix.
4563 (window-body-size): Move from C.
4564 (window-body-height, window-body-width): Move to C.
4565
0a9f9ab5
SM
45662011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * window.el: Make special-display like display-buffer-alist (bug#9532).
4569 (display-buffer--special-action): New function, morphed
4570 from display-buffer--special.
4571 (display-buffer): Use it to handle special-display-buffers at higher
4572 priority (just after display-buffer-alist).
4573 (display-buffer-fallback-action, display-buffer--other-frame-action)
4574 (pop-to-buffer-same-window): Remove display-buffer--special.
4575
a769dd15
GM
45762011-11-07 Glenn Morris <rgm@gnu.org>
4577
4578 * calendar/cal-menu.el (cal-menu-set-date-title):
4579 Do nothing if not in a calendar. (Bug#9976)
4580
05a61ee3
SM
45812011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * files.el (find-file): Always use selected-window.
4584
be7f5545
MR
45852011-11-07 Martin Rudalics <rudalics@gmx.at>
4586
4587 * window.el (window-combinations): Make WINDOW argument
4588 mandatory. Rewrite doc-string.
4589 (walk-window-subtree, window-atom-check, window-min-delta)
4590 (window-max-delta, window--resize-this-window)
4591 (window--resize-root-window-vertically, window-tree)
4592 (balance-windows, window-state-put): Rewrite doc-strings as to
4593 not mention the term "subwindow".
4594 (window--resize-subwindows-skip-p): Rename to
4595 window--resize-child-windows-skip-p.
4596 (window--resize-subwindows-normal): Rename to
4597 window--resize-child-windows-normal.
4598 (window--resize-subwindows): Rename to
4599 window--resize-child-windows.
4600 (window-or-subwindow-p): Rename to window--in-subtree-p.
4601
3c6702ef
ML
46022011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4603
4604 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4605 Ensure that mbox format messages end in two newlines (Bug#9974).
4606
49745b39
CY
46072011-11-06 Chong Yidong <cyd@gnu.org>
4608
4609 * window.el (window-combination-p): Function deleted; its
4610 side-effect is not used in any existing code.
4611 (window-combinations, window-combined-p): Call window-*-child
4612 directly.
4613
24300f5f
CY
46142011-11-05 Chong Yidong <cyd@gnu.org>
4615
4616 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4617 (window-size-ignore, window-state-get): Callers changed.
4618 (window-normalize-window): Rename from window-normalize-any-window.
4619 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4620 (window-normalize-live-window): Delete.
447f16b8
CY
4621 (window-combination-p, window-combined-p, window-combinations)
4622 (walk-window-subtree, window-atom-root, window-min-size)
4623 (window-sizable, window-sizable-p, window-size-fixed-p)
4624 (window-min-delta, window-max-delta, window-resizable)
4625 (window-resizable-p, window-full-height-p, window-full-width-p)
4626 (window-current-scroll-bars, window-point-1, set-window-point-1)
4627 (window-at-side-p, window-in-direction, window-resize)
4628 (adjust-window-trailing-edge, maximize-window, minimize-window)
4629 (window-deletable-p, delete-window, delete-other-windows)
4630 (record-window-buffer, unrecord-window-buffer)
4631 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4632 (quit-window, split-window, window-state-put)
4633 (set-window-text-height, fit-window-to-buffer)
4634 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4635
89bd5ee1
EZ
46362011-11-04 Eli Zaretskii <eliz@gnu.org>
4637
53479029
EZ
4638 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4639 rfc2047-decode-string.
4640 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4641 warnings.
4642
89bd5ee1
EZ
4643 * window.el (window-body-height, window-body-width): Mention in
4644 the doc string that the return values are in frame's canonical
4645 units. (Bug#9949)
4646
bd17fdee
AM
46472011-11-03 Alan Mackenzie <acm@muc.de>
4648
4649 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4650 change in cc-engine.el.
4651
acc825c5
SM
46522011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4655
1885e5b8
MR
46562011-11-02 Martin Rudalics <rudalics@gmx.at>
4657
4658 * window.el (quit-window): Call unrecord-window-buffer after
4659 showing another buffer in the window. (Bug#9937)
acc825c5 4660 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4661
ebe06da9
JB
46622011-11-02 Juanma Barranquero <lekktu@gmail.com>
4663
4664 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4665 Accept status with more than 9 shelves. (Bug#9935)
4666 Reported by Colin D Bennett <colin@gibibit.com>.
4667
4ee88440
MR
46682011-11-01 Martin Rudalics <rudalics@gmx.at>
4669
4670 * help.el (with-help-window): Don't reference
4671 temp-buffer-show-specifiers in doc-string.
4672
08e1d82c
AS
46732011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4674
4675 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4676 menu-item.
4677
84bd6e9e
VJL
46782011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4679
4680 * whitespace.el: New version 13.2.2.
4681 (whitespace-newline-mode): Disable properly. Reported by Sarah
4682 <EmacsWiki>.
4683
dba0634a
UJ
46842011-10-30 Ulf Jasper <ulf.jasper@web.de>
4685
4686 * net/newst-treeview.el: Remove "Time-stamp".
4687 (newsticker--group-manage-orphan-feeds): Do not call
4688 newsticker--treeview-tree-update.
db22a3c2
JB
4689 (newsticker-treeview-update, newsticker-treeview):
4690 Call newsticker--treeview-tree-update if necessary.
dba0634a 4691
3d8daefe
MR
46922011-10-30 Martin Rudalics <rudalics@gmx.at>
4693
4694 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4695 (window-iso-combinations): Remove "iso-" infix.
4696 Suggested by Chong Yidong.
3d8daefe
MR
4697 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4698 (window-max-delta-1, window-resize, window--resize-siblings)
4699 (window--resize-this-window, adjust-window-trailing-edge)
4700 (split-window, balance-windows-1)
4701 (shrink-window-if-larger-than-buffer):
4702 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4703 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4704
1bc4c3ae
SM
47052011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4708 in place (bug#9907).
4709 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4710 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4711 (eshell-structure-basic-command, eshell-rewrite-while-command)
4712 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4713 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4714 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4715 (eshell-do-pipelines-synchronously, eshell-eval-command):
4716 Use backquotes and prefer setq to set.
4717 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4718 (eshell-macrop): Use functionp.
c1e2f5fa 4719 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4720
30b65d9c
CY
47212011-10-30 Chong Yidong <cyd@gnu.org>
4722
4723 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4724 instead of set-mark (Bug#9810).
4725
2d197ffb
CY
47262011-10-30 Chong Yidong <cyd@gnu.org>
4727
4728 * window.el (split-window-below, split-window-right): Rename from
4729 split-window-above-each-other and split-window-side-by-side
4730 respectively. All callers changed.
4731 (split-window-sensibly, split-window-sensibly): Use them.
4732 (split-window-keep-point): Doc fix.
4733
4734 * isearch.el: Add isearch-scroll property to split-window-below
4735 and split-window-right.
4736
4737 * follow.el (follow-mode):
4738 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4739 * progmodes/ada-xref.el (ada-gdb-application):
4740 * emulation/vip.el (vip-buffer-in-two-windows):
4741 * image-dired.el (image-dired-dired-with-window-configuration):
4742 * dired-x.el (dired-do-find-marked-files):
4743 * dired.el (dired-pop-to-buffer):
4744 * bs.el (bs--show-with-configuration):
4745 * vc/emerge.el (emerge-setup-windows):
4746 * textmodes/two-column.el (2C-two-columns):
4747 * textmodes/reftex-toc.el (reftex-toc):
4748 * progmodes/gdb-mi.el (gdb-setup-windows):
4749 * progmodes/fortran.el (fortran-window-create):
4750 * net/newst-treeview.el (newsticker--treeview-window-init):
4751 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4752 * emulation/tpu-edt.el (tpu-gold-map):
4753 * emulation/crisp.el (crisp-mode-map):
4754 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4755
38bb2ca8
CY
47562011-10-29 Chong Yidong <cyd@gnu.org>
4757
aa4de341
CY
4758 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4759
e1eb5385
CY
4760 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4761
5d2ece3c
CY
4762 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4763 forged Ispell output (Bug#7904).
4764
38bb2ca8
CY
4765 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4766
d0af9f77
SM
47672011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * doc-view.el: Avoid ugly errors about not finding nil.
4770 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4771 (doc-view-dvipdf-program, doc-view-unoconv-program)
4772 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4773 Avoid nil or absolute file name as default value.
4774 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4775
52bedd34
AM
47762011-10-28 Alan Mackenzie <acm@muc.de>
4777
db22a3c2 4778 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4779
7e43cfa5
AM
47802011-10-28 Alan Mackenzie <acm@muc.de>
4781
4782 Amend the handling of c-beginning/end-of-defun in nested declaration
4783 scopes.
4784
52bedd34
AM
4785 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4786 cc-langs.el. Change it to a defcustom.
7e43cfa5 4787
52bedd34
AM
4788 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4789 cc-vars.el.
7e43cfa5 4790
d0af9f77
SM
4791 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4792 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4793
52bedd34 4794 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4795 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4796 (c-widen-to-enclosing-decl-scope): New function.
4797 (c-while-widening-to-decl-block): New macro.
4798 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4799 outward for defun boundaries, and correspondingly change symbol
4800 `respect-enclosure' to `go-outward'.
4801 (c-declaration-limits): Change algorithm to report only the "innermost"
4802 defun's boundaries.
4803
1a2ce9ee
DD
48042011-10-28 Deniz Dogan <deniz@dogan.se>
4805
4806 * net/rcirc.el (rcirc-mode): Use hard newlines.
4807
bc97a826
AM
48082011-10-28 Alan Mackenzie <acm@muc.de>
4809
4810 Amend to indent and fontify macros "which include their own semicolon"
4811 correctly, using the "virtual semicolon" mechanism.
4812
52bedd34 4813 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4814
d0af9f77 4815 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4816 Recode to scan one line at a time rather than having \n and \r
58179cce 4817 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4818 (c-forward-label): Amend for virtual semicolons.
58179cce 4819 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4820
52bedd34
AM
4821 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4822 of the new C macros.
bc97a826 4823
52bedd34 4824 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4825 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4826 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4827 (c-opt-cpp-macro-define): Make into a full language variable.
4828 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4829 AWK Mode (including \n, \r) removed, no longer needed.
4830
d0af9f77
SM
4831 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4832 Invoke c-make-macro-with-semi-re.
bc97a826 4833
52bedd34
AM
4834 * progmodes/cc-vars.el (c-macro-with-semi-re):
4835 (c-macro-names-with-semicolon): New variables.
58179cce 4836 (c-make-macro-with-semi-re): New function.
bc97a826 4837
7a6c0941
SM
48382011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * vc/log-edit.el: Fill empty field rather than adding new one.
4841 (log-edit-add-field): New function.
4842 (log-edit-insert-changelog): Use it.
4843
b0c4cdcf
ML
48442011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4845
4846 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4847
ee1f1da9
SM
48482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4849
4850 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4851 (gdb--check-interpreter): New function.
4852 (gdb): Use it.
4853
51bc5f8b
GM
48542011-10-27 Glenn Morris <rgm@gnu.org>
4855
416a2c45
GM
4856 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4857 (least-positive-float, least-negative-float)
4858 (least-positive-normalized-float, least-negative-normalized-float)
4859 (float-epsilon, float-negative-epsilon):
4860 Remove unnecessary declarations.
4861
4862 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4863 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4864 (least-positive-float, least-negative-float)
4865 (least-positive-normalized-float, least-negative-normalized-float)
4866 (float-epsilon, float-negative-epsilon): Add doc-strings,
4867 based on those in cl.texi.
4868
51bc5f8b
GM
4869 * files.el (set-visited-file-name): If the major-mode changed,
4870 reload the local variables. (Bug#9796)
4871
15de15c6
CY
48722011-10-27 Chong Yidong <cyd@gnu.org>
4873
4874 * subr.el (change-major-mode-after-body-hook): New hook.
4875 (run-mode-hooks): Run it.
4876
ee1f1da9
SM
4877 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4878 Use change-major-mode-before-body-hook.
15de15c6
CY
4879
4880 * simple.el (fundamental-mode):
4881 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4882 change introducing fundamental-mode-hook.
4883
5430d399
JB
48842011-10-26 Juanma Barranquero <lekktu@gmail.com>
4885
acc825c5 4886 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4887
ad74a69e
MA
48882011-10-26 Michael Albinus <michael.albinus@gmx.de>
4889
4890 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4891 tramp.el explicitly. (Bug#7583)
ad74a69e 4892
71d4c2a5
SM
48932011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * progmodes/octave-mod.el:
4896 * progmodes/octave-inf.el: Update maintainer.
4897
b1f6fa26
CY
48982011-10-26 Chong Yidong <cyd@gnu.org>
4899
4900 * subr.el (with-wrapper-hook): Rewrite doc.
4901
3f04efd6
MA
49022011-10-25 Michael Albinus <michael.albinus@gmx.de>
4903
4904 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4905 filenames "/method:foo:". (Bug#9793)
3f04efd6 4906
410488d3
SM
49072011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4908
4909 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4910 (bug#9865).
4911
c1ebb47e
GM
49122011-10-24 Glenn Morris <rgm@gnu.org>
4913
4914 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4915
7f5c46c7
MA
49162011-10-24 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * notifications.el: Add the requirement of a running D-Bus session
4919 bus to the Commentary.
4920
db2440b6
JL
49212011-10-24 Juri Linkov <juri@jurta.org>
4922
4923 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4924 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4925 (Bug#9364)
4926
feecf435
JL
49272011-10-24 Juri Linkov <juri@jurta.org>
4928
4929 * info.el (Info-following-node-name-re): Add newline to the list
4930 of allowed characters for leading space. (Bug#9824)
4931
a3839de2
SM
49322011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4933
acc825c5
SM
4934 * progmodes/octave-inf.el (inferior-octave-mode-map):
4935 Fix C-c C-h binding.
a3839de2
SM
4936 * progmodes/octave-mod.el (octave-help): Remove.
4937
09388e76
MA
49382011-10-23 Michael Albinus <michael.albinus@gmx.de>
4939
4940 Sync with Tramp 2.2.3.
4941
4942 * net/tramp-cache.el (top): Pacify byte-compiler using
4943 `init-file-user' and `site-run-file'.
4944
4945 * net/trampver.el: Update release number.
4946
86c60681
CY
49472011-10-23 Chong Yidong <cyd@gnu.org>
4948
4949 * files.el (toggle-read-only): Remove obsolete comment about
4950 version control.
4951
4952 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4953 for toggle-read-only. Note that this hasn't called vc-next-action
4954 since 2008-05-02, though it wasn't documented at the time.
4955
a3839de2
SM
4956 * vc/ediff-init.el (ediff-toggle-read-only-function):
4957 Use toggle-read-only.
86c60681 4958
cd5495ff
AM
49592011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4960
4961 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4962 of c-parse-state.
4963
00b77525 4964 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4965 correct faulty logical expression.
cd5495ff
AM
4966 (c-parse-state-state, c-record-parse-state-state):
4967 (c-replay-parse-state-state): New defvar/defuns.
4968 (c-debug-parse-state): Use new functions.
4969
42ee24ed
MR
49702011-10-22 Martin Rudalics <rudalics@gmx.at>
4971
4972 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4973 last fix. Use window-in-direction correctly.
42ee24ed 4974
a7dee7e7
CY
49752011-10-21 Chong Yidong <cyd@gnu.org>
4976
4977 * progmodes/idlwave.el (idlwave-mode):
4978 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4979 require-final-newline; that's done in prog-mode.
4980 Suggested by Stefan Monnier.
a7dee7e7 4981
e07b9a6d
MR
49822011-10-21 Martin Rudalics <rudalics@gmx.at>
4983
4984 * mouse.el (mouse-drag-window-above)
4985 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4986 (mouse-drag-mode-line-1, mouse-drag-header-line)
4987 (mouse-drag-vertical-line-rightward-window): Remove.
4988 (mouse-drag-line): New function.
4989 (mouse-drag-mode-line, mouse-drag-header-line)
4990 (mouse-drag-vertical-line): Call mouse-drag-line.
4991 * window.el (window-at-side-p, windows-at-side): New functions.
4992
7e1361d9
UM
49932011-10-21 Ulrich Mueller <ulm@gentoo.org>
4994
4995 * tar-mode.el (tar-grind-file-mode):
4996 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4997
30fcaf3a
CY
49982011-10-21 Chong Yidong <cyd@gnu.org>
4999
5000 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5001 * progmodes/vera-mode.el (vera-mode):
5002 Use mode-require-final-newline.
30fcaf3a 5003
516eddb0
GM
50042011-10-20 Glenn Morris <rgm@gnu.org>
5005
db22a3c2 5006 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5007
10d5f513
CS
50082011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5009
5010 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5011
ac6c8639
CY
50122011-10-20 Chong Yidong <cyd@gnu.org>
5013
5014 * emulation/cua-base.el (cua-mode):
5015 * mail/footnote.el (footnote-mode):
5016 * mail/mailabbrev.el (mail-abbrevs-mode):
5017 * net/xesam.el (xesam-minor-mode):
5018 * progmodes/bug-reference.el (bug-reference-mode):
5019 * progmodes/cap-words.el (capitalized-words-mode):
5020 * progmodes/compile.el (compilation-minor-mode)
5021 (compilation-shell-minor-mode):
5022 * progmodes/gud.el (gud-tooltip-mode):
5023 * progmodes/hideif.el (hide-ifdef-mode):
5024 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5025 * progmodes/subword.el (subword-mode):
5026 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5027 * progmodes/which-func.el (which-function-mode):
5028 * term/tvi970.el (tvi970-set-keypad-mode):
5029 * term/vt100.el (vt100-wide-mode):
5030 * textmodes/flyspell.el (flyspell-mode):
5031 * textmodes/ispell.el (ispell-minor-mode):
5032 * textmodes/nroff-mode.el (nroff-electric-mode):
5033 * textmodes/paragraphs.el (use-hard-newlines):
5034 * textmodes/refill.el (refill-mode):
5035 * textmodes/reftex.el (reftex-mode):
5036 * textmodes/rst.el (rst-minor-mode):
5037 * textmodes/sgml-mode.el (html-autoview-mode)
5038 (sgml-electric-tag-pair-mode):
5039 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5040 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5041 * emulation/crisp.el (crisp-mode):
5042 * emacs-lisp/eldoc.el (eldoc-mode):
5043 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5044 minor mode behavior.
5045
aa42ab43
JL
50462011-10-19 Juri Linkov <juri@jurta.org>
5047
5048 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5049 the list of hard-coded chars with escape-glyph face.
5050
89400f1d
SM
50512011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5054
305c07f6
MA
50552011-10-19 Michael Albinus <michael.albinus@gmx.de>
5056
5057 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5058 running process.
5059
13754b54
GM
50602011-10-19 Glenn Morris <rgm@gnu.org>
5061
5062 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5063 Ignore ignored files. (Bug#9726)
5064
06e21633
CY
50652011-10-19 Chong Yidong <cyd@gnu.org>
5066
5067 Doc fix for minor modes, stating that an omitted argument enables
5068 the mode unconditionally when called from Lisp.
5069
5070 * abbrev.el (abbrev-mode):
5071 * allout.el (allout-mode):
5072 * autoinsert.el (auto-insert-mode):
5073 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5074 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5075 (global-auto-revert-mode):
5076 * battery.el (display-battery-mode):
5077 * composite.el (global-auto-composition-mode)
5078 (auto-composition-mode):
5079 * delsel.el (delete-selection-mode):
5080 * desktop.el (desktop-save-mode):
5081 * dired-x.el (dired-omit-mode):
5082 * dirtrack.el (dirtrack-mode):
5083 * doc-view.el (doc-view-minor-mode):
5084 * double.el (double-mode):
5085 * electric.el (electric-indent-mode, electric-pair-mode):
5086 * emacs-lock.el (emacs-lock-mode):
5087 * epa-hook.el (auto-encryption-mode):
5088 * follow.el (follow-mode):
5089 * font-core.el (font-lock-mode):
5090 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5091 * help.el (temp-buffer-resize-mode):
5092 * hilit-chg.el (highlight-changes-mode)
5093 (highlight-changes-visible-mode):
5094 * hi-lock.el (hi-lock-mode):
5095 * hl-line.el (hl-line-mode, global-hl-line-mode):
5096 * icomplete.el (icomplete-mode):
5097 * ido.el (ido-everywhere):
5098 * image-file.el (auto-image-file-mode):
5099 * image-mode.el (image-minor-mode):
5100 * iswitchb.el (iswitchb-mode):
5101 * jka-cmpr-hook.el (auto-compression-mode):
5102 * linum.el (linum-mode):
5103 * longlines.el (longlines-mode):
5104 * master.el (master-mode):
5105 * mb-depth.el (minibuffer-depth-indicate-mode):
5106 * menu-bar.el (menu-bar-mode):
5107 * minibuf-eldef.el (minibuffer-electric-default-mode):
5108 * mouse-sel.el (mouse-sel-mode):
5109 * msb.el (msb-mode):
5110 * mwheel.el (mouse-wheel-mode):
5111 * outline.el (outline-minor-mode):
5112 * paren.el (show-paren-mode):
5113 * recentf.el (recentf-mode):
5114 * reveal.el (reveal-mode, global-reveal-mode):
5115 * rfn-eshadow.el (file-name-shadow-mode):
5116 * ruler-mode.el (ruler-mode):
5117 * savehist.el (savehist-mode):
5118 * scroll-all.el (scroll-all-mode):
5119 * scroll-bar.el (scroll-bar-mode):
5120 * server.el (server-mode):
5121 * shell.el (shell-dirtrack-mode):
5122 * simple.el (auto-fill-mode, transient-mark-mode)
5123 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5124 (line-number-mode, column-number-mode, size-indication-mode)
5125 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5126 * strokes.el (strokes-mode):
5127 * time.el (display-time-mode):
5128 * t-mouse.el (gpm-mouse-mode):
5129 * tool-bar.el (tool-bar-mode):
5130 * tooltip.el (tooltip-mode):
5131 * type-break.el (type-break-mode-line-message-mode)
5132 (type-break-query-mode):
5133 * view.el (view-mode):
5134 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5135 (global-whitespace-mode, global-whitespace-newline-mode):
5136 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5137
a3839de2
SM
5138 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5139 Fix autogenerated docstring.
06e21633 5140
5214e501
JL
51412011-10-19 Juri Linkov <juri@jurta.org>
5142
5143 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5144 by checking environment variables "DESKTOP_SESSION" and
5145 "XDG_CURRENT_DESKTOP". (Bug#9779)
5146
195f8db9
JL
51472011-10-19 Juri Linkov <juri@jurta.org>
5148
5149 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5150 (browse-url-chromium-program, browse-url-chromium-arguments):
5151 New defcustoms.
5152 (browse-url-default-browser): Check for `browse-url-chromium' and
5153 call `browse-url-chromium-program'.
5154 (browse-url-chromium): New command. (Bug#9779)
5155
343a34ff
JB
51562011-10-18 Juanma Barranquero <lekktu@gmail.com>
5157
5158 * facemenu.el (list-colors-duplicates): On Windows, detect more
5159 duplicates by assuming that only colors matching "^System" are
5160 special "system colors". (Bug#9722)
5161
6978a151
SM
51622011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5163
5164 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5165 to distinguish the author from the committer.
5166
6a80b297
MA
51672011-10-18 Michael Albinus <michael.albinus@gmx.de>
5168
5169 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5170
b31a5677
JK
51712011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5172
5173 * international/mule.el (sgml-html-meta-auto-coding-function):
5174 Add support for detecting encoding in HTML5 specified only as
5175 <meta charset="UTF-8">. Implementation just makes http-equiv and
5176 content-type parts from HTML4 encoding string optional. (Bug#9716)
5177
80c6d77f
GM
51782011-10-18 Glenn Morris <rgm@gnu.org>
5179
5180 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5181
08b0fee8
CY
51822011-10-18 Chong Yidong <cyd@gnu.org>
5183
5184 * faces.el (cursor): Doc fix.
5185
67e729a5
CY
51862011-10-17 Chong Yidong <cyd@gnu.org>
5187
5188 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5189
343a34ff 51902011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5191
5192 * dirtrack.el (dirtrack): Support shell buffers with path
5193 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5194
0bc06380
TZ
51952011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5196
5197 * json.el: Bump version to 1.3 and note change in History.
5198 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5199
8b79f3e0
SM
52002011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5a7c536b
SM
5202 * comint.el (comint-insert-input, comint-send-input)
5203 (comint-get-old-input-default, comint-backward-matching-input)
5204 (comint-next-prompt): Use nil instead of `input' for field property of
5205 past user input (bug#114).
5206
96a8a0df
SM
5207 * minibuffer.el (completion--replace): Inherit surrounding properties
5208 (bug#114).
5209 (minibuffer-complete-and-exit): Use it.
5210
8b79f3e0
SM
5211 * comint.el (comint--table-subvert): Quote the all-completions output
5212 (bug#9160).
5213
b8f7ff0d
MR
52142011-10-17 Martin Rudalics <rudalics@gmx.at>
5215
8b79f3e0 5216 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5217
b8f7ff0d 5218 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5219 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5220 entries and separate them from frame entries.
5221
c235b555
GM
52222011-10-15 Glenn Morris <rgm@gnu.org>
5223
5224 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5225 Doc fixes.
5226
6bbfa6e1
CY
52272011-10-15 Chong Yidong <cyd@stupidchicken.com>
5228
8b79f3e0
SM
5229 * net/network-stream.el (network-stream-open-starttls):
5230 Improve detection of failure due to lack of TLS support.
ec5c990d 5231
6bbfa6e1
CY
5232 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5233 putting the input text in front and in bold.
5234
98488977
SM
52352011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5236
3d1337be
SM
5237 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5238
ee0b45e4
SM
5239 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5240 empty buffer.
5241
98488977
SM
5242 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5243 unread-command-events rather than pushing yet-another event.
5244
186f4720
EZ
52452011-10-14 Eli Zaretskii <eliz@gnu.org>
5246
5247 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5248 the explanation of the possible choices. Make the options passed
5249 to completing-read shorter.
5250
8b7a997c
AM
52512011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5252
5253 * textmodes/flyspell.el (flyspell-large-region): Make sure
5254 extended character mode is used if defined (Bug#1339).
5255
12587bbb
EZ
52562011-10-13 Eli Zaretskii <eliz@gnu.org>
5257
5258 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5259 character info for LRE, LRO, RLE, and RLO characters by appending
5260 an invisible PDF.
12587bbb 5261
bad41229
SM
52622011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5265 even in case of error; add debug spec; simplify data flow.
5266 (with-timeout-handler): Remove.
5267
28dbc92f
MA
52682011-10-12 Michael Albinus <michael.albinus@gmx.de>
5269
5270 Fix Bug#6019, Bug#9315.
5271
5272 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5273 complete `buffer-file-name', the local file name part could look
5274 remotely (for example on VMS).
5275
5276 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5277 `tramp-run-real-handler'.
5278 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5279 already quoted by '"'.
5280
5281 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5282 Let `file-name-handler-alist' be nil, the local file name part
5283 could look remotely (for example on VMS).
5284
e1b0b23a
SM
52852011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5288 from here...
5289 (flyspell-post-command-hook): ...to here.
5290
a120bde9
SM
52912011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5294 if not needed.
5295 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5296 using completion. Protect against "slow" callers.
5297 Remove the "message hack".
5298
7ce7717b
JL
52992011-10-11 Juri Linkov <juri@jurta.org>
5300
5301 * isearch.el (isearch-lazy-highlight-word): New variable.
5302 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5303 Use it. (Bug#9727)
5304
c02ee9d6
GM
53052011-10-11 Glenn Morris <rgm@gnu.org>
5306
5307 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5308 like f90-previous-statement does.
5309
93e616fd 53102011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5311
1f190e73 5312 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5313 only in interactive use, to avoid error.
5314
af7b6078
SM
53152011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * minibuffer.el (completion-file-name-table): Fix last change,
5318 i.e. ignore normal errors but not the other ones.
5319
0563dae9
MR
53202011-10-10 Martin Rudalics <rudalics@gmx.at>
5321
5322 * window.el (special-display-buffer-names)
5323 (special-display-regexps): Remove some remnants of earlier
5324 changes from doc-strings.
366ca7f3
MR
5325 (quit-windows-on): New function.
5326
5327 * vc/vc.el (vc-revert, vc-rollback):
5328 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5329 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5330 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5331
49677495
MR
53322011-10-09 Martin Rudalics <rudalics@gmx.at>
5333
5334 * window.el (frame-auto-hide-function): Add version tag.
5335 (Bug#9699)
5336
56f2d1e1
MA
53372011-10-09 Michael Albinus <michael.albinus@gmx.de>
5338
5339 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5340 condition.
5341
112a6592
LL
53422011-10-09 Leo Liu <sdl.web@gmail.com>
5343
5344 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5345 (Bug#9701)
5346
0812589b
GM
53472011-10-08 Glenn Morris <rgm@gnu.org>
5348
5349 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5350 before the first code statement zero indent. (Bug#9690)
5351
b2b0776e
CY
53522011-10-08 Chong Yidong <cyd@stupidchicken.com>
5353
5354 * simple.el (count-words-region): Always count in the region.
5355 Report the number of lines and characters too.
5356 (count-words): New command, which counts in the buffer if the
5357 region is inactive, as count-words-region used to.
5358 (count-words--message): New function. Handle plurals.
5359 (count-lines-region): Make it an alias for count-words-region.
5360
5361 * bindings.el (esc-map): Replace count-lines-region with
5362 count-words-region.
5363
c557cd6b
MR
53642011-10-08 Martin Rudalics <rudalics@gmx.at>
5365
5366 * window.el (window--delete): Delete dedicated frame
5367 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5368 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5369
61a57ef4 53702011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5371
3a7d293b 5372 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5373
c3833279
CY
53742011-10-07 Chong Yidong <cyd@stupidchicken.com>
5375
5376 * bindings.el ([M-left],[M-right]): Bind to left-word and
5377 right-word respectively.
5378
21ce8245
GM
53792011-10-07 Glenn Morris <rgm@gnu.org>
5380
5381 * cus-start.el (debug-on-quit): Fix custom type.
5382
6d823bb2
LMI
53832011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5384
0181e193
LMI
5385 * subr.el (define-key-after): Clarify that the function is not
5386 useful for non-menu keymaps.
5387
6d823bb2
LMI
5388 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5389
8e3459ce 53902011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5391
21ce8245 5392 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5393 in current minibuffer (Fix bug with recursive minibuffers).
5394
a1c2d21e
CY
53952011-10-06 Chong Yidong <cyd@stupidchicken.com>
5396
5397 * progmodes/gdb-mi.el (gdb): Doc fix.
5398
5a4cf282
MR
53992011-10-05 Martin Rudalics <rudalics@gmx.at>
5400
5401 * window.el (frame-auto-hide-function): New option replacing
5402 frame-auto-delete. Suggested by Stefan Monnier.
5403 (window--delete): Call frame-auto-hide-function instead of
5404 investigating frame-auto-delete.
c96111ea
MR
5405 (window-point-1, set-window-point-1): New functions.
5406 (window-in-direction, record-window-buffer, window-state-get-1)
5407 (display-buffer-record-window): Use window-point-1 instead of
5408 window-point.
5409 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5410
9854542e
SM
54112011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5412
5413 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5414
8943cfb0
GM
54152011-10-05 Glenn Morris <rgm@gnu.org>
5416
5417 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5418 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5419
647ab967
LL
54202011-10-05 Leo Liu <sdl.web@gmail.com>
5421
5422 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5423 works with buffer object.
5424
3ddfbced
SM
54252011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * mpc.el (mpc-tool-bar-map): Add labels.
5428
bdfa5dd2
GM
54292011-10-04 Glenn Morris <rgm@gnu.org>
5430
5431 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5432
0e2070b5
MR
54332011-10-04 Martin Rudalics <rudalics@gmx.at>
5434
5435 * window.el (window--delete): New function.
5436 (frame-auto-delete): Resuscitate option.
5437 (bury-buffer, replace-buffer-in-windows)
5438 (quit-window): Rewrite using window--delete.
5439 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5440 Pass display-buffer-mark-dedicated to window--display-buffer-2
5441 (Bug#9639).
5442
3dc61a09
SM
54432011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5444
915a9b64
SM
5445 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5446 returns a list (bug#9554). Add remote file name completion.
5447 * comint.el (comint--table-subvert): Curry and get quote&unquote
5448 functions as arguments.
5449 (comint--complete-file-name-data): Adjust call accordingly.
5450 * pcomplete.el (pcomplete--table-subvert): Remove.
5451 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5452
3dc61a09
SM
5453 * minibuffer.el (completion-table-case-fold): Use currying.
5454 (completion--styles-type, completion--cycling-threshold-type):
5455 New constants.
5456 (completion-styles, completion-category-overrides)
5457 (completion-cycle-threshold): Use them.
5458 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5459 completion-table-case-fold.
5460
8ea0a993
SB
54612011-10-03 Stephen Berman <stephen.berman@gmx.net>
5462
5463 * minibuffer.el (completion-category-overrides): Fix type of styles
5464 and add more user friendly tags (bug#9660).
5465
8c24b7f6
SM
54662011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5469 (mule-input-method-string): New widget.
5470 (default-input-method, language-info-custom-alist): Use it.
5471
428fe61a
SM
54722011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5473
32c1fffd
SM
5474 * pcomplete.el: Require comint.
5475 (pcomplete--common-suffix): Remove.
5476 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5477 (pcomplete--table-subvert): Sync with comint--table-subvert.
5478 (pcomplete--entries): Use comint-completion-file-name-table.
5479 * comint.el (comint-unquote-filename): Simplify.
5480 (comint-completion-file-name-table): New function (bug#9616).
5481 (comint--complete-file-name-data): Use it.
5482
428fe61a
SM
5483 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5484 (pcmpl-gnu-tar-buffer): Remove.
5485 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5486 around. Make sure pcomplete-suffix-list is only changed temporarily.
5487 Don't look inside the tar's file if it's too large.
428fe61a 5488
04c52e2f
CY
54892011-10-01 Chong Yidong <cyd@stupidchicken.com>
5490
ce3cefcc
CY
5491 * cus-edit.el (custom-mode-map):
5492 * epa.el (epa-key-list-mode-map):
5493 * man.el (Man-mode-map):
5494 * startup.el (splash-screen-keymap):
5495 * simple.el (special-mode-map): Use scroll-up-command and
5496 scroll-down-command.
5497
5498 * progmodes/idlw-help.el (idlwave-help-mode-map):
5499 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5500 * net/newst-plainview.el (newsticker-mode-map):
5501 * emulation/ws-mode.el (wordstar-mode-map):
5502 * emulation/vi.el (vi-com-map):
5503 * calc/calc-graph.el (calc-graph-show-dumb):
5504 * term/sun.el (terminal-init-sun):
5505 * term/ns-win.el (global-map):
5506 * progmodes/grep.el (grep-mode-map):
5507 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5508 * mail/rmail.el (rmail-mode-map):
5509 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5510
04c52e2f
CY
5511 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5512 custom-safe-themes as special.
5513
79adf8c8
JD
55142011-10-01 Julien Danjou <julien@danjou.info>
5515
5516 * notifications.el (notifications-notify): Fix docstring.
5517
63bd50d3
PS
55182011-10-01 Per Starbäck <per@starback.se>
5519
5520 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5521
199e4c7e
MR
55222011-09-30 Martin Rudalics <rudalics@gmx.at>
5523
5524 * startup.el (command-line-1): Fix last fix by inserting
5525 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5526 (Bug#9605) and (Bug#9636)
199e4c7e 5527
fe5f08dd
EZ
55282011-09-29 Eli Zaretskii <eliz@gnu.org>
5529
5530 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5531 window is hscrolled, move by logical lines. (Bug#9607)
5532 (line-move-visual): Update the doc string to the above effect.
5533
b5516bbd
MR
55342011-09-29 Martin Rudalics <rudalics@gmx.at>
5535
ccee00c0
MR
5536 * window.el (display-buffer-record-window): When WINDOW is the
5537 selected window use `point' instead of `window-point'. (Bug#9626)
5538
b5516bbd
MR
5539 * startup.el (command-line-1): Use insert-before-markers when
5540 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5541
b5516bbd
MR
5542 * help.el (help-window): Remove variable.
5543
52aa0014
GM
55442011-09-29 Glenn Morris <rgm@gnu.org>
5545
5546 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5547
df9a7357
JB
55482011-09-29 Juanma Barranquero <lekktu@gmail.com>
5549
5550 * descr-text.el (describe-char-categories): Accept category
5551 descriptions more than one line long.
5552
a8406c20
SM
55532011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5554
88d9610c
SM
5555 * simple.el (delete-trailing-whitespace): Fix last change.
5556
a5daf810
SM
5557 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5558 Don't confuse "y => 3" as the beginning of a `y' operation.
5559
a8406c20
SM
5560 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5561 object has more than 4 slots (bug#9613).
5562
a239d4e9
JB
55632011-09-28 Juanma Barranquero <lekktu@gmail.com>
5564
5565 * subr.el (with-output-to-temp-buffer):
5566 * net/quickurl.el (quickurl, quickurl-browse-url):
5567 Fix typos in docstrings.
5568
693fbdb6
EZ
55692011-09-27 Eli Zaretskii <eliz@gnu.org>
5570
5571 * minibuffer.el (completion-styles)
5572 (completion-category-overrides): Cross reference each other in doc
5573 strings.
5574
8b457e28
GM
55752011-09-27 Glenn Morris <rgm@gnu.org>
5576
5577 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5578 to split-string. (Bug#9606)
5579
85a16208
LMI
55802011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5581
5582 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5583 (bug#9615).
5584
502f9ebd
CY
55852011-09-27 Chong Yidong <cyd@stupidchicken.com>
5586
5587 * emacs-lisp/package.el (list-packages): Fix echo area message.
5588
7690bdea
LL
55892011-09-27 Leo Liu <sdl.web@gmail.com>
5590
5591 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5592
e2ee6f30
MA
55932011-09-25 Michael Albinus <michael.albinus@gmx.de>
5594
5595 * net/dbus.el (dbus-unregister-object): Don't release services for
5596 registered signals. (Bug#9581)
5597
f3f98342
TZ
55982011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5599
5600 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5601 function that picks between cfengine 2 and 3 support
5602 automatically. Update docs accordingly.
5603
dd7aa8dd
KH
56042011-09-22 Kenichi Handa <handa@m17n.org>
5605
5606 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5607 ZERO.
5608 (indian-itrans-v5-table-for-tamil): New variable.
5609 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5610
3f2b07f8
KM
56112011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5612
5613 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5614 that's true if the current command involved collapsing of text.
5615 It's reset to false at the beginning of the next command.
5616 (allout-post-command-business): Move the cursor to the beginning
5617 of entry if the cursor is hidden and collapsing activity just
5618 happened.
5619
371d6a61
CY
56202011-09-24 Chong Yidong <cyd@stupidchicken.com>
5621
5622 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5623 tracking (Bug#9541).
5624
2ac2721a
UJ
56252011-09-24 Ulf Jasper <ulf.jasper@web.de>
5626
5627 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5628 (newsticker-show-news): Automatically load html rendering package
5629 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5630 because w3m-fill-column is let-bound" and the error "Symbol's value
5631 as variable is void: w3m-fill-column".
2ac2721a 5632
fac7ae53
MA
56332011-09-24 Michael Albinus <michael.albinus@gmx.de>
5634
5635 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5636 Release services only if they are defined. (Bug#9581)
5637
e08b633b
RS
56382011-09-23 Richard Stallman <rms@gnu.org>
5639
e488d29c
RS
5640 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5641 distinguish start of paragraph from start of its text.
5642
19c38752
RS
5643 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5644
e08b633b
RS
5645 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5646 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5647 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5648
0a39f27e
AS
56492011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5650
5651 * international/mule-diag.el (mule-diag): Insert a newline after
5652 each fontset description.
5653
db4e950d
SM
56542011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * simple.el (delete-trailing-whitespace):
5657 Document last change; simplify.
5658
eca3f3ea
PW
56592011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5660
d68e189a
PW
5661 * simple.el (delete-trailing-whitespace): Also delete
5662 extra newlines at the end of the buffer.
5663
eca3f3ea
PW
5664 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5665 (picture-newline): Use forward-line so as to ignore fields.
5666
01c157cc
SM
56672011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * subr.el (with-wrapper-hook): Fix edebug spec.
5670
022de23e
LMI
56712011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5672
5673 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5674 (bug#4538).
5675
91683089
MA
56762011-09-23 Michael Albinus <michael.albinus@gmx.de>
5677
eca3f3ea
PW
5678 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5679 Fix nasty bug using wrong cached values.
91683089 5680
5bdd6fa4
AM
56812011-09-23 Alan Mackenzie <acm@muc.de>
5682
5683 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5684
97adfb97
CY
56852011-09-23 Chong Yidong <cyd@stupidchicken.com>
5686
5687 * window.el (pop-to-buffer): Ensure right window is selected if we
5688 chose another frame.
5689
d4ef2b50
EZ
56902011-09-22 Eli Zaretskii <eliz@gnu.org>
5691
5692 * simple.el (what-cursor-position): Use get-char-property-change
5693 and next-single-char-property-change, to be able to show display
5694 properties that come from overlays as well as text properties.
5695
72258fe5
CY
56962011-09-22 Chong Yidong <cyd@stupidchicken.com>
5697
5698 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5699
5700 * cmuscheme.el (run-scheme, switch-to-scheme):
5701 * cus-edit.el (customize-group, custom-buffer-create)
5702 (customize-browse):
5703 * info.el (info):
5704 * shell.el (shell):
5705 * mail/sendmail.el (mail):
5706 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5707
8f098516
RS
57082011-09-22 Richard Stallman <rms@gnu.org>
5709
5710 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5711 move back only to line beg, don't move back over blank lines.
5712
e74f1bb6
MA
57132011-09-22 Michael Albinus <michael.albinus@gmx.de>
5714
5715 * files.el (copy-directory): Set directory attributes only in case
5716 they could be retrieved from the source directory. (Bug#9565)
5717
bfeef8b6
DK
57182011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5719
5720 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5721 (hs-find-block-beginning, hs-hide-level-recursive):
5722 Ignore strings as well as comments. (Bug#9502)
5723
7e423bb8
AS
57242011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5725
5726 * progmodes/sql.el (sql-comint-postgres):
5727 Convert port number to a string. (Bug#9566)
5728
b4d72fcf
MR
57292011-09-22 Martin Rudalics <rudalics@gmx.at>
5730
5731 * window.el (quit-window): Undedicate window when switching to
5732 previous buffer. Reported by Thierry Volpiatto
5733 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5734 (special-display-popup-frame): When popping up a new frame reset
5735 its previous buffers to nil. Simplify code.
b4d72fcf 5736
a7b88dc6
MA
57372011-09-21 Michael Albinus <michael.albinus@gmx.de>
5738
5739 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5740 and process filter, as done also in `shell-command'.
5741
cf4eacfd
MR
57422011-09-21 Martin Rudalics <rudalics@gmx.at>
5743
eca3f3ea 5744 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5745 Call set-window-start with NOFORCE argument t.
5746 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5747 (quit-window): Reword doc-string. Handle new format of
5748 quit-restore parameter. Don't delete window if it has a
5749 previous buffer we can show instead of the present one.
5750 (display-buffer-record-window): Rewrite using a new format for
5751 the quit-restore window parameter
5752 (special-display-popup-frame, display-buffer-same-window)
5753 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5754 (display-buffer-pop-up-window, display-buffer-use-some-window):
5755 Adapt symbol passed to display-buffer-record-window.
5756 * help.el (help-window-setup): Handle new format of quit-restore
5757 parameter.
5758
8d28cb95
SM
57592011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5760
94ab793f
SM
5761 * faces.el (face-list): Fix docstring (bug#9564).
5762
8d28cb95
SM
5763 * window.el (display-buffer--action-function-custom-type):
5764 Don't include internal functions in the Custom interface.
5765
3820edeb
JL
57662011-09-20 Juri Linkov <juri@jurta.org>
5767
5768 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5769 (Info-forward-node, Info-backward-node, Info-next-preorder)
5770 (Info-last-preorder): Use it. (Bug#9528)
5771
5147931d
JL
57722011-09-20 Juri Linkov <juri@jurta.org>
5773
5774 * info.el (Info-last-preorder): Visit last menu item only when
5775 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5776
cf499a1a
JD
57772011-09-20 Julien Danjou <julien@danjou.info>
5778
5779 * password-cache.el (password-cache-remove): Remove entries even if the
5780 value is nil, so that password with a nil value (negative caching) is
5781 possible to invalidate.
5782
f84e2fe2
LM
57832011-09-20 Lawrence Mitchell <wence@gmx.li>
5784
5785 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5786 all whitespace around breakpoint. (Bug#9553)
5787 (f90-find-breakpoint): Only break at whitespace inside a comment.
5788
78054a46
SM
57892011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * minibuffer.el (completion-file-name-table): Keep track of errors.
5792 (completion-table-with-predicate): Handle the case where pred1 is nil.
5793 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5794
345083b2
SM
57952011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5796
e24e27be
SM
5797 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5798 (debugger-return-value): Signal an error if the debugging context does
5799 not await any return value.
5800
345083b2
SM
5801 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5802 * image-mode.el (image-toggle-display-text)
5803 (image-toggle-display-image): Stay away from evil `intangible'.
5804
08d355e3
LL
58052011-09-19 Leo Liu <sdl.web@gmail.com>
5806
5807 * replace.el (occur-revert-arguments): Make it permanent-local.
5808 (occur-mode): Don't call font-lock-defontify.
5809
f01da43f
CY
58102011-09-19 Chong Yidong <cyd@stupidchicken.com>
5811
5812 * net/ldap.el (ldap-search-internal): Don't push empty search
5813 result (Bug#9508).
5814
b6072fa6
SM
58152011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5816
5817 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5818
443d6696
MA
58192011-09-19 Michael Albinus <michael.albinus@gmx.de>
5820
5821 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5822 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5823
7cc6e154
JL
58242011-09-18 Juri Linkov <juri@jurta.org>
5825
5826 * buff-menu.el (Buffer-menu-mode-map):
5827 * dired.el (dired-mode-map):
5828 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5829 (lisp-interaction-mode-map):
5830 * emacs-lisp/package.el (package-menu-mode-map):
5831 * epa.el (epa-key-list-mode-map):
5832 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5833 (menu-bar-options-menu):
5834 * outline.el (outline-mode-menu-bar-map):
5835 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5836 * vc/vc-dir.el (vc-dir-menu-map):
5837 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5838 Capitalize non-function content words in menu item strings.
5839
5840 * dired.el (dired-mode-map): Add menu item for
5841 `image-dired-dired-toggle-marked-thumbs'.
5842
80302a81
JL
58432011-09-18 Juri Linkov <juri@jurta.org>
5844
5845 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5846 to `isearch-case-fold-search' and restore its original value
5847 after the `isearch-mode' call.
5848
46c5cf66
JL
58492011-09-18 Juri Linkov <juri@jurta.org>
5850
5851 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5852 because `zgrep' returns 1 for successful matches (bug#9226).
5853
d18b513b
JL
58542011-09-18 Juri Linkov <juri@jurta.org>
5855
5856 * info.el (Info-extract-menu-node-name): Check the second match
5857 for empty string (second test-case of bug#9528).
5858 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5859 intermediate nodes to the history (first test-case of bug#9528).
5860
72753f87
JL
58612011-09-18 Juri Linkov <juri@jurta.org>
5862
5863 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5864 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5865
c9384295
JL
58662011-09-18 Juri Linkov <juri@jurta.org>
5867
1154d12e
JB
5868 * info.el (Info-file-supports-index-cookies):
5869 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5870 outputs one more line for long file names (bug#4142).
c9384295 5871
d473dce8
CY
58722011-09-18 Chong Yidong <cyd@stupidchicken.com>
5873
5874 * newcomment.el (comment-normalize-vars): If prompting for
5875 comment-start, set comment-start-skip too (Bug#8424).
5876
2176854d
JB
58772011-09-18 Johan Bockgård <bojohan@gnu.org>
5878
5879 * icomplete.el: Fix previous fix of Bug#5849.
5880 (icomplete-mode): Don't set completion-show-inline-help.
5881 (icomplete-minibuffer-setup): Set completion-show-inline-help
5882 locally during icompletion.
5883
3aace4e4
CY
58842011-09-18 Chong Yidong <cyd@stupidchicken.com>
5885
c940224f
CY
5886 * woman.el (woman2-process-escapes): Don't delete unrecognized
5887 escapes (Bug#7843).
5888
3aace4e4
CY
5889 * files.el (inhibit-first-line-modes-regexps): Add image files.
5890 (hack-local-variables-prop-line): Return nil for malformed
5891 prop-lines (Bug#9044).
5892
710dec63
MA
58932011-09-18 Michael Albinus <michael.albinus@gmx.de>
5894
5895 * net/tramp.el (top): Don't require 'shell.
5896 (tramp-methods): Fix docstring.
5897 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5898 Return complete remote file name. Handle "smb" case.
5899 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5900 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5901
5902 * net/tramp-compat.el (top): Require 'shell.
5903
5904 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5905 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5906 `tramp-current-host'.
5907 (tramp-get-remote-tmpdir): Remove.
5908
5909 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5910 `tramp-tmpdir' entries.
5911 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5912 (tramp-smb-handle-file-attributes): Ignore errors.
5913 (tramp-smb-wait-for-output): Check also for process end.
5914
5d5ac8ec
LMI
59152011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5916
5917 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5918 when sending QUIT (bug#9312).
5919
8c0f49f0
CY
59202011-09-17 Chong Yidong <cyd@stupidchicken.com>
5921
5922 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5923 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5924 occur-mode-display-occurrence.
5925 (occur-edit-mode): Add usage message.
5926 (occur-cease-edit): New command.
5927 (occur-after-change-function): Use text properties to find the
5928 position of the prefix text.
5929 (occur-engine): Set stickiness of prefix text properties.
5930
8f1383f7
GM
59312011-09-17 Glenn Morris <rgm@gnu.org>
5932
5933 * progmodes/etags.el (complete-tag):
5934 Fix call to completion-in-region. (Bug#9526)
5935
744ba0e3
JL
59362011-09-17 Juri Linkov <juri@jurta.org>
5937
5938 * textmodes/ispell.el (ispell-word): Add to the error message
5939 the word, ispell program name and current dictionary (bug#9121).
5940 (ispell-tex-arg-end): Capitalize "error" in the error message.
5941
d9bbf400
AS
59422011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5943
5944 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5945 check. (Bug#4251)
5946
8da11505
JL
59472011-09-17 Juri Linkov <juri@jurta.org>
5948
5949 * window.el (window-safe-min-height, window-safe-min-width):
5950 Fix typos (followup to bug#9522).
5951
a91adc7e
SJ
59522011-09-17 Sven Joachim <svenjoac@gmx.de>
5953
5954 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5955
064f328a
EZ
59562011-09-16 Eli Zaretskii <eliz@gnu.org>
5957
5958 * simple.el (line-move): If goal-column is set, move by logical
5959 lines, not by display lines. (Bug#971)
5960 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5961 to reflect the above change.
5962
e69df516
SM
59632011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * image.el (imagemagick-register-types): Use regexp-opt.
5966
cbb0f9ab
CY
59672011-09-15 Chong Yidong <cyd@stupidchicken.com>
5968
5969 * window.el (display-buffer-base-action): Rename from
5970 display-buffer-default-action. Make default value empty.
5971 (display-buffer-overriding-action): Convert to defvar.
5972 (display-buffer-fallback-action): New var.
5973
25322144
CY
59742011-09-15 Chong Yidong <cyd@stupidchicken.com>
5975
5976 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5977 declaration.
5978 (package--add-to-archive-contents): If there is a duplicate entry
5979 with an older version, remove it.
5980 (package-menu-mark-delete, package-menu-mark-install)
5981 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5982 (package-menu-mark-obsolete-for-deletion):
5983 Use package-menu-get-status instead of a regexp search.
25322144
CY
5984 (package-menu-get-status): Use tabulated-list-entry.
5985 (package-menu-mark-upgrades): New command.
d770725a 5986 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5987 (package-menu-execute): Do installation before deletion.
5988 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5989 instead of checking major-mode.
5990 (package-menu--find-upgrades): New function.
5991
7520339c
LMI
59922011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5993
5994 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5995 passwords in the log buffer.
65a046c4
LMI
5996 (smtpmail-process-filter): Update the process marker so that the
5997 "broken by peer" status message is inserted in the right place.
7520339c 5998
d3c30954
SM
59992011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6000
3fe48822
SM
6001 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6002 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6003 bibtex-completion-at-point-function.
6004 (bibtex-completion-at-point-function): Use them.
6005
1b8b3954
SM
6006 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6007
d3c30954
SM
6008 * mpc.el (mpc-constraints-tag-lookup): New function.
6009 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6010 also to browser "album|playlist".
6011
72779976
JL
60122011-09-14 Juri Linkov <juri@jurta.org>
6013
6014 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6015 (isearch-edit-string): Use length of `isearch-string' when
6016 `isearch-fail-pos' returns nil.
6017 (isearch-message): Remove duplicate code and call
6018 `isearch-fail-pos' with arg `t'.
6019
a0bf2bcd
CY
60202011-09-14 Chong Yidong <cyd@stupidchicken.com>
6021
17bb0a2d
CY
6022 * replace.el (occur-mode-goto-occurrence): Don't force using other
6023 window (Bug#9499).
6024
a0bf2bcd
CY
6025 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6026
f678e0b6
MR
60272011-09-14 Martin Rudalics <rudalics@gmx.at>
6028
6029 * window.el (display-buffer-window): Remove.
6030 (display-buffer-record-window): Use help-setup window parameter
6031 instead of variable display-buffer-window.
6032 (display-buffer-function, special-display-buffer-names)
6033 (special-display-function): Mention help-setup parameter instead
6034 of display-buffer-window in doc-string.
d3c30954
SM
6035 * help.el (help-window-setup): New argument help-window.
6036 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6037 Reword some messages.
6038 (with-help-window): Pass window used for displaying the buffer
6039 to help-window-setup. Don't set display-buffer-window.
6040
8e39b2e8
GM
60412011-09-13 Glenn Morris <rgm@gnu.org>
6042
6043 * emacs-lisp/debug.el (debugger-make-xrefs):
6044 Preserve point. (Bug#9462)
6045
85e9c04b
CY
60462011-09-13 Chong Yidong <cyd@stupidchicken.com>
6047
6048 * window.el (window-deletable-p): Use next-frame.
6049
1b36ed6a
MR
60502011-09-13 Martin Rudalics <rudalics@gmx.at>
6051
6052 * window.el (window-auto-delete): Remove.
6053 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6054 dedication and previous buffers.
1b36ed6a
MR
6055 (switch-to-prev-buffer): Don't delete window.
6056 (delete-windows-on): Delete a window's frame if and only if the
6057 window is dedicated.
6058 (replace-buffer-in-windows): Delete buffer's window or frame if
6059 and only if window is dedicated.
6060 (quit-window): Handle quit-restore as before last change.
4d61f28d 6061 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6062
ef8ef9fb
CY
60632011-09-13 Chong Yidong <cyd@stupidchicken.com>
6064
6065 * window.el (window-deletable-p): Never delete the last frame on a
6066 given terminal.
6067
b2cba41e
GM
60682011-09-13 Glenn Morris <rgm@gnu.org>
6069
6070 * help.el (describe-key-briefly): Copy previous standard-output change.
6071
51553db6 60722011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6073
6074 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6075
b7556719
GM
60762011-09-13 Glenn Morris <rgm@gnu.org>
6077
6078 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6079 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6080
64b51947
CY
60812011-09-12 Chong Yidong <cyd@stupidchicken.com>
6082
6083 * dired-aux.el (dired-mark-read-string): Don't return default
6084 value on empty input (Bug#9361).
6085 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6086 Omit initial minibuffer contents.
6087 (dired-do-chmod): Signal an error on empty input.
6088 (dired-mark-read-string): Don't return default on empty input.
6089
6090 * files.el (file-modes-symbolic-to-number): Doc fix.
6091
393a301e
SM
60922011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 * international/mule-cmds.el (ucs-completions): Remove.
6095 (read-char-by-name): Use complete-with-action instead; add metadata.
6096
fa5660f9
CY
60972011-09-11 Chong Yidong <cyd@stupidchicken.com>
6098
6099 * window.el (display-buffer--action-function-custom-type)
6100 (display-buffer--action-custom-type): New vars.
6101 (display-buffer-alist, display-buffer-default-action)
6102 (display-buffer-overriding-action): Add defcustom types.
6103
4a592f66
CY
6104 * frame.el (delete-other-frames): Doc fix (Bug#276).
6105
73d56dbd
LMI
61062011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6107
6108 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6109
37ac18a3
CY
61102011-09-11 Chong Yidong <cyd@stupidchicken.com>
6111
6112 Change modes that used same-window-* vars to use switch-to-buffer.
6113
6114 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6115 Use switch-to-buffer.
6116
6117 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6118 (customize-browse, custom-buffer-create-other-window):
6119 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6120
6121 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6122 (Info-prev, Info-up, Info-speedbar-goto-node)
6123 (info-display-manual): Use switch-to-buffer.
6124 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6125
6126 * mail/sendmail.el (mail): Use switch-to-buffer.
6127 (mail-recover): Use switch-to-buffer-other-window.
6128
6129 * cmuscheme.el (run-scheme, switch-to-scheme):
6130 * ielm.el (ielm):
6131 * shell.el (shell):
6132 * net/rlogin.el (rlogin):
6133 * net/telnet.el (telnet, rsh):
6134 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6135
10195bd6
AS
61362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6137
6138 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6139
b322f63a
LMI
61402011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6141
39d7fed6
LMI
6142 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6143 so don't mention it (bug#9301).
ba5a81f1 6144 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6145
ee0e9f11
LMI
6146 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6147 match `x', `w32' and `ns', like the manual says (bug#9029).
6148
0b1c89c1 6149 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6150 (process-kill-buffer-query-function): Mention the buffer name in
6151 the query.
0b1c89c1 6152
77549ea8
LMI
6153 * image-mode.el (image-next-line): The line parameter is mandatory
6154 (bug#9258).
6155
803ef892
LMI
6156 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6157 which can be useful (bug#9301).
6158
12980837
LMI
6159 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6160
91054f8f
LMI
6161 * subr.el (match-string): Mention that the current buffer should
6162 be the same as the search was done in (bug#9282).
6163
b322f63a
LMI
6164 * facemenu.el: Disable the remove-* commands if the mark isn't
6165 active (bug#9162).
6166
3199b96f
CY
61672011-09-10 Chong Yidong <cyd@stupidchicken.com>
6168
6169 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6170 of display-buffer.
6171 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6172
6173 * replace.el (occur-mode-goto-occurrence)
6174 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6175 and display-buffer.
6176
6177 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6178 display-buffer.
6179
6180 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6181 special-display and same-window variables.
6182 (mail-other-window): Use switch-to-buffer-other-window.
6183 (mail-other-frame): USe switch-to-buffer-other-frame.
6184
393a301e
SM
6185 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6186 Use display-buffer-other-frame.
3199b96f
CY
6187 (gdb-display-gdb-buffer): Use pop-to-buffer.
6188
6189 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6190
6191 * progmodes/python.el: Don't set same-window-buffer-names.
6192
6193 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6194
6195 * window.el (display-buffer-alist): Add *Python*.
6196
8319e0bf
CY
61972011-09-10 Chong Yidong <cyd@stupidchicken.com>
6198
6199 * window.el (display-buffer-alist): Add entry for buffers
6200 previously handled same-window-*.
6201 (display-buffer-alist, display-buffer-default-action)
6202 (display-buffer-overriding-action): Mark as risky.
6203 (display-buffer-alist): Document action function changes.
6204 (display-buffer--same-window-action)
6205 (display-buffer--other-frame-action): New variables.
6206 (switch-to-buffer, display-buffer-other-frame): Use them.
6207 (display-buffer): Rename reuse-frame entry to reusable-frames.
6208 (display-buffer-reuse-selected-window): Function deleted.
6209 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6210 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6211 (display-buffer-special): New function.
6212 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6213 display-buffer-reuse-or-pop-window. Split off special-display
6214 part into display-buffer-special.
6215 (display-buffer-use-some-window): Don't perform any special
6216 pop-up-frames handling.
6217 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6218 (display-buffer--maybe-same-window): Rename from
0d3ff375 6219 display-buffer-maybe-same-window.
8319e0bf 6220
919a69aa
CY
6221 * info.el: Don't set same-window-regexps.
6222 (info-setup): New function.
6223 (info-other-window, info): Call it.
6224
6225 * cus-edit.el: Don't set same-window-regexps.
6226 (customize-group): New argument.
6227 (customize-group-other-window): Use it.
6228 (customize-face, customize-face-other-window): Likewise.
6229 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6230
8319e0bf
CY
6231 * net/rlogin.el:
6232 * net/telnet.el:
6233 * progmodes/gud.el: Don't set same-window-regexps.
6234
6235 * cmuscheme.el:
6236 * ielm.el:
6237 * shell.el:
6238 * mail/sendmail.el:
6239 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6240
25173000
JL
62412011-09-10 Juri Linkov <juri@jurta.org>
6242
6243 * isearch.el (isearch-edit-string): Remove obsolete mention of
6244 `C-w' (`isearch-yank-word-or-char') from docstring.
6245 (isearch-query-replace): Fix typo in docstring (bug#9466).
6246
056e44ef
JL
62472011-09-10 Juri Linkov <juri@jurta.org>
6248
6249 * paren.el (show-paren-function): Don't show escaped parens.
6250 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6251
c3760c17
EZ
62522011-09-10 Eli Zaretskii <eliz@gnu.org>
6253
6254 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6255 (mm-default-file-encoding): Remove autoload forms, they are
6256 replaced with autoload cookies in mml.el and mm-encode.el.
6257 (mail-add-attachment): New command.
6258 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6259 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6260 the doc string.
6261 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6262
fece895e
RT
62632011-09-10 Reuben Thomas <rrt@sc3d.org>
6264
e69df516
SM
6265 * simple.el (count-words-region): Use buffer if there's no region
6266 (bug#9429).
fece895e 6267
5e68ce4a
JL
62682011-09-09 Juri Linkov <juri@jurta.org>
6269
6270 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6271 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6272 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6273
0a6b9622
AM
62742011-09-09 Alan Mackenzie <acm@muc.de>
6275
6276 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6277 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6278
14a29deb
EZ
62792011-09-09 Eli Zaretskii <eliz@gnu.org>
6280
6281 Fix for Savannah bug#9392.
6282 * simple.el (mail-encode-mml): New defvar.
6283
6284 * mail/rmail.el (mail-encode-mml): Add a defvar.
6285 (rmail-enable-mime-composing): Default to t.
6286 (rmail-forward): Use MIME method of forwarding only if both
6287 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6288 Set mail-encode-mml non-nil if the MIME method was used.
6289
6290 * mail/sendmail.el (mml-to-mime): Add autoload form.
6291 (mail-encode-mml): Add a defvar.
6292 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6293 to nil.
6294 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6295 message through mml-to-mime, and reset mail-encode-mml to nil.
6296
28c45130
GM
62972011-09-09 Glenn Morris <rgm@gnu.org>
6298
6299 * woman.el (woman-if-body): When processing an .el block,
6300 do not delete the next .el block as well. (Bug#9447)
69f4b618 6301 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6302
9b1c252e
MR
63032011-09-08 Martin Rudalics <rudalics@gmx.at>
6304
6305 * window.el (window-deletable-p): Make sure window is live before
6306 invoking window-prev-buffers.
6307
567457e3
LL
63082011-09-08 Leo Liu <sdl.web@gmail.com>
6309
6310 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6311
97f05794
JL
63122011-09-08 Juri Linkov <juri@jurta.org>
6313
6314 * progmodes/compile.el (compilation-environment): Make it
6315 a defcustom (bug#8340).
6316
8b0874b5
MR
63172011-09-08 Martin Rudalics <rudalics@gmx.at>
6318
6319 * window.el (frame-auto-delete): Rename to window-auto-delete.
6320 Make it control auto-deletion of windows and/or frames.
6321 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6322 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6323 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6324 Rewrite handling of case when window/frame can be deleted.
6325 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6326 argument t. (Bug#9456)
8b0874b5 6327
4feb6e73
CY
63282011-09-07 Chong Yidong <cyd@stupidchicken.com>
6329
6330 * help-mode.el (help-mode): Restore autoload.
6331
91ab9c13
JL
63322011-09-07 Juri Linkov <juri@jurta.org>
6333
6334 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6335 `compilation-environment'. Set buffer-local
6336 `compilation-environment' to `thisenv' later after (funcall mode).
6337 (Bug#8340)
6338
6339 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6340 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6341 instead of replacing its value. (Bug#8340)
6342
0527e251
JL
63432011-09-07 Juri Linkov <juri@jurta.org>
6344
6345 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6346 based on text properties put by `grep-filter' instead of matching
6347 escape sequences.
6348 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6349 to the value of `grep-error-screen-columns' (bug#9438).
6350
249f792c
JL
63512011-09-07 Juri Linkov <juri@jurta.org>
6352
6353 * simple.el (next-error-highlight, next-error-highlight-no-select):
6354 Doc fix (bug#9432).
6355
ff7271b9
OT
63562011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6357
6358 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6359 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6360
183fc730
LL
63612011-09-07 Leo Liu <sdl.web@gmail.com>
6362
6363 * net/rcirc.el (rcirc-mode): Conditionally initialize
6364 rcirc-input-ring.
6365
77694924
SM
63662011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * emacs-lisp/find-func.el (find-function-C-source): Only set
6369 find-function-C-source-directory after checking that we found a source
6370 file there (bug#9440).
6371
d809b8eb
AM
63722011-09-06 Alan Mackenzie <acm@muc.de>
6373
6374 * isearch.el (isearch-other-meta-char): Wherever a key list is
6375 unread, "unread" the prefix arg, too. This fixes bug #8901.
6376
453de99f
OG
63772011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6378
6379 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6380
90439906
JL
63812011-09-05 Juri Linkov <juri@jurta.org>
6382
6383 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6384
f62bd846
JL
63852011-09-05 Juri Linkov <juri@jurta.org>
6386
6387 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6388 keeping point where processing of grep matches begins, and
6389 continue to delete remaining escape sequences from the same point.
6390 (grep-filter): Make leading zero optional in "0?1;31m" because
6391 git-grep emits "\033[1;31m" escape sequences unlike expected
6392 "\033[01;31m" as GNU Grep does (bug#9408).
6393 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6394
045820ec
JL
63952011-09-05 Juri Linkov <juri@jurta.org>
6396
6397 * subr.el (y-or-n-p): Capitalize "yes".
6398
f5e29b9b
MA
63992011-09-04 Michael Albinus <michael.albinus@gmx.de>
6400
6401 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6402 `tramp-cache-unload-hook' where appropriate.
6403 (tramp-methods): Rename `tramp-remote-sh' to
6404 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6405 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6406
6407 * net/tramp-sh.el (top): Don't require 'shell.
6408 (tramp-methods): Add `tramp-remote-shell' and
6409 `tramp-remote-shell-args' entries.
6410 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6411 (tramp-sh-handle-shell-command): Remove.
6412 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6413 Use `tramp-remote-shell'.
6414
2784c434
CY
64152011-09-03 Chong Yidong <cyd@stupidchicken.com>
6416
393a301e 6417 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6418 (sendmail-query-once): Save directly to send-mail-function.
6419 Update message-send-mail-function too.
6420
6421 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6422
464cdf56
CS
64232011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6424
6425 * progmodes/python.el (python-mode-map): Use correct function to
6426 start python interpreter from menu-bar (as reported by Geert
6427 Kloosterman).
6428 (inferior-python-mode-map): Fix typo.
393a301e 6429 (python-shell-map): Remove.
464cdf56 6430
d37e5c87
DD
64312011-09-03 Deniz Dogan <deniz@dogan.se>
6432
6433 * net/rcirc.el (rcirc-print): Simplify code for
6434 rcirc-scroll-show-maximum-output. There is no need to walk
6435 through all windows to find the right one.
6436
f3ada0ee
CS
64372011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6438
6439 * help.el (help-return-method): Doc fix.
6440
1f3c99ca
MR
64412011-09-03 Martin Rudalics <rudalics@gmx.at>
6442
6443 * window.el (window-deletable-p): Don't return a non-nil value
6444 when there's a buffer that was shown in the window before.
6445 (Bug#9419)
393a301e
SM
6446 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6447 Set window's previous buffers to nil.
1f3c99ca 6448
a3cf097f
EZ
64492011-09-03 Eli Zaretskii <eliz@gnu.org>
6450
6451 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6452 newline before and after the tag line, so it doesn't interfere
6453 with determining the paragraph direction of bidirectional text.
6454
3d03de90
LL
64552011-09-03 Leo Liu <sdl.web@gmail.com>
6456
6457 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6458
c3313451
CY
64592011-09-02 Chong Yidong <cyd@stupidchicken.com>
6460
393a301e 6461 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6462 (pop-to-buffer): Change interactive spec. Pass second argument
6463 directly to display-buffer.
6464 (display-buffer): Fix interactive spec. Use functionp to
6465 distinguish between a function and a list of functions.
6466
6467 * abbrev.el (edit-abbrevs):
6468 * arc-mode.el (archive-extract):
6469 * autoinsert.el (auto-insert):
6470 * bookmark.el (bookmark-bmenu-list):
6471 * files.el (find-file):
6472 * view.el (view-buffer):
6473 * progmodes/compile.el (compilation-goto-locus):
6474 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6475
89894cd8
CY
64762011-09-02 Chong Yidong <cyd@stupidchicken.com>
6477
6478 * window.el (display-buffer-alist): Doc fix.
6479 (display-buffer): Add docstring. Don't treat
6480 display-buffer-default specially.
6481 (display-buffer-reuse-selected-window)
6482 (display-buffer-same-window, display-buffer-maybe-same-window)
6483 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6484 (display-buffer-pop-up-window)
6485 (display-buffer-reuse-or-pop-window)
6486 (display-buffer-use-some-window): New functions.
6487 (display-buffer-default-action): Use them.
393a301e 6488 (display-buffer-default): Delete.
89894cd8
CY
6489 (pop-to-buffer-1): Fix choice of actions.
6490
ae0bc9fb
SM
64912011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6492
6493 * minibuffer.el (completion--insert-strings): Don't get confused by
6494 completion entries that end with an LF char.
6495
e9d90883
EZ
64962011-09-01 Eli Zaretskii <eliz@gnu.org>
6497
6498 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6499
437014c8
CY
65002011-09-01 Chong Yidong <cyd@stupidchicken.com>
6501
6502 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6503 (display-buffer-same-window, display-buffer-other-window):
6504 New functions.
437014c8
CY
6505 (pop-to-buffer-1): New function. Use the above.
6506 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6507 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6508
6509 * view.el (view-buffer-other-window, view-buffer-other-frame):
6510 Just use pop-to-buffer.
6511
a5e063d5
TV
65122011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6513
6514 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6515
793d32bb
WH
65162011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6517
6518 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6519
d65e4c15
RS
65202011-08-31 Richard Stallman <rms@gnu.org>
6521
6522 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6523 of the separation of rmail-view-buffer from rmail-buffer.
6524 If you say no to "replace original", the decrypt is in the
6525 view buffer. If you say yes, the decrypt goes into the
6526 rmail buffer also.
6527
f818cd2a
MR
65282011-08-31 Martin Rudalics <rudalics@gmx.at>
6529
6530 * window.el (display-buffer-window): Rewrite doc-string.
6531 (display-buffer-record-window): New function.
6532 (display-buffer-macro-specifiers)
6533 (display-buffer-even-window-sizes, display-buffer-set-height)
6534 (display-buffer-set-width, display-buffer-in-window)
6535 (display-buffer-reuse-window, display-buffer-split-specifiers)
6536 (display-buffer-side-specifiers, display-buffer-split-window-1)
6537 (display-buffer-split-window, display-buffer-split-atom-window)
6538 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6539 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6540 (display-buffer-other-window-means-other-frame)
6541 (display-buffer-normalize-special)
6542 (display-buffer-normalize-default)
6543 (display-buffer-normalize-argument)
6544 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6545 (display-buffer-normalize-specifiers, display-buffer-frame)
6546 (display-buffer-same-window, display-buffer-same-frame)
6547 (display-buffer-other-window)
6548 (display-buffer-same-frame-other-window)
6549 (display-buffer-other-frame, pop-to-buffer-same-window)
6550 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6551 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6552 (switch-to-buffer-same-frame)
6553 (switch-to-buffer-other-window-same-frame)
6554 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6555 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6556 (display-buffer-alist-set): Remove.
6557 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6558 (special-display-regexps, special-display-function):
6559 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6560 parameter.
6561 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6562 (special-display-frame-alist, special-display-popup-frame)
6563 (same-window-buffer-names, same-window-regexps, same-window-p)
6564 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6565 (split-window-preferred-function, split-height-threshold)
6566 (split-width-threshold, window-splittable-p)
6567 (split-window-sensibly, window--try-to-split-window)
6568 (window--frame-usable-p, even-window-heights)
6569 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6570 (window--display-buffer-2, display-buffer-other-frame):
6571 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6572 (display-buffer-default, display-buffer-assq-regexp): New functions.
6573 (display-buffer-alist): Rewrite doc-string.
6574 (display-buffer-default-action)
6575 (display-buffer-overriding-action): New variables.
6576 (display-buffer, switch-to-buffer): Rewrite.
6577 (pop-to-buffer): Restore Emacs 23 behavior but use
6578 window-normalize-buffer-to-display.
6579 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6580 Restore Emacs 23 behavior but use
6581 window-normalize-buffer-to-switch-to.
6582 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6583 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6584 Rewrite using Emacs 23 options.
f818cd2a 6585
5bc3b51d
MA
65862011-08-31 Michael Albinus <michael.albinus@gmx.de>
6587
6588 * net/tramp.el (tramp-root-regexp): Remove.
6589 (tramp-completion-file-name-regexp-unified)
6590 (tramp-completion-file-name-regexp-separate)
6591 (tramp-completion-file-name-regexp-url): Don't use leading volume
6592 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6593 (tramp-drop-volume-letter): Simplify definition.
6594 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6595
b1a4f8e1
SM
65962011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6599 (bug#9356).
6600
5664fa7b
RT
66012011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6602
b1a4f8e1 6603 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6604
9a45d6c3
JL
66052011-08-29 Juri Linkov <juri@jurta.org>
6606
6607 * isearch.el (isearch-done): Don't display message "Mark saved"
6608 when arg `edit' is non-nil to prevent its flicker in the echo area.
6609
fb87e0fb
CY
66102011-08-28 Chong Yidong <cyd@stupidchicken.com>
6611
6612 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6613 obsolete packages for deletion.
6614
09ac1c2a
CS
66152011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6616
6617 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6618 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6619 view-mode from help-mode.
6620 (help-xref-override-view-map): Remove.
6621 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6622 view-mode is not used anymore.
6623
7a1ff57f
CY
66242011-08-28 Chong Yidong <cyd@stupidchicken.com>
6625
6626 * server.el (server-port): Doc fix.
6627
b9696605
CY
6628 * cus-theme.el (custom-theme-choose-mode): Inherit from
6629 special-mode (Bug#9124).
6630 (custom-theme-choose-mode-map): Add special-mode to parent.
6631
ef8cdf8c
AM
66322011-08-28 Alan Mackenzie <acm@muc.de>
6633
6634 * progmodes/cc-fonts.el
6635 (c-make-font-lock-BO-decl-search-function): New function.
6636 (c-basic-matchers-after - "Fontify the clauses after various
6637 keywords"): Extract the three keyword lists for the 3 erroneous
6638 constructs from the list of four, and use the new function above
6639 in place of an old one.
6640
27de4e20
DD
66412011-08-28 Deniz Dogan <deniz@dogan.se>
6642
6643 * net/rcirc.el (rcirc-insert-prev-input)
6644 (rcirc-insert-next-input): Remove unused argument.
6645
356a3681
SM
66462011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6649
3fc9b218
AM
66502011-08-27 Alan Mackenzie <acm@muc.de>
6651
6652 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6653 handle function pointer parameters properly.
6654
538a061c
MR
66552011-08-27 Martin Rudalics <rudalics@gmx.at>
6656
6657 * window.el (display-buffer-reuse-window): Fix case where
6658 selected window was reused with non-nil OTHER-WINDOW argument.
6659 (Bug#9381)
6660
35b1c40c
DD
66612011-08-27 Deniz Dogan <deniz@dogan.se>
6662
6663 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6664 oftc's NickServ messages.
6665
2f6a3e79
GM
66662011-08-27 Glenn Morris <rgm@gnu.org>
6667
6668 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6669
7254299e
CY
66702011-08-26 Chong Yidong <cyd@stupidchicken.com>
6671
6672 * emacs-lisp/package.el (package-install): Call package-initialize
6673 if called interactively.
6674
f8ccf167
LL
66752011-08-26 Leo Liu <sdl.web@gmail.com>
6676
6677 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6678
3e8cd5ce
JL
66792011-08-25 Juri Linkov <juri@jurta.org>
6680
6681 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6682 `search-whitespace-regexp' (bug#9364).
6683
93eb7113
JL
66842011-08-25 Juri Linkov <juri@jurta.org>
6685
6686 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6687 `regexp-search-ring' to their global values to protect from
6688 updating by `read-from-minibuffer' (bug#9185).
6689
f65d1611
JL
66902011-08-25 Juri Linkov <juri@jurta.org>
6691
6692 * textmodes/ispell.el (ispell-command-loop): Add newline
6693 at the end of the "Use option `i'..." line.
6694
f1cf7a31
JL
66952011-08-25 Juri Linkov <juri@jurta.org>
6696
6697 * battery.el (display-battery-mode): If `battery-status-function'
6698 or `battery-mode-line-format' is nil, display the message and set
6699 `display-battery-mode' to nil (bug#9363).
6700
0c95fcf7
EZ
67012011-08-25 Eli Zaretskii <eliz@gnu.org>
6702
6703 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6704 bidi-string-mark-left-to-right; they are unnecessary now.
6705
a2ebe600
DD
67062011-08-25 Deniz Dogan <deniz@dogan.se>
6707
6708 * net/quickurl.el: Documentation typo fixes.
6709
e4ed06f1
CY
67102011-08-25 Chong Yidong <cyd@stupidchicken.com>
6711
6712 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6713
e5f1c99e
GM
67142011-08-25 Glenn Morris <rgm@gnu.org>
6715
b2948976
GM
6716 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6717
e5f1c99e
GM
6718 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6719 (smtpmail-via-smtp): Handle nil response from smtp.
6720
f22f4808
JL
67212011-08-24 Juri Linkov <juri@jurta.org>
6722
6723 * proced.el (proced-marked): Inherit from `error' instead of
6724 `font-lock-warning-face'.
6725
6726 * ibuffer.el (ibuffer-marked-face): Change default face from
6727 `font-lock-warning-face' to `warning'.
6728 (ibuffer-deletion-face): Change default face from
6729 `font-lock-type-face' to `error'.
6730
6731 * battery.el (battery-update): Use the face `error' instead of
6732 `font-lock-warning-face' (bug#6117).
6733
6a93965e
JL
67342011-08-24 Juri Linkov <juri@jurta.org>
6735
6736 * faces.el (success): Change face color from "Green3" to
6737 "ForestGreen" on light background (bug#9353).
6738
1ed43b09
CY
67392011-08-24 Chong Yidong <cyd@stupidchicken.com>
6740
5664fa7b
RT
6741 * window.el (quit-window): Rename from quit-restore-window.
6742 Use same arglist as old quit-window.
1ed43b09
CY
6743 (frame-auto-delete): Doc fix.
6744
6745 * view.el (view-mode-exit): Use quit-window.
6746
11dcdbb2
JL
67472011-08-24 Juri Linkov <juri@jurta.org>
6748
6749 * isearch.el (isearch-ring-adjust1): Start visiting previous
6750 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6751 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6752 for empty search string (when the last search string is reused
6753 automatically) to adjust the isearch ring to the last element and
6754 prepare the correct index for further M-p commands (bug#9185).
6755
de62b4df
KH
67562011-08-24 Kenichi Handa <handa@m17n.org>
6757
6758 * international/ucs-normalize.el: If decomposition property of
6759 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6760 nil.
6761 (nfd, nfkd): Likewise.
6762
963b492b
SM
67632011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6766 from process filters aren't reliably transmitted to the surrounding
6767 accept-process-output.
6768 (mpc-proc-check): New function.
6769 (mpc-proc-sync): Use it (bug#8293)
6770
93b6b5e1
SM
67712011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6774 Add compatibility functions (bug#9313).
6775
bca633fb
EZ
67762011-08-23 Eli Zaretskii <eliz@gnu.org>
6777
b177498a
EZ
6778 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6779
6df6ae42 6780 * international/uni-bidi.el: Regenerate.
bca633fb 6781
0902a04e
KH
67822011-08-23 Kenichi Handa <handa@m17n.org>
6783
6784 * international/charprop.el:
6785 * international/uni-bidi.el:
6786 * international/uni-category.el:
6787 * international/uni-combining.el:
6788 * international/uni-comment.el:
6789 * international/uni-decimal.el:
6790 * international/uni-decomposition.el:
6791 * international/uni-digit.el:
6792 * international/uni-lowercase.el:
6793 * international/uni-mirrored.el:
6794 * international/uni-name.el:
6795 * international/uni-numeric.el:
6796 * international/uni-old-name.el:
6797 * international/uni-titlecase.el:
6798 * international/uni-uppercase.el: Regenerate.
6799
3bbf23bc
MR
68002011-08-23 Martin Rudalics <rudalics@gmx.at>
6801
6802 * help.el (help-window-setup): Fix message displayed when other
6803 window is reused. (Bug#9341)
6804
b3fd59bd
SM
68052011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6806
1802e444
SM
6807 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6808 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6809
b3fd59bd
SM
6810 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6811 Mark obsolete.
6812 * shell.el (shell-parse-pcomplete-arguments): New function.
6813 (shell-completion-vars): Use it instead (bug#9160).
6814
4eb61348
SM
68152011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6816
867cab74
SM
6817 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6818 strings and comments (bug#9333).
6819
4eb61348
SM
6820 * emacs-lisp/debug.el (debug-arglist): New function.
6821 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6822 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6823
262a1439
JL
68242011-08-22 Juri Linkov <juri@jurta.org>
6825
56ee679c
JL
6826 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6827 Revert regexp that highlights output switches to its old
6828 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6829
262a1439
JL
6830 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6831 to check for empty output (bug#9226).
6832
f13f86fb
CY
68332011-08-22 Chong Yidong <cyd@stupidchicken.com>
6834
6835 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6836 symbol-constituent as the default, as that stops font-lock from
6837 working properly (Bug#8843).
6838
c65c9622
LMI
68392011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6840
6841 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6842 `coding-system-for-*' around the process open call to avoid
6843 auth-source side effects.
e7f2c178 6844 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6845 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6846 probe hangs.
c65c9622 6847
23a8a5ab
CY
68482011-08-21 Chong Yidong <cyd@stupidchicken.com>
6849
ff98b2dd
CY
6850 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6851
23a8a5ab
CY
6852 * emacs-lisp/find-func.el (find-function-noselect): New arg
6853 lisp-only.
6854
6855 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6856 signal an error for built-in functions (Bug#6664).
6857
f5e3c598
LMI
68582011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6859
6860 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6861 (smtpmail-try-auth-methods): Use it.
6862
a3f2468a
CY
68632011-08-21 Chong Yidong <cyd@stupidchicken.com>
6864
2c34e8da
CY
6865 * font-lock.el (font-lock-fontify-region)
6866 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6867 (font-lock-default-unfontify-buffer)
6868 (font-lock-default-fontify-region)
6869 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6870
b3fd59bd
SM
6871 * progmodes/compile.el (compilation-error-properties):
6872 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6873 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6874 `ant' regexp.
ee31aabc 6875
a3f2468a
CY
6876 * net/browse-url.el (browse-url-firefox): Don't call
6877 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6878
8e999f70
GM
68792011-08-20 Glenn Morris <rgm@gnu.org>
6880
c21a496a
GM
6881 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6882
59ee0542
GM
6883 * tutorial.el (tutorial--default-keys): Update some default bindings.
6884
8e999f70
GM
6885 * files.el (hack-local-variables): Fully ignore case for "mode:".
6886
e3715033
AM
68872011-08-20 Alan Mackenzie <acm@muc.de>
6888
6889 Resolve invalid use of a regexp in regexp-opt.
6890
4d61f28d
JB
6891 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6892 detection for a java annotation.
e3715033 6893
4d61f28d 6894 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6895 detection for a java annotation.
6896
4d61f28d
JB
6897 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6898 handling for java.
e3715033
AM
6899 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6900
04ed2e9c
CY
69012011-08-20 Chong Yidong <cyd@stupidchicken.com>
6902
6903 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6904 (Bug#9274).
6905
826cee64
AM
69062011-08-20 Alan Mackenzie <acm@muc.de>
6907
58179cce 6908 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6909 such a construct. Mainly for when jit-lock etc. starts a chunk
6910 here.
6911
58179cce 6912 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6913 variable.
58179cce 6914 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6915 c-make-font-lock-search-function.
6916 (c-make-font-lock-search-function): Use the above function.
6917 (c-make-font-lock-context-search-function): New function.
6918 (c-cpp-matchers): Enhance the preprocessor expression case with
6919 the above function
6920 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6921 which takes an expression.
6922
6923 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6924
13009bd8
MR
69252011-08-20 Martin Rudalics <rudalics@gmx.at>
6926
6927 * window.el (display-buffer-reuse-window)
6928 (display-buffer-pop-up-window): Don't reuse or split a side
6929 window.
6930
9234ff7f
GM
69312011-08-19 Glenn Morris <rgm@gnu.org>
6932
6933 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6934 Downcase "Mode:". (Bug#9331)
9234ff7f 6935
f635daa1
CY
69362011-08-18 Chong Yidong <cyd@stupidchicken.com>
6937
6938 * international/characters.el: Add L and R categories.
6939
6940 * subr.el (bidi-string-mark-left-to-right): Rename from
6941 string-mark-left-to-right. Use category search.
6942
6943 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6944
bc987f8b
JL
69452011-08-18 Juri Linkov <juri@jurta.org>
6946
6947 * faces.el (error, warning, success): New faces with definitions
6948 copied from old default values of `font-lock-warning-face',
6949 `compilation-warning', `compilation-info' (bug#6117).
6950
6951 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6952
6953 * progmodes/compile.el (compilation-error): Inherit from `error'.
6954 (compilation-warning): Inherit from `warning'.
6955 (compilation-info): Inherit from `success'.
6956
6957 * dired.el (dired-marked): Inherit from `warning'.
6958 (dired-flagged): Inherit from `error'.
6959
57173b96
LMI
69602011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6961
3e79eb87
LMI
6962 * mail/smtpmail.el (auth-source): Require to avoid problems with
6963 binding variables (bug#9298). Also clean up some unused
6964 autoloads.
6965
b3fd59bd
SM
6966 * net/network-stream.el (network-stream-open-starttls):
6967 Support using starttls.el without using gnutls-cli.
57173b96 6968
02b404de
JL
69692011-08-17 Juri Linkov <juri@jurta.org>
6970
6971 * progmodes/grep.el (rgrep): Handle the case when
6972 `grep-find-command' is a cons cell (bug#9278).
6973
8c9177f2
MR
69742011-08-17 Martin Rudalics <rudalics@gmx.at>
6975
6976 * window.el (display-buffer-pop-up-frame): Run frame creation
6977 function with BUFFER current (as special-display-popup-frame
6978 does). Reported by Drew Adams.
6979
3644a0ab
DU
69802011-08-17 Daiki Ueno <ueno@unixuser.org>
6981
6982 * epa-mail.el: Simplify GnuPG group expansion using
6983 epg-expand-group.
6984 (epa-mail-group-alist, epa-mail-group-modtime)
6985 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6986 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6987 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6988 Remove.
6989
5e617bc2 69902011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6991
6992 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6993
9c4aeabf
AM
69942011-08-16 Alan Mackenzie <acm@muc.de>
6995
6996 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6997 Correct, to avoid the inside of macros.
6998
3a99bf64
RS
69992011-08-16 Richard Stallman <rms@gnu.org>
7000
04963aa8
RS
7001 * epa-mail.el: Handle GnuPG group definitions.
7002 (epa-mail-group-alist, epa-mail-group-modtime)
7003 (epa-mail-gnupg-conf-file): New variables.
7004 (epa-mail-parse-groups, epa-mail-sync-groups)
7005 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7006 (epa-mail-expand-recipients): New functions.
7007 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7008
177549d0
RS
7009 * mail/rmail.el (rmail-epa-decrypt): New command.
7010
fe38beef
RS
7011 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7012 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7013 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7014 (epa-decrypt-armor-in-region): Make error message clearer.
7015
934eacb9
SM
70162011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7019 and "a2b" to "ab" for `prefix'.
7020
d024fb4e
CY
70212011-08-14 Chong Yidong <cyd@stupidchicken.com>
7022
7023 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7024 filter groups.
de148fee
CY
7025 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7026 Fourquet (Bug#8804).
d024fb4e 7027
62f1ca49
JB
70282011-08-12 Juanma Barranquero <lekktu@gmail.com>
7029
7030 * startup.el (argi): Declare as global variable (bug#9275).
7031
9ccaaa4b
CY
70322011-08-12 Chong Yidong <cyd@stupidchicken.com>
7033
7034 * subr.el (string-mark-left-to-right): Search the entire string
7035 for RTL script, not just the terminating character. Doc fix.
7036
a3dae87a
SM
70372011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7038
6cd18349
SM
7039 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7040 New function.
7041 (js--regexp-literal, js-syntax-propertize-function): Remove.
7042 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7043 (js-mode-map): Don't rebind electric keys.
7044 (js-insert-and-indent): Remove.
7045 (js-mode): Setup electric-layout and electric-indent instead.
7046
a3dae87a
SM
7047 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7048
9d5cb631
DU
70492011-08-12 Daiki Ueno <ueno@unixuser.org>
7050
7051 * epa.el (epa-progress-callback-function): Fix the logic of
7052 displaying progress.
7053 * epa-file.el (epa-file-insert-file-contents): Make progress
7054 display more user-friendly.
7055 (epa-file-write-region): Ditto.
7056
3e26a4a2
CY
70572011-08-10 Chong Yidong <cyd@stupidchicken.com>
7058
7059 * subr.el (string-mark-left-to-right): New function.
7060
7061 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7062 Use string-mark-left-to-right.
7063 (list-buffers-noselect): Caller changed.
7064
a3dae87a
SM
7065 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7066 Use string-mark-left-to-right.
3e26a4a2
CY
7067 (tabulated-list-print): Recenter after moving point.
7068
ac8cf6e6
JL
70692011-08-10 Juri Linkov <juri@jurta.org>
7070
7071 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7072 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7073 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7074
8d96c9a4
CY
70752011-08-09 Chong Yidong <cyd@stupidchicken.com>
7076
7077 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7078 (Bug#7554).
7079
7be1c708 70802011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7081
7082 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7083 character. (Bug#6594)
7084
37e11a63
CY
70852011-08-08 Chong Yidong <cyd@stupidchicken.com>
7086
839dde57
CY
7087 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7088 (image-dired--with-db-file): New macro.
7089 (image-dired-write-tags, image-dired-remove-tag)
7090 (image-dired-create-gallery-lists, image-dired-write-comments)
7091 (image-dired-get-comment, image-dired-mark-tagged-files)
7092 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7093 (image-dired-gallery-generate): Use insert-file-contents.
7094
37e11a63
CY
7095 * time.el (display-time-world-list, display-time-world-display):
7096 * time-stamp.el (time-stamp-string):
7097 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7098 set-time-zone-rule (Bug#7337).
7099
0b4946c4
DU
71002011-08-08 Daiki Ueno <ueno@unixuser.org>
7101
7102 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7103 (epg-error-to-string, epg-errors-to-string): New function.
7104 (epg-wait-for-completion): Reverse errors list.
7105 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7106 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7107 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7108 (epg-sign-keys, epg-generate-key-from-file)
7109 (epg-generate-key-from-string): Format errors by using
7110 epg-errors-to-string (bug#9255).
7111 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7112
75bfc667
JL
71132011-08-07 Juri Linkov <juri@jurta.org>
7114
7115 * faces.el (list-faces-display): Remove extra angle bracket
7116 from `help-mode-map'.
7117
7118 * info.el (Info-history-toc-nodes): Doc fix.
7119
7120 * longlines.el (longlines-mode): Doc fix.
7121
673e08bb
SM
71222011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7123
4640dd88
SM
7124 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7125 of statements and in a few more cases (bug#9183).
7126
673e08bb
SM
7127 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7128 New functions.
7129 (cl-transform-lambda): Use them (bug#9239).
7130
89b3f019
MR
71312011-08-05 Martin Rudalics <rudalics@gmx.at>
7132
7133 * window.el (display-buffer-same-window)
7134 (display-buffer-same-frame, display-buffer-other-window)
7135 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7136 (pop-to-buffer-other-window)
7137 (pop-to-buffer-same-frame-other-window)
7138 (pop-to-buffer-other-frame): Make them defuns.
7139 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7140
640c8776
SM
71412011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * subr.el (make-composed-keymap): Move from C. Change calling
7144 convention, and improve docstring to bring attention to a subtle point.
7145 * minibuffer.el (completing-read-default): Adjust accordingly.
7146
63648a95
MA
71472011-08-03 Michael Albinus <michael.albinus@gmx.de>
7148
7149 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7150 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7151
7152 * net/trampver.el: Update release number.
7153
b796c9b7
SM
71542011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7156 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7157 "in" (bug#9190).
7158
2239d7d5
LMI
71592011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7160
e07dd7c3
LMI
7161 * mail/sendmail.el (sendmail-query-once): Restore the current
7162 buffer after querying (bug#9074).
7163
0e6a2bd7
LMI
7164 * dired.el (dired-flagged): Use different faces for marked and
7165 flagged files (bug#6117).
7166
ce887515
LMI
7167 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7168 (bug#4433).
7169
92f2affc
LMI
7170 * ido.el (ido-mode): Switch off the message if called
7171 non-interactively.
7172
57d5aff0
LMI
7173 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7174 before 587, since it appears that that's more likely to work for
7175 more people.
7176
98cd6c18 7177 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7178 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7179 exist.
7180
b96dec83
LMI
7181 * info.el: Remove the `Info-beginning-of-buffer' function
7182 (bug#8325).
7183
b796c9b7
SM
7184 * net/network-stream.el (network-stream-open-starttls):
7185 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7186
d90e2ea0
MR
71872011-08-01 Martin Rudalics <rudalics@gmx.at>
7188
7189 * window.el (display-buffer-in-window): Don't set dedicated status
7190 of window here (Bug#9215).
7191 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7192 (display-buffer-pop-up-side-window)
b796c9b7 7193 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7194
cca09170
SM
71952011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7198 before binding generated-autoload-file.
7199
027b979c
DD
72002011-08-01 Deniz Dogan <deniz@dogan.se>
7201
7202 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7203
3c7ee4f3
MA
72042011-07-30 Michael Albinus <michael.albinus@gmx.de>
7205
7206 Sync with Tramp 2.2.2.
7207
7208 * net/trampver.el: Update release number.
7209
2cc8e51a
JL
72102011-07-30 Juri Linkov <juri@jurta.org>
7211
7212 * dired-aux.el (dired-touch-initial): Remove function.
7213 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7214 current time, and `default' to the last modification time of the
7215 current marked file (bug#6887).
7216
a514d856
JM
72172011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7218
7219 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7220 numeric argument to read-number (bug#9163).
a514d856 7221
8a7eddd7
MA
72222011-07-27 Michael Albinus <michael.albinus@gmx.de>
7223
7224 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7225 connection process, it could be nil.
7226
1ddd96f5
LL
72272011-07-27 Leo Liu <sdl.web@gmail.com>
7228
7229 Simplify url handling in rcirc-mode.
7230
7231 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7232 (rcirc-browse-url-at-mouse): Remove.
7233 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7234
b248a85d
AM
72352011-07-26 Alan Mackenzie <acm@muc.de>
7236
7237 Fontify bitfield declarations properly.
7238
7239 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7240 (c-symbol-chars): Now exported as a lang variable.
7241 (c-not-primitive-type-keywords): New lang variable.
7242
7243 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7244 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7245 parsed as a bitfield declaration.
b248a85d 7246
b796c9b7
SM
7247 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7248 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7249 (c-punctuation-in): New function.
7250 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7251 declarations properly.
7252
68575ab0
UJ
72532011-07-26 Ulf Jasper <ulf.jasper@web.de>
7254
7255 * calendar/icalendar.el (icalendar--all-events): Take care of
7256 multiple vcalendars in a single file.
b796c9b7 7257 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7258
0f0a88b9
DD
72592011-07-25 Deniz Dogan <deniz@dogan.se>
7260
7261 * image.el (insert-image): Clarifying docstring.
7262
0b3f36df
MA
72632011-07-24 Michael Albinus <michael.albinus@gmx.de>
7264
7265 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7266 `tramp-send-command-and-check' if there is no error.
7267 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7268
a9901f61
AM
72692011-07-22 Alan Mackenzie <acm@muc.de>
7270
7271 Prevent cc-langs.elc being loaded at run time.
7272
7273 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7274 cc-langs.
7275
4d61f28d 7276 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7277 "(require 'cc-langs)". Quote a form so it will evaluate at
7278 (cc-mode's) compilation time.
7279
11d074b2
MA
72802011-07-22 Michael Albinus <michael.albinus@gmx.de>
7281
7282 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7283 loading. (Bug#9114)
7284
938b94c8
MR
72852011-07-21 Martin Rudalics <rudalics@gmx.at>
7286
7287 * window.el (display-buffer-pop-up-window)
7288 (display-buffer-pop-up-side-window)
7289 (display-buffer-in-side-window): Call display-buffer-set-height
7290 and display-buffer-set-width after setting the new window's
b796c9b7 7291 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7292
bfa4f190
SS
72932011-07-20 Sam Steingold <sds@gnu.org>
7294
7295 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7296 (etags-tags-included-tables): Call `convert-standard-filename' on
7297 the file names contained in TAGS so that windows Emacs can handle
7298 TAGS files created by cygwin ctags.
7299
8ca42262
LMI
73002011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7301
7302 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7303 which apparently didn't work.
7304
5db2afd2 73052011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7306
5db2afd2
RW
7307 * proced.el (proced-send-signal): For *Marked Processes* buffer
7308 put point at beginning of buffer.
7309
92e15d10
SB
73102011-07-19 Stephen Berman <stephen.berman@gmx.net>
7311
7312 * proced.el (proced-format): Make header lines align with the text
7313 (bug#1779).
7314
1bfd59e5
LMI
73152011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7316
7317 * view.el (view-buffer): Allow running in `special' modes if we're
7318 visiting a file (bug#8615).
7319
f5aae37c
MR
73202011-07-19 Martin Rudalics <rudalics@gmx.at>
7321
7322 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7323 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7324 New functions.
f5aae37c
MR
7325 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7326 more accurately.
7327
bf2c1571
AM
73282011-07-18 Alan Mackenzie <acm@muc.de>
7329
7330 Fontify declarators properly when, e.g., a jit-lock chunk begins
7331 inside a declaration.
7332
7333 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7334
b796c9b7
SM
7335 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7336 New function.
bf2c1571
AM
7337 (c-complex-decl-matchers): Insert reference to
7338 c-font-lock-enclosing-decls.
7339
7340 * progmodes/cc-engine.el (c-backward-single-comment):
7341 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7342 to nil around calls to (forward-comment -1).
7343
4e190b80
LMI
73442011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7345
12dc863d
LMI
7346 * image.el (put-image): Doc typo fix.
7347
a762e966
LMI
7348 * progmodes/etags.el (tags-search): Doc typo fix.
7349
4e190b80
LMI
7350 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7351 password if we get errors 550 to 554.
7352
f019fb21
LMI
73532011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7354
b796c9b7 7355 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7356
81746738
LMI
7357 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7358 indentation character (bug#6380).
7359
3ee3a1b5
LMI
7360 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7361
c82f64de
LMI
7362 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7363 to clarify what the problem is (bug#4291).
7364
f019fb21
LMI
7365 * simple.el (current-kill): Clarify what
7366 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7367 (auto-fill-mode): Document `auto-fill-function' in relation to
7368 `auto-fill-mode' (bug#2470).
f019fb21 7369
0794775d
LM
73702011-07-16 Lawrence Mitchell <wence@gmx.li>
7371
7372 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7373 method if slot is read-only (bug#9035).
7374
be39b8cc
MR
73752011-07-16 Martin Rudalics <rudalics@gmx.at>
7376
b796c9b7 7377 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7378 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7379 selected before, see discussion of (Bug#8615), (Bug#6954).
7380 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7381
6ccf7859
GM
73822011-07-15 Glenn Morris <rgm@gnu.org>
7383
7384 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7385 Respect help-form.
6ccf7859 7386
87e86684
LM
73872011-07-09 Lawrence Mitchell <wence@gmx.li>
7388
7389 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7390 (gnutls-negotiate): Use it.
7391
d6066239
LMI
73922011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7393
b796c9b7
SM
7394 * net/gnutls.el (gnutls-negotiate):
7395 Upcase `gnutls-algorithm-priority'.
d6066239 7396
bd23ebc0
GM
73972011-07-15 Glenn Morris <rgm@gnu.org>
7398
c65bca65
GM
7399 * jka-compr.el (jka-compr-verbose): Move from here...
7400 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7401 Add missing :version tag.
7402 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7403
478615cc
LMI
74042011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7405
7b41decb
LMI
7406 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7407 (gnutls-negotiate): Use it.
7408
dbc44fcd
LMI
7409 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7410
06789f97
LMI
7411 * info.el (Info-beginning-of-buffer): New command.
7412 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7413 announcing `b' as the key (bug#8325).
ab896c37 7414 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7415
c39da690
LMI
7416 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7417
3aa5f34b
LMI
7418 * international/mule-cmds.el
7419 (describe-specified-language-support): Make the error message
7420 clearer (bug#8905).
7421
4bf0979f
LMI
7422 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7423
478615cc
LMI
7424 * isearch.el (isearch-barrier): Add a doc string, since it's
7425 mentioned in a function doc string (bug#8678).
7426
75c68aa1
MR
74272011-07-15 Martin Rudalics <rudalics@gmx.at>
7428
7429 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7430 buffer argument (Bug#9083) and self-identifying label argument.
7431
a7c33da2
GM
74322011-07-15 Glenn Morris <rgm@gnu.org>
7433
7434 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7435
2f5c6024
LMI
74362011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7437
7438 * man.el (Man-fontify-manpage): Fix message when formatting the
7439 man page (bug#7929).
7440
0bb23927 74412011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7442
7443 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7444 argument LRM; if non-nil, append an invisible LRM character to the
7445 buffer name.
7446 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7447 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7448 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7449 paragraph direction.
cce4b0a7 7450
621ef9ab
LMI
74512011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7452
d1583c48
LMI
7453 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7454 the man page name (bug#7929).
7455
6a57fb5f
LMI
7456 * image.el (put-image): Mention the `put-image' overlay property
7457 (bug#7834).
7458
d7956b14
LMI
7459 * scroll-bar.el (set-scroll-bar-mode): Mention that
7460 `scroll-bar-mode' lists the values (bug#7772).
7461
5b2d4a66
LMI
7462 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7463 command (bug#7729).
7464
7509a874
LMI
7465 * rect.el (apply-on-rectangle): Return the point after the last
7466 operation.
7467 (string-rectangle): Go to the point after the last operation
7468 (bug#7522).
7469
4fe74b19
LMI
7470 * printing.el (pr-toggle-region): Clarify the documentation
7471 slightly (bug#7493).
7472
b796c9b7
SM
7473 * time.el (display-time-update):
7474 Allow `display-time-mail-function' to return nil (bug#7158).
7475 Fix suggested by Detlev Zundel.
ab283561 7476
fc233c9d
LMI
7477 * vc/diff.el (diff): Clarify the order the file names are read
7478 (bug#7111).
7479
43f5740b
LMI
7480 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7481 the doc string (bug#7015).
7482
f2182a76
LMI
7483 * font-lock.el (font-lock-maximum-decoration): Mention what
7484 numeric levels mean (bug#6935).
7485
621ef9ab
LMI
7486 * startup.el (initial-buffer-choice): Don't mention the `none'
7487 selection, which is against policy.
7488
adc47434
MR
74892011-07-14 Martin Rudalics <rudalics@gmx.at>
7490
b796c9b7
SM
7491 * window.el (display-buffer-normalize-special):
7492 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7493
7e5bfb8f
EZ
74942011-07-14 Eli Zaretskii <eliz@gnu.org>
7495
7496 * subr.el (version<, version<=, version=): Mention "-CVS" and
7497 "-12345" alpha version numbers.
7498
27fa387a
CY
74992011-07-14 Chong Yidong <cyd@stupidchicken.com>
7500
7501 * bindings.el: Add advertised binding for set-mark-command
7502 (Bug#5772).
7503
8bdfa064
CY
75042011-07-14 Chong Yidong <cyd@stupidchicken.com>
7505
7506 * bindings.el (mode-line-other-buffer):
7507 * bookmark.el (bookmark-bmenu-2-window):
7508 * bs.el (bs-cycle-next, bs-cycle-previous):
7509 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7510 switch-to-buffer.
7511
7512 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7513 Delete.
8bdfa064 7514
5eba16a3
JB
75152011-07-14 Juanma Barranquero <lekktu@gmail.com>
7516
7517 * follow.el (follow-debug-message, follow-redisplay):
7518 * jka-cmpr-hook.el (with-auto-compression-mode):
7519 Fix typos in docstrings.
7520
15853710
LMI
75212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7522
a28e4607
LMI
7523 * subr.el (with-silent-modifications): Clarify somewhat what the
7524 macro inhibits (bug#6525).
7525
15853710
LMI
7526 * simple.el (eval-expression): Note what it does if called
7527 interactively (bug#6495).
7528
bee0fcef
CY
75292011-07-13 Chong Yidong <cyd@stupidchicken.com>
7530
b796c9b7
SM
7531 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7532 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7533
7534 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7535 Remove switch-to-buffer.
7536
58274504
LMI
75372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7538
bd2fcc8d
LMI
7539 * files.el (make-directory): Clarify that an error will be raised
7540 if there's an error (bug#6397).
7541
0f04b32c
LMI
7542 * startup.el (initial-buffer-choice): Add `none' as a choice
7543 (bug#6234).
7544
465c5fc8
LMI
7545 * subr.el (add-hook): Clarify section about buffer-local hooks
7546 (bug#6218).
7547
58274504
LMI
7548 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7549
bead9a43
JB
75502011-07-13 Juanma Barranquero <lekktu@gmail.com>
7551
7552 * tabify.el (untabify): Preserve the current column so that point
7553 doesn't move (bug#6032).
7554
3af98a7b
LMI
75552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7556
b796c9b7
SM
7557 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7558 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7559
6240145a
GM
75602011-07-13 Glenn Morris <rgm@gnu.org>
7561
7562 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7563 (dired-insert-directory): Give a message the first time
7564 if ls is found not to support --dired.
7565
1d8c2ccc
LMI
75662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7567
7568 * simple.el (toggle-truncate-lines): Clarify what is toggled
7569 (bug#5580). Text by Drew Adams.
7570
5fc4038e
CY
75712011-07-13 Chong Yidong <cyd@stupidchicken.com>
7572
7573 * simple.el (blink-matching-open): Make the error message from the
7574 last change less verbose.
7575
bf6012e5
DN
75762011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7577
7578 * font-lock.el (font-lock-comment-face): Use the high contrast
7579 "yellow" color for font-lock-comment-face on low color terminals
7580 using a dark background color (bug#4221).
7581
343c3b5a
LMI
75822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7583
7e9505c5
LMI
7584 * dired.el (dired-insert-set-properties): Make the doc string
7585 reflect what it does now (bug#5325).
7586
c26fdcf5
LMI
7587 * simple.el (blink-matching-open): Say that we were unable to find
7588 the match within the limit, if we're limited (bug#5122).
7589
bb388cc5
LMI
7590 * international/mule-cmds.el (prefer-coding-system): Add an
7591 example (bug#4869).
7592
343c3b5a
LMI
7593 * progmodes/etags.el (tags-search): Document `file-list-form'
7594 (bug#4731).
7595
2a517d45
LM
75962011-07-13 Lawrence Mitchell <wence@gmx.li>
7597
7598 * net/browse-url.el (browse-url-default-browser)
7599 (browse-url-browser-function): Make the default browser choice a
7600 bit more logical (bug#4300). Also clean up the doc string.
7601
b6c78ef2
JB
76022011-07-13 Juanma Barranquero <lekktu@gmail.com>
7603
7604 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7605 binary endings (bug#4440).
7606
1c4dd947
LMI
76072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7608
a2014063
LMI
7609 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7610 which can be pretty annoying (bug#8971).
7611
9c9c2d88
LMI
7612 * jka-compr.el (jka-compr-verbose): New variable, and use
7613 throughout (bug#8971).
7614
1c4dd947
LMI
7615 * info.el (Info-find-file): Fall back on the installation
7616 directory if we can't find the info node anywhere else.
7617
a1c9f41b
SO
76182011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7619
7620 * vc/vc.el (vc-revert-file):
7621 Don't set file time-stamp in the past. (Bug#5181)
7622
536f3d36
LMI
76232011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7624
7152b011
LMI
7625 * files.el (after-find-file): Give a better error message when
7626 trying to find a symlink that points to a file that doesn't exist
7627 (bug#4398).
7628
536f3d36
LMI
7629 * progmodes/cc-vars.el: Remove (probably) misleading comment
7630 (bug#4396).
7631
460c0fba
JB
76322011-07-12 Johan Bockgård <bojohan@gnu.org>
7633
7634 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7635
7a6bda45
CY
76362011-07-12 Chong Yidong <cyd@stupidchicken.com>
7637
7638 * mouse-sel.el: Hack restoring functionality, while keeping
7639 compatibility with 2010-07-03 changes to mouse selection.
7640 (mouse-sel-primary-overlay): New var.
7641 (mouse-sel-selection-alist): Use it.
7642 (mouse-sel-mode): Doc fix; remove points that are default features
7643 of mouse.el.
7644
c79598ef
JB
76452011-07-12 Johan Bockgård <bojohan@gnu.org>
7646
7647 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7648 Fix previous fix (bug#2490).
7649
ff8be6ef
RW
76502011-07-12 Roland Winkler <winkler@gnu.org>
7651
b796c9b7
SM
7652 * textmodes/bibtex.el (bibtex-initialize):
7653 Use pop-to-buffer-same-window.
ff8be6ef
RW
7654 (bibtex-search-entries): Fix interactive call.
7655
296ba3ee
LMI
76562011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7657
f5242a02 7658 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7659 Fontise bytecomp Error lines more correctly (bug#2490).
7660 Fix suggested by Johan Bockgård.
f5242a02 7661
296ba3ee
LMI
7662 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7663
7664 * dired-x.el (dired-guess-default): Use `delete-dups'.
7665
f69fd0d2
CY
76662011-07-12 Chong Yidong <cyd@stupidchicken.com>
7667
7668 * dired.el (dired-mark-prompt):
7669 * dired-aux.el (dired-read-shell-command): Doc fix.
7670
eab5dc07
LMI
76712011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7672
b796c9b7
SM
7673 * mail/sendmail.el (sendmail-query-once):
7674 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7675 emacs -Q.
7676
7677 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7678
eab5dc07
LMI
7679 * cus-edit.el (custom-file): Take an optional no-error variable.
7680 (customize-save-variable): Set the variable, and give a warning if
7681 running under "emacs -q".
7682
a1e65d42
JB
76832011-07-11 Juanma Barranquero <lekktu@gmail.com>
7684
7685 * loadhist.el (unload-feature-special-hooks):
7686 Add `auto-coding-functions', `fill-nobreak-predicate' and
7687 `find-directory-functions' (bug#5327).
7688
1d52da10
LMI
76892011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7690
be958f1d
LMI
7691 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7692
5bedb26c
LMI
7693 * cus-edit.el (custom-guess-name-alist): -alist variables should
7694 use the `alist' type (bug#3120). Suggested by Drew Adams.
7695
1d52da10
LMI
7696 * printing.el: Add documentation to all the `pr-toggle-' commands.
7697
cd394be1 76982011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7699
7700 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7701 backends where it makes sense (bug#2623).
7702
dcc88d8a
LMI
77032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7704
c3de9feb
LMI
7705 * dired-x.el (dired-guess-default): Remove duplicate shell command
7706 entries (bug#2028).
8a93078b 7707 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7708 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7709
dcc88d8a
LMI
7710 * subr.el (remove-duplicates): New conveniency function.
7711
505e3645
LMI
77122011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7713
7714 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7715 (bug#1526).
7716
77172011-07-10 Martin Rudalics <rudalics@gmx.at>
7718
7719 * window.el (display-buffer-normalize-default): Don't invert
7720 meaning of even-window-heights. Reported by Eli Zaretskii
7721 <eliz@gnu.org>.
7722
455e4fa1
BR
77232011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7724
7725 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7726
8e0bc3e9
CY
77272011-07-10 Chong Yidong <cyd@stupidchicken.com>
7728
7729 * window.el (display-buffer): Fix arguments to
7730 display-buffer-reuse-window in last change.
7731
fa7c3228
CY
7732 * faces.el (link): Use a less saturated blue on light backgrounds.
7733
7734 * startup.el (fancy-startup-text, fancy-about-text)
7735 (fancy-startup-tail): Use font-lock faces, for background safety.
7736
c0a7f300
BN
77372011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7738
b796c9b7
SM
7739 * emulation/viper-cmd.el (viper-change-state-to-vi):
7740 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7741
4dc2a129
MR
77422011-07-09 Martin Rudalics <rudalics@gmx.at>
7743
7744 * window.el (display-buffer-default-specifiers): Remove.
7745 (display-buffer-macro-specifiers): Remove default specifiers.
7746 (display-buffer-alist): Default to nil.
b796c9b7 7747 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7748 (display-buffer-pop-up-window): Allow splitting internal
7749 windows. Check whether a live window was created.
7750 (display-buffer-other-window-means-other-frame)
7751 (display-buffer-normalize-arguments): Rename to
7752 display-buffer-normalize-argument and rewrite. Set the
7753 other-window specifier.
7754 (display-buffer-normalize-special): New function.
7755 (display-buffer-normalize-options): Rename to
7756 display-buffer-normalize-default and rewrite.
7757 (display-buffer-normalize-options-inhibit): Remove.
7758 (display-buffer-normalize-specifiers): Rewrite.
7759 (display-buffer): Process other-window specifier and call
7760 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7761 more faithfully.
b796c9b7 7762 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7763 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7764 (display-buffer-in-window, display-buffer-alist-set):
7765 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7766 <tassilo@member.fsf.org>.
7767
2d43b8c9
LL
77682011-07-09 Leo Liu <sdl.web@gmail.com>
7769
7770 * register.el (insert-register): Restore accidental change on
7771 2011-06-26. (Bug#9028)
7772
7f9b7c53
GM
77732011-07-09 Glenn Morris <rgm@gnu.org>
7774
7775 * subr.el (remq): Handle the empty list. (Bug#9024)
7776
f042cfd8
AS
77772011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7778
7779 * mail/sendmail.el (send-mail-function): No longer delay custom
7780 initialization.
7781 * custom.el (custom-initialize-delay): Doc fix.
7782
856b2f11
SM
77832011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7786
afae1d68
MA
77872011-07-08 Michael Albinus <michael.albinus@gmx.de>
7788
7789 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7790 human-friendly prompt.
7791
0757af94
SM
77922011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7793
7794 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7795 provided by a particular plugin.
7796
d760b731
LMI
77972011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7798
7799 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7800 save customizations (with "emacs -Q"), just set the variable
7801 instead of erroring out.
7802
7803 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7804
cd79ce90
JL
78052011-07-08 Juri Linkov <juri@jurta.org>
7806
7807 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7808 (archive-zip-update-case): Use 7z if found by `executable-find'.
7809 The order of searching the available programs is the same as in
7810 `archive-zip-extract' (bug#8968).
7811
14cc04aa
CY
78122011-07-07 Chong Yidong <cyd@stupidchicken.com>
7813
7814 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7815 (menu-bar-options-menu): Tweak descriptions.
7816
0a1848ec
LMI
78172011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
7819 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7820 menu items into verb phrases (bug#1421). Also refill to fit under
7821 80 columns.
7822
f5bd0689
CY
78232011-07-07 Chong Yidong <cyd@stupidchicken.com>
7824
538e85c6
CY
7825 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7826 (Info-read-node-name): Doc fix (Bug#1084).
7827
f5bd0689
CY
7828 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7829 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7830 (end-of-sexp, beginning-of-sexp)
7831 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7832 (forward-symbol, forward-same-syntax, word-at-point)
7833 (sentence-at-point): Doc fix (Bug#1144).
7834
56ec5115
LMI
78352011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7836
f3f8e37f
LMI
7837 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7838 should cover it (bug#1281).
7839
0757af94 7840 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7841
e9fce1ac 7842 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7843 negotiation fails, then possibly try again with a non-encrypted
7844 connection (bug#9017).
7845
56ec5115
LMI
7846 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7847 be used.
7848
c2f9aec8
RS
78492011-07-07 Richard Stallman <rms@gnu.org>
7850
7851 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7852 property, and handle its changed format.
7853 Look for the correct line number.
7854 Use file's line contents (but not past first =) to find
7855 correct line in message.
7856
ef7b981d 78572011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7858
7859 * international/characters.el (build-unicode-category-table):
7860 Delete it.
0757af94 7861 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7862
0757af94 7863 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7864 to src/chartab.c.
7865 (get-char-code-property): Call unicode-property-table-internal to
7866 load a file. Call get-unicode-property-internal where necessary.
7867 (put-char-code-property): Call unicode-property-table-internal to
7868 load a file. Call put-unicode-property-internal where necessary.
7869 put-unicode-property-internal where necessary.
0757af94
SM
7870 (char-code-property-description):
7871 Call unicode-property-table-internal to load a file.
c805dec0
KH
7872
7873 * international/charprop.el:
7874 * international/uni-bidi.el:
7875 * international/uni-category.el:
7876 * international/uni-combining.el:
7877 * international/uni-comment.el:
7878 * international/uni-decimal.el:
7879 * international/uni-decomposition.el:
7880 * international/uni-digit.el:
7881 * international/uni-lowercase.el:
7882 * international/uni-mirrored.el:
7883 * international/uni-name.el:
7884 * international/uni-numeric.el:
7885 * international/uni-old-name.el:
7886 * international/uni-titlecase.el:
7887 * international/uni-uppercase.el: Regenerate.
7888
7889 * loadup.el: Load international/charprop.el before
7890 international/characters.
7891
e14b388a
CY
78922011-07-07 Chong Yidong <cyd@stupidchicken.com>
7893
7894 * window.el (next-buffer, previous-buffer): Signal an error if
7895 called from a minibuffer window.
7896
7897 * bindings.el: Revert 2011-07-04 change.
7898
354cf0ba
RS
78992011-07-06 Richard Stallman <rms@gnu.org>
7900
7901 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7902 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7903 Treat markers like ints.
7904 (rmail-mime-entity): Doc fix.
7905
a48868a7
LMI
79062011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7907
4906cd3d
LMI
7908 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7909 defcustom again for backwards compatibility.
7910
e0457abe
LMI
7911 * simple.el (shell-command-on-region): Fill.
7912
d67f7e1f
LMI
7913 * dired-aux.el (dired-kill-line): Add a doc string.
7914
fe204702
LMI
7915 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7916 to "\\sw\\|\\s_" (bug#358).
7917
a48868a7
LMI
7918 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7919 (dired-unmark-backward): Ditto.
7920 (dired-flag-backup-files): Ditto.
7921
7922 * dired-x.el (dired-mark-sexp): Ditto.
7923
aa8a705c
RS
79242011-07-06 Richard Stallman <rms@gnu.org>
7925
7926 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7927 (rmail-mime-entity): New arg TRUNCATED.
7928 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7929 New functions.
7930 (rmail-mime-save): Warn if entity is truncated.
7931 (rmail-mime-toggle-hidden): Likewise, for showing.
7932 (rmail-mime-process-multipart): Record when an entity is truncated.
7933
a9a936b9
RS
7934 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7935 if ENTITY is a string.
7936
1f2b92cb
LMI
79372011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7938
f4f73198 7939 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7940 of faces when `M-C-x'-ing their definitions (bug#8378).
7941 Also clean up the code slightly.
f4f73198 7942
12b16734 7943 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7944 because that makes the colors go away.
12b16734 7945
f0691d22
LMI
7946 * mail/sendmail.el (send-mail-function): Change the default to
7947 `sendmail-query-once'.
9e87df06 7948 (sendmail-query-once): Add an autoload cookie.
f0691d22 7949
1f2b92cb
LMI
7950 * net/network-stream.el (network-stream-open-starttls): Try using
7951 a plain connection even if the server offered STARTTLS, and we
7952 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7953 capability. This should make smtpmail.el work in slightly more
7954 configurations.
7955
1cdd2a1b
MA
79562011-07-06 Michael Albinus <michael.albinus@gmx.de>
7957
7958 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7959 New defun.
7960 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7961
fbcc67e2
MM
79622011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7963
7964 * progmodes/sql.el: Version 3.0
0757af94 7965 (sql-product-alist): Add product :completion-object,
fbcc67e2 7966 :completion-column, and :statement attributes.
0757af94 7967 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7968 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7969 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7970 ansi keywords.
7971 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7972 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7973 (sql-oracle-show-reserved-words): New function for development.
7974 (sql-product-font-lock): Simplify for source code buffers.
7975 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7976 New functions.
7977 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7978 (sql-mode-map): Add statement movement functions.
7979 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7980 New variable.
fbcc67e2
MM
7981 (sql-statement-regexp, sql-beginning-of-statement)
7982 (sql-end-of-statement, sql-signum): New functions.
0757af94 7983 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7984 (sql-show-sqli-buffer): Bug fix.
7985 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7986 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7987 with sql-interactive-mode.
7988 (sql-save-connection): Save buffer local settings.
0757af94 7989 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7990 (sql-product-interactive): Bug fix.
7991 (sql-preoutput-hold): New variable.
7992 (sql-interactive-remove-continuation-prompt): Bug fixes.
7993 (sql-debug-redirect): New variable.
7994 (sql-str-literal): New function.
7995 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7996 Redesign.
fbcc67e2
MM
7997 (sql-oracle-save-settings, sql-oracle-restore-settings)
7998 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7999 (sql-completion-object, sql-completion-column)
8000 (sql-completion-sqlbuf): New variables.
8001 (sql-build-completions-1, sql-build-completions)
8002 (sql-try-completion): New functions.
8003 (sql-read-table-name): Use them.
8004 (sql-contains-names): New buffer local variable.
8005 (sql-list-all, sql-list-table): Use it.
8006 (sql-oracle-completion-types): New variable.
8007 (sql-oracle-completion-object, sql-sqlite-completion-object)
8008 (sql-postgres-completion-object): New functions.
8009
d4eaeab1
GM
80102011-07-06 Glenn Morris <rgm@gnu.org>
8011
8012 * window.el (pop-to-buffer): Doc fix.
8013
322b7dab 80142011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8015
8016 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8017
322b7dab 80182011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8019
322b7dab 8020 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8021
322b7dab 8022 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8023
605dd5bf
CY
80242011-07-05 Chong Yidong <cyd@stupidchicken.com>
8025
8026 * button.el (button): Inherit from link face. Suggested by Dan
8027 Nicolaescu.
8028
7dbfa719
SM
80292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8030
3db614b0
SM
8031 * progmodes/gdb-mi.el: Fit in 80 columns.
8032 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8033 switch-to-buffer.
8034
7dbfa719
SM
8035 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8036 if imenu is simply not configured (bug#8941).
8037
919d884a
KM
80382011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8039
8040 * allout.el (allout-post-undo-hook): New allout outline-change
8041 event hook to signal undo activity.
8042 (allout-post-command-business): Run allout-post-undo-hook if an
8043 undo just occurred.
7dbfa719
SM
8044 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8045 * allout-widgets.el (allout-widgets-after-undo-function):
8046 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8047 in the vicinity of an undo.
8048 (allout-widgets-mode): Include allout-widgets-after-undo-function
8049 on the new allout-post-undo-hook.
8050
450a0f09
SM
80512011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8054 Let define-derived-mode define it.
8055 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8056 cycles of abbrev-table inheritance (bug#8998).
8057
2de69e00
RW
80582011-07-05 Roland Winkler <winkler@gnu.org>
8059
8060 * textmodes/bibtex.el: Add support for biblatex.
8061 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8062 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8063 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8064 (bibtex-entry-alist, bibtex-field-alist): New variables.
8065 (bibtex-entry-field-alist): Obsolete alias for
8066 bibtex-BibTeX-entry-alist.
8067 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8068 (bibtex-set-dialect): New command.
8069 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8070 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8071 Bind via bibtex-set-dialect.
2de69e00
RW
8072 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8073 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8074 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8075 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8076 Define via bibtex-set-dialect.
450a0f09
SM
8077 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8078 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8079 (bibtex-vec-push, bibtex-vec-incr): New functions.
8080 (bibtex-format-entry, bibtex-field-list)
8081 (bibtex-print-help-message, bibtex-validate)
8082 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8083
2dcdbdd9
SM
80842011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * progmodes/compile.el (compilation-goto-locus):
8087 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8088 * bs.el (bs-cycle-next, bs-cycle-previous):
8089 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8090 * bindings.el (mode-line-other-buffer):
8091 * autoinsert.el (auto-insert):
8092 * arc-mode.el (archive-extract):
8093 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8094
b27640fe
JB
80952011-07-05 Juanma Barranquero <lekktu@gmail.com>
8096
8097 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8098 Fix check of `emacs-lock-unlockable-modes'.
8099 Coerce true values of `emacs-lock--try-unlocking' to t.
8100
53bbe3ad
JB
81012011-07-05 Juanma Barranquero <lekktu@gmail.com>
8102
8103 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8104 * emacs-lock.el: New file.
8105
1d3cdbc7
JD
81062011-07-05 Julien Danjou <julien@danjou.info>
8107
8108 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8109 than `boundp' to check if face is set.
8110
9173deec
JB
81112011-07-05 Juanma Barranquero <lekktu@gmail.com>
8112
8113 * register.el (registerv-make):
8114 * window.el (window-min-height): Fix typos in docstrings.
8115
869795d6
JD
81162011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8117
9173deec 8118 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8119 Update doc string.
8120
b768cdcd
JB
81212011-07-04 Juanma Barranquero <lekktu@gmail.com>
8122
8123 * server.el (server-execute): Catch quit and call
8124 `server-return-error' to pass the error back to emacsclient and
8125 close the connection (bug#8942).
8126
13aa217b
KM
81272011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8128
8129 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8130 insecure exception for current topic. Also note that auto-saves
8131 are handled differently.
8132
8133 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8134 State variables for tracking auto-save inhibition situation.
8135
8136 (allout-write-contents-hook-handler): Rename from
8137 'allout-write-file-hook-handler', and describe how it depends on
8138 write-contents-functions sensitivity to non-nil value to prevent
8139 file write.
8140
8141 (allout-auto-save-hook-handler): Remove. auto-save does not check
8142 this in individual buffers, only in the starting buffer, so this
8143 is not the right way for us to inhibit auto-save in a buffer
8144 according to its condition.
8145
8146 (allout-mode): Use new allout-write-contents-hook-handler, and
8147 only with write-contents-functions. Remove auto-save provisions -
8148 they're implemented elsewhere.
8149
8150 (allout-before-change-handler): If undo is in progress, note that
8151 for attention of allout-post-command-business.
8152
8153 (allout-post-command-business): If the command we're following was
8154 an undo, check for change in the status of encrypted items and
8155 adjust auto-save inhibitions accordingly.
8156
8157 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8158 according to whether there are or aren't any plain-text topics
8159 pending encryption.
8160
2dcdbdd9 8161 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8162 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8163 if there are plain-text topics pending encryption.
13aa217b
KM
8164
8165 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8166 buffer-saved-size and some allout state to not inhibit auto-saves
8167 if there are no longer any plain-text topics pending encryption.
8168
0757af94
SM
8169 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8170 No longer provide for exemption of the current topic.
13aa217b 8171
ac89b32c
JL
81722011-07-04 Juri Linkov <juri@jurta.org>
8173
8174 Add 7z operations to delete and save changed members (bug#8968).
8175 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8176 New defcustoms.
8177 (archive-7z-write-file-member): New function.
8178 (archive-7z-summarize): Fix the number of dashes in the
8179 listing output.
8180
8fa39615
SM
81812011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8184 (bug#8958).
8185
2f11b3f1
CY
81862011-07-04 Chong Yidong <cyd@stupidchicken.com>
8187
d66fef2b
CY
8188 * bindings.el: Ignore next-buffer and previous-buffer in
8189 minibuffer-local-map.
8190
2f11b3f1
CY
8191 * font-lock.el (font-lock-builtin-face): Change light background
8192 color to dark slate blue (Bug#6693).
8193
f932a347
WD
81942011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8195
8196 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8197
c8af70e1
SM
81982011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8199
8200 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8201 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8202 Add switch-to-buffer.
8203
f158badc
LMI
82042011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8205
8206 * isearch.el (isearch-search-fun-function): Clarify further the
8207 meaning of the function returned.
8208
6d95bd46
MA
82092011-07-04 Michael Albinus <michael.albinus@gmx.de>
8210
8211 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8212
8213 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8214 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8215 Use it.
8216 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8217 `tramp-default-remote-path' does not exist.
8218 (tramp-send-command-and-read): New optional argument NOERROR.
8219 (tramp-open-connection-setup-interactive-shell)
8220 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8221 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8222 (tramp-process-sentinel): Flush also process' connection property.
8223 (tramp-sh-handle-start-file-process): Do not set process
8224 sentinel. It is done now ...
8225 (tramp-maybe-open-connection): ... here. (Bug#8929)
8226
909e6b67
MK
82272011-07-04 MON KEY <monkey@sandpframing.com>
8228
8229 * play/animate.el (animate-string): Doc fixes and allow changing
8230 the buffer name (bug#5417).
8231
82322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8233
c8af70e1 8234 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8235
f34755dc
PE
82362011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8237
396cec72
PE
8238 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8239 This is simpler and helps future-proof the code.
8240 (timer-until): Use time-subtract and float-time.
08235028 8241 (timer--time-less-p): Use time-less-p.
f34755dc 8242
56e6cc31
JB
82432011-07-04 Juanma Barranquero <lekktu@gmail.com>
8244
3abb79e5
JB
8245 * type-break.el (timep): Use the value of `float-time' to avoid a
8246 byte-compiler warning.
8247
56e6cc31
JB
8248 * server.el (server-eval-and-print): Return any result, even nil.
8249
7b9430b4
PE
82502011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8251
8252 * type-break.el: Accept time formats that the builtins accept.
8253 (timep, type-break-time-difference): Accept any format that
8254 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8255 This is simpler and helps future-proof the code.
8256 (type-break-time-difference): Round rather than ignoring
8257 subseconds components.
8258
3034e9e7
LMI
82592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8260
8261 * info.el (Info-apropos-matches): Make non-interactive, since it
8262 doesn't seem to do anything useful as a command (bug#8829).
8263
1485f4c0
CY
82642011-07-03 Chong Yidong <cyd@stupidchicken.com>
8265
8266 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8267 Move from faces.el.
1485f4c0
CY
8268 (frame-default-terminal-background): New function.
8269
8270 * custom.el (custom-push-theme): Don't record faces in `changed'
8271 theme; this doesn't work correctly for per-frame face settings.
8272 (disable-theme): Use face-set-after-frame-default to reset faces.
8273 (custom--frame-color-default): New function.
8274
9fa3dd45
LMI
82752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8276
c8af70e1 8277 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8278 (bug#8769).
8279
6cbbc20c
KR
82802011-03-29 Kevin Ryde <user42@zip.com.au>
8281
8282 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8283 `perl-Test2' extend to match possible "fail #N" rep count
8284 (bug#8377).
8285
c7f98048
LMI
82862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8287
65676592
LMI
8288 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8289 `smtpmail-via-smtp' now returns the error instead of nil.
8290
c7f98048
LMI
8291 * isearch.el (isearch-search-fun-function): Clarify the doc string
8292 (bug#8101).
8293
56e6cc31 82942011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8295
8296 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8297 unnecessary spaces (bug#8987).
8298
2b216704
LMI
82992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8300
8301 * net/network-stream.el (open-network-stream): Use the
8302 :end-of-capability command thoughout.
8303
83042011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8305
8306 * net/network-stream.el (open-network-stream): Add the
8307 :end-of-capability command parameter, used by pop3.el.
8308
36adf6ce
LMI
83092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8310
1ca0da0e
LMI
8311 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8312
fc00f69c
LMI
8313 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8314 for list)" (bug#6475).
8315
28fd8759 8316 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8317 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8318 an error (bug#6297).
8319
0dd8b6da
LMI
8320 * man.el (Man-reference-regexp): Allow matching possible
8321 word-wrapped references (bug#6289).
8322
ce1438d6
LMI
8323 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8324 for consistency with the other vc buffers (bug#6197).
8325 (vc-checkin): Ditto.
8326
8327 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8328
36adf6ce
LMI
8329 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8330
e83cc1f7
LMI
83312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8332
8a20ca4c
LMI
8333 * custom.el (defcustom): Clarify that :set is only used in the
8334 Customize user interface (bug#6089).
8335
83319045
LMI
8336 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8337 associated with a file, refuse to run instead of erroring out
8338 (bug#6084).
8339
a8392169
LMI
8340 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8341 the doc string, since it appears that using `fill-column' always
8342 controls the width (bug#7845).
8343
e83cc1f7
LMI
8344 * simple.el (shell-command-on-region): Say where the error output
8345 went if `shell-command-default-error-buffer' is set (bug#6857).
8346
e47ca23b
KM
83472011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8348
8349 * allout.el (allout-yank-processing): Adjust cursor position for
8350 backwards-deleted space.
8351
8352 (allout-rebullet-heading): Register changes with
8353 allout-exposure-changed-hook, so the modified topic is properly
8354 decorated.
8355
5cf56143
LMI
83562011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8357
08549772
LMI
8358 * minibuffer.el (completion-in-region): Document PREDICATE
8359 (bug#7136).
8360
48e96771
LMI
8361 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8362 of keyword/argument pairs (bug#6904).
8363
c8af70e1
SM
8364 * replace.el (multi-occur):
8365 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8366
e17d05e2
LMI
83672011-07-02 Drew Adams <drew.adams@oracle.com>
8368
8369 * dired.el (dired-mark-if): Make the message about whether it's
8370 marking or unmarking clearer (bug#8523).
8371
063b0e45
LMI
83722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8373
8374 * disp-table.el (display-table-print-array): New function.
8375 (describe-display-table): Use it to print the vectors more pretty
8376 (Bug#8859).
8377
28545e04
MR
83782011-07-02 Martin Rudalics <rudalics@gmx.at>
8379
8380 * window.el (window-state-get-1): Don't assign clone numbers.
8381 Add clone-of item to list of window parameters.
8382 (window-state-put-2): Don't process clone numbers.
8383 (display-buffer-alist): Fix doc-string.
8384
3349e122
SM
83852011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * subr.el (remq): Don't allocate if it's not needed.
8388 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8389 (keymap--merge-bindings): New functions.
8390 (keymap-canonicalize): Use them to refine the canonicalization.
8391 * minibuffer.el (minibuffer-local-completion-map)
8392 (minibuffer-local-must-match-map): Move initialization from C.
8393 (minibuffer-local-filename-completion-map): Move initialization from C;
8394 don't inherit from anything here.
8395 (minibuffer-local-filename-must-match-map): Make obsolete.
8396 (completing-read-default): Use make-composed-keymap to combine
8397 minibuffer-local-filename-completion-map with either
8398 minibuffer-local-must-match-map or
8399 minibuffer-local-filename-completion-map.
8400
d224ac83
GM
84012011-07-01 Glenn Morris <rgm@gnu.org>
8402
3de63bf8
GM
8403 * type-break.el (type-break-time-sum): Use dolist.
8404
d224ac83
GM
8405 * textmodes/flyspell.el (flyspell-word-search-backward):
8406 Replace CL function.
8407
1a1e3f32
SM
84082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8409
fe3f64d5
SM
8410 * mouse.el (mouse--strip-first-event): New function.
8411 (function-key-map): Use it to map fringe clicks to normal clicks
8412 by default.
8413
eb604e34
SM
8414 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8415 (vc-bzr-revision-completion-table): Add support for annotate and date.
8416
1a1e3f32
SM
8417 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8418 inherit from parent.
8419
5bd35902
LMI
84202011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8421
ace6c69c 8422 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8423 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8424
191e2bed
LMI
8425 * dired.el (dired-mode): Fix up the doc string as suggested by
8426 Drew Adams (bug#8817).
8427
5bd35902
LMI
8428 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8429 cookie, since the manual says that it should be possible to add
8430 this function to `find-file-hook' (bug#8709).
8431
eee8207a
TZ
84322011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8433
8434 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8435 here. Noted Ted Zlatanov as the maintainer.
8436 (cfengine-common-settings, cfengine-common-syntax): New functions
8437 to set up common things between `cfengine-mode' and
8438 `cfengine3-mode'.
8439 (cfengine3-mode): New mode.
8440 (cfengine3-defuns cfengine3-defuns-regex
8441 (cfengine3-class-selector-regex cfengine3-category-regex)
8442 (cfengine3-vartypes cfengine3-font-lock-keywords)
8443 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8444 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8445
36b148cf
MA
84462011-07-01 Michael Albinus <michael.albinus@gmx.de>
8447
8448 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8449
8450 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8451
0bf4ba9a
MR
84522011-07-01 Martin Rudalics <rudalics@gmx.at>
8453
8454 * window.el (same-window-buffer-names, same-window-regexps)
8455 (same-window-p, special-display-frame-alist)
8456 (special-display-popup-frame, special-display-function)
8457 (special-display-buffer-names, special-display-regexps)
8458 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8459 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8460 (split-window-preferred-function, split-height-threshold)
8461 (split-width-threshold, even-window-heights)
8462 (display-buffer-mark-dedicated, window-splittable-p)
8463 (split-window-sensibly, window-safely-shrinkable-p):
8464 Un-obsolete.
8465 (display-buffer): Don't spread args with function specifier
8466 because special-display-popup-frame won't like it.
8467
35837f51
PE
84682011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8469
d0672f86
PE
8470 Time-stamp simplifications and fixes.
8471 These improve accuracy slightly, and future-proof the code
8472 against some potential changes to current-time format.
8473
b9444d97
PE
8474 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8475 by using time-since and float-time.
8476
0ef923dc
PE
8477 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8478 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8479 + NNN microseconds".
8480
2f81380d
PE
8481 * type-break.el (type-break-time-sum): Rewrite using time-add.
8482
845b5c3e
PE
8483 * play/hanoi.el (hanoi-current-time-float): Remove.
8484 All uses replaced by float-time.
8485
ee6f1be0
PE
8486 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8487 This yields a more-accurate answer.
8488 (rng-time-to-float): Remove; no longer needed.
8489
fe955043
PE
8490 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8491
5777162a
PE
8492 * calendar/timeclock.el (timeclock-seconds-to-time):
8493 Defalias to seconds-to-time, since they're the same thing.
8494
3103f8b6 8495 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8496 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8497 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8498
0e61a35f
SM
84992011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * window.el (bury-buffer): Don't iconify the only frame.
8502 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8503 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8504
ddd63a1e
CY
85052011-07-01 Chong Yidong <cyd@stupidchicken.com>
8506
0e61a35f
SM
8507 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8508 Add mouse-yank-primary.
ddd63a1e 8509
055f4923
TZ
85102011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8511
8512 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8513
6a2fb145
SM
85142011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8517 (find-library-name): Use it to find relative load names when provided
8518 absolute file name (bug#8803).
8519
fd4983f2
LMI
85202011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8521
887d14ad
LMI
8522 * textmodes/flyspell.el (flyspell-word): Consider words that
8523 differ only in case as potential doublons (bug#5687).
8524
c53dc7fc
LMI
8525 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8526 Remove two rather uninteresting debugging-like messages to make
8527 debbugs.el more silent.
8528
fd4983f2
LMI
8529 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8530 a password-like phrase.
8531
7a71b18d 85322011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8533
8534 * progmodes/cc-guess.el: New file.
8535
6a2fb145 8536 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8537
8538 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8539 derived from `c-basic-common-init'.
8540
8541 * progmodes/cc-mode.el (top-level): Require cc-guess.
8542 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8543
1fa280a3
LM
85442011-06-30 Lawrence Mitchell <wence@gmx.li>
8545
8546 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8547
e6597158
AM
85482011-06-30 Alan Mackenzie <acm@muc.de>
8549
1fa280a3
LM
8550 * progmodes/cc-engine.el (c-guess-continued-construct):
8551 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8552 lock is disabled. Name this case as "CASE G".
8553
68ba37fb
KM
85542011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8555
8556 * allout.el (allout-yank-processing): Fix injection of extra space
8557 between bullet and non-whitespace character in first topic when
8558 pasting, ensuring that the actual spacing in the pasted topic
8559 following the bullet char is preserved. This extra space was
8560 causing pasted encrypted topics to get a decrypted status even
8561 when the content was actually still encrypted. Now the decryption
8562 status from before the paste is preserved.
8563
8564 (allout-flag-region): Set all allout overlays so they evaporate
8565 when reduced to zero length (evanescent), to prevent overlay
8566 leakage.
8567
887a0b34
GM
85682011-06-30 Glenn Morris <rgm@gnu.org>
8569
94b9acce
GM
8570 * w32-fns.el (w32-charset-info-alist): Declare.
8571
1d9b46d4
GM
8572 * find-dired.el (find-grep-options): Simplify.
8573
cc232200
GM
8574 * term/ns-win.el (ns-set-resource): Declare.
8575
28e77c46
GM
8576 * ses.el (row, col): Declare dynamic variables honestly.
8577
887a0b34
GM
8578 * textmodes/reftex-parse.el (index-tags): Declare.
8579
658d8eb8
CY
85802011-06-30 Chong Yidong <cyd@stupidchicken.com>
8581
8582 * cus-edit.el (customize-push-and-save): New function.
8583
8584 * files.el (hack-local-variables-confirm): Use it.
8585
1fa280a3
LM
8586 * custom.el (load-theme): New arg NO-CONFIRM.
8587 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8588 (custom-enabled-themes): Doc fix.
8589
8590 * cus-theme.el (customize-create-theme)
8591 (custom-theme-merge-theme): Callers to load-theme changed.
8592
bb617717
LMI
85932011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8594
d61bdd5d
LMI
8595 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8596 short URLs have at least one dot in them (bug #7614).
8597
bb617717
LMI
8598 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8599 nil, because using a pty is apparently too slow (bug #895).
8600
2f31f37a
LMI
86012011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8602
8603 * mail/sendmail.el (sendmail-query-once): New function.
8604 (sendmail-query-once-function): New variable.
8605
3076b24e
GM
86062011-06-29 Glenn Morris <rgm@gnu.org>
8607
faf2a174
GM
8608 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8609
3076b24e
GM
8610 * ses.el (top-level): Require cl when compiling.
8611 (ses-set-localvars): Fix error statement.
8612 Call it at compile time to silence a storm of warnings.
8613
5386012d
MR
86142011-06-29 Martin Rudalics <rudalics@gmx.at>
8615
8616 * window.el (normalize-live-buffer): Rename to
8617 window-normalize-buffer.
8618 (normalize-live-frame): Rename to window-normalize-frame.
8619 (normalize-any-window): Rename to window-normalize-any-window.
8620 (normalize-live-window): Rename to window-normalize-live-window.
8621 (make-window-atom): Rename to window-make-atom.
8622 (window-resize-reset): Rename to window--resize-reset.
8623 (window-resize-reset-1): Rename to window--resize-reset-1.
8624 (resize-mini-window): Rename to window--resize-mini-window.
8625 (resize-subwindows-skip-p): Rename to
8626 window--resize-subwindows-skip-p.
8627 (resize-subwindows-normal): Rename to
8628 window--resize-subwindows-normal.
8629 (resize-subwindows): Rename to window--resize-subwindows.
8630 (resize-other-windows): Rename to window--resize-siblings.
8631 (resize-this-window): Rename to window--resize-this-window.
8632 (resize-root-window): Rename to window--resize-root-window.
8633 (resize-root-window-vertically): Rename to
8634 window--resize-root-window-vertically.
8635 (normalize-buffer-to-display): Rename to
8636 window-normalize-buffer-to-display.
8637 (normalize-buffer-to-switch-to): Rename to
8638 window-normalize-buffer-to-switch-to.
8639 Correspondingly update all callers of the functions listed
8640 above.
8641 (display-buffer-alist, display-buffer-normalize-arguments)
8642 (display-buffer-normalize-options, display-buffer)
8643 (display-buffer-alist-set): Use "function" instead of
8644 "fun-with-args".
8645
1176868d
CY
86462011-06-28 Chong Yidong <cyd@stupidchicken.com>
8647
8648 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8649 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8650 debbugs.gnu.org. Mention acknowledgment email.
8651
20a7a65f
LMI
86522011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8653
8654 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8655 buffer multibyteness, since it shouldn't matter.
8656
5f45cca5
MR
86572011-06-28 Martin Rudalics <rudalics@gmx.at>
8658
8659 * window.el (display-buffer-in-side-window): Handle dedicated
8660 windows as in display-buffer-reuse-window.
8661 (display-buffer-normalize-alist): Use value of override
8662 specifier.
8663 (display-buffer-normalize-specifiers): Use value of
8664 other-window-means-other-frame specifier.
8665 (display-buffer-alist): Rewrite some texts in widgets.
8666 (display-buffer): Spread arguments when calling function
8667 specified by fun-with-args.
8668
ad85fe1f
DD
86692011-06-28 Deniz Dogan <deniz@dogan.se>
8670
1fa280a3
LM
8671 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8672 Unnest `let'.
da68c4c8 8673
ad85fe1f
DD
8674 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8675 selectors (Bug#5732).
ec49bd31 8676 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8677
a08cc025
JA
86782011-06-27 Jari Aalto <jari.aalto@cante.net>
8679
8680 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8681 (eshell-ls-date-format): New defcustom.
8682 (eshell-ls-file): Use it.
8683
e2b551c5
SM
86842011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8687
8982b231
KY
86882011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8689
8690 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8691 (ange-ftp-make-tmp-name): New arg.
8692 (ange-ftp-file-local-copy): Use it.
8693
36c9fa27
J
86942011-06-27 Jambunathan K <kjambunathan@gmail.com>
8695
8696 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8697 no-conversion (Bug#8870).
8698
d68443dc
MR
86992011-06-27 Martin Rudalics <rudalics@gmx.at>
8700
8701 * window.el (window-right, window-left, window-child)
8702 (window-child-count, window-last-child)
8703 (window-iso-combination-p, walk-window-tree-1)
8704 (window-atom-check-1, window-tree-1, delete-window)
8705 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8706 new naming conventions - window-vchild, window-hchild,
8707 window-next and window-prev are now called window-top-child,
8708 window-left-child, window-next-sibling and window-prev-sibling
8709 respectively.
d615d6d2
MR
8710 (resize-window-reset): Rename to window-resize-reset.
8711 (resize-window-reset-1): Rename to window-resize-reset-1.
8712 (resize-window): Rename to window-resize.
8713 (window-min-height, window-min-width)
8714 (resize-mini-window, resize-this-window, resize-root-window)
8715 (resize-root-window-vertically, adjust-window-trailing-edge)
8716 (enlarge-window, shrink-window, maximize-window)
8717 (minimize-window, delete-window, quit-restore-window)
8718 (split-window, balance-windows, balance-windows-area-adjust)
8719 (balance-windows-area, window-state-put-2)
8720 (display-buffer-even-window-sizes, display-buffer-set-height)
8721 (display-buffer-set-width, set-window-text-height)
8722 (fit-window-to-buffer): Rename all "resize-window" prefixed
8723 calls to use the "window-resize" prefix convention.
8724 (display-buffer-alist): Fix symbol for label specifier.
8725 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8726 corresponding specifier.
8727 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8728
b6458526
VB
87292011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8730
8731 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8732 convention.
8733 (ses-call-printer): Does not pass an empty string to formatter when the
8734 cell is empty to keep from barking printer Calc math-format-value.
8735
d31fd9ac
RS
87362011-06-27 Richard Stallman <rms@gnu.org>
8737
43d5bf84
RS
8738 * battery.el (battery-mode-line-limit): New variable.
8739 (battery-update): Handle it.
8740
d31fd9ac
RS
8741 * mail/rmailmm.el (rmail-mime-process-multipart):
8742 Handle truncated messages.
8743
819a6054
GM
87442011-06-27 Glenn Morris <rgm@gnu.org>
8745
8746 * progmodes/flymake.el (flymake-err-line-patterns):
8747 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8748
cedc73f2
VB
87492011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8750
819a6054 8751 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8752 (ses--clean-!, ses--clean-_): New functions.
8753 (ses-range): Add configurability of readout order, and conversion
8754 to Calc vector.
8755
5e5d49b6
VB
8756 * ses.el (ses-repair-cell-reference-all): New function.
8757 (ses-cell-symbol): Set macro as safe, so that it can be used in
8758 formulas.
8759
56e6cc31 8760 * ses.el: Update cycle detection algorithm.
90ca8b49 8761 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8762 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8763 (ses-set-localvars): New function.
8764 (ses-make-cell): Add property-list as a cell element.
8765 (ses-cell-property-get-fun, ses-cell-property-get)
8766 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8767 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8768 New functions.
90ca8b49
VB
8769 (ses-cell-property-set, ses-cell-property-pop)
8770 (ses-cell-property-get-handle): New macro.
8771 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8772 New aliases, used for code readability.
8773 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8774 cycle detection.
8775 (ses-self-reference-early-detection): New defcustom.
fac916bf 8776 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8777 (ses-mode): Use ses-set-localvars.
8778 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8779 before lauching the update processing.
8780 (ses-initialize-Dijkstra-attempt): New function.
8781 (ses-recalculate-cell): Update for cycle detection based on
8782 Dijkstra algorithm.
8783
2bb63e81
VB
8784 * ses.el: Fix commenting and indenting convention.
8785
c9d29fb8
SM
87862011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * bs.el (bs-cycle-next): Complete last change.
8789
d8e4b68b
JB
87902011-06-27 Drew Adams <drew.adams@oracle.com>
8791
8792 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8793
40098786
LMI
87942011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8795
c9d29fb8
SM
8796 * net/network-stream.el (network-stream-open-starttls):
8797 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8798 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8799
40098786
LMI
8800 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8801 to binary to possibly avoid line encoding issues on Windows (among
8802 other things).
8803
468d09d4
LMI
88042011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8805
8806 * net/network-stream.el (open-network-stream): Return an :error
8807 saying what the problem was, if possible.
8808
8809 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8810 server.
8811
8812 * net/network-stream.el (network-stream-open-starttls): If we
8813 wanted to use STARTTLS, and the server offered it, but we weren't
8814 able to because we had no STARTTLS support, then close the connection.
8815 (open-network-stream): Return an :error element, if present.
8816
16f07dd7
CY
88172011-06-26 Chong Yidong <cyd@stupidchicken.com>
8818
88821ca0
CY
8819 * hl-line.el (hl-line-sticky-flag): Doc fix.
8820 (global-hl-line-sticky-flag): New option (Bug#8323).
8821 (global-hl-line-highlight): Obey it.
8822
16f07dd7
CY
8823 * vc/vc.el (vc-revert-show-diff): Default to t.
8824
6b5ccddf
KM
88252011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8826
c9d29fb8
SM
8827 * allout-widgets.el (allout-widgets-post-command-business):
8828 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8829 undecorated when an isearch is continued past, and isearch
8830 automatically collapses them. This leads to "widget leaks", where
8831 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8832 hidden widgets can slow down cursor travel, substantially.
8833 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8834 so we're doing without this nicety.
8835
8836 (allout-widgets-tally-string): Don't try to do a hash-table-count
8837 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8838 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8839 *Messages* when allout-widgets-maintain-tally is t.
8840
355f2e07
MR
88412011-06-26 Martin Rudalics <rudalics@gmx.at>
8842
8843 * window.el (display-buffer-normalize-argument): Rename to
8844 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8845 LABEL argument. Respect special-display-function when popping up
8846 a new frame. Fix code searching for a window showing the buffer
8847 on another frame.
c9d29fb8
SM
8848 (display-buffer-normalize-specifiers):
8849 Call display-buffer-normalize-arguments.
355f2e07
MR
8850 (display-buffer-in-window): Don't undedicate the window if its
8851 buffer remains the same.
8852 Reported by Drew Adams <drew.adams@oracle.com>.
8853 (display-buffer-alist): Add choice for same-window macro
8854 specfier.
8855 (display-buffer): Mention special meaning of LABEL argument in
8856 doc-string. Fix quoting. Don't pop up a new frame even as
8857 fallback.
8858
7ca8fc42
JB
88592011-06-26 Juanma Barranquero <lekktu@gmail.com>
8860
8861 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8862 avoid deleting the current window in some cases (bug#8911).
8863
bc312254
AS
88642011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8865
8866 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8867 (Bug#8934)
8868
2db18f3f
LMI
88692011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8870
c9d29fb8
SM
8871 * net/network-stream.el (network-stream-open-starttls):
8872 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8873 (network-stream-open-tls): Ditto.
8874
6302e0d3
LL
88752011-06-26 Leo Liu <sdl.web@gmail.com>
8876
8877 * register.el (registerv): New struct.
8878 (registerv-make): New function.
c9d29fb8
SM
8879 (jump-to-register, describe-register-1, insert-register):
8880 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8881 struct. (Bug#8415)
8882
5fdd4046
CY
88832011-06-26 Chong Yidong <cyd@stupidchicken.com>
8884
2afef60a
CY
8885 * vc/vc.el (vc-revert-show-diff): New defcustom.
8886 (vc-diff-internal): New arg specifying diff buffer.
8887 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8888 reuse an existing *vc-diff* buffer (Bug#8927).
8889
5fdd4046
CY
8890 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8891
e93db24a
GM
88922011-06-26 Glenn Morris <rgm@gnu.org>
8893
8894 * progmodes/f90.el (f90-critical-indent): New option.
8895 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8896 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8897 (f90-mode): Doc fix.
8898 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8899 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8900 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8901 (f90-match-end): Handle block, critical.
8902
eefff499
GM
89032011-06-25 Glenn Morris <rgm@gnu.org>
8904
f6ba4cc9
GM
8905 * calendar/diary-lib.el (diary-included-files): Doc fix.
8906 (diary-include-files): New function, extracted from
8907 diary-include-other-diary-files and diary-mark-included-diary-files.
8908 (diary-include-other-diary-files, diary-mark-included-diary-files):
8909 Just call diary-include-files.
8910 (diary-mark-entries): Reset diary-included-files on first call.
8911
16712304
GM
8912 * calendar/diary-lib.el (diary-mark-entries)
8913 (diary-mark-included-diary-files):
8914 Visit included diary-files in temp buffers.
8915
5d8e0d43
GM
8916 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8917 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8918 (f90-start-block-re, f90-imenu-generic-expression)
8919 (f90-looking-at-program-block-start, f90-no-block-limit):
8920 Add support for submodules.
8921
ccf7a5d5
GM
8922 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8923 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8924
11fdef7d 89252011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8926
8927 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8928 buffer-file-type before setting its value, to avoid disastrous
eefff499 8929 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8930
74f53697
JB
89312011-06-25 Juanma Barranquero <lekktu@gmail.com>
8932
8933 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8934
8935 * ses.el (ses-unload-function):
8936 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8937
8938 * proced.el (proced-unload-function):
8939 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8940
18a4ce5e
AR
89412011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8942
8943 * server.el (server-create-window-system-frame): Add parameters arg.
8944 (server-process-filter): Doc fix. Handle frame-parameters.
8945
519d22cc
JB
89462011-06-25 Juanma Barranquero <lekktu@gmail.com>
8947
8948 Fix bug#8730, bug#8781.
8949
8950 * loadhist.el (unload--set-major-mode): New function.
8951 (unload-feature): Use it.
8952
8953 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8954 (python-unload-function): New function.
8955
c206f5b0
SM
89562011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8957
8958 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8959
f9ad64f3
GS
89602011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8961
8962 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8963 the candidates list.
8964
7d0da90e
JB
89652011-06-24 Juanma Barranquero <lekktu@gmail.com>
8966
8967 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8968
14b4e83d
RS
89692011-06-23 Richard Stallman <rms@gnu.org>
8970
8971 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8972 (rmail-variables): Set next-error-move-function.
8973 (rmail-what-message): Take argument POS.
8974 (rmail-next-error-move): New function.
8975
273d2baf
SM
89762011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8977
8978 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8979 messages for adjacent non-terminals.
8980
56c2cc9a
RS
89812011-06-23 Richard Stallman <rms@gnu.org>
8982
8983 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8984 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8985 (rmail-start-mail): Don't specify use of rmail-mail-return;
8986 that's done by mail-bury now.
8987 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8988
d59eb518
MA
89892011-06-23 Michael Albinus <michael.albinus@gmx.de>
8990
8991 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8992 SIZE is a number.
8993
02cfc6d6
MR
89942011-06-23 Martin Rudalics <rudalics@gmx.at>
8995
8996 * window.el (get-lru-window, get-mru-window)
8997 (get-largest-window): Never return a minibuffer window.
8998 (display-buffer-pop-up-window): Fix a bug that could lead to
8999 reusing the minibuffer window.
9000 (display-buffer): Pass original specifier argument to
9001 display-buffer-function instead of the normalized one.
9002 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9003
4e323265
LL
90042011-06-22 Leo Liu <sdl.web@gmail.com>
9005
9006 * minibuffer.el (completing-read-function)
9007 (completing-read-default): Move from minibuf.c
9008
7a70468f
RS
90092011-06-22 Richard Stallman <rms@gnu.org>
9010
50718fc2
RS
9011 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9012 to Rmail even if not started by a special Rmail command.
9013
7a70468f
RS
9014 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9015 Copy the buffer currently showing just one message.
9016
297dde5a
RW
90172011-06-22 Roland Winkler <winkler@gnu.org>
9018
9019 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9020 (bibtex-clean-entry): First delete the old key so that a
9021 customized algorithm for generating the new key does not get
9022 confused by the old key.
9023 (bibtex-url): Obey regexp of first step.
9024 (bibtex-search-entries): Do not use add-to-list with local
9025 list-var.
9026
97bb1093
LMI
90272011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9028
9029 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9030 stored a user name, then query for the password first, instead of
9031 waiting for SMTP to give an error message and the trying again.
9032
1c0f1a19
JD
90332011-06-22 Lawrence Mitchell <wence@gmx.li>
9034
9035 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9036 BUFFER in call-process.
9037
396f7c9d
LMI
90382011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9039
9040 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9041 QUIT twice.
ddb7ffee
LMI
9042 (smtpmail-try-auth-methods): Require user name and password from
9043 auth-source.
396f7c9d 9044
8998d1b3
MR
90452011-06-22 Martin Rudalics <rudalics@gmx.at>
9046
9047 * window.el (display-buffer-default-specifiers)
9048 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9049 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9050 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9051
9052 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9053 (special-display-frame-alist, special-display-popup-frame):
9054 Remove duplicate declarations. These are now in window.el.
9055
4ea31e07
LMI
90562011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9057
c9d29fb8
SM
9058 * mail/smtpmail.el (smtpmail-via-smtp):
9059 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9060 server supports it. SMTP servers that support STARTTLS commonly
9061 require it.
9062
9063 * net/network-stream.el (network-stream-open-starttls): Support
9064 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9065 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9066
95f41d9a
LMI
9067 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9068 upgrades with `open-network-stream', and rely solely on
9069 auth-source for all credentials. Big changes throughout the file,
9070 but in particular:
c9d29fb8
SM
9071 (smtpmail-auth-credentials): Remove.
9072 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9073 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9074 MAIL FROM, too.
95f41d9a 9075
c9d29fb8
SM
9076 * net/network-stream.el (network-stream-open-starttls):
9077 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9078 STARTTLS.
9079 (auth-source): Require.
9080 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9081 (network-stream-certificate): Change cert-cert to cert and
9082 cert-key to key.
4ea31e07 9083
065ec2c7
MA
90842011-06-21 Michael Albinus <michael.albinus@gmx.de>
9085
9086 * net/tramp-cache.el (top): Don't load the persistency file when
9087 "emacs -Q" has been called.
9088
cd93b359
DR
90892011-06-21 Tim Harper <timcharper@gmail.com>
9090
d8e4b68b
JB
9091 * term/ns-win.el (ns-initialize-window-system):
9092 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9093 resource to NO as it is not yet supported by the NS port.
9094
ae9c0411
JB
90952011-06-21 Juanma Barranquero <lekktu@gmail.com>
9096
9097 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9098 (list-dynamic-libraries): ...not here.
9099
7f3f739f
LL
91002011-06-21 Leo Liu <sdl.web@gmail.com>
9101
9102 * subr.el (sha1): Implement sha1 using secure-hash.
9103
327c8fb1
MR
91042011-06-21 Martin Rudalics <rudalics@gmx.at>
9105
9106 * window.el (display-buffer-alist): In default value do not
9107 enforce searching a window on any but the selected frame.
9108 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9109 (display-buffer-select-window): Remove function.
9110 (display-buffer-in-window): When a window on another frame gets
9111 reused, do not select it any more but just raise its frame if
9112 necessary (Bug#8851) and (Bug#8856).
9113 (display-buffer-normalize-options): Handle pop-up-frames related
9114 options more faithfully.
9115 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9116 window if it is on another frame.
c9d29fb8
SM
9117 (display-buffer-alist, display-buffer-default-specifiers):
9118 Don't make new frame unsplittable by default.
9e9de014
MR
9119 (display-buffer-normalize-argument): Fix doc-string typo and use
9120 'same-frame-other-window instead of 'other-window when associating
9121 with display-buffer-macro-specifiers.
327c8fb1 9122
7cf3f556
VB
91232011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9124
9125 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9126 New functions.
9127 (5x5-mode-map, 5x5-mode-menu): Bind them.
9128 (5x5-draw-grid): Tweak the solver's rendering.
9129
60a406cf
SM
91302011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9133 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9134
d8e4b68b 91352011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9136
9137 * menu-bar.el: Use function variable instead of switch-to-buffer.
9138 (menu-bar-select-buffer-function): New variable.
60a406cf 9139 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9140
478d6f95
SM
91412011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9144 variable's status.
9145
ca530739
JD
91462011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9147
9148 * x-dnd.el (x-dnd-version-from-flags)
9149 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9150 and long as number (Bug#8899).
9151 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9152
bcd70d97
SM
91532011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9154
60a406cf 9155 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9156 (completion-try-completion, completion-all-completions): Compute the
9157 metadata argument if it's missing; make it optional (bug#8795).
9158
60a406cf 9159 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9160 (widget-complete): Use new :completion-function property.
9161 (widget-completions-at-point): New function.
9162 (default): Use :completion-function instead of :complete.
60a406cf
SM
9163 (widget-default-completions): Rename from widget-default-complete;
9164 Rewrite.
bcd70d97
SM
9165 (widget-string-complete, widget-file-complete, widget-color-complete):
9166 Remove functions.
9167 (file, symbol, function, variable, coding-system, color):
9168 * international/mule-cmds.el (default-input-method, charset)
9169 (language-info-custom-alist):
9170 * cus-edit.el (face): Use new property :completions.
9171
9172 * progmodes/pascal.el (pascal-completions-at-point): New function.
9173 (pascal-mode): Use it.
9174 (pascal-mode-map): Use completion-at-point.
9175 (pascal-toggle-completions): Make obsolete.
9176 (pascal-complete-word, pascal-show-completions):
9177 * progmodes/octave-mod.el (octave-complete-symbol):
9178 Redefine as obsolete alias.
9179 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9180 Signal absence of completion info for old Octave,
9181 (inferior-octave-complete): Redefine as obsolete alias.
9182 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9183 (meta-completions-at-point): Rename from meta-complete-symbol and
9184 adapt it for use on completion-at-point-functions.
9185 (meta-common-mode): Use it.
9186 (meta-looking-at-backward, meta-match-buffer): Remove.
9187 (meta-complete-symbol): Redefine as obsolete alias.
9188 (meta-common-mode-map): Use completion-at-point.
9189 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9190 (makefile-mode-map): Use completion-at-point.
9191 (makefile-completions-at-point): Rename from makefile-complete and
9192 adapt it for use on completion-at-point-functions.
9193 (makefile-mode): Use it.
9194 (makefile-complete): Redefine as obsolete alias.
9195
aebf69c8
DD
91962011-06-20 Deniz Dogan <deniz@dogan.se>
9197
9198 * net/rcirc.el: Delete trailing whitespaces once and for all.
9199
bfbbb27d
DC
92002011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9201
9202 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9203
d264a46b
CY
92042011-06-19 Chong Yidong <cyd@stupidchicken.com>
9205
4ca009e5
CY
9206 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9207
d264a46b
CY
9208 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9209
fbf5b3ce
MR
92102011-06-19 Martin Rudalics <rudalics@gmx.at>
9211
9212 * window.el (display-buffer-other-window-means-other-frame):
9213 Call display-buffer-normalize-alist.
9214 (display-buffer-normalize-specifiers-1): Rename to
9215 display-buffer-normalize-argument. New argument other-frame.
9216 Rewrite.
9217 (display-buffer-normalize-specifiers-2): Rename to
9218 display-buffer-normalize-options.
9219 (display-buffer-normalize-alist-1): New function.
9220 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9221 display-buffer-normalize-alist.
9222 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9223 (display-buffer-normalize-options-inhibit): New variable.
9224 (display-buffer-normalize-specifiers): Rewrite calling
9225 display-buffer-normalize-alist,
9226 display-buffer-normalize-argument, and
9227 display-buffer-normalize-options. Don't call the latter if
9228 display-buffer-normalize-options-inhibit is non-nil.
9229 (frame-auto-delete): New option.
9230 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9231 (window-list-no-nils, window-state-ignored-parameters)
9232 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9233 (window-state-put-1, window-state-put-2, window-state-put):
9234 New functions.
9a028c23
MR
9235 (display-buffer-normalize-options): Move special-display-p group
9236 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9237
6d10d800
CY
92382011-06-18 Chong Yidong <cyd@stupidchicken.com>
9239
6420d28b
CY
9240 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9241 groups (Bug#8776).
9242 (rx-submatch-n): New function.
9243 (rx): Document it.
9244
ddb8b596
CY
9245 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9246 (Bug#8768).
9247
9248 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9249
77080289
CY
9250 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9251
61dfb316
CY
9252 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9253 anytime existing face settings are present (Bug#8889).
9254
6d10d800
CY
9255 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9256 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9257 Remove unused argument.
9258
be3fb2b8
MR
92592011-06-18 Martin Rudalics <rudalics@gmx.at>
9260
bcd70d97
SM
9261 * window.el (display-buffer-default-specifiers):
9262 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9263 pop-up-window-min-width, and another reuse-window specifier
9264 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9265 (display-buffer-normalize-specifiers-2):
9266 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9267 pop-up-windows is unset. Add a reuse-window specifier for the
9268 case popping up a new window fails.
9269 (special-display-popup-frame): Remove double quoting.
28dec25a 9270 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9271
1c6d8c76
SM
92722011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9275 according to comint-completion-addsuffix.
9276
9277 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9278 (pcomplete-suffix-list): Mark as obsolete.
9279 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9280 pcomplete-seen in the closure.
9281 (pcomplete-comint-setup): Setup completion-at-point as well.
9282 (pcomplete--entries): New function.
9283 (pcomplete--env-regexp): New var.
9284 (pcomplete-entries): Rewrite to work with partial-completion and
9285 without relying on pcomplete-suffix-list.
9286 (pcomplete-pare-list): Remove, unused.
9287
25aef8b8
MR
92882011-06-17 Martin Rudalics <rudalics@gmx.at>
9289
9290 * window.el (display-buffer-alist): Set pop-up-window-min-height
9291 and pop-up-window-min-width in default value. Reported by
9292 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9293 other-window-means-other-frame.
9294 (display-buffer-macro-specifiers): Comment out entry for
9295 other-window specifier.
9296 (display-buffer-other-window-means-other-frame): New function.
9297 (display-buffer-normalize-specifiers-1): New arguments
9298 buffer-name and label. Treat other-window case specially.
9299 (display-buffer-normalize-specifiers-2): Treat other-window case
9300 specially.
9301 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9302 (display-buffer-normalize-specifiers):
9303 Call display-buffer-normalize-specifiers-3.
25aef8b8 9304
dbad4f69
MR
93052011-06-17 Martin Rudalics <rudalics@gmx.at>
9306
9307 * window.el (same-window-p): Fix two typos introduced when
9308 adding with-no-warnings.
d1067961
MR
9309 (display-buffer-normalize-specifiers-1): Don't check
9310 pop-up-frames for 'unset initialization.
9311 (display-buffer-normalize-specifiers-2): Major rewrite using
9312 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9313 (pop-up-frames, display-buffer-reuse-frames)
9314 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9315 Suggested by David Engster <deng@randomsample.de>.
9316 (even-window-heights): Initialize to 'unset.
9317 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9318 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9319 other window case.
dbad4f69 9320
9b9c9e3a
MR
93212011-06-16 Martin Rudalics <rudalics@gmx.at>
9322
bcd70d97
SM
9323 * window.el (display-buffer-normalize-specifiers-1):
9324 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9325 second argument of display-buffer (Bug#8865).
981d5c09
MR
9326 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9327 (switch-to-buffer-other-window-same-frame)
9328 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9329 Adams (Bug#8875).
9c2755e9
MR
9330 (display-buffer): Don't check noninteractive when calling
9331 display-buffer-pop-up-frame.
9332 (display-buffer-pop-up-frame): Never pop up a frame in
9333 noninteractive mode (Bug#8857).
67222e1d
MR
9334 (enlarge-window, shrink-window): Don't report an error when the
9335 window can't be resized as requested (Bug#8862).
9b9c9e3a 9336
2b75be67
SM
93372011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9338
9ffdd3ba
SM
9339 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9340
cb581a67
SM
9341 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9342
2b75be67
SM
9343 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9344
8c0e3589
AM
93452011-06-15 Alan Mackenzie <acm@muc.de>
9346
cb581a67
SM
9347 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9348 for declarators, disable knr checking to speed up for normal files.
9349 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9350
b96e6cde
LMI
93512011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9352
4bba86e6
LMI
9353 * net/network-stream.el (open-network-stream): Add the keyword
9354 :always-query-capabilities for the case where you want to force a
9355 `plain' network connection, but the protocol still requires the
9356 capabilitiy command (i.e., SMTP and EHLO).
9357
2b75be67 9358 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9359 consistency with other `-live-p' functions.
9360
efdcdbf8
SM
93612011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 * window.el (same-window-buffer-names, same-window-regexps)
9364 (special-display-frame-alist, special-display-popup-frame)
9365 (special-display-function, special-display-buffer-names)
9366 (special-display-regexps, pop-up-frame-alist)
9367 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9368 (pop-up-windows, split-window-preferred-function)
9369 (split-height-threshold, split-width-threshold, even-window-heights)
9370 (display-buffer-mark-dedicated): Don't encourage the use of
9371 display-buffer-alist from Elisp code.
9372
c5cde042
DN
93732011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9374
9375 * progmodes/python.el (python-mode): Derive from prog-mode.
9376 * progmodes/ps-mode.el (ps-mode):
9377 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9378 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9379 * progmodes/ld-script.el (ld-script-mode): Likewise.
9380
baa1c9ab
MR
93812011-06-15 Martin Rudalics <rudalics@gmx.at>
9382
9383 * window.el (display-buffer-alist): Trim default value to avoid
9384 popping up a new frame (Bug#8857) or reusing an arbitrary window
9385 on another frame.
9386 (display-buffer): Do not fall back on popping up a new frame in
9387 batch mode (Bug#8857).
9388
c5dd5a51
CY
93892011-06-14 Chong Yidong <cyd@stupidchicken.com>
9390
9391 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9392 (custom-theme-summary): New function.
9393 (customize-themes): Use it.
9394
d647b7c4
GM
93952011-06-13 Glenn Morris <rgm@gnu.org>
9396
9397 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9398
9481c002
MR
93992011-06-13 Martin Rudalics <rudalics@gmx.at>
9400
357f93d2
MR
9401 * help.el (help-window): Remove variable.
9402 (help-window-point-marker, temp-buffer-max-height)
9403 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9404 (help-print-return-message): Don't set help-window.
9405 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9406 (help-window-setup-finish): Remove.
9407 (help-window-display-message, help-window-setup)
9408 (with-help-window): Major rewrite based on new
9409 display-buffer-window variable.
9410
9411 * help-mode.el (help-mode-finish): Remove help-window related
9412 code.
9413
9414 * view.el (view-exits-all-viewing-windows): Remove reference to
9415 view-return-to-alist in doc-string.
9416 (view-return-to-alist): Make obsolete.
9417 (view-buffer): Call pop-to-buffer-same-window and remove
9418 undo-window code.
9419 (view-buffer-other-window): Call pop-to-buffer-other-window and
9420 simplify code. Ignore second argument.
9421 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9422 simplify code. Ignore second argument.
9423 (view-return-to-alist-update): Make obsolete.
9424 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9425 Rewrite using quit-restore window parameters.
2b75be67
SM
9426 (view-mode-exit): Rename second argument to EXIT-ONLY.
9427 Rewrite using quit-restore-window.
357f93d2
MR
9428 (View-exit, View-exit-and-edit, View-leave, View-quit)
9429 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9430 appropriate arguments.
9431 (view-end-message): Use quit-restore window parameter.
9432
9481c002
MR
9433 * window.el (display-buffer-function): Rewrite doc-string.
9434 (display-buffer-window, display-buffer-alist): New variables.
9435 (display-buffer-split-specifiers)
9436 (display-buffer-side-specifiers)
9437 (display-buffer-macro-specifiers): New constants.
9438 (display-buffer-even-window-sizes, display-buffer-set-height)
9439 (display-buffer-set-width, display-buffer-select-window)
9440 (display-buffer-in-window, display-buffer-reuse-window)
9441 (display-buffer-split-window-1, display-buffer-split-window)
9442 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9443 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9444 (display-buffer-in-side-window, normalize-buffer-to-display)
9445 (display-buffer-normalize-specifiers-1)
9446 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9447 (display-buffer-normalize-specifiers, display-buffer-frame):
9448 New functions.
9481c002
MR
9449 (display-buffer): Major rewrite.
9450 (display-buffer-other-window, display-buffer-other-frame)
9451 (pop-to-buffer, switch-to-buffer-other-window)
9452 (switch-to-buffer-other-frame): Rewrite.
9453 (display-buffer-same-window, display-buffer-same-frame)
9454 (display-buffer-same-frame-other-window)
9455 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9456 (pop-to-buffer-other-window)
9457 (pop-to-buffer-same-frame-other-window)
9458 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9459 (switch-to-buffer-other-window-same-frame): New functions.
9460 (same-window-p, special-display-p): Rewrite disabling warnings.
9461 Make obsolete.
9462 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9463 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9464 Make obsolete
9465 (same-window-buffer-names, same-window-regexps)
9466 (special-display-frame-alist, special-display-popup-frame)
9467 (special-display-function, special-display-buffer-names)
9468 (special-display-regexps, pop-up-frame-alist)
9469 (pop-up-frame-function, split-window-preferred-function)
9470 (split-height-threshold, split-width-threshold)
9471 (even-window-heights): Make obsolete.
9472
9db51aca
GM
94732011-06-12 Glenn Morris <rgm@gnu.org>
9474
9475 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9476 Misc simplifications.
9db51aca 9477
39cffb44
MR
94782011-06-12 Martin Rudalics <rudalics@gmx.at>
9479
9480 * window.el (window-safely-shrinkable-p): Restore function which
9481 was inadvertently removed in change from 2011-06-11. Declare as
9482 obsolete.
9483
2b75be67
SM
9484 * calendar/calendar.el (calendar-generate-window):
9485 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9486 window-safely-shrinkable-p.
9487
a8955be7
GM
94882011-06-12 Glenn Morris <rgm@gnu.org>
9489
9490 * progmodes/fortran.el (fortran-mode-syntax-table):
9491 * progmodes/f90.el (f90-mode-syntax-table):
9492 Set % to punctuation. (Bug#8820)
9493 (f90-find-tag-default): Remove, no longer needed.
9494
f0d4059d
DC
94952011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9496
9497 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9498
1100a63c
CY
94992011-06-11 Chong Yidong <cyd@stupidchicken.com>
9500
9501 * image.el (image-animated-p): Return animation delay in seconds.
9502 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9503 (image-animate-timeout): Remove DELAY argument. Don't assume
9504 every subimage has the same delay; get it from image-animated-p.
9505 (image-animate): Caller changed.
9506
def722bf
MA
95072011-06-11 Michael Albinus <michael.albinus@gmx.de>
9508
9509 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9510 to ignored backtrace functions.
9511
0a2bb1a9
GM
95122011-06-11 Glenn Morris <rgm@gnu.org>
9513
9514 * calendar/appt.el (appt-disp-window-function): Doc fix.
9515 (appt-check): Handle overlapping appointments. (Bug#8337)
9516
6198ccd0
MR
95172011-06-11 Martin Rudalics <rudalics@gmx.at>
9518
9519 * window.el (window-tree-1, window-tree): New functions, moving
9520 the latter to window.el.
9521 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9522 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9523 (bw-refresh-edges): Remove.
9524 (balance-windows-1, balance-windows-2): New functions.
9525 (balance-windows): Rewrite in terms of window tree functions,
9526 balance-windows-1 and balance-windows-2.
9527 (bw-adjust-window): Remove.
9528 (balance-windows-area-adjust): New function with functionality of
9529 bw-adjust-window but using resize-window.
2b75be67
SM
9530 (set-window-text-height): Rewrite doc-string.
9531 Use normalize-live-window and resize-window.
9532 (enlarge-window-horizontally, shrink-window-horizontally):
9533 Rename argument to DELTA.
6198ccd0
MR
9534 (window-buffer-height): New function.
9535 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9536 Rewrite using new window resize routines.
2b75be67
SM
9537 (kill-buffer-and-window, mouse-autoselect-window-select):
9538 Use ignore-errors instead of condition-case.
6198ccd0
MR
9539 (quit-window): Call delete-frame instead of delete-windows-on
9540 for the only buffer on frame.
9541
9397e56f
MR
95422011-06-10 Martin Rudalics <rudalics@gmx.at>
9543
9544 * loadup.el (top-level): Load window before files for the sake
9545 of replace-buffer-in-windows.
9546
9547 * files.el (read-buffer-to-switch)
9548 (switch-to-buffer-other-window)
2b75be67
SM
9549 (switch-to-buffer-other-frame, display-buffer-other-frame):
9550 Move to window.el.
9397e56f
MR
9551
9552 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9553 (previous-buffer): Move to window.el.
9554
9555 * bindings.el (unbury-buffer): Move to window.el.
9556
9557 * window.el (delete-other-windows-vertically): Move after
9558 definition of delete-other-windows.
9559 (other-window, delete-windows-on, replace-buffer-in-windows):
9560 Move here from window.c.
9561 (record-window-buffer, unrecord-window-buffer)
9562 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9563 (switch-to-next-buffer): New functions.
9564 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9565 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9566 (previous-buffer): Move here from simple.el.
9567 Call switch-to-prev-buffer.
9397e56f
MR
9568 (bury-buffer): Move here from buffer.c. Switch to previous
9569 buffer when window cannot be deleted.
9570 (unbury-buffer): Move here from bindings.el.
9571 (ctl-x-map): Move binding for other-window from window.c to
9572 here.
9573 (read-buffer-to-switch, switch-to-buffer-other-window)
9574 (switch-to-buffer-other-frame): Move here from files.el.
9575 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9576 (switch-to-buffer): Move here from buffer.c.
9577 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9578
562dd5e9
MR
95792011-06-10 Martin Rudalics <rudalics@gmx.at>
9580
9581 * window.el (window-min-height, window-min-width): Move here
9582 from window.c. Add defcustoms and rewrite doc-strings.
9583 (resize-mini-window, resize-window): New functions.
9584 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9585 Move here from window.c.
9586 (maximize-window, minimize-window): New functions.
9587 (delete-window, delete-other-windows, split-window): Move here
9588 from window.c.
9589 (window-split-min-size): New function.
9590 (split-window-keep-point): Mention split-window-above-each-other
9591 instead of split-window-vertically.
2b75be67 9592 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9593 Rename split-window-vertically to split-window-above-each-other
9594 and provide defalias for old definition.
9595 (split-window-side-by-side, split-window-horizontally):
9596 Rename split-window-horizontally to split-window-side-by-side
9597 and provide defalias for the old definition.
562dd5e9
MR
9598 (ctl-x-map): Move bindings for delete-window,
9599 delete-other-windows and enlarge-window here from window.c.
9600 Replace bindings for split-window-vertically and
9601 split-window-horizontally by bindings for
9602 split-window-above-each-other and split-window-side-by-side.
9603
9604 * cus-start.el (all): Remove entries for window-min-height and
9605 window-min-width. Add entries for window-splits and
9606 window-nest.
9607
f0da764a
GM
96082011-06-09 Glenn Morris <rgm@gnu.org>
9609
80675c21
GM
9610 * calendar/appt.el (appt-mode-line): New function.
9611 (appt-check, appt-disp-window): Use it.
9612
f0da764a
GM
9613 * files.el (hack-one-local-variable-eval-safep):
9614 Allow minor-modes with explicit +/-1 arguments.
9615
59f623b7
TZ
96162011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9617
9618 * term/xterm.el (xterm): Add defgroup.
9619 (xterm-extra-capabilities): Add defcustom to supply known xterm
9620 capabilities, skip querying them, or query them (default).
9621 (terminal-init-xterm): Use it.
9622 (terminal-init-xterm-modify-other-keys): New function to set up
9623 modifyOtherKeys support to simplify `terminal-init-xterm'.
9624
9aab8e0d
MR
96252011-06-09 Martin Rudalics <rudalics@gmx.at>
9626
9627 * window.el (resize-window-reset, resize-window-reset-1)
9628 (resize-subwindows-skip-p, resize-subwindows-normal)
9629 (resize-subwindows, resize-other-windows, resize-this-window)
9630 (resize-root-window, resize-root-window-vertically)
9631 (window-deletable-p, window-or-subwindow-p)
9632 (frame-root-window-p): New functions.
9633
e8b08aee
GM
96342011-06-09 Glenn Morris <rgm@gnu.org>
9635
9636 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9637 (ange-ftp-get-files): Use it.
9638
254c37a5
AK
96392011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9640
9641 * mail/sendmail.el (mail-recover-1, mail-recover):
9642 * files.el (recover-file, recover-session):
9643 Handle dired-listing-switches not being just a single short option.
9644
35d7dbd3
GM
96452011-06-09 Glenn Morris <rgm@gnu.org>
9646
9647 * calendar/appt.el (appt-display-message, appt-disp-window):
9648 Handle lists of appointments.
9649
387522b2
MR
96502011-06-08 Martin Rudalics <rudalics@gmx.at>
9651
2b75be67
SM
9652 * window.el (one-window-p): Move down in code.
9653 Rewrite doc-string.
9654 (window-current-scroll-bars): Rewrite doc-string.
9655 Normalize live window argument.
387522b2
MR
9656 (walk-windows, get-window-with-predicate, count-windows):
9657 Rewrite doc-string. Use window-list-1.
9658 (window-in-direction-2, window-in-direction, get-mru-window):
9659 New functions.
9660
d8e4b68b 96612011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9662
9663 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9664 Doc fix (Bug#8713).
9665
96662011-06-08 Chong Yidong <cyd@stupidchicken.com>
9667
9668 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9669
96702011-06-08 Juanma Barranquero <lekktu@gmail.com>
9671
9672 * loadhist.el (unload-feature-special-hooks):
9673 Add `comint-output-filter-functions'.
9674
0de12c52
IK
96752011-06-08 Ivan Kanis <gnu@kanis.fr>
9676
9677 * calendar/appt.el (appt-check): Move some initializations into the let.
9678
f3d1777e
MR
96792011-06-08 Martin Rudalics <rudalics@gmx.at>
9680
9681 * window.el (window-height): Defalias to window-total-height.
9682 (window-width): Defalias to window-body-width.
9683
18af70d0
CY
96842011-06-07 Chong Yidong <cyd@stupidchicken.com>
9685
9686 * image-mode.el (image-toggle-animation): New command.
9687 (image-mode-map): Bind it to RET.
9688 (image-mode): Update message.
9689 (image-toggle-display-image): Avoid a spurious cache flush.
9690 (image-transform-rotation): Doc fix.
9691 (image-transform-properties): Return quickly in the normal case.
9692 (image-animate-loop): Rename from image-animate-max-time.
9693
2b75be67 9694 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9695 (create-animated-image): Remove unnecessary function.
9696 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9697 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9698 (image-animate-timer): Use car-safe.
9699 (image-animate-timeout): Rename argument.
9700
190b47e6
MR
97012011-06-07 Martin Rudalics <rudalics@gmx.at>
9702
9703 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9704 window.c. Rename first argument to ALL-FRAMES.
9705 Rephrase doc-strings.
9706 (get-buffer-window-list): Rewrite using window-list-1.
9707 Rephrase doc-string.
a1511caf
MR
9708 (window-safe-min-height, window-safe-min-width): New constants.
9709 (window-size-ignore, window-min-size, window-min-size-1)
9710 (window-sizable, window-sizable-p, window-size-fixed-1)
9711 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9712 (window-max-delta-1, window-max-delta, window-resizable)
9713 (window-resizable-p, window-total-height, window-total-width)
9714 (window-body-width): New functions.
9715 (window-full-height-p, window-full-width-p): Rewrite using
9716 window-total-size.
9717 (window-body-height): Rewrite using window-body-size.
190b47e6 9718
85cc1f11
MR
97192011-06-06 Martin Rudalics <rudalics@gmx.at>
9720
9721 * window.el (window-right, window-left, window-child)
9722 (window-child-count, window-last-child, window-any-p)
9723 (normalize-live-buffer, normalize-live-frame)
9724 (normalize-any-window, normalize-live-window)
9725 (window-iso-combination-p, window-iso-combined-p)
9726 (window-iso-combinations)
9727 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9728 (windows-with-parameter, window-with-parameter)
9729 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9730 (window-atom-check, window-side-check, window-check):
9731 New functions.
85cc1f11
MR
9732 (ignore-window-parameters, window-sides, window-sides-vertical)
9733 (window-sides-slots): New variables.
9734 (window-size-fixed): Move down in code. Minor doc-string fix.
9735
e7156492
AS
97362011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9737
9738 * comint.el (comint-dynamic-complete-as-filename)
9739 (comint-dynamic-complete-filename): Correctly call
9740 completion-in-region.
9741
7e821d0d
DD
97422011-06-05 Deniz Dogan <deniz@dogan.se>
9743
9744 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9745 in last change.
9746
ac09b8a1
DD
97472011-06-05 Deniz Dogan <deniz@dogan.se>
9748
9749 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9750 (rcirc): Use it to prompt for encryption.
9751
34699b85
RW
97522011-06-05 Roland Winkler <winkler@gnu.org>
9753
9754 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9755 (bibtex-search-entries): New command bound to C-c C-a.
9756 (bibtex-display-entries): New function.
9757
004dedd3
RW
97582011-06-05 Roland Winkler <winkler@gnu.org>
9759
9760 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9761 (bibtex-insert-kill): After yanking insert newline if necessary.
9762 (bibtex-initialize): Call bibtex-string-files-init only once.
9763 (bibtex-mode): Do not call easy-menu-add.
9764 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9765 (bibtex-yank): Set arg properly if nil.
9766
022fe7ce
RW
97672011-06-05 Roland Winkler <winkler@gnu.org>
9768
2b75be67
SM
9769 * textmodes/bibtex.el (bibtex-search-entry-globally):
9770 New variable.
022fe7ce
RW
9771 (bibtex-search-entry): Use it.
9772
b7c3692a
RW
97732011-06-05 Roland Winkler <winkler@gnu.org>
9774
9775 * textmodes/bibtex.el (bibtex-entry-format): New option
9776 sort-fields.
9777 (bibtex-format-entry, bibtex-reformat): Honor this option.
9778 (bibtex-parse-entry): Return fields in proper order.
9779
8eda563d
JB
97802011-06-05 Juanma Barranquero <lekktu@gmail.com>
9781
9782 * doc-view.el (doc-view-remove-if): Move computation of result out
9783 of `dolist' to silence misleading lexical-binding warning.
9784
7dbe3dbc
CY
97852011-06-04 Chong Yidong <cyd@stupidchicken.com>
9786
9787 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9788 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9789
0c33dd17
MA
97902011-06-04 Michael Albinus <michael.albinus@gmx.de>
9791
9792 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9793 "SunOS 5.10".
9794
f8f91c2b
MA
97952011-06-04 Michael Albinus <michael.albinus@gmx.de>
9796
9797 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9798 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9799 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9800 (tramp-parse-putty):
9801 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9802 (tramp-completion-function-alist-ssh)
9803 (tramp-completion-function-alist-telnet)
9804 (tramp-completion-function-alist-su)
9805 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9806 cookie.
9807
9808 * net/tramp-ftp.el:
9809 * net/tramp-sh.el:
9810 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9811 load "tramp.el" `tramp-set-completion-function'.
9812
e17d9003
SM
98132011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * shell.el: Require and use pcomplete.
9816 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9817 (shell-completion-vars): Set pcomplete-default-completion-function.
9818
6c4cab03
DD
98192011-06-04 Deniz Dogan <deniz@dogan.se>
9820
9821 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9822 `memq' (Bug#8799).
9823
ea9fafe0
SM
98242011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9827
b3e945d3
JB
98282011-06-02 Juanma Barranquero <lekktu@gmail.com>
9829
9830 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9831 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9832 * vc/log-view.el (log-view-beginning-of-defun):
9833 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9834 (smerge-refine-forward, smerge-refine-chopup-region):
9835 Silence warning for unused `dotimes' counter variables.
9836
7d520089
SM
98372011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * net/tramp.el (tramp-with-progress-reporter): Rename from
9840 with-progress-reporter. Use `declare'.
9841 * net/tramp-smb.el:
9842 * net/tramp-sh.el:
9843 * net/tramp-gvfs.el: Update all uses.
9844
a1c2400f
JB
98452011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9846
9847 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9848 buffer isn't killed before making it current.
9849
2403c841
SM
98502011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 Silence various byte-compiler warnings.
9853 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9854 `access-type' and new obsolescence format.
9855 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9856 new format.
9857 (byte-compile-check-variable): New `access-type' argument.
9858 Only warn if the access-type is obsolete.
9859 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9860 (byte-compile-variable-set): Adjust callers.
9861 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9862 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9863 setting it as obsolete.
9864 * simple.el (minibuffer-completing-symbol):
9865 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9866 access as obsolete.
9867 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9868 obsolete yet.
9869 * international/quail.el (quail-mouse-choose-completion): Remove unused
9870 code referring to obsolete var.
9871 (quail-choose-completion-string): Remove.
9872 * server.el (server-clients-with, server-kill-buffer-query-function)
9873 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9874 * proced.el (proced-send-signal):
9875 * emacs-lisp/lisp.el (lisp-complete-symbol):
9876 Replace completion-annotate-function with completion-extra-properties.
9877
2462470b
SM
98782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9879
fb5b2591
SM
9880 * simple.el (goto-line): Use read-number.
9881 (overriding-map-is-bound): Remove.
9882 (saved-overriding-map): Change default.
9883 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9884 Take the map as argument.
9885 (universal-argument, negative-argument, digit-argument): Use it.
9886 (restore-overriding-map): Adjust.
9887 (do-auto-fill): Use fill-forward-paragraph.
9888 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9889
fd6fa53f
SM
9890 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9891 (minibuffer-inactive-mode): New major mode.
9892 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9893 the *Messages* buffer" hack.
9894 (mouse-popup-menubar): Don't burp if the event is a normal key.
9895
2462470b
SM
9896 Miscellaneous tweaks.
9897 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9898 lexical scoping as in subr.el's dolist and dotimes.
9899 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9900 Silence compiler warning.
9901 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9902 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9903 * international/ccl.el (ccl-compile): Trivial simplification.
9904 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9905 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9906 `printflag' argument.
9907 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9908 Purecopy the whole obsolescence data.
9909
108bf785
LL
99102011-06-01 Leo Liu <sdl.web@gmail.com>
9911
9912 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9913 improve doc-string as suggested by Marco Pessotto
9914 <melmothx@gmail.com>.
9915 (rcirc-print): Fix last change.
9916
30a23501
SM
99172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * minibuffer.el (complete-with-action): Return nil for the metadata and
9920 boundaries of non-functional tables.
9921 (completion-table-dynamic): Return nil for the metadata.
9922 (completion-table-with-terminator): Add default case, using
9923 complete-with-action.
9924 (completion--metadata): New function.
9925 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9926 to try and avoid pathological performance problems.
9927 (completion--embedded-envvar-table): Return `category' metadata.
9928
bcd54f83
LMI
99292011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9930
9931 * subr.el (process-alive-p): New tiny convenience function.
9932
e227544d
SM
99332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9934
9935 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9936 content but also its previous major mode.
9937
e8296fdc
HE
99382011-05-31 Helmut Eller <eller.helmut@gmail.com>
9939
4d61f28d 9940 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9941 *Backtrace* buffer when we exit with C-M-c.
9942
620c53a6
SM
99432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * minibuffer.el: Add metadata method to completion tables.
9946 (completion-category-overrides): New defcustom.
9947 (completion-metadata, completion--field-metadata)
9948 (completion-metadata-get, completion--styles)
9949 (completion--cycle-threshold): New functions.
9950 (completion-try-completion, completion-all-completions):
9951 Add `metadata' argument to choose completion-styles.
9952 (completion--do-completion): Use metadata to choose cycling.
9953 (completion-all-sorted-completions): Use metadata for sorting.
9954 Remove :completion-cycle-penalty which is not needed any more.
9955 (completion--try-word-completion): Add `metadata' argument.
9956 (minibuffer-completion-help): Check metadata for annotation function
9957 and sorting.
9958 (completion-file-name-table): Return `category' metadata.
9959 (minibuffer-completing-file-name): Make obsolete.
9960 * simple.el (minibuffer-completing-symbol): Make obsolete.
9961 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9962 completion-try-completion.
9963
1257e755
SM
99642011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9967
3767e706
LL
99682011-05-30 Leo Liu <sdl.web@gmail.com>
9969
9970 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9971 (rcirc-print): Decode all incoming messages (bug#8744).
9972 (rcirc-decode-coding-system): Allow value nil for automatic coding
9973 system detection.
3767e706 9974
d1a5d56a
GM
99752011-06-01 Glenn Morris <rgm@gnu.org>
9976
9977 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9978
e8cbec34
CY
99792011-05-29 Chong Yidong <cyd@stupidchicken.com>
9980
9981 * image.el (image-animate-max-time): Allow nil and t values.
9982 Default to nil.
9983 (create-animated-image): Doc fix.
9984 (image-animate-start): Remove second arg; just use
9985 image-animate-max-time.
9986 (image-animate-timeout): Doc fix. Args changed.
9987
9988 * image-mode.el (image-toggle-display-image): Ensure that the
9989 image spec passed to the animate timer is the same object as in
58179cce 9990 the buffer's display property (Bug#6981).
e8cbec34
CY
9991 (image-transform-properties): Doc fix.
9992
9993 * image.el (image-animate-max-time): Default to nil.
9994
159daf87
MR
99952011-05-29 Martin Rudalics <rudalics@gmx.at>
9996
9997 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9998 entire buffer list (Bug#8184).
9999
d66c4c7c
CY
100002011-05-29 Chong Yidong <cyd@stupidchicken.com>
10001
10002 * image.el (imagemagick-types-inhibit)
10003 (imagemagick-register-types): Doc fix.
10004
80aec780
DD
100052011-05-29 Deniz Dogan <deniz@dogan.se>
10006
10007 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10008 default.
10009
1dd3c2d9
CY
100102011-05-29 Chong Yidong <cyd@stupidchicken.com>
10011
10012 * select.el: Don't perform clipboard-manager saving in hooks;
10013 leave the hooks empty.
10014
60e56523
LL
100152011-05-28 Leo Liu <sdl.web@gmail.com>
10016
10017 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10018 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10019 (occur-edit-mode): New major mode (Bug#8463).
10020 (occur-after-change-function): New function.
10021 (occur-engine): Give Occur tags a read-only property.
10022
2b1e1a22
KR
100232011-05-28 Kevin Ryde <user42@zip.com.au>
10024
10025 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10026
5d344e88
CY
100272011-05-28 Chong Yidong <cyd@stupidchicken.com>
10028
8e6ca83d
CY
10029 * bindings.el (help-echo): Make the initial non-indicator dash
10030 empty on graphical terminals (Bug#7295).
10031
5d344e88
CY
10032 * files.el (auto-mode-alist): Move config rule after the
10033 in-stripping one (Bug#8547).
10034
bfbbace7
CY
10035 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10036
fbeba6e2
CY
10037 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10038 setting (Bug#8740).
10039
60ed8c72
AA
100402011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10041
4ac619f0
AA
10042 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10043 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10044 (Bug#8539).
60ed8c72 10045
23db196e
CY
100462011-05-28 Chong Yidong <cyd@stupidchicken.com>
10047
10048 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10049
5012f24c
DK
100502011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10051
10052 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10053 (hs-hide-block-at-point, hs-find-block-beginning)
10054 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10055 (Bug#8279).
10056
6a639b16
GM
100572011-05-28 Glenn Morris <rgm@gnu.org>
10058
10059 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10060
d43eaf2c
CY
100612011-05-28 Chong Yidong <cyd@stupidchicken.com>
10062
5199bde1
CY
10063 * help-fns.el (describe-function-1): If the function is a derived
10064 major mode, print the parent mode.
10065
d43eaf2c
CY
10066 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10067 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10068
423428a8
SM
100692011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10070
0ff8e1ba 10071 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10072 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10073 * progmodes/etags.el (tags-completion-at-point-function):
10074 * info-look.el (info-lookup-completions-at-point): Mark as
10075 non-exclusive.
10076 (info-complete): Adjust accordingly.
10077
423428a8
SM
10078 * info-look.el: Convert to lexical-binding and completion-at-point.
10079 (info-lookup-completions-at-point): New function.
10080 (info-complete): Use it and completion-in-region.
10081
b74aa22b
DA
100822011-05-28 Drew Adams <drew.adams@oracle.com>
10083
10084 * isearch.el: Let M-e start with point at the first mismatched char.
10085 (isearch-fail-pos): New function.
10086 (isearch-edit-string): Use it.
10087
66e2e71d
DK
100882011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10089
10090 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10091
b1890b0f 100922011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10093
10094 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10095 traversal functions for avl-trees.
10096 (avl-tree--stack): New struct.
10097 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10098 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10099 (avl-tree--do-enter): Add optional `updatefun' arg.
10100 Change return value.
eb95d01d 10101 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10102 (avl-tree--do-delete): Add `test' and `nilflag' args.
10103 Change return value.
eb95d01d
TC
10104 (avl-tree-member): Add optional `nilflag'
10105 (avl-tree-member-p): New function.
10106 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10107 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10108 (avl-tree-stack-empty-p): New functions.
10109
3769ddcf
TC
10110 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10111 avl-tree--del-balance1 and make it work both ways.
10112 (avl-tree--del-balance2): Remove.
10113 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10114 make it work both ways.
10115 (avl-tree--enter-balance2): Remove.
10116 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10117 New macros.
10118 (avl-tree--mapc, avl-tree-map): Add direction argument.
10119
eb95d01d 101202011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10121
10122 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10123
a9f737ee
CY
101242011-05-27 Chong Yidong <cyd@stupidchicken.com>
10125
10126 * select.el: Support clipboard managers with built-in function
10127 x-clipboard-manager-save, via delete-frame-functions and
10128 kill-emacs-hook.
10129 (xselect-convert-to-targets): Add MULTIPLE target to list.
10130 (xselect-convert-to-save-targets): New function.
10131
c92a1e54
KH
101322011-05-27 Kenichi Handa <handa@m17n.org>
10133
10134 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10135 let-binding rfc2047-encode-encoded-words to nil.
10136
e145f188
GM
101372011-05-27 Glenn Morris <rgm@gnu.org>
10138
5ec8a862
GM
10139 * mail/emacsbug.el: Don't require url-util.
10140
4b29d9fb
GM
10141 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10142
e145f188
GM
10143 * files.el (set-auto-mode):
10144 Also respect mode: entries at the end of the file. (Bug#8586)
10145
7d15102b
GM
101462011-05-26 Glenn Morris <rgm@gnu.org>
10147
98f593b8
GM
10148 * files.el (hack-local-variables-prop-line, hack-local-variables):
10149 Downcase mode names, as seems to be traditional.
27b48e63 10150 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10151
7d15102b
GM
10152 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10153 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10154
51d5b4ec
JD
101552011-05-25 Julien Danjou <julien@danjou.info>
10156
10157 * textmodes/rst.el (rst-define-level-faces): Do not define face
10158 symbol if it is already defined.
10159
91513f63
VB
101602011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10161
10162 * play/5x5.el (5x5-new-game, 5x5-randomize):
10163 Reset 5x5-solver-output to nil when a new grid is cast.
10164 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10165 these debugging traces, as defmacro breaks the compiled code.
10166
4d90d6d0
DK
101672011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10168
10169 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10170
e1b90ef6
LL
101712011-05-24 Leo Liu <sdl.web@gmail.com>
10172
10173 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10174 (vc-bzr-sha1): Adapt.
10175
d8e4b68b 10176 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10177
10178 * bindings.el: Provide sha1 feature.
10179
db0406bb 101802011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10181
10182 * mail/sendmail.el: Require `rfc2047'.
10183 (mail-insert-from-field): Do not perform RFC2047 encoding.
10184 (mail-encode-header): New function.
10185 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10186 buffer to the return value of select-message-coding-system.
10187 Call mail-encode-header.
b8d747b9
KH
10188
10189 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10190
db0406bb 101912011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10192
4d90d6d0
DK
10193 * mail/supercite.el (sc-default-cite-frame):
10194 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10195
eb8a5e9b
GM
101962011-05-24 Glenn Morris <rgm@gnu.org>
10197
f8630703
GM
10198 * progmodes/python.el (brm-menu): Declare.
10199
8831bbed
GM
10200 * emulation/viper.el (viper-set-hooks): Declare.
10201
eb8a5e9b
GM
10202 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10203 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10204 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10205 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10206 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10207 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10208
a2a25d24
SM
102092011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 Add an :exit-function for completion-at-point.
10212
10213 * minibuffer.el (completion--done): New fun.
10214 (completion--do-completion): Use it. New arg `expect-exact'.
10215 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10216 since completion--do-completion does it for us now.
10217 (minibuffer-force-complete): Use completion--done and
10218 completion--replace. Handle sole-completion case with more care.
10219 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10220 (completion-extra-properties): New var.
10221 (completion-annotate-function): Make obsolete.
10222 (minibuffer-completion-help): Adjust accordingly.
10223 Use completion-list-insert-choice-function.
10224 (completion-at-point, completion-help-at-point):
10225 Bind completion-extra-properties.
10226 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10227 * simple.el (completion-list-insert-choice-function): New var.
10228 (completion-setup-function): Preserve it.
10229 (choose-completion): Pay attention to it, shuffle the code a bit.
10230 (choose-completion-string): New arg `insert-function'.
10231
10232 * textmodes/bibtex.el: Convert to lexical binding.
10233 (bibtex-mode-map): Use completion-at-point.
10234 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10235 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10236 (bibtex-complete): Define as obsolete alias.
10237 (bibtex-complete-internal): Remove.
10238 (bibtex-format-entry): Remove unused sub-group in regexp.
10239 * shell.el (shell--command-completion-data)
10240 (shell-environment-variable-completion):
10241 * pcomplete.el (pcomplete-completions-at-point):
10242 * comint.el (comint--complete-file-name-data): Use :exit-function
10243 instead of completion-table-with-terminator so it also works for
10244 choose-completion.
10245
e44e373d
SM
102462011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10247
4f91a816
SM
10248 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10249
782fc819
SM
10250 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10251 (bug#8710).
10252
e44e373d
SM
10253 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10254
381987c3
KM
102552011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10256
10257 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10258 customization variable and implement: If non-nil, auto-fill will
10259 be inhibited while on topic's header line.
10260
b776bc70
VB
102612011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10262
10263 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10264 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10265 always have a solution in grid size = 5 cases.
10266 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10267 (5x5-solver-output, 5x5-log-buffer): New vars.
10268 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10269 Make these variables buffer local to achieve 5x5 multi-session-ness.
10270 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10271 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10272 (5x5-solve-suggest): New funs.
10273 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10274 randomize a grid so that we ensure that there is always a solution.
10275 (5x5-make-random-grid): Allow other movement than flipping.
10276
7de88b6e
KR
102772011-05-23 Kevin Ryde <user42@zip.com.au>
10278
10279 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10280 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10281 advice and passes PREDICATE.
10282
b1ef1257
SM
102832011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10284
bbca48fe
SM
10285 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10286 byte-compile-lambda if it's actually a lambda.
10287
b1ef1257
SM
10288 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10289 Fix function quoting. Use backquote better.
10290
92a9cc65
YS
102912011-05-22 Yuanle Song <sylecn@gmail.com>
10292
10293 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10294 matching (Bug#8516).
10295
f0fb8059
JA
102962011-01-22 Jari Aalto <jari.aalto@cante.net>
10297
10298 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10299 different face (Bug#8178).
10300
d5b44c93
CY
103012011-05-22 Chong Yidong <cyd@stupidchicken.com>
10302
10303 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10304 defface (Bug#8144).
10305
79106a44
SM
103062011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10307
9c848d8a
SM
10308 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10309 funcall as well (bug#8712). Warn when performing those conversions.
10310 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10311
79106a44
SM
10312 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10313
88dfa756
GM
103142011-05-22 Glenn Morris <rgm@gnu.org>
10315
10316 * files.el (hack-local-variables-prop-line): Small simplifications.
10317 (hack-local-variables, hack-local-variables-prop-line):
10318 If MODE-ONLY, return the mode, rather than just `t'.
10319
b7cf2c79
SM
103202011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10323
3f1a8558
GM
103242011-05-21 Glenn Morris <rgm@gnu.org>
10325
7e4ccca3
GM
10326 * files.el (hack-local-variables-prop-line, hack-local-variables):
10327 If only interested in the mode, don't bother doing the other stuff.
10328
637d46ca
GM
10329 * image-mode.el (image-after-revert-hook):
10330 Redraw all frames on which the image is visible. (Bug#8567)
10331
973d955b
GM
10332 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10333
3f1a8558
GM
10334 * wid-edit.el (widget-checklist-match-inline):
10335 Fix 2011-04-19 change. (Bug#8649)
10336
96479927
SM
103372011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10338
1dcf791f
SM
10339 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10340 Also allow singlespace after single-letter capitals followed by a dot.
10341
96479927
SM
10342 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10343 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10344
35fd0881
N
103452011-05-20 Nix <nix@esperi.org.uk>
10346
10347 * files.el (basic-save-buffer-2):
10348 Fix handling of break-hardlink-on-save with non-existent files.
10349
82745640
DD
103502011-05-19 Deniz Dogan <deniz@dogan.se>
10351
10352 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10353 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10354
4a720484
GM
103552011-05-19 Glenn Morris <rgm@gnu.org>
10356
d1f21341
GM
10357 * progmodes/f90.el (f90-type-def-re):
10358 Handle "type, bind(c)". (Bug#8691)
10359
4a720484
GM
10360 * emacs-lisp/autoload.el (batch-update-autoloads):
10361 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10362
2fb0a219
MA
103632011-05-18 Michael Albinus <michael.albinus@gmx.de>
10364
10365 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10366 property for the correct connection in case of multihops.
10367
e565dd37
GM
103682011-05-18 Glenn Morris <rgm@gnu.org>
10369
c2571358 10370 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10371 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10372
e565dd37
GM
10373 Rationalize calendar handling of day and month abbrev-arrays.
10374 * calendar/calendar.el (calendar-customized-p): New function.
10375 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10376 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10377 Add :set function.
10378 (calendar-abbrev-length, calendar-day-abbrev-array)
10379 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10380 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10381 Elements may no longer be nil.
10382 (calendar-day-name, calendar-month-name):
10383 Update for changed nature of abbrev arrays.
10384 * calendar/diary-lib.el (diary-name-pattern):
10385 Update for changed nature of abbrev arrays.
10386 (diary-mark-entries-1): Update calendar-make-alist calls.
10387 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10388 * calendar/cal-html.el (cal-html-day-abbrev-array):
10389 Simply inherit from calendar-day-abbrev-array.
10390
1d99a745
SM
103912011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * progmodes/grep.el (grep-mode): Disable default
10394 compilation-directory-matcher setting (bug#8684).
10395
7c1d9aa0
MA
103962011-05-17 Michael Albinus <michael.albinus@gmx.de>
10397
10398 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10399 instead of "head" and "tail". There were problems with SunOS 5.9,
10400 and it performs better.
10401
3952e9d8
GM
104022011-05-17 Glenn Morris <rgm@gnu.org>
10403
2dd12e7f
GM
10404 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10405
e4157b9c
GM
10406 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10407 Replace obsolete function.
10408
8e249bbd
GM
10409 * shell.el (pcomplete-parse-arguments-function): Declare.
10410
3952e9d8
GM
10411 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10412 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10413 (appt-check): Doc fixes.
10414 (appt-disp-window-function, appt-delete-window-function):
10415 Remove needless special case in custom :type.
10416 (appt-display-count): Default to 0, not nil.
10417 (appt-check): Reset appt-display-count to 0, not nil.
10418
c71a0d48 104192011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10420
c71a0d48
GM
10421 * progmodes/python.el (python-font-lock-keywords):
10422 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10423
31d55be9
SM
104242011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10427
3bfacb2f
KR
104282011-05-16 Kevin Ryde <user42@zip.com.au>
10429
10430 * info-look.el (makefile-automake-mode): New setups, looking in
10431 automake manual, then makefile-mode.
10432 (makefile-mode): Remove automake manual, have it just in
10433 makefile-automake-mode since there's various things different or
10434 not relevant to plain make.
10435 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10436 believe a hypothetical automake-mode would go to makefile-mode,
10437 not the other way around.
10438
c8e83751
CY
104392011-05-15 Chong Yidong <cyd@stupidchicken.com>
10440
5e9e35cd
CY
10441 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10442 hunk-end tags (Bug#8672).
10443
c8e83751
CY
10444 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10445 vc-annotate-show-diff-revision-at-line (Bug#8671).
10446
50b23e5a
GM
104472011-05-14 Glenn Morris <rgm@gnu.org>
10448
7210a739
GM
10449 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10450 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10451 (change-log-font-lock-keywords): Also handle multiple author lines
10452 with leading tabs. (Bug#8644)
7210a739 10453
4691905a
GM
10454 * calendar/appt.el (appt-check): Rename some local variables.
10455 Some simplification/reordering.
10456
50b23e5a
GM
10457 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10458 (feedmail-sendmail-f-doesnt-sell-me-out)
10459 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10460 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10461 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10462 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10463 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10464 (feedmail-binmail-gnulinuxish-template):
10465 Rename from feedmail-binmail-linuxish-template.
10466 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10467 Use insert-buffer-substring.
10468
215cda7c
BC
104692011-05-14 Bill Carpenter <bill@carpenter.org>
10470
10471 * mail/feedmail.el (feedmail-patch-level): Increase.
10472 (feedmail-debug): New custom group.
10473 (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): New options.
10477 (feedmail-sender-line, feedmail-from-line)
10478 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10479 (feedmail-spray-this-address)
215cda7c
BC
10480 (feedmail-spray-address-fiddle-plex-list)
10481 (feedmail-queue-use-send-time-for-date)
10482 (feedmail-queue-use-send-time-for-message-id)
10483 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10484 (feedmail-buffer-eating-function):
10485 Doc fixes.
10486 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10487 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10488 (feedmail-message-action-scroll-down): New functions.
10489 (feedmail-queue-directory, feedmail-queue-draft-directory):
10490 Use expand-file-name.
10491 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10492 Remove C-v help entry.
10493 (feedmail-queue-buffer-file-name): New variable.
10494 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10495 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10496 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10497 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10498 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10499 (feedmail-message-action-toggle-spray)
10500 (feedmail-run-the-queue-no-prompts)
10501 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10502 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10503 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10504 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10505 (feedmail-envelope-deducer, feedmail-fiddle-from)
10506 (feedmail-fiddle-sender, feedmail-default-date-generator)
10507 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10508 (feedmail-fiddle-spray-address)
10509 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10510 (feedmail-fiddle-list-of-fiddle-plexes)
10511 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10512 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10513 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10514 Change default. Doc fix.
10515 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10516 (feedmail-binmail-linuxish-template): New constant.
10517 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10518 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10519 (feedmail-send-it): Add debug call.
10520 Use feedmail-queue-buffer-file-name, and
10521 feedmail-send-it-immediately-wrapper.
10522 (feedmail-message-action-send): Add debug call.
10523 Use feedmail-send-it-immediately-wrapper.
10524 (feedmail-queue-express-to-queue): Add debug call.
10525 Run feedmail-queue-express-hook.
10526 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10527 (feedmail-message-action-help-blat):
10528 Rename from feedmail-queue-send-edit-prompt-help-first.
10529 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10530 Check line-endings. Handle errors better.
10531 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10532 Doc fix. Add debug call.
10533 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10534 Use feedmail-queue-send-edit-prompt-inner.
10535 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10536 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10537 from feedmail-queue-send-edit-prompt.
10538 (feedmail-queue-send-edit-prompt-help)
10539 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10540 (feedmail-tidy-up-slug): Add debug call.
10541 Respect feedmail-queue-slug-suspect-regexp.
10542 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10543 (feedmail-dump-message-to-queue): Add debug call.
10544 Expand queue-directory.
10545 (feedmail-dump-message-to-queue): Change message slightly.
10546 Use feedmail-say-chatter.
10547 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10548 (feedmail-send-it-immediately-wrapper): New function.
10549 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10550 Insert empty string rather than newline. Handle full-frame case.
10551 Use catch/throw. Use feedmail-say-chatter.
10552 (feedmail-fiddle-from): Try mail-host-address.
10553 (feedmail-default-message-id-generator): Doc fix.
10554 Bind system-time-locale. Handle missing end.
10555 (feedmail-fiddle-x-mailer): Add debug call.
10556 Handle feedmail-x-mailer-line being nil.
10557 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10558 Add debug call. Use buffer-substring-no-properties.
10559 (feedmail-say-debug, feedmail-say-chatter): New functions.
10560 (feedmail-find-eoh): Give an explicit error.
10561
42c7e61e
UJ
105622011-05-13 Ulf Jasper <ulf.jasper@web.de>
10563
c2571358 10564 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10565 family from helvetica to sans.
c2571358 10566 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10567 etc/images/newsticker.
10568
c2571358 10569 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10570 family from helvetica to sans.
10571
10572 * net/newst-plainview.el (newsticker-new-item-face)
10573 (newsticker-old-item-face, newsticker-immortal-item-face)
10574 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10575 (newsticker-statistics-face): Change default family from
42c7e61e 10576 helvetica to sans.
c2571358 10577 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10578 etc/images/newsticker.
10579
10580 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10581 (newsticker--process-auto-mark-filter-match): : Tell user about
10582 auto-marking.
10583
8497a297
DV
105842011-05-13 Didier Verna <didier@xemacs.org>
10585
10586 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10587 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10588 TODO entries.
8497a297
DV
10589 (lisp-lambda-list-keyword-parameter-indentation)
10590 (lisp-lambda-list-keyword-parameter-alignment)
10591 (lisp-lambda-list-keyword-alignment): New customizable user options.
10592 (lisp-indent-defun-method): Improve docstring.
10593 (extended-loop-p): Fix comment.
10594 (lisp-indent-lambda-list-keywords-regexp): New variable.
10595 (lisp-indent-lambda-list): New function.
10596 (lisp-indent-259): Use it.
10597 (lisp-indent-defmethod): Support for more than one
10598 method qualifier and properly indent methods lambda-lists.
10599 (defgeneric): Provide a missing common-lisp-indent-function property.
10600
f278f87f
SM
106012011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10602
10603 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10604 bounds for the empty string (bug#8667).
10605
5233edd7
GM
106062011-05-13 Glenn Morris <rgm@gnu.org>
10607
5237a44f
GM
10608 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10609
8340026c 10610 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10611 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10612
5233edd7 10613 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10614 (appt-time-msg-list): Doc fix.
a5464014 10615 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10616
92d10796
AS
106172011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10618
10619 * progmodes/ld-script.el (ld-script-keywords)
10620 (ld-script-builtins): Update keywords list.
10621
914a0ae1
SM
106222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10623
c89be45f
SM
10624 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10625
914a0ae1
SM
10626 * shell.el (shell-completion-vars): New function.
10627 (shell-mode):
10628 * simple.el (read-shell-command): Use it.
10629 (blink-matching-open): No need for " [...]" in minibuffer-message.
10630
98dc3df3
GM
106312011-05-12 Glenn Morris <rgm@gnu.org>
10632
10633 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10634 (appt-check): Simplify.
10635
d2fc7e3d 106362011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10637
4d61f28d 10638 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10639 literal "/dev/null".
10640
d2fc7e3d 106412011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10642
10643 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10644 Fix typo.
10645
d2fc7e3d 106462011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10647
3f254caa
SM
10648 * progmodes/which-func.el (which-function):
10649 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10650 which might not be defined (Bug#8260).
10651
d45885f7
GM
106522011-05-12 Glenn Morris <rgm@gnu.org>
10653
10654 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10655 Let byte-compile-initial-macro-environment always take precedence.
10656
488086f4
SM
106572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * net/rcirc.el: Add support for SSL/TLS connections.
10660 (rcirc-server-alist): New field `encryption'.
10661 (rcirc): Check `encryption' settings.
10662 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10663 Merge make-local-variable into `set'.
10664 (rcirc--connection-open-p): New function.
10665 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10666 the process is not a network process (e.g. running gnutls-cli).
10667 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10668 Make rcirc-(en|de)code-coding-system local here.
10669 (rcirc-mode): Merge make-local-variable into `set'.
10670 (rcirc-parent-buffer): Make permanent buffer-local.
10671 (rcirc-multiline-minor-mode): Don't do it here.
10672 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10673 there's no server buffer.
10674
7d3b9d44
GM
106752011-05-11 Glenn Morris <rgm@gnu.org>
10676
f64049c6
GM
10677 * newcomment.el (comment-kill): Prefix "unused" local.
10678
93c9df73
GM
10679 * term/w32console.el (get-screen-color): Declare.
10680
7d3b9d44
GM
10681 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10682 Handle symbol elements of byte-compile-initial-macro-environment.
10683
9e2dd53f
LL
106842011-05-10 Leo Liu <sdl.web@gmail.com>
10685
488086f4
SM
10686 * bookmark.el (bookmark-bmenu-mode-map):
10687 Bind bookmark-bmenu-search to `/'.
8b340240 10688
9e2dd53f 10689 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10690 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10691 (Footnote-unicode): New function.
10692 (footnote-style-alist): Add unicode style to the list.
10693 (footnote-style): Doc fix.
9e2dd53f 10694
79b70037
GM
106952011-05-10 Jim Meyering <meyering@redhat.com>
10696
10697 Fix doubled-word typos.
10698 * international/quail.el (quail-insert-kbd-layout): and and -> and
10699 * kermit.el: and and -> and
10700 * net/ldap.el (ldap-search-internal): to to -> to
10701 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10702 * progmodes/js.el (js-mode): and and -> and
10703 * textmodes/artist.el (artist-move-to-xy): at at -> at
10704 (artist-draw-region-trim-line-endings): if if -> if
10705 And Safetyc -> Safety.
10706 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10707
b8f82dc1 107082011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10709 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10710
10711 * files.el (hack-one-local-variable-eval-safep):
10712 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10713
4f99f44b
GM
107142011-05-10 Glenn Morris <rgm@gnu.org>
10715
10716 * calendar/diary-lib.el (diary-list-entries-hook)
10717 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10718 (diary-nongregorian-marking-hook, diary-list-entries)
10719 (diary-include-other-diary-files, diary-mark-entries)
10720 (diary-mark-included-diary-files): Doc fixes.
10721
84f29e6b
JB
107222011-05-09 Juanma Barranquero <lekktu@gmail.com>
10723
10724 * misc.el: Require tabulated-list.el during compilation.
10725
9bedd73a
CY
107262011-05-09 Chong Yidong <cyd@stupidchicken.com>
10727
488086f4
SM
10728 * progmodes/compile.el (compilation-start):
10729 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10730 (compilation-filter-hook): Doc fix.
10731
797c735c
DD
107322011-05-09 Deniz Dogan <deniz@dogan.se>
10733
10734 * wdired.el: Remove outdated installation comment. Fix usage
10735 comment.
10736
5f4b1dfe
JB
107372011-05-09 Juanma Barranquero <lekktu@gmail.com>
10738
10739 * misc.el: Implement new command `list-dynamic-libraries'.
10740 (list-dynamic-libraries--loaded-only-p): New variable.
10741 (list-dynamic-libraries--refresh): New function.
10742 (list-dynamic-libraries): New command.
10743
4c44026c
CY
107442011-05-09 Chong Yidong <cyd@stupidchicken.com>
10745
488086f4
SM
10746 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10747 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10748 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10749 higher priority to avoid clobbering by gnu.
10750
027f966d
CY
107512011-05-08 Chong Yidong <cyd@stupidchicken.com>
10752
10753 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10754 if the face has existing theme settings (Bug#8454).
10755
085f5d7d
CY
107562011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10757
488086f4
SM
10758 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10759 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10760
2a86a00c
RS
10761 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10762 special file names `.' and `..' (Bug#8259).
10763
d9c54a06
CY
107642011-05-08 Chong Yidong <cyd@stupidchicken.com>
10765
488086f4
SM
10766 * progmodes/grep.el (grep-mode-font-lock-keywords):
10767 Remove buffer-changing entries.
d9c54a06
CY
10768 (grep-filter): New function.
10769 (grep-mode): Add it to compilation-filter-hook.
10770
10771 * progmodes/compile.el (compilation-filter-hook)
10772 (compilation-filter-start): New defvars.
10773 (compilation-filter): Call compilation-filter-hook prior to
10774 updating the process mark.
10775
c4662635
SM
107762011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10779
b0512a1d
EZ
107802011-05-07 Eli Zaretskii <eliz@gnu.org>
10781
605c9376
EZ
10782 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10783 mailclient-send-it even if window-system is nil. (Bug#8595)
10784
c4662635
SM
10785 * term/w32console.el (terminal-init-w32console):
10786 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10787 background-mode. (Bug#8597)
10788
d1dc2cc2
SM
107892011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10792 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10793 New functions.
10794 (defgeneric, eieio--defmethod): Use them.
10795 (eieio-defgeneric): Remove.
10796 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10797
915d1300
GM
107982011-05-07 Glenn Morris <rgm@gnu.org>
10799
a3961c3e
GM
10800 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10801 Use let rather than let*.
10802 (timeclock-find-discrep): Remove unused local.
10803
314347b9
GM
10804 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10805
915d1300
GM
10806 * calendar/appt.el (appt-time-msg-list): Doc fix.
10807
275b59b0
NF
108082011-05-06 Noah Friedman <friedman@splode.com>
10809
10810 * apropos.el (apropos-print-doc): Only use
10811 emacs-lisp-docstring-fill-column when it is bound to an integer,
10812 per that variable's documentation.
10813
6c19f744
SM
108142011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10815
10816 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10817 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10818
60f884b2
GM
108192011-05-06 Glenn Morris <rgm@gnu.org>
10820
5006e634
GM
10821 * calendar/appt.el (appt-message-warning-time): Doc fix.
10822 (appt-warning-time-regexp): New option.
10823 (appt-make-list): Respect appt-message-warning-time.
10824
548d0a63
GM
10825 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10826 New options.
10827 (diary-add-to-list): Strip comments from the displayed string.
10828 (diary-mode): Set comment-start and comment-end.
10829
60f884b2
GM
10830 * vc/diff-mode.el (smerge-refine-subst): Declare.
10831 (diff-refine-hunk): Don't require smerge-mode when compiling.
10832
989681bb
JB
108332011-05-06 Juanma Barranquero <lekktu@gmail.com>
10834
10835 * simple.el (list-processes): Return nil as the docstring says.
10836
a6bc05e1
MA
108372011-05-05 Michael Albinus <michael.albinus@gmx.de>
10838
10839 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10840 to "".
10841 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10842 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10843 determining of binary transfer. (Bug#7383)
10844
23c22e9a
MA
108452011-05-05 Michael Albinus <michael.albinus@gmx.de>
10846
c4662635
SM
10847 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10848 Fix port computation bug. (Bug#8618)
23c22e9a 10849
0bff894f
GM
108502011-05-05 Glenn Morris <rgm@gnu.org>
10851
b8296902
GM
10852 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10853
1f522ce8
GM
10854 * simple.el (shell-dynamic-complete-functions)
10855 (comint-dynamic-complete-functions): Declare.
10856
cf5bee67
GM
10857 * net/network-stream.el (gnutls-negotiate):
10858 * simple.el (tabulated-list-print): Fix declarations.
10859
10860 * progmodes/gud.el (syntax-symbol, syntax-point):
10861 Remove unnecessary and incorrect declarations.
10862
0bff894f
GM
10863 * emacs-lisp/check-declare.el (check-declare-scan):
10864 Handle byte-compile-initial-macro-environment in bytecomp.el
10865
9869b3ae
SM
108662011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10867
10868 Fix earlier half-done eieio-defmethod change (bug#8338).
10869 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10870 Streamline and change calling convention.
10871 (defmethod): Adjust accordingly and simplify.
10872 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10873 new eieio--defmethod.
10874 (slot-boundp): Minor CSE simplification.
10875
9c1d5ac5
MZ
108762011-05-05 Milan Zamazal <pdm@zamazal.org>
10877
10878 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10879 (glasses-make-readable): Use glasses-separate-capital-groups.
10880
455c834e
JB
108812011-05-05 Juanma Barranquero <lekktu@gmail.com>
10882
10883 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10884 (warning-series): Doc fix.
10885 (display-warning): Don't try to create the buffer if we just found it.
10886
9ed7c8cb
CY
108872011-05-04 Chong Yidong <cyd@stupidchicken.com>
10888
10889 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10890 (autoload-find-generated-file): New function.
10891 (generate-file-autoloads): Bind generated-autoload-file to
10892 buffer-file-name.
9869b3ae
SM
10893 (update-file-autoloads, update-directory-autoloads):
10894 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10895 output file (Bug#7989).
10896 (batch-update-autoloads): Doc fix.
10897
0898ca10
JB
108982011-05-04 Juanma Barranquero <lekktu@gmail.com>
10899
10900 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10901
31dfb76c
GM
109022011-05-04 Glenn Morris <rgm@gnu.org>
10903
f330b642
GM
10904 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10905 function, so it follows changes in calendar-date-style.
10906 (diary-fancy-date-matcher): New function.
10907 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10908 (diary-fancy-font-lock-fontify-region-function):
10909 Use diary-fancy-date-pattern as a function.
10910
31dfb76c
GM
10911 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10912 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10913
48e79d6a
TZ
109142011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10915
10916 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10917 instead of positional arguments. Allow :keylist and :crlfiles
10918 arguments.
10919 (open-gnutls-stream): Call it.
10920
10921 * net/network-stream.el (network-stream-open-starttls): Adjust to
10922 call `gnutls-negotiate' with :process and :hostname arguments.
10923
dd5a5ee0
SM
109242011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10925
ef80fc09
SM
10926 * minibuffer.el (completion--message): New function.
10927 (completion--do-completion, minibuffer-complete)
10928 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10929 (completion--do-completion): Don't ignore completion-auto-help when in
10930 icomplete-mode.
10931
dd5a5ee0
SM
10932 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10933 internal encoding (e.g. tibetan zero is not whitespace).
10934 (global-whitespace-mode): Prefer save-current-buffer.
10935 (whitespace-trailing-regexp): Remove useless save-match-data.
10936 (whitespace-empty-at-bob-regexp): Minor simplification.
10937
b7d22a83
CY
109382011-05-03 Chong Yidong <cyd@stupidchicken.com>
10939
10940 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10941
5192af46
AM
109422011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10943
10944 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10945 Use `concat' to create string for insertion.
5192af46 10946
5767d190
SM
109472011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10950 Avoid open-line which runs post-self-insert-hook.
10951 (bibtex-fill-entry): Remove unused `end' var.
10952
bf242939
AM
109532011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10954
5767d190
SM
10955 * textmodes/ispell.el (ispell-add-per-file-word-list):
10956 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10957
25666126
LL
109582011-05-03 Leo Liu <sdl.web@gmail.com>
10959
10960 * isearch.el (isearch-yank-pop): New command.
5767d190 10961 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10962 (isearch-forward): Mention it.
10963
52d3c2d0
SM
109642011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10965
1bcace58
SM
10966 * simple.el (minibuffer-complete-shell-command): Remove.
10967 (minibuffer-local-shell-command-map): Use completion-at-point.
10968 (read-shell-command): Setup completion vars here instead.
10969 (read-expression-map): Bind TAB to symbol completion.
10970
52d3c2d0
SM
10971 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10972 error directly rather via storing it into `results'.
10973
35813471
LL
109742011-05-02 Leo Liu <sdl.web@gmail.com>
10975
10976 * vc/diff.el: Fix description.
10977
e793a940
LMI
109782011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10979
10980 * server.el (server-eval-at): New function.
10981
8de66e05
LMI
109822011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10983
10984 * net/network-stream.el (open-network-stream): Take a :nowait
10985 parameter and pass it on to `make-network-process'.
10986 (network-stream-open-plain): Ditto.
10987
dcb79f20
AS
109882011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10989
10990 * faces.el (face-spec-set-match-display): Don't match toolkit
10991 options on terminal frames.
10992
14a7fbd8
SM
109932011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10994
7eabc1be
SM
10995 * progmodes/pascal.el: Use lexical binding.
10996 (pascal-mode-map): Remove author preferences.
10997
14a7fbd8
SM
10998 * pcomplete.el (pcomplete-std-complete): Don't abuse
10999 completion-at-point.
11000
50f84510
JB
110012011-04-28 Juanma Barranquero <lekktu@gmail.com>
11002
6e087a44
JB
11003 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11004 removing code that has been dead since 1991 or so.
11005
50f84510
JB
11006 * startup.el (command-line): When warning about "_emacs", use a
11007 delayed warning to allow the user to filter it out.
11008
0ba690bd
DD
110092011-04-28 Deniz Dogan <deniz@dogan.se>
11010
11011 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11012 user has not joined.
11013
08abfaad
SM
110142011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11017 aren't any completions at point.
11018
638f053a
JB
110192011-04-28 Juanma Barranquero <lekktu@gmail.com>
11020
11021 * subr.el (display-delayed-warnings): New function.
11022 (delayed-warnings-hook): New variable.
11023
8fff8daa
SM
110242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11025
08abfaad
SM
11026 * minibuffer.el (completion-at-point, completion-help-at-point):
11027 Don't presume that a given completion-at-point-function will always
11028 use the same calling convention.
11029
8fff8daa
SM
11030 * pcomplete.el (pcomplete-completions-at-point):
11031 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11032 pcomplete-seen is non-nil.
11033 (pcomplete-comint-setup): Also recognize the new comint/shell
11034 completion functions.
11035 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11036 pcomplete-seen is non-nil.
11037
841a1577 110382011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11039
841a1577 11040 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11041 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11042 the first character in the entry. This allows for code to add its
211ec907
UJ
11043 own uid to the entry.
11044 (icalendar--convert-float-to-ical): Add export of
11045 `diary-float'-entries save for those with the optional DAY
11046 argument.
11047
2a782793
DC
110482011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11049
11050 * subr.el (shell-quote-argument): Use alternate escaping strategy
11051 when we spot a variable reference in a string.
11052
0438ce91
DC
110532011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11054
11055 * cus-start.el (all): Define customization for debug-on-event.
11056
841a1577 110572011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11058
11059 * subr.el (shell-quote-argument): Escape correctly under Windows.
11060
d090ed6c
SM
110612011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11064
bfd31217
MA
110652011-04-25 Michael Albinus <michael.albinus@gmx.de>
11066
d090ed6c
SM
11067 * net/tramp.el (tramp-process-actions): Add POS argument.
11068 Delete region between POS and (pos).
bfd31217 11069
d090ed6c
SM
11070 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11071 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11072 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11073
11074 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11075 position in `tramp-process-actions' call.
11076
11077 * net/trampver.el: Update release number.
11078
e92f3bd3
SM
110792011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11080
850256b5
SM
11081 * custom.el (defcustom): Obey lexical-binding.
11082
e92f3bd3
SM
11083 Fix octave-inf completion problems reported by Alexander Klimov.
11084 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11085 Inherit from octave-mode-syntax-table.
11086 (inferior-octave-mode): Set info-lookup-mode.
11087 (inferior-octave-completion-at-point): New function.
11088 (inferior-octave-complete): Use it and completion-in-region.
11089 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11090 comint-filename-completion.
11091 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11092 symbol elements which shouldn't be word elements.
11093 (octave-font-lock-keywords, octave-beginning-of-defun)
11094 (octave-function-header-regexp): Adjust regexps accordingly.
11095 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11096
cd22b309
JB
110972011-04-25 Juanma Barranquero <lekktu@gmail.com>
11098
11099 * net/gnutls.el (gnutls-errorp): Declare before first use.
11100
8b492194
TZ
111012011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11102
11103 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11104 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11105 default trustfile exists before going to use it. Add missing
5a5fa834 11106 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11107 Reported by Claudio Bley <claudio.bley@gmail.com>.
11108 (open-gnutls-stream): Add usage example.
11109
11110 * net/network-stream.el (network-stream-open-starttls): Give host
11111 parameter to `gnutls-negotiate'.
11112 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11113 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11114
841a1577 111152011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11116
cd22b309
JB
11117 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11118 Use correct match group (bug#8438).
05842630 11119
3ba7869c
CY
111202011-04-24 Chong Yidong <cyd@stupidchicken.com>
11121
512e3ae1
CY
11122 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11123 (package-menu--generate): New arg specifying packages to show.
11124 (package-menu-refresh, package-menu-execute, list-packages):
11125 Callers changed.
11126 (package-show-package-list): New function, replacing deleted
11127 package--list-packages (renamed because it is non-internal).
11128
11129 * finder.el (finder-list-matches): Use package-show-package-list
11130 instead of deleted package--list-packages.
11131
e92f3bd3
SM
11132 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11133 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11134 (vc-annotate-mode-map): Bind it to RET.
11135
7031be6d
UR
111362011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11137
11138 * progmodes/etags.el (next-file): Don't use set-buffer to change
11139 buffers (Bug#8478).
11140
4ef177aa
CY
111412011-04-24 Chong Yidong <cyd@stupidchicken.com>
11142
c8d173eb
CY
11143 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11144
4ef177aa
CY
11145 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11146 (apropos-accumulator): Doc fix.
11147 (apropos-function, apropos-macro, apropos-command)
11148 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11149 (apropos-plist): Add face property.
11150 (apropos-symbols-internal): Fix indentation.
11151 (apropos-print): Simplify help, and recognize apropos-multi-type.
11152 (apropos-print-doc): Use button-type-get to extract the button's
11153 face property. Fill docstring (Bug#8352).
11154
4ffd0d6b 111552011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11156
11157 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11158
c6c32125 11159 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11160 (mpuz-mode-map): Use mapc.
c6c32125
JB
11161 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11162 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11163 Fix typos in docstrings.
11164
58d468b4
JB
11165 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11166 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11167
6470c3c6
JB
11168 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11169
4ffd0d6b 111702011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11171
11172 * minibuffer.el (completion--do-completion): Avoid the "Next char
11173 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11174
3ad8bad0
CY
11175 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11176 mouse-2 into unread-command-events, it is interpreted correctly.
11177
71d73c9c 11178 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11179 (image-toggle-display): Doc fix.
71d73c9c 11180
841a1577 111812011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11182
4ffd0d6b
GM
11183 * textmodes/page.el (what-page): Use line-number-at-pos to
11184 calculate line number (Bug#6825).
6e1dbaa9 11185
c2fb1b60
JB
111862011-04-22 Juanma Barranquero <lekktu@gmail.com>
11187
11188 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11189 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11190 Pass argument NO-DEFAULT to `find-tag-interactive'.
11191
e02f48d7
JB
111922011-04-22 Juanma Barranquero <lekktu@gmail.com>
11193
11194 Lexical-binding cleanup.
11195
11196 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11197 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11198 * progmodes/ada-prj.el (ada-prj-initialize-values)
11199 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11200 (ada-prj-show-value):
11201 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11202 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11203 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11204 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11205 * progmodes/bug-reference.el (bug-reference-push-button):
11206 * progmodes/fortran.el (fortran-line-length):
11207 * progmodes/glasses.el (glasses-change):
11208 * progmodes/octave-mod.el (octave-fill-paragraph):
11209 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11210 (python-pdbtrack-grub-for-buffer, python-sentinel):
11211 * progmodes/sql.el (sql-save-connection):
11212 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11213 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11214 Mark unused parameters.
11215
11216 * progmodes/compile.el (compilation--flush-directory-cache)
11217 (compilation--flush-parse, compile-internal): Mark unused parameters.
11218 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11219 (compilation-next-error-function): Remove unused variable `timestamp'.
11220
11221 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11222 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11223
11224 * progmodes/dcl-mode.el (dcl-end-of-command):
11225 Remove unused variable `start'.
11226 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11227 (dcl-option-value-basic, dcl-option-value-offset)
11228 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11229 Mark unused parameters.
11230 (dcl-save-local-variable): Remove unused variable `val'.
11231 (mode): Declare.
11232
11233 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11234 Mark unused parameters.
11235 (delphi-ignore-changes): Move before first use.
11236 (delphi-charset-token-at): Remove unused variable `start'.
11237 (delphi-else-start): Remove unused variable `if-count'.
11238 (delphi-comment-block-start, delphi-comment-block-end):
11239 Remove unused variable `kind'.
11240 (delphi-indent-line): Remove unused variable `new-point'.
11241
11242 * progmodes/ebrowse.el (ebrowse-files-list)
11243 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11244 Mark unused parameters. Don't quote `lambda'.
11245 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11246 Don't quote `lambda'.
11247 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11248 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11249 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11250 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11251 Use `ignore-errors'.
11252 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11253 (ebrowse-view/find-file-and-search-pattern)
11254 (ebrowse-view/find-member-declaration/definition):
11255 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11256 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11257 Rename parameter PREFIX-ARG to PREFIX.
11258 (ebrowse-tags-read-name): Remove unused variables `start' and
11259 `member-info'.
11260 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11261 to `tags-file'.
11262
11263 * progmodes/etags.el (local-find-tag-hook): Declare.
11264 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11265 Mark unused parameters.
11266
11267 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11268 (executable-interpret): Mark unused parameter.
11269
11270 * progmodes/flymake.el (flymake-process-sentinel)
11271 (flymake-after-change-function)
11272 (flymake-create-temp-with-folder-structure)
11273 (flymake-get-include-dirs-dot): Mark unused parameters.
11274 (flymake-safe-delete-directory): Remove unused variable `err'.
11275
11276 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11277 (speedbar-timer-fn, speedbar-line-text)
11278 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11279 (speedbar-center-buffer-smartly): Declare functions.
11280 (gdb-find-watch-expression): Remove unused variable `array'.
11281 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11282 (gdb-starting): Mark unused parameters.
11283 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11284 (gdb-table-string): Remove unused variable `res'.
11285 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11286 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11287 (gdb-display-buffer): Remove unused variable `cur-size'.
11288
11289 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11290 allow lexical-binding compilation.
11291 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11292 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11293 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11294 Mark unused parameters.
11295 (gud-gdb-marker-filter): Remove unused variable `match'.
11296 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11297 lambda expressions and funcall them, instead of using `fset'.
11298
11299 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11300 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11301
11302 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11303 variable `header-beg'; use `let'.
11304
11305 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11306 `restart', `last-sexp' and `at-do'.
11307
11308 * progmodes/js.el (js--debug): Mark unused parameter.
11309 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11310 (js--splice-into-items): Remove unused variable `item'.
11311 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11312
11313 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11314 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11315 (makefile-complete): Remove unused variable `try'.
11316 (makefile-fill-paragraph, makefile-match-function-end):
11317 Mark unused parameters.
11318
11319 * progmodes/octave-inf.el (inferior-octave-complete):
11320 Remove unused variable `proc'.
11321 (inferior-octave-output-digest): Mark unused parameter.
11322
11323 * progmodes/perl-mode.el (perl-calculate-indent):
11324 Remove unused variable `err'.
11325
11326 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11327 (prolog-indent-line): Mark unused parameters.
11328 (prolog-indent-line): Remove unused variable `beg'.
11329
11330 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11331 (reporter-dont-compact-list): Declare.
11332
11333 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11334 Remove unused variable `char'.
11335 (sh-debug): Mark unused parameter.
11336 (sh-get-indent-info): Remove unused variable `start'.
11337 (sh-calculate-indent): Remove unused variable `var'.
11338
11339 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11340 (simula-electric-keyword): Remove unused variable `null'.
11341 (simula-search-backward, simula-search-forward): Remove unused
11342 variables `begin' and `end'.
11343
11344 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11345 Remove unused variable `pos'.
11346 (vera-electric-tab, vera-comment-uncomment-region):
11347 Mark unused parameters.
11348 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11349
7ede3b65
CY
113502011-04-22 Chong Yidong <cyd@stupidchicken.com>
11351
11352 * emacs-lisp/package.el (package--builtins, package-alist)
11353 (package-load-descriptor, package-built-in-p, package-activate)
11354 (define-package, package-installed-p)
11355 (package-compute-transaction, package-buffer-info)
11356 (package--push): Doc fix. Distinguish more clearly between
11357 version strings and version lists.
11358
121656e9
JB
113592011-04-21 Juanma Barranquero <lekktu@gmail.com>
11360
11361 Lexical-binding cleanup.
11362
11363 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11364 (5x5-make-mutate-best):
11365 * play/fortune.el (fortune-in-buffer):
11366 * play/gomoku.el (gomoku-init-display):
11367 * play/solitaire.el (solitaire, solitaire-do-check):
11368 * play/tetris.el (tetris-default-update-speed-function):
11369 Mark unused parameters.
11370
11371 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11372 (bubbles--shift): Remove unused variable `char-org'.
11373 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11374 (bubbles--show-images): Remove unused variable `char'.
11375
11376 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11377 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11378 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11379 (decipher-analyze-buffer): Use ?\s.
11380 (decipher-make-checkpoint): Remove unused variable `mapping'.
11381
11382 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11383
11384 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11385 Remove unused variable `result'; use `let'.
11386
11387 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11388 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11389 (gametree-children-shown-p, gametree-compute-reduced-score):
11390 Use `ignore-errors'.
11391
11392 * play/handwrite.el (ps-lpr-switches): Declare.
11393 (handwrite): Remove unused variables `pmin' and `lastp'.
11394
11395 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11396
11397 * play/landmark.el (landmark-init-display)
11398 (landmark-update-naught-weights): Mark unused parameters.
11399 (landmark-y): Remove unused variable `noise'. Simplify.
11400 (landmark-human-plays): Remove unused variable `score'.
11401
11402 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11403 (mpuz-try-proposal): Remove unused variable `game'.
11404
11405 * play/zone.el (life-patterns): Declare.
11406
80f499c7
JB
114072011-04-20 Juanma Barranquero <lekktu@gmail.com>
11408
11409 * vc/vc.el (ediff-vc-internal): Declare function.
11410
024ff170
SM
114112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11412
c0a193ea
SM
11413 * shell.el: Use lexical-binding and std completion UI.
11414 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11415 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11416 comint-preoutput-filter-functions rather than on
11417 comint-output-filter-functions.
11418 (shell-command-completion, shell--command-completion-data)
11419 (shell-filename-completion, shell-environment-variable-completion)
11420 (shell-c-a-p-replace-by-expanded-directory): New functions.
11421 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11422 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11423 (shell-dynamic-complete-environment-variable): Use them.
11424 (shell-dynamic-complete-as-environment-variable)
11425 (shell-dynamic-complete-as-command): Remove.
11426 (shell-match-partial-variable): Match past point.
11427 * comint.el: Clean up use of completion-at-point-functions.
11428 (comint-completion-at-point): New function.
11429 (comint-mode): Use it completion-at-point-functions.
11430 (comint-dynamic-complete): Make it obsolete.
11431 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11432 (comint-c-a-p-replace-by-expanded-history): New function.
11433 (comint-dynamic-complete-functions)
11434 (comint-replace-by-expanded-history): Use it.
11435 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11436 termination strings. Try harder to avoid second try-completion.
11437 (completion-in-region-mode-map): Disable bindings that don't work yet.
11438
2dbaa080
SM
11439 * comint.el: Use lexical-binding. Require CL.
11440 (comint-dynamic-complete-functions): Use comint-filename-completion.
11441 (comint-completion-addsuffix): Tweak custom type.
11442 (comint-filename-completion, comint--common-suffix)
11443 (comint--common-quoted-suffix, comint--table-subvert)
11444 (comint--complete-file-name-data): New functions.
11445 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11446 (comint-dynamic-list-filename-completions): Use them.
11447 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11448
2dbaa080
SM
11449 * minibuffer.el (completion-in-region-mode):
11450 Keep completion-in-region-mode--predicate global.
11451 (completion-in-region--postch):
11452 Assume completion-in-region-mode--predicate is not null.
11453
c79a6f38
SM
11454 * progmodes/flymake.el (flymake-start-syntax-check-process):
11455 Obey `dir'. Simplify.
11456
024ff170
SM
11457 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11458 we're in VC after all.
11459
1c6c854e
CS
114602011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11461
11462 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11463 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11464 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11465
bed7f140
SM
114662011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11467
332e62ab
SM
11468 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11469 add sanity check.
11470
bed7f140
SM
11471 * obsolete/erc-hecomplete.el: Make obsolete.
11472 * obsolete/: Standardize obsolescence info in the header.
11473
f195c582
GM
114742011-04-20 Glenn Morris <rgm@gnu.org>
11475
11476 * calendar/solar.el (solar-horizontal-coordinates):
11477 Use the longitude argument rather than `calendar-longitude'.
11478 (solar-date-next-longitude): Remove unused locals.
11479
cb79b8c0
VJL
114802011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11481
11482 * whitespace.el: New version 13.2.1.
11483
114842011-04-20 felix <EmacsWiki> (tiny change)
11485
d8e4b68b 11486 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11487 switching between major modes on a file.
11488
602ea69d
SM
114892011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11492 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11493 multi-line comments as well.
11494
06b60517
JB
114952011-04-19 Juanma Barranquero <lekktu@gmail.com>
11496
11497 Lexical-binding cleanup.
11498
11499 * arc-mode.el (archive-mode-revert):
11500 * cmuscheme.el (scheme-interactively-start-process):
11501 * custom.el (custom-initialize-delay):
11502 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11503 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11504 * emacs-lock.el (emacs-lock-clear-sentinel):
11505 * ezimage.el (defezimage):
11506 * follow.el (follow-avoid-tail-recenter):
11507 * fringe.el (set-fringe-mode-1):
11508 * generic-x.el (bat-generic-mode-compile):
11509 * help-mode.el (help-info-variable, help-do-xref)
11510 (help-mode-revert-buffer):
11511 * help.el (view-emacs-todo):
11512 * iswitchb.el (iswitchb-completion-help):
11513 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11514 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11515 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11516 * locate.el (locate-update):
11517 * longlines.el (longlines-encode-region)
11518 (longlines-after-change-function):
11519 * outline.el (outline-isearch-open-invisible):
11520 * ps-def.el (declare-function, charset-dimension, char-width)
11521 (encode-char):
11522 * ps-mule.el (ps-mule-plot-string):
11523 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11524 (recentf-edit-list-select, recentf-edit-list-validate)
11525 (recentf-open-files-action):
11526 * rect.el (delete-whitespace-rectangle-line)
11527 (rectangle-number-line-callback):
11528 * register.el (window-configuration-to-register)
11529 (frame-configuration-to-register):
11530 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11531 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11532 (xselect-convert-to-targets, xselect-convert-to-delete)
11533 (xselect-convert-to-filename, xselect-convert-to-charpos)
11534 (xselect-convert-to-lineno, xselect-convert-to-colno)
11535 (xselect-convert-to-os, xselect-convert-to-host)
11536 (xselect-convert-to-user, xselect-convert-to-class)
11537 (xselect-convert-to-name, xselect-convert-to-integer)
11538 (xselect-convert-to-atom, xselect-convert-to-identity):
11539 * subr.el (declare, ignore, process-kill-without-query)
11540 (text-clone-maintain):
11541 * terminal.el (te-get-char, te-tic-sentinel):
11542 * tool-bar.el (tool-bar-make-keymap):
11543 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11544 * type-break.el (type-break-mode, type-break-noninteractive-query):
11545 * view.el (View-back-to-mark):
11546 * wid-browse.el (widget-browse-action, widget-browse-widget)
11547 (widget-browse-widgets, widget-browse-sexp):
11548 * widget.el (define-widget-keywords):
11549 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11550 Mark unused parameters.
11551
11552 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11553 (align-areas): Remove unused variable `look'.
11554 (align-region): Remove unused variables `real-end' and `pos-list'.
11555
11556 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11557
11558 * bindings.el (mode-line-modified, mode-line-remote):
11559 Mark unused parameters.
11560 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11561
11562 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11563 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11564
11565 * comint.el (comint-history-isearch-pop-state)
11566 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11567 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11568 (comint-substitute-in-file-name): Doc fix.
11569
11570 * completion.el (cmpl-statistics-block): Mark unused parameter.
11571 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11572 (save-completions-to-file, load-completions-from-file):
11573 Remove unused local variable `e'.
11574
11575 * composite.el (compose-chars): Remove unused variable `len'.
11576 (lgstring-insert-glyph): Remove unused variable `g'.
11577 (compose-glyph-string): Remove unused variables `ascent',
11578 `descent', `lbearing' and `rbearing'.
11579 (compose-glyph-string-relative): Remove unused variables
11580 `lbearing', `rbearing' and `wadjust'.
11581 (compose-gstring-for-graphic): Remove unused variables `header',
11582 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11583 (compose-gstring-for-terminal): Remove unused variables `header'
11584 and `nchars'. Use `let', not `let*'.
11585
11586 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11587 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11588 (Custom-buffer-done, custom-buffer-create-internal)
11589 (custom-browse-visibility-action, custom-browse-group-tag-action)
11590 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11591 (widget-magic-mouse-down-action, custom-toggle-parent)
11592 (custom-add-parent-links, custom-toggle-hide-variable)
11593 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11594 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11595 (custom-face-menu-create, custom-variable-menu-create, get)
11596 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11597 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11598 (customize-apropos): Remove unused variable `tests'.
11599 (custom-group-value-create): Remove unused variable `hidden-p'.
11600 (sort-fold-case): Declare.
11601
11602 * cus-theme.el (custom-reset-standard-faces-list)
11603 (custom-reset-standard-variables-list): Declare.
11604 (customize-create-theme, custom-theme-revert, custom-theme-write)
11605 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11606 Mark unused parameters.
11607
11608 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11609
11610 * delim-col.el (delimit-columns-max): Move defvar before first use.
11611
11612 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11613 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11614
11615 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11616 (auto-insert): Declare.
11617 (desktop-restore-file-buffer): Rename desktop-* parameters;
11618 mark unused ones.
11619 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11620 (desktop-buffer): Rename desktop-* parameters.
11621
11622 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11623 (dframe-reposition-frame-xemacs, dframe-help-echo)
11624 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11625 Mark unused parameters.
11626
11627 * dired-aux.el (backup-extract-version-start, overwrite-query)
11628 (overwrite-backup-query, rename-regexp-query)
11629 (rename-non-directory-query): Declare.
11630 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11631 (dired-add-entry): Remove unused variable `orig-file-name'.
11632 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11633 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11634 `dired-copy-preserve-time' directly.
11635 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11636 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11637
11638 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11639 (dired-virtual-revert, dired-make-relative-symlink):
11640 Mark unused parameters.
11641 (manual-program): Declare.
11642 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11643 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11644 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11645
11646 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11647
11648 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11649
11650 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11651 Declare.
11652
11653 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11654
11655 * electric.el (Electric-command-loop): Rename parameter
11656 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11657
11658 * expand.el (expand-in-literal): Remove unused variable `here'.
11659
11660 * facemenu.el (facemenu-add-new-color):
11661 Remove unused variable `docstring'.
11662
11663 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11664 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11665 (face-attr-construct): Mark unused parameter. Doc fix.
11666 (read-color): Remove unused variable `hex-string'.
11667
11668 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11669 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11670 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11671 (display-buffer-other-frame): Remove unused variable `old-window'.
11672 (kill-buffer-hook): Declare.
11673 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11674 Mark unused parameters.
11675 (after-find-file): Pass 1 to `auto-save-mode', not t.
11676
11677 * files-x.el (auto-insert): Declare.
11678 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11679
11680 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11681 variable `buf'. Mark unused parameter.
06b60517
JB
11682 (find-lisp-insert-directory): Mark unused parameter.
11683
11684 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11685 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11686 (format-common-tail): Remove, unused.
11687 (format-deannotate-region): Remove unused variable `loc'.
11688 (format-annotate-region): Remove unused variable `p'.
11689 (format-annotate-single-property-change): Remove unused variables
11690 `default' and `tail'.
11691
11692 * forms.el (read-file-filter): Declare.
11693 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11694
11695 * frame.el (frame-creation-function-alist): Mark unused parameter.
11696 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11697
11698 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11699 Remove unused parameters.
11700 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11701 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11702
11703 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11704 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11705 (hfy-prepare-tag-map): Mark unused parameters.
11706 (htmlfontify-buffer): Use `called-interactively-p'.
11707
11708 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11709 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11710 (ibuffer-do-occur): Mark unused parameters.
11711 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11712 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11713
11714 * ibuffer.el: Don't quote `lambda'.
11715 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11716 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11717 Mark unused parameters.
11718
11719 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11720 (ido-completing-read): Mark unused parameters.
11721 (ido-copy-current-word): Mark unused parameters;
11722 remove unused variable `name'.
11723 (ido-sort-merged-list): Remove unused parameter `dirs'.
11724
11725 * ielm.el (ielm-input-sender): Mark unused parameter.
11726 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11727 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11728 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11729 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11730 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11731
11732 * image-dired.el (image-dired-display-thumbs): Remove unused
11733 variables `curr-file' and `count'.
11734 (image-dired-remove-tag): Remove unused variable `start'.
11735 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11736 variable `curr-file'
11737 (image-dired-rotate-original): Remove unused variable `temp-file'.
11738 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11739 Remove unused variable `file'.
11740 (image-dired-gallery-generate): Remove unused variable `curr'.
11741 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11742
11743 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11744
11745 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11746
11747 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11748
11749 * isearch.el (minibuffer-history-symbol): Declare.
11750 (isearch-edit-string): Remove unused variable `err'.
11751 (isearch-message-prefix, isearch-message-suffix):
11752 Mark unused parameters.
11753
11754 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11755
11756 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11757
11758 * makesum.el (double-column): Remove unused variable `cnt'.
11759
11760 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11761 (ido-ignore-item-temp-list): Declare.
11762
11763 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11764 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11765 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11766 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11767 `mouse-col-delta'.
11768
11769 * mouse-sel.el (mouse-extend-internal):
11770 Remove unused variable `orig-window-frame'.
11771
11772 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11773 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11774 Move declarations before first use.
11775 (pcomplete-opt): Mark unused parameters; doc fix.
11776
11777 * proced.el (proced-revert): Mark unused parameter.
11778 (proced-send-signal): Remove unused variable `err'.
11779
11780 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11781 Rename parameter PREFIX-ARG to ARG.
11782 (ps-basic-plot-string, ps-basic-plot-whitespace):
11783 Mark unused parameters.
11784
11785 * replace.el (replace-count): Define.
11786 (occur-revert-function): Mark unused parameters.
11787 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11788 (isearch-case-fold-search, isearch-string): Declare.
11789 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11790 bind `case-fold-search'. Remove unused variables `beg' and `end',
11791 and simplify.
11792 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11793 COUNT and bind `replace-count'.
11794 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11795 to COUNT.
11796
11797 * savehist.el (print-readably, print-string-length): Declare.
11798
11799 * shadowfile.el (shadow-expand-cluster-in-file-name):
11800 Remove unused variable `cluster'.
11801 (shadow-copy-file): Remove unused variable `i'.
11802 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11803 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11804 (shadow-define-literal-group, shadow-define-regexp-group)
11805 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11806
11807 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11808 (shell): Use `called-interactively-p'.
11809 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11810
11811 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11812 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11813 (delete-backward-char): Remove unused variable `ocol'.
11814 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11815 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11816 (event-apply-hyper-modifier, event-apply-shift-modifier)
11817 (event-apply-control-modifier, event-apply-meta-modifier):
11818 Mark unused parameters.
11819 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11820 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11821
11822 * speedbar.el (speedbar-ignored-directory-expressions)
11823 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11824 (speedbar-find-file, speedbar-dir-follow)
11825 (speedbar-directory-buttons-follow, speedbar-tag-find)
11826 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11827 (speedbar-buffers-line-directory, speedbar-buffer-click):
11828 Mark unused parameters.
11829 (speedbar-tag-file): Remove unused variable `mode'.
11830 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11831
11832 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11833
11834 * talk.el (talk): Remove unused variable `display'.
11835
11836 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11837 (tar-write-region-annotate): Mark unused parameter.
11838
11839 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11840 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11841 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11842 warning by another.
11843
11844 * time-stamp.el (time-stamp-string-preprocess):
11845 Remove unused variable `require-padding'.
11846
11847 * tree-widget.el (widget-glyph-enable): Declare.
11848 (tree-widget-action): Mark unused parameter.
11849
11850 * w32-fns.el (x-get-selection): Mark unused parameter.
11851 (autoload-make-program, generated-autoload-file): Declare.
11852
11853 * wdired.el (wdired-revert): Mark unused parameters.
11854 (wdired-xcase-word): Remove unused variable `err'.
11855
11856 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11857 (whitespace-help-scroll): Remove unused variable `data-help'.
11858
11859 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11860 (widget-image-insert, widget-after-change, default)
11861 (widget-default-format-handler, widget-default-notify)
11862 (widget-default-prompt-value, widget-info-link-action)
11863 (widget-url-link-action, widget-function-link-action)
11864 (widget-variable-link-action, widget-file-link-action)
11865 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11866 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11867 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11868 (widget-insert-button-action, widget-delete-button-action, visibility)
11869 (widget-documentation-link-action, widget-documentation-string-action)
11870 (widget-const-prompt-value, widget-regexp-match, symbol)
11871 (widget-coding-system-prompt-value)
11872 (widget-key-sequence-value-to-external, sexp)
11873 (widget-sexp-value-to-internal, character, vector, cons)
11874 (widget-choice-prompt-value, widget-boolean-prompt-value)
11875 (widget-color--choose-action): Mark unused parameters.
11876 (widget-item-match-inline, widget-choice-match-inline)
11877 (widget-checklist-match, widget-checklist-match-inline)
11878 (widget-group-match): Rename parameter VALUES to VALS.
11879 (widget-field-value-set): Remove unused variable `size'.
11880 (widget-color-action): Remove unused variables `value' and `start'.
11881
11882 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11883 variable `dir'. Doc fix.
06b60517
JB
11884 (windmove-find-other-window): Don't pass it.
11885
11886 * window.el (count-windows): Mark unused parameter.
11887 (bw-adjust-window): Remove unused variable `err'.
11888
11889 * woman.el (woman-file-name): Remove unused variable `default'.
11890 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11891 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11892 (global-font-lock-mode): Declare.
11893 (woman-decode-region): Mark unused parameter.
11894 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11895
11896 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11897 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11898 (x-dnd-handle-moz-url): Remove unused variable `title'.
11899 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11900
11901 * xml.el (xml-parse-tag, xml-parse-attlist):
11902 Remove unused variable `pos'.
11903
bc4f7f3d
GM
119042011-04-19 Glenn Morris <rgm@gnu.org>
11905
11906 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11907 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11908 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11909 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11910 * calendar/cal-html.el (cal-html-insert-minical):
11911 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11912 (calendar-mark-date-pattern):
11913 Prefix "unused" locals.
11914
11915 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11916 optional argument `style'.
11917
11918 * calendar/appt.el (appt-make-list):
11919 * calendar/cal-china.el (calendar-chinese-date-string):
11920 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11921 (diary-hebrew-yahrzeit):
11922 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11923 * calendar/calendar.el (calendar-generate-window):
11924 * calendar/time-date.el (time-to-days):
11925 Remove unused local variables.
11926
16a43933
CY
119272011-04-18 Chong Yidong <cyd@stupidchicken.com>
11928
11929 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11930 glyphless-char-display table.
11931 (tabulated-list-glyphless-char-display): New var.
11932
7eed1860
SS
119332011-04-18 Sam Steingold <sds@gnu.org>
11934
11935 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11936 to acknowledgments.
11937
4d2d1ccd
GM
119382011-04-17 Glenn Morris <rgm@gnu.org>
11939
11940 * calendar/diary-lib.el (diary-sexp-entry):
11941 * calendar/holidays.el (holiday-sexp):
11942 Set debug-on-error rather than the removed stack-trace-on-error.
11943
239da61d
GM
119442011-04-16 Glenn Morris <rgm@gnu.org>
11945
11946 * progmodes/f90.el: Use lexical-binding.
11947 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11948
8b05752a
SM
119492011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11950
daca8ba5
SM
11951 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11952 (mail-mode): Setup mailalias completion here instead.
11953 * mail/mailalias.el: Use lexical-binding.
11954 (pattern, mailalias-done): Declare dynamic.
11955 (mail-completion-at-point-function): New function, from mail-complete.
11956 (mail-complete): Use it.
11957 (mail-completion-expand): New function.
11958 (mail-get-names): Use it.
11959 (mail-directory, mail-directory-process, mail-directory-stream):
11960 Don't use `pattern' for lexically bound arg.
11961
6f542485
SM
11962 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11963
037e7c3f
SM
11964 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11965 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11966 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11967
8b05752a
SM
11968 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11969 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11970 (byte-interactive-p): Define them again, for use when inlining
11971 old code.
11972
49093f60
JB
119732011-04-15 Juanma Barranquero <lekktu@gmail.com>
11974
11975 * loadup.el: Use `string-to-number', not `string-to-int'.
11976
b5b8e7de
SM
119772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11980 gud-gdb-complete-command.
11981 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11982 (gud-gdb-completion-at-point): New function.
11983 (gud-gdb-completions): Remove.
11984
f42efeb5
MA
119852011-04-14 Michael Albinus <michael.albinus@gmx.de>
11986
49093f60
JB
11987 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11988 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11989 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11990 whether `executable-find' is bound.
f42efeb5
MA
11991
11992 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11993
e240cc21
SM
119942011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11995
11996 * minibuffer.el (completion-in-region-mode-predicate)
11997 (completion-in-region-mode--predicate): New vars.
11998 (completion-in-region, completion-in-region--postch)
11999 (completion-in-region-mode): Use them.
12000 (completion--capf-wrapper): Also return the hook function.
12001 (completion-at-point, completion-help-at-point):
12002 Adjust and provide a predicate.
c2bd2ab0
SM
12003
12004 Preserve arg names for advice of subr and lexical functions (bug#8457).
12005 * help-fns.el (help-function-arglist): Consolidate the subr and
12006 new-byte-code cases. Add argument `preserve-names' to extract names
12007 from the docstring when needed.
12008 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12009 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12010 (ad-arglist): Use help-function-arglist's new arg.
12011 (ad-definition-type): Use cond.
12012
c183f693
JB
120132011-04-13 Juanma Barranquero <lekktu@gmail.com>
12014
06641a47
JB
12015 * autorevert.el (auto-revert-handler):
12016 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12017 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12018 Don't quote lambda.
12019
c183f693
JB
12020 * image-mode.el (image-transform-set-scale):
12021 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12022
1e3b6001
G
120232011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12024
12025 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12026 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12027 Upgrades via gnutls-cli are too slow to be done opportunistically.
12028
2d6af8dd
JB
120292011-04-12 Juanma Barranquero <lekktu@gmail.com>
12030
12031 * dframe.el (dframe-current-frame): Remove spurious quote.
12032
c0749a51
GM
120332011-04-12 Glenn Morris <rgm@gnu.org>
12034
088d0d61
GM
12035 * calendar/cal-tex.el (cal-tex-end-document):
12036 Try to automatically use latin1 input if needed.
12037
c0749a51
GM
12038 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12039 Don't try to cons a mark onto an empty element.
12040
5c90fde0
LL
120412011-04-11 Leo Liu <sdl.web@gmail.com>
12042
12043 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12044 buffers.
12045 (ido-kill-buffer-at-head): Support killing virtual buffers.
12046
369e974d
CY
120472011-04-10 Chong Yidong <cyd@stupidchicken.com>
12048
12049 * minibuffer.el (completion-show-inline-help): New var.
12050 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12051 (minibuffer-force-complete, minibuffer-complete-word):
12052 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12053
12054 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12055 to avoid interference from inline help (Bug#5849).
12056
37f1c930
LL
120572011-04-10 Leo Liu <sdl.web@gmail.com>
12058
099c39a4
JB
12059 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12060 Fix typo.
37f1c930 12061
a32d4040
CY
120622011-04-09 Chong Yidong <cyd@stupidchicken.com>
12063
12064 * image-mode.el (image-toggle-display-image): Signal an error if
12065 not in Image mode.
12066 (image-transform-mode, image-transform-resize)
12067 (image-transform-set-rotation): Doc fix.
daca8ba5 12068 (image-transform-set-resize): Delete.
a32d4040
CY
12069 (image-transform-set-scale, image-transform-fit-to-height)
12070 (image-transform-fit-to-width): Handle image-toggle-display-image
12071 and image-transform-resize directly.
12072
099c39a4 120732011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12074
12075 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12076 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12077 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12078 (doc-view-mode-map): Add bindings for the new functions.
12079
099c39a4 120802011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12081
4d61f28d 12082 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12083 Fix typo in docstring.
12084
3726838a
EZ
120852011-04-08 Eli Zaretskii <eliz@gnu.org>
12086
04f33f1e
EZ
12087 * files.el (file-size-human-readable): Produce one digit after
12088 decimal, like "ls -lh" does.
12089
12090 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12091 the file size representation.
12092
3726838a
EZ
12093 * simple.el (list-processes): If async subprocesses are not
12094 available, error out with a clear error message.
12095
cbb59342
CY
120962011-04-08 Chong Yidong <cyd@stupidchicken.com>
12097
12098 * help.el (help-form-show): New function, to be called from C.
12099 Put help-form output in a buffer named differently than *Help*.
12100
e3971c44
EZ
121012011-04-08 Eli Zaretskii <eliz@gnu.org>
12102
12103 * files.el (file-size-human-readable): New function.
12104
12105 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12106 computing the representation inline. Don't require `cl'.
12107
12544bbe
GM
121082011-04-08 Glenn Morris <rgm@gnu.org>
12109
a1de6c6a
GM
12110 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12111
3c4671f4
GM
12112 * net/browse-url.el (browse-url-firefox):
12113 Test system-type, not system-configuration.
12114
b605679c
GM
12115 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12116 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12117 Use log-edit-empty-buffer-p. (Bug#7598)
12118
56442f0c
GM
12119 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12120 (rlogin-mode-map): Initialize in the defvar.
12121 (rlogin): Use ignore-errors.
12122
12544bbe
GM
12123 * replace.el (occur-mode-map): Some fixes for menu items.
12124
eb237b0f
AH
121252011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12126
12127 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12128
7d668f2c
CY
121292011-04-06 Chong Yidong <cyd@stupidchicken.com>
12130
e67a13ab
CY
12131 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12132 issuing unused warnings.
12133
12134 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12135 macro directly.
12136
7d668f2c
CY
12137 * simple.el: Lisp reimplement of list-processes. Based on an
12138 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12139 (process-menu-mode): New major mode.
12140 (list-processes--refresh, list-processes):
12141 (process-menu-visit-buffer): New functions.
12142
12143 * files.el (save-buffers-kill-emacs): Don't assume any return
12144 value of list-processes, which is undocumented anyway.
12145
a83ec3c9
CY
121462011-04-06 Chong Yidong <cyd@stupidchicken.com>
12147
12148 * emacs-lisp/tabulated-list.el: New file.
12149
e91a96fe
CY
12150 * emacs-lisp/package.el: Use Tabulated List mode.
12151 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12152 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12153 table format using Tabulated List mode variables.
12154 (package--push): New macro, replacing package-list-maybe-add.
12155 (package-menu--generate): Use package--push. Renamed from
12156 package--generate-package-list.
12157 (package-menu-refresh, list-packages): Use it.
daca8ba5 12158 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12159 Return insertion data instead of inserting it directly.
099c39a4
JB
12160 (package-menu-describe-package, package-menu-execute):
12161 Use tabulated-list-get-id.
e91a96fe
CY
12162 (package-menu-mark-delete, package-menu-mark-install)
12163 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12164 (package-menu-mark-obsolete-for-deletion):
12165 Use tabulated-list-put-tag.
e91a96fe
CY
12166 (package--list-packages, package-menu-revert)
12167 (package-menu-get-package, package-menu-get-version)
12168 (package-menu-sort-by-column): Functions deleted.
12169 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12170 (package-menu--status-predicate, package-menu--version-predicate)
12171 (package-menu--name-predicate)
12172 (package-menu--description-predicate): Handle arguments in the
12173 Tabulated List format.
12174 (package-list-packages-no-fetch): Call list-packages.
12175
3e214b50
JB
121762011-04-06 Juanma Barranquero <lekktu@gmail.com>
12177
12178 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12179 (after-find-file): Don't bind it.
3e214b50
JB
12180 (revert-buffer-in-progress-p): New variable.
12181 (revert-buffer): Bind it.
12182 Pass nil for `after-find-file-from-revert-buffer'.
12183
12184 * saveplace.el (save-place-find-file-hook): Use new variable
12185 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12186
3f0f1700
GM
121872011-04-06 Glenn Morris <rgm@gnu.org>
12188
c0274801
GM
12189 * Makefile.in (AUTOGEN_VCS): New variable.
12190 (autoloads): Use $AUTOGEN_VCS.
12191
3f0f1700
GM
12192 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12193 * calendar/calendar.el (calendar-mode-map):
12194 Check for toolkit scroll bars. (Bug#8305)
12195
41ea9e48
CY
121962011-04-05 Chong Yidong <cyd@stupidchicken.com>
12197
12198 * minibuffer.el (completion-in-region--postch)
12199 (completion-in-region-mode): Remove unnecessary messages.
12200
6194c800
JB
122012011-04-05 Juanma Barranquero <lekktu@gmail.com>
12202
33256f14
JB
12203 * font-lock.el (font-lock-refresh-defaults):
12204 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12205 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12206
6194c800
JB
12207 * info.el (Info-directory-list, Info-read-node-name-2)
12208 (Info-split-parameter-string): Doc fixes.
12209 (Info-virtual-nodes): Reflow docstring.
12210 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12211 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12212 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12213 Fix typos in docstrings.
12214 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12215 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12216 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12217 (Info-restore-desktop-buffer): Mark unused parameters.
12218 (Info-directory-find-file, Info-directory-find-node)
12219 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12220 (Info-virtual-index-find-node, Info-apropos-find-file)
12221 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12222 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12223 (Info-virtual-index): Remove unused local variable `nodename'.
12224
b87a8200 122252011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12226
b87a8200
DD
12227 * net/rcirc.el: Update my e-mail address.
12228 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12229
3b2ff876
CY
122302011-04-05 Chong Yidong <cyd@stupidchicken.com>
12231
12232 * startup.el (command-line): Save the cursor's theme-face
12233 directly, instead of using face-override-spec.
12234
12235 * custom.el (load-theme): Minor optimization in assigning faces.
12236
8d17e7ca
JB
122372011-04-04 Juanma Barranquero <lekktu@gmail.com>
12238
12239 * help-fns.el (describe-variable): Complete all variables having
12240 documentation, including keywords.
12241 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12242
2fbc1934
JB
122432011-04-04 Juanma Barranquero <lekktu@gmail.com>
12244
12245 Convert to lexical-binding.
12246
12247 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12248 (bs--get-marked-string, bs--get-modified-string)
12249 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12250 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12251 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12252
12253 * ehelp.el (electric-help-execute-extended)
12254 (electric-help-ctrl-x-prefix):
12255 * hexl.el (hexl-revert-buffer-function):
12256 * linum.el (linum-after-change, linum-after-scroll):
12257 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12258
12259 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12260
74f50695
DU
122612011-04-04 Daiki Ueno <ueno@unixuser.org>
12262
12263 * epa-dired.el:
12264 * epa-mail.el:
12265 * epa-hook.el:
12266 * epa-file.el:
12267 * epa.el:
12268 * epg.el: Use lexical binding.
12269
c11325f7
CY
122702011-04-03 Chong Yidong <cyd@stupidchicken.com>
12271
0d9e9a12
CY
12272 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12273
c11325f7 12274 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12275 dictionary case for flyspell-mark-duplications-exceptions.
12276 Use regexp matching for languages.
c11325f7
CY
12277 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12278 default dictionary (Bug#7926).
12279
da91b5f2
CY
122802011-04-02 Chong Yidong <cyd@stupidchicken.com>
12281
099c39a4
JB
12282 * emacs-lisp/package.el (package--with-work-buffer):
12283 Recognize https URLs.
da91b5f2 12284
099c39a4
JB
12285 * net/network-stream.el: Move from gnus/proto-stream.el.
12286 Change prefix to network-stream throughout.
da91b5f2
CY
12287 (open-protocol-stream): Merge into open-network-stream, leaving
12288 open-protocol-stream as an alias. Handle nil BUFFER args.
12289
12290 * subr.el (open-network-stream): Move to net/network-stream.el.
12291
afa8e9f6
GM
122922011-04-02 Glenn Morris <rgm@gnu.org>
12293
1d2e369d
GM
12294 * find-dired.el (find-exec-terminator): New option.
12295 (find-ls-option): Test for -ls support.
12296 (find-ls-subdir-switches): Test for -b in find-ls-option.
12297 (find-dired, find-grep-dired): Doc fixes.
12298 (find-dired): Use find-exec-terminator.
12299
8abb7da8 12300 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12301 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12302 (find-name-arg): Remove purecopy.
8abb7da8 12303
f3ca7378
GM
12304 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12305 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12306 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12307 accordingly. Don't add the null-device if not needed.
12308
afa8e9f6
GM
12309 * files.el (save-some-buffers): Doc fix.
12310
35eae264
EZ
123112011-04-02 Eli Zaretskii <eliz@gnu.org>
12312
12313 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12314
26b51db5
JB
123152011-04-01 Juanma Barranquero <lekktu@gmail.com>
12316
12317 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12318 Use `dolist' rather than `mapcar'.
12319
7200d79c
SM
123202011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12321
03408648 12322 Add lexical binding.
7200d79c 12323
03408648
SM
12324 * subr.el (apply-partially): Use new closures rather than CL.
12325 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12326 (dolist, dotimes): Use slightly different expansion for lexical code.
12327 (functionp): Move to C.
12328 (letrec): New macro.
12329 (with-wrapper-hook): Use it and apply-partially instead of CL.
12330 (eval-after-load): Preserve lexical-binding.
12331 (save-window-excursion, with-output-to-temp-buffer): Turn them
12332 into macros.
7200d79c 12333
03408648
SM
12334 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12335
12336 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12337 than the arglist.
12338 (help-add-fundoc-usage): Don't add `Not documented'.
12339 (help-function-arglist): Handle closures, subroutines, and new
12340 byte-code-functions.
12341 (help-make-usage): Remove leading underscores.
12342 (describe-function-1): Handle closures.
12343 (describe-variable): Use special-variable-p for completion.
12344
12345 * files.el (lexical-binding): Declare safe.
f488fb65 12346
03408648
SM
12347 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12348 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12349 (pcase): Add `let' pattern.
12350 Change memoization so it actually works.
12351 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12352 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12353 <let>: New case.
f488fb65 12354
03408648
SM
12355 * emacs-lisp/macroexp.el: Use lexical binding.
12356 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12357 Don't convert ' to #' without checking that it's indeed quoting
12358 a lambda.
12359
12360 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12361 Use eval-sexp-add-defvars.
03408648
SM
12362 (eval-sexp-add-defvars): New fun.
12363
12364 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12365
12366 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12367 Don't autoload.
12368 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12369 than the internal `byte-compile-lambda'.
12370 (defmethod): Don't hide code under quotes.
12371 (eieio-defmethod): New `code' argument.
12372
12373 * emacs-lisp/eieio-comp.el: Remove.
12374
12375 * emacs-lisp/edebug.el (edebug-eval-defun)
12376 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12377 (edebug-toggle): Avoid `eval'.
12378
12379 * emacs-lisp/disass.el (disassemble-internal): Handle new
12380 `closure' objects.
12381 (disassemble-1): Handle new byte codes.
12382
12383 * emacs-lisp/cl.el (pushnew): Silence warning.
12384
12385 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12386 (cl-byte-compile-throw): Remove.
12387 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12388
12389 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12390 closures.
12391
12392 * emacs-lisp/cconv.el: New file.
12393
12394 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12395 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12396 (byte-compile-initial-macro-environment):
12397 Handle declare-function here.
12398 (byte-compile--lexical-environment): New var.
12399 (byte-stack-ref, byte-stack-set, byte-discardN)
12400 (byte-discardN-preserve-tos): New lap codes.
12401 (byte-interactive-p): Don't use any more.
12402 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12403 New macros.
12404 (byte-compile-lapcode): Use them and handle new lap codes.
12405 (byte-compile-obsolete): Remove.
12406 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12407 (byte-compile-arglist-warn): Check late def of inlinable funs.
12408 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12409 since they should have been expanded by now.
12410 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12411 (byte-compile-from-buffer): Remove unused second arg.
12412 (byte-compile-preprocess): New function.
12413 (byte-compile-toplevel-file-form): New function to distinguish
12414 file-form calls from outside from file-form calls from hunk-handlers.
12415 (byte-compile-file-form): Simplify.
12416 (byte-compile-file-form-defsubst): Remove.
12417 (byte-compile-file-form-defmumble): Simplify now that
12418 byte-compile-lambda always returns a byte-code-function.
12419 (byte-compile): Preprocess.
12420 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12421 Remove, not used any more.
12422 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12423 (byte-compile-make-args-desc): New funs.
12424 (byte-compile-lambda): Handle lexical functions. Always return
12425 a byte-code-function.
12426 (byte-compile-reserved-constants): New var, to make up room for
12427 closed-over variables.
12428 (byte-compile-constants-vector): Obey it.
12429 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12430 (byte-compile-macroexpand-declare-function): New function.
12431 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12432 byte-code-functions.
12433 (byte-compile-form): Check obsolescence here.
12434 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12435 (byte-compile-variable-ref): Remove.
12436 (byte-compile-dynamic-variable-op): New fun.
12437 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12438 (byte-compile-variable-set): New funs.
12439 (byte-compile-discard): Add 2 args.
12440 (byte-compile-stack-ref, byte-compile-stack-set)
12441 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12442 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12443 macroexpand-all instead.
12444 (byte-compile-quote-form): Remove.
12445 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12446 (byte-compile-bind, byte-compile-unbind): New funs.
12447 (byte-compile-let): Handle let* and lexical binding.
12448 (byte-compile-let*): Remove.
12449 (byte-compile-catch, byte-compile-unwind-protect)
12450 (byte-compile-track-mouse, byte-compile-condition-case):
12451 Handle a new :fun-body form, used for lexical scoping.
12452 (byte-compile-save-window-excursion)
12453 (byte-compile-with-output-to-temp-buffer): Remove.
12454 (byte-compile-defun): Simplify.
12455 (byte-compile-stack-adjustment): New fun.
12456 (byte-compile-out): Use it.
12457 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12458
12459 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12460 handler any more.
12461
12462 * emacs-lisp/byte-opt.el: Use lexical binding.
12463 (byte-inline-lapcode): Remove (to bytecomp).
12464 (byte-compile-inline-expand): Pay attention to inlining to/from
12465 lexically bound code.
12466 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12467 any more.
12468 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12469 any more and don't call compiler-macros.
12470 (byte-compile-splice-in-already-compiled-code): Remove.
12471 (byte-code): Don't inline any more.
12472 (disassemble-offset): Receive `bytes' as argument rather than via
12473 dynamic scoping.
12474 (byte-compile-tag-number): Declare before first use.
12475 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12476 `return' even if make-spliceable.
12477 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12478 obsolete interactive-p.
12479 (byte-optimize-lapcode): Optimize new lap-codes.
12480 Don't trip up on new form of `byte-constant' lap code.
12481
12482 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12483
12484 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12485
12486 * custom.el (custom-initialize-default, custom-declare-variable):
12487 Use `defvar'.
12488
12489 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12490 New variables.
12491 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12492 (COMPILE_FIRST): Add macroexp and cconv.
12493 * makefile.w32-in: Mirror changes in Makefile.in.
12494
12495 * vc/cvs-status.el:
12496 * vc/diff-mode.el:
12497 * vc/log-edit.el:
12498 * vc/log-view.el:
12499 * vc/smerge-mode.el:
12500 * textmodes/bibtex-style.el:
12501 * textmodes/css.el:
12502 * startup.el:
12503 * uniquify.el:
da91b5f2
CY
12504 * minibuffer.el:
12505 * newcomment.el:
12506 * reveal.el:
12507 * server.el:
12508 * mpc.el:
12509 * emacs-lisp/smie.el:
12510 * doc-view.el:
12511 * dired.el:
03408648
SM
12512 * abbrev.el: Use lexical binding.
12513
0f0c1f27
EZ
125142011-04-01 Eli Zaretskii <eliz@gnu.org>
12515
12516 * info.el (info-display-manual): New function.
12517
c82b2579
SM
125182011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12519
12520 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12521
221ddf68
TH
125222011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12523
12524 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12525 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12526
cba6e77e
GM
125272011-03-31 Glenn Morris <rgm@gnu.org>
12528
e040639f
GM
12529 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12530
cba6e77e
GM
12531 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12532
6d0f1c9e
CS
125332011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12534
12535 * progmodes/python.el (python-default-interpreter)
12536 (python-python-command-args, python-jython-command-args)
12537 (python-which-shell, python-which-args, python-which-bufname)
12538 (python-file-queue, python-comint-output-filter-function)
12539 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12540 variables and functions.
12541
3e2d70fd
SM
125422011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12543
12544 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12545 (completion-in-region-mode): New minor mode.
12546 (completion-in-region): Use it.
12547 (completion-in-region--data, completion-in-region-mode-map): New vars.
12548 (completion-in-region--postch): New function.
12549 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12550 New vars.
12551 (completion--capf-wrapper): New function.
12552 (completion-at-point): Use it to track well-behavedness of
12553 hook functions.
12554 (completion-help-at-point): New command.
12555
f3e4086c
JM
125562011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12557
12558 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12559 syntax class to search for whitespace on a single line
12560 (Message-ID: <4D938140.4030905@redhat.com>).
12561
eb7ffc14
LL
125622011-03-30 Leo Liu <sdl.web@gmail.com>
12563
12564 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12565 New commands.
12566 (edit-abbrevs-map): Bind them here.
12567 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12568
d806ab68
KM
125692011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12570
12571 * allout.el (allout-hide-by-annotation, allout-flag-region):
12572 Reduce possibility of overlay leakage by making them volatile.
12573
12574 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12575 hash is not shared between buffers. Mode initialization is
12576 responsible for giving it a useful starting value.
12577 (allout-item-span): Reduce possibility of overlay leakage by
12578 making them volatile.
12579 (allout-widgets-count-buttons-in-region): Add diagnostic function
12580 for tracking down button overlay leaks.
12581
ea622834
LL
125822011-03-29 Leo Liu <sdl.web@gmail.com>
12583
12584 * ido.el (ido-read-internal): Use the default history var
12585 minibuffer-history if no HISTORY is specified.
12586
b62f8267
G
125872011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12588
03408648
SM
12589 * net/imap.el (imap-shell-open, imap-process-connection-type):
12590 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12591 Kerberos, SSL, other subprocesses.
12592
947b6566
LL
125932011-03-28 Leo Liu <sdl.web@gmail.com>
12594
12595 * abbrev.el (abbrev-table-empty-p): New function.
12596 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12597 nonempty ones. (Bug#5937)
12598
5ffb62aa
JD
125992011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12600
12601 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12602
7a097943
LL
126032011-03-27 Leo Liu <sdl.web@gmail.com>
12604
12605 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12606 for foreground and background colors.
12607 (ansi-color-make-color-map): Adapt.
12608
c5b40130
LL
126092011-03-25 Leo Liu <sdl.web@gmail.com>
12610
1f48f7d2
LL
12611 * midnight.el (midnight-time-float): Remove. Note it calculates
12612 the microsecond component incorrectly and seconds-to-time does the
12613 same job.
625897ec 12614 Remove redundant (require 'timer).
1f48f7d2 12615
c5b40130
LL
12616 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12617 (ido-completions): Remove unused arguments. (Bug#8329)
12618
d86d2721
SM
126192011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * minibuffer.el (completion--flush-all-sorted-completions):
12622 Remove itself from hook.
12623 (completion-at-point): Let the functions perform the completion
12624 immediately and return nil or t.
12625 * comint.el (comint-dynamic-complete-functions): Now identical to
12626 completion-at-point-functions.
12627 (comint-dynamic-list-input-ring): Remove unused var `index'.
12628 (comint--match-partial-filename, comint--unquote&expand-filename):
12629 New funs, split from comint-match-partial-filename.
12630 (comint-dynamic-complete): Use completion-at-point.
12631 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12632
e8974c48
DA
126332011-03-24 Drew Adams <drew.adams@oracle.com>
12634
12635 * thingatpt.el: Support `defun'.
12636
def71b5e
LL
126372011-03-23 Leo Liu <sdl.web@gmail.com>
12638
cb5af48e
LL
12639 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12640
def71b5e
LL
12641 * help-mode.el (help-mode-finish): Tweak regexp.
12642
927c53e7
GM
126432011-03-23 Glenn Morris <rgm@gnu.org>
12644
18d05bed
GM
12645 * eshell/esh-opt.el (eshell-eval-using-options):
12646 Do not bind unused local variable `eshell-option-stub'.
12647
927c53e7
GM
12648 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12649
9d0da923
JB
126502011-03-22 Juanma Barranquero <lekktu@gmail.com>
12651
12652 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12653 keymap variable in `with-no-warnings' to avoid a warning when the
12654 keymap has been already `defconst'ed.
12655
4b978a67
LL
126562011-03-22 Leo Liu <sdl.web@gmail.com>
12657
12658 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12659 encode all chars in abbrevs; otherwise use emacs-mule or
12660 utf-8-emacs. (Bug#8308)
12661
5fd62452
JB
126622011-03-22 Juanma Barranquero <lekktu@gmail.com>
12663
0b1596c6
JB
12664 * simple.el (backward-delete-char-untabify):
12665 Avoid warning about using `delete-backward-char'.
12666
5fd62452
JB
12667 * image.el (image-type-file-name-regexps): Make it variable.
12668 `imagemagick-register-types' modifies it, and the user may want
12669 to add new extensions for known image types.
12670 (imagemagick-register-types): Throw error if not using ImageMagick.
12671
0b4e93f1
LL
126722011-03-22 Leo Liu <sdl.web@gmail.com>
12673
12674 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12675 located before rcirc-prompt-end-marker.
12676 (rcirc-complete): Error if point is not after rcirc prompt.
12677 Handle the case when table is nil.
9882e214 12678 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12679
fccee4ab
CY
126802011-03-22 Chong Yidong <cyd@stupidchicken.com>
12681
12682 * custom.el (custom--inhibit-theme-enable): Make it affect only
12683 custom-theme-set-variables and custom-theme-set-faces.
12684 (provide-theme): Ignore custom--inhibit-theme-enable.
12685 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12686 (custom-enabling-themes): Delete variable.
d86d2721
SM
12687 (enable-theme): Accept only loaded themes as arguments.
12688 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12689 (custom-enabled-themes): Forbid themes from setting this.
12690 Eliminate use of custom-enabling-themes.
12691 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12692
af896da6
LL
126932011-03-21 Leo Liu <sdl.web@gmail.com>
12694
12695 * ido.el (ido-read-internal): Add ido-selected to history instead
12696 of user input.
12697
78f64af0
SM
126982011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12699
12700 * subr.el (deferred-action-list, deferred-action-function):
12701 Mark obsolete.
12702
b16ac1ec
LL
127032011-03-21 Leo Liu <sdl.web@gmail.com>
12704
810f7698
LL
12705 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12706 change on 2011-02-13 (bug#8309).
12707
b16ac1ec
LL
12708 * minibuffer.el (read-file-name-function): Change default value.
12709 (read-file-name--defaults): Rename from read-file-name-defaults.
12710 (read-file-name-default): Rename from read-file-name.
12711 (read-file-name): Call read-file-name-function.
12712
4e05e67e
GM
127132011-03-21 Glenn Morris <rgm@gnu.org>
12714
12715 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12716 Doc fixes.
12717
4359915b
CY
127182011-03-21 Chong Yidong <cyd@stupidchicken.com>
12719
12720 * cus-theme.el: Add missing provide statement.
12721 (customize-create-theme): Extract theme value correctly.
12722 (custom-theme-visit-theme): Autoload.
12723 (customize-create-theme): Prompt before inserting default faces.
12724
1fe275ee
JB
127252011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12726
12727 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12728 units and musical notes.
12729
cd394be1 127302011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12731
12732 * ido.el (ido-read-internal): Use completing-read-default.
12733 (ido-completing-read): Fix compatibility with completing-read.
12734
7d476bde
CO
127352011-03-20 Christian Ohler <ohler@gnu.org>
12736
12737 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12738 (ert-delete-all-tests): Use `called-interactively-p' rather than
12739 `interactive-p'.
12740 (ert--make-xrefs-region): Respect END.
12741
fe0fb33e
CY
127422011-03-19 Chong Yidong <cyd@stupidchicken.com>
12743
ff854b0b
CY
12744 * dired-aux.el (dired-create-directory): Signal an error if the
12745 directory already exists (Bug#8246).
12746
fe0fb33e
CY
12747 * facemenu.el (list-colors-display): Call list-faces-display
12748 inside with-help-window.
12749 (list-colors-print): Use display property to align the final
12750 column, instead of checking window-width.
12751
576bce32
EZ
127522011-03-19 Eli Zaretskii <eliz@gnu.org>
12753
4d61f28d 12754 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12755 windows-nt systems.
12756 (emerge-protect-metachars): Quote correctly for ms-dos and
12757 windows-nt systems.
12758
89c41d68 127592011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12760
12761 * info.el (info-initialize): Replace all uses of `:' with
12762 path-separator for compatibility with non-Unix systems.
12763 Cache quoting of path-separator. (Bug#8258)
12764
b14e3e21 127652011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12766
12767 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12768 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12769 (mouse-avoidance-mode): Fix typos in docstrings.
12770
4525ce3e
CY
127712011-03-19 Chong Yidong <cyd@stupidchicken.com>
12772
12773 * startup.el (package-subdirectory-regexp): Move from package.el.
12774 Omit \\` and \\', and let callers add them.
12775
12776 * emacs-lisp/package.el (package-strip-version)
12777 (package-load-all-descriptors): Add \\` and \\' to
12778 package-subdirectory-regexp before using it.
12779 (package-untar-buffer): New arg DIR; ensure that file untars only
12780 into this expected directory. Remove superfluous delete-region.
12781 (package-unpack): Caller changed.
12782 (package-tar-file-info): Use package-subdirectory-regexp.
12783
a904a09a 127842011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12785
a904a09a
SM
12786 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12787 diff-mode-shared-map (bug#8284).
12788 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12789
127902011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12791
12792 * calendar/time-date.el (format-seconds): Use assoc instead of
12793 assoc-string, since assoc-string doesn't exist in XEmacs.
12794
171fc304
JB
127952011-03-17 Juanma Barranquero <lekktu@gmail.com>
12796
12797 * custom.el (custom-known-themes): Reflow docstring.
12798 (custom-theme-load-path): Fix typo in docstring.
12799 (load-theme): Fix typo in error message.
12800 (custom-available-themes, custom-variable-theme-value):
12801 Use `let', not `let*'.
12802
d71990a1
JB
128032011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12804
12805 * calc/README: Mention inclusion of musical notes.
12806
12807 * calc/calc-units.el (calc-lu-quant): Rename from
12808 `calc-logunits-quantity'.
12809 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12810 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12811 (calc-db): Rename from `calc-dblevel'.
12812 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12813 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12814 (calc-np): Rename from `calc-nplevel'.
12815 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12816 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12817 (calc-lu-plus): Rename from `calc-logunits-add'.
12818 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12819 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12820 (calc-lu-minus): Rename from `calc-logunits-sub'.
12821 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12822 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12823 (calc-lu-times): Rename from `calc-logunits-mul'.
12824 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12825 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12826 (calc-lu-divide): Rename from `calc-logunits-div'.
12827 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12828 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12829
12830 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12831 functions being autoloaded.
12832
12833 * calc/calc.el (calc-lu-power-reference): Rename from
12834 `calc-logunits-power-reference'.
12835 (calc-lu-field-reference): Rename from
12836 `calc-logunits-field-reference'.
12837
7a71b18d
GM
12838 * calc/calc-help.el (calc-l-prefix-help):
12839 Mention musical note functions.
d71990a1 12840
40c2934b
SM
128412011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * minibuffer.el (completion-all-sorted-completions):
12844 Use :completion-cycle-penalty text property if present.
12845
b0911414
KM
128462011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12847
12848 * allout.el (allout-yank-processing): Adjust for new rebulleting
12849 regime so bullet being yanked is used without prompting the user
12850 for a choice.
12851
8a05b668
JB
128522011-03-16 Juanma Barranquero <lekktu@gmail.com>
12853
12854 * startup.el (command-line): Warn the user that _emacs is deprecated.
12855
5ba5fb81
JB
128562011-03-16 Juanma Barranquero <lekktu@gmail.com>
12857
12858 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12859 (delphi-verbose, delphi-comment-face, delphi-string-face)
12860 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12861 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12862 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12863 (delphi-new-comment-line, delphi-font-lock-defaults)
12864 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12865 Fix typos in docstrings.
12866
2dab465b
KM
128672011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12868
5ba5fb81 12869 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12870 Invert the roles of character and string values for INSTEAD, so a
12871 string is used for the more common case of a defaulting prompt.
12872
0adf5618
SM
128732011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * progmodes/ruby-mode.el (ruby-backward-sexp):
12876 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12877 * play/gamegrid.el (gamegrid-make-face):
12878 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12879 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12880 * notifications.el (notifications-notify):
12881 * net/xesam.el (xesam-search-engines):
12882 * net/quickurl.el (quickurl-list-insert):
12883 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12884
d72700e5
CY
128852011-03-15 Chong Yidong <cyd@stupidchicken.com>
12886
12887 * startup.el (command-line): Update package subdirectory regexp.
12888
49c5410a
SM
128892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12890
c6eee9aa
SM
12891 * allout.el (allout-abbreviate-flattened-numbering)
12892 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12893
49c5410a
SM
12894 * subr.el (read-char-choice): Only show the cursor after the prompt,
12895 not after the answer.
12896
047b2bb9
KR
128972011-03-15 Kevin Ryde <user42@zip.com.au>
12898
12899 * help-fns.el (variable-at-point): Skip leading quotes, if any
12900 (bug#8253).
12901
0a57d256
SM
129022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12905 warning message.
12906
77c992bc
MA
129072011-03-14 Michael Albinus <michael.albinus@gmx.de>
12908
12909 * shell.el (shell): When called interactively, offer to change the
12910 shell file name on remote hosts.
12911
eebc475d
TZ
129122011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12913
12914 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12915 integration for LDAP parameters. The host, base, user or binddn,
12916 and secret tokens can be specified in a netrc file, for instance.
12917 This is optional because an `auth-source' parameter must be
12918 specified in the search attributes.
12919
9d05d1ba
JB
129202011-03-13 Juanma Barranquero <lekktu@gmail.com>
12921
12922 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12923
09d9db2c
GM
129242011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12925
12926 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12927 into declaration. Remove redundant and harmful binding.
12928
129292011-03-12 Eli Zaretskii <eliz@gnu.org>
12930
12931 * files.el (file-ownership-preserved-p): Pass `integer' as an
12932 explicit 2nd argument to `file-attributes'. If the file's owner
12933 is the Administrators group on Windows, and the current user is
12934 Administrator, consider that a match.
12935
12936 * server.el (server-ensure-safe-dir): Consider server directory
12937 safe on MS-Windows if its owner is the Administrators group while
12938 the current Emacs user is Administrator. Use `=' to compare
12939 numerical UIDs, since they could be integers or floats.
12940
219bd536
JB
129412011-03-12 Juanma Barranquero <lekktu@gmail.com>
12942
12943 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12944
f3afd36b
MA
129452011-03-12 Michael Albinus <michael.albinus@gmx.de>
12946
12947 Sync with Tramp 2.2.1.
12948
12949 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12950
12951 * net/trampver.el: Update release number.
12952
3aaaa6f1
SM
129532011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12954
94642599
SM
12955 * progmodes/compile.el (compilation--previous-directory): Fix up
12956 various nil/dead-marker mismatches (bug#8014).
12957 (compilation-directory-properties, compilation-error-properties):
12958 Don't call it at a position past the one we're about to change.
12959
3aaaa6f1
SM
12960 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12961 Disable obsolescence warnings in the file that declares it.
12962
14239447
KM
129632011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12964
099c39a4
JB
12965 * allout-widgets.el (allout-widgets-tally):
12966 Initialize allout-widgets-tally as a hash table rather than nil to
12967 prevent mode-line redisplay warnings. Also, clarify the module
12968 description and fix a comment typo.
14239447 12969
135e287c
JB
129702011-03-11 Juanma Barranquero <lekktu@gmail.com>
12971
12972 * help-fns.el (describe-variable): Don't complete keywords.
12973 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12974
ffbf300e
CY
129752011-03-10 Chong Yidong <cyd@stupidchicken.com>
12976
ba08b241
CY
12977 * emacs-lisp/package.el (package-version-join): Impose a standard
12978 string representation for pre/alpha/beta version lists.
12979 (package-unpack-single): Standardize the directory name by passing
12980 it through package-version-join.
12981 (package-strip-rcs-id): Accept any version string that does not
12982 signal an error in version-to-list.
ffbf300e 12983
f346fd6b
MA
129842011-03-10 Michael Albinus <michael.albinus@gmx.de>
12985
12986 * simple.el (delete-trailing-whitespace): Return nil for the
12987 benefit of `write-file-functions'.
12988
ccb55d27
GM
129892011-03-10 Glenn Morris <rgm@gnu.org>
12990
5ceaac0c
GM
12991 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12992
02da65ff
GM
12993 * vc/vc-git.el (vc-git-program): New option.
12994 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12995 (vc-git--call): Use it.
12996
b2f603cc
GM
12997 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12998
5772caab
GM
12999 * cus-edit.el (Custom-newline): If no button at point, look
13000 for a subgroup button at start-of-line. (Bug#2298)
13001
ccb55d27
GM
13002 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13003
ec6ecaed
JD
130042011-03-10 Julien Danjou <julien@danjou.info>
13005
13006 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13007 `cursor-type' is nil.
13008
9d5aa01d
JB
130092011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13010
13011 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13012
b6a5875b
KM
130132011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13014
7a71b18d 13015 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13016 preserves the existing header prefix, rebulleting it if necessary,
13017 rather than replacing it. This is necessary for proper operation
13018 of cooperative addons like allout-widgets.
1154d12e
JB
13019 (allout-make-topic-prefix, allout-rebullet-heading):
13020 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13021 value as alternate bullet to be used, instead of prompting the user
13022 for a bullet character.
b6a5875b 13023
ee545c35
MA
130242011-03-09 Michael Albinus <michael.albinus@gmx.de>
13025
d86d2721
SM
13026 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13027 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13028 `tramp-default-port'.
13029
c47971d7
DD
130302011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13031
13032 * net/rcirc.el (rcirc-handler-001): Remove useless
13033 with-rcirc-process-buffer.
13034 (rcirc-check-auth-status): Swap arguments to string-match.
13035
13522cb4
GM
130362011-03-09 Glenn Morris <rgm@gnu.org>
13037
0be6f4f1
GM
13038 * shell.el (shell-mode):
13039 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13040
13522cb4
GM
13041 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13042 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13043
515de2e3
CY
130442011-03-08 Chong Yidong <cyd@stupidchicken.com>
13045
13046 * emacs-lisp/package.el (package-refresh-contents)
13047 (package-menu-execute): Use condition-case-no-debug.
13048
b511b994
MA
130492011-03-08 Michael Albinus <michael.albinus@gmx.de>
13050
13051 * simple.el (shell-command-to-string): Use `process-file'.
13052
13053 * emacs-lisp/package.el (package-tar-file-info): Handle also
13054 remote files.
13055
d86d2721
SM
13056 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13057 Use `equal' for upload base check.
b511b994 13058
25bbfb31
AM
130592011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13060
13061 * textmodes/texinfo.el (texinfo-environments):
13062 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13063
be996521
GM
130642011-03-08 Glenn Morris <rgm@gnu.org>
13065
e9c8529f
GM
13066 * cus-start.el (cursor-in-non-selected-windows):
13067 Fix :set quoting oddness. (Bug#8192)
13068
be996521
GM
13069 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13070 in some setf expressions. (Bug#2159)
13071
2bb5649e
CY
130722011-03-08 Chong Yidong <cyd@stupidchicken.com>
13073
13074 * custom.el (custom-available-themes): Return themes in
13075 alphabetical order.
13076
33383987 13077See ChangeLog.15 for earlier changes.
e3d51b27
MR
13078
13079;; Local Variables:
13080;; coding: utf-8
e3d51b27
MR
13081;; End:
13082
acaf905b 13083 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13084
13085 This file is part of GNU Emacs.
13086
13087 GNU Emacs is free software: you can redistribute it and/or modify
13088 it under the terms of the GNU General Public License as published by
13089 the Free Software Foundation, either version 3 of the License, or
13090 (at your option) any later version.
13091
13092 GNU Emacs is distributed in the hope that it will be useful,
13093 but WITHOUT ANY WARRANTY; without even the implied warranty of
13094 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13095 GNU General Public License for more details.
13096
13097 You should have received a copy of the GNU General Public License
13098 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.