Fixes for diff-hunk-kill.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
cb3e7ae0
CY
12012-04-26 Chong Yidong <cyd@gnu.org>
2
3 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4 value, for symmetry with diff-end-of-hunk.
5 (diff-split-hunk, diff-find-source-location)
6 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9 compute the relevant hunk or file properly (Bug#6005).
10 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11
0d42eb3e
SM
122012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * vc/vc-mtn.el:
15 * vc/vc-hg.el:
16 * vc/vc-git.el:
17 * vc/vc-dir.el:
18 * vc/vc-cvs.el:
19 * vc/vc-bzr.el:
20 * vc/vc-arch.el:
21 * vc/vc.el: Replace lexical-let by lexical-binding.
22 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
23 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
24 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
25
f08ae1c9
CY
262012-04-26 Chong Yidong <cyd@gnu.org>
27
8b71081d
CY
28 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
29 (diff-mode-shared-map): Bind it to / and [remap undo].
30
f08ae1c9
CY
31 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
32 (ediff-window-setup-function): Use it as the default, to set up
33 windows based on whether the current frame is graphical (Bug#2138).
34 (ediff-choose-window-setup-function-automatically): Make obsolete.
35
36 * vc/ediff-init.el: Always define ediff-pixel-width/height.
37
ef24141c
SM
382012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
39
cc356a5d
SM
40 * ffap.el: Remove old code for obsolete package.
41 (ffap-complete-as-file-p): Remove.
42
b4ff4f1f
SM
43 Use completion-table-with-quoting for comint and pcomplete.
44 * comint.el (comint--unquote&requote-argument)
45 (comint--unquote-argument, comint--requote-argument): New functions.
46 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
47 (comint-quote-filename): Use regexp-opt-charset.
48 (comint--common-suffix, comint--common-quoted-suffix)
49 (comint--table-subvert): Remove.
50 (comint-unquote-function, comint-requote-function): New vars.
51 (comint--complete-file-name-data): Use them with
52 completion-table-with-quoting.
53 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
54 * pcomplete.el (pcomplete-arg-quote-list)
55 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
56 (pcomplete-unquote-argument-function): Default to non-nil.
57 (pcomplete-unquote-argument): Simplify.
58 (pcomplete--common-quoted-suffix): Remove.
59 (pcomplete-requote-argument-function): New var.
60 (pcomplete--common-suffix): New function.
61 (pcomplete-completions-at-point): Use completion-table-with-quoting
62 and completion-table-subvert.
63
79c4eeb4
SM
64 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
65 (minibuffer--double-dollars): Preserve properties.
66 (completion--sifn-requote): New function.
67 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
68
ef24141c
SM
69 * minibuffer.el: Add support for completion of quoted/escaped data.
70 (completion-table-with-quoting, completion-table-subvert): New funs.
71 (completion--twq-try, completion--twq-all): New functions.
72 (completion--nth-completion): New function.
73 (completion-try-completion, completion-all-completions): Use it.
74
784e7d6e
LL
752012-04-25 Leo Liu <sdl.web@gmail.com>
76
dd2ac746
SM
77 * progmodes/python.el (python-pdbtrack-get-source-buffer):
78 Use compilation-message if available to find real filename.
784e7d6e 79
07875ee7
CY
802012-04-25 Chong Yidong <cyd@gnu.org>
81
82 * vc/diff-mode.el (diff-setup-whitespace): New function.
83 (diff-mode): Use it.
84
85 * vc/diff.el (diff-sentinel):
86 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
87 Whitespace mode variables based on diff style (Bug#8612).
88
5055880d
LL
892012-04-25 Leo Liu <sdl.web@gmail.com>
90
daf75653
LL
91 * progmodes/python.el (python-send-region): Add suffix .py to the
92 temp file.
93
5055880d
LL
94 * files.el (auto-mode-alist): Use javascript-mode instead.
95
db9b177b
AH
962012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
97
ef24141c 98 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
99
100 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 101 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 102 references, see Bug#9.
ef24141c 103 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 104 when receiving a fault reply.
ef24141c 105 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
106
107 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 108 (soap-inspect-simple-type): New function.
db9b177b 109
ef24141c 110 * soap-client.el (soap-simple-type): New struct.
db9b177b 111 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
112 (soap-decode-basic-type, soap-encode-basic-type):
113 support unsignedInt and double basic types.
db9b177b 114 (soap-resolve-references-for-simple-type)
ef24141c
SM
115 (soap-parse-simple-type, soap-encode-simple-type): New function.
116 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
117
118 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
119 (soap-default-soapenc-types): Add integer, byte and anyURI types.
120 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
121 the local name of "soapenc:Array".
122 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
123 decoding integer, byte and anyURI xsd types.
124
1fc6097b
CY
1252012-04-25 Chong Yidong <cyd@gnu.org>
126
127 * cus-edit.el (custom-buffer-create-internal): Update header text.
128
afc6df87
EZ
1292012-04-25 Eli Zaretskii <eliz@gnu.org>
130
131 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
132 settings on 'system-type', not on 'window-system'. On MS-Windows,
133 set interactive-mode on in GDB.
134
dfbd787f
SM
1352012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
138 (ruby-syntax-propertize-regexp): Remove.
139 (ruby-syntax-propertize-function): Split regexp into chunks.
140 Match following code directly.
141
85222d44
DG
1422012-04-24 Dmitry Gutov <dgutov@yandex.ru>
143
51a8ea2a
DG
144 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
145 (ruby-syntax-propertize-regexp): New function.
146 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
147 by a special keyword.
148
85222d44
DG
149 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
150 (ruby-syntax-general-delimiters-goto-beg)
151 (ruby-syntax-propertize-general-delimiters): New functions.
152 (ruby-syntax-propertize-function): Use them to handle GDL.
153 (ruby-font-lock-keywords): Move old handling of GDL...
154 (ruby-font-lock-syntactic-keywords): .. to here.
155 (ruby-calculate-indent): Adjust indentation for GDL.
156
b613912b
MA
1572012-04-24 Michael Albinus <michael.albinus@gmx.de>
158
b5380639
MA
159 * notifications.el (top): Remove unneeded declarations.
160 (notifications-specification-version): Change to "1.2".
e43042fe 161 (notifications-interface, notifications-notify-method)
b613912b
MA
162 (notifications-close-notification-method): Fix docstring.
163 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
164 (notifications-notify): Add :action-items, :resident and
165 :transient hints. Change "image_data" to "image-data" and
166 "image_path" to "image-path".
b613912b
MA
167 (notifications-get-capabilities): New defun.
168
257440aa
LL
1692012-04-24 Leo Liu <sdl.web@gmail.com>
170
171 * progmodes/python.el: Move hideshow setup to the end.
172
b1bac16e
MR
1732012-04-24 Martin Rudalics <rudalics@gmx.at>
174
175 * window.el (handle-select-window): Clear echo area since this is
176 no more done by read_char (Bug#11304).
177
d81bd059
SM
1782012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
181 and `/ M' to filter-derived-mode.
182 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
183 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
184 (ibuffer-mark-by-mode): Use default rather than initial-input.
185 (ibuffer-filter-by-derived-mode): Autoload and require-match.
186
c4cf6d91
IA
1872012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
188
189 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
190 (ibuffer-filter-by-derived-mode): New filter.
191 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
192
7511ded8
CY
1932012-04-23 Andreas Politz <politza@fh-trier.de>
194
195 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
196
775c916b
CY
1972012-04-23 Chong Yidong <cyd@gnu.org>
198
199 * cus-edit.el (customize-apropos, customize-apropos-options):
200 Disable matching of non-option variables (Bug#11176).
201 (customize-option, customize-option-other-window)
202 (customize-changed-options): Doc fix.
203 (customize-apropos-options, customize-apropos-faces)
204 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
205
206 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 207 Fix word list splitting (Bug#11132).
46c71e23
CY
208 (apropos-symbol, apropos-keybinding, apropos-label)
209 (apropos-property, apropos-function-button)
210 (apropos-variable-button, apropos-misc-button): New faces.
211 (apropos-symbol-face, apropos-keybinding-face)
212 (apropos-label-face, apropos-property-face, apropos-match-face):
213 Variables removed (Bug#8396).
214 (apropos-library-button, apropos-format-plist, apropos-print)
215 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 216
2df41f9c
MA
2172012-04-23 Michael Albinus <michael.albinus@gmx.de>
218
219 * net/xesam.el (xesam-mode-map): Use let-bound map in
220 initialization. (Bug#11292)
221
da00640a
AM
2222012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
223
224 Preserve ispell session localwords when switching back to
225 original buffer.
226
227 * ispell.el (ispell-buffer-session-localwords): New buffer-local
228 variable to hold buffer session localwords.
229 (ispell-kill-ispell): add option 'clear to delete session
230 localwords.
231 (ispell-command-loop, ispell-change-dictionary)
232 (ispell-buffer-local-words): Preserve session localwords when
233 needed.
234
235 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
236 Preserve session localwords when needed.
237
f621ccf5
AM
2382012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
239
240 * ispell.el (ispell-insert-word) Remove unneeded function using
241 obsolete `translation-table-for-input'.
ef24141c
SM
242 (ispell-word, ispell-process-line, ispell-complete-word):
243 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 244
c2d1019e
CY
2452012-04-22 Chong Yidong <cyd@gnu.org>
246
247 * cus-edit.el (custom-variable-menu)
248 (custom-variable-reset-saved, custom-face-menu)
249 (custom-face-reset-saved): If there is no saved value, make the
250 "reset-saved" operation bring back the default (Bug#9509).
251 (custom-face-state): Properly detect themed faces.
252
eeddc531
CY
253 * faces.el (face-spec-set): Stop supporting deprecated form of
254 third arg.
255
dcbf5805
MA
2562012-04-22 Michael Albinus <michael.albinus@gmx.de>
257
258 Move functions from C to Lisp. Make non-blocking method calls
259 the default. Implement further D-Bus standard interfaces.
260
ef24141c
SM
261 * net/dbus.el (dbus-message-internal): Declare function.
262 Remove unneeded function declarations.
dcbf5805
MA
263 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
264 (dbus-message-type-method-return, dbus-message-type-error)
265 (dbus-message-type-signal): Declare variables. Remove local
266 definitions.
267 (dbus-interface-dbus, dbus-interface-peer)
268 (dbus-interface-introspectable, dbus-interface-properties)
269 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
270 Adapt docstring.
271 (dbus-interface-objectmanager): New defconst.
272 (dbus-call-method, dbus-call-method-asynchronously)
273 (dbus-send-signal, dbus-method-return-internal)
274 (dbus-method-error-internal, dbus-register-service)
275 (dbus-register-signal, dbus-register-method): New defuns, moved
276 from dbusbind.c
277 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
278 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
279 New defuns.
dcbf5805
MA
280 (dbus-call-method-non-blocking): Make it an obsolete function.
281 (dbus-unregister-object, dbus-unregister-service)
282 (dbus-handle-event, dbus-register-property)
283 (dbus-property-handler): Obey the new structure of
284 `bus-registered-objects'.
285 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
286 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
287 Use `dbus-call-method'.
288
cf20dee0
CY
2892012-04-22 Chong Yidong <cyd@gnu.org>
290
291 * cus-edit.el (custom-commands, custom-reset-menu)
292 (Custom-reset-standard): Tweak labels.
293 (custom-reset-button-menu): Change default to t.
294 (custom-buffer-create-internal): For the custom-reset-button-menu
295 case, put the revert button first.
296 (custom-group-subtitle): New face.
297 (custom-group-value-create): Align docstring to a specific column.
298
299 * wid-edit.el (widget-documentation-link-add): Don't handle
300 indentation in this function.
301 (widget-documentation-string-indent-to): New function.
302 (widget-documentation-string-value-create): Use it.
303
304 * autorevert.el (auto-revert):
305 * epg-config.el (epg):
306 * ibuffer.el (ibuffer):
307 * mpc.el (mpc):
308 * ses.el (ses):
309 * eshell/eshell.el (eshell):
310 * net/ange-ftp.el (ange-ftp):
311 * progmodes/ebnf2ps.el (postscript):
312 * progmodes/flymake.el (flymake):
313 * progmodes/prolog.el (prolog):
314 * progmodes/verilog-mode.el (verilog-mode):
315 * progmodes/which-func.el (which-func):
316 * term/xterm.el (xterm):
317 * textmodes/picture.el (picture):
318 * textmodes/tildify.el (tildify):
319 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
320 customization buffers.
321
583e23bd
AM
3222012-04-22 Alan Mackenzie <acm@muc.de>
323
324 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
325 Adding a ) can hide the resulting (..) from searches. Fix it.
326 Bound the backward search to the position of the existing (.
327
7dd51bf1
JB
3282012-04-21 Juanma Barranquero <lekktu@gmail.com>
329
330 * progmodes/verilog-mode.el (verilog-mode): Check whether
331 which-func-modes is t before adding verilog-mode.
332 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
333
d64a438f
LL
3342012-04-21 Leo Liu <sdl.web@gmail.com>
335
7dd51bf1 336 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 337
081e8d65
MV
3382012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
339
340 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
341 filling of the last column of a table (Bug#5635).
342 (woman-find-next-control-line): New arg, specifying an additional
343 regexp component for the control line.
344 (woman2-roff-buffer): Use it.
345 (woman-break-table): New function.
346 (woman2-TS): Use it.
347
3482012-04-21 Chong Yidong <cyd@gnu.org>
349
350 * woman.el (woman-set-buffer-display-table, woman-decode-region)
351 (woman-horizontal-escapes, woman-negative-vertical-space)
352 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
353 (WoMan-warn-ignored): Use ?\s instead of ?\ .
354
ed571ccb
SM
3552012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * minibuffer.el (completion-file-name-table): Complete user names.
358
39773899
LL
3592012-04-20 Leo Liu <sdl.web@gmail.com>
360
361 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
362 and pcase-let*.
363
de6ff46d
CY
3642012-04-20 Chong Yidong <cyd@gnu.org>
365
366 * server.el (server-execute): Respect initial-buffer-choice if it
367 is a string and there are no files to open (Bug#2825).
368 (server-create-window-system-frame, server-create-tty-frame):
369 Don't switch buffers here.
2d0e8e61
CY
370 (server-process-filter): Only try to open a window system frame if
371 compiled with graphical support (Bug#8314).
de6ff46d 372
54071013
DN
3732012-04-20 Dan Nicolaescu <dann@gnu.org>
374
375 * battery.el (battery-echo-area-format): Display remaining time
376 for sysfs backend too (Bug#11269).
377 (battery-linux-sysfs): Fix conditional for the charge.
378
f30d612a
CY
3792012-04-20 Chong Yidong <cyd@gnu.org>
380
c07a4c0b 381 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
382 (gdb-inferior-io--init-proc): New function.
383 (gdb-init-1): Use it.
384 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
385 responsible for allocating a new pty and hooking it to gdb when
386 the old pty gets an EIO due to process exit.
387 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
388 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
389 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
390
2116e93c
EZ
3912012-04-20 Eli Zaretskii <eliz@gnu.org>
392
393 * window.el (window-min-size, window-sizable, window-min-delta)
394 (window-max-delta, window--resizable, window-resizable)
395 (window-total-size, window-full-height-p, window-full-width-p)
396 (window-in-direction, window--resize-mini-window, window-resize)
397 (window--resize-child-windows-normal)
398 (window--resize-child-windows, window--resize-siblings)
399 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 400 (enlarge-window, shrink-window): Doc fixes.
2116e93c 401
c07a4c0b 4022012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 403
ef24141c
SM
404 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
405 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
406 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
407 pty process (Bug#11273).
408 (gdb-update): New arg to suppress talking to the gdb process.
409 (gdb-done-or-error): Use it.
410 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
411 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
412 sentinel not being called.
413
414 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
415
d02766ab
CY
416 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
417
c07a4c0b 4182012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
419
420 * net/network-stream.el (open-network-stream): Doc fix.
421
c07a4c0b 4222012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
423
424 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
425
c07a4c0b 4262012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
427
428 Ensure searching for keywords is case sensitive.
429
430 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
431 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
432 (c-defun-name, c-mark-function, c-cpp-define-name)
433 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 434 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 435
ef24141c
SM
436 * progmodes/cc-mode.el (c-font-lock-fontify-region):
437 Bind case-fold-search to nil.
f0f6bc35 438
c07a4c0b 4392012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
440
441 * mail/sendmail.el (mail-bury): Call return action with the right
442 Rmail buffer (Bug#11242).
443
9a864fa2
CY
444 * server.el (server-process-filter): Handle corner case where both
445 tty and nowait options are present (Bug#11102).
446
539aa513
EZ
4472012-04-20 Eli Zaretskii <eliz@gnu.org>
448
449 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
450 (top level): Put into the executable the ident-style '$Id:' tag on
451 windows-nt as well.
539aa513 452
cfc7d5da
SM
4532012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * electric.el (electric-indent-post-self-insert-function): Check that
456 electric-indent-mode is enabled in current buffer.
457
5b01685c
JB
4582012-04-19 Juanma Barranquero <lekktu@gmail.com>
459
460 * imenu.el (imenu-progress-message): Restore; it is "used" in
461 erc/erc-imenu.el and net/snmp-mode.el.
462
4d6769e1
JB
4632012-04-19 Juanma Barranquero <lekktu@gmail.com>
464
465 * avoid.el (mouse-avoidance-mode): Mark unused arg.
466 (mouse-avoidance-nudge-mouse): Remove unused binding.
467
468 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
469
470 * descr-text.el (describe-char):
471 * progmodes/python.el (python-describe-symbol):
472 Don't call `toggle-read-only', set `buffer-read-only'.
473
474 * imenu.el (imenu-default-goto-function): Mark unused args.
475 (imenu-progress-message): Remove obsolete macro; all callers changed.
476
477 * subr.el (keymap-canonicalize): Remove unused binding.
478 (read-passwd): Mark unused arg.
479
480 * tutorial.el (tutorial--display-changes): Remove unused binding.
481 (tutorial--save-tutorial-to): Remove unused variable.
482
483 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
484 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
485 (package-generate-autoloads, package-menu--generate)
486 (package-menu--find-upgrades): Remove unused bindings.
487
488 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
489 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
490 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
491 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
492 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
493 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
494 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
495 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
496 (cua-delete-char-rectangle): Mark unused args.
497 (cua-align-rectangle): Remove unused binding.
498
499 * mail/rmail.el (compilation--message->loc)
500 (epa--find-coding-system-for-mime-charset): Declare.
501
502 * net/dbus.el (dbus-register-service): Declare.
503 (dbus-name-owner-changed-handler): Remove unused binding.
504
505 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
506 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
507 (nxml-scan-backward-within): Mark unused arg.
508 (nxml-dynamic-markup-word): Remove unused binding.
509
510 * mouse.el (mouse-menu-major-mode-map):
511 * emacs-lisp/authors.el (authors-scan-change-log)
512 (authors-add-to-author-list):
513 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
514 * emacs-lisp/smie.el (smie-auto-fill):
515 * mail/sendmail.el (mail-bury):
516 * mail/unrmail.el (unrmail):
517 * net/tls.el (open-tls-stream):
518 * textmodes/picture.el (picture-mouse-set-point):
519 Remove unused bindings.
520
8c8fc5df
MA
5212012-04-19 Michael Albinus <michael.albinus@gmx.de>
522
523 * net/tramp.el (tramp-action-password): Let-bind
524 `enable-recursive-minibuffers' to t.
525
a77b0ac9
SS
5262012-04-18 Sam Steingold <sds@gnu.org>
527
528 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
529 instead of 'string to accommodate values like [f11].
530 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
531 * progmodes/gdb-mi.el: Likewise.
532
12a106a9
LL
5332012-04-18 Leo Liu <sdl.web@gmail.com>
534
535 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
536 current buffer.
537 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
538 LOCAL is nil.
539
bc6494ef
CY
5402012-04-18 Chong Yidong <cyd@gnu.org>
541
542 * simple.el (line-move): Use forward-line if in batch mode
543 (Bug#11053).
544
c09c46b2
CS
5452012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
546
547 * files.el (after-find-file): Do not try to add a final newline if
548 the buffer is read-only (Bug#11156).
549
5f6530ea
RS
5502012-04-17 Richard Stallman <rms@gnu.org>
551
552 * mail/rmail.el (rmail-start-mail):
553 Pass (rmail-mail-return...) for the return-action.
554 Pass (rmail-yank-current-message...) for the yank-action.
555 (rmail-yank-current-message): New function.
556 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
557 (rmail-reply): Likewise.
558 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
559
560 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 561 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
562 buffer, not newbuf.
563
197b6f3c
JB
5642012-04-17 Juanma Barranquero <lekktu@gmail.com>
565
566 * server.el (server-ensure-safe-dir): Simplify.
567
2311d8e5 5682012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 569
2311d8e5
GM
570 * emacs-lisp/smie.el: Provide smarter auto-filling.
571 (smie-auto-fill): New function.
572 (smie-setup): Use it.
98fb480e 573
2311d8e5
GM
574 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
575
5762012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
577
578 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
579 (comment-indent): Use it.
580
2311d8e5 5812012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
582
583 * ses.el: The overall change is to add cell renaming, that is
584 setting fancy names for cell symbols other than name matching
585 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 586 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 587 (ses-create-cell-variable): New defun.
2311d8e5 588 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
589 (ses-relocate-formula): Relocate formulas only for cells the
590 symbols of which are not renamed, i.e. symbols whose names do not
591 match regexp "\\`[A-Z]+[0-9]+\\'".
592 (ses-relocate-all): Relocate values only for cells the symbols of
593 which are not renamed.
594 (ses-load): Create cells variables as the (ses-cell ...) are read,
595 in order to check row col consistency with cell symbol name only
596 for cells that are not renamed.
597 (ses-replace-name-in-formula): New defun.
598 (ses-rename-cell): New defun.
4bdf2ad2 599
fc72b15c
PO
6002012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
601
602 * progmodes/perl-mode.el (perl-indent-parens-as-block):
603 New option (bug#11118).
604 (perl-calculate-indent): Respect it.
605
12e10e61
GM
6062012-04-17 Glenn Morris <rgm@gnu.org>
607
608 * dired-aux.el (dired-mark-read-string): Doc fix.
609
30009afd
DA
6102012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
611
612 * dired-aux.el (dired-mark-read-string): Offer optional completion.
613 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
614
41f03f4d
GM
6152012-04-17 Glenn Morris <rgm@gnu.org>
616
617 * mouse.el (mouse-drag-track):
618 * speedbar.el (speedbar-frame-mode):
619 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
620
f45f90f3
LL
6212012-04-16 Leo Liu <sdl.web@gmail.com>
622
623 * progmodes/python.el: Trivial cleanup.
624
94ee8db5
GM
6252012-04-16 Glenn Morris <rgm@gnu.org>
626
121b8917
GM
627 * vc/vc.el (vc-string-prefix-p):
628 * vc/pcvs-util.el (cvs-string-prefix-p):
629 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
630 * mpc.el (mpc-string-prefix-p):
631 Make all of these into obsolete aliases for string-prefix-p.
632 Update callers.
633 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
634
1197ecfa
GM
635 * textmodes/two-column.el: Move custom options to the start.
636 (frame-width): Remove compat definition.
637 (2C-associate-buffer, 2C-dissociate):
638 Use with-current-buffer rather than save-excursion.
639 (2C-dissociate): Force a mode-line update.
640 (2C-autoscroll): Use ignore-errors.
641
099e7202
GM
642 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
643 Autoload trivia.
644
bf350d6a
GM
645 * emacs-lisp/cl-extra.el (*random-state*):
646 Remove unnecessary declaration.
647
0e829eab
GM
648 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
649
e3ad7552
GM
650 * play/cookie1.el (cookie-snarf):
651 Give an explicit error if input file cannot be read.
652
68892d27
GM
653 * play/yow.el (yow-file): Use expand-file-name rather than concat.
654
20f0c46d
GM
655 * progmodes/perl-mode.el (c-macro-expand):
656 Remove unnecessary autoload (it is in loaddefs.el).
657
5a0978ce
GM
658 * textmodes/picture.el (picture-desired-column)
659 (picture-update-desired-column): Convert comments to doc-strings.
660 (picture-substitute): Remove function.
661 (picture-mode-map): Initialize in the defvar.
662
6b955486
GM
663 * woman.el: Remove eval-after-load for tar-mode.
664 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
665 (woman-tar-extract-file): Autoload it.
666
94ee8db5
GM
667 * frame.el (automatic-hscrolling): Make this alias obsolete.
668
177eca34
AM
6692012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
670
671 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 672 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
673 (ispell-dictionary-base-alist): Revert to original XEmacs
674 friendly version for default. [:alpha:] will be added in
675 `ispell-set-spellchecker-params' if needed
177eca34 676
c505aaeb
CY
6772012-04-16 Chong Yidong <cyd@gnu.org>
678
679 * image.el (imagemagick--extension-regexp): New variable.
680 (imagemagick-register-types): Use it.
681 (imagemagick-types-inhibit): Add :set function. Allow new value
682 of t to inhibit all types.
683
684 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
685 so we can preload it.
686
687 * loadup.el (fboundp): Preload regexp-opt, needed by
688 imagemagick-register-types.
689
60efac0f
CY
6902012-04-15 Chong Yidong <cyd@gnu.org>
691
692 * frame.el (scrolling): Remove nearly unused customization group.
693
694 * scroll-all.el (scroll-all-mode): Move to windows group.
695
5dd1713e
CY
6962012-04-15 Chong Yidong <cyd@gnu.org>
697
698 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
699
e6fd457e
CY
7002012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 703 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 704
e153c136
GM
7052012-04-15 Glenn Morris <rgm@gnu.org>
706
707 * simple.el (process-file-side-effects): Doc fix.
708
e6fd457e 7092012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
710
711 * international/mule-cmds.el (set-language-environment): Doc fix.
712
3603c3b1
JB
7132012-04-14 Juanma Barranquero <lekktu@gmail.com>
714
715 * server.el (server-auth-key, server-generate-key): Doc fixes.
716 (server-get-auth-key): Doc fix. Use `string-match-p'.
717 (server-start): Reflow docstring.
718
e6de100c
LI
7192012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
720
721 * server.el (server-generate-key): `called-interactively-p'
722 requires a parameter.
723
29734c21
MN
7242012-04-14 Michal Nazarewicz <mina86@mina86.com>
725
726 * server.el (server-auth-key): New variable.
75f1671a 727 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
728 (server-start): Use the new variable and functions to allow
729 setting a permanent server key (bug#9423).
730
d65c9521
LL
7312012-04-14 Leo Liu <sdl.web@gmail.com>
732
733 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
734
5ae255c7
PE
7352012-04-14 Paul Eggert <eggert@cs.ucla.edu>
736
737 Spelling fixes.
738 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
739 Emacs uses American spelling.
740
d5e6342e
JB
7412012-04-14 Juanma Barranquero <lekktu@gmail.com>
742
743 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
744 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
745 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
746 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
747
ab036cd7
SM
7482012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * progmodes/which-func.el (which-func-modes): Change default.
751
35dc09a1 7522012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
753
754 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
755 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
756
35dc09a1 7572012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
758
759 * custom.el (custom-theme-set-variables): Doc fix.
760
35dc09a1 7612012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
762
763 * international/mule.el (set-auto-coding-for-load): Doc fix.
764
35dc09a1 7652012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 766
35dc09a1
GM
767 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
768 imenu work again for Objective C Mode. Correct the *-index values,
769 these having been disturbed by a previous change in 2011-08.
57f845ee 770
0de3da9f
AM
771 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
772 Correct two search limits.
773
35dc09a1 7742012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
775
776 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
777
35dc09a1 7782012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
779
780 * international/characters.el: Fix sorting.
781
35dc09a1 7822012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
783
784 * international/characters.el: Add more missing Latin case pairs.
785
35dc09a1 7862012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
787
788 * files.el (dir-locals-set-class-variables): Doc fix.
789
35dc09a1 7902012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 791
3f1b5bf8
EZ
792 * international/characters.el: Add set-case-syntax-pair call for
793 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
794 counterpart. (Bug#11209)
795
9f847f41
EZ
796 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
797
35dc09a1 7982012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
799
800 * calendar/holidays.el (calendar-check-holidays): Doc fix.
801
35dc09a1 8022012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 803
35dc09a1
GM
804 * textmodes/ispell.el (ispell-dictionary-base-alist):
805 Add data for Hebrew.
e2627d21 806
35dc09a1 8072012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 808
35dc09a1
GM
809 * net/rcirc.el (rcirc-cmd-quit):
810 Revert 2012-03-18 change (Bug#11192).
5c14e333 811
35dc09a1 8122012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
813
814 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
815
35dc09a1 8162012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 817
4517fe3a
SM
818 * minibuffer.el (completion-in-region-mode-map):
819 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 820
b472a594
VD
8212012-04-13 Vivek Dasmohapatra <vivek@etla.org>
822
823 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
824
09b95ce3
MY
8252012-04-13 Masatake YAMATO <yamato@redhat.com>
826
827 * minibuffer.el (minibuffer-local-filename-syntax): New variable
828 to allow `C-M-f' and `C-M-b' to move to the nearest path
829 separator (bug#9511).
830
4b63a9ca
LI
8312012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
832
833 * avoid.el: Require cl when compiling. And also move the
834 `provide' to the end.
835
7b55b8bf
TV
8362012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
837
838 * avoid.el (mouse-avoidance-banish-position): New variable.
839 (mouse-avoidance-banish-destination): Use it (bug#10165).
840
adedaa1f
LL
8412012-04-13 Leo Liu <sdl.web@gmail.com>
842
843 * progmodes/which-func.el (which-func-modes): Add objc-mode.
844
70e74021
KB
8452012-04-13 Ken Brown <kbrown@cornell.edu>
846
847 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 848 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
849 (browse-url-filename-alist): For the same reason, don't modify
850 file:// URLs on Cygwin.
851
e75e89ba
SM
8522012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
855 the region on shift if the binding is already shifted (bug#11221).
856
82f289a4
GM
8572012-04-12 Glenn Morris <rgm@gnu.org>
858
859 * mail/mailpost.el: Move to obsolete/.
860
d333dc4c
DA
8612012-04-12 Drew Adams <drew.adams@oracle.com>
862
863 * imenu.el (imenu--generic-function): Ignore invisible definitions
864 (bug#10123).
865
0d15b5ba
VD
8662012-04-12 Vivek Dasmohapatra <vivek@etla.org>
867
868 * hexl.el (hexl-bits): New variable.
869 (hexl-options): Mention the variable in the doc string.
75f1671a 870 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 871 (hexl-mode): Mention the new variable.
75f1671a
JB
872 (hexl-mode, hexl-current-address, hexl-current-address):
873 Use the displen.
0d15b5ba
VD
874 (hexl-ascii-start-column): New function.
875 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
876 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
877
64a440db
AM
8782012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
879
880 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
881 '("-i" ENCODING), in 2 separate command-line arguments, to specify
882 the encoding, as expected by hunspell.
883
6decb6c2
SM
8842012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * battery.el (battery--linux-sysfs-regexp): New const.
887 (battery-status-function): Use it. Remove yeeloong special case.
888 (battery-yeeloong-sysfs): Remove.
889 (battery-echo-area-format): Remove yeeloong special case.
890
088be6fb
SM
8912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
892
6622e416
SM
893 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
894 Reported by Noah Friedman.
895
088be6fb
SM
896 * subr.el (read-passwd): Use read-string.
897
b49f886e
LMI
8982012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
899
900 * vcursor.el (vcursor-move): Increase the priority of the overlay
901 (bug#9663).
902
a63067fc
DD
9032012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
904
905 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
906 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
907
ac3cf14a
WS
9082012-04-11 William Stevenson <yhvh2000@gmail.com>
909
910 * textmodes/artist.el (artist-mode): Convert artist-mode to use
911 define-minor-mode (bug#10760).
912
c4fc691b 9132012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 914
4d6769e1 915 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
916 that directories matching `grep-find-ignored-files' won't be
917 pruned (bug#10351).
918
af23e2e5
CY
9192012-04-11 Chong Yidong <cyd@gnu.org>
920
921 * startup.el (command-line): Remove support for long-obsolete
922 variable font-lock-face-attributes.
923
ab7ce8c1
GM
9242012-04-11 Glenn Morris <rgm@gnu.org>
925
926 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
927
de8c03dc
SM
9282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * window.el (window--state-get-1): Obey window-point-insertion-type.
931
050cc68b
LB
9322012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
933
934 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
935 to previous function when point is on the first character of a
75f1671a 936 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 937
a38c310c
GM
9382012-04-11 Glenn Morris <rgm@gnu.org>
939
effed0c2
GM
940 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
941 not just file-errors.
942
a38c310c
GM
943 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
944 (vc-bzr-sha1): Use internal sha1.
945
0221e323
SM
9462012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
949
43956923
SG
9502012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
951
952 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
953 that start in the middle of the line (bug#10496).
954
6a8c9eaf
DN
9552012-04-10 Dan Nicolaescu <dann@gnu.org>
956
957 * battery.el (battery-linux-proc-acpi): Only one battery is
958 discharged at a time, but that seems to confuse battery.el when
959 computing `rate-type' for the battery not being discharged
960 (bug#10332).
961
1930bf5d
SM
9622012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
963
2a718f6f
SM
964 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
965
599430d0
SM
966 * international/quail.el: Use dolist and simplify.
967 (quail-define-package, quail-update-keyboard-layout)
968 (quail-define-rules): Use dolist.
969 (quail-insert-kbd-layout, quail-get-translation): CSE.
970
a2754b6c
SM
971 * tmm.el: Use dolist, remove left over hook.
972 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
973 Use dolist.
974 (calendar-load-hook): Don't mess with it.
975
1930bf5d
SM
976 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
977 Use derived-mode-p. Run the diff asynchronously.
978
9f67961c
LMI
9792012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
980
981 * obsolete/mouse-sel.el: Add an Obsolete-since header.
982
2a8ce227
JB
9832012-04-10 Juanma Barranquero <lekktu@gmail.com>
984
985 * misc.el: Display absolute path of loaded DLLs (bug#10424).
986 (list-dynamic-libraries--loaded): New function.
987 (list-dynamic-libraries--refresh): Use it.
988
8f33b5f8
NW
9892012-04-10 Nathan Weizenbaum <nweiz@google.com>
990
1930bf5d
SM
991 * progmodes/python.el (python-fill-paragraph):
992 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
993 disabled (bug#7018).
994
b12f0439
L
9952012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
996
1930bf5d 997 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
998 DOS/MS Windows for the Baltic languages. There are still plenty
999 of texts written in this encoding/codepage (bug#6519).
b12f0439 1000
57c3bd01
GM
10012012-04-10 Glenn Morris <rgm@gnu.org>
1002
1003 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1004 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1005
6c3eab30
FA
10062012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1007
1930bf5d 1008 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1009 next-line "n" and previous-line "p" in order to make recentf more
1010 consistent with ibuffer, dired or org-mode (bug#9387).
1011
24d78a88
LMI
10122012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1013
bc72b5d9
LMI
1014 * image.el (put-image): Return the overlay created instead of the
1015 optional input string (bug#7834). Note that this may break code
1016 that is (for some reason or other) depending on `put-image'
1017 returning the string.
1018
bd2dba5a
LMI
1019 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1020
74beb59f
LMI
1021 * simple.el (zap-to-char): Allow zapping using input methods
1022 (bug#1580).
1023
24d78a88
LMI
1024 * textmodes/fill.el (fill-region): Leave point and mark where they
1025 were before filling (bug#5399).
1026
263f20cd
GM
10272012-04-09 Glenn Morris <rgm@gnu.org>
1028
1029 * version.el (emacs-bzr-get-version):
1030 Handle lightweight checkouts of local branches.
1031
58d1f797
AS
10322012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1033
263f20cd 1034 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1035
b4d3bc10
CY
10362012-04-09 Chong Yidong <cyd@gnu.org>
1037
1038 * custom.el (custom-variable-p): Return nil for non-symbol
1039 arguments instead of signaling an error.
1040 (user-variable-p): Obsolete alias for custom-variable-p.
1041
1042 * apropos.el (apropos-variable):
1043 * files-x.el (read-file-local-variable):
1044 * simple.el (set-variable):
1045 * woman.el (woman-mini-help):
1046 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1047
fd06db5d
GM
10482012-04-09 Glenn Morris <rgm@gnu.org>
1049
e5fcdb5e
GM
1050 * startup.el (normal-top-level): Don't look for leim-list.el
1051 in places where it will not be found. (Bug#910)
1052
fd06db5d
GM
1053 * international/mule-cmds.el (set-default-coding-systems):
1054 * files.el (normal-mode):
1055 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1056 This function was removed with ucs-tables.el in 2008.
1057
b39bb7e1
EZ
10582012-04-08 Eli Zaretskii <eliz@gnu.org>
1059
1060 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1061 ispell-encoding8-command to "-i", without a trailing space.
1062 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1063 separate command-line arguments, to specify the encoding, since
1064 that's how hunspell expects it.
1065
5c5b8e23
GM
10662012-04-08 Glenn Morris <rgm@gnu.org>
1067
1068 * loadup.el: Load bindings before cus-start.
1069 This reduces somewhat the number of "rogue" settings in emacs -Q.
1070
a1ed8b05
GM
10712012-04-07 Glenn Morris <rgm@gnu.org>
1072
1073 * version.el (emacs-bzr-get-version): New function.
dfae128a 1074 (emacs-bzr-version): New variable.
a1ed8b05
GM
1075 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1076 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1077
b142f158
EZ
10782012-04-07 Eli Zaretskii <eliz@gnu.org>
1079
dfae128a
GM
1080 * international/uni-bidi.el, international/uni-category.el:
1081 * international/uni-combining.el, international/uni-decimal.el:
1082 * international/uni-decomposition.el, international/uni-digit.el:
1083 * international/uni-lowercase.el, international/uni-mirrored.el:
1084 * international/uni-name.el, international/uni-numeric.el:
1085 * international/uni-titlecase.el, international/uni-uppercase.el:
1086 Update for Unicode 6.1.
b142f158 1087
9078ead6
EZ
10882012-04-07 Eli Zaretskii <eliz@gnu.org>
1089
1090 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1091
f23d2c7d
LMI
10922012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1093
1094 * window.el (shrink-window): Mention the `window-min-height'
1095 variable in the doc string.
1096
0a0a3573
BG
10972012-04-05 Bastien Guerry <bzg@altern.org>
1098
1099 * color.el (color-lighten-name): Fix typo.
1100
e5248ac9
SM
11012012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 * server.el (server--on-display-p): New function.
1104 (server--on-display-p): Use it.
1105
b4243e22
GV
11062012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1107
1108 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1109 (bug#11145).
1110
305d9f44
SM
11112012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * comint.el (comint--common-quoted-suffix): Check string boundary
1114 before comparing (bug#11158).
1115 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1116
3d439cd1
CY
11172012-04-04 Chong Yidong <cyd@gnu.org>
1118
321cc491
CY
1119 * minibuffer.el (completion-extra-properties): Doc fix.
1120
3d439cd1
CY
1121 * subr.el (delayed-warnings-hook): Doc fix.
1122
2d562c0f
DU
11232012-04-04 Daiki Ueno <ueno@unixuser.org>
1124
1125 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1126 selection (Bug#11159).
1127 (epa-insert-keys): Inform that the default public key will be
1128 exported if no key is selected.
1129
4443f204
RS
11302012-04-04 Richard Stallman <rms@gnu.org>
1131
1132 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1133
529c06b6
CY
11342012-04-03 Chong Yidong <cyd@gnu.org>
1135
1136 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1137 mail-insert-file, not its obsolete alias mail-attach-file.
1138
66b907dc
MA
11392012-04-03 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * notifications.el (notifications-notify): Fix docstring.
1142
c0ea195d
GM
11432012-04-02 Glenn Morris <rgm@gnu.org>
1144
1145 * emacs-lisp/authors.el (authors-aliases): Another addition.
1146
5ca64e00
MA
11472012-04-02 Michael Albinus <michael.albinus@gmx.de>
1148
1149 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1150 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1151 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1152
42ee526b
CY
11532012-04-01 Chong Yidong <cyd@gnu.org>
1154
1155 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1156 Handle root directory properly.
1157 (copy-directory): Caller changed.
1158
1159 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1160 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1161
0b021094
GM
11622012-03-31 Glenn Morris <rgm@gnu.org>
1163
40f86458
GM
1164 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1165
7019c177
GM
1166 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1167
a1daddd6
GM
1168 * calendar/calendar.el (calendar-window-list)
1169 (calendar-hide-window): Restore. (Bug#11140)
1170 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1171
0b021094
GM
1172 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1173
40311efc
TV
11742012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1175
1176 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1177 Check if file is a symlink (Bug#10489).
1178
1179 * files.el (copy-directory): Likewise.
1180
5319014e
CY
11812012-03-30 Chong Yidong <cyd@gnu.org>
1182
1183 * image.el (imagemagick-types-inhibit)
1184 (imagemagick-register-types): Doc fix.
1185
935d1290
AM
11862012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1187
ef24141c
SM
1188 * ispell.el (ispell-get-extended-character-mode):
1189 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1190 and treats ~word as ordinary words in pipe mode.
935d1290 1191
61c6e8fd
GM
11922012-03-30 Glenn Morris <rgm@gnu.org>
1193
1194 * tutorial.el (help-with-tutorial): Ensure local variables don't
1195 happen to make the buffer read-only. (Bug#11127)
1196
81fdff00
SM
11972012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1198
1199 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1200 (perl-calculate-indent): Return `noindent' in strings.
1201
6e7a6ec0
SS
12022012-03-28 Sam Steingold <sds@gnu.org>
1203
1204 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1205 instead of the broken adhockery which does not prevent calendar
1206 buffers from being displayed at random after exit.
1207 (calendar-window-list, calendar-hide-window): Remove the broken
1208 adhockery.
1209
fee88ca0
GM
12102012-03-28 Glenn Morris <rgm@gnu.org>
1211
1212 * replace.el (query-replace-map): Doc fix.
1213
38de3354
AS
12142012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1215
1216 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1217 contents. (Bug#11109)
1218
b973155e
SM
12192012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1222 (bug#11077).
1223 (avl-tree--check, avl-tree--check-node): New funs.
1224
dcb6e7b3
MR
12252012-03-27 Martin Rudalics <rudalics@gmx.at>
1226
1227 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1228 (switch-to-prev-buffer, switch-to-next-buffer):
1229 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1230 showing a buffer already is done on the same frame.
1231
b4fa35fa
GM
12322012-03-27 Glenn Morris <rgm@gnu.org>
1233
1234 * startup.el (mail-host-address): Doc fix.
1235
f9210e18
SM
12362012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1239 than 197 variables.
1240
c0bf7753
AF
12412012-03-26 Ami Fischman <ami@fischman.org>
1242
1243 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1244
33da7b16
GM
12452012-03-26 Glenn Morris <rgm@gnu.org>
1246
02243d9d
GM
1247 * files.el (save-buffers-kill-emacs): Doc fix.
1248
33da7b16
GM
1249 * startup.el (normal-top-level, command-line, command-line-1):
1250 Give them doc strings.
1251
e5a69fd0
EZ
12522012-03-25 Eli Zaretskii <eliz@gnu.org>
1253
1254 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1255 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1256
9a69676a
CY
12572012-03-25 Chong Yidong <cyd@gnu.org>
1258
4125cb8b
CY
1259 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1260 theme if it was previously enabled before (Bug#11031).
1261
dd470960
CY
1262 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1263 spec with custom-face-get-current-spec if its :shown-value is not
1264 determined yet (Bug#9337).
4125cb8b 1265 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1266
9a69676a
CY
1267 * button.el (button-at): Minor addition to docstring.
1268
6e7e90fa
SL
12692012-03-24 Simon Leinen <simon.leinen@gmail.com>
1270
1271 * vc/vc.el (vc-merge): Fix a prompt.
1272
f06e2758
CY
12732012-03-24 Chong Yidong <cyd@gnu.org>
1274
1275 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1276 point (Bug#9623).
1277
6e7e90fa
SL
1278 * button.el (button-at): Minor addition to docstring.
1279
b9d0879b
SM
12802012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1281
1282 * newcomment.el (comment-choose-indent): No space after BOL.
1283
e71cebb3
SS
12842012-03-22 Sam Steingold <sds@gnu.org>
1285
1286 * window.el (switch-to-prev-buffer): Revert last patch because the
1287 bug turned out to be an advertised feature (Elisp manual 28.14).
1288
335aff35
GM
12892012-03-22 Glenn Morris <rgm@gnu.org>
1290
1291 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1292 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1293
c676576a
LMI
12942012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1295
1296 * net/network-stream.el (network-stream-open-starttls): Make error
1297 message under Windows be less misleading.
1298
126f3d39
LW
12992012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1300
1301 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1302 understands (bug#9942).
1303
64fee311
CY
13042012-03-22 Chong Yidong <cyd@gnu.org>
1305
1306 * simple.el (end-of-visible-line): Handle return value of
1307 next-single-property-change properly (Bug#9371).
1308
a640d29a
KH
13092012-03-22 Kenichi Handa <handa@m17n.org>
1310
1311 * international/quail.el (quail-insert-kbd-layout): Fix previous
1312 change. To avoid unwanted bidi reordering, use
1313 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1314
39675016
DG
13152012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1316
1317 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1318 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1319 (ruby-beginning-of-indent): Be more careful with the difference
1320 between word-boundary and symbol boundary.
1321 (ruby-mode-syntax-table): Make : a symbol constituent.
1322
0a6934fc 13232012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1324
3d008e4f
SM
1325 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1326
0a6934fc
SM
13272012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1328
af67c9d7
SM
1329 * progmodes/etags.el (tags-completion-at-point-function):
1330 Improve last fix.
1331
1acad97c
SM
1332 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1333
e298b5da
SS
13342012-03-21 Sam Steingold <sds@gnu.org>
1335
1336 * progmodes/etags.el (tags-completion-at-point-function):
1337 Avoid the error when point is inside the pattern.
1338
91d82a70
JY
13392012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1340
1341 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1342 line (Bug#10855).
1343
69188b79
CY
13442012-03-21 Drew Adams <drew.adams@oracle.com>
1345
1346 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1347
99fc91fe
AK
13482012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1349
1350 * ido.el (ido-set-current-directory, ido-read-internal)
1351 (ido-choose-completion-string, ido-completion-help): Handle nil
1352 value of ido-completion-buffer (Bug#11008).
1353
087bbb4c
SS
13542012-03-21 Sam Steingold <sds@gnu.org>
1355
1356 * window.el (switch-to-prev-buffer): Do not switch to a visible
1357 window previous buffer, just like with the frame previous buffers.
1358
fb5b8aca
CY
13592012-03-21 Chong Yidong <cyd@gnu.org>
1360
1361 * faces.el (make-face, make-empty-face, copy-face):
1362 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1363 Doc fixes.
1364
dc9924b8
SM
13652012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1366
1367 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1368 (widget-complete): Remove broken use of it.
1369
f0bcceb9
CY
13702012-03-20 Chong Yidong <cyd@gnu.org>
1371
dc9924b8
SM
1372 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1373 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1374 characters.
1375
ee52ebf3
TH
13762012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1377
1378 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1379 to draw rectangles, not squares. (Regression introduced by revno
1380 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1381
4c5779ab
CY
13822012-03-18 Chong Yidong <cyd@gnu.org>
1383
1384 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1385 it is not yet defined (for temacs).
1386
15360934
LL
13872012-03-18 Leo Liu <sdl.web@gmail.com>
1388
dc9924b8 1389 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1390
d9a8eb66
EZ
13912012-03-17 Eli Zaretskii <eliz@gnu.org>
1392
1393 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1394 (ispell-choices-win-default-height, ispell-silently-savep)
1395 (ispell-dictionary-alist, ispell-encoding8-command)
1396 (ispell-check-version, ispell-aspell-find-dictionary)
1397 (ispell-valid-dictionary-list, ispell-words-keyword)
1398 (ispell-get-word, ispell-internal-change-dictionary)
1399 (ispell-region, ispell-skip-region-list)
1400 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1401 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1402 (ispell-message-text-end, ispell-message)
1403 (ispell-buffer-local-parsing): Doc fix.
1404
f02ff80d
J
14052012-03-13 Jambunathan K <kjambunathan@gmail.com>
1406
1407 * htmlfontify.el: Add support for code block fontification for ODT
1408 export (Bug #9914).
1409 (hfy-optimisations): Define new option
1410 `body-text-only'
1411 (hfy-fontify-buffer): Honor above setting.
1412 (hfy-begin-span, hfy-end-span): New routines factored out form
1413 `hfy-fontify-buffer'.
1414 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1415 that permit insertion of custom tags.
1416 (hfy-fontify-buffer): Use above handlers.
1417 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1418 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1419 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1420 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1421 bind a special variable `hfy-user-sheet-assoc'.
1422 (htmlfontify-string): New defun.
1423 (hfy-compile-face-map): Make sure that the last char in the
1424 buffer is correctly fontified.
1425 (hfy-face-resolve-face): Whitespace only change.
1426
9ac7a13f
EZ
14272012-03-17 Eli Zaretskii <eliz@gnu.org>
1428
1429 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1430 message more clear.
1431
e2b5bdd7
LL
14322012-03-16 Leo Liu <sdl.web@gmail.com>
1433
1434 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1435
2e492df3
AM
14362012-03-16 Alan Mackenzie <acm@muc.de>
1437
1438 Further optimise the handling of large macros.
1439
1440 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1441 limit to a call of `c-literal-limits'.
1442 (c-determine-+ve-limit): New function.
dc9924b8
SM
1443 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1444 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1445 In CASE 5B, restrict a search limit to 500.
1446 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1447
1448 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1449 Restrict macro bounds to +-500 from after-change's BEG END.
1450
50e94f0c
LL
14512012-03-16 Leo Liu <sdl.web@gmail.com>
1452
1453 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1454
6f09f6ed
AH
14552012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1456
1457 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1458 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1459
c7e73d51
GM
14602012-03-16 Glenn Morris <rgm@gnu.org>
1461
da986230
GM
1462 * view.el (view-buffer, view-buffer-other-window)
1463 (view-buffer-other-frame): Doc fixes re special mode-class.
1464
0835f01e
GM
1465 * subr.el (eval-after-load): If named feature is provided not from
1466 a file, run after-load forms. (Bug#10946)
1467
c7e73d51
GM
1468 * calendar/calendar.el (calendar-insert-at-column):
1469 Handle non-unit-width characters a bit better. (Bug#10978)
1470
3f2eafd1
CY
14712012-03-15 Chong Yidong <cyd@gnu.org>
1472
1473 * emacs-lisp/ring.el (ring-extend): New function.
1474 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1475
1476 * comint.el (comint-read-input-ring)
1477 (comint-add-to-input-history): Grow comint-input-ring lazily.
1478
103af3fe
SM
14792012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1480
663b1677
SM
1481 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1482 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1483
103af3fe
SM
1484 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1485 (imenu-add-to-menubar): Don't add a redundant index.
1486 (imenu-update-menubar): Handle a dynamically composed keymap.
1487
899cb7cb
KY
14882012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1489
1490 * mail/sendmail.el (mail-encode-header):
1491 Bind rfc2047-encode-encoded-words to nil.
1492
3809f91d
GM
14932012-03-13 Glenn Morris <rgm@gnu.org>
1494
1495 * calendar/calendar.el (calendar-string-spread):
1496 Handle non-unit-width characters a bit better. (Bug#10978)
1497
9e345a01
LL
14982012-03-13 Leo Liu <sdl.web@gmail.com>
1499
1500 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1501 directory and file as argument (Bug#10822).
1502
4a07df36
KS
15032012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1504
1505 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1506 For dynamically generated code, follow $PC.
1507 (gdb-disassembly-handler-custom): Handle no function name case.
1508
4aaa9356
TL
15092012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1510
1511 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1512 * emulation/ws-mode.el (ws-query-replace):
1513 * sort.el (sort-regexp-fields):
1514 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1515
225979da
SM
15162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1517
1518 * dabbrev.el: Fix cycle completion order (bug#10963).
1519 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1520 (dabbrev-completion): Don't use an obarray; provide
1521 a cycle-sort-function.
1522
e2f1fdab
LL
15232012-03-12 Leo Liu <sdl.web@gmail.com>
1524
dc9924b8 1525 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1526 (kill-do-not-save-duplicates): Doc fix.
1527
b19490ed
SM
15282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1529
1530 * dabbrev.el: Fix cycle completion (bug#10963).
1531 Use lexical binding and wrap to 80 columns.
1532 (dabbrev-completion): Delay computing the list of completions.
1533
4b05d722
KH
15342012-03-12 Kenichi Handa <handa@m17n.org>
1535
1536 * international/quail.el (quail-insert-kbd-layout): Surround each
1537 row by LRO and PDF instead of inserting many LRMs. Pad the left
1538 and right of each non-spacing marks. Insert invisible space
1539 between lower and upper characters to prevent composition.
1540
dbbc2e69
SM
15412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * minibuffer.el (minibuffer-complete): Don't get confused when the
1544 function is run twice via different commands (bug#10958).
1545 (complete-with-action): Fix docstring.
1546
292112ed
CY
15472012-03-12 Chong Yidong <cyd@gnu.org>
1548
5d1ac394
CY
1549 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1550 (nxml-completion-at-point-function): New function.
1551 (nxml-mode): Use it.
1552 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1553
292112ed
CY
1554 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1555 Load generated autoloads file before byte compiling (Bug#10970).
1556 (package--make-autoloads-and-compile): New helper fun.
1557
4098f8f7
CS
15582012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1559
1560 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1561
8f754691
MA
15622012-03-11 Michael Albinus <michael.albinus@gmx.de>
1563
1564 * autorevert.el (auto-revert-handler): Ensure, that
1565 file-readable-p is applied only for local files or in
1566 auto-revert-tail-mode.
1567
e29ab36b
AS
15682012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1569
dbbc2e69
SM
1570 * server.el (server-eval-at): Handle non-tcp connections.
1571 Decode result string.
ad0bf5b6 1572
e29ab36b
AS
1573 * server.el (server-msg-size): New constant.
1574 (server-reply-print): New function.
1575 (server-eval-and-print): Use it.
1576 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1577 Handle -print-nonl.
1578
de5939ba
CS
15792012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1580
1581 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1582 (Bug#10987).
1583
0c93eabf
CY
15842012-03-11 Chong Yidong <cyd@gnu.org>
1585
397a688f
CY
1586 * simple.el (goto-line): Doc fix (Bug#9938).
1587
2cc775f9
CY
1588 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1589
0c93eabf
CY
1590 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1591 when finished (Bug#10963).
1592
c491fa41
MR
15932012-03-11 Martin Rudalics <rudalics@gmx.at>
1594
1595 * window.el (split-window-below): Fix bug in case where
1596 split-window-keep-point is nil (Bug#10971).
1597
300e8fa5
JL
15982012-03-11 Juri Linkov <juri@jurta.org>
1599
1600 * replace.el (replace-highlight): Set isearch-word to nil
1601 unconditionally. (Bug#10887)
1602
dbf6c5a1
EZ
16032012-03-10 Eli Zaretskii <eliz@gnu.org>
1604
1605 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1606 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1607 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1608 (mairix-widget-create-query): Add usage information about mairix
1609 search forms: negating words, searching for substrings, etc.
1610
b9e501de
JP
16112012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1612
1613 * international/fontset.el (font-encoding-alist): Add an entry for
1614 ksx1001 (Bug#5667).
1615
92795c91
RS
16162012-03-10 Richard Stallman <rms@gnu.org>
1617
1694e6c1
RS
1618 * mail/sendmail.el (mail-encode-header):
1619 Set rfc2047-encode-encoded-words.
1620
607e8555
RS
1621 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1622
de3bc99a
RS
1623 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1624 view buffer means not swapped.
1625 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1626 (rmail-write-region-annotate): Error if real text has disappeared.
1627
92795c91
RS
1628 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1629
699bd04e
CY
16302012-03-10 Chong Yidong <cyd@gnu.org>
1631
1632 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1633 * emulation/cua-base.el (cua--init-keymaps):
1634 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1635
570a1714
MR
16362012-03-10 Martin Rudalics <rudalics@gmx.at>
1637
dbbc2e69
SM
1638 * speedbar.el (speedbar-unhighlight-one-tag-line):
1639 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1640
82dcf4e4
CY
16412012-03-10 Chong Yidong <cyd@gnu.org>
1642
7a2c7ca7
CY
1643 * minibuffer.el (completion-in-region, completion-help-at-point):
1644 Give the completion field overlay a high priority (Bug#6830).
1645
82dcf4e4
CY
1646 * dired.el (dired-goto-file): Recognize absolute file name
1647 listings (Bug#7126).
1648 (dired-goto-file-1): New helper function.
1649 (dired-toggle-read-only): Inhibit warnings.
1650
052e28ac
MA
16512012-03-09 Michael Albinus <michael.albinus@gmx.de>
1652
75f1671a 1653 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1654 there are no properties.
1655
95d5e396
LL
16562012-03-09 Leo Liu <sdl.web@gmail.com>
1657
1658 * savehist.el (savehist-printable): Stricter check for string
1659 value (Bug#10937).
1660
3f018d6d
EZ
16612012-03-09 Eli Zaretskii <eliz@gnu.org>
1662
dbbc2e69
SM
1663 * mail/smtpmail.el (smtpmail-send-it):
1664 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1665 valid mbox format.
1666
f7fd3d79
GM
16672012-03-09 Glenn Morris <rgm@gnu.org>
1668
1669 * files.el (dir-locals-find-file):
1670 Don't check result is regular, readable.
1671 (dir-locals-read-from-file): Demote errors.
1672
6ff6e72f
EZ
16732012-03-08 Eli Zaretskii <eliz@gnu.org>
1674
dbbc2e69
SM
1675 * international/quail.el (quail-insert-kbd-layout):
1676 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1677 layout cell, to prevent their reordering by bidi display engine.
1678 For details, see the discussion in
1679 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1680
9cec7834
AM
16812012-03-08 Alan Mackenzie <acm@muc.de>
1682
1683 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1684 the starting position; make it extend the marked region when
1685 invoked repeatedly - all under appropriate circumstances.
1686 Fixes bugs #5525, #10906.
1687
9a40b8d4
GM
16882012-03-08 Glenn Morris <rgm@gnu.org>
1689
1690 * files.el (locate-dominating-file, dir-locals-find-file):
1691 Undo 2012-03-06 change.
1692
7a08ed35
EZ
16932012-03-07 Eli Zaretskii <eliz@gnu.org>
1694
dbbc2e69
SM
1695 * international/quail.el (quail-help):
1696 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1697 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1698 for the reason.
1699
5aca4f71 17002012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1701
1702 Avoid superfluous registering of signals. (Bug#10807)
1703
1704 * notifications.el (notifications-on-action-object)
1705 (notifications-on-close-object): New defvars.
1706 (notifications-on-action-signal, notifications-on-closed-signal):
1707 Unregister the signal if not needed any longer.
1708 (notifications-notify): Register `notifications-action-signal' or
1709 `notifications-closed-signal', if :on-action or :on-close has been
1710 passed as argument.
1711
78e8b10a
CY
17122012-03-07 Chong Yidong <cyd@gnu.org>
1713
1714 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1715 non-X platforms.
1716
69481eb8
GM
17172012-03-06 Glenn Morris <rgm@gnu.org>
1718
1719 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1720 (x-disown-selection-internal, x-get-selection-internal):
1721 Doc fix (add arglist signatures). (Bug#10783)
1722
133b8e11
KS
17232012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1724
1725 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1726 Handle breakpoints with no "type".
1727
99a83064
GM
17282012-03-06 Glenn Morris <rgm@gnu.org>
1729
1730 * files.el (locate-dominating-file): Add optional predicate argument.
1731 (dir-locals-find-file): Make use of above change.
1732
17798e78
TTN
17332012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1734
1735 * info.el (Info-insert-dir): Also try "dir.gz".
1736
eb182446
GM
17372012-03-06 Glenn Morris <rgm@gnu.org>
1738
8f2114ee
GM
1739 * files.el (dir-locals-find-file):
1740 Ignore non-readable or non-regular files. (Bug#10928)
1741
eb182446
GM
1742 * files.el (locate-dominating-file): Doc fix.
1743
24679323
AS
17442012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1745
1746 * calendar/calendar.el (calendar-set-mode-line):
1747 `getenv' returns a string. (Bug#10951)
1748
01d972a9
LL
17492012-03-05 Leo Liu <sdl.web@gmail.com>
1750
109aa8a9
LL
1751 * simple.el (backward-delete-char-untabify): Constrain point to
1752 field (Bug#10939).
1753
01d972a9
LL
1754 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1755
10607bea
CY
17562012-03-05 Chong Yidong <cyd@gnu.org>
1757
1758 * simple.el (count-words): If called from Lisp, return the word
1759 count, for symmetry with `count-lines'. Arglist changed.
1760 (count-words--message): Args changed. Consolidate counting code
1761 from count-words and count-words-region.
1762 (count-words-region): Caller changed.
1763 (count-lines-region): Make it an obsolete alias.
1764
5dd11cfe
TH
17652012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1766
1767 * saveplace.el (save-place-to-alist)
1768 (save-place-ignore-files-regexp): Allow value nil to disable this
1769 feature.
1770
c349f4e6
CY
17712012-03-04 Chong Yidong <cyd@gnu.org>
1772
1773 * faces.el (face-spec-reset-face): For the default face, reset the
1774 attributes to default values (Bug#10748).
1775
e627be4c
LMI
17762012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1777
1778 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1779 previous patch: Check `message-send-mail-function', and not the
1780 default function (bug#10897).
1781
ebeabff4
MA
17822012-03-04 Michael Albinus <michael.albinus@gmx.de>
1783
a41a6cf4
MA
1784 * notifications.el (notifications-on-action-signal)
1785 (notifications-on-closed-signal): Check for unique service name of
1786 incoming event. Fix error in removing entry.
ebeabff4 1787 (top): Register for signals with wildcard service name.
a41a6cf4 1788 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1789
c1ca42b4
CY
17902012-03-04 Chong Yidong <cyd@gnu.org>
1791
dc9924b8 1792 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1793
ea16568d
GM
17942012-03-04 Glenn Morris <rgm@gnu.org>
1795
1796 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1797 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1798 (expand-abbrev, define-abbrev-table): Doc fixes.
1799
fbae4637
LMI
18002012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1801
1802 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1803 `message-default-send-mail-function' and not `send-mail-function'
1804 when doing the prompting for `sendmail-query-once' before sending
1805 in Message buffers (bug#10897).
1806
a1e7225c
LMI
1807 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1808 This is inconsistent with all the other stream functions, which leave
1809 the setting up to the higher levels (if so wanted) (bug#10931).
1810
56d093a9
AM
18112012-03-02 Alan Mackenzie <acm@muc.de>
1812
1813 Depessimize the handling of very large macros.
1814
1815 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1816 (c-macro-cache-syntactic): New variables to implement a one
1817 element macro cache.
1818 (c-invalidate-macro-cache): New function.
1819 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1820 Adapt to use the new cache.
1821 (c-state-safe-place): Use better the cache of safe positions.
1822 (c-state-semi-nonlit-pos-cache)
1823 (c-state-semi-nonlit-pos-cache-limit):
1824 New variables for...
1825 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1826 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1827 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1828 Use c-state-semi-safe-place.
56d093a9 1829
dbbc2e69
SM
1830 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1831 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1832
817e5c3d
MA
18332012-03-02 Michael Albinus <michael.albinus@gmx.de>
1834
dbbc2e69
SM
1835 * jka-compr.el (jka-compr-call-process):
1836 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1837 not remote.
1838
a032a702
MA
18392012-03-01 Michael Albinus <michael.albinus@gmx.de>
1840
1841 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1842 access of FILE2, if FILE1 does not exist.
1843
99a54f21
MA
1844 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1845 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1846
1847 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1848 Add "PAGER=" to `process-environment'.
1849
f6561e1f
MM
18502012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1851
1852 * progmodes/sql.el: Bug fix
1853 (sql-get-login-ext): Save login values in globals.
1854 (sql-get-login): Use new version of `sql-get-login-ext'.
1855 (sql-interactive-mode): Set global `sql-connection' to nil.
1856 (sql-connect): Set global values for connection.
1857 (sql-product-interactive): Save global values as buffer local.
1858
2d44d9cc
LL
18592012-02-29 Leo Liu <sdl.web@gmail.com>
1860
1861 * abbrev.el (define-abbrevs): Reset sys to nil.
1862
96b49301 18632012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1864
bf7f9bc5
JB
1865 * files.el (file-equal-p): Rename from `files-equal-p'.
1866 Return nil when one or both files don't exist.
96b49301 1867 (file-subdir-of-p): Now only top directory must exists,
1868 return nil if it doesn't.
bf7f9bc5
JB
1869 (copy-directory): No need to test with `file-subdir-of-p' after
1870 creating dir.
1871 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1872 to `file-equal-p'.
96b49301 1873
44e97401
GM
18742012-02-28 Glenn Morris <rgm@gnu.org>
1875
1876 * shell.el (shell-mode):
1877 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1878 * play/landmark.el (landmark-font-lock-face-O):
1879 * play/handwrite.el (handwrite):
1880 * play/gomoku.el (gomoku-O):
1881 * net/browse-url.el (browse-url-browser-display):
1882 * international/mule.el (define-charset):
1883 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1884 * filesets.el (filesets-find-file-delay):
1885 * eshell/em-xtra.el (eshell-xtra):
1886 * eshell/em-unix.el (eshell-grep):
1887 * emulation/viper.el (viper-mode):
1888 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1889 * emacs-lisp/easymenu.el (easy-menu-define):
1890 * calendar/timeclock.el (timeclock-use-display-time):
1891 * bs.el (bs-mode):
1892 * bookmark.el (bookmark-save-flag):
1893 Doc fix (standardize possessive apostrophe usage).
1894
c98c6276
CY
18952012-02-27 Chong Yidong <cyd@gnu.org>
1896
bf7f9bc5
JB
1897 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1898 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1899
c98c6276
CY
1900 * font-lock.el (font-lock-specified-p): Rename from
1901 font-lock-spec-present. Callers changed.
1902
9c62cd04 19032012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1904
bf7f9bc5
JB
1905 * emacs-lisp/package.el (package-compute-transaction):
1906 Handle holding a package version to t in package-load-list.
8ac9e529 1907
530739c9
MA
19082012-02-26 Michael Albinus <michael.albinus@gmx.de>
1909
1910 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1911 (tramp-get-inode, tramp-get-device): Use cached values.
1912
487915d7
AM
19132012-02-26 Alan Mackenzie <acm@muc.de>
1914
1915 Check there is a font-lock specification before doing initial
1916 fontification.
1917
1918 * font-core.el (font-lock-mode): Move the conditional from
1919 :after-hook to font-lock-initial-fontify.
1920 (font-lock-default-function): Move the check for a specification
1921 to font-lock-spec-present.
1922
dc9924b8 1923 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1924 (font-lock-spec-present): New function.
1925
4fd96557
JB
19262012-02-26 Jim Blandy <jimb@red-bean.com>
1927
1928 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1929 (gdb-send): Apply it to the operand of the '-interpreter-exec
1930 console' command, so that we can pass arguments with (say) quotes
1931 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1932
9a4888c0
CY
19332012-02-26 Chong Yidong <cyd@gnu.org>
1934
07498861
CY
1935 * help-fns.el (describe-function-1): Clarify description of
1936 remapping (Bug#10844).
1937
9a4888c0
CY
1938 * files.el (files-equal-p): Doc fix.
1939 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1940 and quit the loop once a mismatch is found.
1941
ea8fb88d
JB
19422012-02-25 Juanma Barranquero <lekktu@gmail.com>
1943
1944 * bs.el (bs--show-with-configuration): Don't throw an error
1945 if the window cannot be split; otherwise, subsequent calls to
1946 bs-show fail, restoring a stale window config. (Bug#10882)
1947
525795c1
JD
19482012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1949
1950 * term/ns-win.el (global-map): Bind ns-drag-file to
1951 ns-find-file (Bug#5855, Bug#10050).
1952
f008086f
AS
19532012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1954
1955 * calendar/parse-time.el (parse-time-string): Allow extractor to
1956 return nil.
1957
a3fcfa99
MA
19582012-02-25 Michael Albinus <michael.albinus@gmx.de>
1959
91027d08
JB
1960 * net/tramp.el (tramp-file-name-for-operation):
1961 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1962
1963 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1964 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1965 Add COPY-CONTENTS argument.
a3fcfa99 1966
67b0de11
CY
19672012-02-25 Chong Yidong <cyd@gnu.org>
1968
1969 Add custom groups for VC backends, for consistency with vc-bzr.
1970
1971 * vc/vc-arch.el (vc-arch):
1972 * vc/vc-cvs.el (vc-cvs):
1973 * vc/vc-git.el (vc-git):
1974 * vc/vc-hg.el (vc-hg):
1975 * vc/vc-mtn.el (vc-mtn):
1976 * vc/vc-rcs.el (vc-rcs):
1977 * vc/vc-sccs.el (vc-sccs):
1978 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1979 All relevant defcustoms reassigned.
1980
3c9dfce6
CY
19812012-02-25 Chong Yidong <cyd@gnu.org>
1982
1339bf43
CY
1983 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1984
3c9dfce6
CY
1985 * term/x-win.el (x-initialize-window-system): Reduce default for
1986 x-selection-timeout to 5 seconds (Bug#8869).
1987
25b2e303 19882012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1989
ec70a47d
GM
1990 * files.el (files-equal-p, file-subdir-of-p): New functions.
1991 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1992 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1993 * dired-aux.el (dired-copy-file-recursive): Same.
1994 (dired-create-files): Modify destination when source is equal to
1995 dest when copying files.
53a46cd0 1996 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1997
914260cd
MA
19982012-02-24 Michael Albinus <michael.albinus@gmx.de>
1999
2000 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2001 (Bug#10874)
2002
2cb228f7
AM
20032012-02-23 Alan Mackenzie <acm@muc.de>
2004
2005 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2006 parameter "after-hook:" to allow the expansion to run code after
2007 the execution of the mode hooks.
2008
2009 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2010 from font-lock-mode-internal.
2cb228f7 2011
91027d08 2012 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2013 :after-hook.
2014
8f0fde21
SM
20152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2016
3e88618b
SM
2017 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2018 (completion--cache-all-sorted-completions): New function.
2019 (completion-all-sorted-completions): Use it.
2020 (completion--do-completion, minibuffer-force-complete):
2021 Use it to re-instate the flush hook.
2022
8f0fde21
SM
2023 * icomplete.el (icomplete-completions): Replace last fix with a better
2024 one (bug#10850).
2025
8e911f6f
DG
20262012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2029 when it might call us back infinitely (bug#10797).
2030
49fe4321
GM
20312012-02-23 Glenn Morris <rgm@gnu.org>
2032
2033 * minibuffer.el (completion-category-overrides): Doc fix.
2034
b291b572
SM
20352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2038 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2039
31a9ef2e
GM
20402012-02-23 Glenn Morris <rgm@gnu.org>
2041
5e6e6794 2042 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2043 (authors-obsolete-files-regexps, authors-ignored-files)
2044 (authors-ambiguous-files, authors-renamed-files-alist):
2045 Add more entries.
2046
0bd1e074
JL
20472012-02-23 Juri Linkov <juri@jurta.org>
2048
2049 * isearch.el (isearch-occur): Sync interactive spec with occur's
2050 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2051
b617673c
JL
2052 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2053
19e9789e
JL
20542012-02-22 Juri Linkov <juri@jurta.org>
2055
2056 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2057 (ucs-insert): Doc fix. Check for hex digits in the string.
2058 Don't display `nil' in the error message. (Bug#10857)
2059
f41ce09d
AM
20602012-02-22 Alan Mackenzie <acm@muc.de>
2061
7a71b18d 2062 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2063
ac2eceee
GM
20642012-02-22 Glenn Morris <rgm@gnu.org>
2065
2066 * ffap.el (ffap-c-path):
2067 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2068
abd1f678
CY
20692012-02-22 Chong Yidong <cyd@gnu.org>
2070
2071 * custom.el (load-theme): Doc fix.
2072
f25aef2e
GM
20732012-02-22 Glenn Morris <rgm@gnu.org>
2074
2075 * dired-x.el (dired-guess-shell-alist-default):
2076 Remove escape sequences from nroff output. (Bug#172)
2077
5f8dc2ca
GM
20782012-02-21 Glenn Morris <rgm@gnu.org>
2079
6ff86ec4
GM
2080 * vc/emerge.el (emerge-defvar-local):
2081 Set `permanent-local' property rather than unused `preserved'.
2082
be3223a3 2083 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2084 (picture-mode-map): Use it. (Bug#10860)
2085 (picture-mode): Doc fix.
2086
3fe58f4f
JB
20872012-02-21 Juanma Barranquero <lekktu@gmail.com>
2088
2089 * newcomment.el (uncomment-region-default): Remove unused binding.
2090
f9a998c3
GM
20912012-02-21 Glenn Morris <rgm@gnu.org>
2092
2093 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2094 (picture-self-insert, picture-tab-chars): Doc fix.
2095 (picture-mode-map): Fix C-a, C-e.
2096
c6029348
GM
20972012-02-20 Glenn Morris <rgm@gnu.org>
2098
2099 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2100
ab1ce9d7
LL
21012012-02-20 Leo Liu <sdl.web@gmail.com>
2102
2103 * icomplete.el (icomplete-completions): Check FROM arg before
2104 passing to substring (Bug#10850).
2105
0fd40f89
CY
21062012-02-19 Chong Yidong <cyd@gnu.org>
2107
2108 * comint.el: Require ansi-color.
2109 (comint-output-filter-functions): Add ansi-color-process-output.
2110
2111 * ansi-color.el: Don't set comint-output-filter-functions; it is
2112 now in the initial value defined in comint.el.
2113 (ansi-color-apply-face-function): New variable.
2114 (ansi-color-apply-on-region): Use it.
2115 (ansi-color-apply-overlay-face): New function.
2116
2117 * shell.el (shell): No need to require ansi-color.
2118 (shell-mode): Use ansi-color-apply-face-function to highlight
2119 color escapes using font-lock-face property (Bug#10835).
2120
20af2394
CY
21212012-02-19 Chong Yidong <cyd@gnu.org>
2122
2123 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2124 mode-line formats (Bug#10839).
2125
e23a3fbe
GM
21262012-02-18 Glenn Morris <rgm@gnu.org>
2127
b474519e
GM
2128 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2129
2130 * mail/undigest.el (unforward-rmail-message): Doc fix.
2131
e23a3fbe
GM
2132 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2133
57939ff4
EZ
21342012-02-18 Eli Zaretskii <eliz@gnu.org>
2135
2136 * international/characters.el (script-list): Sync with the latest
2137 Unicode Character Database.
2138
0c23686e
AS
21392012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2140
2141 * international/titdic-cnv.el: Remove duplicate coding tag.
2142 * language/cham.el: Likewise.
2143 * language/tai-viet.el: Likewise.
2144
6818b449
GM
21452012-02-18 Glenn Morris <rgm@gnu.org>
2146
2147 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2148 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2149 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2150 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2151 * calendar/holidays.el (holiday-bahai-holidays)
2152 (calendar-holidays, list-holidays):
2153 Use utf-8 Bahá'í in doc-strings, menus, etc.
2154
0311a3fc
TH
21552012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2156
2157 * saveplace.el (save-place-ignore-files-regexp): New variable
2158 allowing for excluding files from saving their location of point.
2159 The default value matches the temporary commit message editing
2160 files from Git, SVN, Bazaar, and Mercurial.
2161 (save-place-to-alist): Use it.
2162
eb864a71
LM
21632012-02-17 Lawrence Mitchell <wence@gmx.li>
2164 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * newcomment.el (uncomment-region-default): Don't leave extra space
2167 when an arg is provided (bug#8150).
2168
ee0ce425
TZ
21692012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2170
eb864a71 2171 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2172
95ddf442
GM
21732012-02-17 Glenn Morris <rgm@gnu.org>
2174
2175 * net/socks.el: Require network-stream. (Bug#10599)
2176
48dd1e39 21772012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2178
2179 * international/charprop.el:
2180 * international/uni-name.el:
2181 * international/uni-old-name.el:
2182 * international/uni-comment.el: Regenerate.
2183
d68cd087
GM
21842012-02-16 Glenn Morris <rgm@gnu.org>
2185
2186 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2187 Interactively in calendar buffer, give an error if not on a date.
2188
13932042
GM
21892012-02-15 Glenn Morris <rgm@gnu.org>
2190
2191 * shell.el (shell-delimiter-argument-list):
2192 Revert 2011-02-17 change. (Bug#8027)
2193
c3a70e2b
CY
21942012-02-15 Chong Yidong <cyd@gnu.org>
2195
60236b0d
CY
2196 * minibuffer.el (completion-at-point-functions): Doc fix.
2197
c3a70e2b
CY
2198 * custom.el (defcustom): Doc fix; note use of defvar.
2199
9f26dc24
GM
22002012-02-15 Glenn Morris <rgm@gnu.org>
2201
2202 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2203 Doc fixes.
2204
6546b134
GM
22052012-02-14 Glenn Morris <rgm@gnu.org>
2206
2207 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2208
d29b2b4c
LI
22092012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2210
2211 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2212 way the ports list is computed.
835bdcba
LI
2213 (smtpmail-query-smtp-server): Prompt the user for a port number if
2214 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2215
08dcdbc9
TZ
22162012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2217
2218 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2219
2605051a
GM
22202012-02-13 Glenn Morris <rgm@gnu.org>
2221
2222 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2223
7ee99f32
TZ
22242012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2225
2226 * net/gnutls.el (gnutls-trustfiles): New variable.
2227 (gnutls-negotiate): Use it.
2228
5f0af64f
LI
22292012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2230
2231 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2232 does its stuff if Gnus is running.
2233
c14fcc95
AM
22342012-02-13 Alan Mackenzie <acm@muc.de>
2235
2236 Fix a loop in c-set-fl-decl-start.
2237
7a71b18d 2238 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2239 c-backward-syntactic-ws actually moves backwards.
2240
142b4d90
LL
22412012-02-13 Leo Liu <sdl.web@gmail.com>
2242
2243 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2244 beginning so that all \C-o chars are removed.
2245
fa9958a6
TZ
22462012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2247
dc9924b8 2248 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2249
0bc5886a
AM
22502012-02-12 Alan Mackenzie <acm@muc.de>
2251
2252 Fix infinite loop with long macros.
4d6769e1 2253 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2254
d4bd55e7
CY
22552012-02-12 Chong Yidong <cyd@gnu.org>
2256
2257 * window.el (display-buffer): Doc fix (Bug#10785).
2258
66f3fe22
GM
22592012-02-12 Glenn Morris <rgm@gnu.org>
2260
bd7da63e
GM
2261 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2262 (x-disown-selection-internal, x-get-selection-internal):
2263 Sync docs with the xselect.c versions.
2264
66f3fe22
GM
2265 * allout-widgets.el: Add missing license notice.
2266
3e0d2fa7
GM
22672012-02-11 Glenn Morris <rgm@gnu.org>
2268
cfecdf09
GM
2269 * select.el (x-get-selection-internal, x-own-selection-internal)
2270 (x-disown-selection-internal):
2271 * x-dnd.el (x-get-selection-internal): Update declarations.
2272
6d216d7f
GM
2273 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2274
2bed3f04
GM
2275 * window.el (window-sides-slots):
2276 * tool-bar.el (tool-bar-position):
2277 * term/xterm.el (xterm-extra-capabilities):
2278 * ses.el (ses-self-reference-early-detection):
2279 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2280 (verilog-auto-wire-type)
2281 (verilog-auto-delete-trailing-whitespace)
2282 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2283 (verilog-auto-tieoff-declaration):
2284 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2285 (sql-oracle-statement-starters, sql-oracle-scan-on):
2286 * progmodes/prolog.el (prolog-align-comments-flag)
2287 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2288 (prolog-left-indent-regexp, prolog-paren-indent-p)
2289 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2290 (prolog-types, prolog-mode-specificators)
2291 (prolog-determinism-specificators, prolog-directives)
2292 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2293 (prolog-electric-dot-flag)
2294 (prolog-electric-dot-full-predicate-template)
2295 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2296 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2297 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2298 (prolog-program-switches, prolog-prompt-regexp)
2299 (prolog-debug-on-string, prolog-debug-off-string)
2300 (prolog-trace-on-string, prolog-trace-off-string)
2301 (prolog-zip-on-string, prolog-zip-off-string)
2302 (prolog-use-standard-consult-compile-method-flag)
2303 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2304 (prolog-imenu-max-lines, prolog-info-predicate-index)
2305 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2306 (prolog-char-quote-workaround):
2307 * progmodes/cc-vars.el (c-defun-tactic):
2308 * net/tramp.el (tramp-encoding-command-interactive)
2309 (tramp-local-end-of-line):
2310 * net/soap-client.el (soap-client):
2311 * net/netrc.el (netrc-file):
2312 * net/gnutls.el (gnutls):
2313 * minibuffer.el (completion-category-overrides)
2314 (completion-cycle-threshold)
2315 (completion-pcm-complete-word-inserts-delimiters):
2316 * man.el (Man-name-local-regexp):
2317 * mail/feedmail.el (feedmail-display-full-frame):
2318 * international/characters.el (glyphless-char-display-control):
2319 * eshell/em-ls.el (eshell-ls-date-format):
2320 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2321 (lisp-lambda-list-keyword-parameter-indentation)
2322 (lisp-lambda-list-keyword-parameter-alignment):
2323 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2324 * dired-x.el (dired-omit-verbose):
2325 * cus-theme.el (custom-theme-allow-multiple-selections):
2326 * calc/calc.el (calc-highlight-selections-with-faces)
2327 (calc-lu-field-reference, calc-lu-power-reference)
2328 (calc-note-threshold):
2329 * battery.el (battery-mode-line-limit):
2330 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2331 (archive-7z-update):
2332 * allout.el (allout-prefixed-keybindings)
2333 (allout-unprefixed-keybindings)
2334 (allout-inhibit-auto-fill-on-headline)
2335 (allout-flattened-numbering-abbreviation):
2336 * allout-widgets.el (allout-widgets-auto-activation)
2337 (allout-widgets-icons-dark-subdir)
2338 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2339 (allout-widgets-theme-dark-background)
2340 (allout-widgets-theme-light-background)
2341 (allout-widgets-item-image-properties-emacs)
2342 (allout-widgets-item-image-properties-xemacs)
2343 (allout-widgets-run-unit-tests-on-load)
2344 (allout-widgets-time-decoration-activity)
2345 (allout-widgets-hook-error-post-time)
2346 (allout-widgets-track-decoration):
2347 Add missing :version tags to new defcustoms and defgroups.
2348
5fec1b8e
GM
2349 * progmodes/sql.el (sql-ansi-statement-starters)
2350 (sql-oracle-statement-starters): Add custom type.
2351
3e0d2fa7
GM
2352 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2353 (prolog-system-version): Give it a type.
2354
90b671e2
EZ
23552012-02-11 Eli Zaretskii <eliz@gnu.org>
2356
2357 * term/pc-win.el (x-select-text, x-selection-owner-p)
2358 (x-own-selection-internal, x-disown-selection-internal)
2359 (x-get-selection-internal): Sync doc strings and argument lists
2360 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2361
5eac0c02
LL
23622012-02-11 Leo Liu <sdl.web@gmail.com>
2363
2364 * progmodes/python.el (python-end-of-statement): Fix infinite
2365 loop. (Bug#10788)
2366
f82cb659
GM
23672012-02-10 Glenn Morris <rgm@gnu.org>
2368
2369 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2370 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2371
cc26d239
LI
23722012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2373
2374 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2375 about SMTP before checking the From header.
2376
91027d08 2377 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2378 into own function for reuse by emacsbug.el.
2379
1be3ca5a
LL
23802012-02-10 Leo Liu <sdl.web@gmail.com>
2381
2382 * subr.el (condition-case-unless-debug): Rename from
2383 condition-case-no-debug. All callers changed.
2384 (with-demoted-errors): Fix caller.
2385
2386 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2387 * nxml/rng-valid.el (rng-do-some-validation):
2388 * emacs-lisp/package.el (package-refresh-contents)
2389 (package-menu-execute):
2390 * desktop.el (desktop-create-buffer):
91027d08 2391 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2392
b011fbfe
GM
23932012-02-10 Glenn Morris <rgm@gnu.org>
2394
b2096d72
GM
2395 * textmodes/bibtex.el:
2396 Add missing :version tags for new/changed defcustoms.
2397
b011fbfe
GM
2398 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2399
4c7e65bf
LI
24002012-02-09 Lars Ingebrigtsen <larsi@rusty>
2401
2402 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2403 (smtpmail-via-smtp): Use it, or fall back on the From address.
2404 (smtpmail-send-it): Ditto.
2405
f3934f6f
SM
24062012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2407
2408 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2409 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2410 (byte-compile-tmp-var): New const.
2411 (byte-compile-defvar): Use it to minimize .elc size.
2412 Just use `defvar' rather than simulate it (bug#10761).
2413
a075a2c5
GM
24142012-02-09 Glenn Morris <rgm@gnu.org>
2415
cf3aa21b
GM
2416 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2417
354998cd
GM
2418 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2419 Add :version tags.
2420
dc9924b8
SM
2421 * progmodes/compile.el (compilation-error-screen-columns)
2422 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2423
dab3703d
GM
2424 * vc/log-view.el (log-view-toggle-entry-display):
2425 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2426
3f88cd72
GM
2427 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2428 (report-emacs-bug-can-use-xdg-email):
2429 (report-emacs-bug-insert-to-mailer): Doc fixes.
2430 (report-emacs-bug): Message fix.
2431
d95b247d
GM
2432 * net/browse-url.el (browse-url-can-use-xdg-open)
2433 (browse-url-xdg-open): Doc fixes.
2434
a075a2c5
GM
2435 * electric.el (electric-indent-mode, electric-pair-mode)
2436 (electric-layout-rules, electric-layout-mode): Doc fixes.
2437 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2438
ffb6157e
MR
24392012-02-08 Martin Rudalics <rudalics@gmx.at>
2440
2441 * server.el (server-unselect-display): Don't inadvertently kill
2442 the current buffer. (Bug#10729)
2443
e1ac4066
GM
24442012-02-08 Glenn Morris <rgm@gnu.org>
2445
34e8a2da
GM
2446 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2447 (sql-list-table): Doc fixes.
2448
b4ac6e8c
GM
2449 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2450 Comment out (does nothing).
2451
e1ac4066
GM
2452 * completion.el (dynamic-completion-mode):
2453 * dirtrack.el (dirtrack-debug-mode):
2454 * electric.el (electric-layout-mode):
2455 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2456 * face-remap.el (text-scale-mode, buffer-face-mode):
2457 * iimage.el (iimage-mode):
2458 * image-mode.el (image-transform-mode):
2459 * minibuffer.el (completion-in-region-mode):
2460 * scroll-lock.el (scroll-lock-mode):
2461 * simple.el (next-error-follow-minor-mode):
2462 * tar-mode.el (tar-subfile-mode):
2463 * tooltip.el (tooltip-mode):
2464 * vcursor.el (vcursor-use-vcursor-map):
2465 * wid-browse.el (widget-minor-mode):
2466 * emulation/tpu-edt.el (tpu-edt-mode):
2467 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2468 * international/iso-ascii.el (iso-ascii-mode):
2469 * language/thai-util.el (thai-word-mode):
2470 * mail/supercite.el (sc-minor-mode):
2471 * net/goto-addr.el (goto-address-mode):
2472 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2473 * progmodes/cwarn.el (cwarn-mode):
2474 * progmodes/flymake.el (flymake-mode):
2475 * progmodes/glasses.el (glasses-mode):
2476 * progmodes/hideshow.el (hs-minor-mode):
2477 * progmodes/pascal.el (pascal-outline-mode):
2478 * textmodes/enriched.el (enriched-mode):
2479 * vc/smerge-mode.el (smerge-mode):
2480 Doc fixes (minor mode argument).
2481
5e0d957f
EZ
24822012-02-07 Eli Zaretskii <eliz@gnu.org>
2483
2484 * ls-lisp.el (ls-lisp-sanitize): New function.
2485 (ls-lisp-insert-directory): Use it to fix or remove any elements
2486 in file-alist with missing attributes. (Bug#4673)
2487
98d7371e
AM
24882012-02-07 Alan Mackenzie <acm@muc.de>
2489
2490 Fix spurious recognition of c-in-knr-argdecl.
2491
2492 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2493 putative K&R region.
2494
667ced3a
AM
24952012-02-07 Alan Mackenzie <acm@muc.de>
2496
eb864a71
LM
2497 * progmodes/cc-engine.el (c-forward-objc-directive):
2498 Prevent looping in "#pragma mark @implementation".
667ced3a 2499
5b77774d
MA
25002012-02-07 Michael Albinus <michael.albinus@gmx.de>
2501
2502 * notifications.el (notifications-on-closed-signal): Make `reason'
2503 optional. (Bug#10744)
2504
af008560
GM
25052012-02-07 Glenn Morris <rgm@gnu.org>
2506
60d47423
GM
2507 * emacs-lisp/easy-mmode.el (define-minor-mode):
2508 Doc fixes for the macro and the mode it defines.
2509
dd605cc4
GM
2510 * image.el (imagemagick-types-inhibit): Doc fix.
2511
af008560
GM
2512 * cus-start.el (imagemagick-render-type): Add it.
2513
5cc59a37
LI
25142012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2515
4d6769e1
JB
2516 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2517 Set the default at load time, too, so that `font-lock-fontify-buffer'
2518 can be called without setting up the entire mode first. This fixes
2519 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2520
9a6dd747
CY
25212012-02-06 Chong Yidong <cyd@gnu.org>
2522
2d16b285
CY
2523 * simple.el (list-processes--refresh): Delete exited processes
2524 (Bug#8094).
2525
171e9b6e
CY
2526 * comint.el (comint-next-prompt): next-single-char-property-change
2527 and prev-single-char-property-change never return nil (Bug#8657).
2528
9a6dd747
CY
2529 * custom.el (defcustom): Doc fix (Bug#9711).
2530
aa4589a7
CY
25312012-02-05 Chong Yidong <cyd@gnu.org>
2532
5c2a252f
CY
2533 * cus-edit.el (custom-variable-reset-backup): Quote the value
2534 before storing it in the customized-value property (Bug#6712).
4aab9006 2535 (custom-display): Add a customization type tag.
983b9602 2536 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2537
aa4589a7
CY
2538 * wid-edit.el (widget-field-value-get): New optional arg to
2539 suppress trailing whitespace truncation.
2540 (character): Use it (Bug#2689).
2541
1ff980ae
AS
25422012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2543
2544 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2545 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2546
03988c98
CY
25472012-02-05 Chong Yidong <cyd@gnu.org>
2548
eeb6cc88
CY
2549 * cus-edit.el (custom-variable-value-create): For mismatched
2550 types, show the current value (Bug#7600).
2551
03988c98
CY
2552 * custom.el (defcustom): Doc fix.
2553
f8cdeef0
GM
25542012-02-05 Glenn Morris <rgm@gnu.org>
2555
2556 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2557
0696d255
JB
25582012-02-05 Juanma Barranquero <lekktu@gmail.com>
2559
2560 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2561 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2562 (pp-last-sexp): Use `looking-at-p'.
2563
34c99998
GM
25642012-02-04 Glenn Morris <rgm@gnu.org>
2565
8f05da42
GM
2566 * files.el (revert-buffer):
2567 Doc fix (mention revert-buffer-in-progress-p).
2568
f160676e
GM
2569 * emacs-lisp/ert-x.el (ert-simulate-command):
2570 Check deferred-action-list (which is obsolete) is bound.
2571
c7291ad9
GM
2572 * subr.el (with-wrapper-hook): Doc fixes.
2573
34c99998
GM
2574 * simple.el (filter-buffer-substring-functions)
2575 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2576
6283a7d3
LL
25772012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2578
2579 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2580 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2581
e96e3013
LL
25822012-02-04 Leo Liu <sdl.web@gmail.com>
2583
2584 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2585
8ded50f2
GM
25862012-02-04 Glenn Morris <rgm@gnu.org>
2587
82ff1d13
GM
2588 * image.el (image-extension-data): Add obsolete alias.
2589
987a0a16
GM
2590 * isearch.el (isearch-update): Doc fix.
2591
ea32ef46
GM
2592 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2593
8ded50f2
GM
2594 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2595
eea14f31
GM
25962012-02-03 Glenn Morris <rgm@gnu.org>
2597
2598 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2599 (image-animate-timeout): Doc fix.
2600
2601 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2602
12f381b7
GM
26032012-02-02 Glenn Morris <rgm@gnu.org>
2604
953cebf5
GM
2605 * server.el (server-auth-dir): Doc fix.
2606 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2607
12f381b7
GM
2608 * subr.el (run-mode-hooks): Doc fix.
2609
953a8c3b
JL
26102012-02-02 Juri Linkov <juri@jurta.org>
2611
2612 * image-mode.el (image-toggle-display-image): Remove tautological
2613 `major-mode' from the `derived-mode-p' test.
2614
c5d3843c
KH
26152012-02-02 Kenichi Handa <handa@m17n.org>
2616
9f6e692e 2617 * composite.el (compose-region): Cancel previous change.
c5d3843c 2618
159462d4 26192012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2620
2621 * composite.el (compose-region, compose-string): Signal error for
2622 a null string component (Bug#6988).
2623
9f562668
CY
26242012-02-01 Chong Yidong <cyd@gnu.org>
2625
e2cef717
CY
2626 * view.el (view-buffer-other-window, view-buffer-other-frame):
2627 Handle special modes like view-buffer (Bug#10650).
2628 (view-buffer): Simplify.
2629
9f562668
CY
2630 * frame.el (set-frame-font): Tweak meaning of third argument.
2631
9f6e692e
JB
2632 * dynamic-setting.el (font-setting-change-default-font):
2633 Use set-frame-font (Bug#9982).
9f562668 2634
781acb9f
GM
26352012-02-01 Glenn Morris <rgm@gnu.org>
2636
6035be52
GM
2637 * progmodes/compile.el (compilation-internal-error-properties):
2638 Respect compilation-first-column in the "*compilation*" buffer.
2639
781acb9f
GM
2640 * emacs-lisp/easy-mmode.el (define-minor-mode):
2641 Relax :variable's test for a named function.
2642
abbceb00
AM
26432012-01-31 Alan Mackenzie <acm@muc.de>
2644
2645 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2646 off by one error.
2647
fce3fdeb
CY
26482012-01-31 Chong Yidong <cyd@gnu.org>
2649
2650 * frame.el (set-frame-font): New arg ALL-FRAMES.
2651
2652 * menu-bar.el (menu-set-font): Use set-frame-font.
2653
2654 * faces.el (face-spec-reset-face): Don't apply unspecified
2655 attribute values to the default face.
2656
47893581
JB
26572012-01-31 Juanma Barranquero <lekktu@gmail.com>
2658
2659 * progmodes/cwarn.el (cwarn): Remove dead link.
2660 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2661 Remove * from defcustom docstrings.
2662 (turn-on-cwarn-mode): Make obsolete.
2663 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2664 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2665
e58e988a
GM
26662012-01-31 Glenn Morris <rgm@gnu.org>
2667
60dc2671 2668 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2669 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2670 Allow named functions to be used as the cdr of :variable.
e58e988a 2671
7a3f511d
GM
26722012-01-30 Glenn Morris <rgm@gnu.org>
2673
2674 * emacs-lisp/authors.el (authors-fixed-entries):
2675 Remove reference to deleted file rnewspost.el.
2676
cb882333
JB
26772012-01-29 Juanma Barranquero <lekktu@gmail.com>
2678
2679 * window.el (window-with-parameter): Remove unused variable `windows'.
2680 (window--side-check): Remove unused variable `code'.
2681 (window--resize-siblings): Remove unused variable `first'.
2682 (adjust-window-trailing-edge): Remove unused variable `failed'.
2683 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2684 Use `let', not `let*'.
2685 (balance-windows-2): Remove unused variable `found'.
2686 (window--state-put-2): Remove unused variable `splits'.
2687 (window-state-put): Remove unused variable `selected'.
2688 (same-window-p): Use `string-match-p'.
2689 (display-buffer-assq-regexp): Remove unused variable `value'.
2690 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2691 Mark argument ALIST as ignored.
2692 (pop-to-buffer): Remove unused variable `old-window'.
2693
907201af
EZ
26942012-01-29 Eli Zaretskii <eliz@gnu.org>
2695
2696 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2697 and .lzma compressed files.
2698
ea162670
CY
26992012-01-29 Chong Yidong <cyd@gnu.org>
2700
5b95ee8a
CY
2701 * frame.el (window-system-default-frame-alist): Doc fix.
2702
ea162670
CY
2703 * dynamic-setting.el (font-setting-change-default-font): Don't
2704 change the default face if SET-FONT argument is non-nil (Bug#9982).
2705
d6e6f4b1
SB
27062012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2707
2708 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2709
0f29fa41 27102012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2711
2712 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2713 breakpoints in files outside current directory (Bug#6098).
2714
db174434
CY
27152012-01-29 Chong Yidong <cyd@gnu.org>
2716
6b25e4e2
SE
2717 * progmodes/python.el: Require ansi-color at top-level.
2718
6df6ae42
JB
2719 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2720 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2721 (lisp-mode-abbrev-table): Add doc.
2722 (lisp-mode-variables): Don't set local-abbrev-table.
2723 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2724
e70ee681
RW
27252012-01-28 Roland Winkler <winkler@gnu.org>
2726
2727 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2728
ace88aa2
RW
27292012-01-28 Roland Winkler <winkler@gnu.org>
2730
2731 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2732 (bibtex-set-dialect): Use it. Either set global values of
2733 dialect-dependent variables or bind these variables buffer-locally
2734 (Bug#10254).
2735 (bibtex-mode): Call bibtex-set-dialect via
2736 hack-local-variables-hook.
eb864a71
LM
2737 (bibtex-dialect): Update docstring.
2738 Add safe-local-variable predicate.
ace88aa2
RW
2739 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2740 bibtex-set-dialect.
2741 (bibtex-mode-map): Define menu for each dialect.
2742 (bibtex-entry): Fix docstring.
2743
93376c5b
CY
27442012-01-28 Chong Yidong <cyd@gnu.org>
2745
2746 * eshell/esh-arg.el (eshell-quote-argument): New function.
2747
2748 * eshell/esh-ext.el (eshell-invoke-batch-file):
2749 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2750 first arg to eshell-parse-command (Bug#10523).
2751
4372494f
DA
27522012-01-28 Drew Adams <drew.adams@oracle.com>
2753
2754 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2755 `default-directory' is non-nil.
2756
4d4ec1f8
EZ
27572012-01-28 Eli Zaretskii <eliz@gnu.org>
2758
2759 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2760 line that displays system-configuration-options. (Bug#9924)
2761
7c188927
DA
27622012-01-28 Drew Adams <drew.adams@oracle.com>
2763
2764 * descr-text.el (describe-char): Show information about POS, in
2765 addition to information about the character at POS. Improve and
2766 update the doc string. Change "code point" to "code point in
2767 charset", to avoid confusion with the character's Unicode code
2768 point shown above that. (Bug#10129)
2769
e0da685a
EZ
27702012-01-28 Eli Zaretskii <eliz@gnu.org>
2771
2772 * descr-text.el (describe-char): Show the raw character, not only
2773 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2774 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2775 for the reasons.
2776
70550acf
PH
27772012-01-28 Phil Hagelberg <phil@hagelb.org>
2778
eb864a71
LM
2779 * emacs-lisp/package.el (package-install):
2780 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2781
0ce8e868
CY
27822012-01-28 Chong Yidong <cyd@gnu.org>
2783
cb882333
JB
2784 * emacs-lisp/package.el (package-maybe-load-descriptor):
2785 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2786 (package-maybe-load-descriptor): Use it.
2787 (package-download-transaction): Fully load required packages
2788 inside the loop, so that `require' calls work (Bug#10593).
2789 (package-install): No need to call package-initialize now.
2790
2e7f3bea
CY
27912012-01-28 Chong Yidong <cyd@gnu.org>
2792
6e9bad14
CY
2793 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2794
f823b8ca
CY
2795 * tooltip.el (tooltip-mode): Doc fix.
2796 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2797
2680c309
CY
2798 * frame.el (set-cursor-color): Doc fix (Bug#352).
2799
d7a9e63b
CY
2800 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2801 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2802
2e7f3bea
CY
2803 * cus-edit.el (custom-buffer-create-internal): Fix search button
2804 action (Bug#10542).
2ae01800 2805 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2806
fc4f7a23
EW
28072012-01-27 Eduard Wiebe <usenet@pusto.de>
2808
2809 * dired.el (dired-mark-files-regexp):
2810 Include any subdirectory components. (Bug#10445)
2811
7dd37071
ML
28122012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2813
2814 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2815 Handle [host]:port syntax. (Bug#10533)
2816
a268160b
AH
28172012-01-27 Alex Harsanyi <harsanyi@mac.com>
2818
2819 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2820
e43273ef
GM
28212012-01-26 Glenn Morris <rgm@gnu.org>
2822
2823 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2824 * term.el (term-raw-escape-map): Use Control-X-prefix.
2825 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2826
1edf595d
MR
28272012-01-25 Martin Rudalics <rudalics@gmx.at>
2828
2829 * window.el (window-state-get, window--state-get-1): Don't deal
2830 with fixed-sizeness of windows. Simplify code.
2831
fa8eafef
JC
28322012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2833
6df6ae42
JB
2834 * window.el (window--state-get-1, window--state-put-2):
2835 Don't save and restore the mark.
fa8eafef 2836
0b21c100
CY
28372012-01-25 Chong Yidong <cyd@gnu.org>
2838
2839 * custom.el (custom-variable-p): Doc fix.
2840
5ae1a6c8
GM
28412012-01-25 Glenn Morris <rgm@gnu.org>
2842
40047858
GM
2843 * dired.el (dired-goto-file): Handle some of the more common
2844 characters that `ls -b' escapes. (Bug#10596)
2845
5ddce96c
GM
2846 * progmodes/compile.el (compilation-next-error-function):
2847 Respect compilation-first-column in the "*compilation*" buffer.
2848 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2849
5ae1a6c8
GM
2850 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2851
b559f1a9
GM
28522012-01-24 Glenn Morris <rgm@gnu.org>
2853
2854 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2855
6725d21a
JD
28562012-01-24 Julien Danjou <julien@danjou.info>
2857
2858 * color.el (color-rgb-to-hsl): Fix value computing.
2859 (color-hue-to-rgb): New function.
2860 (color-hsl-to-rgb): New function.
2861 (color-clamp, color-saturate-hsl, color-saturate-name)
2862 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2863 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2864
70df4bbe
GM
28652012-01-24 Glenn Morris <rgm@gnu.org>
2866
2867 * vc/vc-rcs.el (vc-rcs-create-tag):
2868 * vc/vc-sccs.el (vc-sccs-create-tag):
2869 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2870
802a2ae2
ML
28712012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2872
2873 * eshell/esh-util.el (eshell-read-hosts-file):
2874 Skip comment lines. (Bug#10549)
2875
d7128bb1
ML
2876 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2877
d1a5c3b4
JB
28782012-01-23 Juanma Barranquero <lekktu@gmail.com>
2879
2724d9c7
JB
2880 * subr.el (display-delayed-warnings): Doc fix.
2881 (collapse-delayed-warnings): New function to collapse identical
2882 adjacent warnings.
2883 (delayed-warnings-hook): Add it.
d1a5c3b4 2884
a5509865
MA
28852012-01-22 Michael Albinus <michael.albinus@gmx.de>
2886
2887 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2888
2889 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2890 properties, when "login-as" is set.
2891
2892 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2893 (tramp-default-user-alist): Don't add "pscp".
2894 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2895 property "login-as", if set. (Bug#10530)
2896
cc6d5805
MA
28972012-01-21 Michael Albinus <michael.albinus@gmx.de>
2898
2899 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2900 "plink1" and "psftp". (Bug#10530)
2901
29022012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2903
2904 * international/mule-cmds.el (prefer-coding-system): Show a
2905 warning message if the default value of file-name-coding-system
2906 was not changed.
2907
f0960428
JC
29082012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2909
cb882333
JB
2910 * windmove.el (windmove-reference-loc):
2911 Fix windmove-reference-loc miscalculation.
f0960428 2912
dd6f2a63
JB
29132012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2914
2915 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2916 default unit.
2917
7b447e9b
GM
29182012-01-21 Glenn Morris <rgm@gnu.org>
2919
117a9ea1
GM
2920 * international/mule.el (auto-coding-alist): Add .tbz.
2921
7b447e9b
GM
2922 * files.el (local-enable-local-variables): Doc fix.
2923 (inhibit-local-variables-regexps): Rename from
2924 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2925 Doc fix. Add some extensions from auto-coding-alist.
2926 (inhibit-local-variables-suffixes):
2927 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2928 (inhibit-local-variables-p):
2929 New function, extracted from set-auto-mode-1.
2930 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2931 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2932 (hack-local-variables): Doc fix. Make the mode-only case
2933 respect enable-local-variables and friends.
2934 Respect inhibit-local-variables-regexps for file-locals, but
2935 not for directory-locals.
2936 (set-visited-file-name):
2937 Take account of inhibit-local-variables-regexps.
2938 Whether it applies may change as the file name is changed.
2939 * jka-cmpr-hook.el (jka-compr-install):
2940 * jka-compr.el (jka-compr-uninstall):
2941 Update for inhibit-first-line-modes-suffixes name change.
2942
dd6e3cdd
MR
29432012-01-20 Martin Rudalics <rudalics@gmx.at>
2944
2945 * help-macro.el (make-help-screen): Temporarily restore original
2946 binding for minor-mode-map-alist (Bug#10454).
2947
0d0deb38
JD
29482012-01-19 Julien Danjou <julien@danjou.info>
2949
2950 * color.el (color-name-to-rgb): Use the white color to find the max
2951 color component value and return correctly computed values.
2952 (color-name-to-rgb): Add missing float conversion for max value.
2953
34a02f46
MR
29542012-01-19 Martin Rudalics <rudalics@gmx.at>
2955
2956 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2957 special state value for window-persistent-parameters.
2958 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2959 (window--state-put-2): Reset all window parameters to nil before
2960 assigning values of persistent parameters.
2961
606c44c4
AM
29622012-01-18 Alan Mackenzie <acm@muc.de>
2963
2964 Eliminate sluggishness and hangs in fontification of "semicolon
2965 deserts".
2966
cb882333
JB
2967 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2968 Change value 10000 -> 3000.
606c44c4
AM
2969 (c-state-safe-place): Reformulate so it doesn't stack up an
2970 infinite number of wrong entries in c-state-nonlit-pos-cache.
2971 (c-determine-limit-get-base, c-determine-limit): New functions to
2972 determine backward search limits disregarding literals.
2973 (c-find-decl-spots): Amend commenting.
2974 (c-cheap-inside-bracelist-p): New function which detects "={".
2975
2976 * progmodes/cc-fonts.el
2977 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2978 backward search.
2979 (c-font-lock-declarations): Fix an occurrence of point being
2980 undefined. Check additionally for point being in a bracelist or
2981 near a macro invocation without a semicolon so as to avoid a
2982 fruitless time consuming search for a declarator. Give a more
2983 precise search limit for declarators using the new
2984 c-determine-limit.
2985
f3860cea
GM
29862012-01-18 Glenn Morris <rgm@gnu.org>
2987
2988 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2989 (set-auto-mode): Doc fixes.
2990
1db03b16
GM
29912012-01-17 Glenn Morris <rgm@gnu.org>
2992
0e6038be
GM
2993 * isearch.el (search-nonincremental-instead): Fix doc typo.
2994
1db03b16
GM
2995 * dired.el (dired-insert-directory): Handle newlines in directory name.
2996 (dired-build-subdir-alist): Unescape newlines in directory name.
2997
4cb0aa75
MA
29982012-01-17 Michael Albinus <michael.albinus@gmx.de>
2999
3000 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3001 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3002 (tramp-action-terminal): Use it. (Bug#10530)
3003
1d00653d
SM
30042012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3007
6a6ee00d
MR
30082012-01-16 Martin Rudalics <rudalics@gmx.at>
3009
3010 * window.el (window-state-ignored-parameters): Remove variable.
3011 (window--state-get-1): Rename argument MARKERS to IGNORE.
3012 Handle persistent window parameters. Make copy of clone-of
3013 parameter only if requested. (Bug#10348)
3014 (window--state-put-2): Install a window parameter only if it has
3015 a non-nil value or an existing parameter shall be overwritten.
3016
97912def
MA
30172012-01-15 Michael Albinus <michael.albinus@gmx.de>
3018
3019 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3020
688070a5
EZ
30212012-01-14 Eli Zaretskii <eliz@gnu.org>
3022
3023 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3024 don't pass the (nil) value of `upnode' to string-match.
3025
301afadc
CY
30262012-01-14 Chong Yidong <cyd@gnu.org>
3027
3028 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3029 Fix values recognized by the cursorBlink resource.
301afadc 3030
9e5788aa
PE
30312012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3032
3033 * epg.el (epg--make-temp-file): Avoid permission race condition
3034 when running on old Emacs versions (bug#10403).
3035
3cdb7f5a
GM
30362012-01-14 Glenn Morris <rgm@gnu.org>
3037
3038 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3039
8c82b1b4
AM
30402012-01-13 Alan Mackenzie <acm@muc.de>
3041
3042 Fix filling for when filladapt mode is enabled.
3043
3044 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3045 c-mask-paragraph, pass in `fill-paragraph' rather than
3046 `fill-region-as-paragraph'. (This is a reversion of a previous
3047 change.)
eb864a71
LM
3048 * progmodes/cc-mode.el (c-basic-common-init):
3049 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3050
e517eda4
GM
30512012-01-13 Glenn Morris <rgm@gnu.org>
3052
1498536e
GM
3053 * dired.el (dired-switches-escape-p): New function.
3054 (dired-insert-directory): Use dired-switches-escape-p.
3055 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3056
e517eda4
GM
3057 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3058
328f984d
GM
30592012-01-12 Glenn Morris <rgm@gnu.org>
3060
3061 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3062 changes in adaptive-fill-regexp. (Bug#10276)
3063
2cc769a8
AM
30642012-01-11 Alan Mackenzie <acm@muc.de>
3065
3066 Fix Emacs bug #10463 - put `widen's around the critical spots.
3067
1d00653d 3068 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3069 widen around each invocation of c-state-pp-to-literal. Remove an
3070 unused let variable.
3071
e52c37fa
GM
30722012-01-11 Glenn Morris <rgm@gnu.org>
3073
3074 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3075 Doc fix.
e52c37fa 3076
96f8741e
CY
30772012-01-10 Chong Yidong <cyd@gnu.org>
3078
1d00653d
SM
3079 * net/network-stream.el (network-stream-open-starttls):
3080 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3081 response to the capability command.
3082
b09a806e
GM
30832012-01-10 Glenn Morris <rgm@gnu.org>
3084
3085 * mail/unrmail.el (unrmail): Tweak previous change.
3086
7655cb66
CY
30872012-01-09 Chong Yidong <cyd@gnu.org>
3088
3089 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3090
9d5a8f0b
AM
30912012-01-08 Alan Mackenzie <acm@muc.de>
3092
3093 Optimise font locking in long enum definitions.
3094
3095 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3096 arm to a cond form to handle enums.
3097 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3098 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3099
9a0115ab 31002012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3101
3102 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3103 (Bug#10401)
6bb72cbd 3104
f186bb95
LMI
31052012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3106
29232a68
LMI
3107 * faces.el (set-face-attribute): Clarify the meaning of the nil
3108 frame (bug#10294).
3109
4e5d086d
LMI
3110 * subr.el (with-selected-frame): Mention that the selected frame
3111 is restored (bug#9980).
3112
8e66aebe
LMI
3113 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3114 (bug#9759).
3115
cd394be1 3116 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3117 (password-read): Don't autoload unused function.
3118
adf4e762
JB
31192012-01-07 Juanma Barranquero <lekktu@gmail.com>
3120
3121 * progmodes/which-func.el (which-func-mode): Turn into a
3122 non-interactive function and mark as obsolete (bug#10428).
3123
89bd9ccd
CY
31242012-01-06 Chong Yidong <cyd@gnu.org>
3125
3126 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3127 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3128 functions, along with 1 and -1.
3129
4afee9d5
EZ
31302012-01-06 Eli Zaretskii <eliz@gnu.org>
3131
3132 * time.el (display-time-load-average)
3133 (display-time-default-load-average): Doc fixes. See the thread
3134 starting at
3135 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3136 for the details.
3137
536aea70
GM
31382012-01-06 Glenn Morris <rgm@gnu.org>
3139
665ae865
GM
3140 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3141 has no messages. (Bug#10377)
3142
c869783d
GM
3143 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3144 than Info-edit. (Bug#10385)
3145
2bb4227e
GM
3146 * time.el (display-time-load-average, display-time-next-load-average):
3147 Doc fixes.
3148
7d5944b9
GM
3149 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3150 local setting of buffer-read-only to the input buffer. (Bug#10419)
3151
536aea70
GM
3152 * calendar/calendar.el (calendar-mode):
3153 Locally set scroll-margin to 0. (Bug#10379)
3154
7dccca16
UM
31552012-01-06 Ulrich Mueller <ulm@gentoo.org>
3156
3157 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3158
afbb7930
GM
31592012-01-05 Glenn Morris <rgm@gnu.org>
3160
3161 * eshell/em-unix.el (diff-no-select): Autoload it.
3162 (eshell/diff): Use diff-no-select. (Bug#10420)
3163
04482335
CY
31642012-01-05 Chong Yidong <cyd@gnu.org>
3165
7baca3bc
CY
3166 * shell.el (shell-dynamic-complete-functions): Revert last change.
3167 (shell-command-completion-function): New function.
3168 (shell-completion-vars): Use it to implement
3169 shell-completion-execonly (Bug#10417).
3170
04482335
CY
3171 * custom.el (enable-theme): Don't set custom-safe-themes.
3172
1d00653d
SM
3173 * cus-theme.el (custom-theme-merge-theme):
3174 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3175
bb5aa5d6
MM
31762012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3177
3178 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3179 first prompt in `sql-interacive-mode'.
3180 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3181 keywords.
6df6ae42 3182 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3183 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3184 context of original buffer. Invoke `sql-login-hook'.
3185
a7183d7c
EZ
31862012-01-04 Eli Zaretskii <eliz@gnu.org>
3187
3188 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3189 letters in cite-prefix.
3190
a1eacd1e
LMI
31912012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3192
3193 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3194
787cdb34
CY
31952012-01-03 Chong Yidong <cyd@gnu.org>
3196
1d00653d
SM
3197 * shell.el (shell-dynamic-complete-functions):
3198 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3199 comint-filename-completion first (Bug#10417).
3200
30710442
RS
32012012-01-02 Richard Stallman <rms@gnu.org>
3202
3203 * battery.el (battery-status-function):
3204 Detect when to use battery-yeeloong-sysfs.
3205 (battery-echo-area-format): Add string for Yeeloong.
3206 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3207 (battery-yeeloong-sysfs): New function.
3208
f75bfc33
CY
32092012-01-02 Chong Yidong <cyd@gnu.org>
3210
3211 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3212 (dirtrack): Merge code for handling relative filenames in prompt
3213 from shell-dir-cookie-watcher.
3214 (dirtrack-debug-message): New arg to avoid excess format calls.
3215
3216 * shell.el (shell-dir-cookie-re): Variable deleted.
3217 (shell-dir-cookie-watcher): Function deleted.
3218 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3219 with dirtrack-mode.
3220
651e947e
EZ
32212012-01-01 Eli Zaretskii <eliz@gnu.org>
3222
1d00653d
SM
3223 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3224 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3225 libgnutls-26.dll.
3226
94d4c7dc
AS
32272011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3228
3229 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3230
8d43f3cd
EZ
32312011-12-31 Eli Zaretskii <eliz@gnu.org>
3232
3233 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3234 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3235
98c8795a
MA
32362011-12-29 Michael Albinus <michael.albinus@gmx.de>
3237
3238 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3239 also for alternative shells.
3240 (tramp-open-connection-setup-interactive-shell): Check, whether
3241 the shell is a busybox.
3242 (tramp-send-command): Don't suppress multiple prompts for
3243 busyboxes, it hurts.
3244
51281b32
CY
32452011-12-28 Chong Yidong <cyd@gnu.org>
3246
3247 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3248 (gdb-get-source-file): Move mode line update to
3249 gdb-get-source-file (Bug#10087).
3250
2170cb53
CY
32512011-12-25 Chong Yidong <cyd@gnu.org>
3252
3253 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3254 gud-gdb-marker-filter without taking it as an argument.
3255 (gud-gdb-run-command-fetch-lines): Caller changed.
3256 (gud-gdb-completion-function): New variable.
3257 (gud-gdb-completion-at-point): Use it.
3258 (gud-gdb-completions-1): Split from gud-gdb-completions.
3259
3260 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3261 function as separate arguments.
3262 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3263 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3264 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3265 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3266 (gdb-stopped, def-gdb-auto-update-trigger)
3267 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3268 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3269 Callers changed.
2170cb53
CY
3270 (gud-gdbmi-completions): New function.
3271 (gdb): Use it for generating the completion table.
3272
be8b11bb
AM
32732011-12-24 Alan Mackenzie <acm@muc.de>
3274
3275 Introduce a mechanism to widen the region used in context font
1d00653d 3276 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3277
1d00653d
SM
3278 * progmodes/cc-langs.el (c-before-font-lock-functions):
3279 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3280 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3281 functions to be run just before context (etc.) font locking.
3282
3283 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3284 New, functionality extracted from
be8b11bb 3285 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3286 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3287 (c-after-change): Set c-in-after-change-fontification.
3288 (c-set-fl-decl-start): Rejig its interface, so it can be called
3289 from both after-change and context fontifying.
b81d40f0
JB
3290 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3291 New functions.
3292 (c-standard-font-lock-fontify-region-function): New variable.
3293 (c-font-lock-fontify-region): New function.
be8b11bb 3294
341cf6ac
JL
32952011-12-24 Juri Linkov <juri@jurta.org>
3296
3297 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3298 (Bug#10348)
3299
bffcee0a
MA
33002011-12-23 Michael Albinus <michael.albinus@gmx.de>
3301
3302 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3303 existence of source file. (Bug#10325)
3304
cb5e207c
AM
33052011-12-23 Alan Mackenzie <acm@muc.de>
3306
3307 Fix unstable fontification inside templates.
3308
b81d40f0
JB
3309 * progmodes/cc-langs.el (c-before-font-lock-functions):
3310 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3311 additionally has c-set-fl-decl-start. The other languages (apart
3312 from AWK) have that as a single entry.
3313
b81d40f0
JB
3314 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3315 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3316 c-set-fl-decl-start.
3317
b81d40f0
JB
3318 * progmodes/cc-mode.el (c-common-init, c-after-change):
3319 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3320 (c-set-fl-decl-start): New function, extracted from
3321 c-font-lock-enclosing-decls and enhanced.
3322
60ff536c
JB
33232011-12-23 Juanma Barranquero <lekktu@gmail.com>
3324
3325 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3326
1c4757d6
JL
33272011-12-22 Juri Linkov <juri@jurta.org>
3328
3329 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3330
d031f2c7
CY
33312011-12-22 Chong Yidong <cyd@gnu.org>
3332
3333 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3334
bace743a
DA
33352011-12-21 Drew Adams <drew.adams@oracle.com>
3336
3337 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3338
728a1f2b
JC
33392011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3340
3341 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3342
0d373f73
TZ
33432011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3344
fec0aaa4
TZ
3345 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3346 highlighting and support. Fix up comments for capitalization.
3347 (cfengine-mode-debug): New var.
3348 (cfengine3-mode): Change the modeline indicator to "CFE3".
3349 (cfengine3-font-lock-keywords): Improve defun highlighting.
3350 (cfengine2-actions): Rename from `cfengine-actions'.
3351 (cfengine2-font-lock-keywords): Rename from
3352 `cfengine-font-lock-keywords'.
3353 (cfengine2-imenu-expression): Rename from
3354 `cfengine-imenu-expression'.
3355 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3356 (cfengine2-beginning-of-defun): Rename from
3357 `cfengine-beginning-of-defun'.
3358 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3359 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3360 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3361 modeline indicator to "CFE2".
3362 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3363 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3364
bc86f573
CY
33652011-12-21 Chong Yidong <cyd@gnu.org>
3366
3367 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3368 filename argument.
3369
d45ba96b
MR
33702011-12-20 Martin Rudalics <rudalics@gmx.at>
3371
3372 * window.el (window-normalize-buffer-to-display): Remove.
3373 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3374
a6198c90
CY
33752011-12-19 Chong Yidong <cyd@gnu.org>
3376
3377 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3378 Don't signal an error in a predicate function; return non-nil.
3379 (vc-dir-mark-file): Move the error here.
3380 (vc-dir-mark-unmark): If acting on the region, keep going if one
3381 of the entries cannot be marked/unmarked.
3382 (vc-dir-mark-all-files): If current entry is a directory, mark
3383 only child files, as documented.
3384
34c5fb55
VB
33852011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3386
3387 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3388 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3389 addition.
3390
c803b2b7
JD
33912011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3392
3393 * term/ns-win.el (ns-get-selection-internal)
3394 (ns-store-selection-internal): Declare.
1154d12e
JB
3395 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3396 Declare as obsolete.
3397 (ns-get-pasteboard, ns-paste-secondary):
3398 Use ns-get-selection-internal.
3399 (ns-set-pasteboard, ns-copy-including-secondary):
3400 Use ns-store-selection-internal.
c803b2b7 3401
9cff91f8 34022011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3403
3404 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3405 (vc-deduce-fileset): Doc fix.
99a289d9 3406
f16c898a
AS
34072011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3408
3409 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3410
763237c4
SS
34112011-12-13 Sam Steingold <sds@gnu.org>
3412
3413 * man.el (Man-getpage-in-background): When running under a
3414 window-system, ignore $MANWIDTH and $COLUMNS.
3415
5fc1c122
KH
34162011-12-15 Kenichi Handa <handa@m17n.org>
3417
3418 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3419 (setup-ethiopic-environment-internal): Comment out key-binding for
3420 ethio-toggle-punctuation.
3421
13d49cbb
AM
34222011-12-13 Alan Mackenzie <acm@muc.de>
3423
898169a2
AM
3424 Add the switch statement to AWK Mode.
3425
7a71b18d 3426 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3427 "default" to the keywords regexp.
3428
7a71b18d 3429 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3430 expression as the rest.
1d00653d
SM
3431 (c-nonlabel-token-key): Allow string literals for AWK.
3432 Refactor for the other modes.
898169a2 3433
13d49cbb 3434 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3435 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3436 routines. Limit backward searching in c-font-lock-enclosing.decl.
3437
3438 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3439 pp-state and literal type in addition to the limits.
1d00653d 3440 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3441 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3442 (c-slow-in-literal, c-fast-in-literal): Remove.
3443 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3444
3445 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3446 being in a literal. Add a limit for backward searching.
3447
3448 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3449 c-slow-in-literal.
3450
15e0efc7
SM
34512011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3452
3453 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3454
454592a6
MR
34552011-12-13 Martin Rudalics <rudalics@gmx.at>
3456
3457 * window.el (delete-other-windows): Use correct frame in call to
3458 window-with-parameter.
3459
87393f26
DP
34602011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3461
3462 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3463 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3464 (makefile-gmake-statements, makefile-makepp-statements):
3465 Use it and add new makepp keywords.
3466 (makefile-makepp-font-lock-keywords): Add new patterns.
3467 (makefile-match-function-end): Match new [...] and [[...]].
3468
11636b22
JB
34692011-12-11 Juanma Barranquero <lekktu@gmail.com>
3470
3471 * ses.el (ses-call-printer-return, ses-cell-property-get)
3472 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3473 (ses-create-cell-variable, ses-reset-header-string)
3474 (ses-cell-set-formula, ses-repair-cell-reference-all)
3475 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3476 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3477 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3478 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3479 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3480 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3481 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3482 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3483 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3484 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3485 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3486 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3487
cf018193
VB
34882011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3489
3490 * ses.el: The overall change is to add cell renaming, that is
3491 setting fancy names for cell symbols other than name matching
3492 "\\`[A-Z]+[0-9]+\\'" regexp .
3493 (ses-create-cell-variable): New defun.
3494 (ses-relocate-formula): Relocate formulas only for cells the
3495 symbols of which are not renamed, i.e. symbols whose names do not
3496 match regexp "\\`[A-Z]+[0-9]+\\'".
3497 (ses-relocate-all): Relocate values only for cells the symbols of
3498 which are not renamed.
3499 (ses-load): Create cells variables as the (ses-cell ...) are read,
3500 in order to check row col consistency with cell symbol name only
3501 for cells that are not renamed.
3502 (ses-replace-name-in-formula): New defun.
3503 (ses-rename-cell): New defun.
3504
ee957461
CY
35052011-12-11 Chong Yidong <cyd@gnu.org>
3506
3507 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3508 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3509
9a9e9ef0
MR
35102011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3511
3512 * window.el (other-window): Fix docstring.
3513
92a8eba5
EZ
35142011-12-10 Eli Zaretskii <eliz@gnu.org>
3515
3516 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3517 `from' or `to' address before taking its substring.
3518 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3519 encoded name is chopped in the middle of the encoded string, and
3520 thus displayed encoded.
3521
e152e577
JB
35222011-12-10 Juanma Barranquero <lekktu@gmail.com>
3523
3524 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3525
e5d84bfe
EZ
35262011-12-10 Eli Zaretskii <eliz@gnu.org>
3527
3528 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3529 to use texinfo-update-node and commands that call it if the
3530 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3531 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3532 (texinfo-all-menus-update, texinfo-master-menu)
3533 (texinfo-update-node, texinfo-every-node-update)
3534 (texinfo-multiple-files-update): Doc fix. Warn against updating
3535 all the @node lines.
3536 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3537 argument is numeric. Explain better in the doc string what the
3538 function really does.
3539 (texinfo-insert-master-menu-list): Improve the error message
3540 displayed if there's no menu in the Top node.
3541 (Bug#2975) See also this thread:
e5d84bfe
EZ
3542 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3543
1d84e9bb
MG
35442011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3545
3546 * speedbar.el (speedbar-supported-extension-expressions):
3547 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3548
382c953b
JB
35492011-12-09 Juanma Barranquero <lekktu@gmail.com>
3550
3551 * printing.el (pr-mode-alist):
3552 * simple.el (filter-buffer-substring-functions)
3553 (completion-list-insert-choice-function):
3554 * window.el (window-with-parameter, window-atom-root)
3555 (window-sides-slots, window-size-fixed, window-min-delta)
3556 (window-max-delta, window--resize-mini-window)
3557 (window--resize-child-windows-normal, window-tree)
3558 (delete-other-windows, quit-window, split-window)
3559 (display-buffer-record-window, special-display-buffer-names)
3560 (special-display-regexps, special-display-popup-frame)
3561 (same-window-p, split-window-sensibly)
3562 (display-buffer-overriding-action, display-buffer-alist)
3563 (display-buffer-base-action, display-buffer, switch-to-buffer)
3564 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3565 (fit-window-to-buffer, recenter-positions)
3566 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3567 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3568 and remove unneeded backslashes in docstrings.
3569
39c9faef
SM
35702011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3571
98449af8
SM
3572 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3573
39c9faef
SM
3574 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3575 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3576 end in ".mk".
3577 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3578 when reading the makefile (bug#10116).
3579
86ed9fdc
SM
35802011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3581
3582 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3583 (bug#10116).
3584
5580f89d
GM
35852011-12-06 Glenn Morris <rgm@gnu.org>
3586
3587 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3588
28d3917c
CY
35892011-12-06 Chong Yidong <cyd@gnu.org>
3590
3591 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3592
a98edce9
JB
35932011-12-06 Juanma Barranquero <lekktu@gmail.com>
3594
3595 * textmodes/table.el (table-shorten-cell): Fix typo.
3596
e65adfac
CG
35972011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3598
3599 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3600
71cc0b74
EZ
36012011-12-05 Eli Zaretskii <eliz@gnu.org>
3602
3603 * descr-text.el (describe-char): Fix display of strong
3604 right-to-left characters and directional embeddings and overrides.
3605
3606 * simple.el (what-cursor-position): Fix display of codepoints of
3607 strong right-to-left characters.
3608
315bc30d
CY
36092011-12-05 Chong Yidong <cyd@gnu.org>
3610
3611 * faces.el (read-color): Doc fix.
3612
58a70b94
GM
36132011-12-05 Glenn Morris <rgm@gnu.org>
3614
3615 * align.el (align--set-marker): Add doc-string.
3616 Don't try to move something that is not a marker. (Bug#10216)
3617
5158face
GM
36182011-12-04 Glenn Morris <rgm@gnu.org>
3619
3620 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3621 overly zealous deletion of trailing whitespace.
3622
520fca41
JB
36232011-12-04 Juanma Barranquero <lekktu@gmail.com>
3624
3625 * server.el (server-delete-client): On Windows, do not try to delete
3626 the only terminal.
3627 (server-process-filter): On Windows, treat requests for a tty frame as
3628 if they were for a GUI frame if the running server is in GUI mode.
3629
5e605a2e
GM
36302011-12-03 Glenn Morris <rgm@gnu.org>
3631
3632 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3633
5c3fe83f
SM
36342011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3635
6f5e57e7
SM
3636 * electric.el: Streamline electric-indent's hook.
3637 (electric-indent-chars): Revert to simple list.
3638 (electric-indent-functions): New var.
3639 (electric-indent-post-self-insert-function): Use it.
3640
5c3fe83f
SM
3641 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3642 there's no inferior buffer (bug#10196).
3643 (prolog-consult-compile): Don't use toggle-read-only.
3644
6bdac736
MA
36452011-12-02 Michael Albinus <michael.albinus@gmx.de>
3646
3647 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3648 interrupt. (Bug#10187)
3649
6131ba7f
SM
36502011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3651
99c79fee
SM
3652 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3653 (bug#9160).
3654
6131ba7f
SM
3655 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3656 (bug#10191).
3657
cb0a02ea
JL
36582011-12-02 Juri Linkov <juri@jurta.org>
3659
3660 * info.el (Info-search): Display "end of manual" when Isearch
3661 reaches the end of single-file Info manual. (Bug#9918)
3662
66e0570c
EZ
36632011-12-02 Eli Zaretskii <eliz@gnu.org>
3664
3665 * isearch.el (isearch-message-prefix): Run the input method part
3666 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3667
02b16839
JL
36682011-12-02 Juri Linkov <juri@jurta.org>
3669
3670 * isearch.el (isearch-occur): Use `word-search-regexp' for
3671 `isearch-word'.
3672 (isearch-search-and-update): Add condition for `isearch-word' and
3673 call `word-search-regexp'. (Bug#10145)
3674
0b950688
GM
36752011-12-01 Glenn Morris <rgm@gnu.org>
3676
3677 * eshell/em-hist.el (eshell-hist-initialize):
3678 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3679 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3680
9505c3c7
SM
36812011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3684
1bbe96b2 36852011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3686
a1beca85
SM
3687 * progmodes/verilog-mode.el (verilog-pretty-expr):
3688 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3689 verilog, such as += *= and the like.
3690 (verilog-assignment-operator-re): Regular expression to find the
3691 assigment operator in a verilog assignment.
3692 (verilog-assignment-operation-re): Regular expression to find an
3693 assignment statement for pretty-expr.
3694 (verilog-in-attribute-p): Query returns true if point is in an
3695 attribute context; used to skip these for expression line up from
3696 pretty-expr.
3697 (verilog-in-parameter-p): Query returns true if point is in an
3698 parameter definition context; used to skip these for expression
3699 line up from pretty-expr.
3700 (verilog-in-parenthesis-p): Query returns true if point is in a
3701 parenthetical expression, specifically ( ) but not [ ] or { };
3702 used by pretty-expr.
3703 (verilog-just-one-space): If there is no space, don't add one.
3704 (verilog-get-lineup-indent-2): Specifically skip just attribute
3705 contexts for expression lineup, rather than skipping all
3706 parenthetical expressions.
3707 (verilog-calculate-indent): Fix comment, and fix indent.
3708 (verilog-do-indent): Indent declarations in lists (suggested by
3709 Joachim Lechner).
3710 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3711 skeleton items.
3712 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3713 by Alain Mellan).
3714
1bbe96b2 37152011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3716
3717 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3718 parameters with embedded comments. Reported by Ray Stevens.
3719 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3720 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3721 Reported by Tim Holt.
3722 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3723 instantiated by upper module causing wrong expansion until AUTOed a
3724 second time. Reported by K C Buckenmaier.
3725 (verilog-diff-auto): Fix showing .* as a difference when
3726 `verilog-auto-star-save' off. Reported by Dan Dever.
3727 (verilog-auto-reset, verilog-read-always-signals)
3728 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3729 temporary signals in reset list if
3730 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3731 style to each signal's assignment type, bug381.
3732 Reported by Thomas Esposito.
6288f0ca
WS
3733 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3734 (verilog-uvm-statement-re): Support UVM indentation and
3735 highlighting, with old OVM keywords only.
a1beca85 3736 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3737 Support AUTOTIEOFF creating non-wire data types.
3738 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3739 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3740 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3741 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3742 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3743 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3744 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3745 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3746 non-numeric vector width. Reported by Alex Reed.
3747 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3748 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3749 (verilog-auto-delete-trailing-whitespace):
3750 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3751 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3752 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3753 Fix verilog-scan-cache corruption when running user AUTO expansion
3754 hooks that call indentation routines.
3755 (verilog-simplify-range-expression): Fix typo ignoring lower case
3756 identifiers.
3757 (verilog-delete-auto): Fix delete-autos to also remove user created
3758 automatics, as long as they start with AUTO.
3759 (verilog-batch-diff-auto, verilog-diff-auto)
3760 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3761 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3762 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3763 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3764 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3765 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3766 is disabled and its cache will get corrupt, causing AUTOS not to
3767 expand. Instead use only -quick functions.
3768 (verilog-scan-region): Fix scanning over escaped quotes.
3769 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3770 (verilog-re-search-backward-quick)
3771 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3772 related functions now ignore strings, to fix misparsing of strings
3773 with magic comments embedded in them.
a1beca85
SM
3774 (verilog-read-auto-template):
3775 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3776 Reported by Brad Dobbie.
3777 (verilog-read-auto-template):
3778 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3779 Reported by Brad Dobbie.
6288f0ca
WS
3780 (verilog-auto-inst, verilog-auto-inst-param)
3781 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3782 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3783 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3784 debugging templates without merge conflicts, bug357.
3785 Reported by Brad Dobbie.
3786 (verilog-read-auto-template):
3787 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3788 Reported by Brad Dobbie.
3789 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3790 abbrevs so user won't be asked to save.
3791 (verilog-read-auto-lisp-present): Fix to start at beginning of
3792 buffer in case called outside of verilog-auto.
3793 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3794 to "X-2". Reported by Matthew Myers.
3795 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3796 all inputs from module templates. Reported by Leith Johnson.
3797 (verilog-module-inside-filename-p): Fix locating programs as with
3798 modules.
3799 (verilog-auto-inst-port): Fix vl-width expressions when using
3800 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3801 (verilog-decls-get-regs, verilog-decls-get-signals,
3802 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3803 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3804 verilog-read-decls): Combine reg and wire structures into one var
3805 structure to represent SystemVerilog concepts.
3806 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3807 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3808 (verilog-auto-wire-type, verilog-insert-definition):
3809 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3810 SystemVerilog "logic" keyword instead of "wire"/"reg".
3811 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3812 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3813 ifdef or generate if so there's not a driver conflict).
3814 Reported by Matthew Myers.
3815 (verilog-auto-declare-nettype, verilog-insert-definition):
3816 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3817 `default_nettype none. Reported by Julian Gorfajn.
3818 (verilog-read-always-signals-recurse, verilog-read-decls)
3819 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3820 malformed end statement, bug325. Reported by Joshua Wise and
3821 Andrew Drake.
3822 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3823 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3824 when expanding .* in interfaces, bug320.
3825 Reported by Pierre-David Pfister.
6288f0ca 3826 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3827 name and open parenthesis, bug317.
3828 Reported by Pierre-David Pfister.
6288f0ca
WS
3829 (verilog-simplify-range-expression): Fix simplification of
3830 multiplications inside AUTOWIRE connections, bug303.
3831 (verilog-auto-inst-port): Support parameter expansion in
3832 multidimensional arrays.
3833 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3834 after "assert property". Reported by Julian Gorfajn.
3835 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3836 with multiplication, bug303.
3837 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3838 Reported by Jan Frode Lonnum.
3839
1bbe96b2
GM
38402011-11-30 Juanma Barranquero <lekktu@gmail.com>
3841
3842 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3843 (hfy-shell-file-name, hfy-shell):
3844 * international/fontset.el (x-decompose-font-name): Fix typos.
3845
38462011-11-29 Ken Brown <kbrown@cornell.edu>
3847
3848 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3849 (gdb-version): Remove defvar.
3850 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3851 (gdb-gud-context-command, gdb-non-stop-handler)
3852 (gdb-current-context-command, gdb-stopped): Use it.
3853 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3854 (gdb-non-stop-handler): Don't enable pretty-printing here.
3855 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3856 non-stop mode. Use the following.
3857 (gdb-check-target-async): New defun.
3858 (gud-watch, gdb-stopped): Fix whitespace.
3859 (gdb-get-source-file): Don't try to display the source file if
3860 `gdb-main-file' is nil.
3861
38622011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3863
3864 * align.el: Try to generate fewer markers (bug#10047).
3865 (align--set-marker): New macro.
3866 (align-region): Use it.
3867
c935221f
SM
38682011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3869
3870 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3871
e70b5064
CY
38722011-11-29 Chong Yidong <cyd@gnu.org>
3873
3874 * indent.el (indent-for-tab-command, indent-according-to-mode):
3875 Doc fix.
3876 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3877
f3af92b7
MA
38782011-11-29 Michael Albinus <michael.albinus@gmx.de>
3879
3880 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3881 aware of remote file names. (Bug#10124)
3882
ed472be9
CY
38832011-11-29 Chong Yidong <cyd@gnu.org>
3884
3885 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3886
24510c22
SM
38872011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * files.el (find-file): Don't use force-same-window (bug#10144).
3890 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3891 use pop-to-buffer if the selected window can't be used.
3892 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3893
c60c3703
EZ
38942011-11-28 Eli Zaretskii <eliz@gnu.org>
3895
3896 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3897 special-mode-map.
3898
e95def75
CY
38992011-11-28 Chong Yidong <cyd@gnu.org>
3900
3901 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3902
c3f1c606
NR
39032011-11-27 Nick Roberts <nickrob@snap.net.nz>
3904
3905 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3906 gdb-get-source-file-list on gdb-create-source-file-list.
3907
00db469c
EZ
39082011-11-26 Eli Zaretskii <eliz@gnu.org>
3909
3910 * whitespace.el (whitespace-newline): Use a different foreground
3911 color for 16-color light-background displays.
3912
4ad3bc2a
CY
39132011-11-24 Chong Yidong <cyd@gnu.org>
3914
3915 * window.el (display-buffer--special-action): Doc fix.
3916
e9fce1ac
JB
39172011-11-25 Juanma Barranquero <lekktu@gmail.com>
3918
3919 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3920 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3921 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3922 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3923 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3924 (avl-tree-stack-first):
3925 * emacs-lisp/cconv.el (cconv--analyse-use):
3926 * net/gnutls.el (gnutls-negotiate): Fix typos.
3927
cb825e5d
GM
39282011-11-24 Glenn Morris <rgm@gnu.org>
3929
3adbe224
GM
3930 * lpr.el (lpr-windows-system, lpr-lp-system):
3931 * mail/binhex.el (binhex-begin-line):
3932 * progmodes/grep.el (grep-history, grep-find-history):
3933 * textmodes/flyspell.el:
3934 * vc/pcvs-defs.el (cvs-global-menu):
3935 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3936 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3937 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3938
321decc8
GM
3939 * net/tls.el: Fix case of "GnuTLS".
3940
420b63ad
GM
3941 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3942
cb825e5d
GM
3943 * version.el (emacs-build-system): Give it a doc-string.
3944
a0649f08
JL
39452011-11-24 Juri Linkov <juri@jurta.org>
3946
3947 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3948
c0bc0fd4
GM
39492011-11-24 Glenn Morris <rgm@gnu.org>
3950
3951 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3952 if called on a non-mime message just toggle the headers. (Bug#8006)
3953
20db1522
JB
39542011-11-24 Juanma Barranquero <lekktu@gmail.com>
3955
3956 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3957 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3958 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3959 (allout-rebullet-heading, allout-open-sibtopic)
3960 (allout-toggle-current-subtree-encryption)
3961 (allout-toggle-subtree-encryption, allout-encrypt-string)
3962 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3963 (allout-distinctive-bullets-string, allout-auto-activation):
3964 * window.el (window-normalize-buffer-to-display):
3965 * progmodes/verilog-mode.el (verilog-batch-indent):
3966 * textmodes/bibtex.el (bibtex-field-braces-opt)
3967 (bibtex-field-strings-opt):
3968 * vc/cvs-status.el (cvs-tree-merge):
3969 Fix typos.
3970
7262a87c
MA
39712011-11-23 Michael Albinus <michael.albinus@gmx.de>
3972
3973 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3974 `non-essential' to t, in order to avoid remote connections.
3975
283430a1
EZ
39762011-11-23 Eli Zaretskii <eliz@gnu.org>
3977
a1beca85
SM
3978 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3979 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3980 case-insensitively.
3981
d2992a38
ML
39822011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3983
3984 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3985
50419064
GM
39862011-11-23 Glenn Morris <rgm@gnu.org>
3987
da94eca1
GM
3988 * paths.el (rmail-file-name): Reformat the doc-string so that it
3989 is picked up.
3990
9aac4de2
GM
3991 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3992 (rmail-auto-file): Ignore case in the "special" field names,
3993 as mail-fetch-field does for all others.
3994
8038d2d2
GM
3995 * mail/rmail.el (rmail-forward):
3996 * mail/rmailkwd.el (rmail-set-label):
3997 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3998 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3999
f3fe222a
GM
4000 * mail/rmail.el (rmail-current-message): Doc fix.
4001
50419064
GM
4002 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4003
28109f49
SM
40042011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4007
394c65f1
GM
40082011-11-22 Glenn Morris <rgm@gnu.org>
4009
4010 * mail/rmailmm.el (test-rmail-mime-handler)
4011 (test-rmail-mime-bulk-handler)
4012 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4013
f2a0aa3a
JL
40142011-11-21 Juri Linkov <juri@jurta.org>
4015
1154d12e
JB
4016 * calc/calc.el (calc-read-key-sequence):
4017 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4018
9c34a344
LMI
40192011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4020
4021 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4022 Tell the caller that the next line needs recomputation, even
4023 though it doesn't start a sexp (bug#10094).
4024
f04a3be9
SM
40252011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4028
7978747f
SM
40292011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4030
f04a3be9
SM
4031 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4032 Use force-same-window.
7978747f 4033
fe7a3057
JB
40342011-11-20 Juanma Barranquero <lekktu@gmail.com>
4035
4036 * descr-text.el (describe-char-unicode-data):
4037 * json.el (json-string-escape):
4038 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4039 (Footnote-unicode, Footnote-style-p):
4040 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4041
24901d61
CY
40422011-11-20 Chong Yidong <cyd@gnu.org>
4043
4044 * window.el (replace-buffer-in-windows): Restore interactive spec.
4045
bac7ff22
SM
40462011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4047
24f3d7b9
SM
4048 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4049
bac7ff22
SM
4050 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4051 (byte-compile-global-not-obsolete-vars): New var.
4052 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4053 Use it.
4054 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4055
cd1181db
JB
40562011-11-20 Juanma Barranquero <lekktu@gmail.com>
4057
4058 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4059 * progmodes/pascal.el (electric-pascal-equal):
4060 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4061 * xml.el (xml-substitute-special): Fix typos.
4062
7fb18e9e
GM
40632011-11-20 Glenn Morris <rgm@gnu.org>
4064
4065 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4066 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4067 Doc fixes.
4068 (rmail-decode-mime-charset): Mark as obsolete.
4069
4070 * mail/rmailsum.el (rmail-message-regexp-p-1):
4071 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4072 Before using mime functions, check they are set. (Bug#10077)
4073
d5a6b3ba
JL
40742011-11-19 Juri Linkov <juri@jurta.org>
4075
4076 * info.el (Info-finder-find-node): Use `package--builtins' instead
4077 of `package-alist'. Use node names formed by the pattern "Keyword "
4078 and the keyword name.
4079
e981b61f
AS
40802011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4081
1d00653d 4082 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4083
3ffbc301
JL
40842011-11-19 Juri Linkov <juri@jurta.org>
4085
4086 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4087 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4088 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4089 `old-history', `old-history-forward'. Add let-binding
4090 `window-selected'. Remove calls to `kill-buffer',
4091 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4092 before calling `Info-find-node', so `Info-find-node-2' will reread
4093 the Info file. Restore window positions only when `window-selected'
4094 is non-nil.
4095
30c62133
JL
40962011-11-19 Juri Linkov <juri@jurta.org>
4097
4098 * isearch.el (isearch-lazy-highlight-new-loop):
4099 Remove condition `(not isearch-error)'. (Bug#9918)
4100
4101 * misearch.el (multi-isearch-search-fun): Add condition
4102 `(not bound)' to ignore lazy-highlighting search.
4103 Add the search-failed message "end of multi" when the end of
4104 multi-sequence is reached. Uncapitalize the search-failed
4105 message "Repeat for next buffer".
4106
4107 * info.el (Info-search): Add the search-failed message
4108 "end of the manual" when the end of the manual is reached
4109 in Isearch mode.
4110
645ca9cf
JL
41112011-11-19 Juri Linkov <juri@jurta.org>
4112
4113 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4114 Use non-destructive `remove' instead of `delete' because
4115 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4116 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4117
df754f66
JL
41182011-11-19 Juri Linkov <juri@jurta.org>
4119
4120 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4121 to nil instead of binding `search-ring' and `regexp-search-ring'.
4122 (Bug#9185)
4123
0e23d96a
EZ
41242011-11-19 Eli Zaretskii <eliz@gnu.org>
4125
4126 * simple.el (line-move): Force movement by logical lines for any
4127 hscrolled window, not only when auto-hscroll-mode is on.
4128 (line-move-visual): Update doc string to that effect. (Bug#10076)
4129
8a6ccb66
AS
41302011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4131
4132 * language/european.el (macintosh): Define as alias for mac-roman.
4133
49ae5b39
EZ
41342011-11-19 Eli Zaretskii <eliz@gnu.org>
4135
4136 * mail/rmailmm.el (rmail-mime-display-header)
4137 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4138 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4139 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4140 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4141 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4142 of a raw aref.
4143 (rmail-mime-entity-segment): To get past the tagline, move forward
4144 2 more lines, to account for the 2 empty lines that precede and
4145 follow the line with the buttons.
4146 (rmail-mime-update-tagline): Move one more line, to get past the
4147 empty line that follows the buttons in the tagline. (Bug#9520)
4148
c56cad4a
MR
41492011-11-19 Martin Rudalics <rudalics@gmx.at>
4150
4151 * window.el (window-max-delta-1, window-min-delta-1)
4152 (window-min-size-1, window-state-get-1, window-state-put-1)
4153 (window-state-put-2): Use "window--" prefix.
4154
cbe71af3
SM
41552011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4156
2ad52c60
SM
4157 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4158 (smie-warning-count): New var.
4159 (smie-set-prec2tab): Use it.
4160 (smie-bnf->prec2): Improve warnings. Add docstring.
4161 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4162 (smie-bnf--set-class): New function.
4163 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4164 corner case.
4165
6944dbc1
SM
4166 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4167 (compilation-error-properties, compilation-move-to-column):
4168 Handle compilation-first-column while in the target buffer.
4169
c400c4d7
SM
4170 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4171 Don't hardcode point-min==1.
4172
6dbe3e96
SM
4173 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4174 (eshell-rewrite-for-command): Remove workaround.
4175 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4176 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4177 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4178
cbe71af3
SM
4179 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4180
a8e1496d
GM
41812011-11-17 Glenn Morris <rgm@gnu.org>
4182
4183 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4184 Ignore buffer-local generated-autoload-file if it is the same
4185 as the global value. (Bug#10049)
4186
df85d315
JB
41872011-11-17 Juanma Barranquero <lekktu@gmail.com>
4188
4189 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4190 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4191 (reftex-toc-previous-heading, reftex-toc-max-level)
4192 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4193 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4194 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4195 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4196 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4197 (reftex-toc-rename-label, reftex-toc-visit-location)
4198 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4199 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4200 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4201 leaving "*toc*" only for references to the buffer.
4202
a0c2d0ae
MR
42032011-11-17 Martin Rudalics <rudalics@gmx.at>
4204
4205 * window.el (window-resize, delete-window, split-window):
4206 Replace window-splits by window-combination-resize.
1d00653d 4207 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4208
35c0bac8
GM
42092011-11-17 Glenn Morris <rgm@gnu.org>
4210
4211 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4212 Make bash entry derive from sh entry, not shell entry.
4213
d0c8fc8a
MA
42142011-11-16 Michael Albinus <michael.albinus@gmx.de>
4215
d0c8fc8a
MA
4216 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4217 properties of linked files. (Bug#9879)
4218
7262a87c
MA
4219 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4220 local file name.
4221
7877f373
JB
42222011-11-16 Juanma Barranquero <lekktu@gmail.com>
4223
4224 * menu-bar.el (menu-bar-file-menu):
4225 * printing.el (pr-ps-utility):
4226 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4227 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4228 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4229 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4230 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4231 (icalendar--convert-cyclic-to-ical)
4232 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4233 (icalendar--convert-ical-to-diary)
4234 (icalendar--convert-recurring-to-diary)
4235 (icalendar--convert-non-recurring-all-day-to-diary)
4236 (icalendar-import-format-sample):
4237 * progmodes/idlw-shell.el (idlwave-shell-mode):
4238 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4239 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4240 (vhdl-ps-print-init): Fix typos.
4241
10649b82
KM
42422011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4243
9d0cfcd6
GM
4244 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4245 FSF and collapse date sequence, obscure author/maintainer email address
4246 better, remove extra version line, track relocation of author's webpage.
10649b82 4247
9d0cfcd6
GM
4248 * progmodes/python.el (python-pdbtrack-input-prompt)
4249 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4250 regular python pdb prompts. Adjustments shamelessly taken exactly as
4251 suggested in EmacsWiki page (tiny change):
4252 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4253
58179cce
JB
42542011-11-16 Juanma Barranquero <lekktu@gmail.com>
4255
4256 * expand.el (expand-pos, expand-index, expand-point):
4257 Remove redundant info from docstring.
4258 (expand-add-abbrevs): Doc fix.
4259 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4260 (expand-sample-perl-mode-expand-list): Fix typos.
4261
4262 * net/dbus.el (dbus-event-member-name):
4263 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4264 * term/pc-win.el (msdos-create-frame-with-faces):
4265 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4266
b6f67890
MR
42672011-11-16 Martin Rudalics <rudalics@gmx.at>
4268
4269 * window.el (split-window, window-state-get-1)
4270 (window-state-put-1, window-state-put-2): Rename occurrences of
4271 window-nest to window-combination-limit.
1d00653d 4272 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4273
ce7ddba0
CY
42742011-11-16 Chong Yidong <cyd@gnu.org>
4275
4276 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4277 regexp (Bug#10033).
4278
3ae704f4
SM
42792011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4282 `completing-read' will remove *Completions* and will preserve
4283 current-buffer for us.
4284 (tmm-add-prompt): Users of *Completions* will always (re)set its
4285 major mode.
4286 (tmm-old-comp-map): Remove.
4287
6ad1cdde
GM
42882011-11-16 Glenn Morris <rgm@gnu.org>
4289
4290 * mail/rmailedit.el: Require rmailmm when compiling.
4291 (rmail-old-mime-state): New declaration.
4292 (rmail-edit-current-message): If editing a mime message,
4293 edit the "raw" message from the mbox buffer.
4294 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4295
d20faa20
GM
42962011-11-15 Glenn Morris <rgm@gnu.org>
4297
4298 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4299 which wasn't being used. Add optional arg to force given state.
4300 (rmail-mime): Add optional arg to force given state.
4301
c7015153
JB
43022011-11-15 Juanma Barranquero <lekktu@gmail.com>
4303
4304 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4305 * frame.el (display-mm-dimensions-alist):
4306 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4307 (outline-move-subtree-down):
4308 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4309 (newsticker--treeview-do-get-node):
4310 * net/quickurl.el (quickurl-list-buffer-name):
4311 * progmodes/dcl-mode.el (dcl-mode):
4312 * progmodes/gdb-mi.el (gdb-mapcar*):
4313 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4314
45261b50
GM
43152011-11-15 Glenn Morris <rgm@gnu.org>
4316
4317 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4318 in a boolean sense, so just make it a boolean, and fix the doc.
4319 (rmail-show-mime-function, rmail-mime-feature)
4320 (rmail-require-mime-maybe): Doc fixes.
4321 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4322
4323 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4324
0d26e0b6
JB
43252011-11-15 Juanma Barranquero <lekktu@gmail.com>
4326
4327 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4328 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4329 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4330 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4331
447f30f6
GM
43322011-11-15 Glenn Morris <rgm@gnu.org>
4333
672b871d
GM
4334 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4335 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4336 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4337 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4338 (rmail-mime, rmail-show-mime): Doc fixes.
4339
f6aa5bb1
GM
4340 * term/ns-win.el (mode-line-frame-identification):
4341 Leave it alone. (Bug#10051)
4342
947cd66b
GM
4343 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4344
447f30f6
GM
4345 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4346 Handle empty buffers. (Bug#9978)
4347
0b381c7e
JB
43482011-11-14 Juanma Barranquero <lekktu@gmail.com>
4349
4350 * international/mule.el (define-charset):
4351 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4352 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4353 * progmodes/verilog-mode.el (verilog-backward-token):
4354 * textmodes/ispell.el (lookup-words):
4355 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4356
71e027ac
GM
43572011-11-14 Glenn Morris <rgm@gnu.org>
4358
56632ce4
GM
4359 * progmodes/executable.el
4360 (executable-make-buffer-file-executable-if-script-p):
4361 Handle file-modes returning nil.
4362
40500957
GM
4363 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4364 message - not necessary, and causes problems. (Bug#9831)
4365
071c2340
GM
4366 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4367
d3cfca60
GM
4368 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4369
71e027ac
GM
4370 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4371 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4372 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4373
89d61221
MR
43742011-11-12 Martin Rudalics <rudalics@gmx.at>
4375
4376 * window.el (window-resize, delete-window): Use window-splits
4377 variable instead of function.
4378 (window-state-get-1, window-state-put-2, window-state-put):
4379 Don't deal with windows' splits status.
4380
98282f6f
GM
43812011-11-12 Glenn Morris <rgm@gnu.org>
4382
4383 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4384 (apropos-documentation): Doc fixes.
4385
40a8bdf6
JB
43862011-11-11 Juanma Barranquero <lekktu@gmail.com>
4387
4388 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4389 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4390
65bd19ff
SM
43912011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * electric.el (electric-indent-post-self-insert-function): Make it
4394 possible for a char to only indent in some circumstances.
4395 (electric-indent-mode): Simplify.
4396
54f9154c
MR
43972011-11-11 Martin Rudalics <rudalics@gmx.at>
4398
4399 * window.el (windows-with-parameter): Remove unused function.
4400 (windows-at-side): Rename to window-at-side-list.
4401 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4402 (window-side-check, window-size-ignore, window-size-fixed-1)
4403 (window-in-direction-2): Prefix with "window--".
4404 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4405
68cbc58b
GM
44062011-11-11 Glenn Morris <rgm@gnu.org>
4407
4408 * subr.el (eval-after-load): If FILE is already loaded,
4409 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4410
b2621720
GM
44112011-11-10 Glenn Morris <rgm@gnu.org>
4412
9a4de110
GM
4413 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4414 Call svn via vc-svn-command rather than vc-do-command.
4415 (vc-svn-command): Add --non-interactive. (Bug#9993)
4416 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4417
b2621720
GM
4418 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4419 Add toggle-read-only. (Bug#7292)
4420 * files.el (toggle-read-only): Mention that it should only
4421 be used interactively. (Bug#10006)
4422
1dce7193
SM
44232011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4424
d9ac1a1e
SM
4425 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4426 Adjust regexp for OCaml warnings.
4427
0c325082
SM
4428 * electric.el (electric-pair-post-self-insert-function): Let user
4429 turn it off buffer-locally (bug#9932).
4430
90132c14
SM
4431 * progmodes/python.el (python-beginning-of-statement):
4432 Rewrite (bug#2703).
4433
1dce7193
SM
4434 * progmodes/compile.el: Better handle TABs (bug#9749).
4435 (compilation-internal-error-properties)
4436 (compilation-next-error-function): Obey the target buffer's
4437 compilation-error-screen-columns.
4438
c4e7c63a
JB
44392011-11-09 Juanma Barranquero <lekktu@gmail.com>
4440
4441 * progmodes/meta-mode.el: Remove obsolete comments.
4442 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4443 Fix typos in docstrings.
4444
2cffd681
MR
44452011-11-09 Martin Rudalics <rudalics@gmx.at>
4446
4447 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4448 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4449 (window--resizable): New function. Make all callers of
4450 window-resizable call window--resizable instead.
4451 (window-resizable): Rewrite in terms of window--resizable.
4452
0edcba87
GM
44532011-11-08 Glenn Morris <rgm@gnu.org>
4454
4455 * progmodes/delphi.el (delphi-mode-syntax-table):
4456 Let define-derived-mode define a proper syntax table. (Bug#9994)
4457
4b0d61e3
SM
44582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * window.el: Stay away from defsubst.
4461 (window-list-no-nils): Remove.
4462 (window-state-get-1, window-state-get): Use backquote instead.
4463
cd394be1 44642011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4465
4b0d61e3 4466 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4467 Fix incorrect use of default argument in `completing-read'.
4468
e1c2c6f2
MR
44692011-11-08 Martin Rudalics <rudalics@gmx.at>
4470
4471 * window.el (display-buffer-function, special-display-function):
4472 Mention display-buffer-record-window but do not mention
4473 help-setup parameter in doc-strings.
b3f4a882 4474 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4475
105216ed
CY
44762011-11-08 Chong Yidong <cyd@gnu.org>
4477
4478 * window.el (window-total-height, window-total-width): Doc fix.
4479 (window-body-size): Move from C.
4480 (window-body-height, window-body-width): Move to C.
4481
0a9f9ab5
SM
44822011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * window.el: Make special-display like display-buffer-alist (bug#9532).
4485 (display-buffer--special-action): New function, morphed
4486 from display-buffer--special.
4487 (display-buffer): Use it to handle special-display-buffers at higher
4488 priority (just after display-buffer-alist).
4489 (display-buffer-fallback-action, display-buffer--other-frame-action)
4490 (pop-to-buffer-same-window): Remove display-buffer--special.
4491
a769dd15
GM
44922011-11-07 Glenn Morris <rgm@gnu.org>
4493
4494 * calendar/cal-menu.el (cal-menu-set-date-title):
4495 Do nothing if not in a calendar. (Bug#9976)
4496
05a61ee3
SM
44972011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * files.el (find-file): Always use selected-window.
4500
be7f5545
MR
45012011-11-07 Martin Rudalics <rudalics@gmx.at>
4502
4503 * window.el (window-combinations): Make WINDOW argument
4504 mandatory. Rewrite doc-string.
4505 (walk-window-subtree, window-atom-check, window-min-delta)
4506 (window-max-delta, window--resize-this-window)
4507 (window--resize-root-window-vertically, window-tree)
4508 (balance-windows, window-state-put): Rewrite doc-strings as to
4509 not mention the term "subwindow".
4510 (window--resize-subwindows-skip-p): Rename to
4511 window--resize-child-windows-skip-p.
4512 (window--resize-subwindows-normal): Rename to
4513 window--resize-child-windows-normal.
4514 (window--resize-subwindows): Rename to
4515 window--resize-child-windows.
4516 (window-or-subwindow-p): Rename to window--in-subtree-p.
4517
3c6702ef
ML
45182011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4519
4520 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4521 Ensure that mbox format messages end in two newlines (Bug#9974).
4522
49745b39
CY
45232011-11-06 Chong Yidong <cyd@gnu.org>
4524
4525 * window.el (window-combination-p): Function deleted; its
4526 side-effect is not used in any existing code.
4527 (window-combinations, window-combined-p): Call window-*-child
4528 directly.
4529
24300f5f
CY
45302011-11-05 Chong Yidong <cyd@gnu.org>
4531
4532 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4533 (window-size-ignore, window-state-get): Callers changed.
4534 (window-normalize-window): Rename from window-normalize-any-window.
4535 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4536 (window-normalize-live-window): Delete.
447f16b8
CY
4537 (window-combination-p, window-combined-p, window-combinations)
4538 (walk-window-subtree, window-atom-root, window-min-size)
4539 (window-sizable, window-sizable-p, window-size-fixed-p)
4540 (window-min-delta, window-max-delta, window-resizable)
4541 (window-resizable-p, window-full-height-p, window-full-width-p)
4542 (window-current-scroll-bars, window-point-1, set-window-point-1)
4543 (window-at-side-p, window-in-direction, window-resize)
4544 (adjust-window-trailing-edge, maximize-window, minimize-window)
4545 (window-deletable-p, delete-window, delete-other-windows)
4546 (record-window-buffer, unrecord-window-buffer)
4547 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4548 (quit-window, split-window, window-state-put)
4549 (set-window-text-height, fit-window-to-buffer)
4550 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4551
89bd5ee1
EZ
45522011-11-04 Eli Zaretskii <eliz@gnu.org>
4553
53479029
EZ
4554 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4555 rfc2047-decode-string.
4556 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4557 warnings.
4558
89bd5ee1
EZ
4559 * window.el (window-body-height, window-body-width): Mention in
4560 the doc string that the return values are in frame's canonical
4561 units. (Bug#9949)
4562
bd17fdee
AM
45632011-11-03 Alan Mackenzie <acm@muc.de>
4564
4565 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4566 change in cc-engine.el.
4567
acc825c5
SM
45682011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4571
1885e5b8
MR
45722011-11-02 Martin Rudalics <rudalics@gmx.at>
4573
4574 * window.el (quit-window): Call unrecord-window-buffer after
4575 showing another buffer in the window. (Bug#9937)
acc825c5 4576 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4577
ebe06da9
JB
45782011-11-02 Juanma Barranquero <lekktu@gmail.com>
4579
4580 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4581 Accept status with more than 9 shelves. (Bug#9935)
4582 Reported by Colin D Bennett <colin@gibibit.com>.
4583
4ee88440
MR
45842011-11-01 Martin Rudalics <rudalics@gmx.at>
4585
4586 * help.el (with-help-window): Don't reference
4587 temp-buffer-show-specifiers in doc-string.
4588
08e1d82c
AS
45892011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4590
4591 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4592 menu-item.
4593
84bd6e9e
VJL
45942011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4595
4596 * whitespace.el: New version 13.2.2.
4597 (whitespace-newline-mode): Disable properly. Reported by Sarah
4598 <EmacsWiki>.
4599
dba0634a
UJ
46002011-10-30 Ulf Jasper <ulf.jasper@web.de>
4601
4602 * net/newst-treeview.el: Remove "Time-stamp".
4603 (newsticker--group-manage-orphan-feeds): Do not call
4604 newsticker--treeview-tree-update.
db22a3c2
JB
4605 (newsticker-treeview-update, newsticker-treeview):
4606 Call newsticker--treeview-tree-update if necessary.
dba0634a 4607
3d8daefe
MR
46082011-10-30 Martin Rudalics <rudalics@gmx.at>
4609
4610 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4611 (window-iso-combinations): Remove "iso-" infix.
4612 Suggested by Chong Yidong.
3d8daefe
MR
4613 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4614 (window-max-delta-1, window-resize, window--resize-siblings)
4615 (window--resize-this-window, adjust-window-trailing-edge)
4616 (split-window, balance-windows-1)
4617 (shrink-window-if-larger-than-buffer):
4618 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4619 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4620
1bc4c3ae
SM
46212011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4624 in place (bug#9907).
4625 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4626 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4627 (eshell-structure-basic-command, eshell-rewrite-while-command)
4628 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4629 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4630 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4631 (eshell-do-pipelines-synchronously, eshell-eval-command):
4632 Use backquotes and prefer setq to set.
4633 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4634 (eshell-macrop): Use functionp.
c1e2f5fa 4635 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4636
30b65d9c
CY
46372011-10-30 Chong Yidong <cyd@gnu.org>
4638
4639 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4640 instead of set-mark (Bug#9810).
4641
2d197ffb
CY
46422011-10-30 Chong Yidong <cyd@gnu.org>
4643
4644 * window.el (split-window-below, split-window-right): Rename from
4645 split-window-above-each-other and split-window-side-by-side
4646 respectively. All callers changed.
4647 (split-window-sensibly, split-window-sensibly): Use them.
4648 (split-window-keep-point): Doc fix.
4649
4650 * isearch.el: Add isearch-scroll property to split-window-below
4651 and split-window-right.
4652
4653 * follow.el (follow-mode):
4654 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4655 * progmodes/ada-xref.el (ada-gdb-application):
4656 * emulation/vip.el (vip-buffer-in-two-windows):
4657 * image-dired.el (image-dired-dired-with-window-configuration):
4658 * dired-x.el (dired-do-find-marked-files):
4659 * dired.el (dired-pop-to-buffer):
4660 * bs.el (bs--show-with-configuration):
4661 * vc/emerge.el (emerge-setup-windows):
4662 * textmodes/two-column.el (2C-two-columns):
4663 * textmodes/reftex-toc.el (reftex-toc):
4664 * progmodes/gdb-mi.el (gdb-setup-windows):
4665 * progmodes/fortran.el (fortran-window-create):
4666 * net/newst-treeview.el (newsticker--treeview-window-init):
4667 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4668 * emulation/tpu-edt.el (tpu-gold-map):
4669 * emulation/crisp.el (crisp-mode-map):
4670 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4671
38bb2ca8
CY
46722011-10-29 Chong Yidong <cyd@gnu.org>
4673
aa4de341
CY
4674 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4675
e1eb5385
CY
4676 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4677
5d2ece3c
CY
4678 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4679 forged Ispell output (Bug#7904).
4680
38bb2ca8
CY
4681 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4682
d0af9f77
SM
46832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * doc-view.el: Avoid ugly errors about not finding nil.
4686 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4687 (doc-view-dvipdf-program, doc-view-unoconv-program)
4688 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4689 Avoid nil or absolute file name as default value.
4690 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4691
52bedd34
AM
46922011-10-28 Alan Mackenzie <acm@muc.de>
4693
db22a3c2 4694 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4695
7e43cfa5
AM
46962011-10-28 Alan Mackenzie <acm@muc.de>
4697
4698 Amend the handling of c-beginning/end-of-defun in nested declaration
4699 scopes.
4700
52bedd34
AM
4701 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4702 cc-langs.el. Change it to a defcustom.
7e43cfa5 4703
52bedd34
AM
4704 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4705 cc-vars.el.
7e43cfa5 4706
d0af9f77
SM
4707 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4708 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4709
52bedd34 4710 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4711 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4712 (c-widen-to-enclosing-decl-scope): New function.
4713 (c-while-widening-to-decl-block): New macro.
4714 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4715 outward for defun boundaries, and correspondingly change symbol
4716 `respect-enclosure' to `go-outward'.
4717 (c-declaration-limits): Change algorithm to report only the "innermost"
4718 defun's boundaries.
4719
1a2ce9ee
DD
47202011-10-28 Deniz Dogan <deniz@dogan.se>
4721
4722 * net/rcirc.el (rcirc-mode): Use hard newlines.
4723
bc97a826
AM
47242011-10-28 Alan Mackenzie <acm@muc.de>
4725
4726 Amend to indent and fontify macros "which include their own semicolon"
4727 correctly, using the "virtual semicolon" mechanism.
4728
52bedd34 4729 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4730
d0af9f77 4731 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4732 Recode to scan one line at a time rather than having \n and \r
58179cce 4733 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4734 (c-forward-label): Amend for virtual semicolons.
58179cce 4735 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4736
52bedd34
AM
4737 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4738 of the new C macros.
bc97a826 4739
52bedd34 4740 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4741 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4742 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4743 (c-opt-cpp-macro-define): Make into a full language variable.
4744 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4745 AWK Mode (including \n, \r) removed, no longer needed.
4746
d0af9f77
SM
4747 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4748 Invoke c-make-macro-with-semi-re.
bc97a826 4749
52bedd34
AM
4750 * progmodes/cc-vars.el (c-macro-with-semi-re):
4751 (c-macro-names-with-semicolon): New variables.
58179cce 4752 (c-make-macro-with-semi-re): New function.
bc97a826 4753
7a6c0941
SM
47542011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * vc/log-edit.el: Fill empty field rather than adding new one.
4757 (log-edit-add-field): New function.
4758 (log-edit-insert-changelog): Use it.
4759
b0c4cdcf
ML
47602011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4761
4762 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4763
ee1f1da9
SM
47642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4767 (gdb--check-interpreter): New function.
4768 (gdb): Use it.
4769
51bc5f8b
GM
47702011-10-27 Glenn Morris <rgm@gnu.org>
4771
416a2c45
GM
4772 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4773 (least-positive-float, least-negative-float)
4774 (least-positive-normalized-float, least-negative-normalized-float)
4775 (float-epsilon, float-negative-epsilon):
4776 Remove unnecessary declarations.
4777
4778 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4779 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4780 (least-positive-float, least-negative-float)
4781 (least-positive-normalized-float, least-negative-normalized-float)
4782 (float-epsilon, float-negative-epsilon): Add doc-strings,
4783 based on those in cl.texi.
4784
51bc5f8b
GM
4785 * files.el (set-visited-file-name): If the major-mode changed,
4786 reload the local variables. (Bug#9796)
4787
15de15c6
CY
47882011-10-27 Chong Yidong <cyd@gnu.org>
4789
4790 * subr.el (change-major-mode-after-body-hook): New hook.
4791 (run-mode-hooks): Run it.
4792
ee1f1da9
SM
4793 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4794 Use change-major-mode-before-body-hook.
15de15c6
CY
4795
4796 * simple.el (fundamental-mode):
4797 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4798 change introducing fundamental-mode-hook.
4799
5430d399
JB
48002011-10-26 Juanma Barranquero <lekktu@gmail.com>
4801
acc825c5 4802 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4803
ad74a69e
MA
48042011-10-26 Michael Albinus <michael.albinus@gmx.de>
4805
4806 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4807 tramp.el explicitly. (Bug#7583)
ad74a69e 4808
71d4c2a5
SM
48092011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * progmodes/octave-mod.el:
4812 * progmodes/octave-inf.el: Update maintainer.
4813
b1f6fa26
CY
48142011-10-26 Chong Yidong <cyd@gnu.org>
4815
4816 * subr.el (with-wrapper-hook): Rewrite doc.
4817
3f04efd6
MA
48182011-10-25 Michael Albinus <michael.albinus@gmx.de>
4819
4820 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4821 filenames "/method:foo:". (Bug#9793)
3f04efd6 4822
410488d3
SM
48232011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4826 (bug#9865).
4827
c1ebb47e
GM
48282011-10-24 Glenn Morris <rgm@gnu.org>
4829
4830 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4831
7f5c46c7
MA
48322011-10-24 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * notifications.el: Add the requirement of a running D-Bus session
4835 bus to the Commentary.
4836
db2440b6
JL
48372011-10-24 Juri Linkov <juri@jurta.org>
4838
4839 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4840 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4841 (Bug#9364)
4842
feecf435
JL
48432011-10-24 Juri Linkov <juri@jurta.org>
4844
4845 * info.el (Info-following-node-name-re): Add newline to the list
4846 of allowed characters for leading space. (Bug#9824)
4847
a3839de2
SM
48482011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4849
acc825c5
SM
4850 * progmodes/octave-inf.el (inferior-octave-mode-map):
4851 Fix C-c C-h binding.
a3839de2
SM
4852 * progmodes/octave-mod.el (octave-help): Remove.
4853
09388e76
MA
48542011-10-23 Michael Albinus <michael.albinus@gmx.de>
4855
4856 Sync with Tramp 2.2.3.
4857
4858 * net/tramp-cache.el (top): Pacify byte-compiler using
4859 `init-file-user' and `site-run-file'.
4860
4861 * net/trampver.el: Update release number.
4862
86c60681
CY
48632011-10-23 Chong Yidong <cyd@gnu.org>
4864
4865 * files.el (toggle-read-only): Remove obsolete comment about
4866 version control.
4867
4868 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4869 for toggle-read-only. Note that this hasn't called vc-next-action
4870 since 2008-05-02, though it wasn't documented at the time.
4871
a3839de2
SM
4872 * vc/ediff-init.el (ediff-toggle-read-only-function):
4873 Use toggle-read-only.
86c60681 4874
cd5495ff
AM
48752011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4876
4877 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4878 of c-parse-state.
4879
00b77525 4880 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4881 correct faulty logical expression.
cd5495ff
AM
4882 (c-parse-state-state, c-record-parse-state-state):
4883 (c-replay-parse-state-state): New defvar/defuns.
4884 (c-debug-parse-state): Use new functions.
4885
42ee24ed
MR
48862011-10-22 Martin Rudalics <rudalics@gmx.at>
4887
4888 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4889 last fix. Use window-in-direction correctly.
42ee24ed 4890
a7dee7e7
CY
48912011-10-21 Chong Yidong <cyd@gnu.org>
4892
4893 * progmodes/idlwave.el (idlwave-mode):
4894 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4895 require-final-newline; that's done in prog-mode.
4896 Suggested by Stefan Monnier.
a7dee7e7 4897
e07b9a6d
MR
48982011-10-21 Martin Rudalics <rudalics@gmx.at>
4899
4900 * mouse.el (mouse-drag-window-above)
4901 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4902 (mouse-drag-mode-line-1, mouse-drag-header-line)
4903 (mouse-drag-vertical-line-rightward-window): Remove.
4904 (mouse-drag-line): New function.
4905 (mouse-drag-mode-line, mouse-drag-header-line)
4906 (mouse-drag-vertical-line): Call mouse-drag-line.
4907 * window.el (window-at-side-p, windows-at-side): New functions.
4908
7e1361d9
UM
49092011-10-21 Ulrich Mueller <ulm@gentoo.org>
4910
4911 * tar-mode.el (tar-grind-file-mode):
4912 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4913
30fcaf3a
CY
49142011-10-21 Chong Yidong <cyd@gnu.org>
4915
4916 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4917 * progmodes/vera-mode.el (vera-mode):
4918 Use mode-require-final-newline.
30fcaf3a 4919
516eddb0
GM
49202011-10-20 Glenn Morris <rgm@gnu.org>
4921
db22a3c2 4922 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4923
10d5f513
CS
49242011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4925
4926 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4927
ac6c8639
CY
49282011-10-20 Chong Yidong <cyd@gnu.org>
4929
4930 * emulation/cua-base.el (cua-mode):
4931 * mail/footnote.el (footnote-mode):
4932 * mail/mailabbrev.el (mail-abbrevs-mode):
4933 * net/xesam.el (xesam-minor-mode):
4934 * progmodes/bug-reference.el (bug-reference-mode):
4935 * progmodes/cap-words.el (capitalized-words-mode):
4936 * progmodes/compile.el (compilation-minor-mode)
4937 (compilation-shell-minor-mode):
4938 * progmodes/gud.el (gud-tooltip-mode):
4939 * progmodes/hideif.el (hide-ifdef-mode):
4940 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4941 * progmodes/subword.el (subword-mode):
4942 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4943 * progmodes/which-func.el (which-function-mode):
4944 * term/tvi970.el (tvi970-set-keypad-mode):
4945 * term/vt100.el (vt100-wide-mode):
4946 * textmodes/flyspell.el (flyspell-mode):
4947 * textmodes/ispell.el (ispell-minor-mode):
4948 * textmodes/nroff-mode.el (nroff-electric-mode):
4949 * textmodes/paragraphs.el (use-hard-newlines):
4950 * textmodes/refill.el (refill-mode):
4951 * textmodes/reftex.el (reftex-mode):
4952 * textmodes/rst.el (rst-minor-mode):
4953 * textmodes/sgml-mode.el (html-autoview-mode)
4954 (sgml-electric-tag-pair-mode):
4955 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4956 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4957 * emulation/crisp.el (crisp-mode):
4958 * emacs-lisp/eldoc.el (eldoc-mode):
4959 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4960 minor mode behavior.
4961
aa42ab43
JL
49622011-10-19 Juri Linkov <juri@jurta.org>
4963
4964 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4965 the list of hard-coded chars with escape-glyph face.
4966
89400f1d
SM
49672011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4970
305c07f6
MA
49712011-10-19 Michael Albinus <michael.albinus@gmx.de>
4972
4973 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4974 running process.
4975
13754b54
GM
49762011-10-19 Glenn Morris <rgm@gnu.org>
4977
4978 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4979 Ignore ignored files. (Bug#9726)
4980
06e21633
CY
49812011-10-19 Chong Yidong <cyd@gnu.org>
4982
4983 Doc fix for minor modes, stating that an omitted argument enables
4984 the mode unconditionally when called from Lisp.
4985
4986 * abbrev.el (abbrev-mode):
4987 * allout.el (allout-mode):
4988 * autoinsert.el (auto-insert-mode):
4989 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4990 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4991 (global-auto-revert-mode):
4992 * battery.el (display-battery-mode):
4993 * composite.el (global-auto-composition-mode)
4994 (auto-composition-mode):
4995 * delsel.el (delete-selection-mode):
4996 * desktop.el (desktop-save-mode):
4997 * dired-x.el (dired-omit-mode):
4998 * dirtrack.el (dirtrack-mode):
4999 * doc-view.el (doc-view-minor-mode):
5000 * double.el (double-mode):
5001 * electric.el (electric-indent-mode, electric-pair-mode):
5002 * emacs-lock.el (emacs-lock-mode):
5003 * epa-hook.el (auto-encryption-mode):
5004 * follow.el (follow-mode):
5005 * font-core.el (font-lock-mode):
5006 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5007 * help.el (temp-buffer-resize-mode):
5008 * hilit-chg.el (highlight-changes-mode)
5009 (highlight-changes-visible-mode):
5010 * hi-lock.el (hi-lock-mode):
5011 * hl-line.el (hl-line-mode, global-hl-line-mode):
5012 * icomplete.el (icomplete-mode):
5013 * ido.el (ido-everywhere):
5014 * image-file.el (auto-image-file-mode):
5015 * image-mode.el (image-minor-mode):
5016 * iswitchb.el (iswitchb-mode):
5017 * jka-cmpr-hook.el (auto-compression-mode):
5018 * linum.el (linum-mode):
5019 * longlines.el (longlines-mode):
5020 * master.el (master-mode):
5021 * mb-depth.el (minibuffer-depth-indicate-mode):
5022 * menu-bar.el (menu-bar-mode):
5023 * minibuf-eldef.el (minibuffer-electric-default-mode):
5024 * mouse-sel.el (mouse-sel-mode):
5025 * msb.el (msb-mode):
5026 * mwheel.el (mouse-wheel-mode):
5027 * outline.el (outline-minor-mode):
5028 * paren.el (show-paren-mode):
5029 * recentf.el (recentf-mode):
5030 * reveal.el (reveal-mode, global-reveal-mode):
5031 * rfn-eshadow.el (file-name-shadow-mode):
5032 * ruler-mode.el (ruler-mode):
5033 * savehist.el (savehist-mode):
5034 * scroll-all.el (scroll-all-mode):
5035 * scroll-bar.el (scroll-bar-mode):
5036 * server.el (server-mode):
5037 * shell.el (shell-dirtrack-mode):
5038 * simple.el (auto-fill-mode, transient-mark-mode)
5039 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5040 (line-number-mode, column-number-mode, size-indication-mode)
5041 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5042 * strokes.el (strokes-mode):
5043 * time.el (display-time-mode):
5044 * t-mouse.el (gpm-mouse-mode):
5045 * tool-bar.el (tool-bar-mode):
5046 * tooltip.el (tooltip-mode):
5047 * type-break.el (type-break-mode-line-message-mode)
5048 (type-break-query-mode):
5049 * view.el (view-mode):
5050 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5051 (global-whitespace-mode, global-whitespace-newline-mode):
5052 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5053
a3839de2
SM
5054 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5055 Fix autogenerated docstring.
06e21633 5056
5214e501
JL
50572011-10-19 Juri Linkov <juri@jurta.org>
5058
5059 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5060 by checking environment variables "DESKTOP_SESSION" and
5061 "XDG_CURRENT_DESKTOP". (Bug#9779)
5062
195f8db9
JL
50632011-10-19 Juri Linkov <juri@jurta.org>
5064
5065 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5066 (browse-url-chromium-program, browse-url-chromium-arguments):
5067 New defcustoms.
5068 (browse-url-default-browser): Check for `browse-url-chromium' and
5069 call `browse-url-chromium-program'.
5070 (browse-url-chromium): New command. (Bug#9779)
5071
343a34ff
JB
50722011-10-18 Juanma Barranquero <lekktu@gmail.com>
5073
5074 * facemenu.el (list-colors-duplicates): On Windows, detect more
5075 duplicates by assuming that only colors matching "^System" are
5076 special "system colors". (Bug#9722)
5077
6978a151
SM
50782011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5081 to distinguish the author from the committer.
5082
6a80b297
MA
50832011-10-18 Michael Albinus <michael.albinus@gmx.de>
5084
5085 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5086
b31a5677
JK
50872011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5088
5089 * international/mule.el (sgml-html-meta-auto-coding-function):
5090 Add support for detecting encoding in HTML5 specified only as
5091 <meta charset="UTF-8">. Implementation just makes http-equiv and
5092 content-type parts from HTML4 encoding string optional. (Bug#9716)
5093
80c6d77f
GM
50942011-10-18 Glenn Morris <rgm@gnu.org>
5095
5096 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5097
08b0fee8
CY
50982011-10-18 Chong Yidong <cyd@gnu.org>
5099
5100 * faces.el (cursor): Doc fix.
5101
67e729a5
CY
51022011-10-17 Chong Yidong <cyd@gnu.org>
5103
5104 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5105
343a34ff 51062011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5107
5108 * dirtrack.el (dirtrack): Support shell buffers with path
5109 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5110
0bc06380
TZ
51112011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5112
5113 * json.el: Bump version to 1.3 and note change in History.
5114 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5115
8b79f3e0
SM
51162011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5a7c536b
SM
5118 * comint.el (comint-insert-input, comint-send-input)
5119 (comint-get-old-input-default, comint-backward-matching-input)
5120 (comint-next-prompt): Use nil instead of `input' for field property of
5121 past user input (bug#114).
5122
96a8a0df
SM
5123 * minibuffer.el (completion--replace): Inherit surrounding properties
5124 (bug#114).
5125 (minibuffer-complete-and-exit): Use it.
5126
8b79f3e0
SM
5127 * comint.el (comint--table-subvert): Quote the all-completions output
5128 (bug#9160).
5129
b8f7ff0d
MR
51302011-10-17 Martin Rudalics <rudalics@gmx.at>
5131
8b79f3e0 5132 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5133
b8f7ff0d 5134 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5135 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5136 entries and separate them from frame entries.
5137
c235b555
GM
51382011-10-15 Glenn Morris <rgm@gnu.org>
5139
5140 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5141 Doc fixes.
5142
6bbfa6e1
CY
51432011-10-15 Chong Yidong <cyd@stupidchicken.com>
5144
8b79f3e0
SM
5145 * net/network-stream.el (network-stream-open-starttls):
5146 Improve detection of failure due to lack of TLS support.
ec5c990d 5147
6bbfa6e1
CY
5148 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5149 putting the input text in front and in bold.
5150
98488977
SM
51512011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5152
3d1337be
SM
5153 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5154
ee0b45e4
SM
5155 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5156 empty buffer.
5157
98488977
SM
5158 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5159 unread-command-events rather than pushing yet-another event.
5160
186f4720
EZ
51612011-10-14 Eli Zaretskii <eliz@gnu.org>
5162
5163 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5164 the explanation of the possible choices. Make the options passed
5165 to completing-read shorter.
5166
8b7a997c
AM
51672011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5168
5169 * textmodes/flyspell.el (flyspell-large-region): Make sure
5170 extended character mode is used if defined (Bug#1339).
5171
12587bbb
EZ
51722011-10-13 Eli Zaretskii <eliz@gnu.org>
5173
5174 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5175 character info for LRE, LRO, RLE, and RLO characters by appending
5176 an invisible PDF.
12587bbb 5177
bad41229
SM
51782011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5181 even in case of error; add debug spec; simplify data flow.
5182 (with-timeout-handler): Remove.
5183
28dbc92f
MA
51842011-10-12 Michael Albinus <michael.albinus@gmx.de>
5185
5186 Fix Bug#6019, Bug#9315.
5187
5188 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5189 complete `buffer-file-name', the local file name part could look
5190 remotely (for example on VMS).
5191
5192 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5193 `tramp-run-real-handler'.
5194 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5195 already quoted by '"'.
5196
5197 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5198 Let `file-name-handler-alist' be nil, the local file name part
5199 could look remotely (for example on VMS).
5200
e1b0b23a
SM
52012011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5204 from here...
5205 (flyspell-post-command-hook): ...to here.
5206
a120bde9
SM
52072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5210 if not needed.
5211 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5212 using completion. Protect against "slow" callers.
5213 Remove the "message hack".
5214
7ce7717b
JL
52152011-10-11 Juri Linkov <juri@jurta.org>
5216
5217 * isearch.el (isearch-lazy-highlight-word): New variable.
5218 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5219 Use it. (Bug#9727)
5220
c02ee9d6
GM
52212011-10-11 Glenn Morris <rgm@gnu.org>
5222
5223 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5224 like f90-previous-statement does.
5225
93e616fd 52262011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5227
1f190e73 5228 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5229 only in interactive use, to avoid error.
5230
af7b6078
SM
52312011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * minibuffer.el (completion-file-name-table): Fix last change,
5234 i.e. ignore normal errors but not the other ones.
5235
0563dae9
MR
52362011-10-10 Martin Rudalics <rudalics@gmx.at>
5237
5238 * window.el (special-display-buffer-names)
5239 (special-display-regexps): Remove some remnants of earlier
5240 changes from doc-strings.
366ca7f3
MR
5241 (quit-windows-on): New function.
5242
5243 * vc/vc.el (vc-revert, vc-rollback):
5244 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5245 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5246 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5247
49677495
MR
52482011-10-09 Martin Rudalics <rudalics@gmx.at>
5249
5250 * window.el (frame-auto-hide-function): Add version tag.
5251 (Bug#9699)
5252
56f2d1e1
MA
52532011-10-09 Michael Albinus <michael.albinus@gmx.de>
5254
5255 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5256 condition.
5257
112a6592
LL
52582011-10-09 Leo Liu <sdl.web@gmail.com>
5259
5260 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5261 (Bug#9701)
5262
0812589b
GM
52632011-10-08 Glenn Morris <rgm@gnu.org>
5264
5265 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5266 before the first code statement zero indent. (Bug#9690)
5267
b2b0776e
CY
52682011-10-08 Chong Yidong <cyd@stupidchicken.com>
5269
5270 * simple.el (count-words-region): Always count in the region.
5271 Report the number of lines and characters too.
5272 (count-words): New command, which counts in the buffer if the
5273 region is inactive, as count-words-region used to.
5274 (count-words--message): New function. Handle plurals.
5275 (count-lines-region): Make it an alias for count-words-region.
5276
5277 * bindings.el (esc-map): Replace count-lines-region with
5278 count-words-region.
5279
c557cd6b
MR
52802011-10-08 Martin Rudalics <rudalics@gmx.at>
5281
5282 * window.el (window--delete): Delete dedicated frame
5283 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5284 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5285
61a57ef4 52862011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5287
3a7d293b 5288 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5289
c3833279
CY
52902011-10-07 Chong Yidong <cyd@stupidchicken.com>
5291
5292 * bindings.el ([M-left],[M-right]): Bind to left-word and
5293 right-word respectively.
5294
21ce8245
GM
52952011-10-07 Glenn Morris <rgm@gnu.org>
5296
5297 * cus-start.el (debug-on-quit): Fix custom type.
5298
6d823bb2
LMI
52992011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5300
0181e193
LMI
5301 * subr.el (define-key-after): Clarify that the function is not
5302 useful for non-menu keymaps.
5303
6d823bb2
LMI
5304 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5305
8e3459ce 53062011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5307
21ce8245 5308 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5309 in current minibuffer (Fix bug with recursive minibuffers).
5310
a1c2d21e
CY
53112011-10-06 Chong Yidong <cyd@stupidchicken.com>
5312
5313 * progmodes/gdb-mi.el (gdb): Doc fix.
5314
5a4cf282
MR
53152011-10-05 Martin Rudalics <rudalics@gmx.at>
5316
5317 * window.el (frame-auto-hide-function): New option replacing
5318 frame-auto-delete. Suggested by Stefan Monnier.
5319 (window--delete): Call frame-auto-hide-function instead of
5320 investigating frame-auto-delete.
c96111ea
MR
5321 (window-point-1, set-window-point-1): New functions.
5322 (window-in-direction, record-window-buffer, window-state-get-1)
5323 (display-buffer-record-window): Use window-point-1 instead of
5324 window-point.
5325 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5326
9854542e
SM
53272011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5330
8943cfb0
GM
53312011-10-05 Glenn Morris <rgm@gnu.org>
5332
5333 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5334 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5335
647ab967
LL
53362011-10-05 Leo Liu <sdl.web@gmail.com>
5337
5338 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5339 works with buffer object.
5340
3ddfbced
SM
53412011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5342
5343 * mpc.el (mpc-tool-bar-map): Add labels.
5344
bdfa5dd2
GM
53452011-10-04 Glenn Morris <rgm@gnu.org>
5346
5347 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5348
0e2070b5
MR
53492011-10-04 Martin Rudalics <rudalics@gmx.at>
5350
5351 * window.el (window--delete): New function.
5352 (frame-auto-delete): Resuscitate option.
5353 (bury-buffer, replace-buffer-in-windows)
5354 (quit-window): Rewrite using window--delete.
5355 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5356 Pass display-buffer-mark-dedicated to window--display-buffer-2
5357 (Bug#9639).
5358
3dc61a09
SM
53592011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5360
915a9b64
SM
5361 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5362 returns a list (bug#9554). Add remote file name completion.
5363 * comint.el (comint--table-subvert): Curry and get quote&unquote
5364 functions as arguments.
5365 (comint--complete-file-name-data): Adjust call accordingly.
5366 * pcomplete.el (pcomplete--table-subvert): Remove.
5367 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5368
3dc61a09
SM
5369 * minibuffer.el (completion-table-case-fold): Use currying.
5370 (completion--styles-type, completion--cycling-threshold-type):
5371 New constants.
5372 (completion-styles, completion-category-overrides)
5373 (completion-cycle-threshold): Use them.
5374 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5375 completion-table-case-fold.
5376
8ea0a993
SB
53772011-10-03 Stephen Berman <stephen.berman@gmx.net>
5378
5379 * minibuffer.el (completion-category-overrides): Fix type of styles
5380 and add more user friendly tags (bug#9660).
5381
8c24b7f6
SM
53822011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5385 (mule-input-method-string): New widget.
5386 (default-input-method, language-info-custom-alist): Use it.
5387
428fe61a
SM
53882011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5389
32c1fffd
SM
5390 * pcomplete.el: Require comint.
5391 (pcomplete--common-suffix): Remove.
5392 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5393 (pcomplete--table-subvert): Sync with comint--table-subvert.
5394 (pcomplete--entries): Use comint-completion-file-name-table.
5395 * comint.el (comint-unquote-filename): Simplify.
5396 (comint-completion-file-name-table): New function (bug#9616).
5397 (comint--complete-file-name-data): Use it.
5398
428fe61a
SM
5399 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5400 (pcmpl-gnu-tar-buffer): Remove.
5401 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5402 around. Make sure pcomplete-suffix-list is only changed temporarily.
5403 Don't look inside the tar's file if it's too large.
428fe61a 5404
04c52e2f
CY
54052011-10-01 Chong Yidong <cyd@stupidchicken.com>
5406
ce3cefcc
CY
5407 * cus-edit.el (custom-mode-map):
5408 * epa.el (epa-key-list-mode-map):
5409 * man.el (Man-mode-map):
5410 * startup.el (splash-screen-keymap):
5411 * simple.el (special-mode-map): Use scroll-up-command and
5412 scroll-down-command.
5413
5414 * progmodes/idlw-help.el (idlwave-help-mode-map):
5415 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5416 * net/newst-plainview.el (newsticker-mode-map):
5417 * emulation/ws-mode.el (wordstar-mode-map):
5418 * emulation/vi.el (vi-com-map):
5419 * calc/calc-graph.el (calc-graph-show-dumb):
5420 * term/sun.el (terminal-init-sun):
5421 * term/ns-win.el (global-map):
5422 * progmodes/grep.el (grep-mode-map):
5423 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5424 * mail/rmail.el (rmail-mode-map):
5425 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5426
04c52e2f
CY
5427 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5428 custom-safe-themes as special.
5429
79adf8c8
JD
54302011-10-01 Julien Danjou <julien@danjou.info>
5431
5432 * notifications.el (notifications-notify): Fix docstring.
5433
63bd50d3
PS
54342011-10-01 Per Starbäck <per@starback.se>
5435
5436 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5437
199e4c7e
MR
54382011-09-30 Martin Rudalics <rudalics@gmx.at>
5439
5440 * startup.el (command-line-1): Fix last fix by inserting
5441 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5442 (Bug#9605) and (Bug#9636)
199e4c7e 5443
fe5f08dd
EZ
54442011-09-29 Eli Zaretskii <eliz@gnu.org>
5445
5446 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5447 window is hscrolled, move by logical lines. (Bug#9607)
5448 (line-move-visual): Update the doc string to the above effect.
5449
b5516bbd
MR
54502011-09-29 Martin Rudalics <rudalics@gmx.at>
5451
ccee00c0
MR
5452 * window.el (display-buffer-record-window): When WINDOW is the
5453 selected window use `point' instead of `window-point'. (Bug#9626)
5454
b5516bbd
MR
5455 * startup.el (command-line-1): Use insert-before-markers when
5456 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5457
b5516bbd
MR
5458 * help.el (help-window): Remove variable.
5459
52aa0014
GM
54602011-09-29 Glenn Morris <rgm@gnu.org>
5461
5462 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5463
df9a7357
JB
54642011-09-29 Juanma Barranquero <lekktu@gmail.com>
5465
5466 * descr-text.el (describe-char-categories): Accept category
5467 descriptions more than one line long.
5468
a8406c20
SM
54692011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5470
88d9610c
SM
5471 * simple.el (delete-trailing-whitespace): Fix last change.
5472
a5daf810
SM
5473 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5474 Don't confuse "y => 3" as the beginning of a `y' operation.
5475
a8406c20
SM
5476 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5477 object has more than 4 slots (bug#9613).
5478
a239d4e9
JB
54792011-09-28 Juanma Barranquero <lekktu@gmail.com>
5480
5481 * subr.el (with-output-to-temp-buffer):
5482 * net/quickurl.el (quickurl, quickurl-browse-url):
5483 Fix typos in docstrings.
5484
693fbdb6
EZ
54852011-09-27 Eli Zaretskii <eliz@gnu.org>
5486
5487 * minibuffer.el (completion-styles)
5488 (completion-category-overrides): Cross reference each other in doc
5489 strings.
5490
8b457e28
GM
54912011-09-27 Glenn Morris <rgm@gnu.org>
5492
5493 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5494 to split-string. (Bug#9606)
5495
85a16208
LMI
54962011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5497
5498 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5499 (bug#9615).
5500
502f9ebd
CY
55012011-09-27 Chong Yidong <cyd@stupidchicken.com>
5502
5503 * emacs-lisp/package.el (list-packages): Fix echo area message.
5504
7690bdea
LL
55052011-09-27 Leo Liu <sdl.web@gmail.com>
5506
5507 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5508
e2ee6f30
MA
55092011-09-25 Michael Albinus <michael.albinus@gmx.de>
5510
5511 * net/dbus.el (dbus-unregister-object): Don't release services for
5512 registered signals. (Bug#9581)
5513
f3f98342
TZ
55142011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5515
5516 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5517 function that picks between cfengine 2 and 3 support
5518 automatically. Update docs accordingly.
5519
dd7aa8dd
KH
55202011-09-22 Kenichi Handa <handa@m17n.org>
5521
5522 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5523 ZERO.
5524 (indian-itrans-v5-table-for-tamil): New variable.
5525 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5526
3f2b07f8
KM
55272011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5528
5529 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5530 that's true if the current command involved collapsing of text.
5531 It's reset to false at the beginning of the next command.
5532 (allout-post-command-business): Move the cursor to the beginning
5533 of entry if the cursor is hidden and collapsing activity just
5534 happened.
5535
371d6a61
CY
55362011-09-24 Chong Yidong <cyd@stupidchicken.com>
5537
5538 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5539 tracking (Bug#9541).
5540
2ac2721a
UJ
55412011-09-24 Ulf Jasper <ulf.jasper@web.de>
5542
5543 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5544 (newsticker-show-news): Automatically load html rendering package
5545 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5546 because w3m-fill-column is let-bound" and the error "Symbol's value
5547 as variable is void: w3m-fill-column".
2ac2721a 5548
fac7ae53
MA
55492011-09-24 Michael Albinus <michael.albinus@gmx.de>
5550
5551 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5552 Release services only if they are defined. (Bug#9581)
5553
e08b633b
RS
55542011-09-23 Richard Stallman <rms@gnu.org>
5555
e488d29c
RS
5556 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5557 distinguish start of paragraph from start of its text.
5558
19c38752
RS
5559 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5560
e08b633b
RS
5561 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5562 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5563 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5564
0a39f27e
AS
55652011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5566
5567 * international/mule-diag.el (mule-diag): Insert a newline after
5568 each fontset description.
5569
db4e950d
SM
55702011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * simple.el (delete-trailing-whitespace):
5573 Document last change; simplify.
5574
eca3f3ea
PW
55752011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5576
d68e189a
PW
5577 * simple.el (delete-trailing-whitespace): Also delete
5578 extra newlines at the end of the buffer.
5579
eca3f3ea
PW
5580 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5581 (picture-newline): Use forward-line so as to ignore fields.
5582
01c157cc
SM
55832011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5584
5585 * subr.el (with-wrapper-hook): Fix edebug spec.
5586
022de23e
LMI
55872011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5588
5589 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5590 (bug#4538).
5591
91683089
MA
55922011-09-23 Michael Albinus <michael.albinus@gmx.de>
5593
eca3f3ea
PW
5594 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5595 Fix nasty bug using wrong cached values.
91683089 5596
5bdd6fa4
AM
55972011-09-23 Alan Mackenzie <acm@muc.de>
5598
5599 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5600
97adfb97
CY
56012011-09-23 Chong Yidong <cyd@stupidchicken.com>
5602
5603 * window.el (pop-to-buffer): Ensure right window is selected if we
5604 chose another frame.
5605
d4ef2b50
EZ
56062011-09-22 Eli Zaretskii <eliz@gnu.org>
5607
5608 * simple.el (what-cursor-position): Use get-char-property-change
5609 and next-single-char-property-change, to be able to show display
5610 properties that come from overlays as well as text properties.
5611
72258fe5
CY
56122011-09-22 Chong Yidong <cyd@stupidchicken.com>
5613
5614 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5615
5616 * cmuscheme.el (run-scheme, switch-to-scheme):
5617 * cus-edit.el (customize-group, custom-buffer-create)
5618 (customize-browse):
5619 * info.el (info):
5620 * shell.el (shell):
5621 * mail/sendmail.el (mail):
5622 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5623
8f098516
RS
56242011-09-22 Richard Stallman <rms@gnu.org>
5625
5626 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5627 move back only to line beg, don't move back over blank lines.
5628
e74f1bb6
MA
56292011-09-22 Michael Albinus <michael.albinus@gmx.de>
5630
5631 * files.el (copy-directory): Set directory attributes only in case
5632 they could be retrieved from the source directory. (Bug#9565)
5633
bfeef8b6
DK
56342011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5635
5636 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5637 (hs-find-block-beginning, hs-hide-level-recursive):
5638 Ignore strings as well as comments. (Bug#9502)
5639
7e423bb8
AS
56402011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5641
5642 * progmodes/sql.el (sql-comint-postgres):
5643 Convert port number to a string. (Bug#9566)
5644
b4d72fcf
MR
56452011-09-22 Martin Rudalics <rudalics@gmx.at>
5646
5647 * window.el (quit-window): Undedicate window when switching to
5648 previous buffer. Reported by Thierry Volpiatto
5649 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5650 (special-display-popup-frame): When popping up a new frame reset
5651 its previous buffers to nil. Simplify code.
b4d72fcf 5652
a7b88dc6
MA
56532011-09-21 Michael Albinus <michael.albinus@gmx.de>
5654
5655 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5656 and process filter, as done also in `shell-command'.
5657
cf4eacfd
MR
56582011-09-21 Martin Rudalics <rudalics@gmx.at>
5659
eca3f3ea 5660 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5661 Call set-window-start with NOFORCE argument t.
5662 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5663 (quit-window): Reword doc-string. Handle new format of
5664 quit-restore parameter. Don't delete window if it has a
5665 previous buffer we can show instead of the present one.
5666 (display-buffer-record-window): Rewrite using a new format for
5667 the quit-restore window parameter
5668 (special-display-popup-frame, display-buffer-same-window)
5669 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5670 (display-buffer-pop-up-window, display-buffer-use-some-window):
5671 Adapt symbol passed to display-buffer-record-window.
5672 * help.el (help-window-setup): Handle new format of quit-restore
5673 parameter.
5674
8d28cb95
SM
56752011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5676
94ab793f
SM
5677 * faces.el (face-list): Fix docstring (bug#9564).
5678
8d28cb95
SM
5679 * window.el (display-buffer--action-function-custom-type):
5680 Don't include internal functions in the Custom interface.
5681
3820edeb
JL
56822011-09-20 Juri Linkov <juri@jurta.org>
5683
5684 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5685 (Info-forward-node, Info-backward-node, Info-next-preorder)
5686 (Info-last-preorder): Use it. (Bug#9528)
5687
5147931d
JL
56882011-09-20 Juri Linkov <juri@jurta.org>
5689
5690 * info.el (Info-last-preorder): Visit last menu item only when
5691 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5692
cf499a1a
JD
56932011-09-20 Julien Danjou <julien@danjou.info>
5694
5695 * password-cache.el (password-cache-remove): Remove entries even if the
5696 value is nil, so that password with a nil value (negative caching) is
5697 possible to invalidate.
5698
f84e2fe2
LM
56992011-09-20 Lawrence Mitchell <wence@gmx.li>
5700
5701 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5702 all whitespace around breakpoint. (Bug#9553)
5703 (f90-find-breakpoint): Only break at whitespace inside a comment.
5704
78054a46
SM
57052011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * minibuffer.el (completion-file-name-table): Keep track of errors.
5708 (completion-table-with-predicate): Handle the case where pred1 is nil.
5709 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5710
345083b2
SM
57112011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5712
e24e27be
SM
5713 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5714 (debugger-return-value): Signal an error if the debugging context does
5715 not await any return value.
5716
345083b2
SM
5717 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5718 * image-mode.el (image-toggle-display-text)
5719 (image-toggle-display-image): Stay away from evil `intangible'.
5720
08d355e3
LL
57212011-09-19 Leo Liu <sdl.web@gmail.com>
5722
5723 * replace.el (occur-revert-arguments): Make it permanent-local.
5724 (occur-mode): Don't call font-lock-defontify.
5725
f01da43f
CY
57262011-09-19 Chong Yidong <cyd@stupidchicken.com>
5727
5728 * net/ldap.el (ldap-search-internal): Don't push empty search
5729 result (Bug#9508).
5730
b6072fa6
SM
57312011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5734
443d6696
MA
57352011-09-19 Michael Albinus <michael.albinus@gmx.de>
5736
5737 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5738 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5739
7cc6e154
JL
57402011-09-18 Juri Linkov <juri@jurta.org>
5741
5742 * buff-menu.el (Buffer-menu-mode-map):
5743 * dired.el (dired-mode-map):
5744 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5745 (lisp-interaction-mode-map):
5746 * emacs-lisp/package.el (package-menu-mode-map):
5747 * epa.el (epa-key-list-mode-map):
5748 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5749 (menu-bar-options-menu):
5750 * outline.el (outline-mode-menu-bar-map):
5751 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5752 * vc/vc-dir.el (vc-dir-menu-map):
5753 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5754 Capitalize non-function content words in menu item strings.
5755
5756 * dired.el (dired-mode-map): Add menu item for
5757 `image-dired-dired-toggle-marked-thumbs'.
5758
80302a81
JL
57592011-09-18 Juri Linkov <juri@jurta.org>
5760
5761 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5762 to `isearch-case-fold-search' and restore its original value
5763 after the `isearch-mode' call.
5764
46c5cf66
JL
57652011-09-18 Juri Linkov <juri@jurta.org>
5766
5767 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5768 because `zgrep' returns 1 for successful matches (bug#9226).
5769
d18b513b
JL
57702011-09-18 Juri Linkov <juri@jurta.org>
5771
5772 * info.el (Info-extract-menu-node-name): Check the second match
5773 for empty string (second test-case of bug#9528).
5774 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5775 intermediate nodes to the history (first test-case of bug#9528).
5776
72753f87
JL
57772011-09-18 Juri Linkov <juri@jurta.org>
5778
5779 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5780 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5781
c9384295
JL
57822011-09-18 Juri Linkov <juri@jurta.org>
5783
1154d12e
JB
5784 * info.el (Info-file-supports-index-cookies):
5785 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5786 outputs one more line for long file names (bug#4142).
c9384295 5787
d473dce8
CY
57882011-09-18 Chong Yidong <cyd@stupidchicken.com>
5789
5790 * newcomment.el (comment-normalize-vars): If prompting for
5791 comment-start, set comment-start-skip too (Bug#8424).
5792
2176854d
JB
57932011-09-18 Johan Bockgård <bojohan@gnu.org>
5794
5795 * icomplete.el: Fix previous fix of Bug#5849.
5796 (icomplete-mode): Don't set completion-show-inline-help.
5797 (icomplete-minibuffer-setup): Set completion-show-inline-help
5798 locally during icompletion.
5799
3aace4e4
CY
58002011-09-18 Chong Yidong <cyd@stupidchicken.com>
5801
c940224f
CY
5802 * woman.el (woman2-process-escapes): Don't delete unrecognized
5803 escapes (Bug#7843).
5804
3aace4e4
CY
5805 * files.el (inhibit-first-line-modes-regexps): Add image files.
5806 (hack-local-variables-prop-line): Return nil for malformed
5807 prop-lines (Bug#9044).
5808
710dec63
MA
58092011-09-18 Michael Albinus <michael.albinus@gmx.de>
5810
5811 * net/tramp.el (top): Don't require 'shell.
5812 (tramp-methods): Fix docstring.
5813 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5814 Return complete remote file name. Handle "smb" case.
5815 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5816 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5817
5818 * net/tramp-compat.el (top): Require 'shell.
5819
5820 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5821 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5822 `tramp-current-host'.
5823 (tramp-get-remote-tmpdir): Remove.
5824
5825 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5826 `tramp-tmpdir' entries.
5827 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5828 (tramp-smb-handle-file-attributes): Ignore errors.
5829 (tramp-smb-wait-for-output): Check also for process end.
5830
5d5ac8ec
LMI
58312011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5832
5833 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5834 when sending QUIT (bug#9312).
5835
8c0f49f0
CY
58362011-09-17 Chong Yidong <cyd@stupidchicken.com>
5837
5838 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5839 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5840 occur-mode-display-occurrence.
5841 (occur-edit-mode): Add usage message.
5842 (occur-cease-edit): New command.
5843 (occur-after-change-function): Use text properties to find the
5844 position of the prefix text.
5845 (occur-engine): Set stickiness of prefix text properties.
5846
8f1383f7
GM
58472011-09-17 Glenn Morris <rgm@gnu.org>
5848
5849 * progmodes/etags.el (complete-tag):
5850 Fix call to completion-in-region. (Bug#9526)
5851
744ba0e3
JL
58522011-09-17 Juri Linkov <juri@jurta.org>
5853
5854 * textmodes/ispell.el (ispell-word): Add to the error message
5855 the word, ispell program name and current dictionary (bug#9121).
5856 (ispell-tex-arg-end): Capitalize "error" in the error message.
5857
d9bbf400
AS
58582011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5859
5860 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5861 check. (Bug#4251)
5862
8da11505
JL
58632011-09-17 Juri Linkov <juri@jurta.org>
5864
5865 * window.el (window-safe-min-height, window-safe-min-width):
5866 Fix typos (followup to bug#9522).
5867
a91adc7e
SJ
58682011-09-17 Sven Joachim <svenjoac@gmx.de>
5869
5870 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5871
064f328a
EZ
58722011-09-16 Eli Zaretskii <eliz@gnu.org>
5873
5874 * simple.el (line-move): If goal-column is set, move by logical
5875 lines, not by display lines. (Bug#971)
5876 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5877 to reflect the above change.
5878
e69df516
SM
58792011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5880
5881 * image.el (imagemagick-register-types): Use regexp-opt.
5882
cbb0f9ab
CY
58832011-09-15 Chong Yidong <cyd@stupidchicken.com>
5884
5885 * window.el (display-buffer-base-action): Rename from
5886 display-buffer-default-action. Make default value empty.
5887 (display-buffer-overriding-action): Convert to defvar.
5888 (display-buffer-fallback-action): New var.
5889
25322144
CY
58902011-09-15 Chong Yidong <cyd@stupidchicken.com>
5891
5892 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5893 declaration.
5894 (package--add-to-archive-contents): If there is a duplicate entry
5895 with an older version, remove it.
5896 (package-menu-mark-delete, package-menu-mark-install)
5897 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5898 (package-menu-mark-obsolete-for-deletion):
5899 Use package-menu-get-status instead of a regexp search.
25322144
CY
5900 (package-menu-get-status): Use tabulated-list-entry.
5901 (package-menu-mark-upgrades): New command.
d770725a 5902 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5903 (package-menu-execute): Do installation before deletion.
5904 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5905 instead of checking major-mode.
5906 (package-menu--find-upgrades): New function.
5907
7520339c
LMI
59082011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5909
5910 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5911 passwords in the log buffer.
65a046c4
LMI
5912 (smtpmail-process-filter): Update the process marker so that the
5913 "broken by peer" status message is inserted in the right place.
7520339c 5914
d3c30954
SM
59152011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5916
3fe48822
SM
5917 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5918 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5919 bibtex-completion-at-point-function.
5920 (bibtex-completion-at-point-function): Use them.
5921
1b8b3954
SM
5922 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5923
d3c30954
SM
5924 * mpc.el (mpc-constraints-tag-lookup): New function.
5925 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5926 also to browser "album|playlist".
5927
72779976
JL
59282011-09-14 Juri Linkov <juri@jurta.org>
5929
5930 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5931 (isearch-edit-string): Use length of `isearch-string' when
5932 `isearch-fail-pos' returns nil.
5933 (isearch-message): Remove duplicate code and call
5934 `isearch-fail-pos' with arg `t'.
5935
a0bf2bcd
CY
59362011-09-14 Chong Yidong <cyd@stupidchicken.com>
5937
17bb0a2d
CY
5938 * replace.el (occur-mode-goto-occurrence): Don't force using other
5939 window (Bug#9499).
5940
a0bf2bcd
CY
5941 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5942
f678e0b6
MR
59432011-09-14 Martin Rudalics <rudalics@gmx.at>
5944
5945 * window.el (display-buffer-window): Remove.
5946 (display-buffer-record-window): Use help-setup window parameter
5947 instead of variable display-buffer-window.
5948 (display-buffer-function, special-display-buffer-names)
5949 (special-display-function): Mention help-setup parameter instead
5950 of display-buffer-window in doc-string.
d3c30954
SM
5951 * help.el (help-window-setup): New argument help-window.
5952 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5953 Reword some messages.
5954 (with-help-window): Pass window used for displaying the buffer
5955 to help-window-setup. Don't set display-buffer-window.
5956
8e39b2e8
GM
59572011-09-13 Glenn Morris <rgm@gnu.org>
5958
5959 * emacs-lisp/debug.el (debugger-make-xrefs):
5960 Preserve point. (Bug#9462)
5961
85e9c04b
CY
59622011-09-13 Chong Yidong <cyd@stupidchicken.com>
5963
5964 * window.el (window-deletable-p): Use next-frame.
5965
1b36ed6a
MR
59662011-09-13 Martin Rudalics <rudalics@gmx.at>
5967
5968 * window.el (window-auto-delete): Remove.
5969 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5970 dedication and previous buffers.
1b36ed6a
MR
5971 (switch-to-prev-buffer): Don't delete window.
5972 (delete-windows-on): Delete a window's frame if and only if the
5973 window is dedicated.
5974 (replace-buffer-in-windows): Delete buffer's window or frame if
5975 and only if window is dedicated.
5976 (quit-window): Handle quit-restore as before last change.
4d61f28d 5977 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5978
ef8ef9fb
CY
59792011-09-13 Chong Yidong <cyd@stupidchicken.com>
5980
5981 * window.el (window-deletable-p): Never delete the last frame on a
5982 given terminal.
5983
b2cba41e
GM
59842011-09-13 Glenn Morris <rgm@gnu.org>
5985
5986 * help.el (describe-key-briefly): Copy previous standard-output change.
5987
51553db6 59882011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5989
5990 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5991
b7556719
GM
59922011-09-13 Glenn Morris <rgm@gnu.org>
5993
5994 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5995 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5996
64b51947
CY
59972011-09-12 Chong Yidong <cyd@stupidchicken.com>
5998
5999 * dired-aux.el (dired-mark-read-string): Don't return default
6000 value on empty input (Bug#9361).
6001 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6002 Omit initial minibuffer contents.
6003 (dired-do-chmod): Signal an error on empty input.
6004 (dired-mark-read-string): Don't return default on empty input.
6005
6006 * files.el (file-modes-symbolic-to-number): Doc fix.
6007
393a301e
SM
60082011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * international/mule-cmds.el (ucs-completions): Remove.
6011 (read-char-by-name): Use complete-with-action instead; add metadata.
6012
fa5660f9
CY
60132011-09-11 Chong Yidong <cyd@stupidchicken.com>
6014
6015 * window.el (display-buffer--action-function-custom-type)
6016 (display-buffer--action-custom-type): New vars.
6017 (display-buffer-alist, display-buffer-default-action)
6018 (display-buffer-overriding-action): Add defcustom types.
6019
4a592f66
CY
6020 * frame.el (delete-other-frames): Doc fix (Bug#276).
6021
73d56dbd
LMI
60222011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6023
6024 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6025
37ac18a3
CY
60262011-09-11 Chong Yidong <cyd@stupidchicken.com>
6027
6028 Change modes that used same-window-* vars to use switch-to-buffer.
6029
6030 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6031 Use switch-to-buffer.
6032
6033 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6034 (customize-browse, custom-buffer-create-other-window):
6035 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6036
6037 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6038 (Info-prev, Info-up, Info-speedbar-goto-node)
6039 (info-display-manual): Use switch-to-buffer.
6040 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6041
6042 * mail/sendmail.el (mail): Use switch-to-buffer.
6043 (mail-recover): Use switch-to-buffer-other-window.
6044
6045 * cmuscheme.el (run-scheme, switch-to-scheme):
6046 * ielm.el (ielm):
6047 * shell.el (shell):
6048 * net/rlogin.el (rlogin):
6049 * net/telnet.el (telnet, rsh):
6050 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6051
10195bd6
AS
60522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6053
6054 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6055
b322f63a
LMI
60562011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6057
39d7fed6
LMI
6058 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6059 so don't mention it (bug#9301).
ba5a81f1 6060 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6061
ee0e9f11
LMI
6062 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6063 match `x', `w32' and `ns', like the manual says (bug#9029).
6064
0b1c89c1 6065 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6066 (process-kill-buffer-query-function): Mention the buffer name in
6067 the query.
0b1c89c1 6068
77549ea8
LMI
6069 * image-mode.el (image-next-line): The line parameter is mandatory
6070 (bug#9258).
6071
803ef892
LMI
6072 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6073 which can be useful (bug#9301).
6074
12980837
LMI
6075 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6076
91054f8f
LMI
6077 * subr.el (match-string): Mention that the current buffer should
6078 be the same as the search was done in (bug#9282).
6079
b322f63a
LMI
6080 * facemenu.el: Disable the remove-* commands if the mark isn't
6081 active (bug#9162).
6082
3199b96f
CY
60832011-09-10 Chong Yidong <cyd@stupidchicken.com>
6084
6085 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6086 of display-buffer.
6087 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6088
6089 * replace.el (occur-mode-goto-occurrence)
6090 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6091 and display-buffer.
6092
6093 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6094 display-buffer.
6095
6096 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6097 special-display and same-window variables.
6098 (mail-other-window): Use switch-to-buffer-other-window.
6099 (mail-other-frame): USe switch-to-buffer-other-frame.
6100
393a301e
SM
6101 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6102 Use display-buffer-other-frame.
3199b96f
CY
6103 (gdb-display-gdb-buffer): Use pop-to-buffer.
6104
6105 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6106
6107 * progmodes/python.el: Don't set same-window-buffer-names.
6108
6109 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6110
6111 * window.el (display-buffer-alist): Add *Python*.
6112
8319e0bf
CY
61132011-09-10 Chong Yidong <cyd@stupidchicken.com>
6114
6115 * window.el (display-buffer-alist): Add entry for buffers
6116 previously handled same-window-*.
6117 (display-buffer-alist, display-buffer-default-action)
6118 (display-buffer-overriding-action): Mark as risky.
6119 (display-buffer-alist): Document action function changes.
6120 (display-buffer--same-window-action)
6121 (display-buffer--other-frame-action): New variables.
6122 (switch-to-buffer, display-buffer-other-frame): Use them.
6123 (display-buffer): Rename reuse-frame entry to reusable-frames.
6124 (display-buffer-reuse-selected-window): Function deleted.
6125 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6126 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6127 (display-buffer-special): New function.
6128 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6129 display-buffer-reuse-or-pop-window. Split off special-display
6130 part into display-buffer-special.
6131 (display-buffer-use-some-window): Don't perform any special
6132 pop-up-frames handling.
6133 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6134 (display-buffer--maybe-same-window): Rename from
0d3ff375 6135 display-buffer-maybe-same-window.
8319e0bf 6136
919a69aa
CY
6137 * info.el: Don't set same-window-regexps.
6138 (info-setup): New function.
6139 (info-other-window, info): Call it.
6140
6141 * cus-edit.el: Don't set same-window-regexps.
6142 (customize-group): New argument.
6143 (customize-group-other-window): Use it.
6144 (customize-face, customize-face-other-window): Likewise.
6145 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6146
8319e0bf
CY
6147 * net/rlogin.el:
6148 * net/telnet.el:
6149 * progmodes/gud.el: Don't set same-window-regexps.
6150
6151 * cmuscheme.el:
6152 * ielm.el:
6153 * shell.el:
6154 * mail/sendmail.el:
6155 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6156
25173000
JL
61572011-09-10 Juri Linkov <juri@jurta.org>
6158
6159 * isearch.el (isearch-edit-string): Remove obsolete mention of
6160 `C-w' (`isearch-yank-word-or-char') from docstring.
6161 (isearch-query-replace): Fix typo in docstring (bug#9466).
6162
056e44ef
JL
61632011-09-10 Juri Linkov <juri@jurta.org>
6164
6165 * paren.el (show-paren-function): Don't show escaped parens.
6166 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6167
c3760c17
EZ
61682011-09-10 Eli Zaretskii <eliz@gnu.org>
6169
6170 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6171 (mm-default-file-encoding): Remove autoload forms, they are
6172 replaced with autoload cookies in mml.el and mm-encode.el.
6173 (mail-add-attachment): New command.
6174 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6175 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6176 the doc string.
6177 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6178
fece895e
RT
61792011-09-10 Reuben Thomas <rrt@sc3d.org>
6180
e69df516
SM
6181 * simple.el (count-words-region): Use buffer if there's no region
6182 (bug#9429).
fece895e 6183
5e68ce4a
JL
61842011-09-09 Juri Linkov <juri@jurta.org>
6185
6186 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6187 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6188 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6189
0a6b9622
AM
61902011-09-09 Alan Mackenzie <acm@muc.de>
6191
6192 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6193 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6194
14a29deb
EZ
61952011-09-09 Eli Zaretskii <eliz@gnu.org>
6196
6197 Fix for Savannah bug#9392.
6198 * simple.el (mail-encode-mml): New defvar.
6199
6200 * mail/rmail.el (mail-encode-mml): Add a defvar.
6201 (rmail-enable-mime-composing): Default to t.
6202 (rmail-forward): Use MIME method of forwarding only if both
6203 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6204 Set mail-encode-mml non-nil if the MIME method was used.
6205
6206 * mail/sendmail.el (mml-to-mime): Add autoload form.
6207 (mail-encode-mml): Add a defvar.
6208 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6209 to nil.
6210 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6211 message through mml-to-mime, and reset mail-encode-mml to nil.
6212
28c45130
GM
62132011-09-09 Glenn Morris <rgm@gnu.org>
6214
6215 * woman.el (woman-if-body): When processing an .el block,
6216 do not delete the next .el block as well. (Bug#9447)
69f4b618 6217 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6218
9b1c252e
MR
62192011-09-08 Martin Rudalics <rudalics@gmx.at>
6220
6221 * window.el (window-deletable-p): Make sure window is live before
6222 invoking window-prev-buffers.
6223
567457e3
LL
62242011-09-08 Leo Liu <sdl.web@gmail.com>
6225
6226 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6227
97f05794
JL
62282011-09-08 Juri Linkov <juri@jurta.org>
6229
6230 * progmodes/compile.el (compilation-environment): Make it
6231 a defcustom (bug#8340).
6232
8b0874b5
MR
62332011-09-08 Martin Rudalics <rudalics@gmx.at>
6234
6235 * window.el (frame-auto-delete): Rename to window-auto-delete.
6236 Make it control auto-deletion of windows and/or frames.
6237 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6238 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6239 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6240 Rewrite handling of case when window/frame can be deleted.
6241 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6242 argument t. (Bug#9456)
8b0874b5 6243
4feb6e73
CY
62442011-09-07 Chong Yidong <cyd@stupidchicken.com>
6245
6246 * help-mode.el (help-mode): Restore autoload.
6247
91ab9c13
JL
62482011-09-07 Juri Linkov <juri@jurta.org>
6249
6250 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6251 `compilation-environment'. Set buffer-local
6252 `compilation-environment' to `thisenv' later after (funcall mode).
6253 (Bug#8340)
6254
6255 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6256 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6257 instead of replacing its value. (Bug#8340)
6258
0527e251
JL
62592011-09-07 Juri Linkov <juri@jurta.org>
6260
6261 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6262 based on text properties put by `grep-filter' instead of matching
6263 escape sequences.
6264 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6265 to the value of `grep-error-screen-columns' (bug#9438).
6266
249f792c
JL
62672011-09-07 Juri Linkov <juri@jurta.org>
6268
6269 * simple.el (next-error-highlight, next-error-highlight-no-select):
6270 Doc fix (bug#9432).
6271
ff7271b9
OT
62722011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6273
6274 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6275 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6276
183fc730
LL
62772011-09-07 Leo Liu <sdl.web@gmail.com>
6278
6279 * net/rcirc.el (rcirc-mode): Conditionally initialize
6280 rcirc-input-ring.
6281
77694924
SM
62822011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * emacs-lisp/find-func.el (find-function-C-source): Only set
6285 find-function-C-source-directory after checking that we found a source
6286 file there (bug#9440).
6287
d809b8eb
AM
62882011-09-06 Alan Mackenzie <acm@muc.de>
6289
6290 * isearch.el (isearch-other-meta-char): Wherever a key list is
6291 unread, "unread" the prefix arg, too. This fixes bug #8901.
6292
453de99f
OG
62932011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6294
6295 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6296
90439906
JL
62972011-09-05 Juri Linkov <juri@jurta.org>
6298
6299 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6300
f62bd846
JL
63012011-09-05 Juri Linkov <juri@jurta.org>
6302
6303 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6304 keeping point where processing of grep matches begins, and
6305 continue to delete remaining escape sequences from the same point.
6306 (grep-filter): Make leading zero optional in "0?1;31m" because
6307 git-grep emits "\033[1;31m" escape sequences unlike expected
6308 "\033[01;31m" as GNU Grep does (bug#9408).
6309 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6310
045820ec
JL
63112011-09-05 Juri Linkov <juri@jurta.org>
6312
6313 * subr.el (y-or-n-p): Capitalize "yes".
6314
f5e29b9b
MA
63152011-09-04 Michael Albinus <michael.albinus@gmx.de>
6316
6317 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6318 `tramp-cache-unload-hook' where appropriate.
6319 (tramp-methods): Rename `tramp-remote-sh' to
6320 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6321 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6322
6323 * net/tramp-sh.el (top): Don't require 'shell.
6324 (tramp-methods): Add `tramp-remote-shell' and
6325 `tramp-remote-shell-args' entries.
6326 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6327 (tramp-sh-handle-shell-command): Remove.
6328 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6329 Use `tramp-remote-shell'.
6330
2784c434
CY
63312011-09-03 Chong Yidong <cyd@stupidchicken.com>
6332
393a301e 6333 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6334 (sendmail-query-once): Save directly to send-mail-function.
6335 Update message-send-mail-function too.
6336
6337 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6338
464cdf56
CS
63392011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6340
6341 * progmodes/python.el (python-mode-map): Use correct function to
6342 start python interpreter from menu-bar (as reported by Geert
6343 Kloosterman).
6344 (inferior-python-mode-map): Fix typo.
393a301e 6345 (python-shell-map): Remove.
464cdf56 6346
d37e5c87
DD
63472011-09-03 Deniz Dogan <deniz@dogan.se>
6348
6349 * net/rcirc.el (rcirc-print): Simplify code for
6350 rcirc-scroll-show-maximum-output. There is no need to walk
6351 through all windows to find the right one.
6352
f3ada0ee
CS
63532011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6354
6355 * help.el (help-return-method): Doc fix.
6356
1f3c99ca
MR
63572011-09-03 Martin Rudalics <rudalics@gmx.at>
6358
6359 * window.el (window-deletable-p): Don't return a non-nil value
6360 when there's a buffer that was shown in the window before.
6361 (Bug#9419)
393a301e
SM
6362 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6363 Set window's previous buffers to nil.
1f3c99ca 6364
a3cf097f
EZ
63652011-09-03 Eli Zaretskii <eliz@gnu.org>
6366
6367 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6368 newline before and after the tag line, so it doesn't interfere
6369 with determining the paragraph direction of bidirectional text.
6370
3d03de90
LL
63712011-09-03 Leo Liu <sdl.web@gmail.com>
6372
6373 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6374
c3313451
CY
63752011-09-02 Chong Yidong <cyd@stupidchicken.com>
6376
393a301e 6377 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6378 (pop-to-buffer): Change interactive spec. Pass second argument
6379 directly to display-buffer.
6380 (display-buffer): Fix interactive spec. Use functionp to
6381 distinguish between a function and a list of functions.
6382
6383 * abbrev.el (edit-abbrevs):
6384 * arc-mode.el (archive-extract):
6385 * autoinsert.el (auto-insert):
6386 * bookmark.el (bookmark-bmenu-list):
6387 * files.el (find-file):
6388 * view.el (view-buffer):
6389 * progmodes/compile.el (compilation-goto-locus):
6390 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6391
89894cd8
CY
63922011-09-02 Chong Yidong <cyd@stupidchicken.com>
6393
6394 * window.el (display-buffer-alist): Doc fix.
6395 (display-buffer): Add docstring. Don't treat
6396 display-buffer-default specially.
6397 (display-buffer-reuse-selected-window)
6398 (display-buffer-same-window, display-buffer-maybe-same-window)
6399 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6400 (display-buffer-pop-up-window)
6401 (display-buffer-reuse-or-pop-window)
6402 (display-buffer-use-some-window): New functions.
6403 (display-buffer-default-action): Use them.
393a301e 6404 (display-buffer-default): Delete.
89894cd8
CY
6405 (pop-to-buffer-1): Fix choice of actions.
6406
ae0bc9fb
SM
64072011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6408
6409 * minibuffer.el (completion--insert-strings): Don't get confused by
6410 completion entries that end with an LF char.
6411
e9d90883
EZ
64122011-09-01 Eli Zaretskii <eliz@gnu.org>
6413
6414 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6415
437014c8
CY
64162011-09-01 Chong Yidong <cyd@stupidchicken.com>
6417
6418 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6419 (display-buffer-same-window, display-buffer-other-window):
6420 New functions.
437014c8
CY
6421 (pop-to-buffer-1): New function. Use the above.
6422 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6423 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6424
6425 * view.el (view-buffer-other-window, view-buffer-other-frame):
6426 Just use pop-to-buffer.
6427
a5e063d5
TV
64282011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6429
6430 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6431
793d32bb
WH
64322011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6433
6434 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6435
d65e4c15
RS
64362011-08-31 Richard Stallman <rms@gnu.org>
6437
6438 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6439 of the separation of rmail-view-buffer from rmail-buffer.
6440 If you say no to "replace original", the decrypt is in the
6441 view buffer. If you say yes, the decrypt goes into the
6442 rmail buffer also.
6443
f818cd2a
MR
64442011-08-31 Martin Rudalics <rudalics@gmx.at>
6445
6446 * window.el (display-buffer-window): Rewrite doc-string.
6447 (display-buffer-record-window): New function.
6448 (display-buffer-macro-specifiers)
6449 (display-buffer-even-window-sizes, display-buffer-set-height)
6450 (display-buffer-set-width, display-buffer-in-window)
6451 (display-buffer-reuse-window, display-buffer-split-specifiers)
6452 (display-buffer-side-specifiers, display-buffer-split-window-1)
6453 (display-buffer-split-window, display-buffer-split-atom-window)
6454 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6455 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6456 (display-buffer-other-window-means-other-frame)
6457 (display-buffer-normalize-special)
6458 (display-buffer-normalize-default)
6459 (display-buffer-normalize-argument)
6460 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6461 (display-buffer-normalize-specifiers, display-buffer-frame)
6462 (display-buffer-same-window, display-buffer-same-frame)
6463 (display-buffer-other-window)
6464 (display-buffer-same-frame-other-window)
6465 (display-buffer-other-frame, pop-to-buffer-same-window)
6466 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6467 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6468 (switch-to-buffer-same-frame)
6469 (switch-to-buffer-other-window-same-frame)
6470 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6471 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6472 (display-buffer-alist-set): Remove.
6473 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6474 (special-display-regexps, special-display-function):
6475 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6476 parameter.
6477 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6478 (special-display-frame-alist, special-display-popup-frame)
6479 (same-window-buffer-names, same-window-regexps, same-window-p)
6480 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6481 (split-window-preferred-function, split-height-threshold)
6482 (split-width-threshold, window-splittable-p)
6483 (split-window-sensibly, window--try-to-split-window)
6484 (window--frame-usable-p, even-window-heights)
6485 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6486 (window--display-buffer-2, display-buffer-other-frame):
6487 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6488 (display-buffer-default, display-buffer-assq-regexp): New functions.
6489 (display-buffer-alist): Rewrite doc-string.
6490 (display-buffer-default-action)
6491 (display-buffer-overriding-action): New variables.
6492 (display-buffer, switch-to-buffer): Rewrite.
6493 (pop-to-buffer): Restore Emacs 23 behavior but use
6494 window-normalize-buffer-to-display.
6495 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6496 Restore Emacs 23 behavior but use
6497 window-normalize-buffer-to-switch-to.
6498 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6499 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6500 Rewrite using Emacs 23 options.
f818cd2a 6501
5bc3b51d
MA
65022011-08-31 Michael Albinus <michael.albinus@gmx.de>
6503
6504 * net/tramp.el (tramp-root-regexp): Remove.
6505 (tramp-completion-file-name-regexp-unified)
6506 (tramp-completion-file-name-regexp-separate)
6507 (tramp-completion-file-name-regexp-url): Don't use leading volume
6508 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6509 (tramp-drop-volume-letter): Simplify definition.
6510 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6511
b1a4f8e1
SM
65122011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6515 (bug#9356).
6516
5664fa7b
RT
65172011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6518
b1a4f8e1 6519 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6520
9a45d6c3
JL
65212011-08-29 Juri Linkov <juri@jurta.org>
6522
6523 * isearch.el (isearch-done): Don't display message "Mark saved"
6524 when arg `edit' is non-nil to prevent its flicker in the echo area.
6525
fb87e0fb
CY
65262011-08-28 Chong Yidong <cyd@stupidchicken.com>
6527
6528 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6529 obsolete packages for deletion.
6530
09ac1c2a
CS
65312011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6532
6533 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6534 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6535 view-mode from help-mode.
6536 (help-xref-override-view-map): Remove.
6537 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6538 view-mode is not used anymore.
6539
7a1ff57f
CY
65402011-08-28 Chong Yidong <cyd@stupidchicken.com>
6541
6542 * server.el (server-port): Doc fix.
6543
b9696605
CY
6544 * cus-theme.el (custom-theme-choose-mode): Inherit from
6545 special-mode (Bug#9124).
6546 (custom-theme-choose-mode-map): Add special-mode to parent.
6547
ef8cdf8c
AM
65482011-08-28 Alan Mackenzie <acm@muc.de>
6549
6550 * progmodes/cc-fonts.el
6551 (c-make-font-lock-BO-decl-search-function): New function.
6552 (c-basic-matchers-after - "Fontify the clauses after various
6553 keywords"): Extract the three keyword lists for the 3 erroneous
6554 constructs from the list of four, and use the new function above
6555 in place of an old one.
6556
27de4e20
DD
65572011-08-28 Deniz Dogan <deniz@dogan.se>
6558
6559 * net/rcirc.el (rcirc-insert-prev-input)
6560 (rcirc-insert-next-input): Remove unused argument.
6561
356a3681
SM
65622011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6565
3fc9b218
AM
65662011-08-27 Alan Mackenzie <acm@muc.de>
6567
6568 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6569 handle function pointer parameters properly.
6570
538a061c
MR
65712011-08-27 Martin Rudalics <rudalics@gmx.at>
6572
6573 * window.el (display-buffer-reuse-window): Fix case where
6574 selected window was reused with non-nil OTHER-WINDOW argument.
6575 (Bug#9381)
6576
35b1c40c
DD
65772011-08-27 Deniz Dogan <deniz@dogan.se>
6578
6579 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6580 oftc's NickServ messages.
6581
2f6a3e79
GM
65822011-08-27 Glenn Morris <rgm@gnu.org>
6583
6584 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6585
7254299e
CY
65862011-08-26 Chong Yidong <cyd@stupidchicken.com>
6587
6588 * emacs-lisp/package.el (package-install): Call package-initialize
6589 if called interactively.
6590
f8ccf167
LL
65912011-08-26 Leo Liu <sdl.web@gmail.com>
6592
6593 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6594
3e8cd5ce
JL
65952011-08-25 Juri Linkov <juri@jurta.org>
6596
6597 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6598 `search-whitespace-regexp' (bug#9364).
6599
93eb7113
JL
66002011-08-25 Juri Linkov <juri@jurta.org>
6601
6602 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6603 `regexp-search-ring' to their global values to protect from
6604 updating by `read-from-minibuffer' (bug#9185).
6605
f65d1611
JL
66062011-08-25 Juri Linkov <juri@jurta.org>
6607
6608 * textmodes/ispell.el (ispell-command-loop): Add newline
6609 at the end of the "Use option `i'..." line.
6610
f1cf7a31
JL
66112011-08-25 Juri Linkov <juri@jurta.org>
6612
6613 * battery.el (display-battery-mode): If `battery-status-function'
6614 or `battery-mode-line-format' is nil, display the message and set
6615 `display-battery-mode' to nil (bug#9363).
6616
0c95fcf7
EZ
66172011-08-25 Eli Zaretskii <eliz@gnu.org>
6618
6619 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6620 bidi-string-mark-left-to-right; they are unnecessary now.
6621
a2ebe600
DD
66222011-08-25 Deniz Dogan <deniz@dogan.se>
6623
6624 * net/quickurl.el: Documentation typo fixes.
6625
e4ed06f1
CY
66262011-08-25 Chong Yidong <cyd@stupidchicken.com>
6627
6628 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6629
e5f1c99e
GM
66302011-08-25 Glenn Morris <rgm@gnu.org>
6631
b2948976
GM
6632 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6633
e5f1c99e
GM
6634 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6635 (smtpmail-via-smtp): Handle nil response from smtp.
6636
f22f4808
JL
66372011-08-24 Juri Linkov <juri@jurta.org>
6638
6639 * proced.el (proced-marked): Inherit from `error' instead of
6640 `font-lock-warning-face'.
6641
6642 * ibuffer.el (ibuffer-marked-face): Change default face from
6643 `font-lock-warning-face' to `warning'.
6644 (ibuffer-deletion-face): Change default face from
6645 `font-lock-type-face' to `error'.
6646
6647 * battery.el (battery-update): Use the face `error' instead of
6648 `font-lock-warning-face' (bug#6117).
6649
6a93965e
JL
66502011-08-24 Juri Linkov <juri@jurta.org>
6651
6652 * faces.el (success): Change face color from "Green3" to
6653 "ForestGreen" on light background (bug#9353).
6654
1ed43b09
CY
66552011-08-24 Chong Yidong <cyd@stupidchicken.com>
6656
5664fa7b
RT
6657 * window.el (quit-window): Rename from quit-restore-window.
6658 Use same arglist as old quit-window.
1ed43b09
CY
6659 (frame-auto-delete): Doc fix.
6660
6661 * view.el (view-mode-exit): Use quit-window.
6662
11dcdbb2
JL
66632011-08-24 Juri Linkov <juri@jurta.org>
6664
6665 * isearch.el (isearch-ring-adjust1): Start visiting previous
6666 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6667 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6668 for empty search string (when the last search string is reused
6669 automatically) to adjust the isearch ring to the last element and
6670 prepare the correct index for further M-p commands (bug#9185).
6671
de62b4df
KH
66722011-08-24 Kenichi Handa <handa@m17n.org>
6673
6674 * international/ucs-normalize.el: If decomposition property of
6675 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6676 nil.
6677 (nfd, nfkd): Likewise.
6678
963b492b
SM
66792011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6680
6681 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6682 from process filters aren't reliably transmitted to the surrounding
6683 accept-process-output.
6684 (mpc-proc-check): New function.
6685 (mpc-proc-sync): Use it (bug#8293)
6686
93b6b5e1
SM
66872011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6690 Add compatibility functions (bug#9313).
6691
bca633fb
EZ
66922011-08-23 Eli Zaretskii <eliz@gnu.org>
6693
b177498a
EZ
6694 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6695
6df6ae42 6696 * international/uni-bidi.el: Regenerate.
bca633fb 6697
0902a04e
KH
66982011-08-23 Kenichi Handa <handa@m17n.org>
6699
6700 * international/charprop.el:
6701 * international/uni-bidi.el:
6702 * international/uni-category.el:
6703 * international/uni-combining.el:
6704 * international/uni-comment.el:
6705 * international/uni-decimal.el:
6706 * international/uni-decomposition.el:
6707 * international/uni-digit.el:
6708 * international/uni-lowercase.el:
6709 * international/uni-mirrored.el:
6710 * international/uni-name.el:
6711 * international/uni-numeric.el:
6712 * international/uni-old-name.el:
6713 * international/uni-titlecase.el:
6714 * international/uni-uppercase.el: Regenerate.
6715
3bbf23bc
MR
67162011-08-23 Martin Rudalics <rudalics@gmx.at>
6717
6718 * help.el (help-window-setup): Fix message displayed when other
6719 window is reused. (Bug#9341)
6720
b3fd59bd
SM
67212011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6722
1802e444
SM
6723 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6724 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6725
b3fd59bd
SM
6726 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6727 Mark obsolete.
6728 * shell.el (shell-parse-pcomplete-arguments): New function.
6729 (shell-completion-vars): Use it instead (bug#9160).
6730
4eb61348
SM
67312011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6732
867cab74
SM
6733 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6734 strings and comments (bug#9333).
6735
4eb61348
SM
6736 * emacs-lisp/debug.el (debug-arglist): New function.
6737 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6738 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6739
262a1439
JL
67402011-08-22 Juri Linkov <juri@jurta.org>
6741
56ee679c
JL
6742 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6743 Revert regexp that highlights output switches to its old
6744 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6745
262a1439
JL
6746 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6747 to check for empty output (bug#9226).
6748
f13f86fb
CY
67492011-08-22 Chong Yidong <cyd@stupidchicken.com>
6750
6751 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6752 symbol-constituent as the default, as that stops font-lock from
6753 working properly (Bug#8843).
6754
c65c9622
LMI
67552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6756
6757 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6758 `coding-system-for-*' around the process open call to avoid
6759 auth-source side effects.
e7f2c178 6760 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6761 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6762 probe hangs.
c65c9622 6763
23a8a5ab
CY
67642011-08-21 Chong Yidong <cyd@stupidchicken.com>
6765
ff98b2dd
CY
6766 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6767
23a8a5ab
CY
6768 * emacs-lisp/find-func.el (find-function-noselect): New arg
6769 lisp-only.
6770
6771 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6772 signal an error for built-in functions (Bug#6664).
6773
f5e3c598
LMI
67742011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775
6776 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6777 (smtpmail-try-auth-methods): Use it.
6778
a3f2468a
CY
67792011-08-21 Chong Yidong <cyd@stupidchicken.com>
6780
2c34e8da
CY
6781 * font-lock.el (font-lock-fontify-region)
6782 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6783 (font-lock-default-unfontify-buffer)
6784 (font-lock-default-fontify-region)
6785 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6786
b3fd59bd
SM
6787 * progmodes/compile.el (compilation-error-properties):
6788 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6789 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6790 `ant' regexp.
ee31aabc 6791
a3f2468a
CY
6792 * net/browse-url.el (browse-url-firefox): Don't call
6793 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6794
8e999f70
GM
67952011-08-20 Glenn Morris <rgm@gnu.org>
6796
c21a496a
GM
6797 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6798
59ee0542
GM
6799 * tutorial.el (tutorial--default-keys): Update some default bindings.
6800
8e999f70
GM
6801 * files.el (hack-local-variables): Fully ignore case for "mode:".
6802
e3715033
AM
68032011-08-20 Alan Mackenzie <acm@muc.de>
6804
6805 Resolve invalid use of a regexp in regexp-opt.
6806
4d61f28d
JB
6807 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6808 detection for a java annotation.
e3715033 6809
4d61f28d 6810 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6811 detection for a java annotation.
6812
4d61f28d
JB
6813 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6814 handling for java.
e3715033
AM
6815 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6816
04ed2e9c
CY
68172011-08-20 Chong Yidong <cyd@stupidchicken.com>
6818
6819 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6820 (Bug#9274).
6821
826cee64
AM
68222011-08-20 Alan Mackenzie <acm@muc.de>
6823
58179cce 6824 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6825 such a construct. Mainly for when jit-lock etc. starts a chunk
6826 here.
6827
58179cce 6828 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6829 variable.
58179cce 6830 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6831 c-make-font-lock-search-function.
6832 (c-make-font-lock-search-function): Use the above function.
6833 (c-make-font-lock-context-search-function): New function.
6834 (c-cpp-matchers): Enhance the preprocessor expression case with
6835 the above function
6836 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6837 which takes an expression.
6838
6839 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6840
13009bd8
MR
68412011-08-20 Martin Rudalics <rudalics@gmx.at>
6842
6843 * window.el (display-buffer-reuse-window)
6844 (display-buffer-pop-up-window): Don't reuse or split a side
6845 window.
6846
9234ff7f
GM
68472011-08-19 Glenn Morris <rgm@gnu.org>
6848
6849 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6850 Downcase "Mode:". (Bug#9331)
9234ff7f 6851
f635daa1
CY
68522011-08-18 Chong Yidong <cyd@stupidchicken.com>
6853
6854 * international/characters.el: Add L and R categories.
6855
6856 * subr.el (bidi-string-mark-left-to-right): Rename from
6857 string-mark-left-to-right. Use category search.
6858
6859 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6860
bc987f8b
JL
68612011-08-18 Juri Linkov <juri@jurta.org>
6862
6863 * faces.el (error, warning, success): New faces with definitions
6864 copied from old default values of `font-lock-warning-face',
6865 `compilation-warning', `compilation-info' (bug#6117).
6866
6867 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6868
6869 * progmodes/compile.el (compilation-error): Inherit from `error'.
6870 (compilation-warning): Inherit from `warning'.
6871 (compilation-info): Inherit from `success'.
6872
6873 * dired.el (dired-marked): Inherit from `warning'.
6874 (dired-flagged): Inherit from `error'.
6875
57173b96
LMI
68762011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6877
3e79eb87
LMI
6878 * mail/smtpmail.el (auth-source): Require to avoid problems with
6879 binding variables (bug#9298). Also clean up some unused
6880 autoloads.
6881
b3fd59bd
SM
6882 * net/network-stream.el (network-stream-open-starttls):
6883 Support using starttls.el without using gnutls-cli.
57173b96 6884
02b404de
JL
68852011-08-17 Juri Linkov <juri@jurta.org>
6886
6887 * progmodes/grep.el (rgrep): Handle the case when
6888 `grep-find-command' is a cons cell (bug#9278).
6889
8c9177f2
MR
68902011-08-17 Martin Rudalics <rudalics@gmx.at>
6891
6892 * window.el (display-buffer-pop-up-frame): Run frame creation
6893 function with BUFFER current (as special-display-popup-frame
6894 does). Reported by Drew Adams.
6895
3644a0ab
DU
68962011-08-17 Daiki Ueno <ueno@unixuser.org>
6897
6898 * epa-mail.el: Simplify GnuPG group expansion using
6899 epg-expand-group.
6900 (epa-mail-group-alist, epa-mail-group-modtime)
6901 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6902 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6903 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6904 Remove.
6905
5e617bc2 69062011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6907
6908 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6909
9c4aeabf
AM
69102011-08-16 Alan Mackenzie <acm@muc.de>
6911
6912 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6913 Correct, to avoid the inside of macros.
6914
3a99bf64
RS
69152011-08-16 Richard Stallman <rms@gnu.org>
6916
04963aa8
RS
6917 * epa-mail.el: Handle GnuPG group definitions.
6918 (epa-mail-group-alist, epa-mail-group-modtime)
6919 (epa-mail-gnupg-conf-file): New variables.
6920 (epa-mail-parse-groups, epa-mail-sync-groups)
6921 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6922 (epa-mail-expand-recipients): New functions.
6923 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6924
177549d0
RS
6925 * mail/rmail.el (rmail-epa-decrypt): New command.
6926
fe38beef
RS
6927 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6928 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6929 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6930 (epa-decrypt-armor-in-region): Make error message clearer.
6931
934eacb9
SM
69322011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6935 and "a2b" to "ab" for `prefix'.
6936
d024fb4e
CY
69372011-08-14 Chong Yidong <cyd@stupidchicken.com>
6938
6939 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6940 filter groups.
de148fee
CY
6941 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6942 Fourquet (Bug#8804).
d024fb4e 6943
62f1ca49
JB
69442011-08-12 Juanma Barranquero <lekktu@gmail.com>
6945
6946 * startup.el (argi): Declare as global variable (bug#9275).
6947
9ccaaa4b
CY
69482011-08-12 Chong Yidong <cyd@stupidchicken.com>
6949
6950 * subr.el (string-mark-left-to-right): Search the entire string
6951 for RTL script, not just the terminating character. Doc fix.
6952
a3dae87a
SM
69532011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6cd18349
SM
6955 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6956 New function.
6957 (js--regexp-literal, js-syntax-propertize-function): Remove.
6958 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6959 (js-mode-map): Don't rebind electric keys.
6960 (js-insert-and-indent): Remove.
6961 (js-mode): Setup electric-layout and electric-indent instead.
6962
a3dae87a
SM
6963 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6964
9d5cb631
DU
69652011-08-12 Daiki Ueno <ueno@unixuser.org>
6966
6967 * epa.el (epa-progress-callback-function): Fix the logic of
6968 displaying progress.
6969 * epa-file.el (epa-file-insert-file-contents): Make progress
6970 display more user-friendly.
6971 (epa-file-write-region): Ditto.
6972
3e26a4a2
CY
69732011-08-10 Chong Yidong <cyd@stupidchicken.com>
6974
6975 * subr.el (string-mark-left-to-right): New function.
6976
6977 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6978 Use string-mark-left-to-right.
6979 (list-buffers-noselect): Caller changed.
6980
a3dae87a
SM
6981 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6982 Use string-mark-left-to-right.
3e26a4a2
CY
6983 (tabulated-list-print): Recenter after moving point.
6984
ac8cf6e6
JL
69852011-08-10 Juri Linkov <juri@jurta.org>
6986
6987 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6988 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6989 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6990
8d96c9a4
CY
69912011-08-09 Chong Yidong <cyd@stupidchicken.com>
6992
6993 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6994 (Bug#7554).
6995
7be1c708 69962011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6997
6998 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6999 character. (Bug#6594)
7000
37e11a63
CY
70012011-08-08 Chong Yidong <cyd@stupidchicken.com>
7002
839dde57
CY
7003 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7004 (image-dired--with-db-file): New macro.
7005 (image-dired-write-tags, image-dired-remove-tag)
7006 (image-dired-create-gallery-lists, image-dired-write-comments)
7007 (image-dired-get-comment, image-dired-mark-tagged-files)
7008 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7009 (image-dired-gallery-generate): Use insert-file-contents.
7010
37e11a63
CY
7011 * time.el (display-time-world-list, display-time-world-display):
7012 * time-stamp.el (time-stamp-string):
7013 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7014 set-time-zone-rule (Bug#7337).
7015
0b4946c4
DU
70162011-08-08 Daiki Ueno <ueno@unixuser.org>
7017
7018 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7019 (epg-error-to-string, epg-errors-to-string): New function.
7020 (epg-wait-for-completion): Reverse errors list.
7021 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7022 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7023 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7024 (epg-sign-keys, epg-generate-key-from-file)
7025 (epg-generate-key-from-string): Format errors by using
7026 epg-errors-to-string (bug#9255).
7027 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7028
75bfc667
JL
70292011-08-07 Juri Linkov <juri@jurta.org>
7030
7031 * faces.el (list-faces-display): Remove extra angle bracket
7032 from `help-mode-map'.
7033
7034 * info.el (Info-history-toc-nodes): Doc fix.
7035
7036 * longlines.el (longlines-mode): Doc fix.
7037
673e08bb
SM
70382011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7039
4640dd88
SM
7040 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7041 of statements and in a few more cases (bug#9183).
7042
673e08bb
SM
7043 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7044 New functions.
7045 (cl-transform-lambda): Use them (bug#9239).
7046
89b3f019
MR
70472011-08-05 Martin Rudalics <rudalics@gmx.at>
7048
7049 * window.el (display-buffer-same-window)
7050 (display-buffer-same-frame, display-buffer-other-window)
7051 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7052 (pop-to-buffer-other-window)
7053 (pop-to-buffer-same-frame-other-window)
7054 (pop-to-buffer-other-frame): Make them defuns.
7055 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7056
640c8776
SM
70572011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * subr.el (make-composed-keymap): Move from C. Change calling
7060 convention, and improve docstring to bring attention to a subtle point.
7061 * minibuffer.el (completing-read-default): Adjust accordingly.
7062
63648a95
MA
70632011-08-03 Michael Albinus <michael.albinus@gmx.de>
7064
7065 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7066 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7067
7068 * net/trampver.el: Update release number.
7069
b796c9b7
SM
70702011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7073 "in" (bug#9190).
7074
2239d7d5
LMI
70752011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7076
e07dd7c3
LMI
7077 * mail/sendmail.el (sendmail-query-once): Restore the current
7078 buffer after querying (bug#9074).
7079
0e6a2bd7
LMI
7080 * dired.el (dired-flagged): Use different faces for marked and
7081 flagged files (bug#6117).
7082
ce887515
LMI
7083 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7084 (bug#4433).
7085
92f2affc
LMI
7086 * ido.el (ido-mode): Switch off the message if called
7087 non-interactively.
7088
57d5aff0
LMI
7089 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7090 before 587, since it appears that that's more likely to work for
7091 more people.
7092
98cd6c18 7093 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7094 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7095 exist.
7096
b96dec83
LMI
7097 * info.el: Remove the `Info-beginning-of-buffer' function
7098 (bug#8325).
7099
b796c9b7
SM
7100 * net/network-stream.el (network-stream-open-starttls):
7101 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7102
d90e2ea0
MR
71032011-08-01 Martin Rudalics <rudalics@gmx.at>
7104
7105 * window.el (display-buffer-in-window): Don't set dedicated status
7106 of window here (Bug#9215).
7107 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7108 (display-buffer-pop-up-side-window)
b796c9b7 7109 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7110
cca09170
SM
71112011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7114 before binding generated-autoload-file.
7115
027b979c
DD
71162011-08-01 Deniz Dogan <deniz@dogan.se>
7117
7118 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7119
3c7ee4f3
MA
71202011-07-30 Michael Albinus <michael.albinus@gmx.de>
7121
7122 Sync with Tramp 2.2.2.
7123
7124 * net/trampver.el: Update release number.
7125
2cc8e51a
JL
71262011-07-30 Juri Linkov <juri@jurta.org>
7127
7128 * dired-aux.el (dired-touch-initial): Remove function.
7129 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7130 current time, and `default' to the last modification time of the
7131 current marked file (bug#6887).
7132
a514d856
JM
71332011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7134
7135 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7136 numeric argument to read-number (bug#9163).
a514d856 7137
8a7eddd7
MA
71382011-07-27 Michael Albinus <michael.albinus@gmx.de>
7139
7140 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7141 connection process, it could be nil.
7142
1ddd96f5
LL
71432011-07-27 Leo Liu <sdl.web@gmail.com>
7144
7145 Simplify url handling in rcirc-mode.
7146
7147 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7148 (rcirc-browse-url-at-mouse): Remove.
7149 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7150
b248a85d
AM
71512011-07-26 Alan Mackenzie <acm@muc.de>
7152
7153 Fontify bitfield declarations properly.
7154
7155 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7156 (c-symbol-chars): Now exported as a lang variable.
7157 (c-not-primitive-type-keywords): New lang variable.
7158
7159 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7160 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7161 parsed as a bitfield declaration.
b248a85d 7162
b796c9b7
SM
7163 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7164 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7165 (c-punctuation-in): New function.
7166 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7167 declarations properly.
7168
68575ab0
UJ
71692011-07-26 Ulf Jasper <ulf.jasper@web.de>
7170
7171 * calendar/icalendar.el (icalendar--all-events): Take care of
7172 multiple vcalendars in a single file.
b796c9b7 7173 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7174
0f0a88b9
DD
71752011-07-25 Deniz Dogan <deniz@dogan.se>
7176
7177 * image.el (insert-image): Clarifying docstring.
7178
0b3f36df
MA
71792011-07-24 Michael Albinus <michael.albinus@gmx.de>
7180
7181 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7182 `tramp-send-command-and-check' if there is no error.
7183 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7184
a9901f61
AM
71852011-07-22 Alan Mackenzie <acm@muc.de>
7186
7187 Prevent cc-langs.elc being loaded at run time.
7188
7189 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7190 cc-langs.
7191
4d61f28d 7192 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7193 "(require 'cc-langs)". Quote a form so it will evaluate at
7194 (cc-mode's) compilation time.
7195
11d074b2
MA
71962011-07-22 Michael Albinus <michael.albinus@gmx.de>
7197
7198 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7199 loading. (Bug#9114)
7200
938b94c8
MR
72012011-07-21 Martin Rudalics <rudalics@gmx.at>
7202
7203 * window.el (display-buffer-pop-up-window)
7204 (display-buffer-pop-up-side-window)
7205 (display-buffer-in-side-window): Call display-buffer-set-height
7206 and display-buffer-set-width after setting the new window's
b796c9b7 7207 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7208
bfa4f190
SS
72092011-07-20 Sam Steingold <sds@gnu.org>
7210
7211 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7212 (etags-tags-included-tables): Call `convert-standard-filename' on
7213 the file names contained in TAGS so that windows Emacs can handle
7214 TAGS files created by cygwin ctags.
7215
8ca42262
LMI
72162011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7217
7218 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7219 which apparently didn't work.
7220
5db2afd2 72212011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7222
5db2afd2
RW
7223 * proced.el (proced-send-signal): For *Marked Processes* buffer
7224 put point at beginning of buffer.
7225
92e15d10
SB
72262011-07-19 Stephen Berman <stephen.berman@gmx.net>
7227
7228 * proced.el (proced-format): Make header lines align with the text
7229 (bug#1779).
7230
1bfd59e5
LMI
72312011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7232
7233 * view.el (view-buffer): Allow running in `special' modes if we're
7234 visiting a file (bug#8615).
7235
f5aae37c
MR
72362011-07-19 Martin Rudalics <rudalics@gmx.at>
7237
7238 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7239 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7240 New functions.
f5aae37c
MR
7241 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7242 more accurately.
7243
bf2c1571
AM
72442011-07-18 Alan Mackenzie <acm@muc.de>
7245
7246 Fontify declarators properly when, e.g., a jit-lock chunk begins
7247 inside a declaration.
7248
7249 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7250
b796c9b7
SM
7251 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7252 New function.
bf2c1571
AM
7253 (c-complex-decl-matchers): Insert reference to
7254 c-font-lock-enclosing-decls.
7255
7256 * progmodes/cc-engine.el (c-backward-single-comment):
7257 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7258 to nil around calls to (forward-comment -1).
7259
4e190b80
LMI
72602011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7261
12dc863d
LMI
7262 * image.el (put-image): Doc typo fix.
7263
a762e966
LMI
7264 * progmodes/etags.el (tags-search): Doc typo fix.
7265
4e190b80
LMI
7266 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7267 password if we get errors 550 to 554.
7268
f019fb21
LMI
72692011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7270
b796c9b7 7271 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7272
81746738
LMI
7273 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7274 indentation character (bug#6380).
7275
3ee3a1b5
LMI
7276 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7277
c82f64de
LMI
7278 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7279 to clarify what the problem is (bug#4291).
7280
f019fb21
LMI
7281 * simple.el (current-kill): Clarify what
7282 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7283 (auto-fill-mode): Document `auto-fill-function' in relation to
7284 `auto-fill-mode' (bug#2470).
f019fb21 7285
0794775d
LM
72862011-07-16 Lawrence Mitchell <wence@gmx.li>
7287
7288 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7289 method if slot is read-only (bug#9035).
7290
be39b8cc
MR
72912011-07-16 Martin Rudalics <rudalics@gmx.at>
7292
b796c9b7 7293 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7294 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7295 selected before, see discussion of (Bug#8615), (Bug#6954).
7296 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7297
6ccf7859
GM
72982011-07-15 Glenn Morris <rgm@gnu.org>
7299
7300 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7301 Respect help-form.
6ccf7859 7302
87e86684
LM
73032011-07-09 Lawrence Mitchell <wence@gmx.li>
7304
7305 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7306 (gnutls-negotiate): Use it.
7307
d6066239
LMI
73082011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7309
b796c9b7
SM
7310 * net/gnutls.el (gnutls-negotiate):
7311 Upcase `gnutls-algorithm-priority'.
d6066239 7312
bd23ebc0
GM
73132011-07-15 Glenn Morris <rgm@gnu.org>
7314
c65bca65
GM
7315 * jka-compr.el (jka-compr-verbose): Move from here...
7316 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7317 Add missing :version tag.
7318 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7319
478615cc
LMI
73202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7321
7b41decb
LMI
7322 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7323 (gnutls-negotiate): Use it.
7324
dbc44fcd
LMI
7325 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7326
06789f97
LMI
7327 * info.el (Info-beginning-of-buffer): New command.
7328 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7329 announcing `b' as the key (bug#8325).
ab896c37 7330 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7331
c39da690
LMI
7332 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7333
3aa5f34b
LMI
7334 * international/mule-cmds.el
7335 (describe-specified-language-support): Make the error message
7336 clearer (bug#8905).
7337
4bf0979f
LMI
7338 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7339
478615cc
LMI
7340 * isearch.el (isearch-barrier): Add a doc string, since it's
7341 mentioned in a function doc string (bug#8678).
7342
75c68aa1
MR
73432011-07-15 Martin Rudalics <rudalics@gmx.at>
7344
7345 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7346 buffer argument (Bug#9083) and self-identifying label argument.
7347
a7c33da2
GM
73482011-07-15 Glenn Morris <rgm@gnu.org>
7349
7350 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7351
2f5c6024
LMI
73522011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7353
7354 * man.el (Man-fontify-manpage): Fix message when formatting the
7355 man page (bug#7929).
7356
0bb23927 73572011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7358
7359 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7360 argument LRM; if non-nil, append an invisible LRM character to the
7361 buffer name.
7362 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7363 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7364 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7365 paragraph direction.
cce4b0a7 7366
621ef9ab
LMI
73672011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7368
d1583c48
LMI
7369 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7370 the man page name (bug#7929).
7371
6a57fb5f
LMI
7372 * image.el (put-image): Mention the `put-image' overlay property
7373 (bug#7834).
7374
d7956b14
LMI
7375 * scroll-bar.el (set-scroll-bar-mode): Mention that
7376 `scroll-bar-mode' lists the values (bug#7772).
7377
5b2d4a66
LMI
7378 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7379 command (bug#7729).
7380
7509a874
LMI
7381 * rect.el (apply-on-rectangle): Return the point after the last
7382 operation.
7383 (string-rectangle): Go to the point after the last operation
7384 (bug#7522).
7385
4fe74b19
LMI
7386 * printing.el (pr-toggle-region): Clarify the documentation
7387 slightly (bug#7493).
7388
b796c9b7
SM
7389 * time.el (display-time-update):
7390 Allow `display-time-mail-function' to return nil (bug#7158).
7391 Fix suggested by Detlev Zundel.
ab283561 7392
fc233c9d
LMI
7393 * vc/diff.el (diff): Clarify the order the file names are read
7394 (bug#7111).
7395
43f5740b
LMI
7396 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7397 the doc string (bug#7015).
7398
f2182a76
LMI
7399 * font-lock.el (font-lock-maximum-decoration): Mention what
7400 numeric levels mean (bug#6935).
7401
621ef9ab
LMI
7402 * startup.el (initial-buffer-choice): Don't mention the `none'
7403 selection, which is against policy.
7404
adc47434
MR
74052011-07-14 Martin Rudalics <rudalics@gmx.at>
7406
b796c9b7
SM
7407 * window.el (display-buffer-normalize-special):
7408 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7409
7e5bfb8f
EZ
74102011-07-14 Eli Zaretskii <eliz@gnu.org>
7411
7412 * subr.el (version<, version<=, version=): Mention "-CVS" and
7413 "-12345" alpha version numbers.
7414
27fa387a
CY
74152011-07-14 Chong Yidong <cyd@stupidchicken.com>
7416
7417 * bindings.el: Add advertised binding for set-mark-command
7418 (Bug#5772).
7419
8bdfa064
CY
74202011-07-14 Chong Yidong <cyd@stupidchicken.com>
7421
7422 * bindings.el (mode-line-other-buffer):
7423 * bookmark.el (bookmark-bmenu-2-window):
7424 * bs.el (bs-cycle-next, bs-cycle-previous):
7425 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7426 switch-to-buffer.
7427
7428 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7429 Delete.
8bdfa064 7430
5eba16a3
JB
74312011-07-14 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * follow.el (follow-debug-message, follow-redisplay):
7434 * jka-cmpr-hook.el (with-auto-compression-mode):
7435 Fix typos in docstrings.
7436
15853710
LMI
74372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7438
a28e4607
LMI
7439 * subr.el (with-silent-modifications): Clarify somewhat what the
7440 macro inhibits (bug#6525).
7441
15853710
LMI
7442 * simple.el (eval-expression): Note what it does if called
7443 interactively (bug#6495).
7444
bee0fcef
CY
74452011-07-13 Chong Yidong <cyd@stupidchicken.com>
7446
b796c9b7
SM
7447 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7448 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7449
7450 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7451 Remove switch-to-buffer.
7452
58274504
LMI
74532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7454
bd2fcc8d
LMI
7455 * files.el (make-directory): Clarify that an error will be raised
7456 if there's an error (bug#6397).
7457
0f04b32c
LMI
7458 * startup.el (initial-buffer-choice): Add `none' as a choice
7459 (bug#6234).
7460
465c5fc8
LMI
7461 * subr.el (add-hook): Clarify section about buffer-local hooks
7462 (bug#6218).
7463
58274504
LMI
7464 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7465
bead9a43
JB
74662011-07-13 Juanma Barranquero <lekktu@gmail.com>
7467
7468 * tabify.el (untabify): Preserve the current column so that point
7469 doesn't move (bug#6032).
7470
3af98a7b
LMI
74712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7472
b796c9b7
SM
7473 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7474 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7475
6240145a
GM
74762011-07-13 Glenn Morris <rgm@gnu.org>
7477
7478 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7479 (dired-insert-directory): Give a message the first time
7480 if ls is found not to support --dired.
7481
1d8c2ccc
LMI
74822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7483
7484 * simple.el (toggle-truncate-lines): Clarify what is toggled
7485 (bug#5580). Text by Drew Adams.
7486
5fc4038e
CY
74872011-07-13 Chong Yidong <cyd@stupidchicken.com>
7488
7489 * simple.el (blink-matching-open): Make the error message from the
7490 last change less verbose.
7491
bf6012e5
DN
74922011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7493
7494 * font-lock.el (font-lock-comment-face): Use the high contrast
7495 "yellow" color for font-lock-comment-face on low color terminals
7496 using a dark background color (bug#4221).
7497
343c3b5a
LMI
74982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7499
7e9505c5
LMI
7500 * dired.el (dired-insert-set-properties): Make the doc string
7501 reflect what it does now (bug#5325).
7502
c26fdcf5
LMI
7503 * simple.el (blink-matching-open): Say that we were unable to find
7504 the match within the limit, if we're limited (bug#5122).
7505
bb388cc5
LMI
7506 * international/mule-cmds.el (prefer-coding-system): Add an
7507 example (bug#4869).
7508
343c3b5a
LMI
7509 * progmodes/etags.el (tags-search): Document `file-list-form'
7510 (bug#4731).
7511
2a517d45
LM
75122011-07-13 Lawrence Mitchell <wence@gmx.li>
7513
7514 * net/browse-url.el (browse-url-default-browser)
7515 (browse-url-browser-function): Make the default browser choice a
7516 bit more logical (bug#4300). Also clean up the doc string.
7517
b6c78ef2
JB
75182011-07-13 Juanma Barranquero <lekktu@gmail.com>
7519
7520 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7521 binary endings (bug#4440).
7522
1c4dd947
LMI
75232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7524
a2014063
LMI
7525 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7526 which can be pretty annoying (bug#8971).
7527
9c9c2d88
LMI
7528 * jka-compr.el (jka-compr-verbose): New variable, and use
7529 throughout (bug#8971).
7530
1c4dd947
LMI
7531 * info.el (Info-find-file): Fall back on the installation
7532 directory if we can't find the info node anywhere else.
7533
a1c9f41b
SO
75342011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7535
7536 * vc/vc.el (vc-revert-file):
7537 Don't set file time-stamp in the past. (Bug#5181)
7538
536f3d36
LMI
75392011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7540
7152b011
LMI
7541 * files.el (after-find-file): Give a better error message when
7542 trying to find a symlink that points to a file that doesn't exist
7543 (bug#4398).
7544
536f3d36
LMI
7545 * progmodes/cc-vars.el: Remove (probably) misleading comment
7546 (bug#4396).
7547
460c0fba
JB
75482011-07-12 Johan Bockgård <bojohan@gnu.org>
7549
7550 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7551
7a6bda45
CY
75522011-07-12 Chong Yidong <cyd@stupidchicken.com>
7553
7554 * mouse-sel.el: Hack restoring functionality, while keeping
7555 compatibility with 2010-07-03 changes to mouse selection.
7556 (mouse-sel-primary-overlay): New var.
7557 (mouse-sel-selection-alist): Use it.
7558 (mouse-sel-mode): Doc fix; remove points that are default features
7559 of mouse.el.
7560
c79598ef
JB
75612011-07-12 Johan Bockgård <bojohan@gnu.org>
7562
7563 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7564 Fix previous fix (bug#2490).
7565
ff8be6ef
RW
75662011-07-12 Roland Winkler <winkler@gnu.org>
7567
b796c9b7
SM
7568 * textmodes/bibtex.el (bibtex-initialize):
7569 Use pop-to-buffer-same-window.
ff8be6ef
RW
7570 (bibtex-search-entries): Fix interactive call.
7571
296ba3ee
LMI
75722011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7573
f5242a02 7574 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7575 Fontise bytecomp Error lines more correctly (bug#2490).
7576 Fix suggested by Johan Bockgård.
f5242a02 7577
296ba3ee
LMI
7578 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7579
7580 * dired-x.el (dired-guess-default): Use `delete-dups'.
7581
f69fd0d2
CY
75822011-07-12 Chong Yidong <cyd@stupidchicken.com>
7583
7584 * dired.el (dired-mark-prompt):
7585 * dired-aux.el (dired-read-shell-command): Doc fix.
7586
eab5dc07
LMI
75872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7588
b796c9b7
SM
7589 * mail/sendmail.el (sendmail-query-once):
7590 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7591 emacs -Q.
7592
7593 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7594
eab5dc07
LMI
7595 * cus-edit.el (custom-file): Take an optional no-error variable.
7596 (customize-save-variable): Set the variable, and give a warning if
7597 running under "emacs -q".
7598
a1e65d42
JB
75992011-07-11 Juanma Barranquero <lekktu@gmail.com>
7600
7601 * loadhist.el (unload-feature-special-hooks):
7602 Add `auto-coding-functions', `fill-nobreak-predicate' and
7603 `find-directory-functions' (bug#5327).
7604
1d52da10
LMI
76052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7606
be958f1d
LMI
7607 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7608
5bedb26c
LMI
7609 * cus-edit.el (custom-guess-name-alist): -alist variables should
7610 use the `alist' type (bug#3120). Suggested by Drew Adams.
7611
1d52da10
LMI
7612 * printing.el: Add documentation to all the `pr-toggle-' commands.
7613
cd394be1 76142011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7615
7616 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7617 backends where it makes sense (bug#2623).
7618
dcc88d8a
LMI
76192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7620
c3de9feb
LMI
7621 * dired-x.el (dired-guess-default): Remove duplicate shell command
7622 entries (bug#2028).
8a93078b 7623 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7624 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7625
dcc88d8a
LMI
7626 * subr.el (remove-duplicates): New conveniency function.
7627
505e3645
LMI
76282011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7629
7630 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7631 (bug#1526).
7632
76332011-07-10 Martin Rudalics <rudalics@gmx.at>
7634
7635 * window.el (display-buffer-normalize-default): Don't invert
7636 meaning of even-window-heights. Reported by Eli Zaretskii
7637 <eliz@gnu.org>.
7638
455e4fa1
BR
76392011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7640
7641 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7642
8e0bc3e9
CY
76432011-07-10 Chong Yidong <cyd@stupidchicken.com>
7644
7645 * window.el (display-buffer): Fix arguments to
7646 display-buffer-reuse-window in last change.
7647
fa7c3228
CY
7648 * faces.el (link): Use a less saturated blue on light backgrounds.
7649
7650 * startup.el (fancy-startup-text, fancy-about-text)
7651 (fancy-startup-tail): Use font-lock faces, for background safety.
7652
c0a7f300
BN
76532011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7654
b796c9b7
SM
7655 * emulation/viper-cmd.el (viper-change-state-to-vi):
7656 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7657
4dc2a129
MR
76582011-07-09 Martin Rudalics <rudalics@gmx.at>
7659
7660 * window.el (display-buffer-default-specifiers): Remove.
7661 (display-buffer-macro-specifiers): Remove default specifiers.
7662 (display-buffer-alist): Default to nil.
b796c9b7 7663 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7664 (display-buffer-pop-up-window): Allow splitting internal
7665 windows. Check whether a live window was created.
7666 (display-buffer-other-window-means-other-frame)
7667 (display-buffer-normalize-arguments): Rename to
7668 display-buffer-normalize-argument and rewrite. Set the
7669 other-window specifier.
7670 (display-buffer-normalize-special): New function.
7671 (display-buffer-normalize-options): Rename to
7672 display-buffer-normalize-default and rewrite.
7673 (display-buffer-normalize-options-inhibit): Remove.
7674 (display-buffer-normalize-specifiers): Rewrite.
7675 (display-buffer): Process other-window specifier and call
7676 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7677 more faithfully.
b796c9b7 7678 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7679 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7680 (display-buffer-in-window, display-buffer-alist-set):
7681 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7682 <tassilo@member.fsf.org>.
7683
2d43b8c9
LL
76842011-07-09 Leo Liu <sdl.web@gmail.com>
7685
7686 * register.el (insert-register): Restore accidental change on
7687 2011-06-26. (Bug#9028)
7688
7f9b7c53
GM
76892011-07-09 Glenn Morris <rgm@gnu.org>
7690
7691 * subr.el (remq): Handle the empty list. (Bug#9024)
7692
f042cfd8
AS
76932011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7694
7695 * mail/sendmail.el (send-mail-function): No longer delay custom
7696 initialization.
7697 * custom.el (custom-initialize-delay): Doc fix.
7698
856b2f11
SM
76992011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7702
afae1d68
MA
77032011-07-08 Michael Albinus <michael.albinus@gmx.de>
7704
7705 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7706 human-friendly prompt.
7707
0757af94
SM
77082011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7711 provided by a particular plugin.
7712
d760b731
LMI
77132011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7714
7715 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7716 save customizations (with "emacs -Q"), just set the variable
7717 instead of erroring out.
7718
7719 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7720
cd79ce90
JL
77212011-07-08 Juri Linkov <juri@jurta.org>
7722
7723 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7724 (archive-zip-update-case): Use 7z if found by `executable-find'.
7725 The order of searching the available programs is the same as in
7726 `archive-zip-extract' (bug#8968).
7727
14cc04aa
CY
77282011-07-07 Chong Yidong <cyd@stupidchicken.com>
7729
7730 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7731 (menu-bar-options-menu): Tweak descriptions.
7732
0a1848ec
LMI
77332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7734
7735 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7736 menu items into verb phrases (bug#1421). Also refill to fit under
7737 80 columns.
7738
f5bd0689
CY
77392011-07-07 Chong Yidong <cyd@stupidchicken.com>
7740
538e85c6
CY
7741 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7742 (Info-read-node-name): Doc fix (Bug#1084).
7743
f5bd0689
CY
7744 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7745 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7746 (end-of-sexp, beginning-of-sexp)
7747 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7748 (forward-symbol, forward-same-syntax, word-at-point)
7749 (sentence-at-point): Doc fix (Bug#1144).
7750
56ec5115
LMI
77512011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7752
f3f8e37f
LMI
7753 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7754 should cover it (bug#1281).
7755
0757af94 7756 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7757
e9fce1ac 7758 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7759 negotiation fails, then possibly try again with a non-encrypted
7760 connection (bug#9017).
7761
56ec5115
LMI
7762 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7763 be used.
7764
c2f9aec8
RS
77652011-07-07 Richard Stallman <rms@gnu.org>
7766
7767 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7768 property, and handle its changed format.
7769 Look for the correct line number.
7770 Use file's line contents (but not past first =) to find
7771 correct line in message.
7772
ef7b981d 77732011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7774
7775 * international/characters.el (build-unicode-category-table):
7776 Delete it.
0757af94 7777 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7778
0757af94 7779 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7780 to src/chartab.c.
7781 (get-char-code-property): Call unicode-property-table-internal to
7782 load a file. Call get-unicode-property-internal where necessary.
7783 (put-char-code-property): Call unicode-property-table-internal to
7784 load a file. Call put-unicode-property-internal where necessary.
7785 put-unicode-property-internal where necessary.
0757af94
SM
7786 (char-code-property-description):
7787 Call unicode-property-table-internal to load a file.
c805dec0
KH
7788
7789 * international/charprop.el:
7790 * international/uni-bidi.el:
7791 * international/uni-category.el:
7792 * international/uni-combining.el:
7793 * international/uni-comment.el:
7794 * international/uni-decimal.el:
7795 * international/uni-decomposition.el:
7796 * international/uni-digit.el:
7797 * international/uni-lowercase.el:
7798 * international/uni-mirrored.el:
7799 * international/uni-name.el:
7800 * international/uni-numeric.el:
7801 * international/uni-old-name.el:
7802 * international/uni-titlecase.el:
7803 * international/uni-uppercase.el: Regenerate.
7804
7805 * loadup.el: Load international/charprop.el before
7806 international/characters.
7807
e14b388a
CY
78082011-07-07 Chong Yidong <cyd@stupidchicken.com>
7809
7810 * window.el (next-buffer, previous-buffer): Signal an error if
7811 called from a minibuffer window.
7812
7813 * bindings.el: Revert 2011-07-04 change.
7814
354cf0ba
RS
78152011-07-06 Richard Stallman <rms@gnu.org>
7816
7817 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7818 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7819 Treat markers like ints.
7820 (rmail-mime-entity): Doc fix.
7821
a48868a7
LMI
78222011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7823
4906cd3d
LMI
7824 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7825 defcustom again for backwards compatibility.
7826
e0457abe
LMI
7827 * simple.el (shell-command-on-region): Fill.
7828
d67f7e1f
LMI
7829 * dired-aux.el (dired-kill-line): Add a doc string.
7830
fe204702
LMI
7831 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7832 to "\\sw\\|\\s_" (bug#358).
7833
a48868a7
LMI
7834 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7835 (dired-unmark-backward): Ditto.
7836 (dired-flag-backup-files): Ditto.
7837
7838 * dired-x.el (dired-mark-sexp): Ditto.
7839
aa8a705c
RS
78402011-07-06 Richard Stallman <rms@gnu.org>
7841
7842 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7843 (rmail-mime-entity): New arg TRUNCATED.
7844 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7845 New functions.
7846 (rmail-mime-save): Warn if entity is truncated.
7847 (rmail-mime-toggle-hidden): Likewise, for showing.
7848 (rmail-mime-process-multipart): Record when an entity is truncated.
7849
a9a936b9
RS
7850 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7851 if ENTITY is a string.
7852
1f2b92cb
LMI
78532011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7854
f4f73198 7855 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7856 of faces when `M-C-x'-ing their definitions (bug#8378).
7857 Also clean up the code slightly.
f4f73198 7858
12b16734 7859 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7860 because that makes the colors go away.
12b16734 7861
f0691d22
LMI
7862 * mail/sendmail.el (send-mail-function): Change the default to
7863 `sendmail-query-once'.
9e87df06 7864 (sendmail-query-once): Add an autoload cookie.
f0691d22 7865
1f2b92cb
LMI
7866 * net/network-stream.el (network-stream-open-starttls): Try using
7867 a plain connection even if the server offered STARTTLS, and we
7868 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7869 capability. This should make smtpmail.el work in slightly more
7870 configurations.
7871
1cdd2a1b
MA
78722011-07-06 Michael Albinus <michael.albinus@gmx.de>
7873
7874 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7875 New defun.
7876 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7877
fbcc67e2
MM
78782011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7879
7880 * progmodes/sql.el: Version 3.0
0757af94 7881 (sql-product-alist): Add product :completion-object,
fbcc67e2 7882 :completion-column, and :statement attributes.
0757af94 7883 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7884 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7885 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7886 ansi keywords.
7887 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7888 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7889 (sql-oracle-show-reserved-words): New function for development.
7890 (sql-product-font-lock): Simplify for source code buffers.
7891 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7892 New functions.
7893 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7894 (sql-mode-map): Add statement movement functions.
7895 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7896 New variable.
fbcc67e2
MM
7897 (sql-statement-regexp, sql-beginning-of-statement)
7898 (sql-end-of-statement, sql-signum): New functions.
0757af94 7899 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7900 (sql-show-sqli-buffer): Bug fix.
7901 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7902 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7903 with sql-interactive-mode.
7904 (sql-save-connection): Save buffer local settings.
0757af94 7905 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7906 (sql-product-interactive): Bug fix.
7907 (sql-preoutput-hold): New variable.
7908 (sql-interactive-remove-continuation-prompt): Bug fixes.
7909 (sql-debug-redirect): New variable.
7910 (sql-str-literal): New function.
7911 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7912 Redesign.
fbcc67e2
MM
7913 (sql-oracle-save-settings, sql-oracle-restore-settings)
7914 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7915 (sql-completion-object, sql-completion-column)
7916 (sql-completion-sqlbuf): New variables.
7917 (sql-build-completions-1, sql-build-completions)
7918 (sql-try-completion): New functions.
7919 (sql-read-table-name): Use them.
7920 (sql-contains-names): New buffer local variable.
7921 (sql-list-all, sql-list-table): Use it.
7922 (sql-oracle-completion-types): New variable.
7923 (sql-oracle-completion-object, sql-sqlite-completion-object)
7924 (sql-postgres-completion-object): New functions.
7925
d4eaeab1
GM
79262011-07-06 Glenn Morris <rgm@gnu.org>
7927
7928 * window.el (pop-to-buffer): Doc fix.
7929
322b7dab 79302011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7931
7932 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7933
322b7dab 79342011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7935
322b7dab 7936 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7937
322b7dab 7938 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7939
605dd5bf
CY
79402011-07-05 Chong Yidong <cyd@stupidchicken.com>
7941
7942 * button.el (button): Inherit from link face. Suggested by Dan
7943 Nicolaescu.
7944
7dbfa719
SM
79452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7946
3db614b0
SM
7947 * progmodes/gdb-mi.el: Fit in 80 columns.
7948 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7949 switch-to-buffer.
7950
7dbfa719
SM
7951 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7952 if imenu is simply not configured (bug#8941).
7953
919d884a
KM
79542011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7955
7956 * allout.el (allout-post-undo-hook): New allout outline-change
7957 event hook to signal undo activity.
7958 (allout-post-command-business): Run allout-post-undo-hook if an
7959 undo just occurred.
7dbfa719
SM
7960 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7961 * allout-widgets.el (allout-widgets-after-undo-function):
7962 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7963 in the vicinity of an undo.
7964 (allout-widgets-mode): Include allout-widgets-after-undo-function
7965 on the new allout-post-undo-hook.
7966
450a0f09
SM
79672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7970 Let define-derived-mode define it.
7971 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7972 cycles of abbrev-table inheritance (bug#8998).
7973
2de69e00
RW
79742011-07-05 Roland Winkler <winkler@gnu.org>
7975
7976 * textmodes/bibtex.el: Add support for biblatex.
7977 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7978 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7979 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7980 (bibtex-entry-alist, bibtex-field-alist): New variables.
7981 (bibtex-entry-field-alist): Obsolete alias for
7982 bibtex-BibTeX-entry-alist.
7983 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7984 (bibtex-set-dialect): New command.
7985 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7986 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7987 Bind via bibtex-set-dialect.
2de69e00
RW
7988 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7989 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7990 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7991 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7992 Define via bibtex-set-dialect.
450a0f09
SM
7993 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7994 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7995 (bibtex-vec-push, bibtex-vec-incr): New functions.
7996 (bibtex-format-entry, bibtex-field-list)
7997 (bibtex-print-help-message, bibtex-validate)
7998 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7999
2dcdbdd9
SM
80002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 * progmodes/compile.el (compilation-goto-locus):
8003 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8004 * bs.el (bs-cycle-next, bs-cycle-previous):
8005 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8006 * bindings.el (mode-line-other-buffer):
8007 * autoinsert.el (auto-insert):
8008 * arc-mode.el (archive-extract):
8009 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8010
b27640fe
JB
80112011-07-05 Juanma Barranquero <lekktu@gmail.com>
8012
8013 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8014 Fix check of `emacs-lock-unlockable-modes'.
8015 Coerce true values of `emacs-lock--try-unlocking' to t.
8016
53bbe3ad
JB
80172011-07-05 Juanma Barranquero <lekktu@gmail.com>
8018
8019 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8020 * emacs-lock.el: New file.
8021
1d3cdbc7
JD
80222011-07-05 Julien Danjou <julien@danjou.info>
8023
8024 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8025 than `boundp' to check if face is set.
8026
9173deec
JB
80272011-07-05 Juanma Barranquero <lekktu@gmail.com>
8028
8029 * register.el (registerv-make):
8030 * window.el (window-min-height): Fix typos in docstrings.
8031
869795d6
JD
80322011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8033
9173deec 8034 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8035 Update doc string.
8036
b768cdcd
JB
80372011-07-04 Juanma Barranquero <lekktu@gmail.com>
8038
8039 * server.el (server-execute): Catch quit and call
8040 `server-return-error' to pass the error back to emacsclient and
8041 close the connection (bug#8942).
8042
13aa217b
KM
80432011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8044
8045 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8046 insecure exception for current topic. Also note that auto-saves
8047 are handled differently.
8048
8049 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8050 State variables for tracking auto-save inhibition situation.
8051
8052 (allout-write-contents-hook-handler): Rename from
8053 'allout-write-file-hook-handler', and describe how it depends on
8054 write-contents-functions sensitivity to non-nil value to prevent
8055 file write.
8056
8057 (allout-auto-save-hook-handler): Remove. auto-save does not check
8058 this in individual buffers, only in the starting buffer, so this
8059 is not the right way for us to inhibit auto-save in a buffer
8060 according to its condition.
8061
8062 (allout-mode): Use new allout-write-contents-hook-handler, and
8063 only with write-contents-functions. Remove auto-save provisions -
8064 they're implemented elsewhere.
8065
8066 (allout-before-change-handler): If undo is in progress, note that
8067 for attention of allout-post-command-business.
8068
8069 (allout-post-command-business): If the command we're following was
8070 an undo, check for change in the status of encrypted items and
8071 adjust auto-save inhibitions accordingly.
8072
8073 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8074 according to whether there are or aren't any plain-text topics
8075 pending encryption.
8076
2dcdbdd9 8077 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8078 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8079 if there are plain-text topics pending encryption.
13aa217b
KM
8080
8081 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8082 buffer-saved-size and some allout state to not inhibit auto-saves
8083 if there are no longer any plain-text topics pending encryption.
8084
0757af94
SM
8085 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8086 No longer provide for exemption of the current topic.
13aa217b 8087
ac89b32c
JL
80882011-07-04 Juri Linkov <juri@jurta.org>
8089
8090 Add 7z operations to delete and save changed members (bug#8968).
8091 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8092 New defcustoms.
8093 (archive-7z-write-file-member): New function.
8094 (archive-7z-summarize): Fix the number of dashes in the
8095 listing output.
8096
8fa39615
SM
80972011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8098
8099 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8100 (bug#8958).
8101
2f11b3f1
CY
81022011-07-04 Chong Yidong <cyd@stupidchicken.com>
8103
d66fef2b
CY
8104 * bindings.el: Ignore next-buffer and previous-buffer in
8105 minibuffer-local-map.
8106
2f11b3f1
CY
8107 * font-lock.el (font-lock-builtin-face): Change light background
8108 color to dark slate blue (Bug#6693).
8109
f932a347
WD
81102011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8111
8112 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8113
c8af70e1
SM
81142011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8117 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8118 Add switch-to-buffer.
8119
f158badc
LMI
81202011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8121
8122 * isearch.el (isearch-search-fun-function): Clarify further the
8123 meaning of the function returned.
8124
6d95bd46
MA
81252011-07-04 Michael Albinus <michael.albinus@gmx.de>
8126
8127 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8128
8129 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8130 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8131 Use it.
8132 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8133 `tramp-default-remote-path' does not exist.
8134 (tramp-send-command-and-read): New optional argument NOERROR.
8135 (tramp-open-connection-setup-interactive-shell)
8136 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8137 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8138 (tramp-process-sentinel): Flush also process' connection property.
8139 (tramp-sh-handle-start-file-process): Do not set process
8140 sentinel. It is done now ...
8141 (tramp-maybe-open-connection): ... here. (Bug#8929)
8142
909e6b67
MK
81432011-07-04 MON KEY <monkey@sandpframing.com>
8144
8145 * play/animate.el (animate-string): Doc fixes and allow changing
8146 the buffer name (bug#5417).
8147
81482011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8149
c8af70e1 8150 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8151
f34755dc
PE
81522011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8153
396cec72
PE
8154 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8155 This is simpler and helps future-proof the code.
8156 (timer-until): Use time-subtract and float-time.
08235028 8157 (timer--time-less-p): Use time-less-p.
f34755dc 8158
56e6cc31
JB
81592011-07-04 Juanma Barranquero <lekktu@gmail.com>
8160
3abb79e5
JB
8161 * type-break.el (timep): Use the value of `float-time' to avoid a
8162 byte-compiler warning.
8163
56e6cc31
JB
8164 * server.el (server-eval-and-print): Return any result, even nil.
8165
7b9430b4
PE
81662011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8167
8168 * type-break.el: Accept time formats that the builtins accept.
8169 (timep, type-break-time-difference): Accept any format that
8170 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8171 This is simpler and helps future-proof the code.
8172 (type-break-time-difference): Round rather than ignoring
8173 subseconds components.
8174
3034e9e7
LMI
81752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8176
8177 * info.el (Info-apropos-matches): Make non-interactive, since it
8178 doesn't seem to do anything useful as a command (bug#8829).
8179
1485f4c0
CY
81802011-07-03 Chong Yidong <cyd@stupidchicken.com>
8181
8182 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8183 Move from faces.el.
1485f4c0
CY
8184 (frame-default-terminal-background): New function.
8185
8186 * custom.el (custom-push-theme): Don't record faces in `changed'
8187 theme; this doesn't work correctly for per-frame face settings.
8188 (disable-theme): Use face-set-after-frame-default to reset faces.
8189 (custom--frame-color-default): New function.
8190
9fa3dd45
LMI
81912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8192
c8af70e1 8193 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8194 (bug#8769).
8195
6cbbc20c
KR
81962011-03-29 Kevin Ryde <user42@zip.com.au>
8197
8198 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8199 `perl-Test2' extend to match possible "fail #N" rep count
8200 (bug#8377).
8201
c7f98048
LMI
82022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8203
65676592
LMI
8204 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8205 `smtpmail-via-smtp' now returns the error instead of nil.
8206
c7f98048
LMI
8207 * isearch.el (isearch-search-fun-function): Clarify the doc string
8208 (bug#8101).
8209
56e6cc31 82102011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8211
8212 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8213 unnecessary spaces (bug#8987).
8214
2b216704
LMI
82152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8216
8217 * net/network-stream.el (open-network-stream): Use the
8218 :end-of-capability command thoughout.
8219
82202011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8221
8222 * net/network-stream.el (open-network-stream): Add the
8223 :end-of-capability command parameter, used by pop3.el.
8224
36adf6ce
LMI
82252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8226
1ca0da0e
LMI
8227 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8228
fc00f69c
LMI
8229 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8230 for list)" (bug#6475).
8231
28fd8759 8232 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8233 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8234 an error (bug#6297).
8235
0dd8b6da
LMI
8236 * man.el (Man-reference-regexp): Allow matching possible
8237 word-wrapped references (bug#6289).
8238
ce1438d6
LMI
8239 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8240 for consistency with the other vc buffers (bug#6197).
8241 (vc-checkin): Ditto.
8242
8243 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8244
36adf6ce
LMI
8245 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8246
e83cc1f7
LMI
82472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8248
8a20ca4c
LMI
8249 * custom.el (defcustom): Clarify that :set is only used in the
8250 Customize user interface (bug#6089).
8251
83319045
LMI
8252 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8253 associated with a file, refuse to run instead of erroring out
8254 (bug#6084).
8255
a8392169
LMI
8256 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8257 the doc string, since it appears that using `fill-column' always
8258 controls the width (bug#7845).
8259
e83cc1f7
LMI
8260 * simple.el (shell-command-on-region): Say where the error output
8261 went if `shell-command-default-error-buffer' is set (bug#6857).
8262
e47ca23b
KM
82632011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8264
8265 * allout.el (allout-yank-processing): Adjust cursor position for
8266 backwards-deleted space.
8267
8268 (allout-rebullet-heading): Register changes with
8269 allout-exposure-changed-hook, so the modified topic is properly
8270 decorated.
8271
5cf56143
LMI
82722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8273
08549772
LMI
8274 * minibuffer.el (completion-in-region): Document PREDICATE
8275 (bug#7136).
8276
48e96771
LMI
8277 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8278 of keyword/argument pairs (bug#6904).
8279
c8af70e1
SM
8280 * replace.el (multi-occur):
8281 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8282
e17d05e2
LMI
82832011-07-02 Drew Adams <drew.adams@oracle.com>
8284
8285 * dired.el (dired-mark-if): Make the message about whether it's
8286 marking or unmarking clearer (bug#8523).
8287
063b0e45
LMI
82882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8289
8290 * disp-table.el (display-table-print-array): New function.
8291 (describe-display-table): Use it to print the vectors more pretty
8292 (Bug#8859).
8293
28545e04
MR
82942011-07-02 Martin Rudalics <rudalics@gmx.at>
8295
8296 * window.el (window-state-get-1): Don't assign clone numbers.
8297 Add clone-of item to list of window parameters.
8298 (window-state-put-2): Don't process clone numbers.
8299 (display-buffer-alist): Fix doc-string.
8300
3349e122
SM
83012011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8302
8303 * subr.el (remq): Don't allocate if it's not needed.
8304 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8305 (keymap--merge-bindings): New functions.
8306 (keymap-canonicalize): Use them to refine the canonicalization.
8307 * minibuffer.el (minibuffer-local-completion-map)
8308 (minibuffer-local-must-match-map): Move initialization from C.
8309 (minibuffer-local-filename-completion-map): Move initialization from C;
8310 don't inherit from anything here.
8311 (minibuffer-local-filename-must-match-map): Make obsolete.
8312 (completing-read-default): Use make-composed-keymap to combine
8313 minibuffer-local-filename-completion-map with either
8314 minibuffer-local-must-match-map or
8315 minibuffer-local-filename-completion-map.
8316
d224ac83
GM
83172011-07-01 Glenn Morris <rgm@gnu.org>
8318
3de63bf8
GM
8319 * type-break.el (type-break-time-sum): Use dolist.
8320
d224ac83
GM
8321 * textmodes/flyspell.el (flyspell-word-search-backward):
8322 Replace CL function.
8323
1a1e3f32
SM
83242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8325
fe3f64d5
SM
8326 * mouse.el (mouse--strip-first-event): New function.
8327 (function-key-map): Use it to map fringe clicks to normal clicks
8328 by default.
8329
eb604e34
SM
8330 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8331 (vc-bzr-revision-completion-table): Add support for annotate and date.
8332
1a1e3f32
SM
8333 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8334 inherit from parent.
8335
5bd35902
LMI
83362011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8337
ace6c69c 8338 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8339 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8340
191e2bed
LMI
8341 * dired.el (dired-mode): Fix up the doc string as suggested by
8342 Drew Adams (bug#8817).
8343
5bd35902
LMI
8344 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8345 cookie, since the manual says that it should be possible to add
8346 this function to `find-file-hook' (bug#8709).
8347
eee8207a
TZ
83482011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8349
8350 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8351 here. Noted Ted Zlatanov as the maintainer.
8352 (cfengine-common-settings, cfengine-common-syntax): New functions
8353 to set up common things between `cfengine-mode' and
8354 `cfengine3-mode'.
8355 (cfengine3-mode): New mode.
8356 (cfengine3-defuns cfengine3-defuns-regex
8357 (cfengine3-class-selector-regex cfengine3-category-regex)
8358 (cfengine3-vartypes cfengine3-font-lock-keywords)
8359 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8360 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8361
36b148cf
MA
83622011-07-01 Michael Albinus <michael.albinus@gmx.de>
8363
8364 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8365
8366 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8367
0bf4ba9a
MR
83682011-07-01 Martin Rudalics <rudalics@gmx.at>
8369
8370 * window.el (same-window-buffer-names, same-window-regexps)
8371 (same-window-p, special-display-frame-alist)
8372 (special-display-popup-frame, special-display-function)
8373 (special-display-buffer-names, special-display-regexps)
8374 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8375 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8376 (split-window-preferred-function, split-height-threshold)
8377 (split-width-threshold, even-window-heights)
8378 (display-buffer-mark-dedicated, window-splittable-p)
8379 (split-window-sensibly, window-safely-shrinkable-p):
8380 Un-obsolete.
8381 (display-buffer): Don't spread args with function specifier
8382 because special-display-popup-frame won't like it.
8383
35837f51
PE
83842011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8385
d0672f86
PE
8386 Time-stamp simplifications and fixes.
8387 These improve accuracy slightly, and future-proof the code
8388 against some potential changes to current-time format.
8389
b9444d97
PE
8390 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8391 by using time-since and float-time.
8392
0ef923dc
PE
8393 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8394 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8395 + NNN microseconds".
8396
2f81380d
PE
8397 * type-break.el (type-break-time-sum): Rewrite using time-add.
8398
845b5c3e
PE
8399 * play/hanoi.el (hanoi-current-time-float): Remove.
8400 All uses replaced by float-time.
8401
ee6f1be0
PE
8402 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8403 This yields a more-accurate answer.
8404 (rng-time-to-float): Remove; no longer needed.
8405
fe955043
PE
8406 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8407
5777162a
PE
8408 * calendar/timeclock.el (timeclock-seconds-to-time):
8409 Defalias to seconds-to-time, since they're the same thing.
8410
3103f8b6 8411 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8412 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8413 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8414
0e61a35f
SM
84152011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * window.el (bury-buffer): Don't iconify the only frame.
8418 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8419 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8420
ddd63a1e
CY
84212011-07-01 Chong Yidong <cyd@stupidchicken.com>
8422
0e61a35f
SM
8423 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8424 Add mouse-yank-primary.
ddd63a1e 8425
055f4923
TZ
84262011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8427
8428 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8429
6a2fb145
SM
84302011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8431
8432 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8433 (find-library-name): Use it to find relative load names when provided
8434 absolute file name (bug#8803).
8435
fd4983f2
LMI
84362011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8437
887d14ad
LMI
8438 * textmodes/flyspell.el (flyspell-word): Consider words that
8439 differ only in case as potential doublons (bug#5687).
8440
c53dc7fc
LMI
8441 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8442 Remove two rather uninteresting debugging-like messages to make
8443 debbugs.el more silent.
8444
fd4983f2
LMI
8445 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8446 a password-like phrase.
8447
7a71b18d 84482011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8449
8450 * progmodes/cc-guess.el: New file.
8451
6a2fb145 8452 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8453
8454 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8455 derived from `c-basic-common-init'.
8456
8457 * progmodes/cc-mode.el (top-level): Require cc-guess.
8458 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8459
1fa280a3
LM
84602011-06-30 Lawrence Mitchell <wence@gmx.li>
8461
8462 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8463
e6597158
AM
84642011-06-30 Alan Mackenzie <acm@muc.de>
8465
1fa280a3
LM
8466 * progmodes/cc-engine.el (c-guess-continued-construct):
8467 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8468 lock is disabled. Name this case as "CASE G".
8469
68ba37fb
KM
84702011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8471
8472 * allout.el (allout-yank-processing): Fix injection of extra space
8473 between bullet and non-whitespace character in first topic when
8474 pasting, ensuring that the actual spacing in the pasted topic
8475 following the bullet char is preserved. This extra space was
8476 causing pasted encrypted topics to get a decrypted status even
8477 when the content was actually still encrypted. Now the decryption
8478 status from before the paste is preserved.
8479
8480 (allout-flag-region): Set all allout overlays so they evaporate
8481 when reduced to zero length (evanescent), to prevent overlay
8482 leakage.
8483
887a0b34
GM
84842011-06-30 Glenn Morris <rgm@gnu.org>
8485
94b9acce
GM
8486 * w32-fns.el (w32-charset-info-alist): Declare.
8487
1d9b46d4
GM
8488 * find-dired.el (find-grep-options): Simplify.
8489
cc232200
GM
8490 * term/ns-win.el (ns-set-resource): Declare.
8491
28e77c46
GM
8492 * ses.el (row, col): Declare dynamic variables honestly.
8493
887a0b34
GM
8494 * textmodes/reftex-parse.el (index-tags): Declare.
8495
658d8eb8
CY
84962011-06-30 Chong Yidong <cyd@stupidchicken.com>
8497
8498 * cus-edit.el (customize-push-and-save): New function.
8499
8500 * files.el (hack-local-variables-confirm): Use it.
8501
1fa280a3
LM
8502 * custom.el (load-theme): New arg NO-CONFIRM.
8503 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8504 (custom-enabled-themes): Doc fix.
8505
8506 * cus-theme.el (customize-create-theme)
8507 (custom-theme-merge-theme): Callers to load-theme changed.
8508
bb617717
LMI
85092011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8510
d61bdd5d
LMI
8511 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8512 short URLs have at least one dot in them (bug #7614).
8513
bb617717
LMI
8514 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8515 nil, because using a pty is apparently too slow (bug #895).
8516
2f31f37a
LMI
85172011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8518
8519 * mail/sendmail.el (sendmail-query-once): New function.
8520 (sendmail-query-once-function): New variable.
8521
3076b24e
GM
85222011-06-29 Glenn Morris <rgm@gnu.org>
8523
faf2a174
GM
8524 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8525
3076b24e
GM
8526 * ses.el (top-level): Require cl when compiling.
8527 (ses-set-localvars): Fix error statement.
8528 Call it at compile time to silence a storm of warnings.
8529
5386012d
MR
85302011-06-29 Martin Rudalics <rudalics@gmx.at>
8531
8532 * window.el (normalize-live-buffer): Rename to
8533 window-normalize-buffer.
8534 (normalize-live-frame): Rename to window-normalize-frame.
8535 (normalize-any-window): Rename to window-normalize-any-window.
8536 (normalize-live-window): Rename to window-normalize-live-window.
8537 (make-window-atom): Rename to window-make-atom.
8538 (window-resize-reset): Rename to window--resize-reset.
8539 (window-resize-reset-1): Rename to window--resize-reset-1.
8540 (resize-mini-window): Rename to window--resize-mini-window.
8541 (resize-subwindows-skip-p): Rename to
8542 window--resize-subwindows-skip-p.
8543 (resize-subwindows-normal): Rename to
8544 window--resize-subwindows-normal.
8545 (resize-subwindows): Rename to window--resize-subwindows.
8546 (resize-other-windows): Rename to window--resize-siblings.
8547 (resize-this-window): Rename to window--resize-this-window.
8548 (resize-root-window): Rename to window--resize-root-window.
8549 (resize-root-window-vertically): Rename to
8550 window--resize-root-window-vertically.
8551 (normalize-buffer-to-display): Rename to
8552 window-normalize-buffer-to-display.
8553 (normalize-buffer-to-switch-to): Rename to
8554 window-normalize-buffer-to-switch-to.
8555 Correspondingly update all callers of the functions listed
8556 above.
8557 (display-buffer-alist, display-buffer-normalize-arguments)
8558 (display-buffer-normalize-options, display-buffer)
8559 (display-buffer-alist-set): Use "function" instead of
8560 "fun-with-args".
8561
1176868d
CY
85622011-06-28 Chong Yidong <cyd@stupidchicken.com>
8563
8564 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8565 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8566 debbugs.gnu.org. Mention acknowledgment email.
8567
20a7a65f
LMI
85682011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8569
8570 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8571 buffer multibyteness, since it shouldn't matter.
8572
5f45cca5
MR
85732011-06-28 Martin Rudalics <rudalics@gmx.at>
8574
8575 * window.el (display-buffer-in-side-window): Handle dedicated
8576 windows as in display-buffer-reuse-window.
8577 (display-buffer-normalize-alist): Use value of override
8578 specifier.
8579 (display-buffer-normalize-specifiers): Use value of
8580 other-window-means-other-frame specifier.
8581 (display-buffer-alist): Rewrite some texts in widgets.
8582 (display-buffer): Spread arguments when calling function
8583 specified by fun-with-args.
8584
ad85fe1f
DD
85852011-06-28 Deniz Dogan <deniz@dogan.se>
8586
1fa280a3
LM
8587 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8588 Unnest `let'.
da68c4c8 8589
ad85fe1f
DD
8590 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8591 selectors (Bug#5732).
ec49bd31 8592 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8593
a08cc025
JA
85942011-06-27 Jari Aalto <jari.aalto@cante.net>
8595
8596 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8597 (eshell-ls-date-format): New defcustom.
8598 (eshell-ls-file): Use it.
8599
e2b551c5
SM
86002011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8603
8982b231
KY
86042011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8605
8606 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8607 (ange-ftp-make-tmp-name): New arg.
8608 (ange-ftp-file-local-copy): Use it.
8609
36c9fa27
J
86102011-06-27 Jambunathan K <kjambunathan@gmail.com>
8611
8612 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8613 no-conversion (Bug#8870).
8614
d68443dc
MR
86152011-06-27 Martin Rudalics <rudalics@gmx.at>
8616
8617 * window.el (window-right, window-left, window-child)
8618 (window-child-count, window-last-child)
8619 (window-iso-combination-p, walk-window-tree-1)
8620 (window-atom-check-1, window-tree-1, delete-window)
8621 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8622 new naming conventions - window-vchild, window-hchild,
8623 window-next and window-prev are now called window-top-child,
8624 window-left-child, window-next-sibling and window-prev-sibling
8625 respectively.
d615d6d2
MR
8626 (resize-window-reset): Rename to window-resize-reset.
8627 (resize-window-reset-1): Rename to window-resize-reset-1.
8628 (resize-window): Rename to window-resize.
8629 (window-min-height, window-min-width)
8630 (resize-mini-window, resize-this-window, resize-root-window)
8631 (resize-root-window-vertically, adjust-window-trailing-edge)
8632 (enlarge-window, shrink-window, maximize-window)
8633 (minimize-window, delete-window, quit-restore-window)
8634 (split-window, balance-windows, balance-windows-area-adjust)
8635 (balance-windows-area, window-state-put-2)
8636 (display-buffer-even-window-sizes, display-buffer-set-height)
8637 (display-buffer-set-width, set-window-text-height)
8638 (fit-window-to-buffer): Rename all "resize-window" prefixed
8639 calls to use the "window-resize" prefix convention.
8640 (display-buffer-alist): Fix symbol for label specifier.
8641 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8642 corresponding specifier.
8643 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8644
b6458526
VB
86452011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8646
8647 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8648 convention.
8649 (ses-call-printer): Does not pass an empty string to formatter when the
8650 cell is empty to keep from barking printer Calc math-format-value.
8651
d31fd9ac
RS
86522011-06-27 Richard Stallman <rms@gnu.org>
8653
43d5bf84
RS
8654 * battery.el (battery-mode-line-limit): New variable.
8655 (battery-update): Handle it.
8656
d31fd9ac
RS
8657 * mail/rmailmm.el (rmail-mime-process-multipart):
8658 Handle truncated messages.
8659
819a6054
GM
86602011-06-27 Glenn Morris <rgm@gnu.org>
8661
8662 * progmodes/flymake.el (flymake-err-line-patterns):
8663 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8664
cedc73f2
VB
86652011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8666
819a6054 8667 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8668 (ses--clean-!, ses--clean-_): New functions.
8669 (ses-range): Add configurability of readout order, and conversion
8670 to Calc vector.
8671
5e5d49b6
VB
8672 * ses.el (ses-repair-cell-reference-all): New function.
8673 (ses-cell-symbol): Set macro as safe, so that it can be used in
8674 formulas.
8675
56e6cc31 8676 * ses.el: Update cycle detection algorithm.
90ca8b49 8677 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8678 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8679 (ses-set-localvars): New function.
8680 (ses-make-cell): Add property-list as a cell element.
8681 (ses-cell-property-get-fun, ses-cell-property-get)
8682 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8683 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8684 New functions.
90ca8b49
VB
8685 (ses-cell-property-set, ses-cell-property-pop)
8686 (ses-cell-property-get-handle): New macro.
8687 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8688 New aliases, used for code readability.
8689 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8690 cycle detection.
8691 (ses-self-reference-early-detection): New defcustom.
fac916bf 8692 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8693 (ses-mode): Use ses-set-localvars.
8694 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8695 before lauching the update processing.
8696 (ses-initialize-Dijkstra-attempt): New function.
8697 (ses-recalculate-cell): Update for cycle detection based on
8698 Dijkstra algorithm.
8699
2bb63e81
VB
8700 * ses.el: Fix commenting and indenting convention.
8701
c9d29fb8
SM
87022011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8703
8704 * bs.el (bs-cycle-next): Complete last change.
8705
d8e4b68b
JB
87062011-06-27 Drew Adams <drew.adams@oracle.com>
8707
8708 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8709
40098786
LMI
87102011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8711
c9d29fb8
SM
8712 * net/network-stream.el (network-stream-open-starttls):
8713 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8714 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8715
40098786
LMI
8716 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8717 to binary to possibly avoid line encoding issues on Windows (among
8718 other things).
8719
468d09d4
LMI
87202011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8721
8722 * net/network-stream.el (open-network-stream): Return an :error
8723 saying what the problem was, if possible.
8724
8725 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8726 server.
8727
8728 * net/network-stream.el (network-stream-open-starttls): If we
8729 wanted to use STARTTLS, and the server offered it, but we weren't
8730 able to because we had no STARTTLS support, then close the connection.
8731 (open-network-stream): Return an :error element, if present.
8732
16f07dd7
CY
87332011-06-26 Chong Yidong <cyd@stupidchicken.com>
8734
88821ca0
CY
8735 * hl-line.el (hl-line-sticky-flag): Doc fix.
8736 (global-hl-line-sticky-flag): New option (Bug#8323).
8737 (global-hl-line-highlight): Obey it.
8738
16f07dd7
CY
8739 * vc/vc.el (vc-revert-show-diff): Default to t.
8740
6b5ccddf
KM
87412011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8742
c9d29fb8
SM
8743 * allout-widgets.el (allout-widgets-post-command-business):
8744 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8745 undecorated when an isearch is continued past, and isearch
8746 automatically collapses them. This leads to "widget leaks", where
8747 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8748 hidden widgets can slow down cursor travel, substantially.
8749 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8750 so we're doing without this nicety.
8751
8752 (allout-widgets-tally-string): Don't try to do a hash-table-count
8753 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8754 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8755 *Messages* when allout-widgets-maintain-tally is t.
8756
355f2e07
MR
87572011-06-26 Martin Rudalics <rudalics@gmx.at>
8758
8759 * window.el (display-buffer-normalize-argument): Rename to
8760 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8761 LABEL argument. Respect special-display-function when popping up
8762 a new frame. Fix code searching for a window showing the buffer
8763 on another frame.
c9d29fb8
SM
8764 (display-buffer-normalize-specifiers):
8765 Call display-buffer-normalize-arguments.
355f2e07
MR
8766 (display-buffer-in-window): Don't undedicate the window if its
8767 buffer remains the same.
8768 Reported by Drew Adams <drew.adams@oracle.com>.
8769 (display-buffer-alist): Add choice for same-window macro
8770 specfier.
8771 (display-buffer): Mention special meaning of LABEL argument in
8772 doc-string. Fix quoting. Don't pop up a new frame even as
8773 fallback.
8774
7ca8fc42
JB
87752011-06-26 Juanma Barranquero <lekktu@gmail.com>
8776
8777 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8778 avoid deleting the current window in some cases (bug#8911).
8779
bc312254
AS
87802011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8781
8782 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8783 (Bug#8934)
8784
2db18f3f
LMI
87852011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8786
c9d29fb8
SM
8787 * net/network-stream.el (network-stream-open-starttls):
8788 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8789 (network-stream-open-tls): Ditto.
8790
6302e0d3
LL
87912011-06-26 Leo Liu <sdl.web@gmail.com>
8792
8793 * register.el (registerv): New struct.
8794 (registerv-make): New function.
c9d29fb8
SM
8795 (jump-to-register, describe-register-1, insert-register):
8796 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8797 struct. (Bug#8415)
8798
5fdd4046
CY
87992011-06-26 Chong Yidong <cyd@stupidchicken.com>
8800
2afef60a
CY
8801 * vc/vc.el (vc-revert-show-diff): New defcustom.
8802 (vc-diff-internal): New arg specifying diff buffer.
8803 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8804 reuse an existing *vc-diff* buffer (Bug#8927).
8805
5fdd4046
CY
8806 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8807
e93db24a
GM
88082011-06-26 Glenn Morris <rgm@gnu.org>
8809
8810 * progmodes/f90.el (f90-critical-indent): New option.
8811 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8812 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8813 (f90-mode): Doc fix.
8814 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8815 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8816 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8817 (f90-match-end): Handle block, critical.
8818
eefff499
GM
88192011-06-25 Glenn Morris <rgm@gnu.org>
8820
f6ba4cc9
GM
8821 * calendar/diary-lib.el (diary-included-files): Doc fix.
8822 (diary-include-files): New function, extracted from
8823 diary-include-other-diary-files and diary-mark-included-diary-files.
8824 (diary-include-other-diary-files, diary-mark-included-diary-files):
8825 Just call diary-include-files.
8826 (diary-mark-entries): Reset diary-included-files on first call.
8827
16712304
GM
8828 * calendar/diary-lib.el (diary-mark-entries)
8829 (diary-mark-included-diary-files):
8830 Visit included diary-files in temp buffers.
8831
5d8e0d43
GM
8832 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8833 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8834 (f90-start-block-re, f90-imenu-generic-expression)
8835 (f90-looking-at-program-block-start, f90-no-block-limit):
8836 Add support for submodules.
8837
ccf7a5d5
GM
8838 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8839 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8840
11fdef7d 88412011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8842
8843 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8844 buffer-file-type before setting its value, to avoid disastrous
eefff499 8845 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8846
74f53697
JB
88472011-06-25 Juanma Barranquero <lekktu@gmail.com>
8848
8849 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8850
8851 * ses.el (ses-unload-function):
8852 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8853
8854 * proced.el (proced-unload-function):
8855 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8856
18a4ce5e
AR
88572011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8858
8859 * server.el (server-create-window-system-frame): Add parameters arg.
8860 (server-process-filter): Doc fix. Handle frame-parameters.
8861
519d22cc
JB
88622011-06-25 Juanma Barranquero <lekktu@gmail.com>
8863
8864 Fix bug#8730, bug#8781.
8865
8866 * loadhist.el (unload--set-major-mode): New function.
8867 (unload-feature): Use it.
8868
8869 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8870 (python-unload-function): New function.
8871
c206f5b0
SM
88722011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8875
f9ad64f3
GS
88762011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8877
8878 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8879 the candidates list.
8880
7d0da90e
JB
88812011-06-24 Juanma Barranquero <lekktu@gmail.com>
8882
8883 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8884
14b4e83d
RS
88852011-06-23 Richard Stallman <rms@gnu.org>
8886
8887 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8888 (rmail-variables): Set next-error-move-function.
8889 (rmail-what-message): Take argument POS.
8890 (rmail-next-error-move): New function.
8891
273d2baf
SM
88922011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8893
8894 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8895 messages for adjacent non-terminals.
8896
56c2cc9a
RS
88972011-06-23 Richard Stallman <rms@gnu.org>
8898
8899 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8900 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8901 (rmail-start-mail): Don't specify use of rmail-mail-return;
8902 that's done by mail-bury now.
8903 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8904
d59eb518
MA
89052011-06-23 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8908 SIZE is a number.
8909
02cfc6d6
MR
89102011-06-23 Martin Rudalics <rudalics@gmx.at>
8911
8912 * window.el (get-lru-window, get-mru-window)
8913 (get-largest-window): Never return a minibuffer window.
8914 (display-buffer-pop-up-window): Fix a bug that could lead to
8915 reusing the minibuffer window.
8916 (display-buffer): Pass original specifier argument to
8917 display-buffer-function instead of the normalized one.
8918 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8919
4e323265
LL
89202011-06-22 Leo Liu <sdl.web@gmail.com>
8921
8922 * minibuffer.el (completing-read-function)
8923 (completing-read-default): Move from minibuf.c
8924
7a70468f
RS
89252011-06-22 Richard Stallman <rms@gnu.org>
8926
50718fc2
RS
8927 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8928 to Rmail even if not started by a special Rmail command.
8929
7a70468f
RS
8930 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8931 Copy the buffer currently showing just one message.
8932
297dde5a
RW
89332011-06-22 Roland Winkler <winkler@gnu.org>
8934
8935 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8936 (bibtex-clean-entry): First delete the old key so that a
8937 customized algorithm for generating the new key does not get
8938 confused by the old key.
8939 (bibtex-url): Obey regexp of first step.
8940 (bibtex-search-entries): Do not use add-to-list with local
8941 list-var.
8942
97bb1093
LMI
89432011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8944
8945 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8946 stored a user name, then query for the password first, instead of
8947 waiting for SMTP to give an error message and the trying again.
8948
1c0f1a19
JD
89492011-06-22 Lawrence Mitchell <wence@gmx.li>
8950
8951 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8952 BUFFER in call-process.
8953
396f7c9d
LMI
89542011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8955
8956 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8957 QUIT twice.
ddb7ffee
LMI
8958 (smtpmail-try-auth-methods): Require user name and password from
8959 auth-source.
396f7c9d 8960
8998d1b3
MR
89612011-06-22 Martin Rudalics <rudalics@gmx.at>
8962
8963 * window.el (display-buffer-default-specifiers)
8964 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8965 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8966 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8967
8968 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8969 (special-display-frame-alist, special-display-popup-frame):
8970 Remove duplicate declarations. These are now in window.el.
8971
4ea31e07
LMI
89722011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8973
c9d29fb8
SM
8974 * mail/smtpmail.el (smtpmail-via-smtp):
8975 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8976 server supports it. SMTP servers that support STARTTLS commonly
8977 require it.
8978
8979 * net/network-stream.el (network-stream-open-starttls): Support
8980 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8981 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8982
95f41d9a
LMI
8983 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8984 upgrades with `open-network-stream', and rely solely on
8985 auth-source for all credentials. Big changes throughout the file,
8986 but in particular:
c9d29fb8
SM
8987 (smtpmail-auth-credentials): Remove.
8988 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8989 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8990 MAIL FROM, too.
95f41d9a 8991
c9d29fb8
SM
8992 * net/network-stream.el (network-stream-open-starttls):
8993 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8994 STARTTLS.
8995 (auth-source): Require.
8996 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8997 (network-stream-certificate): Change cert-cert to cert and
8998 cert-key to key.
4ea31e07 8999
065ec2c7
MA
90002011-06-21 Michael Albinus <michael.albinus@gmx.de>
9001
9002 * net/tramp-cache.el (top): Don't load the persistency file when
9003 "emacs -Q" has been called.
9004
cd93b359
DR
90052011-06-21 Tim Harper <timcharper@gmail.com>
9006
d8e4b68b
JB
9007 * term/ns-win.el (ns-initialize-window-system):
9008 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9009 resource to NO as it is not yet supported by the NS port.
9010
ae9c0411
JB
90112011-06-21 Juanma Barranquero <lekktu@gmail.com>
9012
9013 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9014 (list-dynamic-libraries): ...not here.
9015
7f3f739f
LL
90162011-06-21 Leo Liu <sdl.web@gmail.com>
9017
9018 * subr.el (sha1): Implement sha1 using secure-hash.
9019
327c8fb1
MR
90202011-06-21 Martin Rudalics <rudalics@gmx.at>
9021
9022 * window.el (display-buffer-alist): In default value do not
9023 enforce searching a window on any but the selected frame.
9024 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9025 (display-buffer-select-window): Remove function.
9026 (display-buffer-in-window): When a window on another frame gets
9027 reused, do not select it any more but just raise its frame if
9028 necessary (Bug#8851) and (Bug#8856).
9029 (display-buffer-normalize-options): Handle pop-up-frames related
9030 options more faithfully.
9031 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9032 window if it is on another frame.
c9d29fb8
SM
9033 (display-buffer-alist, display-buffer-default-specifiers):
9034 Don't make new frame unsplittable by default.
9e9de014
MR
9035 (display-buffer-normalize-argument): Fix doc-string typo and use
9036 'same-frame-other-window instead of 'other-window when associating
9037 with display-buffer-macro-specifiers.
327c8fb1 9038
7cf3f556
VB
90392011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9040
9041 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9042 New functions.
9043 (5x5-mode-map, 5x5-mode-menu): Bind them.
9044 (5x5-draw-grid): Tweak the solver's rendering.
9045
60a406cf
SM
90462011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9049 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9050
d8e4b68b 90512011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9052
9053 * menu-bar.el: Use function variable instead of switch-to-buffer.
9054 (menu-bar-select-buffer-function): New variable.
60a406cf 9055 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9056
478d6f95
SM
90572011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9060 variable's status.
9061
ca530739
JD
90622011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9063
9064 * x-dnd.el (x-dnd-version-from-flags)
9065 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9066 and long as number (Bug#8899).
9067 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9068
bcd70d97
SM
90692011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9070
60a406cf 9071 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9072 (completion-try-completion, completion-all-completions): Compute the
9073 metadata argument if it's missing; make it optional (bug#8795).
9074
60a406cf 9075 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9076 (widget-complete): Use new :completion-function property.
9077 (widget-completions-at-point): New function.
9078 (default): Use :completion-function instead of :complete.
60a406cf
SM
9079 (widget-default-completions): Rename from widget-default-complete;
9080 Rewrite.
bcd70d97
SM
9081 (widget-string-complete, widget-file-complete, widget-color-complete):
9082 Remove functions.
9083 (file, symbol, function, variable, coding-system, color):
9084 * international/mule-cmds.el (default-input-method, charset)
9085 (language-info-custom-alist):
9086 * cus-edit.el (face): Use new property :completions.
9087
9088 * progmodes/pascal.el (pascal-completions-at-point): New function.
9089 (pascal-mode): Use it.
9090 (pascal-mode-map): Use completion-at-point.
9091 (pascal-toggle-completions): Make obsolete.
9092 (pascal-complete-word, pascal-show-completions):
9093 * progmodes/octave-mod.el (octave-complete-symbol):
9094 Redefine as obsolete alias.
9095 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9096 Signal absence of completion info for old Octave,
9097 (inferior-octave-complete): Redefine as obsolete alias.
9098 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9099 (meta-completions-at-point): Rename from meta-complete-symbol and
9100 adapt it for use on completion-at-point-functions.
9101 (meta-common-mode): Use it.
9102 (meta-looking-at-backward, meta-match-buffer): Remove.
9103 (meta-complete-symbol): Redefine as obsolete alias.
9104 (meta-common-mode-map): Use completion-at-point.
9105 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9106 (makefile-mode-map): Use completion-at-point.
9107 (makefile-completions-at-point): Rename from makefile-complete and
9108 adapt it for use on completion-at-point-functions.
9109 (makefile-mode): Use it.
9110 (makefile-complete): Redefine as obsolete alias.
9111
aebf69c8
DD
91122011-06-20 Deniz Dogan <deniz@dogan.se>
9113
9114 * net/rcirc.el: Delete trailing whitespaces once and for all.
9115
bfbbb27d
DC
91162011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9117
9118 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9119
d264a46b
CY
91202011-06-19 Chong Yidong <cyd@stupidchicken.com>
9121
4ca009e5
CY
9122 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9123
d264a46b
CY
9124 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9125
fbf5b3ce
MR
91262011-06-19 Martin Rudalics <rudalics@gmx.at>
9127
9128 * window.el (display-buffer-other-window-means-other-frame):
9129 Call display-buffer-normalize-alist.
9130 (display-buffer-normalize-specifiers-1): Rename to
9131 display-buffer-normalize-argument. New argument other-frame.
9132 Rewrite.
9133 (display-buffer-normalize-specifiers-2): Rename to
9134 display-buffer-normalize-options.
9135 (display-buffer-normalize-alist-1): New function.
9136 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9137 display-buffer-normalize-alist.
9138 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9139 (display-buffer-normalize-options-inhibit): New variable.
9140 (display-buffer-normalize-specifiers): Rewrite calling
9141 display-buffer-normalize-alist,
9142 display-buffer-normalize-argument, and
9143 display-buffer-normalize-options. Don't call the latter if
9144 display-buffer-normalize-options-inhibit is non-nil.
9145 (frame-auto-delete): New option.
9146 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9147 (window-list-no-nils, window-state-ignored-parameters)
9148 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9149 (window-state-put-1, window-state-put-2, window-state-put):
9150 New functions.
9a028c23
MR
9151 (display-buffer-normalize-options): Move special-display-p group
9152 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9153
6d10d800
CY
91542011-06-18 Chong Yidong <cyd@stupidchicken.com>
9155
6420d28b
CY
9156 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9157 groups (Bug#8776).
9158 (rx-submatch-n): New function.
9159 (rx): Document it.
9160
ddb8b596
CY
9161 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9162 (Bug#8768).
9163
9164 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9165
77080289
CY
9166 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9167
61dfb316
CY
9168 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9169 anytime existing face settings are present (Bug#8889).
9170
6d10d800
CY
9171 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9172 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9173 Remove unused argument.
9174
be3fb2b8
MR
91752011-06-18 Martin Rudalics <rudalics@gmx.at>
9176
bcd70d97
SM
9177 * window.el (display-buffer-default-specifiers):
9178 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9179 pop-up-window-min-width, and another reuse-window specifier
9180 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9181 (display-buffer-normalize-specifiers-2):
9182 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9183 pop-up-windows is unset. Add a reuse-window specifier for the
9184 case popping up a new window fails.
9185 (special-display-popup-frame): Remove double quoting.
28dec25a 9186 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9187
1c6d8c76
SM
91882011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9191 according to comint-completion-addsuffix.
9192
9193 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9194 (pcomplete-suffix-list): Mark as obsolete.
9195 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9196 pcomplete-seen in the closure.
9197 (pcomplete-comint-setup): Setup completion-at-point as well.
9198 (pcomplete--entries): New function.
9199 (pcomplete--env-regexp): New var.
9200 (pcomplete-entries): Rewrite to work with partial-completion and
9201 without relying on pcomplete-suffix-list.
9202 (pcomplete-pare-list): Remove, unused.
9203
25aef8b8
MR
92042011-06-17 Martin Rudalics <rudalics@gmx.at>
9205
9206 * window.el (display-buffer-alist): Set pop-up-window-min-height
9207 and pop-up-window-min-width in default value. Reported by
9208 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9209 other-window-means-other-frame.
9210 (display-buffer-macro-specifiers): Comment out entry for
9211 other-window specifier.
9212 (display-buffer-other-window-means-other-frame): New function.
9213 (display-buffer-normalize-specifiers-1): New arguments
9214 buffer-name and label. Treat other-window case specially.
9215 (display-buffer-normalize-specifiers-2): Treat other-window case
9216 specially.
9217 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9218 (display-buffer-normalize-specifiers):
9219 Call display-buffer-normalize-specifiers-3.
25aef8b8 9220
dbad4f69
MR
92212011-06-17 Martin Rudalics <rudalics@gmx.at>
9222
9223 * window.el (same-window-p): Fix two typos introduced when
9224 adding with-no-warnings.
d1067961
MR
9225 (display-buffer-normalize-specifiers-1): Don't check
9226 pop-up-frames for 'unset initialization.
9227 (display-buffer-normalize-specifiers-2): Major rewrite using
9228 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9229 (pop-up-frames, display-buffer-reuse-frames)
9230 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9231 Suggested by David Engster <deng@randomsample.de>.
9232 (even-window-heights): Initialize to 'unset.
9233 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9234 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9235 other window case.
dbad4f69 9236
9b9c9e3a
MR
92372011-06-16 Martin Rudalics <rudalics@gmx.at>
9238
bcd70d97
SM
9239 * window.el (display-buffer-normalize-specifiers-1):
9240 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9241 second argument of display-buffer (Bug#8865).
981d5c09
MR
9242 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9243 (switch-to-buffer-other-window-same-frame)
9244 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9245 Adams (Bug#8875).
9c2755e9
MR
9246 (display-buffer): Don't check noninteractive when calling
9247 display-buffer-pop-up-frame.
9248 (display-buffer-pop-up-frame): Never pop up a frame in
9249 noninteractive mode (Bug#8857).
67222e1d
MR
9250 (enlarge-window, shrink-window): Don't report an error when the
9251 window can't be resized as requested (Bug#8862).
9b9c9e3a 9252
2b75be67
SM
92532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9ffdd3ba
SM
9255 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9256
cb581a67
SM
9257 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9258
2b75be67
SM
9259 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9260
8c0e3589
AM
92612011-06-15 Alan Mackenzie <acm@muc.de>
9262
cb581a67
SM
9263 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9264 for declarators, disable knr checking to speed up for normal files.
9265 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9266
b96e6cde
LMI
92672011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
4bba86e6
LMI
9269 * net/network-stream.el (open-network-stream): Add the keyword
9270 :always-query-capabilities for the case where you want to force a
9271 `plain' network connection, but the protocol still requires the
9272 capabilitiy command (i.e., SMTP and EHLO).
9273
2b75be67 9274 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9275 consistency with other `-live-p' functions.
9276
efdcdbf8
SM
92772011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * window.el (same-window-buffer-names, same-window-regexps)
9280 (special-display-frame-alist, special-display-popup-frame)
9281 (special-display-function, special-display-buffer-names)
9282 (special-display-regexps, pop-up-frame-alist)
9283 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9284 (pop-up-windows, split-window-preferred-function)
9285 (split-height-threshold, split-width-threshold, even-window-heights)
9286 (display-buffer-mark-dedicated): Don't encourage the use of
9287 display-buffer-alist from Elisp code.
9288
c5cde042
DN
92892011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9290
9291 * progmodes/python.el (python-mode): Derive from prog-mode.
9292 * progmodes/ps-mode.el (ps-mode):
9293 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9294 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9295 * progmodes/ld-script.el (ld-script-mode): Likewise.
9296
baa1c9ab
MR
92972011-06-15 Martin Rudalics <rudalics@gmx.at>
9298
9299 * window.el (display-buffer-alist): Trim default value to avoid
9300 popping up a new frame (Bug#8857) or reusing an arbitrary window
9301 on another frame.
9302 (display-buffer): Do not fall back on popping up a new frame in
9303 batch mode (Bug#8857).
9304
c5dd5a51
CY
93052011-06-14 Chong Yidong <cyd@stupidchicken.com>
9306
9307 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9308 (custom-theme-summary): New function.
9309 (customize-themes): Use it.
9310
d647b7c4
GM
93112011-06-13 Glenn Morris <rgm@gnu.org>
9312
9313 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9314
9481c002
MR
93152011-06-13 Martin Rudalics <rudalics@gmx.at>
9316
357f93d2
MR
9317 * help.el (help-window): Remove variable.
9318 (help-window-point-marker, temp-buffer-max-height)
9319 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9320 (help-print-return-message): Don't set help-window.
9321 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9322 (help-window-setup-finish): Remove.
9323 (help-window-display-message, help-window-setup)
9324 (with-help-window): Major rewrite based on new
9325 display-buffer-window variable.
9326
9327 * help-mode.el (help-mode-finish): Remove help-window related
9328 code.
9329
9330 * view.el (view-exits-all-viewing-windows): Remove reference to
9331 view-return-to-alist in doc-string.
9332 (view-return-to-alist): Make obsolete.
9333 (view-buffer): Call pop-to-buffer-same-window and remove
9334 undo-window code.
9335 (view-buffer-other-window): Call pop-to-buffer-other-window and
9336 simplify code. Ignore second argument.
9337 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9338 simplify code. Ignore second argument.
9339 (view-return-to-alist-update): Make obsolete.
9340 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9341 Rewrite using quit-restore window parameters.
2b75be67
SM
9342 (view-mode-exit): Rename second argument to EXIT-ONLY.
9343 Rewrite using quit-restore-window.
357f93d2
MR
9344 (View-exit, View-exit-and-edit, View-leave, View-quit)
9345 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9346 appropriate arguments.
9347 (view-end-message): Use quit-restore window parameter.
9348
9481c002
MR
9349 * window.el (display-buffer-function): Rewrite doc-string.
9350 (display-buffer-window, display-buffer-alist): New variables.
9351 (display-buffer-split-specifiers)
9352 (display-buffer-side-specifiers)
9353 (display-buffer-macro-specifiers): New constants.
9354 (display-buffer-even-window-sizes, display-buffer-set-height)
9355 (display-buffer-set-width, display-buffer-select-window)
9356 (display-buffer-in-window, display-buffer-reuse-window)
9357 (display-buffer-split-window-1, display-buffer-split-window)
9358 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9359 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9360 (display-buffer-in-side-window, normalize-buffer-to-display)
9361 (display-buffer-normalize-specifiers-1)
9362 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9363 (display-buffer-normalize-specifiers, display-buffer-frame):
9364 New functions.
9481c002
MR
9365 (display-buffer): Major rewrite.
9366 (display-buffer-other-window, display-buffer-other-frame)
9367 (pop-to-buffer, switch-to-buffer-other-window)
9368 (switch-to-buffer-other-frame): Rewrite.
9369 (display-buffer-same-window, display-buffer-same-frame)
9370 (display-buffer-same-frame-other-window)
9371 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9372 (pop-to-buffer-other-window)
9373 (pop-to-buffer-same-frame-other-window)
9374 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9375 (switch-to-buffer-other-window-same-frame): New functions.
9376 (same-window-p, special-display-p): Rewrite disabling warnings.
9377 Make obsolete.
9378 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9379 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9380 Make obsolete
9381 (same-window-buffer-names, same-window-regexps)
9382 (special-display-frame-alist, special-display-popup-frame)
9383 (special-display-function, special-display-buffer-names)
9384 (special-display-regexps, pop-up-frame-alist)
9385 (pop-up-frame-function, split-window-preferred-function)
9386 (split-height-threshold, split-width-threshold)
9387 (even-window-heights): Make obsolete.
9388
9db51aca
GM
93892011-06-12 Glenn Morris <rgm@gnu.org>
9390
9391 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9392 Misc simplifications.
9db51aca 9393
39cffb44
MR
93942011-06-12 Martin Rudalics <rudalics@gmx.at>
9395
9396 * window.el (window-safely-shrinkable-p): Restore function which
9397 was inadvertently removed in change from 2011-06-11. Declare as
9398 obsolete.
9399
2b75be67
SM
9400 * calendar/calendar.el (calendar-generate-window):
9401 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9402 window-safely-shrinkable-p.
9403
a8955be7
GM
94042011-06-12 Glenn Morris <rgm@gnu.org>
9405
9406 * progmodes/fortran.el (fortran-mode-syntax-table):
9407 * progmodes/f90.el (f90-mode-syntax-table):
9408 Set % to punctuation. (Bug#8820)
9409 (f90-find-tag-default): Remove, no longer needed.
9410
f0d4059d
DC
94112011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9412
9413 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9414
1100a63c
CY
94152011-06-11 Chong Yidong <cyd@stupidchicken.com>
9416
9417 * image.el (image-animated-p): Return animation delay in seconds.
9418 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9419 (image-animate-timeout): Remove DELAY argument. Don't assume
9420 every subimage has the same delay; get it from image-animated-p.
9421 (image-animate): Caller changed.
9422
def722bf
MA
94232011-06-11 Michael Albinus <michael.albinus@gmx.de>
9424
9425 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9426 to ignored backtrace functions.
9427
0a2bb1a9
GM
94282011-06-11 Glenn Morris <rgm@gnu.org>
9429
9430 * calendar/appt.el (appt-disp-window-function): Doc fix.
9431 (appt-check): Handle overlapping appointments. (Bug#8337)
9432
6198ccd0
MR
94332011-06-11 Martin Rudalics <rudalics@gmx.at>
9434
9435 * window.el (window-tree-1, window-tree): New functions, moving
9436 the latter to window.el.
9437 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9438 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9439 (bw-refresh-edges): Remove.
9440 (balance-windows-1, balance-windows-2): New functions.
9441 (balance-windows): Rewrite in terms of window tree functions,
9442 balance-windows-1 and balance-windows-2.
9443 (bw-adjust-window): Remove.
9444 (balance-windows-area-adjust): New function with functionality of
9445 bw-adjust-window but using resize-window.
2b75be67
SM
9446 (set-window-text-height): Rewrite doc-string.
9447 Use normalize-live-window and resize-window.
9448 (enlarge-window-horizontally, shrink-window-horizontally):
9449 Rename argument to DELTA.
6198ccd0
MR
9450 (window-buffer-height): New function.
9451 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9452 Rewrite using new window resize routines.
2b75be67
SM
9453 (kill-buffer-and-window, mouse-autoselect-window-select):
9454 Use ignore-errors instead of condition-case.
6198ccd0
MR
9455 (quit-window): Call delete-frame instead of delete-windows-on
9456 for the only buffer on frame.
9457
9397e56f
MR
94582011-06-10 Martin Rudalics <rudalics@gmx.at>
9459
9460 * loadup.el (top-level): Load window before files for the sake
9461 of replace-buffer-in-windows.
9462
9463 * files.el (read-buffer-to-switch)
9464 (switch-to-buffer-other-window)
2b75be67
SM
9465 (switch-to-buffer-other-frame, display-buffer-other-frame):
9466 Move to window.el.
9397e56f
MR
9467
9468 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9469 (previous-buffer): Move to window.el.
9470
9471 * bindings.el (unbury-buffer): Move to window.el.
9472
9473 * window.el (delete-other-windows-vertically): Move after
9474 definition of delete-other-windows.
9475 (other-window, delete-windows-on, replace-buffer-in-windows):
9476 Move here from window.c.
9477 (record-window-buffer, unrecord-window-buffer)
9478 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9479 (switch-to-next-buffer): New functions.
9480 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9481 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9482 (previous-buffer): Move here from simple.el.
9483 Call switch-to-prev-buffer.
9397e56f
MR
9484 (bury-buffer): Move here from buffer.c. Switch to previous
9485 buffer when window cannot be deleted.
9486 (unbury-buffer): Move here from bindings.el.
9487 (ctl-x-map): Move binding for other-window from window.c to
9488 here.
9489 (read-buffer-to-switch, switch-to-buffer-other-window)
9490 (switch-to-buffer-other-frame): Move here from files.el.
9491 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9492 (switch-to-buffer): Move here from buffer.c.
9493 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9494
562dd5e9
MR
94952011-06-10 Martin Rudalics <rudalics@gmx.at>
9496
9497 * window.el (window-min-height, window-min-width): Move here
9498 from window.c. Add defcustoms and rewrite doc-strings.
9499 (resize-mini-window, resize-window): New functions.
9500 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9501 Move here from window.c.
9502 (maximize-window, minimize-window): New functions.
9503 (delete-window, delete-other-windows, split-window): Move here
9504 from window.c.
9505 (window-split-min-size): New function.
9506 (split-window-keep-point): Mention split-window-above-each-other
9507 instead of split-window-vertically.
2b75be67 9508 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9509 Rename split-window-vertically to split-window-above-each-other
9510 and provide defalias for old definition.
9511 (split-window-side-by-side, split-window-horizontally):
9512 Rename split-window-horizontally to split-window-side-by-side
9513 and provide defalias for the old definition.
562dd5e9
MR
9514 (ctl-x-map): Move bindings for delete-window,
9515 delete-other-windows and enlarge-window here from window.c.
9516 Replace bindings for split-window-vertically and
9517 split-window-horizontally by bindings for
9518 split-window-above-each-other and split-window-side-by-side.
9519
9520 * cus-start.el (all): Remove entries for window-min-height and
9521 window-min-width. Add entries for window-splits and
9522 window-nest.
9523
f0da764a
GM
95242011-06-09 Glenn Morris <rgm@gnu.org>
9525
80675c21
GM
9526 * calendar/appt.el (appt-mode-line): New function.
9527 (appt-check, appt-disp-window): Use it.
9528
f0da764a
GM
9529 * files.el (hack-one-local-variable-eval-safep):
9530 Allow minor-modes with explicit +/-1 arguments.
9531
59f623b7
TZ
95322011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9533
9534 * term/xterm.el (xterm): Add defgroup.
9535 (xterm-extra-capabilities): Add defcustom to supply known xterm
9536 capabilities, skip querying them, or query them (default).
9537 (terminal-init-xterm): Use it.
9538 (terminal-init-xterm-modify-other-keys): New function to set up
9539 modifyOtherKeys support to simplify `terminal-init-xterm'.
9540
9aab8e0d
MR
95412011-06-09 Martin Rudalics <rudalics@gmx.at>
9542
9543 * window.el (resize-window-reset, resize-window-reset-1)
9544 (resize-subwindows-skip-p, resize-subwindows-normal)
9545 (resize-subwindows, resize-other-windows, resize-this-window)
9546 (resize-root-window, resize-root-window-vertically)
9547 (window-deletable-p, window-or-subwindow-p)
9548 (frame-root-window-p): New functions.
9549
e8b08aee
GM
95502011-06-09 Glenn Morris <rgm@gnu.org>
9551
9552 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9553 (ange-ftp-get-files): Use it.
9554
254c37a5
AK
95552011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9556
9557 * mail/sendmail.el (mail-recover-1, mail-recover):
9558 * files.el (recover-file, recover-session):
9559 Handle dired-listing-switches not being just a single short option.
9560
35d7dbd3
GM
95612011-06-09 Glenn Morris <rgm@gnu.org>
9562
9563 * calendar/appt.el (appt-display-message, appt-disp-window):
9564 Handle lists of appointments.
9565
387522b2
MR
95662011-06-08 Martin Rudalics <rudalics@gmx.at>
9567
2b75be67
SM
9568 * window.el (one-window-p): Move down in code.
9569 Rewrite doc-string.
9570 (window-current-scroll-bars): Rewrite doc-string.
9571 Normalize live window argument.
387522b2
MR
9572 (walk-windows, get-window-with-predicate, count-windows):
9573 Rewrite doc-string. Use window-list-1.
9574 (window-in-direction-2, window-in-direction, get-mru-window):
9575 New functions.
9576
d8e4b68b 95772011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9578
9579 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9580 Doc fix (Bug#8713).
9581
95822011-06-08 Chong Yidong <cyd@stupidchicken.com>
9583
9584 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9585
95862011-06-08 Juanma Barranquero <lekktu@gmail.com>
9587
9588 * loadhist.el (unload-feature-special-hooks):
9589 Add `comint-output-filter-functions'.
9590
0de12c52
IK
95912011-06-08 Ivan Kanis <gnu@kanis.fr>
9592
9593 * calendar/appt.el (appt-check): Move some initializations into the let.
9594
f3d1777e
MR
95952011-06-08 Martin Rudalics <rudalics@gmx.at>
9596
9597 * window.el (window-height): Defalias to window-total-height.
9598 (window-width): Defalias to window-body-width.
9599
18af70d0
CY
96002011-06-07 Chong Yidong <cyd@stupidchicken.com>
9601
9602 * image-mode.el (image-toggle-animation): New command.
9603 (image-mode-map): Bind it to RET.
9604 (image-mode): Update message.
9605 (image-toggle-display-image): Avoid a spurious cache flush.
9606 (image-transform-rotation): Doc fix.
9607 (image-transform-properties): Return quickly in the normal case.
9608 (image-animate-loop): Rename from image-animate-max-time.
9609
2b75be67 9610 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9611 (create-animated-image): Remove unnecessary function.
9612 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9613 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9614 (image-animate-timer): Use car-safe.
9615 (image-animate-timeout): Rename argument.
9616
190b47e6
MR
96172011-06-07 Martin Rudalics <rudalics@gmx.at>
9618
9619 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9620 window.c. Rename first argument to ALL-FRAMES.
9621 Rephrase doc-strings.
9622 (get-buffer-window-list): Rewrite using window-list-1.
9623 Rephrase doc-string.
a1511caf
MR
9624 (window-safe-min-height, window-safe-min-width): New constants.
9625 (window-size-ignore, window-min-size, window-min-size-1)
9626 (window-sizable, window-sizable-p, window-size-fixed-1)
9627 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9628 (window-max-delta-1, window-max-delta, window-resizable)
9629 (window-resizable-p, window-total-height, window-total-width)
9630 (window-body-width): New functions.
9631 (window-full-height-p, window-full-width-p): Rewrite using
9632 window-total-size.
9633 (window-body-height): Rewrite using window-body-size.
190b47e6 9634
85cc1f11
MR
96352011-06-06 Martin Rudalics <rudalics@gmx.at>
9636
9637 * window.el (window-right, window-left, window-child)
9638 (window-child-count, window-last-child, window-any-p)
9639 (normalize-live-buffer, normalize-live-frame)
9640 (normalize-any-window, normalize-live-window)
9641 (window-iso-combination-p, window-iso-combined-p)
9642 (window-iso-combinations)
9643 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9644 (windows-with-parameter, window-with-parameter)
9645 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9646 (window-atom-check, window-side-check, window-check):
9647 New functions.
85cc1f11
MR
9648 (ignore-window-parameters, window-sides, window-sides-vertical)
9649 (window-sides-slots): New variables.
9650 (window-size-fixed): Move down in code. Minor doc-string fix.
9651
e7156492
AS
96522011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9653
9654 * comint.el (comint-dynamic-complete-as-filename)
9655 (comint-dynamic-complete-filename): Correctly call
9656 completion-in-region.
9657
7e821d0d
DD
96582011-06-05 Deniz Dogan <deniz@dogan.se>
9659
9660 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9661 in last change.
9662
ac09b8a1
DD
96632011-06-05 Deniz Dogan <deniz@dogan.se>
9664
9665 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9666 (rcirc): Use it to prompt for encryption.
9667
34699b85
RW
96682011-06-05 Roland Winkler <winkler@gnu.org>
9669
9670 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9671 (bibtex-search-entries): New command bound to C-c C-a.
9672 (bibtex-display-entries): New function.
9673
004dedd3
RW
96742011-06-05 Roland Winkler <winkler@gnu.org>
9675
9676 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9677 (bibtex-insert-kill): After yanking insert newline if necessary.
9678 (bibtex-initialize): Call bibtex-string-files-init only once.
9679 (bibtex-mode): Do not call easy-menu-add.
9680 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9681 (bibtex-yank): Set arg properly if nil.
9682
022fe7ce
RW
96832011-06-05 Roland Winkler <winkler@gnu.org>
9684
2b75be67
SM
9685 * textmodes/bibtex.el (bibtex-search-entry-globally):
9686 New variable.
022fe7ce
RW
9687 (bibtex-search-entry): Use it.
9688
b7c3692a
RW
96892011-06-05 Roland Winkler <winkler@gnu.org>
9690
9691 * textmodes/bibtex.el (bibtex-entry-format): New option
9692 sort-fields.
9693 (bibtex-format-entry, bibtex-reformat): Honor this option.
9694 (bibtex-parse-entry): Return fields in proper order.
9695
8eda563d
JB
96962011-06-05 Juanma Barranquero <lekktu@gmail.com>
9697
9698 * doc-view.el (doc-view-remove-if): Move computation of result out
9699 of `dolist' to silence misleading lexical-binding warning.
9700
7dbe3dbc
CY
97012011-06-04 Chong Yidong <cyd@stupidchicken.com>
9702
9703 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9704 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9705
0c33dd17
MA
97062011-06-04 Michael Albinus <michael.albinus@gmx.de>
9707
9708 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9709 "SunOS 5.10".
9710
f8f91c2b
MA
97112011-06-04 Michael Albinus <michael.albinus@gmx.de>
9712
9713 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9714 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9715 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9716 (tramp-parse-putty):
9717 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9718 (tramp-completion-function-alist-ssh)
9719 (tramp-completion-function-alist-telnet)
9720 (tramp-completion-function-alist-su)
9721 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9722 cookie.
9723
9724 * net/tramp-ftp.el:
9725 * net/tramp-sh.el:
9726 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9727 load "tramp.el" `tramp-set-completion-function'.
9728
e17d9003
SM
97292011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * shell.el: Require and use pcomplete.
9732 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9733 (shell-completion-vars): Set pcomplete-default-completion-function.
9734
6c4cab03
DD
97352011-06-04 Deniz Dogan <deniz@dogan.se>
9736
9737 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9738 `memq' (Bug#8799).
9739
ea9fafe0
SM
97402011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9743
b3e945d3
JB
97442011-06-02 Juanma Barranquero <lekktu@gmail.com>
9745
9746 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9747 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9748 * vc/log-view.el (log-view-beginning-of-defun):
9749 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9750 (smerge-refine-forward, smerge-refine-chopup-region):
9751 Silence warning for unused `dotimes' counter variables.
9752
7d520089
SM
97532011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9754
9755 * net/tramp.el (tramp-with-progress-reporter): Rename from
9756 with-progress-reporter. Use `declare'.
9757 * net/tramp-smb.el:
9758 * net/tramp-sh.el:
9759 * net/tramp-gvfs.el: Update all uses.
9760
a1c2400f
JB
97612011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9762
9763 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9764 buffer isn't killed before making it current.
9765
2403c841
SM
97662011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 Silence various byte-compiler warnings.
9769 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9770 `access-type' and new obsolescence format.
9771 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9772 new format.
9773 (byte-compile-check-variable): New `access-type' argument.
9774 Only warn if the access-type is obsolete.
9775 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9776 (byte-compile-variable-set): Adjust callers.
9777 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9778 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9779 setting it as obsolete.
9780 * simple.el (minibuffer-completing-symbol):
9781 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9782 access as obsolete.
9783 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9784 obsolete yet.
9785 * international/quail.el (quail-mouse-choose-completion): Remove unused
9786 code referring to obsolete var.
9787 (quail-choose-completion-string): Remove.
9788 * server.el (server-clients-with, server-kill-buffer-query-function)
9789 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9790 * proced.el (proced-send-signal):
9791 * emacs-lisp/lisp.el (lisp-complete-symbol):
9792 Replace completion-annotate-function with completion-extra-properties.
9793
2462470b
SM
97942011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9795
fb5b2591
SM
9796 * simple.el (goto-line): Use read-number.
9797 (overriding-map-is-bound): Remove.
9798 (saved-overriding-map): Change default.
9799 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9800 Take the map as argument.
9801 (universal-argument, negative-argument, digit-argument): Use it.
9802 (restore-overriding-map): Adjust.
9803 (do-auto-fill): Use fill-forward-paragraph.
9804 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9805
fd6fa53f
SM
9806 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9807 (minibuffer-inactive-mode): New major mode.
9808 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9809 the *Messages* buffer" hack.
9810 (mouse-popup-menubar): Don't burp if the event is a normal key.
9811
2462470b
SM
9812 Miscellaneous tweaks.
9813 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9814 lexical scoping as in subr.el's dolist and dotimes.
9815 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9816 Silence compiler warning.
9817 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9818 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9819 * international/ccl.el (ccl-compile): Trivial simplification.
9820 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9821 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9822 `printflag' argument.
9823 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9824 Purecopy the whole obsolescence data.
9825
108bf785
LL
98262011-06-01 Leo Liu <sdl.web@gmail.com>
9827
9828 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9829 improve doc-string as suggested by Marco Pessotto
9830 <melmothx@gmail.com>.
9831 (rcirc-print): Fix last change.
9832
30a23501
SM
98332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 * minibuffer.el (complete-with-action): Return nil for the metadata and
9836 boundaries of non-functional tables.
9837 (completion-table-dynamic): Return nil for the metadata.
9838 (completion-table-with-terminator): Add default case, using
9839 complete-with-action.
9840 (completion--metadata): New function.
9841 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9842 to try and avoid pathological performance problems.
9843 (completion--embedded-envvar-table): Return `category' metadata.
9844
bcd54f83
LMI
98452011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9846
9847 * subr.el (process-alive-p): New tiny convenience function.
9848
e227544d
SM
98492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9850
9851 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9852 content but also its previous major mode.
9853
e8296fdc
HE
98542011-05-31 Helmut Eller <eller.helmut@gmail.com>
9855
4d61f28d 9856 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9857 *Backtrace* buffer when we exit with C-M-c.
9858
620c53a6
SM
98592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * minibuffer.el: Add metadata method to completion tables.
9862 (completion-category-overrides): New defcustom.
9863 (completion-metadata, completion--field-metadata)
9864 (completion-metadata-get, completion--styles)
9865 (completion--cycle-threshold): New functions.
9866 (completion-try-completion, completion-all-completions):
9867 Add `metadata' argument to choose completion-styles.
9868 (completion--do-completion): Use metadata to choose cycling.
9869 (completion-all-sorted-completions): Use metadata for sorting.
9870 Remove :completion-cycle-penalty which is not needed any more.
9871 (completion--try-word-completion): Add `metadata' argument.
9872 (minibuffer-completion-help): Check metadata for annotation function
9873 and sorting.
9874 (completion-file-name-table): Return `category' metadata.
9875 (minibuffer-completing-file-name): Make obsolete.
9876 * simple.el (minibuffer-completing-symbol): Make obsolete.
9877 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9878 completion-try-completion.
9879
1257e755
SM
98802011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9883
3767e706
LL
98842011-05-30 Leo Liu <sdl.web@gmail.com>
9885
9886 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9887 (rcirc-print): Decode all incoming messages (bug#8744).
9888 (rcirc-decode-coding-system): Allow value nil for automatic coding
9889 system detection.
3767e706 9890
d1a5d56a
GM
98912011-06-01 Glenn Morris <rgm@gnu.org>
9892
9893 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9894
e8cbec34
CY
98952011-05-29 Chong Yidong <cyd@stupidchicken.com>
9896
9897 * image.el (image-animate-max-time): Allow nil and t values.
9898 Default to nil.
9899 (create-animated-image): Doc fix.
9900 (image-animate-start): Remove second arg; just use
9901 image-animate-max-time.
9902 (image-animate-timeout): Doc fix. Args changed.
9903
9904 * image-mode.el (image-toggle-display-image): Ensure that the
9905 image spec passed to the animate timer is the same object as in
58179cce 9906 the buffer's display property (Bug#6981).
e8cbec34
CY
9907 (image-transform-properties): Doc fix.
9908
9909 * image.el (image-animate-max-time): Default to nil.
9910
159daf87
MR
99112011-05-29 Martin Rudalics <rudalics@gmx.at>
9912
9913 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9914 entire buffer list (Bug#8184).
9915
d66c4c7c
CY
99162011-05-29 Chong Yidong <cyd@stupidchicken.com>
9917
9918 * image.el (imagemagick-types-inhibit)
9919 (imagemagick-register-types): Doc fix.
9920
80aec780
DD
99212011-05-29 Deniz Dogan <deniz@dogan.se>
9922
9923 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9924 default.
9925
1dd3c2d9
CY
99262011-05-29 Chong Yidong <cyd@stupidchicken.com>
9927
9928 * select.el: Don't perform clipboard-manager saving in hooks;
9929 leave the hooks empty.
9930
60e56523
LL
99312011-05-28 Leo Liu <sdl.web@gmail.com>
9932
9933 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9934 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9935 (occur-edit-mode): New major mode (Bug#8463).
9936 (occur-after-change-function): New function.
9937 (occur-engine): Give Occur tags a read-only property.
9938
2b1e1a22
KR
99392011-05-28 Kevin Ryde <user42@zip.com.au>
9940
9941 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9942
5d344e88
CY
99432011-05-28 Chong Yidong <cyd@stupidchicken.com>
9944
8e6ca83d
CY
9945 * bindings.el (help-echo): Make the initial non-indicator dash
9946 empty on graphical terminals (Bug#7295).
9947
5d344e88
CY
9948 * files.el (auto-mode-alist): Move config rule after the
9949 in-stripping one (Bug#8547).
9950
bfbbace7
CY
9951 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9952
fbeba6e2
CY
9953 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9954 setting (Bug#8740).
9955
60ed8c72
AA
99562011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9957
4ac619f0
AA
9958 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9959 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9960 (Bug#8539).
60ed8c72 9961
23db196e
CY
99622011-05-28 Chong Yidong <cyd@stupidchicken.com>
9963
9964 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9965
5012f24c
DK
99662011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9967
9968 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9969 (hs-hide-block-at-point, hs-find-block-beginning)
9970 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9971 (Bug#8279).
9972
6a639b16
GM
99732011-05-28 Glenn Morris <rgm@gnu.org>
9974
9975 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9976
d43eaf2c
CY
99772011-05-28 Chong Yidong <cyd@stupidchicken.com>
9978
5199bde1
CY
9979 * help-fns.el (describe-function-1): If the function is a derived
9980 major mode, print the parent mode.
9981
d43eaf2c
CY
9982 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9983 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9984
423428a8
SM
99852011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9986
0ff8e1ba 9987 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9988 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9989 * progmodes/etags.el (tags-completion-at-point-function):
9990 * info-look.el (info-lookup-completions-at-point): Mark as
9991 non-exclusive.
9992 (info-complete): Adjust accordingly.
9993
423428a8
SM
9994 * info-look.el: Convert to lexical-binding and completion-at-point.
9995 (info-lookup-completions-at-point): New function.
9996 (info-complete): Use it and completion-in-region.
9997
b74aa22b
DA
99982011-05-28 Drew Adams <drew.adams@oracle.com>
9999
10000 * isearch.el: Let M-e start with point at the first mismatched char.
10001 (isearch-fail-pos): New function.
10002 (isearch-edit-string): Use it.
10003
66e2e71d
DK
100042011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10005
10006 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10007
b1890b0f 100082011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10009
10010 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10011 traversal functions for avl-trees.
10012 (avl-tree--stack): New struct.
10013 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10014 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10015 (avl-tree--do-enter): Add optional `updatefun' arg.
10016 Change return value.
eb95d01d 10017 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10018 (avl-tree--do-delete): Add `test' and `nilflag' args.
10019 Change return value.
eb95d01d
TC
10020 (avl-tree-member): Add optional `nilflag'
10021 (avl-tree-member-p): New function.
10022 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10023 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10024 (avl-tree-stack-empty-p): New functions.
10025
3769ddcf
TC
10026 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10027 avl-tree--del-balance1 and make it work both ways.
10028 (avl-tree--del-balance2): Remove.
10029 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10030 make it work both ways.
10031 (avl-tree--enter-balance2): Remove.
10032 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10033 New macros.
10034 (avl-tree--mapc, avl-tree-map): Add direction argument.
10035
eb95d01d 100362011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10037
10038 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10039
a9f737ee
CY
100402011-05-27 Chong Yidong <cyd@stupidchicken.com>
10041
10042 * select.el: Support clipboard managers with built-in function
10043 x-clipboard-manager-save, via delete-frame-functions and
10044 kill-emacs-hook.
10045 (xselect-convert-to-targets): Add MULTIPLE target to list.
10046 (xselect-convert-to-save-targets): New function.
10047
c92a1e54
KH
100482011-05-27 Kenichi Handa <handa@m17n.org>
10049
10050 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10051 let-binding rfc2047-encode-encoded-words to nil.
10052
e145f188
GM
100532011-05-27 Glenn Morris <rgm@gnu.org>
10054
5ec8a862
GM
10055 * mail/emacsbug.el: Don't require url-util.
10056
4b29d9fb
GM
10057 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10058
e145f188
GM
10059 * files.el (set-auto-mode):
10060 Also respect mode: entries at the end of the file. (Bug#8586)
10061
7d15102b
GM
100622011-05-26 Glenn Morris <rgm@gnu.org>
10063
98f593b8
GM
10064 * files.el (hack-local-variables-prop-line, hack-local-variables):
10065 Downcase mode names, as seems to be traditional.
27b48e63 10066 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10067
7d15102b
GM
10068 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10069 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10070
51d5b4ec
JD
100712011-05-25 Julien Danjou <julien@danjou.info>
10072
10073 * textmodes/rst.el (rst-define-level-faces): Do not define face
10074 symbol if it is already defined.
10075
91513f63
VB
100762011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10077
10078 * play/5x5.el (5x5-new-game, 5x5-randomize):
10079 Reset 5x5-solver-output to nil when a new grid is cast.
10080 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10081 these debugging traces, as defmacro breaks the compiled code.
10082
4d90d6d0
DK
100832011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10084
10085 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10086
e1b90ef6
LL
100872011-05-24 Leo Liu <sdl.web@gmail.com>
10088
10089 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10090 (vc-bzr-sha1): Adapt.
10091
d8e4b68b 10092 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10093
10094 * bindings.el: Provide sha1 feature.
10095
db0406bb 100962011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10097
10098 * mail/sendmail.el: Require `rfc2047'.
10099 (mail-insert-from-field): Do not perform RFC2047 encoding.
10100 (mail-encode-header): New function.
10101 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10102 buffer to the return value of select-message-coding-system.
10103 Call mail-encode-header.
b8d747b9
KH
10104
10105 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10106
db0406bb 101072011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10108
4d90d6d0
DK
10109 * mail/supercite.el (sc-default-cite-frame):
10110 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10111
eb8a5e9b
GM
101122011-05-24 Glenn Morris <rgm@gnu.org>
10113
f8630703
GM
10114 * progmodes/python.el (brm-menu): Declare.
10115
8831bbed
GM
10116 * emulation/viper.el (viper-set-hooks): Declare.
10117
eb8a5e9b
GM
10118 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10119 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10120 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10121 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10122 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10123 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10124
a2a25d24
SM
101252011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 Add an :exit-function for completion-at-point.
10128
10129 * minibuffer.el (completion--done): New fun.
10130 (completion--do-completion): Use it. New arg `expect-exact'.
10131 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10132 since completion--do-completion does it for us now.
10133 (minibuffer-force-complete): Use completion--done and
10134 completion--replace. Handle sole-completion case with more care.
10135 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10136 (completion-extra-properties): New var.
10137 (completion-annotate-function): Make obsolete.
10138 (minibuffer-completion-help): Adjust accordingly.
10139 Use completion-list-insert-choice-function.
10140 (completion-at-point, completion-help-at-point):
10141 Bind completion-extra-properties.
10142 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10143 * simple.el (completion-list-insert-choice-function): New var.
10144 (completion-setup-function): Preserve it.
10145 (choose-completion): Pay attention to it, shuffle the code a bit.
10146 (choose-completion-string): New arg `insert-function'.
10147
10148 * textmodes/bibtex.el: Convert to lexical binding.
10149 (bibtex-mode-map): Use completion-at-point.
10150 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10151 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10152 (bibtex-complete): Define as obsolete alias.
10153 (bibtex-complete-internal): Remove.
10154 (bibtex-format-entry): Remove unused sub-group in regexp.
10155 * shell.el (shell--command-completion-data)
10156 (shell-environment-variable-completion):
10157 * pcomplete.el (pcomplete-completions-at-point):
10158 * comint.el (comint--complete-file-name-data): Use :exit-function
10159 instead of completion-table-with-terminator so it also works for
10160 choose-completion.
10161
e44e373d
SM
101622011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10163
4f91a816
SM
10164 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10165
782fc819
SM
10166 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10167 (bug#8710).
10168
e44e373d
SM
10169 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10170
381987c3
KM
101712011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10172
10173 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10174 customization variable and implement: If non-nil, auto-fill will
10175 be inhibited while on topic's header line.
10176
b776bc70
VB
101772011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10178
10179 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10180 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10181 always have a solution in grid size = 5 cases.
10182 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10183 (5x5-solver-output, 5x5-log-buffer): New vars.
10184 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10185 Make these variables buffer local to achieve 5x5 multi-session-ness.
10186 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10187 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10188 (5x5-solve-suggest): New funs.
10189 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10190 randomize a grid so that we ensure that there is always a solution.
10191 (5x5-make-random-grid): Allow other movement than flipping.
10192
7de88b6e
KR
101932011-05-23 Kevin Ryde <user42@zip.com.au>
10194
10195 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10196 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10197 advice and passes PREDICATE.
10198
b1ef1257
SM
101992011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10200
bbca48fe
SM
10201 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10202 byte-compile-lambda if it's actually a lambda.
10203
b1ef1257
SM
10204 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10205 Fix function quoting. Use backquote better.
10206
92a9cc65
YS
102072011-05-22 Yuanle Song <sylecn@gmail.com>
10208
10209 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10210 matching (Bug#8516).
10211
f0fb8059
JA
102122011-01-22 Jari Aalto <jari.aalto@cante.net>
10213
10214 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10215 different face (Bug#8178).
10216
d5b44c93
CY
102172011-05-22 Chong Yidong <cyd@stupidchicken.com>
10218
10219 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10220 defface (Bug#8144).
10221
79106a44
SM
102222011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10223
9c848d8a
SM
10224 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10225 funcall as well (bug#8712). Warn when performing those conversions.
10226 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10227
79106a44
SM
10228 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10229
88dfa756
GM
102302011-05-22 Glenn Morris <rgm@gnu.org>
10231
10232 * files.el (hack-local-variables-prop-line): Small simplifications.
10233 (hack-local-variables, hack-local-variables-prop-line):
10234 If MODE-ONLY, return the mode, rather than just `t'.
10235
b7cf2c79
SM
102362011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10239
3f1a8558
GM
102402011-05-21 Glenn Morris <rgm@gnu.org>
10241
7e4ccca3
GM
10242 * files.el (hack-local-variables-prop-line, hack-local-variables):
10243 If only interested in the mode, don't bother doing the other stuff.
10244
637d46ca
GM
10245 * image-mode.el (image-after-revert-hook):
10246 Redraw all frames on which the image is visible. (Bug#8567)
10247
973d955b
GM
10248 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10249
3f1a8558
GM
10250 * wid-edit.el (widget-checklist-match-inline):
10251 Fix 2011-04-19 change. (Bug#8649)
10252
96479927
SM
102532011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10254
1dcf791f
SM
10255 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10256 Also allow singlespace after single-letter capitals followed by a dot.
10257
96479927
SM
10258 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10259 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10260
35fd0881
N
102612011-05-20 Nix <nix@esperi.org.uk>
10262
10263 * files.el (basic-save-buffer-2):
10264 Fix handling of break-hardlink-on-save with non-existent files.
10265
82745640
DD
102662011-05-19 Deniz Dogan <deniz@dogan.se>
10267
10268 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10269 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10270
4a720484
GM
102712011-05-19 Glenn Morris <rgm@gnu.org>
10272
d1f21341
GM
10273 * progmodes/f90.el (f90-type-def-re):
10274 Handle "type, bind(c)". (Bug#8691)
10275
4a720484
GM
10276 * emacs-lisp/autoload.el (batch-update-autoloads):
10277 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10278
2fb0a219
MA
102792011-05-18 Michael Albinus <michael.albinus@gmx.de>
10280
10281 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10282 property for the correct connection in case of multihops.
10283
e565dd37
GM
102842011-05-18 Glenn Morris <rgm@gnu.org>
10285
c2571358 10286 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10287 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10288
e565dd37
GM
10289 Rationalize calendar handling of day and month abbrev-arrays.
10290 * calendar/calendar.el (calendar-customized-p): New function.
10291 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10292 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10293 Add :set function.
10294 (calendar-abbrev-length, calendar-day-abbrev-array)
10295 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10296 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10297 Elements may no longer be nil.
10298 (calendar-day-name, calendar-month-name):
10299 Update for changed nature of abbrev arrays.
10300 * calendar/diary-lib.el (diary-name-pattern):
10301 Update for changed nature of abbrev arrays.
10302 (diary-mark-entries-1): Update calendar-make-alist calls.
10303 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10304 * calendar/cal-html.el (cal-html-day-abbrev-array):
10305 Simply inherit from calendar-day-abbrev-array.
10306
1d99a745
SM
103072011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * progmodes/grep.el (grep-mode): Disable default
10310 compilation-directory-matcher setting (bug#8684).
10311
7c1d9aa0
MA
103122011-05-17 Michael Albinus <michael.albinus@gmx.de>
10313
10314 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10315 instead of "head" and "tail". There were problems with SunOS 5.9,
10316 and it performs better.
10317
3952e9d8
GM
103182011-05-17 Glenn Morris <rgm@gnu.org>
10319
2dd12e7f
GM
10320 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10321
e4157b9c
GM
10322 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10323 Replace obsolete function.
10324
8e249bbd
GM
10325 * shell.el (pcomplete-parse-arguments-function): Declare.
10326
3952e9d8
GM
10327 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10328 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10329 (appt-check): Doc fixes.
10330 (appt-disp-window-function, appt-delete-window-function):
10331 Remove needless special case in custom :type.
10332 (appt-display-count): Default to 0, not nil.
10333 (appt-check): Reset appt-display-count to 0, not nil.
10334
c71a0d48 103352011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10336
c71a0d48
GM
10337 * progmodes/python.el (python-font-lock-keywords):
10338 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10339
31d55be9
SM
103402011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10343
3bfacb2f
KR
103442011-05-16 Kevin Ryde <user42@zip.com.au>
10345
10346 * info-look.el (makefile-automake-mode): New setups, looking in
10347 automake manual, then makefile-mode.
10348 (makefile-mode): Remove automake manual, have it just in
10349 makefile-automake-mode since there's various things different or
10350 not relevant to plain make.
10351 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10352 believe a hypothetical automake-mode would go to makefile-mode,
10353 not the other way around.
10354
c8e83751
CY
103552011-05-15 Chong Yidong <cyd@stupidchicken.com>
10356
5e9e35cd
CY
10357 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10358 hunk-end tags (Bug#8672).
10359
c8e83751
CY
10360 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10361 vc-annotate-show-diff-revision-at-line (Bug#8671).
10362
50b23e5a
GM
103632011-05-14 Glenn Morris <rgm@gnu.org>
10364
7210a739
GM
10365 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10366 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10367 (change-log-font-lock-keywords): Also handle multiple author lines
10368 with leading tabs. (Bug#8644)
7210a739 10369
4691905a
GM
10370 * calendar/appt.el (appt-check): Rename some local variables.
10371 Some simplification/reordering.
10372
50b23e5a
GM
10373 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10374 (feedmail-sendmail-f-doesnt-sell-me-out)
10375 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10376 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10377 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10378 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10379 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10380 (feedmail-binmail-gnulinuxish-template):
10381 Rename from feedmail-binmail-linuxish-template.
10382 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10383 Use insert-buffer-substring.
10384
215cda7c
BC
103852011-05-14 Bill Carpenter <bill@carpenter.org>
10386
10387 * mail/feedmail.el (feedmail-patch-level): Increase.
10388 (feedmail-debug): New custom group.
10389 (feedmail-confirm-outgoing-timeout)
10390 (feedmail-sendmail-f-doesnt-sell-me-out)
10391 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10392 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10393 (feedmail-sender-line, feedmail-from-line)
10394 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10395 (feedmail-spray-this-address)
215cda7c
BC
10396 (feedmail-spray-address-fiddle-plex-list)
10397 (feedmail-queue-use-send-time-for-date)
10398 (feedmail-queue-use-send-time-for-message-id)
10399 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10400 (feedmail-buffer-eating-function):
10401 Doc fixes.
10402 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10403 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10404 (feedmail-message-action-scroll-down): New functions.
10405 (feedmail-queue-directory, feedmail-queue-draft-directory):
10406 Use expand-file-name.
10407 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10408 Remove C-v help entry.
10409 (feedmail-queue-buffer-file-name): New variable.
10410 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10411 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10412 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10413 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10414 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10415 (feedmail-message-action-toggle-spray)
10416 (feedmail-run-the-queue-no-prompts)
10417 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10418 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10419 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10420 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10421 (feedmail-envelope-deducer, feedmail-fiddle-from)
10422 (feedmail-fiddle-sender, feedmail-default-date-generator)
10423 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10424 (feedmail-fiddle-spray-address)
10425 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10426 (feedmail-fiddle-list-of-fiddle-plexes)
10427 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10428 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10429 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10430 Change default. Doc fix.
10431 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10432 (feedmail-binmail-linuxish-template): New constant.
10433 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10434 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10435 (feedmail-send-it): Add debug call.
10436 Use feedmail-queue-buffer-file-name, and
10437 feedmail-send-it-immediately-wrapper.
10438 (feedmail-message-action-send): Add debug call.
10439 Use feedmail-send-it-immediately-wrapper.
10440 (feedmail-queue-express-to-queue): Add debug call.
10441 Run feedmail-queue-express-hook.
10442 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10443 (feedmail-message-action-help-blat):
10444 Rename from feedmail-queue-send-edit-prompt-help-first.
10445 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10446 Check line-endings. Handle errors better.
10447 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10448 Doc fix. Add debug call.
10449 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10450 Use feedmail-queue-send-edit-prompt-inner.
10451 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10452 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10453 from feedmail-queue-send-edit-prompt.
10454 (feedmail-queue-send-edit-prompt-help)
10455 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10456 (feedmail-tidy-up-slug): Add debug call.
10457 Respect feedmail-queue-slug-suspect-regexp.
10458 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10459 (feedmail-dump-message-to-queue): Add debug call.
10460 Expand queue-directory.
10461 (feedmail-dump-message-to-queue): Change message slightly.
10462 Use feedmail-say-chatter.
10463 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10464 (feedmail-send-it-immediately-wrapper): New function.
10465 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10466 Insert empty string rather than newline. Handle full-frame case.
10467 Use catch/throw. Use feedmail-say-chatter.
10468 (feedmail-fiddle-from): Try mail-host-address.
10469 (feedmail-default-message-id-generator): Doc fix.
10470 Bind system-time-locale. Handle missing end.
10471 (feedmail-fiddle-x-mailer): Add debug call.
10472 Handle feedmail-x-mailer-line being nil.
10473 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10474 Add debug call. Use buffer-substring-no-properties.
10475 (feedmail-say-debug, feedmail-say-chatter): New functions.
10476 (feedmail-find-eoh): Give an explicit error.
10477
42c7e61e
UJ
104782011-05-13 Ulf Jasper <ulf.jasper@web.de>
10479
c2571358 10480 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10481 family from helvetica to sans.
c2571358 10482 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10483 etc/images/newsticker.
10484
c2571358 10485 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10486 family from helvetica to sans.
10487
10488 * net/newst-plainview.el (newsticker-new-item-face)
10489 (newsticker-old-item-face, newsticker-immortal-item-face)
10490 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10491 (newsticker-statistics-face): Change default family from
42c7e61e 10492 helvetica to sans.
c2571358 10493 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10494 etc/images/newsticker.
10495
10496 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10497 (newsticker--process-auto-mark-filter-match): : Tell user about
10498 auto-marking.
10499
8497a297
DV
105002011-05-13 Didier Verna <didier@xemacs.org>
10501
10502 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10503 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10504 TODO entries.
8497a297
DV
10505 (lisp-lambda-list-keyword-parameter-indentation)
10506 (lisp-lambda-list-keyword-parameter-alignment)
10507 (lisp-lambda-list-keyword-alignment): New customizable user options.
10508 (lisp-indent-defun-method): Improve docstring.
10509 (extended-loop-p): Fix comment.
10510 (lisp-indent-lambda-list-keywords-regexp): New variable.
10511 (lisp-indent-lambda-list): New function.
10512 (lisp-indent-259): Use it.
10513 (lisp-indent-defmethod): Support for more than one
10514 method qualifier and properly indent methods lambda-lists.
10515 (defgeneric): Provide a missing common-lisp-indent-function property.
10516
f278f87f
SM
105172011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10518
10519 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10520 bounds for the empty string (bug#8667).
10521
5233edd7
GM
105222011-05-13 Glenn Morris <rgm@gnu.org>
10523
5237a44f
GM
10524 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10525
8340026c 10526 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10527 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10528
5233edd7 10529 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10530 (appt-time-msg-list): Doc fix.
a5464014 10531 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10532
92d10796
AS
105332011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10534
10535 * progmodes/ld-script.el (ld-script-keywords)
10536 (ld-script-builtins): Update keywords list.
10537
914a0ae1
SM
105382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10539
c89be45f
SM
10540 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10541
914a0ae1
SM
10542 * shell.el (shell-completion-vars): New function.
10543 (shell-mode):
10544 * simple.el (read-shell-command): Use it.
10545 (blink-matching-open): No need for " [...]" in minibuffer-message.
10546
98dc3df3
GM
105472011-05-12 Glenn Morris <rgm@gnu.org>
10548
10549 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10550 (appt-check): Simplify.
10551
d2fc7e3d 105522011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10553
4d61f28d 10554 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10555 literal "/dev/null".
10556
d2fc7e3d 105572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10558
10559 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10560 Fix typo.
10561
d2fc7e3d 105622011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10563
3f254caa
SM
10564 * progmodes/which-func.el (which-function):
10565 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10566 which might not be defined (Bug#8260).
10567
d45885f7
GM
105682011-05-12 Glenn Morris <rgm@gnu.org>
10569
10570 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10571 Let byte-compile-initial-macro-environment always take precedence.
10572
488086f4
SM
105732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10574
10575 * net/rcirc.el: Add support for SSL/TLS connections.
10576 (rcirc-server-alist): New field `encryption'.
10577 (rcirc): Check `encryption' settings.
10578 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10579 Merge make-local-variable into `set'.
10580 (rcirc--connection-open-p): New function.
10581 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10582 the process is not a network process (e.g. running gnutls-cli).
10583 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10584 Make rcirc-(en|de)code-coding-system local here.
10585 (rcirc-mode): Merge make-local-variable into `set'.
10586 (rcirc-parent-buffer): Make permanent buffer-local.
10587 (rcirc-multiline-minor-mode): Don't do it here.
10588 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10589 there's no server buffer.
10590
7d3b9d44
GM
105912011-05-11 Glenn Morris <rgm@gnu.org>
10592
f64049c6
GM
10593 * newcomment.el (comment-kill): Prefix "unused" local.
10594
93c9df73
GM
10595 * term/w32console.el (get-screen-color): Declare.
10596
7d3b9d44
GM
10597 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10598 Handle symbol elements of byte-compile-initial-macro-environment.
10599
9e2dd53f
LL
106002011-05-10 Leo Liu <sdl.web@gmail.com>
10601
488086f4
SM
10602 * bookmark.el (bookmark-bmenu-mode-map):
10603 Bind bookmark-bmenu-search to `/'.
8b340240 10604
9e2dd53f 10605 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10606 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10607 (Footnote-unicode): New function.
10608 (footnote-style-alist): Add unicode style to the list.
10609 (footnote-style): Doc fix.
9e2dd53f 10610
79b70037
GM
106112011-05-10 Jim Meyering <meyering@redhat.com>
10612
10613 Fix doubled-word typos.
10614 * international/quail.el (quail-insert-kbd-layout): and and -> and
10615 * kermit.el: and and -> and
10616 * net/ldap.el (ldap-search-internal): to to -> to
10617 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10618 * progmodes/js.el (js-mode): and and -> and
10619 * textmodes/artist.el (artist-move-to-xy): at at -> at
10620 (artist-draw-region-trim-line-endings): if if -> if
10621 And Safetyc -> Safety.
10622 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10623
b8f82dc1 106242011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10625 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10626
10627 * files.el (hack-one-local-variable-eval-safep):
10628 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10629
4f99f44b
GM
106302011-05-10 Glenn Morris <rgm@gnu.org>
10631
10632 * calendar/diary-lib.el (diary-list-entries-hook)
10633 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10634 (diary-nongregorian-marking-hook, diary-list-entries)
10635 (diary-include-other-diary-files, diary-mark-entries)
10636 (diary-mark-included-diary-files): Doc fixes.
10637
84f29e6b
JB
106382011-05-09 Juanma Barranquero <lekktu@gmail.com>
10639
10640 * misc.el: Require tabulated-list.el during compilation.
10641
9bedd73a
CY
106422011-05-09 Chong Yidong <cyd@stupidchicken.com>
10643
488086f4
SM
10644 * progmodes/compile.el (compilation-start):
10645 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10646 (compilation-filter-hook): Doc fix.
10647
797c735c
DD
106482011-05-09 Deniz Dogan <deniz@dogan.se>
10649
10650 * wdired.el: Remove outdated installation comment. Fix usage
10651 comment.
10652
5f4b1dfe
JB
106532011-05-09 Juanma Barranquero <lekktu@gmail.com>
10654
10655 * misc.el: Implement new command `list-dynamic-libraries'.
10656 (list-dynamic-libraries--loaded-only-p): New variable.
10657 (list-dynamic-libraries--refresh): New function.
10658 (list-dynamic-libraries): New command.
10659
4c44026c
CY
106602011-05-09 Chong Yidong <cyd@stupidchicken.com>
10661
488086f4
SM
10662 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10663 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10664 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10665 higher priority to avoid clobbering by gnu.
10666
027f966d
CY
106672011-05-08 Chong Yidong <cyd@stupidchicken.com>
10668
10669 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10670 if the face has existing theme settings (Bug#8454).
10671
085f5d7d
CY
106722011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10673
488086f4
SM
10674 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10675 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10676
2a86a00c
RS
10677 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10678 special file names `.' and `..' (Bug#8259).
10679
d9c54a06
CY
106802011-05-08 Chong Yidong <cyd@stupidchicken.com>
10681
488086f4
SM
10682 * progmodes/grep.el (grep-mode-font-lock-keywords):
10683 Remove buffer-changing entries.
d9c54a06
CY
10684 (grep-filter): New function.
10685 (grep-mode): Add it to compilation-filter-hook.
10686
10687 * progmodes/compile.el (compilation-filter-hook)
10688 (compilation-filter-start): New defvars.
10689 (compilation-filter): Call compilation-filter-hook prior to
10690 updating the process mark.
10691
c4662635
SM
106922011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10695
b0512a1d
EZ
106962011-05-07 Eli Zaretskii <eliz@gnu.org>
10697
605c9376
EZ
10698 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10699 mailclient-send-it even if window-system is nil. (Bug#8595)
10700
c4662635
SM
10701 * term/w32console.el (terminal-init-w32console):
10702 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10703 background-mode. (Bug#8597)
10704
d1dc2cc2
SM
107052011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10706
10707 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10708 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10709 New functions.
10710 (defgeneric, eieio--defmethod): Use them.
10711 (eieio-defgeneric): Remove.
10712 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10713
915d1300
GM
107142011-05-07 Glenn Morris <rgm@gnu.org>
10715
a3961c3e
GM
10716 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10717 Use let rather than let*.
10718 (timeclock-find-discrep): Remove unused local.
10719
314347b9
GM
10720 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10721
915d1300
GM
10722 * calendar/appt.el (appt-time-msg-list): Doc fix.
10723
275b59b0
NF
107242011-05-06 Noah Friedman <friedman@splode.com>
10725
10726 * apropos.el (apropos-print-doc): Only use
10727 emacs-lisp-docstring-fill-column when it is bound to an integer,
10728 per that variable's documentation.
10729
6c19f744
SM
107302011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10733 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10734
60f884b2
GM
107352011-05-06 Glenn Morris <rgm@gnu.org>
10736
5006e634
GM
10737 * calendar/appt.el (appt-message-warning-time): Doc fix.
10738 (appt-warning-time-regexp): New option.
10739 (appt-make-list): Respect appt-message-warning-time.
10740
548d0a63
GM
10741 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10742 New options.
10743 (diary-add-to-list): Strip comments from the displayed string.
10744 (diary-mode): Set comment-start and comment-end.
10745
60f884b2
GM
10746 * vc/diff-mode.el (smerge-refine-subst): Declare.
10747 (diff-refine-hunk): Don't require smerge-mode when compiling.
10748
989681bb
JB
107492011-05-06 Juanma Barranquero <lekktu@gmail.com>
10750
10751 * simple.el (list-processes): Return nil as the docstring says.
10752
a6bc05e1
MA
107532011-05-05 Michael Albinus <michael.albinus@gmx.de>
10754
10755 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10756 to "".
10757 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10758 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10759 determining of binary transfer. (Bug#7383)
10760
23c22e9a
MA
107612011-05-05 Michael Albinus <michael.albinus@gmx.de>
10762
c4662635
SM
10763 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10764 Fix port computation bug. (Bug#8618)
23c22e9a 10765
0bff894f
GM
107662011-05-05 Glenn Morris <rgm@gnu.org>
10767
b8296902
GM
10768 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10769
1f522ce8
GM
10770 * simple.el (shell-dynamic-complete-functions)
10771 (comint-dynamic-complete-functions): Declare.
10772
cf5bee67
GM
10773 * net/network-stream.el (gnutls-negotiate):
10774 * simple.el (tabulated-list-print): Fix declarations.
10775
10776 * progmodes/gud.el (syntax-symbol, syntax-point):
10777 Remove unnecessary and incorrect declarations.
10778
0bff894f
GM
10779 * emacs-lisp/check-declare.el (check-declare-scan):
10780 Handle byte-compile-initial-macro-environment in bytecomp.el
10781
9869b3ae
SM
107822011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 Fix earlier half-done eieio-defmethod change (bug#8338).
10785 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10786 Streamline and change calling convention.
10787 (defmethod): Adjust accordingly and simplify.
10788 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10789 new eieio--defmethod.
10790 (slot-boundp): Minor CSE simplification.
10791
9c1d5ac5
MZ
107922011-05-05 Milan Zamazal <pdm@zamazal.org>
10793
10794 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10795 (glasses-make-readable): Use glasses-separate-capital-groups.
10796
455c834e
JB
107972011-05-05 Juanma Barranquero <lekktu@gmail.com>
10798
10799 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10800 (warning-series): Doc fix.
10801 (display-warning): Don't try to create the buffer if we just found it.
10802
9ed7c8cb
CY
108032011-05-04 Chong Yidong <cyd@stupidchicken.com>
10804
10805 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10806 (autoload-find-generated-file): New function.
10807 (generate-file-autoloads): Bind generated-autoload-file to
10808 buffer-file-name.
9869b3ae
SM
10809 (update-file-autoloads, update-directory-autoloads):
10810 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10811 output file (Bug#7989).
10812 (batch-update-autoloads): Doc fix.
10813
0898ca10
JB
108142011-05-04 Juanma Barranquero <lekktu@gmail.com>
10815
10816 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10817
31dfb76c
GM
108182011-05-04 Glenn Morris <rgm@gnu.org>
10819
f330b642
GM
10820 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10821 function, so it follows changes in calendar-date-style.
10822 (diary-fancy-date-matcher): New function.
10823 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10824 (diary-fancy-font-lock-fontify-region-function):
10825 Use diary-fancy-date-pattern as a function.
10826
31dfb76c
GM
10827 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10828 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10829
48e79d6a
TZ
108302011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10831
10832 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10833 instead of positional arguments. Allow :keylist and :crlfiles
10834 arguments.
10835 (open-gnutls-stream): Call it.
10836
10837 * net/network-stream.el (network-stream-open-starttls): Adjust to
10838 call `gnutls-negotiate' with :process and :hostname arguments.
10839
dd5a5ee0
SM
108402011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10841
ef80fc09
SM
10842 * minibuffer.el (completion--message): New function.
10843 (completion--do-completion, minibuffer-complete)
10844 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10845 (completion--do-completion): Don't ignore completion-auto-help when in
10846 icomplete-mode.
10847
dd5a5ee0
SM
10848 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10849 internal encoding (e.g. tibetan zero is not whitespace).
10850 (global-whitespace-mode): Prefer save-current-buffer.
10851 (whitespace-trailing-regexp): Remove useless save-match-data.
10852 (whitespace-empty-at-bob-regexp): Minor simplification.
10853
b7d22a83
CY
108542011-05-03 Chong Yidong <cyd@stupidchicken.com>
10855
10856 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10857
5192af46
AM
108582011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10859
10860 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10861 Use `concat' to create string for insertion.
5192af46 10862
5767d190
SM
108632011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10866 Avoid open-line which runs post-self-insert-hook.
10867 (bibtex-fill-entry): Remove unused `end' var.
10868
bf242939
AM
108692011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10870
5767d190
SM
10871 * textmodes/ispell.el (ispell-add-per-file-word-list):
10872 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10873
25666126
LL
108742011-05-03 Leo Liu <sdl.web@gmail.com>
10875
10876 * isearch.el (isearch-yank-pop): New command.
5767d190 10877 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10878 (isearch-forward): Mention it.
10879
52d3c2d0
SM
108802011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10881
1bcace58
SM
10882 * simple.el (minibuffer-complete-shell-command): Remove.
10883 (minibuffer-local-shell-command-map): Use completion-at-point.
10884 (read-shell-command): Setup completion vars here instead.
10885 (read-expression-map): Bind TAB to symbol completion.
10886
52d3c2d0
SM
10887 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10888 error directly rather via storing it into `results'.
10889
35813471
LL
108902011-05-02 Leo Liu <sdl.web@gmail.com>
10891
10892 * vc/diff.el: Fix description.
10893
e793a940
LMI
108942011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10895
10896 * server.el (server-eval-at): New function.
10897
8de66e05
LMI
108982011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10899
10900 * net/network-stream.el (open-network-stream): Take a :nowait
10901 parameter and pass it on to `make-network-process'.
10902 (network-stream-open-plain): Ditto.
10903
dcb79f20
AS
109042011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10905
10906 * faces.el (face-spec-set-match-display): Don't match toolkit
10907 options on terminal frames.
10908
14a7fbd8
SM
109092011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10910
7eabc1be
SM
10911 * progmodes/pascal.el: Use lexical binding.
10912 (pascal-mode-map): Remove author preferences.
10913
14a7fbd8
SM
10914 * pcomplete.el (pcomplete-std-complete): Don't abuse
10915 completion-at-point.
10916
50f84510
JB
109172011-04-28 Juanma Barranquero <lekktu@gmail.com>
10918
6e087a44
JB
10919 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10920 removing code that has been dead since 1991 or so.
10921
50f84510
JB
10922 * startup.el (command-line): When warning about "_emacs", use a
10923 delayed warning to allow the user to filter it out.
10924
0ba690bd
DD
109252011-04-28 Deniz Dogan <deniz@dogan.se>
10926
10927 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10928 user has not joined.
10929
08abfaad
SM
109302011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10933 aren't any completions at point.
10934
638f053a
JB
109352011-04-28 Juanma Barranquero <lekktu@gmail.com>
10936
10937 * subr.el (display-delayed-warnings): New function.
10938 (delayed-warnings-hook): New variable.
10939
8fff8daa
SM
109402011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10941
08abfaad
SM
10942 * minibuffer.el (completion-at-point, completion-help-at-point):
10943 Don't presume that a given completion-at-point-function will always
10944 use the same calling convention.
10945
8fff8daa
SM
10946 * pcomplete.el (pcomplete-completions-at-point):
10947 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10948 pcomplete-seen is non-nil.
10949 (pcomplete-comint-setup): Also recognize the new comint/shell
10950 completion functions.
10951 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10952 pcomplete-seen is non-nil.
10953
841a1577 109542011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10955
841a1577 10956 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10957 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10958 the first character in the entry. This allows for code to add its
211ec907
UJ
10959 own uid to the entry.
10960 (icalendar--convert-float-to-ical): Add export of
10961 `diary-float'-entries save for those with the optional DAY
10962 argument.
10963
2a782793
DC
109642011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10965
10966 * subr.el (shell-quote-argument): Use alternate escaping strategy
10967 when we spot a variable reference in a string.
10968
0438ce91
DC
109692011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10970
10971 * cus-start.el (all): Define customization for debug-on-event.
10972
841a1577 109732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10974
10975 * subr.el (shell-quote-argument): Escape correctly under Windows.
10976
d090ed6c
SM
109772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10978
10979 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10980
bfd31217
MA
109812011-04-25 Michael Albinus <michael.albinus@gmx.de>
10982
d090ed6c
SM
10983 * net/tramp.el (tramp-process-actions): Add POS argument.
10984 Delete region between POS and (pos).
bfd31217 10985
d090ed6c
SM
10986 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10987 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10988 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10989
10990 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10991 position in `tramp-process-actions' call.
10992
10993 * net/trampver.el: Update release number.
10994
e92f3bd3
SM
109952011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10996
850256b5
SM
10997 * custom.el (defcustom): Obey lexical-binding.
10998
e92f3bd3
SM
10999 Fix octave-inf completion problems reported by Alexander Klimov.
11000 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11001 Inherit from octave-mode-syntax-table.
11002 (inferior-octave-mode): Set info-lookup-mode.
11003 (inferior-octave-completion-at-point): New function.
11004 (inferior-octave-complete): Use it and completion-in-region.
11005 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11006 comint-filename-completion.
11007 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11008 symbol elements which shouldn't be word elements.
11009 (octave-font-lock-keywords, octave-beginning-of-defun)
11010 (octave-function-header-regexp): Adjust regexps accordingly.
11011 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11012
cd22b309
JB
110132011-04-25 Juanma Barranquero <lekktu@gmail.com>
11014
11015 * net/gnutls.el (gnutls-errorp): Declare before first use.
11016
8b492194
TZ
110172011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11018
11019 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11020 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11021 default trustfile exists before going to use it. Add missing
5a5fa834 11022 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11023 Reported by Claudio Bley <claudio.bley@gmail.com>.
11024 (open-gnutls-stream): Add usage example.
11025
11026 * net/network-stream.el (network-stream-open-starttls): Give host
11027 parameter to `gnutls-negotiate'.
11028 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11029 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11030
841a1577 110312011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11032
cd22b309
JB
11033 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11034 Use correct match group (bug#8438).
05842630 11035
3ba7869c
CY
110362011-04-24 Chong Yidong <cyd@stupidchicken.com>
11037
512e3ae1
CY
11038 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11039 (package-menu--generate): New arg specifying packages to show.
11040 (package-menu-refresh, package-menu-execute, list-packages):
11041 Callers changed.
11042 (package-show-package-list): New function, replacing deleted
11043 package--list-packages (renamed because it is non-internal).
11044
11045 * finder.el (finder-list-matches): Use package-show-package-list
11046 instead of deleted package--list-packages.
11047
e92f3bd3
SM
11048 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11049 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11050 (vc-annotate-mode-map): Bind it to RET.
11051
7031be6d
UR
110522011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11053
11054 * progmodes/etags.el (next-file): Don't use set-buffer to change
11055 buffers (Bug#8478).
11056
4ef177aa
CY
110572011-04-24 Chong Yidong <cyd@stupidchicken.com>
11058
c8d173eb
CY
11059 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11060
4ef177aa
CY
11061 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11062 (apropos-accumulator): Doc fix.
11063 (apropos-function, apropos-macro, apropos-command)
11064 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11065 (apropos-plist): Add face property.
11066 (apropos-symbols-internal): Fix indentation.
11067 (apropos-print): Simplify help, and recognize apropos-multi-type.
11068 (apropos-print-doc): Use button-type-get to extract the button's
11069 face property. Fill docstring (Bug#8352).
11070
4ffd0d6b 110712011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11072
11073 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11074
c6c32125 11075 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11076 (mpuz-mode-map): Use mapc.
c6c32125
JB
11077 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11078 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11079 Fix typos in docstrings.
11080
58d468b4
JB
11081 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11082 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11083
6470c3c6
JB
11084 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11085
4ffd0d6b 110862011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11087
11088 * minibuffer.el (completion--do-completion): Avoid the "Next char
11089 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11090
3ad8bad0
CY
11091 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11092 mouse-2 into unread-command-events, it is interpreted correctly.
11093
71d73c9c 11094 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11095 (image-toggle-display): Doc fix.
71d73c9c 11096
841a1577 110972011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11098
4ffd0d6b
GM
11099 * textmodes/page.el (what-page): Use line-number-at-pos to
11100 calculate line number (Bug#6825).
6e1dbaa9 11101
c2fb1b60
JB
111022011-04-22 Juanma Barranquero <lekktu@gmail.com>
11103
11104 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11105 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11106 Pass argument NO-DEFAULT to `find-tag-interactive'.
11107
e02f48d7
JB
111082011-04-22 Juanma Barranquero <lekktu@gmail.com>
11109
11110 Lexical-binding cleanup.
11111
11112 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11113 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11114 * progmodes/ada-prj.el (ada-prj-initialize-values)
11115 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11116 (ada-prj-show-value):
11117 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11118 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11119 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11120 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11121 * progmodes/bug-reference.el (bug-reference-push-button):
11122 * progmodes/fortran.el (fortran-line-length):
11123 * progmodes/glasses.el (glasses-change):
11124 * progmodes/octave-mod.el (octave-fill-paragraph):
11125 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11126 (python-pdbtrack-grub-for-buffer, python-sentinel):
11127 * progmodes/sql.el (sql-save-connection):
11128 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11129 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11130 Mark unused parameters.
11131
11132 * progmodes/compile.el (compilation--flush-directory-cache)
11133 (compilation--flush-parse, compile-internal): Mark unused parameters.
11134 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11135 (compilation-next-error-function): Remove unused variable `timestamp'.
11136
11137 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11138 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11139
11140 * progmodes/dcl-mode.el (dcl-end-of-command):
11141 Remove unused variable `start'.
11142 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11143 (dcl-option-value-basic, dcl-option-value-offset)
11144 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11145 Mark unused parameters.
11146 (dcl-save-local-variable): Remove unused variable `val'.
11147 (mode): Declare.
11148
11149 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11150 Mark unused parameters.
11151 (delphi-ignore-changes): Move before first use.
11152 (delphi-charset-token-at): Remove unused variable `start'.
11153 (delphi-else-start): Remove unused variable `if-count'.
11154 (delphi-comment-block-start, delphi-comment-block-end):
11155 Remove unused variable `kind'.
11156 (delphi-indent-line): Remove unused variable `new-point'.
11157
11158 * progmodes/ebrowse.el (ebrowse-files-list)
11159 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11160 Mark unused parameters. Don't quote `lambda'.
11161 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11162 Don't quote `lambda'.
11163 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11164 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11165 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11166 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11167 Use `ignore-errors'.
11168 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11169 (ebrowse-view/find-file-and-search-pattern)
11170 (ebrowse-view/find-member-declaration/definition):
11171 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11172 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11173 Rename parameter PREFIX-ARG to PREFIX.
11174 (ebrowse-tags-read-name): Remove unused variables `start' and
11175 `member-info'.
11176 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11177 to `tags-file'.
11178
11179 * progmodes/etags.el (local-find-tag-hook): Declare.
11180 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11181 Mark unused parameters.
11182
11183 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11184 (executable-interpret): Mark unused parameter.
11185
11186 * progmodes/flymake.el (flymake-process-sentinel)
11187 (flymake-after-change-function)
11188 (flymake-create-temp-with-folder-structure)
11189 (flymake-get-include-dirs-dot): Mark unused parameters.
11190 (flymake-safe-delete-directory): Remove unused variable `err'.
11191
11192 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11193 (speedbar-timer-fn, speedbar-line-text)
11194 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11195 (speedbar-center-buffer-smartly): Declare functions.
11196 (gdb-find-watch-expression): Remove unused variable `array'.
11197 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11198 (gdb-starting): Mark unused parameters.
11199 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11200 (gdb-table-string): Remove unused variable `res'.
11201 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11202 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11203 (gdb-display-buffer): Remove unused variable `cur-size'.
11204
11205 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11206 allow lexical-binding compilation.
11207 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11208 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11209 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11210 Mark unused parameters.
11211 (gud-gdb-marker-filter): Remove unused variable `match'.
11212 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11213 lambda expressions and funcall them, instead of using `fset'.
11214
11215 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11216 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11217
11218 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11219 variable `header-beg'; use `let'.
11220
11221 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11222 `restart', `last-sexp' and `at-do'.
11223
11224 * progmodes/js.el (js--debug): Mark unused parameter.
11225 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11226 (js--splice-into-items): Remove unused variable `item'.
11227 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11228
11229 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11230 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11231 (makefile-complete): Remove unused variable `try'.
11232 (makefile-fill-paragraph, makefile-match-function-end):
11233 Mark unused parameters.
11234
11235 * progmodes/octave-inf.el (inferior-octave-complete):
11236 Remove unused variable `proc'.
11237 (inferior-octave-output-digest): Mark unused parameter.
11238
11239 * progmodes/perl-mode.el (perl-calculate-indent):
11240 Remove unused variable `err'.
11241
11242 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11243 (prolog-indent-line): Mark unused parameters.
11244 (prolog-indent-line): Remove unused variable `beg'.
11245
11246 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11247 (reporter-dont-compact-list): Declare.
11248
11249 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11250 Remove unused variable `char'.
11251 (sh-debug): Mark unused parameter.
11252 (sh-get-indent-info): Remove unused variable `start'.
11253 (sh-calculate-indent): Remove unused variable `var'.
11254
11255 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11256 (simula-electric-keyword): Remove unused variable `null'.
11257 (simula-search-backward, simula-search-forward): Remove unused
11258 variables `begin' and `end'.
11259
11260 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11261 Remove unused variable `pos'.
11262 (vera-electric-tab, vera-comment-uncomment-region):
11263 Mark unused parameters.
11264 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11265
7ede3b65
CY
112662011-04-22 Chong Yidong <cyd@stupidchicken.com>
11267
11268 * emacs-lisp/package.el (package--builtins, package-alist)
11269 (package-load-descriptor, package-built-in-p, package-activate)
11270 (define-package, package-installed-p)
11271 (package-compute-transaction, package-buffer-info)
11272 (package--push): Doc fix. Distinguish more clearly between
11273 version strings and version lists.
11274
121656e9
JB
112752011-04-21 Juanma Barranquero <lekktu@gmail.com>
11276
11277 Lexical-binding cleanup.
11278
11279 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11280 (5x5-make-mutate-best):
11281 * play/fortune.el (fortune-in-buffer):
11282 * play/gomoku.el (gomoku-init-display):
11283 * play/solitaire.el (solitaire, solitaire-do-check):
11284 * play/tetris.el (tetris-default-update-speed-function):
11285 Mark unused parameters.
11286
11287 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11288 (bubbles--shift): Remove unused variable `char-org'.
11289 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11290 (bubbles--show-images): Remove unused variable `char'.
11291
11292 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11293 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11294 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11295 (decipher-analyze-buffer): Use ?\s.
11296 (decipher-make-checkpoint): Remove unused variable `mapping'.
11297
11298 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11299
11300 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11301 Remove unused variable `result'; use `let'.
11302
11303 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11304 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11305 (gametree-children-shown-p, gametree-compute-reduced-score):
11306 Use `ignore-errors'.
11307
11308 * play/handwrite.el (ps-lpr-switches): Declare.
11309 (handwrite): Remove unused variables `pmin' and `lastp'.
11310
11311 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11312
11313 * play/landmark.el (landmark-init-display)
11314 (landmark-update-naught-weights): Mark unused parameters.
11315 (landmark-y): Remove unused variable `noise'. Simplify.
11316 (landmark-human-plays): Remove unused variable `score'.
11317
11318 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11319 (mpuz-try-proposal): Remove unused variable `game'.
11320
11321 * play/zone.el (life-patterns): Declare.
11322
80f499c7
JB
113232011-04-20 Juanma Barranquero <lekktu@gmail.com>
11324
11325 * vc/vc.el (ediff-vc-internal): Declare function.
11326
024ff170
SM
113272011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11328
c0a193ea
SM
11329 * shell.el: Use lexical-binding and std completion UI.
11330 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11331 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11332 comint-preoutput-filter-functions rather than on
11333 comint-output-filter-functions.
11334 (shell-command-completion, shell--command-completion-data)
11335 (shell-filename-completion, shell-environment-variable-completion)
11336 (shell-c-a-p-replace-by-expanded-directory): New functions.
11337 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11338 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11339 (shell-dynamic-complete-environment-variable): Use them.
11340 (shell-dynamic-complete-as-environment-variable)
11341 (shell-dynamic-complete-as-command): Remove.
11342 (shell-match-partial-variable): Match past point.
11343 * comint.el: Clean up use of completion-at-point-functions.
11344 (comint-completion-at-point): New function.
11345 (comint-mode): Use it completion-at-point-functions.
11346 (comint-dynamic-complete): Make it obsolete.
11347 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11348 (comint-c-a-p-replace-by-expanded-history): New function.
11349 (comint-dynamic-complete-functions)
11350 (comint-replace-by-expanded-history): Use it.
11351 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11352 termination strings. Try harder to avoid second try-completion.
11353 (completion-in-region-mode-map): Disable bindings that don't work yet.
11354
2dbaa080
SM
11355 * comint.el: Use lexical-binding. Require CL.
11356 (comint-dynamic-complete-functions): Use comint-filename-completion.
11357 (comint-completion-addsuffix): Tweak custom type.
11358 (comint-filename-completion, comint--common-suffix)
11359 (comint--common-quoted-suffix, comint--table-subvert)
11360 (comint--complete-file-name-data): New functions.
11361 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11362 (comint-dynamic-list-filename-completions): Use them.
11363 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11364
2dbaa080
SM
11365 * minibuffer.el (completion-in-region-mode):
11366 Keep completion-in-region-mode--predicate global.
11367 (completion-in-region--postch):
11368 Assume completion-in-region-mode--predicate is not null.
11369
c79a6f38
SM
11370 * progmodes/flymake.el (flymake-start-syntax-check-process):
11371 Obey `dir'. Simplify.
11372
024ff170
SM
11373 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11374 we're in VC after all.
11375
1c6c854e
CS
113762011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11377
11378 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11379 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11380 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11381
bed7f140
SM
113822011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11383
332e62ab
SM
11384 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11385 add sanity check.
11386
bed7f140
SM
11387 * obsolete/erc-hecomplete.el: Make obsolete.
11388 * obsolete/: Standardize obsolescence info in the header.
11389
f195c582
GM
113902011-04-20 Glenn Morris <rgm@gnu.org>
11391
11392 * calendar/solar.el (solar-horizontal-coordinates):
11393 Use the longitude argument rather than `calendar-longitude'.
11394 (solar-date-next-longitude): Remove unused locals.
11395
cb79b8c0
VJL
113962011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11397
11398 * whitespace.el: New version 13.2.1.
11399
114002011-04-20 felix <EmacsWiki> (tiny change)
11401
d8e4b68b 11402 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11403 switching between major modes on a file.
11404
602ea69d
SM
114052011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11408 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11409 multi-line comments as well.
11410
06b60517
JB
114112011-04-19 Juanma Barranquero <lekktu@gmail.com>
11412
11413 Lexical-binding cleanup.
11414
11415 * arc-mode.el (archive-mode-revert):
11416 * cmuscheme.el (scheme-interactively-start-process):
11417 * custom.el (custom-initialize-delay):
11418 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11419 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11420 * emacs-lock.el (emacs-lock-clear-sentinel):
11421 * ezimage.el (defezimage):
11422 * follow.el (follow-avoid-tail-recenter):
11423 * fringe.el (set-fringe-mode-1):
11424 * generic-x.el (bat-generic-mode-compile):
11425 * help-mode.el (help-info-variable, help-do-xref)
11426 (help-mode-revert-buffer):
11427 * help.el (view-emacs-todo):
11428 * iswitchb.el (iswitchb-completion-help):
11429 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11430 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11431 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11432 * locate.el (locate-update):
11433 * longlines.el (longlines-encode-region)
11434 (longlines-after-change-function):
11435 * outline.el (outline-isearch-open-invisible):
11436 * ps-def.el (declare-function, charset-dimension, char-width)
11437 (encode-char):
11438 * ps-mule.el (ps-mule-plot-string):
11439 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11440 (recentf-edit-list-select, recentf-edit-list-validate)
11441 (recentf-open-files-action):
11442 * rect.el (delete-whitespace-rectangle-line)
11443 (rectangle-number-line-callback):
11444 * register.el (window-configuration-to-register)
11445 (frame-configuration-to-register):
11446 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11447 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11448 (xselect-convert-to-targets, xselect-convert-to-delete)
11449 (xselect-convert-to-filename, xselect-convert-to-charpos)
11450 (xselect-convert-to-lineno, xselect-convert-to-colno)
11451 (xselect-convert-to-os, xselect-convert-to-host)
11452 (xselect-convert-to-user, xselect-convert-to-class)
11453 (xselect-convert-to-name, xselect-convert-to-integer)
11454 (xselect-convert-to-atom, xselect-convert-to-identity):
11455 * subr.el (declare, ignore, process-kill-without-query)
11456 (text-clone-maintain):
11457 * terminal.el (te-get-char, te-tic-sentinel):
11458 * tool-bar.el (tool-bar-make-keymap):
11459 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11460 * type-break.el (type-break-mode, type-break-noninteractive-query):
11461 * view.el (View-back-to-mark):
11462 * wid-browse.el (widget-browse-action, widget-browse-widget)
11463 (widget-browse-widgets, widget-browse-sexp):
11464 * widget.el (define-widget-keywords):
11465 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11466 Mark unused parameters.
11467
11468 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11469 (align-areas): Remove unused variable `look'.
11470 (align-region): Remove unused variables `real-end' and `pos-list'.
11471
11472 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11473
11474 * bindings.el (mode-line-modified, mode-line-remote):
11475 Mark unused parameters.
11476 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11477
11478 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11479 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11480
11481 * comint.el (comint-history-isearch-pop-state)
11482 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11483 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11484 (comint-substitute-in-file-name): Doc fix.
11485
11486 * completion.el (cmpl-statistics-block): Mark unused parameter.
11487 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11488 (save-completions-to-file, load-completions-from-file):
11489 Remove unused local variable `e'.
11490
11491 * composite.el (compose-chars): Remove unused variable `len'.
11492 (lgstring-insert-glyph): Remove unused variable `g'.
11493 (compose-glyph-string): Remove unused variables `ascent',
11494 `descent', `lbearing' and `rbearing'.
11495 (compose-glyph-string-relative): Remove unused variables
11496 `lbearing', `rbearing' and `wadjust'.
11497 (compose-gstring-for-graphic): Remove unused variables `header',
11498 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11499 (compose-gstring-for-terminal): Remove unused variables `header'
11500 and `nchars'. Use `let', not `let*'.
11501
11502 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11503 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11504 (Custom-buffer-done, custom-buffer-create-internal)
11505 (custom-browse-visibility-action, custom-browse-group-tag-action)
11506 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11507 (widget-magic-mouse-down-action, custom-toggle-parent)
11508 (custom-add-parent-links, custom-toggle-hide-variable)
11509 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11510 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11511 (custom-face-menu-create, custom-variable-menu-create, get)
11512 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11513 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11514 (customize-apropos): Remove unused variable `tests'.
11515 (custom-group-value-create): Remove unused variable `hidden-p'.
11516 (sort-fold-case): Declare.
11517
11518 * cus-theme.el (custom-reset-standard-faces-list)
11519 (custom-reset-standard-variables-list): Declare.
11520 (customize-create-theme, custom-theme-revert, custom-theme-write)
11521 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11522 Mark unused parameters.
11523
11524 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11525
11526 * delim-col.el (delimit-columns-max): Move defvar before first use.
11527
11528 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11529 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11530
11531 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11532 (auto-insert): Declare.
11533 (desktop-restore-file-buffer): Rename desktop-* parameters;
11534 mark unused ones.
11535 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11536 (desktop-buffer): Rename desktop-* parameters.
11537
11538 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11539 (dframe-reposition-frame-xemacs, dframe-help-echo)
11540 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11541 Mark unused parameters.
11542
11543 * dired-aux.el (backup-extract-version-start, overwrite-query)
11544 (overwrite-backup-query, rename-regexp-query)
11545 (rename-non-directory-query): Declare.
11546 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11547 (dired-add-entry): Remove unused variable `orig-file-name'.
11548 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11549 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11550 `dired-copy-preserve-time' directly.
11551 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11552 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11553
11554 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11555 (dired-virtual-revert, dired-make-relative-symlink):
11556 Mark unused parameters.
11557 (manual-program): Declare.
11558 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11559 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11560 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11561
11562 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11563
11564 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11565
11566 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11567 Declare.
11568
11569 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11570
11571 * electric.el (Electric-command-loop): Rename parameter
11572 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11573
11574 * expand.el (expand-in-literal): Remove unused variable `here'.
11575
11576 * facemenu.el (facemenu-add-new-color):
11577 Remove unused variable `docstring'.
11578
11579 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11580 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11581 (face-attr-construct): Mark unused parameter. Doc fix.
11582 (read-color): Remove unused variable `hex-string'.
11583
11584 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11585 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11586 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11587 (display-buffer-other-frame): Remove unused variable `old-window'.
11588 (kill-buffer-hook): Declare.
11589 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11590 Mark unused parameters.
11591 (after-find-file): Pass 1 to `auto-save-mode', not t.
11592
11593 * files-x.el (auto-insert): Declare.
11594 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11595
11596 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11597 variable `buf'. Mark unused parameter.
06b60517
JB
11598 (find-lisp-insert-directory): Mark unused parameter.
11599
11600 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11601 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11602 (format-common-tail): Remove, unused.
11603 (format-deannotate-region): Remove unused variable `loc'.
11604 (format-annotate-region): Remove unused variable `p'.
11605 (format-annotate-single-property-change): Remove unused variables
11606 `default' and `tail'.
11607
11608 * forms.el (read-file-filter): Declare.
11609 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11610
11611 * frame.el (frame-creation-function-alist): Mark unused parameter.
11612 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11613
11614 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11615 Remove unused parameters.
11616 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11617 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11618
11619 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11620 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11621 (hfy-prepare-tag-map): Mark unused parameters.
11622 (htmlfontify-buffer): Use `called-interactively-p'.
11623
11624 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11625 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11626 (ibuffer-do-occur): Mark unused parameters.
11627 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11628 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11629
11630 * ibuffer.el: Don't quote `lambda'.
11631 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11632 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11633 Mark unused parameters.
11634
11635 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11636 (ido-completing-read): Mark unused parameters.
11637 (ido-copy-current-word): Mark unused parameters;
11638 remove unused variable `name'.
11639 (ido-sort-merged-list): Remove unused parameter `dirs'.
11640
11641 * ielm.el (ielm-input-sender): Mark unused parameter.
11642 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11643 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11644 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11645 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11646 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11647
11648 * image-dired.el (image-dired-display-thumbs): Remove unused
11649 variables `curr-file' and `count'.
11650 (image-dired-remove-tag): Remove unused variable `start'.
11651 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11652 variable `curr-file'
11653 (image-dired-rotate-original): Remove unused variable `temp-file'.
11654 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11655 Remove unused variable `file'.
11656 (image-dired-gallery-generate): Remove unused variable `curr'.
11657 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11658
11659 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11660
11661 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11662
11663 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11664
11665 * isearch.el (minibuffer-history-symbol): Declare.
11666 (isearch-edit-string): Remove unused variable `err'.
11667 (isearch-message-prefix, isearch-message-suffix):
11668 Mark unused parameters.
11669
11670 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11671
11672 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11673
11674 * makesum.el (double-column): Remove unused variable `cnt'.
11675
11676 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11677 (ido-ignore-item-temp-list): Declare.
11678
11679 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11680 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11681 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11682 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11683 `mouse-col-delta'.
11684
11685 * mouse-sel.el (mouse-extend-internal):
11686 Remove unused variable `orig-window-frame'.
11687
11688 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11689 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11690 Move declarations before first use.
11691 (pcomplete-opt): Mark unused parameters; doc fix.
11692
11693 * proced.el (proced-revert): Mark unused parameter.
11694 (proced-send-signal): Remove unused variable `err'.
11695
11696 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11697 Rename parameter PREFIX-ARG to ARG.
11698 (ps-basic-plot-string, ps-basic-plot-whitespace):
11699 Mark unused parameters.
11700
11701 * replace.el (replace-count): Define.
11702 (occur-revert-function): Mark unused parameters.
11703 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11704 (isearch-case-fold-search, isearch-string): Declare.
11705 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11706 bind `case-fold-search'. Remove unused variables `beg' and `end',
11707 and simplify.
11708 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11709 COUNT and bind `replace-count'.
11710 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11711 to COUNT.
11712
11713 * savehist.el (print-readably, print-string-length): Declare.
11714
11715 * shadowfile.el (shadow-expand-cluster-in-file-name):
11716 Remove unused variable `cluster'.
11717 (shadow-copy-file): Remove unused variable `i'.
11718 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11719 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11720 (shadow-define-literal-group, shadow-define-regexp-group)
11721 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11722
11723 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11724 (shell): Use `called-interactively-p'.
11725 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11726
11727 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11728 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11729 (delete-backward-char): Remove unused variable `ocol'.
11730 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11731 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11732 (event-apply-hyper-modifier, event-apply-shift-modifier)
11733 (event-apply-control-modifier, event-apply-meta-modifier):
11734 Mark unused parameters.
11735 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11736 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11737
11738 * speedbar.el (speedbar-ignored-directory-expressions)
11739 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11740 (speedbar-find-file, speedbar-dir-follow)
11741 (speedbar-directory-buttons-follow, speedbar-tag-find)
11742 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11743 (speedbar-buffers-line-directory, speedbar-buffer-click):
11744 Mark unused parameters.
11745 (speedbar-tag-file): Remove unused variable `mode'.
11746 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11747
11748 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11749
11750 * talk.el (talk): Remove unused variable `display'.
11751
11752 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11753 (tar-write-region-annotate): Mark unused parameter.
11754
11755 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11756 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11757 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11758 warning by another.
11759
11760 * time-stamp.el (time-stamp-string-preprocess):
11761 Remove unused variable `require-padding'.
11762
11763 * tree-widget.el (widget-glyph-enable): Declare.
11764 (tree-widget-action): Mark unused parameter.
11765
11766 * w32-fns.el (x-get-selection): Mark unused parameter.
11767 (autoload-make-program, generated-autoload-file): Declare.
11768
11769 * wdired.el (wdired-revert): Mark unused parameters.
11770 (wdired-xcase-word): Remove unused variable `err'.
11771
11772 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11773 (whitespace-help-scroll): Remove unused variable `data-help'.
11774
11775 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11776 (widget-image-insert, widget-after-change, default)
11777 (widget-default-format-handler, widget-default-notify)
11778 (widget-default-prompt-value, widget-info-link-action)
11779 (widget-url-link-action, widget-function-link-action)
11780 (widget-variable-link-action, widget-file-link-action)
11781 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11782 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11783 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11784 (widget-insert-button-action, widget-delete-button-action, visibility)
11785 (widget-documentation-link-action, widget-documentation-string-action)
11786 (widget-const-prompt-value, widget-regexp-match, symbol)
11787 (widget-coding-system-prompt-value)
11788 (widget-key-sequence-value-to-external, sexp)
11789 (widget-sexp-value-to-internal, character, vector, cons)
11790 (widget-choice-prompt-value, widget-boolean-prompt-value)
11791 (widget-color--choose-action): Mark unused parameters.
11792 (widget-item-match-inline, widget-choice-match-inline)
11793 (widget-checklist-match, widget-checklist-match-inline)
11794 (widget-group-match): Rename parameter VALUES to VALS.
11795 (widget-field-value-set): Remove unused variable `size'.
11796 (widget-color-action): Remove unused variables `value' and `start'.
11797
11798 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11799 variable `dir'. Doc fix.
06b60517
JB
11800 (windmove-find-other-window): Don't pass it.
11801
11802 * window.el (count-windows): Mark unused parameter.
11803 (bw-adjust-window): Remove unused variable `err'.
11804
11805 * woman.el (woman-file-name): Remove unused variable `default'.
11806 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11807 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11808 (global-font-lock-mode): Declare.
11809 (woman-decode-region): Mark unused parameter.
11810 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11811
11812 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11813 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11814 (x-dnd-handle-moz-url): Remove unused variable `title'.
11815 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11816
11817 * xml.el (xml-parse-tag, xml-parse-attlist):
11818 Remove unused variable `pos'.
11819
bc4f7f3d
GM
118202011-04-19 Glenn Morris <rgm@gnu.org>
11821
11822 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11823 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11824 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11825 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11826 * calendar/cal-html.el (cal-html-insert-minical):
11827 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11828 (calendar-mark-date-pattern):
11829 Prefix "unused" locals.
11830
11831 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11832 optional argument `style'.
11833
11834 * calendar/appt.el (appt-make-list):
11835 * calendar/cal-china.el (calendar-chinese-date-string):
11836 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11837 (diary-hebrew-yahrzeit):
11838 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11839 * calendar/calendar.el (calendar-generate-window):
11840 * calendar/time-date.el (time-to-days):
11841 Remove unused local variables.
11842
16a43933
CY
118432011-04-18 Chong Yidong <cyd@stupidchicken.com>
11844
11845 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11846 glyphless-char-display table.
11847 (tabulated-list-glyphless-char-display): New var.
11848
7eed1860
SS
118492011-04-18 Sam Steingold <sds@gnu.org>
11850
11851 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11852 to acknowledgments.
11853
4d2d1ccd
GM
118542011-04-17 Glenn Morris <rgm@gnu.org>
11855
11856 * calendar/diary-lib.el (diary-sexp-entry):
11857 * calendar/holidays.el (holiday-sexp):
11858 Set debug-on-error rather than the removed stack-trace-on-error.
11859
239da61d
GM
118602011-04-16 Glenn Morris <rgm@gnu.org>
11861
11862 * progmodes/f90.el: Use lexical-binding.
11863 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11864
8b05752a
SM
118652011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11866
daca8ba5
SM
11867 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11868 (mail-mode): Setup mailalias completion here instead.
11869 * mail/mailalias.el: Use lexical-binding.
11870 (pattern, mailalias-done): Declare dynamic.
11871 (mail-completion-at-point-function): New function, from mail-complete.
11872 (mail-complete): Use it.
11873 (mail-completion-expand): New function.
11874 (mail-get-names): Use it.
11875 (mail-directory, mail-directory-process, mail-directory-stream):
11876 Don't use `pattern' for lexically bound arg.
11877
6f542485
SM
11878 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11879
037e7c3f
SM
11880 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11881 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11882 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11883
8b05752a
SM
11884 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11885 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11886 (byte-interactive-p): Define them again, for use when inlining
11887 old code.
11888
49093f60
JB
118892011-04-15 Juanma Barranquero <lekktu@gmail.com>
11890
11891 * loadup.el: Use `string-to-number', not `string-to-int'.
11892
b5b8e7de
SM
118932011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11896 gud-gdb-complete-command.
11897 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11898 (gud-gdb-completion-at-point): New function.
11899 (gud-gdb-completions): Remove.
11900
f42efeb5
MA
119012011-04-14 Michael Albinus <michael.albinus@gmx.de>
11902
49093f60
JB
11903 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11904 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11905 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11906 whether `executable-find' is bound.
f42efeb5
MA
11907
11908 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11909
e240cc21
SM
119102011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11911
11912 * minibuffer.el (completion-in-region-mode-predicate)
11913 (completion-in-region-mode--predicate): New vars.
11914 (completion-in-region, completion-in-region--postch)
11915 (completion-in-region-mode): Use them.
11916 (completion--capf-wrapper): Also return the hook function.
11917 (completion-at-point, completion-help-at-point):
11918 Adjust and provide a predicate.
c2bd2ab0
SM
11919
11920 Preserve arg names for advice of subr and lexical functions (bug#8457).
11921 * help-fns.el (help-function-arglist): Consolidate the subr and
11922 new-byte-code cases. Add argument `preserve-names' to extract names
11923 from the docstring when needed.
11924 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11925 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11926 (ad-arglist): Use help-function-arglist's new arg.
11927 (ad-definition-type): Use cond.
11928
c183f693
JB
119292011-04-13 Juanma Barranquero <lekktu@gmail.com>
11930
06641a47
JB
11931 * autorevert.el (auto-revert-handler):
11932 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11933 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11934 Don't quote lambda.
11935
c183f693
JB
11936 * image-mode.el (image-transform-set-scale):
11937 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11938
1e3b6001
G
119392011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11940
11941 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11942 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11943 Upgrades via gnutls-cli are too slow to be done opportunistically.
11944
2d6af8dd
JB
119452011-04-12 Juanma Barranquero <lekktu@gmail.com>
11946
11947 * dframe.el (dframe-current-frame): Remove spurious quote.
11948
c0749a51
GM
119492011-04-12 Glenn Morris <rgm@gnu.org>
11950
088d0d61
GM
11951 * calendar/cal-tex.el (cal-tex-end-document):
11952 Try to automatically use latin1 input if needed.
11953
c0749a51
GM
11954 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11955 Don't try to cons a mark onto an empty element.
11956
5c90fde0
LL
119572011-04-11 Leo Liu <sdl.web@gmail.com>
11958
11959 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11960 buffers.
11961 (ido-kill-buffer-at-head): Support killing virtual buffers.
11962
369e974d
CY
119632011-04-10 Chong Yidong <cyd@stupidchicken.com>
11964
11965 * minibuffer.el (completion-show-inline-help): New var.
11966 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11967 (minibuffer-force-complete, minibuffer-complete-word):
11968 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11969
11970 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11971 to avoid interference from inline help (Bug#5849).
11972
37f1c930
LL
119732011-04-10 Leo Liu <sdl.web@gmail.com>
11974
099c39a4
JB
11975 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11976 Fix typo.
37f1c930 11977
a32d4040
CY
119782011-04-09 Chong Yidong <cyd@stupidchicken.com>
11979
11980 * image-mode.el (image-toggle-display-image): Signal an error if
11981 not in Image mode.
11982 (image-transform-mode, image-transform-resize)
11983 (image-transform-set-rotation): Doc fix.
daca8ba5 11984 (image-transform-set-resize): Delete.
a32d4040
CY
11985 (image-transform-set-scale, image-transform-fit-to-height)
11986 (image-transform-fit-to-width): Handle image-toggle-display-image
11987 and image-transform-resize directly.
11988
099c39a4 119892011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11990
11991 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11992 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11993 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11994 (doc-view-mode-map): Add bindings for the new functions.
11995
099c39a4 119962011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11997
4d61f28d 11998 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11999 Fix typo in docstring.
12000
3726838a
EZ
120012011-04-08 Eli Zaretskii <eliz@gnu.org>
12002
04f33f1e
EZ
12003 * files.el (file-size-human-readable): Produce one digit after
12004 decimal, like "ls -lh" does.
12005
12006 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12007 the file size representation.
12008
3726838a
EZ
12009 * simple.el (list-processes): If async subprocesses are not
12010 available, error out with a clear error message.
12011
cbb59342
CY
120122011-04-08 Chong Yidong <cyd@stupidchicken.com>
12013
12014 * help.el (help-form-show): New function, to be called from C.
12015 Put help-form output in a buffer named differently than *Help*.
12016
e3971c44
EZ
120172011-04-08 Eli Zaretskii <eliz@gnu.org>
12018
12019 * files.el (file-size-human-readable): New function.
12020
12021 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12022 computing the representation inline. Don't require `cl'.
12023
12544bbe
GM
120242011-04-08 Glenn Morris <rgm@gnu.org>
12025
a1de6c6a
GM
12026 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12027
3c4671f4
GM
12028 * net/browse-url.el (browse-url-firefox):
12029 Test system-type, not system-configuration.
12030
b605679c
GM
12031 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12032 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12033 Use log-edit-empty-buffer-p. (Bug#7598)
12034
56442f0c
GM
12035 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12036 (rlogin-mode-map): Initialize in the defvar.
12037 (rlogin): Use ignore-errors.
12038
12544bbe
GM
12039 * replace.el (occur-mode-map): Some fixes for menu items.
12040
eb237b0f
AH
120412011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12042
12043 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12044
7d668f2c
CY
120452011-04-06 Chong Yidong <cyd@stupidchicken.com>
12046
e67a13ab
CY
12047 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12048 issuing unused warnings.
12049
12050 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12051 macro directly.
12052
7d668f2c
CY
12053 * simple.el: Lisp reimplement of list-processes. Based on an
12054 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12055 (process-menu-mode): New major mode.
12056 (list-processes--refresh, list-processes):
12057 (process-menu-visit-buffer): New functions.
12058
12059 * files.el (save-buffers-kill-emacs): Don't assume any return
12060 value of list-processes, which is undocumented anyway.
12061
a83ec3c9
CY
120622011-04-06 Chong Yidong <cyd@stupidchicken.com>
12063
12064 * emacs-lisp/tabulated-list.el: New file.
12065
e91a96fe
CY
12066 * emacs-lisp/package.el: Use Tabulated List mode.
12067 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12068 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12069 table format using Tabulated List mode variables.
12070 (package--push): New macro, replacing package-list-maybe-add.
12071 (package-menu--generate): Use package--push. Renamed from
12072 package--generate-package-list.
12073 (package-menu-refresh, list-packages): Use it.
daca8ba5 12074 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12075 Return insertion data instead of inserting it directly.
099c39a4
JB
12076 (package-menu-describe-package, package-menu-execute):
12077 Use tabulated-list-get-id.
e91a96fe
CY
12078 (package-menu-mark-delete, package-menu-mark-install)
12079 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12080 (package-menu-mark-obsolete-for-deletion):
12081 Use tabulated-list-put-tag.
e91a96fe
CY
12082 (package--list-packages, package-menu-revert)
12083 (package-menu-get-package, package-menu-get-version)
12084 (package-menu-sort-by-column): Functions deleted.
12085 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12086 (package-menu--status-predicate, package-menu--version-predicate)
12087 (package-menu--name-predicate)
12088 (package-menu--description-predicate): Handle arguments in the
12089 Tabulated List format.
12090 (package-list-packages-no-fetch): Call list-packages.
12091
3e214b50
JB
120922011-04-06 Juanma Barranquero <lekktu@gmail.com>
12093
12094 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12095 (after-find-file): Don't bind it.
3e214b50
JB
12096 (revert-buffer-in-progress-p): New variable.
12097 (revert-buffer): Bind it.
12098 Pass nil for `after-find-file-from-revert-buffer'.
12099
12100 * saveplace.el (save-place-find-file-hook): Use new variable
12101 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12102
3f0f1700
GM
121032011-04-06 Glenn Morris <rgm@gnu.org>
12104
c0274801
GM
12105 * Makefile.in (AUTOGEN_VCS): New variable.
12106 (autoloads): Use $AUTOGEN_VCS.
12107
3f0f1700
GM
12108 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12109 * calendar/calendar.el (calendar-mode-map):
12110 Check for toolkit scroll bars. (Bug#8305)
12111
41ea9e48
CY
121122011-04-05 Chong Yidong <cyd@stupidchicken.com>
12113
12114 * minibuffer.el (completion-in-region--postch)
12115 (completion-in-region-mode): Remove unnecessary messages.
12116
6194c800
JB
121172011-04-05 Juanma Barranquero <lekktu@gmail.com>
12118
33256f14
JB
12119 * font-lock.el (font-lock-refresh-defaults):
12120 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12121 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12122
6194c800
JB
12123 * info.el (Info-directory-list, Info-read-node-name-2)
12124 (Info-split-parameter-string): Doc fixes.
12125 (Info-virtual-nodes): Reflow docstring.
12126 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12127 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12128 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12129 Fix typos in docstrings.
12130 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12131 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12132 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12133 (Info-restore-desktop-buffer): Mark unused parameters.
12134 (Info-directory-find-file, Info-directory-find-node)
12135 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12136 (Info-virtual-index-find-node, Info-apropos-find-file)
12137 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12138 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12139 (Info-virtual-index): Remove unused local variable `nodename'.
12140
b87a8200 121412011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12142
b87a8200
DD
12143 * net/rcirc.el: Update my e-mail address.
12144 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12145
3b2ff876
CY
121462011-04-05 Chong Yidong <cyd@stupidchicken.com>
12147
12148 * startup.el (command-line): Save the cursor's theme-face
12149 directly, instead of using face-override-spec.
12150
12151 * custom.el (load-theme): Minor optimization in assigning faces.
12152
8d17e7ca
JB
121532011-04-04 Juanma Barranquero <lekktu@gmail.com>
12154
12155 * help-fns.el (describe-variable): Complete all variables having
12156 documentation, including keywords.
12157 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12158
2fbc1934
JB
121592011-04-04 Juanma Barranquero <lekktu@gmail.com>
12160
12161 Convert to lexical-binding.
12162
12163 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12164 (bs--get-marked-string, bs--get-modified-string)
12165 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12166 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12167 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12168
12169 * ehelp.el (electric-help-execute-extended)
12170 (electric-help-ctrl-x-prefix):
12171 * hexl.el (hexl-revert-buffer-function):
12172 * linum.el (linum-after-change, linum-after-scroll):
12173 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12174
12175 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12176
74f50695
DU
121772011-04-04 Daiki Ueno <ueno@unixuser.org>
12178
12179 * epa-dired.el:
12180 * epa-mail.el:
12181 * epa-hook.el:
12182 * epa-file.el:
12183 * epa.el:
12184 * epg.el: Use lexical binding.
12185
c11325f7
CY
121862011-04-03 Chong Yidong <cyd@stupidchicken.com>
12187
0d9e9a12
CY
12188 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12189
c11325f7 12190 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12191 dictionary case for flyspell-mark-duplications-exceptions.
12192 Use regexp matching for languages.
c11325f7
CY
12193 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12194 default dictionary (Bug#7926).
12195
da91b5f2
CY
121962011-04-02 Chong Yidong <cyd@stupidchicken.com>
12197
099c39a4
JB
12198 * emacs-lisp/package.el (package--with-work-buffer):
12199 Recognize https URLs.
da91b5f2 12200
099c39a4
JB
12201 * net/network-stream.el: Move from gnus/proto-stream.el.
12202 Change prefix to network-stream throughout.
da91b5f2
CY
12203 (open-protocol-stream): Merge into open-network-stream, leaving
12204 open-protocol-stream as an alias. Handle nil BUFFER args.
12205
12206 * subr.el (open-network-stream): Move to net/network-stream.el.
12207
afa8e9f6
GM
122082011-04-02 Glenn Morris <rgm@gnu.org>
12209
1d2e369d
GM
12210 * find-dired.el (find-exec-terminator): New option.
12211 (find-ls-option): Test for -ls support.
12212 (find-ls-subdir-switches): Test for -b in find-ls-option.
12213 (find-dired, find-grep-dired): Doc fixes.
12214 (find-dired): Use find-exec-terminator.
12215
8abb7da8 12216 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12217 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12218 (find-name-arg): Remove purecopy.
8abb7da8 12219
f3ca7378
GM
12220 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12221 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12222 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12223 accordingly. Don't add the null-device if not needed.
12224
afa8e9f6
GM
12225 * files.el (save-some-buffers): Doc fix.
12226
35eae264
EZ
122272011-04-02 Eli Zaretskii <eliz@gnu.org>
12228
12229 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12230
26b51db5
JB
122312011-04-01 Juanma Barranquero <lekktu@gmail.com>
12232
12233 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12234 Use `dolist' rather than `mapcar'.
12235
7200d79c
SM
122362011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12237
03408648 12238 Add lexical binding.
7200d79c 12239
03408648
SM
12240 * subr.el (apply-partially): Use new closures rather than CL.
12241 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12242 (dolist, dotimes): Use slightly different expansion for lexical code.
12243 (functionp): Move to C.
12244 (letrec): New macro.
12245 (with-wrapper-hook): Use it and apply-partially instead of CL.
12246 (eval-after-load): Preserve lexical-binding.
12247 (save-window-excursion, with-output-to-temp-buffer): Turn them
12248 into macros.
7200d79c 12249
03408648
SM
12250 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12251
12252 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12253 than the arglist.
12254 (help-add-fundoc-usage): Don't add `Not documented'.
12255 (help-function-arglist): Handle closures, subroutines, and new
12256 byte-code-functions.
12257 (help-make-usage): Remove leading underscores.
12258 (describe-function-1): Handle closures.
12259 (describe-variable): Use special-variable-p for completion.
12260
12261 * files.el (lexical-binding): Declare safe.
f488fb65 12262
03408648
SM
12263 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12264 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12265 (pcase): Add `let' pattern.
12266 Change memoization so it actually works.
12267 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12268 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12269 <let>: New case.
f488fb65 12270
03408648
SM
12271 * emacs-lisp/macroexp.el: Use lexical binding.
12272 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12273 Don't convert ' to #' without checking that it's indeed quoting
12274 a lambda.
12275
12276 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12277 Use eval-sexp-add-defvars.
03408648
SM
12278 (eval-sexp-add-defvars): New fun.
12279
12280 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12281
12282 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12283 Don't autoload.
12284 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12285 than the internal `byte-compile-lambda'.
12286 (defmethod): Don't hide code under quotes.
12287 (eieio-defmethod): New `code' argument.
12288
12289 * emacs-lisp/eieio-comp.el: Remove.
12290
12291 * emacs-lisp/edebug.el (edebug-eval-defun)
12292 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12293 (edebug-toggle): Avoid `eval'.
12294
12295 * emacs-lisp/disass.el (disassemble-internal): Handle new
12296 `closure' objects.
12297 (disassemble-1): Handle new byte codes.
12298
12299 * emacs-lisp/cl.el (pushnew): Silence warning.
12300
12301 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12302 (cl-byte-compile-throw): Remove.
12303 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12304
12305 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12306 closures.
12307
12308 * emacs-lisp/cconv.el: New file.
12309
12310 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12311 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12312 (byte-compile-initial-macro-environment):
12313 Handle declare-function here.
12314 (byte-compile--lexical-environment): New var.
12315 (byte-stack-ref, byte-stack-set, byte-discardN)
12316 (byte-discardN-preserve-tos): New lap codes.
12317 (byte-interactive-p): Don't use any more.
12318 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12319 New macros.
12320 (byte-compile-lapcode): Use them and handle new lap codes.
12321 (byte-compile-obsolete): Remove.
12322 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12323 (byte-compile-arglist-warn): Check late def of inlinable funs.
12324 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12325 since they should have been expanded by now.
12326 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12327 (byte-compile-from-buffer): Remove unused second arg.
12328 (byte-compile-preprocess): New function.
12329 (byte-compile-toplevel-file-form): New function to distinguish
12330 file-form calls from outside from file-form calls from hunk-handlers.
12331 (byte-compile-file-form): Simplify.
12332 (byte-compile-file-form-defsubst): Remove.
12333 (byte-compile-file-form-defmumble): Simplify now that
12334 byte-compile-lambda always returns a byte-code-function.
12335 (byte-compile): Preprocess.
12336 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12337 Remove, not used any more.
12338 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12339 (byte-compile-make-args-desc): New funs.
12340 (byte-compile-lambda): Handle lexical functions. Always return
12341 a byte-code-function.
12342 (byte-compile-reserved-constants): New var, to make up room for
12343 closed-over variables.
12344 (byte-compile-constants-vector): Obey it.
12345 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12346 (byte-compile-macroexpand-declare-function): New function.
12347 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12348 byte-code-functions.
12349 (byte-compile-form): Check obsolescence here.
12350 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12351 (byte-compile-variable-ref): Remove.
12352 (byte-compile-dynamic-variable-op): New fun.
12353 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12354 (byte-compile-variable-set): New funs.
12355 (byte-compile-discard): Add 2 args.
12356 (byte-compile-stack-ref, byte-compile-stack-set)
12357 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12358 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12359 macroexpand-all instead.
12360 (byte-compile-quote-form): Remove.
12361 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12362 (byte-compile-bind, byte-compile-unbind): New funs.
12363 (byte-compile-let): Handle let* and lexical binding.
12364 (byte-compile-let*): Remove.
12365 (byte-compile-catch, byte-compile-unwind-protect)
12366 (byte-compile-track-mouse, byte-compile-condition-case):
12367 Handle a new :fun-body form, used for lexical scoping.
12368 (byte-compile-save-window-excursion)
12369 (byte-compile-with-output-to-temp-buffer): Remove.
12370 (byte-compile-defun): Simplify.
12371 (byte-compile-stack-adjustment): New fun.
12372 (byte-compile-out): Use it.
12373 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12374
12375 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12376 handler any more.
12377
12378 * emacs-lisp/byte-opt.el: Use lexical binding.
12379 (byte-inline-lapcode): Remove (to bytecomp).
12380 (byte-compile-inline-expand): Pay attention to inlining to/from
12381 lexically bound code.
12382 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12383 any more.
12384 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12385 any more and don't call compiler-macros.
12386 (byte-compile-splice-in-already-compiled-code): Remove.
12387 (byte-code): Don't inline any more.
12388 (disassemble-offset): Receive `bytes' as argument rather than via
12389 dynamic scoping.
12390 (byte-compile-tag-number): Declare before first use.
12391 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12392 `return' even if make-spliceable.
12393 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12394 obsolete interactive-p.
12395 (byte-optimize-lapcode): Optimize new lap-codes.
12396 Don't trip up on new form of `byte-constant' lap code.
12397
12398 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12399
12400 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12401
12402 * custom.el (custom-initialize-default, custom-declare-variable):
12403 Use `defvar'.
12404
12405 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12406 New variables.
12407 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12408 (COMPILE_FIRST): Add macroexp and cconv.
12409 * makefile.w32-in: Mirror changes in Makefile.in.
12410
12411 * vc/cvs-status.el:
12412 * vc/diff-mode.el:
12413 * vc/log-edit.el:
12414 * vc/log-view.el:
12415 * vc/smerge-mode.el:
12416 * textmodes/bibtex-style.el:
12417 * textmodes/css.el:
12418 * startup.el:
12419 * uniquify.el:
da91b5f2
CY
12420 * minibuffer.el:
12421 * newcomment.el:
12422 * reveal.el:
12423 * server.el:
12424 * mpc.el:
12425 * emacs-lisp/smie.el:
12426 * doc-view.el:
12427 * dired.el:
03408648
SM
12428 * abbrev.el: Use lexical binding.
12429
0f0c1f27
EZ
124302011-04-01 Eli Zaretskii <eliz@gnu.org>
12431
12432 * info.el (info-display-manual): New function.
12433
c82b2579
SM
124342011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12435
12436 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12437
221ddf68
TH
124382011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12439
12440 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12441 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12442
cba6e77e
GM
124432011-03-31 Glenn Morris <rgm@gnu.org>
12444
e040639f
GM
12445 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12446
cba6e77e
GM
12447 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12448
6d0f1c9e
CS
124492011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12450
12451 * progmodes/python.el (python-default-interpreter)
12452 (python-python-command-args, python-jython-command-args)
12453 (python-which-shell, python-which-args, python-which-bufname)
12454 (python-file-queue, python-comint-output-filter-function)
12455 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12456 variables and functions.
12457
3e2d70fd
SM
124582011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12459
12460 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12461 (completion-in-region-mode): New minor mode.
12462 (completion-in-region): Use it.
12463 (completion-in-region--data, completion-in-region-mode-map): New vars.
12464 (completion-in-region--postch): New function.
12465 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12466 New vars.
12467 (completion--capf-wrapper): New function.
12468 (completion-at-point): Use it to track well-behavedness of
12469 hook functions.
12470 (completion-help-at-point): New command.
12471
f3e4086c
JM
124722011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12473
12474 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12475 syntax class to search for whitespace on a single line
12476 (Message-ID: <4D938140.4030905@redhat.com>).
12477
eb7ffc14
LL
124782011-03-30 Leo Liu <sdl.web@gmail.com>
12479
12480 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12481 New commands.
12482 (edit-abbrevs-map): Bind them here.
12483 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12484
d806ab68
KM
124852011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12486
12487 * allout.el (allout-hide-by-annotation, allout-flag-region):
12488 Reduce possibility of overlay leakage by making them volatile.
12489
12490 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12491 hash is not shared between buffers. Mode initialization is
12492 responsible for giving it a useful starting value.
12493 (allout-item-span): Reduce possibility of overlay leakage by
12494 making them volatile.
12495 (allout-widgets-count-buttons-in-region): Add diagnostic function
12496 for tracking down button overlay leaks.
12497
ea622834
LL
124982011-03-29 Leo Liu <sdl.web@gmail.com>
12499
12500 * ido.el (ido-read-internal): Use the default history var
12501 minibuffer-history if no HISTORY is specified.
12502
b62f8267
G
125032011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12504
03408648
SM
12505 * net/imap.el (imap-shell-open, imap-process-connection-type):
12506 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12507 Kerberos, SSL, other subprocesses.
12508
947b6566
LL
125092011-03-28 Leo Liu <sdl.web@gmail.com>
12510
12511 * abbrev.el (abbrev-table-empty-p): New function.
12512 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12513 nonempty ones. (Bug#5937)
12514
5ffb62aa
JD
125152011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12516
12517 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12518
7a097943
LL
125192011-03-27 Leo Liu <sdl.web@gmail.com>
12520
12521 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12522 for foreground and background colors.
12523 (ansi-color-make-color-map): Adapt.
12524
c5b40130
LL
125252011-03-25 Leo Liu <sdl.web@gmail.com>
12526
1f48f7d2
LL
12527 * midnight.el (midnight-time-float): Remove. Note it calculates
12528 the microsecond component incorrectly and seconds-to-time does the
12529 same job.
625897ec 12530 Remove redundant (require 'timer).
1f48f7d2 12531
c5b40130
LL
12532 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12533 (ido-completions): Remove unused arguments. (Bug#8329)
12534
d86d2721
SM
125352011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12536
12537 * minibuffer.el (completion--flush-all-sorted-completions):
12538 Remove itself from hook.
12539 (completion-at-point): Let the functions perform the completion
12540 immediately and return nil or t.
12541 * comint.el (comint-dynamic-complete-functions): Now identical to
12542 completion-at-point-functions.
12543 (comint-dynamic-list-input-ring): Remove unused var `index'.
12544 (comint--match-partial-filename, comint--unquote&expand-filename):
12545 New funs, split from comint-match-partial-filename.
12546 (comint-dynamic-complete): Use completion-at-point.
12547 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12548
e8974c48
DA
125492011-03-24 Drew Adams <drew.adams@oracle.com>
12550
12551 * thingatpt.el: Support `defun'.
12552
def71b5e
LL
125532011-03-23 Leo Liu <sdl.web@gmail.com>
12554
cb5af48e
LL
12555 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12556
def71b5e
LL
12557 * help-mode.el (help-mode-finish): Tweak regexp.
12558
927c53e7
GM
125592011-03-23 Glenn Morris <rgm@gnu.org>
12560
18d05bed
GM
12561 * eshell/esh-opt.el (eshell-eval-using-options):
12562 Do not bind unused local variable `eshell-option-stub'.
12563
927c53e7
GM
12564 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12565
9d0da923
JB
125662011-03-22 Juanma Barranquero <lekktu@gmail.com>
12567
12568 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12569 keymap variable in `with-no-warnings' to avoid a warning when the
12570 keymap has been already `defconst'ed.
12571
4b978a67
LL
125722011-03-22 Leo Liu <sdl.web@gmail.com>
12573
12574 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12575 encode all chars in abbrevs; otherwise use emacs-mule or
12576 utf-8-emacs. (Bug#8308)
12577
5fd62452
JB
125782011-03-22 Juanma Barranquero <lekktu@gmail.com>
12579
0b1596c6
JB
12580 * simple.el (backward-delete-char-untabify):
12581 Avoid warning about using `delete-backward-char'.
12582
5fd62452
JB
12583 * image.el (image-type-file-name-regexps): Make it variable.
12584 `imagemagick-register-types' modifies it, and the user may want
12585 to add new extensions for known image types.
12586 (imagemagick-register-types): Throw error if not using ImageMagick.
12587
0b4e93f1
LL
125882011-03-22 Leo Liu <sdl.web@gmail.com>
12589
12590 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12591 located before rcirc-prompt-end-marker.
12592 (rcirc-complete): Error if point is not after rcirc prompt.
12593 Handle the case when table is nil.
9882e214 12594 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12595
fccee4ab
CY
125962011-03-22 Chong Yidong <cyd@stupidchicken.com>
12597
12598 * custom.el (custom--inhibit-theme-enable): Make it affect only
12599 custom-theme-set-variables and custom-theme-set-faces.
12600 (provide-theme): Ignore custom--inhibit-theme-enable.
12601 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12602 (custom-enabling-themes): Delete variable.
d86d2721
SM
12603 (enable-theme): Accept only loaded themes as arguments.
12604 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12605 (custom-enabled-themes): Forbid themes from setting this.
12606 Eliminate use of custom-enabling-themes.
12607 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12608
af896da6
LL
126092011-03-21 Leo Liu <sdl.web@gmail.com>
12610
12611 * ido.el (ido-read-internal): Add ido-selected to history instead
12612 of user input.
12613
78f64af0
SM
126142011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * subr.el (deferred-action-list, deferred-action-function):
12617 Mark obsolete.
12618
b16ac1ec
LL
126192011-03-21 Leo Liu <sdl.web@gmail.com>
12620
810f7698
LL
12621 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12622 change on 2011-02-13 (bug#8309).
12623
b16ac1ec
LL
12624 * minibuffer.el (read-file-name-function): Change default value.
12625 (read-file-name--defaults): Rename from read-file-name-defaults.
12626 (read-file-name-default): Rename from read-file-name.
12627 (read-file-name): Call read-file-name-function.
12628
4e05e67e
GM
126292011-03-21 Glenn Morris <rgm@gnu.org>
12630
12631 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12632 Doc fixes.
12633
4359915b
CY
126342011-03-21 Chong Yidong <cyd@stupidchicken.com>
12635
12636 * cus-theme.el: Add missing provide statement.
12637 (customize-create-theme): Extract theme value correctly.
12638 (custom-theme-visit-theme): Autoload.
12639 (customize-create-theme): Prompt before inserting default faces.
12640
1fe275ee
JB
126412011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12642
12643 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12644 units and musical notes.
12645
cd394be1 126462011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12647
12648 * ido.el (ido-read-internal): Use completing-read-default.
12649 (ido-completing-read): Fix compatibility with completing-read.
12650
7d476bde
CO
126512011-03-20 Christian Ohler <ohler@gnu.org>
12652
12653 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12654 (ert-delete-all-tests): Use `called-interactively-p' rather than
12655 `interactive-p'.
12656 (ert--make-xrefs-region): Respect END.
12657
fe0fb33e
CY
126582011-03-19 Chong Yidong <cyd@stupidchicken.com>
12659
ff854b0b
CY
12660 * dired-aux.el (dired-create-directory): Signal an error if the
12661 directory already exists (Bug#8246).
12662
fe0fb33e
CY
12663 * facemenu.el (list-colors-display): Call list-faces-display
12664 inside with-help-window.
12665 (list-colors-print): Use display property to align the final
12666 column, instead of checking window-width.
12667
576bce32
EZ
126682011-03-19 Eli Zaretskii <eliz@gnu.org>
12669
4d61f28d 12670 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12671 windows-nt systems.
12672 (emerge-protect-metachars): Quote correctly for ms-dos and
12673 windows-nt systems.
12674
89c41d68 126752011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12676
12677 * info.el (info-initialize): Replace all uses of `:' with
12678 path-separator for compatibility with non-Unix systems.
12679 Cache quoting of path-separator. (Bug#8258)
12680
b14e3e21 126812011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12682
12683 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12684 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12685 (mouse-avoidance-mode): Fix typos in docstrings.
12686
4525ce3e
CY
126872011-03-19 Chong Yidong <cyd@stupidchicken.com>
12688
12689 * startup.el (package-subdirectory-regexp): Move from package.el.
12690 Omit \\` and \\', and let callers add them.
12691
12692 * emacs-lisp/package.el (package-strip-version)
12693 (package-load-all-descriptors): Add \\` and \\' to
12694 package-subdirectory-regexp before using it.
12695 (package-untar-buffer): New arg DIR; ensure that file untars only
12696 into this expected directory. Remove superfluous delete-region.
12697 (package-unpack): Caller changed.
12698 (package-tar-file-info): Use package-subdirectory-regexp.
12699
a904a09a 127002011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12701
a904a09a
SM
12702 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12703 diff-mode-shared-map (bug#8284).
12704 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12705
127062011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12707
12708 * calendar/time-date.el (format-seconds): Use assoc instead of
12709 assoc-string, since assoc-string doesn't exist in XEmacs.
12710
171fc304
JB
127112011-03-17 Juanma Barranquero <lekktu@gmail.com>
12712
12713 * custom.el (custom-known-themes): Reflow docstring.
12714 (custom-theme-load-path): Fix typo in docstring.
12715 (load-theme): Fix typo in error message.
12716 (custom-available-themes, custom-variable-theme-value):
12717 Use `let', not `let*'.
12718
d71990a1
JB
127192011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12720
12721 * calc/README: Mention inclusion of musical notes.
12722
12723 * calc/calc-units.el (calc-lu-quant): Rename from
12724 `calc-logunits-quantity'.
12725 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12726 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12727 (calc-db): Rename from `calc-dblevel'.
12728 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12729 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12730 (calc-np): Rename from `calc-nplevel'.
12731 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12732 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12733 (calc-lu-plus): Rename from `calc-logunits-add'.
12734 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12735 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12736 (calc-lu-minus): Rename from `calc-logunits-sub'.
12737 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12738 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12739 (calc-lu-times): Rename from `calc-logunits-mul'.
12740 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12741 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12742 (calc-lu-divide): Rename from `calc-logunits-div'.
12743 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12744 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12745
12746 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12747 functions being autoloaded.
12748
12749 * calc/calc.el (calc-lu-power-reference): Rename from
12750 `calc-logunits-power-reference'.
12751 (calc-lu-field-reference): Rename from
12752 `calc-logunits-field-reference'.
12753
7a71b18d
GM
12754 * calc/calc-help.el (calc-l-prefix-help):
12755 Mention musical note functions.
d71990a1 12756
40c2934b
SM
127572011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12758
12759 * minibuffer.el (completion-all-sorted-completions):
12760 Use :completion-cycle-penalty text property if present.
12761
b0911414
KM
127622011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12763
12764 * allout.el (allout-yank-processing): Adjust for new rebulleting
12765 regime so bullet being yanked is used without prompting the user
12766 for a choice.
12767
8a05b668
JB
127682011-03-16 Juanma Barranquero <lekktu@gmail.com>
12769
12770 * startup.el (command-line): Warn the user that _emacs is deprecated.
12771
5ba5fb81
JB
127722011-03-16 Juanma Barranquero <lekktu@gmail.com>
12773
12774 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12775 (delphi-verbose, delphi-comment-face, delphi-string-face)
12776 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12777 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12778 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12779 (delphi-new-comment-line, delphi-font-lock-defaults)
12780 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12781 Fix typos in docstrings.
12782
2dab465b
KM
127832011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12784
5ba5fb81 12785 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12786 Invert the roles of character and string values for INSTEAD, so a
12787 string is used for the more common case of a defaulting prompt.
12788
0adf5618
SM
127892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12790
12791 * progmodes/ruby-mode.el (ruby-backward-sexp):
12792 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12793 * play/gamegrid.el (gamegrid-make-face):
12794 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12795 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12796 * notifications.el (notifications-notify):
12797 * net/xesam.el (xesam-search-engines):
12798 * net/quickurl.el (quickurl-list-insert):
12799 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12800
d72700e5
CY
128012011-03-15 Chong Yidong <cyd@stupidchicken.com>
12802
12803 * startup.el (command-line): Update package subdirectory regexp.
12804
49c5410a
SM
128052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12806
c6eee9aa
SM
12807 * allout.el (allout-abbreviate-flattened-numbering)
12808 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12809
49c5410a
SM
12810 * subr.el (read-char-choice): Only show the cursor after the prompt,
12811 not after the answer.
12812
047b2bb9
KR
128132011-03-15 Kevin Ryde <user42@zip.com.au>
12814
12815 * help-fns.el (variable-at-point): Skip leading quotes, if any
12816 (bug#8253).
12817
0a57d256
SM
128182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12819
12820 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12821 warning message.
12822
77c992bc
MA
128232011-03-14 Michael Albinus <michael.albinus@gmx.de>
12824
12825 * shell.el (shell): When called interactively, offer to change the
12826 shell file name on remote hosts.
12827
eebc475d
TZ
128282011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12829
12830 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12831 integration for LDAP parameters. The host, base, user or binddn,
12832 and secret tokens can be specified in a netrc file, for instance.
12833 This is optional because an `auth-source' parameter must be
12834 specified in the search attributes.
12835
9d05d1ba
JB
128362011-03-13 Juanma Barranquero <lekktu@gmail.com>
12837
12838 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12839
09d9db2c
GM
128402011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12841
12842 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12843 into declaration. Remove redundant and harmful binding.
12844
128452011-03-12 Eli Zaretskii <eliz@gnu.org>
12846
12847 * files.el (file-ownership-preserved-p): Pass `integer' as an
12848 explicit 2nd argument to `file-attributes'. If the file's owner
12849 is the Administrators group on Windows, and the current user is
12850 Administrator, consider that a match.
12851
12852 * server.el (server-ensure-safe-dir): Consider server directory
12853 safe on MS-Windows if its owner is the Administrators group while
12854 the current Emacs user is Administrator. Use `=' to compare
12855 numerical UIDs, since they could be integers or floats.
12856
219bd536
JB
128572011-03-12 Juanma Barranquero <lekktu@gmail.com>
12858
12859 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12860
f3afd36b
MA
128612011-03-12 Michael Albinus <michael.albinus@gmx.de>
12862
12863 Sync with Tramp 2.2.1.
12864
12865 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12866
12867 * net/trampver.el: Update release number.
12868
3aaaa6f1
SM
128692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12870
94642599
SM
12871 * progmodes/compile.el (compilation--previous-directory): Fix up
12872 various nil/dead-marker mismatches (bug#8014).
12873 (compilation-directory-properties, compilation-error-properties):
12874 Don't call it at a position past the one we're about to change.
12875
3aaaa6f1
SM
12876 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12877 Disable obsolescence warnings in the file that declares it.
12878
14239447
KM
128792011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12880
099c39a4
JB
12881 * allout-widgets.el (allout-widgets-tally):
12882 Initialize allout-widgets-tally as a hash table rather than nil to
12883 prevent mode-line redisplay warnings. Also, clarify the module
12884 description and fix a comment typo.
14239447 12885
135e287c
JB
128862011-03-11 Juanma Barranquero <lekktu@gmail.com>
12887
12888 * help-fns.el (describe-variable): Don't complete keywords.
12889 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12890
ffbf300e
CY
128912011-03-10 Chong Yidong <cyd@stupidchicken.com>
12892
ba08b241
CY
12893 * emacs-lisp/package.el (package-version-join): Impose a standard
12894 string representation for pre/alpha/beta version lists.
12895 (package-unpack-single): Standardize the directory name by passing
12896 it through package-version-join.
12897 (package-strip-rcs-id): Accept any version string that does not
12898 signal an error in version-to-list.
ffbf300e 12899
f346fd6b
MA
129002011-03-10 Michael Albinus <michael.albinus@gmx.de>
12901
12902 * simple.el (delete-trailing-whitespace): Return nil for the
12903 benefit of `write-file-functions'.
12904
ccb55d27
GM
129052011-03-10 Glenn Morris <rgm@gnu.org>
12906
5ceaac0c
GM
12907 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12908
02da65ff
GM
12909 * vc/vc-git.el (vc-git-program): New option.
12910 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12911 (vc-git--call): Use it.
12912
b2f603cc
GM
12913 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12914
5772caab
GM
12915 * cus-edit.el (Custom-newline): If no button at point, look
12916 for a subgroup button at start-of-line. (Bug#2298)
12917
ccb55d27
GM
12918 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12919
ec6ecaed
JD
129202011-03-10 Julien Danjou <julien@danjou.info>
12921
12922 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12923 `cursor-type' is nil.
12924
9d5aa01d
JB
129252011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12926
12927 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12928
b6a5875b
KM
129292011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12930
7a71b18d 12931 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12932 preserves the existing header prefix, rebulleting it if necessary,
12933 rather than replacing it. This is necessary for proper operation
12934 of cooperative addons like allout-widgets.
1154d12e
JB
12935 (allout-make-topic-prefix, allout-rebullet-heading):
12936 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12937 value as alternate bullet to be used, instead of prompting the user
12938 for a bullet character.
b6a5875b 12939
ee545c35
MA
129402011-03-09 Michael Albinus <michael.albinus@gmx.de>
12941
d86d2721
SM
12942 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12943 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12944 `tramp-default-port'.
12945
c47971d7
DD
129462011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12947
12948 * net/rcirc.el (rcirc-handler-001): Remove useless
12949 with-rcirc-process-buffer.
12950 (rcirc-check-auth-status): Swap arguments to string-match.
12951
13522cb4
GM
129522011-03-09 Glenn Morris <rgm@gnu.org>
12953
0be6f4f1
GM
12954 * shell.el (shell-mode):
12955 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12956
13522cb4
GM
12957 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12958 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12959
515de2e3
CY
129602011-03-08 Chong Yidong <cyd@stupidchicken.com>
12961
12962 * emacs-lisp/package.el (package-refresh-contents)
12963 (package-menu-execute): Use condition-case-no-debug.
12964
b511b994
MA
129652011-03-08 Michael Albinus <michael.albinus@gmx.de>
12966
12967 * simple.el (shell-command-to-string): Use `process-file'.
12968
12969 * emacs-lisp/package.el (package-tar-file-info): Handle also
12970 remote files.
12971
d86d2721
SM
12972 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12973 Use `equal' for upload base check.
b511b994 12974
25bbfb31
AM
129752011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12976
12977 * textmodes/texinfo.el (texinfo-environments):
12978 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12979
be996521
GM
129802011-03-08 Glenn Morris <rgm@gnu.org>
12981
e9c8529f
GM
12982 * cus-start.el (cursor-in-non-selected-windows):
12983 Fix :set quoting oddness. (Bug#8192)
12984
be996521
GM
12985 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12986 in some setf expressions. (Bug#2159)
12987
2bb5649e
CY
129882011-03-08 Chong Yidong <cyd@stupidchicken.com>
12989
12990 * custom.el (custom-available-themes): Return themes in
12991 alphabetical order.
12992
33383987 12993See ChangeLog.15 for earlier changes.
e3d51b27
MR
12994
12995;; Local Variables:
12996;; coding: utf-8
e3d51b27
MR
12997;; End:
12998
acaf905b 12999 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13000
13001 This file is part of GNU Emacs.
13002
13003 GNU Emacs is free software: you can redistribute it and/or modify
13004 it under the terms of the GNU General Public License as published by
13005 the Free Software Foundation, either version 3 of the License, or
13006 (at your option) any later version.
13007
13008 GNU Emacs is distributed in the hope that it will be useful,
13009 but WITHOUT ANY WARRANTY; without even the implied warranty of
13010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13011 GNU General Public License for more details.
13012
13013 You should have received a copy of the GNU General Public License
13014 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.