* emacs-lisp/assoc.el: Move to obsolete/.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
797e6e88
SM
12012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/assoc.el: Move to obsolete/.
4
e95a67dc
SM
52012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6
657c21e4 7 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8
9 * term/ns-win.el (ns-define-service):
10 * progmodes/pascal.el (pascal-goto-defun):
11 * progmodes/js.el (js--read-tab):
12 * progmodes/etags.el (tags-lazy-completion-table):
13 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14 * emacs-lisp/ewoc.el (ewoc--wrap):
15 * emacs-lisp/assoc.el (aput, adelete, amake):
16 * doc-view.el (doc-view-convert-current-doc):
17 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
18
cb3e7ae0
CY
192012-04-26 Chong Yidong <cyd@gnu.org>
20
dce04f7f
CY
21 * image.el (image-type-from-buffer): Only return supported image
22 type (Bug#9045).
23
cb3e7ae0
CY
24 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
25 value, for symmetry with diff-end-of-hunk.
26 (diff-split-hunk, diff-find-source-location)
27 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
28 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
29 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
30 compute the relevant hunk or file properly (Bug#6005).
31 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
32
0d42eb3e
SM
332012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * vc/vc-mtn.el:
36 * vc/vc-hg.el:
37 * vc/vc-git.el:
38 * vc/vc-dir.el:
39 * vc/vc-cvs.el:
40 * vc/vc-bzr.el:
41 * vc/vc-arch.el:
42 * vc/vc.el: Replace lexical-let by lexical-binding.
43 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
44 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
45 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
46
f08ae1c9
CY
472012-04-26 Chong Yidong <cyd@gnu.org>
48
8b71081d
CY
49 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
50 (diff-mode-shared-map): Bind it to / and [remap undo].
51
f08ae1c9
CY
52 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
53 (ediff-window-setup-function): Use it as the default, to set up
54 windows based on whether the current frame is graphical (Bug#2138).
55 (ediff-choose-window-setup-function-automatically): Make obsolete.
56
57 * vc/ediff-init.el: Always define ediff-pixel-width/height.
58
ef24141c
SM
592012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
60
cc356a5d
SM
61 * ffap.el: Remove old code for obsolete package.
62 (ffap-complete-as-file-p): Remove.
63
b4ff4f1f
SM
64 Use completion-table-with-quoting for comint and pcomplete.
65 * comint.el (comint--unquote&requote-argument)
66 (comint--unquote-argument, comint--requote-argument): New functions.
67 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
68 (comint-quote-filename): Use regexp-opt-charset.
69 (comint--common-suffix, comint--common-quoted-suffix)
70 (comint--table-subvert): Remove.
71 (comint-unquote-function, comint-requote-function): New vars.
72 (comint--complete-file-name-data): Use them with
73 completion-table-with-quoting.
74 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
75 * pcomplete.el (pcomplete-arg-quote-list)
76 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
77 (pcomplete-unquote-argument-function): Default to non-nil.
78 (pcomplete-unquote-argument): Simplify.
79 (pcomplete--common-quoted-suffix): Remove.
80 (pcomplete-requote-argument-function): New var.
81 (pcomplete--common-suffix): New function.
82 (pcomplete-completions-at-point): Use completion-table-with-quoting
83 and completion-table-subvert.
84
79c4eeb4
SM
85 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
86 (minibuffer--double-dollars): Preserve properties.
87 (completion--sifn-requote): New function.
88 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
89
ef24141c
SM
90 * minibuffer.el: Add support for completion of quoted/escaped data.
91 (completion-table-with-quoting, completion-table-subvert): New funs.
92 (completion--twq-try, completion--twq-all): New functions.
93 (completion--nth-completion): New function.
94 (completion-try-completion, completion-all-completions): Use it.
95
784e7d6e
LL
962012-04-25 Leo Liu <sdl.web@gmail.com>
97
dd2ac746
SM
98 * progmodes/python.el (python-pdbtrack-get-source-buffer):
99 Use compilation-message if available to find real filename.
784e7d6e 100
07875ee7
CY
1012012-04-25 Chong Yidong <cyd@gnu.org>
102
103 * vc/diff-mode.el (diff-setup-whitespace): New function.
104 (diff-mode): Use it.
105
106 * vc/diff.el (diff-sentinel):
107 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
108 Whitespace mode variables based on diff style (Bug#8612).
109
5055880d
LL
1102012-04-25 Leo Liu <sdl.web@gmail.com>
111
daf75653
LL
112 * progmodes/python.el (python-send-region): Add suffix .py to the
113 temp file.
114
5055880d
LL
115 * files.el (auto-mode-alist): Use javascript-mode instead.
116
db9b177b
AH
1172012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
118
ef24141c 119 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
120
121 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 122 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 123 references, see Bug#9.
ef24141c 124 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 125 when receiving a fault reply.
ef24141c 126 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
127
128 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 129 (soap-inspect-simple-type): New function.
db9b177b 130
ef24141c 131 * soap-client.el (soap-simple-type): New struct.
db9b177b 132 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
133 (soap-decode-basic-type, soap-encode-basic-type):
134 support unsignedInt and double basic types.
db9b177b 135 (soap-resolve-references-for-simple-type)
ef24141c
SM
136 (soap-parse-simple-type, soap-encode-simple-type): New function.
137 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
138
139 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
140 (soap-default-soapenc-types): Add integer, byte and anyURI types.
141 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
142 the local name of "soapenc:Array".
143 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
144 decoding integer, byte and anyURI xsd types.
145
1fc6097b
CY
1462012-04-25 Chong Yidong <cyd@gnu.org>
147
148 * cus-edit.el (custom-buffer-create-internal): Update header text.
149
afc6df87
EZ
1502012-04-25 Eli Zaretskii <eliz@gnu.org>
151
152 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
153 settings on 'system-type', not on 'window-system'. On MS-Windows,
154 set interactive-mode on in GDB.
155
dfbd787f
SM
1562012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
157
158 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
159 (ruby-syntax-propertize-regexp): Remove.
160 (ruby-syntax-propertize-function): Split regexp into chunks.
161 Match following code directly.
162
85222d44
DG
1632012-04-24 Dmitry Gutov <dgutov@yandex.ru>
164
51a8ea2a
DG
165 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
166 (ruby-syntax-propertize-regexp): New function.
167 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
168 by a special keyword.
169
85222d44
DG
170 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
171 (ruby-syntax-general-delimiters-goto-beg)
172 (ruby-syntax-propertize-general-delimiters): New functions.
173 (ruby-syntax-propertize-function): Use them to handle GDL.
174 (ruby-font-lock-keywords): Move old handling of GDL...
175 (ruby-font-lock-syntactic-keywords): .. to here.
176 (ruby-calculate-indent): Adjust indentation for GDL.
177
b613912b
MA
1782012-04-24 Michael Albinus <michael.albinus@gmx.de>
179
b5380639
MA
180 * notifications.el (top): Remove unneeded declarations.
181 (notifications-specification-version): Change to "1.2".
e43042fe 182 (notifications-interface, notifications-notify-method)
b613912b
MA
183 (notifications-close-notification-method): Fix docstring.
184 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
185 (notifications-notify): Add :action-items, :resident and
186 :transient hints. Change "image_data" to "image-data" and
187 "image_path" to "image-path".
b613912b
MA
188 (notifications-get-capabilities): New defun.
189
257440aa
LL
1902012-04-24 Leo Liu <sdl.web@gmail.com>
191
192 * progmodes/python.el: Move hideshow setup to the end.
193
b1bac16e
MR
1942012-04-24 Martin Rudalics <rudalics@gmx.at>
195
196 * window.el (handle-select-window): Clear echo area since this is
197 no more done by read_char (Bug#11304).
198
d81bd059
SM
1992012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
202 and `/ M' to filter-derived-mode.
203 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
204 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
205 (ibuffer-mark-by-mode): Use default rather than initial-input.
206 (ibuffer-filter-by-derived-mode): Autoload and require-match.
207
c4cf6d91
IA
2082012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
209
210 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
211 (ibuffer-filter-by-derived-mode): New filter.
212 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
213
7511ded8
CY
2142012-04-23 Andreas Politz <politza@fh-trier.de>
215
216 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
217
775c916b
CY
2182012-04-23 Chong Yidong <cyd@gnu.org>
219
220 * cus-edit.el (customize-apropos, customize-apropos-options):
221 Disable matching of non-option variables (Bug#11176).
222 (customize-option, customize-option-other-window)
223 (customize-changed-options): Doc fix.
224 (customize-apropos-options, customize-apropos-faces)
225 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
226
227 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 228 Fix word list splitting (Bug#11132).
46c71e23
CY
229 (apropos-symbol, apropos-keybinding, apropos-label)
230 (apropos-property, apropos-function-button)
231 (apropos-variable-button, apropos-misc-button): New faces.
232 (apropos-symbol-face, apropos-keybinding-face)
233 (apropos-label-face, apropos-property-face, apropos-match-face):
234 Variables removed (Bug#8396).
235 (apropos-library-button, apropos-format-plist, apropos-print)
236 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 237
2df41f9c
MA
2382012-04-23 Michael Albinus <michael.albinus@gmx.de>
239
240 * net/xesam.el (xesam-mode-map): Use let-bound map in
241 initialization. (Bug#11292)
242
da00640a
AM
2432012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
244
245 Preserve ispell session localwords when switching back to
246 original buffer.
247
248 * ispell.el (ispell-buffer-session-localwords): New buffer-local
249 variable to hold buffer session localwords.
250 (ispell-kill-ispell): add option 'clear to delete session
251 localwords.
252 (ispell-command-loop, ispell-change-dictionary)
253 (ispell-buffer-local-words): Preserve session localwords when
254 needed.
255
256 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
257 Preserve session localwords when needed.
258
f621ccf5
AM
2592012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
260
261 * ispell.el (ispell-insert-word) Remove unneeded function using
262 obsolete `translation-table-for-input'.
ef24141c
SM
263 (ispell-word, ispell-process-line, ispell-complete-word):
264 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 265
c2d1019e
CY
2662012-04-22 Chong Yidong <cyd@gnu.org>
267
268 * cus-edit.el (custom-variable-menu)
269 (custom-variable-reset-saved, custom-face-menu)
270 (custom-face-reset-saved): If there is no saved value, make the
271 "reset-saved" operation bring back the default (Bug#9509).
272 (custom-face-state): Properly detect themed faces.
273
eeddc531
CY
274 * faces.el (face-spec-set): Stop supporting deprecated form of
275 third arg.
276
dcbf5805
MA
2772012-04-22 Michael Albinus <michael.albinus@gmx.de>
278
279 Move functions from C to Lisp. Make non-blocking method calls
280 the default. Implement further D-Bus standard interfaces.
281
ef24141c
SM
282 * net/dbus.el (dbus-message-internal): Declare function.
283 Remove unneeded function declarations.
dcbf5805
MA
284 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
285 (dbus-message-type-method-return, dbus-message-type-error)
286 (dbus-message-type-signal): Declare variables. Remove local
287 definitions.
288 (dbus-interface-dbus, dbus-interface-peer)
289 (dbus-interface-introspectable, dbus-interface-properties)
290 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
291 Adapt docstring.
292 (dbus-interface-objectmanager): New defconst.
293 (dbus-call-method, dbus-call-method-asynchronously)
294 (dbus-send-signal, dbus-method-return-internal)
295 (dbus-method-error-internal, dbus-register-service)
296 (dbus-register-signal, dbus-register-method): New defuns, moved
297 from dbusbind.c
298 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
299 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
300 New defuns.
dcbf5805
MA
301 (dbus-call-method-non-blocking): Make it an obsolete function.
302 (dbus-unregister-object, dbus-unregister-service)
303 (dbus-handle-event, dbus-register-property)
304 (dbus-property-handler): Obey the new structure of
305 `bus-registered-objects'.
306 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
307 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
308 Use `dbus-call-method'.
309
cf20dee0
CY
3102012-04-22 Chong Yidong <cyd@gnu.org>
311
312 * cus-edit.el (custom-commands, custom-reset-menu)
313 (Custom-reset-standard): Tweak labels.
314 (custom-reset-button-menu): Change default to t.
315 (custom-buffer-create-internal): For the custom-reset-button-menu
316 case, put the revert button first.
317 (custom-group-subtitle): New face.
318 (custom-group-value-create): Align docstring to a specific column.
319
320 * wid-edit.el (widget-documentation-link-add): Don't handle
321 indentation in this function.
322 (widget-documentation-string-indent-to): New function.
323 (widget-documentation-string-value-create): Use it.
324
325 * autorevert.el (auto-revert):
326 * epg-config.el (epg):
327 * ibuffer.el (ibuffer):
328 * mpc.el (mpc):
329 * ses.el (ses):
330 * eshell/eshell.el (eshell):
331 * net/ange-ftp.el (ange-ftp):
332 * progmodes/ebnf2ps.el (postscript):
333 * progmodes/flymake.el (flymake):
334 * progmodes/prolog.el (prolog):
335 * progmodes/verilog-mode.el (verilog-mode):
336 * progmodes/which-func.el (which-func):
337 * term/xterm.el (xterm):
338 * textmodes/picture.el (picture):
339 * textmodes/tildify.el (tildify):
340 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
341 customization buffers.
342
583e23bd
AM
3432012-04-22 Alan Mackenzie <acm@muc.de>
344
345 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
346 Adding a ) can hide the resulting (..) from searches. Fix it.
347 Bound the backward search to the position of the existing (.
348
7dd51bf1
JB
3492012-04-21 Juanma Barranquero <lekktu@gmail.com>
350
351 * progmodes/verilog-mode.el (verilog-mode): Check whether
352 which-func-modes is t before adding verilog-mode.
353 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
354
d64a438f
LL
3552012-04-21 Leo Liu <sdl.web@gmail.com>
356
7dd51bf1 357 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 358
081e8d65
MV
3592012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
360
361 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
362 filling of the last column of a table (Bug#5635).
363 (woman-find-next-control-line): New arg, specifying an additional
364 regexp component for the control line.
365 (woman2-roff-buffer): Use it.
366 (woman-break-table): New function.
367 (woman2-TS): Use it.
368
3692012-04-21 Chong Yidong <cyd@gnu.org>
370
371 * woman.el (woman-set-buffer-display-table, woman-decode-region)
372 (woman-horizontal-escapes, woman-negative-vertical-space)
373 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
374 (WoMan-warn-ignored): Use ?\s instead of ?\ .
375
ed571ccb
SM
3762012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * minibuffer.el (completion-file-name-table): Complete user names.
379
39773899
LL
3802012-04-20 Leo Liu <sdl.web@gmail.com>
381
382 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
383 and pcase-let*.
384
de6ff46d
CY
3852012-04-20 Chong Yidong <cyd@gnu.org>
386
387 * server.el (server-execute): Respect initial-buffer-choice if it
388 is a string and there are no files to open (Bug#2825).
389 (server-create-window-system-frame, server-create-tty-frame):
390 Don't switch buffers here.
2d0e8e61
CY
391 (server-process-filter): Only try to open a window system frame if
392 compiled with graphical support (Bug#8314).
de6ff46d 393
54071013
DN
3942012-04-20 Dan Nicolaescu <dann@gnu.org>
395
396 * battery.el (battery-echo-area-format): Display remaining time
397 for sysfs backend too (Bug#11269).
398 (battery-linux-sysfs): Fix conditional for the charge.
399
f30d612a
CY
4002012-04-20 Chong Yidong <cyd@gnu.org>
401
c07a4c0b 402 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
403 (gdb-inferior-io--init-proc): New function.
404 (gdb-init-1): Use it.
405 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
406 responsible for allocating a new pty and hooking it to gdb when
407 the old pty gets an EIO due to process exit.
408 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
409 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
410 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
411
2116e93c
EZ
4122012-04-20 Eli Zaretskii <eliz@gnu.org>
413
414 * window.el (window-min-size, window-sizable, window-min-delta)
415 (window-max-delta, window--resizable, window-resizable)
416 (window-total-size, window-full-height-p, window-full-width-p)
417 (window-in-direction, window--resize-mini-window, window-resize)
418 (window--resize-child-windows-normal)
419 (window--resize-child-windows, window--resize-siblings)
420 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 421 (enlarge-window, shrink-window): Doc fixes.
2116e93c 422
c07a4c0b 4232012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 424
ef24141c
SM
425 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
426 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
427 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
428 pty process (Bug#11273).
429 (gdb-update): New arg to suppress talking to the gdb process.
430 (gdb-done-or-error): Use it.
431 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
432 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
433 sentinel not being called.
434
435 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
436
d02766ab
CY
437 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
438
c07a4c0b 4392012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
440
441 * net/network-stream.el (open-network-stream): Doc fix.
442
c07a4c0b 4432012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
444
445 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
446
c07a4c0b 4472012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
448
449 Ensure searching for keywords is case sensitive.
450
451 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
452 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
453 (c-defun-name, c-mark-function, c-cpp-define-name)
454 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 455 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 456
ef24141c
SM
457 * progmodes/cc-mode.el (c-font-lock-fontify-region):
458 Bind case-fold-search to nil.
f0f6bc35 459
c07a4c0b 4602012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
461
462 * mail/sendmail.el (mail-bury): Call return action with the right
463 Rmail buffer (Bug#11242).
464
9a864fa2
CY
465 * server.el (server-process-filter): Handle corner case where both
466 tty and nowait options are present (Bug#11102).
467
539aa513
EZ
4682012-04-20 Eli Zaretskii <eliz@gnu.org>
469
470 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
471 (top level): Put into the executable the ident-style '$Id:' tag on
472 windows-nt as well.
539aa513 473
cfc7d5da
SM
4742012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * electric.el (electric-indent-post-self-insert-function): Check that
477 electric-indent-mode is enabled in current buffer.
478
5b01685c
JB
4792012-04-19 Juanma Barranquero <lekktu@gmail.com>
480
481 * imenu.el (imenu-progress-message): Restore; it is "used" in
482 erc/erc-imenu.el and net/snmp-mode.el.
483
4d6769e1
JB
4842012-04-19 Juanma Barranquero <lekktu@gmail.com>
485
486 * avoid.el (mouse-avoidance-mode): Mark unused arg.
487 (mouse-avoidance-nudge-mouse): Remove unused binding.
488
489 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
490
491 * descr-text.el (describe-char):
492 * progmodes/python.el (python-describe-symbol):
493 Don't call `toggle-read-only', set `buffer-read-only'.
494
495 * imenu.el (imenu-default-goto-function): Mark unused args.
496 (imenu-progress-message): Remove obsolete macro; all callers changed.
497
498 * subr.el (keymap-canonicalize): Remove unused binding.
499 (read-passwd): Mark unused arg.
500
501 * tutorial.el (tutorial--display-changes): Remove unused binding.
502 (tutorial--save-tutorial-to): Remove unused variable.
503
504 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
505 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
506 (package-generate-autoloads, package-menu--generate)
507 (package-menu--find-upgrades): Remove unused bindings.
508
509 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
510 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
511 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
512 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
513 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
514 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
515 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
516 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
517 (cua-delete-char-rectangle): Mark unused args.
518 (cua-align-rectangle): Remove unused binding.
519
520 * mail/rmail.el (compilation--message->loc)
521 (epa--find-coding-system-for-mime-charset): Declare.
522
523 * net/dbus.el (dbus-register-service): Declare.
524 (dbus-name-owner-changed-handler): Remove unused binding.
525
526 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
527 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
528 (nxml-scan-backward-within): Mark unused arg.
529 (nxml-dynamic-markup-word): Remove unused binding.
530
531 * mouse.el (mouse-menu-major-mode-map):
532 * emacs-lisp/authors.el (authors-scan-change-log)
533 (authors-add-to-author-list):
534 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
535 * emacs-lisp/smie.el (smie-auto-fill):
536 * mail/sendmail.el (mail-bury):
537 * mail/unrmail.el (unrmail):
538 * net/tls.el (open-tls-stream):
539 * textmodes/picture.el (picture-mouse-set-point):
540 Remove unused bindings.
541
8c8fc5df
MA
5422012-04-19 Michael Albinus <michael.albinus@gmx.de>
543
544 * net/tramp.el (tramp-action-password): Let-bind
545 `enable-recursive-minibuffers' to t.
546
a77b0ac9
SS
5472012-04-18 Sam Steingold <sds@gnu.org>
548
549 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
550 instead of 'string to accommodate values like [f11].
551 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
552 * progmodes/gdb-mi.el: Likewise.
553
12a106a9
LL
5542012-04-18 Leo Liu <sdl.web@gmail.com>
555
556 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
557 current buffer.
558 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
559 LOCAL is nil.
560
bc6494ef
CY
5612012-04-18 Chong Yidong <cyd@gnu.org>
562
563 * simple.el (line-move): Use forward-line if in batch mode
564 (Bug#11053).
565
c09c46b2
CS
5662012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
567
568 * files.el (after-find-file): Do not try to add a final newline if
569 the buffer is read-only (Bug#11156).
570
5f6530ea
RS
5712012-04-17 Richard Stallman <rms@gnu.org>
572
573 * mail/rmail.el (rmail-start-mail):
574 Pass (rmail-mail-return...) for the return-action.
575 Pass (rmail-yank-current-message...) for the yank-action.
576 (rmail-yank-current-message): New function.
577 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
578 (rmail-reply): Likewise.
579 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
580
581 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 582 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
583 buffer, not newbuf.
584
197b6f3c
JB
5852012-04-17 Juanma Barranquero <lekktu@gmail.com>
586
587 * server.el (server-ensure-safe-dir): Simplify.
588
2311d8e5 5892012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 590
2311d8e5
GM
591 * emacs-lisp/smie.el: Provide smarter auto-filling.
592 (smie-auto-fill): New function.
593 (smie-setup): Use it.
98fb480e 594
2311d8e5
GM
595 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
596
5972012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
598
599 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
600 (comment-indent): Use it.
601
2311d8e5 6022012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
603
604 * ses.el: The overall change is to add cell renaming, that is
605 setting fancy names for cell symbols other than name matching
606 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 607 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 608 (ses-create-cell-variable): New defun.
2311d8e5 609 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
610 (ses-relocate-formula): Relocate formulas only for cells the
611 symbols of which are not renamed, i.e. symbols whose names do not
612 match regexp "\\`[A-Z]+[0-9]+\\'".
613 (ses-relocate-all): Relocate values only for cells the symbols of
614 which are not renamed.
615 (ses-load): Create cells variables as the (ses-cell ...) are read,
616 in order to check row col consistency with cell symbol name only
617 for cells that are not renamed.
618 (ses-replace-name-in-formula): New defun.
619 (ses-rename-cell): New defun.
4bdf2ad2 620
fc72b15c
PO
6212012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
622
623 * progmodes/perl-mode.el (perl-indent-parens-as-block):
624 New option (bug#11118).
625 (perl-calculate-indent): Respect it.
626
12e10e61
GM
6272012-04-17 Glenn Morris <rgm@gnu.org>
628
629 * dired-aux.el (dired-mark-read-string): Doc fix.
630
30009afd
DA
6312012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
632
633 * dired-aux.el (dired-mark-read-string): Offer optional completion.
634 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
635
41f03f4d
GM
6362012-04-17 Glenn Morris <rgm@gnu.org>
637
638 * mouse.el (mouse-drag-track):
639 * speedbar.el (speedbar-frame-mode):
640 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
641
f45f90f3
LL
6422012-04-16 Leo Liu <sdl.web@gmail.com>
643
644 * progmodes/python.el: Trivial cleanup.
645
94ee8db5
GM
6462012-04-16 Glenn Morris <rgm@gnu.org>
647
121b8917
GM
648 * vc/vc.el (vc-string-prefix-p):
649 * vc/pcvs-util.el (cvs-string-prefix-p):
650 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
651 * mpc.el (mpc-string-prefix-p):
652 Make all of these into obsolete aliases for string-prefix-p.
653 Update callers.
654 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
655
1197ecfa
GM
656 * textmodes/two-column.el: Move custom options to the start.
657 (frame-width): Remove compat definition.
658 (2C-associate-buffer, 2C-dissociate):
659 Use with-current-buffer rather than save-excursion.
660 (2C-dissociate): Force a mode-line update.
661 (2C-autoscroll): Use ignore-errors.
662
099e7202
GM
663 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
664 Autoload trivia.
665
bf350d6a
GM
666 * emacs-lisp/cl-extra.el (*random-state*):
667 Remove unnecessary declaration.
668
0e829eab
GM
669 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
670
e3ad7552
GM
671 * play/cookie1.el (cookie-snarf):
672 Give an explicit error if input file cannot be read.
673
68892d27
GM
674 * play/yow.el (yow-file): Use expand-file-name rather than concat.
675
20f0c46d
GM
676 * progmodes/perl-mode.el (c-macro-expand):
677 Remove unnecessary autoload (it is in loaddefs.el).
678
5a0978ce
GM
679 * textmodes/picture.el (picture-desired-column)
680 (picture-update-desired-column): Convert comments to doc-strings.
681 (picture-substitute): Remove function.
682 (picture-mode-map): Initialize in the defvar.
683
6b955486
GM
684 * woman.el: Remove eval-after-load for tar-mode.
685 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
686 (woman-tar-extract-file): Autoload it.
687
94ee8db5
GM
688 * frame.el (automatic-hscrolling): Make this alias obsolete.
689
177eca34
AM
6902012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
691
692 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 693 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
694 (ispell-dictionary-base-alist): Revert to original XEmacs
695 friendly version for default. [:alpha:] will be added in
696 `ispell-set-spellchecker-params' if needed
177eca34 697
c505aaeb
CY
6982012-04-16 Chong Yidong <cyd@gnu.org>
699
700 * image.el (imagemagick--extension-regexp): New variable.
701 (imagemagick-register-types): Use it.
702 (imagemagick-types-inhibit): Add :set function. Allow new value
703 of t to inhibit all types.
704
705 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
706 so we can preload it.
707
708 * loadup.el (fboundp): Preload regexp-opt, needed by
709 imagemagick-register-types.
710
60efac0f
CY
7112012-04-15 Chong Yidong <cyd@gnu.org>
712
713 * frame.el (scrolling): Remove nearly unused customization group.
714
715 * scroll-all.el (scroll-all-mode): Move to windows group.
716
5dd1713e
CY
7172012-04-15 Chong Yidong <cyd@gnu.org>
718
719 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
720
e6fd457e
CY
7212012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 724 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 725
e153c136
GM
7262012-04-15 Glenn Morris <rgm@gnu.org>
727
728 * simple.el (process-file-side-effects): Doc fix.
729
e6fd457e 7302012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
731
732 * international/mule-cmds.el (set-language-environment): Doc fix.
733
3603c3b1
JB
7342012-04-14 Juanma Barranquero <lekktu@gmail.com>
735
736 * server.el (server-auth-key, server-generate-key): Doc fixes.
737 (server-get-auth-key): Doc fix. Use `string-match-p'.
738 (server-start): Reflow docstring.
739
e6de100c
LI
7402012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
741
742 * server.el (server-generate-key): `called-interactively-p'
743 requires a parameter.
744
29734c21
MN
7452012-04-14 Michal Nazarewicz <mina86@mina86.com>
746
747 * server.el (server-auth-key): New variable.
75f1671a 748 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
749 (server-start): Use the new variable and functions to allow
750 setting a permanent server key (bug#9423).
751
d65c9521
LL
7522012-04-14 Leo Liu <sdl.web@gmail.com>
753
754 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
755
5ae255c7
PE
7562012-04-14 Paul Eggert <eggert@cs.ucla.edu>
757
758 Spelling fixes.
759 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
760 Emacs uses American spelling.
761
d5e6342e
JB
7622012-04-14 Juanma Barranquero <lekktu@gmail.com>
763
764 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
765 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
766 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
767 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
768
ab036cd7
SM
7692012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
770
771 * progmodes/which-func.el (which-func-modes): Change default.
772
35dc09a1 7732012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
774
775 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
776 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
777
35dc09a1 7782012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
779
780 * custom.el (custom-theme-set-variables): Doc fix.
781
35dc09a1 7822012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
783
784 * international/mule.el (set-auto-coding-for-load): Doc fix.
785
35dc09a1 7862012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 787
35dc09a1
GM
788 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
789 imenu work again for Objective C Mode. Correct the *-index values,
790 these having been disturbed by a previous change in 2011-08.
57f845ee 791
0de3da9f
AM
792 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
793 Correct two search limits.
794
35dc09a1 7952012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
796
797 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
798
35dc09a1 7992012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
800
801 * international/characters.el: Fix sorting.
802
35dc09a1 8032012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
804
805 * international/characters.el: Add more missing Latin case pairs.
806
35dc09a1 8072012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
808
809 * files.el (dir-locals-set-class-variables): Doc fix.
810
35dc09a1 8112012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 812
3f1b5bf8
EZ
813 * international/characters.el: Add set-case-syntax-pair call for
814 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
815 counterpart. (Bug#11209)
816
9f847f41
EZ
817 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
818
35dc09a1 8192012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
820
821 * calendar/holidays.el (calendar-check-holidays): Doc fix.
822
35dc09a1 8232012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 824
35dc09a1
GM
825 * textmodes/ispell.el (ispell-dictionary-base-alist):
826 Add data for Hebrew.
e2627d21 827
35dc09a1 8282012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 829
35dc09a1
GM
830 * net/rcirc.el (rcirc-cmd-quit):
831 Revert 2012-03-18 change (Bug#11192).
5c14e333 832
35dc09a1 8332012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
834
835 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
836
35dc09a1 8372012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 838
4517fe3a
SM
839 * minibuffer.el (completion-in-region-mode-map):
840 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 841
b472a594
VD
8422012-04-13 Vivek Dasmohapatra <vivek@etla.org>
843
844 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
845
09b95ce3
MY
8462012-04-13 Masatake YAMATO <yamato@redhat.com>
847
848 * minibuffer.el (minibuffer-local-filename-syntax): New variable
849 to allow `C-M-f' and `C-M-b' to move to the nearest path
850 separator (bug#9511).
851
4b63a9ca
LI
8522012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
853
854 * avoid.el: Require cl when compiling. And also move the
855 `provide' to the end.
856
7b55b8bf
TV
8572012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
858
859 * avoid.el (mouse-avoidance-banish-position): New variable.
860 (mouse-avoidance-banish-destination): Use it (bug#10165).
861
adedaa1f
LL
8622012-04-13 Leo Liu <sdl.web@gmail.com>
863
864 * progmodes/which-func.el (which-func-modes): Add objc-mode.
865
70e74021
KB
8662012-04-13 Ken Brown <kbrown@cornell.edu>
867
868 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 869 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
870 (browse-url-filename-alist): For the same reason, don't modify
871 file:// URLs on Cygwin.
872
e75e89ba
SM
8732012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
876 the region on shift if the binding is already shifted (bug#11221).
877
82f289a4
GM
8782012-04-12 Glenn Morris <rgm@gnu.org>
879
880 * mail/mailpost.el: Move to obsolete/.
881
d333dc4c
DA
8822012-04-12 Drew Adams <drew.adams@oracle.com>
883
884 * imenu.el (imenu--generic-function): Ignore invisible definitions
885 (bug#10123).
886
0d15b5ba
VD
8872012-04-12 Vivek Dasmohapatra <vivek@etla.org>
888
889 * hexl.el (hexl-bits): New variable.
890 (hexl-options): Mention the variable in the doc string.
75f1671a 891 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 892 (hexl-mode): Mention the new variable.
75f1671a
JB
893 (hexl-mode, hexl-current-address, hexl-current-address):
894 Use the displen.
0d15b5ba
VD
895 (hexl-ascii-start-column): New function.
896 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
897 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
898
64a440db
AM
8992012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
900
901 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
902 '("-i" ENCODING), in 2 separate command-line arguments, to specify
903 the encoding, as expected by hunspell.
904
6decb6c2
SM
9052012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * battery.el (battery--linux-sysfs-regexp): New const.
908 (battery-status-function): Use it. Remove yeeloong special case.
909 (battery-yeeloong-sysfs): Remove.
910 (battery-echo-area-format): Remove yeeloong special case.
911
088be6fb
SM
9122012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
913
6622e416
SM
914 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
915 Reported by Noah Friedman.
916
088be6fb
SM
917 * subr.el (read-passwd): Use read-string.
918
b49f886e
LMI
9192012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
920
921 * vcursor.el (vcursor-move): Increase the priority of the overlay
922 (bug#9663).
923
a63067fc
DD
9242012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
925
926 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
927 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
928
ac3cf14a
WS
9292012-04-11 William Stevenson <yhvh2000@gmail.com>
930
931 * textmodes/artist.el (artist-mode): Convert artist-mode to use
932 define-minor-mode (bug#10760).
933
c4fc691b 9342012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 935
4d6769e1 936 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
937 that directories matching `grep-find-ignored-files' won't be
938 pruned (bug#10351).
939
af23e2e5
CY
9402012-04-11 Chong Yidong <cyd@gnu.org>
941
942 * startup.el (command-line): Remove support for long-obsolete
943 variable font-lock-face-attributes.
944
ab7ce8c1
GM
9452012-04-11 Glenn Morris <rgm@gnu.org>
946
947 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
948
de8c03dc
SM
9492012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * window.el (window--state-get-1): Obey window-point-insertion-type.
952
050cc68b
LB
9532012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
954
955 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
956 to previous function when point is on the first character of a
75f1671a 957 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 958
a38c310c
GM
9592012-04-11 Glenn Morris <rgm@gnu.org>
960
effed0c2
GM
961 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
962 not just file-errors.
963
a38c310c
GM
964 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
965 (vc-bzr-sha1): Use internal sha1.
966
0221e323
SM
9672012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
970
43956923
SG
9712012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
972
973 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
974 that start in the middle of the line (bug#10496).
975
6a8c9eaf
DN
9762012-04-10 Dan Nicolaescu <dann@gnu.org>
977
978 * battery.el (battery-linux-proc-acpi): Only one battery is
979 discharged at a time, but that seems to confuse battery.el when
980 computing `rate-type' for the battery not being discharged
981 (bug#10332).
982
1930bf5d
SM
9832012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
984
2a718f6f
SM
985 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
986
599430d0
SM
987 * international/quail.el: Use dolist and simplify.
988 (quail-define-package, quail-update-keyboard-layout)
989 (quail-define-rules): Use dolist.
990 (quail-insert-kbd-layout, quail-get-translation): CSE.
991
a2754b6c
SM
992 * tmm.el: Use dolist, remove left over hook.
993 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
994 Use dolist.
995 (calendar-load-hook): Don't mess with it.
996
1930bf5d
SM
997 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
998 Use derived-mode-p. Run the diff asynchronously.
999
9f67961c
LMI
10002012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1001
1002 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1003
2a8ce227
JB
10042012-04-10 Juanma Barranquero <lekktu@gmail.com>
1005
1006 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1007 (list-dynamic-libraries--loaded): New function.
1008 (list-dynamic-libraries--refresh): Use it.
1009
8f33b5f8
NW
10102012-04-10 Nathan Weizenbaum <nweiz@google.com>
1011
1930bf5d
SM
1012 * progmodes/python.el (python-fill-paragraph):
1013 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1014 disabled (bug#7018).
1015
b12f0439
L
10162012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1017
1930bf5d 1018 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1019 DOS/MS Windows for the Baltic languages. There are still plenty
1020 of texts written in this encoding/codepage (bug#6519).
b12f0439 1021
57c3bd01
GM
10222012-04-10 Glenn Morris <rgm@gnu.org>
1023
1024 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1025 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1026
6c3eab30
FA
10272012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1028
1930bf5d 1029 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1030 next-line "n" and previous-line "p" in order to make recentf more
1031 consistent with ibuffer, dired or org-mode (bug#9387).
1032
24d78a88
LMI
10332012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1034
bc72b5d9
LMI
1035 * image.el (put-image): Return the overlay created instead of the
1036 optional input string (bug#7834). Note that this may break code
1037 that is (for some reason or other) depending on `put-image'
1038 returning the string.
1039
bd2dba5a
LMI
1040 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1041
74beb59f
LMI
1042 * simple.el (zap-to-char): Allow zapping using input methods
1043 (bug#1580).
1044
24d78a88
LMI
1045 * textmodes/fill.el (fill-region): Leave point and mark where they
1046 were before filling (bug#5399).
1047
263f20cd
GM
10482012-04-09 Glenn Morris <rgm@gnu.org>
1049
1050 * version.el (emacs-bzr-get-version):
1051 Handle lightweight checkouts of local branches.
1052
58d1f797
AS
10532012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1054
263f20cd 1055 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1056
b4d3bc10
CY
10572012-04-09 Chong Yidong <cyd@gnu.org>
1058
1059 * custom.el (custom-variable-p): Return nil for non-symbol
1060 arguments instead of signaling an error.
1061 (user-variable-p): Obsolete alias for custom-variable-p.
1062
1063 * apropos.el (apropos-variable):
1064 * files-x.el (read-file-local-variable):
1065 * simple.el (set-variable):
1066 * woman.el (woman-mini-help):
1067 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1068
fd06db5d
GM
10692012-04-09 Glenn Morris <rgm@gnu.org>
1070
e5fcdb5e
GM
1071 * startup.el (normal-top-level): Don't look for leim-list.el
1072 in places where it will not be found. (Bug#910)
1073
fd06db5d
GM
1074 * international/mule-cmds.el (set-default-coding-systems):
1075 * files.el (normal-mode):
1076 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1077 This function was removed with ucs-tables.el in 2008.
1078
b39bb7e1
EZ
10792012-04-08 Eli Zaretskii <eliz@gnu.org>
1080
1081 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1082 ispell-encoding8-command to "-i", without a trailing space.
1083 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1084 separate command-line arguments, to specify the encoding, since
1085 that's how hunspell expects it.
1086
5c5b8e23
GM
10872012-04-08 Glenn Morris <rgm@gnu.org>
1088
1089 * loadup.el: Load bindings before cus-start.
1090 This reduces somewhat the number of "rogue" settings in emacs -Q.
1091
a1ed8b05
GM
10922012-04-07 Glenn Morris <rgm@gnu.org>
1093
1094 * version.el (emacs-bzr-get-version): New function.
dfae128a 1095 (emacs-bzr-version): New variable.
a1ed8b05
GM
1096 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1097 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1098
b142f158
EZ
10992012-04-07 Eli Zaretskii <eliz@gnu.org>
1100
dfae128a
GM
1101 * international/uni-bidi.el, international/uni-category.el:
1102 * international/uni-combining.el, international/uni-decimal.el:
1103 * international/uni-decomposition.el, international/uni-digit.el:
1104 * international/uni-lowercase.el, international/uni-mirrored.el:
1105 * international/uni-name.el, international/uni-numeric.el:
1106 * international/uni-titlecase.el, international/uni-uppercase.el:
1107 Update for Unicode 6.1.
b142f158 1108
9078ead6
EZ
11092012-04-07 Eli Zaretskii <eliz@gnu.org>
1110
1111 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1112
f23d2c7d
LMI
11132012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1114
1115 * window.el (shrink-window): Mention the `window-min-height'
1116 variable in the doc string.
1117
0a0a3573
BG
11182012-04-05 Bastien Guerry <bzg@altern.org>
1119
1120 * color.el (color-lighten-name): Fix typo.
1121
e5248ac9
SM
11222012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1123
1124 * server.el (server--on-display-p): New function.
1125 (server--on-display-p): Use it.
1126
b4243e22
GV
11272012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1128
1129 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1130 (bug#11145).
1131
305d9f44
SM
11322012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * comint.el (comint--common-quoted-suffix): Check string boundary
1135 before comparing (bug#11158).
1136 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1137
3d439cd1
CY
11382012-04-04 Chong Yidong <cyd@gnu.org>
1139
321cc491
CY
1140 * minibuffer.el (completion-extra-properties): Doc fix.
1141
3d439cd1
CY
1142 * subr.el (delayed-warnings-hook): Doc fix.
1143
2d562c0f
DU
11442012-04-04 Daiki Ueno <ueno@unixuser.org>
1145
1146 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1147 selection (Bug#11159).
1148 (epa-insert-keys): Inform that the default public key will be
1149 exported if no key is selected.
1150
4443f204
RS
11512012-04-04 Richard Stallman <rms@gnu.org>
1152
1153 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1154
529c06b6
CY
11552012-04-03 Chong Yidong <cyd@gnu.org>
1156
1157 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1158 mail-insert-file, not its obsolete alias mail-attach-file.
1159
66b907dc
MA
11602012-04-03 Michael Albinus <michael.albinus@gmx.de>
1161
1162 * notifications.el (notifications-notify): Fix docstring.
1163
c0ea195d
GM
11642012-04-02 Glenn Morris <rgm@gnu.org>
1165
1166 * emacs-lisp/authors.el (authors-aliases): Another addition.
1167
5ca64e00
MA
11682012-04-02 Michael Albinus <michael.albinus@gmx.de>
1169
1170 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1171 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1172 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1173
42ee526b
CY
11742012-04-01 Chong Yidong <cyd@gnu.org>
1175
1176 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1177 Handle root directory properly.
1178 (copy-directory): Caller changed.
1179
1180 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1181 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1182
0b021094
GM
11832012-03-31 Glenn Morris <rgm@gnu.org>
1184
40f86458
GM
1185 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1186
7019c177
GM
1187 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1188
a1daddd6
GM
1189 * calendar/calendar.el (calendar-window-list)
1190 (calendar-hide-window): Restore. (Bug#11140)
1191 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1192
0b021094
GM
1193 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1194
40311efc
TV
11952012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1196
1197 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1198 Check if file is a symlink (Bug#10489).
1199
1200 * files.el (copy-directory): Likewise.
1201
5319014e
CY
12022012-03-30 Chong Yidong <cyd@gnu.org>
1203
1204 * image.el (imagemagick-types-inhibit)
1205 (imagemagick-register-types): Doc fix.
1206
935d1290
AM
12072012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1208
ef24141c
SM
1209 * ispell.el (ispell-get-extended-character-mode):
1210 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1211 and treats ~word as ordinary words in pipe mode.
935d1290 1212
61c6e8fd
GM
12132012-03-30 Glenn Morris <rgm@gnu.org>
1214
1215 * tutorial.el (help-with-tutorial): Ensure local variables don't
1216 happen to make the buffer read-only. (Bug#11127)
1217
81fdff00
SM
12182012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1221 (perl-calculate-indent): Return `noindent' in strings.
1222
6e7a6ec0
SS
12232012-03-28 Sam Steingold <sds@gnu.org>
1224
1225 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1226 instead of the broken adhockery which does not prevent calendar
1227 buffers from being displayed at random after exit.
1228 (calendar-window-list, calendar-hide-window): Remove the broken
1229 adhockery.
1230
fee88ca0
GM
12312012-03-28 Glenn Morris <rgm@gnu.org>
1232
1233 * replace.el (query-replace-map): Doc fix.
1234
38de3354
AS
12352012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1236
1237 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1238 contents. (Bug#11109)
1239
b973155e
SM
12402012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1243 (bug#11077).
1244 (avl-tree--check, avl-tree--check-node): New funs.
1245
dcb6e7b3
MR
12462012-03-27 Martin Rudalics <rudalics@gmx.at>
1247
1248 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1249 (switch-to-prev-buffer, switch-to-next-buffer):
1250 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1251 showing a buffer already is done on the same frame.
1252
b4fa35fa
GM
12532012-03-27 Glenn Morris <rgm@gnu.org>
1254
1255 * startup.el (mail-host-address): Doc fix.
1256
f9210e18
SM
12572012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1260 than 197 variables.
1261
c0bf7753
AF
12622012-03-26 Ami Fischman <ami@fischman.org>
1263
1264 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1265
33da7b16
GM
12662012-03-26 Glenn Morris <rgm@gnu.org>
1267
02243d9d
GM
1268 * files.el (save-buffers-kill-emacs): Doc fix.
1269
33da7b16
GM
1270 * startup.el (normal-top-level, command-line, command-line-1):
1271 Give them doc strings.
1272
e5a69fd0
EZ
12732012-03-25 Eli Zaretskii <eliz@gnu.org>
1274
1275 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1276 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1277
9a69676a
CY
12782012-03-25 Chong Yidong <cyd@gnu.org>
1279
4125cb8b
CY
1280 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1281 theme if it was previously enabled before (Bug#11031).
1282
dd470960
CY
1283 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1284 spec with custom-face-get-current-spec if its :shown-value is not
1285 determined yet (Bug#9337).
4125cb8b 1286 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1287
9a69676a
CY
1288 * button.el (button-at): Minor addition to docstring.
1289
6e7e90fa
SL
12902012-03-24 Simon Leinen <simon.leinen@gmail.com>
1291
1292 * vc/vc.el (vc-merge): Fix a prompt.
1293
f06e2758
CY
12942012-03-24 Chong Yidong <cyd@gnu.org>
1295
1296 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1297 point (Bug#9623).
1298
6e7e90fa
SL
1299 * button.el (button-at): Minor addition to docstring.
1300
b9d0879b
SM
13012012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * newcomment.el (comment-choose-indent): No space after BOL.
1304
e71cebb3
SS
13052012-03-22 Sam Steingold <sds@gnu.org>
1306
1307 * window.el (switch-to-prev-buffer): Revert last patch because the
1308 bug turned out to be an advertised feature (Elisp manual 28.14).
1309
335aff35
GM
13102012-03-22 Glenn Morris <rgm@gnu.org>
1311
1312 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1313 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1314
c676576a
LMI
13152012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1316
1317 * net/network-stream.el (network-stream-open-starttls): Make error
1318 message under Windows be less misleading.
1319
126f3d39
LW
13202012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1321
1322 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1323 understands (bug#9942).
1324
64fee311
CY
13252012-03-22 Chong Yidong <cyd@gnu.org>
1326
1327 * simple.el (end-of-visible-line): Handle return value of
1328 next-single-property-change properly (Bug#9371).
1329
a640d29a
KH
13302012-03-22 Kenichi Handa <handa@m17n.org>
1331
1332 * international/quail.el (quail-insert-kbd-layout): Fix previous
1333 change. To avoid unwanted bidi reordering, use
1334 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1335
39675016
DG
13362012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1337
1338 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1339 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1340 (ruby-beginning-of-indent): Be more careful with the difference
1341 between word-boundary and symbol boundary.
1342 (ruby-mode-syntax-table): Make : a symbol constituent.
1343
0a6934fc 13442012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1345
3d008e4f
SM
1346 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1347
0a6934fc
SM
13482012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1349
af67c9d7
SM
1350 * progmodes/etags.el (tags-completion-at-point-function):
1351 Improve last fix.
1352
1acad97c
SM
1353 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1354
e298b5da
SS
13552012-03-21 Sam Steingold <sds@gnu.org>
1356
1357 * progmodes/etags.el (tags-completion-at-point-function):
1358 Avoid the error when point is inside the pattern.
1359
91d82a70
JY
13602012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1361
1362 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1363 line (Bug#10855).
1364
69188b79
CY
13652012-03-21 Drew Adams <drew.adams@oracle.com>
1366
1367 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1368
99fc91fe
AK
13692012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1370
1371 * ido.el (ido-set-current-directory, ido-read-internal)
1372 (ido-choose-completion-string, ido-completion-help): Handle nil
1373 value of ido-completion-buffer (Bug#11008).
1374
087bbb4c
SS
13752012-03-21 Sam Steingold <sds@gnu.org>
1376
1377 * window.el (switch-to-prev-buffer): Do not switch to a visible
1378 window previous buffer, just like with the frame previous buffers.
1379
fb5b8aca
CY
13802012-03-21 Chong Yidong <cyd@gnu.org>
1381
1382 * faces.el (make-face, make-empty-face, copy-face):
1383 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1384 Doc fixes.
1385
dc9924b8
SM
13862012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1387
1388 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1389 (widget-complete): Remove broken use of it.
1390
f0bcceb9
CY
13912012-03-20 Chong Yidong <cyd@gnu.org>
1392
dc9924b8
SM
1393 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1394 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1395 characters.
1396
ee52ebf3
TH
13972012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1398
1399 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1400 to draw rectangles, not squares. (Regression introduced by revno
1401 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1402
4c5779ab
CY
14032012-03-18 Chong Yidong <cyd@gnu.org>
1404
1405 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1406 it is not yet defined (for temacs).
1407
15360934
LL
14082012-03-18 Leo Liu <sdl.web@gmail.com>
1409
dc9924b8 1410 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1411
d9a8eb66
EZ
14122012-03-17 Eli Zaretskii <eliz@gnu.org>
1413
1414 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1415 (ispell-choices-win-default-height, ispell-silently-savep)
1416 (ispell-dictionary-alist, ispell-encoding8-command)
1417 (ispell-check-version, ispell-aspell-find-dictionary)
1418 (ispell-valid-dictionary-list, ispell-words-keyword)
1419 (ispell-get-word, ispell-internal-change-dictionary)
1420 (ispell-region, ispell-skip-region-list)
1421 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1422 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1423 (ispell-message-text-end, ispell-message)
1424 (ispell-buffer-local-parsing): Doc fix.
1425
f02ff80d
J
14262012-03-13 Jambunathan K <kjambunathan@gmail.com>
1427
1428 * htmlfontify.el: Add support for code block fontification for ODT
1429 export (Bug #9914).
1430 (hfy-optimisations): Define new option
1431 `body-text-only'
1432 (hfy-fontify-buffer): Honor above setting.
1433 (hfy-begin-span, hfy-end-span): New routines factored out form
1434 `hfy-fontify-buffer'.
1435 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1436 that permit insertion of custom tags.
1437 (hfy-fontify-buffer): Use above handlers.
1438 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1439 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1440 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1441 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1442 bind a special variable `hfy-user-sheet-assoc'.
1443 (htmlfontify-string): New defun.
1444 (hfy-compile-face-map): Make sure that the last char in the
1445 buffer is correctly fontified.
1446 (hfy-face-resolve-face): Whitespace only change.
1447
9ac7a13f
EZ
14482012-03-17 Eli Zaretskii <eliz@gnu.org>
1449
1450 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1451 message more clear.
1452
e2b5bdd7
LL
14532012-03-16 Leo Liu <sdl.web@gmail.com>
1454
1455 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1456
2e492df3
AM
14572012-03-16 Alan Mackenzie <acm@muc.de>
1458
1459 Further optimise the handling of large macros.
1460
1461 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1462 limit to a call of `c-literal-limits'.
1463 (c-determine-+ve-limit): New function.
dc9924b8
SM
1464 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1465 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1466 In CASE 5B, restrict a search limit to 500.
1467 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1468
1469 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1470 Restrict macro bounds to +-500 from after-change's BEG END.
1471
50e94f0c
LL
14722012-03-16 Leo Liu <sdl.web@gmail.com>
1473
1474 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1475
6f09f6ed
AH
14762012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1477
1478 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1479 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1480
c7e73d51
GM
14812012-03-16 Glenn Morris <rgm@gnu.org>
1482
da986230
GM
1483 * view.el (view-buffer, view-buffer-other-window)
1484 (view-buffer-other-frame): Doc fixes re special mode-class.
1485
0835f01e
GM
1486 * subr.el (eval-after-load): If named feature is provided not from
1487 a file, run after-load forms. (Bug#10946)
1488
c7e73d51
GM
1489 * calendar/calendar.el (calendar-insert-at-column):
1490 Handle non-unit-width characters a bit better. (Bug#10978)
1491
3f2eafd1
CY
14922012-03-15 Chong Yidong <cyd@gnu.org>
1493
1494 * emacs-lisp/ring.el (ring-extend): New function.
1495 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1496
1497 * comint.el (comint-read-input-ring)
1498 (comint-add-to-input-history): Grow comint-input-ring lazily.
1499
103af3fe
SM
15002012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1501
663b1677
SM
1502 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1503 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1504
103af3fe
SM
1505 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1506 (imenu-add-to-menubar): Don't add a redundant index.
1507 (imenu-update-menubar): Handle a dynamically composed keymap.
1508
899cb7cb
KY
15092012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1510
1511 * mail/sendmail.el (mail-encode-header):
1512 Bind rfc2047-encode-encoded-words to nil.
1513
3809f91d
GM
15142012-03-13 Glenn Morris <rgm@gnu.org>
1515
1516 * calendar/calendar.el (calendar-string-spread):
1517 Handle non-unit-width characters a bit better. (Bug#10978)
1518
9e345a01
LL
15192012-03-13 Leo Liu <sdl.web@gmail.com>
1520
1521 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1522 directory and file as argument (Bug#10822).
1523
4a07df36
KS
15242012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1525
1526 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1527 For dynamically generated code, follow $PC.
1528 (gdb-disassembly-handler-custom): Handle no function name case.
1529
4aaa9356
TL
15302012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1531
1532 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1533 * emulation/ws-mode.el (ws-query-replace):
1534 * sort.el (sort-regexp-fields):
1535 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1536
225979da
SM
15372012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * dabbrev.el: Fix cycle completion order (bug#10963).
1540 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1541 (dabbrev-completion): Don't use an obarray; provide
1542 a cycle-sort-function.
1543
e2f1fdab
LL
15442012-03-12 Leo Liu <sdl.web@gmail.com>
1545
dc9924b8 1546 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1547 (kill-do-not-save-duplicates): Doc fix.
1548
b19490ed
SM
15492012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * dabbrev.el: Fix cycle completion (bug#10963).
1552 Use lexical binding and wrap to 80 columns.
1553 (dabbrev-completion): Delay computing the list of completions.
1554
4b05d722
KH
15552012-03-12 Kenichi Handa <handa@m17n.org>
1556
1557 * international/quail.el (quail-insert-kbd-layout): Surround each
1558 row by LRO and PDF instead of inserting many LRMs. Pad the left
1559 and right of each non-spacing marks. Insert invisible space
1560 between lower and upper characters to prevent composition.
1561
dbbc2e69
SM
15622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * minibuffer.el (minibuffer-complete): Don't get confused when the
1565 function is run twice via different commands (bug#10958).
1566 (complete-with-action): Fix docstring.
1567
292112ed
CY
15682012-03-12 Chong Yidong <cyd@gnu.org>
1569
5d1ac394
CY
1570 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1571 (nxml-completion-at-point-function): New function.
1572 (nxml-mode): Use it.
1573 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1574
292112ed
CY
1575 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1576 Load generated autoloads file before byte compiling (Bug#10970).
1577 (package--make-autoloads-and-compile): New helper fun.
1578
4098f8f7
CS
15792012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1580
1581 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1582
8f754691
MA
15832012-03-11 Michael Albinus <michael.albinus@gmx.de>
1584
1585 * autorevert.el (auto-revert-handler): Ensure, that
1586 file-readable-p is applied only for local files or in
1587 auto-revert-tail-mode.
1588
e29ab36b
AS
15892012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1590
dbbc2e69
SM
1591 * server.el (server-eval-at): Handle non-tcp connections.
1592 Decode result string.
ad0bf5b6 1593
e29ab36b
AS
1594 * server.el (server-msg-size): New constant.
1595 (server-reply-print): New function.
1596 (server-eval-and-print): Use it.
1597 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1598 Handle -print-nonl.
1599
de5939ba
CS
16002012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1601
1602 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1603 (Bug#10987).
1604
0c93eabf
CY
16052012-03-11 Chong Yidong <cyd@gnu.org>
1606
397a688f
CY
1607 * simple.el (goto-line): Doc fix (Bug#9938).
1608
2cc775f9
CY
1609 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1610
0c93eabf
CY
1611 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1612 when finished (Bug#10963).
1613
c491fa41
MR
16142012-03-11 Martin Rudalics <rudalics@gmx.at>
1615
1616 * window.el (split-window-below): Fix bug in case where
1617 split-window-keep-point is nil (Bug#10971).
1618
300e8fa5
JL
16192012-03-11 Juri Linkov <juri@jurta.org>
1620
1621 * replace.el (replace-highlight): Set isearch-word to nil
1622 unconditionally. (Bug#10887)
1623
dbf6c5a1
EZ
16242012-03-10 Eli Zaretskii <eliz@gnu.org>
1625
1626 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1627 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1628 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1629 (mairix-widget-create-query): Add usage information about mairix
1630 search forms: negating words, searching for substrings, etc.
1631
b9e501de
JP
16322012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1633
1634 * international/fontset.el (font-encoding-alist): Add an entry for
1635 ksx1001 (Bug#5667).
1636
92795c91
RS
16372012-03-10 Richard Stallman <rms@gnu.org>
1638
1694e6c1
RS
1639 * mail/sendmail.el (mail-encode-header):
1640 Set rfc2047-encode-encoded-words.
1641
607e8555
RS
1642 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1643
de3bc99a
RS
1644 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1645 view buffer means not swapped.
1646 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1647 (rmail-write-region-annotate): Error if real text has disappeared.
1648
92795c91
RS
1649 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1650
699bd04e
CY
16512012-03-10 Chong Yidong <cyd@gnu.org>
1652
1653 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1654 * emulation/cua-base.el (cua--init-keymaps):
1655 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1656
570a1714
MR
16572012-03-10 Martin Rudalics <rudalics@gmx.at>
1658
dbbc2e69
SM
1659 * speedbar.el (speedbar-unhighlight-one-tag-line):
1660 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1661
82dcf4e4
CY
16622012-03-10 Chong Yidong <cyd@gnu.org>
1663
7a2c7ca7
CY
1664 * minibuffer.el (completion-in-region, completion-help-at-point):
1665 Give the completion field overlay a high priority (Bug#6830).
1666
82dcf4e4
CY
1667 * dired.el (dired-goto-file): Recognize absolute file name
1668 listings (Bug#7126).
1669 (dired-goto-file-1): New helper function.
1670 (dired-toggle-read-only): Inhibit warnings.
1671
052e28ac
MA
16722012-03-09 Michael Albinus <michael.albinus@gmx.de>
1673
75f1671a 1674 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1675 there are no properties.
1676
95d5e396
LL
16772012-03-09 Leo Liu <sdl.web@gmail.com>
1678
1679 * savehist.el (savehist-printable): Stricter check for string
1680 value (Bug#10937).
1681
3f018d6d
EZ
16822012-03-09 Eli Zaretskii <eliz@gnu.org>
1683
dbbc2e69
SM
1684 * mail/smtpmail.el (smtpmail-send-it):
1685 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1686 valid mbox format.
1687
f7fd3d79
GM
16882012-03-09 Glenn Morris <rgm@gnu.org>
1689
1690 * files.el (dir-locals-find-file):
1691 Don't check result is regular, readable.
1692 (dir-locals-read-from-file): Demote errors.
1693
6ff6e72f
EZ
16942012-03-08 Eli Zaretskii <eliz@gnu.org>
1695
dbbc2e69
SM
1696 * international/quail.el (quail-insert-kbd-layout):
1697 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1698 layout cell, to prevent their reordering by bidi display engine.
1699 For details, see the discussion in
1700 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1701
9cec7834
AM
17022012-03-08 Alan Mackenzie <acm@muc.de>
1703
1704 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1705 the starting position; make it extend the marked region when
1706 invoked repeatedly - all under appropriate circumstances.
1707 Fixes bugs #5525, #10906.
1708
9a40b8d4
GM
17092012-03-08 Glenn Morris <rgm@gnu.org>
1710
1711 * files.el (locate-dominating-file, dir-locals-find-file):
1712 Undo 2012-03-06 change.
1713
7a08ed35
EZ
17142012-03-07 Eli Zaretskii <eliz@gnu.org>
1715
dbbc2e69
SM
1716 * international/quail.el (quail-help):
1717 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1718 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1719 for the reason.
1720
5aca4f71 17212012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1722
1723 Avoid superfluous registering of signals. (Bug#10807)
1724
1725 * notifications.el (notifications-on-action-object)
1726 (notifications-on-close-object): New defvars.
1727 (notifications-on-action-signal, notifications-on-closed-signal):
1728 Unregister the signal if not needed any longer.
1729 (notifications-notify): Register `notifications-action-signal' or
1730 `notifications-closed-signal', if :on-action or :on-close has been
1731 passed as argument.
1732
78e8b10a
CY
17332012-03-07 Chong Yidong <cyd@gnu.org>
1734
1735 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1736 non-X platforms.
1737
69481eb8
GM
17382012-03-06 Glenn Morris <rgm@gnu.org>
1739
1740 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1741 (x-disown-selection-internal, x-get-selection-internal):
1742 Doc fix (add arglist signatures). (Bug#10783)
1743
133b8e11
KS
17442012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1745
1746 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1747 Handle breakpoints with no "type".
1748
99a83064
GM
17492012-03-06 Glenn Morris <rgm@gnu.org>
1750
1751 * files.el (locate-dominating-file): Add optional predicate argument.
1752 (dir-locals-find-file): Make use of above change.
1753
17798e78
TTN
17542012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1755
1756 * info.el (Info-insert-dir): Also try "dir.gz".
1757
eb182446
GM
17582012-03-06 Glenn Morris <rgm@gnu.org>
1759
8f2114ee
GM
1760 * files.el (dir-locals-find-file):
1761 Ignore non-readable or non-regular files. (Bug#10928)
1762
eb182446
GM
1763 * files.el (locate-dominating-file): Doc fix.
1764
24679323
AS
17652012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1766
1767 * calendar/calendar.el (calendar-set-mode-line):
1768 `getenv' returns a string. (Bug#10951)
1769
01d972a9
LL
17702012-03-05 Leo Liu <sdl.web@gmail.com>
1771
109aa8a9
LL
1772 * simple.el (backward-delete-char-untabify): Constrain point to
1773 field (Bug#10939).
1774
01d972a9
LL
1775 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1776
10607bea
CY
17772012-03-05 Chong Yidong <cyd@gnu.org>
1778
1779 * simple.el (count-words): If called from Lisp, return the word
1780 count, for symmetry with `count-lines'. Arglist changed.
1781 (count-words--message): Args changed. Consolidate counting code
1782 from count-words and count-words-region.
1783 (count-words-region): Caller changed.
1784 (count-lines-region): Make it an obsolete alias.
1785
5dd11cfe
TH
17862012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1787
1788 * saveplace.el (save-place-to-alist)
1789 (save-place-ignore-files-regexp): Allow value nil to disable this
1790 feature.
1791
c349f4e6
CY
17922012-03-04 Chong Yidong <cyd@gnu.org>
1793
1794 * faces.el (face-spec-reset-face): For the default face, reset the
1795 attributes to default values (Bug#10748).
1796
e627be4c
LMI
17972012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1798
1799 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1800 previous patch: Check `message-send-mail-function', and not the
1801 default function (bug#10897).
1802
ebeabff4
MA
18032012-03-04 Michael Albinus <michael.albinus@gmx.de>
1804
a41a6cf4
MA
1805 * notifications.el (notifications-on-action-signal)
1806 (notifications-on-closed-signal): Check for unique service name of
1807 incoming event. Fix error in removing entry.
ebeabff4 1808 (top): Register for signals with wildcard service name.
a41a6cf4 1809 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1810
c1ca42b4
CY
18112012-03-04 Chong Yidong <cyd@gnu.org>
1812
dc9924b8 1813 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1814
ea16568d
GM
18152012-03-04 Glenn Morris <rgm@gnu.org>
1816
1817 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1818 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1819 (expand-abbrev, define-abbrev-table): Doc fixes.
1820
fbae4637
LMI
18212012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1822
1823 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1824 `message-default-send-mail-function' and not `send-mail-function'
1825 when doing the prompting for `sendmail-query-once' before sending
1826 in Message buffers (bug#10897).
1827
a1e7225c
LMI
1828 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1829 This is inconsistent with all the other stream functions, which leave
1830 the setting up to the higher levels (if so wanted) (bug#10931).
1831
56d093a9
AM
18322012-03-02 Alan Mackenzie <acm@muc.de>
1833
1834 Depessimize the handling of very large macros.
1835
1836 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1837 (c-macro-cache-syntactic): New variables to implement a one
1838 element macro cache.
1839 (c-invalidate-macro-cache): New function.
1840 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1841 Adapt to use the new cache.
1842 (c-state-safe-place): Use better the cache of safe positions.
1843 (c-state-semi-nonlit-pos-cache)
1844 (c-state-semi-nonlit-pos-cache-limit):
1845 New variables for...
1846 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1847 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1848 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1849 Use c-state-semi-safe-place.
56d093a9 1850
dbbc2e69
SM
1851 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1852 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1853
817e5c3d
MA
18542012-03-02 Michael Albinus <michael.albinus@gmx.de>
1855
dbbc2e69
SM
1856 * jka-compr.el (jka-compr-call-process):
1857 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1858 not remote.
1859
a032a702
MA
18602012-03-01 Michael Albinus <michael.albinus@gmx.de>
1861
1862 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1863 access of FILE2, if FILE1 does not exist.
1864
99a54f21
MA
1865 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1866 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1867
1868 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1869 Add "PAGER=" to `process-environment'.
1870
f6561e1f
MM
18712012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1872
1873 * progmodes/sql.el: Bug fix
1874 (sql-get-login-ext): Save login values in globals.
1875 (sql-get-login): Use new version of `sql-get-login-ext'.
1876 (sql-interactive-mode): Set global `sql-connection' to nil.
1877 (sql-connect): Set global values for connection.
1878 (sql-product-interactive): Save global values as buffer local.
1879
2d44d9cc
LL
18802012-02-29 Leo Liu <sdl.web@gmail.com>
1881
1882 * abbrev.el (define-abbrevs): Reset sys to nil.
1883
96b49301 18842012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1885
bf7f9bc5
JB
1886 * files.el (file-equal-p): Rename from `files-equal-p'.
1887 Return nil when one or both files don't exist.
96b49301 1888 (file-subdir-of-p): Now only top directory must exists,
1889 return nil if it doesn't.
bf7f9bc5
JB
1890 (copy-directory): No need to test with `file-subdir-of-p' after
1891 creating dir.
1892 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1893 to `file-equal-p'.
96b49301 1894
44e97401
GM
18952012-02-28 Glenn Morris <rgm@gnu.org>
1896
1897 * shell.el (shell-mode):
1898 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1899 * play/landmark.el (landmark-font-lock-face-O):
1900 * play/handwrite.el (handwrite):
1901 * play/gomoku.el (gomoku-O):
1902 * net/browse-url.el (browse-url-browser-display):
1903 * international/mule.el (define-charset):
1904 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1905 * filesets.el (filesets-find-file-delay):
1906 * eshell/em-xtra.el (eshell-xtra):
1907 * eshell/em-unix.el (eshell-grep):
1908 * emulation/viper.el (viper-mode):
1909 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1910 * emacs-lisp/easymenu.el (easy-menu-define):
1911 * calendar/timeclock.el (timeclock-use-display-time):
1912 * bs.el (bs-mode):
1913 * bookmark.el (bookmark-save-flag):
1914 Doc fix (standardize possessive apostrophe usage).
1915
c98c6276
CY
19162012-02-27 Chong Yidong <cyd@gnu.org>
1917
bf7f9bc5
JB
1918 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1919 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1920
c98c6276
CY
1921 * font-lock.el (font-lock-specified-p): Rename from
1922 font-lock-spec-present. Callers changed.
1923
9c62cd04 19242012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1925
bf7f9bc5
JB
1926 * emacs-lisp/package.el (package-compute-transaction):
1927 Handle holding a package version to t in package-load-list.
8ac9e529 1928
530739c9
MA
19292012-02-26 Michael Albinus <michael.albinus@gmx.de>
1930
1931 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1932 (tramp-get-inode, tramp-get-device): Use cached values.
1933
487915d7
AM
19342012-02-26 Alan Mackenzie <acm@muc.de>
1935
1936 Check there is a font-lock specification before doing initial
1937 fontification.
1938
1939 * font-core.el (font-lock-mode): Move the conditional from
1940 :after-hook to font-lock-initial-fontify.
1941 (font-lock-default-function): Move the check for a specification
1942 to font-lock-spec-present.
1943
dc9924b8 1944 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1945 (font-lock-spec-present): New function.
1946
4fd96557
JB
19472012-02-26 Jim Blandy <jimb@red-bean.com>
1948
1949 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1950 (gdb-send): Apply it to the operand of the '-interpreter-exec
1951 console' command, so that we can pass arguments with (say) quotes
1952 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1953
9a4888c0
CY
19542012-02-26 Chong Yidong <cyd@gnu.org>
1955
07498861
CY
1956 * help-fns.el (describe-function-1): Clarify description of
1957 remapping (Bug#10844).
1958
9a4888c0
CY
1959 * files.el (files-equal-p): Doc fix.
1960 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1961 and quit the loop once a mismatch is found.
1962
ea8fb88d
JB
19632012-02-25 Juanma Barranquero <lekktu@gmail.com>
1964
1965 * bs.el (bs--show-with-configuration): Don't throw an error
1966 if the window cannot be split; otherwise, subsequent calls to
1967 bs-show fail, restoring a stale window config. (Bug#10882)
1968
525795c1
JD
19692012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1970
1971 * term/ns-win.el (global-map): Bind ns-drag-file to
1972 ns-find-file (Bug#5855, Bug#10050).
1973
f008086f
AS
19742012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1975
1976 * calendar/parse-time.el (parse-time-string): Allow extractor to
1977 return nil.
1978
a3fcfa99
MA
19792012-02-25 Michael Albinus <michael.albinus@gmx.de>
1980
91027d08
JB
1981 * net/tramp.el (tramp-file-name-for-operation):
1982 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1983
1984 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1985 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1986 Add COPY-CONTENTS argument.
a3fcfa99 1987
67b0de11
CY
19882012-02-25 Chong Yidong <cyd@gnu.org>
1989
1990 Add custom groups for VC backends, for consistency with vc-bzr.
1991
1992 * vc/vc-arch.el (vc-arch):
1993 * vc/vc-cvs.el (vc-cvs):
1994 * vc/vc-git.el (vc-git):
1995 * vc/vc-hg.el (vc-hg):
1996 * vc/vc-mtn.el (vc-mtn):
1997 * vc/vc-rcs.el (vc-rcs):
1998 * vc/vc-sccs.el (vc-sccs):
1999 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2000 All relevant defcustoms reassigned.
2001
3c9dfce6
CY
20022012-02-25 Chong Yidong <cyd@gnu.org>
2003
1339bf43
CY
2004 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2005
3c9dfce6
CY
2006 * term/x-win.el (x-initialize-window-system): Reduce default for
2007 x-selection-timeout to 5 seconds (Bug#8869).
2008
25b2e303 20092012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2010
ec70a47d
GM
2011 * files.el (files-equal-p, file-subdir-of-p): New functions.
2012 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2013 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2014 * dired-aux.el (dired-copy-file-recursive): Same.
2015 (dired-create-files): Modify destination when source is equal to
2016 dest when copying files.
53a46cd0 2017 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2018
914260cd
MA
20192012-02-24 Michael Albinus <michael.albinus@gmx.de>
2020
2021 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2022 (Bug#10874)
2023
2cb228f7
AM
20242012-02-23 Alan Mackenzie <acm@muc.de>
2025
2026 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2027 parameter "after-hook:" to allow the expansion to run code after
2028 the execution of the mode hooks.
2029
2030 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2031 from font-lock-mode-internal.
2cb228f7 2032
91027d08 2033 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2034 :after-hook.
2035
8f0fde21
SM
20362012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2037
3e88618b
SM
2038 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2039 (completion--cache-all-sorted-completions): New function.
2040 (completion-all-sorted-completions): Use it.
2041 (completion--do-completion, minibuffer-force-complete):
2042 Use it to re-instate the flush hook.
2043
8f0fde21
SM
2044 * icomplete.el (icomplete-completions): Replace last fix with a better
2045 one (bug#10850).
2046
8e911f6f
DG
20472012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2048
2049 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2050 when it might call us back infinitely (bug#10797).
2051
49fe4321
GM
20522012-02-23 Glenn Morris <rgm@gnu.org>
2053
2054 * minibuffer.el (completion-category-overrides): Doc fix.
2055
b291b572
SM
20562012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2059 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2060
31a9ef2e
GM
20612012-02-23 Glenn Morris <rgm@gnu.org>
2062
5e6e6794 2063 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2064 (authors-obsolete-files-regexps, authors-ignored-files)
2065 (authors-ambiguous-files, authors-renamed-files-alist):
2066 Add more entries.
2067
0bd1e074
JL
20682012-02-23 Juri Linkov <juri@jurta.org>
2069
2070 * isearch.el (isearch-occur): Sync interactive spec with occur's
2071 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2072
b617673c
JL
2073 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2074
19e9789e
JL
20752012-02-22 Juri Linkov <juri@jurta.org>
2076
2077 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2078 (ucs-insert): Doc fix. Check for hex digits in the string.
2079 Don't display `nil' in the error message. (Bug#10857)
2080
f41ce09d
AM
20812012-02-22 Alan Mackenzie <acm@muc.de>
2082
7a71b18d 2083 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2084
ac2eceee
GM
20852012-02-22 Glenn Morris <rgm@gnu.org>
2086
2087 * ffap.el (ffap-c-path):
2088 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2089
abd1f678
CY
20902012-02-22 Chong Yidong <cyd@gnu.org>
2091
2092 * custom.el (load-theme): Doc fix.
2093
f25aef2e
GM
20942012-02-22 Glenn Morris <rgm@gnu.org>
2095
2096 * dired-x.el (dired-guess-shell-alist-default):
2097 Remove escape sequences from nroff output. (Bug#172)
2098
5f8dc2ca
GM
20992012-02-21 Glenn Morris <rgm@gnu.org>
2100
6ff86ec4
GM
2101 * vc/emerge.el (emerge-defvar-local):
2102 Set `permanent-local' property rather than unused `preserved'.
2103
be3223a3 2104 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2105 (picture-mode-map): Use it. (Bug#10860)
2106 (picture-mode): Doc fix.
2107
3fe58f4f
JB
21082012-02-21 Juanma Barranquero <lekktu@gmail.com>
2109
2110 * newcomment.el (uncomment-region-default): Remove unused binding.
2111
f9a998c3
GM
21122012-02-21 Glenn Morris <rgm@gnu.org>
2113
2114 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2115 (picture-self-insert, picture-tab-chars): Doc fix.
2116 (picture-mode-map): Fix C-a, C-e.
2117
c6029348
GM
21182012-02-20 Glenn Morris <rgm@gnu.org>
2119
2120 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2121
ab1ce9d7
LL
21222012-02-20 Leo Liu <sdl.web@gmail.com>
2123
2124 * icomplete.el (icomplete-completions): Check FROM arg before
2125 passing to substring (Bug#10850).
2126
0fd40f89
CY
21272012-02-19 Chong Yidong <cyd@gnu.org>
2128
2129 * comint.el: Require ansi-color.
2130 (comint-output-filter-functions): Add ansi-color-process-output.
2131
2132 * ansi-color.el: Don't set comint-output-filter-functions; it is
2133 now in the initial value defined in comint.el.
2134 (ansi-color-apply-face-function): New variable.
2135 (ansi-color-apply-on-region): Use it.
2136 (ansi-color-apply-overlay-face): New function.
2137
2138 * shell.el (shell): No need to require ansi-color.
2139 (shell-mode): Use ansi-color-apply-face-function to highlight
2140 color escapes using font-lock-face property (Bug#10835).
2141
20af2394
CY
21422012-02-19 Chong Yidong <cyd@gnu.org>
2143
2144 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2145 mode-line formats (Bug#10839).
2146
e23a3fbe
GM
21472012-02-18 Glenn Morris <rgm@gnu.org>
2148
b474519e
GM
2149 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2150
2151 * mail/undigest.el (unforward-rmail-message): Doc fix.
2152
e23a3fbe
GM
2153 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2154
57939ff4
EZ
21552012-02-18 Eli Zaretskii <eliz@gnu.org>
2156
2157 * international/characters.el (script-list): Sync with the latest
2158 Unicode Character Database.
2159
0c23686e
AS
21602012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2161
2162 * international/titdic-cnv.el: Remove duplicate coding tag.
2163 * language/cham.el: Likewise.
2164 * language/tai-viet.el: Likewise.
2165
6818b449
GM
21662012-02-18 Glenn Morris <rgm@gnu.org>
2167
2168 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2169 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2170 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2171 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2172 * calendar/holidays.el (holiday-bahai-holidays)
2173 (calendar-holidays, list-holidays):
2174 Use utf-8 Bahá'í in doc-strings, menus, etc.
2175
0311a3fc
TH
21762012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2177
2178 * saveplace.el (save-place-ignore-files-regexp): New variable
2179 allowing for excluding files from saving their location of point.
2180 The default value matches the temporary commit message editing
2181 files from Git, SVN, Bazaar, and Mercurial.
2182 (save-place-to-alist): Use it.
2183
eb864a71
LM
21842012-02-17 Lawrence Mitchell <wence@gmx.li>
2185 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * newcomment.el (uncomment-region-default): Don't leave extra space
2188 when an arg is provided (bug#8150).
2189
ee0ce425
TZ
21902012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2191
eb864a71 2192 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2193
95ddf442
GM
21942012-02-17 Glenn Morris <rgm@gnu.org>
2195
2196 * net/socks.el: Require network-stream. (Bug#10599)
2197
48dd1e39 21982012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2199
2200 * international/charprop.el:
2201 * international/uni-name.el:
2202 * international/uni-old-name.el:
2203 * international/uni-comment.el: Regenerate.
2204
d68cd087
GM
22052012-02-16 Glenn Morris <rgm@gnu.org>
2206
2207 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2208 Interactively in calendar buffer, give an error if not on a date.
2209
13932042
GM
22102012-02-15 Glenn Morris <rgm@gnu.org>
2211
2212 * shell.el (shell-delimiter-argument-list):
2213 Revert 2011-02-17 change. (Bug#8027)
2214
c3a70e2b
CY
22152012-02-15 Chong Yidong <cyd@gnu.org>
2216
60236b0d
CY
2217 * minibuffer.el (completion-at-point-functions): Doc fix.
2218
c3a70e2b
CY
2219 * custom.el (defcustom): Doc fix; note use of defvar.
2220
9f26dc24
GM
22212012-02-15 Glenn Morris <rgm@gnu.org>
2222
2223 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2224 Doc fixes.
2225
6546b134
GM
22262012-02-14 Glenn Morris <rgm@gnu.org>
2227
2228 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2229
d29b2b4c
LI
22302012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2231
2232 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2233 way the ports list is computed.
835bdcba
LI
2234 (smtpmail-query-smtp-server): Prompt the user for a port number if
2235 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2236
08dcdbc9
TZ
22372012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2238
2239 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2240
2605051a
GM
22412012-02-13 Glenn Morris <rgm@gnu.org>
2242
2243 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2244
7ee99f32
TZ
22452012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2246
2247 * net/gnutls.el (gnutls-trustfiles): New variable.
2248 (gnutls-negotiate): Use it.
2249
5f0af64f
LI
22502012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2251
2252 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2253 does its stuff if Gnus is running.
2254
c14fcc95
AM
22552012-02-13 Alan Mackenzie <acm@muc.de>
2256
2257 Fix a loop in c-set-fl-decl-start.
2258
7a71b18d 2259 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2260 c-backward-syntactic-ws actually moves backwards.
2261
142b4d90
LL
22622012-02-13 Leo Liu <sdl.web@gmail.com>
2263
2264 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2265 beginning so that all \C-o chars are removed.
2266
fa9958a6
TZ
22672012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2268
dc9924b8 2269 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2270
0bc5886a
AM
22712012-02-12 Alan Mackenzie <acm@muc.de>
2272
2273 Fix infinite loop with long macros.
4d6769e1 2274 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2275
d4bd55e7
CY
22762012-02-12 Chong Yidong <cyd@gnu.org>
2277
2278 * window.el (display-buffer): Doc fix (Bug#10785).
2279
66f3fe22
GM
22802012-02-12 Glenn Morris <rgm@gnu.org>
2281
bd7da63e
GM
2282 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2283 (x-disown-selection-internal, x-get-selection-internal):
2284 Sync docs with the xselect.c versions.
2285
66f3fe22
GM
2286 * allout-widgets.el: Add missing license notice.
2287
3e0d2fa7
GM
22882012-02-11 Glenn Morris <rgm@gnu.org>
2289
cfecdf09
GM
2290 * select.el (x-get-selection-internal, x-own-selection-internal)
2291 (x-disown-selection-internal):
2292 * x-dnd.el (x-get-selection-internal): Update declarations.
2293
6d216d7f
GM
2294 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2295
2bed3f04
GM
2296 * window.el (window-sides-slots):
2297 * tool-bar.el (tool-bar-position):
2298 * term/xterm.el (xterm-extra-capabilities):
2299 * ses.el (ses-self-reference-early-detection):
2300 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2301 (verilog-auto-wire-type)
2302 (verilog-auto-delete-trailing-whitespace)
2303 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2304 (verilog-auto-tieoff-declaration):
2305 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2306 (sql-oracle-statement-starters, sql-oracle-scan-on):
2307 * progmodes/prolog.el (prolog-align-comments-flag)
2308 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2309 (prolog-left-indent-regexp, prolog-paren-indent-p)
2310 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2311 (prolog-types, prolog-mode-specificators)
2312 (prolog-determinism-specificators, prolog-directives)
2313 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2314 (prolog-electric-dot-flag)
2315 (prolog-electric-dot-full-predicate-template)
2316 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2317 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2318 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2319 (prolog-program-switches, prolog-prompt-regexp)
2320 (prolog-debug-on-string, prolog-debug-off-string)
2321 (prolog-trace-on-string, prolog-trace-off-string)
2322 (prolog-zip-on-string, prolog-zip-off-string)
2323 (prolog-use-standard-consult-compile-method-flag)
2324 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2325 (prolog-imenu-max-lines, prolog-info-predicate-index)
2326 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2327 (prolog-char-quote-workaround):
2328 * progmodes/cc-vars.el (c-defun-tactic):
2329 * net/tramp.el (tramp-encoding-command-interactive)
2330 (tramp-local-end-of-line):
2331 * net/soap-client.el (soap-client):
2332 * net/netrc.el (netrc-file):
2333 * net/gnutls.el (gnutls):
2334 * minibuffer.el (completion-category-overrides)
2335 (completion-cycle-threshold)
2336 (completion-pcm-complete-word-inserts-delimiters):
2337 * man.el (Man-name-local-regexp):
2338 * mail/feedmail.el (feedmail-display-full-frame):
2339 * international/characters.el (glyphless-char-display-control):
2340 * eshell/em-ls.el (eshell-ls-date-format):
2341 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2342 (lisp-lambda-list-keyword-parameter-indentation)
2343 (lisp-lambda-list-keyword-parameter-alignment):
2344 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2345 * dired-x.el (dired-omit-verbose):
2346 * cus-theme.el (custom-theme-allow-multiple-selections):
2347 * calc/calc.el (calc-highlight-selections-with-faces)
2348 (calc-lu-field-reference, calc-lu-power-reference)
2349 (calc-note-threshold):
2350 * battery.el (battery-mode-line-limit):
2351 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2352 (archive-7z-update):
2353 * allout.el (allout-prefixed-keybindings)
2354 (allout-unprefixed-keybindings)
2355 (allout-inhibit-auto-fill-on-headline)
2356 (allout-flattened-numbering-abbreviation):
2357 * allout-widgets.el (allout-widgets-auto-activation)
2358 (allout-widgets-icons-dark-subdir)
2359 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2360 (allout-widgets-theme-dark-background)
2361 (allout-widgets-theme-light-background)
2362 (allout-widgets-item-image-properties-emacs)
2363 (allout-widgets-item-image-properties-xemacs)
2364 (allout-widgets-run-unit-tests-on-load)
2365 (allout-widgets-time-decoration-activity)
2366 (allout-widgets-hook-error-post-time)
2367 (allout-widgets-track-decoration):
2368 Add missing :version tags to new defcustoms and defgroups.
2369
5fec1b8e
GM
2370 * progmodes/sql.el (sql-ansi-statement-starters)
2371 (sql-oracle-statement-starters): Add custom type.
2372
3e0d2fa7
GM
2373 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2374 (prolog-system-version): Give it a type.
2375
90b671e2
EZ
23762012-02-11 Eli Zaretskii <eliz@gnu.org>
2377
2378 * term/pc-win.el (x-select-text, x-selection-owner-p)
2379 (x-own-selection-internal, x-disown-selection-internal)
2380 (x-get-selection-internal): Sync doc strings and argument lists
2381 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2382
5eac0c02
LL
23832012-02-11 Leo Liu <sdl.web@gmail.com>
2384
2385 * progmodes/python.el (python-end-of-statement): Fix infinite
2386 loop. (Bug#10788)
2387
f82cb659
GM
23882012-02-10 Glenn Morris <rgm@gnu.org>
2389
2390 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2391 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2392
cc26d239
LI
23932012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2394
2395 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2396 about SMTP before checking the From header.
2397
91027d08 2398 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2399 into own function for reuse by emacsbug.el.
2400
1be3ca5a
LL
24012012-02-10 Leo Liu <sdl.web@gmail.com>
2402
2403 * subr.el (condition-case-unless-debug): Rename from
2404 condition-case-no-debug. All callers changed.
2405 (with-demoted-errors): Fix caller.
2406
2407 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2408 * nxml/rng-valid.el (rng-do-some-validation):
2409 * emacs-lisp/package.el (package-refresh-contents)
2410 (package-menu-execute):
2411 * desktop.el (desktop-create-buffer):
91027d08 2412 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2413
b011fbfe
GM
24142012-02-10 Glenn Morris <rgm@gnu.org>
2415
b2096d72
GM
2416 * textmodes/bibtex.el:
2417 Add missing :version tags for new/changed defcustoms.
2418
b011fbfe
GM
2419 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2420
4c7e65bf
LI
24212012-02-09 Lars Ingebrigtsen <larsi@rusty>
2422
2423 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2424 (smtpmail-via-smtp): Use it, or fall back on the From address.
2425 (smtpmail-send-it): Ditto.
2426
f3934f6f
SM
24272012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2430 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2431 (byte-compile-tmp-var): New const.
2432 (byte-compile-defvar): Use it to minimize .elc size.
2433 Just use `defvar' rather than simulate it (bug#10761).
2434
a075a2c5
GM
24352012-02-09 Glenn Morris <rgm@gnu.org>
2436
cf3aa21b
GM
2437 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2438
354998cd
GM
2439 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2440 Add :version tags.
2441
dc9924b8
SM
2442 * progmodes/compile.el (compilation-error-screen-columns)
2443 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2444
dab3703d
GM
2445 * vc/log-view.el (log-view-toggle-entry-display):
2446 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2447
3f88cd72
GM
2448 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2449 (report-emacs-bug-can-use-xdg-email):
2450 (report-emacs-bug-insert-to-mailer): Doc fixes.
2451 (report-emacs-bug): Message fix.
2452
d95b247d
GM
2453 * net/browse-url.el (browse-url-can-use-xdg-open)
2454 (browse-url-xdg-open): Doc fixes.
2455
a075a2c5
GM
2456 * electric.el (electric-indent-mode, electric-pair-mode)
2457 (electric-layout-rules, electric-layout-mode): Doc fixes.
2458 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2459
ffb6157e
MR
24602012-02-08 Martin Rudalics <rudalics@gmx.at>
2461
2462 * server.el (server-unselect-display): Don't inadvertently kill
2463 the current buffer. (Bug#10729)
2464
e1ac4066
GM
24652012-02-08 Glenn Morris <rgm@gnu.org>
2466
34e8a2da
GM
2467 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2468 (sql-list-table): Doc fixes.
2469
b4ac6e8c
GM
2470 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2471 Comment out (does nothing).
2472
e1ac4066
GM
2473 * completion.el (dynamic-completion-mode):
2474 * dirtrack.el (dirtrack-debug-mode):
2475 * electric.el (electric-layout-mode):
2476 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2477 * face-remap.el (text-scale-mode, buffer-face-mode):
2478 * iimage.el (iimage-mode):
2479 * image-mode.el (image-transform-mode):
2480 * minibuffer.el (completion-in-region-mode):
2481 * scroll-lock.el (scroll-lock-mode):
2482 * simple.el (next-error-follow-minor-mode):
2483 * tar-mode.el (tar-subfile-mode):
2484 * tooltip.el (tooltip-mode):
2485 * vcursor.el (vcursor-use-vcursor-map):
2486 * wid-browse.el (widget-minor-mode):
2487 * emulation/tpu-edt.el (tpu-edt-mode):
2488 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2489 * international/iso-ascii.el (iso-ascii-mode):
2490 * language/thai-util.el (thai-word-mode):
2491 * mail/supercite.el (sc-minor-mode):
2492 * net/goto-addr.el (goto-address-mode):
2493 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2494 * progmodes/cwarn.el (cwarn-mode):
2495 * progmodes/flymake.el (flymake-mode):
2496 * progmodes/glasses.el (glasses-mode):
2497 * progmodes/hideshow.el (hs-minor-mode):
2498 * progmodes/pascal.el (pascal-outline-mode):
2499 * textmodes/enriched.el (enriched-mode):
2500 * vc/smerge-mode.el (smerge-mode):
2501 Doc fixes (minor mode argument).
2502
5e0d957f
EZ
25032012-02-07 Eli Zaretskii <eliz@gnu.org>
2504
2505 * ls-lisp.el (ls-lisp-sanitize): New function.
2506 (ls-lisp-insert-directory): Use it to fix or remove any elements
2507 in file-alist with missing attributes. (Bug#4673)
2508
98d7371e
AM
25092012-02-07 Alan Mackenzie <acm@muc.de>
2510
2511 Fix spurious recognition of c-in-knr-argdecl.
2512
2513 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2514 putative K&R region.
2515
667ced3a
AM
25162012-02-07 Alan Mackenzie <acm@muc.de>
2517
eb864a71
LM
2518 * progmodes/cc-engine.el (c-forward-objc-directive):
2519 Prevent looping in "#pragma mark @implementation".
667ced3a 2520
5b77774d
MA
25212012-02-07 Michael Albinus <michael.albinus@gmx.de>
2522
2523 * notifications.el (notifications-on-closed-signal): Make `reason'
2524 optional. (Bug#10744)
2525
af008560
GM
25262012-02-07 Glenn Morris <rgm@gnu.org>
2527
60d47423
GM
2528 * emacs-lisp/easy-mmode.el (define-minor-mode):
2529 Doc fixes for the macro and the mode it defines.
2530
dd605cc4
GM
2531 * image.el (imagemagick-types-inhibit): Doc fix.
2532
af008560
GM
2533 * cus-start.el (imagemagick-render-type): Add it.
2534
5cc59a37
LI
25352012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2536
4d6769e1
JB
2537 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2538 Set the default at load time, too, so that `font-lock-fontify-buffer'
2539 can be called without setting up the entire mode first. This fixes
2540 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2541
9a6dd747
CY
25422012-02-06 Chong Yidong <cyd@gnu.org>
2543
2d16b285
CY
2544 * simple.el (list-processes--refresh): Delete exited processes
2545 (Bug#8094).
2546
171e9b6e
CY
2547 * comint.el (comint-next-prompt): next-single-char-property-change
2548 and prev-single-char-property-change never return nil (Bug#8657).
2549
9a6dd747
CY
2550 * custom.el (defcustom): Doc fix (Bug#9711).
2551
aa4589a7
CY
25522012-02-05 Chong Yidong <cyd@gnu.org>
2553
5c2a252f
CY
2554 * cus-edit.el (custom-variable-reset-backup): Quote the value
2555 before storing it in the customized-value property (Bug#6712).
4aab9006 2556 (custom-display): Add a customization type tag.
983b9602 2557 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2558
aa4589a7
CY
2559 * wid-edit.el (widget-field-value-get): New optional arg to
2560 suppress trailing whitespace truncation.
2561 (character): Use it (Bug#2689).
2562
1ff980ae
AS
25632012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2564
2565 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2566 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2567
03988c98
CY
25682012-02-05 Chong Yidong <cyd@gnu.org>
2569
eeb6cc88
CY
2570 * cus-edit.el (custom-variable-value-create): For mismatched
2571 types, show the current value (Bug#7600).
2572
03988c98
CY
2573 * custom.el (defcustom): Doc fix.
2574
f8cdeef0
GM
25752012-02-05 Glenn Morris <rgm@gnu.org>
2576
2577 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2578
0696d255
JB
25792012-02-05 Juanma Barranquero <lekktu@gmail.com>
2580
2581 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2582 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2583 (pp-last-sexp): Use `looking-at-p'.
2584
34c99998
GM
25852012-02-04 Glenn Morris <rgm@gnu.org>
2586
8f05da42
GM
2587 * files.el (revert-buffer):
2588 Doc fix (mention revert-buffer-in-progress-p).
2589
f160676e
GM
2590 * emacs-lisp/ert-x.el (ert-simulate-command):
2591 Check deferred-action-list (which is obsolete) is bound.
2592
c7291ad9
GM
2593 * subr.el (with-wrapper-hook): Doc fixes.
2594
34c99998
GM
2595 * simple.el (filter-buffer-substring-functions)
2596 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2597
6283a7d3
LL
25982012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2599
2600 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2601 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2602
e96e3013
LL
26032012-02-04 Leo Liu <sdl.web@gmail.com>
2604
2605 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2606
8ded50f2
GM
26072012-02-04 Glenn Morris <rgm@gnu.org>
2608
82ff1d13
GM
2609 * image.el (image-extension-data): Add obsolete alias.
2610
987a0a16
GM
2611 * isearch.el (isearch-update): Doc fix.
2612
ea32ef46
GM
2613 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2614
8ded50f2
GM
2615 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2616
eea14f31
GM
26172012-02-03 Glenn Morris <rgm@gnu.org>
2618
2619 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2620 (image-animate-timeout): Doc fix.
2621
2622 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2623
12f381b7
GM
26242012-02-02 Glenn Morris <rgm@gnu.org>
2625
953cebf5
GM
2626 * server.el (server-auth-dir): Doc fix.
2627 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2628
12f381b7
GM
2629 * subr.el (run-mode-hooks): Doc fix.
2630
953a8c3b
JL
26312012-02-02 Juri Linkov <juri@jurta.org>
2632
2633 * image-mode.el (image-toggle-display-image): Remove tautological
2634 `major-mode' from the `derived-mode-p' test.
2635
c5d3843c
KH
26362012-02-02 Kenichi Handa <handa@m17n.org>
2637
9f6e692e 2638 * composite.el (compose-region): Cancel previous change.
c5d3843c 2639
159462d4 26402012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2641
2642 * composite.el (compose-region, compose-string): Signal error for
2643 a null string component (Bug#6988).
2644
9f562668
CY
26452012-02-01 Chong Yidong <cyd@gnu.org>
2646
e2cef717
CY
2647 * view.el (view-buffer-other-window, view-buffer-other-frame):
2648 Handle special modes like view-buffer (Bug#10650).
2649 (view-buffer): Simplify.
2650
9f562668
CY
2651 * frame.el (set-frame-font): Tweak meaning of third argument.
2652
9f6e692e
JB
2653 * dynamic-setting.el (font-setting-change-default-font):
2654 Use set-frame-font (Bug#9982).
9f562668 2655
781acb9f
GM
26562012-02-01 Glenn Morris <rgm@gnu.org>
2657
6035be52
GM
2658 * progmodes/compile.el (compilation-internal-error-properties):
2659 Respect compilation-first-column in the "*compilation*" buffer.
2660
781acb9f
GM
2661 * emacs-lisp/easy-mmode.el (define-minor-mode):
2662 Relax :variable's test for a named function.
2663
abbceb00
AM
26642012-01-31 Alan Mackenzie <acm@muc.de>
2665
2666 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2667 off by one error.
2668
fce3fdeb
CY
26692012-01-31 Chong Yidong <cyd@gnu.org>
2670
2671 * frame.el (set-frame-font): New arg ALL-FRAMES.
2672
2673 * menu-bar.el (menu-set-font): Use set-frame-font.
2674
2675 * faces.el (face-spec-reset-face): Don't apply unspecified
2676 attribute values to the default face.
2677
47893581
JB
26782012-01-31 Juanma Barranquero <lekktu@gmail.com>
2679
2680 * progmodes/cwarn.el (cwarn): Remove dead link.
2681 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2682 Remove * from defcustom docstrings.
2683 (turn-on-cwarn-mode): Make obsolete.
2684 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2685 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2686
e58e988a
GM
26872012-01-31 Glenn Morris <rgm@gnu.org>
2688
60dc2671 2689 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2690 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2691 Allow named functions to be used as the cdr of :variable.
e58e988a 2692
7a3f511d
GM
26932012-01-30 Glenn Morris <rgm@gnu.org>
2694
2695 * emacs-lisp/authors.el (authors-fixed-entries):
2696 Remove reference to deleted file rnewspost.el.
2697
cb882333
JB
26982012-01-29 Juanma Barranquero <lekktu@gmail.com>
2699
2700 * window.el (window-with-parameter): Remove unused variable `windows'.
2701 (window--side-check): Remove unused variable `code'.
2702 (window--resize-siblings): Remove unused variable `first'.
2703 (adjust-window-trailing-edge): Remove unused variable `failed'.
2704 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2705 Use `let', not `let*'.
2706 (balance-windows-2): Remove unused variable `found'.
2707 (window--state-put-2): Remove unused variable `splits'.
2708 (window-state-put): Remove unused variable `selected'.
2709 (same-window-p): Use `string-match-p'.
2710 (display-buffer-assq-regexp): Remove unused variable `value'.
2711 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2712 Mark argument ALIST as ignored.
2713 (pop-to-buffer): Remove unused variable `old-window'.
2714
907201af
EZ
27152012-01-29 Eli Zaretskii <eliz@gnu.org>
2716
2717 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2718 and .lzma compressed files.
2719
ea162670
CY
27202012-01-29 Chong Yidong <cyd@gnu.org>
2721
5b95ee8a
CY
2722 * frame.el (window-system-default-frame-alist): Doc fix.
2723
ea162670
CY
2724 * dynamic-setting.el (font-setting-change-default-font): Don't
2725 change the default face if SET-FONT argument is non-nil (Bug#9982).
2726
d6e6f4b1
SB
27272012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2728
2729 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2730
0f29fa41 27312012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2732
2733 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2734 breakpoints in files outside current directory (Bug#6098).
2735
db174434
CY
27362012-01-29 Chong Yidong <cyd@gnu.org>
2737
6b25e4e2
SE
2738 * progmodes/python.el: Require ansi-color at top-level.
2739
6df6ae42
JB
2740 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2741 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2742 (lisp-mode-abbrev-table): Add doc.
2743 (lisp-mode-variables): Don't set local-abbrev-table.
2744 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2745
e70ee681
RW
27462012-01-28 Roland Winkler <winkler@gnu.org>
2747
2748 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2749
ace88aa2
RW
27502012-01-28 Roland Winkler <winkler@gnu.org>
2751
2752 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2753 (bibtex-set-dialect): Use it. Either set global values of
2754 dialect-dependent variables or bind these variables buffer-locally
2755 (Bug#10254).
2756 (bibtex-mode): Call bibtex-set-dialect via
2757 hack-local-variables-hook.
eb864a71
LM
2758 (bibtex-dialect): Update docstring.
2759 Add safe-local-variable predicate.
ace88aa2
RW
2760 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2761 bibtex-set-dialect.
2762 (bibtex-mode-map): Define menu for each dialect.
2763 (bibtex-entry): Fix docstring.
2764
93376c5b
CY
27652012-01-28 Chong Yidong <cyd@gnu.org>
2766
2767 * eshell/esh-arg.el (eshell-quote-argument): New function.
2768
2769 * eshell/esh-ext.el (eshell-invoke-batch-file):
2770 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2771 first arg to eshell-parse-command (Bug#10523).
2772
4372494f
DA
27732012-01-28 Drew Adams <drew.adams@oracle.com>
2774
2775 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2776 `default-directory' is non-nil.
2777
4d4ec1f8
EZ
27782012-01-28 Eli Zaretskii <eliz@gnu.org>
2779
2780 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2781 line that displays system-configuration-options. (Bug#9924)
2782
7c188927
DA
27832012-01-28 Drew Adams <drew.adams@oracle.com>
2784
2785 * descr-text.el (describe-char): Show information about POS, in
2786 addition to information about the character at POS. Improve and
2787 update the doc string. Change "code point" to "code point in
2788 charset", to avoid confusion with the character's Unicode code
2789 point shown above that. (Bug#10129)
2790
e0da685a
EZ
27912012-01-28 Eli Zaretskii <eliz@gnu.org>
2792
2793 * descr-text.el (describe-char): Show the raw character, not only
2794 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2795 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2796 for the reasons.
2797
70550acf
PH
27982012-01-28 Phil Hagelberg <phil@hagelb.org>
2799
eb864a71
LM
2800 * emacs-lisp/package.el (package-install):
2801 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2802
0ce8e868
CY
28032012-01-28 Chong Yidong <cyd@gnu.org>
2804
cb882333
JB
2805 * emacs-lisp/package.el (package-maybe-load-descriptor):
2806 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2807 (package-maybe-load-descriptor): Use it.
2808 (package-download-transaction): Fully load required packages
2809 inside the loop, so that `require' calls work (Bug#10593).
2810 (package-install): No need to call package-initialize now.
2811
2e7f3bea
CY
28122012-01-28 Chong Yidong <cyd@gnu.org>
2813
6e9bad14
CY
2814 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2815
f823b8ca
CY
2816 * tooltip.el (tooltip-mode): Doc fix.
2817 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2818
2680c309
CY
2819 * frame.el (set-cursor-color): Doc fix (Bug#352).
2820
d7a9e63b
CY
2821 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2822 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2823
2e7f3bea
CY
2824 * cus-edit.el (custom-buffer-create-internal): Fix search button
2825 action (Bug#10542).
2ae01800 2826 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2827
fc4f7a23
EW
28282012-01-27 Eduard Wiebe <usenet@pusto.de>
2829
2830 * dired.el (dired-mark-files-regexp):
2831 Include any subdirectory components. (Bug#10445)
2832
7dd37071
ML
28332012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2834
2835 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2836 Handle [host]:port syntax. (Bug#10533)
2837
a268160b
AH
28382012-01-27 Alex Harsanyi <harsanyi@mac.com>
2839
2840 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2841
e43273ef
GM
28422012-01-26 Glenn Morris <rgm@gnu.org>
2843
2844 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2845 * term.el (term-raw-escape-map): Use Control-X-prefix.
2846 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2847
1edf595d
MR
28482012-01-25 Martin Rudalics <rudalics@gmx.at>
2849
2850 * window.el (window-state-get, window--state-get-1): Don't deal
2851 with fixed-sizeness of windows. Simplify code.
2852
fa8eafef
JC
28532012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2854
6df6ae42
JB
2855 * window.el (window--state-get-1, window--state-put-2):
2856 Don't save and restore the mark.
fa8eafef 2857
0b21c100
CY
28582012-01-25 Chong Yidong <cyd@gnu.org>
2859
2860 * custom.el (custom-variable-p): Doc fix.
2861
5ae1a6c8
GM
28622012-01-25 Glenn Morris <rgm@gnu.org>
2863
40047858
GM
2864 * dired.el (dired-goto-file): Handle some of the more common
2865 characters that `ls -b' escapes. (Bug#10596)
2866
5ddce96c
GM
2867 * progmodes/compile.el (compilation-next-error-function):
2868 Respect compilation-first-column in the "*compilation*" buffer.
2869 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2870
5ae1a6c8
GM
2871 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2872
b559f1a9
GM
28732012-01-24 Glenn Morris <rgm@gnu.org>
2874
2875 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2876
6725d21a
JD
28772012-01-24 Julien Danjou <julien@danjou.info>
2878
2879 * color.el (color-rgb-to-hsl): Fix value computing.
2880 (color-hue-to-rgb): New function.
2881 (color-hsl-to-rgb): New function.
2882 (color-clamp, color-saturate-hsl, color-saturate-name)
2883 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2884 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2885
70df4bbe
GM
28862012-01-24 Glenn Morris <rgm@gnu.org>
2887
2888 * vc/vc-rcs.el (vc-rcs-create-tag):
2889 * vc/vc-sccs.el (vc-sccs-create-tag):
2890 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2891
802a2ae2
ML
28922012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2893
2894 * eshell/esh-util.el (eshell-read-hosts-file):
2895 Skip comment lines. (Bug#10549)
2896
d7128bb1
ML
2897 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2898
d1a5c3b4
JB
28992012-01-23 Juanma Barranquero <lekktu@gmail.com>
2900
2724d9c7
JB
2901 * subr.el (display-delayed-warnings): Doc fix.
2902 (collapse-delayed-warnings): New function to collapse identical
2903 adjacent warnings.
2904 (delayed-warnings-hook): Add it.
d1a5c3b4 2905
a5509865
MA
29062012-01-22 Michael Albinus <michael.albinus@gmx.de>
2907
2908 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2909
2910 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2911 properties, when "login-as" is set.
2912
2913 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2914 (tramp-default-user-alist): Don't add "pscp".
2915 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2916 property "login-as", if set. (Bug#10530)
2917
cc6d5805
MA
29182012-01-21 Michael Albinus <michael.albinus@gmx.de>
2919
2920 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2921 "plink1" and "psftp". (Bug#10530)
2922
29232012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2924
2925 * international/mule-cmds.el (prefer-coding-system): Show a
2926 warning message if the default value of file-name-coding-system
2927 was not changed.
2928
f0960428
JC
29292012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2930
cb882333
JB
2931 * windmove.el (windmove-reference-loc):
2932 Fix windmove-reference-loc miscalculation.
f0960428 2933
dd6f2a63
JB
29342012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2935
2936 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2937 default unit.
2938
7b447e9b
GM
29392012-01-21 Glenn Morris <rgm@gnu.org>
2940
117a9ea1
GM
2941 * international/mule.el (auto-coding-alist): Add .tbz.
2942
7b447e9b
GM
2943 * files.el (local-enable-local-variables): Doc fix.
2944 (inhibit-local-variables-regexps): Rename from
2945 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2946 Doc fix. Add some extensions from auto-coding-alist.
2947 (inhibit-local-variables-suffixes):
2948 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2949 (inhibit-local-variables-p):
2950 New function, extracted from set-auto-mode-1.
2951 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2952 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2953 (hack-local-variables): Doc fix. Make the mode-only case
2954 respect enable-local-variables and friends.
2955 Respect inhibit-local-variables-regexps for file-locals, but
2956 not for directory-locals.
2957 (set-visited-file-name):
2958 Take account of inhibit-local-variables-regexps.
2959 Whether it applies may change as the file name is changed.
2960 * jka-cmpr-hook.el (jka-compr-install):
2961 * jka-compr.el (jka-compr-uninstall):
2962 Update for inhibit-first-line-modes-suffixes name change.
2963
dd6e3cdd
MR
29642012-01-20 Martin Rudalics <rudalics@gmx.at>
2965
2966 * help-macro.el (make-help-screen): Temporarily restore original
2967 binding for minor-mode-map-alist (Bug#10454).
2968
0d0deb38
JD
29692012-01-19 Julien Danjou <julien@danjou.info>
2970
2971 * color.el (color-name-to-rgb): Use the white color to find the max
2972 color component value and return correctly computed values.
2973 (color-name-to-rgb): Add missing float conversion for max value.
2974
34a02f46
MR
29752012-01-19 Martin Rudalics <rudalics@gmx.at>
2976
2977 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2978 special state value for window-persistent-parameters.
2979 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2980 (window--state-put-2): Reset all window parameters to nil before
2981 assigning values of persistent parameters.
2982
606c44c4
AM
29832012-01-18 Alan Mackenzie <acm@muc.de>
2984
2985 Eliminate sluggishness and hangs in fontification of "semicolon
2986 deserts".
2987
cb882333
JB
2988 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2989 Change value 10000 -> 3000.
606c44c4
AM
2990 (c-state-safe-place): Reformulate so it doesn't stack up an
2991 infinite number of wrong entries in c-state-nonlit-pos-cache.
2992 (c-determine-limit-get-base, c-determine-limit): New functions to
2993 determine backward search limits disregarding literals.
2994 (c-find-decl-spots): Amend commenting.
2995 (c-cheap-inside-bracelist-p): New function which detects "={".
2996
2997 * progmodes/cc-fonts.el
2998 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2999 backward search.
3000 (c-font-lock-declarations): Fix an occurrence of point being
3001 undefined. Check additionally for point being in a bracelist or
3002 near a macro invocation without a semicolon so as to avoid a
3003 fruitless time consuming search for a declarator. Give a more
3004 precise search limit for declarators using the new
3005 c-determine-limit.
3006
f3860cea
GM
30072012-01-18 Glenn Morris <rgm@gnu.org>
3008
3009 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3010 (set-auto-mode): Doc fixes.
3011
1db03b16
GM
30122012-01-17 Glenn Morris <rgm@gnu.org>
3013
0e6038be
GM
3014 * isearch.el (search-nonincremental-instead): Fix doc typo.
3015
1db03b16
GM
3016 * dired.el (dired-insert-directory): Handle newlines in directory name.
3017 (dired-build-subdir-alist): Unescape newlines in directory name.
3018
4cb0aa75
MA
30192012-01-17 Michael Albinus <michael.albinus@gmx.de>
3020
3021 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3022 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3023 (tramp-action-terminal): Use it. (Bug#10530)
3024
1d00653d
SM
30252012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3028
6a6ee00d
MR
30292012-01-16 Martin Rudalics <rudalics@gmx.at>
3030
3031 * window.el (window-state-ignored-parameters): Remove variable.
3032 (window--state-get-1): Rename argument MARKERS to IGNORE.
3033 Handle persistent window parameters. Make copy of clone-of
3034 parameter only if requested. (Bug#10348)
3035 (window--state-put-2): Install a window parameter only if it has
3036 a non-nil value or an existing parameter shall be overwritten.
3037
97912def
MA
30382012-01-15 Michael Albinus <michael.albinus@gmx.de>
3039
3040 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3041
688070a5
EZ
30422012-01-14 Eli Zaretskii <eliz@gnu.org>
3043
3044 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3045 don't pass the (nil) value of `upnode' to string-match.
3046
301afadc
CY
30472012-01-14 Chong Yidong <cyd@gnu.org>
3048
3049 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3050 Fix values recognized by the cursorBlink resource.
301afadc 3051
9e5788aa
PE
30522012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3053
3054 * epg.el (epg--make-temp-file): Avoid permission race condition
3055 when running on old Emacs versions (bug#10403).
3056
3cdb7f5a
GM
30572012-01-14 Glenn Morris <rgm@gnu.org>
3058
3059 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3060
8c82b1b4
AM
30612012-01-13 Alan Mackenzie <acm@muc.de>
3062
3063 Fix filling for when filladapt mode is enabled.
3064
3065 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3066 c-mask-paragraph, pass in `fill-paragraph' rather than
3067 `fill-region-as-paragraph'. (This is a reversion of a previous
3068 change.)
eb864a71
LM
3069 * progmodes/cc-mode.el (c-basic-common-init):
3070 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3071
e517eda4
GM
30722012-01-13 Glenn Morris <rgm@gnu.org>
3073
1498536e
GM
3074 * dired.el (dired-switches-escape-p): New function.
3075 (dired-insert-directory): Use dired-switches-escape-p.
3076 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3077
e517eda4
GM
3078 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3079
328f984d
GM
30802012-01-12 Glenn Morris <rgm@gnu.org>
3081
3082 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3083 changes in adaptive-fill-regexp. (Bug#10276)
3084
2cc769a8
AM
30852012-01-11 Alan Mackenzie <acm@muc.de>
3086
3087 Fix Emacs bug #10463 - put `widen's around the critical spots.
3088
1d00653d 3089 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3090 widen around each invocation of c-state-pp-to-literal. Remove an
3091 unused let variable.
3092
e52c37fa
GM
30932012-01-11 Glenn Morris <rgm@gnu.org>
3094
3095 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3096 Doc fix.
e52c37fa 3097
96f8741e
CY
30982012-01-10 Chong Yidong <cyd@gnu.org>
3099
1d00653d
SM
3100 * net/network-stream.el (network-stream-open-starttls):
3101 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3102 response to the capability command.
3103
b09a806e
GM
31042012-01-10 Glenn Morris <rgm@gnu.org>
3105
3106 * mail/unrmail.el (unrmail): Tweak previous change.
3107
7655cb66
CY
31082012-01-09 Chong Yidong <cyd@gnu.org>
3109
3110 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3111
9d5a8f0b
AM
31122012-01-08 Alan Mackenzie <acm@muc.de>
3113
3114 Optimise font locking in long enum definitions.
3115
3116 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3117 arm to a cond form to handle enums.
3118 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3119 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3120
9a0115ab 31212012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3122
3123 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3124 (Bug#10401)
6bb72cbd 3125
f186bb95
LMI
31262012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3127
29232a68
LMI
3128 * faces.el (set-face-attribute): Clarify the meaning of the nil
3129 frame (bug#10294).
3130
4e5d086d
LMI
3131 * subr.el (with-selected-frame): Mention that the selected frame
3132 is restored (bug#9980).
3133
8e66aebe
LMI
3134 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3135 (bug#9759).
3136
cd394be1 3137 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3138 (password-read): Don't autoload unused function.
3139
adf4e762
JB
31402012-01-07 Juanma Barranquero <lekktu@gmail.com>
3141
3142 * progmodes/which-func.el (which-func-mode): Turn into a
3143 non-interactive function and mark as obsolete (bug#10428).
3144
89bd9ccd
CY
31452012-01-06 Chong Yidong <cyd@gnu.org>
3146
3147 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3148 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3149 functions, along with 1 and -1.
3150
4afee9d5
EZ
31512012-01-06 Eli Zaretskii <eliz@gnu.org>
3152
3153 * time.el (display-time-load-average)
3154 (display-time-default-load-average): Doc fixes. See the thread
3155 starting at
3156 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3157 for the details.
3158
536aea70
GM
31592012-01-06 Glenn Morris <rgm@gnu.org>
3160
665ae865
GM
3161 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3162 has no messages. (Bug#10377)
3163
c869783d
GM
3164 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3165 than Info-edit. (Bug#10385)
3166
2bb4227e
GM
3167 * time.el (display-time-load-average, display-time-next-load-average):
3168 Doc fixes.
3169
7d5944b9
GM
3170 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3171 local setting of buffer-read-only to the input buffer. (Bug#10419)
3172
536aea70
GM
3173 * calendar/calendar.el (calendar-mode):
3174 Locally set scroll-margin to 0. (Bug#10379)
3175
7dccca16
UM
31762012-01-06 Ulrich Mueller <ulm@gentoo.org>
3177
3178 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3179
afbb7930
GM
31802012-01-05 Glenn Morris <rgm@gnu.org>
3181
3182 * eshell/em-unix.el (diff-no-select): Autoload it.
3183 (eshell/diff): Use diff-no-select. (Bug#10420)
3184
04482335
CY
31852012-01-05 Chong Yidong <cyd@gnu.org>
3186
7baca3bc
CY
3187 * shell.el (shell-dynamic-complete-functions): Revert last change.
3188 (shell-command-completion-function): New function.
3189 (shell-completion-vars): Use it to implement
3190 shell-completion-execonly (Bug#10417).
3191
04482335
CY
3192 * custom.el (enable-theme): Don't set custom-safe-themes.
3193
1d00653d
SM
3194 * cus-theme.el (custom-theme-merge-theme):
3195 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3196
bb5aa5d6
MM
31972012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3198
3199 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3200 first prompt in `sql-interacive-mode'.
3201 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3202 keywords.
6df6ae42 3203 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3204 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3205 context of original buffer. Invoke `sql-login-hook'.
3206
a7183d7c
EZ
32072012-01-04 Eli Zaretskii <eliz@gnu.org>
3208
3209 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3210 letters in cite-prefix.
3211
a1eacd1e
LMI
32122012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3213
3214 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3215
787cdb34
CY
32162012-01-03 Chong Yidong <cyd@gnu.org>
3217
1d00653d
SM
3218 * shell.el (shell-dynamic-complete-functions):
3219 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3220 comint-filename-completion first (Bug#10417).
3221
30710442
RS
32222012-01-02 Richard Stallman <rms@gnu.org>
3223
3224 * battery.el (battery-status-function):
3225 Detect when to use battery-yeeloong-sysfs.
3226 (battery-echo-area-format): Add string for Yeeloong.
3227 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3228 (battery-yeeloong-sysfs): New function.
3229
f75bfc33
CY
32302012-01-02 Chong Yidong <cyd@gnu.org>
3231
3232 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3233 (dirtrack): Merge code for handling relative filenames in prompt
3234 from shell-dir-cookie-watcher.
3235 (dirtrack-debug-message): New arg to avoid excess format calls.
3236
3237 * shell.el (shell-dir-cookie-re): Variable deleted.
3238 (shell-dir-cookie-watcher): Function deleted.
3239 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3240 with dirtrack-mode.
3241
651e947e
EZ
32422012-01-01 Eli Zaretskii <eliz@gnu.org>
3243
1d00653d
SM
3244 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3245 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3246 libgnutls-26.dll.
3247
94d4c7dc
AS
32482011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3249
3250 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3251
8d43f3cd
EZ
32522011-12-31 Eli Zaretskii <eliz@gnu.org>
3253
3254 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3255 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3256
98c8795a
MA
32572011-12-29 Michael Albinus <michael.albinus@gmx.de>
3258
3259 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3260 also for alternative shells.
3261 (tramp-open-connection-setup-interactive-shell): Check, whether
3262 the shell is a busybox.
3263 (tramp-send-command): Don't suppress multiple prompts for
3264 busyboxes, it hurts.
3265
51281b32
CY
32662011-12-28 Chong Yidong <cyd@gnu.org>
3267
3268 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3269 (gdb-get-source-file): Move mode line update to
3270 gdb-get-source-file (Bug#10087).
3271
2170cb53
CY
32722011-12-25 Chong Yidong <cyd@gnu.org>
3273
3274 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3275 gud-gdb-marker-filter without taking it as an argument.
3276 (gud-gdb-run-command-fetch-lines): Caller changed.
3277 (gud-gdb-completion-function): New variable.
3278 (gud-gdb-completion-at-point): Use it.
3279 (gud-gdb-completions-1): Split from gud-gdb-completions.
3280
3281 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3282 function as separate arguments.
3283 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3284 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3285 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3286 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3287 (gdb-stopped, def-gdb-auto-update-trigger)
3288 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3289 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3290 Callers changed.
2170cb53
CY
3291 (gud-gdbmi-completions): New function.
3292 (gdb): Use it for generating the completion table.
3293
be8b11bb
AM
32942011-12-24 Alan Mackenzie <acm@muc.de>
3295
3296 Introduce a mechanism to widen the region used in context font
1d00653d 3297 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3298
1d00653d
SM
3299 * progmodes/cc-langs.el (c-before-font-lock-functions):
3300 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3301 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3302 functions to be run just before context (etc.) font locking.
3303
3304 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3305 New, functionality extracted from
be8b11bb 3306 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3307 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3308 (c-after-change): Set c-in-after-change-fontification.
3309 (c-set-fl-decl-start): Rejig its interface, so it can be called
3310 from both after-change and context fontifying.
b81d40f0
JB
3311 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3312 New functions.
3313 (c-standard-font-lock-fontify-region-function): New variable.
3314 (c-font-lock-fontify-region): New function.
be8b11bb 3315
341cf6ac
JL
33162011-12-24 Juri Linkov <juri@jurta.org>
3317
3318 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3319 (Bug#10348)
3320
bffcee0a
MA
33212011-12-23 Michael Albinus <michael.albinus@gmx.de>
3322
3323 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3324 existence of source file. (Bug#10325)
3325
cb5e207c
AM
33262011-12-23 Alan Mackenzie <acm@muc.de>
3327
3328 Fix unstable fontification inside templates.
3329
b81d40f0
JB
3330 * progmodes/cc-langs.el (c-before-font-lock-functions):
3331 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3332 additionally has c-set-fl-decl-start. The other languages (apart
3333 from AWK) have that as a single entry.
3334
b81d40f0
JB
3335 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3336 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3337 c-set-fl-decl-start.
3338
b81d40f0
JB
3339 * progmodes/cc-mode.el (c-common-init, c-after-change):
3340 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3341 (c-set-fl-decl-start): New function, extracted from
3342 c-font-lock-enclosing-decls and enhanced.
3343
60ff536c
JB
33442011-12-23 Juanma Barranquero <lekktu@gmail.com>
3345
3346 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3347
1c4757d6
JL
33482011-12-22 Juri Linkov <juri@jurta.org>
3349
3350 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3351
d031f2c7
CY
33522011-12-22 Chong Yidong <cyd@gnu.org>
3353
3354 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3355
bace743a
DA
33562011-12-21 Drew Adams <drew.adams@oracle.com>
3357
3358 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3359
728a1f2b
JC
33602011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3361
3362 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3363
0d373f73
TZ
33642011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3365
fec0aaa4
TZ
3366 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3367 highlighting and support. Fix up comments for capitalization.
3368 (cfengine-mode-debug): New var.
3369 (cfengine3-mode): Change the modeline indicator to "CFE3".
3370 (cfengine3-font-lock-keywords): Improve defun highlighting.
3371 (cfengine2-actions): Rename from `cfengine-actions'.
3372 (cfengine2-font-lock-keywords): Rename from
3373 `cfengine-font-lock-keywords'.
3374 (cfengine2-imenu-expression): Rename from
3375 `cfengine-imenu-expression'.
3376 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3377 (cfengine2-beginning-of-defun): Rename from
3378 `cfengine-beginning-of-defun'.
3379 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3380 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3381 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3382 modeline indicator to "CFE2".
3383 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3384 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3385
bc86f573
CY
33862011-12-21 Chong Yidong <cyd@gnu.org>
3387
3388 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3389 filename argument.
3390
d45ba96b
MR
33912011-12-20 Martin Rudalics <rudalics@gmx.at>
3392
3393 * window.el (window-normalize-buffer-to-display): Remove.
3394 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3395
a6198c90
CY
33962011-12-19 Chong Yidong <cyd@gnu.org>
3397
3398 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3399 Don't signal an error in a predicate function; return non-nil.
3400 (vc-dir-mark-file): Move the error here.
3401 (vc-dir-mark-unmark): If acting on the region, keep going if one
3402 of the entries cannot be marked/unmarked.
3403 (vc-dir-mark-all-files): If current entry is a directory, mark
3404 only child files, as documented.
3405
34c5fb55
VB
34062011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3407
3408 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3409 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3410 addition.
3411
c803b2b7
JD
34122011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3413
3414 * term/ns-win.el (ns-get-selection-internal)
3415 (ns-store-selection-internal): Declare.
1154d12e
JB
3416 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3417 Declare as obsolete.
3418 (ns-get-pasteboard, ns-paste-secondary):
3419 Use ns-get-selection-internal.
3420 (ns-set-pasteboard, ns-copy-including-secondary):
3421 Use ns-store-selection-internal.
c803b2b7 3422
9cff91f8 34232011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3424
3425 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3426 (vc-deduce-fileset): Doc fix.
99a289d9 3427
f16c898a
AS
34282011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3429
3430 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3431
763237c4
SS
34322011-12-13 Sam Steingold <sds@gnu.org>
3433
3434 * man.el (Man-getpage-in-background): When running under a
3435 window-system, ignore $MANWIDTH and $COLUMNS.
3436
5fc1c122
KH
34372011-12-15 Kenichi Handa <handa@m17n.org>
3438
3439 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3440 (setup-ethiopic-environment-internal): Comment out key-binding for
3441 ethio-toggle-punctuation.
3442
13d49cbb
AM
34432011-12-13 Alan Mackenzie <acm@muc.de>
3444
898169a2
AM
3445 Add the switch statement to AWK Mode.
3446
7a71b18d 3447 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3448 "default" to the keywords regexp.
3449
7a71b18d 3450 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3451 expression as the rest.
1d00653d
SM
3452 (c-nonlabel-token-key): Allow string literals for AWK.
3453 Refactor for the other modes.
898169a2 3454
13d49cbb 3455 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3456 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3457 routines. Limit backward searching in c-font-lock-enclosing.decl.
3458
3459 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3460 pp-state and literal type in addition to the limits.
1d00653d 3461 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3462 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3463 (c-slow-in-literal, c-fast-in-literal): Remove.
3464 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3465
3466 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3467 being in a literal. Add a limit for backward searching.
3468
3469 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3470 c-slow-in-literal.
3471
15e0efc7
SM
34722011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3475
454592a6
MR
34762011-12-13 Martin Rudalics <rudalics@gmx.at>
3477
3478 * window.el (delete-other-windows): Use correct frame in call to
3479 window-with-parameter.
3480
87393f26
DP
34812011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3482
3483 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3484 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3485 (makefile-gmake-statements, makefile-makepp-statements):
3486 Use it and add new makepp keywords.
3487 (makefile-makepp-font-lock-keywords): Add new patterns.
3488 (makefile-match-function-end): Match new [...] and [[...]].
3489
11636b22
JB
34902011-12-11 Juanma Barranquero <lekktu@gmail.com>
3491
3492 * ses.el (ses-call-printer-return, ses-cell-property-get)
3493 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3494 (ses-create-cell-variable, ses-reset-header-string)
3495 (ses-cell-set-formula, ses-repair-cell-reference-all)
3496 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3497 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3498 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3499 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3500 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3501 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3502 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3503 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3504 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3505 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3506 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3507 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3508
cf018193
VB
35092011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3510
3511 * ses.el: The overall change is to add cell renaming, that is
3512 setting fancy names for cell symbols other than name matching
3513 "\\`[A-Z]+[0-9]+\\'" regexp .
3514 (ses-create-cell-variable): New defun.
3515 (ses-relocate-formula): Relocate formulas only for cells the
3516 symbols of which are not renamed, i.e. symbols whose names do not
3517 match regexp "\\`[A-Z]+[0-9]+\\'".
3518 (ses-relocate-all): Relocate values only for cells the symbols of
3519 which are not renamed.
3520 (ses-load): Create cells variables as the (ses-cell ...) are read,
3521 in order to check row col consistency with cell symbol name only
3522 for cells that are not renamed.
3523 (ses-replace-name-in-formula): New defun.
3524 (ses-rename-cell): New defun.
3525
ee957461
CY
35262011-12-11 Chong Yidong <cyd@gnu.org>
3527
3528 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3529 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3530
9a9e9ef0
MR
35312011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3532
3533 * window.el (other-window): Fix docstring.
3534
92a8eba5
EZ
35352011-12-10 Eli Zaretskii <eliz@gnu.org>
3536
3537 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3538 `from' or `to' address before taking its substring.
3539 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3540 encoded name is chopped in the middle of the encoded string, and
3541 thus displayed encoded.
3542
e152e577
JB
35432011-12-10 Juanma Barranquero <lekktu@gmail.com>
3544
3545 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3546
e5d84bfe
EZ
35472011-12-10 Eli Zaretskii <eliz@gnu.org>
3548
3549 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3550 to use texinfo-update-node and commands that call it if the
3551 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3552 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3553 (texinfo-all-menus-update, texinfo-master-menu)
3554 (texinfo-update-node, texinfo-every-node-update)
3555 (texinfo-multiple-files-update): Doc fix. Warn against updating
3556 all the @node lines.
3557 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3558 argument is numeric. Explain better in the doc string what the
3559 function really does.
3560 (texinfo-insert-master-menu-list): Improve the error message
3561 displayed if there's no menu in the Top node.
3562 (Bug#2975) See also this thread:
e5d84bfe
EZ
3563 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3564
1d84e9bb
MG
35652011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3566
3567 * speedbar.el (speedbar-supported-extension-expressions):
3568 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3569
382c953b
JB
35702011-12-09 Juanma Barranquero <lekktu@gmail.com>
3571
3572 * printing.el (pr-mode-alist):
3573 * simple.el (filter-buffer-substring-functions)
3574 (completion-list-insert-choice-function):
3575 * window.el (window-with-parameter, window-atom-root)
3576 (window-sides-slots, window-size-fixed, window-min-delta)
3577 (window-max-delta, window--resize-mini-window)
3578 (window--resize-child-windows-normal, window-tree)
3579 (delete-other-windows, quit-window, split-window)
3580 (display-buffer-record-window, special-display-buffer-names)
3581 (special-display-regexps, special-display-popup-frame)
3582 (same-window-p, split-window-sensibly)
3583 (display-buffer-overriding-action, display-buffer-alist)
3584 (display-buffer-base-action, display-buffer, switch-to-buffer)
3585 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3586 (fit-window-to-buffer, recenter-positions)
3587 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3588 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3589 and remove unneeded backslashes in docstrings.
3590
39c9faef
SM
35912011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3592
98449af8
SM
3593 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3594
39c9faef
SM
3595 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3596 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3597 end in ".mk".
3598 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3599 when reading the makefile (bug#10116).
3600
86ed9fdc
SM
36012011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3602
3603 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3604 (bug#10116).
3605
5580f89d
GM
36062011-12-06 Glenn Morris <rgm@gnu.org>
3607
3608 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3609
28d3917c
CY
36102011-12-06 Chong Yidong <cyd@gnu.org>
3611
3612 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3613
a98edce9
JB
36142011-12-06 Juanma Barranquero <lekktu@gmail.com>
3615
3616 * textmodes/table.el (table-shorten-cell): Fix typo.
3617
e65adfac
CG
36182011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3619
3620 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3621
71cc0b74
EZ
36222011-12-05 Eli Zaretskii <eliz@gnu.org>
3623
3624 * descr-text.el (describe-char): Fix display of strong
3625 right-to-left characters and directional embeddings and overrides.
3626
3627 * simple.el (what-cursor-position): Fix display of codepoints of
3628 strong right-to-left characters.
3629
315bc30d
CY
36302011-12-05 Chong Yidong <cyd@gnu.org>
3631
3632 * faces.el (read-color): Doc fix.
3633
58a70b94
GM
36342011-12-05 Glenn Morris <rgm@gnu.org>
3635
3636 * align.el (align--set-marker): Add doc-string.
3637 Don't try to move something that is not a marker. (Bug#10216)
3638
5158face
GM
36392011-12-04 Glenn Morris <rgm@gnu.org>
3640
3641 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3642 overly zealous deletion of trailing whitespace.
3643
520fca41
JB
36442011-12-04 Juanma Barranquero <lekktu@gmail.com>
3645
3646 * server.el (server-delete-client): On Windows, do not try to delete
3647 the only terminal.
3648 (server-process-filter): On Windows, treat requests for a tty frame as
3649 if they were for a GUI frame if the running server is in GUI mode.
3650
5e605a2e
GM
36512011-12-03 Glenn Morris <rgm@gnu.org>
3652
3653 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3654
5c3fe83f
SM
36552011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3656
6f5e57e7
SM
3657 * electric.el: Streamline electric-indent's hook.
3658 (electric-indent-chars): Revert to simple list.
3659 (electric-indent-functions): New var.
3660 (electric-indent-post-self-insert-function): Use it.
3661
5c3fe83f
SM
3662 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3663 there's no inferior buffer (bug#10196).
3664 (prolog-consult-compile): Don't use toggle-read-only.
3665
6bdac736
MA
36662011-12-02 Michael Albinus <michael.albinus@gmx.de>
3667
3668 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3669 interrupt. (Bug#10187)
3670
6131ba7f
SM
36712011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3672
99c79fee
SM
3673 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3674 (bug#9160).
3675
6131ba7f
SM
3676 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3677 (bug#10191).
3678
cb0a02ea
JL
36792011-12-02 Juri Linkov <juri@jurta.org>
3680
3681 * info.el (Info-search): Display "end of manual" when Isearch
3682 reaches the end of single-file Info manual. (Bug#9918)
3683
66e0570c
EZ
36842011-12-02 Eli Zaretskii <eliz@gnu.org>
3685
3686 * isearch.el (isearch-message-prefix): Run the input method part
3687 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3688
02b16839
JL
36892011-12-02 Juri Linkov <juri@jurta.org>
3690
3691 * isearch.el (isearch-occur): Use `word-search-regexp' for
3692 `isearch-word'.
3693 (isearch-search-and-update): Add condition for `isearch-word' and
3694 call `word-search-regexp'. (Bug#10145)
3695
0b950688
GM
36962011-12-01 Glenn Morris <rgm@gnu.org>
3697
3698 * eshell/em-hist.el (eshell-hist-initialize):
3699 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3700 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3701
9505c3c7
SM
37022011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3705
1bbe96b2 37062011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3707
a1beca85
SM
3708 * progmodes/verilog-mode.el (verilog-pretty-expr):
3709 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3710 verilog, such as += *= and the like.
3711 (verilog-assignment-operator-re): Regular expression to find the
3712 assigment operator in a verilog assignment.
3713 (verilog-assignment-operation-re): Regular expression to find an
3714 assignment statement for pretty-expr.
3715 (verilog-in-attribute-p): Query returns true if point is in an
3716 attribute context; used to skip these for expression line up from
3717 pretty-expr.
3718 (verilog-in-parameter-p): Query returns true if point is in an
3719 parameter definition context; used to skip these for expression
3720 line up from pretty-expr.
3721 (verilog-in-parenthesis-p): Query returns true if point is in a
3722 parenthetical expression, specifically ( ) but not [ ] or { };
3723 used by pretty-expr.
3724 (verilog-just-one-space): If there is no space, don't add one.
3725 (verilog-get-lineup-indent-2): Specifically skip just attribute
3726 contexts for expression lineup, rather than skipping all
3727 parenthetical expressions.
3728 (verilog-calculate-indent): Fix comment, and fix indent.
3729 (verilog-do-indent): Indent declarations in lists (suggested by
3730 Joachim Lechner).
3731 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3732 skeleton items.
3733 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3734 by Alain Mellan).
3735
1bbe96b2 37362011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3737
3738 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3739 parameters with embedded comments. Reported by Ray Stevens.
3740 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3741 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3742 Reported by Tim Holt.
3743 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3744 instantiated by upper module causing wrong expansion until AUTOed a
3745 second time. Reported by K C Buckenmaier.
3746 (verilog-diff-auto): Fix showing .* as a difference when
3747 `verilog-auto-star-save' off. Reported by Dan Dever.
3748 (verilog-auto-reset, verilog-read-always-signals)
3749 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3750 temporary signals in reset list if
3751 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3752 style to each signal's assignment type, bug381.
3753 Reported by Thomas Esposito.
6288f0ca
WS
3754 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3755 (verilog-uvm-statement-re): Support UVM indentation and
3756 highlighting, with old OVM keywords only.
a1beca85 3757 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3758 Support AUTOTIEOFF creating non-wire data types.
3759 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3760 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3761 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3762 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3763 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3764 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3765 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3766 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3767 non-numeric vector width. Reported by Alex Reed.
3768 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3769 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3770 (verilog-auto-delete-trailing-whitespace):
3771 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3772 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3773 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3774 Fix verilog-scan-cache corruption when running user AUTO expansion
3775 hooks that call indentation routines.
3776 (verilog-simplify-range-expression): Fix typo ignoring lower case
3777 identifiers.
3778 (verilog-delete-auto): Fix delete-autos to also remove user created
3779 automatics, as long as they start with AUTO.
3780 (verilog-batch-diff-auto, verilog-diff-auto)
3781 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3782 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3783 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3784 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3785 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3786 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3787 is disabled and its cache will get corrupt, causing AUTOS not to
3788 expand. Instead use only -quick functions.
3789 (verilog-scan-region): Fix scanning over escaped quotes.
3790 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3791 (verilog-re-search-backward-quick)
3792 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3793 related functions now ignore strings, to fix misparsing of strings
3794 with magic comments embedded in them.
a1beca85
SM
3795 (verilog-read-auto-template):
3796 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3797 Reported by Brad Dobbie.
3798 (verilog-read-auto-template):
3799 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3800 Reported by Brad Dobbie.
6288f0ca
WS
3801 (verilog-auto-inst, verilog-auto-inst-param)
3802 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3803 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3804 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3805 debugging templates without merge conflicts, bug357.
3806 Reported by Brad Dobbie.
3807 (verilog-read-auto-template):
3808 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3809 Reported by Brad Dobbie.
3810 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3811 abbrevs so user won't be asked to save.
3812 (verilog-read-auto-lisp-present): Fix to start at beginning of
3813 buffer in case called outside of verilog-auto.
3814 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3815 to "X-2". Reported by Matthew Myers.
3816 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3817 all inputs from module templates. Reported by Leith Johnson.
3818 (verilog-module-inside-filename-p): Fix locating programs as with
3819 modules.
3820 (verilog-auto-inst-port): Fix vl-width expressions when using
3821 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3822 (verilog-decls-get-regs, verilog-decls-get-signals,
3823 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3824 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3825 verilog-read-decls): Combine reg and wire structures into one var
3826 structure to represent SystemVerilog concepts.
3827 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3828 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3829 (verilog-auto-wire-type, verilog-insert-definition):
3830 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3831 SystemVerilog "logic" keyword instead of "wire"/"reg".
3832 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3833 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3834 ifdef or generate if so there's not a driver conflict).
3835 Reported by Matthew Myers.
3836 (verilog-auto-declare-nettype, verilog-insert-definition):
3837 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3838 `default_nettype none. Reported by Julian Gorfajn.
3839 (verilog-read-always-signals-recurse, verilog-read-decls)
3840 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3841 malformed end statement, bug325. Reported by Joshua Wise and
3842 Andrew Drake.
3843 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3844 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3845 when expanding .* in interfaces, bug320.
3846 Reported by Pierre-David Pfister.
6288f0ca 3847 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3848 name and open parenthesis, bug317.
3849 Reported by Pierre-David Pfister.
6288f0ca
WS
3850 (verilog-simplify-range-expression): Fix simplification of
3851 multiplications inside AUTOWIRE connections, bug303.
3852 (verilog-auto-inst-port): Support parameter expansion in
3853 multidimensional arrays.
3854 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3855 after "assert property". Reported by Julian Gorfajn.
3856 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3857 with multiplication, bug303.
3858 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3859 Reported by Jan Frode Lonnum.
3860
1bbe96b2
GM
38612011-11-30 Juanma Barranquero <lekktu@gmail.com>
3862
3863 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3864 (hfy-shell-file-name, hfy-shell):
3865 * international/fontset.el (x-decompose-font-name): Fix typos.
3866
38672011-11-29 Ken Brown <kbrown@cornell.edu>
3868
3869 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3870 (gdb-version): Remove defvar.
3871 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3872 (gdb-gud-context-command, gdb-non-stop-handler)
3873 (gdb-current-context-command, gdb-stopped): Use it.
3874 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3875 (gdb-non-stop-handler): Don't enable pretty-printing here.
3876 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3877 non-stop mode. Use the following.
3878 (gdb-check-target-async): New defun.
3879 (gud-watch, gdb-stopped): Fix whitespace.
3880 (gdb-get-source-file): Don't try to display the source file if
3881 `gdb-main-file' is nil.
3882
38832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * align.el: Try to generate fewer markers (bug#10047).
3886 (align--set-marker): New macro.
3887 (align-region): Use it.
3888
c935221f
SM
38892011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3892
e70b5064
CY
38932011-11-29 Chong Yidong <cyd@gnu.org>
3894
3895 * indent.el (indent-for-tab-command, indent-according-to-mode):
3896 Doc fix.
3897 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3898
f3af92b7
MA
38992011-11-29 Michael Albinus <michael.albinus@gmx.de>
3900
3901 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3902 aware of remote file names. (Bug#10124)
3903
ed472be9
CY
39042011-11-29 Chong Yidong <cyd@gnu.org>
3905
3906 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3907
24510c22
SM
39082011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * files.el (find-file): Don't use force-same-window (bug#10144).
3911 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3912 use pop-to-buffer if the selected window can't be used.
3913 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3914
c60c3703
EZ
39152011-11-28 Eli Zaretskii <eliz@gnu.org>
3916
3917 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3918 special-mode-map.
3919
e95def75
CY
39202011-11-28 Chong Yidong <cyd@gnu.org>
3921
3922 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3923
c3f1c606
NR
39242011-11-27 Nick Roberts <nickrob@snap.net.nz>
3925
3926 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3927 gdb-get-source-file-list on gdb-create-source-file-list.
3928
00db469c
EZ
39292011-11-26 Eli Zaretskii <eliz@gnu.org>
3930
3931 * whitespace.el (whitespace-newline): Use a different foreground
3932 color for 16-color light-background displays.
3933
4ad3bc2a
CY
39342011-11-24 Chong Yidong <cyd@gnu.org>
3935
3936 * window.el (display-buffer--special-action): Doc fix.
3937
e9fce1ac
JB
39382011-11-25 Juanma Barranquero <lekktu@gmail.com>
3939
3940 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3941 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3942 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3943 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3944 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3945 (avl-tree-stack-first):
3946 * emacs-lisp/cconv.el (cconv--analyse-use):
3947 * net/gnutls.el (gnutls-negotiate): Fix typos.
3948
cb825e5d
GM
39492011-11-24 Glenn Morris <rgm@gnu.org>
3950
3adbe224
GM
3951 * lpr.el (lpr-windows-system, lpr-lp-system):
3952 * mail/binhex.el (binhex-begin-line):
3953 * progmodes/grep.el (grep-history, grep-find-history):
3954 * textmodes/flyspell.el:
3955 * vc/pcvs-defs.el (cvs-global-menu):
3956 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3957 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3958 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3959
321decc8
GM
3960 * net/tls.el: Fix case of "GnuTLS".
3961
420b63ad
GM
3962 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3963
cb825e5d
GM
3964 * version.el (emacs-build-system): Give it a doc-string.
3965
a0649f08
JL
39662011-11-24 Juri Linkov <juri@jurta.org>
3967
3968 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3969
c0bc0fd4
GM
39702011-11-24 Glenn Morris <rgm@gnu.org>
3971
3972 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3973 if called on a non-mime message just toggle the headers. (Bug#8006)
3974
20db1522
JB
39752011-11-24 Juanma Barranquero <lekktu@gmail.com>
3976
3977 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3978 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3979 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3980 (allout-rebullet-heading, allout-open-sibtopic)
3981 (allout-toggle-current-subtree-encryption)
3982 (allout-toggle-subtree-encryption, allout-encrypt-string)
3983 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3984 (allout-distinctive-bullets-string, allout-auto-activation):
3985 * window.el (window-normalize-buffer-to-display):
3986 * progmodes/verilog-mode.el (verilog-batch-indent):
3987 * textmodes/bibtex.el (bibtex-field-braces-opt)
3988 (bibtex-field-strings-opt):
3989 * vc/cvs-status.el (cvs-tree-merge):
3990 Fix typos.
3991
7262a87c
MA
39922011-11-23 Michael Albinus <michael.albinus@gmx.de>
3993
3994 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3995 `non-essential' to t, in order to avoid remote connections.
3996
283430a1
EZ
39972011-11-23 Eli Zaretskii <eliz@gnu.org>
3998
a1beca85
SM
3999 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4000 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4001 case-insensitively.
4002
d2992a38
ML
40032011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4004
4005 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4006
50419064
GM
40072011-11-23 Glenn Morris <rgm@gnu.org>
4008
da94eca1
GM
4009 * paths.el (rmail-file-name): Reformat the doc-string so that it
4010 is picked up.
4011
9aac4de2
GM
4012 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4013 (rmail-auto-file): Ignore case in the "special" field names,
4014 as mail-fetch-field does for all others.
4015
8038d2d2
GM
4016 * mail/rmail.el (rmail-forward):
4017 * mail/rmailkwd.el (rmail-set-label):
4018 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4019 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4020
f3fe222a
GM
4021 * mail/rmail.el (rmail-current-message): Doc fix.
4022
50419064
GM
4023 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4024
28109f49
SM
40252011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4028
394c65f1
GM
40292011-11-22 Glenn Morris <rgm@gnu.org>
4030
4031 * mail/rmailmm.el (test-rmail-mime-handler)
4032 (test-rmail-mime-bulk-handler)
4033 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4034
f2a0aa3a
JL
40352011-11-21 Juri Linkov <juri@jurta.org>
4036
1154d12e
JB
4037 * calc/calc.el (calc-read-key-sequence):
4038 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4039
9c34a344
LMI
40402011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4041
4042 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4043 Tell the caller that the next line needs recomputation, even
4044 though it doesn't start a sexp (bug#10094).
4045
f04a3be9
SM
40462011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4049
7978747f
SM
40502011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4051
f04a3be9
SM
4052 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4053 Use force-same-window.
7978747f 4054
fe7a3057
JB
40552011-11-20 Juanma Barranquero <lekktu@gmail.com>
4056
4057 * descr-text.el (describe-char-unicode-data):
4058 * json.el (json-string-escape):
4059 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4060 (Footnote-unicode, Footnote-style-p):
4061 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4062
24901d61
CY
40632011-11-20 Chong Yidong <cyd@gnu.org>
4064
4065 * window.el (replace-buffer-in-windows): Restore interactive spec.
4066
bac7ff22
SM
40672011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4068
24f3d7b9
SM
4069 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4070
bac7ff22
SM
4071 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4072 (byte-compile-global-not-obsolete-vars): New var.
4073 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4074 Use it.
4075 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4076
cd1181db
JB
40772011-11-20 Juanma Barranquero <lekktu@gmail.com>
4078
4079 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4080 * progmodes/pascal.el (electric-pascal-equal):
4081 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4082 * xml.el (xml-substitute-special): Fix typos.
4083
7fb18e9e
GM
40842011-11-20 Glenn Morris <rgm@gnu.org>
4085
4086 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4087 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4088 Doc fixes.
4089 (rmail-decode-mime-charset): Mark as obsolete.
4090
4091 * mail/rmailsum.el (rmail-message-regexp-p-1):
4092 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4093 Before using mime functions, check they are set. (Bug#10077)
4094
d5a6b3ba
JL
40952011-11-19 Juri Linkov <juri@jurta.org>
4096
4097 * info.el (Info-finder-find-node): Use `package--builtins' instead
4098 of `package-alist'. Use node names formed by the pattern "Keyword "
4099 and the keyword name.
4100
e981b61f
AS
41012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4102
1d00653d 4103 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4104
3ffbc301
JL
41052011-11-19 Juri Linkov <juri@jurta.org>
4106
4107 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4108 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4109 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4110 `old-history', `old-history-forward'. Add let-binding
4111 `window-selected'. Remove calls to `kill-buffer',
4112 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4113 before calling `Info-find-node', so `Info-find-node-2' will reread
4114 the Info file. Restore window positions only when `window-selected'
4115 is non-nil.
4116
30c62133
JL
41172011-11-19 Juri Linkov <juri@jurta.org>
4118
4119 * isearch.el (isearch-lazy-highlight-new-loop):
4120 Remove condition `(not isearch-error)'. (Bug#9918)
4121
4122 * misearch.el (multi-isearch-search-fun): Add condition
4123 `(not bound)' to ignore lazy-highlighting search.
4124 Add the search-failed message "end of multi" when the end of
4125 multi-sequence is reached. Uncapitalize the search-failed
4126 message "Repeat for next buffer".
4127
4128 * info.el (Info-search): Add the search-failed message
4129 "end of the manual" when the end of the manual is reached
4130 in Isearch mode.
4131
645ca9cf
JL
41322011-11-19 Juri Linkov <juri@jurta.org>
4133
4134 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4135 Use non-destructive `remove' instead of `delete' because
4136 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4137 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4138
df754f66
JL
41392011-11-19 Juri Linkov <juri@jurta.org>
4140
4141 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4142 to nil instead of binding `search-ring' and `regexp-search-ring'.
4143 (Bug#9185)
4144
0e23d96a
EZ
41452011-11-19 Eli Zaretskii <eliz@gnu.org>
4146
4147 * simple.el (line-move): Force movement by logical lines for any
4148 hscrolled window, not only when auto-hscroll-mode is on.
4149 (line-move-visual): Update doc string to that effect. (Bug#10076)
4150
8a6ccb66
AS
41512011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4152
4153 * language/european.el (macintosh): Define as alias for mac-roman.
4154
49ae5b39
EZ
41552011-11-19 Eli Zaretskii <eliz@gnu.org>
4156
4157 * mail/rmailmm.el (rmail-mime-display-header)
4158 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4159 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4160 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4161 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4162 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4163 of a raw aref.
4164 (rmail-mime-entity-segment): To get past the tagline, move forward
4165 2 more lines, to account for the 2 empty lines that precede and
4166 follow the line with the buttons.
4167 (rmail-mime-update-tagline): Move one more line, to get past the
4168 empty line that follows the buttons in the tagline. (Bug#9520)
4169
c56cad4a
MR
41702011-11-19 Martin Rudalics <rudalics@gmx.at>
4171
4172 * window.el (window-max-delta-1, window-min-delta-1)
4173 (window-min-size-1, window-state-get-1, window-state-put-1)
4174 (window-state-put-2): Use "window--" prefix.
4175
cbe71af3
SM
41762011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4177
2ad52c60
SM
4178 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4179 (smie-warning-count): New var.
4180 (smie-set-prec2tab): Use it.
4181 (smie-bnf->prec2): Improve warnings. Add docstring.
4182 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4183 (smie-bnf--set-class): New function.
4184 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4185 corner case.
4186
6944dbc1
SM
4187 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4188 (compilation-error-properties, compilation-move-to-column):
4189 Handle compilation-first-column while in the target buffer.
4190
c400c4d7
SM
4191 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4192 Don't hardcode point-min==1.
4193
6dbe3e96
SM
4194 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4195 (eshell-rewrite-for-command): Remove workaround.
4196 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4197 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4198 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4199
cbe71af3
SM
4200 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4201
a8e1496d
GM
42022011-11-17 Glenn Morris <rgm@gnu.org>
4203
4204 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4205 Ignore buffer-local generated-autoload-file if it is the same
4206 as the global value. (Bug#10049)
4207
df85d315
JB
42082011-11-17 Juanma Barranquero <lekktu@gmail.com>
4209
4210 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4211 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4212 (reftex-toc-previous-heading, reftex-toc-max-level)
4213 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4214 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4215 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4216 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4217 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4218 (reftex-toc-rename-label, reftex-toc-visit-location)
4219 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4220 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4221 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4222 leaving "*toc*" only for references to the buffer.
4223
a0c2d0ae
MR
42242011-11-17 Martin Rudalics <rudalics@gmx.at>
4225
4226 * window.el (window-resize, delete-window, split-window):
4227 Replace window-splits by window-combination-resize.
1d00653d 4228 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4229
35c0bac8
GM
42302011-11-17 Glenn Morris <rgm@gnu.org>
4231
4232 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4233 Make bash entry derive from sh entry, not shell entry.
4234
d0c8fc8a
MA
42352011-11-16 Michael Albinus <michael.albinus@gmx.de>
4236
d0c8fc8a
MA
4237 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4238 properties of linked files. (Bug#9879)
4239
7262a87c
MA
4240 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4241 local file name.
4242
7877f373
JB
42432011-11-16 Juanma Barranquero <lekktu@gmail.com>
4244
4245 * menu-bar.el (menu-bar-file-menu):
4246 * printing.el (pr-ps-utility):
4247 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4248 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4249 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4250 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4251 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4252 (icalendar--convert-cyclic-to-ical)
4253 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4254 (icalendar--convert-ical-to-diary)
4255 (icalendar--convert-recurring-to-diary)
4256 (icalendar--convert-non-recurring-all-day-to-diary)
4257 (icalendar-import-format-sample):
4258 * progmodes/idlw-shell.el (idlwave-shell-mode):
4259 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4260 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4261 (vhdl-ps-print-init): Fix typos.
4262
10649b82
KM
42632011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4264
9d0cfcd6
GM
4265 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4266 FSF and collapse date sequence, obscure author/maintainer email address
4267 better, remove extra version line, track relocation of author's webpage.
10649b82 4268
9d0cfcd6
GM
4269 * progmodes/python.el (python-pdbtrack-input-prompt)
4270 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4271 regular python pdb prompts. Adjustments shamelessly taken exactly as
4272 suggested in EmacsWiki page (tiny change):
4273 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4274
58179cce
JB
42752011-11-16 Juanma Barranquero <lekktu@gmail.com>
4276
4277 * expand.el (expand-pos, expand-index, expand-point):
4278 Remove redundant info from docstring.
4279 (expand-add-abbrevs): Doc fix.
4280 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4281 (expand-sample-perl-mode-expand-list): Fix typos.
4282
4283 * net/dbus.el (dbus-event-member-name):
4284 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4285 * term/pc-win.el (msdos-create-frame-with-faces):
4286 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4287
b6f67890
MR
42882011-11-16 Martin Rudalics <rudalics@gmx.at>
4289
4290 * window.el (split-window, window-state-get-1)
4291 (window-state-put-1, window-state-put-2): Rename occurrences of
4292 window-nest to window-combination-limit.
1d00653d 4293 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4294
ce7ddba0
CY
42952011-11-16 Chong Yidong <cyd@gnu.org>
4296
4297 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4298 regexp (Bug#10033).
4299
3ae704f4
SM
43002011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4303 `completing-read' will remove *Completions* and will preserve
4304 current-buffer for us.
4305 (tmm-add-prompt): Users of *Completions* will always (re)set its
4306 major mode.
4307 (tmm-old-comp-map): Remove.
4308
6ad1cdde
GM
43092011-11-16 Glenn Morris <rgm@gnu.org>
4310
4311 * mail/rmailedit.el: Require rmailmm when compiling.
4312 (rmail-old-mime-state): New declaration.
4313 (rmail-edit-current-message): If editing a mime message,
4314 edit the "raw" message from the mbox buffer.
4315 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4316
d20faa20
GM
43172011-11-15 Glenn Morris <rgm@gnu.org>
4318
4319 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4320 which wasn't being used. Add optional arg to force given state.
4321 (rmail-mime): Add optional arg to force given state.
4322
c7015153
JB
43232011-11-15 Juanma Barranquero <lekktu@gmail.com>
4324
4325 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4326 * frame.el (display-mm-dimensions-alist):
4327 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4328 (outline-move-subtree-down):
4329 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4330 (newsticker--treeview-do-get-node):
4331 * net/quickurl.el (quickurl-list-buffer-name):
4332 * progmodes/dcl-mode.el (dcl-mode):
4333 * progmodes/gdb-mi.el (gdb-mapcar*):
4334 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4335
45261b50
GM
43362011-11-15 Glenn Morris <rgm@gnu.org>
4337
4338 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4339 in a boolean sense, so just make it a boolean, and fix the doc.
4340 (rmail-show-mime-function, rmail-mime-feature)
4341 (rmail-require-mime-maybe): Doc fixes.
4342 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4343
4344 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4345
0d26e0b6
JB
43462011-11-15 Juanma Barranquero <lekktu@gmail.com>
4347
4348 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4349 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4350 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4351 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4352
447f30f6
GM
43532011-11-15 Glenn Morris <rgm@gnu.org>
4354
672b871d
GM
4355 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4356 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4357 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4358 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4359 (rmail-mime, rmail-show-mime): Doc fixes.
4360
f6aa5bb1
GM
4361 * term/ns-win.el (mode-line-frame-identification):
4362 Leave it alone. (Bug#10051)
4363
947cd66b
GM
4364 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4365
447f30f6
GM
4366 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4367 Handle empty buffers. (Bug#9978)
4368
0b381c7e
JB
43692011-11-14 Juanma Barranquero <lekktu@gmail.com>
4370
4371 * international/mule.el (define-charset):
4372 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4373 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4374 * progmodes/verilog-mode.el (verilog-backward-token):
4375 * textmodes/ispell.el (lookup-words):
4376 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4377
71e027ac
GM
43782011-11-14 Glenn Morris <rgm@gnu.org>
4379
56632ce4
GM
4380 * progmodes/executable.el
4381 (executable-make-buffer-file-executable-if-script-p):
4382 Handle file-modes returning nil.
4383
40500957
GM
4384 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4385 message - not necessary, and causes problems. (Bug#9831)
4386
071c2340
GM
4387 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4388
d3cfca60
GM
4389 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4390
71e027ac
GM
4391 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4392 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4393 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4394
89d61221
MR
43952011-11-12 Martin Rudalics <rudalics@gmx.at>
4396
4397 * window.el (window-resize, delete-window): Use window-splits
4398 variable instead of function.
4399 (window-state-get-1, window-state-put-2, window-state-put):
4400 Don't deal with windows' splits status.
4401
98282f6f
GM
44022011-11-12 Glenn Morris <rgm@gnu.org>
4403
4404 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4405 (apropos-documentation): Doc fixes.
4406
40a8bdf6
JB
44072011-11-11 Juanma Barranquero <lekktu@gmail.com>
4408
4409 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4410 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4411
65bd19ff
SM
44122011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * electric.el (electric-indent-post-self-insert-function): Make it
4415 possible for a char to only indent in some circumstances.
4416 (electric-indent-mode): Simplify.
4417
54f9154c
MR
44182011-11-11 Martin Rudalics <rudalics@gmx.at>
4419
4420 * window.el (windows-with-parameter): Remove unused function.
4421 (windows-at-side): Rename to window-at-side-list.
4422 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4423 (window-side-check, window-size-ignore, window-size-fixed-1)
4424 (window-in-direction-2): Prefix with "window--".
4425 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4426
68cbc58b
GM
44272011-11-11 Glenn Morris <rgm@gnu.org>
4428
4429 * subr.el (eval-after-load): If FILE is already loaded,
4430 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4431
b2621720
GM
44322011-11-10 Glenn Morris <rgm@gnu.org>
4433
9a4de110
GM
4434 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4435 Call svn via vc-svn-command rather than vc-do-command.
4436 (vc-svn-command): Add --non-interactive. (Bug#9993)
4437 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4438
b2621720
GM
4439 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4440 Add toggle-read-only. (Bug#7292)
4441 * files.el (toggle-read-only): Mention that it should only
4442 be used interactively. (Bug#10006)
4443
1dce7193
SM
44442011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4445
d9ac1a1e
SM
4446 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4447 Adjust regexp for OCaml warnings.
4448
0c325082
SM
4449 * electric.el (electric-pair-post-self-insert-function): Let user
4450 turn it off buffer-locally (bug#9932).
4451
90132c14
SM
4452 * progmodes/python.el (python-beginning-of-statement):
4453 Rewrite (bug#2703).
4454
1dce7193
SM
4455 * progmodes/compile.el: Better handle TABs (bug#9749).
4456 (compilation-internal-error-properties)
4457 (compilation-next-error-function): Obey the target buffer's
4458 compilation-error-screen-columns.
4459
c4e7c63a
JB
44602011-11-09 Juanma Barranquero <lekktu@gmail.com>
4461
4462 * progmodes/meta-mode.el: Remove obsolete comments.
4463 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4464 Fix typos in docstrings.
4465
2cffd681
MR
44662011-11-09 Martin Rudalics <rudalics@gmx.at>
4467
4468 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4469 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4470 (window--resizable): New function. Make all callers of
4471 window-resizable call window--resizable instead.
4472 (window-resizable): Rewrite in terms of window--resizable.
4473
0edcba87
GM
44742011-11-08 Glenn Morris <rgm@gnu.org>
4475
4476 * progmodes/delphi.el (delphi-mode-syntax-table):
4477 Let define-derived-mode define a proper syntax table. (Bug#9994)
4478
4b0d61e3
SM
44792011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * window.el: Stay away from defsubst.
4482 (window-list-no-nils): Remove.
4483 (window-state-get-1, window-state-get): Use backquote instead.
4484
cd394be1 44852011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4486
4b0d61e3 4487 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4488 Fix incorrect use of default argument in `completing-read'.
4489
e1c2c6f2
MR
44902011-11-08 Martin Rudalics <rudalics@gmx.at>
4491
4492 * window.el (display-buffer-function, special-display-function):
4493 Mention display-buffer-record-window but do not mention
4494 help-setup parameter in doc-strings.
b3f4a882 4495 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4496
105216ed
CY
44972011-11-08 Chong Yidong <cyd@gnu.org>
4498
4499 * window.el (window-total-height, window-total-width): Doc fix.
4500 (window-body-size): Move from C.
4501 (window-body-height, window-body-width): Move to C.
4502
0a9f9ab5
SM
45032011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * window.el: Make special-display like display-buffer-alist (bug#9532).
4506 (display-buffer--special-action): New function, morphed
4507 from display-buffer--special.
4508 (display-buffer): Use it to handle special-display-buffers at higher
4509 priority (just after display-buffer-alist).
4510 (display-buffer-fallback-action, display-buffer--other-frame-action)
4511 (pop-to-buffer-same-window): Remove display-buffer--special.
4512
a769dd15
GM
45132011-11-07 Glenn Morris <rgm@gnu.org>
4514
4515 * calendar/cal-menu.el (cal-menu-set-date-title):
4516 Do nothing if not in a calendar. (Bug#9976)
4517
05a61ee3
SM
45182011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * files.el (find-file): Always use selected-window.
4521
be7f5545
MR
45222011-11-07 Martin Rudalics <rudalics@gmx.at>
4523
4524 * window.el (window-combinations): Make WINDOW argument
4525 mandatory. Rewrite doc-string.
4526 (walk-window-subtree, window-atom-check, window-min-delta)
4527 (window-max-delta, window--resize-this-window)
4528 (window--resize-root-window-vertically, window-tree)
4529 (balance-windows, window-state-put): Rewrite doc-strings as to
4530 not mention the term "subwindow".
4531 (window--resize-subwindows-skip-p): Rename to
4532 window--resize-child-windows-skip-p.
4533 (window--resize-subwindows-normal): Rename to
4534 window--resize-child-windows-normal.
4535 (window--resize-subwindows): Rename to
4536 window--resize-child-windows.
4537 (window-or-subwindow-p): Rename to window--in-subtree-p.
4538
3c6702ef
ML
45392011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4540
4541 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4542 Ensure that mbox format messages end in two newlines (Bug#9974).
4543
49745b39
CY
45442011-11-06 Chong Yidong <cyd@gnu.org>
4545
4546 * window.el (window-combination-p): Function deleted; its
4547 side-effect is not used in any existing code.
4548 (window-combinations, window-combined-p): Call window-*-child
4549 directly.
4550
24300f5f
CY
45512011-11-05 Chong Yidong <cyd@gnu.org>
4552
4553 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4554 (window-size-ignore, window-state-get): Callers changed.
4555 (window-normalize-window): Rename from window-normalize-any-window.
4556 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4557 (window-normalize-live-window): Delete.
447f16b8
CY
4558 (window-combination-p, window-combined-p, window-combinations)
4559 (walk-window-subtree, window-atom-root, window-min-size)
4560 (window-sizable, window-sizable-p, window-size-fixed-p)
4561 (window-min-delta, window-max-delta, window-resizable)
4562 (window-resizable-p, window-full-height-p, window-full-width-p)
4563 (window-current-scroll-bars, window-point-1, set-window-point-1)
4564 (window-at-side-p, window-in-direction, window-resize)
4565 (adjust-window-trailing-edge, maximize-window, minimize-window)
4566 (window-deletable-p, delete-window, delete-other-windows)
4567 (record-window-buffer, unrecord-window-buffer)
4568 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4569 (quit-window, split-window, window-state-put)
4570 (set-window-text-height, fit-window-to-buffer)
4571 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4572
89bd5ee1
EZ
45732011-11-04 Eli Zaretskii <eliz@gnu.org>
4574
53479029
EZ
4575 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4576 rfc2047-decode-string.
4577 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4578 warnings.
4579
89bd5ee1
EZ
4580 * window.el (window-body-height, window-body-width): Mention in
4581 the doc string that the return values are in frame's canonical
4582 units. (Bug#9949)
4583
bd17fdee
AM
45842011-11-03 Alan Mackenzie <acm@muc.de>
4585
4586 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4587 change in cc-engine.el.
4588
acc825c5
SM
45892011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4592
1885e5b8
MR
45932011-11-02 Martin Rudalics <rudalics@gmx.at>
4594
4595 * window.el (quit-window): Call unrecord-window-buffer after
4596 showing another buffer in the window. (Bug#9937)
acc825c5 4597 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4598
ebe06da9
JB
45992011-11-02 Juanma Barranquero <lekktu@gmail.com>
4600
4601 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4602 Accept status with more than 9 shelves. (Bug#9935)
4603 Reported by Colin D Bennett <colin@gibibit.com>.
4604
4ee88440
MR
46052011-11-01 Martin Rudalics <rudalics@gmx.at>
4606
4607 * help.el (with-help-window): Don't reference
4608 temp-buffer-show-specifiers in doc-string.
4609
08e1d82c
AS
46102011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4611
4612 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4613 menu-item.
4614
84bd6e9e
VJL
46152011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4616
4617 * whitespace.el: New version 13.2.2.
4618 (whitespace-newline-mode): Disable properly. Reported by Sarah
4619 <EmacsWiki>.
4620
dba0634a
UJ
46212011-10-30 Ulf Jasper <ulf.jasper@web.de>
4622
4623 * net/newst-treeview.el: Remove "Time-stamp".
4624 (newsticker--group-manage-orphan-feeds): Do not call
4625 newsticker--treeview-tree-update.
db22a3c2
JB
4626 (newsticker-treeview-update, newsticker-treeview):
4627 Call newsticker--treeview-tree-update if necessary.
dba0634a 4628
3d8daefe
MR
46292011-10-30 Martin Rudalics <rudalics@gmx.at>
4630
4631 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4632 (window-iso-combinations): Remove "iso-" infix.
4633 Suggested by Chong Yidong.
3d8daefe
MR
4634 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4635 (window-max-delta-1, window-resize, window--resize-siblings)
4636 (window--resize-this-window, adjust-window-trailing-edge)
4637 (split-window, balance-windows-1)
4638 (shrink-window-if-larger-than-buffer):
4639 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4640 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4641
1bc4c3ae
SM
46422011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4643
4644 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4645 in place (bug#9907).
4646 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4647 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4648 (eshell-structure-basic-command, eshell-rewrite-while-command)
4649 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4650 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4651 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4652 (eshell-do-pipelines-synchronously, eshell-eval-command):
4653 Use backquotes and prefer setq to set.
4654 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4655 (eshell-macrop): Use functionp.
c1e2f5fa 4656 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4657
30b65d9c
CY
46582011-10-30 Chong Yidong <cyd@gnu.org>
4659
4660 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4661 instead of set-mark (Bug#9810).
4662
2d197ffb
CY
46632011-10-30 Chong Yidong <cyd@gnu.org>
4664
4665 * window.el (split-window-below, split-window-right): Rename from
4666 split-window-above-each-other and split-window-side-by-side
4667 respectively. All callers changed.
4668 (split-window-sensibly, split-window-sensibly): Use them.
4669 (split-window-keep-point): Doc fix.
4670
4671 * isearch.el: Add isearch-scroll property to split-window-below
4672 and split-window-right.
4673
4674 * follow.el (follow-mode):
4675 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4676 * progmodes/ada-xref.el (ada-gdb-application):
4677 * emulation/vip.el (vip-buffer-in-two-windows):
4678 * image-dired.el (image-dired-dired-with-window-configuration):
4679 * dired-x.el (dired-do-find-marked-files):
4680 * dired.el (dired-pop-to-buffer):
4681 * bs.el (bs--show-with-configuration):
4682 * vc/emerge.el (emerge-setup-windows):
4683 * textmodes/two-column.el (2C-two-columns):
4684 * textmodes/reftex-toc.el (reftex-toc):
4685 * progmodes/gdb-mi.el (gdb-setup-windows):
4686 * progmodes/fortran.el (fortran-window-create):
4687 * net/newst-treeview.el (newsticker--treeview-window-init):
4688 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4689 * emulation/tpu-edt.el (tpu-gold-map):
4690 * emulation/crisp.el (crisp-mode-map):
4691 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4692
38bb2ca8
CY
46932011-10-29 Chong Yidong <cyd@gnu.org>
4694
aa4de341
CY
4695 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4696
e1eb5385
CY
4697 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4698
5d2ece3c
CY
4699 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4700 forged Ispell output (Bug#7904).
4701
38bb2ca8
CY
4702 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4703
d0af9f77
SM
47042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * doc-view.el: Avoid ugly errors about not finding nil.
4707 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4708 (doc-view-dvipdf-program, doc-view-unoconv-program)
4709 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4710 Avoid nil or absolute file name as default value.
4711 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4712
52bedd34
AM
47132011-10-28 Alan Mackenzie <acm@muc.de>
4714
db22a3c2 4715 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4716
7e43cfa5
AM
47172011-10-28 Alan Mackenzie <acm@muc.de>
4718
4719 Amend the handling of c-beginning/end-of-defun in nested declaration
4720 scopes.
4721
52bedd34
AM
4722 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4723 cc-langs.el. Change it to a defcustom.
7e43cfa5 4724
52bedd34
AM
4725 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4726 cc-vars.el.
7e43cfa5 4727
d0af9f77
SM
4728 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4729 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4730
52bedd34 4731 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4732 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4733 (c-widen-to-enclosing-decl-scope): New function.
4734 (c-while-widening-to-decl-block): New macro.
4735 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4736 outward for defun boundaries, and correspondingly change symbol
4737 `respect-enclosure' to `go-outward'.
4738 (c-declaration-limits): Change algorithm to report only the "innermost"
4739 defun's boundaries.
4740
1a2ce9ee
DD
47412011-10-28 Deniz Dogan <deniz@dogan.se>
4742
4743 * net/rcirc.el (rcirc-mode): Use hard newlines.
4744
bc97a826
AM
47452011-10-28 Alan Mackenzie <acm@muc.de>
4746
4747 Amend to indent and fontify macros "which include their own semicolon"
4748 correctly, using the "virtual semicolon" mechanism.
4749
52bedd34 4750 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4751
d0af9f77 4752 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4753 Recode to scan one line at a time rather than having \n and \r
58179cce 4754 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4755 (c-forward-label): Amend for virtual semicolons.
58179cce 4756 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4757
52bedd34
AM
4758 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4759 of the new C macros.
bc97a826 4760
52bedd34 4761 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4762 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4763 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4764 (c-opt-cpp-macro-define): Make into a full language variable.
4765 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4766 AWK Mode (including \n, \r) removed, no longer needed.
4767
d0af9f77
SM
4768 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4769 Invoke c-make-macro-with-semi-re.
bc97a826 4770
52bedd34
AM
4771 * progmodes/cc-vars.el (c-macro-with-semi-re):
4772 (c-macro-names-with-semicolon): New variables.
58179cce 4773 (c-make-macro-with-semi-re): New function.
bc97a826 4774
7a6c0941
SM
47752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * vc/log-edit.el: Fill empty field rather than adding new one.
4778 (log-edit-add-field): New function.
4779 (log-edit-insert-changelog): Use it.
4780
b0c4cdcf
ML
47812011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4782
4783 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4784
ee1f1da9
SM
47852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4788 (gdb--check-interpreter): New function.
4789 (gdb): Use it.
4790
51bc5f8b
GM
47912011-10-27 Glenn Morris <rgm@gnu.org>
4792
416a2c45
GM
4793 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4794 (least-positive-float, least-negative-float)
4795 (least-positive-normalized-float, least-negative-normalized-float)
4796 (float-epsilon, float-negative-epsilon):
4797 Remove unnecessary declarations.
4798
4799 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4800 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4801 (least-positive-float, least-negative-float)
4802 (least-positive-normalized-float, least-negative-normalized-float)
4803 (float-epsilon, float-negative-epsilon): Add doc-strings,
4804 based on those in cl.texi.
4805
51bc5f8b
GM
4806 * files.el (set-visited-file-name): If the major-mode changed,
4807 reload the local variables. (Bug#9796)
4808
15de15c6
CY
48092011-10-27 Chong Yidong <cyd@gnu.org>
4810
4811 * subr.el (change-major-mode-after-body-hook): New hook.
4812 (run-mode-hooks): Run it.
4813
ee1f1da9
SM
4814 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4815 Use change-major-mode-before-body-hook.
15de15c6
CY
4816
4817 * simple.el (fundamental-mode):
4818 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4819 change introducing fundamental-mode-hook.
4820
5430d399
JB
48212011-10-26 Juanma Barranquero <lekktu@gmail.com>
4822
acc825c5 4823 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4824
ad74a69e
MA
48252011-10-26 Michael Albinus <michael.albinus@gmx.de>
4826
4827 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4828 tramp.el explicitly. (Bug#7583)
ad74a69e 4829
71d4c2a5
SM
48302011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4831
4832 * progmodes/octave-mod.el:
4833 * progmodes/octave-inf.el: Update maintainer.
4834
b1f6fa26
CY
48352011-10-26 Chong Yidong <cyd@gnu.org>
4836
4837 * subr.el (with-wrapper-hook): Rewrite doc.
4838
3f04efd6
MA
48392011-10-25 Michael Albinus <michael.albinus@gmx.de>
4840
4841 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4842 filenames "/method:foo:". (Bug#9793)
3f04efd6 4843
410488d3
SM
48442011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4847 (bug#9865).
4848
c1ebb47e
GM
48492011-10-24 Glenn Morris <rgm@gnu.org>
4850
4851 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4852
7f5c46c7
MA
48532011-10-24 Michael Albinus <michael.albinus@gmx.de>
4854
4855 * notifications.el: Add the requirement of a running D-Bus session
4856 bus to the Commentary.
4857
db2440b6
JL
48582011-10-24 Juri Linkov <juri@jurta.org>
4859
4860 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4861 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4862 (Bug#9364)
4863
feecf435
JL
48642011-10-24 Juri Linkov <juri@jurta.org>
4865
4866 * info.el (Info-following-node-name-re): Add newline to the list
4867 of allowed characters for leading space. (Bug#9824)
4868
a3839de2
SM
48692011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4870
acc825c5
SM
4871 * progmodes/octave-inf.el (inferior-octave-mode-map):
4872 Fix C-c C-h binding.
a3839de2
SM
4873 * progmodes/octave-mod.el (octave-help): Remove.
4874
09388e76
MA
48752011-10-23 Michael Albinus <michael.albinus@gmx.de>
4876
4877 Sync with Tramp 2.2.3.
4878
4879 * net/tramp-cache.el (top): Pacify byte-compiler using
4880 `init-file-user' and `site-run-file'.
4881
4882 * net/trampver.el: Update release number.
4883
86c60681
CY
48842011-10-23 Chong Yidong <cyd@gnu.org>
4885
4886 * files.el (toggle-read-only): Remove obsolete comment about
4887 version control.
4888
4889 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4890 for toggle-read-only. Note that this hasn't called vc-next-action
4891 since 2008-05-02, though it wasn't documented at the time.
4892
a3839de2
SM
4893 * vc/ediff-init.el (ediff-toggle-read-only-function):
4894 Use toggle-read-only.
86c60681 4895
cd5495ff
AM
48962011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4897
4898 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4899 of c-parse-state.
4900
00b77525 4901 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4902 correct faulty logical expression.
cd5495ff
AM
4903 (c-parse-state-state, c-record-parse-state-state):
4904 (c-replay-parse-state-state): New defvar/defuns.
4905 (c-debug-parse-state): Use new functions.
4906
42ee24ed
MR
49072011-10-22 Martin Rudalics <rudalics@gmx.at>
4908
4909 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4910 last fix. Use window-in-direction correctly.
42ee24ed 4911
a7dee7e7
CY
49122011-10-21 Chong Yidong <cyd@gnu.org>
4913
4914 * progmodes/idlwave.el (idlwave-mode):
4915 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4916 require-final-newline; that's done in prog-mode.
4917 Suggested by Stefan Monnier.
a7dee7e7 4918
e07b9a6d
MR
49192011-10-21 Martin Rudalics <rudalics@gmx.at>
4920
4921 * mouse.el (mouse-drag-window-above)
4922 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4923 (mouse-drag-mode-line-1, mouse-drag-header-line)
4924 (mouse-drag-vertical-line-rightward-window): Remove.
4925 (mouse-drag-line): New function.
4926 (mouse-drag-mode-line, mouse-drag-header-line)
4927 (mouse-drag-vertical-line): Call mouse-drag-line.
4928 * window.el (window-at-side-p, windows-at-side): New functions.
4929
7e1361d9
UM
49302011-10-21 Ulrich Mueller <ulm@gentoo.org>
4931
4932 * tar-mode.el (tar-grind-file-mode):
4933 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4934
30fcaf3a
CY
49352011-10-21 Chong Yidong <cyd@gnu.org>
4936
4937 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4938 * progmodes/vera-mode.el (vera-mode):
4939 Use mode-require-final-newline.
30fcaf3a 4940
516eddb0
GM
49412011-10-20 Glenn Morris <rgm@gnu.org>
4942
db22a3c2 4943 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4944
10d5f513
CS
49452011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4946
4947 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4948
ac6c8639
CY
49492011-10-20 Chong Yidong <cyd@gnu.org>
4950
4951 * emulation/cua-base.el (cua-mode):
4952 * mail/footnote.el (footnote-mode):
4953 * mail/mailabbrev.el (mail-abbrevs-mode):
4954 * net/xesam.el (xesam-minor-mode):
4955 * progmodes/bug-reference.el (bug-reference-mode):
4956 * progmodes/cap-words.el (capitalized-words-mode):
4957 * progmodes/compile.el (compilation-minor-mode)
4958 (compilation-shell-minor-mode):
4959 * progmodes/gud.el (gud-tooltip-mode):
4960 * progmodes/hideif.el (hide-ifdef-mode):
4961 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4962 * progmodes/subword.el (subword-mode):
4963 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4964 * progmodes/which-func.el (which-function-mode):
4965 * term/tvi970.el (tvi970-set-keypad-mode):
4966 * term/vt100.el (vt100-wide-mode):
4967 * textmodes/flyspell.el (flyspell-mode):
4968 * textmodes/ispell.el (ispell-minor-mode):
4969 * textmodes/nroff-mode.el (nroff-electric-mode):
4970 * textmodes/paragraphs.el (use-hard-newlines):
4971 * textmodes/refill.el (refill-mode):
4972 * textmodes/reftex.el (reftex-mode):
4973 * textmodes/rst.el (rst-minor-mode):
4974 * textmodes/sgml-mode.el (html-autoview-mode)
4975 (sgml-electric-tag-pair-mode):
4976 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4977 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4978 * emulation/crisp.el (crisp-mode):
4979 * emacs-lisp/eldoc.el (eldoc-mode):
4980 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4981 minor mode behavior.
4982
aa42ab43
JL
49832011-10-19 Juri Linkov <juri@jurta.org>
4984
4985 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4986 the list of hard-coded chars with escape-glyph face.
4987
89400f1d
SM
49882011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4991
305c07f6
MA
49922011-10-19 Michael Albinus <michael.albinus@gmx.de>
4993
4994 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4995 running process.
4996
13754b54
GM
49972011-10-19 Glenn Morris <rgm@gnu.org>
4998
4999 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5000 Ignore ignored files. (Bug#9726)
5001
06e21633
CY
50022011-10-19 Chong Yidong <cyd@gnu.org>
5003
5004 Doc fix for minor modes, stating that an omitted argument enables
5005 the mode unconditionally when called from Lisp.
5006
5007 * abbrev.el (abbrev-mode):
5008 * allout.el (allout-mode):
5009 * autoinsert.el (auto-insert-mode):
5010 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5011 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5012 (global-auto-revert-mode):
5013 * battery.el (display-battery-mode):
5014 * composite.el (global-auto-composition-mode)
5015 (auto-composition-mode):
5016 * delsel.el (delete-selection-mode):
5017 * desktop.el (desktop-save-mode):
5018 * dired-x.el (dired-omit-mode):
5019 * dirtrack.el (dirtrack-mode):
5020 * doc-view.el (doc-view-minor-mode):
5021 * double.el (double-mode):
5022 * electric.el (electric-indent-mode, electric-pair-mode):
5023 * emacs-lock.el (emacs-lock-mode):
5024 * epa-hook.el (auto-encryption-mode):
5025 * follow.el (follow-mode):
5026 * font-core.el (font-lock-mode):
5027 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5028 * help.el (temp-buffer-resize-mode):
5029 * hilit-chg.el (highlight-changes-mode)
5030 (highlight-changes-visible-mode):
5031 * hi-lock.el (hi-lock-mode):
5032 * hl-line.el (hl-line-mode, global-hl-line-mode):
5033 * icomplete.el (icomplete-mode):
5034 * ido.el (ido-everywhere):
5035 * image-file.el (auto-image-file-mode):
5036 * image-mode.el (image-minor-mode):
5037 * iswitchb.el (iswitchb-mode):
5038 * jka-cmpr-hook.el (auto-compression-mode):
5039 * linum.el (linum-mode):
5040 * longlines.el (longlines-mode):
5041 * master.el (master-mode):
5042 * mb-depth.el (minibuffer-depth-indicate-mode):
5043 * menu-bar.el (menu-bar-mode):
5044 * minibuf-eldef.el (minibuffer-electric-default-mode):
5045 * mouse-sel.el (mouse-sel-mode):
5046 * msb.el (msb-mode):
5047 * mwheel.el (mouse-wheel-mode):
5048 * outline.el (outline-minor-mode):
5049 * paren.el (show-paren-mode):
5050 * recentf.el (recentf-mode):
5051 * reveal.el (reveal-mode, global-reveal-mode):
5052 * rfn-eshadow.el (file-name-shadow-mode):
5053 * ruler-mode.el (ruler-mode):
5054 * savehist.el (savehist-mode):
5055 * scroll-all.el (scroll-all-mode):
5056 * scroll-bar.el (scroll-bar-mode):
5057 * server.el (server-mode):
5058 * shell.el (shell-dirtrack-mode):
5059 * simple.el (auto-fill-mode, transient-mark-mode)
5060 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5061 (line-number-mode, column-number-mode, size-indication-mode)
5062 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5063 * strokes.el (strokes-mode):
5064 * time.el (display-time-mode):
5065 * t-mouse.el (gpm-mouse-mode):
5066 * tool-bar.el (tool-bar-mode):
5067 * tooltip.el (tooltip-mode):
5068 * type-break.el (type-break-mode-line-message-mode)
5069 (type-break-query-mode):
5070 * view.el (view-mode):
5071 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5072 (global-whitespace-mode, global-whitespace-newline-mode):
5073 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5074
a3839de2
SM
5075 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5076 Fix autogenerated docstring.
06e21633 5077
5214e501
JL
50782011-10-19 Juri Linkov <juri@jurta.org>
5079
5080 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5081 by checking environment variables "DESKTOP_SESSION" and
5082 "XDG_CURRENT_DESKTOP". (Bug#9779)
5083
195f8db9
JL
50842011-10-19 Juri Linkov <juri@jurta.org>
5085
5086 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5087 (browse-url-chromium-program, browse-url-chromium-arguments):
5088 New defcustoms.
5089 (browse-url-default-browser): Check for `browse-url-chromium' and
5090 call `browse-url-chromium-program'.
5091 (browse-url-chromium): New command. (Bug#9779)
5092
343a34ff
JB
50932011-10-18 Juanma Barranquero <lekktu@gmail.com>
5094
5095 * facemenu.el (list-colors-duplicates): On Windows, detect more
5096 duplicates by assuming that only colors matching "^System" are
5097 special "system colors". (Bug#9722)
5098
6978a151
SM
50992011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5100
5101 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5102 to distinguish the author from the committer.
5103
6a80b297
MA
51042011-10-18 Michael Albinus <michael.albinus@gmx.de>
5105
5106 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5107
b31a5677
JK
51082011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5109
5110 * international/mule.el (sgml-html-meta-auto-coding-function):
5111 Add support for detecting encoding in HTML5 specified only as
5112 <meta charset="UTF-8">. Implementation just makes http-equiv and
5113 content-type parts from HTML4 encoding string optional. (Bug#9716)
5114
80c6d77f
GM
51152011-10-18 Glenn Morris <rgm@gnu.org>
5116
5117 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5118
08b0fee8
CY
51192011-10-18 Chong Yidong <cyd@gnu.org>
5120
5121 * faces.el (cursor): Doc fix.
5122
67e729a5
CY
51232011-10-17 Chong Yidong <cyd@gnu.org>
5124
5125 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5126
343a34ff 51272011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5128
5129 * dirtrack.el (dirtrack): Support shell buffers with path
5130 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5131
0bc06380
TZ
51322011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5133
5134 * json.el: Bump version to 1.3 and note change in History.
5135 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5136
8b79f3e0
SM
51372011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5a7c536b
SM
5139 * comint.el (comint-insert-input, comint-send-input)
5140 (comint-get-old-input-default, comint-backward-matching-input)
5141 (comint-next-prompt): Use nil instead of `input' for field property of
5142 past user input (bug#114).
5143
96a8a0df
SM
5144 * minibuffer.el (completion--replace): Inherit surrounding properties
5145 (bug#114).
5146 (minibuffer-complete-and-exit): Use it.
5147
8b79f3e0
SM
5148 * comint.el (comint--table-subvert): Quote the all-completions output
5149 (bug#9160).
5150
b8f7ff0d
MR
51512011-10-17 Martin Rudalics <rudalics@gmx.at>
5152
8b79f3e0 5153 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5154
b8f7ff0d 5155 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5156 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5157 entries and separate them from frame entries.
5158
c235b555
GM
51592011-10-15 Glenn Morris <rgm@gnu.org>
5160
5161 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5162 Doc fixes.
5163
6bbfa6e1
CY
51642011-10-15 Chong Yidong <cyd@stupidchicken.com>
5165
8b79f3e0
SM
5166 * net/network-stream.el (network-stream-open-starttls):
5167 Improve detection of failure due to lack of TLS support.
ec5c990d 5168
6bbfa6e1
CY
5169 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5170 putting the input text in front and in bold.
5171
98488977
SM
51722011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5173
3d1337be
SM
5174 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5175
ee0b45e4
SM
5176 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5177 empty buffer.
5178
98488977
SM
5179 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5180 unread-command-events rather than pushing yet-another event.
5181
186f4720
EZ
51822011-10-14 Eli Zaretskii <eliz@gnu.org>
5183
5184 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5185 the explanation of the possible choices. Make the options passed
5186 to completing-read shorter.
5187
8b7a997c
AM
51882011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5189
5190 * textmodes/flyspell.el (flyspell-large-region): Make sure
5191 extended character mode is used if defined (Bug#1339).
5192
12587bbb
EZ
51932011-10-13 Eli Zaretskii <eliz@gnu.org>
5194
5195 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5196 character info for LRE, LRO, RLE, and RLO characters by appending
5197 an invisible PDF.
12587bbb 5198
bad41229
SM
51992011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5202 even in case of error; add debug spec; simplify data flow.
5203 (with-timeout-handler): Remove.
5204
28dbc92f
MA
52052011-10-12 Michael Albinus <michael.albinus@gmx.de>
5206
5207 Fix Bug#6019, Bug#9315.
5208
5209 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5210 complete `buffer-file-name', the local file name part could look
5211 remotely (for example on VMS).
5212
5213 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5214 `tramp-run-real-handler'.
5215 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5216 already quoted by '"'.
5217
5218 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5219 Let `file-name-handler-alist' be nil, the local file name part
5220 could look remotely (for example on VMS).
5221
e1b0b23a
SM
52222011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5225 from here...
5226 (flyspell-post-command-hook): ...to here.
5227
a120bde9
SM
52282011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5229
5230 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5231 if not needed.
5232 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5233 using completion. Protect against "slow" callers.
5234 Remove the "message hack".
5235
7ce7717b
JL
52362011-10-11 Juri Linkov <juri@jurta.org>
5237
5238 * isearch.el (isearch-lazy-highlight-word): New variable.
5239 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5240 Use it. (Bug#9727)
5241
c02ee9d6
GM
52422011-10-11 Glenn Morris <rgm@gnu.org>
5243
5244 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5245 like f90-previous-statement does.
5246
93e616fd 52472011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5248
1f190e73 5249 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5250 only in interactive use, to avoid error.
5251
af7b6078
SM
52522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * minibuffer.el (completion-file-name-table): Fix last change,
5255 i.e. ignore normal errors but not the other ones.
5256
0563dae9
MR
52572011-10-10 Martin Rudalics <rudalics@gmx.at>
5258
5259 * window.el (special-display-buffer-names)
5260 (special-display-regexps): Remove some remnants of earlier
5261 changes from doc-strings.
366ca7f3
MR
5262 (quit-windows-on): New function.
5263
5264 * vc/vc.el (vc-revert, vc-rollback):
5265 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5266 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5267 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5268
49677495
MR
52692011-10-09 Martin Rudalics <rudalics@gmx.at>
5270
5271 * window.el (frame-auto-hide-function): Add version tag.
5272 (Bug#9699)
5273
56f2d1e1
MA
52742011-10-09 Michael Albinus <michael.albinus@gmx.de>
5275
5276 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5277 condition.
5278
112a6592
LL
52792011-10-09 Leo Liu <sdl.web@gmail.com>
5280
5281 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5282 (Bug#9701)
5283
0812589b
GM
52842011-10-08 Glenn Morris <rgm@gnu.org>
5285
5286 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5287 before the first code statement zero indent. (Bug#9690)
5288
b2b0776e
CY
52892011-10-08 Chong Yidong <cyd@stupidchicken.com>
5290
5291 * simple.el (count-words-region): Always count in the region.
5292 Report the number of lines and characters too.
5293 (count-words): New command, which counts in the buffer if the
5294 region is inactive, as count-words-region used to.
5295 (count-words--message): New function. Handle plurals.
5296 (count-lines-region): Make it an alias for count-words-region.
5297
5298 * bindings.el (esc-map): Replace count-lines-region with
5299 count-words-region.
5300
c557cd6b
MR
53012011-10-08 Martin Rudalics <rudalics@gmx.at>
5302
5303 * window.el (window--delete): Delete dedicated frame
5304 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5305 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5306
61a57ef4 53072011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5308
3a7d293b 5309 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5310
c3833279
CY
53112011-10-07 Chong Yidong <cyd@stupidchicken.com>
5312
5313 * bindings.el ([M-left],[M-right]): Bind to left-word and
5314 right-word respectively.
5315
21ce8245
GM
53162011-10-07 Glenn Morris <rgm@gnu.org>
5317
5318 * cus-start.el (debug-on-quit): Fix custom type.
5319
6d823bb2
LMI
53202011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5321
0181e193
LMI
5322 * subr.el (define-key-after): Clarify that the function is not
5323 useful for non-menu keymaps.
5324
6d823bb2
LMI
5325 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5326
8e3459ce 53272011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5328
21ce8245 5329 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5330 in current minibuffer (Fix bug with recursive minibuffers).
5331
a1c2d21e
CY
53322011-10-06 Chong Yidong <cyd@stupidchicken.com>
5333
5334 * progmodes/gdb-mi.el (gdb): Doc fix.
5335
5a4cf282
MR
53362011-10-05 Martin Rudalics <rudalics@gmx.at>
5337
5338 * window.el (frame-auto-hide-function): New option replacing
5339 frame-auto-delete. Suggested by Stefan Monnier.
5340 (window--delete): Call frame-auto-hide-function instead of
5341 investigating frame-auto-delete.
c96111ea
MR
5342 (window-point-1, set-window-point-1): New functions.
5343 (window-in-direction, record-window-buffer, window-state-get-1)
5344 (display-buffer-record-window): Use window-point-1 instead of
5345 window-point.
5346 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5347
9854542e
SM
53482011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5349
5350 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5351
8943cfb0
GM
53522011-10-05 Glenn Morris <rgm@gnu.org>
5353
5354 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5355 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5356
647ab967
LL
53572011-10-05 Leo Liu <sdl.web@gmail.com>
5358
5359 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5360 works with buffer object.
5361
3ddfbced
SM
53622011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * mpc.el (mpc-tool-bar-map): Add labels.
5365
bdfa5dd2
GM
53662011-10-04 Glenn Morris <rgm@gnu.org>
5367
5368 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5369
0e2070b5
MR
53702011-10-04 Martin Rudalics <rudalics@gmx.at>
5371
5372 * window.el (window--delete): New function.
5373 (frame-auto-delete): Resuscitate option.
5374 (bury-buffer, replace-buffer-in-windows)
5375 (quit-window): Rewrite using window--delete.
5376 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5377 Pass display-buffer-mark-dedicated to window--display-buffer-2
5378 (Bug#9639).
5379
3dc61a09
SM
53802011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5381
915a9b64
SM
5382 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5383 returns a list (bug#9554). Add remote file name completion.
5384 * comint.el (comint--table-subvert): Curry and get quote&unquote
5385 functions as arguments.
5386 (comint--complete-file-name-data): Adjust call accordingly.
5387 * pcomplete.el (pcomplete--table-subvert): Remove.
5388 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5389
3dc61a09
SM
5390 * minibuffer.el (completion-table-case-fold): Use currying.
5391 (completion--styles-type, completion--cycling-threshold-type):
5392 New constants.
5393 (completion-styles, completion-category-overrides)
5394 (completion-cycle-threshold): Use them.
5395 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5396 completion-table-case-fold.
5397
8ea0a993
SB
53982011-10-03 Stephen Berman <stephen.berman@gmx.net>
5399
5400 * minibuffer.el (completion-category-overrides): Fix type of styles
5401 and add more user friendly tags (bug#9660).
5402
8c24b7f6
SM
54032011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5406 (mule-input-method-string): New widget.
5407 (default-input-method, language-info-custom-alist): Use it.
5408
428fe61a
SM
54092011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5410
32c1fffd
SM
5411 * pcomplete.el: Require comint.
5412 (pcomplete--common-suffix): Remove.
5413 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5414 (pcomplete--table-subvert): Sync with comint--table-subvert.
5415 (pcomplete--entries): Use comint-completion-file-name-table.
5416 * comint.el (comint-unquote-filename): Simplify.
5417 (comint-completion-file-name-table): New function (bug#9616).
5418 (comint--complete-file-name-data): Use it.
5419
428fe61a
SM
5420 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5421 (pcmpl-gnu-tar-buffer): Remove.
5422 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5423 around. Make sure pcomplete-suffix-list is only changed temporarily.
5424 Don't look inside the tar's file if it's too large.
428fe61a 5425
04c52e2f
CY
54262011-10-01 Chong Yidong <cyd@stupidchicken.com>
5427
ce3cefcc
CY
5428 * cus-edit.el (custom-mode-map):
5429 * epa.el (epa-key-list-mode-map):
5430 * man.el (Man-mode-map):
5431 * startup.el (splash-screen-keymap):
5432 * simple.el (special-mode-map): Use scroll-up-command and
5433 scroll-down-command.
5434
5435 * progmodes/idlw-help.el (idlwave-help-mode-map):
5436 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5437 * net/newst-plainview.el (newsticker-mode-map):
5438 * emulation/ws-mode.el (wordstar-mode-map):
5439 * emulation/vi.el (vi-com-map):
5440 * calc/calc-graph.el (calc-graph-show-dumb):
5441 * term/sun.el (terminal-init-sun):
5442 * term/ns-win.el (global-map):
5443 * progmodes/grep.el (grep-mode-map):
5444 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5445 * mail/rmail.el (rmail-mode-map):
5446 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5447
04c52e2f
CY
5448 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5449 custom-safe-themes as special.
5450
79adf8c8
JD
54512011-10-01 Julien Danjou <julien@danjou.info>
5452
5453 * notifications.el (notifications-notify): Fix docstring.
5454
63bd50d3
PS
54552011-10-01 Per Starbäck <per@starback.se>
5456
5457 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5458
199e4c7e
MR
54592011-09-30 Martin Rudalics <rudalics@gmx.at>
5460
5461 * startup.el (command-line-1): Fix last fix by inserting
5462 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5463 (Bug#9605) and (Bug#9636)
199e4c7e 5464
fe5f08dd
EZ
54652011-09-29 Eli Zaretskii <eliz@gnu.org>
5466
5467 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5468 window is hscrolled, move by logical lines. (Bug#9607)
5469 (line-move-visual): Update the doc string to the above effect.
5470
b5516bbd
MR
54712011-09-29 Martin Rudalics <rudalics@gmx.at>
5472
ccee00c0
MR
5473 * window.el (display-buffer-record-window): When WINDOW is the
5474 selected window use `point' instead of `window-point'. (Bug#9626)
5475
b5516bbd
MR
5476 * startup.el (command-line-1): Use insert-before-markers when
5477 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5478
b5516bbd
MR
5479 * help.el (help-window): Remove variable.
5480
52aa0014
GM
54812011-09-29 Glenn Morris <rgm@gnu.org>
5482
5483 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5484
df9a7357
JB
54852011-09-29 Juanma Barranquero <lekktu@gmail.com>
5486
5487 * descr-text.el (describe-char-categories): Accept category
5488 descriptions more than one line long.
5489
a8406c20
SM
54902011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5491
88d9610c
SM
5492 * simple.el (delete-trailing-whitespace): Fix last change.
5493
a5daf810
SM
5494 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5495 Don't confuse "y => 3" as the beginning of a `y' operation.
5496
a8406c20
SM
5497 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5498 object has more than 4 slots (bug#9613).
5499
a239d4e9
JB
55002011-09-28 Juanma Barranquero <lekktu@gmail.com>
5501
5502 * subr.el (with-output-to-temp-buffer):
5503 * net/quickurl.el (quickurl, quickurl-browse-url):
5504 Fix typos in docstrings.
5505
693fbdb6
EZ
55062011-09-27 Eli Zaretskii <eliz@gnu.org>
5507
5508 * minibuffer.el (completion-styles)
5509 (completion-category-overrides): Cross reference each other in doc
5510 strings.
5511
8b457e28
GM
55122011-09-27 Glenn Morris <rgm@gnu.org>
5513
5514 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5515 to split-string. (Bug#9606)
5516
85a16208
LMI
55172011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5518
5519 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5520 (bug#9615).
5521
502f9ebd
CY
55222011-09-27 Chong Yidong <cyd@stupidchicken.com>
5523
5524 * emacs-lisp/package.el (list-packages): Fix echo area message.
5525
7690bdea
LL
55262011-09-27 Leo Liu <sdl.web@gmail.com>
5527
5528 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5529
e2ee6f30
MA
55302011-09-25 Michael Albinus <michael.albinus@gmx.de>
5531
5532 * net/dbus.el (dbus-unregister-object): Don't release services for
5533 registered signals. (Bug#9581)
5534
f3f98342
TZ
55352011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5536
5537 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5538 function that picks between cfengine 2 and 3 support
5539 automatically. Update docs accordingly.
5540
dd7aa8dd
KH
55412011-09-22 Kenichi Handa <handa@m17n.org>
5542
5543 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5544 ZERO.
5545 (indian-itrans-v5-table-for-tamil): New variable.
5546 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5547
3f2b07f8
KM
55482011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5549
5550 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5551 that's true if the current command involved collapsing of text.
5552 It's reset to false at the beginning of the next command.
5553 (allout-post-command-business): Move the cursor to the beginning
5554 of entry if the cursor is hidden and collapsing activity just
5555 happened.
5556
371d6a61
CY
55572011-09-24 Chong Yidong <cyd@stupidchicken.com>
5558
5559 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5560 tracking (Bug#9541).
5561
2ac2721a
UJ
55622011-09-24 Ulf Jasper <ulf.jasper@web.de>
5563
5564 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5565 (newsticker-show-news): Automatically load html rendering package
5566 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5567 because w3m-fill-column is let-bound" and the error "Symbol's value
5568 as variable is void: w3m-fill-column".
2ac2721a 5569
fac7ae53
MA
55702011-09-24 Michael Albinus <michael.albinus@gmx.de>
5571
5572 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5573 Release services only if they are defined. (Bug#9581)
5574
e08b633b
RS
55752011-09-23 Richard Stallman <rms@gnu.org>
5576
e488d29c
RS
5577 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5578 distinguish start of paragraph from start of its text.
5579
19c38752
RS
5580 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5581
e08b633b
RS
5582 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5583 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5584 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5585
0a39f27e
AS
55862011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5587
5588 * international/mule-diag.el (mule-diag): Insert a newline after
5589 each fontset description.
5590
db4e950d
SM
55912011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * simple.el (delete-trailing-whitespace):
5594 Document last change; simplify.
5595
eca3f3ea
PW
55962011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5597
d68e189a
PW
5598 * simple.el (delete-trailing-whitespace): Also delete
5599 extra newlines at the end of the buffer.
5600
eca3f3ea
PW
5601 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5602 (picture-newline): Use forward-line so as to ignore fields.
5603
01c157cc
SM
56042011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5605
5606 * subr.el (with-wrapper-hook): Fix edebug spec.
5607
022de23e
LMI
56082011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5609
5610 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5611 (bug#4538).
5612
91683089
MA
56132011-09-23 Michael Albinus <michael.albinus@gmx.de>
5614
eca3f3ea
PW
5615 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5616 Fix nasty bug using wrong cached values.
91683089 5617
5bdd6fa4
AM
56182011-09-23 Alan Mackenzie <acm@muc.de>
5619
5620 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5621
97adfb97
CY
56222011-09-23 Chong Yidong <cyd@stupidchicken.com>
5623
5624 * window.el (pop-to-buffer): Ensure right window is selected if we
5625 chose another frame.
5626
d4ef2b50
EZ
56272011-09-22 Eli Zaretskii <eliz@gnu.org>
5628
5629 * simple.el (what-cursor-position): Use get-char-property-change
5630 and next-single-char-property-change, to be able to show display
5631 properties that come from overlays as well as text properties.
5632
72258fe5
CY
56332011-09-22 Chong Yidong <cyd@stupidchicken.com>
5634
5635 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5636
5637 * cmuscheme.el (run-scheme, switch-to-scheme):
5638 * cus-edit.el (customize-group, custom-buffer-create)
5639 (customize-browse):
5640 * info.el (info):
5641 * shell.el (shell):
5642 * mail/sendmail.el (mail):
5643 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5644
8f098516
RS
56452011-09-22 Richard Stallman <rms@gnu.org>
5646
5647 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5648 move back only to line beg, don't move back over blank lines.
5649
e74f1bb6
MA
56502011-09-22 Michael Albinus <michael.albinus@gmx.de>
5651
5652 * files.el (copy-directory): Set directory attributes only in case
5653 they could be retrieved from the source directory. (Bug#9565)
5654
bfeef8b6
DK
56552011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5656
5657 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5658 (hs-find-block-beginning, hs-hide-level-recursive):
5659 Ignore strings as well as comments. (Bug#9502)
5660
7e423bb8
AS
56612011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5662
5663 * progmodes/sql.el (sql-comint-postgres):
5664 Convert port number to a string. (Bug#9566)
5665
b4d72fcf
MR
56662011-09-22 Martin Rudalics <rudalics@gmx.at>
5667
5668 * window.el (quit-window): Undedicate window when switching to
5669 previous buffer. Reported by Thierry Volpiatto
5670 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5671 (special-display-popup-frame): When popping up a new frame reset
5672 its previous buffers to nil. Simplify code.
b4d72fcf 5673
a7b88dc6
MA
56742011-09-21 Michael Albinus <michael.albinus@gmx.de>
5675
5676 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5677 and process filter, as done also in `shell-command'.
5678
cf4eacfd
MR
56792011-09-21 Martin Rudalics <rudalics@gmx.at>
5680
eca3f3ea 5681 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5682 Call set-window-start with NOFORCE argument t.
5683 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5684 (quit-window): Reword doc-string. Handle new format of
5685 quit-restore parameter. Don't delete window if it has a
5686 previous buffer we can show instead of the present one.
5687 (display-buffer-record-window): Rewrite using a new format for
5688 the quit-restore window parameter
5689 (special-display-popup-frame, display-buffer-same-window)
5690 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5691 (display-buffer-pop-up-window, display-buffer-use-some-window):
5692 Adapt symbol passed to display-buffer-record-window.
5693 * help.el (help-window-setup): Handle new format of quit-restore
5694 parameter.
5695
8d28cb95
SM
56962011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5697
94ab793f
SM
5698 * faces.el (face-list): Fix docstring (bug#9564).
5699
8d28cb95
SM
5700 * window.el (display-buffer--action-function-custom-type):
5701 Don't include internal functions in the Custom interface.
5702
3820edeb
JL
57032011-09-20 Juri Linkov <juri@jurta.org>
5704
5705 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5706 (Info-forward-node, Info-backward-node, Info-next-preorder)
5707 (Info-last-preorder): Use it. (Bug#9528)
5708
5147931d
JL
57092011-09-20 Juri Linkov <juri@jurta.org>
5710
5711 * info.el (Info-last-preorder): Visit last menu item only when
5712 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5713
cf499a1a
JD
57142011-09-20 Julien Danjou <julien@danjou.info>
5715
5716 * password-cache.el (password-cache-remove): Remove entries even if the
5717 value is nil, so that password with a nil value (negative caching) is
5718 possible to invalidate.
5719
f84e2fe2
LM
57202011-09-20 Lawrence Mitchell <wence@gmx.li>
5721
5722 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5723 all whitespace around breakpoint. (Bug#9553)
5724 (f90-find-breakpoint): Only break at whitespace inside a comment.
5725
78054a46
SM
57262011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * minibuffer.el (completion-file-name-table): Keep track of errors.
5729 (completion-table-with-predicate): Handle the case where pred1 is nil.
5730 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5731
345083b2
SM
57322011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5733
e24e27be
SM
5734 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5735 (debugger-return-value): Signal an error if the debugging context does
5736 not await any return value.
5737
345083b2
SM
5738 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5739 * image-mode.el (image-toggle-display-text)
5740 (image-toggle-display-image): Stay away from evil `intangible'.
5741
08d355e3
LL
57422011-09-19 Leo Liu <sdl.web@gmail.com>
5743
5744 * replace.el (occur-revert-arguments): Make it permanent-local.
5745 (occur-mode): Don't call font-lock-defontify.
5746
f01da43f
CY
57472011-09-19 Chong Yidong <cyd@stupidchicken.com>
5748
5749 * net/ldap.el (ldap-search-internal): Don't push empty search
5750 result (Bug#9508).
5751
b6072fa6
SM
57522011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5755
443d6696
MA
57562011-09-19 Michael Albinus <michael.albinus@gmx.de>
5757
5758 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5759 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5760
7cc6e154
JL
57612011-09-18 Juri Linkov <juri@jurta.org>
5762
5763 * buff-menu.el (Buffer-menu-mode-map):
5764 * dired.el (dired-mode-map):
5765 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5766 (lisp-interaction-mode-map):
5767 * emacs-lisp/package.el (package-menu-mode-map):
5768 * epa.el (epa-key-list-mode-map):
5769 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5770 (menu-bar-options-menu):
5771 * outline.el (outline-mode-menu-bar-map):
5772 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5773 * vc/vc-dir.el (vc-dir-menu-map):
5774 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5775 Capitalize non-function content words in menu item strings.
5776
5777 * dired.el (dired-mode-map): Add menu item for
5778 `image-dired-dired-toggle-marked-thumbs'.
5779
80302a81
JL
57802011-09-18 Juri Linkov <juri@jurta.org>
5781
5782 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5783 to `isearch-case-fold-search' and restore its original value
5784 after the `isearch-mode' call.
5785
46c5cf66
JL
57862011-09-18 Juri Linkov <juri@jurta.org>
5787
5788 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5789 because `zgrep' returns 1 for successful matches (bug#9226).
5790
d18b513b
JL
57912011-09-18 Juri Linkov <juri@jurta.org>
5792
5793 * info.el (Info-extract-menu-node-name): Check the second match
5794 for empty string (second test-case of bug#9528).
5795 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5796 intermediate nodes to the history (first test-case of bug#9528).
5797
72753f87
JL
57982011-09-18 Juri Linkov <juri@jurta.org>
5799
5800 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5801 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5802
c9384295
JL
58032011-09-18 Juri Linkov <juri@jurta.org>
5804
1154d12e
JB
5805 * info.el (Info-file-supports-index-cookies):
5806 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5807 outputs one more line for long file names (bug#4142).
c9384295 5808
d473dce8
CY
58092011-09-18 Chong Yidong <cyd@stupidchicken.com>
5810
5811 * newcomment.el (comment-normalize-vars): If prompting for
5812 comment-start, set comment-start-skip too (Bug#8424).
5813
2176854d
JB
58142011-09-18 Johan Bockgård <bojohan@gnu.org>
5815
5816 * icomplete.el: Fix previous fix of Bug#5849.
5817 (icomplete-mode): Don't set completion-show-inline-help.
5818 (icomplete-minibuffer-setup): Set completion-show-inline-help
5819 locally during icompletion.
5820
3aace4e4
CY
58212011-09-18 Chong Yidong <cyd@stupidchicken.com>
5822
c940224f
CY
5823 * woman.el (woman2-process-escapes): Don't delete unrecognized
5824 escapes (Bug#7843).
5825
3aace4e4
CY
5826 * files.el (inhibit-first-line-modes-regexps): Add image files.
5827 (hack-local-variables-prop-line): Return nil for malformed
5828 prop-lines (Bug#9044).
5829
710dec63
MA
58302011-09-18 Michael Albinus <michael.albinus@gmx.de>
5831
5832 * net/tramp.el (top): Don't require 'shell.
5833 (tramp-methods): Fix docstring.
5834 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5835 Return complete remote file name. Handle "smb" case.
5836 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5837 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5838
5839 * net/tramp-compat.el (top): Require 'shell.
5840
5841 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5842 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5843 `tramp-current-host'.
5844 (tramp-get-remote-tmpdir): Remove.
5845
5846 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5847 `tramp-tmpdir' entries.
5848 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5849 (tramp-smb-handle-file-attributes): Ignore errors.
5850 (tramp-smb-wait-for-output): Check also for process end.
5851
5d5ac8ec
LMI
58522011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5853
5854 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5855 when sending QUIT (bug#9312).
5856
8c0f49f0
CY
58572011-09-17 Chong Yidong <cyd@stupidchicken.com>
5858
5859 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5860 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5861 occur-mode-display-occurrence.
5862 (occur-edit-mode): Add usage message.
5863 (occur-cease-edit): New command.
5864 (occur-after-change-function): Use text properties to find the
5865 position of the prefix text.
5866 (occur-engine): Set stickiness of prefix text properties.
5867
8f1383f7
GM
58682011-09-17 Glenn Morris <rgm@gnu.org>
5869
5870 * progmodes/etags.el (complete-tag):
5871 Fix call to completion-in-region. (Bug#9526)
5872
744ba0e3
JL
58732011-09-17 Juri Linkov <juri@jurta.org>
5874
5875 * textmodes/ispell.el (ispell-word): Add to the error message
5876 the word, ispell program name and current dictionary (bug#9121).
5877 (ispell-tex-arg-end): Capitalize "error" in the error message.
5878
d9bbf400
AS
58792011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5880
5881 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5882 check. (Bug#4251)
5883
8da11505
JL
58842011-09-17 Juri Linkov <juri@jurta.org>
5885
5886 * window.el (window-safe-min-height, window-safe-min-width):
5887 Fix typos (followup to bug#9522).
5888
a91adc7e
SJ
58892011-09-17 Sven Joachim <svenjoac@gmx.de>
5890
5891 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5892
064f328a
EZ
58932011-09-16 Eli Zaretskii <eliz@gnu.org>
5894
5895 * simple.el (line-move): If goal-column is set, move by logical
5896 lines, not by display lines. (Bug#971)
5897 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5898 to reflect the above change.
5899
e69df516
SM
59002011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * image.el (imagemagick-register-types): Use regexp-opt.
5903
cbb0f9ab
CY
59042011-09-15 Chong Yidong <cyd@stupidchicken.com>
5905
5906 * window.el (display-buffer-base-action): Rename from
5907 display-buffer-default-action. Make default value empty.
5908 (display-buffer-overriding-action): Convert to defvar.
5909 (display-buffer-fallback-action): New var.
5910
25322144
CY
59112011-09-15 Chong Yidong <cyd@stupidchicken.com>
5912
5913 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5914 declaration.
5915 (package--add-to-archive-contents): If there is a duplicate entry
5916 with an older version, remove it.
5917 (package-menu-mark-delete, package-menu-mark-install)
5918 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5919 (package-menu-mark-obsolete-for-deletion):
5920 Use package-menu-get-status instead of a regexp search.
25322144
CY
5921 (package-menu-get-status): Use tabulated-list-entry.
5922 (package-menu-mark-upgrades): New command.
d770725a 5923 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5924 (package-menu-execute): Do installation before deletion.
5925 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5926 instead of checking major-mode.
5927 (package-menu--find-upgrades): New function.
5928
7520339c
LMI
59292011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5930
5931 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5932 passwords in the log buffer.
65a046c4
LMI
5933 (smtpmail-process-filter): Update the process marker so that the
5934 "broken by peer" status message is inserted in the right place.
7520339c 5935
d3c30954
SM
59362011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5937
3fe48822
SM
5938 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5939 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5940 bibtex-completion-at-point-function.
5941 (bibtex-completion-at-point-function): Use them.
5942
1b8b3954
SM
5943 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5944
d3c30954
SM
5945 * mpc.el (mpc-constraints-tag-lookup): New function.
5946 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5947 also to browser "album|playlist".
5948
72779976
JL
59492011-09-14 Juri Linkov <juri@jurta.org>
5950
5951 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5952 (isearch-edit-string): Use length of `isearch-string' when
5953 `isearch-fail-pos' returns nil.
5954 (isearch-message): Remove duplicate code and call
5955 `isearch-fail-pos' with arg `t'.
5956
a0bf2bcd
CY
59572011-09-14 Chong Yidong <cyd@stupidchicken.com>
5958
17bb0a2d
CY
5959 * replace.el (occur-mode-goto-occurrence): Don't force using other
5960 window (Bug#9499).
5961
a0bf2bcd
CY
5962 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5963
f678e0b6
MR
59642011-09-14 Martin Rudalics <rudalics@gmx.at>
5965
5966 * window.el (display-buffer-window): Remove.
5967 (display-buffer-record-window): Use help-setup window parameter
5968 instead of variable display-buffer-window.
5969 (display-buffer-function, special-display-buffer-names)
5970 (special-display-function): Mention help-setup parameter instead
5971 of display-buffer-window in doc-string.
d3c30954
SM
5972 * help.el (help-window-setup): New argument help-window.
5973 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5974 Reword some messages.
5975 (with-help-window): Pass window used for displaying the buffer
5976 to help-window-setup. Don't set display-buffer-window.
5977
8e39b2e8
GM
59782011-09-13 Glenn Morris <rgm@gnu.org>
5979
5980 * emacs-lisp/debug.el (debugger-make-xrefs):
5981 Preserve point. (Bug#9462)
5982
85e9c04b
CY
59832011-09-13 Chong Yidong <cyd@stupidchicken.com>
5984
5985 * window.el (window-deletable-p): Use next-frame.
5986
1b36ed6a
MR
59872011-09-13 Martin Rudalics <rudalics@gmx.at>
5988
5989 * window.el (window-auto-delete): Remove.
5990 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5991 dedication and previous buffers.
1b36ed6a
MR
5992 (switch-to-prev-buffer): Don't delete window.
5993 (delete-windows-on): Delete a window's frame if and only if the
5994 window is dedicated.
5995 (replace-buffer-in-windows): Delete buffer's window or frame if
5996 and only if window is dedicated.
5997 (quit-window): Handle quit-restore as before last change.
4d61f28d 5998 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5999
ef8ef9fb
CY
60002011-09-13 Chong Yidong <cyd@stupidchicken.com>
6001
6002 * window.el (window-deletable-p): Never delete the last frame on a
6003 given terminal.
6004
b2cba41e
GM
60052011-09-13 Glenn Morris <rgm@gnu.org>
6006
6007 * help.el (describe-key-briefly): Copy previous standard-output change.
6008
51553db6 60092011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6010
6011 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6012
b7556719
GM
60132011-09-13 Glenn Morris <rgm@gnu.org>
6014
6015 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6016 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6017
64b51947
CY
60182011-09-12 Chong Yidong <cyd@stupidchicken.com>
6019
6020 * dired-aux.el (dired-mark-read-string): Don't return default
6021 value on empty input (Bug#9361).
6022 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6023 Omit initial minibuffer contents.
6024 (dired-do-chmod): Signal an error on empty input.
6025 (dired-mark-read-string): Don't return default on empty input.
6026
6027 * files.el (file-modes-symbolic-to-number): Doc fix.
6028
393a301e
SM
60292011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6030
6031 * international/mule-cmds.el (ucs-completions): Remove.
6032 (read-char-by-name): Use complete-with-action instead; add metadata.
6033
fa5660f9
CY
60342011-09-11 Chong Yidong <cyd@stupidchicken.com>
6035
6036 * window.el (display-buffer--action-function-custom-type)
6037 (display-buffer--action-custom-type): New vars.
6038 (display-buffer-alist, display-buffer-default-action)
6039 (display-buffer-overriding-action): Add defcustom types.
6040
4a592f66
CY
6041 * frame.el (delete-other-frames): Doc fix (Bug#276).
6042
73d56dbd
LMI
60432011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6044
6045 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6046
37ac18a3
CY
60472011-09-11 Chong Yidong <cyd@stupidchicken.com>
6048
6049 Change modes that used same-window-* vars to use switch-to-buffer.
6050
6051 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6052 Use switch-to-buffer.
6053
6054 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6055 (customize-browse, custom-buffer-create-other-window):
6056 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6057
6058 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6059 (Info-prev, Info-up, Info-speedbar-goto-node)
6060 (info-display-manual): Use switch-to-buffer.
6061 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6062
6063 * mail/sendmail.el (mail): Use switch-to-buffer.
6064 (mail-recover): Use switch-to-buffer-other-window.
6065
6066 * cmuscheme.el (run-scheme, switch-to-scheme):
6067 * ielm.el (ielm):
6068 * shell.el (shell):
6069 * net/rlogin.el (rlogin):
6070 * net/telnet.el (telnet, rsh):
6071 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6072
10195bd6
AS
60732011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6074
6075 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6076
b322f63a
LMI
60772011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6078
39d7fed6
LMI
6079 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6080 so don't mention it (bug#9301).
ba5a81f1 6081 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6082
ee0e9f11
LMI
6083 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6084 match `x', `w32' and `ns', like the manual says (bug#9029).
6085
0b1c89c1 6086 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6087 (process-kill-buffer-query-function): Mention the buffer name in
6088 the query.
0b1c89c1 6089
77549ea8
LMI
6090 * image-mode.el (image-next-line): The line parameter is mandatory
6091 (bug#9258).
6092
803ef892
LMI
6093 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6094 which can be useful (bug#9301).
6095
12980837
LMI
6096 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6097
91054f8f
LMI
6098 * subr.el (match-string): Mention that the current buffer should
6099 be the same as the search was done in (bug#9282).
6100
b322f63a
LMI
6101 * facemenu.el: Disable the remove-* commands if the mark isn't
6102 active (bug#9162).
6103
3199b96f
CY
61042011-09-10 Chong Yidong <cyd@stupidchicken.com>
6105
6106 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6107 of display-buffer.
6108 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6109
6110 * replace.el (occur-mode-goto-occurrence)
6111 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6112 and display-buffer.
6113
6114 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6115 display-buffer.
6116
6117 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6118 special-display and same-window variables.
6119 (mail-other-window): Use switch-to-buffer-other-window.
6120 (mail-other-frame): USe switch-to-buffer-other-frame.
6121
393a301e
SM
6122 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6123 Use display-buffer-other-frame.
3199b96f
CY
6124 (gdb-display-gdb-buffer): Use pop-to-buffer.
6125
6126 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6127
6128 * progmodes/python.el: Don't set same-window-buffer-names.
6129
6130 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6131
6132 * window.el (display-buffer-alist): Add *Python*.
6133
8319e0bf
CY
61342011-09-10 Chong Yidong <cyd@stupidchicken.com>
6135
6136 * window.el (display-buffer-alist): Add entry for buffers
6137 previously handled same-window-*.
6138 (display-buffer-alist, display-buffer-default-action)
6139 (display-buffer-overriding-action): Mark as risky.
6140 (display-buffer-alist): Document action function changes.
6141 (display-buffer--same-window-action)
6142 (display-buffer--other-frame-action): New variables.
6143 (switch-to-buffer, display-buffer-other-frame): Use them.
6144 (display-buffer): Rename reuse-frame entry to reusable-frames.
6145 (display-buffer-reuse-selected-window): Function deleted.
6146 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6147 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6148 (display-buffer-special): New function.
6149 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6150 display-buffer-reuse-or-pop-window. Split off special-display
6151 part into display-buffer-special.
6152 (display-buffer-use-some-window): Don't perform any special
6153 pop-up-frames handling.
6154 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6155 (display-buffer--maybe-same-window): Rename from
0d3ff375 6156 display-buffer-maybe-same-window.
8319e0bf 6157
919a69aa
CY
6158 * info.el: Don't set same-window-regexps.
6159 (info-setup): New function.
6160 (info-other-window, info): Call it.
6161
6162 * cus-edit.el: Don't set same-window-regexps.
6163 (customize-group): New argument.
6164 (customize-group-other-window): Use it.
6165 (customize-face, customize-face-other-window): Likewise.
6166 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6167
8319e0bf
CY
6168 * net/rlogin.el:
6169 * net/telnet.el:
6170 * progmodes/gud.el: Don't set same-window-regexps.
6171
6172 * cmuscheme.el:
6173 * ielm.el:
6174 * shell.el:
6175 * mail/sendmail.el:
6176 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6177
25173000
JL
61782011-09-10 Juri Linkov <juri@jurta.org>
6179
6180 * isearch.el (isearch-edit-string): Remove obsolete mention of
6181 `C-w' (`isearch-yank-word-or-char') from docstring.
6182 (isearch-query-replace): Fix typo in docstring (bug#9466).
6183
056e44ef
JL
61842011-09-10 Juri Linkov <juri@jurta.org>
6185
6186 * paren.el (show-paren-function): Don't show escaped parens.
6187 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6188
c3760c17
EZ
61892011-09-10 Eli Zaretskii <eliz@gnu.org>
6190
6191 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6192 (mm-default-file-encoding): Remove autoload forms, they are
6193 replaced with autoload cookies in mml.el and mm-encode.el.
6194 (mail-add-attachment): New command.
6195 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6196 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6197 the doc string.
6198 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6199
fece895e
RT
62002011-09-10 Reuben Thomas <rrt@sc3d.org>
6201
e69df516
SM
6202 * simple.el (count-words-region): Use buffer if there's no region
6203 (bug#9429).
fece895e 6204
5e68ce4a
JL
62052011-09-09 Juri Linkov <juri@jurta.org>
6206
6207 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6208 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6209 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6210
0a6b9622
AM
62112011-09-09 Alan Mackenzie <acm@muc.de>
6212
6213 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6214 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6215
14a29deb
EZ
62162011-09-09 Eli Zaretskii <eliz@gnu.org>
6217
6218 Fix for Savannah bug#9392.
6219 * simple.el (mail-encode-mml): New defvar.
6220
6221 * mail/rmail.el (mail-encode-mml): Add a defvar.
6222 (rmail-enable-mime-composing): Default to t.
6223 (rmail-forward): Use MIME method of forwarding only if both
6224 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6225 Set mail-encode-mml non-nil if the MIME method was used.
6226
6227 * mail/sendmail.el (mml-to-mime): Add autoload form.
6228 (mail-encode-mml): Add a defvar.
6229 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6230 to nil.
6231 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6232 message through mml-to-mime, and reset mail-encode-mml to nil.
6233
28c45130
GM
62342011-09-09 Glenn Morris <rgm@gnu.org>
6235
6236 * woman.el (woman-if-body): When processing an .el block,
6237 do not delete the next .el block as well. (Bug#9447)
69f4b618 6238 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6239
9b1c252e
MR
62402011-09-08 Martin Rudalics <rudalics@gmx.at>
6241
6242 * window.el (window-deletable-p): Make sure window is live before
6243 invoking window-prev-buffers.
6244
567457e3
LL
62452011-09-08 Leo Liu <sdl.web@gmail.com>
6246
6247 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6248
97f05794
JL
62492011-09-08 Juri Linkov <juri@jurta.org>
6250
6251 * progmodes/compile.el (compilation-environment): Make it
6252 a defcustom (bug#8340).
6253
8b0874b5
MR
62542011-09-08 Martin Rudalics <rudalics@gmx.at>
6255
6256 * window.el (frame-auto-delete): Rename to window-auto-delete.
6257 Make it control auto-deletion of windows and/or frames.
6258 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6259 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6260 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6261 Rewrite handling of case when window/frame can be deleted.
6262 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6263 argument t. (Bug#9456)
8b0874b5 6264
4feb6e73
CY
62652011-09-07 Chong Yidong <cyd@stupidchicken.com>
6266
6267 * help-mode.el (help-mode): Restore autoload.
6268
91ab9c13
JL
62692011-09-07 Juri Linkov <juri@jurta.org>
6270
6271 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6272 `compilation-environment'. Set buffer-local
6273 `compilation-environment' to `thisenv' later after (funcall mode).
6274 (Bug#8340)
6275
6276 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6277 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6278 instead of replacing its value. (Bug#8340)
6279
0527e251
JL
62802011-09-07 Juri Linkov <juri@jurta.org>
6281
6282 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6283 based on text properties put by `grep-filter' instead of matching
6284 escape sequences.
6285 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6286 to the value of `grep-error-screen-columns' (bug#9438).
6287
249f792c
JL
62882011-09-07 Juri Linkov <juri@jurta.org>
6289
6290 * simple.el (next-error-highlight, next-error-highlight-no-select):
6291 Doc fix (bug#9432).
6292
ff7271b9
OT
62932011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6294
6295 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6296 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6297
183fc730
LL
62982011-09-07 Leo Liu <sdl.web@gmail.com>
6299
6300 * net/rcirc.el (rcirc-mode): Conditionally initialize
6301 rcirc-input-ring.
6302
77694924
SM
63032011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * emacs-lisp/find-func.el (find-function-C-source): Only set
6306 find-function-C-source-directory after checking that we found a source
6307 file there (bug#9440).
6308
d809b8eb
AM
63092011-09-06 Alan Mackenzie <acm@muc.de>
6310
6311 * isearch.el (isearch-other-meta-char): Wherever a key list is
6312 unread, "unread" the prefix arg, too. This fixes bug #8901.
6313
453de99f
OG
63142011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6315
6316 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6317
90439906
JL
63182011-09-05 Juri Linkov <juri@jurta.org>
6319
6320 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6321
f62bd846
JL
63222011-09-05 Juri Linkov <juri@jurta.org>
6323
6324 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6325 keeping point where processing of grep matches begins, and
6326 continue to delete remaining escape sequences from the same point.
6327 (grep-filter): Make leading zero optional in "0?1;31m" because
6328 git-grep emits "\033[1;31m" escape sequences unlike expected
6329 "\033[01;31m" as GNU Grep does (bug#9408).
6330 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6331
045820ec
JL
63322011-09-05 Juri Linkov <juri@jurta.org>
6333
6334 * subr.el (y-or-n-p): Capitalize "yes".
6335
f5e29b9b
MA
63362011-09-04 Michael Albinus <michael.albinus@gmx.de>
6337
6338 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6339 `tramp-cache-unload-hook' where appropriate.
6340 (tramp-methods): Rename `tramp-remote-sh' to
6341 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6342 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6343
6344 * net/tramp-sh.el (top): Don't require 'shell.
6345 (tramp-methods): Add `tramp-remote-shell' and
6346 `tramp-remote-shell-args' entries.
6347 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6348 (tramp-sh-handle-shell-command): Remove.
6349 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6350 Use `tramp-remote-shell'.
6351
2784c434
CY
63522011-09-03 Chong Yidong <cyd@stupidchicken.com>
6353
393a301e 6354 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6355 (sendmail-query-once): Save directly to send-mail-function.
6356 Update message-send-mail-function too.
6357
6358 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6359
464cdf56
CS
63602011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6361
6362 * progmodes/python.el (python-mode-map): Use correct function to
6363 start python interpreter from menu-bar (as reported by Geert
6364 Kloosterman).
6365 (inferior-python-mode-map): Fix typo.
393a301e 6366 (python-shell-map): Remove.
464cdf56 6367
d37e5c87
DD
63682011-09-03 Deniz Dogan <deniz@dogan.se>
6369
6370 * net/rcirc.el (rcirc-print): Simplify code for
6371 rcirc-scroll-show-maximum-output. There is no need to walk
6372 through all windows to find the right one.
6373
f3ada0ee
CS
63742011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6375
6376 * help.el (help-return-method): Doc fix.
6377
1f3c99ca
MR
63782011-09-03 Martin Rudalics <rudalics@gmx.at>
6379
6380 * window.el (window-deletable-p): Don't return a non-nil value
6381 when there's a buffer that was shown in the window before.
6382 (Bug#9419)
393a301e
SM
6383 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6384 Set window's previous buffers to nil.
1f3c99ca 6385
a3cf097f
EZ
63862011-09-03 Eli Zaretskii <eliz@gnu.org>
6387
6388 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6389 newline before and after the tag line, so it doesn't interfere
6390 with determining the paragraph direction of bidirectional text.
6391
3d03de90
LL
63922011-09-03 Leo Liu <sdl.web@gmail.com>
6393
6394 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6395
c3313451
CY
63962011-09-02 Chong Yidong <cyd@stupidchicken.com>
6397
393a301e 6398 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6399 (pop-to-buffer): Change interactive spec. Pass second argument
6400 directly to display-buffer.
6401 (display-buffer): Fix interactive spec. Use functionp to
6402 distinguish between a function and a list of functions.
6403
6404 * abbrev.el (edit-abbrevs):
6405 * arc-mode.el (archive-extract):
6406 * autoinsert.el (auto-insert):
6407 * bookmark.el (bookmark-bmenu-list):
6408 * files.el (find-file):
6409 * view.el (view-buffer):
6410 * progmodes/compile.el (compilation-goto-locus):
6411 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6412
89894cd8
CY
64132011-09-02 Chong Yidong <cyd@stupidchicken.com>
6414
6415 * window.el (display-buffer-alist): Doc fix.
6416 (display-buffer): Add docstring. Don't treat
6417 display-buffer-default specially.
6418 (display-buffer-reuse-selected-window)
6419 (display-buffer-same-window, display-buffer-maybe-same-window)
6420 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6421 (display-buffer-pop-up-window)
6422 (display-buffer-reuse-or-pop-window)
6423 (display-buffer-use-some-window): New functions.
6424 (display-buffer-default-action): Use them.
393a301e 6425 (display-buffer-default): Delete.
89894cd8
CY
6426 (pop-to-buffer-1): Fix choice of actions.
6427
ae0bc9fb
SM
64282011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6429
6430 * minibuffer.el (completion--insert-strings): Don't get confused by
6431 completion entries that end with an LF char.
6432
e9d90883
EZ
64332011-09-01 Eli Zaretskii <eliz@gnu.org>
6434
6435 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6436
437014c8
CY
64372011-09-01 Chong Yidong <cyd@stupidchicken.com>
6438
6439 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6440 (display-buffer-same-window, display-buffer-other-window):
6441 New functions.
437014c8
CY
6442 (pop-to-buffer-1): New function. Use the above.
6443 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6444 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6445
6446 * view.el (view-buffer-other-window, view-buffer-other-frame):
6447 Just use pop-to-buffer.
6448
a5e063d5
TV
64492011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6450
6451 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6452
793d32bb
WH
64532011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6454
6455 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6456
d65e4c15
RS
64572011-08-31 Richard Stallman <rms@gnu.org>
6458
6459 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6460 of the separation of rmail-view-buffer from rmail-buffer.
6461 If you say no to "replace original", the decrypt is in the
6462 view buffer. If you say yes, the decrypt goes into the
6463 rmail buffer also.
6464
f818cd2a
MR
64652011-08-31 Martin Rudalics <rudalics@gmx.at>
6466
6467 * window.el (display-buffer-window): Rewrite doc-string.
6468 (display-buffer-record-window): New function.
6469 (display-buffer-macro-specifiers)
6470 (display-buffer-even-window-sizes, display-buffer-set-height)
6471 (display-buffer-set-width, display-buffer-in-window)
6472 (display-buffer-reuse-window, display-buffer-split-specifiers)
6473 (display-buffer-side-specifiers, display-buffer-split-window-1)
6474 (display-buffer-split-window, display-buffer-split-atom-window)
6475 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6476 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6477 (display-buffer-other-window-means-other-frame)
6478 (display-buffer-normalize-special)
6479 (display-buffer-normalize-default)
6480 (display-buffer-normalize-argument)
6481 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6482 (display-buffer-normalize-specifiers, display-buffer-frame)
6483 (display-buffer-same-window, display-buffer-same-frame)
6484 (display-buffer-other-window)
6485 (display-buffer-same-frame-other-window)
6486 (display-buffer-other-frame, pop-to-buffer-same-window)
6487 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6488 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6489 (switch-to-buffer-same-frame)
6490 (switch-to-buffer-other-window-same-frame)
6491 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6492 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6493 (display-buffer-alist-set): Remove.
6494 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6495 (special-display-regexps, special-display-function):
6496 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6497 parameter.
6498 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6499 (special-display-frame-alist, special-display-popup-frame)
6500 (same-window-buffer-names, same-window-regexps, same-window-p)
6501 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6502 (split-window-preferred-function, split-height-threshold)
6503 (split-width-threshold, window-splittable-p)
6504 (split-window-sensibly, window--try-to-split-window)
6505 (window--frame-usable-p, even-window-heights)
6506 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6507 (window--display-buffer-2, display-buffer-other-frame):
6508 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6509 (display-buffer-default, display-buffer-assq-regexp): New functions.
6510 (display-buffer-alist): Rewrite doc-string.
6511 (display-buffer-default-action)
6512 (display-buffer-overriding-action): New variables.
6513 (display-buffer, switch-to-buffer): Rewrite.
6514 (pop-to-buffer): Restore Emacs 23 behavior but use
6515 window-normalize-buffer-to-display.
6516 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6517 Restore Emacs 23 behavior but use
6518 window-normalize-buffer-to-switch-to.
6519 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6520 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6521 Rewrite using Emacs 23 options.
f818cd2a 6522
5bc3b51d
MA
65232011-08-31 Michael Albinus <michael.albinus@gmx.de>
6524
6525 * net/tramp.el (tramp-root-regexp): Remove.
6526 (tramp-completion-file-name-regexp-unified)
6527 (tramp-completion-file-name-regexp-separate)
6528 (tramp-completion-file-name-regexp-url): Don't use leading volume
6529 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6530 (tramp-drop-volume-letter): Simplify definition.
6531 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6532
b1a4f8e1
SM
65332011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6536 (bug#9356).
6537
5664fa7b
RT
65382011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6539
b1a4f8e1 6540 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6541
9a45d6c3
JL
65422011-08-29 Juri Linkov <juri@jurta.org>
6543
6544 * isearch.el (isearch-done): Don't display message "Mark saved"
6545 when arg `edit' is non-nil to prevent its flicker in the echo area.
6546
fb87e0fb
CY
65472011-08-28 Chong Yidong <cyd@stupidchicken.com>
6548
6549 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6550 obsolete packages for deletion.
6551
09ac1c2a
CS
65522011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6553
6554 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6555 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6556 view-mode from help-mode.
6557 (help-xref-override-view-map): Remove.
6558 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6559 view-mode is not used anymore.
6560
7a1ff57f
CY
65612011-08-28 Chong Yidong <cyd@stupidchicken.com>
6562
6563 * server.el (server-port): Doc fix.
6564
b9696605
CY
6565 * cus-theme.el (custom-theme-choose-mode): Inherit from
6566 special-mode (Bug#9124).
6567 (custom-theme-choose-mode-map): Add special-mode to parent.
6568
ef8cdf8c
AM
65692011-08-28 Alan Mackenzie <acm@muc.de>
6570
6571 * progmodes/cc-fonts.el
6572 (c-make-font-lock-BO-decl-search-function): New function.
6573 (c-basic-matchers-after - "Fontify the clauses after various
6574 keywords"): Extract the three keyword lists for the 3 erroneous
6575 constructs from the list of four, and use the new function above
6576 in place of an old one.
6577
27de4e20
DD
65782011-08-28 Deniz Dogan <deniz@dogan.se>
6579
6580 * net/rcirc.el (rcirc-insert-prev-input)
6581 (rcirc-insert-next-input): Remove unused argument.
6582
356a3681
SM
65832011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6584
6585 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6586
3fc9b218
AM
65872011-08-27 Alan Mackenzie <acm@muc.de>
6588
6589 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6590 handle function pointer parameters properly.
6591
538a061c
MR
65922011-08-27 Martin Rudalics <rudalics@gmx.at>
6593
6594 * window.el (display-buffer-reuse-window): Fix case where
6595 selected window was reused with non-nil OTHER-WINDOW argument.
6596 (Bug#9381)
6597
35b1c40c
DD
65982011-08-27 Deniz Dogan <deniz@dogan.se>
6599
6600 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6601 oftc's NickServ messages.
6602
2f6a3e79
GM
66032011-08-27 Glenn Morris <rgm@gnu.org>
6604
6605 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6606
7254299e
CY
66072011-08-26 Chong Yidong <cyd@stupidchicken.com>
6608
6609 * emacs-lisp/package.el (package-install): Call package-initialize
6610 if called interactively.
6611
f8ccf167
LL
66122011-08-26 Leo Liu <sdl.web@gmail.com>
6613
6614 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6615
3e8cd5ce
JL
66162011-08-25 Juri Linkov <juri@jurta.org>
6617
6618 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6619 `search-whitespace-regexp' (bug#9364).
6620
93eb7113
JL
66212011-08-25 Juri Linkov <juri@jurta.org>
6622
6623 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6624 `regexp-search-ring' to their global values to protect from
6625 updating by `read-from-minibuffer' (bug#9185).
6626
f65d1611
JL
66272011-08-25 Juri Linkov <juri@jurta.org>
6628
6629 * textmodes/ispell.el (ispell-command-loop): Add newline
6630 at the end of the "Use option `i'..." line.
6631
f1cf7a31
JL
66322011-08-25 Juri Linkov <juri@jurta.org>
6633
6634 * battery.el (display-battery-mode): If `battery-status-function'
6635 or `battery-mode-line-format' is nil, display the message and set
6636 `display-battery-mode' to nil (bug#9363).
6637
0c95fcf7
EZ
66382011-08-25 Eli Zaretskii <eliz@gnu.org>
6639
6640 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6641 bidi-string-mark-left-to-right; they are unnecessary now.
6642
a2ebe600
DD
66432011-08-25 Deniz Dogan <deniz@dogan.se>
6644
6645 * net/quickurl.el: Documentation typo fixes.
6646
e4ed06f1
CY
66472011-08-25 Chong Yidong <cyd@stupidchicken.com>
6648
6649 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6650
e5f1c99e
GM
66512011-08-25 Glenn Morris <rgm@gnu.org>
6652
b2948976
GM
6653 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6654
e5f1c99e
GM
6655 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6656 (smtpmail-via-smtp): Handle nil response from smtp.
6657
f22f4808
JL
66582011-08-24 Juri Linkov <juri@jurta.org>
6659
6660 * proced.el (proced-marked): Inherit from `error' instead of
6661 `font-lock-warning-face'.
6662
6663 * ibuffer.el (ibuffer-marked-face): Change default face from
6664 `font-lock-warning-face' to `warning'.
6665 (ibuffer-deletion-face): Change default face from
6666 `font-lock-type-face' to `error'.
6667
6668 * battery.el (battery-update): Use the face `error' instead of
6669 `font-lock-warning-face' (bug#6117).
6670
6a93965e
JL
66712011-08-24 Juri Linkov <juri@jurta.org>
6672
6673 * faces.el (success): Change face color from "Green3" to
6674 "ForestGreen" on light background (bug#9353).
6675
1ed43b09
CY
66762011-08-24 Chong Yidong <cyd@stupidchicken.com>
6677
5664fa7b
RT
6678 * window.el (quit-window): Rename from quit-restore-window.
6679 Use same arglist as old quit-window.
1ed43b09
CY
6680 (frame-auto-delete): Doc fix.
6681
6682 * view.el (view-mode-exit): Use quit-window.
6683
11dcdbb2
JL
66842011-08-24 Juri Linkov <juri@jurta.org>
6685
6686 * isearch.el (isearch-ring-adjust1): Start visiting previous
6687 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6688 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6689 for empty search string (when the last search string is reused
6690 automatically) to adjust the isearch ring to the last element and
6691 prepare the correct index for further M-p commands (bug#9185).
6692
de62b4df
KH
66932011-08-24 Kenichi Handa <handa@m17n.org>
6694
6695 * international/ucs-normalize.el: If decomposition property of
6696 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6697 nil.
6698 (nfd, nfkd): Likewise.
6699
963b492b
SM
67002011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6701
6702 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6703 from process filters aren't reliably transmitted to the surrounding
6704 accept-process-output.
6705 (mpc-proc-check): New function.
6706 (mpc-proc-sync): Use it (bug#8293)
6707
93b6b5e1
SM
67082011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6711 Add compatibility functions (bug#9313).
6712
bca633fb
EZ
67132011-08-23 Eli Zaretskii <eliz@gnu.org>
6714
b177498a
EZ
6715 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6716
6df6ae42 6717 * international/uni-bidi.el: Regenerate.
bca633fb 6718
0902a04e
KH
67192011-08-23 Kenichi Handa <handa@m17n.org>
6720
6721 * international/charprop.el:
6722 * international/uni-bidi.el:
6723 * international/uni-category.el:
6724 * international/uni-combining.el:
6725 * international/uni-comment.el:
6726 * international/uni-decimal.el:
6727 * international/uni-decomposition.el:
6728 * international/uni-digit.el:
6729 * international/uni-lowercase.el:
6730 * international/uni-mirrored.el:
6731 * international/uni-name.el:
6732 * international/uni-numeric.el:
6733 * international/uni-old-name.el:
6734 * international/uni-titlecase.el:
6735 * international/uni-uppercase.el: Regenerate.
6736
3bbf23bc
MR
67372011-08-23 Martin Rudalics <rudalics@gmx.at>
6738
6739 * help.el (help-window-setup): Fix message displayed when other
6740 window is reused. (Bug#9341)
6741
b3fd59bd
SM
67422011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6743
1802e444
SM
6744 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6745 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6746
b3fd59bd
SM
6747 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6748 Mark obsolete.
6749 * shell.el (shell-parse-pcomplete-arguments): New function.
6750 (shell-completion-vars): Use it instead (bug#9160).
6751
4eb61348
SM
67522011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6753
867cab74
SM
6754 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6755 strings and comments (bug#9333).
6756
4eb61348
SM
6757 * emacs-lisp/debug.el (debug-arglist): New function.
6758 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6759 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6760
262a1439
JL
67612011-08-22 Juri Linkov <juri@jurta.org>
6762
56ee679c
JL
6763 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6764 Revert regexp that highlights output switches to its old
6765 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6766
262a1439
JL
6767 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6768 to check for empty output (bug#9226).
6769
f13f86fb
CY
67702011-08-22 Chong Yidong <cyd@stupidchicken.com>
6771
6772 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6773 symbol-constituent as the default, as that stops font-lock from
6774 working properly (Bug#8843).
6775
c65c9622
LMI
67762011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6777
6778 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6779 `coding-system-for-*' around the process open call to avoid
6780 auth-source side effects.
e7f2c178 6781 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6782 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6783 probe hangs.
c65c9622 6784
23a8a5ab
CY
67852011-08-21 Chong Yidong <cyd@stupidchicken.com>
6786
ff98b2dd
CY
6787 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6788
23a8a5ab
CY
6789 * emacs-lisp/find-func.el (find-function-noselect): New arg
6790 lisp-only.
6791
6792 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6793 signal an error for built-in functions (Bug#6664).
6794
f5e3c598
LMI
67952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6796
6797 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6798 (smtpmail-try-auth-methods): Use it.
6799
a3f2468a
CY
68002011-08-21 Chong Yidong <cyd@stupidchicken.com>
6801
2c34e8da
CY
6802 * font-lock.el (font-lock-fontify-region)
6803 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6804 (font-lock-default-unfontify-buffer)
6805 (font-lock-default-fontify-region)
6806 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6807
b3fd59bd
SM
6808 * progmodes/compile.el (compilation-error-properties):
6809 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6810 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6811 `ant' regexp.
ee31aabc 6812
a3f2468a
CY
6813 * net/browse-url.el (browse-url-firefox): Don't call
6814 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6815
8e999f70
GM
68162011-08-20 Glenn Morris <rgm@gnu.org>
6817
c21a496a
GM
6818 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6819
59ee0542
GM
6820 * tutorial.el (tutorial--default-keys): Update some default bindings.
6821
8e999f70
GM
6822 * files.el (hack-local-variables): Fully ignore case for "mode:".
6823
e3715033
AM
68242011-08-20 Alan Mackenzie <acm@muc.de>
6825
6826 Resolve invalid use of a regexp in regexp-opt.
6827
4d61f28d
JB
6828 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6829 detection for a java annotation.
e3715033 6830
4d61f28d 6831 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6832 detection for a java annotation.
6833
4d61f28d
JB
6834 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6835 handling for java.
e3715033
AM
6836 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6837
04ed2e9c
CY
68382011-08-20 Chong Yidong <cyd@stupidchicken.com>
6839
6840 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6841 (Bug#9274).
6842
826cee64
AM
68432011-08-20 Alan Mackenzie <acm@muc.de>
6844
58179cce 6845 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6846 such a construct. Mainly for when jit-lock etc. starts a chunk
6847 here.
6848
58179cce 6849 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6850 variable.
58179cce 6851 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6852 c-make-font-lock-search-function.
6853 (c-make-font-lock-search-function): Use the above function.
6854 (c-make-font-lock-context-search-function): New function.
6855 (c-cpp-matchers): Enhance the preprocessor expression case with
6856 the above function
6857 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6858 which takes an expression.
6859
6860 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6861
13009bd8
MR
68622011-08-20 Martin Rudalics <rudalics@gmx.at>
6863
6864 * window.el (display-buffer-reuse-window)
6865 (display-buffer-pop-up-window): Don't reuse or split a side
6866 window.
6867
9234ff7f
GM
68682011-08-19 Glenn Morris <rgm@gnu.org>
6869
6870 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6871 Downcase "Mode:". (Bug#9331)
9234ff7f 6872
f635daa1
CY
68732011-08-18 Chong Yidong <cyd@stupidchicken.com>
6874
6875 * international/characters.el: Add L and R categories.
6876
6877 * subr.el (bidi-string-mark-left-to-right): Rename from
6878 string-mark-left-to-right. Use category search.
6879
6880 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6881
bc987f8b
JL
68822011-08-18 Juri Linkov <juri@jurta.org>
6883
6884 * faces.el (error, warning, success): New faces with definitions
6885 copied from old default values of `font-lock-warning-face',
6886 `compilation-warning', `compilation-info' (bug#6117).
6887
6888 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6889
6890 * progmodes/compile.el (compilation-error): Inherit from `error'.
6891 (compilation-warning): Inherit from `warning'.
6892 (compilation-info): Inherit from `success'.
6893
6894 * dired.el (dired-marked): Inherit from `warning'.
6895 (dired-flagged): Inherit from `error'.
6896
57173b96
LMI
68972011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6898
3e79eb87
LMI
6899 * mail/smtpmail.el (auth-source): Require to avoid problems with
6900 binding variables (bug#9298). Also clean up some unused
6901 autoloads.
6902
b3fd59bd
SM
6903 * net/network-stream.el (network-stream-open-starttls):
6904 Support using starttls.el without using gnutls-cli.
57173b96 6905
02b404de
JL
69062011-08-17 Juri Linkov <juri@jurta.org>
6907
6908 * progmodes/grep.el (rgrep): Handle the case when
6909 `grep-find-command' is a cons cell (bug#9278).
6910
8c9177f2
MR
69112011-08-17 Martin Rudalics <rudalics@gmx.at>
6912
6913 * window.el (display-buffer-pop-up-frame): Run frame creation
6914 function with BUFFER current (as special-display-popup-frame
6915 does). Reported by Drew Adams.
6916
3644a0ab
DU
69172011-08-17 Daiki Ueno <ueno@unixuser.org>
6918
6919 * epa-mail.el: Simplify GnuPG group expansion using
6920 epg-expand-group.
6921 (epa-mail-group-alist, epa-mail-group-modtime)
6922 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6923 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6924 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6925 Remove.
6926
5e617bc2 69272011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6928
6929 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6930
9c4aeabf
AM
69312011-08-16 Alan Mackenzie <acm@muc.de>
6932
6933 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6934 Correct, to avoid the inside of macros.
6935
3a99bf64
RS
69362011-08-16 Richard Stallman <rms@gnu.org>
6937
04963aa8
RS
6938 * epa-mail.el: Handle GnuPG group definitions.
6939 (epa-mail-group-alist, epa-mail-group-modtime)
6940 (epa-mail-gnupg-conf-file): New variables.
6941 (epa-mail-parse-groups, epa-mail-sync-groups)
6942 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6943 (epa-mail-expand-recipients): New functions.
6944 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6945
177549d0
RS
6946 * mail/rmail.el (rmail-epa-decrypt): New command.
6947
fe38beef
RS
6948 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6949 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6950 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6951 (epa-decrypt-armor-in-region): Make error message clearer.
6952
934eacb9
SM
69532011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6956 and "a2b" to "ab" for `prefix'.
6957
d024fb4e
CY
69582011-08-14 Chong Yidong <cyd@stupidchicken.com>
6959
6960 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6961 filter groups.
de148fee
CY
6962 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6963 Fourquet (Bug#8804).
d024fb4e 6964
62f1ca49
JB
69652011-08-12 Juanma Barranquero <lekktu@gmail.com>
6966
6967 * startup.el (argi): Declare as global variable (bug#9275).
6968
9ccaaa4b
CY
69692011-08-12 Chong Yidong <cyd@stupidchicken.com>
6970
6971 * subr.el (string-mark-left-to-right): Search the entire string
6972 for RTL script, not just the terminating character. Doc fix.
6973
a3dae87a
SM
69742011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6cd18349
SM
6976 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6977 New function.
6978 (js--regexp-literal, js-syntax-propertize-function): Remove.
6979 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6980 (js-mode-map): Don't rebind electric keys.
6981 (js-insert-and-indent): Remove.
6982 (js-mode): Setup electric-layout and electric-indent instead.
6983
a3dae87a
SM
6984 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6985
9d5cb631
DU
69862011-08-12 Daiki Ueno <ueno@unixuser.org>
6987
6988 * epa.el (epa-progress-callback-function): Fix the logic of
6989 displaying progress.
6990 * epa-file.el (epa-file-insert-file-contents): Make progress
6991 display more user-friendly.
6992 (epa-file-write-region): Ditto.
6993
3e26a4a2
CY
69942011-08-10 Chong Yidong <cyd@stupidchicken.com>
6995
6996 * subr.el (string-mark-left-to-right): New function.
6997
6998 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6999 Use string-mark-left-to-right.
7000 (list-buffers-noselect): Caller changed.
7001
a3dae87a
SM
7002 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7003 Use string-mark-left-to-right.
3e26a4a2
CY
7004 (tabulated-list-print): Recenter after moving point.
7005
ac8cf6e6
JL
70062011-08-10 Juri Linkov <juri@jurta.org>
7007
7008 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7009 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7010 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7011
8d96c9a4
CY
70122011-08-09 Chong Yidong <cyd@stupidchicken.com>
7013
7014 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7015 (Bug#7554).
7016
7be1c708 70172011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7018
7019 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7020 character. (Bug#6594)
7021
37e11a63
CY
70222011-08-08 Chong Yidong <cyd@stupidchicken.com>
7023
839dde57
CY
7024 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7025 (image-dired--with-db-file): New macro.
7026 (image-dired-write-tags, image-dired-remove-tag)
7027 (image-dired-create-gallery-lists, image-dired-write-comments)
7028 (image-dired-get-comment, image-dired-mark-tagged-files)
7029 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7030 (image-dired-gallery-generate): Use insert-file-contents.
7031
37e11a63
CY
7032 * time.el (display-time-world-list, display-time-world-display):
7033 * time-stamp.el (time-stamp-string):
7034 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7035 set-time-zone-rule (Bug#7337).
7036
0b4946c4
DU
70372011-08-08 Daiki Ueno <ueno@unixuser.org>
7038
7039 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7040 (epg-error-to-string, epg-errors-to-string): New function.
7041 (epg-wait-for-completion): Reverse errors list.
7042 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7043 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7044 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7045 (epg-sign-keys, epg-generate-key-from-file)
7046 (epg-generate-key-from-string): Format errors by using
7047 epg-errors-to-string (bug#9255).
7048 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7049
75bfc667
JL
70502011-08-07 Juri Linkov <juri@jurta.org>
7051
7052 * faces.el (list-faces-display): Remove extra angle bracket
7053 from `help-mode-map'.
7054
7055 * info.el (Info-history-toc-nodes): Doc fix.
7056
7057 * longlines.el (longlines-mode): Doc fix.
7058
673e08bb
SM
70592011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7060
4640dd88
SM
7061 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7062 of statements and in a few more cases (bug#9183).
7063
673e08bb
SM
7064 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7065 New functions.
7066 (cl-transform-lambda): Use them (bug#9239).
7067
89b3f019
MR
70682011-08-05 Martin Rudalics <rudalics@gmx.at>
7069
7070 * window.el (display-buffer-same-window)
7071 (display-buffer-same-frame, display-buffer-other-window)
7072 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7073 (pop-to-buffer-other-window)
7074 (pop-to-buffer-same-frame-other-window)
7075 (pop-to-buffer-other-frame): Make them defuns.
7076 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7077
640c8776
SM
70782011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * subr.el (make-composed-keymap): Move from C. Change calling
7081 convention, and improve docstring to bring attention to a subtle point.
7082 * minibuffer.el (completing-read-default): Adjust accordingly.
7083
63648a95
MA
70842011-08-03 Michael Albinus <michael.albinus@gmx.de>
7085
7086 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7087 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7088
7089 * net/trampver.el: Update release number.
7090
b796c9b7
SM
70912011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7094 "in" (bug#9190).
7095
2239d7d5
LMI
70962011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7097
e07dd7c3
LMI
7098 * mail/sendmail.el (sendmail-query-once): Restore the current
7099 buffer after querying (bug#9074).
7100
0e6a2bd7
LMI
7101 * dired.el (dired-flagged): Use different faces for marked and
7102 flagged files (bug#6117).
7103
ce887515
LMI
7104 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7105 (bug#4433).
7106
92f2affc
LMI
7107 * ido.el (ido-mode): Switch off the message if called
7108 non-interactively.
7109
57d5aff0
LMI
7110 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7111 before 587, since it appears that that's more likely to work for
7112 more people.
7113
98cd6c18 7114 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7115 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7116 exist.
7117
b96dec83
LMI
7118 * info.el: Remove the `Info-beginning-of-buffer' function
7119 (bug#8325).
7120
b796c9b7
SM
7121 * net/network-stream.el (network-stream-open-starttls):
7122 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7123
d90e2ea0
MR
71242011-08-01 Martin Rudalics <rudalics@gmx.at>
7125
7126 * window.el (display-buffer-in-window): Don't set dedicated status
7127 of window here (Bug#9215).
7128 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7129 (display-buffer-pop-up-side-window)
b796c9b7 7130 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7131
cca09170
SM
71322011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7135 before binding generated-autoload-file.
7136
027b979c
DD
71372011-08-01 Deniz Dogan <deniz@dogan.se>
7138
7139 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7140
3c7ee4f3
MA
71412011-07-30 Michael Albinus <michael.albinus@gmx.de>
7142
7143 Sync with Tramp 2.2.2.
7144
7145 * net/trampver.el: Update release number.
7146
2cc8e51a
JL
71472011-07-30 Juri Linkov <juri@jurta.org>
7148
7149 * dired-aux.el (dired-touch-initial): Remove function.
7150 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7151 current time, and `default' to the last modification time of the
7152 current marked file (bug#6887).
7153
a514d856
JM
71542011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7155
7156 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7157 numeric argument to read-number (bug#9163).
a514d856 7158
8a7eddd7
MA
71592011-07-27 Michael Albinus <michael.albinus@gmx.de>
7160
7161 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7162 connection process, it could be nil.
7163
1ddd96f5
LL
71642011-07-27 Leo Liu <sdl.web@gmail.com>
7165
7166 Simplify url handling in rcirc-mode.
7167
7168 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7169 (rcirc-browse-url-at-mouse): Remove.
7170 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7171
b248a85d
AM
71722011-07-26 Alan Mackenzie <acm@muc.de>
7173
7174 Fontify bitfield declarations properly.
7175
7176 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7177 (c-symbol-chars): Now exported as a lang variable.
7178 (c-not-primitive-type-keywords): New lang variable.
7179
7180 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7181 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7182 parsed as a bitfield declaration.
b248a85d 7183
b796c9b7
SM
7184 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7185 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7186 (c-punctuation-in): New function.
7187 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7188 declarations properly.
7189
68575ab0
UJ
71902011-07-26 Ulf Jasper <ulf.jasper@web.de>
7191
7192 * calendar/icalendar.el (icalendar--all-events): Take care of
7193 multiple vcalendars in a single file.
b796c9b7 7194 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7195
0f0a88b9
DD
71962011-07-25 Deniz Dogan <deniz@dogan.se>
7197
7198 * image.el (insert-image): Clarifying docstring.
7199
0b3f36df
MA
72002011-07-24 Michael Albinus <michael.albinus@gmx.de>
7201
7202 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7203 `tramp-send-command-and-check' if there is no error.
7204 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7205
a9901f61
AM
72062011-07-22 Alan Mackenzie <acm@muc.de>
7207
7208 Prevent cc-langs.elc being loaded at run time.
7209
7210 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7211 cc-langs.
7212
4d61f28d 7213 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7214 "(require 'cc-langs)". Quote a form so it will evaluate at
7215 (cc-mode's) compilation time.
7216
11d074b2
MA
72172011-07-22 Michael Albinus <michael.albinus@gmx.de>
7218
7219 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7220 loading. (Bug#9114)
7221
938b94c8
MR
72222011-07-21 Martin Rudalics <rudalics@gmx.at>
7223
7224 * window.el (display-buffer-pop-up-window)
7225 (display-buffer-pop-up-side-window)
7226 (display-buffer-in-side-window): Call display-buffer-set-height
7227 and display-buffer-set-width after setting the new window's
b796c9b7 7228 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7229
bfa4f190
SS
72302011-07-20 Sam Steingold <sds@gnu.org>
7231
7232 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7233 (etags-tags-included-tables): Call `convert-standard-filename' on
7234 the file names contained in TAGS so that windows Emacs can handle
7235 TAGS files created by cygwin ctags.
7236
8ca42262
LMI
72372011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7238
7239 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7240 which apparently didn't work.
7241
5db2afd2 72422011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7243
5db2afd2
RW
7244 * proced.el (proced-send-signal): For *Marked Processes* buffer
7245 put point at beginning of buffer.
7246
92e15d10
SB
72472011-07-19 Stephen Berman <stephen.berman@gmx.net>
7248
7249 * proced.el (proced-format): Make header lines align with the text
7250 (bug#1779).
7251
1bfd59e5
LMI
72522011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7253
7254 * view.el (view-buffer): Allow running in `special' modes if we're
7255 visiting a file (bug#8615).
7256
f5aae37c
MR
72572011-07-19 Martin Rudalics <rudalics@gmx.at>
7258
7259 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7260 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7261 New functions.
f5aae37c
MR
7262 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7263 more accurately.
7264
bf2c1571
AM
72652011-07-18 Alan Mackenzie <acm@muc.de>
7266
7267 Fontify declarators properly when, e.g., a jit-lock chunk begins
7268 inside a declaration.
7269
7270 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7271
b796c9b7
SM
7272 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7273 New function.
bf2c1571
AM
7274 (c-complex-decl-matchers): Insert reference to
7275 c-font-lock-enclosing-decls.
7276
7277 * progmodes/cc-engine.el (c-backward-single-comment):
7278 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7279 to nil around calls to (forward-comment -1).
7280
4e190b80
LMI
72812011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7282
12dc863d
LMI
7283 * image.el (put-image): Doc typo fix.
7284
a762e966
LMI
7285 * progmodes/etags.el (tags-search): Doc typo fix.
7286
4e190b80
LMI
7287 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7288 password if we get errors 550 to 554.
7289
f019fb21
LMI
72902011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7291
b796c9b7 7292 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7293
81746738
LMI
7294 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7295 indentation character (bug#6380).
7296
3ee3a1b5
LMI
7297 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7298
c82f64de
LMI
7299 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7300 to clarify what the problem is (bug#4291).
7301
f019fb21
LMI
7302 * simple.el (current-kill): Clarify what
7303 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7304 (auto-fill-mode): Document `auto-fill-function' in relation to
7305 `auto-fill-mode' (bug#2470).
f019fb21 7306
0794775d
LM
73072011-07-16 Lawrence Mitchell <wence@gmx.li>
7308
7309 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7310 method if slot is read-only (bug#9035).
7311
be39b8cc
MR
73122011-07-16 Martin Rudalics <rudalics@gmx.at>
7313
b796c9b7 7314 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7315 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7316 selected before, see discussion of (Bug#8615), (Bug#6954).
7317 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7318
6ccf7859
GM
73192011-07-15 Glenn Morris <rgm@gnu.org>
7320
7321 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7322 Respect help-form.
6ccf7859 7323
87e86684
LM
73242011-07-09 Lawrence Mitchell <wence@gmx.li>
7325
7326 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7327 (gnutls-negotiate): Use it.
7328
d6066239
LMI
73292011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7330
b796c9b7
SM
7331 * net/gnutls.el (gnutls-negotiate):
7332 Upcase `gnutls-algorithm-priority'.
d6066239 7333
bd23ebc0
GM
73342011-07-15 Glenn Morris <rgm@gnu.org>
7335
c65bca65
GM
7336 * jka-compr.el (jka-compr-verbose): Move from here...
7337 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7338 Add missing :version tag.
7339 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7340
478615cc
LMI
73412011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7342
7b41decb
LMI
7343 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7344 (gnutls-negotiate): Use it.
7345
dbc44fcd
LMI
7346 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7347
06789f97
LMI
7348 * info.el (Info-beginning-of-buffer): New command.
7349 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7350 announcing `b' as the key (bug#8325).
ab896c37 7351 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7352
c39da690
LMI
7353 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7354
3aa5f34b
LMI
7355 * international/mule-cmds.el
7356 (describe-specified-language-support): Make the error message
7357 clearer (bug#8905).
7358
4bf0979f
LMI
7359 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7360
478615cc
LMI
7361 * isearch.el (isearch-barrier): Add a doc string, since it's
7362 mentioned in a function doc string (bug#8678).
7363
75c68aa1
MR
73642011-07-15 Martin Rudalics <rudalics@gmx.at>
7365
7366 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7367 buffer argument (Bug#9083) and self-identifying label argument.
7368
a7c33da2
GM
73692011-07-15 Glenn Morris <rgm@gnu.org>
7370
7371 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7372
2f5c6024
LMI
73732011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7374
7375 * man.el (Man-fontify-manpage): Fix message when formatting the
7376 man page (bug#7929).
7377
0bb23927 73782011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7379
7380 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7381 argument LRM; if non-nil, append an invisible LRM character to the
7382 buffer name.
7383 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7384 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7385 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7386 paragraph direction.
cce4b0a7 7387
621ef9ab
LMI
73882011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7389
d1583c48
LMI
7390 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7391 the man page name (bug#7929).
7392
6a57fb5f
LMI
7393 * image.el (put-image): Mention the `put-image' overlay property
7394 (bug#7834).
7395
d7956b14
LMI
7396 * scroll-bar.el (set-scroll-bar-mode): Mention that
7397 `scroll-bar-mode' lists the values (bug#7772).
7398
5b2d4a66
LMI
7399 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7400 command (bug#7729).
7401
7509a874
LMI
7402 * rect.el (apply-on-rectangle): Return the point after the last
7403 operation.
7404 (string-rectangle): Go to the point after the last operation
7405 (bug#7522).
7406
4fe74b19
LMI
7407 * printing.el (pr-toggle-region): Clarify the documentation
7408 slightly (bug#7493).
7409
b796c9b7
SM
7410 * time.el (display-time-update):
7411 Allow `display-time-mail-function' to return nil (bug#7158).
7412 Fix suggested by Detlev Zundel.
ab283561 7413
fc233c9d
LMI
7414 * vc/diff.el (diff): Clarify the order the file names are read
7415 (bug#7111).
7416
43f5740b
LMI
7417 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7418 the doc string (bug#7015).
7419
f2182a76
LMI
7420 * font-lock.el (font-lock-maximum-decoration): Mention what
7421 numeric levels mean (bug#6935).
7422
621ef9ab
LMI
7423 * startup.el (initial-buffer-choice): Don't mention the `none'
7424 selection, which is against policy.
7425
adc47434
MR
74262011-07-14 Martin Rudalics <rudalics@gmx.at>
7427
b796c9b7
SM
7428 * window.el (display-buffer-normalize-special):
7429 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7430
7e5bfb8f
EZ
74312011-07-14 Eli Zaretskii <eliz@gnu.org>
7432
7433 * subr.el (version<, version<=, version=): Mention "-CVS" and
7434 "-12345" alpha version numbers.
7435
27fa387a
CY
74362011-07-14 Chong Yidong <cyd@stupidchicken.com>
7437
7438 * bindings.el: Add advertised binding for set-mark-command
7439 (Bug#5772).
7440
8bdfa064
CY
74412011-07-14 Chong Yidong <cyd@stupidchicken.com>
7442
7443 * bindings.el (mode-line-other-buffer):
7444 * bookmark.el (bookmark-bmenu-2-window):
7445 * bs.el (bs-cycle-next, bs-cycle-previous):
7446 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7447 switch-to-buffer.
7448
7449 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7450 Delete.
8bdfa064 7451
5eba16a3
JB
74522011-07-14 Juanma Barranquero <lekktu@gmail.com>
7453
7454 * follow.el (follow-debug-message, follow-redisplay):
7455 * jka-cmpr-hook.el (with-auto-compression-mode):
7456 Fix typos in docstrings.
7457
15853710
LMI
74582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7459
a28e4607
LMI
7460 * subr.el (with-silent-modifications): Clarify somewhat what the
7461 macro inhibits (bug#6525).
7462
15853710
LMI
7463 * simple.el (eval-expression): Note what it does if called
7464 interactively (bug#6495).
7465
bee0fcef
CY
74662011-07-13 Chong Yidong <cyd@stupidchicken.com>
7467
b796c9b7
SM
7468 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7469 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7470
7471 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7472 Remove switch-to-buffer.
7473
58274504
LMI
74742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7475
bd2fcc8d
LMI
7476 * files.el (make-directory): Clarify that an error will be raised
7477 if there's an error (bug#6397).
7478
0f04b32c
LMI
7479 * startup.el (initial-buffer-choice): Add `none' as a choice
7480 (bug#6234).
7481
465c5fc8
LMI
7482 * subr.el (add-hook): Clarify section about buffer-local hooks
7483 (bug#6218).
7484
58274504
LMI
7485 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7486
bead9a43
JB
74872011-07-13 Juanma Barranquero <lekktu@gmail.com>
7488
7489 * tabify.el (untabify): Preserve the current column so that point
7490 doesn't move (bug#6032).
7491
3af98a7b
LMI
74922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7493
b796c9b7
SM
7494 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7495 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7496
6240145a
GM
74972011-07-13 Glenn Morris <rgm@gnu.org>
7498
7499 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7500 (dired-insert-directory): Give a message the first time
7501 if ls is found not to support --dired.
7502
1d8c2ccc
LMI
75032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7504
7505 * simple.el (toggle-truncate-lines): Clarify what is toggled
7506 (bug#5580). Text by Drew Adams.
7507
5fc4038e
CY
75082011-07-13 Chong Yidong <cyd@stupidchicken.com>
7509
7510 * simple.el (blink-matching-open): Make the error message from the
7511 last change less verbose.
7512
bf6012e5
DN
75132011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7514
7515 * font-lock.el (font-lock-comment-face): Use the high contrast
7516 "yellow" color for font-lock-comment-face on low color terminals
7517 using a dark background color (bug#4221).
7518
343c3b5a
LMI
75192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7520
7e9505c5
LMI
7521 * dired.el (dired-insert-set-properties): Make the doc string
7522 reflect what it does now (bug#5325).
7523
c26fdcf5
LMI
7524 * simple.el (blink-matching-open): Say that we were unable to find
7525 the match within the limit, if we're limited (bug#5122).
7526
bb388cc5
LMI
7527 * international/mule-cmds.el (prefer-coding-system): Add an
7528 example (bug#4869).
7529
343c3b5a
LMI
7530 * progmodes/etags.el (tags-search): Document `file-list-form'
7531 (bug#4731).
7532
2a517d45
LM
75332011-07-13 Lawrence Mitchell <wence@gmx.li>
7534
7535 * net/browse-url.el (browse-url-default-browser)
7536 (browse-url-browser-function): Make the default browser choice a
7537 bit more logical (bug#4300). Also clean up the doc string.
7538
b6c78ef2
JB
75392011-07-13 Juanma Barranquero <lekktu@gmail.com>
7540
7541 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7542 binary endings (bug#4440).
7543
1c4dd947
LMI
75442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7545
a2014063
LMI
7546 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7547 which can be pretty annoying (bug#8971).
7548
9c9c2d88
LMI
7549 * jka-compr.el (jka-compr-verbose): New variable, and use
7550 throughout (bug#8971).
7551
1c4dd947
LMI
7552 * info.el (Info-find-file): Fall back on the installation
7553 directory if we can't find the info node anywhere else.
7554
a1c9f41b
SO
75552011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7556
7557 * vc/vc.el (vc-revert-file):
7558 Don't set file time-stamp in the past. (Bug#5181)
7559
536f3d36
LMI
75602011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7561
7152b011
LMI
7562 * files.el (after-find-file): Give a better error message when
7563 trying to find a symlink that points to a file that doesn't exist
7564 (bug#4398).
7565
536f3d36
LMI
7566 * progmodes/cc-vars.el: Remove (probably) misleading comment
7567 (bug#4396).
7568
460c0fba
JB
75692011-07-12 Johan Bockgård <bojohan@gnu.org>
7570
7571 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7572
7a6bda45
CY
75732011-07-12 Chong Yidong <cyd@stupidchicken.com>
7574
7575 * mouse-sel.el: Hack restoring functionality, while keeping
7576 compatibility with 2010-07-03 changes to mouse selection.
7577 (mouse-sel-primary-overlay): New var.
7578 (mouse-sel-selection-alist): Use it.
7579 (mouse-sel-mode): Doc fix; remove points that are default features
7580 of mouse.el.
7581
c79598ef
JB
75822011-07-12 Johan Bockgård <bojohan@gnu.org>
7583
7584 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7585 Fix previous fix (bug#2490).
7586
ff8be6ef
RW
75872011-07-12 Roland Winkler <winkler@gnu.org>
7588
b796c9b7
SM
7589 * textmodes/bibtex.el (bibtex-initialize):
7590 Use pop-to-buffer-same-window.
ff8be6ef
RW
7591 (bibtex-search-entries): Fix interactive call.
7592
296ba3ee
LMI
75932011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7594
f5242a02 7595 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7596 Fontise bytecomp Error lines more correctly (bug#2490).
7597 Fix suggested by Johan Bockgård.
f5242a02 7598
296ba3ee
LMI
7599 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7600
7601 * dired-x.el (dired-guess-default): Use `delete-dups'.
7602
f69fd0d2
CY
76032011-07-12 Chong Yidong <cyd@stupidchicken.com>
7604
7605 * dired.el (dired-mark-prompt):
7606 * dired-aux.el (dired-read-shell-command): Doc fix.
7607
eab5dc07
LMI
76082011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7609
b796c9b7
SM
7610 * mail/sendmail.el (sendmail-query-once):
7611 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7612 emacs -Q.
7613
7614 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7615
eab5dc07
LMI
7616 * cus-edit.el (custom-file): Take an optional no-error variable.
7617 (customize-save-variable): Set the variable, and give a warning if
7618 running under "emacs -q".
7619
a1e65d42
JB
76202011-07-11 Juanma Barranquero <lekktu@gmail.com>
7621
7622 * loadhist.el (unload-feature-special-hooks):
7623 Add `auto-coding-functions', `fill-nobreak-predicate' and
7624 `find-directory-functions' (bug#5327).
7625
1d52da10
LMI
76262011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7627
be958f1d
LMI
7628 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7629
5bedb26c
LMI
7630 * cus-edit.el (custom-guess-name-alist): -alist variables should
7631 use the `alist' type (bug#3120). Suggested by Drew Adams.
7632
1d52da10
LMI
7633 * printing.el: Add documentation to all the `pr-toggle-' commands.
7634
cd394be1 76352011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7636
7637 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7638 backends where it makes sense (bug#2623).
7639
dcc88d8a
LMI
76402011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7641
c3de9feb
LMI
7642 * dired-x.el (dired-guess-default): Remove duplicate shell command
7643 entries (bug#2028).
8a93078b 7644 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7645 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7646
dcc88d8a
LMI
7647 * subr.el (remove-duplicates): New conveniency function.
7648
505e3645
LMI
76492011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7650
7651 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7652 (bug#1526).
7653
76542011-07-10 Martin Rudalics <rudalics@gmx.at>
7655
7656 * window.el (display-buffer-normalize-default): Don't invert
7657 meaning of even-window-heights. Reported by Eli Zaretskii
7658 <eliz@gnu.org>.
7659
455e4fa1
BR
76602011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7661
7662 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7663
8e0bc3e9
CY
76642011-07-10 Chong Yidong <cyd@stupidchicken.com>
7665
7666 * window.el (display-buffer): Fix arguments to
7667 display-buffer-reuse-window in last change.
7668
fa7c3228
CY
7669 * faces.el (link): Use a less saturated blue on light backgrounds.
7670
7671 * startup.el (fancy-startup-text, fancy-about-text)
7672 (fancy-startup-tail): Use font-lock faces, for background safety.
7673
c0a7f300
BN
76742011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7675
b796c9b7
SM
7676 * emulation/viper-cmd.el (viper-change-state-to-vi):
7677 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7678
4dc2a129
MR
76792011-07-09 Martin Rudalics <rudalics@gmx.at>
7680
7681 * window.el (display-buffer-default-specifiers): Remove.
7682 (display-buffer-macro-specifiers): Remove default specifiers.
7683 (display-buffer-alist): Default to nil.
b796c9b7 7684 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7685 (display-buffer-pop-up-window): Allow splitting internal
7686 windows. Check whether a live window was created.
7687 (display-buffer-other-window-means-other-frame)
7688 (display-buffer-normalize-arguments): Rename to
7689 display-buffer-normalize-argument and rewrite. Set the
7690 other-window specifier.
7691 (display-buffer-normalize-special): New function.
7692 (display-buffer-normalize-options): Rename to
7693 display-buffer-normalize-default and rewrite.
7694 (display-buffer-normalize-options-inhibit): Remove.
7695 (display-buffer-normalize-specifiers): Rewrite.
7696 (display-buffer): Process other-window specifier and call
7697 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7698 more faithfully.
b796c9b7 7699 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7700 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7701 (display-buffer-in-window, display-buffer-alist-set):
7702 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7703 <tassilo@member.fsf.org>.
7704
2d43b8c9
LL
77052011-07-09 Leo Liu <sdl.web@gmail.com>
7706
7707 * register.el (insert-register): Restore accidental change on
7708 2011-06-26. (Bug#9028)
7709
7f9b7c53
GM
77102011-07-09 Glenn Morris <rgm@gnu.org>
7711
7712 * subr.el (remq): Handle the empty list. (Bug#9024)
7713
f042cfd8
AS
77142011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7715
7716 * mail/sendmail.el (send-mail-function): No longer delay custom
7717 initialization.
7718 * custom.el (custom-initialize-delay): Doc fix.
7719
856b2f11
SM
77202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7723
afae1d68
MA
77242011-07-08 Michael Albinus <michael.albinus@gmx.de>
7725
7726 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7727 human-friendly prompt.
7728
0757af94
SM
77292011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7732 provided by a particular plugin.
7733
d760b731
LMI
77342011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7735
7736 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7737 save customizations (with "emacs -Q"), just set the variable
7738 instead of erroring out.
7739
7740 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7741
cd79ce90
JL
77422011-07-08 Juri Linkov <juri@jurta.org>
7743
7744 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7745 (archive-zip-update-case): Use 7z if found by `executable-find'.
7746 The order of searching the available programs is the same as in
7747 `archive-zip-extract' (bug#8968).
7748
14cc04aa
CY
77492011-07-07 Chong Yidong <cyd@stupidchicken.com>
7750
7751 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7752 (menu-bar-options-menu): Tweak descriptions.
7753
0a1848ec
LMI
77542011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7755
7756 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7757 menu items into verb phrases (bug#1421). Also refill to fit under
7758 80 columns.
7759
f5bd0689
CY
77602011-07-07 Chong Yidong <cyd@stupidchicken.com>
7761
538e85c6
CY
7762 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7763 (Info-read-node-name): Doc fix (Bug#1084).
7764
f5bd0689
CY
7765 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7766 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7767 (end-of-sexp, beginning-of-sexp)
7768 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7769 (forward-symbol, forward-same-syntax, word-at-point)
7770 (sentence-at-point): Doc fix (Bug#1144).
7771
56ec5115
LMI
77722011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7773
f3f8e37f
LMI
7774 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7775 should cover it (bug#1281).
7776
0757af94 7777 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7778
e9fce1ac 7779 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7780 negotiation fails, then possibly try again with a non-encrypted
7781 connection (bug#9017).
7782
56ec5115
LMI
7783 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7784 be used.
7785
c2f9aec8
RS
77862011-07-07 Richard Stallman <rms@gnu.org>
7787
7788 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7789 property, and handle its changed format.
7790 Look for the correct line number.
7791 Use file's line contents (but not past first =) to find
7792 correct line in message.
7793
ef7b981d 77942011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7795
7796 * international/characters.el (build-unicode-category-table):
7797 Delete it.
0757af94 7798 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7799
0757af94 7800 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7801 to src/chartab.c.
7802 (get-char-code-property): Call unicode-property-table-internal to
7803 load a file. Call get-unicode-property-internal where necessary.
7804 (put-char-code-property): Call unicode-property-table-internal to
7805 load a file. Call put-unicode-property-internal where necessary.
7806 put-unicode-property-internal where necessary.
0757af94
SM
7807 (char-code-property-description):
7808 Call unicode-property-table-internal to load a file.
c805dec0
KH
7809
7810 * international/charprop.el:
7811 * international/uni-bidi.el:
7812 * international/uni-category.el:
7813 * international/uni-combining.el:
7814 * international/uni-comment.el:
7815 * international/uni-decimal.el:
7816 * international/uni-decomposition.el:
7817 * international/uni-digit.el:
7818 * international/uni-lowercase.el:
7819 * international/uni-mirrored.el:
7820 * international/uni-name.el:
7821 * international/uni-numeric.el:
7822 * international/uni-old-name.el:
7823 * international/uni-titlecase.el:
7824 * international/uni-uppercase.el: Regenerate.
7825
7826 * loadup.el: Load international/charprop.el before
7827 international/characters.
7828
e14b388a
CY
78292011-07-07 Chong Yidong <cyd@stupidchicken.com>
7830
7831 * window.el (next-buffer, previous-buffer): Signal an error if
7832 called from a minibuffer window.
7833
7834 * bindings.el: Revert 2011-07-04 change.
7835
354cf0ba
RS
78362011-07-06 Richard Stallman <rms@gnu.org>
7837
7838 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7839 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7840 Treat markers like ints.
7841 (rmail-mime-entity): Doc fix.
7842
a48868a7
LMI
78432011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7844
4906cd3d
LMI
7845 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7846 defcustom again for backwards compatibility.
7847
e0457abe
LMI
7848 * simple.el (shell-command-on-region): Fill.
7849
d67f7e1f
LMI
7850 * dired-aux.el (dired-kill-line): Add a doc string.
7851
fe204702
LMI
7852 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7853 to "\\sw\\|\\s_" (bug#358).
7854
a48868a7
LMI
7855 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7856 (dired-unmark-backward): Ditto.
7857 (dired-flag-backup-files): Ditto.
7858
7859 * dired-x.el (dired-mark-sexp): Ditto.
7860
aa8a705c
RS
78612011-07-06 Richard Stallman <rms@gnu.org>
7862
7863 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7864 (rmail-mime-entity): New arg TRUNCATED.
7865 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7866 New functions.
7867 (rmail-mime-save): Warn if entity is truncated.
7868 (rmail-mime-toggle-hidden): Likewise, for showing.
7869 (rmail-mime-process-multipart): Record when an entity is truncated.
7870
a9a936b9
RS
7871 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7872 if ENTITY is a string.
7873
1f2b92cb
LMI
78742011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7875
f4f73198 7876 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7877 of faces when `M-C-x'-ing their definitions (bug#8378).
7878 Also clean up the code slightly.
f4f73198 7879
12b16734 7880 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7881 because that makes the colors go away.
12b16734 7882
f0691d22
LMI
7883 * mail/sendmail.el (send-mail-function): Change the default to
7884 `sendmail-query-once'.
9e87df06 7885 (sendmail-query-once): Add an autoload cookie.
f0691d22 7886
1f2b92cb
LMI
7887 * net/network-stream.el (network-stream-open-starttls): Try using
7888 a plain connection even if the server offered STARTTLS, and we
7889 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7890 capability. This should make smtpmail.el work in slightly more
7891 configurations.
7892
1cdd2a1b
MA
78932011-07-06 Michael Albinus <michael.albinus@gmx.de>
7894
7895 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7896 New defun.
7897 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7898
fbcc67e2
MM
78992011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7900
7901 * progmodes/sql.el: Version 3.0
0757af94 7902 (sql-product-alist): Add product :completion-object,
fbcc67e2 7903 :completion-column, and :statement attributes.
0757af94 7904 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7905 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7906 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7907 ansi keywords.
7908 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7909 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7910 (sql-oracle-show-reserved-words): New function for development.
7911 (sql-product-font-lock): Simplify for source code buffers.
7912 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7913 New functions.
7914 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7915 (sql-mode-map): Add statement movement functions.
7916 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7917 New variable.
fbcc67e2
MM
7918 (sql-statement-regexp, sql-beginning-of-statement)
7919 (sql-end-of-statement, sql-signum): New functions.
0757af94 7920 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7921 (sql-show-sqli-buffer): Bug fix.
7922 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7923 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7924 with sql-interactive-mode.
7925 (sql-save-connection): Save buffer local settings.
0757af94 7926 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7927 (sql-product-interactive): Bug fix.
7928 (sql-preoutput-hold): New variable.
7929 (sql-interactive-remove-continuation-prompt): Bug fixes.
7930 (sql-debug-redirect): New variable.
7931 (sql-str-literal): New function.
7932 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7933 Redesign.
fbcc67e2
MM
7934 (sql-oracle-save-settings, sql-oracle-restore-settings)
7935 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7936 (sql-completion-object, sql-completion-column)
7937 (sql-completion-sqlbuf): New variables.
7938 (sql-build-completions-1, sql-build-completions)
7939 (sql-try-completion): New functions.
7940 (sql-read-table-name): Use them.
7941 (sql-contains-names): New buffer local variable.
7942 (sql-list-all, sql-list-table): Use it.
7943 (sql-oracle-completion-types): New variable.
7944 (sql-oracle-completion-object, sql-sqlite-completion-object)
7945 (sql-postgres-completion-object): New functions.
7946
d4eaeab1
GM
79472011-07-06 Glenn Morris <rgm@gnu.org>
7948
7949 * window.el (pop-to-buffer): Doc fix.
7950
322b7dab 79512011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7952
7953 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7954
322b7dab 79552011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7956
322b7dab 7957 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7958
322b7dab 7959 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7960
605dd5bf
CY
79612011-07-05 Chong Yidong <cyd@stupidchicken.com>
7962
7963 * button.el (button): Inherit from link face. Suggested by Dan
7964 Nicolaescu.
7965
7dbfa719
SM
79662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7967
3db614b0
SM
7968 * progmodes/gdb-mi.el: Fit in 80 columns.
7969 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7970 switch-to-buffer.
7971
7dbfa719
SM
7972 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7973 if imenu is simply not configured (bug#8941).
7974
919d884a
KM
79752011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7976
7977 * allout.el (allout-post-undo-hook): New allout outline-change
7978 event hook to signal undo activity.
7979 (allout-post-command-business): Run allout-post-undo-hook if an
7980 undo just occurred.
7dbfa719
SM
7981 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7982 * allout-widgets.el (allout-widgets-after-undo-function):
7983 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7984 in the vicinity of an undo.
7985 (allout-widgets-mode): Include allout-widgets-after-undo-function
7986 on the new allout-post-undo-hook.
7987
450a0f09
SM
79882011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7991 Let define-derived-mode define it.
7992 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7993 cycles of abbrev-table inheritance (bug#8998).
7994
2de69e00
RW
79952011-07-05 Roland Winkler <winkler@gnu.org>
7996
7997 * textmodes/bibtex.el: Add support for biblatex.
7998 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7999 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8000 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8001 (bibtex-entry-alist, bibtex-field-alist): New variables.
8002 (bibtex-entry-field-alist): Obsolete alias for
8003 bibtex-BibTeX-entry-alist.
8004 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8005 (bibtex-set-dialect): New command.
8006 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8007 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8008 Bind via bibtex-set-dialect.
2de69e00
RW
8009 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8010 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8011 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8012 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8013 Define via bibtex-set-dialect.
450a0f09
SM
8014 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8015 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8016 (bibtex-vec-push, bibtex-vec-incr): New functions.
8017 (bibtex-format-entry, bibtex-field-list)
8018 (bibtex-print-help-message, bibtex-validate)
8019 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8020
2dcdbdd9
SM
80212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8022
8023 * progmodes/compile.el (compilation-goto-locus):
8024 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8025 * bs.el (bs-cycle-next, bs-cycle-previous):
8026 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8027 * bindings.el (mode-line-other-buffer):
8028 * autoinsert.el (auto-insert):
8029 * arc-mode.el (archive-extract):
8030 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8031
b27640fe
JB
80322011-07-05 Juanma Barranquero <lekktu@gmail.com>
8033
8034 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8035 Fix check of `emacs-lock-unlockable-modes'.
8036 Coerce true values of `emacs-lock--try-unlocking' to t.
8037
53bbe3ad
JB
80382011-07-05 Juanma Barranquero <lekktu@gmail.com>
8039
8040 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8041 * emacs-lock.el: New file.
8042
1d3cdbc7
JD
80432011-07-05 Julien Danjou <julien@danjou.info>
8044
8045 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8046 than `boundp' to check if face is set.
8047
9173deec
JB
80482011-07-05 Juanma Barranquero <lekktu@gmail.com>
8049
8050 * register.el (registerv-make):
8051 * window.el (window-min-height): Fix typos in docstrings.
8052
869795d6
JD
80532011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8054
9173deec 8055 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8056 Update doc string.
8057
b768cdcd
JB
80582011-07-04 Juanma Barranquero <lekktu@gmail.com>
8059
8060 * server.el (server-execute): Catch quit and call
8061 `server-return-error' to pass the error back to emacsclient and
8062 close the connection (bug#8942).
8063
13aa217b
KM
80642011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8065
8066 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8067 insecure exception for current topic. Also note that auto-saves
8068 are handled differently.
8069
8070 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8071 State variables for tracking auto-save inhibition situation.
8072
8073 (allout-write-contents-hook-handler): Rename from
8074 'allout-write-file-hook-handler', and describe how it depends on
8075 write-contents-functions sensitivity to non-nil value to prevent
8076 file write.
8077
8078 (allout-auto-save-hook-handler): Remove. auto-save does not check
8079 this in individual buffers, only in the starting buffer, so this
8080 is not the right way for us to inhibit auto-save in a buffer
8081 according to its condition.
8082
8083 (allout-mode): Use new allout-write-contents-hook-handler, and
8084 only with write-contents-functions. Remove auto-save provisions -
8085 they're implemented elsewhere.
8086
8087 (allout-before-change-handler): If undo is in progress, note that
8088 for attention of allout-post-command-business.
8089
8090 (allout-post-command-business): If the command we're following was
8091 an undo, check for change in the status of encrypted items and
8092 adjust auto-save inhibitions accordingly.
8093
8094 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8095 according to whether there are or aren't any plain-text topics
8096 pending encryption.
8097
2dcdbdd9 8098 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8099 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8100 if there are plain-text topics pending encryption.
13aa217b
KM
8101
8102 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8103 buffer-saved-size and some allout state to not inhibit auto-saves
8104 if there are no longer any plain-text topics pending encryption.
8105
0757af94
SM
8106 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8107 No longer provide for exemption of the current topic.
13aa217b 8108
ac89b32c
JL
81092011-07-04 Juri Linkov <juri@jurta.org>
8110
8111 Add 7z operations to delete and save changed members (bug#8968).
8112 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8113 New defcustoms.
8114 (archive-7z-write-file-member): New function.
8115 (archive-7z-summarize): Fix the number of dashes in the
8116 listing output.
8117
8fa39615
SM
81182011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8119
8120 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8121 (bug#8958).
8122
2f11b3f1
CY
81232011-07-04 Chong Yidong <cyd@stupidchicken.com>
8124
d66fef2b
CY
8125 * bindings.el: Ignore next-buffer and previous-buffer in
8126 minibuffer-local-map.
8127
2f11b3f1
CY
8128 * font-lock.el (font-lock-builtin-face): Change light background
8129 color to dark slate blue (Bug#6693).
8130
f932a347
WD
81312011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8132
8133 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8134
c8af70e1
SM
81352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8138 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8139 Add switch-to-buffer.
8140
f158badc
LMI
81412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8142
8143 * isearch.el (isearch-search-fun-function): Clarify further the
8144 meaning of the function returned.
8145
6d95bd46
MA
81462011-07-04 Michael Albinus <michael.albinus@gmx.de>
8147
8148 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8149
8150 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8151 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8152 Use it.
8153 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8154 `tramp-default-remote-path' does not exist.
8155 (tramp-send-command-and-read): New optional argument NOERROR.
8156 (tramp-open-connection-setup-interactive-shell)
8157 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8158 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8159 (tramp-process-sentinel): Flush also process' connection property.
8160 (tramp-sh-handle-start-file-process): Do not set process
8161 sentinel. It is done now ...
8162 (tramp-maybe-open-connection): ... here. (Bug#8929)
8163
909e6b67
MK
81642011-07-04 MON KEY <monkey@sandpframing.com>
8165
8166 * play/animate.el (animate-string): Doc fixes and allow changing
8167 the buffer name (bug#5417).
8168
81692011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8170
c8af70e1 8171 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8172
f34755dc
PE
81732011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8174
396cec72
PE
8175 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8176 This is simpler and helps future-proof the code.
8177 (timer-until): Use time-subtract and float-time.
08235028 8178 (timer--time-less-p): Use time-less-p.
f34755dc 8179
56e6cc31
JB
81802011-07-04 Juanma Barranquero <lekktu@gmail.com>
8181
3abb79e5
JB
8182 * type-break.el (timep): Use the value of `float-time' to avoid a
8183 byte-compiler warning.
8184
56e6cc31
JB
8185 * server.el (server-eval-and-print): Return any result, even nil.
8186
7b9430b4
PE
81872011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8188
8189 * type-break.el: Accept time formats that the builtins accept.
8190 (timep, type-break-time-difference): Accept any format that
8191 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8192 This is simpler and helps future-proof the code.
8193 (type-break-time-difference): Round rather than ignoring
8194 subseconds components.
8195
3034e9e7
LMI
81962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8197
8198 * info.el (Info-apropos-matches): Make non-interactive, since it
8199 doesn't seem to do anything useful as a command (bug#8829).
8200
1485f4c0
CY
82012011-07-03 Chong Yidong <cyd@stupidchicken.com>
8202
8203 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8204 Move from faces.el.
1485f4c0
CY
8205 (frame-default-terminal-background): New function.
8206
8207 * custom.el (custom-push-theme): Don't record faces in `changed'
8208 theme; this doesn't work correctly for per-frame face settings.
8209 (disable-theme): Use face-set-after-frame-default to reset faces.
8210 (custom--frame-color-default): New function.
8211
9fa3dd45
LMI
82122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8213
c8af70e1 8214 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8215 (bug#8769).
8216
6cbbc20c
KR
82172011-03-29 Kevin Ryde <user42@zip.com.au>
8218
8219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8220 `perl-Test2' extend to match possible "fail #N" rep count
8221 (bug#8377).
8222
c7f98048
LMI
82232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8224
65676592
LMI
8225 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8226 `smtpmail-via-smtp' now returns the error instead of nil.
8227
c7f98048
LMI
8228 * isearch.el (isearch-search-fun-function): Clarify the doc string
8229 (bug#8101).
8230
56e6cc31 82312011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8232
8233 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8234 unnecessary spaces (bug#8987).
8235
2b216704
LMI
82362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8237
8238 * net/network-stream.el (open-network-stream): Use the
8239 :end-of-capability command thoughout.
8240
82412011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8242
8243 * net/network-stream.el (open-network-stream): Add the
8244 :end-of-capability command parameter, used by pop3.el.
8245
36adf6ce
LMI
82462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8247
1ca0da0e
LMI
8248 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8249
fc00f69c
LMI
8250 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8251 for list)" (bug#6475).
8252
28fd8759 8253 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8254 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8255 an error (bug#6297).
8256
0dd8b6da
LMI
8257 * man.el (Man-reference-regexp): Allow matching possible
8258 word-wrapped references (bug#6289).
8259
ce1438d6
LMI
8260 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8261 for consistency with the other vc buffers (bug#6197).
8262 (vc-checkin): Ditto.
8263
8264 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8265
36adf6ce
LMI
8266 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8267
e83cc1f7
LMI
82682011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8269
8a20ca4c
LMI
8270 * custom.el (defcustom): Clarify that :set is only used in the
8271 Customize user interface (bug#6089).
8272
83319045
LMI
8273 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8274 associated with a file, refuse to run instead of erroring out
8275 (bug#6084).
8276
a8392169
LMI
8277 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8278 the doc string, since it appears that using `fill-column' always
8279 controls the width (bug#7845).
8280
e83cc1f7
LMI
8281 * simple.el (shell-command-on-region): Say where the error output
8282 went if `shell-command-default-error-buffer' is set (bug#6857).
8283
e47ca23b
KM
82842011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8285
8286 * allout.el (allout-yank-processing): Adjust cursor position for
8287 backwards-deleted space.
8288
8289 (allout-rebullet-heading): Register changes with
8290 allout-exposure-changed-hook, so the modified topic is properly
8291 decorated.
8292
5cf56143
LMI
82932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8294
08549772
LMI
8295 * minibuffer.el (completion-in-region): Document PREDICATE
8296 (bug#7136).
8297
48e96771
LMI
8298 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8299 of keyword/argument pairs (bug#6904).
8300
c8af70e1
SM
8301 * replace.el (multi-occur):
8302 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8303
e17d05e2
LMI
83042011-07-02 Drew Adams <drew.adams@oracle.com>
8305
8306 * dired.el (dired-mark-if): Make the message about whether it's
8307 marking or unmarking clearer (bug#8523).
8308
063b0e45
LMI
83092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8310
8311 * disp-table.el (display-table-print-array): New function.
8312 (describe-display-table): Use it to print the vectors more pretty
8313 (Bug#8859).
8314
28545e04
MR
83152011-07-02 Martin Rudalics <rudalics@gmx.at>
8316
8317 * window.el (window-state-get-1): Don't assign clone numbers.
8318 Add clone-of item to list of window parameters.
8319 (window-state-put-2): Don't process clone numbers.
8320 (display-buffer-alist): Fix doc-string.
8321
3349e122
SM
83222011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * subr.el (remq): Don't allocate if it's not needed.
8325 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8326 (keymap--merge-bindings): New functions.
8327 (keymap-canonicalize): Use them to refine the canonicalization.
8328 * minibuffer.el (minibuffer-local-completion-map)
8329 (minibuffer-local-must-match-map): Move initialization from C.
8330 (minibuffer-local-filename-completion-map): Move initialization from C;
8331 don't inherit from anything here.
8332 (minibuffer-local-filename-must-match-map): Make obsolete.
8333 (completing-read-default): Use make-composed-keymap to combine
8334 minibuffer-local-filename-completion-map with either
8335 minibuffer-local-must-match-map or
8336 minibuffer-local-filename-completion-map.
8337
d224ac83
GM
83382011-07-01 Glenn Morris <rgm@gnu.org>
8339
3de63bf8
GM
8340 * type-break.el (type-break-time-sum): Use dolist.
8341
d224ac83
GM
8342 * textmodes/flyspell.el (flyspell-word-search-backward):
8343 Replace CL function.
8344
1a1e3f32
SM
83452011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8346
fe3f64d5
SM
8347 * mouse.el (mouse--strip-first-event): New function.
8348 (function-key-map): Use it to map fringe clicks to normal clicks
8349 by default.
8350
eb604e34
SM
8351 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8352 (vc-bzr-revision-completion-table): Add support for annotate and date.
8353
1a1e3f32
SM
8354 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8355 inherit from parent.
8356
5bd35902
LMI
83572011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8358
ace6c69c 8359 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8360 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8361
191e2bed
LMI
8362 * dired.el (dired-mode): Fix up the doc string as suggested by
8363 Drew Adams (bug#8817).
8364
5bd35902
LMI
8365 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8366 cookie, since the manual says that it should be possible to add
8367 this function to `find-file-hook' (bug#8709).
8368
eee8207a
TZ
83692011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8370
8371 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8372 here. Noted Ted Zlatanov as the maintainer.
8373 (cfengine-common-settings, cfengine-common-syntax): New functions
8374 to set up common things between `cfengine-mode' and
8375 `cfengine3-mode'.
8376 (cfengine3-mode): New mode.
8377 (cfengine3-defuns cfengine3-defuns-regex
8378 (cfengine3-class-selector-regex cfengine3-category-regex)
8379 (cfengine3-vartypes cfengine3-font-lock-keywords)
8380 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8381 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8382
36b148cf
MA
83832011-07-01 Michael Albinus <michael.albinus@gmx.de>
8384
8385 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8386
8387 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8388
0bf4ba9a
MR
83892011-07-01 Martin Rudalics <rudalics@gmx.at>
8390
8391 * window.el (same-window-buffer-names, same-window-regexps)
8392 (same-window-p, special-display-frame-alist)
8393 (special-display-popup-frame, special-display-function)
8394 (special-display-buffer-names, special-display-regexps)
8395 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8396 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8397 (split-window-preferred-function, split-height-threshold)
8398 (split-width-threshold, even-window-heights)
8399 (display-buffer-mark-dedicated, window-splittable-p)
8400 (split-window-sensibly, window-safely-shrinkable-p):
8401 Un-obsolete.
8402 (display-buffer): Don't spread args with function specifier
8403 because special-display-popup-frame won't like it.
8404
35837f51
PE
84052011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8406
d0672f86
PE
8407 Time-stamp simplifications and fixes.
8408 These improve accuracy slightly, and future-proof the code
8409 against some potential changes to current-time format.
8410
b9444d97
PE
8411 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8412 by using time-since and float-time.
8413
0ef923dc
PE
8414 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8415 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8416 + NNN microseconds".
8417
2f81380d
PE
8418 * type-break.el (type-break-time-sum): Rewrite using time-add.
8419
845b5c3e
PE
8420 * play/hanoi.el (hanoi-current-time-float): Remove.
8421 All uses replaced by float-time.
8422
ee6f1be0
PE
8423 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8424 This yields a more-accurate answer.
8425 (rng-time-to-float): Remove; no longer needed.
8426
fe955043
PE
8427 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8428
5777162a
PE
8429 * calendar/timeclock.el (timeclock-seconds-to-time):
8430 Defalias to seconds-to-time, since they're the same thing.
8431
3103f8b6 8432 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8433 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8434 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8435
0e61a35f
SM
84362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * window.el (bury-buffer): Don't iconify the only frame.
8439 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8440 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8441
ddd63a1e
CY
84422011-07-01 Chong Yidong <cyd@stupidchicken.com>
8443
0e61a35f
SM
8444 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8445 Add mouse-yank-primary.
ddd63a1e 8446
055f4923
TZ
84472011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8448
8449 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8450
6a2fb145
SM
84512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8454 (find-library-name): Use it to find relative load names when provided
8455 absolute file name (bug#8803).
8456
fd4983f2
LMI
84572011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8458
887d14ad
LMI
8459 * textmodes/flyspell.el (flyspell-word): Consider words that
8460 differ only in case as potential doublons (bug#5687).
8461
c53dc7fc
LMI
8462 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8463 Remove two rather uninteresting debugging-like messages to make
8464 debbugs.el more silent.
8465
fd4983f2
LMI
8466 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8467 a password-like phrase.
8468
7a71b18d 84692011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8470
8471 * progmodes/cc-guess.el: New file.
8472
6a2fb145 8473 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8474
8475 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8476 derived from `c-basic-common-init'.
8477
8478 * progmodes/cc-mode.el (top-level): Require cc-guess.
8479 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8480
1fa280a3
LM
84812011-06-30 Lawrence Mitchell <wence@gmx.li>
8482
8483 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8484
e6597158
AM
84852011-06-30 Alan Mackenzie <acm@muc.de>
8486
1fa280a3
LM
8487 * progmodes/cc-engine.el (c-guess-continued-construct):
8488 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8489 lock is disabled. Name this case as "CASE G".
8490
68ba37fb
KM
84912011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8492
8493 * allout.el (allout-yank-processing): Fix injection of extra space
8494 between bullet and non-whitespace character in first topic when
8495 pasting, ensuring that the actual spacing in the pasted topic
8496 following the bullet char is preserved. This extra space was
8497 causing pasted encrypted topics to get a decrypted status even
8498 when the content was actually still encrypted. Now the decryption
8499 status from before the paste is preserved.
8500
8501 (allout-flag-region): Set all allout overlays so they evaporate
8502 when reduced to zero length (evanescent), to prevent overlay
8503 leakage.
8504
887a0b34
GM
85052011-06-30 Glenn Morris <rgm@gnu.org>
8506
94b9acce
GM
8507 * w32-fns.el (w32-charset-info-alist): Declare.
8508
1d9b46d4
GM
8509 * find-dired.el (find-grep-options): Simplify.
8510
cc232200
GM
8511 * term/ns-win.el (ns-set-resource): Declare.
8512
28e77c46
GM
8513 * ses.el (row, col): Declare dynamic variables honestly.
8514
887a0b34
GM
8515 * textmodes/reftex-parse.el (index-tags): Declare.
8516
658d8eb8
CY
85172011-06-30 Chong Yidong <cyd@stupidchicken.com>
8518
8519 * cus-edit.el (customize-push-and-save): New function.
8520
8521 * files.el (hack-local-variables-confirm): Use it.
8522
1fa280a3
LM
8523 * custom.el (load-theme): New arg NO-CONFIRM.
8524 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8525 (custom-enabled-themes): Doc fix.
8526
8527 * cus-theme.el (customize-create-theme)
8528 (custom-theme-merge-theme): Callers to load-theme changed.
8529
bb617717
LMI
85302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8531
d61bdd5d
LMI
8532 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8533 short URLs have at least one dot in them (bug #7614).
8534
bb617717
LMI
8535 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8536 nil, because using a pty is apparently too slow (bug #895).
8537
2f31f37a
LMI
85382011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8539
8540 * mail/sendmail.el (sendmail-query-once): New function.
8541 (sendmail-query-once-function): New variable.
8542
3076b24e
GM
85432011-06-29 Glenn Morris <rgm@gnu.org>
8544
faf2a174
GM
8545 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8546
3076b24e
GM
8547 * ses.el (top-level): Require cl when compiling.
8548 (ses-set-localvars): Fix error statement.
8549 Call it at compile time to silence a storm of warnings.
8550
5386012d
MR
85512011-06-29 Martin Rudalics <rudalics@gmx.at>
8552
8553 * window.el (normalize-live-buffer): Rename to
8554 window-normalize-buffer.
8555 (normalize-live-frame): Rename to window-normalize-frame.
8556 (normalize-any-window): Rename to window-normalize-any-window.
8557 (normalize-live-window): Rename to window-normalize-live-window.
8558 (make-window-atom): Rename to window-make-atom.
8559 (window-resize-reset): Rename to window--resize-reset.
8560 (window-resize-reset-1): Rename to window--resize-reset-1.
8561 (resize-mini-window): Rename to window--resize-mini-window.
8562 (resize-subwindows-skip-p): Rename to
8563 window--resize-subwindows-skip-p.
8564 (resize-subwindows-normal): Rename to
8565 window--resize-subwindows-normal.
8566 (resize-subwindows): Rename to window--resize-subwindows.
8567 (resize-other-windows): Rename to window--resize-siblings.
8568 (resize-this-window): Rename to window--resize-this-window.
8569 (resize-root-window): Rename to window--resize-root-window.
8570 (resize-root-window-vertically): Rename to
8571 window--resize-root-window-vertically.
8572 (normalize-buffer-to-display): Rename to
8573 window-normalize-buffer-to-display.
8574 (normalize-buffer-to-switch-to): Rename to
8575 window-normalize-buffer-to-switch-to.
8576 Correspondingly update all callers of the functions listed
8577 above.
8578 (display-buffer-alist, display-buffer-normalize-arguments)
8579 (display-buffer-normalize-options, display-buffer)
8580 (display-buffer-alist-set): Use "function" instead of
8581 "fun-with-args".
8582
1176868d
CY
85832011-06-28 Chong Yidong <cyd@stupidchicken.com>
8584
8585 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8586 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8587 debbugs.gnu.org. Mention acknowledgment email.
8588
20a7a65f
LMI
85892011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8590
8591 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8592 buffer multibyteness, since it shouldn't matter.
8593
5f45cca5
MR
85942011-06-28 Martin Rudalics <rudalics@gmx.at>
8595
8596 * window.el (display-buffer-in-side-window): Handle dedicated
8597 windows as in display-buffer-reuse-window.
8598 (display-buffer-normalize-alist): Use value of override
8599 specifier.
8600 (display-buffer-normalize-specifiers): Use value of
8601 other-window-means-other-frame specifier.
8602 (display-buffer-alist): Rewrite some texts in widgets.
8603 (display-buffer): Spread arguments when calling function
8604 specified by fun-with-args.
8605
ad85fe1f
DD
86062011-06-28 Deniz Dogan <deniz@dogan.se>
8607
1fa280a3
LM
8608 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8609 Unnest `let'.
da68c4c8 8610
ad85fe1f
DD
8611 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8612 selectors (Bug#5732).
ec49bd31 8613 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8614
a08cc025
JA
86152011-06-27 Jari Aalto <jari.aalto@cante.net>
8616
8617 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8618 (eshell-ls-date-format): New defcustom.
8619 (eshell-ls-file): Use it.
8620
e2b551c5
SM
86212011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8624
8982b231
KY
86252011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8626
8627 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8628 (ange-ftp-make-tmp-name): New arg.
8629 (ange-ftp-file-local-copy): Use it.
8630
36c9fa27
J
86312011-06-27 Jambunathan K <kjambunathan@gmail.com>
8632
8633 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8634 no-conversion (Bug#8870).
8635
d68443dc
MR
86362011-06-27 Martin Rudalics <rudalics@gmx.at>
8637
8638 * window.el (window-right, window-left, window-child)
8639 (window-child-count, window-last-child)
8640 (window-iso-combination-p, walk-window-tree-1)
8641 (window-atom-check-1, window-tree-1, delete-window)
8642 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8643 new naming conventions - window-vchild, window-hchild,
8644 window-next and window-prev are now called window-top-child,
8645 window-left-child, window-next-sibling and window-prev-sibling
8646 respectively.
d615d6d2
MR
8647 (resize-window-reset): Rename to window-resize-reset.
8648 (resize-window-reset-1): Rename to window-resize-reset-1.
8649 (resize-window): Rename to window-resize.
8650 (window-min-height, window-min-width)
8651 (resize-mini-window, resize-this-window, resize-root-window)
8652 (resize-root-window-vertically, adjust-window-trailing-edge)
8653 (enlarge-window, shrink-window, maximize-window)
8654 (minimize-window, delete-window, quit-restore-window)
8655 (split-window, balance-windows, balance-windows-area-adjust)
8656 (balance-windows-area, window-state-put-2)
8657 (display-buffer-even-window-sizes, display-buffer-set-height)
8658 (display-buffer-set-width, set-window-text-height)
8659 (fit-window-to-buffer): Rename all "resize-window" prefixed
8660 calls to use the "window-resize" prefix convention.
8661 (display-buffer-alist): Fix symbol for label specifier.
8662 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8663 corresponding specifier.
8664 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8665
b6458526
VB
86662011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8667
8668 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8669 convention.
8670 (ses-call-printer): Does not pass an empty string to formatter when the
8671 cell is empty to keep from barking printer Calc math-format-value.
8672
d31fd9ac
RS
86732011-06-27 Richard Stallman <rms@gnu.org>
8674
43d5bf84
RS
8675 * battery.el (battery-mode-line-limit): New variable.
8676 (battery-update): Handle it.
8677
d31fd9ac
RS
8678 * mail/rmailmm.el (rmail-mime-process-multipart):
8679 Handle truncated messages.
8680
819a6054
GM
86812011-06-27 Glenn Morris <rgm@gnu.org>
8682
8683 * progmodes/flymake.el (flymake-err-line-patterns):
8684 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8685
cedc73f2
VB
86862011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8687
819a6054 8688 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8689 (ses--clean-!, ses--clean-_): New functions.
8690 (ses-range): Add configurability of readout order, and conversion
8691 to Calc vector.
8692
5e5d49b6
VB
8693 * ses.el (ses-repair-cell-reference-all): New function.
8694 (ses-cell-symbol): Set macro as safe, so that it can be used in
8695 formulas.
8696
56e6cc31 8697 * ses.el: Update cycle detection algorithm.
90ca8b49 8698 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8699 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8700 (ses-set-localvars): New function.
8701 (ses-make-cell): Add property-list as a cell element.
8702 (ses-cell-property-get-fun, ses-cell-property-get)
8703 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8704 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8705 New functions.
90ca8b49
VB
8706 (ses-cell-property-set, ses-cell-property-pop)
8707 (ses-cell-property-get-handle): New macro.
8708 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8709 New aliases, used for code readability.
8710 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8711 cycle detection.
8712 (ses-self-reference-early-detection): New defcustom.
fac916bf 8713 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8714 (ses-mode): Use ses-set-localvars.
8715 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8716 before lauching the update processing.
8717 (ses-initialize-Dijkstra-attempt): New function.
8718 (ses-recalculate-cell): Update for cycle detection based on
8719 Dijkstra algorithm.
8720
2bb63e81
VB
8721 * ses.el: Fix commenting and indenting convention.
8722
c9d29fb8
SM
87232011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8724
8725 * bs.el (bs-cycle-next): Complete last change.
8726
d8e4b68b
JB
87272011-06-27 Drew Adams <drew.adams@oracle.com>
8728
8729 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8730
40098786
LMI
87312011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8732
c9d29fb8
SM
8733 * net/network-stream.el (network-stream-open-starttls):
8734 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8735 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8736
40098786
LMI
8737 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8738 to binary to possibly avoid line encoding issues on Windows (among
8739 other things).
8740
468d09d4
LMI
87412011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8742
8743 * net/network-stream.el (open-network-stream): Return an :error
8744 saying what the problem was, if possible.
8745
8746 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8747 server.
8748
8749 * net/network-stream.el (network-stream-open-starttls): If we
8750 wanted to use STARTTLS, and the server offered it, but we weren't
8751 able to because we had no STARTTLS support, then close the connection.
8752 (open-network-stream): Return an :error element, if present.
8753
16f07dd7
CY
87542011-06-26 Chong Yidong <cyd@stupidchicken.com>
8755
88821ca0
CY
8756 * hl-line.el (hl-line-sticky-flag): Doc fix.
8757 (global-hl-line-sticky-flag): New option (Bug#8323).
8758 (global-hl-line-highlight): Obey it.
8759
16f07dd7
CY
8760 * vc/vc.el (vc-revert-show-diff): Default to t.
8761
6b5ccddf
KM
87622011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8763
c9d29fb8
SM
8764 * allout-widgets.el (allout-widgets-post-command-business):
8765 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8766 undecorated when an isearch is continued past, and isearch
8767 automatically collapses them. This leads to "widget leaks", where
8768 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8769 hidden widgets can slow down cursor travel, substantially.
8770 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8771 so we're doing without this nicety.
8772
8773 (allout-widgets-tally-string): Don't try to do a hash-table-count
8774 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8775 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8776 *Messages* when allout-widgets-maintain-tally is t.
8777
355f2e07
MR
87782011-06-26 Martin Rudalics <rudalics@gmx.at>
8779
8780 * window.el (display-buffer-normalize-argument): Rename to
8781 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8782 LABEL argument. Respect special-display-function when popping up
8783 a new frame. Fix code searching for a window showing the buffer
8784 on another frame.
c9d29fb8
SM
8785 (display-buffer-normalize-specifiers):
8786 Call display-buffer-normalize-arguments.
355f2e07
MR
8787 (display-buffer-in-window): Don't undedicate the window if its
8788 buffer remains the same.
8789 Reported by Drew Adams <drew.adams@oracle.com>.
8790 (display-buffer-alist): Add choice for same-window macro
8791 specfier.
8792 (display-buffer): Mention special meaning of LABEL argument in
8793 doc-string. Fix quoting. Don't pop up a new frame even as
8794 fallback.
8795
7ca8fc42
JB
87962011-06-26 Juanma Barranquero <lekktu@gmail.com>
8797
8798 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8799 avoid deleting the current window in some cases (bug#8911).
8800
bc312254
AS
88012011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8802
8803 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8804 (Bug#8934)
8805
2db18f3f
LMI
88062011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8807
c9d29fb8
SM
8808 * net/network-stream.el (network-stream-open-starttls):
8809 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8810 (network-stream-open-tls): Ditto.
8811
6302e0d3
LL
88122011-06-26 Leo Liu <sdl.web@gmail.com>
8813
8814 * register.el (registerv): New struct.
8815 (registerv-make): New function.
c9d29fb8
SM
8816 (jump-to-register, describe-register-1, insert-register):
8817 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8818 struct. (Bug#8415)
8819
5fdd4046
CY
88202011-06-26 Chong Yidong <cyd@stupidchicken.com>
8821
2afef60a
CY
8822 * vc/vc.el (vc-revert-show-diff): New defcustom.
8823 (vc-diff-internal): New arg specifying diff buffer.
8824 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8825 reuse an existing *vc-diff* buffer (Bug#8927).
8826
5fdd4046
CY
8827 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8828
e93db24a
GM
88292011-06-26 Glenn Morris <rgm@gnu.org>
8830
8831 * progmodes/f90.el (f90-critical-indent): New option.
8832 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8833 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8834 (f90-mode): Doc fix.
8835 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8836 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8837 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8838 (f90-match-end): Handle block, critical.
8839
eefff499
GM
88402011-06-25 Glenn Morris <rgm@gnu.org>
8841
f6ba4cc9
GM
8842 * calendar/diary-lib.el (diary-included-files): Doc fix.
8843 (diary-include-files): New function, extracted from
8844 diary-include-other-diary-files and diary-mark-included-diary-files.
8845 (diary-include-other-diary-files, diary-mark-included-diary-files):
8846 Just call diary-include-files.
8847 (diary-mark-entries): Reset diary-included-files on first call.
8848
16712304
GM
8849 * calendar/diary-lib.el (diary-mark-entries)
8850 (diary-mark-included-diary-files):
8851 Visit included diary-files in temp buffers.
8852
5d8e0d43
GM
8853 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8854 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8855 (f90-start-block-re, f90-imenu-generic-expression)
8856 (f90-looking-at-program-block-start, f90-no-block-limit):
8857 Add support for submodules.
8858
ccf7a5d5
GM
8859 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8860 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8861
11fdef7d 88622011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8863
8864 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8865 buffer-file-type before setting its value, to avoid disastrous
eefff499 8866 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8867
74f53697
JB
88682011-06-25 Juanma Barranquero <lekktu@gmail.com>
8869
8870 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8871
8872 * ses.el (ses-unload-function):
8873 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8874
8875 * proced.el (proced-unload-function):
8876 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8877
18a4ce5e
AR
88782011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8879
8880 * server.el (server-create-window-system-frame): Add parameters arg.
8881 (server-process-filter): Doc fix. Handle frame-parameters.
8882
519d22cc
JB
88832011-06-25 Juanma Barranquero <lekktu@gmail.com>
8884
8885 Fix bug#8730, bug#8781.
8886
8887 * loadhist.el (unload--set-major-mode): New function.
8888 (unload-feature): Use it.
8889
8890 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8891 (python-unload-function): New function.
8892
c206f5b0
SM
88932011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8896
f9ad64f3
GS
88972011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8898
8899 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8900 the candidates list.
8901
7d0da90e
JB
89022011-06-24 Juanma Barranquero <lekktu@gmail.com>
8903
8904 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8905
14b4e83d
RS
89062011-06-23 Richard Stallman <rms@gnu.org>
8907
8908 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8909 (rmail-variables): Set next-error-move-function.
8910 (rmail-what-message): Take argument POS.
8911 (rmail-next-error-move): New function.
8912
273d2baf
SM
89132011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8916 messages for adjacent non-terminals.
8917
56c2cc9a
RS
89182011-06-23 Richard Stallman <rms@gnu.org>
8919
8920 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8921 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8922 (rmail-start-mail): Don't specify use of rmail-mail-return;
8923 that's done by mail-bury now.
8924 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8925
d59eb518
MA
89262011-06-23 Michael Albinus <michael.albinus@gmx.de>
8927
8928 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8929 SIZE is a number.
8930
02cfc6d6
MR
89312011-06-23 Martin Rudalics <rudalics@gmx.at>
8932
8933 * window.el (get-lru-window, get-mru-window)
8934 (get-largest-window): Never return a minibuffer window.
8935 (display-buffer-pop-up-window): Fix a bug that could lead to
8936 reusing the minibuffer window.
8937 (display-buffer): Pass original specifier argument to
8938 display-buffer-function instead of the normalized one.
8939 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8940
4e323265
LL
89412011-06-22 Leo Liu <sdl.web@gmail.com>
8942
8943 * minibuffer.el (completing-read-function)
8944 (completing-read-default): Move from minibuf.c
8945
7a70468f
RS
89462011-06-22 Richard Stallman <rms@gnu.org>
8947
50718fc2
RS
8948 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8949 to Rmail even if not started by a special Rmail command.
8950
7a70468f
RS
8951 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8952 Copy the buffer currently showing just one message.
8953
297dde5a
RW
89542011-06-22 Roland Winkler <winkler@gnu.org>
8955
8956 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8957 (bibtex-clean-entry): First delete the old key so that a
8958 customized algorithm for generating the new key does not get
8959 confused by the old key.
8960 (bibtex-url): Obey regexp of first step.
8961 (bibtex-search-entries): Do not use add-to-list with local
8962 list-var.
8963
97bb1093
LMI
89642011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8965
8966 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8967 stored a user name, then query for the password first, instead of
8968 waiting for SMTP to give an error message and the trying again.
8969
1c0f1a19
JD
89702011-06-22 Lawrence Mitchell <wence@gmx.li>
8971
8972 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8973 BUFFER in call-process.
8974
396f7c9d
LMI
89752011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8976
8977 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8978 QUIT twice.
ddb7ffee
LMI
8979 (smtpmail-try-auth-methods): Require user name and password from
8980 auth-source.
396f7c9d 8981
8998d1b3
MR
89822011-06-22 Martin Rudalics <rudalics@gmx.at>
8983
8984 * window.el (display-buffer-default-specifiers)
8985 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8986 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8987 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8988
8989 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8990 (special-display-frame-alist, special-display-popup-frame):
8991 Remove duplicate declarations. These are now in window.el.
8992
4ea31e07
LMI
89932011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8994
c9d29fb8
SM
8995 * mail/smtpmail.el (smtpmail-via-smtp):
8996 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8997 server supports it. SMTP servers that support STARTTLS commonly
8998 require it.
8999
9000 * net/network-stream.el (network-stream-open-starttls): Support
9001 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9002 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9003
95f41d9a
LMI
9004 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9005 upgrades with `open-network-stream', and rely solely on
9006 auth-source for all credentials. Big changes throughout the file,
9007 but in particular:
c9d29fb8
SM
9008 (smtpmail-auth-credentials): Remove.
9009 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9010 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9011 MAIL FROM, too.
95f41d9a 9012
c9d29fb8
SM
9013 * net/network-stream.el (network-stream-open-starttls):
9014 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9015 STARTTLS.
9016 (auth-source): Require.
9017 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9018 (network-stream-certificate): Change cert-cert to cert and
9019 cert-key to key.
4ea31e07 9020
065ec2c7
MA
90212011-06-21 Michael Albinus <michael.albinus@gmx.de>
9022
9023 * net/tramp-cache.el (top): Don't load the persistency file when
9024 "emacs -Q" has been called.
9025
cd93b359
DR
90262011-06-21 Tim Harper <timcharper@gmail.com>
9027
d8e4b68b
JB
9028 * term/ns-win.el (ns-initialize-window-system):
9029 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9030 resource to NO as it is not yet supported by the NS port.
9031
ae9c0411
JB
90322011-06-21 Juanma Barranquero <lekktu@gmail.com>
9033
9034 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9035 (list-dynamic-libraries): ...not here.
9036
7f3f739f
LL
90372011-06-21 Leo Liu <sdl.web@gmail.com>
9038
9039 * subr.el (sha1): Implement sha1 using secure-hash.
9040
327c8fb1
MR
90412011-06-21 Martin Rudalics <rudalics@gmx.at>
9042
9043 * window.el (display-buffer-alist): In default value do not
9044 enforce searching a window on any but the selected frame.
9045 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9046 (display-buffer-select-window): Remove function.
9047 (display-buffer-in-window): When a window on another frame gets
9048 reused, do not select it any more but just raise its frame if
9049 necessary (Bug#8851) and (Bug#8856).
9050 (display-buffer-normalize-options): Handle pop-up-frames related
9051 options more faithfully.
9052 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9053 window if it is on another frame.
c9d29fb8
SM
9054 (display-buffer-alist, display-buffer-default-specifiers):
9055 Don't make new frame unsplittable by default.
9e9de014
MR
9056 (display-buffer-normalize-argument): Fix doc-string typo and use
9057 'same-frame-other-window instead of 'other-window when associating
9058 with display-buffer-macro-specifiers.
327c8fb1 9059
7cf3f556
VB
90602011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9061
9062 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9063 New functions.
9064 (5x5-mode-map, 5x5-mode-menu): Bind them.
9065 (5x5-draw-grid): Tweak the solver's rendering.
9066
60a406cf
SM
90672011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9070 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9071
d8e4b68b 90722011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9073
9074 * menu-bar.el: Use function variable instead of switch-to-buffer.
9075 (menu-bar-select-buffer-function): New variable.
60a406cf 9076 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9077
478d6f95
SM
90782011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9081 variable's status.
9082
ca530739
JD
90832011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9084
9085 * x-dnd.el (x-dnd-version-from-flags)
9086 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9087 and long as number (Bug#8899).
9088 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9089
bcd70d97
SM
90902011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9091
60a406cf 9092 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9093 (completion-try-completion, completion-all-completions): Compute the
9094 metadata argument if it's missing; make it optional (bug#8795).
9095
60a406cf 9096 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9097 (widget-complete): Use new :completion-function property.
9098 (widget-completions-at-point): New function.
9099 (default): Use :completion-function instead of :complete.
60a406cf
SM
9100 (widget-default-completions): Rename from widget-default-complete;
9101 Rewrite.
bcd70d97
SM
9102 (widget-string-complete, widget-file-complete, widget-color-complete):
9103 Remove functions.
9104 (file, symbol, function, variable, coding-system, color):
9105 * international/mule-cmds.el (default-input-method, charset)
9106 (language-info-custom-alist):
9107 * cus-edit.el (face): Use new property :completions.
9108
9109 * progmodes/pascal.el (pascal-completions-at-point): New function.
9110 (pascal-mode): Use it.
9111 (pascal-mode-map): Use completion-at-point.
9112 (pascal-toggle-completions): Make obsolete.
9113 (pascal-complete-word, pascal-show-completions):
9114 * progmodes/octave-mod.el (octave-complete-symbol):
9115 Redefine as obsolete alias.
9116 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9117 Signal absence of completion info for old Octave,
9118 (inferior-octave-complete): Redefine as obsolete alias.
9119 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9120 (meta-completions-at-point): Rename from meta-complete-symbol and
9121 adapt it for use on completion-at-point-functions.
9122 (meta-common-mode): Use it.
9123 (meta-looking-at-backward, meta-match-buffer): Remove.
9124 (meta-complete-symbol): Redefine as obsolete alias.
9125 (meta-common-mode-map): Use completion-at-point.
9126 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9127 (makefile-mode-map): Use completion-at-point.
9128 (makefile-completions-at-point): Rename from makefile-complete and
9129 adapt it for use on completion-at-point-functions.
9130 (makefile-mode): Use it.
9131 (makefile-complete): Redefine as obsolete alias.
9132
aebf69c8
DD
91332011-06-20 Deniz Dogan <deniz@dogan.se>
9134
9135 * net/rcirc.el: Delete trailing whitespaces once and for all.
9136
bfbbb27d
DC
91372011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9138
9139 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9140
d264a46b
CY
91412011-06-19 Chong Yidong <cyd@stupidchicken.com>
9142
4ca009e5
CY
9143 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9144
d264a46b
CY
9145 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9146
fbf5b3ce
MR
91472011-06-19 Martin Rudalics <rudalics@gmx.at>
9148
9149 * window.el (display-buffer-other-window-means-other-frame):
9150 Call display-buffer-normalize-alist.
9151 (display-buffer-normalize-specifiers-1): Rename to
9152 display-buffer-normalize-argument. New argument other-frame.
9153 Rewrite.
9154 (display-buffer-normalize-specifiers-2): Rename to
9155 display-buffer-normalize-options.
9156 (display-buffer-normalize-alist-1): New function.
9157 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9158 display-buffer-normalize-alist.
9159 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9160 (display-buffer-normalize-options-inhibit): New variable.
9161 (display-buffer-normalize-specifiers): Rewrite calling
9162 display-buffer-normalize-alist,
9163 display-buffer-normalize-argument, and
9164 display-buffer-normalize-options. Don't call the latter if
9165 display-buffer-normalize-options-inhibit is non-nil.
9166 (frame-auto-delete): New option.
9167 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9168 (window-list-no-nils, window-state-ignored-parameters)
9169 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9170 (window-state-put-1, window-state-put-2, window-state-put):
9171 New functions.
9a028c23
MR
9172 (display-buffer-normalize-options): Move special-display-p group
9173 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9174
6d10d800
CY
91752011-06-18 Chong Yidong <cyd@stupidchicken.com>
9176
6420d28b
CY
9177 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9178 groups (Bug#8776).
9179 (rx-submatch-n): New function.
9180 (rx): Document it.
9181
ddb8b596
CY
9182 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9183 (Bug#8768).
9184
9185 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9186
77080289
CY
9187 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9188
61dfb316
CY
9189 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9190 anytime existing face settings are present (Bug#8889).
9191
6d10d800
CY
9192 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9193 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9194 Remove unused argument.
9195
be3fb2b8
MR
91962011-06-18 Martin Rudalics <rudalics@gmx.at>
9197
bcd70d97
SM
9198 * window.el (display-buffer-default-specifiers):
9199 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9200 pop-up-window-min-width, and another reuse-window specifier
9201 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9202 (display-buffer-normalize-specifiers-2):
9203 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9204 pop-up-windows is unset. Add a reuse-window specifier for the
9205 case popping up a new window fails.
9206 (special-display-popup-frame): Remove double quoting.
28dec25a 9207 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9208
1c6d8c76
SM
92092011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9212 according to comint-completion-addsuffix.
9213
9214 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9215 (pcomplete-suffix-list): Mark as obsolete.
9216 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9217 pcomplete-seen in the closure.
9218 (pcomplete-comint-setup): Setup completion-at-point as well.
9219 (pcomplete--entries): New function.
9220 (pcomplete--env-regexp): New var.
9221 (pcomplete-entries): Rewrite to work with partial-completion and
9222 without relying on pcomplete-suffix-list.
9223 (pcomplete-pare-list): Remove, unused.
9224
25aef8b8
MR
92252011-06-17 Martin Rudalics <rudalics@gmx.at>
9226
9227 * window.el (display-buffer-alist): Set pop-up-window-min-height
9228 and pop-up-window-min-width in default value. Reported by
9229 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9230 other-window-means-other-frame.
9231 (display-buffer-macro-specifiers): Comment out entry for
9232 other-window specifier.
9233 (display-buffer-other-window-means-other-frame): New function.
9234 (display-buffer-normalize-specifiers-1): New arguments
9235 buffer-name and label. Treat other-window case specially.
9236 (display-buffer-normalize-specifiers-2): Treat other-window case
9237 specially.
9238 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9239 (display-buffer-normalize-specifiers):
9240 Call display-buffer-normalize-specifiers-3.
25aef8b8 9241
dbad4f69
MR
92422011-06-17 Martin Rudalics <rudalics@gmx.at>
9243
9244 * window.el (same-window-p): Fix two typos introduced when
9245 adding with-no-warnings.
d1067961
MR
9246 (display-buffer-normalize-specifiers-1): Don't check
9247 pop-up-frames for 'unset initialization.
9248 (display-buffer-normalize-specifiers-2): Major rewrite using
9249 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9250 (pop-up-frames, display-buffer-reuse-frames)
9251 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9252 Suggested by David Engster <deng@randomsample.de>.
9253 (even-window-heights): Initialize to 'unset.
9254 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9255 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9256 other window case.
dbad4f69 9257
9b9c9e3a
MR
92582011-06-16 Martin Rudalics <rudalics@gmx.at>
9259
bcd70d97
SM
9260 * window.el (display-buffer-normalize-specifiers-1):
9261 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9262 second argument of display-buffer (Bug#8865).
981d5c09
MR
9263 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9264 (switch-to-buffer-other-window-same-frame)
9265 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9266 Adams (Bug#8875).
9c2755e9
MR
9267 (display-buffer): Don't check noninteractive when calling
9268 display-buffer-pop-up-frame.
9269 (display-buffer-pop-up-frame): Never pop up a frame in
9270 noninteractive mode (Bug#8857).
67222e1d
MR
9271 (enlarge-window, shrink-window): Don't report an error when the
9272 window can't be resized as requested (Bug#8862).
9b9c9e3a 9273
2b75be67
SM
92742011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9275
9ffdd3ba
SM
9276 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9277
cb581a67
SM
9278 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9279
2b75be67
SM
9280 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9281
8c0e3589
AM
92822011-06-15 Alan Mackenzie <acm@muc.de>
9283
cb581a67
SM
9284 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9285 for declarators, disable knr checking to speed up for normal files.
9286 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9287
b96e6cde
LMI
92882011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9289
4bba86e6
LMI
9290 * net/network-stream.el (open-network-stream): Add the keyword
9291 :always-query-capabilities for the case where you want to force a
9292 `plain' network connection, but the protocol still requires the
9293 capabilitiy command (i.e., SMTP and EHLO).
9294
2b75be67 9295 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9296 consistency with other `-live-p' functions.
9297
efdcdbf8
SM
92982011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * window.el (same-window-buffer-names, same-window-regexps)
9301 (special-display-frame-alist, special-display-popup-frame)
9302 (special-display-function, special-display-buffer-names)
9303 (special-display-regexps, pop-up-frame-alist)
9304 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9305 (pop-up-windows, split-window-preferred-function)
9306 (split-height-threshold, split-width-threshold, even-window-heights)
9307 (display-buffer-mark-dedicated): Don't encourage the use of
9308 display-buffer-alist from Elisp code.
9309
c5cde042
DN
93102011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9311
9312 * progmodes/python.el (python-mode): Derive from prog-mode.
9313 * progmodes/ps-mode.el (ps-mode):
9314 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9315 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9316 * progmodes/ld-script.el (ld-script-mode): Likewise.
9317
baa1c9ab
MR
93182011-06-15 Martin Rudalics <rudalics@gmx.at>
9319
9320 * window.el (display-buffer-alist): Trim default value to avoid
9321 popping up a new frame (Bug#8857) or reusing an arbitrary window
9322 on another frame.
9323 (display-buffer): Do not fall back on popping up a new frame in
9324 batch mode (Bug#8857).
9325
c5dd5a51
CY
93262011-06-14 Chong Yidong <cyd@stupidchicken.com>
9327
9328 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9329 (custom-theme-summary): New function.
9330 (customize-themes): Use it.
9331
d647b7c4
GM
93322011-06-13 Glenn Morris <rgm@gnu.org>
9333
9334 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9335
9481c002
MR
93362011-06-13 Martin Rudalics <rudalics@gmx.at>
9337
357f93d2
MR
9338 * help.el (help-window): Remove variable.
9339 (help-window-point-marker, temp-buffer-max-height)
9340 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9341 (help-print-return-message): Don't set help-window.
9342 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9343 (help-window-setup-finish): Remove.
9344 (help-window-display-message, help-window-setup)
9345 (with-help-window): Major rewrite based on new
9346 display-buffer-window variable.
9347
9348 * help-mode.el (help-mode-finish): Remove help-window related
9349 code.
9350
9351 * view.el (view-exits-all-viewing-windows): Remove reference to
9352 view-return-to-alist in doc-string.
9353 (view-return-to-alist): Make obsolete.
9354 (view-buffer): Call pop-to-buffer-same-window and remove
9355 undo-window code.
9356 (view-buffer-other-window): Call pop-to-buffer-other-window and
9357 simplify code. Ignore second argument.
9358 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9359 simplify code. Ignore second argument.
9360 (view-return-to-alist-update): Make obsolete.
9361 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9362 Rewrite using quit-restore window parameters.
2b75be67
SM
9363 (view-mode-exit): Rename second argument to EXIT-ONLY.
9364 Rewrite using quit-restore-window.
357f93d2
MR
9365 (View-exit, View-exit-and-edit, View-leave, View-quit)
9366 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9367 appropriate arguments.
9368 (view-end-message): Use quit-restore window parameter.
9369
9481c002
MR
9370 * window.el (display-buffer-function): Rewrite doc-string.
9371 (display-buffer-window, display-buffer-alist): New variables.
9372 (display-buffer-split-specifiers)
9373 (display-buffer-side-specifiers)
9374 (display-buffer-macro-specifiers): New constants.
9375 (display-buffer-even-window-sizes, display-buffer-set-height)
9376 (display-buffer-set-width, display-buffer-select-window)
9377 (display-buffer-in-window, display-buffer-reuse-window)
9378 (display-buffer-split-window-1, display-buffer-split-window)
9379 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9380 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9381 (display-buffer-in-side-window, normalize-buffer-to-display)
9382 (display-buffer-normalize-specifiers-1)
9383 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9384 (display-buffer-normalize-specifiers, display-buffer-frame):
9385 New functions.
9481c002
MR
9386 (display-buffer): Major rewrite.
9387 (display-buffer-other-window, display-buffer-other-frame)
9388 (pop-to-buffer, switch-to-buffer-other-window)
9389 (switch-to-buffer-other-frame): Rewrite.
9390 (display-buffer-same-window, display-buffer-same-frame)
9391 (display-buffer-same-frame-other-window)
9392 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9393 (pop-to-buffer-other-window)
9394 (pop-to-buffer-same-frame-other-window)
9395 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9396 (switch-to-buffer-other-window-same-frame): New functions.
9397 (same-window-p, special-display-p): Rewrite disabling warnings.
9398 Make obsolete.
9399 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9400 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9401 Make obsolete
9402 (same-window-buffer-names, same-window-regexps)
9403 (special-display-frame-alist, special-display-popup-frame)
9404 (special-display-function, special-display-buffer-names)
9405 (special-display-regexps, pop-up-frame-alist)
9406 (pop-up-frame-function, split-window-preferred-function)
9407 (split-height-threshold, split-width-threshold)
9408 (even-window-heights): Make obsolete.
9409
9db51aca
GM
94102011-06-12 Glenn Morris <rgm@gnu.org>
9411
9412 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9413 Misc simplifications.
9db51aca 9414
39cffb44
MR
94152011-06-12 Martin Rudalics <rudalics@gmx.at>
9416
9417 * window.el (window-safely-shrinkable-p): Restore function which
9418 was inadvertently removed in change from 2011-06-11. Declare as
9419 obsolete.
9420
2b75be67
SM
9421 * calendar/calendar.el (calendar-generate-window):
9422 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9423 window-safely-shrinkable-p.
9424
a8955be7
GM
94252011-06-12 Glenn Morris <rgm@gnu.org>
9426
9427 * progmodes/fortran.el (fortran-mode-syntax-table):
9428 * progmodes/f90.el (f90-mode-syntax-table):
9429 Set % to punctuation. (Bug#8820)
9430 (f90-find-tag-default): Remove, no longer needed.
9431
f0d4059d
DC
94322011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9433
9434 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9435
1100a63c
CY
94362011-06-11 Chong Yidong <cyd@stupidchicken.com>
9437
9438 * image.el (image-animated-p): Return animation delay in seconds.
9439 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9440 (image-animate-timeout): Remove DELAY argument. Don't assume
9441 every subimage has the same delay; get it from image-animated-p.
9442 (image-animate): Caller changed.
9443
def722bf
MA
94442011-06-11 Michael Albinus <michael.albinus@gmx.de>
9445
9446 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9447 to ignored backtrace functions.
9448
0a2bb1a9
GM
94492011-06-11 Glenn Morris <rgm@gnu.org>
9450
9451 * calendar/appt.el (appt-disp-window-function): Doc fix.
9452 (appt-check): Handle overlapping appointments. (Bug#8337)
9453
6198ccd0
MR
94542011-06-11 Martin Rudalics <rudalics@gmx.at>
9455
9456 * window.el (window-tree-1, window-tree): New functions, moving
9457 the latter to window.el.
9458 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9459 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9460 (bw-refresh-edges): Remove.
9461 (balance-windows-1, balance-windows-2): New functions.
9462 (balance-windows): Rewrite in terms of window tree functions,
9463 balance-windows-1 and balance-windows-2.
9464 (bw-adjust-window): Remove.
9465 (balance-windows-area-adjust): New function with functionality of
9466 bw-adjust-window but using resize-window.
2b75be67
SM
9467 (set-window-text-height): Rewrite doc-string.
9468 Use normalize-live-window and resize-window.
9469 (enlarge-window-horizontally, shrink-window-horizontally):
9470 Rename argument to DELTA.
6198ccd0
MR
9471 (window-buffer-height): New function.
9472 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9473 Rewrite using new window resize routines.
2b75be67
SM
9474 (kill-buffer-and-window, mouse-autoselect-window-select):
9475 Use ignore-errors instead of condition-case.
6198ccd0
MR
9476 (quit-window): Call delete-frame instead of delete-windows-on
9477 for the only buffer on frame.
9478
9397e56f
MR
94792011-06-10 Martin Rudalics <rudalics@gmx.at>
9480
9481 * loadup.el (top-level): Load window before files for the sake
9482 of replace-buffer-in-windows.
9483
9484 * files.el (read-buffer-to-switch)
9485 (switch-to-buffer-other-window)
2b75be67
SM
9486 (switch-to-buffer-other-frame, display-buffer-other-frame):
9487 Move to window.el.
9397e56f
MR
9488
9489 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9490 (previous-buffer): Move to window.el.
9491
9492 * bindings.el (unbury-buffer): Move to window.el.
9493
9494 * window.el (delete-other-windows-vertically): Move after
9495 definition of delete-other-windows.
9496 (other-window, delete-windows-on, replace-buffer-in-windows):
9497 Move here from window.c.
9498 (record-window-buffer, unrecord-window-buffer)
9499 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9500 (switch-to-next-buffer): New functions.
9501 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9502 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9503 (previous-buffer): Move here from simple.el.
9504 Call switch-to-prev-buffer.
9397e56f
MR
9505 (bury-buffer): Move here from buffer.c. Switch to previous
9506 buffer when window cannot be deleted.
9507 (unbury-buffer): Move here from bindings.el.
9508 (ctl-x-map): Move binding for other-window from window.c to
9509 here.
9510 (read-buffer-to-switch, switch-to-buffer-other-window)
9511 (switch-to-buffer-other-frame): Move here from files.el.
9512 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9513 (switch-to-buffer): Move here from buffer.c.
9514 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9515
562dd5e9
MR
95162011-06-10 Martin Rudalics <rudalics@gmx.at>
9517
9518 * window.el (window-min-height, window-min-width): Move here
9519 from window.c. Add defcustoms and rewrite doc-strings.
9520 (resize-mini-window, resize-window): New functions.
9521 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9522 Move here from window.c.
9523 (maximize-window, minimize-window): New functions.
9524 (delete-window, delete-other-windows, split-window): Move here
9525 from window.c.
9526 (window-split-min-size): New function.
9527 (split-window-keep-point): Mention split-window-above-each-other
9528 instead of split-window-vertically.
2b75be67 9529 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9530 Rename split-window-vertically to split-window-above-each-other
9531 and provide defalias for old definition.
9532 (split-window-side-by-side, split-window-horizontally):
9533 Rename split-window-horizontally to split-window-side-by-side
9534 and provide defalias for the old definition.
562dd5e9
MR
9535 (ctl-x-map): Move bindings for delete-window,
9536 delete-other-windows and enlarge-window here from window.c.
9537 Replace bindings for split-window-vertically and
9538 split-window-horizontally by bindings for
9539 split-window-above-each-other and split-window-side-by-side.
9540
9541 * cus-start.el (all): Remove entries for window-min-height and
9542 window-min-width. Add entries for window-splits and
9543 window-nest.
9544
f0da764a
GM
95452011-06-09 Glenn Morris <rgm@gnu.org>
9546
80675c21
GM
9547 * calendar/appt.el (appt-mode-line): New function.
9548 (appt-check, appt-disp-window): Use it.
9549
f0da764a
GM
9550 * files.el (hack-one-local-variable-eval-safep):
9551 Allow minor-modes with explicit +/-1 arguments.
9552
59f623b7
TZ
95532011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9554
9555 * term/xterm.el (xterm): Add defgroup.
9556 (xterm-extra-capabilities): Add defcustom to supply known xterm
9557 capabilities, skip querying them, or query them (default).
9558 (terminal-init-xterm): Use it.
9559 (terminal-init-xterm-modify-other-keys): New function to set up
9560 modifyOtherKeys support to simplify `terminal-init-xterm'.
9561
9aab8e0d
MR
95622011-06-09 Martin Rudalics <rudalics@gmx.at>
9563
9564 * window.el (resize-window-reset, resize-window-reset-1)
9565 (resize-subwindows-skip-p, resize-subwindows-normal)
9566 (resize-subwindows, resize-other-windows, resize-this-window)
9567 (resize-root-window, resize-root-window-vertically)
9568 (window-deletable-p, window-or-subwindow-p)
9569 (frame-root-window-p): New functions.
9570
e8b08aee
GM
95712011-06-09 Glenn Morris <rgm@gnu.org>
9572
9573 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9574 (ange-ftp-get-files): Use it.
9575
254c37a5
AK
95762011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9577
9578 * mail/sendmail.el (mail-recover-1, mail-recover):
9579 * files.el (recover-file, recover-session):
9580 Handle dired-listing-switches not being just a single short option.
9581
35d7dbd3
GM
95822011-06-09 Glenn Morris <rgm@gnu.org>
9583
9584 * calendar/appt.el (appt-display-message, appt-disp-window):
9585 Handle lists of appointments.
9586
387522b2
MR
95872011-06-08 Martin Rudalics <rudalics@gmx.at>
9588
2b75be67
SM
9589 * window.el (one-window-p): Move down in code.
9590 Rewrite doc-string.
9591 (window-current-scroll-bars): Rewrite doc-string.
9592 Normalize live window argument.
387522b2
MR
9593 (walk-windows, get-window-with-predicate, count-windows):
9594 Rewrite doc-string. Use window-list-1.
9595 (window-in-direction-2, window-in-direction, get-mru-window):
9596 New functions.
9597
d8e4b68b 95982011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9599
9600 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9601 Doc fix (Bug#8713).
9602
96032011-06-08 Chong Yidong <cyd@stupidchicken.com>
9604
9605 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9606
96072011-06-08 Juanma Barranquero <lekktu@gmail.com>
9608
9609 * loadhist.el (unload-feature-special-hooks):
9610 Add `comint-output-filter-functions'.
9611
0de12c52
IK
96122011-06-08 Ivan Kanis <gnu@kanis.fr>
9613
9614 * calendar/appt.el (appt-check): Move some initializations into the let.
9615
f3d1777e
MR
96162011-06-08 Martin Rudalics <rudalics@gmx.at>
9617
9618 * window.el (window-height): Defalias to window-total-height.
9619 (window-width): Defalias to window-body-width.
9620
18af70d0
CY
96212011-06-07 Chong Yidong <cyd@stupidchicken.com>
9622
9623 * image-mode.el (image-toggle-animation): New command.
9624 (image-mode-map): Bind it to RET.
9625 (image-mode): Update message.
9626 (image-toggle-display-image): Avoid a spurious cache flush.
9627 (image-transform-rotation): Doc fix.
9628 (image-transform-properties): Return quickly in the normal case.
9629 (image-animate-loop): Rename from image-animate-max-time.
9630
2b75be67 9631 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9632 (create-animated-image): Remove unnecessary function.
9633 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9634 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9635 (image-animate-timer): Use car-safe.
9636 (image-animate-timeout): Rename argument.
9637
190b47e6
MR
96382011-06-07 Martin Rudalics <rudalics@gmx.at>
9639
9640 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9641 window.c. Rename first argument to ALL-FRAMES.
9642 Rephrase doc-strings.
9643 (get-buffer-window-list): Rewrite using window-list-1.
9644 Rephrase doc-string.
a1511caf
MR
9645 (window-safe-min-height, window-safe-min-width): New constants.
9646 (window-size-ignore, window-min-size, window-min-size-1)
9647 (window-sizable, window-sizable-p, window-size-fixed-1)
9648 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9649 (window-max-delta-1, window-max-delta, window-resizable)
9650 (window-resizable-p, window-total-height, window-total-width)
9651 (window-body-width): New functions.
9652 (window-full-height-p, window-full-width-p): Rewrite using
9653 window-total-size.
9654 (window-body-height): Rewrite using window-body-size.
190b47e6 9655
85cc1f11
MR
96562011-06-06 Martin Rudalics <rudalics@gmx.at>
9657
9658 * window.el (window-right, window-left, window-child)
9659 (window-child-count, window-last-child, window-any-p)
9660 (normalize-live-buffer, normalize-live-frame)
9661 (normalize-any-window, normalize-live-window)
9662 (window-iso-combination-p, window-iso-combined-p)
9663 (window-iso-combinations)
9664 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9665 (windows-with-parameter, window-with-parameter)
9666 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9667 (window-atom-check, window-side-check, window-check):
9668 New functions.
85cc1f11
MR
9669 (ignore-window-parameters, window-sides, window-sides-vertical)
9670 (window-sides-slots): New variables.
9671 (window-size-fixed): Move down in code. Minor doc-string fix.
9672
e7156492
AS
96732011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9674
9675 * comint.el (comint-dynamic-complete-as-filename)
9676 (comint-dynamic-complete-filename): Correctly call
9677 completion-in-region.
9678
7e821d0d
DD
96792011-06-05 Deniz Dogan <deniz@dogan.se>
9680
9681 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9682 in last change.
9683
ac09b8a1
DD
96842011-06-05 Deniz Dogan <deniz@dogan.se>
9685
9686 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9687 (rcirc): Use it to prompt for encryption.
9688
34699b85
RW
96892011-06-05 Roland Winkler <winkler@gnu.org>
9690
9691 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9692 (bibtex-search-entries): New command bound to C-c C-a.
9693 (bibtex-display-entries): New function.
9694
004dedd3
RW
96952011-06-05 Roland Winkler <winkler@gnu.org>
9696
9697 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9698 (bibtex-insert-kill): After yanking insert newline if necessary.
9699 (bibtex-initialize): Call bibtex-string-files-init only once.
9700 (bibtex-mode): Do not call easy-menu-add.
9701 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9702 (bibtex-yank): Set arg properly if nil.
9703
022fe7ce
RW
97042011-06-05 Roland Winkler <winkler@gnu.org>
9705
2b75be67
SM
9706 * textmodes/bibtex.el (bibtex-search-entry-globally):
9707 New variable.
022fe7ce
RW
9708 (bibtex-search-entry): Use it.
9709
b7c3692a
RW
97102011-06-05 Roland Winkler <winkler@gnu.org>
9711
9712 * textmodes/bibtex.el (bibtex-entry-format): New option
9713 sort-fields.
9714 (bibtex-format-entry, bibtex-reformat): Honor this option.
9715 (bibtex-parse-entry): Return fields in proper order.
9716
8eda563d
JB
97172011-06-05 Juanma Barranquero <lekktu@gmail.com>
9718
9719 * doc-view.el (doc-view-remove-if): Move computation of result out
9720 of `dolist' to silence misleading lexical-binding warning.
9721
7dbe3dbc
CY
97222011-06-04 Chong Yidong <cyd@stupidchicken.com>
9723
9724 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9725 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9726
0c33dd17
MA
97272011-06-04 Michael Albinus <michael.albinus@gmx.de>
9728
9729 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9730 "SunOS 5.10".
9731
f8f91c2b
MA
97322011-06-04 Michael Albinus <michael.albinus@gmx.de>
9733
9734 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9735 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9736 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9737 (tramp-parse-putty):
9738 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9739 (tramp-completion-function-alist-ssh)
9740 (tramp-completion-function-alist-telnet)
9741 (tramp-completion-function-alist-su)
9742 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9743 cookie.
9744
9745 * net/tramp-ftp.el:
9746 * net/tramp-sh.el:
9747 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9748 load "tramp.el" `tramp-set-completion-function'.
9749
e17d9003
SM
97502011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * shell.el: Require and use pcomplete.
9753 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9754 (shell-completion-vars): Set pcomplete-default-completion-function.
9755
6c4cab03
DD
97562011-06-04 Deniz Dogan <deniz@dogan.se>
9757
9758 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9759 `memq' (Bug#8799).
9760
ea9fafe0
SM
97612011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9762
9763 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9764
b3e945d3
JB
97652011-06-02 Juanma Barranquero <lekktu@gmail.com>
9766
9767 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9768 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9769 * vc/log-view.el (log-view-beginning-of-defun):
9770 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9771 (smerge-refine-forward, smerge-refine-chopup-region):
9772 Silence warning for unused `dotimes' counter variables.
9773
7d520089
SM
97742011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * net/tramp.el (tramp-with-progress-reporter): Rename from
9777 with-progress-reporter. Use `declare'.
9778 * net/tramp-smb.el:
9779 * net/tramp-sh.el:
9780 * net/tramp-gvfs.el: Update all uses.
9781
a1c2400f
JB
97822011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9783
9784 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9785 buffer isn't killed before making it current.
9786
2403c841
SM
97872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9788
9789 Silence various byte-compiler warnings.
9790 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9791 `access-type' and new obsolescence format.
9792 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9793 new format.
9794 (byte-compile-check-variable): New `access-type' argument.
9795 Only warn if the access-type is obsolete.
9796 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9797 (byte-compile-variable-set): Adjust callers.
9798 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9799 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9800 setting it as obsolete.
9801 * simple.el (minibuffer-completing-symbol):
9802 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9803 access as obsolete.
9804 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9805 obsolete yet.
9806 * international/quail.el (quail-mouse-choose-completion): Remove unused
9807 code referring to obsolete var.
9808 (quail-choose-completion-string): Remove.
9809 * server.el (server-clients-with, server-kill-buffer-query-function)
9810 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9811 * proced.el (proced-send-signal):
9812 * emacs-lisp/lisp.el (lisp-complete-symbol):
9813 Replace completion-annotate-function with completion-extra-properties.
9814
2462470b
SM
98152011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9816
fb5b2591
SM
9817 * simple.el (goto-line): Use read-number.
9818 (overriding-map-is-bound): Remove.
9819 (saved-overriding-map): Change default.
9820 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9821 Take the map as argument.
9822 (universal-argument, negative-argument, digit-argument): Use it.
9823 (restore-overriding-map): Adjust.
9824 (do-auto-fill): Use fill-forward-paragraph.
9825 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9826
fd6fa53f
SM
9827 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9828 (minibuffer-inactive-mode): New major mode.
9829 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9830 the *Messages* buffer" hack.
9831 (mouse-popup-menubar): Don't burp if the event is a normal key.
9832
2462470b
SM
9833 Miscellaneous tweaks.
9834 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9835 lexical scoping as in subr.el's dolist and dotimes.
9836 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9837 Silence compiler warning.
9838 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9839 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9840 * international/ccl.el (ccl-compile): Trivial simplification.
9841 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9842 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9843 `printflag' argument.
9844 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9845 Purecopy the whole obsolescence data.
9846
108bf785
LL
98472011-06-01 Leo Liu <sdl.web@gmail.com>
9848
9849 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9850 improve doc-string as suggested by Marco Pessotto
9851 <melmothx@gmail.com>.
9852 (rcirc-print): Fix last change.
9853
30a23501
SM
98542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9855
9856 * minibuffer.el (complete-with-action): Return nil for the metadata and
9857 boundaries of non-functional tables.
9858 (completion-table-dynamic): Return nil for the metadata.
9859 (completion-table-with-terminator): Add default case, using
9860 complete-with-action.
9861 (completion--metadata): New function.
9862 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9863 to try and avoid pathological performance problems.
9864 (completion--embedded-envvar-table): Return `category' metadata.
9865
bcd54f83
LMI
98662011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9867
9868 * subr.el (process-alive-p): New tiny convenience function.
9869
e227544d
SM
98702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9873 content but also its previous major mode.
9874
e8296fdc
HE
98752011-05-31 Helmut Eller <eller.helmut@gmail.com>
9876
4d61f28d 9877 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9878 *Backtrace* buffer when we exit with C-M-c.
9879
620c53a6
SM
98802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * minibuffer.el: Add metadata method to completion tables.
9883 (completion-category-overrides): New defcustom.
9884 (completion-metadata, completion--field-metadata)
9885 (completion-metadata-get, completion--styles)
9886 (completion--cycle-threshold): New functions.
9887 (completion-try-completion, completion-all-completions):
9888 Add `metadata' argument to choose completion-styles.
9889 (completion--do-completion): Use metadata to choose cycling.
9890 (completion-all-sorted-completions): Use metadata for sorting.
9891 Remove :completion-cycle-penalty which is not needed any more.
9892 (completion--try-word-completion): Add `metadata' argument.
9893 (minibuffer-completion-help): Check metadata for annotation function
9894 and sorting.
9895 (completion-file-name-table): Return `category' metadata.
9896 (minibuffer-completing-file-name): Make obsolete.
9897 * simple.el (minibuffer-completing-symbol): Make obsolete.
9898 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9899 completion-try-completion.
9900
1257e755
SM
99012011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9904
3767e706
LL
99052011-05-30 Leo Liu <sdl.web@gmail.com>
9906
9907 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9908 (rcirc-print): Decode all incoming messages (bug#8744).
9909 (rcirc-decode-coding-system): Allow value nil for automatic coding
9910 system detection.
3767e706 9911
d1a5d56a
GM
99122011-06-01 Glenn Morris <rgm@gnu.org>
9913
9914 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9915
e8cbec34
CY
99162011-05-29 Chong Yidong <cyd@stupidchicken.com>
9917
9918 * image.el (image-animate-max-time): Allow nil and t values.
9919 Default to nil.
9920 (create-animated-image): Doc fix.
9921 (image-animate-start): Remove second arg; just use
9922 image-animate-max-time.
9923 (image-animate-timeout): Doc fix. Args changed.
9924
9925 * image-mode.el (image-toggle-display-image): Ensure that the
9926 image spec passed to the animate timer is the same object as in
58179cce 9927 the buffer's display property (Bug#6981).
e8cbec34
CY
9928 (image-transform-properties): Doc fix.
9929
9930 * image.el (image-animate-max-time): Default to nil.
9931
159daf87
MR
99322011-05-29 Martin Rudalics <rudalics@gmx.at>
9933
9934 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9935 entire buffer list (Bug#8184).
9936
d66c4c7c
CY
99372011-05-29 Chong Yidong <cyd@stupidchicken.com>
9938
9939 * image.el (imagemagick-types-inhibit)
9940 (imagemagick-register-types): Doc fix.
9941
80aec780
DD
99422011-05-29 Deniz Dogan <deniz@dogan.se>
9943
9944 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9945 default.
9946
1dd3c2d9
CY
99472011-05-29 Chong Yidong <cyd@stupidchicken.com>
9948
9949 * select.el: Don't perform clipboard-manager saving in hooks;
9950 leave the hooks empty.
9951
60e56523
LL
99522011-05-28 Leo Liu <sdl.web@gmail.com>
9953
9954 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9955 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9956 (occur-edit-mode): New major mode (Bug#8463).
9957 (occur-after-change-function): New function.
9958 (occur-engine): Give Occur tags a read-only property.
9959
2b1e1a22
KR
99602011-05-28 Kevin Ryde <user42@zip.com.au>
9961
9962 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9963
5d344e88
CY
99642011-05-28 Chong Yidong <cyd@stupidchicken.com>
9965
8e6ca83d
CY
9966 * bindings.el (help-echo): Make the initial non-indicator dash
9967 empty on graphical terminals (Bug#7295).
9968
5d344e88
CY
9969 * files.el (auto-mode-alist): Move config rule after the
9970 in-stripping one (Bug#8547).
9971
bfbbace7
CY
9972 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9973
fbeba6e2
CY
9974 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9975 setting (Bug#8740).
9976
60ed8c72
AA
99772011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9978
4ac619f0
AA
9979 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9980 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9981 (Bug#8539).
60ed8c72 9982
23db196e
CY
99832011-05-28 Chong Yidong <cyd@stupidchicken.com>
9984
9985 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9986
5012f24c
DK
99872011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9988
9989 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9990 (hs-hide-block-at-point, hs-find-block-beginning)
9991 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9992 (Bug#8279).
9993
6a639b16
GM
99942011-05-28 Glenn Morris <rgm@gnu.org>
9995
9996 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9997
d43eaf2c
CY
99982011-05-28 Chong Yidong <cyd@stupidchicken.com>
9999
5199bde1
CY
10000 * help-fns.el (describe-function-1): If the function is a derived
10001 major mode, print the parent mode.
10002
d43eaf2c
CY
10003 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10004 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10005
423428a8
SM
100062011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10007
0ff8e1ba 10008 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10009 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10010 * progmodes/etags.el (tags-completion-at-point-function):
10011 * info-look.el (info-lookup-completions-at-point): Mark as
10012 non-exclusive.
10013 (info-complete): Adjust accordingly.
10014
423428a8
SM
10015 * info-look.el: Convert to lexical-binding and completion-at-point.
10016 (info-lookup-completions-at-point): New function.
10017 (info-complete): Use it and completion-in-region.
10018
b74aa22b
DA
100192011-05-28 Drew Adams <drew.adams@oracle.com>
10020
10021 * isearch.el: Let M-e start with point at the first mismatched char.
10022 (isearch-fail-pos): New function.
10023 (isearch-edit-string): Use it.
10024
66e2e71d
DK
100252011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10026
10027 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10028
b1890b0f 100292011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10030
10031 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10032 traversal functions for avl-trees.
10033 (avl-tree--stack): New struct.
10034 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10035 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10036 (avl-tree--do-enter): Add optional `updatefun' arg.
10037 Change return value.
eb95d01d 10038 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10039 (avl-tree--do-delete): Add `test' and `nilflag' args.
10040 Change return value.
eb95d01d
TC
10041 (avl-tree-member): Add optional `nilflag'
10042 (avl-tree-member-p): New function.
10043 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10044 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10045 (avl-tree-stack-empty-p): New functions.
10046
3769ddcf
TC
10047 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10048 avl-tree--del-balance1 and make it work both ways.
10049 (avl-tree--del-balance2): Remove.
10050 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10051 make it work both ways.
10052 (avl-tree--enter-balance2): Remove.
10053 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10054 New macros.
10055 (avl-tree--mapc, avl-tree-map): Add direction argument.
10056
eb95d01d 100572011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10058
10059 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10060
a9f737ee
CY
100612011-05-27 Chong Yidong <cyd@stupidchicken.com>
10062
10063 * select.el: Support clipboard managers with built-in function
10064 x-clipboard-manager-save, via delete-frame-functions and
10065 kill-emacs-hook.
10066 (xselect-convert-to-targets): Add MULTIPLE target to list.
10067 (xselect-convert-to-save-targets): New function.
10068
c92a1e54
KH
100692011-05-27 Kenichi Handa <handa@m17n.org>
10070
10071 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10072 let-binding rfc2047-encode-encoded-words to nil.
10073
e145f188
GM
100742011-05-27 Glenn Morris <rgm@gnu.org>
10075
5ec8a862
GM
10076 * mail/emacsbug.el: Don't require url-util.
10077
4b29d9fb
GM
10078 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10079
e145f188
GM
10080 * files.el (set-auto-mode):
10081 Also respect mode: entries at the end of the file. (Bug#8586)
10082
7d15102b
GM
100832011-05-26 Glenn Morris <rgm@gnu.org>
10084
98f593b8
GM
10085 * files.el (hack-local-variables-prop-line, hack-local-variables):
10086 Downcase mode names, as seems to be traditional.
27b48e63 10087 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10088
7d15102b
GM
10089 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10090 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10091
51d5b4ec
JD
100922011-05-25 Julien Danjou <julien@danjou.info>
10093
10094 * textmodes/rst.el (rst-define-level-faces): Do not define face
10095 symbol if it is already defined.
10096
91513f63
VB
100972011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10098
10099 * play/5x5.el (5x5-new-game, 5x5-randomize):
10100 Reset 5x5-solver-output to nil when a new grid is cast.
10101 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10102 these debugging traces, as defmacro breaks the compiled code.
10103
4d90d6d0
DK
101042011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10105
10106 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10107
e1b90ef6
LL
101082011-05-24 Leo Liu <sdl.web@gmail.com>
10109
10110 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10111 (vc-bzr-sha1): Adapt.
10112
d8e4b68b 10113 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10114
10115 * bindings.el: Provide sha1 feature.
10116
db0406bb 101172011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10118
10119 * mail/sendmail.el: Require `rfc2047'.
10120 (mail-insert-from-field): Do not perform RFC2047 encoding.
10121 (mail-encode-header): New function.
10122 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10123 buffer to the return value of select-message-coding-system.
10124 Call mail-encode-header.
b8d747b9
KH
10125
10126 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10127
db0406bb 101282011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10129
4d90d6d0
DK
10130 * mail/supercite.el (sc-default-cite-frame):
10131 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10132
eb8a5e9b
GM
101332011-05-24 Glenn Morris <rgm@gnu.org>
10134
f8630703
GM
10135 * progmodes/python.el (brm-menu): Declare.
10136
8831bbed
GM
10137 * emulation/viper.el (viper-set-hooks): Declare.
10138
eb8a5e9b
GM
10139 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10140 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10141 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10142 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10143 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10144 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10145
a2a25d24
SM
101462011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10147
10148 Add an :exit-function for completion-at-point.
10149
10150 * minibuffer.el (completion--done): New fun.
10151 (completion--do-completion): Use it. New arg `expect-exact'.
10152 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10153 since completion--do-completion does it for us now.
10154 (minibuffer-force-complete): Use completion--done and
10155 completion--replace. Handle sole-completion case with more care.
10156 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10157 (completion-extra-properties): New var.
10158 (completion-annotate-function): Make obsolete.
10159 (minibuffer-completion-help): Adjust accordingly.
10160 Use completion-list-insert-choice-function.
10161 (completion-at-point, completion-help-at-point):
10162 Bind completion-extra-properties.
10163 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10164 * simple.el (completion-list-insert-choice-function): New var.
10165 (completion-setup-function): Preserve it.
10166 (choose-completion): Pay attention to it, shuffle the code a bit.
10167 (choose-completion-string): New arg `insert-function'.
10168
10169 * textmodes/bibtex.el: Convert to lexical binding.
10170 (bibtex-mode-map): Use completion-at-point.
10171 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10172 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10173 (bibtex-complete): Define as obsolete alias.
10174 (bibtex-complete-internal): Remove.
10175 (bibtex-format-entry): Remove unused sub-group in regexp.
10176 * shell.el (shell--command-completion-data)
10177 (shell-environment-variable-completion):
10178 * pcomplete.el (pcomplete-completions-at-point):
10179 * comint.el (comint--complete-file-name-data): Use :exit-function
10180 instead of completion-table-with-terminator so it also works for
10181 choose-completion.
10182
e44e373d
SM
101832011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10184
4f91a816
SM
10185 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10186
782fc819
SM
10187 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10188 (bug#8710).
10189
e44e373d
SM
10190 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10191
381987c3
KM
101922011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10193
10194 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10195 customization variable and implement: If non-nil, auto-fill will
10196 be inhibited while on topic's header line.
10197
b776bc70
VB
101982011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10199
10200 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10201 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10202 always have a solution in grid size = 5 cases.
10203 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10204 (5x5-solver-output, 5x5-log-buffer): New vars.
10205 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10206 Make these variables buffer local to achieve 5x5 multi-session-ness.
10207 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10208 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10209 (5x5-solve-suggest): New funs.
10210 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10211 randomize a grid so that we ensure that there is always a solution.
10212 (5x5-make-random-grid): Allow other movement than flipping.
10213
7de88b6e
KR
102142011-05-23 Kevin Ryde <user42@zip.com.au>
10215
10216 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10217 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10218 advice and passes PREDICATE.
10219
b1ef1257
SM
102202011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10221
bbca48fe
SM
10222 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10223 byte-compile-lambda if it's actually a lambda.
10224
b1ef1257
SM
10225 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10226 Fix function quoting. Use backquote better.
10227
92a9cc65
YS
102282011-05-22 Yuanle Song <sylecn@gmail.com>
10229
10230 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10231 matching (Bug#8516).
10232
f0fb8059
JA
102332011-01-22 Jari Aalto <jari.aalto@cante.net>
10234
10235 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10236 different face (Bug#8178).
10237
d5b44c93
CY
102382011-05-22 Chong Yidong <cyd@stupidchicken.com>
10239
10240 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10241 defface (Bug#8144).
10242
79106a44
SM
102432011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10244
9c848d8a
SM
10245 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10246 funcall as well (bug#8712). Warn when performing those conversions.
10247 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10248
79106a44
SM
10249 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10250
88dfa756
GM
102512011-05-22 Glenn Morris <rgm@gnu.org>
10252
10253 * files.el (hack-local-variables-prop-line): Small simplifications.
10254 (hack-local-variables, hack-local-variables-prop-line):
10255 If MODE-ONLY, return the mode, rather than just `t'.
10256
b7cf2c79
SM
102572011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10260
3f1a8558
GM
102612011-05-21 Glenn Morris <rgm@gnu.org>
10262
7e4ccca3
GM
10263 * files.el (hack-local-variables-prop-line, hack-local-variables):
10264 If only interested in the mode, don't bother doing the other stuff.
10265
637d46ca
GM
10266 * image-mode.el (image-after-revert-hook):
10267 Redraw all frames on which the image is visible. (Bug#8567)
10268
973d955b
GM
10269 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10270
3f1a8558
GM
10271 * wid-edit.el (widget-checklist-match-inline):
10272 Fix 2011-04-19 change. (Bug#8649)
10273
96479927
SM
102742011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10275
1dcf791f
SM
10276 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10277 Also allow singlespace after single-letter capitals followed by a dot.
10278
96479927
SM
10279 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10280 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10281
35fd0881
N
102822011-05-20 Nix <nix@esperi.org.uk>
10283
10284 * files.el (basic-save-buffer-2):
10285 Fix handling of break-hardlink-on-save with non-existent files.
10286
82745640
DD
102872011-05-19 Deniz Dogan <deniz@dogan.se>
10288
10289 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10290 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10291
4a720484
GM
102922011-05-19 Glenn Morris <rgm@gnu.org>
10293
d1f21341
GM
10294 * progmodes/f90.el (f90-type-def-re):
10295 Handle "type, bind(c)". (Bug#8691)
10296
4a720484
GM
10297 * emacs-lisp/autoload.el (batch-update-autoloads):
10298 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10299
2fb0a219
MA
103002011-05-18 Michael Albinus <michael.albinus@gmx.de>
10301
10302 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10303 property for the correct connection in case of multihops.
10304
e565dd37
GM
103052011-05-18 Glenn Morris <rgm@gnu.org>
10306
c2571358 10307 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10308 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10309
e565dd37
GM
10310 Rationalize calendar handling of day and month abbrev-arrays.
10311 * calendar/calendar.el (calendar-customized-p): New function.
10312 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10313 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10314 Add :set function.
10315 (calendar-abbrev-length, calendar-day-abbrev-array)
10316 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10317 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10318 Elements may no longer be nil.
10319 (calendar-day-name, calendar-month-name):
10320 Update for changed nature of abbrev arrays.
10321 * calendar/diary-lib.el (diary-name-pattern):
10322 Update for changed nature of abbrev arrays.
10323 (diary-mark-entries-1): Update calendar-make-alist calls.
10324 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10325 * calendar/cal-html.el (cal-html-day-abbrev-array):
10326 Simply inherit from calendar-day-abbrev-array.
10327
1d99a745
SM
103282011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10329
10330 * progmodes/grep.el (grep-mode): Disable default
10331 compilation-directory-matcher setting (bug#8684).
10332
7c1d9aa0
MA
103332011-05-17 Michael Albinus <michael.albinus@gmx.de>
10334
10335 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10336 instead of "head" and "tail". There were problems with SunOS 5.9,
10337 and it performs better.
10338
3952e9d8
GM
103392011-05-17 Glenn Morris <rgm@gnu.org>
10340
2dd12e7f
GM
10341 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10342
e4157b9c
GM
10343 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10344 Replace obsolete function.
10345
8e249bbd
GM
10346 * shell.el (pcomplete-parse-arguments-function): Declare.
10347
3952e9d8
GM
10348 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10349 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10350 (appt-check): Doc fixes.
10351 (appt-disp-window-function, appt-delete-window-function):
10352 Remove needless special case in custom :type.
10353 (appt-display-count): Default to 0, not nil.
10354 (appt-check): Reset appt-display-count to 0, not nil.
10355
c71a0d48 103562011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10357
c71a0d48
GM
10358 * progmodes/python.el (python-font-lock-keywords):
10359 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10360
31d55be9
SM
103612011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10362
10363 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10364
3bfacb2f
KR
103652011-05-16 Kevin Ryde <user42@zip.com.au>
10366
10367 * info-look.el (makefile-automake-mode): New setups, looking in
10368 automake manual, then makefile-mode.
10369 (makefile-mode): Remove automake manual, have it just in
10370 makefile-automake-mode since there's various things different or
10371 not relevant to plain make.
10372 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10373 believe a hypothetical automake-mode would go to makefile-mode,
10374 not the other way around.
10375
c8e83751
CY
103762011-05-15 Chong Yidong <cyd@stupidchicken.com>
10377
5e9e35cd
CY
10378 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10379 hunk-end tags (Bug#8672).
10380
c8e83751
CY
10381 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10382 vc-annotate-show-diff-revision-at-line (Bug#8671).
10383
50b23e5a
GM
103842011-05-14 Glenn Morris <rgm@gnu.org>
10385
7210a739
GM
10386 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10387 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10388 (change-log-font-lock-keywords): Also handle multiple author lines
10389 with leading tabs. (Bug#8644)
7210a739 10390
4691905a
GM
10391 * calendar/appt.el (appt-check): Rename some local variables.
10392 Some simplification/reordering.
10393
50b23e5a
GM
10394 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10395 (feedmail-sendmail-f-doesnt-sell-me-out)
10396 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10397 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10398 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10399 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10400 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10401 (feedmail-binmail-gnulinuxish-template):
10402 Rename from feedmail-binmail-linuxish-template.
10403 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10404 Use insert-buffer-substring.
10405
215cda7c
BC
104062011-05-14 Bill Carpenter <bill@carpenter.org>
10407
10408 * mail/feedmail.el (feedmail-patch-level): Increase.
10409 (feedmail-debug): New custom group.
10410 (feedmail-confirm-outgoing-timeout)
10411 (feedmail-sendmail-f-doesnt-sell-me-out)
10412 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10413 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10414 (feedmail-sender-line, feedmail-from-line)
10415 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10416 (feedmail-spray-this-address)
215cda7c
BC
10417 (feedmail-spray-address-fiddle-plex-list)
10418 (feedmail-queue-use-send-time-for-date)
10419 (feedmail-queue-use-send-time-for-message-id)
10420 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10421 (feedmail-buffer-eating-function):
10422 Doc fixes.
10423 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10424 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10425 (feedmail-message-action-scroll-down): New functions.
10426 (feedmail-queue-directory, feedmail-queue-draft-directory):
10427 Use expand-file-name.
10428 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10429 Remove C-v help entry.
10430 (feedmail-queue-buffer-file-name): New variable.
10431 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10432 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10433 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10434 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10435 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10436 (feedmail-message-action-toggle-spray)
10437 (feedmail-run-the-queue-no-prompts)
10438 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10439 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10440 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10441 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10442 (feedmail-envelope-deducer, feedmail-fiddle-from)
10443 (feedmail-fiddle-sender, feedmail-default-date-generator)
10444 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10445 (feedmail-fiddle-spray-address)
10446 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10447 (feedmail-fiddle-list-of-fiddle-plexes)
10448 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10449 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10450 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10451 Change default. Doc fix.
10452 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10453 (feedmail-binmail-linuxish-template): New constant.
10454 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10455 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10456 (feedmail-send-it): Add debug call.
10457 Use feedmail-queue-buffer-file-name, and
10458 feedmail-send-it-immediately-wrapper.
10459 (feedmail-message-action-send): Add debug call.
10460 Use feedmail-send-it-immediately-wrapper.
10461 (feedmail-queue-express-to-queue): Add debug call.
10462 Run feedmail-queue-express-hook.
10463 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10464 (feedmail-message-action-help-blat):
10465 Rename from feedmail-queue-send-edit-prompt-help-first.
10466 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10467 Check line-endings. Handle errors better.
10468 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10469 Doc fix. Add debug call.
10470 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10471 Use feedmail-queue-send-edit-prompt-inner.
10472 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10473 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10474 from feedmail-queue-send-edit-prompt.
10475 (feedmail-queue-send-edit-prompt-help)
10476 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10477 (feedmail-tidy-up-slug): Add debug call.
10478 Respect feedmail-queue-slug-suspect-regexp.
10479 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10480 (feedmail-dump-message-to-queue): Add debug call.
10481 Expand queue-directory.
10482 (feedmail-dump-message-to-queue): Change message slightly.
10483 Use feedmail-say-chatter.
10484 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10485 (feedmail-send-it-immediately-wrapper): New function.
10486 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10487 Insert empty string rather than newline. Handle full-frame case.
10488 Use catch/throw. Use feedmail-say-chatter.
10489 (feedmail-fiddle-from): Try mail-host-address.
10490 (feedmail-default-message-id-generator): Doc fix.
10491 Bind system-time-locale. Handle missing end.
10492 (feedmail-fiddle-x-mailer): Add debug call.
10493 Handle feedmail-x-mailer-line being nil.
10494 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10495 Add debug call. Use buffer-substring-no-properties.
10496 (feedmail-say-debug, feedmail-say-chatter): New functions.
10497 (feedmail-find-eoh): Give an explicit error.
10498
42c7e61e
UJ
104992011-05-13 Ulf Jasper <ulf.jasper@web.de>
10500
c2571358 10501 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10502 family from helvetica to sans.
c2571358 10503 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10504 etc/images/newsticker.
10505
c2571358 10506 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10507 family from helvetica to sans.
10508
10509 * net/newst-plainview.el (newsticker-new-item-face)
10510 (newsticker-old-item-face, newsticker-immortal-item-face)
10511 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10512 (newsticker-statistics-face): Change default family from
42c7e61e 10513 helvetica to sans.
c2571358 10514 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10515 etc/images/newsticker.
10516
10517 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10518 (newsticker--process-auto-mark-filter-match): : Tell user about
10519 auto-marking.
10520
8497a297
DV
105212011-05-13 Didier Verna <didier@xemacs.org>
10522
10523 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10524 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10525 TODO entries.
8497a297
DV
10526 (lisp-lambda-list-keyword-parameter-indentation)
10527 (lisp-lambda-list-keyword-parameter-alignment)
10528 (lisp-lambda-list-keyword-alignment): New customizable user options.
10529 (lisp-indent-defun-method): Improve docstring.
10530 (extended-loop-p): Fix comment.
10531 (lisp-indent-lambda-list-keywords-regexp): New variable.
10532 (lisp-indent-lambda-list): New function.
10533 (lisp-indent-259): Use it.
10534 (lisp-indent-defmethod): Support for more than one
10535 method qualifier and properly indent methods lambda-lists.
10536 (defgeneric): Provide a missing common-lisp-indent-function property.
10537
f278f87f
SM
105382011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10539
10540 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10541 bounds for the empty string (bug#8667).
10542
5233edd7
GM
105432011-05-13 Glenn Morris <rgm@gnu.org>
10544
5237a44f
GM
10545 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10546
8340026c 10547 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10548 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10549
5233edd7 10550 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10551 (appt-time-msg-list): Doc fix.
a5464014 10552 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10553
92d10796
AS
105542011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10555
10556 * progmodes/ld-script.el (ld-script-keywords)
10557 (ld-script-builtins): Update keywords list.
10558
914a0ae1
SM
105592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10560
c89be45f
SM
10561 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10562
914a0ae1
SM
10563 * shell.el (shell-completion-vars): New function.
10564 (shell-mode):
10565 * simple.el (read-shell-command): Use it.
10566 (blink-matching-open): No need for " [...]" in minibuffer-message.
10567
98dc3df3
GM
105682011-05-12 Glenn Morris <rgm@gnu.org>
10569
10570 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10571 (appt-check): Simplify.
10572
d2fc7e3d 105732011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10574
4d61f28d 10575 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10576 literal "/dev/null".
10577
d2fc7e3d 105782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10579
10580 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10581 Fix typo.
10582
d2fc7e3d 105832011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10584
3f254caa
SM
10585 * progmodes/which-func.el (which-function):
10586 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10587 which might not be defined (Bug#8260).
10588
d45885f7
GM
105892011-05-12 Glenn Morris <rgm@gnu.org>
10590
10591 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10592 Let byte-compile-initial-macro-environment always take precedence.
10593
488086f4
SM
105942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10595
10596 * net/rcirc.el: Add support for SSL/TLS connections.
10597 (rcirc-server-alist): New field `encryption'.
10598 (rcirc): Check `encryption' settings.
10599 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10600 Merge make-local-variable into `set'.
10601 (rcirc--connection-open-p): New function.
10602 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10603 the process is not a network process (e.g. running gnutls-cli).
10604 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10605 Make rcirc-(en|de)code-coding-system local here.
10606 (rcirc-mode): Merge make-local-variable into `set'.
10607 (rcirc-parent-buffer): Make permanent buffer-local.
10608 (rcirc-multiline-minor-mode): Don't do it here.
10609 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10610 there's no server buffer.
10611
7d3b9d44
GM
106122011-05-11 Glenn Morris <rgm@gnu.org>
10613
f64049c6
GM
10614 * newcomment.el (comment-kill): Prefix "unused" local.
10615
93c9df73
GM
10616 * term/w32console.el (get-screen-color): Declare.
10617
7d3b9d44
GM
10618 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10619 Handle symbol elements of byte-compile-initial-macro-environment.
10620
9e2dd53f
LL
106212011-05-10 Leo Liu <sdl.web@gmail.com>
10622
488086f4
SM
10623 * bookmark.el (bookmark-bmenu-mode-map):
10624 Bind bookmark-bmenu-search to `/'.
8b340240 10625
9e2dd53f 10626 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10627 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10628 (Footnote-unicode): New function.
10629 (footnote-style-alist): Add unicode style to the list.
10630 (footnote-style): Doc fix.
9e2dd53f 10631
79b70037
GM
106322011-05-10 Jim Meyering <meyering@redhat.com>
10633
10634 Fix doubled-word typos.
10635 * international/quail.el (quail-insert-kbd-layout): and and -> and
10636 * kermit.el: and and -> and
10637 * net/ldap.el (ldap-search-internal): to to -> to
10638 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10639 * progmodes/js.el (js-mode): and and -> and
10640 * textmodes/artist.el (artist-move-to-xy): at at -> at
10641 (artist-draw-region-trim-line-endings): if if -> if
10642 And Safetyc -> Safety.
10643 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10644
b8f82dc1 106452011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10646 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10647
10648 * files.el (hack-one-local-variable-eval-safep):
10649 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10650
4f99f44b
GM
106512011-05-10 Glenn Morris <rgm@gnu.org>
10652
10653 * calendar/diary-lib.el (diary-list-entries-hook)
10654 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10655 (diary-nongregorian-marking-hook, diary-list-entries)
10656 (diary-include-other-diary-files, diary-mark-entries)
10657 (diary-mark-included-diary-files): Doc fixes.
10658
84f29e6b
JB
106592011-05-09 Juanma Barranquero <lekktu@gmail.com>
10660
10661 * misc.el: Require tabulated-list.el during compilation.
10662
9bedd73a
CY
106632011-05-09 Chong Yidong <cyd@stupidchicken.com>
10664
488086f4
SM
10665 * progmodes/compile.el (compilation-start):
10666 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10667 (compilation-filter-hook): Doc fix.
10668
797c735c
DD
106692011-05-09 Deniz Dogan <deniz@dogan.se>
10670
10671 * wdired.el: Remove outdated installation comment. Fix usage
10672 comment.
10673
5f4b1dfe
JB
106742011-05-09 Juanma Barranquero <lekktu@gmail.com>
10675
10676 * misc.el: Implement new command `list-dynamic-libraries'.
10677 (list-dynamic-libraries--loaded-only-p): New variable.
10678 (list-dynamic-libraries--refresh): New function.
10679 (list-dynamic-libraries): New command.
10680
4c44026c
CY
106812011-05-09 Chong Yidong <cyd@stupidchicken.com>
10682
488086f4
SM
10683 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10684 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10685 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10686 higher priority to avoid clobbering by gnu.
10687
027f966d
CY
106882011-05-08 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10691 if the face has existing theme settings (Bug#8454).
10692
085f5d7d
CY
106932011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10694
488086f4
SM
10695 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10696 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10697
2a86a00c
RS
10698 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10699 special file names `.' and `..' (Bug#8259).
10700
d9c54a06
CY
107012011-05-08 Chong Yidong <cyd@stupidchicken.com>
10702
488086f4
SM
10703 * progmodes/grep.el (grep-mode-font-lock-keywords):
10704 Remove buffer-changing entries.
d9c54a06
CY
10705 (grep-filter): New function.
10706 (grep-mode): Add it to compilation-filter-hook.
10707
10708 * progmodes/compile.el (compilation-filter-hook)
10709 (compilation-filter-start): New defvars.
10710 (compilation-filter): Call compilation-filter-hook prior to
10711 updating the process mark.
10712
c4662635
SM
107132011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10714
10715 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10716
b0512a1d
EZ
107172011-05-07 Eli Zaretskii <eliz@gnu.org>
10718
605c9376
EZ
10719 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10720 mailclient-send-it even if window-system is nil. (Bug#8595)
10721
c4662635
SM
10722 * term/w32console.el (terminal-init-w32console):
10723 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10724 background-mode. (Bug#8597)
10725
d1dc2cc2
SM
107262011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10729 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10730 New functions.
10731 (defgeneric, eieio--defmethod): Use them.
10732 (eieio-defgeneric): Remove.
10733 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10734
915d1300
GM
107352011-05-07 Glenn Morris <rgm@gnu.org>
10736
a3961c3e
GM
10737 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10738 Use let rather than let*.
10739 (timeclock-find-discrep): Remove unused local.
10740
314347b9
GM
10741 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10742
915d1300
GM
10743 * calendar/appt.el (appt-time-msg-list): Doc fix.
10744
275b59b0
NF
107452011-05-06 Noah Friedman <friedman@splode.com>
10746
10747 * apropos.el (apropos-print-doc): Only use
10748 emacs-lisp-docstring-fill-column when it is bound to an integer,
10749 per that variable's documentation.
10750
6c19f744
SM
107512011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10752
10753 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10754 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10755
60f884b2
GM
107562011-05-06 Glenn Morris <rgm@gnu.org>
10757
5006e634
GM
10758 * calendar/appt.el (appt-message-warning-time): Doc fix.
10759 (appt-warning-time-regexp): New option.
10760 (appt-make-list): Respect appt-message-warning-time.
10761
548d0a63
GM
10762 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10763 New options.
10764 (diary-add-to-list): Strip comments from the displayed string.
10765 (diary-mode): Set comment-start and comment-end.
10766
60f884b2
GM
10767 * vc/diff-mode.el (smerge-refine-subst): Declare.
10768 (diff-refine-hunk): Don't require smerge-mode when compiling.
10769
989681bb
JB
107702011-05-06 Juanma Barranquero <lekktu@gmail.com>
10771
10772 * simple.el (list-processes): Return nil as the docstring says.
10773
a6bc05e1
MA
107742011-05-05 Michael Albinus <michael.albinus@gmx.de>
10775
10776 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10777 to "".
10778 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10779 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10780 determining of binary transfer. (Bug#7383)
10781
23c22e9a
MA
107822011-05-05 Michael Albinus <michael.albinus@gmx.de>
10783
c4662635
SM
10784 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10785 Fix port computation bug. (Bug#8618)
23c22e9a 10786
0bff894f
GM
107872011-05-05 Glenn Morris <rgm@gnu.org>
10788
b8296902
GM
10789 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10790
1f522ce8
GM
10791 * simple.el (shell-dynamic-complete-functions)
10792 (comint-dynamic-complete-functions): Declare.
10793
cf5bee67
GM
10794 * net/network-stream.el (gnutls-negotiate):
10795 * simple.el (tabulated-list-print): Fix declarations.
10796
10797 * progmodes/gud.el (syntax-symbol, syntax-point):
10798 Remove unnecessary and incorrect declarations.
10799
0bff894f
GM
10800 * emacs-lisp/check-declare.el (check-declare-scan):
10801 Handle byte-compile-initial-macro-environment in bytecomp.el
10802
9869b3ae
SM
108032011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 Fix earlier half-done eieio-defmethod change (bug#8338).
10806 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10807 Streamline and change calling convention.
10808 (defmethod): Adjust accordingly and simplify.
10809 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10810 new eieio--defmethod.
10811 (slot-boundp): Minor CSE simplification.
10812
9c1d5ac5
MZ
108132011-05-05 Milan Zamazal <pdm@zamazal.org>
10814
10815 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10816 (glasses-make-readable): Use glasses-separate-capital-groups.
10817
455c834e
JB
108182011-05-05 Juanma Barranquero <lekktu@gmail.com>
10819
10820 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10821 (warning-series): Doc fix.
10822 (display-warning): Don't try to create the buffer if we just found it.
10823
9ed7c8cb
CY
108242011-05-04 Chong Yidong <cyd@stupidchicken.com>
10825
10826 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10827 (autoload-find-generated-file): New function.
10828 (generate-file-autoloads): Bind generated-autoload-file to
10829 buffer-file-name.
9869b3ae
SM
10830 (update-file-autoloads, update-directory-autoloads):
10831 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10832 output file (Bug#7989).
10833 (batch-update-autoloads): Doc fix.
10834
0898ca10
JB
108352011-05-04 Juanma Barranquero <lekktu@gmail.com>
10836
10837 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10838
31dfb76c
GM
108392011-05-04 Glenn Morris <rgm@gnu.org>
10840
f330b642
GM
10841 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10842 function, so it follows changes in calendar-date-style.
10843 (diary-fancy-date-matcher): New function.
10844 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10845 (diary-fancy-font-lock-fontify-region-function):
10846 Use diary-fancy-date-pattern as a function.
10847
31dfb76c
GM
10848 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10849 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10850
48e79d6a
TZ
108512011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10852
10853 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10854 instead of positional arguments. Allow :keylist and :crlfiles
10855 arguments.
10856 (open-gnutls-stream): Call it.
10857
10858 * net/network-stream.el (network-stream-open-starttls): Adjust to
10859 call `gnutls-negotiate' with :process and :hostname arguments.
10860
dd5a5ee0
SM
108612011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10862
ef80fc09
SM
10863 * minibuffer.el (completion--message): New function.
10864 (completion--do-completion, minibuffer-complete)
10865 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10866 (completion--do-completion): Don't ignore completion-auto-help when in
10867 icomplete-mode.
10868
dd5a5ee0
SM
10869 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10870 internal encoding (e.g. tibetan zero is not whitespace).
10871 (global-whitespace-mode): Prefer save-current-buffer.
10872 (whitespace-trailing-regexp): Remove useless save-match-data.
10873 (whitespace-empty-at-bob-regexp): Minor simplification.
10874
b7d22a83
CY
108752011-05-03 Chong Yidong <cyd@stupidchicken.com>
10876
10877 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10878
5192af46
AM
108792011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10880
10881 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10882 Use `concat' to create string for insertion.
5192af46 10883
5767d190
SM
108842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10885
10886 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10887 Avoid open-line which runs post-self-insert-hook.
10888 (bibtex-fill-entry): Remove unused `end' var.
10889
bf242939
AM
108902011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10891
5767d190
SM
10892 * textmodes/ispell.el (ispell-add-per-file-word-list):
10893 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10894
25666126
LL
108952011-05-03 Leo Liu <sdl.web@gmail.com>
10896
10897 * isearch.el (isearch-yank-pop): New command.
5767d190 10898 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10899 (isearch-forward): Mention it.
10900
52d3c2d0
SM
109012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10902
1bcace58
SM
10903 * simple.el (minibuffer-complete-shell-command): Remove.
10904 (minibuffer-local-shell-command-map): Use completion-at-point.
10905 (read-shell-command): Setup completion vars here instead.
10906 (read-expression-map): Bind TAB to symbol completion.
10907
52d3c2d0
SM
10908 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10909 error directly rather via storing it into `results'.
10910
35813471
LL
109112011-05-02 Leo Liu <sdl.web@gmail.com>
10912
10913 * vc/diff.el: Fix description.
10914
e793a940
LMI
109152011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10916
10917 * server.el (server-eval-at): New function.
10918
8de66e05
LMI
109192011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10920
10921 * net/network-stream.el (open-network-stream): Take a :nowait
10922 parameter and pass it on to `make-network-process'.
10923 (network-stream-open-plain): Ditto.
10924
dcb79f20
AS
109252011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10926
10927 * faces.el (face-spec-set-match-display): Don't match toolkit
10928 options on terminal frames.
10929
14a7fbd8
SM
109302011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10931
7eabc1be
SM
10932 * progmodes/pascal.el: Use lexical binding.
10933 (pascal-mode-map): Remove author preferences.
10934
14a7fbd8
SM
10935 * pcomplete.el (pcomplete-std-complete): Don't abuse
10936 completion-at-point.
10937
50f84510
JB
109382011-04-28 Juanma Barranquero <lekktu@gmail.com>
10939
6e087a44
JB
10940 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10941 removing code that has been dead since 1991 or so.
10942
50f84510
JB
10943 * startup.el (command-line): When warning about "_emacs", use a
10944 delayed warning to allow the user to filter it out.
10945
0ba690bd
DD
109462011-04-28 Deniz Dogan <deniz@dogan.se>
10947
10948 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10949 user has not joined.
10950
08abfaad
SM
109512011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10954 aren't any completions at point.
10955
638f053a
JB
109562011-04-28 Juanma Barranquero <lekktu@gmail.com>
10957
10958 * subr.el (display-delayed-warnings): New function.
10959 (delayed-warnings-hook): New variable.
10960
8fff8daa
SM
109612011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10962
08abfaad
SM
10963 * minibuffer.el (completion-at-point, completion-help-at-point):
10964 Don't presume that a given completion-at-point-function will always
10965 use the same calling convention.
10966
8fff8daa
SM
10967 * pcomplete.el (pcomplete-completions-at-point):
10968 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10969 pcomplete-seen is non-nil.
10970 (pcomplete-comint-setup): Also recognize the new comint/shell
10971 completion functions.
10972 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10973 pcomplete-seen is non-nil.
10974
841a1577 109752011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10976
841a1577 10977 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10978 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10979 the first character in the entry. This allows for code to add its
211ec907
UJ
10980 own uid to the entry.
10981 (icalendar--convert-float-to-ical): Add export of
10982 `diary-float'-entries save for those with the optional DAY
10983 argument.
10984
2a782793
DC
109852011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10986
10987 * subr.el (shell-quote-argument): Use alternate escaping strategy
10988 when we spot a variable reference in a string.
10989
0438ce91
DC
109902011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10991
10992 * cus-start.el (all): Define customization for debug-on-event.
10993
841a1577 109942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10995
10996 * subr.el (shell-quote-argument): Escape correctly under Windows.
10997
d090ed6c
SM
109982011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10999
11000 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11001
bfd31217
MA
110022011-04-25 Michael Albinus <michael.albinus@gmx.de>
11003
d090ed6c
SM
11004 * net/tramp.el (tramp-process-actions): Add POS argument.
11005 Delete region between POS and (pos).
bfd31217 11006
d090ed6c
SM
11007 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11008 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11009 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11010
11011 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11012 position in `tramp-process-actions' call.
11013
11014 * net/trampver.el: Update release number.
11015
e92f3bd3
SM
110162011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11017
850256b5
SM
11018 * custom.el (defcustom): Obey lexical-binding.
11019
e92f3bd3
SM
11020 Fix octave-inf completion problems reported by Alexander Klimov.
11021 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11022 Inherit from octave-mode-syntax-table.
11023 (inferior-octave-mode): Set info-lookup-mode.
11024 (inferior-octave-completion-at-point): New function.
11025 (inferior-octave-complete): Use it and completion-in-region.
11026 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11027 comint-filename-completion.
11028 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11029 symbol elements which shouldn't be word elements.
11030 (octave-font-lock-keywords, octave-beginning-of-defun)
11031 (octave-function-header-regexp): Adjust regexps accordingly.
11032 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11033
cd22b309
JB
110342011-04-25 Juanma Barranquero <lekktu@gmail.com>
11035
11036 * net/gnutls.el (gnutls-errorp): Declare before first use.
11037
8b492194
TZ
110382011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11039
11040 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11041 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11042 default trustfile exists before going to use it. Add missing
5a5fa834 11043 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11044 Reported by Claudio Bley <claudio.bley@gmail.com>.
11045 (open-gnutls-stream): Add usage example.
11046
11047 * net/network-stream.el (network-stream-open-starttls): Give host
11048 parameter to `gnutls-negotiate'.
11049 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11050 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11051
841a1577 110522011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11053
cd22b309
JB
11054 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11055 Use correct match group (bug#8438).
05842630 11056
3ba7869c
CY
110572011-04-24 Chong Yidong <cyd@stupidchicken.com>
11058
512e3ae1
CY
11059 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11060 (package-menu--generate): New arg specifying packages to show.
11061 (package-menu-refresh, package-menu-execute, list-packages):
11062 Callers changed.
11063 (package-show-package-list): New function, replacing deleted
11064 package--list-packages (renamed because it is non-internal).
11065
11066 * finder.el (finder-list-matches): Use package-show-package-list
11067 instead of deleted package--list-packages.
11068
e92f3bd3
SM
11069 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11070 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11071 (vc-annotate-mode-map): Bind it to RET.
11072
7031be6d
UR
110732011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11074
11075 * progmodes/etags.el (next-file): Don't use set-buffer to change
11076 buffers (Bug#8478).
11077
4ef177aa
CY
110782011-04-24 Chong Yidong <cyd@stupidchicken.com>
11079
c8d173eb
CY
11080 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11081
4ef177aa
CY
11082 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11083 (apropos-accumulator): Doc fix.
11084 (apropos-function, apropos-macro, apropos-command)
11085 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11086 (apropos-plist): Add face property.
11087 (apropos-symbols-internal): Fix indentation.
11088 (apropos-print): Simplify help, and recognize apropos-multi-type.
11089 (apropos-print-doc): Use button-type-get to extract the button's
11090 face property. Fill docstring (Bug#8352).
11091
4ffd0d6b 110922011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11093
11094 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11095
c6c32125 11096 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11097 (mpuz-mode-map): Use mapc.
c6c32125
JB
11098 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11099 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11100 Fix typos in docstrings.
11101
58d468b4
JB
11102 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11103 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11104
6470c3c6
JB
11105 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11106
4ffd0d6b 111072011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11108
11109 * minibuffer.el (completion--do-completion): Avoid the "Next char
11110 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11111
3ad8bad0
CY
11112 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11113 mouse-2 into unread-command-events, it is interpreted correctly.
11114
71d73c9c 11115 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11116 (image-toggle-display): Doc fix.
71d73c9c 11117
841a1577 111182011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11119
4ffd0d6b
GM
11120 * textmodes/page.el (what-page): Use line-number-at-pos to
11121 calculate line number (Bug#6825).
6e1dbaa9 11122
c2fb1b60
JB
111232011-04-22 Juanma Barranquero <lekktu@gmail.com>
11124
11125 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11126 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11127 Pass argument NO-DEFAULT to `find-tag-interactive'.
11128
e02f48d7
JB
111292011-04-22 Juanma Barranquero <lekktu@gmail.com>
11130
11131 Lexical-binding cleanup.
11132
11133 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11134 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11135 * progmodes/ada-prj.el (ada-prj-initialize-values)
11136 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11137 (ada-prj-show-value):
11138 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11139 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11140 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11141 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11142 * progmodes/bug-reference.el (bug-reference-push-button):
11143 * progmodes/fortran.el (fortran-line-length):
11144 * progmodes/glasses.el (glasses-change):
11145 * progmodes/octave-mod.el (octave-fill-paragraph):
11146 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11147 (python-pdbtrack-grub-for-buffer, python-sentinel):
11148 * progmodes/sql.el (sql-save-connection):
11149 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11150 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11151 Mark unused parameters.
11152
11153 * progmodes/compile.el (compilation--flush-directory-cache)
11154 (compilation--flush-parse, compile-internal): Mark unused parameters.
11155 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11156 (compilation-next-error-function): Remove unused variable `timestamp'.
11157
11158 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11159 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11160
11161 * progmodes/dcl-mode.el (dcl-end-of-command):
11162 Remove unused variable `start'.
11163 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11164 (dcl-option-value-basic, dcl-option-value-offset)
11165 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11166 Mark unused parameters.
11167 (dcl-save-local-variable): Remove unused variable `val'.
11168 (mode): Declare.
11169
11170 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11171 Mark unused parameters.
11172 (delphi-ignore-changes): Move before first use.
11173 (delphi-charset-token-at): Remove unused variable `start'.
11174 (delphi-else-start): Remove unused variable `if-count'.
11175 (delphi-comment-block-start, delphi-comment-block-end):
11176 Remove unused variable `kind'.
11177 (delphi-indent-line): Remove unused variable `new-point'.
11178
11179 * progmodes/ebrowse.el (ebrowse-files-list)
11180 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11181 Mark unused parameters. Don't quote `lambda'.
11182 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11183 Don't quote `lambda'.
11184 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11185 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11186 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11187 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11188 Use `ignore-errors'.
11189 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11190 (ebrowse-view/find-file-and-search-pattern)
11191 (ebrowse-view/find-member-declaration/definition):
11192 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11193 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11194 Rename parameter PREFIX-ARG to PREFIX.
11195 (ebrowse-tags-read-name): Remove unused variables `start' and
11196 `member-info'.
11197 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11198 to `tags-file'.
11199
11200 * progmodes/etags.el (local-find-tag-hook): Declare.
11201 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11202 Mark unused parameters.
11203
11204 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11205 (executable-interpret): Mark unused parameter.
11206
11207 * progmodes/flymake.el (flymake-process-sentinel)
11208 (flymake-after-change-function)
11209 (flymake-create-temp-with-folder-structure)
11210 (flymake-get-include-dirs-dot): Mark unused parameters.
11211 (flymake-safe-delete-directory): Remove unused variable `err'.
11212
11213 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11214 (speedbar-timer-fn, speedbar-line-text)
11215 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11216 (speedbar-center-buffer-smartly): Declare functions.
11217 (gdb-find-watch-expression): Remove unused variable `array'.
11218 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11219 (gdb-starting): Mark unused parameters.
11220 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11221 (gdb-table-string): Remove unused variable `res'.
11222 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11223 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11224 (gdb-display-buffer): Remove unused variable `cur-size'.
11225
11226 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11227 allow lexical-binding compilation.
11228 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11229 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11230 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11231 Mark unused parameters.
11232 (gud-gdb-marker-filter): Remove unused variable `match'.
11233 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11234 lambda expressions and funcall them, instead of using `fset'.
11235
11236 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11237 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11238
11239 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11240 variable `header-beg'; use `let'.
11241
11242 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11243 `restart', `last-sexp' and `at-do'.
11244
11245 * progmodes/js.el (js--debug): Mark unused parameter.
11246 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11247 (js--splice-into-items): Remove unused variable `item'.
11248 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11249
11250 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11251 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11252 (makefile-complete): Remove unused variable `try'.
11253 (makefile-fill-paragraph, makefile-match-function-end):
11254 Mark unused parameters.
11255
11256 * progmodes/octave-inf.el (inferior-octave-complete):
11257 Remove unused variable `proc'.
11258 (inferior-octave-output-digest): Mark unused parameter.
11259
11260 * progmodes/perl-mode.el (perl-calculate-indent):
11261 Remove unused variable `err'.
11262
11263 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11264 (prolog-indent-line): Mark unused parameters.
11265 (prolog-indent-line): Remove unused variable `beg'.
11266
11267 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11268 (reporter-dont-compact-list): Declare.
11269
11270 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11271 Remove unused variable `char'.
11272 (sh-debug): Mark unused parameter.
11273 (sh-get-indent-info): Remove unused variable `start'.
11274 (sh-calculate-indent): Remove unused variable `var'.
11275
11276 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11277 (simula-electric-keyword): Remove unused variable `null'.
11278 (simula-search-backward, simula-search-forward): Remove unused
11279 variables `begin' and `end'.
11280
11281 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11282 Remove unused variable `pos'.
11283 (vera-electric-tab, vera-comment-uncomment-region):
11284 Mark unused parameters.
11285 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11286
7ede3b65
CY
112872011-04-22 Chong Yidong <cyd@stupidchicken.com>
11288
11289 * emacs-lisp/package.el (package--builtins, package-alist)
11290 (package-load-descriptor, package-built-in-p, package-activate)
11291 (define-package, package-installed-p)
11292 (package-compute-transaction, package-buffer-info)
11293 (package--push): Doc fix. Distinguish more clearly between
11294 version strings and version lists.
11295
121656e9
JB
112962011-04-21 Juanma Barranquero <lekktu@gmail.com>
11297
11298 Lexical-binding cleanup.
11299
11300 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11301 (5x5-make-mutate-best):
11302 * play/fortune.el (fortune-in-buffer):
11303 * play/gomoku.el (gomoku-init-display):
11304 * play/solitaire.el (solitaire, solitaire-do-check):
11305 * play/tetris.el (tetris-default-update-speed-function):
11306 Mark unused parameters.
11307
11308 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11309 (bubbles--shift): Remove unused variable `char-org'.
11310 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11311 (bubbles--show-images): Remove unused variable `char'.
11312
11313 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11314 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11315 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11316 (decipher-analyze-buffer): Use ?\s.
11317 (decipher-make-checkpoint): Remove unused variable `mapping'.
11318
11319 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11320
11321 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11322 Remove unused variable `result'; use `let'.
11323
11324 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11325 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11326 (gametree-children-shown-p, gametree-compute-reduced-score):
11327 Use `ignore-errors'.
11328
11329 * play/handwrite.el (ps-lpr-switches): Declare.
11330 (handwrite): Remove unused variables `pmin' and `lastp'.
11331
11332 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11333
11334 * play/landmark.el (landmark-init-display)
11335 (landmark-update-naught-weights): Mark unused parameters.
11336 (landmark-y): Remove unused variable `noise'. Simplify.
11337 (landmark-human-plays): Remove unused variable `score'.
11338
11339 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11340 (mpuz-try-proposal): Remove unused variable `game'.
11341
11342 * play/zone.el (life-patterns): Declare.
11343
80f499c7
JB
113442011-04-20 Juanma Barranquero <lekktu@gmail.com>
11345
11346 * vc/vc.el (ediff-vc-internal): Declare function.
11347
024ff170
SM
113482011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11349
c0a193ea
SM
11350 * shell.el: Use lexical-binding and std completion UI.
11351 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11352 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11353 comint-preoutput-filter-functions rather than on
11354 comint-output-filter-functions.
11355 (shell-command-completion, shell--command-completion-data)
11356 (shell-filename-completion, shell-environment-variable-completion)
11357 (shell-c-a-p-replace-by-expanded-directory): New functions.
11358 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11359 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11360 (shell-dynamic-complete-environment-variable): Use them.
11361 (shell-dynamic-complete-as-environment-variable)
11362 (shell-dynamic-complete-as-command): Remove.
11363 (shell-match-partial-variable): Match past point.
11364 * comint.el: Clean up use of completion-at-point-functions.
11365 (comint-completion-at-point): New function.
11366 (comint-mode): Use it completion-at-point-functions.
11367 (comint-dynamic-complete): Make it obsolete.
11368 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11369 (comint-c-a-p-replace-by-expanded-history): New function.
11370 (comint-dynamic-complete-functions)
11371 (comint-replace-by-expanded-history): Use it.
11372 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11373 termination strings. Try harder to avoid second try-completion.
11374 (completion-in-region-mode-map): Disable bindings that don't work yet.
11375
2dbaa080
SM
11376 * comint.el: Use lexical-binding. Require CL.
11377 (comint-dynamic-complete-functions): Use comint-filename-completion.
11378 (comint-completion-addsuffix): Tweak custom type.
11379 (comint-filename-completion, comint--common-suffix)
11380 (comint--common-quoted-suffix, comint--table-subvert)
11381 (comint--complete-file-name-data): New functions.
11382 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11383 (comint-dynamic-list-filename-completions): Use them.
11384 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11385
2dbaa080
SM
11386 * minibuffer.el (completion-in-region-mode):
11387 Keep completion-in-region-mode--predicate global.
11388 (completion-in-region--postch):
11389 Assume completion-in-region-mode--predicate is not null.
11390
c79a6f38
SM
11391 * progmodes/flymake.el (flymake-start-syntax-check-process):
11392 Obey `dir'. Simplify.
11393
024ff170
SM
11394 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11395 we're in VC after all.
11396
1c6c854e
CS
113972011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11398
11399 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11400 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11401 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11402
bed7f140
SM
114032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11404
332e62ab
SM
11405 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11406 add sanity check.
11407
bed7f140
SM
11408 * obsolete/erc-hecomplete.el: Make obsolete.
11409 * obsolete/: Standardize obsolescence info in the header.
11410
f195c582
GM
114112011-04-20 Glenn Morris <rgm@gnu.org>
11412
11413 * calendar/solar.el (solar-horizontal-coordinates):
11414 Use the longitude argument rather than `calendar-longitude'.
11415 (solar-date-next-longitude): Remove unused locals.
11416
cb79b8c0
VJL
114172011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11418
11419 * whitespace.el: New version 13.2.1.
11420
114212011-04-20 felix <EmacsWiki> (tiny change)
11422
d8e4b68b 11423 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11424 switching between major modes on a file.
11425
602ea69d
SM
114262011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11427
11428 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11429 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11430 multi-line comments as well.
11431
06b60517
JB
114322011-04-19 Juanma Barranquero <lekktu@gmail.com>
11433
11434 Lexical-binding cleanup.
11435
11436 * arc-mode.el (archive-mode-revert):
11437 * cmuscheme.el (scheme-interactively-start-process):
11438 * custom.el (custom-initialize-delay):
11439 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11440 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11441 * emacs-lock.el (emacs-lock-clear-sentinel):
11442 * ezimage.el (defezimage):
11443 * follow.el (follow-avoid-tail-recenter):
11444 * fringe.el (set-fringe-mode-1):
11445 * generic-x.el (bat-generic-mode-compile):
11446 * help-mode.el (help-info-variable, help-do-xref)
11447 (help-mode-revert-buffer):
11448 * help.el (view-emacs-todo):
11449 * iswitchb.el (iswitchb-completion-help):
11450 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11451 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11452 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11453 * locate.el (locate-update):
11454 * longlines.el (longlines-encode-region)
11455 (longlines-after-change-function):
11456 * outline.el (outline-isearch-open-invisible):
11457 * ps-def.el (declare-function, charset-dimension, char-width)
11458 (encode-char):
11459 * ps-mule.el (ps-mule-plot-string):
11460 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11461 (recentf-edit-list-select, recentf-edit-list-validate)
11462 (recentf-open-files-action):
11463 * rect.el (delete-whitespace-rectangle-line)
11464 (rectangle-number-line-callback):
11465 * register.el (window-configuration-to-register)
11466 (frame-configuration-to-register):
11467 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11468 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11469 (xselect-convert-to-targets, xselect-convert-to-delete)
11470 (xselect-convert-to-filename, xselect-convert-to-charpos)
11471 (xselect-convert-to-lineno, xselect-convert-to-colno)
11472 (xselect-convert-to-os, xselect-convert-to-host)
11473 (xselect-convert-to-user, xselect-convert-to-class)
11474 (xselect-convert-to-name, xselect-convert-to-integer)
11475 (xselect-convert-to-atom, xselect-convert-to-identity):
11476 * subr.el (declare, ignore, process-kill-without-query)
11477 (text-clone-maintain):
11478 * terminal.el (te-get-char, te-tic-sentinel):
11479 * tool-bar.el (tool-bar-make-keymap):
11480 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11481 * type-break.el (type-break-mode, type-break-noninteractive-query):
11482 * view.el (View-back-to-mark):
11483 * wid-browse.el (widget-browse-action, widget-browse-widget)
11484 (widget-browse-widgets, widget-browse-sexp):
11485 * widget.el (define-widget-keywords):
11486 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11487 Mark unused parameters.
11488
11489 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11490 (align-areas): Remove unused variable `look'.
11491 (align-region): Remove unused variables `real-end' and `pos-list'.
11492
11493 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11494
11495 * bindings.el (mode-line-modified, mode-line-remote):
11496 Mark unused parameters.
11497 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11498
11499 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11500 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11501
11502 * comint.el (comint-history-isearch-pop-state)
11503 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11504 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11505 (comint-substitute-in-file-name): Doc fix.
11506
11507 * completion.el (cmpl-statistics-block): Mark unused parameter.
11508 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11509 (save-completions-to-file, load-completions-from-file):
11510 Remove unused local variable `e'.
11511
11512 * composite.el (compose-chars): Remove unused variable `len'.
11513 (lgstring-insert-glyph): Remove unused variable `g'.
11514 (compose-glyph-string): Remove unused variables `ascent',
11515 `descent', `lbearing' and `rbearing'.
11516 (compose-glyph-string-relative): Remove unused variables
11517 `lbearing', `rbearing' and `wadjust'.
11518 (compose-gstring-for-graphic): Remove unused variables `header',
11519 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11520 (compose-gstring-for-terminal): Remove unused variables `header'
11521 and `nchars'. Use `let', not `let*'.
11522
11523 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11524 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11525 (Custom-buffer-done, custom-buffer-create-internal)
11526 (custom-browse-visibility-action, custom-browse-group-tag-action)
11527 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11528 (widget-magic-mouse-down-action, custom-toggle-parent)
11529 (custom-add-parent-links, custom-toggle-hide-variable)
11530 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11531 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11532 (custom-face-menu-create, custom-variable-menu-create, get)
11533 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11534 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11535 (customize-apropos): Remove unused variable `tests'.
11536 (custom-group-value-create): Remove unused variable `hidden-p'.
11537 (sort-fold-case): Declare.
11538
11539 * cus-theme.el (custom-reset-standard-faces-list)
11540 (custom-reset-standard-variables-list): Declare.
11541 (customize-create-theme, custom-theme-revert, custom-theme-write)
11542 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11543 Mark unused parameters.
11544
11545 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11546
11547 * delim-col.el (delimit-columns-max): Move defvar before first use.
11548
11549 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11550 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11551
11552 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11553 (auto-insert): Declare.
11554 (desktop-restore-file-buffer): Rename desktop-* parameters;
11555 mark unused ones.
11556 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11557 (desktop-buffer): Rename desktop-* parameters.
11558
11559 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11560 (dframe-reposition-frame-xemacs, dframe-help-echo)
11561 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11562 Mark unused parameters.
11563
11564 * dired-aux.el (backup-extract-version-start, overwrite-query)
11565 (overwrite-backup-query, rename-regexp-query)
11566 (rename-non-directory-query): Declare.
11567 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11568 (dired-add-entry): Remove unused variable `orig-file-name'.
11569 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11570 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11571 `dired-copy-preserve-time' directly.
11572 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11573 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11574
11575 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11576 (dired-virtual-revert, dired-make-relative-symlink):
11577 Mark unused parameters.
11578 (manual-program): Declare.
11579 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11580 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11581 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11582
11583 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11584
11585 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11586
11587 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11588 Declare.
11589
11590 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11591
11592 * electric.el (Electric-command-loop): Rename parameter
11593 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11594
11595 * expand.el (expand-in-literal): Remove unused variable `here'.
11596
11597 * facemenu.el (facemenu-add-new-color):
11598 Remove unused variable `docstring'.
11599
11600 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11601 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11602 (face-attr-construct): Mark unused parameter. Doc fix.
11603 (read-color): Remove unused variable `hex-string'.
11604
11605 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11606 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11607 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11608 (display-buffer-other-frame): Remove unused variable `old-window'.
11609 (kill-buffer-hook): Declare.
11610 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11611 Mark unused parameters.
11612 (after-find-file): Pass 1 to `auto-save-mode', not t.
11613
11614 * files-x.el (auto-insert): Declare.
11615 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11616
11617 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11618 variable `buf'. Mark unused parameter.
06b60517
JB
11619 (find-lisp-insert-directory): Mark unused parameter.
11620
11621 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11622 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11623 (format-common-tail): Remove, unused.
11624 (format-deannotate-region): Remove unused variable `loc'.
11625 (format-annotate-region): Remove unused variable `p'.
11626 (format-annotate-single-property-change): Remove unused variables
11627 `default' and `tail'.
11628
11629 * forms.el (read-file-filter): Declare.
11630 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11631
11632 * frame.el (frame-creation-function-alist): Mark unused parameter.
11633 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11634
11635 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11636 Remove unused parameters.
11637 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11638 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11639
11640 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11641 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11642 (hfy-prepare-tag-map): Mark unused parameters.
11643 (htmlfontify-buffer): Use `called-interactively-p'.
11644
11645 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11646 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11647 (ibuffer-do-occur): Mark unused parameters.
11648 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11649 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11650
11651 * ibuffer.el: Don't quote `lambda'.
11652 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11653 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11654 Mark unused parameters.
11655
11656 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11657 (ido-completing-read): Mark unused parameters.
11658 (ido-copy-current-word): Mark unused parameters;
11659 remove unused variable `name'.
11660 (ido-sort-merged-list): Remove unused parameter `dirs'.
11661
11662 * ielm.el (ielm-input-sender): Mark unused parameter.
11663 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11664 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11665 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11666 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11667 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11668
11669 * image-dired.el (image-dired-display-thumbs): Remove unused
11670 variables `curr-file' and `count'.
11671 (image-dired-remove-tag): Remove unused variable `start'.
11672 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11673 variable `curr-file'
11674 (image-dired-rotate-original): Remove unused variable `temp-file'.
11675 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11676 Remove unused variable `file'.
11677 (image-dired-gallery-generate): Remove unused variable `curr'.
11678 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11679
11680 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11681
11682 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11683
11684 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11685
11686 * isearch.el (minibuffer-history-symbol): Declare.
11687 (isearch-edit-string): Remove unused variable `err'.
11688 (isearch-message-prefix, isearch-message-suffix):
11689 Mark unused parameters.
11690
11691 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11692
11693 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11694
11695 * makesum.el (double-column): Remove unused variable `cnt'.
11696
11697 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11698 (ido-ignore-item-temp-list): Declare.
11699
11700 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11701 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11702 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11703 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11704 `mouse-col-delta'.
11705
11706 * mouse-sel.el (mouse-extend-internal):
11707 Remove unused variable `orig-window-frame'.
11708
11709 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11710 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11711 Move declarations before first use.
11712 (pcomplete-opt): Mark unused parameters; doc fix.
11713
11714 * proced.el (proced-revert): Mark unused parameter.
11715 (proced-send-signal): Remove unused variable `err'.
11716
11717 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11718 Rename parameter PREFIX-ARG to ARG.
11719 (ps-basic-plot-string, ps-basic-plot-whitespace):
11720 Mark unused parameters.
11721
11722 * replace.el (replace-count): Define.
11723 (occur-revert-function): Mark unused parameters.
11724 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11725 (isearch-case-fold-search, isearch-string): Declare.
11726 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11727 bind `case-fold-search'. Remove unused variables `beg' and `end',
11728 and simplify.
11729 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11730 COUNT and bind `replace-count'.
11731 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11732 to COUNT.
11733
11734 * savehist.el (print-readably, print-string-length): Declare.
11735
11736 * shadowfile.el (shadow-expand-cluster-in-file-name):
11737 Remove unused variable `cluster'.
11738 (shadow-copy-file): Remove unused variable `i'.
11739 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11740 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11741 (shadow-define-literal-group, shadow-define-regexp-group)
11742 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11743
11744 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11745 (shell): Use `called-interactively-p'.
11746 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11747
11748 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11749 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11750 (delete-backward-char): Remove unused variable `ocol'.
11751 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11752 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11753 (event-apply-hyper-modifier, event-apply-shift-modifier)
11754 (event-apply-control-modifier, event-apply-meta-modifier):
11755 Mark unused parameters.
11756 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11757 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11758
11759 * speedbar.el (speedbar-ignored-directory-expressions)
11760 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11761 (speedbar-find-file, speedbar-dir-follow)
11762 (speedbar-directory-buttons-follow, speedbar-tag-find)
11763 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11764 (speedbar-buffers-line-directory, speedbar-buffer-click):
11765 Mark unused parameters.
11766 (speedbar-tag-file): Remove unused variable `mode'.
11767 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11768
11769 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11770
11771 * talk.el (talk): Remove unused variable `display'.
11772
11773 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11774 (tar-write-region-annotate): Mark unused parameter.
11775
11776 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11777 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11778 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11779 warning by another.
11780
11781 * time-stamp.el (time-stamp-string-preprocess):
11782 Remove unused variable `require-padding'.
11783
11784 * tree-widget.el (widget-glyph-enable): Declare.
11785 (tree-widget-action): Mark unused parameter.
11786
11787 * w32-fns.el (x-get-selection): Mark unused parameter.
11788 (autoload-make-program, generated-autoload-file): Declare.
11789
11790 * wdired.el (wdired-revert): Mark unused parameters.
11791 (wdired-xcase-word): Remove unused variable `err'.
11792
11793 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11794 (whitespace-help-scroll): Remove unused variable `data-help'.
11795
11796 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11797 (widget-image-insert, widget-after-change, default)
11798 (widget-default-format-handler, widget-default-notify)
11799 (widget-default-prompt-value, widget-info-link-action)
11800 (widget-url-link-action, widget-function-link-action)
11801 (widget-variable-link-action, widget-file-link-action)
11802 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11803 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11804 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11805 (widget-insert-button-action, widget-delete-button-action, visibility)
11806 (widget-documentation-link-action, widget-documentation-string-action)
11807 (widget-const-prompt-value, widget-regexp-match, symbol)
11808 (widget-coding-system-prompt-value)
11809 (widget-key-sequence-value-to-external, sexp)
11810 (widget-sexp-value-to-internal, character, vector, cons)
11811 (widget-choice-prompt-value, widget-boolean-prompt-value)
11812 (widget-color--choose-action): Mark unused parameters.
11813 (widget-item-match-inline, widget-choice-match-inline)
11814 (widget-checklist-match, widget-checklist-match-inline)
11815 (widget-group-match): Rename parameter VALUES to VALS.
11816 (widget-field-value-set): Remove unused variable `size'.
11817 (widget-color-action): Remove unused variables `value' and `start'.
11818
11819 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11820 variable `dir'. Doc fix.
06b60517
JB
11821 (windmove-find-other-window): Don't pass it.
11822
11823 * window.el (count-windows): Mark unused parameter.
11824 (bw-adjust-window): Remove unused variable `err'.
11825
11826 * woman.el (woman-file-name): Remove unused variable `default'.
11827 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11828 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11829 (global-font-lock-mode): Declare.
11830 (woman-decode-region): Mark unused parameter.
11831 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11832
11833 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11834 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11835 (x-dnd-handle-moz-url): Remove unused variable `title'.
11836 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11837
11838 * xml.el (xml-parse-tag, xml-parse-attlist):
11839 Remove unused variable `pos'.
11840
bc4f7f3d
GM
118412011-04-19 Glenn Morris <rgm@gnu.org>
11842
11843 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11844 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11845 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11846 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11847 * calendar/cal-html.el (cal-html-insert-minical):
11848 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11849 (calendar-mark-date-pattern):
11850 Prefix "unused" locals.
11851
11852 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11853 optional argument `style'.
11854
11855 * calendar/appt.el (appt-make-list):
11856 * calendar/cal-china.el (calendar-chinese-date-string):
11857 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11858 (diary-hebrew-yahrzeit):
11859 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11860 * calendar/calendar.el (calendar-generate-window):
11861 * calendar/time-date.el (time-to-days):
11862 Remove unused local variables.
11863
16a43933
CY
118642011-04-18 Chong Yidong <cyd@stupidchicken.com>
11865
11866 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11867 glyphless-char-display table.
11868 (tabulated-list-glyphless-char-display): New var.
11869
7eed1860
SS
118702011-04-18 Sam Steingold <sds@gnu.org>
11871
11872 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11873 to acknowledgments.
11874
4d2d1ccd
GM
118752011-04-17 Glenn Morris <rgm@gnu.org>
11876
11877 * calendar/diary-lib.el (diary-sexp-entry):
11878 * calendar/holidays.el (holiday-sexp):
11879 Set debug-on-error rather than the removed stack-trace-on-error.
11880
239da61d
GM
118812011-04-16 Glenn Morris <rgm@gnu.org>
11882
11883 * progmodes/f90.el: Use lexical-binding.
11884 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11885
8b05752a
SM
118862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11887
daca8ba5
SM
11888 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11889 (mail-mode): Setup mailalias completion here instead.
11890 * mail/mailalias.el: Use lexical-binding.
11891 (pattern, mailalias-done): Declare dynamic.
11892 (mail-completion-at-point-function): New function, from mail-complete.
11893 (mail-complete): Use it.
11894 (mail-completion-expand): New function.
11895 (mail-get-names): Use it.
11896 (mail-directory, mail-directory-process, mail-directory-stream):
11897 Don't use `pattern' for lexically bound arg.
11898
6f542485
SM
11899 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11900
037e7c3f
SM
11901 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11902 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11903 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11904
8b05752a
SM
11905 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11906 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11907 (byte-interactive-p): Define them again, for use when inlining
11908 old code.
11909
49093f60
JB
119102011-04-15 Juanma Barranquero <lekktu@gmail.com>
11911
11912 * loadup.el: Use `string-to-number', not `string-to-int'.
11913
b5b8e7de
SM
119142011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11915
11916 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11917 gud-gdb-complete-command.
11918 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11919 (gud-gdb-completion-at-point): New function.
11920 (gud-gdb-completions): Remove.
11921
f42efeb5
MA
119222011-04-14 Michael Albinus <michael.albinus@gmx.de>
11923
49093f60
JB
11924 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11925 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11926 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11927 whether `executable-find' is bound.
f42efeb5
MA
11928
11929 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11930
e240cc21
SM
119312011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11932
11933 * minibuffer.el (completion-in-region-mode-predicate)
11934 (completion-in-region-mode--predicate): New vars.
11935 (completion-in-region, completion-in-region--postch)
11936 (completion-in-region-mode): Use them.
11937 (completion--capf-wrapper): Also return the hook function.
11938 (completion-at-point, completion-help-at-point):
11939 Adjust and provide a predicate.
c2bd2ab0
SM
11940
11941 Preserve arg names for advice of subr and lexical functions (bug#8457).
11942 * help-fns.el (help-function-arglist): Consolidate the subr and
11943 new-byte-code cases. Add argument `preserve-names' to extract names
11944 from the docstring when needed.
11945 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11946 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11947 (ad-arglist): Use help-function-arglist's new arg.
11948 (ad-definition-type): Use cond.
11949
c183f693
JB
119502011-04-13 Juanma Barranquero <lekktu@gmail.com>
11951
06641a47
JB
11952 * autorevert.el (auto-revert-handler):
11953 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11954 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11955 Don't quote lambda.
11956
c183f693
JB
11957 * image-mode.el (image-transform-set-scale):
11958 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11959
1e3b6001
G
119602011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11961
11962 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11963 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11964 Upgrades via gnutls-cli are too slow to be done opportunistically.
11965
2d6af8dd
JB
119662011-04-12 Juanma Barranquero <lekktu@gmail.com>
11967
11968 * dframe.el (dframe-current-frame): Remove spurious quote.
11969
c0749a51
GM
119702011-04-12 Glenn Morris <rgm@gnu.org>
11971
088d0d61
GM
11972 * calendar/cal-tex.el (cal-tex-end-document):
11973 Try to automatically use latin1 input if needed.
11974
c0749a51
GM
11975 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11976 Don't try to cons a mark onto an empty element.
11977
5c90fde0
LL
119782011-04-11 Leo Liu <sdl.web@gmail.com>
11979
11980 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11981 buffers.
11982 (ido-kill-buffer-at-head): Support killing virtual buffers.
11983
369e974d
CY
119842011-04-10 Chong Yidong <cyd@stupidchicken.com>
11985
11986 * minibuffer.el (completion-show-inline-help): New var.
11987 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11988 (minibuffer-force-complete, minibuffer-complete-word):
11989 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11990
11991 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11992 to avoid interference from inline help (Bug#5849).
11993
37f1c930
LL
119942011-04-10 Leo Liu <sdl.web@gmail.com>
11995
099c39a4
JB
11996 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11997 Fix typo.
37f1c930 11998
a32d4040
CY
119992011-04-09 Chong Yidong <cyd@stupidchicken.com>
12000
12001 * image-mode.el (image-toggle-display-image): Signal an error if
12002 not in Image mode.
12003 (image-transform-mode, image-transform-resize)
12004 (image-transform-set-rotation): Doc fix.
daca8ba5 12005 (image-transform-set-resize): Delete.
a32d4040
CY
12006 (image-transform-set-scale, image-transform-fit-to-height)
12007 (image-transform-fit-to-width): Handle image-toggle-display-image
12008 and image-transform-resize directly.
12009
099c39a4 120102011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12011
12012 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12013 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12014 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12015 (doc-view-mode-map): Add bindings for the new functions.
12016
099c39a4 120172011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12018
4d61f28d 12019 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12020 Fix typo in docstring.
12021
3726838a
EZ
120222011-04-08 Eli Zaretskii <eliz@gnu.org>
12023
04f33f1e
EZ
12024 * files.el (file-size-human-readable): Produce one digit after
12025 decimal, like "ls -lh" does.
12026
12027 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12028 the file size representation.
12029
3726838a
EZ
12030 * simple.el (list-processes): If async subprocesses are not
12031 available, error out with a clear error message.
12032
cbb59342
CY
120332011-04-08 Chong Yidong <cyd@stupidchicken.com>
12034
12035 * help.el (help-form-show): New function, to be called from C.
12036 Put help-form output in a buffer named differently than *Help*.
12037
e3971c44
EZ
120382011-04-08 Eli Zaretskii <eliz@gnu.org>
12039
12040 * files.el (file-size-human-readable): New function.
12041
12042 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12043 computing the representation inline. Don't require `cl'.
12044
12544bbe
GM
120452011-04-08 Glenn Morris <rgm@gnu.org>
12046
a1de6c6a
GM
12047 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12048
3c4671f4
GM
12049 * net/browse-url.el (browse-url-firefox):
12050 Test system-type, not system-configuration.
12051
b605679c
GM
12052 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12053 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12054 Use log-edit-empty-buffer-p. (Bug#7598)
12055
56442f0c
GM
12056 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12057 (rlogin-mode-map): Initialize in the defvar.
12058 (rlogin): Use ignore-errors.
12059
12544bbe
GM
12060 * replace.el (occur-mode-map): Some fixes for menu items.
12061
eb237b0f
AH
120622011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12063
12064 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12065
7d668f2c
CY
120662011-04-06 Chong Yidong <cyd@stupidchicken.com>
12067
e67a13ab
CY
12068 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12069 issuing unused warnings.
12070
12071 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12072 macro directly.
12073
7d668f2c
CY
12074 * simple.el: Lisp reimplement of list-processes. Based on an
12075 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12076 (process-menu-mode): New major mode.
12077 (list-processes--refresh, list-processes):
12078 (process-menu-visit-buffer): New functions.
12079
12080 * files.el (save-buffers-kill-emacs): Don't assume any return
12081 value of list-processes, which is undocumented anyway.
12082
a83ec3c9
CY
120832011-04-06 Chong Yidong <cyd@stupidchicken.com>
12084
12085 * emacs-lisp/tabulated-list.el: New file.
12086
e91a96fe
CY
12087 * emacs-lisp/package.el: Use Tabulated List mode.
12088 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12089 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12090 table format using Tabulated List mode variables.
12091 (package--push): New macro, replacing package-list-maybe-add.
12092 (package-menu--generate): Use package--push. Renamed from
12093 package--generate-package-list.
12094 (package-menu-refresh, list-packages): Use it.
daca8ba5 12095 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12096 Return insertion data instead of inserting it directly.
099c39a4
JB
12097 (package-menu-describe-package, package-menu-execute):
12098 Use tabulated-list-get-id.
e91a96fe
CY
12099 (package-menu-mark-delete, package-menu-mark-install)
12100 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12101 (package-menu-mark-obsolete-for-deletion):
12102 Use tabulated-list-put-tag.
e91a96fe
CY
12103 (package--list-packages, package-menu-revert)
12104 (package-menu-get-package, package-menu-get-version)
12105 (package-menu-sort-by-column): Functions deleted.
12106 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12107 (package-menu--status-predicate, package-menu--version-predicate)
12108 (package-menu--name-predicate)
12109 (package-menu--description-predicate): Handle arguments in the
12110 Tabulated List format.
12111 (package-list-packages-no-fetch): Call list-packages.
12112
3e214b50
JB
121132011-04-06 Juanma Barranquero <lekktu@gmail.com>
12114
12115 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12116 (after-find-file): Don't bind it.
3e214b50
JB
12117 (revert-buffer-in-progress-p): New variable.
12118 (revert-buffer): Bind it.
12119 Pass nil for `after-find-file-from-revert-buffer'.
12120
12121 * saveplace.el (save-place-find-file-hook): Use new variable
12122 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12123
3f0f1700
GM
121242011-04-06 Glenn Morris <rgm@gnu.org>
12125
c0274801
GM
12126 * Makefile.in (AUTOGEN_VCS): New variable.
12127 (autoloads): Use $AUTOGEN_VCS.
12128
3f0f1700
GM
12129 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12130 * calendar/calendar.el (calendar-mode-map):
12131 Check for toolkit scroll bars. (Bug#8305)
12132
41ea9e48
CY
121332011-04-05 Chong Yidong <cyd@stupidchicken.com>
12134
12135 * minibuffer.el (completion-in-region--postch)
12136 (completion-in-region-mode): Remove unnecessary messages.
12137
6194c800
JB
121382011-04-05 Juanma Barranquero <lekktu@gmail.com>
12139
33256f14
JB
12140 * font-lock.el (font-lock-refresh-defaults):
12141 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12142 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12143
6194c800
JB
12144 * info.el (Info-directory-list, Info-read-node-name-2)
12145 (Info-split-parameter-string): Doc fixes.
12146 (Info-virtual-nodes): Reflow docstring.
12147 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12148 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12149 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12150 Fix typos in docstrings.
12151 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12152 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12153 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12154 (Info-restore-desktop-buffer): Mark unused parameters.
12155 (Info-directory-find-file, Info-directory-find-node)
12156 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12157 (Info-virtual-index-find-node, Info-apropos-find-file)
12158 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12159 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12160 (Info-virtual-index): Remove unused local variable `nodename'.
12161
b87a8200 121622011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12163
b87a8200
DD
12164 * net/rcirc.el: Update my e-mail address.
12165 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12166
3b2ff876
CY
121672011-04-05 Chong Yidong <cyd@stupidchicken.com>
12168
12169 * startup.el (command-line): Save the cursor's theme-face
12170 directly, instead of using face-override-spec.
12171
12172 * custom.el (load-theme): Minor optimization in assigning faces.
12173
8d17e7ca
JB
121742011-04-04 Juanma Barranquero <lekktu@gmail.com>
12175
12176 * help-fns.el (describe-variable): Complete all variables having
12177 documentation, including keywords.
12178 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12179
2fbc1934
JB
121802011-04-04 Juanma Barranquero <lekktu@gmail.com>
12181
12182 Convert to lexical-binding.
12183
12184 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12185 (bs--get-marked-string, bs--get-modified-string)
12186 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12187 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12188 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12189
12190 * ehelp.el (electric-help-execute-extended)
12191 (electric-help-ctrl-x-prefix):
12192 * hexl.el (hexl-revert-buffer-function):
12193 * linum.el (linum-after-change, linum-after-scroll):
12194 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12195
12196 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12197
74f50695
DU
121982011-04-04 Daiki Ueno <ueno@unixuser.org>
12199
12200 * epa-dired.el:
12201 * epa-mail.el:
12202 * epa-hook.el:
12203 * epa-file.el:
12204 * epa.el:
12205 * epg.el: Use lexical binding.
12206
c11325f7
CY
122072011-04-03 Chong Yidong <cyd@stupidchicken.com>
12208
0d9e9a12
CY
12209 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12210
c11325f7 12211 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12212 dictionary case for flyspell-mark-duplications-exceptions.
12213 Use regexp matching for languages.
c11325f7
CY
12214 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12215 default dictionary (Bug#7926).
12216
da91b5f2
CY
122172011-04-02 Chong Yidong <cyd@stupidchicken.com>
12218
099c39a4
JB
12219 * emacs-lisp/package.el (package--with-work-buffer):
12220 Recognize https URLs.
da91b5f2 12221
099c39a4
JB
12222 * net/network-stream.el: Move from gnus/proto-stream.el.
12223 Change prefix to network-stream throughout.
da91b5f2
CY
12224 (open-protocol-stream): Merge into open-network-stream, leaving
12225 open-protocol-stream as an alias. Handle nil BUFFER args.
12226
12227 * subr.el (open-network-stream): Move to net/network-stream.el.
12228
afa8e9f6
GM
122292011-04-02 Glenn Morris <rgm@gnu.org>
12230
1d2e369d
GM
12231 * find-dired.el (find-exec-terminator): New option.
12232 (find-ls-option): Test for -ls support.
12233 (find-ls-subdir-switches): Test for -b in find-ls-option.
12234 (find-dired, find-grep-dired): Doc fixes.
12235 (find-dired): Use find-exec-terminator.
12236
8abb7da8 12237 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12238 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12239 (find-name-arg): Remove purecopy.
8abb7da8 12240
f3ca7378
GM
12241 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12242 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12243 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12244 accordingly. Don't add the null-device if not needed.
12245
afa8e9f6
GM
12246 * files.el (save-some-buffers): Doc fix.
12247
35eae264
EZ
122482011-04-02 Eli Zaretskii <eliz@gnu.org>
12249
12250 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12251
26b51db5
JB
122522011-04-01 Juanma Barranquero <lekktu@gmail.com>
12253
12254 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12255 Use `dolist' rather than `mapcar'.
12256
7200d79c
SM
122572011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12258
03408648 12259 Add lexical binding.
7200d79c 12260
03408648
SM
12261 * subr.el (apply-partially): Use new closures rather than CL.
12262 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12263 (dolist, dotimes): Use slightly different expansion for lexical code.
12264 (functionp): Move to C.
12265 (letrec): New macro.
12266 (with-wrapper-hook): Use it and apply-partially instead of CL.
12267 (eval-after-load): Preserve lexical-binding.
12268 (save-window-excursion, with-output-to-temp-buffer): Turn them
12269 into macros.
7200d79c 12270
03408648
SM
12271 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12272
12273 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12274 than the arglist.
12275 (help-add-fundoc-usage): Don't add `Not documented'.
12276 (help-function-arglist): Handle closures, subroutines, and new
12277 byte-code-functions.
12278 (help-make-usage): Remove leading underscores.
12279 (describe-function-1): Handle closures.
12280 (describe-variable): Use special-variable-p for completion.
12281
12282 * files.el (lexical-binding): Declare safe.
f488fb65 12283
03408648
SM
12284 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12285 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12286 (pcase): Add `let' pattern.
12287 Change memoization so it actually works.
12288 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12289 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12290 <let>: New case.
f488fb65 12291
03408648
SM
12292 * emacs-lisp/macroexp.el: Use lexical binding.
12293 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12294 Don't convert ' to #' without checking that it's indeed quoting
12295 a lambda.
12296
12297 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12298 Use eval-sexp-add-defvars.
03408648
SM
12299 (eval-sexp-add-defvars): New fun.
12300
12301 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12302
12303 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12304 Don't autoload.
12305 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12306 than the internal `byte-compile-lambda'.
12307 (defmethod): Don't hide code under quotes.
12308 (eieio-defmethod): New `code' argument.
12309
12310 * emacs-lisp/eieio-comp.el: Remove.
12311
12312 * emacs-lisp/edebug.el (edebug-eval-defun)
12313 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12314 (edebug-toggle): Avoid `eval'.
12315
12316 * emacs-lisp/disass.el (disassemble-internal): Handle new
12317 `closure' objects.
12318 (disassemble-1): Handle new byte codes.
12319
12320 * emacs-lisp/cl.el (pushnew): Silence warning.
12321
12322 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12323 (cl-byte-compile-throw): Remove.
12324 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12325
12326 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12327 closures.
12328
12329 * emacs-lisp/cconv.el: New file.
12330
12331 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12332 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12333 (byte-compile-initial-macro-environment):
12334 Handle declare-function here.
12335 (byte-compile--lexical-environment): New var.
12336 (byte-stack-ref, byte-stack-set, byte-discardN)
12337 (byte-discardN-preserve-tos): New lap codes.
12338 (byte-interactive-p): Don't use any more.
12339 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12340 New macros.
12341 (byte-compile-lapcode): Use them and handle new lap codes.
12342 (byte-compile-obsolete): Remove.
12343 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12344 (byte-compile-arglist-warn): Check late def of inlinable funs.
12345 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12346 since they should have been expanded by now.
12347 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12348 (byte-compile-from-buffer): Remove unused second arg.
12349 (byte-compile-preprocess): New function.
12350 (byte-compile-toplevel-file-form): New function to distinguish
12351 file-form calls from outside from file-form calls from hunk-handlers.
12352 (byte-compile-file-form): Simplify.
12353 (byte-compile-file-form-defsubst): Remove.
12354 (byte-compile-file-form-defmumble): Simplify now that
12355 byte-compile-lambda always returns a byte-code-function.
12356 (byte-compile): Preprocess.
12357 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12358 Remove, not used any more.
12359 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12360 (byte-compile-make-args-desc): New funs.
12361 (byte-compile-lambda): Handle lexical functions. Always return
12362 a byte-code-function.
12363 (byte-compile-reserved-constants): New var, to make up room for
12364 closed-over variables.
12365 (byte-compile-constants-vector): Obey it.
12366 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12367 (byte-compile-macroexpand-declare-function): New function.
12368 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12369 byte-code-functions.
12370 (byte-compile-form): Check obsolescence here.
12371 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12372 (byte-compile-variable-ref): Remove.
12373 (byte-compile-dynamic-variable-op): New fun.
12374 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12375 (byte-compile-variable-set): New funs.
12376 (byte-compile-discard): Add 2 args.
12377 (byte-compile-stack-ref, byte-compile-stack-set)
12378 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12379 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12380 macroexpand-all instead.
12381 (byte-compile-quote-form): Remove.
12382 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12383 (byte-compile-bind, byte-compile-unbind): New funs.
12384 (byte-compile-let): Handle let* and lexical binding.
12385 (byte-compile-let*): Remove.
12386 (byte-compile-catch, byte-compile-unwind-protect)
12387 (byte-compile-track-mouse, byte-compile-condition-case):
12388 Handle a new :fun-body form, used for lexical scoping.
12389 (byte-compile-save-window-excursion)
12390 (byte-compile-with-output-to-temp-buffer): Remove.
12391 (byte-compile-defun): Simplify.
12392 (byte-compile-stack-adjustment): New fun.
12393 (byte-compile-out): Use it.
12394 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12395
12396 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12397 handler any more.
12398
12399 * emacs-lisp/byte-opt.el: Use lexical binding.
12400 (byte-inline-lapcode): Remove (to bytecomp).
12401 (byte-compile-inline-expand): Pay attention to inlining to/from
12402 lexically bound code.
12403 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12404 any more.
12405 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12406 any more and don't call compiler-macros.
12407 (byte-compile-splice-in-already-compiled-code): Remove.
12408 (byte-code): Don't inline any more.
12409 (disassemble-offset): Receive `bytes' as argument rather than via
12410 dynamic scoping.
12411 (byte-compile-tag-number): Declare before first use.
12412 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12413 `return' even if make-spliceable.
12414 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12415 obsolete interactive-p.
12416 (byte-optimize-lapcode): Optimize new lap-codes.
12417 Don't trip up on new form of `byte-constant' lap code.
12418
12419 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12420
12421 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12422
12423 * custom.el (custom-initialize-default, custom-declare-variable):
12424 Use `defvar'.
12425
12426 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12427 New variables.
12428 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12429 (COMPILE_FIRST): Add macroexp and cconv.
12430 * makefile.w32-in: Mirror changes in Makefile.in.
12431
12432 * vc/cvs-status.el:
12433 * vc/diff-mode.el:
12434 * vc/log-edit.el:
12435 * vc/log-view.el:
12436 * vc/smerge-mode.el:
12437 * textmodes/bibtex-style.el:
12438 * textmodes/css.el:
12439 * startup.el:
12440 * uniquify.el:
da91b5f2
CY
12441 * minibuffer.el:
12442 * newcomment.el:
12443 * reveal.el:
12444 * server.el:
12445 * mpc.el:
12446 * emacs-lisp/smie.el:
12447 * doc-view.el:
12448 * dired.el:
03408648
SM
12449 * abbrev.el: Use lexical binding.
12450
0f0c1f27
EZ
124512011-04-01 Eli Zaretskii <eliz@gnu.org>
12452
12453 * info.el (info-display-manual): New function.
12454
c82b2579
SM
124552011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12456
12457 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12458
221ddf68
TH
124592011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12460
12461 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12462 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12463
cba6e77e
GM
124642011-03-31 Glenn Morris <rgm@gnu.org>
12465
e040639f
GM
12466 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12467
cba6e77e
GM
12468 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12469
6d0f1c9e
CS
124702011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12471
12472 * progmodes/python.el (python-default-interpreter)
12473 (python-python-command-args, python-jython-command-args)
12474 (python-which-shell, python-which-args, python-which-bufname)
12475 (python-file-queue, python-comint-output-filter-function)
12476 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12477 variables and functions.
12478
3e2d70fd
SM
124792011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12480
12481 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12482 (completion-in-region-mode): New minor mode.
12483 (completion-in-region): Use it.
12484 (completion-in-region--data, completion-in-region-mode-map): New vars.
12485 (completion-in-region--postch): New function.
12486 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12487 New vars.
12488 (completion--capf-wrapper): New function.
12489 (completion-at-point): Use it to track well-behavedness of
12490 hook functions.
12491 (completion-help-at-point): New command.
12492
f3e4086c
JM
124932011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12494
12495 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12496 syntax class to search for whitespace on a single line
12497 (Message-ID: <4D938140.4030905@redhat.com>).
12498
eb7ffc14
LL
124992011-03-30 Leo Liu <sdl.web@gmail.com>
12500
12501 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12502 New commands.
12503 (edit-abbrevs-map): Bind them here.
12504 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12505
d806ab68
KM
125062011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12507
12508 * allout.el (allout-hide-by-annotation, allout-flag-region):
12509 Reduce possibility of overlay leakage by making them volatile.
12510
12511 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12512 hash is not shared between buffers. Mode initialization is
12513 responsible for giving it a useful starting value.
12514 (allout-item-span): Reduce possibility of overlay leakage by
12515 making them volatile.
12516 (allout-widgets-count-buttons-in-region): Add diagnostic function
12517 for tracking down button overlay leaks.
12518
ea622834
LL
125192011-03-29 Leo Liu <sdl.web@gmail.com>
12520
12521 * ido.el (ido-read-internal): Use the default history var
12522 minibuffer-history if no HISTORY is specified.
12523
b62f8267
G
125242011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12525
03408648
SM
12526 * net/imap.el (imap-shell-open, imap-process-connection-type):
12527 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12528 Kerberos, SSL, other subprocesses.
12529
947b6566
LL
125302011-03-28 Leo Liu <sdl.web@gmail.com>
12531
12532 * abbrev.el (abbrev-table-empty-p): New function.
12533 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12534 nonempty ones. (Bug#5937)
12535
5ffb62aa
JD
125362011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12537
12538 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12539
7a097943
LL
125402011-03-27 Leo Liu <sdl.web@gmail.com>
12541
12542 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12543 for foreground and background colors.
12544 (ansi-color-make-color-map): Adapt.
12545
c5b40130
LL
125462011-03-25 Leo Liu <sdl.web@gmail.com>
12547
1f48f7d2
LL
12548 * midnight.el (midnight-time-float): Remove. Note it calculates
12549 the microsecond component incorrectly and seconds-to-time does the
12550 same job.
625897ec 12551 Remove redundant (require 'timer).
1f48f7d2 12552
c5b40130
LL
12553 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12554 (ido-completions): Remove unused arguments. (Bug#8329)
12555
d86d2721
SM
125562011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * minibuffer.el (completion--flush-all-sorted-completions):
12559 Remove itself from hook.
12560 (completion-at-point): Let the functions perform the completion
12561 immediately and return nil or t.
12562 * comint.el (comint-dynamic-complete-functions): Now identical to
12563 completion-at-point-functions.
12564 (comint-dynamic-list-input-ring): Remove unused var `index'.
12565 (comint--match-partial-filename, comint--unquote&expand-filename):
12566 New funs, split from comint-match-partial-filename.
12567 (comint-dynamic-complete): Use completion-at-point.
12568 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12569
e8974c48
DA
125702011-03-24 Drew Adams <drew.adams@oracle.com>
12571
12572 * thingatpt.el: Support `defun'.
12573
def71b5e
LL
125742011-03-23 Leo Liu <sdl.web@gmail.com>
12575
cb5af48e
LL
12576 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12577
def71b5e
LL
12578 * help-mode.el (help-mode-finish): Tweak regexp.
12579
927c53e7
GM
125802011-03-23 Glenn Morris <rgm@gnu.org>
12581
18d05bed
GM
12582 * eshell/esh-opt.el (eshell-eval-using-options):
12583 Do not bind unused local variable `eshell-option-stub'.
12584
927c53e7
GM
12585 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12586
9d0da923
JB
125872011-03-22 Juanma Barranquero <lekktu@gmail.com>
12588
12589 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12590 keymap variable in `with-no-warnings' to avoid a warning when the
12591 keymap has been already `defconst'ed.
12592
4b978a67
LL
125932011-03-22 Leo Liu <sdl.web@gmail.com>
12594
12595 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12596 encode all chars in abbrevs; otherwise use emacs-mule or
12597 utf-8-emacs. (Bug#8308)
12598
5fd62452
JB
125992011-03-22 Juanma Barranquero <lekktu@gmail.com>
12600
0b1596c6
JB
12601 * simple.el (backward-delete-char-untabify):
12602 Avoid warning about using `delete-backward-char'.
12603
5fd62452
JB
12604 * image.el (image-type-file-name-regexps): Make it variable.
12605 `imagemagick-register-types' modifies it, and the user may want
12606 to add new extensions for known image types.
12607 (imagemagick-register-types): Throw error if not using ImageMagick.
12608
0b4e93f1
LL
126092011-03-22 Leo Liu <sdl.web@gmail.com>
12610
12611 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12612 located before rcirc-prompt-end-marker.
12613 (rcirc-complete): Error if point is not after rcirc prompt.
12614 Handle the case when table is nil.
9882e214 12615 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12616
fccee4ab
CY
126172011-03-22 Chong Yidong <cyd@stupidchicken.com>
12618
12619 * custom.el (custom--inhibit-theme-enable): Make it affect only
12620 custom-theme-set-variables and custom-theme-set-faces.
12621 (provide-theme): Ignore custom--inhibit-theme-enable.
12622 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12623 (custom-enabling-themes): Delete variable.
d86d2721
SM
12624 (enable-theme): Accept only loaded themes as arguments.
12625 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12626 (custom-enabled-themes): Forbid themes from setting this.
12627 Eliminate use of custom-enabling-themes.
12628 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12629
af896da6
LL
126302011-03-21 Leo Liu <sdl.web@gmail.com>
12631
12632 * ido.el (ido-read-internal): Add ido-selected to history instead
12633 of user input.
12634
78f64af0
SM
126352011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12636
12637 * subr.el (deferred-action-list, deferred-action-function):
12638 Mark obsolete.
12639
b16ac1ec
LL
126402011-03-21 Leo Liu <sdl.web@gmail.com>
12641
810f7698
LL
12642 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12643 change on 2011-02-13 (bug#8309).
12644
b16ac1ec
LL
12645 * minibuffer.el (read-file-name-function): Change default value.
12646 (read-file-name--defaults): Rename from read-file-name-defaults.
12647 (read-file-name-default): Rename from read-file-name.
12648 (read-file-name): Call read-file-name-function.
12649
4e05e67e
GM
126502011-03-21 Glenn Morris <rgm@gnu.org>
12651
12652 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12653 Doc fixes.
12654
4359915b
CY
126552011-03-21 Chong Yidong <cyd@stupidchicken.com>
12656
12657 * cus-theme.el: Add missing provide statement.
12658 (customize-create-theme): Extract theme value correctly.
12659 (custom-theme-visit-theme): Autoload.
12660 (customize-create-theme): Prompt before inserting default faces.
12661
1fe275ee
JB
126622011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12663
12664 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12665 units and musical notes.
12666
cd394be1 126672011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12668
12669 * ido.el (ido-read-internal): Use completing-read-default.
12670 (ido-completing-read): Fix compatibility with completing-read.
12671
7d476bde
CO
126722011-03-20 Christian Ohler <ohler@gnu.org>
12673
12674 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12675 (ert-delete-all-tests): Use `called-interactively-p' rather than
12676 `interactive-p'.
12677 (ert--make-xrefs-region): Respect END.
12678
fe0fb33e
CY
126792011-03-19 Chong Yidong <cyd@stupidchicken.com>
12680
ff854b0b
CY
12681 * dired-aux.el (dired-create-directory): Signal an error if the
12682 directory already exists (Bug#8246).
12683
fe0fb33e
CY
12684 * facemenu.el (list-colors-display): Call list-faces-display
12685 inside with-help-window.
12686 (list-colors-print): Use display property to align the final
12687 column, instead of checking window-width.
12688
576bce32
EZ
126892011-03-19 Eli Zaretskii <eliz@gnu.org>
12690
4d61f28d 12691 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12692 windows-nt systems.
12693 (emerge-protect-metachars): Quote correctly for ms-dos and
12694 windows-nt systems.
12695
89c41d68 126962011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12697
12698 * info.el (info-initialize): Replace all uses of `:' with
12699 path-separator for compatibility with non-Unix systems.
12700 Cache quoting of path-separator. (Bug#8258)
12701
b14e3e21 127022011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12703
12704 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12705 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12706 (mouse-avoidance-mode): Fix typos in docstrings.
12707
4525ce3e
CY
127082011-03-19 Chong Yidong <cyd@stupidchicken.com>
12709
12710 * startup.el (package-subdirectory-regexp): Move from package.el.
12711 Omit \\` and \\', and let callers add them.
12712
12713 * emacs-lisp/package.el (package-strip-version)
12714 (package-load-all-descriptors): Add \\` and \\' to
12715 package-subdirectory-regexp before using it.
12716 (package-untar-buffer): New arg DIR; ensure that file untars only
12717 into this expected directory. Remove superfluous delete-region.
12718 (package-unpack): Caller changed.
12719 (package-tar-file-info): Use package-subdirectory-regexp.
12720
a904a09a 127212011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12722
a904a09a
SM
12723 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12724 diff-mode-shared-map (bug#8284).
12725 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12726
127272011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12728
12729 * calendar/time-date.el (format-seconds): Use assoc instead of
12730 assoc-string, since assoc-string doesn't exist in XEmacs.
12731
171fc304
JB
127322011-03-17 Juanma Barranquero <lekktu@gmail.com>
12733
12734 * custom.el (custom-known-themes): Reflow docstring.
12735 (custom-theme-load-path): Fix typo in docstring.
12736 (load-theme): Fix typo in error message.
12737 (custom-available-themes, custom-variable-theme-value):
12738 Use `let', not `let*'.
12739
d71990a1
JB
127402011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12741
12742 * calc/README: Mention inclusion of musical notes.
12743
12744 * calc/calc-units.el (calc-lu-quant): Rename from
12745 `calc-logunits-quantity'.
12746 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12747 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12748 (calc-db): Rename from `calc-dblevel'.
12749 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12750 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12751 (calc-np): Rename from `calc-nplevel'.
12752 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12753 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12754 (calc-lu-plus): Rename from `calc-logunits-add'.
12755 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12756 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12757 (calc-lu-minus): Rename from `calc-logunits-sub'.
12758 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12759 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12760 (calc-lu-times): Rename from `calc-logunits-mul'.
12761 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12762 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12763 (calc-lu-divide): Rename from `calc-logunits-div'.
12764 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12765 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12766
12767 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12768 functions being autoloaded.
12769
12770 * calc/calc.el (calc-lu-power-reference): Rename from
12771 `calc-logunits-power-reference'.
12772 (calc-lu-field-reference): Rename from
12773 `calc-logunits-field-reference'.
12774
7a71b18d
GM
12775 * calc/calc-help.el (calc-l-prefix-help):
12776 Mention musical note functions.
d71990a1 12777
40c2934b
SM
127782011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12779
12780 * minibuffer.el (completion-all-sorted-completions):
12781 Use :completion-cycle-penalty text property if present.
12782
b0911414
KM
127832011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12784
12785 * allout.el (allout-yank-processing): Adjust for new rebulleting
12786 regime so bullet being yanked is used without prompting the user
12787 for a choice.
12788
8a05b668
JB
127892011-03-16 Juanma Barranquero <lekktu@gmail.com>
12790
12791 * startup.el (command-line): Warn the user that _emacs is deprecated.
12792
5ba5fb81
JB
127932011-03-16 Juanma Barranquero <lekktu@gmail.com>
12794
12795 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12796 (delphi-verbose, delphi-comment-face, delphi-string-face)
12797 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12798 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12799 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12800 (delphi-new-comment-line, delphi-font-lock-defaults)
12801 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12802 Fix typos in docstrings.
12803
2dab465b
KM
128042011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12805
5ba5fb81 12806 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12807 Invert the roles of character and string values for INSTEAD, so a
12808 string is used for the more common case of a defaulting prompt.
12809
0adf5618
SM
128102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * progmodes/ruby-mode.el (ruby-backward-sexp):
12813 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12814 * play/gamegrid.el (gamegrid-make-face):
12815 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12816 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12817 * notifications.el (notifications-notify):
12818 * net/xesam.el (xesam-search-engines):
12819 * net/quickurl.el (quickurl-list-insert):
12820 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12821
d72700e5
CY
128222011-03-15 Chong Yidong <cyd@stupidchicken.com>
12823
12824 * startup.el (command-line): Update package subdirectory regexp.
12825
49c5410a
SM
128262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12827
c6eee9aa
SM
12828 * allout.el (allout-abbreviate-flattened-numbering)
12829 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12830
49c5410a
SM
12831 * subr.el (read-char-choice): Only show the cursor after the prompt,
12832 not after the answer.
12833
047b2bb9
KR
128342011-03-15 Kevin Ryde <user42@zip.com.au>
12835
12836 * help-fns.el (variable-at-point): Skip leading quotes, if any
12837 (bug#8253).
12838
0a57d256
SM
128392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12840
12841 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12842 warning message.
12843
77c992bc
MA
128442011-03-14 Michael Albinus <michael.albinus@gmx.de>
12845
12846 * shell.el (shell): When called interactively, offer to change the
12847 shell file name on remote hosts.
12848
eebc475d
TZ
128492011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12850
12851 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12852 integration for LDAP parameters. The host, base, user or binddn,
12853 and secret tokens can be specified in a netrc file, for instance.
12854 This is optional because an `auth-source' parameter must be
12855 specified in the search attributes.
12856
9d05d1ba
JB
128572011-03-13 Juanma Barranquero <lekktu@gmail.com>
12858
12859 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12860
09d9db2c
GM
128612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12862
12863 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12864 into declaration. Remove redundant and harmful binding.
12865
128662011-03-12 Eli Zaretskii <eliz@gnu.org>
12867
12868 * files.el (file-ownership-preserved-p): Pass `integer' as an
12869 explicit 2nd argument to `file-attributes'. If the file's owner
12870 is the Administrators group on Windows, and the current user is
12871 Administrator, consider that a match.
12872
12873 * server.el (server-ensure-safe-dir): Consider server directory
12874 safe on MS-Windows if its owner is the Administrators group while
12875 the current Emacs user is Administrator. Use `=' to compare
12876 numerical UIDs, since they could be integers or floats.
12877
219bd536
JB
128782011-03-12 Juanma Barranquero <lekktu@gmail.com>
12879
12880 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12881
f3afd36b
MA
128822011-03-12 Michael Albinus <michael.albinus@gmx.de>
12883
12884 Sync with Tramp 2.2.1.
12885
12886 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12887
12888 * net/trampver.el: Update release number.
12889
3aaaa6f1
SM
128902011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12891
94642599
SM
12892 * progmodes/compile.el (compilation--previous-directory): Fix up
12893 various nil/dead-marker mismatches (bug#8014).
12894 (compilation-directory-properties, compilation-error-properties):
12895 Don't call it at a position past the one we're about to change.
12896
3aaaa6f1
SM
12897 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12898 Disable obsolescence warnings in the file that declares it.
12899
14239447
KM
129002011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12901
099c39a4
JB
12902 * allout-widgets.el (allout-widgets-tally):
12903 Initialize allout-widgets-tally as a hash table rather than nil to
12904 prevent mode-line redisplay warnings. Also, clarify the module
12905 description and fix a comment typo.
14239447 12906
135e287c
JB
129072011-03-11 Juanma Barranquero <lekktu@gmail.com>
12908
12909 * help-fns.el (describe-variable): Don't complete keywords.
12910 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12911
ffbf300e
CY
129122011-03-10 Chong Yidong <cyd@stupidchicken.com>
12913
ba08b241
CY
12914 * emacs-lisp/package.el (package-version-join): Impose a standard
12915 string representation for pre/alpha/beta version lists.
12916 (package-unpack-single): Standardize the directory name by passing
12917 it through package-version-join.
12918 (package-strip-rcs-id): Accept any version string that does not
12919 signal an error in version-to-list.
ffbf300e 12920
f346fd6b
MA
129212011-03-10 Michael Albinus <michael.albinus@gmx.de>
12922
12923 * simple.el (delete-trailing-whitespace): Return nil for the
12924 benefit of `write-file-functions'.
12925
ccb55d27
GM
129262011-03-10 Glenn Morris <rgm@gnu.org>
12927
5ceaac0c
GM
12928 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12929
02da65ff
GM
12930 * vc/vc-git.el (vc-git-program): New option.
12931 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12932 (vc-git--call): Use it.
12933
b2f603cc
GM
12934 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12935
5772caab
GM
12936 * cus-edit.el (Custom-newline): If no button at point, look
12937 for a subgroup button at start-of-line. (Bug#2298)
12938
ccb55d27
GM
12939 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12940
ec6ecaed
JD
129412011-03-10 Julien Danjou <julien@danjou.info>
12942
12943 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12944 `cursor-type' is nil.
12945
9d5aa01d
JB
129462011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12947
12948 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12949
b6a5875b
KM
129502011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12951
7a71b18d 12952 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12953 preserves the existing header prefix, rebulleting it if necessary,
12954 rather than replacing it. This is necessary for proper operation
12955 of cooperative addons like allout-widgets.
1154d12e
JB
12956 (allout-make-topic-prefix, allout-rebullet-heading):
12957 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12958 value as alternate bullet to be used, instead of prompting the user
12959 for a bullet character.
b6a5875b 12960
ee545c35
MA
129612011-03-09 Michael Albinus <michael.albinus@gmx.de>
12962
d86d2721
SM
12963 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12964 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12965 `tramp-default-port'.
12966
c47971d7
DD
129672011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12968
12969 * net/rcirc.el (rcirc-handler-001): Remove useless
12970 with-rcirc-process-buffer.
12971 (rcirc-check-auth-status): Swap arguments to string-match.
12972
13522cb4
GM
129732011-03-09 Glenn Morris <rgm@gnu.org>
12974
0be6f4f1
GM
12975 * shell.el (shell-mode):
12976 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12977
13522cb4
GM
12978 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12979 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12980
515de2e3
CY
129812011-03-08 Chong Yidong <cyd@stupidchicken.com>
12982
12983 * emacs-lisp/package.el (package-refresh-contents)
12984 (package-menu-execute): Use condition-case-no-debug.
12985
b511b994
MA
129862011-03-08 Michael Albinus <michael.albinus@gmx.de>
12987
12988 * simple.el (shell-command-to-string): Use `process-file'.
12989
12990 * emacs-lisp/package.el (package-tar-file-info): Handle also
12991 remote files.
12992
d86d2721
SM
12993 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12994 Use `equal' for upload base check.
b511b994 12995
25bbfb31
AM
129962011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12997
12998 * textmodes/texinfo.el (texinfo-environments):
12999 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13000
be996521
GM
130012011-03-08 Glenn Morris <rgm@gnu.org>
13002
e9c8529f
GM
13003 * cus-start.el (cursor-in-non-selected-windows):
13004 Fix :set quoting oddness. (Bug#8192)
13005
be996521
GM
13006 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13007 in some setf expressions. (Bug#2159)
13008
2bb5649e
CY
130092011-03-08 Chong Yidong <cyd@stupidchicken.com>
13010
13011 * custom.el (custom-available-themes): Return themes in
13012 alphabetical order.
13013
33383987 13014See ChangeLog.15 for earlier changes.
e3d51b27
MR
13015
13016;; Local Variables:
13017;; coding: utf-8
e3d51b27
MR
13018;; End:
13019
acaf905b 13020 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13021
13022 This file is part of GNU Emacs.
13023
13024 GNU Emacs is free software: you can redistribute it and/or modify
13025 it under the terms of the GNU General Public License as published by
13026 the Free Software Foundation, either version 3 of the License, or
13027 (at your option) any later version.
13028
13029 GNU Emacs is distributed in the hope that it will be useful,
13030 but WITHOUT ANY WARRANTY; without even the implied warranty of
13031 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13032 GNU General Public License for more details.
13033
13034 You should have received a copy of the GNU General Public License
13035 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.