Rename autoconf output variable LD_SWITCH_X_SITE_AUX_RPATH
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9cc7819c
LL
12012-04-30 Leo Liu <sdl.web@gmail.com>
2
3 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4 read-only error.
5
c93b886f
CY
62012-04-29 Chong Yidong <cyd@gnu.org>
7
8 * follow.el (follow-calc-win-end): Rewrite to handle partial
9 screen lines correctly (Bug#8390).
10 (follow-avoid-tail-recenter): Minor cleanup.
11
8b6c19f4
SM
122012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 Avoid the obsolete `assoc' package.
15 * speedbar.el (speedbar-refresh): Avoid adelete.
16 (speedbar-file-lists): Simplify and avoid aput.
17 * man.el (Man--sections, Man--refpages): New vars, replacing
18 Man-sections-alist and Man-refpages-alist.
19 (Man-build-section-alist, Man-build-references-alist):
20 Use them; avoid aput.
21 (Man--last-section, Man--last-refpage): New vars.
22 (Man-follow-manual-reference): Use them.
23 Use the `default' arg of completing-read.
24 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
25
c5bb7569
CY
262012-04-27 Chong Yidong <cyd@gnu.org>
27
d1d2e2e8
CY
28 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
29
15cd8efd
CY
30 * startup.el (x-apply-session-resources): New function.
31
32 * term/ns-win.el (ns-initialize-window-system):
33 * term/w32-win.el (w32-initialize-window-system):
34 * term/x-win.el (x-initialize-window-system): Use it to properly
35 set menu-bar-mode and other vars from X resources, even if the
36 initial frame is not a window-system frame (Bug#2299).
37
c5bb7569
CY
38 * subr.el (read-key): Avoid running filter function when setting
39 up temporary tool bar entries (Bug#9922).
40
a8e7d6d7 412012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
42
43 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
44 (Bug#11344)
45
a8e7d6d7 462012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
47
48 * select.el (xselect--encode-string): New function, split from
49 xselect-convert-to-string.
50 (xselect-convert-to-string): Use it.
51 (xselect-convert-to-filename, xselect-convert-to-os)
52 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
53 returned strings are properly encoded (Bug#11315).
54
a8e7d6d7 552012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
56
57 * simple.el (delete-active-region): Move to killing custom group.
58
a8e7d6d7 592012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
60
61 * progmodes/which-func.el (which-func-current): Quote %
62 characters for mode-line processing.
63
578c1d4b 642012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
65
66 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
67 reaching eob (Bug#11286).
68
a8e7d6d7 692012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
70
71 * progmodes/gdb-mi.el (gdb-control-level): New variable.
72 (gdb): Make it buffer-local and init to zero.
73 (gdb-control-commands-regexp): New variable.
74 (gdb-send): Don't wrap in "-interpreter-exec console" if
75 gdb-control-level is positive. Increment gdb-control-level
76 whenever the command matches gdb-control-commands-regexp, and
77 decrement it each time the command is "end". (Bug#11279)
78
a8e7d6d7 792012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
80
81 * window.el (adjust-window-trailing-edge, enlarge-window)
82 (shrink-window, window-resize):
83 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
84 windows (Bug#11276).
85
b3608390
CY
862012-04-27 Chong Yidong <cyd@gnu.org>
87
88 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 89 fix "missing prefix" warning. All callers changed.
b3608390 90
797e6e88
SM
912012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * emacs-lisp/assoc.el: Move to obsolete/.
94
e95a67dc
SM
952012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
96
657c21e4 97 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
98
99 * term/ns-win.el (ns-define-service):
100 * progmodes/pascal.el (pascal-goto-defun):
101 * progmodes/js.el (js--read-tab):
102 * progmodes/etags.el (tags-lazy-completion-table):
103 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
104 * emacs-lisp/ewoc.el (ewoc--wrap):
105 * emacs-lisp/assoc.el (aput, adelete, amake):
106 * doc-view.el (doc-view-convert-current-doc):
107 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
108
cb3e7ae0
CY
1092012-04-26 Chong Yidong <cyd@gnu.org>
110
dce04f7f
CY
111 * image.el (image-type-from-buffer): Only return supported image
112 type (Bug#9045).
113
cb3e7ae0
CY
114 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
115 value, for symmetry with diff-end-of-hunk.
116 (diff-split-hunk, diff-find-source-location)
117 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
118 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
119 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
120 compute the relevant hunk or file properly (Bug#6005).
121 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
122
0d42eb3e
SM
1232012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * vc/vc-mtn.el:
126 * vc/vc-hg.el:
127 * vc/vc-git.el:
128 * vc/vc-dir.el:
129 * vc/vc-cvs.el:
130 * vc/vc-bzr.el:
131 * vc/vc-arch.el:
132 * vc/vc.el: Replace lexical-let by lexical-binding.
133 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
134 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
135 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
136
f08ae1c9
CY
1372012-04-26 Chong Yidong <cyd@gnu.org>
138
8b71081d
CY
139 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
140 (diff-mode-shared-map): Bind it to / and [remap undo].
141
f08ae1c9
CY
142 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
143 (ediff-window-setup-function): Use it as the default, to set up
144 windows based on whether the current frame is graphical (Bug#2138).
145 (ediff-choose-window-setup-function-automatically): Make obsolete.
146
147 * vc/ediff-init.el: Always define ediff-pixel-width/height.
148
ef24141c
SM
1492012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
150
cc356a5d
SM
151 * ffap.el: Remove old code for obsolete package.
152 (ffap-complete-as-file-p): Remove.
153
b4ff4f1f
SM
154 Use completion-table-with-quoting for comint and pcomplete.
155 * comint.el (comint--unquote&requote-argument)
156 (comint--unquote-argument, comint--requote-argument): New functions.
157 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
158 (comint-quote-filename): Use regexp-opt-charset.
159 (comint--common-suffix, comint--common-quoted-suffix)
160 (comint--table-subvert): Remove.
161 (comint-unquote-function, comint-requote-function): New vars.
162 (comint--complete-file-name-data): Use them with
163 completion-table-with-quoting.
164 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
165 * pcomplete.el (pcomplete-arg-quote-list)
166 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
167 (pcomplete-unquote-argument-function): Default to non-nil.
168 (pcomplete-unquote-argument): Simplify.
169 (pcomplete--common-quoted-suffix): Remove.
170 (pcomplete-requote-argument-function): New var.
171 (pcomplete--common-suffix): New function.
172 (pcomplete-completions-at-point): Use completion-table-with-quoting
173 and completion-table-subvert.
174
79c4eeb4
SM
175 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
176 (minibuffer--double-dollars): Preserve properties.
177 (completion--sifn-requote): New function.
178 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
179
ef24141c
SM
180 * minibuffer.el: Add support for completion of quoted/escaped data.
181 (completion-table-with-quoting, completion-table-subvert): New funs.
182 (completion--twq-try, completion--twq-all): New functions.
183 (completion--nth-completion): New function.
184 (completion-try-completion, completion-all-completions): Use it.
185
784e7d6e
LL
1862012-04-25 Leo Liu <sdl.web@gmail.com>
187
dd2ac746
SM
188 * progmodes/python.el (python-pdbtrack-get-source-buffer):
189 Use compilation-message if available to find real filename.
784e7d6e 190
07875ee7
CY
1912012-04-25 Chong Yidong <cyd@gnu.org>
192
193 * vc/diff-mode.el (diff-setup-whitespace): New function.
194 (diff-mode): Use it.
195
196 * vc/diff.el (diff-sentinel):
197 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
198 Whitespace mode variables based on diff style (Bug#8612).
199
5055880d
LL
2002012-04-25 Leo Liu <sdl.web@gmail.com>
201
daf75653
LL
202 * progmodes/python.el (python-send-region): Add suffix .py to the
203 temp file.
204
5055880d
LL
205 * files.el (auto-mode-alist): Use javascript-mode instead.
206
db9b177b
AH
2072012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
208
ef24141c 209 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
210
211 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 212 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 213 references, see Bug#9.
ef24141c 214 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 215 when receiving a fault reply.
ef24141c 216 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
217
218 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 219 (soap-inspect-simple-type): New function.
db9b177b 220
ef24141c 221 * soap-client.el (soap-simple-type): New struct.
db9b177b 222 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
223 (soap-decode-basic-type, soap-encode-basic-type):
224 support unsignedInt and double basic types.
db9b177b 225 (soap-resolve-references-for-simple-type)
ef24141c
SM
226 (soap-parse-simple-type, soap-encode-simple-type): New function.
227 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
228
229 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
230 (soap-default-soapenc-types): Add integer, byte and anyURI types.
231 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
232 the local name of "soapenc:Array".
233 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
234 decoding integer, byte and anyURI xsd types.
235
1fc6097b
CY
2362012-04-25 Chong Yidong <cyd@gnu.org>
237
238 * cus-edit.el (custom-buffer-create-internal): Update header text.
239
afc6df87
EZ
2402012-04-25 Eli Zaretskii <eliz@gnu.org>
241
242 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
243 settings on 'system-type', not on 'window-system'. On MS-Windows,
244 set interactive-mode on in GDB.
245
dfbd787f
SM
2462012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
249 (ruby-syntax-propertize-regexp): Remove.
250 (ruby-syntax-propertize-function): Split regexp into chunks.
251 Match following code directly.
252
85222d44
DG
2532012-04-24 Dmitry Gutov <dgutov@yandex.ru>
254
51a8ea2a
DG
255 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
256 (ruby-syntax-propertize-regexp): New function.
257 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
258 by a special keyword.
259
85222d44
DG
260 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
261 (ruby-syntax-general-delimiters-goto-beg)
262 (ruby-syntax-propertize-general-delimiters): New functions.
263 (ruby-syntax-propertize-function): Use them to handle GDL.
264 (ruby-font-lock-keywords): Move old handling of GDL...
265 (ruby-font-lock-syntactic-keywords): .. to here.
266 (ruby-calculate-indent): Adjust indentation for GDL.
267
b613912b
MA
2682012-04-24 Michael Albinus <michael.albinus@gmx.de>
269
b5380639
MA
270 * notifications.el (top): Remove unneeded declarations.
271 (notifications-specification-version): Change to "1.2".
e43042fe 272 (notifications-interface, notifications-notify-method)
b613912b
MA
273 (notifications-close-notification-method): Fix docstring.
274 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
275 (notifications-notify): Add :action-items, :resident and
276 :transient hints. Change "image_data" to "image-data" and
277 "image_path" to "image-path".
b613912b
MA
278 (notifications-get-capabilities): New defun.
279
257440aa
LL
2802012-04-24 Leo Liu <sdl.web@gmail.com>
281
282 * progmodes/python.el: Move hideshow setup to the end.
283
b1bac16e
MR
2842012-04-24 Martin Rudalics <rudalics@gmx.at>
285
286 * window.el (handle-select-window): Clear echo area since this is
287 no more done by read_char (Bug#11304).
288
d81bd059
SM
2892012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
292 and `/ M' to filter-derived-mode.
293 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
294 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
295 (ibuffer-mark-by-mode): Use default rather than initial-input.
296 (ibuffer-filter-by-derived-mode): Autoload and require-match.
297
c4cf6d91
IA
2982012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
299
300 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
301 (ibuffer-filter-by-derived-mode): New filter.
302 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
303
7511ded8
CY
3042012-04-23 Andreas Politz <politza@fh-trier.de>
305
306 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
307
775c916b
CY
3082012-04-23 Chong Yidong <cyd@gnu.org>
309
310 * cus-edit.el (customize-apropos, customize-apropos-options):
311 Disable matching of non-option variables (Bug#11176).
312 (customize-option, customize-option-other-window)
313 (customize-changed-options): Doc fix.
314 (customize-apropos-options, customize-apropos-faces)
315 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
316
317 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 318 Fix word list splitting (Bug#11132).
46c71e23
CY
319 (apropos-symbol, apropos-keybinding, apropos-label)
320 (apropos-property, apropos-function-button)
321 (apropos-variable-button, apropos-misc-button): New faces.
322 (apropos-symbol-face, apropos-keybinding-face)
323 (apropos-label-face, apropos-property-face, apropos-match-face):
324 Variables removed (Bug#8396).
325 (apropos-library-button, apropos-format-plist, apropos-print)
326 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 327
2df41f9c
MA
3282012-04-23 Michael Albinus <michael.albinus@gmx.de>
329
330 * net/xesam.el (xesam-mode-map): Use let-bound map in
331 initialization. (Bug#11292)
332
da00640a
AM
3332012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
334
335 Preserve ispell session localwords when switching back to
336 original buffer.
337
338 * ispell.el (ispell-buffer-session-localwords): New buffer-local
339 variable to hold buffer session localwords.
340 (ispell-kill-ispell): add option 'clear to delete session
341 localwords.
342 (ispell-command-loop, ispell-change-dictionary)
343 (ispell-buffer-local-words): Preserve session localwords when
344 needed.
345
346 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
347 Preserve session localwords when needed.
348
f621ccf5
AM
3492012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
350
351 * ispell.el (ispell-insert-word) Remove unneeded function using
352 obsolete `translation-table-for-input'.
ef24141c
SM
353 (ispell-word, ispell-process-line, ispell-complete-word):
354 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 355
c2d1019e
CY
3562012-04-22 Chong Yidong <cyd@gnu.org>
357
358 * cus-edit.el (custom-variable-menu)
359 (custom-variable-reset-saved, custom-face-menu)
360 (custom-face-reset-saved): If there is no saved value, make the
361 "reset-saved" operation bring back the default (Bug#9509).
362 (custom-face-state): Properly detect themed faces.
363
eeddc531
CY
364 * faces.el (face-spec-set): Stop supporting deprecated form of
365 third arg.
366
dcbf5805
MA
3672012-04-22 Michael Albinus <michael.albinus@gmx.de>
368
369 Move functions from C to Lisp. Make non-blocking method calls
370 the default. Implement further D-Bus standard interfaces.
371
ef24141c
SM
372 * net/dbus.el (dbus-message-internal): Declare function.
373 Remove unneeded function declarations.
dcbf5805
MA
374 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
375 (dbus-message-type-method-return, dbus-message-type-error)
376 (dbus-message-type-signal): Declare variables. Remove local
377 definitions.
378 (dbus-interface-dbus, dbus-interface-peer)
379 (dbus-interface-introspectable, dbus-interface-properties)
380 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
381 Adapt docstring.
382 (dbus-interface-objectmanager): New defconst.
383 (dbus-call-method, dbus-call-method-asynchronously)
384 (dbus-send-signal, dbus-method-return-internal)
385 (dbus-method-error-internal, dbus-register-service)
386 (dbus-register-signal, dbus-register-method): New defuns, moved
387 from dbusbind.c
388 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
389 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
390 New defuns.
dcbf5805
MA
391 (dbus-call-method-non-blocking): Make it an obsolete function.
392 (dbus-unregister-object, dbus-unregister-service)
393 (dbus-handle-event, dbus-register-property)
394 (dbus-property-handler): Obey the new structure of
395 `bus-registered-objects'.
396 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
397 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
398 Use `dbus-call-method'.
399
cf20dee0
CY
4002012-04-22 Chong Yidong <cyd@gnu.org>
401
402 * cus-edit.el (custom-commands, custom-reset-menu)
403 (Custom-reset-standard): Tweak labels.
404 (custom-reset-button-menu): Change default to t.
405 (custom-buffer-create-internal): For the custom-reset-button-menu
406 case, put the revert button first.
407 (custom-group-subtitle): New face.
408 (custom-group-value-create): Align docstring to a specific column.
409
410 * wid-edit.el (widget-documentation-link-add): Don't handle
411 indentation in this function.
412 (widget-documentation-string-indent-to): New function.
413 (widget-documentation-string-value-create): Use it.
414
415 * autorevert.el (auto-revert):
416 * epg-config.el (epg):
417 * ibuffer.el (ibuffer):
418 * mpc.el (mpc):
419 * ses.el (ses):
420 * eshell/eshell.el (eshell):
421 * net/ange-ftp.el (ange-ftp):
422 * progmodes/ebnf2ps.el (postscript):
423 * progmodes/flymake.el (flymake):
424 * progmodes/prolog.el (prolog):
425 * progmodes/verilog-mode.el (verilog-mode):
426 * progmodes/which-func.el (which-func):
427 * term/xterm.el (xterm):
428 * textmodes/picture.el (picture):
429 * textmodes/tildify.el (tildify):
430 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
431 customization buffers.
432
583e23bd
AM
4332012-04-22 Alan Mackenzie <acm@muc.de>
434
435 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
436 Adding a ) can hide the resulting (..) from searches. Fix it.
437 Bound the backward search to the position of the existing (.
438
7dd51bf1
JB
4392012-04-21 Juanma Barranquero <lekktu@gmail.com>
440
441 * progmodes/verilog-mode.el (verilog-mode): Check whether
442 which-func-modes is t before adding verilog-mode.
443 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
444
d64a438f
LL
4452012-04-21 Leo Liu <sdl.web@gmail.com>
446
7dd51bf1 447 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 448
081e8d65
MV
4492012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
450
451 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
452 filling of the last column of a table (Bug#5635).
453 (woman-find-next-control-line): New arg, specifying an additional
454 regexp component for the control line.
455 (woman2-roff-buffer): Use it.
456 (woman-break-table): New function.
457 (woman2-TS): Use it.
458
4592012-04-21 Chong Yidong <cyd@gnu.org>
460
461 * woman.el (woman-set-buffer-display-table, woman-decode-region)
462 (woman-horizontal-escapes, woman-negative-vertical-space)
463 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
464 (WoMan-warn-ignored): Use ?\s instead of ?\ .
465
ed571ccb
SM
4662012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * minibuffer.el (completion-file-name-table): Complete user names.
469
39773899
LL
4702012-04-20 Leo Liu <sdl.web@gmail.com>
471
472 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
473 and pcase-let*.
474
de6ff46d
CY
4752012-04-20 Chong Yidong <cyd@gnu.org>
476
477 * server.el (server-execute): Respect initial-buffer-choice if it
478 is a string and there are no files to open (Bug#2825).
479 (server-create-window-system-frame, server-create-tty-frame):
480 Don't switch buffers here.
2d0e8e61
CY
481 (server-process-filter): Only try to open a window system frame if
482 compiled with graphical support (Bug#8314).
de6ff46d 483
54071013
DN
4842012-04-20 Dan Nicolaescu <dann@gnu.org>
485
486 * battery.el (battery-echo-area-format): Display remaining time
487 for sysfs backend too (Bug#11269).
488 (battery-linux-sysfs): Fix conditional for the charge.
489
f30d612a
CY
4902012-04-20 Chong Yidong <cyd@gnu.org>
491
c07a4c0b 492 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
493 (gdb-inferior-io--init-proc): New function.
494 (gdb-init-1): Use it.
495 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
496 responsible for allocating a new pty and hooking it to gdb when
497 the old pty gets an EIO due to process exit.
498 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
499 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
500 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
501
2116e93c
EZ
5022012-04-20 Eli Zaretskii <eliz@gnu.org>
503
504 * window.el (window-min-size, window-sizable, window-min-delta)
505 (window-max-delta, window--resizable, window-resizable)
506 (window-total-size, window-full-height-p, window-full-width-p)
507 (window-in-direction, window--resize-mini-window, window-resize)
508 (window--resize-child-windows-normal)
509 (window--resize-child-windows, window--resize-siblings)
510 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 511 (enlarge-window, shrink-window): Doc fixes.
2116e93c 512
c07a4c0b 5132012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 514
ef24141c
SM
515 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
516 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
517 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
518 pty process (Bug#11273).
519 (gdb-update): New arg to suppress talking to the gdb process.
520 (gdb-done-or-error): Use it.
521 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
522 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
523 sentinel not being called.
524
525 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
526
d02766ab
CY
527 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
528
c07a4c0b 5292012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
530
531 * net/network-stream.el (open-network-stream): Doc fix.
532
c07a4c0b 5332012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
534
535 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
536
c07a4c0b 5372012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
538
539 Ensure searching for keywords is case sensitive.
540
541 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
542 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
543 (c-defun-name, c-mark-function, c-cpp-define-name)
544 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 545 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 546
ef24141c
SM
547 * progmodes/cc-mode.el (c-font-lock-fontify-region):
548 Bind case-fold-search to nil.
f0f6bc35 549
c07a4c0b 5502012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
551
552 * mail/sendmail.el (mail-bury): Call return action with the right
553 Rmail buffer (Bug#11242).
554
9a864fa2
CY
555 * server.el (server-process-filter): Handle corner case where both
556 tty and nowait options are present (Bug#11102).
557
539aa513
EZ
5582012-04-20 Eli Zaretskii <eliz@gnu.org>
559
560 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
561 (top level): Put into the executable the ident-style '$Id:' tag on
562 windows-nt as well.
539aa513 563
cfc7d5da
SM
5642012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * electric.el (electric-indent-post-self-insert-function): Check that
567 electric-indent-mode is enabled in current buffer.
568
5b01685c
JB
5692012-04-19 Juanma Barranquero <lekktu@gmail.com>
570
571 * imenu.el (imenu-progress-message): Restore; it is "used" in
572 erc/erc-imenu.el and net/snmp-mode.el.
573
4d6769e1
JB
5742012-04-19 Juanma Barranquero <lekktu@gmail.com>
575
576 * avoid.el (mouse-avoidance-mode): Mark unused arg.
577 (mouse-avoidance-nudge-mouse): Remove unused binding.
578
579 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
580
581 * descr-text.el (describe-char):
582 * progmodes/python.el (python-describe-symbol):
583 Don't call `toggle-read-only', set `buffer-read-only'.
584
585 * imenu.el (imenu-default-goto-function): Mark unused args.
586 (imenu-progress-message): Remove obsolete macro; all callers changed.
587
588 * subr.el (keymap-canonicalize): Remove unused binding.
589 (read-passwd): Mark unused arg.
590
591 * tutorial.el (tutorial--display-changes): Remove unused binding.
592 (tutorial--save-tutorial-to): Remove unused variable.
593
594 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
595 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
596 (package-generate-autoloads, package-menu--generate)
597 (package-menu--find-upgrades): Remove unused bindings.
598
599 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
600 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
601 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
602 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
603 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
604 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
605 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
606 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
607 (cua-delete-char-rectangle): Mark unused args.
608 (cua-align-rectangle): Remove unused binding.
609
610 * mail/rmail.el (compilation--message->loc)
611 (epa--find-coding-system-for-mime-charset): Declare.
612
613 * net/dbus.el (dbus-register-service): Declare.
614 (dbus-name-owner-changed-handler): Remove unused binding.
615
616 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
617 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
618 (nxml-scan-backward-within): Mark unused arg.
619 (nxml-dynamic-markup-word): Remove unused binding.
620
621 * mouse.el (mouse-menu-major-mode-map):
622 * emacs-lisp/authors.el (authors-scan-change-log)
623 (authors-add-to-author-list):
624 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
625 * emacs-lisp/smie.el (smie-auto-fill):
626 * mail/sendmail.el (mail-bury):
627 * mail/unrmail.el (unrmail):
628 * net/tls.el (open-tls-stream):
629 * textmodes/picture.el (picture-mouse-set-point):
630 Remove unused bindings.
631
8c8fc5df
MA
6322012-04-19 Michael Albinus <michael.albinus@gmx.de>
633
634 * net/tramp.el (tramp-action-password): Let-bind
635 `enable-recursive-minibuffers' to t.
636
a77b0ac9
SS
6372012-04-18 Sam Steingold <sds@gnu.org>
638
639 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
640 instead of 'string to accommodate values like [f11].
641 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
642 * progmodes/gdb-mi.el: Likewise.
643
12a106a9
LL
6442012-04-18 Leo Liu <sdl.web@gmail.com>
645
646 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
647 current buffer.
648 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
649 LOCAL is nil.
650
bc6494ef
CY
6512012-04-18 Chong Yidong <cyd@gnu.org>
652
653 * simple.el (line-move): Use forward-line if in batch mode
654 (Bug#11053).
655
c09c46b2
CS
6562012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
657
658 * files.el (after-find-file): Do not try to add a final newline if
659 the buffer is read-only (Bug#11156).
660
5f6530ea
RS
6612012-04-17 Richard Stallman <rms@gnu.org>
662
663 * mail/rmail.el (rmail-start-mail):
664 Pass (rmail-mail-return...) for the return-action.
665 Pass (rmail-yank-current-message...) for the yank-action.
666 (rmail-yank-current-message): New function.
667 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
668 (rmail-reply): Likewise.
669 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
670
671 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 672 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
673 buffer, not newbuf.
674
197b6f3c
JB
6752012-04-17 Juanma Barranquero <lekktu@gmail.com>
676
677 * server.el (server-ensure-safe-dir): Simplify.
678
2311d8e5 6792012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 680
2311d8e5
GM
681 * emacs-lisp/smie.el: Provide smarter auto-filling.
682 (smie-auto-fill): New function.
683 (smie-setup): Use it.
98fb480e 684
2311d8e5
GM
685 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
686
6872012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
688
689 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
690 (comment-indent): Use it.
691
2311d8e5 6922012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
693
694 * ses.el: The overall change is to add cell renaming, that is
695 setting fancy names for cell symbols other than name matching
696 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 697 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 698 (ses-create-cell-variable): New defun.
2311d8e5 699 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
700 (ses-relocate-formula): Relocate formulas only for cells the
701 symbols of which are not renamed, i.e. symbols whose names do not
702 match regexp "\\`[A-Z]+[0-9]+\\'".
703 (ses-relocate-all): Relocate values only for cells the symbols of
704 which are not renamed.
705 (ses-load): Create cells variables as the (ses-cell ...) are read,
706 in order to check row col consistency with cell symbol name only
707 for cells that are not renamed.
708 (ses-replace-name-in-formula): New defun.
709 (ses-rename-cell): New defun.
4bdf2ad2 710
fc72b15c
PO
7112012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
712
713 * progmodes/perl-mode.el (perl-indent-parens-as-block):
714 New option (bug#11118).
715 (perl-calculate-indent): Respect it.
716
12e10e61
GM
7172012-04-17 Glenn Morris <rgm@gnu.org>
718
719 * dired-aux.el (dired-mark-read-string): Doc fix.
720
30009afd
DA
7212012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
722
723 * dired-aux.el (dired-mark-read-string): Offer optional completion.
724 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
725
41f03f4d
GM
7262012-04-17 Glenn Morris <rgm@gnu.org>
727
728 * mouse.el (mouse-drag-track):
729 * speedbar.el (speedbar-frame-mode):
730 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
731
f45f90f3
LL
7322012-04-16 Leo Liu <sdl.web@gmail.com>
733
734 * progmodes/python.el: Trivial cleanup.
735
94ee8db5
GM
7362012-04-16 Glenn Morris <rgm@gnu.org>
737
121b8917
GM
738 * vc/vc.el (vc-string-prefix-p):
739 * vc/pcvs-util.el (cvs-string-prefix-p):
740 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
741 * mpc.el (mpc-string-prefix-p):
742 Make all of these into obsolete aliases for string-prefix-p.
743 Update callers.
744 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
745
1197ecfa
GM
746 * textmodes/two-column.el: Move custom options to the start.
747 (frame-width): Remove compat definition.
748 (2C-associate-buffer, 2C-dissociate):
749 Use with-current-buffer rather than save-excursion.
750 (2C-dissociate): Force a mode-line update.
751 (2C-autoscroll): Use ignore-errors.
752
099e7202
GM
753 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
754 Autoload trivia.
755
bf350d6a
GM
756 * emacs-lisp/cl-extra.el (*random-state*):
757 Remove unnecessary declaration.
758
0e829eab
GM
759 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
760
e3ad7552
GM
761 * play/cookie1.el (cookie-snarf):
762 Give an explicit error if input file cannot be read.
763
68892d27
GM
764 * play/yow.el (yow-file): Use expand-file-name rather than concat.
765
20f0c46d
GM
766 * progmodes/perl-mode.el (c-macro-expand):
767 Remove unnecessary autoload (it is in loaddefs.el).
768
5a0978ce
GM
769 * textmodes/picture.el (picture-desired-column)
770 (picture-update-desired-column): Convert comments to doc-strings.
771 (picture-substitute): Remove function.
772 (picture-mode-map): Initialize in the defvar.
773
6b955486
GM
774 * woman.el: Remove eval-after-load for tar-mode.
775 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
776 (woman-tar-extract-file): Autoload it.
777
94ee8db5
GM
778 * frame.el (automatic-hscrolling): Make this alias obsolete.
779
177eca34
AM
7802012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
781
782 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 783 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
784 (ispell-dictionary-base-alist): Revert to original XEmacs
785 friendly version for default. [:alpha:] will be added in
786 `ispell-set-spellchecker-params' if needed
177eca34 787
c505aaeb
CY
7882012-04-16 Chong Yidong <cyd@gnu.org>
789
790 * image.el (imagemagick--extension-regexp): New variable.
791 (imagemagick-register-types): Use it.
792 (imagemagick-types-inhibit): Add :set function. Allow new value
793 of t to inhibit all types.
794
795 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
796 so we can preload it.
797
798 * loadup.el (fboundp): Preload regexp-opt, needed by
799 imagemagick-register-types.
800
60efac0f
CY
8012012-04-15 Chong Yidong <cyd@gnu.org>
802
803 * frame.el (scrolling): Remove nearly unused customization group.
804
805 * scroll-all.el (scroll-all-mode): Move to windows group.
806
5dd1713e
CY
8072012-04-15 Chong Yidong <cyd@gnu.org>
808
809 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
810
e6fd457e
CY
8112012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 814 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 815
e153c136
GM
8162012-04-15 Glenn Morris <rgm@gnu.org>
817
818 * simple.el (process-file-side-effects): Doc fix.
819
e6fd457e 8202012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
821
822 * international/mule-cmds.el (set-language-environment): Doc fix.
823
3603c3b1
JB
8242012-04-14 Juanma Barranquero <lekktu@gmail.com>
825
826 * server.el (server-auth-key, server-generate-key): Doc fixes.
827 (server-get-auth-key): Doc fix. Use `string-match-p'.
828 (server-start): Reflow docstring.
829
e6de100c
LI
8302012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
831
832 * server.el (server-generate-key): `called-interactively-p'
833 requires a parameter.
834
29734c21
MN
8352012-04-14 Michal Nazarewicz <mina86@mina86.com>
836
837 * server.el (server-auth-key): New variable.
75f1671a 838 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
839 (server-start): Use the new variable and functions to allow
840 setting a permanent server key (bug#9423).
841
d65c9521
LL
8422012-04-14 Leo Liu <sdl.web@gmail.com>
843
844 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
845
5ae255c7
PE
8462012-04-14 Paul Eggert <eggert@cs.ucla.edu>
847
848 Spelling fixes.
849 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
850 Emacs uses American spelling.
851
d5e6342e
JB
8522012-04-14 Juanma Barranquero <lekktu@gmail.com>
853
854 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
855 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
856 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
857 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
858
ab036cd7
SM
8592012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * progmodes/which-func.el (which-func-modes): Change default.
862
35dc09a1 8632012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
864
865 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
866 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
867
35dc09a1 8682012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
869
870 * custom.el (custom-theme-set-variables): Doc fix.
871
35dc09a1 8722012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
873
874 * international/mule.el (set-auto-coding-for-load): Doc fix.
875
35dc09a1 8762012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 877
35dc09a1
GM
878 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
879 imenu work again for Objective C Mode. Correct the *-index values,
880 these having been disturbed by a previous change in 2011-08.
57f845ee 881
0de3da9f
AM
882 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
883 Correct two search limits.
884
35dc09a1 8852012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
886
887 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
888
35dc09a1 8892012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
890
891 * international/characters.el: Fix sorting.
892
35dc09a1 8932012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
894
895 * international/characters.el: Add more missing Latin case pairs.
896
35dc09a1 8972012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
898
899 * files.el (dir-locals-set-class-variables): Doc fix.
900
35dc09a1 9012012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 902
3f1b5bf8
EZ
903 * international/characters.el: Add set-case-syntax-pair call for
904 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
905 counterpart. (Bug#11209)
906
9f847f41
EZ
907 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
908
35dc09a1 9092012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
910
911 * calendar/holidays.el (calendar-check-holidays): Doc fix.
912
35dc09a1 9132012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 914
35dc09a1
GM
915 * textmodes/ispell.el (ispell-dictionary-base-alist):
916 Add data for Hebrew.
e2627d21 917
35dc09a1 9182012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 919
35dc09a1
GM
920 * net/rcirc.el (rcirc-cmd-quit):
921 Revert 2012-03-18 change (Bug#11192).
5c14e333 922
35dc09a1 9232012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
924
925 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
926
35dc09a1 9272012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 928
4517fe3a
SM
929 * minibuffer.el (completion-in-region-mode-map):
930 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 931
b472a594
VD
9322012-04-13 Vivek Dasmohapatra <vivek@etla.org>
933
934 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
935
09b95ce3
MY
9362012-04-13 Masatake YAMATO <yamato@redhat.com>
937
938 * minibuffer.el (minibuffer-local-filename-syntax): New variable
939 to allow `C-M-f' and `C-M-b' to move to the nearest path
940 separator (bug#9511).
941
4b63a9ca
LI
9422012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
943
944 * avoid.el: Require cl when compiling. And also move the
945 `provide' to the end.
946
7b55b8bf
TV
9472012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
948
949 * avoid.el (mouse-avoidance-banish-position): New variable.
950 (mouse-avoidance-banish-destination): Use it (bug#10165).
951
adedaa1f
LL
9522012-04-13 Leo Liu <sdl.web@gmail.com>
953
954 * progmodes/which-func.el (which-func-modes): Add objc-mode.
955
70e74021
KB
9562012-04-13 Ken Brown <kbrown@cornell.edu>
957
958 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 959 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
960 (browse-url-filename-alist): For the same reason, don't modify
961 file:// URLs on Cygwin.
962
e75e89ba
SM
9632012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
966 the region on shift if the binding is already shifted (bug#11221).
967
82f289a4
GM
9682012-04-12 Glenn Morris <rgm@gnu.org>
969
970 * mail/mailpost.el: Move to obsolete/.
971
d333dc4c
DA
9722012-04-12 Drew Adams <drew.adams@oracle.com>
973
974 * imenu.el (imenu--generic-function): Ignore invisible definitions
975 (bug#10123).
976
0d15b5ba
VD
9772012-04-12 Vivek Dasmohapatra <vivek@etla.org>
978
979 * hexl.el (hexl-bits): New variable.
980 (hexl-options): Mention the variable in the doc string.
75f1671a 981 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 982 (hexl-mode): Mention the new variable.
75f1671a
JB
983 (hexl-mode, hexl-current-address, hexl-current-address):
984 Use the displen.
0d15b5ba
VD
985 (hexl-ascii-start-column): New function.
986 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
987 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
988
64a440db
AM
9892012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
990
991 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
992 '("-i" ENCODING), in 2 separate command-line arguments, to specify
993 the encoding, as expected by hunspell.
994
6decb6c2
SM
9952012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * battery.el (battery--linux-sysfs-regexp): New const.
998 (battery-status-function): Use it. Remove yeeloong special case.
999 (battery-yeeloong-sysfs): Remove.
1000 (battery-echo-area-format): Remove yeeloong special case.
1001
088be6fb
SM
10022012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1003
6622e416
SM
1004 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1005 Reported by Noah Friedman.
1006
088be6fb
SM
1007 * subr.el (read-passwd): Use read-string.
1008
b49f886e
LMI
10092012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1010
1011 * vcursor.el (vcursor-move): Increase the priority of the overlay
1012 (bug#9663).
1013
a63067fc
DD
10142012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1015
1016 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1017 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1018
ac3cf14a
WS
10192012-04-11 William Stevenson <yhvh2000@gmail.com>
1020
1021 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1022 define-minor-mode (bug#10760).
1023
c4fc691b 10242012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1025
4d6769e1 1026 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1027 that directories matching `grep-find-ignored-files' won't be
1028 pruned (bug#10351).
1029
af23e2e5
CY
10302012-04-11 Chong Yidong <cyd@gnu.org>
1031
1032 * startup.el (command-line): Remove support for long-obsolete
1033 variable font-lock-face-attributes.
1034
ab7ce8c1
GM
10352012-04-11 Glenn Morris <rgm@gnu.org>
1036
1037 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1038
de8c03dc
SM
10392012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * window.el (window--state-get-1): Obey window-point-insertion-type.
1042
050cc68b
LB
10432012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1044
1045 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1046 to previous function when point is on the first character of a
75f1671a 1047 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1048
a38c310c
GM
10492012-04-11 Glenn Morris <rgm@gnu.org>
1050
effed0c2
GM
1051 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1052 not just file-errors.
1053
a38c310c
GM
1054 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1055 (vc-bzr-sha1): Use internal sha1.
1056
0221e323
SM
10572012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1060
43956923
SG
10612012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1062
1063 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1064 that start in the middle of the line (bug#10496).
1065
6a8c9eaf
DN
10662012-04-10 Dan Nicolaescu <dann@gnu.org>
1067
1068 * battery.el (battery-linux-proc-acpi): Only one battery is
1069 discharged at a time, but that seems to confuse battery.el when
1070 computing `rate-type' for the battery not being discharged
1071 (bug#10332).
1072
1930bf5d
SM
10732012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1074
2a718f6f
SM
1075 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1076
599430d0
SM
1077 * international/quail.el: Use dolist and simplify.
1078 (quail-define-package, quail-update-keyboard-layout)
1079 (quail-define-rules): Use dolist.
1080 (quail-insert-kbd-layout, quail-get-translation): CSE.
1081
a2754b6c
SM
1082 * tmm.el: Use dolist, remove left over hook.
1083 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1084 Use dolist.
1085 (calendar-load-hook): Don't mess with it.
1086
1930bf5d
SM
1087 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1088 Use derived-mode-p. Run the diff asynchronously.
1089
9f67961c
LMI
10902012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1091
1092 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1093
2a8ce227
JB
10942012-04-10 Juanma Barranquero <lekktu@gmail.com>
1095
1096 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1097 (list-dynamic-libraries--loaded): New function.
1098 (list-dynamic-libraries--refresh): Use it.
1099
8f33b5f8
NW
11002012-04-10 Nathan Weizenbaum <nweiz@google.com>
1101
1930bf5d
SM
1102 * progmodes/python.el (python-fill-paragraph):
1103 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1104 disabled (bug#7018).
1105
b12f0439
L
11062012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1107
1930bf5d 1108 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1109 DOS/MS Windows for the Baltic languages. There are still plenty
1110 of texts written in this encoding/codepage (bug#6519).
b12f0439 1111
57c3bd01
GM
11122012-04-10 Glenn Morris <rgm@gnu.org>
1113
1114 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1115 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1116
6c3eab30
FA
11172012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1118
1930bf5d 1119 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1120 next-line "n" and previous-line "p" in order to make recentf more
1121 consistent with ibuffer, dired or org-mode (bug#9387).
1122
24d78a88
LMI
11232012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1124
bc72b5d9
LMI
1125 * image.el (put-image): Return the overlay created instead of the
1126 optional input string (bug#7834). Note that this may break code
1127 that is (for some reason or other) depending on `put-image'
1128 returning the string.
1129
bd2dba5a
LMI
1130 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1131
74beb59f
LMI
1132 * simple.el (zap-to-char): Allow zapping using input methods
1133 (bug#1580).
1134
24d78a88
LMI
1135 * textmodes/fill.el (fill-region): Leave point and mark where they
1136 were before filling (bug#5399).
1137
263f20cd
GM
11382012-04-09 Glenn Morris <rgm@gnu.org>
1139
1140 * version.el (emacs-bzr-get-version):
1141 Handle lightweight checkouts of local branches.
1142
58d1f797
AS
11432012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1144
263f20cd 1145 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1146
b4d3bc10
CY
11472012-04-09 Chong Yidong <cyd@gnu.org>
1148
1149 * custom.el (custom-variable-p): Return nil for non-symbol
1150 arguments instead of signaling an error.
1151 (user-variable-p): Obsolete alias for custom-variable-p.
1152
1153 * apropos.el (apropos-variable):
1154 * files-x.el (read-file-local-variable):
1155 * simple.el (set-variable):
1156 * woman.el (woman-mini-help):
1157 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1158
fd06db5d
GM
11592012-04-09 Glenn Morris <rgm@gnu.org>
1160
e5fcdb5e
GM
1161 * startup.el (normal-top-level): Don't look for leim-list.el
1162 in places where it will not be found. (Bug#910)
1163
fd06db5d
GM
1164 * international/mule-cmds.el (set-default-coding-systems):
1165 * files.el (normal-mode):
1166 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1167 This function was removed with ucs-tables.el in 2008.
1168
b39bb7e1
EZ
11692012-04-08 Eli Zaretskii <eliz@gnu.org>
1170
1171 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1172 ispell-encoding8-command to "-i", without a trailing space.
1173 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1174 separate command-line arguments, to specify the encoding, since
1175 that's how hunspell expects it.
1176
5c5b8e23
GM
11772012-04-08 Glenn Morris <rgm@gnu.org>
1178
1179 * loadup.el: Load bindings before cus-start.
1180 This reduces somewhat the number of "rogue" settings in emacs -Q.
1181
a1ed8b05
GM
11822012-04-07 Glenn Morris <rgm@gnu.org>
1183
1184 * version.el (emacs-bzr-get-version): New function.
dfae128a 1185 (emacs-bzr-version): New variable.
a1ed8b05
GM
1186 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1187 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1188
b142f158
EZ
11892012-04-07 Eli Zaretskii <eliz@gnu.org>
1190
dfae128a
GM
1191 * international/uni-bidi.el, international/uni-category.el:
1192 * international/uni-combining.el, international/uni-decimal.el:
1193 * international/uni-decomposition.el, international/uni-digit.el:
1194 * international/uni-lowercase.el, international/uni-mirrored.el:
1195 * international/uni-name.el, international/uni-numeric.el:
1196 * international/uni-titlecase.el, international/uni-uppercase.el:
1197 Update for Unicode 6.1.
b142f158 1198
9078ead6
EZ
11992012-04-07 Eli Zaretskii <eliz@gnu.org>
1200
1201 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1202
f23d2c7d
LMI
12032012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1204
1205 * window.el (shrink-window): Mention the `window-min-height'
1206 variable in the doc string.
1207
0a0a3573
BG
12082012-04-05 Bastien Guerry <bzg@altern.org>
1209
1210 * color.el (color-lighten-name): Fix typo.
1211
e5248ac9
SM
12122012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * server.el (server--on-display-p): New function.
1215 (server--on-display-p): Use it.
1216
b4243e22
GV
12172012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1218
1219 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1220 (bug#11145).
1221
305d9f44
SM
12222012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * comint.el (comint--common-quoted-suffix): Check string boundary
1225 before comparing (bug#11158).
1226 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1227
3d439cd1
CY
12282012-04-04 Chong Yidong <cyd@gnu.org>
1229
321cc491
CY
1230 * minibuffer.el (completion-extra-properties): Doc fix.
1231
3d439cd1
CY
1232 * subr.el (delayed-warnings-hook): Doc fix.
1233
2d562c0f
DU
12342012-04-04 Daiki Ueno <ueno@unixuser.org>
1235
1236 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1237 selection (Bug#11159).
1238 (epa-insert-keys): Inform that the default public key will be
1239 exported if no key is selected.
1240
4443f204
RS
12412012-04-04 Richard Stallman <rms@gnu.org>
1242
1243 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1244
529c06b6
CY
12452012-04-03 Chong Yidong <cyd@gnu.org>
1246
1247 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1248 mail-insert-file, not its obsolete alias mail-attach-file.
1249
66b907dc
MA
12502012-04-03 Michael Albinus <michael.albinus@gmx.de>
1251
1252 * notifications.el (notifications-notify): Fix docstring.
1253
c0ea195d
GM
12542012-04-02 Glenn Morris <rgm@gnu.org>
1255
1256 * emacs-lisp/authors.el (authors-aliases): Another addition.
1257
5ca64e00
MA
12582012-04-02 Michael Albinus <michael.albinus@gmx.de>
1259
1260 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1261 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1262 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1263
42ee526b
CY
12642012-04-01 Chong Yidong <cyd@gnu.org>
1265
1266 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1267 Handle root directory properly.
1268 (copy-directory): Caller changed.
1269
1270 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1271 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1272
0b021094
GM
12732012-03-31 Glenn Morris <rgm@gnu.org>
1274
40f86458
GM
1275 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1276
7019c177
GM
1277 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1278
a1daddd6
GM
1279 * calendar/calendar.el (calendar-window-list)
1280 (calendar-hide-window): Restore. (Bug#11140)
1281 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1282
0b021094
GM
1283 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1284
40311efc
TV
12852012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1286
1287 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1288 Check if file is a symlink (Bug#10489).
1289
1290 * files.el (copy-directory): Likewise.
1291
5319014e
CY
12922012-03-30 Chong Yidong <cyd@gnu.org>
1293
1294 * image.el (imagemagick-types-inhibit)
1295 (imagemagick-register-types): Doc fix.
1296
935d1290
AM
12972012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1298
ef24141c
SM
1299 * ispell.el (ispell-get-extended-character-mode):
1300 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1301 and treats ~word as ordinary words in pipe mode.
935d1290 1302
61c6e8fd
GM
13032012-03-30 Glenn Morris <rgm@gnu.org>
1304
1305 * tutorial.el (help-with-tutorial): Ensure local variables don't
1306 happen to make the buffer read-only. (Bug#11127)
1307
81fdff00
SM
13082012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1311 (perl-calculate-indent): Return `noindent' in strings.
1312
6e7a6ec0
SS
13132012-03-28 Sam Steingold <sds@gnu.org>
1314
1315 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1316 instead of the broken adhockery which does not prevent calendar
1317 buffers from being displayed at random after exit.
1318 (calendar-window-list, calendar-hide-window): Remove the broken
1319 adhockery.
1320
fee88ca0
GM
13212012-03-28 Glenn Morris <rgm@gnu.org>
1322
1323 * replace.el (query-replace-map): Doc fix.
1324
38de3354
AS
13252012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1326
1327 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1328 contents. (Bug#11109)
1329
b973155e
SM
13302012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1333 (bug#11077).
1334 (avl-tree--check, avl-tree--check-node): New funs.
1335
dcb6e7b3
MR
13362012-03-27 Martin Rudalics <rudalics@gmx.at>
1337
1338 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1339 (switch-to-prev-buffer, switch-to-next-buffer):
1340 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1341 showing a buffer already is done on the same frame.
1342
b4fa35fa
GM
13432012-03-27 Glenn Morris <rgm@gnu.org>
1344
1345 * startup.el (mail-host-address): Doc fix.
1346
f9210e18
SM
13472012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1348
1349 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1350 than 197 variables.
1351
c0bf7753
AF
13522012-03-26 Ami Fischman <ami@fischman.org>
1353
1354 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1355
33da7b16
GM
13562012-03-26 Glenn Morris <rgm@gnu.org>
1357
02243d9d
GM
1358 * files.el (save-buffers-kill-emacs): Doc fix.
1359
33da7b16
GM
1360 * startup.el (normal-top-level, command-line, command-line-1):
1361 Give them doc strings.
1362
e5a69fd0
EZ
13632012-03-25 Eli Zaretskii <eliz@gnu.org>
1364
1365 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1366 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1367
9a69676a
CY
13682012-03-25 Chong Yidong <cyd@gnu.org>
1369
4125cb8b
CY
1370 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1371 theme if it was previously enabled before (Bug#11031).
1372
dd470960
CY
1373 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1374 spec with custom-face-get-current-spec if its :shown-value is not
1375 determined yet (Bug#9337).
4125cb8b 1376 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1377
9a69676a
CY
1378 * button.el (button-at): Minor addition to docstring.
1379
6e7e90fa
SL
13802012-03-24 Simon Leinen <simon.leinen@gmail.com>
1381
1382 * vc/vc.el (vc-merge): Fix a prompt.
1383
f06e2758
CY
13842012-03-24 Chong Yidong <cyd@gnu.org>
1385
1386 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1387 point (Bug#9623).
1388
6e7e90fa
SL
1389 * button.el (button-at): Minor addition to docstring.
1390
b9d0879b
SM
13912012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * newcomment.el (comment-choose-indent): No space after BOL.
1394
e71cebb3
SS
13952012-03-22 Sam Steingold <sds@gnu.org>
1396
1397 * window.el (switch-to-prev-buffer): Revert last patch because the
1398 bug turned out to be an advertised feature (Elisp manual 28.14).
1399
335aff35
GM
14002012-03-22 Glenn Morris <rgm@gnu.org>
1401
1402 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1403 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1404
c676576a
LMI
14052012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1406
1407 * net/network-stream.el (network-stream-open-starttls): Make error
1408 message under Windows be less misleading.
1409
126f3d39
LW
14102012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1411
1412 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1413 understands (bug#9942).
1414
64fee311
CY
14152012-03-22 Chong Yidong <cyd@gnu.org>
1416
1417 * simple.el (end-of-visible-line): Handle return value of
1418 next-single-property-change properly (Bug#9371).
1419
a640d29a
KH
14202012-03-22 Kenichi Handa <handa@m17n.org>
1421
1422 * international/quail.el (quail-insert-kbd-layout): Fix previous
1423 change. To avoid unwanted bidi reordering, use
1424 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1425
39675016
DG
14262012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1427
1428 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1429 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1430 (ruby-beginning-of-indent): Be more careful with the difference
1431 between word-boundary and symbol boundary.
1432 (ruby-mode-syntax-table): Make : a symbol constituent.
1433
0a6934fc 14342012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1435
3d008e4f
SM
1436 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1437
0a6934fc
SM
14382012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1439
af67c9d7
SM
1440 * progmodes/etags.el (tags-completion-at-point-function):
1441 Improve last fix.
1442
1acad97c
SM
1443 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1444
e298b5da
SS
14452012-03-21 Sam Steingold <sds@gnu.org>
1446
1447 * progmodes/etags.el (tags-completion-at-point-function):
1448 Avoid the error when point is inside the pattern.
1449
91d82a70
JY
14502012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1451
1452 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1453 line (Bug#10855).
1454
69188b79
CY
14552012-03-21 Drew Adams <drew.adams@oracle.com>
1456
1457 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1458
99fc91fe
AK
14592012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1460
1461 * ido.el (ido-set-current-directory, ido-read-internal)
1462 (ido-choose-completion-string, ido-completion-help): Handle nil
1463 value of ido-completion-buffer (Bug#11008).
1464
087bbb4c
SS
14652012-03-21 Sam Steingold <sds@gnu.org>
1466
1467 * window.el (switch-to-prev-buffer): Do not switch to a visible
1468 window previous buffer, just like with the frame previous buffers.
1469
fb5b8aca
CY
14702012-03-21 Chong Yidong <cyd@gnu.org>
1471
1472 * faces.el (make-face, make-empty-face, copy-face):
1473 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1474 Doc fixes.
1475
dc9924b8
SM
14762012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1479 (widget-complete): Remove broken use of it.
1480
f0bcceb9
CY
14812012-03-20 Chong Yidong <cyd@gnu.org>
1482
dc9924b8
SM
1483 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1484 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1485 characters.
1486
ee52ebf3
TH
14872012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1488
1489 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1490 to draw rectangles, not squares. (Regression introduced by revno
1491 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1492
4c5779ab
CY
14932012-03-18 Chong Yidong <cyd@gnu.org>
1494
1495 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1496 it is not yet defined (for temacs).
1497
15360934
LL
14982012-03-18 Leo Liu <sdl.web@gmail.com>
1499
dc9924b8 1500 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1501
d9a8eb66
EZ
15022012-03-17 Eli Zaretskii <eliz@gnu.org>
1503
1504 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1505 (ispell-choices-win-default-height, ispell-silently-savep)
1506 (ispell-dictionary-alist, ispell-encoding8-command)
1507 (ispell-check-version, ispell-aspell-find-dictionary)
1508 (ispell-valid-dictionary-list, ispell-words-keyword)
1509 (ispell-get-word, ispell-internal-change-dictionary)
1510 (ispell-region, ispell-skip-region-list)
1511 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1512 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1513 (ispell-message-text-end, ispell-message)
1514 (ispell-buffer-local-parsing): Doc fix.
1515
f02ff80d
J
15162012-03-13 Jambunathan K <kjambunathan@gmail.com>
1517
1518 * htmlfontify.el: Add support for code block fontification for ODT
1519 export (Bug #9914).
1520 (hfy-optimisations): Define new option
1521 `body-text-only'
1522 (hfy-fontify-buffer): Honor above setting.
1523 (hfy-begin-span, hfy-end-span): New routines factored out form
1524 `hfy-fontify-buffer'.
1525 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1526 that permit insertion of custom tags.
1527 (hfy-fontify-buffer): Use above handlers.
1528 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1529 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1530 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1531 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1532 bind a special variable `hfy-user-sheet-assoc'.
1533 (htmlfontify-string): New defun.
1534 (hfy-compile-face-map): Make sure that the last char in the
1535 buffer is correctly fontified.
1536 (hfy-face-resolve-face): Whitespace only change.
1537
9ac7a13f
EZ
15382012-03-17 Eli Zaretskii <eliz@gnu.org>
1539
1540 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1541 message more clear.
1542
e2b5bdd7
LL
15432012-03-16 Leo Liu <sdl.web@gmail.com>
1544
1545 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1546
2e492df3
AM
15472012-03-16 Alan Mackenzie <acm@muc.de>
1548
1549 Further optimise the handling of large macros.
1550
1551 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1552 limit to a call of `c-literal-limits'.
1553 (c-determine-+ve-limit): New function.
dc9924b8
SM
1554 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1555 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1556 In CASE 5B, restrict a search limit to 500.
1557 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1558
1559 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1560 Restrict macro bounds to +-500 from after-change's BEG END.
1561
50e94f0c
LL
15622012-03-16 Leo Liu <sdl.web@gmail.com>
1563
1564 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1565
6f09f6ed
AH
15662012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1567
1568 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1569 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1570
c7e73d51
GM
15712012-03-16 Glenn Morris <rgm@gnu.org>
1572
da986230
GM
1573 * view.el (view-buffer, view-buffer-other-window)
1574 (view-buffer-other-frame): Doc fixes re special mode-class.
1575
0835f01e
GM
1576 * subr.el (eval-after-load): If named feature is provided not from
1577 a file, run after-load forms. (Bug#10946)
1578
c7e73d51
GM
1579 * calendar/calendar.el (calendar-insert-at-column):
1580 Handle non-unit-width characters a bit better. (Bug#10978)
1581
3f2eafd1
CY
15822012-03-15 Chong Yidong <cyd@gnu.org>
1583
1584 * emacs-lisp/ring.el (ring-extend): New function.
1585 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1586
1587 * comint.el (comint-read-input-ring)
1588 (comint-add-to-input-history): Grow comint-input-ring lazily.
1589
103af3fe
SM
15902012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1591
663b1677
SM
1592 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1593 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1594
103af3fe
SM
1595 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1596 (imenu-add-to-menubar): Don't add a redundant index.
1597 (imenu-update-menubar): Handle a dynamically composed keymap.
1598
899cb7cb
KY
15992012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1600
1601 * mail/sendmail.el (mail-encode-header):
1602 Bind rfc2047-encode-encoded-words to nil.
1603
3809f91d
GM
16042012-03-13 Glenn Morris <rgm@gnu.org>
1605
1606 * calendar/calendar.el (calendar-string-spread):
1607 Handle non-unit-width characters a bit better. (Bug#10978)
1608
9e345a01
LL
16092012-03-13 Leo Liu <sdl.web@gmail.com>
1610
1611 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1612 directory and file as argument (Bug#10822).
1613
4a07df36
KS
16142012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1615
1616 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1617 For dynamically generated code, follow $PC.
1618 (gdb-disassembly-handler-custom): Handle no function name case.
1619
4aaa9356
TL
16202012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1621
1622 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1623 * emulation/ws-mode.el (ws-query-replace):
1624 * sort.el (sort-regexp-fields):
1625 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1626
225979da
SM
16272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * dabbrev.el: Fix cycle completion order (bug#10963).
1630 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1631 (dabbrev-completion): Don't use an obarray; provide
1632 a cycle-sort-function.
1633
e2f1fdab
LL
16342012-03-12 Leo Liu <sdl.web@gmail.com>
1635
dc9924b8 1636 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1637 (kill-do-not-save-duplicates): Doc fix.
1638
b19490ed
SM
16392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * dabbrev.el: Fix cycle completion (bug#10963).
1642 Use lexical binding and wrap to 80 columns.
1643 (dabbrev-completion): Delay computing the list of completions.
1644
4b05d722
KH
16452012-03-12 Kenichi Handa <handa@m17n.org>
1646
1647 * international/quail.el (quail-insert-kbd-layout): Surround each
1648 row by LRO and PDF instead of inserting many LRMs. Pad the left
1649 and right of each non-spacing marks. Insert invisible space
1650 between lower and upper characters to prevent composition.
1651
dbbc2e69
SM
16522012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * minibuffer.el (minibuffer-complete): Don't get confused when the
1655 function is run twice via different commands (bug#10958).
1656 (complete-with-action): Fix docstring.
1657
292112ed
CY
16582012-03-12 Chong Yidong <cyd@gnu.org>
1659
5d1ac394
CY
1660 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1661 (nxml-completion-at-point-function): New function.
1662 (nxml-mode): Use it.
1663 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1664
292112ed
CY
1665 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1666 Load generated autoloads file before byte compiling (Bug#10970).
1667 (package--make-autoloads-and-compile): New helper fun.
1668
4098f8f7
CS
16692012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1670
1671 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1672
8f754691
MA
16732012-03-11 Michael Albinus <michael.albinus@gmx.de>
1674
1675 * autorevert.el (auto-revert-handler): Ensure, that
1676 file-readable-p is applied only for local files or in
1677 auto-revert-tail-mode.
1678
e29ab36b
AS
16792012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1680
dbbc2e69
SM
1681 * server.el (server-eval-at): Handle non-tcp connections.
1682 Decode result string.
ad0bf5b6 1683
e29ab36b
AS
1684 * server.el (server-msg-size): New constant.
1685 (server-reply-print): New function.
1686 (server-eval-and-print): Use it.
1687 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1688 Handle -print-nonl.
1689
de5939ba
CS
16902012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1691
1692 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1693 (Bug#10987).
1694
0c93eabf
CY
16952012-03-11 Chong Yidong <cyd@gnu.org>
1696
397a688f
CY
1697 * simple.el (goto-line): Doc fix (Bug#9938).
1698
2cc775f9
CY
1699 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1700
0c93eabf
CY
1701 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1702 when finished (Bug#10963).
1703
c491fa41
MR
17042012-03-11 Martin Rudalics <rudalics@gmx.at>
1705
1706 * window.el (split-window-below): Fix bug in case where
1707 split-window-keep-point is nil (Bug#10971).
1708
300e8fa5
JL
17092012-03-11 Juri Linkov <juri@jurta.org>
1710
1711 * replace.el (replace-highlight): Set isearch-word to nil
1712 unconditionally. (Bug#10887)
1713
dbf6c5a1
EZ
17142012-03-10 Eli Zaretskii <eliz@gnu.org>
1715
1716 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1717 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1718 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1719 (mairix-widget-create-query): Add usage information about mairix
1720 search forms: negating words, searching for substrings, etc.
1721
b9e501de
JP
17222012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1723
1724 * international/fontset.el (font-encoding-alist): Add an entry for
1725 ksx1001 (Bug#5667).
1726
92795c91
RS
17272012-03-10 Richard Stallman <rms@gnu.org>
1728
1694e6c1
RS
1729 * mail/sendmail.el (mail-encode-header):
1730 Set rfc2047-encode-encoded-words.
1731
607e8555
RS
1732 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1733
de3bc99a
RS
1734 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1735 view buffer means not swapped.
1736 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1737 (rmail-write-region-annotate): Error if real text has disappeared.
1738
92795c91
RS
1739 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1740
699bd04e
CY
17412012-03-10 Chong Yidong <cyd@gnu.org>
1742
1743 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1744 * emulation/cua-base.el (cua--init-keymaps):
1745 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1746
570a1714
MR
17472012-03-10 Martin Rudalics <rudalics@gmx.at>
1748
dbbc2e69
SM
1749 * speedbar.el (speedbar-unhighlight-one-tag-line):
1750 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1751
82dcf4e4
CY
17522012-03-10 Chong Yidong <cyd@gnu.org>
1753
7a2c7ca7
CY
1754 * minibuffer.el (completion-in-region, completion-help-at-point):
1755 Give the completion field overlay a high priority (Bug#6830).
1756
82dcf4e4
CY
1757 * dired.el (dired-goto-file): Recognize absolute file name
1758 listings (Bug#7126).
1759 (dired-goto-file-1): New helper function.
1760 (dired-toggle-read-only): Inhibit warnings.
1761
052e28ac
MA
17622012-03-09 Michael Albinus <michael.albinus@gmx.de>
1763
75f1671a 1764 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1765 there are no properties.
1766
95d5e396
LL
17672012-03-09 Leo Liu <sdl.web@gmail.com>
1768
1769 * savehist.el (savehist-printable): Stricter check for string
1770 value (Bug#10937).
1771
3f018d6d
EZ
17722012-03-09 Eli Zaretskii <eliz@gnu.org>
1773
dbbc2e69
SM
1774 * mail/smtpmail.el (smtpmail-send-it):
1775 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1776 valid mbox format.
1777
f7fd3d79
GM
17782012-03-09 Glenn Morris <rgm@gnu.org>
1779
1780 * files.el (dir-locals-find-file):
1781 Don't check result is regular, readable.
1782 (dir-locals-read-from-file): Demote errors.
1783
6ff6e72f
EZ
17842012-03-08 Eli Zaretskii <eliz@gnu.org>
1785
dbbc2e69
SM
1786 * international/quail.el (quail-insert-kbd-layout):
1787 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1788 layout cell, to prevent their reordering by bidi display engine.
1789 For details, see the discussion in
1790 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1791
9cec7834
AM
17922012-03-08 Alan Mackenzie <acm@muc.de>
1793
1794 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1795 the starting position; make it extend the marked region when
1796 invoked repeatedly - all under appropriate circumstances.
1797 Fixes bugs #5525, #10906.
1798
9a40b8d4
GM
17992012-03-08 Glenn Morris <rgm@gnu.org>
1800
1801 * files.el (locate-dominating-file, dir-locals-find-file):
1802 Undo 2012-03-06 change.
1803
7a08ed35
EZ
18042012-03-07 Eli Zaretskii <eliz@gnu.org>
1805
dbbc2e69
SM
1806 * international/quail.el (quail-help):
1807 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1808 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1809 for the reason.
1810
5aca4f71 18112012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1812
1813 Avoid superfluous registering of signals. (Bug#10807)
1814
1815 * notifications.el (notifications-on-action-object)
1816 (notifications-on-close-object): New defvars.
1817 (notifications-on-action-signal, notifications-on-closed-signal):
1818 Unregister the signal if not needed any longer.
1819 (notifications-notify): Register `notifications-action-signal' or
1820 `notifications-closed-signal', if :on-action or :on-close has been
1821 passed as argument.
1822
78e8b10a
CY
18232012-03-07 Chong Yidong <cyd@gnu.org>
1824
1825 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1826 non-X platforms.
1827
69481eb8
GM
18282012-03-06 Glenn Morris <rgm@gnu.org>
1829
1830 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1831 (x-disown-selection-internal, x-get-selection-internal):
1832 Doc fix (add arglist signatures). (Bug#10783)
1833
133b8e11
KS
18342012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1835
1836 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1837 Handle breakpoints with no "type".
1838
99a83064
GM
18392012-03-06 Glenn Morris <rgm@gnu.org>
1840
1841 * files.el (locate-dominating-file): Add optional predicate argument.
1842 (dir-locals-find-file): Make use of above change.
1843
17798e78
TTN
18442012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1845
1846 * info.el (Info-insert-dir): Also try "dir.gz".
1847
eb182446
GM
18482012-03-06 Glenn Morris <rgm@gnu.org>
1849
8f2114ee
GM
1850 * files.el (dir-locals-find-file):
1851 Ignore non-readable or non-regular files. (Bug#10928)
1852
eb182446
GM
1853 * files.el (locate-dominating-file): Doc fix.
1854
24679323
AS
18552012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1856
1857 * calendar/calendar.el (calendar-set-mode-line):
1858 `getenv' returns a string. (Bug#10951)
1859
01d972a9
LL
18602012-03-05 Leo Liu <sdl.web@gmail.com>
1861
109aa8a9
LL
1862 * simple.el (backward-delete-char-untabify): Constrain point to
1863 field (Bug#10939).
1864
01d972a9
LL
1865 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1866
10607bea
CY
18672012-03-05 Chong Yidong <cyd@gnu.org>
1868
1869 * simple.el (count-words): If called from Lisp, return the word
1870 count, for symmetry with `count-lines'. Arglist changed.
1871 (count-words--message): Args changed. Consolidate counting code
1872 from count-words and count-words-region.
1873 (count-words-region): Caller changed.
1874 (count-lines-region): Make it an obsolete alias.
1875
5dd11cfe
TH
18762012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1877
1878 * saveplace.el (save-place-to-alist)
1879 (save-place-ignore-files-regexp): Allow value nil to disable this
1880 feature.
1881
c349f4e6
CY
18822012-03-04 Chong Yidong <cyd@gnu.org>
1883
1884 * faces.el (face-spec-reset-face): For the default face, reset the
1885 attributes to default values (Bug#10748).
1886
e627be4c
LMI
18872012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1888
1889 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1890 previous patch: Check `message-send-mail-function', and not the
1891 default function (bug#10897).
1892
ebeabff4
MA
18932012-03-04 Michael Albinus <michael.albinus@gmx.de>
1894
a41a6cf4
MA
1895 * notifications.el (notifications-on-action-signal)
1896 (notifications-on-closed-signal): Check for unique service name of
1897 incoming event. Fix error in removing entry.
ebeabff4 1898 (top): Register for signals with wildcard service name.
a41a6cf4 1899 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1900
c1ca42b4
CY
19012012-03-04 Chong Yidong <cyd@gnu.org>
1902
dc9924b8 1903 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1904
ea16568d
GM
19052012-03-04 Glenn Morris <rgm@gnu.org>
1906
1907 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1908 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1909 (expand-abbrev, define-abbrev-table): Doc fixes.
1910
fbae4637
LMI
19112012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1912
1913 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1914 `message-default-send-mail-function' and not `send-mail-function'
1915 when doing the prompting for `sendmail-query-once' before sending
1916 in Message buffers (bug#10897).
1917
a1e7225c
LMI
1918 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1919 This is inconsistent with all the other stream functions, which leave
1920 the setting up to the higher levels (if so wanted) (bug#10931).
1921
56d093a9
AM
19222012-03-02 Alan Mackenzie <acm@muc.de>
1923
1924 Depessimize the handling of very large macros.
1925
1926 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1927 (c-macro-cache-syntactic): New variables to implement a one
1928 element macro cache.
1929 (c-invalidate-macro-cache): New function.
1930 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1931 Adapt to use the new cache.
1932 (c-state-safe-place): Use better the cache of safe positions.
1933 (c-state-semi-nonlit-pos-cache)
1934 (c-state-semi-nonlit-pos-cache-limit):
1935 New variables for...
1936 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1937 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1938 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1939 Use c-state-semi-safe-place.
56d093a9 1940
dbbc2e69
SM
1941 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1942 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1943
817e5c3d
MA
19442012-03-02 Michael Albinus <michael.albinus@gmx.de>
1945
dbbc2e69
SM
1946 * jka-compr.el (jka-compr-call-process):
1947 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1948 not remote.
1949
a032a702
MA
19502012-03-01 Michael Albinus <michael.albinus@gmx.de>
1951
1952 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1953 access of FILE2, if FILE1 does not exist.
1954
99a54f21
MA
1955 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1956 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1957
1958 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1959 Add "PAGER=" to `process-environment'.
1960
f6561e1f
MM
19612012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1962
1963 * progmodes/sql.el: Bug fix
1964 (sql-get-login-ext): Save login values in globals.
1965 (sql-get-login): Use new version of `sql-get-login-ext'.
1966 (sql-interactive-mode): Set global `sql-connection' to nil.
1967 (sql-connect): Set global values for connection.
1968 (sql-product-interactive): Save global values as buffer local.
1969
2d44d9cc
LL
19702012-02-29 Leo Liu <sdl.web@gmail.com>
1971
1972 * abbrev.el (define-abbrevs): Reset sys to nil.
1973
96b49301 19742012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1975
bf7f9bc5
JB
1976 * files.el (file-equal-p): Rename from `files-equal-p'.
1977 Return nil when one or both files don't exist.
96b49301 1978 (file-subdir-of-p): Now only top directory must exists,
1979 return nil if it doesn't.
bf7f9bc5
JB
1980 (copy-directory): No need to test with `file-subdir-of-p' after
1981 creating dir.
1982 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1983 to `file-equal-p'.
96b49301 1984
44e97401
GM
19852012-02-28 Glenn Morris <rgm@gnu.org>
1986
1987 * shell.el (shell-mode):
1988 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1989 * play/landmark.el (landmark-font-lock-face-O):
1990 * play/handwrite.el (handwrite):
1991 * play/gomoku.el (gomoku-O):
1992 * net/browse-url.el (browse-url-browser-display):
1993 * international/mule.el (define-charset):
1994 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1995 * filesets.el (filesets-find-file-delay):
1996 * eshell/em-xtra.el (eshell-xtra):
1997 * eshell/em-unix.el (eshell-grep):
1998 * emulation/viper.el (viper-mode):
1999 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2000 * emacs-lisp/easymenu.el (easy-menu-define):
2001 * calendar/timeclock.el (timeclock-use-display-time):
2002 * bs.el (bs-mode):
2003 * bookmark.el (bookmark-save-flag):
2004 Doc fix (standardize possessive apostrophe usage).
2005
c98c6276
CY
20062012-02-27 Chong Yidong <cyd@gnu.org>
2007
bf7f9bc5
JB
2008 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2009 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2010
c98c6276
CY
2011 * font-lock.el (font-lock-specified-p): Rename from
2012 font-lock-spec-present. Callers changed.
2013
9c62cd04 20142012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2015
bf7f9bc5
JB
2016 * emacs-lisp/package.el (package-compute-transaction):
2017 Handle holding a package version to t in package-load-list.
8ac9e529 2018
530739c9
MA
20192012-02-26 Michael Albinus <michael.albinus@gmx.de>
2020
2021 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2022 (tramp-get-inode, tramp-get-device): Use cached values.
2023
487915d7
AM
20242012-02-26 Alan Mackenzie <acm@muc.de>
2025
2026 Check there is a font-lock specification before doing initial
2027 fontification.
2028
2029 * font-core.el (font-lock-mode): Move the conditional from
2030 :after-hook to font-lock-initial-fontify.
2031 (font-lock-default-function): Move the check for a specification
2032 to font-lock-spec-present.
2033
dc9924b8 2034 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2035 (font-lock-spec-present): New function.
2036
4fd96557
JB
20372012-02-26 Jim Blandy <jimb@red-bean.com>
2038
2039 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2040 (gdb-send): Apply it to the operand of the '-interpreter-exec
2041 console' command, so that we can pass arguments with (say) quotes
2042 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2043
9a4888c0
CY
20442012-02-26 Chong Yidong <cyd@gnu.org>
2045
07498861
CY
2046 * help-fns.el (describe-function-1): Clarify description of
2047 remapping (Bug#10844).
2048
9a4888c0
CY
2049 * files.el (files-equal-p): Doc fix.
2050 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2051 and quit the loop once a mismatch is found.
2052
ea8fb88d
JB
20532012-02-25 Juanma Barranquero <lekktu@gmail.com>
2054
2055 * bs.el (bs--show-with-configuration): Don't throw an error
2056 if the window cannot be split; otherwise, subsequent calls to
2057 bs-show fail, restoring a stale window config. (Bug#10882)
2058
525795c1
JD
20592012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2060
2061 * term/ns-win.el (global-map): Bind ns-drag-file to
2062 ns-find-file (Bug#5855, Bug#10050).
2063
f008086f
AS
20642012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2065
2066 * calendar/parse-time.el (parse-time-string): Allow extractor to
2067 return nil.
2068
a3fcfa99
MA
20692012-02-25 Michael Albinus <michael.albinus@gmx.de>
2070
91027d08
JB
2071 * net/tramp.el (tramp-file-name-for-operation):
2072 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2073
2074 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2075 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2076 Add COPY-CONTENTS argument.
a3fcfa99 2077
67b0de11
CY
20782012-02-25 Chong Yidong <cyd@gnu.org>
2079
2080 Add custom groups for VC backends, for consistency with vc-bzr.
2081
2082 * vc/vc-arch.el (vc-arch):
2083 * vc/vc-cvs.el (vc-cvs):
2084 * vc/vc-git.el (vc-git):
2085 * vc/vc-hg.el (vc-hg):
2086 * vc/vc-mtn.el (vc-mtn):
2087 * vc/vc-rcs.el (vc-rcs):
2088 * vc/vc-sccs.el (vc-sccs):
2089 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2090 All relevant defcustoms reassigned.
2091
3c9dfce6
CY
20922012-02-25 Chong Yidong <cyd@gnu.org>
2093
1339bf43
CY
2094 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2095
3c9dfce6
CY
2096 * term/x-win.el (x-initialize-window-system): Reduce default for
2097 x-selection-timeout to 5 seconds (Bug#8869).
2098
25b2e303 20992012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2100
ec70a47d
GM
2101 * files.el (files-equal-p, file-subdir-of-p): New functions.
2102 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2103 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2104 * dired-aux.el (dired-copy-file-recursive): Same.
2105 (dired-create-files): Modify destination when source is equal to
2106 dest when copying files.
53a46cd0 2107 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2108
914260cd
MA
21092012-02-24 Michael Albinus <michael.albinus@gmx.de>
2110
2111 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2112 (Bug#10874)
2113
2cb228f7
AM
21142012-02-23 Alan Mackenzie <acm@muc.de>
2115
2116 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2117 parameter "after-hook:" to allow the expansion to run code after
2118 the execution of the mode hooks.
2119
2120 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2121 from font-lock-mode-internal.
2cb228f7 2122
91027d08 2123 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2124 :after-hook.
2125
8f0fde21
SM
21262012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2127
3e88618b
SM
2128 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2129 (completion--cache-all-sorted-completions): New function.
2130 (completion-all-sorted-completions): Use it.
2131 (completion--do-completion, minibuffer-force-complete):
2132 Use it to re-instate the flush hook.
2133
8f0fde21
SM
2134 * icomplete.el (icomplete-completions): Replace last fix with a better
2135 one (bug#10850).
2136
8e911f6f
DG
21372012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2138
2139 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2140 when it might call us back infinitely (bug#10797).
2141
49fe4321
GM
21422012-02-23 Glenn Morris <rgm@gnu.org>
2143
2144 * minibuffer.el (completion-category-overrides): Doc fix.
2145
b291b572
SM
21462012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2149 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2150
31a9ef2e
GM
21512012-02-23 Glenn Morris <rgm@gnu.org>
2152
5e6e6794 2153 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2154 (authors-obsolete-files-regexps, authors-ignored-files)
2155 (authors-ambiguous-files, authors-renamed-files-alist):
2156 Add more entries.
2157
0bd1e074
JL
21582012-02-23 Juri Linkov <juri@jurta.org>
2159
2160 * isearch.el (isearch-occur): Sync interactive spec with occur's
2161 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2162
b617673c
JL
2163 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2164
19e9789e
JL
21652012-02-22 Juri Linkov <juri@jurta.org>
2166
2167 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2168 (ucs-insert): Doc fix. Check for hex digits in the string.
2169 Don't display `nil' in the error message. (Bug#10857)
2170
f41ce09d
AM
21712012-02-22 Alan Mackenzie <acm@muc.de>
2172
7a71b18d 2173 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2174
ac2eceee
GM
21752012-02-22 Glenn Morris <rgm@gnu.org>
2176
2177 * ffap.el (ffap-c-path):
2178 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2179
abd1f678
CY
21802012-02-22 Chong Yidong <cyd@gnu.org>
2181
2182 * custom.el (load-theme): Doc fix.
2183
f25aef2e
GM
21842012-02-22 Glenn Morris <rgm@gnu.org>
2185
2186 * dired-x.el (dired-guess-shell-alist-default):
2187 Remove escape sequences from nroff output. (Bug#172)
2188
5f8dc2ca
GM
21892012-02-21 Glenn Morris <rgm@gnu.org>
2190
6ff86ec4
GM
2191 * vc/emerge.el (emerge-defvar-local):
2192 Set `permanent-local' property rather than unused `preserved'.
2193
be3223a3 2194 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2195 (picture-mode-map): Use it. (Bug#10860)
2196 (picture-mode): Doc fix.
2197
3fe58f4f
JB
21982012-02-21 Juanma Barranquero <lekktu@gmail.com>
2199
2200 * newcomment.el (uncomment-region-default): Remove unused binding.
2201
f9a998c3
GM
22022012-02-21 Glenn Morris <rgm@gnu.org>
2203
2204 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2205 (picture-self-insert, picture-tab-chars): Doc fix.
2206 (picture-mode-map): Fix C-a, C-e.
2207
c6029348
GM
22082012-02-20 Glenn Morris <rgm@gnu.org>
2209
2210 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2211
ab1ce9d7
LL
22122012-02-20 Leo Liu <sdl.web@gmail.com>
2213
2214 * icomplete.el (icomplete-completions): Check FROM arg before
2215 passing to substring (Bug#10850).
2216
0fd40f89
CY
22172012-02-19 Chong Yidong <cyd@gnu.org>
2218
2219 * comint.el: Require ansi-color.
2220 (comint-output-filter-functions): Add ansi-color-process-output.
2221
2222 * ansi-color.el: Don't set comint-output-filter-functions; it is
2223 now in the initial value defined in comint.el.
2224 (ansi-color-apply-face-function): New variable.
2225 (ansi-color-apply-on-region): Use it.
2226 (ansi-color-apply-overlay-face): New function.
2227
2228 * shell.el (shell): No need to require ansi-color.
2229 (shell-mode): Use ansi-color-apply-face-function to highlight
2230 color escapes using font-lock-face property (Bug#10835).
2231
20af2394
CY
22322012-02-19 Chong Yidong <cyd@gnu.org>
2233
2234 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2235 mode-line formats (Bug#10839).
2236
e23a3fbe
GM
22372012-02-18 Glenn Morris <rgm@gnu.org>
2238
b474519e
GM
2239 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2240
2241 * mail/undigest.el (unforward-rmail-message): Doc fix.
2242
e23a3fbe
GM
2243 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2244
57939ff4
EZ
22452012-02-18 Eli Zaretskii <eliz@gnu.org>
2246
2247 * international/characters.el (script-list): Sync with the latest
2248 Unicode Character Database.
2249
0c23686e
AS
22502012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2251
2252 * international/titdic-cnv.el: Remove duplicate coding tag.
2253 * language/cham.el: Likewise.
2254 * language/tai-viet.el: Likewise.
2255
6818b449
GM
22562012-02-18 Glenn Morris <rgm@gnu.org>
2257
2258 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2259 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2260 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2261 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2262 * calendar/holidays.el (holiday-bahai-holidays)
2263 (calendar-holidays, list-holidays):
2264 Use utf-8 Bahá'í in doc-strings, menus, etc.
2265
0311a3fc
TH
22662012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2267
2268 * saveplace.el (save-place-ignore-files-regexp): New variable
2269 allowing for excluding files from saving their location of point.
2270 The default value matches the temporary commit message editing
2271 files from Git, SVN, Bazaar, and Mercurial.
2272 (save-place-to-alist): Use it.
2273
eb864a71
LM
22742012-02-17 Lawrence Mitchell <wence@gmx.li>
2275 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * newcomment.el (uncomment-region-default): Don't leave extra space
2278 when an arg is provided (bug#8150).
2279
ee0ce425
TZ
22802012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2281
eb864a71 2282 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2283
95ddf442
GM
22842012-02-17 Glenn Morris <rgm@gnu.org>
2285
2286 * net/socks.el: Require network-stream. (Bug#10599)
2287
48dd1e39 22882012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2289
2290 * international/charprop.el:
2291 * international/uni-name.el:
2292 * international/uni-old-name.el:
2293 * international/uni-comment.el: Regenerate.
2294
d68cd087
GM
22952012-02-16 Glenn Morris <rgm@gnu.org>
2296
2297 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2298 Interactively in calendar buffer, give an error if not on a date.
2299
13932042
GM
23002012-02-15 Glenn Morris <rgm@gnu.org>
2301
2302 * shell.el (shell-delimiter-argument-list):
2303 Revert 2011-02-17 change. (Bug#8027)
2304
c3a70e2b
CY
23052012-02-15 Chong Yidong <cyd@gnu.org>
2306
60236b0d
CY
2307 * minibuffer.el (completion-at-point-functions): Doc fix.
2308
c3a70e2b
CY
2309 * custom.el (defcustom): Doc fix; note use of defvar.
2310
9f26dc24
GM
23112012-02-15 Glenn Morris <rgm@gnu.org>
2312
2313 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2314 Doc fixes.
2315
6546b134
GM
23162012-02-14 Glenn Morris <rgm@gnu.org>
2317
2318 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2319
d29b2b4c
LI
23202012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2321
2322 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2323 way the ports list is computed.
835bdcba
LI
2324 (smtpmail-query-smtp-server): Prompt the user for a port number if
2325 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2326
08dcdbc9
TZ
23272012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2328
2329 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2330
2605051a
GM
23312012-02-13 Glenn Morris <rgm@gnu.org>
2332
2333 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2334
7ee99f32
TZ
23352012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2336
2337 * net/gnutls.el (gnutls-trustfiles): New variable.
2338 (gnutls-negotiate): Use it.
2339
5f0af64f
LI
23402012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2341
2342 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2343 does its stuff if Gnus is running.
2344
c14fcc95
AM
23452012-02-13 Alan Mackenzie <acm@muc.de>
2346
2347 Fix a loop in c-set-fl-decl-start.
2348
7a71b18d 2349 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2350 c-backward-syntactic-ws actually moves backwards.
2351
142b4d90
LL
23522012-02-13 Leo Liu <sdl.web@gmail.com>
2353
2354 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2355 beginning so that all \C-o chars are removed.
2356
fa9958a6
TZ
23572012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2358
dc9924b8 2359 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2360
0bc5886a
AM
23612012-02-12 Alan Mackenzie <acm@muc.de>
2362
2363 Fix infinite loop with long macros.
4d6769e1 2364 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2365
d4bd55e7
CY
23662012-02-12 Chong Yidong <cyd@gnu.org>
2367
2368 * window.el (display-buffer): Doc fix (Bug#10785).
2369
66f3fe22
GM
23702012-02-12 Glenn Morris <rgm@gnu.org>
2371
bd7da63e
GM
2372 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2373 (x-disown-selection-internal, x-get-selection-internal):
2374 Sync docs with the xselect.c versions.
2375
66f3fe22
GM
2376 * allout-widgets.el: Add missing license notice.
2377
3e0d2fa7
GM
23782012-02-11 Glenn Morris <rgm@gnu.org>
2379
cfecdf09
GM
2380 * select.el (x-get-selection-internal, x-own-selection-internal)
2381 (x-disown-selection-internal):
2382 * x-dnd.el (x-get-selection-internal): Update declarations.
2383
6d216d7f
GM
2384 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2385
2bed3f04
GM
2386 * window.el (window-sides-slots):
2387 * tool-bar.el (tool-bar-position):
2388 * term/xterm.el (xterm-extra-capabilities):
2389 * ses.el (ses-self-reference-early-detection):
2390 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2391 (verilog-auto-wire-type)
2392 (verilog-auto-delete-trailing-whitespace)
2393 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2394 (verilog-auto-tieoff-declaration):
2395 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2396 (sql-oracle-statement-starters, sql-oracle-scan-on):
2397 * progmodes/prolog.el (prolog-align-comments-flag)
2398 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2399 (prolog-left-indent-regexp, prolog-paren-indent-p)
2400 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2401 (prolog-types, prolog-mode-specificators)
2402 (prolog-determinism-specificators, prolog-directives)
2403 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2404 (prolog-electric-dot-flag)
2405 (prolog-electric-dot-full-predicate-template)
2406 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2407 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2408 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2409 (prolog-program-switches, prolog-prompt-regexp)
2410 (prolog-debug-on-string, prolog-debug-off-string)
2411 (prolog-trace-on-string, prolog-trace-off-string)
2412 (prolog-zip-on-string, prolog-zip-off-string)
2413 (prolog-use-standard-consult-compile-method-flag)
2414 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2415 (prolog-imenu-max-lines, prolog-info-predicate-index)
2416 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2417 (prolog-char-quote-workaround):
2418 * progmodes/cc-vars.el (c-defun-tactic):
2419 * net/tramp.el (tramp-encoding-command-interactive)
2420 (tramp-local-end-of-line):
2421 * net/soap-client.el (soap-client):
2422 * net/netrc.el (netrc-file):
2423 * net/gnutls.el (gnutls):
2424 * minibuffer.el (completion-category-overrides)
2425 (completion-cycle-threshold)
2426 (completion-pcm-complete-word-inserts-delimiters):
2427 * man.el (Man-name-local-regexp):
2428 * mail/feedmail.el (feedmail-display-full-frame):
2429 * international/characters.el (glyphless-char-display-control):
2430 * eshell/em-ls.el (eshell-ls-date-format):
2431 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2432 (lisp-lambda-list-keyword-parameter-indentation)
2433 (lisp-lambda-list-keyword-parameter-alignment):
2434 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2435 * dired-x.el (dired-omit-verbose):
2436 * cus-theme.el (custom-theme-allow-multiple-selections):
2437 * calc/calc.el (calc-highlight-selections-with-faces)
2438 (calc-lu-field-reference, calc-lu-power-reference)
2439 (calc-note-threshold):
2440 * battery.el (battery-mode-line-limit):
2441 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2442 (archive-7z-update):
2443 * allout.el (allout-prefixed-keybindings)
2444 (allout-unprefixed-keybindings)
2445 (allout-inhibit-auto-fill-on-headline)
2446 (allout-flattened-numbering-abbreviation):
2447 * allout-widgets.el (allout-widgets-auto-activation)
2448 (allout-widgets-icons-dark-subdir)
2449 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2450 (allout-widgets-theme-dark-background)
2451 (allout-widgets-theme-light-background)
2452 (allout-widgets-item-image-properties-emacs)
2453 (allout-widgets-item-image-properties-xemacs)
2454 (allout-widgets-run-unit-tests-on-load)
2455 (allout-widgets-time-decoration-activity)
2456 (allout-widgets-hook-error-post-time)
2457 (allout-widgets-track-decoration):
2458 Add missing :version tags to new defcustoms and defgroups.
2459
5fec1b8e
GM
2460 * progmodes/sql.el (sql-ansi-statement-starters)
2461 (sql-oracle-statement-starters): Add custom type.
2462
3e0d2fa7
GM
2463 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2464 (prolog-system-version): Give it a type.
2465
90b671e2
EZ
24662012-02-11 Eli Zaretskii <eliz@gnu.org>
2467
2468 * term/pc-win.el (x-select-text, x-selection-owner-p)
2469 (x-own-selection-internal, x-disown-selection-internal)
2470 (x-get-selection-internal): Sync doc strings and argument lists
2471 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2472
5eac0c02
LL
24732012-02-11 Leo Liu <sdl.web@gmail.com>
2474
2475 * progmodes/python.el (python-end-of-statement): Fix infinite
2476 loop. (Bug#10788)
2477
f82cb659
GM
24782012-02-10 Glenn Morris <rgm@gnu.org>
2479
2480 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2481 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2482
cc26d239
LI
24832012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2484
2485 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2486 about SMTP before checking the From header.
2487
91027d08 2488 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2489 into own function for reuse by emacsbug.el.
2490
1be3ca5a
LL
24912012-02-10 Leo Liu <sdl.web@gmail.com>
2492
2493 * subr.el (condition-case-unless-debug): Rename from
2494 condition-case-no-debug. All callers changed.
2495 (with-demoted-errors): Fix caller.
2496
2497 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2498 * nxml/rng-valid.el (rng-do-some-validation):
2499 * emacs-lisp/package.el (package-refresh-contents)
2500 (package-menu-execute):
2501 * desktop.el (desktop-create-buffer):
91027d08 2502 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2503
b011fbfe
GM
25042012-02-10 Glenn Morris <rgm@gnu.org>
2505
b2096d72
GM
2506 * textmodes/bibtex.el:
2507 Add missing :version tags for new/changed defcustoms.
2508
b011fbfe
GM
2509 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2510
4c7e65bf
LI
25112012-02-09 Lars Ingebrigtsen <larsi@rusty>
2512
2513 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2514 (smtpmail-via-smtp): Use it, or fall back on the From address.
2515 (smtpmail-send-it): Ditto.
2516
f3934f6f
SM
25172012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2518
2519 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2520 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2521 (byte-compile-tmp-var): New const.
2522 (byte-compile-defvar): Use it to minimize .elc size.
2523 Just use `defvar' rather than simulate it (bug#10761).
2524
a075a2c5
GM
25252012-02-09 Glenn Morris <rgm@gnu.org>
2526
cf3aa21b
GM
2527 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2528
354998cd
GM
2529 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2530 Add :version tags.
2531
dc9924b8
SM
2532 * progmodes/compile.el (compilation-error-screen-columns)
2533 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2534
dab3703d
GM
2535 * vc/log-view.el (log-view-toggle-entry-display):
2536 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2537
3f88cd72
GM
2538 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2539 (report-emacs-bug-can-use-xdg-email):
2540 (report-emacs-bug-insert-to-mailer): Doc fixes.
2541 (report-emacs-bug): Message fix.
2542
d95b247d
GM
2543 * net/browse-url.el (browse-url-can-use-xdg-open)
2544 (browse-url-xdg-open): Doc fixes.
2545
a075a2c5
GM
2546 * electric.el (electric-indent-mode, electric-pair-mode)
2547 (electric-layout-rules, electric-layout-mode): Doc fixes.
2548 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2549
ffb6157e
MR
25502012-02-08 Martin Rudalics <rudalics@gmx.at>
2551
2552 * server.el (server-unselect-display): Don't inadvertently kill
2553 the current buffer. (Bug#10729)
2554
e1ac4066
GM
25552012-02-08 Glenn Morris <rgm@gnu.org>
2556
34e8a2da
GM
2557 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2558 (sql-list-table): Doc fixes.
2559
b4ac6e8c
GM
2560 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2561 Comment out (does nothing).
2562
e1ac4066
GM
2563 * completion.el (dynamic-completion-mode):
2564 * dirtrack.el (dirtrack-debug-mode):
2565 * electric.el (electric-layout-mode):
2566 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2567 * face-remap.el (text-scale-mode, buffer-face-mode):
2568 * iimage.el (iimage-mode):
2569 * image-mode.el (image-transform-mode):
2570 * minibuffer.el (completion-in-region-mode):
2571 * scroll-lock.el (scroll-lock-mode):
2572 * simple.el (next-error-follow-minor-mode):
2573 * tar-mode.el (tar-subfile-mode):
2574 * tooltip.el (tooltip-mode):
2575 * vcursor.el (vcursor-use-vcursor-map):
2576 * wid-browse.el (widget-minor-mode):
2577 * emulation/tpu-edt.el (tpu-edt-mode):
2578 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2579 * international/iso-ascii.el (iso-ascii-mode):
2580 * language/thai-util.el (thai-word-mode):
2581 * mail/supercite.el (sc-minor-mode):
2582 * net/goto-addr.el (goto-address-mode):
2583 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2584 * progmodes/cwarn.el (cwarn-mode):
2585 * progmodes/flymake.el (flymake-mode):
2586 * progmodes/glasses.el (glasses-mode):
2587 * progmodes/hideshow.el (hs-minor-mode):
2588 * progmodes/pascal.el (pascal-outline-mode):
2589 * textmodes/enriched.el (enriched-mode):
2590 * vc/smerge-mode.el (smerge-mode):
2591 Doc fixes (minor mode argument).
2592
5e0d957f
EZ
25932012-02-07 Eli Zaretskii <eliz@gnu.org>
2594
2595 * ls-lisp.el (ls-lisp-sanitize): New function.
2596 (ls-lisp-insert-directory): Use it to fix or remove any elements
2597 in file-alist with missing attributes. (Bug#4673)
2598
98d7371e
AM
25992012-02-07 Alan Mackenzie <acm@muc.de>
2600
2601 Fix spurious recognition of c-in-knr-argdecl.
2602
2603 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2604 putative K&R region.
2605
667ced3a
AM
26062012-02-07 Alan Mackenzie <acm@muc.de>
2607
eb864a71
LM
2608 * progmodes/cc-engine.el (c-forward-objc-directive):
2609 Prevent looping in "#pragma mark @implementation".
667ced3a 2610
5b77774d
MA
26112012-02-07 Michael Albinus <michael.albinus@gmx.de>
2612
2613 * notifications.el (notifications-on-closed-signal): Make `reason'
2614 optional. (Bug#10744)
2615
af008560
GM
26162012-02-07 Glenn Morris <rgm@gnu.org>
2617
60d47423
GM
2618 * emacs-lisp/easy-mmode.el (define-minor-mode):
2619 Doc fixes for the macro and the mode it defines.
2620
dd605cc4
GM
2621 * image.el (imagemagick-types-inhibit): Doc fix.
2622
af008560
GM
2623 * cus-start.el (imagemagick-render-type): Add it.
2624
5cc59a37
LI
26252012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2626
4d6769e1
JB
2627 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2628 Set the default at load time, too, so that `font-lock-fontify-buffer'
2629 can be called without setting up the entire mode first. This fixes
2630 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2631
9a6dd747
CY
26322012-02-06 Chong Yidong <cyd@gnu.org>
2633
2d16b285
CY
2634 * simple.el (list-processes--refresh): Delete exited processes
2635 (Bug#8094).
2636
171e9b6e
CY
2637 * comint.el (comint-next-prompt): next-single-char-property-change
2638 and prev-single-char-property-change never return nil (Bug#8657).
2639
9a6dd747
CY
2640 * custom.el (defcustom): Doc fix (Bug#9711).
2641
aa4589a7
CY
26422012-02-05 Chong Yidong <cyd@gnu.org>
2643
5c2a252f
CY
2644 * cus-edit.el (custom-variable-reset-backup): Quote the value
2645 before storing it in the customized-value property (Bug#6712).
4aab9006 2646 (custom-display): Add a customization type tag.
983b9602 2647 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2648
aa4589a7
CY
2649 * wid-edit.el (widget-field-value-get): New optional arg to
2650 suppress trailing whitespace truncation.
2651 (character): Use it (Bug#2689).
2652
1ff980ae
AS
26532012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2654
2655 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2656 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2657
03988c98
CY
26582012-02-05 Chong Yidong <cyd@gnu.org>
2659
eeb6cc88
CY
2660 * cus-edit.el (custom-variable-value-create): For mismatched
2661 types, show the current value (Bug#7600).
2662
03988c98
CY
2663 * custom.el (defcustom): Doc fix.
2664
f8cdeef0
GM
26652012-02-05 Glenn Morris <rgm@gnu.org>
2666
2667 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2668
0696d255
JB
26692012-02-05 Juanma Barranquero <lekktu@gmail.com>
2670
2671 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2672 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2673 (pp-last-sexp): Use `looking-at-p'.
2674
34c99998
GM
26752012-02-04 Glenn Morris <rgm@gnu.org>
2676
8f05da42
GM
2677 * files.el (revert-buffer):
2678 Doc fix (mention revert-buffer-in-progress-p).
2679
f160676e
GM
2680 * emacs-lisp/ert-x.el (ert-simulate-command):
2681 Check deferred-action-list (which is obsolete) is bound.
2682
c7291ad9
GM
2683 * subr.el (with-wrapper-hook): Doc fixes.
2684
34c99998
GM
2685 * simple.el (filter-buffer-substring-functions)
2686 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2687
6283a7d3
LL
26882012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2689
2690 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2691 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2692
e96e3013
LL
26932012-02-04 Leo Liu <sdl.web@gmail.com>
2694
2695 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2696
8ded50f2
GM
26972012-02-04 Glenn Morris <rgm@gnu.org>
2698
82ff1d13
GM
2699 * image.el (image-extension-data): Add obsolete alias.
2700
987a0a16
GM
2701 * isearch.el (isearch-update): Doc fix.
2702
ea32ef46
GM
2703 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2704
8ded50f2
GM
2705 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2706
eea14f31
GM
27072012-02-03 Glenn Morris <rgm@gnu.org>
2708
2709 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2710 (image-animate-timeout): Doc fix.
2711
2712 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2713
12f381b7
GM
27142012-02-02 Glenn Morris <rgm@gnu.org>
2715
953cebf5
GM
2716 * server.el (server-auth-dir): Doc fix.
2717 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2718
12f381b7
GM
2719 * subr.el (run-mode-hooks): Doc fix.
2720
953a8c3b
JL
27212012-02-02 Juri Linkov <juri@jurta.org>
2722
2723 * image-mode.el (image-toggle-display-image): Remove tautological
2724 `major-mode' from the `derived-mode-p' test.
2725
c5d3843c
KH
27262012-02-02 Kenichi Handa <handa@m17n.org>
2727
9f6e692e 2728 * composite.el (compose-region): Cancel previous change.
c5d3843c 2729
159462d4 27302012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2731
2732 * composite.el (compose-region, compose-string): Signal error for
2733 a null string component (Bug#6988).
2734
9f562668
CY
27352012-02-01 Chong Yidong <cyd@gnu.org>
2736
e2cef717
CY
2737 * view.el (view-buffer-other-window, view-buffer-other-frame):
2738 Handle special modes like view-buffer (Bug#10650).
2739 (view-buffer): Simplify.
2740
9f562668
CY
2741 * frame.el (set-frame-font): Tweak meaning of third argument.
2742
9f6e692e
JB
2743 * dynamic-setting.el (font-setting-change-default-font):
2744 Use set-frame-font (Bug#9982).
9f562668 2745
781acb9f
GM
27462012-02-01 Glenn Morris <rgm@gnu.org>
2747
6035be52
GM
2748 * progmodes/compile.el (compilation-internal-error-properties):
2749 Respect compilation-first-column in the "*compilation*" buffer.
2750
781acb9f
GM
2751 * emacs-lisp/easy-mmode.el (define-minor-mode):
2752 Relax :variable's test for a named function.
2753
abbceb00
AM
27542012-01-31 Alan Mackenzie <acm@muc.de>
2755
2756 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2757 off by one error.
2758
fce3fdeb
CY
27592012-01-31 Chong Yidong <cyd@gnu.org>
2760
2761 * frame.el (set-frame-font): New arg ALL-FRAMES.
2762
2763 * menu-bar.el (menu-set-font): Use set-frame-font.
2764
2765 * faces.el (face-spec-reset-face): Don't apply unspecified
2766 attribute values to the default face.
2767
47893581
JB
27682012-01-31 Juanma Barranquero <lekktu@gmail.com>
2769
2770 * progmodes/cwarn.el (cwarn): Remove dead link.
2771 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2772 Remove * from defcustom docstrings.
2773 (turn-on-cwarn-mode): Make obsolete.
2774 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2775 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2776
e58e988a
GM
27772012-01-31 Glenn Morris <rgm@gnu.org>
2778
60dc2671 2779 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2780 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2781 Allow named functions to be used as the cdr of :variable.
e58e988a 2782
7a3f511d
GM
27832012-01-30 Glenn Morris <rgm@gnu.org>
2784
2785 * emacs-lisp/authors.el (authors-fixed-entries):
2786 Remove reference to deleted file rnewspost.el.
2787
cb882333
JB
27882012-01-29 Juanma Barranquero <lekktu@gmail.com>
2789
2790 * window.el (window-with-parameter): Remove unused variable `windows'.
2791 (window--side-check): Remove unused variable `code'.
2792 (window--resize-siblings): Remove unused variable `first'.
2793 (adjust-window-trailing-edge): Remove unused variable `failed'.
2794 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2795 Use `let', not `let*'.
2796 (balance-windows-2): Remove unused variable `found'.
2797 (window--state-put-2): Remove unused variable `splits'.
2798 (window-state-put): Remove unused variable `selected'.
2799 (same-window-p): Use `string-match-p'.
2800 (display-buffer-assq-regexp): Remove unused variable `value'.
2801 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2802 Mark argument ALIST as ignored.
2803 (pop-to-buffer): Remove unused variable `old-window'.
2804
907201af
EZ
28052012-01-29 Eli Zaretskii <eliz@gnu.org>
2806
2807 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2808 and .lzma compressed files.
2809
ea162670
CY
28102012-01-29 Chong Yidong <cyd@gnu.org>
2811
5b95ee8a
CY
2812 * frame.el (window-system-default-frame-alist): Doc fix.
2813
ea162670
CY
2814 * dynamic-setting.el (font-setting-change-default-font): Don't
2815 change the default face if SET-FONT argument is non-nil (Bug#9982).
2816
d6e6f4b1
SB
28172012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2818
2819 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2820
0f29fa41 28212012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2822
2823 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2824 breakpoints in files outside current directory (Bug#6098).
2825
db174434
CY
28262012-01-29 Chong Yidong <cyd@gnu.org>
2827
6b25e4e2
SE
2828 * progmodes/python.el: Require ansi-color at top-level.
2829
6df6ae42
JB
2830 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2831 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2832 (lisp-mode-abbrev-table): Add doc.
2833 (lisp-mode-variables): Don't set local-abbrev-table.
2834 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2835
e70ee681
RW
28362012-01-28 Roland Winkler <winkler@gnu.org>
2837
2838 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2839
ace88aa2
RW
28402012-01-28 Roland Winkler <winkler@gnu.org>
2841
2842 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2843 (bibtex-set-dialect): Use it. Either set global values of
2844 dialect-dependent variables or bind these variables buffer-locally
2845 (Bug#10254).
2846 (bibtex-mode): Call bibtex-set-dialect via
2847 hack-local-variables-hook.
eb864a71
LM
2848 (bibtex-dialect): Update docstring.
2849 Add safe-local-variable predicate.
ace88aa2
RW
2850 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2851 bibtex-set-dialect.
2852 (bibtex-mode-map): Define menu for each dialect.
2853 (bibtex-entry): Fix docstring.
2854
93376c5b
CY
28552012-01-28 Chong Yidong <cyd@gnu.org>
2856
2857 * eshell/esh-arg.el (eshell-quote-argument): New function.
2858
2859 * eshell/esh-ext.el (eshell-invoke-batch-file):
2860 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2861 first arg to eshell-parse-command (Bug#10523).
2862
4372494f
DA
28632012-01-28 Drew Adams <drew.adams@oracle.com>
2864
2865 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2866 `default-directory' is non-nil.
2867
4d4ec1f8
EZ
28682012-01-28 Eli Zaretskii <eliz@gnu.org>
2869
2870 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2871 line that displays system-configuration-options. (Bug#9924)
2872
7c188927
DA
28732012-01-28 Drew Adams <drew.adams@oracle.com>
2874
2875 * descr-text.el (describe-char): Show information about POS, in
2876 addition to information about the character at POS. Improve and
2877 update the doc string. Change "code point" to "code point in
2878 charset", to avoid confusion with the character's Unicode code
2879 point shown above that. (Bug#10129)
2880
e0da685a
EZ
28812012-01-28 Eli Zaretskii <eliz@gnu.org>
2882
2883 * descr-text.el (describe-char): Show the raw character, not only
2884 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2885 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2886 for the reasons.
2887
70550acf
PH
28882012-01-28 Phil Hagelberg <phil@hagelb.org>
2889
eb864a71
LM
2890 * emacs-lisp/package.el (package-install):
2891 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2892
0ce8e868
CY
28932012-01-28 Chong Yidong <cyd@gnu.org>
2894
cb882333
JB
2895 * emacs-lisp/package.el (package-maybe-load-descriptor):
2896 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2897 (package-maybe-load-descriptor): Use it.
2898 (package-download-transaction): Fully load required packages
2899 inside the loop, so that `require' calls work (Bug#10593).
2900 (package-install): No need to call package-initialize now.
2901
2e7f3bea
CY
29022012-01-28 Chong Yidong <cyd@gnu.org>
2903
6e9bad14
CY
2904 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2905
f823b8ca
CY
2906 * tooltip.el (tooltip-mode): Doc fix.
2907 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2908
2680c309
CY
2909 * frame.el (set-cursor-color): Doc fix (Bug#352).
2910
d7a9e63b
CY
2911 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2912 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2913
2e7f3bea
CY
2914 * cus-edit.el (custom-buffer-create-internal): Fix search button
2915 action (Bug#10542).
2ae01800 2916 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2917
fc4f7a23
EW
29182012-01-27 Eduard Wiebe <usenet@pusto.de>
2919
2920 * dired.el (dired-mark-files-regexp):
2921 Include any subdirectory components. (Bug#10445)
2922
7dd37071
ML
29232012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2924
2925 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2926 Handle [host]:port syntax. (Bug#10533)
2927
a268160b
AH
29282012-01-27 Alex Harsanyi <harsanyi@mac.com>
2929
2930 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2931
e43273ef
GM
29322012-01-26 Glenn Morris <rgm@gnu.org>
2933
2934 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2935 * term.el (term-raw-escape-map): Use Control-X-prefix.
2936 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2937
1edf595d
MR
29382012-01-25 Martin Rudalics <rudalics@gmx.at>
2939
2940 * window.el (window-state-get, window--state-get-1): Don't deal
2941 with fixed-sizeness of windows. Simplify code.
2942
fa8eafef
JC
29432012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2944
6df6ae42
JB
2945 * window.el (window--state-get-1, window--state-put-2):
2946 Don't save and restore the mark.
fa8eafef 2947
0b21c100
CY
29482012-01-25 Chong Yidong <cyd@gnu.org>
2949
2950 * custom.el (custom-variable-p): Doc fix.
2951
5ae1a6c8
GM
29522012-01-25 Glenn Morris <rgm@gnu.org>
2953
40047858
GM
2954 * dired.el (dired-goto-file): Handle some of the more common
2955 characters that `ls -b' escapes. (Bug#10596)
2956
5ddce96c
GM
2957 * progmodes/compile.el (compilation-next-error-function):
2958 Respect compilation-first-column in the "*compilation*" buffer.
2959 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2960
5ae1a6c8
GM
2961 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2962
b559f1a9
GM
29632012-01-24 Glenn Morris <rgm@gnu.org>
2964
2965 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2966
6725d21a
JD
29672012-01-24 Julien Danjou <julien@danjou.info>
2968
2969 * color.el (color-rgb-to-hsl): Fix value computing.
2970 (color-hue-to-rgb): New function.
2971 (color-hsl-to-rgb): New function.
2972 (color-clamp, color-saturate-hsl, color-saturate-name)
2973 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2974 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2975
70df4bbe
GM
29762012-01-24 Glenn Morris <rgm@gnu.org>
2977
2978 * vc/vc-rcs.el (vc-rcs-create-tag):
2979 * vc/vc-sccs.el (vc-sccs-create-tag):
2980 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2981
802a2ae2
ML
29822012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2983
2984 * eshell/esh-util.el (eshell-read-hosts-file):
2985 Skip comment lines. (Bug#10549)
2986
d7128bb1
ML
2987 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2988
d1a5c3b4
JB
29892012-01-23 Juanma Barranquero <lekktu@gmail.com>
2990
2724d9c7
JB
2991 * subr.el (display-delayed-warnings): Doc fix.
2992 (collapse-delayed-warnings): New function to collapse identical
2993 adjacent warnings.
2994 (delayed-warnings-hook): Add it.
d1a5c3b4 2995
a5509865
MA
29962012-01-22 Michael Albinus <michael.albinus@gmx.de>
2997
2998 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2999
3000 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3001 properties, when "login-as" is set.
3002
3003 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3004 (tramp-default-user-alist): Don't add "pscp".
3005 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3006 property "login-as", if set. (Bug#10530)
3007
cc6d5805
MA
30082012-01-21 Michael Albinus <michael.albinus@gmx.de>
3009
3010 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3011 "plink1" and "psftp". (Bug#10530)
3012
30132012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3014
3015 * international/mule-cmds.el (prefer-coding-system): Show a
3016 warning message if the default value of file-name-coding-system
3017 was not changed.
3018
f0960428
JC
30192012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3020
cb882333
JB
3021 * windmove.el (windmove-reference-loc):
3022 Fix windmove-reference-loc miscalculation.
f0960428 3023
dd6f2a63
JB
30242012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3025
3026 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3027 default unit.
3028
7b447e9b
GM
30292012-01-21 Glenn Morris <rgm@gnu.org>
3030
117a9ea1
GM
3031 * international/mule.el (auto-coding-alist): Add .tbz.
3032
7b447e9b
GM
3033 * files.el (local-enable-local-variables): Doc fix.
3034 (inhibit-local-variables-regexps): Rename from
3035 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3036 Doc fix. Add some extensions from auto-coding-alist.
3037 (inhibit-local-variables-suffixes):
3038 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3039 (inhibit-local-variables-p):
3040 New function, extracted from set-auto-mode-1.
3041 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3042 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3043 (hack-local-variables): Doc fix. Make the mode-only case
3044 respect enable-local-variables and friends.
3045 Respect inhibit-local-variables-regexps for file-locals, but
3046 not for directory-locals.
3047 (set-visited-file-name):
3048 Take account of inhibit-local-variables-regexps.
3049 Whether it applies may change as the file name is changed.
3050 * jka-cmpr-hook.el (jka-compr-install):
3051 * jka-compr.el (jka-compr-uninstall):
3052 Update for inhibit-first-line-modes-suffixes name change.
3053
dd6e3cdd
MR
30542012-01-20 Martin Rudalics <rudalics@gmx.at>
3055
3056 * help-macro.el (make-help-screen): Temporarily restore original
3057 binding for minor-mode-map-alist (Bug#10454).
3058
0d0deb38
JD
30592012-01-19 Julien Danjou <julien@danjou.info>
3060
3061 * color.el (color-name-to-rgb): Use the white color to find the max
3062 color component value and return correctly computed values.
3063 (color-name-to-rgb): Add missing float conversion for max value.
3064
34a02f46
MR
30652012-01-19 Martin Rudalics <rudalics@gmx.at>
3066
3067 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3068 special state value for window-persistent-parameters.
3069 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3070 (window--state-put-2): Reset all window parameters to nil before
3071 assigning values of persistent parameters.
3072
606c44c4
AM
30732012-01-18 Alan Mackenzie <acm@muc.de>
3074
3075 Eliminate sluggishness and hangs in fontification of "semicolon
3076 deserts".
3077
cb882333
JB
3078 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3079 Change value 10000 -> 3000.
606c44c4
AM
3080 (c-state-safe-place): Reformulate so it doesn't stack up an
3081 infinite number of wrong entries in c-state-nonlit-pos-cache.
3082 (c-determine-limit-get-base, c-determine-limit): New functions to
3083 determine backward search limits disregarding literals.
3084 (c-find-decl-spots): Amend commenting.
3085 (c-cheap-inside-bracelist-p): New function which detects "={".
3086
3087 * progmodes/cc-fonts.el
3088 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3089 backward search.
3090 (c-font-lock-declarations): Fix an occurrence of point being
3091 undefined. Check additionally for point being in a bracelist or
3092 near a macro invocation without a semicolon so as to avoid a
3093 fruitless time consuming search for a declarator. Give a more
3094 precise search limit for declarators using the new
3095 c-determine-limit.
3096
f3860cea
GM
30972012-01-18 Glenn Morris <rgm@gnu.org>
3098
3099 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3100 (set-auto-mode): Doc fixes.
3101
1db03b16
GM
31022012-01-17 Glenn Morris <rgm@gnu.org>
3103
0e6038be
GM
3104 * isearch.el (search-nonincremental-instead): Fix doc typo.
3105
1db03b16
GM
3106 * dired.el (dired-insert-directory): Handle newlines in directory name.
3107 (dired-build-subdir-alist): Unescape newlines in directory name.
3108
4cb0aa75
MA
31092012-01-17 Michael Albinus <michael.albinus@gmx.de>
3110
3111 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3112 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3113 (tramp-action-terminal): Use it. (Bug#10530)
3114
1d00653d
SM
31152012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3118
6a6ee00d
MR
31192012-01-16 Martin Rudalics <rudalics@gmx.at>
3120
3121 * window.el (window-state-ignored-parameters): Remove variable.
3122 (window--state-get-1): Rename argument MARKERS to IGNORE.
3123 Handle persistent window parameters. Make copy of clone-of
3124 parameter only if requested. (Bug#10348)
3125 (window--state-put-2): Install a window parameter only if it has
3126 a non-nil value or an existing parameter shall be overwritten.
3127
97912def
MA
31282012-01-15 Michael Albinus <michael.albinus@gmx.de>
3129
3130 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3131
688070a5
EZ
31322012-01-14 Eli Zaretskii <eliz@gnu.org>
3133
3134 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3135 don't pass the (nil) value of `upnode' to string-match.
3136
301afadc
CY
31372012-01-14 Chong Yidong <cyd@gnu.org>
3138
3139 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3140 Fix values recognized by the cursorBlink resource.
301afadc 3141
9e5788aa
PE
31422012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3143
3144 * epg.el (epg--make-temp-file): Avoid permission race condition
3145 when running on old Emacs versions (bug#10403).
3146
3cdb7f5a
GM
31472012-01-14 Glenn Morris <rgm@gnu.org>
3148
3149 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3150
8c82b1b4
AM
31512012-01-13 Alan Mackenzie <acm@muc.de>
3152
3153 Fix filling for when filladapt mode is enabled.
3154
3155 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3156 c-mask-paragraph, pass in `fill-paragraph' rather than
3157 `fill-region-as-paragraph'. (This is a reversion of a previous
3158 change.)
eb864a71
LM
3159 * progmodes/cc-mode.el (c-basic-common-init):
3160 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3161
e517eda4
GM
31622012-01-13 Glenn Morris <rgm@gnu.org>
3163
1498536e
GM
3164 * dired.el (dired-switches-escape-p): New function.
3165 (dired-insert-directory): Use dired-switches-escape-p.
3166 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3167
e517eda4
GM
3168 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3169
328f984d
GM
31702012-01-12 Glenn Morris <rgm@gnu.org>
3171
3172 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3173 changes in adaptive-fill-regexp. (Bug#10276)
3174
2cc769a8
AM
31752012-01-11 Alan Mackenzie <acm@muc.de>
3176
3177 Fix Emacs bug #10463 - put `widen's around the critical spots.
3178
1d00653d 3179 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3180 widen around each invocation of c-state-pp-to-literal. Remove an
3181 unused let variable.
3182
e52c37fa
GM
31832012-01-11 Glenn Morris <rgm@gnu.org>
3184
3185 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3186 Doc fix.
e52c37fa 3187
96f8741e
CY
31882012-01-10 Chong Yidong <cyd@gnu.org>
3189
1d00653d
SM
3190 * net/network-stream.el (network-stream-open-starttls):
3191 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3192 response to the capability command.
3193
b09a806e
GM
31942012-01-10 Glenn Morris <rgm@gnu.org>
3195
3196 * mail/unrmail.el (unrmail): Tweak previous change.
3197
7655cb66
CY
31982012-01-09 Chong Yidong <cyd@gnu.org>
3199
3200 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3201
9d5a8f0b
AM
32022012-01-08 Alan Mackenzie <acm@muc.de>
3203
3204 Optimise font locking in long enum definitions.
3205
3206 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3207 arm to a cond form to handle enums.
3208 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3209 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3210
9a0115ab 32112012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3212
3213 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3214 (Bug#10401)
6bb72cbd 3215
f186bb95
LMI
32162012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3217
29232a68
LMI
3218 * faces.el (set-face-attribute): Clarify the meaning of the nil
3219 frame (bug#10294).
3220
4e5d086d
LMI
3221 * subr.el (with-selected-frame): Mention that the selected frame
3222 is restored (bug#9980).
3223
8e66aebe
LMI
3224 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3225 (bug#9759).
3226
cd394be1 3227 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3228 (password-read): Don't autoload unused function.
3229
adf4e762
JB
32302012-01-07 Juanma Barranquero <lekktu@gmail.com>
3231
3232 * progmodes/which-func.el (which-func-mode): Turn into a
3233 non-interactive function and mark as obsolete (bug#10428).
3234
89bd9ccd
CY
32352012-01-06 Chong Yidong <cyd@gnu.org>
3236
3237 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3238 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3239 functions, along with 1 and -1.
3240
4afee9d5
EZ
32412012-01-06 Eli Zaretskii <eliz@gnu.org>
3242
3243 * time.el (display-time-load-average)
3244 (display-time-default-load-average): Doc fixes. See the thread
3245 starting at
3246 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3247 for the details.
3248
536aea70
GM
32492012-01-06 Glenn Morris <rgm@gnu.org>
3250
665ae865
GM
3251 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3252 has no messages. (Bug#10377)
3253
c869783d
GM
3254 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3255 than Info-edit. (Bug#10385)
3256
2bb4227e
GM
3257 * time.el (display-time-load-average, display-time-next-load-average):
3258 Doc fixes.
3259
7d5944b9
GM
3260 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3261 local setting of buffer-read-only to the input buffer. (Bug#10419)
3262
536aea70
GM
3263 * calendar/calendar.el (calendar-mode):
3264 Locally set scroll-margin to 0. (Bug#10379)
3265
7dccca16
UM
32662012-01-06 Ulrich Mueller <ulm@gentoo.org>
3267
3268 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3269
afbb7930
GM
32702012-01-05 Glenn Morris <rgm@gnu.org>
3271
3272 * eshell/em-unix.el (diff-no-select): Autoload it.
3273 (eshell/diff): Use diff-no-select. (Bug#10420)
3274
04482335
CY
32752012-01-05 Chong Yidong <cyd@gnu.org>
3276
7baca3bc
CY
3277 * shell.el (shell-dynamic-complete-functions): Revert last change.
3278 (shell-command-completion-function): New function.
3279 (shell-completion-vars): Use it to implement
3280 shell-completion-execonly (Bug#10417).
3281
04482335
CY
3282 * custom.el (enable-theme): Don't set custom-safe-themes.
3283
1d00653d
SM
3284 * cus-theme.el (custom-theme-merge-theme):
3285 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3286
bb5aa5d6
MM
32872012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3288
3289 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3290 first prompt in `sql-interacive-mode'.
3291 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3292 keywords.
6df6ae42 3293 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3294 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3295 context of original buffer. Invoke `sql-login-hook'.
3296
a7183d7c
EZ
32972012-01-04 Eli Zaretskii <eliz@gnu.org>
3298
3299 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3300 letters in cite-prefix.
3301
a1eacd1e
LMI
33022012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3303
3304 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3305
787cdb34
CY
33062012-01-03 Chong Yidong <cyd@gnu.org>
3307
1d00653d
SM
3308 * shell.el (shell-dynamic-complete-functions):
3309 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3310 comint-filename-completion first (Bug#10417).
3311
30710442
RS
33122012-01-02 Richard Stallman <rms@gnu.org>
3313
3314 * battery.el (battery-status-function):
3315 Detect when to use battery-yeeloong-sysfs.
3316 (battery-echo-area-format): Add string for Yeeloong.
3317 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3318 (battery-yeeloong-sysfs): New function.
3319
f75bfc33
CY
33202012-01-02 Chong Yidong <cyd@gnu.org>
3321
3322 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3323 (dirtrack): Merge code for handling relative filenames in prompt
3324 from shell-dir-cookie-watcher.
3325 (dirtrack-debug-message): New arg to avoid excess format calls.
3326
3327 * shell.el (shell-dir-cookie-re): Variable deleted.
3328 (shell-dir-cookie-watcher): Function deleted.
3329 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3330 with dirtrack-mode.
3331
651e947e
EZ
33322012-01-01 Eli Zaretskii <eliz@gnu.org>
3333
1d00653d
SM
3334 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3335 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3336 libgnutls-26.dll.
3337
94d4c7dc
AS
33382011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3339
3340 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3341
8d43f3cd
EZ
33422011-12-31 Eli Zaretskii <eliz@gnu.org>
3343
3344 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3345 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3346
98c8795a
MA
33472011-12-29 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3350 also for alternative shells.
3351 (tramp-open-connection-setup-interactive-shell): Check, whether
3352 the shell is a busybox.
3353 (tramp-send-command): Don't suppress multiple prompts for
3354 busyboxes, it hurts.
3355
51281b32
CY
33562011-12-28 Chong Yidong <cyd@gnu.org>
3357
3358 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3359 (gdb-get-source-file): Move mode line update to
3360 gdb-get-source-file (Bug#10087).
3361
2170cb53
CY
33622011-12-25 Chong Yidong <cyd@gnu.org>
3363
3364 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3365 gud-gdb-marker-filter without taking it as an argument.
3366 (gud-gdb-run-command-fetch-lines): Caller changed.
3367 (gud-gdb-completion-function): New variable.
3368 (gud-gdb-completion-at-point): Use it.
3369 (gud-gdb-completions-1): Split from gud-gdb-completions.
3370
3371 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3372 function as separate arguments.
3373 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3374 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3375 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3376 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3377 (gdb-stopped, def-gdb-auto-update-trigger)
3378 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3379 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3380 Callers changed.
2170cb53
CY
3381 (gud-gdbmi-completions): New function.
3382 (gdb): Use it for generating the completion table.
3383
be8b11bb
AM
33842011-12-24 Alan Mackenzie <acm@muc.de>
3385
3386 Introduce a mechanism to widen the region used in context font
1d00653d 3387 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3388
1d00653d
SM
3389 * progmodes/cc-langs.el (c-before-font-lock-functions):
3390 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3391 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3392 functions to be run just before context (etc.) font locking.
3393
3394 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3395 New, functionality extracted from
be8b11bb 3396 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3397 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3398 (c-after-change): Set c-in-after-change-fontification.
3399 (c-set-fl-decl-start): Rejig its interface, so it can be called
3400 from both after-change and context fontifying.
b81d40f0
JB
3401 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3402 New functions.
3403 (c-standard-font-lock-fontify-region-function): New variable.
3404 (c-font-lock-fontify-region): New function.
be8b11bb 3405
341cf6ac
JL
34062011-12-24 Juri Linkov <juri@jurta.org>
3407
3408 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3409 (Bug#10348)
3410
bffcee0a
MA
34112011-12-23 Michael Albinus <michael.albinus@gmx.de>
3412
3413 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3414 existence of source file. (Bug#10325)
3415
cb5e207c
AM
34162011-12-23 Alan Mackenzie <acm@muc.de>
3417
3418 Fix unstable fontification inside templates.
3419
b81d40f0
JB
3420 * progmodes/cc-langs.el (c-before-font-lock-functions):
3421 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3422 additionally has c-set-fl-decl-start. The other languages (apart
3423 from AWK) have that as a single entry.
3424
b81d40f0
JB
3425 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3426 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3427 c-set-fl-decl-start.
3428
b81d40f0
JB
3429 * progmodes/cc-mode.el (c-common-init, c-after-change):
3430 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3431 (c-set-fl-decl-start): New function, extracted from
3432 c-font-lock-enclosing-decls and enhanced.
3433
60ff536c
JB
34342011-12-23 Juanma Barranquero <lekktu@gmail.com>
3435
3436 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3437
1c4757d6
JL
34382011-12-22 Juri Linkov <juri@jurta.org>
3439
3440 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3441
d031f2c7
CY
34422011-12-22 Chong Yidong <cyd@gnu.org>
3443
3444 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3445
bace743a
DA
34462011-12-21 Drew Adams <drew.adams@oracle.com>
3447
3448 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3449
728a1f2b
JC
34502011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3451
3452 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3453
0d373f73
TZ
34542011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3455
fec0aaa4
TZ
3456 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3457 highlighting and support. Fix up comments for capitalization.
3458 (cfengine-mode-debug): New var.
3459 (cfengine3-mode): Change the modeline indicator to "CFE3".
3460 (cfengine3-font-lock-keywords): Improve defun highlighting.
3461 (cfengine2-actions): Rename from `cfengine-actions'.
3462 (cfengine2-font-lock-keywords): Rename from
3463 `cfengine-font-lock-keywords'.
3464 (cfengine2-imenu-expression): Rename from
3465 `cfengine-imenu-expression'.
3466 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3467 (cfengine2-beginning-of-defun): Rename from
3468 `cfengine-beginning-of-defun'.
3469 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3470 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3471 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3472 modeline indicator to "CFE2".
3473 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3474 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3475
bc86f573
CY
34762011-12-21 Chong Yidong <cyd@gnu.org>
3477
3478 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3479 filename argument.
3480
d45ba96b
MR
34812011-12-20 Martin Rudalics <rudalics@gmx.at>
3482
3483 * window.el (window-normalize-buffer-to-display): Remove.
3484 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3485
a6198c90
CY
34862011-12-19 Chong Yidong <cyd@gnu.org>
3487
3488 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3489 Don't signal an error in a predicate function; return non-nil.
3490 (vc-dir-mark-file): Move the error here.
3491 (vc-dir-mark-unmark): If acting on the region, keep going if one
3492 of the entries cannot be marked/unmarked.
3493 (vc-dir-mark-all-files): If current entry is a directory, mark
3494 only child files, as documented.
3495
34c5fb55
VB
34962011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3497
3498 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3499 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3500 addition.
3501
c803b2b7
JD
35022011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3503
3504 * term/ns-win.el (ns-get-selection-internal)
3505 (ns-store-selection-internal): Declare.
1154d12e
JB
3506 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3507 Declare as obsolete.
3508 (ns-get-pasteboard, ns-paste-secondary):
3509 Use ns-get-selection-internal.
3510 (ns-set-pasteboard, ns-copy-including-secondary):
3511 Use ns-store-selection-internal.
c803b2b7 3512
9cff91f8 35132011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3514
3515 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3516 (vc-deduce-fileset): Doc fix.
99a289d9 3517
f16c898a
AS
35182011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3519
3520 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3521
763237c4
SS
35222011-12-13 Sam Steingold <sds@gnu.org>
3523
3524 * man.el (Man-getpage-in-background): When running under a
3525 window-system, ignore $MANWIDTH and $COLUMNS.
3526
5fc1c122
KH
35272011-12-15 Kenichi Handa <handa@m17n.org>
3528
3529 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3530 (setup-ethiopic-environment-internal): Comment out key-binding for
3531 ethio-toggle-punctuation.
3532
13d49cbb
AM
35332011-12-13 Alan Mackenzie <acm@muc.de>
3534
898169a2
AM
3535 Add the switch statement to AWK Mode.
3536
7a71b18d 3537 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3538 "default" to the keywords regexp.
3539
7a71b18d 3540 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3541 expression as the rest.
1d00653d
SM
3542 (c-nonlabel-token-key): Allow string literals for AWK.
3543 Refactor for the other modes.
898169a2 3544
13d49cbb 3545 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3546 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3547 routines. Limit backward searching in c-font-lock-enclosing.decl.
3548
3549 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3550 pp-state and literal type in addition to the limits.
1d00653d 3551 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3552 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3553 (c-slow-in-literal, c-fast-in-literal): Remove.
3554 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3555
3556 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3557 being in a literal. Add a limit for backward searching.
3558
3559 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3560 c-slow-in-literal.
3561
15e0efc7
SM
35622011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3565
454592a6
MR
35662011-12-13 Martin Rudalics <rudalics@gmx.at>
3567
3568 * window.el (delete-other-windows): Use correct frame in call to
3569 window-with-parameter.
3570
87393f26
DP
35712011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3572
3573 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3574 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3575 (makefile-gmake-statements, makefile-makepp-statements):
3576 Use it and add new makepp keywords.
3577 (makefile-makepp-font-lock-keywords): Add new patterns.
3578 (makefile-match-function-end): Match new [...] and [[...]].
3579
11636b22
JB
35802011-12-11 Juanma Barranquero <lekktu@gmail.com>
3581
3582 * ses.el (ses-call-printer-return, ses-cell-property-get)
3583 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3584 (ses-create-cell-variable, ses-reset-header-string)
3585 (ses-cell-set-formula, ses-repair-cell-reference-all)
3586 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3587 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3588 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3589 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3590 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3591 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3592 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3593 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3594 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3595 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3596 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3597 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3598
cf018193
VB
35992011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3600
3601 * ses.el: The overall change is to add cell renaming, that is
3602 setting fancy names for cell symbols other than name matching
3603 "\\`[A-Z]+[0-9]+\\'" regexp .
3604 (ses-create-cell-variable): New defun.
3605 (ses-relocate-formula): Relocate formulas only for cells the
3606 symbols of which are not renamed, i.e. symbols whose names do not
3607 match regexp "\\`[A-Z]+[0-9]+\\'".
3608 (ses-relocate-all): Relocate values only for cells the symbols of
3609 which are not renamed.
3610 (ses-load): Create cells variables as the (ses-cell ...) are read,
3611 in order to check row col consistency with cell symbol name only
3612 for cells that are not renamed.
3613 (ses-replace-name-in-formula): New defun.
3614 (ses-rename-cell): New defun.
3615
ee957461
CY
36162011-12-11 Chong Yidong <cyd@gnu.org>
3617
3618 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3619 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3620
9a9e9ef0
MR
36212011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3622
3623 * window.el (other-window): Fix docstring.
3624
92a8eba5
EZ
36252011-12-10 Eli Zaretskii <eliz@gnu.org>
3626
3627 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3628 `from' or `to' address before taking its substring.
3629 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3630 encoded name is chopped in the middle of the encoded string, and
3631 thus displayed encoded.
3632
e152e577
JB
36332011-12-10 Juanma Barranquero <lekktu@gmail.com>
3634
3635 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3636
e5d84bfe
EZ
36372011-12-10 Eli Zaretskii <eliz@gnu.org>
3638
3639 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3640 to use texinfo-update-node and commands that call it if the
3641 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3642 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3643 (texinfo-all-menus-update, texinfo-master-menu)
3644 (texinfo-update-node, texinfo-every-node-update)
3645 (texinfo-multiple-files-update): Doc fix. Warn against updating
3646 all the @node lines.
3647 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3648 argument is numeric. Explain better in the doc string what the
3649 function really does.
3650 (texinfo-insert-master-menu-list): Improve the error message
3651 displayed if there's no menu in the Top node.
3652 (Bug#2975) See also this thread:
e5d84bfe
EZ
3653 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3654
1d84e9bb
MG
36552011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3656
3657 * speedbar.el (speedbar-supported-extension-expressions):
3658 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3659
382c953b
JB
36602011-12-09 Juanma Barranquero <lekktu@gmail.com>
3661
3662 * printing.el (pr-mode-alist):
3663 * simple.el (filter-buffer-substring-functions)
3664 (completion-list-insert-choice-function):
3665 * window.el (window-with-parameter, window-atom-root)
3666 (window-sides-slots, window-size-fixed, window-min-delta)
3667 (window-max-delta, window--resize-mini-window)
3668 (window--resize-child-windows-normal, window-tree)
3669 (delete-other-windows, quit-window, split-window)
3670 (display-buffer-record-window, special-display-buffer-names)
3671 (special-display-regexps, special-display-popup-frame)
3672 (same-window-p, split-window-sensibly)
3673 (display-buffer-overriding-action, display-buffer-alist)
3674 (display-buffer-base-action, display-buffer, switch-to-buffer)
3675 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3676 (fit-window-to-buffer, recenter-positions)
3677 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3678 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3679 and remove unneeded backslashes in docstrings.
3680
39c9faef
SM
36812011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3682
98449af8
SM
3683 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3684
39c9faef
SM
3685 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3686 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3687 end in ".mk".
3688 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3689 when reading the makefile (bug#10116).
3690
86ed9fdc
SM
36912011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3694 (bug#10116).
3695
5580f89d
GM
36962011-12-06 Glenn Morris <rgm@gnu.org>
3697
3698 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3699
28d3917c
CY
37002011-12-06 Chong Yidong <cyd@gnu.org>
3701
3702 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3703
a98edce9
JB
37042011-12-06 Juanma Barranquero <lekktu@gmail.com>
3705
3706 * textmodes/table.el (table-shorten-cell): Fix typo.
3707
e65adfac
CG
37082011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3709
3710 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3711
71cc0b74
EZ
37122011-12-05 Eli Zaretskii <eliz@gnu.org>
3713
3714 * descr-text.el (describe-char): Fix display of strong
3715 right-to-left characters and directional embeddings and overrides.
3716
3717 * simple.el (what-cursor-position): Fix display of codepoints of
3718 strong right-to-left characters.
3719
315bc30d
CY
37202011-12-05 Chong Yidong <cyd@gnu.org>
3721
3722 * faces.el (read-color): Doc fix.
3723
58a70b94
GM
37242011-12-05 Glenn Morris <rgm@gnu.org>
3725
3726 * align.el (align--set-marker): Add doc-string.
3727 Don't try to move something that is not a marker. (Bug#10216)
3728
5158face
GM
37292011-12-04 Glenn Morris <rgm@gnu.org>
3730
3731 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3732 overly zealous deletion of trailing whitespace.
3733
520fca41
JB
37342011-12-04 Juanma Barranquero <lekktu@gmail.com>
3735
3736 * server.el (server-delete-client): On Windows, do not try to delete
3737 the only terminal.
3738 (server-process-filter): On Windows, treat requests for a tty frame as
3739 if they were for a GUI frame if the running server is in GUI mode.
3740
5e605a2e
GM
37412011-12-03 Glenn Morris <rgm@gnu.org>
3742
3743 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3744
5c3fe83f
SM
37452011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3746
6f5e57e7
SM
3747 * electric.el: Streamline electric-indent's hook.
3748 (electric-indent-chars): Revert to simple list.
3749 (electric-indent-functions): New var.
3750 (electric-indent-post-self-insert-function): Use it.
3751
5c3fe83f
SM
3752 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3753 there's no inferior buffer (bug#10196).
3754 (prolog-consult-compile): Don't use toggle-read-only.
3755
6bdac736
MA
37562011-12-02 Michael Albinus <michael.albinus@gmx.de>
3757
3758 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3759 interrupt. (Bug#10187)
3760
6131ba7f
SM
37612011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3762
99c79fee
SM
3763 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3764 (bug#9160).
3765
6131ba7f
SM
3766 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3767 (bug#10191).
3768
cb0a02ea
JL
37692011-12-02 Juri Linkov <juri@jurta.org>
3770
3771 * info.el (Info-search): Display "end of manual" when Isearch
3772 reaches the end of single-file Info manual. (Bug#9918)
3773
66e0570c
EZ
37742011-12-02 Eli Zaretskii <eliz@gnu.org>
3775
3776 * isearch.el (isearch-message-prefix): Run the input method part
3777 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3778
02b16839
JL
37792011-12-02 Juri Linkov <juri@jurta.org>
3780
3781 * isearch.el (isearch-occur): Use `word-search-regexp' for
3782 `isearch-word'.
3783 (isearch-search-and-update): Add condition for `isearch-word' and
3784 call `word-search-regexp'. (Bug#10145)
3785
0b950688
GM
37862011-12-01 Glenn Morris <rgm@gnu.org>
3787
3788 * eshell/em-hist.el (eshell-hist-initialize):
3789 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3790 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3791
9505c3c7
SM
37922011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3793
3794 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3795
1bbe96b2 37962011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3797
a1beca85
SM
3798 * progmodes/verilog-mode.el (verilog-pretty-expr):
3799 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3800 verilog, such as += *= and the like.
3801 (verilog-assignment-operator-re): Regular expression to find the
3802 assigment operator in a verilog assignment.
3803 (verilog-assignment-operation-re): Regular expression to find an
3804 assignment statement for pretty-expr.
3805 (verilog-in-attribute-p): Query returns true if point is in an
3806 attribute context; used to skip these for expression line up from
3807 pretty-expr.
3808 (verilog-in-parameter-p): Query returns true if point is in an
3809 parameter definition context; used to skip these for expression
3810 line up from pretty-expr.
3811 (verilog-in-parenthesis-p): Query returns true if point is in a
3812 parenthetical expression, specifically ( ) but not [ ] or { };
3813 used by pretty-expr.
3814 (verilog-just-one-space): If there is no space, don't add one.
3815 (verilog-get-lineup-indent-2): Specifically skip just attribute
3816 contexts for expression lineup, rather than skipping all
3817 parenthetical expressions.
3818 (verilog-calculate-indent): Fix comment, and fix indent.
3819 (verilog-do-indent): Indent declarations in lists (suggested by
3820 Joachim Lechner).
3821 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3822 skeleton items.
3823 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3824 by Alain Mellan).
3825
1bbe96b2 38262011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3827
3828 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3829 parameters with embedded comments. Reported by Ray Stevens.
3830 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3831 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3832 Reported by Tim Holt.
3833 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3834 instantiated by upper module causing wrong expansion until AUTOed a
3835 second time. Reported by K C Buckenmaier.
3836 (verilog-diff-auto): Fix showing .* as a difference when
3837 `verilog-auto-star-save' off. Reported by Dan Dever.
3838 (verilog-auto-reset, verilog-read-always-signals)
3839 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3840 temporary signals in reset list if
3841 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3842 style to each signal's assignment type, bug381.
3843 Reported by Thomas Esposito.
6288f0ca
WS
3844 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3845 (verilog-uvm-statement-re): Support UVM indentation and
3846 highlighting, with old OVM keywords only.
a1beca85 3847 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3848 Support AUTOTIEOFF creating non-wire data types.
3849 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3850 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3851 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3852 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3853 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3854 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3855 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3856 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3857 non-numeric vector width. Reported by Alex Reed.
3858 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3859 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3860 (verilog-auto-delete-trailing-whitespace):
3861 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3862 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3863 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3864 Fix verilog-scan-cache corruption when running user AUTO expansion
3865 hooks that call indentation routines.
3866 (verilog-simplify-range-expression): Fix typo ignoring lower case
3867 identifiers.
3868 (verilog-delete-auto): Fix delete-autos to also remove user created
3869 automatics, as long as they start with AUTO.
3870 (verilog-batch-diff-auto, verilog-diff-auto)
3871 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3872 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3873 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3874 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3875 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3876 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3877 is disabled and its cache will get corrupt, causing AUTOS not to
3878 expand. Instead use only -quick functions.
3879 (verilog-scan-region): Fix scanning over escaped quotes.
3880 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3881 (verilog-re-search-backward-quick)
3882 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3883 related functions now ignore strings, to fix misparsing of strings
3884 with magic comments embedded in them.
a1beca85
SM
3885 (verilog-read-auto-template):
3886 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3887 Reported by Brad Dobbie.
3888 (verilog-read-auto-template):
3889 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3890 Reported by Brad Dobbie.
6288f0ca
WS
3891 (verilog-auto-inst, verilog-auto-inst-param)
3892 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3893 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3894 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3895 debugging templates without merge conflicts, bug357.
3896 Reported by Brad Dobbie.
3897 (verilog-read-auto-template):
3898 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3899 Reported by Brad Dobbie.
3900 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3901 abbrevs so user won't be asked to save.
3902 (verilog-read-auto-lisp-present): Fix to start at beginning of
3903 buffer in case called outside of verilog-auto.
3904 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3905 to "X-2". Reported by Matthew Myers.
3906 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3907 all inputs from module templates. Reported by Leith Johnson.
3908 (verilog-module-inside-filename-p): Fix locating programs as with
3909 modules.
3910 (verilog-auto-inst-port): Fix vl-width expressions when using
3911 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3912 (verilog-decls-get-regs, verilog-decls-get-signals,
3913 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3914 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3915 verilog-read-decls): Combine reg and wire structures into one var
3916 structure to represent SystemVerilog concepts.
3917 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3918 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3919 (verilog-auto-wire-type, verilog-insert-definition):
3920 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3921 SystemVerilog "logic" keyword instead of "wire"/"reg".
3922 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3923 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3924 ifdef or generate if so there's not a driver conflict).
3925 Reported by Matthew Myers.
3926 (verilog-auto-declare-nettype, verilog-insert-definition):
3927 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3928 `default_nettype none. Reported by Julian Gorfajn.
3929 (verilog-read-always-signals-recurse, verilog-read-decls)
3930 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3931 malformed end statement, bug325. Reported by Joshua Wise and
3932 Andrew Drake.
3933 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3934 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3935 when expanding .* in interfaces, bug320.
3936 Reported by Pierre-David Pfister.
6288f0ca 3937 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3938 name and open parenthesis, bug317.
3939 Reported by Pierre-David Pfister.
6288f0ca
WS
3940 (verilog-simplify-range-expression): Fix simplification of
3941 multiplications inside AUTOWIRE connections, bug303.
3942 (verilog-auto-inst-port): Support parameter expansion in
3943 multidimensional arrays.
3944 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3945 after "assert property". Reported by Julian Gorfajn.
3946 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3947 with multiplication, bug303.
3948 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3949 Reported by Jan Frode Lonnum.
3950
1bbe96b2
GM
39512011-11-30 Juanma Barranquero <lekktu@gmail.com>
3952
3953 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3954 (hfy-shell-file-name, hfy-shell):
3955 * international/fontset.el (x-decompose-font-name): Fix typos.
3956
39572011-11-29 Ken Brown <kbrown@cornell.edu>
3958
3959 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3960 (gdb-version): Remove defvar.
3961 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3962 (gdb-gud-context-command, gdb-non-stop-handler)
3963 (gdb-current-context-command, gdb-stopped): Use it.
3964 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3965 (gdb-non-stop-handler): Don't enable pretty-printing here.
3966 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3967 non-stop mode. Use the following.
3968 (gdb-check-target-async): New defun.
3969 (gud-watch, gdb-stopped): Fix whitespace.
3970 (gdb-get-source-file): Don't try to display the source file if
3971 `gdb-main-file' is nil.
3972
39732011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * align.el: Try to generate fewer markers (bug#10047).
3976 (align--set-marker): New macro.
3977 (align-region): Use it.
3978
c935221f
SM
39792011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3982
e70b5064
CY
39832011-11-29 Chong Yidong <cyd@gnu.org>
3984
3985 * indent.el (indent-for-tab-command, indent-according-to-mode):
3986 Doc fix.
3987 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3988
f3af92b7
MA
39892011-11-29 Michael Albinus <michael.albinus@gmx.de>
3990
3991 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3992 aware of remote file names. (Bug#10124)
3993
ed472be9
CY
39942011-11-29 Chong Yidong <cyd@gnu.org>
3995
3996 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3997
24510c22
SM
39982011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3999
4000 * files.el (find-file): Don't use force-same-window (bug#10144).
4001 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4002 use pop-to-buffer if the selected window can't be used.
4003 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4004
c60c3703
EZ
40052011-11-28 Eli Zaretskii <eliz@gnu.org>
4006
4007 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4008 special-mode-map.
4009
e95def75
CY
40102011-11-28 Chong Yidong <cyd@gnu.org>
4011
4012 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4013
c3f1c606
NR
40142011-11-27 Nick Roberts <nickrob@snap.net.nz>
4015
4016 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4017 gdb-get-source-file-list on gdb-create-source-file-list.
4018
00db469c
EZ
40192011-11-26 Eli Zaretskii <eliz@gnu.org>
4020
4021 * whitespace.el (whitespace-newline): Use a different foreground
4022 color for 16-color light-background displays.
4023
4ad3bc2a
CY
40242011-11-24 Chong Yidong <cyd@gnu.org>
4025
4026 * window.el (display-buffer--special-action): Doc fix.
4027
e9fce1ac
JB
40282011-11-25 Juanma Barranquero <lekktu@gmail.com>
4029
4030 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4031 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4032 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4033 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4034 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4035 (avl-tree-stack-first):
4036 * emacs-lisp/cconv.el (cconv--analyse-use):
4037 * net/gnutls.el (gnutls-negotiate): Fix typos.
4038
cb825e5d
GM
40392011-11-24 Glenn Morris <rgm@gnu.org>
4040
3adbe224
GM
4041 * lpr.el (lpr-windows-system, lpr-lp-system):
4042 * mail/binhex.el (binhex-begin-line):
4043 * progmodes/grep.el (grep-history, grep-find-history):
4044 * textmodes/flyspell.el:
4045 * vc/pcvs-defs.el (cvs-global-menu):
4046 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4047 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4048 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4049
321decc8
GM
4050 * net/tls.el: Fix case of "GnuTLS".
4051
420b63ad
GM
4052 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4053
cb825e5d
GM
4054 * version.el (emacs-build-system): Give it a doc-string.
4055
a0649f08
JL
40562011-11-24 Juri Linkov <juri@jurta.org>
4057
4058 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4059
c0bc0fd4
GM
40602011-11-24 Glenn Morris <rgm@gnu.org>
4061
4062 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4063 if called on a non-mime message just toggle the headers. (Bug#8006)
4064
20db1522
JB
40652011-11-24 Juanma Barranquero <lekktu@gmail.com>
4066
4067 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4068 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4069 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4070 (allout-rebullet-heading, allout-open-sibtopic)
4071 (allout-toggle-current-subtree-encryption)
4072 (allout-toggle-subtree-encryption, allout-encrypt-string)
4073 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4074 (allout-distinctive-bullets-string, allout-auto-activation):
4075 * window.el (window-normalize-buffer-to-display):
4076 * progmodes/verilog-mode.el (verilog-batch-indent):
4077 * textmodes/bibtex.el (bibtex-field-braces-opt)
4078 (bibtex-field-strings-opt):
4079 * vc/cvs-status.el (cvs-tree-merge):
4080 Fix typos.
4081
7262a87c
MA
40822011-11-23 Michael Albinus <michael.albinus@gmx.de>
4083
4084 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4085 `non-essential' to t, in order to avoid remote connections.
4086
283430a1
EZ
40872011-11-23 Eli Zaretskii <eliz@gnu.org>
4088
a1beca85
SM
4089 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4090 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4091 case-insensitively.
4092
d2992a38
ML
40932011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4094
4095 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4096
50419064
GM
40972011-11-23 Glenn Morris <rgm@gnu.org>
4098
da94eca1
GM
4099 * paths.el (rmail-file-name): Reformat the doc-string so that it
4100 is picked up.
4101
9aac4de2
GM
4102 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4103 (rmail-auto-file): Ignore case in the "special" field names,
4104 as mail-fetch-field does for all others.
4105
8038d2d2
GM
4106 * mail/rmail.el (rmail-forward):
4107 * mail/rmailkwd.el (rmail-set-label):
4108 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4109 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4110
f3fe222a
GM
4111 * mail/rmail.el (rmail-current-message): Doc fix.
4112
50419064
GM
4113 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4114
28109f49
SM
41152011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4116
4117 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4118
394c65f1
GM
41192011-11-22 Glenn Morris <rgm@gnu.org>
4120
4121 * mail/rmailmm.el (test-rmail-mime-handler)
4122 (test-rmail-mime-bulk-handler)
4123 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4124
f2a0aa3a
JL
41252011-11-21 Juri Linkov <juri@jurta.org>
4126
1154d12e
JB
4127 * calc/calc.el (calc-read-key-sequence):
4128 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4129
9c34a344
LMI
41302011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4131
4132 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4133 Tell the caller that the next line needs recomputation, even
4134 though it doesn't start a sexp (bug#10094).
4135
f04a3be9
SM
41362011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4139
7978747f
SM
41402011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4141
f04a3be9
SM
4142 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4143 Use force-same-window.
7978747f 4144
fe7a3057
JB
41452011-11-20 Juanma Barranquero <lekktu@gmail.com>
4146
4147 * descr-text.el (describe-char-unicode-data):
4148 * json.el (json-string-escape):
4149 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4150 (Footnote-unicode, Footnote-style-p):
4151 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4152
24901d61
CY
41532011-11-20 Chong Yidong <cyd@gnu.org>
4154
4155 * window.el (replace-buffer-in-windows): Restore interactive spec.
4156
bac7ff22
SM
41572011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4158
24f3d7b9
SM
4159 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4160
bac7ff22
SM
4161 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4162 (byte-compile-global-not-obsolete-vars): New var.
4163 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4164 Use it.
4165 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4166
cd1181db
JB
41672011-11-20 Juanma Barranquero <lekktu@gmail.com>
4168
4169 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4170 * progmodes/pascal.el (electric-pascal-equal):
4171 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4172 * xml.el (xml-substitute-special): Fix typos.
4173
7fb18e9e
GM
41742011-11-20 Glenn Morris <rgm@gnu.org>
4175
4176 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4177 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4178 Doc fixes.
4179 (rmail-decode-mime-charset): Mark as obsolete.
4180
4181 * mail/rmailsum.el (rmail-message-regexp-p-1):
4182 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4183 Before using mime functions, check they are set. (Bug#10077)
4184
d5a6b3ba
JL
41852011-11-19 Juri Linkov <juri@jurta.org>
4186
4187 * info.el (Info-finder-find-node): Use `package--builtins' instead
4188 of `package-alist'. Use node names formed by the pattern "Keyword "
4189 and the keyword name.
4190
e981b61f
AS
41912011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4192
1d00653d 4193 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4194
3ffbc301
JL
41952011-11-19 Juri Linkov <juri@jurta.org>
4196
4197 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4198 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4199 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4200 `old-history', `old-history-forward'. Add let-binding
4201 `window-selected'. Remove calls to `kill-buffer',
4202 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4203 before calling `Info-find-node', so `Info-find-node-2' will reread
4204 the Info file. Restore window positions only when `window-selected'
4205 is non-nil.
4206
30c62133
JL
42072011-11-19 Juri Linkov <juri@jurta.org>
4208
4209 * isearch.el (isearch-lazy-highlight-new-loop):
4210 Remove condition `(not isearch-error)'. (Bug#9918)
4211
4212 * misearch.el (multi-isearch-search-fun): Add condition
4213 `(not bound)' to ignore lazy-highlighting search.
4214 Add the search-failed message "end of multi" when the end of
4215 multi-sequence is reached. Uncapitalize the search-failed
4216 message "Repeat for next buffer".
4217
4218 * info.el (Info-search): Add the search-failed message
4219 "end of the manual" when the end of the manual is reached
4220 in Isearch mode.
4221
645ca9cf
JL
42222011-11-19 Juri Linkov <juri@jurta.org>
4223
4224 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4225 Use non-destructive `remove' instead of `delete' because
4226 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4227 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4228
df754f66
JL
42292011-11-19 Juri Linkov <juri@jurta.org>
4230
4231 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4232 to nil instead of binding `search-ring' and `regexp-search-ring'.
4233 (Bug#9185)
4234
0e23d96a
EZ
42352011-11-19 Eli Zaretskii <eliz@gnu.org>
4236
4237 * simple.el (line-move): Force movement by logical lines for any
4238 hscrolled window, not only when auto-hscroll-mode is on.
4239 (line-move-visual): Update doc string to that effect. (Bug#10076)
4240
8a6ccb66
AS
42412011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4242
4243 * language/european.el (macintosh): Define as alias for mac-roman.
4244
49ae5b39
EZ
42452011-11-19 Eli Zaretskii <eliz@gnu.org>
4246
4247 * mail/rmailmm.el (rmail-mime-display-header)
4248 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4249 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4250 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4251 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4252 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4253 of a raw aref.
4254 (rmail-mime-entity-segment): To get past the tagline, move forward
4255 2 more lines, to account for the 2 empty lines that precede and
4256 follow the line with the buttons.
4257 (rmail-mime-update-tagline): Move one more line, to get past the
4258 empty line that follows the buttons in the tagline. (Bug#9520)
4259
c56cad4a
MR
42602011-11-19 Martin Rudalics <rudalics@gmx.at>
4261
4262 * window.el (window-max-delta-1, window-min-delta-1)
4263 (window-min-size-1, window-state-get-1, window-state-put-1)
4264 (window-state-put-2): Use "window--" prefix.
4265
cbe71af3
SM
42662011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4267
2ad52c60
SM
4268 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4269 (smie-warning-count): New var.
4270 (smie-set-prec2tab): Use it.
4271 (smie-bnf->prec2): Improve warnings. Add docstring.
4272 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4273 (smie-bnf--set-class): New function.
4274 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4275 corner case.
4276
6944dbc1
SM
4277 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4278 (compilation-error-properties, compilation-move-to-column):
4279 Handle compilation-first-column while in the target buffer.
4280
c400c4d7
SM
4281 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4282 Don't hardcode point-min==1.
4283
6dbe3e96
SM
4284 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4285 (eshell-rewrite-for-command): Remove workaround.
4286 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4287 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4288 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4289
cbe71af3
SM
4290 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4291
a8e1496d
GM
42922011-11-17 Glenn Morris <rgm@gnu.org>
4293
4294 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4295 Ignore buffer-local generated-autoload-file if it is the same
4296 as the global value. (Bug#10049)
4297
df85d315
JB
42982011-11-17 Juanma Barranquero <lekktu@gmail.com>
4299
4300 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4301 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4302 (reftex-toc-previous-heading, reftex-toc-max-level)
4303 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4304 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4305 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4306 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4307 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4308 (reftex-toc-rename-label, reftex-toc-visit-location)
4309 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4310 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4311 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4312 leaving "*toc*" only for references to the buffer.
4313
a0c2d0ae
MR
43142011-11-17 Martin Rudalics <rudalics@gmx.at>
4315
4316 * window.el (window-resize, delete-window, split-window):
4317 Replace window-splits by window-combination-resize.
1d00653d 4318 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4319
35c0bac8
GM
43202011-11-17 Glenn Morris <rgm@gnu.org>
4321
4322 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4323 Make bash entry derive from sh entry, not shell entry.
4324
d0c8fc8a
MA
43252011-11-16 Michael Albinus <michael.albinus@gmx.de>
4326
d0c8fc8a
MA
4327 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4328 properties of linked files. (Bug#9879)
4329
7262a87c
MA
4330 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4331 local file name.
4332
7877f373
JB
43332011-11-16 Juanma Barranquero <lekktu@gmail.com>
4334
4335 * menu-bar.el (menu-bar-file-menu):
4336 * printing.el (pr-ps-utility):
4337 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4338 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4339 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4340 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4341 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4342 (icalendar--convert-cyclic-to-ical)
4343 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4344 (icalendar--convert-ical-to-diary)
4345 (icalendar--convert-recurring-to-diary)
4346 (icalendar--convert-non-recurring-all-day-to-diary)
4347 (icalendar-import-format-sample):
4348 * progmodes/idlw-shell.el (idlwave-shell-mode):
4349 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4350 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4351 (vhdl-ps-print-init): Fix typos.
4352
10649b82
KM
43532011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4354
9d0cfcd6
GM
4355 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4356 FSF and collapse date sequence, obscure author/maintainer email address
4357 better, remove extra version line, track relocation of author's webpage.
10649b82 4358
9d0cfcd6
GM
4359 * progmodes/python.el (python-pdbtrack-input-prompt)
4360 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4361 regular python pdb prompts. Adjustments shamelessly taken exactly as
4362 suggested in EmacsWiki page (tiny change):
4363 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4364
58179cce
JB
43652011-11-16 Juanma Barranquero <lekktu@gmail.com>
4366
4367 * expand.el (expand-pos, expand-index, expand-point):
4368 Remove redundant info from docstring.
4369 (expand-add-abbrevs): Doc fix.
4370 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4371 (expand-sample-perl-mode-expand-list): Fix typos.
4372
4373 * net/dbus.el (dbus-event-member-name):
4374 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4375 * term/pc-win.el (msdos-create-frame-with-faces):
4376 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4377
b6f67890
MR
43782011-11-16 Martin Rudalics <rudalics@gmx.at>
4379
4380 * window.el (split-window, window-state-get-1)
4381 (window-state-put-1, window-state-put-2): Rename occurrences of
4382 window-nest to window-combination-limit.
1d00653d 4383 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4384
ce7ddba0
CY
43852011-11-16 Chong Yidong <cyd@gnu.org>
4386
4387 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4388 regexp (Bug#10033).
4389
3ae704f4
SM
43902011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4393 `completing-read' will remove *Completions* and will preserve
4394 current-buffer for us.
4395 (tmm-add-prompt): Users of *Completions* will always (re)set its
4396 major mode.
4397 (tmm-old-comp-map): Remove.
4398
6ad1cdde
GM
43992011-11-16 Glenn Morris <rgm@gnu.org>
4400
4401 * mail/rmailedit.el: Require rmailmm when compiling.
4402 (rmail-old-mime-state): New declaration.
4403 (rmail-edit-current-message): If editing a mime message,
4404 edit the "raw" message from the mbox buffer.
4405 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4406
d20faa20
GM
44072011-11-15 Glenn Morris <rgm@gnu.org>
4408
4409 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4410 which wasn't being used. Add optional arg to force given state.
4411 (rmail-mime): Add optional arg to force given state.
4412
c7015153
JB
44132011-11-15 Juanma Barranquero <lekktu@gmail.com>
4414
4415 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4416 * frame.el (display-mm-dimensions-alist):
4417 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4418 (outline-move-subtree-down):
4419 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4420 (newsticker--treeview-do-get-node):
4421 * net/quickurl.el (quickurl-list-buffer-name):
4422 * progmodes/dcl-mode.el (dcl-mode):
4423 * progmodes/gdb-mi.el (gdb-mapcar*):
4424 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4425
45261b50
GM
44262011-11-15 Glenn Morris <rgm@gnu.org>
4427
4428 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4429 in a boolean sense, so just make it a boolean, and fix the doc.
4430 (rmail-show-mime-function, rmail-mime-feature)
4431 (rmail-require-mime-maybe): Doc fixes.
4432 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4433
4434 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4435
0d26e0b6
JB
44362011-11-15 Juanma Barranquero <lekktu@gmail.com>
4437
4438 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4439 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4440 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4441 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4442
447f30f6
GM
44432011-11-15 Glenn Morris <rgm@gnu.org>
4444
672b871d
GM
4445 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4446 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4447 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4448 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4449 (rmail-mime, rmail-show-mime): Doc fixes.
4450
f6aa5bb1
GM
4451 * term/ns-win.el (mode-line-frame-identification):
4452 Leave it alone. (Bug#10051)
4453
947cd66b
GM
4454 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4455
447f30f6
GM
4456 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4457 Handle empty buffers. (Bug#9978)
4458
0b381c7e
JB
44592011-11-14 Juanma Barranquero <lekktu@gmail.com>
4460
4461 * international/mule.el (define-charset):
4462 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4463 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4464 * progmodes/verilog-mode.el (verilog-backward-token):
4465 * textmodes/ispell.el (lookup-words):
4466 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4467
71e027ac
GM
44682011-11-14 Glenn Morris <rgm@gnu.org>
4469
56632ce4
GM
4470 * progmodes/executable.el
4471 (executable-make-buffer-file-executable-if-script-p):
4472 Handle file-modes returning nil.
4473
40500957
GM
4474 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4475 message - not necessary, and causes problems. (Bug#9831)
4476
071c2340
GM
4477 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4478
d3cfca60
GM
4479 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4480
71e027ac
GM
4481 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4482 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4483 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4484
89d61221
MR
44852011-11-12 Martin Rudalics <rudalics@gmx.at>
4486
4487 * window.el (window-resize, delete-window): Use window-splits
4488 variable instead of function.
4489 (window-state-get-1, window-state-put-2, window-state-put):
4490 Don't deal with windows' splits status.
4491
98282f6f
GM
44922011-11-12 Glenn Morris <rgm@gnu.org>
4493
4494 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4495 (apropos-documentation): Doc fixes.
4496
40a8bdf6
JB
44972011-11-11 Juanma Barranquero <lekktu@gmail.com>
4498
4499 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4500 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4501
65bd19ff
SM
45022011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * electric.el (electric-indent-post-self-insert-function): Make it
4505 possible for a char to only indent in some circumstances.
4506 (electric-indent-mode): Simplify.
4507
54f9154c
MR
45082011-11-11 Martin Rudalics <rudalics@gmx.at>
4509
4510 * window.el (windows-with-parameter): Remove unused function.
4511 (windows-at-side): Rename to window-at-side-list.
4512 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4513 (window-side-check, window-size-ignore, window-size-fixed-1)
4514 (window-in-direction-2): Prefix with "window--".
4515 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4516
68cbc58b
GM
45172011-11-11 Glenn Morris <rgm@gnu.org>
4518
4519 * subr.el (eval-after-load): If FILE is already loaded,
4520 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4521
b2621720
GM
45222011-11-10 Glenn Morris <rgm@gnu.org>
4523
9a4de110
GM
4524 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4525 Call svn via vc-svn-command rather than vc-do-command.
4526 (vc-svn-command): Add --non-interactive. (Bug#9993)
4527 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4528
b2621720
GM
4529 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4530 Add toggle-read-only. (Bug#7292)
4531 * files.el (toggle-read-only): Mention that it should only
4532 be used interactively. (Bug#10006)
4533
1dce7193
SM
45342011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4535
d9ac1a1e
SM
4536 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4537 Adjust regexp for OCaml warnings.
4538
0c325082
SM
4539 * electric.el (electric-pair-post-self-insert-function): Let user
4540 turn it off buffer-locally (bug#9932).
4541
90132c14
SM
4542 * progmodes/python.el (python-beginning-of-statement):
4543 Rewrite (bug#2703).
4544
1dce7193
SM
4545 * progmodes/compile.el: Better handle TABs (bug#9749).
4546 (compilation-internal-error-properties)
4547 (compilation-next-error-function): Obey the target buffer's
4548 compilation-error-screen-columns.
4549
c4e7c63a
JB
45502011-11-09 Juanma Barranquero <lekktu@gmail.com>
4551
4552 * progmodes/meta-mode.el: Remove obsolete comments.
4553 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4554 Fix typos in docstrings.
4555
2cffd681
MR
45562011-11-09 Martin Rudalics <rudalics@gmx.at>
4557
4558 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4559 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4560 (window--resizable): New function. Make all callers of
4561 window-resizable call window--resizable instead.
4562 (window-resizable): Rewrite in terms of window--resizable.
4563
0edcba87
GM
45642011-11-08 Glenn Morris <rgm@gnu.org>
4565
4566 * progmodes/delphi.el (delphi-mode-syntax-table):
4567 Let define-derived-mode define a proper syntax table. (Bug#9994)
4568
4b0d61e3
SM
45692011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * window.el: Stay away from defsubst.
4572 (window-list-no-nils): Remove.
4573 (window-state-get-1, window-state-get): Use backquote instead.
4574
cd394be1 45752011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4576
4b0d61e3 4577 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4578 Fix incorrect use of default argument in `completing-read'.
4579
e1c2c6f2
MR
45802011-11-08 Martin Rudalics <rudalics@gmx.at>
4581
4582 * window.el (display-buffer-function, special-display-function):
4583 Mention display-buffer-record-window but do not mention
4584 help-setup parameter in doc-strings.
b3f4a882 4585 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4586
105216ed
CY
45872011-11-08 Chong Yidong <cyd@gnu.org>
4588
4589 * window.el (window-total-height, window-total-width): Doc fix.
4590 (window-body-size): Move from C.
4591 (window-body-height, window-body-width): Move to C.
4592
0a9f9ab5
SM
45932011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * window.el: Make special-display like display-buffer-alist (bug#9532).
4596 (display-buffer--special-action): New function, morphed
4597 from display-buffer--special.
4598 (display-buffer): Use it to handle special-display-buffers at higher
4599 priority (just after display-buffer-alist).
4600 (display-buffer-fallback-action, display-buffer--other-frame-action)
4601 (pop-to-buffer-same-window): Remove display-buffer--special.
4602
a769dd15
GM
46032011-11-07 Glenn Morris <rgm@gnu.org>
4604
4605 * calendar/cal-menu.el (cal-menu-set-date-title):
4606 Do nothing if not in a calendar. (Bug#9976)
4607
05a61ee3
SM
46082011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * files.el (find-file): Always use selected-window.
4611
be7f5545
MR
46122011-11-07 Martin Rudalics <rudalics@gmx.at>
4613
4614 * window.el (window-combinations): Make WINDOW argument
4615 mandatory. Rewrite doc-string.
4616 (walk-window-subtree, window-atom-check, window-min-delta)
4617 (window-max-delta, window--resize-this-window)
4618 (window--resize-root-window-vertically, window-tree)
4619 (balance-windows, window-state-put): Rewrite doc-strings as to
4620 not mention the term "subwindow".
4621 (window--resize-subwindows-skip-p): Rename to
4622 window--resize-child-windows-skip-p.
4623 (window--resize-subwindows-normal): Rename to
4624 window--resize-child-windows-normal.
4625 (window--resize-subwindows): Rename to
4626 window--resize-child-windows.
4627 (window-or-subwindow-p): Rename to window--in-subtree-p.
4628
3c6702ef
ML
46292011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4630
4631 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4632 Ensure that mbox format messages end in two newlines (Bug#9974).
4633
49745b39
CY
46342011-11-06 Chong Yidong <cyd@gnu.org>
4635
4636 * window.el (window-combination-p): Function deleted; its
4637 side-effect is not used in any existing code.
4638 (window-combinations, window-combined-p): Call window-*-child
4639 directly.
4640
24300f5f
CY
46412011-11-05 Chong Yidong <cyd@gnu.org>
4642
4643 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4644 (window-size-ignore, window-state-get): Callers changed.
4645 (window-normalize-window): Rename from window-normalize-any-window.
4646 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4647 (window-normalize-live-window): Delete.
447f16b8
CY
4648 (window-combination-p, window-combined-p, window-combinations)
4649 (walk-window-subtree, window-atom-root, window-min-size)
4650 (window-sizable, window-sizable-p, window-size-fixed-p)
4651 (window-min-delta, window-max-delta, window-resizable)
4652 (window-resizable-p, window-full-height-p, window-full-width-p)
4653 (window-current-scroll-bars, window-point-1, set-window-point-1)
4654 (window-at-side-p, window-in-direction, window-resize)
4655 (adjust-window-trailing-edge, maximize-window, minimize-window)
4656 (window-deletable-p, delete-window, delete-other-windows)
4657 (record-window-buffer, unrecord-window-buffer)
4658 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4659 (quit-window, split-window, window-state-put)
4660 (set-window-text-height, fit-window-to-buffer)
4661 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4662
89bd5ee1
EZ
46632011-11-04 Eli Zaretskii <eliz@gnu.org>
4664
53479029
EZ
4665 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4666 rfc2047-decode-string.
4667 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4668 warnings.
4669
89bd5ee1
EZ
4670 * window.el (window-body-height, window-body-width): Mention in
4671 the doc string that the return values are in frame's canonical
4672 units. (Bug#9949)
4673
bd17fdee
AM
46742011-11-03 Alan Mackenzie <acm@muc.de>
4675
4676 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4677 change in cc-engine.el.
4678
acc825c5
SM
46792011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4682
1885e5b8
MR
46832011-11-02 Martin Rudalics <rudalics@gmx.at>
4684
4685 * window.el (quit-window): Call unrecord-window-buffer after
4686 showing another buffer in the window. (Bug#9937)
acc825c5 4687 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4688
ebe06da9
JB
46892011-11-02 Juanma Barranquero <lekktu@gmail.com>
4690
4691 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4692 Accept status with more than 9 shelves. (Bug#9935)
4693 Reported by Colin D Bennett <colin@gibibit.com>.
4694
4ee88440
MR
46952011-11-01 Martin Rudalics <rudalics@gmx.at>
4696
4697 * help.el (with-help-window): Don't reference
4698 temp-buffer-show-specifiers in doc-string.
4699
08e1d82c
AS
47002011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4701
4702 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4703 menu-item.
4704
84bd6e9e
VJL
47052011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4706
4707 * whitespace.el: New version 13.2.2.
4708 (whitespace-newline-mode): Disable properly. Reported by Sarah
4709 <EmacsWiki>.
4710
dba0634a
UJ
47112011-10-30 Ulf Jasper <ulf.jasper@web.de>
4712
4713 * net/newst-treeview.el: Remove "Time-stamp".
4714 (newsticker--group-manage-orphan-feeds): Do not call
4715 newsticker--treeview-tree-update.
db22a3c2
JB
4716 (newsticker-treeview-update, newsticker-treeview):
4717 Call newsticker--treeview-tree-update if necessary.
dba0634a 4718
3d8daefe
MR
47192011-10-30 Martin Rudalics <rudalics@gmx.at>
4720
4721 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4722 (window-iso-combinations): Remove "iso-" infix.
4723 Suggested by Chong Yidong.
3d8daefe
MR
4724 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4725 (window-max-delta-1, window-resize, window--resize-siblings)
4726 (window--resize-this-window, adjust-window-trailing-edge)
4727 (split-window, balance-windows-1)
4728 (shrink-window-if-larger-than-buffer):
4729 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4730 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4731
1bc4c3ae
SM
47322011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4735 in place (bug#9907).
4736 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4737 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4738 (eshell-structure-basic-command, eshell-rewrite-while-command)
4739 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4740 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4741 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4742 (eshell-do-pipelines-synchronously, eshell-eval-command):
4743 Use backquotes and prefer setq to set.
4744 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4745 (eshell-macrop): Use functionp.
c1e2f5fa 4746 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4747
30b65d9c
CY
47482011-10-30 Chong Yidong <cyd@gnu.org>
4749
4750 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4751 instead of set-mark (Bug#9810).
4752
2d197ffb
CY
47532011-10-30 Chong Yidong <cyd@gnu.org>
4754
4755 * window.el (split-window-below, split-window-right): Rename from
4756 split-window-above-each-other and split-window-side-by-side
4757 respectively. All callers changed.
4758 (split-window-sensibly, split-window-sensibly): Use them.
4759 (split-window-keep-point): Doc fix.
4760
4761 * isearch.el: Add isearch-scroll property to split-window-below
4762 and split-window-right.
4763
4764 * follow.el (follow-mode):
4765 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4766 * progmodes/ada-xref.el (ada-gdb-application):
4767 * emulation/vip.el (vip-buffer-in-two-windows):
4768 * image-dired.el (image-dired-dired-with-window-configuration):
4769 * dired-x.el (dired-do-find-marked-files):
4770 * dired.el (dired-pop-to-buffer):
4771 * bs.el (bs--show-with-configuration):
4772 * vc/emerge.el (emerge-setup-windows):
4773 * textmodes/two-column.el (2C-two-columns):
4774 * textmodes/reftex-toc.el (reftex-toc):
4775 * progmodes/gdb-mi.el (gdb-setup-windows):
4776 * progmodes/fortran.el (fortran-window-create):
4777 * net/newst-treeview.el (newsticker--treeview-window-init):
4778 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4779 * emulation/tpu-edt.el (tpu-gold-map):
4780 * emulation/crisp.el (crisp-mode-map):
4781 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4782
38bb2ca8
CY
47832011-10-29 Chong Yidong <cyd@gnu.org>
4784
aa4de341
CY
4785 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4786
e1eb5385
CY
4787 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4788
5d2ece3c
CY
4789 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4790 forged Ispell output (Bug#7904).
4791
38bb2ca8
CY
4792 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4793
d0af9f77
SM
47942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * doc-view.el: Avoid ugly errors about not finding nil.
4797 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4798 (doc-view-dvipdf-program, doc-view-unoconv-program)
4799 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4800 Avoid nil or absolute file name as default value.
4801 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4802
52bedd34
AM
48032011-10-28 Alan Mackenzie <acm@muc.de>
4804
db22a3c2 4805 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4806
7e43cfa5
AM
48072011-10-28 Alan Mackenzie <acm@muc.de>
4808
4809 Amend the handling of c-beginning/end-of-defun in nested declaration
4810 scopes.
4811
52bedd34
AM
4812 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4813 cc-langs.el. Change it to a defcustom.
7e43cfa5 4814
52bedd34
AM
4815 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4816 cc-vars.el.
7e43cfa5 4817
d0af9f77
SM
4818 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4819 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4820
52bedd34 4821 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4822 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4823 (c-widen-to-enclosing-decl-scope): New function.
4824 (c-while-widening-to-decl-block): New macro.
4825 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4826 outward for defun boundaries, and correspondingly change symbol
4827 `respect-enclosure' to `go-outward'.
4828 (c-declaration-limits): Change algorithm to report only the "innermost"
4829 defun's boundaries.
4830
1a2ce9ee
DD
48312011-10-28 Deniz Dogan <deniz@dogan.se>
4832
4833 * net/rcirc.el (rcirc-mode): Use hard newlines.
4834
bc97a826
AM
48352011-10-28 Alan Mackenzie <acm@muc.de>
4836
4837 Amend to indent and fontify macros "which include their own semicolon"
4838 correctly, using the "virtual semicolon" mechanism.
4839
52bedd34 4840 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4841
d0af9f77 4842 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4843 Recode to scan one line at a time rather than having \n and \r
58179cce 4844 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4845 (c-forward-label): Amend for virtual semicolons.
58179cce 4846 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4847
52bedd34
AM
4848 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4849 of the new C macros.
bc97a826 4850
52bedd34 4851 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4852 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4853 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4854 (c-opt-cpp-macro-define): Make into a full language variable.
4855 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4856 AWK Mode (including \n, \r) removed, no longer needed.
4857
d0af9f77
SM
4858 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4859 Invoke c-make-macro-with-semi-re.
bc97a826 4860
52bedd34
AM
4861 * progmodes/cc-vars.el (c-macro-with-semi-re):
4862 (c-macro-names-with-semicolon): New variables.
58179cce 4863 (c-make-macro-with-semi-re): New function.
bc97a826 4864
7a6c0941
SM
48652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * vc/log-edit.el: Fill empty field rather than adding new one.
4868 (log-edit-add-field): New function.
4869 (log-edit-insert-changelog): Use it.
4870
b0c4cdcf
ML
48712011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4872
4873 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4874
ee1f1da9
SM
48752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4878 (gdb--check-interpreter): New function.
4879 (gdb): Use it.
4880
51bc5f8b
GM
48812011-10-27 Glenn Morris <rgm@gnu.org>
4882
416a2c45
GM
4883 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4884 (least-positive-float, least-negative-float)
4885 (least-positive-normalized-float, least-negative-normalized-float)
4886 (float-epsilon, float-negative-epsilon):
4887 Remove unnecessary declarations.
4888
4889 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4890 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4891 (least-positive-float, least-negative-float)
4892 (least-positive-normalized-float, least-negative-normalized-float)
4893 (float-epsilon, float-negative-epsilon): Add doc-strings,
4894 based on those in cl.texi.
4895
51bc5f8b
GM
4896 * files.el (set-visited-file-name): If the major-mode changed,
4897 reload the local variables. (Bug#9796)
4898
15de15c6
CY
48992011-10-27 Chong Yidong <cyd@gnu.org>
4900
4901 * subr.el (change-major-mode-after-body-hook): New hook.
4902 (run-mode-hooks): Run it.
4903
ee1f1da9
SM
4904 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4905 Use change-major-mode-before-body-hook.
15de15c6
CY
4906
4907 * simple.el (fundamental-mode):
4908 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4909 change introducing fundamental-mode-hook.
4910
5430d399
JB
49112011-10-26 Juanma Barranquero <lekktu@gmail.com>
4912
acc825c5 4913 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4914
ad74a69e
MA
49152011-10-26 Michael Albinus <michael.albinus@gmx.de>
4916
4917 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4918 tramp.el explicitly. (Bug#7583)
ad74a69e 4919
71d4c2a5
SM
49202011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4922 * progmodes/octave-mod.el:
4923 * progmodes/octave-inf.el: Update maintainer.
4924
b1f6fa26
CY
49252011-10-26 Chong Yidong <cyd@gnu.org>
4926
4927 * subr.el (with-wrapper-hook): Rewrite doc.
4928
3f04efd6
MA
49292011-10-25 Michael Albinus <michael.albinus@gmx.de>
4930
4931 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4932 filenames "/method:foo:". (Bug#9793)
3f04efd6 4933
410488d3
SM
49342011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4937 (bug#9865).
4938
c1ebb47e
GM
49392011-10-24 Glenn Morris <rgm@gnu.org>
4940
4941 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4942
7f5c46c7
MA
49432011-10-24 Michael Albinus <michael.albinus@gmx.de>
4944
4945 * notifications.el: Add the requirement of a running D-Bus session
4946 bus to the Commentary.
4947
db2440b6
JL
49482011-10-24 Juri Linkov <juri@jurta.org>
4949
4950 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4951 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4952 (Bug#9364)
4953
feecf435
JL
49542011-10-24 Juri Linkov <juri@jurta.org>
4955
4956 * info.el (Info-following-node-name-re): Add newline to the list
4957 of allowed characters for leading space. (Bug#9824)
4958
a3839de2
SM
49592011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4960
acc825c5
SM
4961 * progmodes/octave-inf.el (inferior-octave-mode-map):
4962 Fix C-c C-h binding.
a3839de2
SM
4963 * progmodes/octave-mod.el (octave-help): Remove.
4964
09388e76
MA
49652011-10-23 Michael Albinus <michael.albinus@gmx.de>
4966
4967 Sync with Tramp 2.2.3.
4968
4969 * net/tramp-cache.el (top): Pacify byte-compiler using
4970 `init-file-user' and `site-run-file'.
4971
4972 * net/trampver.el: Update release number.
4973
86c60681
CY
49742011-10-23 Chong Yidong <cyd@gnu.org>
4975
4976 * files.el (toggle-read-only): Remove obsolete comment about
4977 version control.
4978
4979 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4980 for toggle-read-only. Note that this hasn't called vc-next-action
4981 since 2008-05-02, though it wasn't documented at the time.
4982
a3839de2
SM
4983 * vc/ediff-init.el (ediff-toggle-read-only-function):
4984 Use toggle-read-only.
86c60681 4985
cd5495ff
AM
49862011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4987
4988 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4989 of c-parse-state.
4990
00b77525 4991 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4992 correct faulty logical expression.
cd5495ff
AM
4993 (c-parse-state-state, c-record-parse-state-state):
4994 (c-replay-parse-state-state): New defvar/defuns.
4995 (c-debug-parse-state): Use new functions.
4996
42ee24ed
MR
49972011-10-22 Martin Rudalics <rudalics@gmx.at>
4998
4999 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5000 last fix. Use window-in-direction correctly.
42ee24ed 5001
a7dee7e7
CY
50022011-10-21 Chong Yidong <cyd@gnu.org>
5003
5004 * progmodes/idlwave.el (idlwave-mode):
5005 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5006 require-final-newline; that's done in prog-mode.
5007 Suggested by Stefan Monnier.
a7dee7e7 5008
e07b9a6d
MR
50092011-10-21 Martin Rudalics <rudalics@gmx.at>
5010
5011 * mouse.el (mouse-drag-window-above)
5012 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5013 (mouse-drag-mode-line-1, mouse-drag-header-line)
5014 (mouse-drag-vertical-line-rightward-window): Remove.
5015 (mouse-drag-line): New function.
5016 (mouse-drag-mode-line, mouse-drag-header-line)
5017 (mouse-drag-vertical-line): Call mouse-drag-line.
5018 * window.el (window-at-side-p, windows-at-side): New functions.
5019
7e1361d9
UM
50202011-10-21 Ulrich Mueller <ulm@gentoo.org>
5021
5022 * tar-mode.el (tar-grind-file-mode):
5023 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5024
30fcaf3a
CY
50252011-10-21 Chong Yidong <cyd@gnu.org>
5026
5027 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5028 * progmodes/vera-mode.el (vera-mode):
5029 Use mode-require-final-newline.
30fcaf3a 5030
516eddb0
GM
50312011-10-20 Glenn Morris <rgm@gnu.org>
5032
db22a3c2 5033 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5034
10d5f513
CS
50352011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5036
5037 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5038
ac6c8639
CY
50392011-10-20 Chong Yidong <cyd@gnu.org>
5040
5041 * emulation/cua-base.el (cua-mode):
5042 * mail/footnote.el (footnote-mode):
5043 * mail/mailabbrev.el (mail-abbrevs-mode):
5044 * net/xesam.el (xesam-minor-mode):
5045 * progmodes/bug-reference.el (bug-reference-mode):
5046 * progmodes/cap-words.el (capitalized-words-mode):
5047 * progmodes/compile.el (compilation-minor-mode)
5048 (compilation-shell-minor-mode):
5049 * progmodes/gud.el (gud-tooltip-mode):
5050 * progmodes/hideif.el (hide-ifdef-mode):
5051 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5052 * progmodes/subword.el (subword-mode):
5053 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5054 * progmodes/which-func.el (which-function-mode):
5055 * term/tvi970.el (tvi970-set-keypad-mode):
5056 * term/vt100.el (vt100-wide-mode):
5057 * textmodes/flyspell.el (flyspell-mode):
5058 * textmodes/ispell.el (ispell-minor-mode):
5059 * textmodes/nroff-mode.el (nroff-electric-mode):
5060 * textmodes/paragraphs.el (use-hard-newlines):
5061 * textmodes/refill.el (refill-mode):
5062 * textmodes/reftex.el (reftex-mode):
5063 * textmodes/rst.el (rst-minor-mode):
5064 * textmodes/sgml-mode.el (html-autoview-mode)
5065 (sgml-electric-tag-pair-mode):
5066 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5067 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5068 * emulation/crisp.el (crisp-mode):
5069 * emacs-lisp/eldoc.el (eldoc-mode):
5070 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5071 minor mode behavior.
5072
aa42ab43
JL
50732011-10-19 Juri Linkov <juri@jurta.org>
5074
5075 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5076 the list of hard-coded chars with escape-glyph face.
5077
89400f1d
SM
50782011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5081
305c07f6
MA
50822011-10-19 Michael Albinus <michael.albinus@gmx.de>
5083
5084 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5085 running process.
5086
13754b54
GM
50872011-10-19 Glenn Morris <rgm@gnu.org>
5088
5089 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5090 Ignore ignored files. (Bug#9726)
5091
06e21633
CY
50922011-10-19 Chong Yidong <cyd@gnu.org>
5093
5094 Doc fix for minor modes, stating that an omitted argument enables
5095 the mode unconditionally when called from Lisp.
5096
5097 * abbrev.el (abbrev-mode):
5098 * allout.el (allout-mode):
5099 * autoinsert.el (auto-insert-mode):
5100 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5101 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5102 (global-auto-revert-mode):
5103 * battery.el (display-battery-mode):
5104 * composite.el (global-auto-composition-mode)
5105 (auto-composition-mode):
5106 * delsel.el (delete-selection-mode):
5107 * desktop.el (desktop-save-mode):
5108 * dired-x.el (dired-omit-mode):
5109 * dirtrack.el (dirtrack-mode):
5110 * doc-view.el (doc-view-minor-mode):
5111 * double.el (double-mode):
5112 * electric.el (electric-indent-mode, electric-pair-mode):
5113 * emacs-lock.el (emacs-lock-mode):
5114 * epa-hook.el (auto-encryption-mode):
5115 * follow.el (follow-mode):
5116 * font-core.el (font-lock-mode):
5117 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5118 * help.el (temp-buffer-resize-mode):
5119 * hilit-chg.el (highlight-changes-mode)
5120 (highlight-changes-visible-mode):
5121 * hi-lock.el (hi-lock-mode):
5122 * hl-line.el (hl-line-mode, global-hl-line-mode):
5123 * icomplete.el (icomplete-mode):
5124 * ido.el (ido-everywhere):
5125 * image-file.el (auto-image-file-mode):
5126 * image-mode.el (image-minor-mode):
5127 * iswitchb.el (iswitchb-mode):
5128 * jka-cmpr-hook.el (auto-compression-mode):
5129 * linum.el (linum-mode):
5130 * longlines.el (longlines-mode):
5131 * master.el (master-mode):
5132 * mb-depth.el (minibuffer-depth-indicate-mode):
5133 * menu-bar.el (menu-bar-mode):
5134 * minibuf-eldef.el (minibuffer-electric-default-mode):
5135 * mouse-sel.el (mouse-sel-mode):
5136 * msb.el (msb-mode):
5137 * mwheel.el (mouse-wheel-mode):
5138 * outline.el (outline-minor-mode):
5139 * paren.el (show-paren-mode):
5140 * recentf.el (recentf-mode):
5141 * reveal.el (reveal-mode, global-reveal-mode):
5142 * rfn-eshadow.el (file-name-shadow-mode):
5143 * ruler-mode.el (ruler-mode):
5144 * savehist.el (savehist-mode):
5145 * scroll-all.el (scroll-all-mode):
5146 * scroll-bar.el (scroll-bar-mode):
5147 * server.el (server-mode):
5148 * shell.el (shell-dirtrack-mode):
5149 * simple.el (auto-fill-mode, transient-mark-mode)
5150 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5151 (line-number-mode, column-number-mode, size-indication-mode)
5152 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5153 * strokes.el (strokes-mode):
5154 * time.el (display-time-mode):
5155 * t-mouse.el (gpm-mouse-mode):
5156 * tool-bar.el (tool-bar-mode):
5157 * tooltip.el (tooltip-mode):
5158 * type-break.el (type-break-mode-line-message-mode)
5159 (type-break-query-mode):
5160 * view.el (view-mode):
5161 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5162 (global-whitespace-mode, global-whitespace-newline-mode):
5163 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5164
a3839de2
SM
5165 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5166 Fix autogenerated docstring.
06e21633 5167
5214e501
JL
51682011-10-19 Juri Linkov <juri@jurta.org>
5169
5170 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5171 by checking environment variables "DESKTOP_SESSION" and
5172 "XDG_CURRENT_DESKTOP". (Bug#9779)
5173
195f8db9
JL
51742011-10-19 Juri Linkov <juri@jurta.org>
5175
5176 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5177 (browse-url-chromium-program, browse-url-chromium-arguments):
5178 New defcustoms.
5179 (browse-url-default-browser): Check for `browse-url-chromium' and
5180 call `browse-url-chromium-program'.
5181 (browse-url-chromium): New command. (Bug#9779)
5182
343a34ff
JB
51832011-10-18 Juanma Barranquero <lekktu@gmail.com>
5184
5185 * facemenu.el (list-colors-duplicates): On Windows, detect more
5186 duplicates by assuming that only colors matching "^System" are
5187 special "system colors". (Bug#9722)
5188
6978a151
SM
51892011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5192 to distinguish the author from the committer.
5193
6a80b297
MA
51942011-10-18 Michael Albinus <michael.albinus@gmx.de>
5195
5196 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5197
b31a5677
JK
51982011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5199
5200 * international/mule.el (sgml-html-meta-auto-coding-function):
5201 Add support for detecting encoding in HTML5 specified only as
5202 <meta charset="UTF-8">. Implementation just makes http-equiv and
5203 content-type parts from HTML4 encoding string optional. (Bug#9716)
5204
80c6d77f
GM
52052011-10-18 Glenn Morris <rgm@gnu.org>
5206
5207 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5208
08b0fee8
CY
52092011-10-18 Chong Yidong <cyd@gnu.org>
5210
5211 * faces.el (cursor): Doc fix.
5212
67e729a5
CY
52132011-10-17 Chong Yidong <cyd@gnu.org>
5214
5215 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5216
343a34ff 52172011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5218
5219 * dirtrack.el (dirtrack): Support shell buffers with path
5220 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5221
0bc06380
TZ
52222011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5223
5224 * json.el: Bump version to 1.3 and note change in History.
5225 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5226
8b79f3e0
SM
52272011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5a7c536b
SM
5229 * comint.el (comint-insert-input, comint-send-input)
5230 (comint-get-old-input-default, comint-backward-matching-input)
5231 (comint-next-prompt): Use nil instead of `input' for field property of
5232 past user input (bug#114).
5233
96a8a0df
SM
5234 * minibuffer.el (completion--replace): Inherit surrounding properties
5235 (bug#114).
5236 (minibuffer-complete-and-exit): Use it.
5237
8b79f3e0
SM
5238 * comint.el (comint--table-subvert): Quote the all-completions output
5239 (bug#9160).
5240
b8f7ff0d
MR
52412011-10-17 Martin Rudalics <rudalics@gmx.at>
5242
8b79f3e0 5243 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5244
b8f7ff0d 5245 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5246 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5247 entries and separate them from frame entries.
5248
c235b555
GM
52492011-10-15 Glenn Morris <rgm@gnu.org>
5250
5251 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5252 Doc fixes.
5253
6bbfa6e1
CY
52542011-10-15 Chong Yidong <cyd@stupidchicken.com>
5255
8b79f3e0
SM
5256 * net/network-stream.el (network-stream-open-starttls):
5257 Improve detection of failure due to lack of TLS support.
ec5c990d 5258
6bbfa6e1
CY
5259 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5260 putting the input text in front and in bold.
5261
98488977
SM
52622011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5263
3d1337be
SM
5264 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5265
ee0b45e4
SM
5266 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5267 empty buffer.
5268
98488977
SM
5269 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5270 unread-command-events rather than pushing yet-another event.
5271
186f4720
EZ
52722011-10-14 Eli Zaretskii <eliz@gnu.org>
5273
5274 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5275 the explanation of the possible choices. Make the options passed
5276 to completing-read shorter.
5277
8b7a997c
AM
52782011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5279
5280 * textmodes/flyspell.el (flyspell-large-region): Make sure
5281 extended character mode is used if defined (Bug#1339).
5282
12587bbb
EZ
52832011-10-13 Eli Zaretskii <eliz@gnu.org>
5284
5285 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5286 character info for LRE, LRO, RLE, and RLO characters by appending
5287 an invisible PDF.
12587bbb 5288
bad41229
SM
52892011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5290
5291 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5292 even in case of error; add debug spec; simplify data flow.
5293 (with-timeout-handler): Remove.
5294
28dbc92f
MA
52952011-10-12 Michael Albinus <michael.albinus@gmx.de>
5296
5297 Fix Bug#6019, Bug#9315.
5298
5299 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5300 complete `buffer-file-name', the local file name part could look
5301 remotely (for example on VMS).
5302
5303 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5304 `tramp-run-real-handler'.
5305 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5306 already quoted by '"'.
5307
5308 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5309 Let `file-name-handler-alist' be nil, the local file name part
5310 could look remotely (for example on VMS).
5311
e1b0b23a
SM
53122011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5313
5314 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5315 from here...
5316 (flyspell-post-command-hook): ...to here.
5317
a120bde9
SM
53182011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5320 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5321 if not needed.
5322 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5323 using completion. Protect against "slow" callers.
5324 Remove the "message hack".
5325
7ce7717b
JL
53262011-10-11 Juri Linkov <juri@jurta.org>
5327
5328 * isearch.el (isearch-lazy-highlight-word): New variable.
5329 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5330 Use it. (Bug#9727)
5331
c02ee9d6
GM
53322011-10-11 Glenn Morris <rgm@gnu.org>
5333
5334 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5335 like f90-previous-statement does.
5336
93e616fd 53372011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5338
1f190e73 5339 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5340 only in interactive use, to avoid error.
5341
af7b6078
SM
53422011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * minibuffer.el (completion-file-name-table): Fix last change,
5345 i.e. ignore normal errors but not the other ones.
5346
0563dae9
MR
53472011-10-10 Martin Rudalics <rudalics@gmx.at>
5348
5349 * window.el (special-display-buffer-names)
5350 (special-display-regexps): Remove some remnants of earlier
5351 changes from doc-strings.
366ca7f3
MR
5352 (quit-windows-on): New function.
5353
5354 * vc/vc.el (vc-revert, vc-rollback):
5355 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5356 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5357 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5358
49677495
MR
53592011-10-09 Martin Rudalics <rudalics@gmx.at>
5360
5361 * window.el (frame-auto-hide-function): Add version tag.
5362 (Bug#9699)
5363
56f2d1e1
MA
53642011-10-09 Michael Albinus <michael.albinus@gmx.de>
5365
5366 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5367 condition.
5368
112a6592
LL
53692011-10-09 Leo Liu <sdl.web@gmail.com>
5370
5371 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5372 (Bug#9701)
5373
0812589b
GM
53742011-10-08 Glenn Morris <rgm@gnu.org>
5375
5376 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5377 before the first code statement zero indent. (Bug#9690)
5378
b2b0776e
CY
53792011-10-08 Chong Yidong <cyd@stupidchicken.com>
5380
5381 * simple.el (count-words-region): Always count in the region.
5382 Report the number of lines and characters too.
5383 (count-words): New command, which counts in the buffer if the
5384 region is inactive, as count-words-region used to.
5385 (count-words--message): New function. Handle plurals.
5386 (count-lines-region): Make it an alias for count-words-region.
5387
5388 * bindings.el (esc-map): Replace count-lines-region with
5389 count-words-region.
5390
c557cd6b
MR
53912011-10-08 Martin Rudalics <rudalics@gmx.at>
5392
5393 * window.el (window--delete): Delete dedicated frame
5394 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5395 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5396
61a57ef4 53972011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5398
3a7d293b 5399 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5400
c3833279
CY
54012011-10-07 Chong Yidong <cyd@stupidchicken.com>
5402
5403 * bindings.el ([M-left],[M-right]): Bind to left-word and
5404 right-word respectively.
5405
21ce8245
GM
54062011-10-07 Glenn Morris <rgm@gnu.org>
5407
5408 * cus-start.el (debug-on-quit): Fix custom type.
5409
6d823bb2
LMI
54102011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5411
0181e193
LMI
5412 * subr.el (define-key-after): Clarify that the function is not
5413 useful for non-menu keymaps.
5414
6d823bb2
LMI
5415 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5416
8e3459ce 54172011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5418
21ce8245 5419 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5420 in current minibuffer (Fix bug with recursive minibuffers).
5421
a1c2d21e
CY
54222011-10-06 Chong Yidong <cyd@stupidchicken.com>
5423
5424 * progmodes/gdb-mi.el (gdb): Doc fix.
5425
5a4cf282
MR
54262011-10-05 Martin Rudalics <rudalics@gmx.at>
5427
5428 * window.el (frame-auto-hide-function): New option replacing
5429 frame-auto-delete. Suggested by Stefan Monnier.
5430 (window--delete): Call frame-auto-hide-function instead of
5431 investigating frame-auto-delete.
c96111ea
MR
5432 (window-point-1, set-window-point-1): New functions.
5433 (window-in-direction, record-window-buffer, window-state-get-1)
5434 (display-buffer-record-window): Use window-point-1 instead of
5435 window-point.
5436 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5437
9854542e
SM
54382011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5441
8943cfb0
GM
54422011-10-05 Glenn Morris <rgm@gnu.org>
5443
5444 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5445 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5446
647ab967
LL
54472011-10-05 Leo Liu <sdl.web@gmail.com>
5448
5449 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5450 works with buffer object.
5451
3ddfbced
SM
54522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * mpc.el (mpc-tool-bar-map): Add labels.
5455
bdfa5dd2
GM
54562011-10-04 Glenn Morris <rgm@gnu.org>
5457
5458 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5459
0e2070b5
MR
54602011-10-04 Martin Rudalics <rudalics@gmx.at>
5461
5462 * window.el (window--delete): New function.
5463 (frame-auto-delete): Resuscitate option.
5464 (bury-buffer, replace-buffer-in-windows)
5465 (quit-window): Rewrite using window--delete.
5466 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5467 Pass display-buffer-mark-dedicated to window--display-buffer-2
5468 (Bug#9639).
5469
3dc61a09
SM
54702011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5471
915a9b64
SM
5472 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5473 returns a list (bug#9554). Add remote file name completion.
5474 * comint.el (comint--table-subvert): Curry and get quote&unquote
5475 functions as arguments.
5476 (comint--complete-file-name-data): Adjust call accordingly.
5477 * pcomplete.el (pcomplete--table-subvert): Remove.
5478 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5479
3dc61a09
SM
5480 * minibuffer.el (completion-table-case-fold): Use currying.
5481 (completion--styles-type, completion--cycling-threshold-type):
5482 New constants.
5483 (completion-styles, completion-category-overrides)
5484 (completion-cycle-threshold): Use them.
5485 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5486 completion-table-case-fold.
5487
8ea0a993
SB
54882011-10-03 Stephen Berman <stephen.berman@gmx.net>
5489
5490 * minibuffer.el (completion-category-overrides): Fix type of styles
5491 and add more user friendly tags (bug#9660).
5492
8c24b7f6
SM
54932011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5496 (mule-input-method-string): New widget.
5497 (default-input-method, language-info-custom-alist): Use it.
5498
428fe61a
SM
54992011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5500
32c1fffd
SM
5501 * pcomplete.el: Require comint.
5502 (pcomplete--common-suffix): Remove.
5503 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5504 (pcomplete--table-subvert): Sync with comint--table-subvert.
5505 (pcomplete--entries): Use comint-completion-file-name-table.
5506 * comint.el (comint-unquote-filename): Simplify.
5507 (comint-completion-file-name-table): New function (bug#9616).
5508 (comint--complete-file-name-data): Use it.
5509
428fe61a
SM
5510 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5511 (pcmpl-gnu-tar-buffer): Remove.
5512 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5513 around. Make sure pcomplete-suffix-list is only changed temporarily.
5514 Don't look inside the tar's file if it's too large.
428fe61a 5515
04c52e2f
CY
55162011-10-01 Chong Yidong <cyd@stupidchicken.com>
5517
ce3cefcc
CY
5518 * cus-edit.el (custom-mode-map):
5519 * epa.el (epa-key-list-mode-map):
5520 * man.el (Man-mode-map):
5521 * startup.el (splash-screen-keymap):
5522 * simple.el (special-mode-map): Use scroll-up-command and
5523 scroll-down-command.
5524
5525 * progmodes/idlw-help.el (idlwave-help-mode-map):
5526 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5527 * net/newst-plainview.el (newsticker-mode-map):
5528 * emulation/ws-mode.el (wordstar-mode-map):
5529 * emulation/vi.el (vi-com-map):
5530 * calc/calc-graph.el (calc-graph-show-dumb):
5531 * term/sun.el (terminal-init-sun):
5532 * term/ns-win.el (global-map):
5533 * progmodes/grep.el (grep-mode-map):
5534 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5535 * mail/rmail.el (rmail-mode-map):
5536 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5537
04c52e2f
CY
5538 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5539 custom-safe-themes as special.
5540
79adf8c8
JD
55412011-10-01 Julien Danjou <julien@danjou.info>
5542
5543 * notifications.el (notifications-notify): Fix docstring.
5544
63bd50d3
PS
55452011-10-01 Per Starbäck <per@starback.se>
5546
5547 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5548
199e4c7e
MR
55492011-09-30 Martin Rudalics <rudalics@gmx.at>
5550
5551 * startup.el (command-line-1): Fix last fix by inserting
5552 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5553 (Bug#9605) and (Bug#9636)
199e4c7e 5554
fe5f08dd
EZ
55552011-09-29 Eli Zaretskii <eliz@gnu.org>
5556
5557 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5558 window is hscrolled, move by logical lines. (Bug#9607)
5559 (line-move-visual): Update the doc string to the above effect.
5560
b5516bbd
MR
55612011-09-29 Martin Rudalics <rudalics@gmx.at>
5562
ccee00c0
MR
5563 * window.el (display-buffer-record-window): When WINDOW is the
5564 selected window use `point' instead of `window-point'. (Bug#9626)
5565
b5516bbd
MR
5566 * startup.el (command-line-1): Use insert-before-markers when
5567 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5568
b5516bbd
MR
5569 * help.el (help-window): Remove variable.
5570
52aa0014
GM
55712011-09-29 Glenn Morris <rgm@gnu.org>
5572
5573 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5574
df9a7357
JB
55752011-09-29 Juanma Barranquero <lekktu@gmail.com>
5576
5577 * descr-text.el (describe-char-categories): Accept category
5578 descriptions more than one line long.
5579
a8406c20
SM
55802011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5581
88d9610c
SM
5582 * simple.el (delete-trailing-whitespace): Fix last change.
5583
a5daf810
SM
5584 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5585 Don't confuse "y => 3" as the beginning of a `y' operation.
5586
a8406c20
SM
5587 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5588 object has more than 4 slots (bug#9613).
5589
a239d4e9
JB
55902011-09-28 Juanma Barranquero <lekktu@gmail.com>
5591
5592 * subr.el (with-output-to-temp-buffer):
5593 * net/quickurl.el (quickurl, quickurl-browse-url):
5594 Fix typos in docstrings.
5595
693fbdb6
EZ
55962011-09-27 Eli Zaretskii <eliz@gnu.org>
5597
5598 * minibuffer.el (completion-styles)
5599 (completion-category-overrides): Cross reference each other in doc
5600 strings.
5601
8b457e28
GM
56022011-09-27 Glenn Morris <rgm@gnu.org>
5603
5604 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5605 to split-string. (Bug#9606)
5606
85a16208
LMI
56072011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5608
5609 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5610 (bug#9615).
5611
502f9ebd
CY
56122011-09-27 Chong Yidong <cyd@stupidchicken.com>
5613
5614 * emacs-lisp/package.el (list-packages): Fix echo area message.
5615
7690bdea
LL
56162011-09-27 Leo Liu <sdl.web@gmail.com>
5617
5618 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5619
e2ee6f30
MA
56202011-09-25 Michael Albinus <michael.albinus@gmx.de>
5621
5622 * net/dbus.el (dbus-unregister-object): Don't release services for
5623 registered signals. (Bug#9581)
5624
f3f98342
TZ
56252011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5626
5627 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5628 function that picks between cfengine 2 and 3 support
5629 automatically. Update docs accordingly.
5630
dd7aa8dd
KH
56312011-09-22 Kenichi Handa <handa@m17n.org>
5632
5633 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5634 ZERO.
5635 (indian-itrans-v5-table-for-tamil): New variable.
5636 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5637
3f2b07f8
KM
56382011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5639
5640 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5641 that's true if the current command involved collapsing of text.
5642 It's reset to false at the beginning of the next command.
5643 (allout-post-command-business): Move the cursor to the beginning
5644 of entry if the cursor is hidden and collapsing activity just
5645 happened.
5646
371d6a61
CY
56472011-09-24 Chong Yidong <cyd@stupidchicken.com>
5648
5649 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5650 tracking (Bug#9541).
5651
2ac2721a
UJ
56522011-09-24 Ulf Jasper <ulf.jasper@web.de>
5653
5654 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5655 (newsticker-show-news): Automatically load html rendering package
5656 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5657 because w3m-fill-column is let-bound" and the error "Symbol's value
5658 as variable is void: w3m-fill-column".
2ac2721a 5659
fac7ae53
MA
56602011-09-24 Michael Albinus <michael.albinus@gmx.de>
5661
5662 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5663 Release services only if they are defined. (Bug#9581)
5664
e08b633b
RS
56652011-09-23 Richard Stallman <rms@gnu.org>
5666
e488d29c
RS
5667 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5668 distinguish start of paragraph from start of its text.
5669
19c38752
RS
5670 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5671
e08b633b
RS
5672 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5673 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5674 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5675
0a39f27e
AS
56762011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5677
5678 * international/mule-diag.el (mule-diag): Insert a newline after
5679 each fontset description.
5680
db4e950d
SM
56812011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * simple.el (delete-trailing-whitespace):
5684 Document last change; simplify.
5685
eca3f3ea
PW
56862011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5687
d68e189a
PW
5688 * simple.el (delete-trailing-whitespace): Also delete
5689 extra newlines at the end of the buffer.
5690
eca3f3ea
PW
5691 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5692 (picture-newline): Use forward-line so as to ignore fields.
5693
01c157cc
SM
56942011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * subr.el (with-wrapper-hook): Fix edebug spec.
5697
022de23e
LMI
56982011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5699
5700 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5701 (bug#4538).
5702
91683089
MA
57032011-09-23 Michael Albinus <michael.albinus@gmx.de>
5704
eca3f3ea
PW
5705 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5706 Fix nasty bug using wrong cached values.
91683089 5707
5bdd6fa4
AM
57082011-09-23 Alan Mackenzie <acm@muc.de>
5709
5710 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5711
97adfb97
CY
57122011-09-23 Chong Yidong <cyd@stupidchicken.com>
5713
5714 * window.el (pop-to-buffer): Ensure right window is selected if we
5715 chose another frame.
5716
d4ef2b50
EZ
57172011-09-22 Eli Zaretskii <eliz@gnu.org>
5718
5719 * simple.el (what-cursor-position): Use get-char-property-change
5720 and next-single-char-property-change, to be able to show display
5721 properties that come from overlays as well as text properties.
5722
72258fe5
CY
57232011-09-22 Chong Yidong <cyd@stupidchicken.com>
5724
5725 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5726
5727 * cmuscheme.el (run-scheme, switch-to-scheme):
5728 * cus-edit.el (customize-group, custom-buffer-create)
5729 (customize-browse):
5730 * info.el (info):
5731 * shell.el (shell):
5732 * mail/sendmail.el (mail):
5733 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5734
8f098516
RS
57352011-09-22 Richard Stallman <rms@gnu.org>
5736
5737 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5738 move back only to line beg, don't move back over blank lines.
5739
e74f1bb6
MA
57402011-09-22 Michael Albinus <michael.albinus@gmx.de>
5741
5742 * files.el (copy-directory): Set directory attributes only in case
5743 they could be retrieved from the source directory. (Bug#9565)
5744
bfeef8b6
DK
57452011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5746
5747 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5748 (hs-find-block-beginning, hs-hide-level-recursive):
5749 Ignore strings as well as comments. (Bug#9502)
5750
7e423bb8
AS
57512011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5752
5753 * progmodes/sql.el (sql-comint-postgres):
5754 Convert port number to a string. (Bug#9566)
5755
b4d72fcf
MR
57562011-09-22 Martin Rudalics <rudalics@gmx.at>
5757
5758 * window.el (quit-window): Undedicate window when switching to
5759 previous buffer. Reported by Thierry Volpiatto
5760 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5761 (special-display-popup-frame): When popping up a new frame reset
5762 its previous buffers to nil. Simplify code.
b4d72fcf 5763
a7b88dc6
MA
57642011-09-21 Michael Albinus <michael.albinus@gmx.de>
5765
5766 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5767 and process filter, as done also in `shell-command'.
5768
cf4eacfd
MR
57692011-09-21 Martin Rudalics <rudalics@gmx.at>
5770
eca3f3ea 5771 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5772 Call set-window-start with NOFORCE argument t.
5773 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5774 (quit-window): Reword doc-string. Handle new format of
5775 quit-restore parameter. Don't delete window if it has a
5776 previous buffer we can show instead of the present one.
5777 (display-buffer-record-window): Rewrite using a new format for
5778 the quit-restore window parameter
5779 (special-display-popup-frame, display-buffer-same-window)
5780 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5781 (display-buffer-pop-up-window, display-buffer-use-some-window):
5782 Adapt symbol passed to display-buffer-record-window.
5783 * help.el (help-window-setup): Handle new format of quit-restore
5784 parameter.
5785
8d28cb95
SM
57862011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5787
94ab793f
SM
5788 * faces.el (face-list): Fix docstring (bug#9564).
5789
8d28cb95
SM
5790 * window.el (display-buffer--action-function-custom-type):
5791 Don't include internal functions in the Custom interface.
5792
3820edeb
JL
57932011-09-20 Juri Linkov <juri@jurta.org>
5794
5795 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5796 (Info-forward-node, Info-backward-node, Info-next-preorder)
5797 (Info-last-preorder): Use it. (Bug#9528)
5798
5147931d
JL
57992011-09-20 Juri Linkov <juri@jurta.org>
5800
5801 * info.el (Info-last-preorder): Visit last menu item only when
5802 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5803
cf499a1a
JD
58042011-09-20 Julien Danjou <julien@danjou.info>
5805
5806 * password-cache.el (password-cache-remove): Remove entries even if the
5807 value is nil, so that password with a nil value (negative caching) is
5808 possible to invalidate.
5809
f84e2fe2
LM
58102011-09-20 Lawrence Mitchell <wence@gmx.li>
5811
5812 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5813 all whitespace around breakpoint. (Bug#9553)
5814 (f90-find-breakpoint): Only break at whitespace inside a comment.
5815
78054a46
SM
58162011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5817
5818 * minibuffer.el (completion-file-name-table): Keep track of errors.
5819 (completion-table-with-predicate): Handle the case where pred1 is nil.
5820 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5821
345083b2
SM
58222011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5823
e24e27be
SM
5824 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5825 (debugger-return-value): Signal an error if the debugging context does
5826 not await any return value.
5827
345083b2
SM
5828 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5829 * image-mode.el (image-toggle-display-text)
5830 (image-toggle-display-image): Stay away from evil `intangible'.
5831
08d355e3
LL
58322011-09-19 Leo Liu <sdl.web@gmail.com>
5833
5834 * replace.el (occur-revert-arguments): Make it permanent-local.
5835 (occur-mode): Don't call font-lock-defontify.
5836
f01da43f
CY
58372011-09-19 Chong Yidong <cyd@stupidchicken.com>
5838
5839 * net/ldap.el (ldap-search-internal): Don't push empty search
5840 result (Bug#9508).
5841
b6072fa6
SM
58422011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5845
443d6696
MA
58462011-09-19 Michael Albinus <michael.albinus@gmx.de>
5847
5848 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5849 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5850
7cc6e154
JL
58512011-09-18 Juri Linkov <juri@jurta.org>
5852
5853 * buff-menu.el (Buffer-menu-mode-map):
5854 * dired.el (dired-mode-map):
5855 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5856 (lisp-interaction-mode-map):
5857 * emacs-lisp/package.el (package-menu-mode-map):
5858 * epa.el (epa-key-list-mode-map):
5859 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5860 (menu-bar-options-menu):
5861 * outline.el (outline-mode-menu-bar-map):
5862 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5863 * vc/vc-dir.el (vc-dir-menu-map):
5864 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5865 Capitalize non-function content words in menu item strings.
5866
5867 * dired.el (dired-mode-map): Add menu item for
5868 `image-dired-dired-toggle-marked-thumbs'.
5869
80302a81
JL
58702011-09-18 Juri Linkov <juri@jurta.org>
5871
5872 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5873 to `isearch-case-fold-search' and restore its original value
5874 after the `isearch-mode' call.
5875
46c5cf66
JL
58762011-09-18 Juri Linkov <juri@jurta.org>
5877
5878 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5879 because `zgrep' returns 1 for successful matches (bug#9226).
5880
d18b513b
JL
58812011-09-18 Juri Linkov <juri@jurta.org>
5882
5883 * info.el (Info-extract-menu-node-name): Check the second match
5884 for empty string (second test-case of bug#9528).
5885 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5886 intermediate nodes to the history (first test-case of bug#9528).
5887
72753f87
JL
58882011-09-18 Juri Linkov <juri@jurta.org>
5889
5890 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5891 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5892
c9384295
JL
58932011-09-18 Juri Linkov <juri@jurta.org>
5894
1154d12e
JB
5895 * info.el (Info-file-supports-index-cookies):
5896 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5897 outputs one more line for long file names (bug#4142).
c9384295 5898
d473dce8
CY
58992011-09-18 Chong Yidong <cyd@stupidchicken.com>
5900
5901 * newcomment.el (comment-normalize-vars): If prompting for
5902 comment-start, set comment-start-skip too (Bug#8424).
5903
2176854d
JB
59042011-09-18 Johan Bockgård <bojohan@gnu.org>
5905
5906 * icomplete.el: Fix previous fix of Bug#5849.
5907 (icomplete-mode): Don't set completion-show-inline-help.
5908 (icomplete-minibuffer-setup): Set completion-show-inline-help
5909 locally during icompletion.
5910
3aace4e4
CY
59112011-09-18 Chong Yidong <cyd@stupidchicken.com>
5912
c940224f
CY
5913 * woman.el (woman2-process-escapes): Don't delete unrecognized
5914 escapes (Bug#7843).
5915
3aace4e4
CY
5916 * files.el (inhibit-first-line-modes-regexps): Add image files.
5917 (hack-local-variables-prop-line): Return nil for malformed
5918 prop-lines (Bug#9044).
5919
710dec63
MA
59202011-09-18 Michael Albinus <michael.albinus@gmx.de>
5921
5922 * net/tramp.el (top): Don't require 'shell.
5923 (tramp-methods): Fix docstring.
5924 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5925 Return complete remote file name. Handle "smb" case.
5926 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5927 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5928
5929 * net/tramp-compat.el (top): Require 'shell.
5930
5931 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5932 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5933 `tramp-current-host'.
5934 (tramp-get-remote-tmpdir): Remove.
5935
5936 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5937 `tramp-tmpdir' entries.
5938 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5939 (tramp-smb-handle-file-attributes): Ignore errors.
5940 (tramp-smb-wait-for-output): Check also for process end.
5941
5d5ac8ec
LMI
59422011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5943
5944 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5945 when sending QUIT (bug#9312).
5946
8c0f49f0
CY
59472011-09-17 Chong Yidong <cyd@stupidchicken.com>
5948
5949 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5950 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5951 occur-mode-display-occurrence.
5952 (occur-edit-mode): Add usage message.
5953 (occur-cease-edit): New command.
5954 (occur-after-change-function): Use text properties to find the
5955 position of the prefix text.
5956 (occur-engine): Set stickiness of prefix text properties.
5957
8f1383f7
GM
59582011-09-17 Glenn Morris <rgm@gnu.org>
5959
5960 * progmodes/etags.el (complete-tag):
5961 Fix call to completion-in-region. (Bug#9526)
5962
744ba0e3
JL
59632011-09-17 Juri Linkov <juri@jurta.org>
5964
5965 * textmodes/ispell.el (ispell-word): Add to the error message
5966 the word, ispell program name and current dictionary (bug#9121).
5967 (ispell-tex-arg-end): Capitalize "error" in the error message.
5968
d9bbf400
AS
59692011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5970
5971 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5972 check. (Bug#4251)
5973
8da11505
JL
59742011-09-17 Juri Linkov <juri@jurta.org>
5975
5976 * window.el (window-safe-min-height, window-safe-min-width):
5977 Fix typos (followup to bug#9522).
5978
a91adc7e
SJ
59792011-09-17 Sven Joachim <svenjoac@gmx.de>
5980
5981 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5982
064f328a
EZ
59832011-09-16 Eli Zaretskii <eliz@gnu.org>
5984
5985 * simple.el (line-move): If goal-column is set, move by logical
5986 lines, not by display lines. (Bug#971)
5987 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5988 to reflect the above change.
5989
e69df516
SM
59902011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5991
5992 * image.el (imagemagick-register-types): Use regexp-opt.
5993
cbb0f9ab
CY
59942011-09-15 Chong Yidong <cyd@stupidchicken.com>
5995
5996 * window.el (display-buffer-base-action): Rename from
5997 display-buffer-default-action. Make default value empty.
5998 (display-buffer-overriding-action): Convert to defvar.
5999 (display-buffer-fallback-action): New var.
6000
25322144
CY
60012011-09-15 Chong Yidong <cyd@stupidchicken.com>
6002
6003 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6004 declaration.
6005 (package--add-to-archive-contents): If there is a duplicate entry
6006 with an older version, remove it.
6007 (package-menu-mark-delete, package-menu-mark-install)
6008 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6009 (package-menu-mark-obsolete-for-deletion):
6010 Use package-menu-get-status instead of a regexp search.
25322144
CY
6011 (package-menu-get-status): Use tabulated-list-entry.
6012 (package-menu-mark-upgrades): New command.
d770725a 6013 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6014 (package-menu-execute): Do installation before deletion.
6015 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6016 instead of checking major-mode.
6017 (package-menu--find-upgrades): New function.
6018
7520339c
LMI
60192011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6020
6021 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6022 passwords in the log buffer.
65a046c4
LMI
6023 (smtpmail-process-filter): Update the process marker so that the
6024 "broken by peer" status message is inserted in the right place.
7520339c 6025
d3c30954
SM
60262011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6027
3fe48822
SM
6028 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6029 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6030 bibtex-completion-at-point-function.
6031 (bibtex-completion-at-point-function): Use them.
6032
1b8b3954
SM
6033 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6034
d3c30954
SM
6035 * mpc.el (mpc-constraints-tag-lookup): New function.
6036 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6037 also to browser "album|playlist".
6038
72779976
JL
60392011-09-14 Juri Linkov <juri@jurta.org>
6040
6041 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6042 (isearch-edit-string): Use length of `isearch-string' when
6043 `isearch-fail-pos' returns nil.
6044 (isearch-message): Remove duplicate code and call
6045 `isearch-fail-pos' with arg `t'.
6046
a0bf2bcd
CY
60472011-09-14 Chong Yidong <cyd@stupidchicken.com>
6048
17bb0a2d
CY
6049 * replace.el (occur-mode-goto-occurrence): Don't force using other
6050 window (Bug#9499).
6051
a0bf2bcd
CY
6052 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6053
f678e0b6
MR
60542011-09-14 Martin Rudalics <rudalics@gmx.at>
6055
6056 * window.el (display-buffer-window): Remove.
6057 (display-buffer-record-window): Use help-setup window parameter
6058 instead of variable display-buffer-window.
6059 (display-buffer-function, special-display-buffer-names)
6060 (special-display-function): Mention help-setup parameter instead
6061 of display-buffer-window in doc-string.
d3c30954
SM
6062 * help.el (help-window-setup): New argument help-window.
6063 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6064 Reword some messages.
6065 (with-help-window): Pass window used for displaying the buffer
6066 to help-window-setup. Don't set display-buffer-window.
6067
8e39b2e8
GM
60682011-09-13 Glenn Morris <rgm@gnu.org>
6069
6070 * emacs-lisp/debug.el (debugger-make-xrefs):
6071 Preserve point. (Bug#9462)
6072
85e9c04b
CY
60732011-09-13 Chong Yidong <cyd@stupidchicken.com>
6074
6075 * window.el (window-deletable-p): Use next-frame.
6076
1b36ed6a
MR
60772011-09-13 Martin Rudalics <rudalics@gmx.at>
6078
6079 * window.el (window-auto-delete): Remove.
6080 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6081 dedication and previous buffers.
1b36ed6a
MR
6082 (switch-to-prev-buffer): Don't delete window.
6083 (delete-windows-on): Delete a window's frame if and only if the
6084 window is dedicated.
6085 (replace-buffer-in-windows): Delete buffer's window or frame if
6086 and only if window is dedicated.
6087 (quit-window): Handle quit-restore as before last change.
4d61f28d 6088 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6089
ef8ef9fb
CY
60902011-09-13 Chong Yidong <cyd@stupidchicken.com>
6091
6092 * window.el (window-deletable-p): Never delete the last frame on a
6093 given terminal.
6094
b2cba41e
GM
60952011-09-13 Glenn Morris <rgm@gnu.org>
6096
6097 * help.el (describe-key-briefly): Copy previous standard-output change.
6098
51553db6 60992011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6100
6101 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6102
b7556719
GM
61032011-09-13 Glenn Morris <rgm@gnu.org>
6104
6105 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6106 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6107
64b51947
CY
61082011-09-12 Chong Yidong <cyd@stupidchicken.com>
6109
6110 * dired-aux.el (dired-mark-read-string): Don't return default
6111 value on empty input (Bug#9361).
6112 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6113 Omit initial minibuffer contents.
6114 (dired-do-chmod): Signal an error on empty input.
6115 (dired-mark-read-string): Don't return default on empty input.
6116
6117 * files.el (file-modes-symbolic-to-number): Doc fix.
6118
393a301e
SM
61192011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * international/mule-cmds.el (ucs-completions): Remove.
6122 (read-char-by-name): Use complete-with-action instead; add metadata.
6123
fa5660f9
CY
61242011-09-11 Chong Yidong <cyd@stupidchicken.com>
6125
6126 * window.el (display-buffer--action-function-custom-type)
6127 (display-buffer--action-custom-type): New vars.
6128 (display-buffer-alist, display-buffer-default-action)
6129 (display-buffer-overriding-action): Add defcustom types.
6130
4a592f66
CY
6131 * frame.el (delete-other-frames): Doc fix (Bug#276).
6132
73d56dbd
LMI
61332011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6134
6135 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6136
37ac18a3
CY
61372011-09-11 Chong Yidong <cyd@stupidchicken.com>
6138
6139 Change modes that used same-window-* vars to use switch-to-buffer.
6140
6141 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6142 Use switch-to-buffer.
6143
6144 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6145 (customize-browse, custom-buffer-create-other-window):
6146 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6147
6148 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6149 (Info-prev, Info-up, Info-speedbar-goto-node)
6150 (info-display-manual): Use switch-to-buffer.
6151 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6152
6153 * mail/sendmail.el (mail): Use switch-to-buffer.
6154 (mail-recover): Use switch-to-buffer-other-window.
6155
6156 * cmuscheme.el (run-scheme, switch-to-scheme):
6157 * ielm.el (ielm):
6158 * shell.el (shell):
6159 * net/rlogin.el (rlogin):
6160 * net/telnet.el (telnet, rsh):
6161 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6162
10195bd6
AS
61632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6164
6165 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6166
b322f63a
LMI
61672011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6168
39d7fed6
LMI
6169 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6170 so don't mention it (bug#9301).
ba5a81f1 6171 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6172
ee0e9f11
LMI
6173 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6174 match `x', `w32' and `ns', like the manual says (bug#9029).
6175
0b1c89c1 6176 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6177 (process-kill-buffer-query-function): Mention the buffer name in
6178 the query.
0b1c89c1 6179
77549ea8
LMI
6180 * image-mode.el (image-next-line): The line parameter is mandatory
6181 (bug#9258).
6182
803ef892
LMI
6183 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6184 which can be useful (bug#9301).
6185
12980837
LMI
6186 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6187
91054f8f
LMI
6188 * subr.el (match-string): Mention that the current buffer should
6189 be the same as the search was done in (bug#9282).
6190
b322f63a
LMI
6191 * facemenu.el: Disable the remove-* commands if the mark isn't
6192 active (bug#9162).
6193
3199b96f
CY
61942011-09-10 Chong Yidong <cyd@stupidchicken.com>
6195
6196 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6197 of display-buffer.
6198 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6199
6200 * replace.el (occur-mode-goto-occurrence)
6201 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6202 and display-buffer.
6203
6204 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6205 display-buffer.
6206
6207 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6208 special-display and same-window variables.
6209 (mail-other-window): Use switch-to-buffer-other-window.
6210 (mail-other-frame): USe switch-to-buffer-other-frame.
6211
393a301e
SM
6212 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6213 Use display-buffer-other-frame.
3199b96f
CY
6214 (gdb-display-gdb-buffer): Use pop-to-buffer.
6215
6216 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6217
6218 * progmodes/python.el: Don't set same-window-buffer-names.
6219
6220 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6221
6222 * window.el (display-buffer-alist): Add *Python*.
6223
8319e0bf
CY
62242011-09-10 Chong Yidong <cyd@stupidchicken.com>
6225
6226 * window.el (display-buffer-alist): Add entry for buffers
6227 previously handled same-window-*.
6228 (display-buffer-alist, display-buffer-default-action)
6229 (display-buffer-overriding-action): Mark as risky.
6230 (display-buffer-alist): Document action function changes.
6231 (display-buffer--same-window-action)
6232 (display-buffer--other-frame-action): New variables.
6233 (switch-to-buffer, display-buffer-other-frame): Use them.
6234 (display-buffer): Rename reuse-frame entry to reusable-frames.
6235 (display-buffer-reuse-selected-window): Function deleted.
6236 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6237 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6238 (display-buffer-special): New function.
6239 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6240 display-buffer-reuse-or-pop-window. Split off special-display
6241 part into display-buffer-special.
6242 (display-buffer-use-some-window): Don't perform any special
6243 pop-up-frames handling.
6244 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6245 (display-buffer--maybe-same-window): Rename from
0d3ff375 6246 display-buffer-maybe-same-window.
8319e0bf 6247
919a69aa
CY
6248 * info.el: Don't set same-window-regexps.
6249 (info-setup): New function.
6250 (info-other-window, info): Call it.
6251
6252 * cus-edit.el: Don't set same-window-regexps.
6253 (customize-group): New argument.
6254 (customize-group-other-window): Use it.
6255 (customize-face, customize-face-other-window): Likewise.
6256 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6257
8319e0bf
CY
6258 * net/rlogin.el:
6259 * net/telnet.el:
6260 * progmodes/gud.el: Don't set same-window-regexps.
6261
6262 * cmuscheme.el:
6263 * ielm.el:
6264 * shell.el:
6265 * mail/sendmail.el:
6266 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6267
25173000
JL
62682011-09-10 Juri Linkov <juri@jurta.org>
6269
6270 * isearch.el (isearch-edit-string): Remove obsolete mention of
6271 `C-w' (`isearch-yank-word-or-char') from docstring.
6272 (isearch-query-replace): Fix typo in docstring (bug#9466).
6273
056e44ef
JL
62742011-09-10 Juri Linkov <juri@jurta.org>
6275
6276 * paren.el (show-paren-function): Don't show escaped parens.
6277 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6278
c3760c17
EZ
62792011-09-10 Eli Zaretskii <eliz@gnu.org>
6280
6281 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6282 (mm-default-file-encoding): Remove autoload forms, they are
6283 replaced with autoload cookies in mml.el and mm-encode.el.
6284 (mail-add-attachment): New command.
6285 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6286 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6287 the doc string.
6288 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6289
fece895e
RT
62902011-09-10 Reuben Thomas <rrt@sc3d.org>
6291
e69df516
SM
6292 * simple.el (count-words-region): Use buffer if there's no region
6293 (bug#9429).
fece895e 6294
5e68ce4a
JL
62952011-09-09 Juri Linkov <juri@jurta.org>
6296
6297 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6298 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6299 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6300
0a6b9622
AM
63012011-09-09 Alan Mackenzie <acm@muc.de>
6302
6303 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6304 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6305
14a29deb
EZ
63062011-09-09 Eli Zaretskii <eliz@gnu.org>
6307
6308 Fix for Savannah bug#9392.
6309 * simple.el (mail-encode-mml): New defvar.
6310
6311 * mail/rmail.el (mail-encode-mml): Add a defvar.
6312 (rmail-enable-mime-composing): Default to t.
6313 (rmail-forward): Use MIME method of forwarding only if both
6314 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6315 Set mail-encode-mml non-nil if the MIME method was used.
6316
6317 * mail/sendmail.el (mml-to-mime): Add autoload form.
6318 (mail-encode-mml): Add a defvar.
6319 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6320 to nil.
6321 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6322 message through mml-to-mime, and reset mail-encode-mml to nil.
6323
28c45130
GM
63242011-09-09 Glenn Morris <rgm@gnu.org>
6325
6326 * woman.el (woman-if-body): When processing an .el block,
6327 do not delete the next .el block as well. (Bug#9447)
69f4b618 6328 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6329
9b1c252e
MR
63302011-09-08 Martin Rudalics <rudalics@gmx.at>
6331
6332 * window.el (window-deletable-p): Make sure window is live before
6333 invoking window-prev-buffers.
6334
567457e3
LL
63352011-09-08 Leo Liu <sdl.web@gmail.com>
6336
6337 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6338
97f05794
JL
63392011-09-08 Juri Linkov <juri@jurta.org>
6340
6341 * progmodes/compile.el (compilation-environment): Make it
6342 a defcustom (bug#8340).
6343
8b0874b5
MR
63442011-09-08 Martin Rudalics <rudalics@gmx.at>
6345
6346 * window.el (frame-auto-delete): Rename to window-auto-delete.
6347 Make it control auto-deletion of windows and/or frames.
6348 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6349 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6350 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6351 Rewrite handling of case when window/frame can be deleted.
6352 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6353 argument t. (Bug#9456)
8b0874b5 6354
4feb6e73
CY
63552011-09-07 Chong Yidong <cyd@stupidchicken.com>
6356
6357 * help-mode.el (help-mode): Restore autoload.
6358
91ab9c13
JL
63592011-09-07 Juri Linkov <juri@jurta.org>
6360
6361 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6362 `compilation-environment'. Set buffer-local
6363 `compilation-environment' to `thisenv' later after (funcall mode).
6364 (Bug#8340)
6365
6366 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6367 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6368 instead of replacing its value. (Bug#8340)
6369
0527e251
JL
63702011-09-07 Juri Linkov <juri@jurta.org>
6371
6372 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6373 based on text properties put by `grep-filter' instead of matching
6374 escape sequences.
6375 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6376 to the value of `grep-error-screen-columns' (bug#9438).
6377
249f792c
JL
63782011-09-07 Juri Linkov <juri@jurta.org>
6379
6380 * simple.el (next-error-highlight, next-error-highlight-no-select):
6381 Doc fix (bug#9432).
6382
ff7271b9
OT
63832011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6384
6385 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6386 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6387
183fc730
LL
63882011-09-07 Leo Liu <sdl.web@gmail.com>
6389
6390 * net/rcirc.el (rcirc-mode): Conditionally initialize
6391 rcirc-input-ring.
6392
77694924
SM
63932011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6394
6395 * emacs-lisp/find-func.el (find-function-C-source): Only set
6396 find-function-C-source-directory after checking that we found a source
6397 file there (bug#9440).
6398
d809b8eb
AM
63992011-09-06 Alan Mackenzie <acm@muc.de>
6400
6401 * isearch.el (isearch-other-meta-char): Wherever a key list is
6402 unread, "unread" the prefix arg, too. This fixes bug #8901.
6403
453de99f
OG
64042011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6405
6406 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6407
90439906
JL
64082011-09-05 Juri Linkov <juri@jurta.org>
6409
6410 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6411
f62bd846
JL
64122011-09-05 Juri Linkov <juri@jurta.org>
6413
6414 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6415 keeping point where processing of grep matches begins, and
6416 continue to delete remaining escape sequences from the same point.
6417 (grep-filter): Make leading zero optional in "0?1;31m" because
6418 git-grep emits "\033[1;31m" escape sequences unlike expected
6419 "\033[01;31m" as GNU Grep does (bug#9408).
6420 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6421
045820ec
JL
64222011-09-05 Juri Linkov <juri@jurta.org>
6423
6424 * subr.el (y-or-n-p): Capitalize "yes".
6425
f5e29b9b
MA
64262011-09-04 Michael Albinus <michael.albinus@gmx.de>
6427
6428 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6429 `tramp-cache-unload-hook' where appropriate.
6430 (tramp-methods): Rename `tramp-remote-sh' to
6431 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6432 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6433
6434 * net/tramp-sh.el (top): Don't require 'shell.
6435 (tramp-methods): Add `tramp-remote-shell' and
6436 `tramp-remote-shell-args' entries.
6437 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6438 (tramp-sh-handle-shell-command): Remove.
6439 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6440 Use `tramp-remote-shell'.
6441
2784c434
CY
64422011-09-03 Chong Yidong <cyd@stupidchicken.com>
6443
393a301e 6444 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6445 (sendmail-query-once): Save directly to send-mail-function.
6446 Update message-send-mail-function too.
6447
6448 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6449
464cdf56
CS
64502011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6451
6452 * progmodes/python.el (python-mode-map): Use correct function to
6453 start python interpreter from menu-bar (as reported by Geert
6454 Kloosterman).
6455 (inferior-python-mode-map): Fix typo.
393a301e 6456 (python-shell-map): Remove.
464cdf56 6457
d37e5c87
DD
64582011-09-03 Deniz Dogan <deniz@dogan.se>
6459
6460 * net/rcirc.el (rcirc-print): Simplify code for
6461 rcirc-scroll-show-maximum-output. There is no need to walk
6462 through all windows to find the right one.
6463
f3ada0ee
CS
64642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6465
6466 * help.el (help-return-method): Doc fix.
6467
1f3c99ca
MR
64682011-09-03 Martin Rudalics <rudalics@gmx.at>
6469
6470 * window.el (window-deletable-p): Don't return a non-nil value
6471 when there's a buffer that was shown in the window before.
6472 (Bug#9419)
393a301e
SM
6473 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6474 Set window's previous buffers to nil.
1f3c99ca 6475
a3cf097f
EZ
64762011-09-03 Eli Zaretskii <eliz@gnu.org>
6477
6478 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6479 newline before and after the tag line, so it doesn't interfere
6480 with determining the paragraph direction of bidirectional text.
6481
3d03de90
LL
64822011-09-03 Leo Liu <sdl.web@gmail.com>
6483
6484 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6485
c3313451
CY
64862011-09-02 Chong Yidong <cyd@stupidchicken.com>
6487
393a301e 6488 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6489 (pop-to-buffer): Change interactive spec. Pass second argument
6490 directly to display-buffer.
6491 (display-buffer): Fix interactive spec. Use functionp to
6492 distinguish between a function and a list of functions.
6493
6494 * abbrev.el (edit-abbrevs):
6495 * arc-mode.el (archive-extract):
6496 * autoinsert.el (auto-insert):
6497 * bookmark.el (bookmark-bmenu-list):
6498 * files.el (find-file):
6499 * view.el (view-buffer):
6500 * progmodes/compile.el (compilation-goto-locus):
6501 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6502
89894cd8
CY
65032011-09-02 Chong Yidong <cyd@stupidchicken.com>
6504
6505 * window.el (display-buffer-alist): Doc fix.
6506 (display-buffer): Add docstring. Don't treat
6507 display-buffer-default specially.
6508 (display-buffer-reuse-selected-window)
6509 (display-buffer-same-window, display-buffer-maybe-same-window)
6510 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6511 (display-buffer-pop-up-window)
6512 (display-buffer-reuse-or-pop-window)
6513 (display-buffer-use-some-window): New functions.
6514 (display-buffer-default-action): Use them.
393a301e 6515 (display-buffer-default): Delete.
89894cd8
CY
6516 (pop-to-buffer-1): Fix choice of actions.
6517
ae0bc9fb
SM
65182011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * minibuffer.el (completion--insert-strings): Don't get confused by
6521 completion entries that end with an LF char.
6522
e9d90883
EZ
65232011-09-01 Eli Zaretskii <eliz@gnu.org>
6524
6525 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6526
437014c8
CY
65272011-09-01 Chong Yidong <cyd@stupidchicken.com>
6528
6529 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6530 (display-buffer-same-window, display-buffer-other-window):
6531 New functions.
437014c8
CY
6532 (pop-to-buffer-1): New function. Use the above.
6533 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6534 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6535
6536 * view.el (view-buffer-other-window, view-buffer-other-frame):
6537 Just use pop-to-buffer.
6538
a5e063d5
TV
65392011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6540
6541 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6542
793d32bb
WH
65432011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6544
6545 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6546
d65e4c15
RS
65472011-08-31 Richard Stallman <rms@gnu.org>
6548
6549 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6550 of the separation of rmail-view-buffer from rmail-buffer.
6551 If you say no to "replace original", the decrypt is in the
6552 view buffer. If you say yes, the decrypt goes into the
6553 rmail buffer also.
6554
f818cd2a
MR
65552011-08-31 Martin Rudalics <rudalics@gmx.at>
6556
6557 * window.el (display-buffer-window): Rewrite doc-string.
6558 (display-buffer-record-window): New function.
6559 (display-buffer-macro-specifiers)
6560 (display-buffer-even-window-sizes, display-buffer-set-height)
6561 (display-buffer-set-width, display-buffer-in-window)
6562 (display-buffer-reuse-window, display-buffer-split-specifiers)
6563 (display-buffer-side-specifiers, display-buffer-split-window-1)
6564 (display-buffer-split-window, display-buffer-split-atom-window)
6565 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6566 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6567 (display-buffer-other-window-means-other-frame)
6568 (display-buffer-normalize-special)
6569 (display-buffer-normalize-default)
6570 (display-buffer-normalize-argument)
6571 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6572 (display-buffer-normalize-specifiers, display-buffer-frame)
6573 (display-buffer-same-window, display-buffer-same-frame)
6574 (display-buffer-other-window)
6575 (display-buffer-same-frame-other-window)
6576 (display-buffer-other-frame, pop-to-buffer-same-window)
6577 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6578 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6579 (switch-to-buffer-same-frame)
6580 (switch-to-buffer-other-window-same-frame)
6581 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6582 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6583 (display-buffer-alist-set): Remove.
6584 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6585 (special-display-regexps, special-display-function):
6586 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6587 parameter.
6588 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6589 (special-display-frame-alist, special-display-popup-frame)
6590 (same-window-buffer-names, same-window-regexps, same-window-p)
6591 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6592 (split-window-preferred-function, split-height-threshold)
6593 (split-width-threshold, window-splittable-p)
6594 (split-window-sensibly, window--try-to-split-window)
6595 (window--frame-usable-p, even-window-heights)
6596 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6597 (window--display-buffer-2, display-buffer-other-frame):
6598 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6599 (display-buffer-default, display-buffer-assq-regexp): New functions.
6600 (display-buffer-alist): Rewrite doc-string.
6601 (display-buffer-default-action)
6602 (display-buffer-overriding-action): New variables.
6603 (display-buffer, switch-to-buffer): Rewrite.
6604 (pop-to-buffer): Restore Emacs 23 behavior but use
6605 window-normalize-buffer-to-display.
6606 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6607 Restore Emacs 23 behavior but use
6608 window-normalize-buffer-to-switch-to.
6609 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6610 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6611 Rewrite using Emacs 23 options.
f818cd2a 6612
5bc3b51d
MA
66132011-08-31 Michael Albinus <michael.albinus@gmx.de>
6614
6615 * net/tramp.el (tramp-root-regexp): Remove.
6616 (tramp-completion-file-name-regexp-unified)
6617 (tramp-completion-file-name-regexp-separate)
6618 (tramp-completion-file-name-regexp-url): Don't use leading volume
6619 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6620 (tramp-drop-volume-letter): Simplify definition.
6621 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6622
b1a4f8e1
SM
66232011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6626 (bug#9356).
6627
5664fa7b
RT
66282011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6629
b1a4f8e1 6630 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6631
9a45d6c3
JL
66322011-08-29 Juri Linkov <juri@jurta.org>
6633
6634 * isearch.el (isearch-done): Don't display message "Mark saved"
6635 when arg `edit' is non-nil to prevent its flicker in the echo area.
6636
fb87e0fb
CY
66372011-08-28 Chong Yidong <cyd@stupidchicken.com>
6638
6639 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6640 obsolete packages for deletion.
6641
09ac1c2a
CS
66422011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6643
6644 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6645 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6646 view-mode from help-mode.
6647 (help-xref-override-view-map): Remove.
6648 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6649 view-mode is not used anymore.
6650
7a1ff57f
CY
66512011-08-28 Chong Yidong <cyd@stupidchicken.com>
6652
6653 * server.el (server-port): Doc fix.
6654
b9696605
CY
6655 * cus-theme.el (custom-theme-choose-mode): Inherit from
6656 special-mode (Bug#9124).
6657 (custom-theme-choose-mode-map): Add special-mode to parent.
6658
ef8cdf8c
AM
66592011-08-28 Alan Mackenzie <acm@muc.de>
6660
6661 * progmodes/cc-fonts.el
6662 (c-make-font-lock-BO-decl-search-function): New function.
6663 (c-basic-matchers-after - "Fontify the clauses after various
6664 keywords"): Extract the three keyword lists for the 3 erroneous
6665 constructs from the list of four, and use the new function above
6666 in place of an old one.
6667
27de4e20
DD
66682011-08-28 Deniz Dogan <deniz@dogan.se>
6669
6670 * net/rcirc.el (rcirc-insert-prev-input)
6671 (rcirc-insert-next-input): Remove unused argument.
6672
356a3681
SM
66732011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6676
3fc9b218
AM
66772011-08-27 Alan Mackenzie <acm@muc.de>
6678
6679 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6680 handle function pointer parameters properly.
6681
538a061c
MR
66822011-08-27 Martin Rudalics <rudalics@gmx.at>
6683
6684 * window.el (display-buffer-reuse-window): Fix case where
6685 selected window was reused with non-nil OTHER-WINDOW argument.
6686 (Bug#9381)
6687
35b1c40c
DD
66882011-08-27 Deniz Dogan <deniz@dogan.se>
6689
6690 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6691 oftc's NickServ messages.
6692
2f6a3e79
GM
66932011-08-27 Glenn Morris <rgm@gnu.org>
6694
6695 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6696
7254299e
CY
66972011-08-26 Chong Yidong <cyd@stupidchicken.com>
6698
6699 * emacs-lisp/package.el (package-install): Call package-initialize
6700 if called interactively.
6701
f8ccf167
LL
67022011-08-26 Leo Liu <sdl.web@gmail.com>
6703
6704 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6705
3e8cd5ce
JL
67062011-08-25 Juri Linkov <juri@jurta.org>
6707
6708 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6709 `search-whitespace-regexp' (bug#9364).
6710
93eb7113
JL
67112011-08-25 Juri Linkov <juri@jurta.org>
6712
6713 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6714 `regexp-search-ring' to their global values to protect from
6715 updating by `read-from-minibuffer' (bug#9185).
6716
f65d1611
JL
67172011-08-25 Juri Linkov <juri@jurta.org>
6718
6719 * textmodes/ispell.el (ispell-command-loop): Add newline
6720 at the end of the "Use option `i'..." line.
6721
f1cf7a31
JL
67222011-08-25 Juri Linkov <juri@jurta.org>
6723
6724 * battery.el (display-battery-mode): If `battery-status-function'
6725 or `battery-mode-line-format' is nil, display the message and set
6726 `display-battery-mode' to nil (bug#9363).
6727
0c95fcf7
EZ
67282011-08-25 Eli Zaretskii <eliz@gnu.org>
6729
6730 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6731 bidi-string-mark-left-to-right; they are unnecessary now.
6732
a2ebe600
DD
67332011-08-25 Deniz Dogan <deniz@dogan.se>
6734
6735 * net/quickurl.el: Documentation typo fixes.
6736
e4ed06f1
CY
67372011-08-25 Chong Yidong <cyd@stupidchicken.com>
6738
6739 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6740
e5f1c99e
GM
67412011-08-25 Glenn Morris <rgm@gnu.org>
6742
b2948976
GM
6743 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6744
e5f1c99e
GM
6745 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6746 (smtpmail-via-smtp): Handle nil response from smtp.
6747
f22f4808
JL
67482011-08-24 Juri Linkov <juri@jurta.org>
6749
6750 * proced.el (proced-marked): Inherit from `error' instead of
6751 `font-lock-warning-face'.
6752
6753 * ibuffer.el (ibuffer-marked-face): Change default face from
6754 `font-lock-warning-face' to `warning'.
6755 (ibuffer-deletion-face): Change default face from
6756 `font-lock-type-face' to `error'.
6757
6758 * battery.el (battery-update): Use the face `error' instead of
6759 `font-lock-warning-face' (bug#6117).
6760
6a93965e
JL
67612011-08-24 Juri Linkov <juri@jurta.org>
6762
6763 * faces.el (success): Change face color from "Green3" to
6764 "ForestGreen" on light background (bug#9353).
6765
1ed43b09
CY
67662011-08-24 Chong Yidong <cyd@stupidchicken.com>
6767
5664fa7b
RT
6768 * window.el (quit-window): Rename from quit-restore-window.
6769 Use same arglist as old quit-window.
1ed43b09
CY
6770 (frame-auto-delete): Doc fix.
6771
6772 * view.el (view-mode-exit): Use quit-window.
6773
11dcdbb2
JL
67742011-08-24 Juri Linkov <juri@jurta.org>
6775
6776 * isearch.el (isearch-ring-adjust1): Start visiting previous
6777 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6778 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6779 for empty search string (when the last search string is reused
6780 automatically) to adjust the isearch ring to the last element and
6781 prepare the correct index for further M-p commands (bug#9185).
6782
de62b4df
KH
67832011-08-24 Kenichi Handa <handa@m17n.org>
6784
6785 * international/ucs-normalize.el: If decomposition property of
6786 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6787 nil.
6788 (nfd, nfkd): Likewise.
6789
963b492b
SM
67902011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6793 from process filters aren't reliably transmitted to the surrounding
6794 accept-process-output.
6795 (mpc-proc-check): New function.
6796 (mpc-proc-sync): Use it (bug#8293)
6797
93b6b5e1
SM
67982011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6801 Add compatibility functions (bug#9313).
6802
bca633fb
EZ
68032011-08-23 Eli Zaretskii <eliz@gnu.org>
6804
b177498a
EZ
6805 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6806
6df6ae42 6807 * international/uni-bidi.el: Regenerate.
bca633fb 6808
0902a04e
KH
68092011-08-23 Kenichi Handa <handa@m17n.org>
6810
6811 * international/charprop.el:
6812 * international/uni-bidi.el:
6813 * international/uni-category.el:
6814 * international/uni-combining.el:
6815 * international/uni-comment.el:
6816 * international/uni-decimal.el:
6817 * international/uni-decomposition.el:
6818 * international/uni-digit.el:
6819 * international/uni-lowercase.el:
6820 * international/uni-mirrored.el:
6821 * international/uni-name.el:
6822 * international/uni-numeric.el:
6823 * international/uni-old-name.el:
6824 * international/uni-titlecase.el:
6825 * international/uni-uppercase.el: Regenerate.
6826
3bbf23bc
MR
68272011-08-23 Martin Rudalics <rudalics@gmx.at>
6828
6829 * help.el (help-window-setup): Fix message displayed when other
6830 window is reused. (Bug#9341)
6831
b3fd59bd
SM
68322011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6833
1802e444
SM
6834 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6835 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6836
b3fd59bd
SM
6837 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6838 Mark obsolete.
6839 * shell.el (shell-parse-pcomplete-arguments): New function.
6840 (shell-completion-vars): Use it instead (bug#9160).
6841
4eb61348
SM
68422011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6843
867cab74
SM
6844 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6845 strings and comments (bug#9333).
6846
4eb61348
SM
6847 * emacs-lisp/debug.el (debug-arglist): New function.
6848 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6849 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6850
262a1439
JL
68512011-08-22 Juri Linkov <juri@jurta.org>
6852
56ee679c
JL
6853 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6854 Revert regexp that highlights output switches to its old
6855 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6856
262a1439
JL
6857 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6858 to check for empty output (bug#9226).
6859
f13f86fb
CY
68602011-08-22 Chong Yidong <cyd@stupidchicken.com>
6861
6862 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6863 symbol-constituent as the default, as that stops font-lock from
6864 working properly (Bug#8843).
6865
c65c9622
LMI
68662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6867
6868 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6869 `coding-system-for-*' around the process open call to avoid
6870 auth-source side effects.
e7f2c178 6871 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6872 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6873 probe hangs.
c65c9622 6874
23a8a5ab
CY
68752011-08-21 Chong Yidong <cyd@stupidchicken.com>
6876
ff98b2dd
CY
6877 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6878
23a8a5ab
CY
6879 * emacs-lisp/find-func.el (find-function-noselect): New arg
6880 lisp-only.
6881
6882 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6883 signal an error for built-in functions (Bug#6664).
6884
f5e3c598
LMI
68852011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6886
6887 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6888 (smtpmail-try-auth-methods): Use it.
6889
a3f2468a
CY
68902011-08-21 Chong Yidong <cyd@stupidchicken.com>
6891
2c34e8da
CY
6892 * font-lock.el (font-lock-fontify-region)
6893 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6894 (font-lock-default-unfontify-buffer)
6895 (font-lock-default-fontify-region)
6896 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6897
b3fd59bd
SM
6898 * progmodes/compile.el (compilation-error-properties):
6899 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6900 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6901 `ant' regexp.
ee31aabc 6902
a3f2468a
CY
6903 * net/browse-url.el (browse-url-firefox): Don't call
6904 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6905
8e999f70
GM
69062011-08-20 Glenn Morris <rgm@gnu.org>
6907
c21a496a
GM
6908 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6909
59ee0542
GM
6910 * tutorial.el (tutorial--default-keys): Update some default bindings.
6911
8e999f70
GM
6912 * files.el (hack-local-variables): Fully ignore case for "mode:".
6913
e3715033
AM
69142011-08-20 Alan Mackenzie <acm@muc.de>
6915
6916 Resolve invalid use of a regexp in regexp-opt.
6917
4d61f28d
JB
6918 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6919 detection for a java annotation.
e3715033 6920
4d61f28d 6921 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6922 detection for a java annotation.
6923
4d61f28d
JB
6924 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6925 handling for java.
e3715033
AM
6926 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6927
04ed2e9c
CY
69282011-08-20 Chong Yidong <cyd@stupidchicken.com>
6929
6930 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6931 (Bug#9274).
6932
826cee64
AM
69332011-08-20 Alan Mackenzie <acm@muc.de>
6934
58179cce 6935 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6936 such a construct. Mainly for when jit-lock etc. starts a chunk
6937 here.
6938
58179cce 6939 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6940 variable.
58179cce 6941 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6942 c-make-font-lock-search-function.
6943 (c-make-font-lock-search-function): Use the above function.
6944 (c-make-font-lock-context-search-function): New function.
6945 (c-cpp-matchers): Enhance the preprocessor expression case with
6946 the above function
6947 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6948 which takes an expression.
6949
6950 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6951
13009bd8
MR
69522011-08-20 Martin Rudalics <rudalics@gmx.at>
6953
6954 * window.el (display-buffer-reuse-window)
6955 (display-buffer-pop-up-window): Don't reuse or split a side
6956 window.
6957
9234ff7f
GM
69582011-08-19 Glenn Morris <rgm@gnu.org>
6959
6960 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6961 Downcase "Mode:". (Bug#9331)
9234ff7f 6962
f635daa1
CY
69632011-08-18 Chong Yidong <cyd@stupidchicken.com>
6964
6965 * international/characters.el: Add L and R categories.
6966
6967 * subr.el (bidi-string-mark-left-to-right): Rename from
6968 string-mark-left-to-right. Use category search.
6969
6970 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6971
bc987f8b
JL
69722011-08-18 Juri Linkov <juri@jurta.org>
6973
6974 * faces.el (error, warning, success): New faces with definitions
6975 copied from old default values of `font-lock-warning-face',
6976 `compilation-warning', `compilation-info' (bug#6117).
6977
6978 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6979
6980 * progmodes/compile.el (compilation-error): Inherit from `error'.
6981 (compilation-warning): Inherit from `warning'.
6982 (compilation-info): Inherit from `success'.
6983
6984 * dired.el (dired-marked): Inherit from `warning'.
6985 (dired-flagged): Inherit from `error'.
6986
57173b96
LMI
69872011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6988
3e79eb87
LMI
6989 * mail/smtpmail.el (auth-source): Require to avoid problems with
6990 binding variables (bug#9298). Also clean up some unused
6991 autoloads.
6992
b3fd59bd
SM
6993 * net/network-stream.el (network-stream-open-starttls):
6994 Support using starttls.el without using gnutls-cli.
57173b96 6995
02b404de
JL
69962011-08-17 Juri Linkov <juri@jurta.org>
6997
6998 * progmodes/grep.el (rgrep): Handle the case when
6999 `grep-find-command' is a cons cell (bug#9278).
7000
8c9177f2
MR
70012011-08-17 Martin Rudalics <rudalics@gmx.at>
7002
7003 * window.el (display-buffer-pop-up-frame): Run frame creation
7004 function with BUFFER current (as special-display-popup-frame
7005 does). Reported by Drew Adams.
7006
3644a0ab
DU
70072011-08-17 Daiki Ueno <ueno@unixuser.org>
7008
7009 * epa-mail.el: Simplify GnuPG group expansion using
7010 epg-expand-group.
7011 (epa-mail-group-alist, epa-mail-group-modtime)
7012 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7013 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7014 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7015 Remove.
7016
5e617bc2 70172011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7018
7019 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7020
9c4aeabf
AM
70212011-08-16 Alan Mackenzie <acm@muc.de>
7022
7023 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7024 Correct, to avoid the inside of macros.
7025
3a99bf64
RS
70262011-08-16 Richard Stallman <rms@gnu.org>
7027
04963aa8
RS
7028 * epa-mail.el: Handle GnuPG group definitions.
7029 (epa-mail-group-alist, epa-mail-group-modtime)
7030 (epa-mail-gnupg-conf-file): New variables.
7031 (epa-mail-parse-groups, epa-mail-sync-groups)
7032 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7033 (epa-mail-expand-recipients): New functions.
7034 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7035
177549d0
RS
7036 * mail/rmail.el (rmail-epa-decrypt): New command.
7037
fe38beef
RS
7038 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7039 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7040 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7041 (epa-decrypt-armor-in-region): Make error message clearer.
7042
934eacb9
SM
70432011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7046 and "a2b" to "ab" for `prefix'.
7047
d024fb4e
CY
70482011-08-14 Chong Yidong <cyd@stupidchicken.com>
7049
7050 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7051 filter groups.
de148fee
CY
7052 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7053 Fourquet (Bug#8804).
d024fb4e 7054
62f1ca49
JB
70552011-08-12 Juanma Barranquero <lekktu@gmail.com>
7056
7057 * startup.el (argi): Declare as global variable (bug#9275).
7058
9ccaaa4b
CY
70592011-08-12 Chong Yidong <cyd@stupidchicken.com>
7060
7061 * subr.el (string-mark-left-to-right): Search the entire string
7062 for RTL script, not just the terminating character. Doc fix.
7063
a3dae87a
SM
70642011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7065
6cd18349
SM
7066 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7067 New function.
7068 (js--regexp-literal, js-syntax-propertize-function): Remove.
7069 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7070 (js-mode-map): Don't rebind electric keys.
7071 (js-insert-and-indent): Remove.
7072 (js-mode): Setup electric-layout and electric-indent instead.
7073
a3dae87a
SM
7074 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7075
9d5cb631
DU
70762011-08-12 Daiki Ueno <ueno@unixuser.org>
7077
7078 * epa.el (epa-progress-callback-function): Fix the logic of
7079 displaying progress.
7080 * epa-file.el (epa-file-insert-file-contents): Make progress
7081 display more user-friendly.
7082 (epa-file-write-region): Ditto.
7083
3e26a4a2
CY
70842011-08-10 Chong Yidong <cyd@stupidchicken.com>
7085
7086 * subr.el (string-mark-left-to-right): New function.
7087
7088 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7089 Use string-mark-left-to-right.
7090 (list-buffers-noselect): Caller changed.
7091
a3dae87a
SM
7092 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7093 Use string-mark-left-to-right.
3e26a4a2
CY
7094 (tabulated-list-print): Recenter after moving point.
7095
ac8cf6e6
JL
70962011-08-10 Juri Linkov <juri@jurta.org>
7097
7098 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7099 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7100 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7101
8d96c9a4
CY
71022011-08-09 Chong Yidong <cyd@stupidchicken.com>
7103
7104 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7105 (Bug#7554).
7106
7be1c708 71072011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7108
7109 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7110 character. (Bug#6594)
7111
37e11a63
CY
71122011-08-08 Chong Yidong <cyd@stupidchicken.com>
7113
839dde57
CY
7114 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7115 (image-dired--with-db-file): New macro.
7116 (image-dired-write-tags, image-dired-remove-tag)
7117 (image-dired-create-gallery-lists, image-dired-write-comments)
7118 (image-dired-get-comment, image-dired-mark-tagged-files)
7119 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7120 (image-dired-gallery-generate): Use insert-file-contents.
7121
37e11a63
CY
7122 * time.el (display-time-world-list, display-time-world-display):
7123 * time-stamp.el (time-stamp-string):
7124 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7125 set-time-zone-rule (Bug#7337).
7126
0b4946c4
DU
71272011-08-08 Daiki Ueno <ueno@unixuser.org>
7128
7129 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7130 (epg-error-to-string, epg-errors-to-string): New function.
7131 (epg-wait-for-completion): Reverse errors list.
7132 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7133 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7134 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7135 (epg-sign-keys, epg-generate-key-from-file)
7136 (epg-generate-key-from-string): Format errors by using
7137 epg-errors-to-string (bug#9255).
7138 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7139
75bfc667
JL
71402011-08-07 Juri Linkov <juri@jurta.org>
7141
7142 * faces.el (list-faces-display): Remove extra angle bracket
7143 from `help-mode-map'.
7144
7145 * info.el (Info-history-toc-nodes): Doc fix.
7146
7147 * longlines.el (longlines-mode): Doc fix.
7148
673e08bb
SM
71492011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7150
4640dd88
SM
7151 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7152 of statements and in a few more cases (bug#9183).
7153
673e08bb
SM
7154 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7155 New functions.
7156 (cl-transform-lambda): Use them (bug#9239).
7157
89b3f019
MR
71582011-08-05 Martin Rudalics <rudalics@gmx.at>
7159
7160 * window.el (display-buffer-same-window)
7161 (display-buffer-same-frame, display-buffer-other-window)
7162 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7163 (pop-to-buffer-other-window)
7164 (pop-to-buffer-same-frame-other-window)
7165 (pop-to-buffer-other-frame): Make them defuns.
7166 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7167
640c8776
SM
71682011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7169
7170 * subr.el (make-composed-keymap): Move from C. Change calling
7171 convention, and improve docstring to bring attention to a subtle point.
7172 * minibuffer.el (completing-read-default): Adjust accordingly.
7173
63648a95
MA
71742011-08-03 Michael Albinus <michael.albinus@gmx.de>
7175
7176 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7177 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7178
7179 * net/trampver.el: Update release number.
7180
b796c9b7
SM
71812011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7182
7183 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7184 "in" (bug#9190).
7185
2239d7d5
LMI
71862011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7187
e07dd7c3
LMI
7188 * mail/sendmail.el (sendmail-query-once): Restore the current
7189 buffer after querying (bug#9074).
7190
0e6a2bd7
LMI
7191 * dired.el (dired-flagged): Use different faces for marked and
7192 flagged files (bug#6117).
7193
ce887515
LMI
7194 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7195 (bug#4433).
7196
92f2affc
LMI
7197 * ido.el (ido-mode): Switch off the message if called
7198 non-interactively.
7199
57d5aff0
LMI
7200 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7201 before 587, since it appears that that's more likely to work for
7202 more people.
7203
98cd6c18 7204 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7205 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7206 exist.
7207
b96dec83
LMI
7208 * info.el: Remove the `Info-beginning-of-buffer' function
7209 (bug#8325).
7210
b796c9b7
SM
7211 * net/network-stream.el (network-stream-open-starttls):
7212 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7213
d90e2ea0
MR
72142011-08-01 Martin Rudalics <rudalics@gmx.at>
7215
7216 * window.el (display-buffer-in-window): Don't set dedicated status
7217 of window here (Bug#9215).
7218 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7219 (display-buffer-pop-up-side-window)
b796c9b7 7220 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7221
cca09170
SM
72222011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7223
7224 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7225 before binding generated-autoload-file.
7226
027b979c
DD
72272011-08-01 Deniz Dogan <deniz@dogan.se>
7228
7229 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7230
3c7ee4f3
MA
72312011-07-30 Michael Albinus <michael.albinus@gmx.de>
7232
7233 Sync with Tramp 2.2.2.
7234
7235 * net/trampver.el: Update release number.
7236
2cc8e51a
JL
72372011-07-30 Juri Linkov <juri@jurta.org>
7238
7239 * dired-aux.el (dired-touch-initial): Remove function.
7240 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7241 current time, and `default' to the last modification time of the
7242 current marked file (bug#6887).
7243
a514d856
JM
72442011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7245
7246 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7247 numeric argument to read-number (bug#9163).
a514d856 7248
8a7eddd7
MA
72492011-07-27 Michael Albinus <michael.albinus@gmx.de>
7250
7251 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7252 connection process, it could be nil.
7253
1ddd96f5
LL
72542011-07-27 Leo Liu <sdl.web@gmail.com>
7255
7256 Simplify url handling in rcirc-mode.
7257
7258 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7259 (rcirc-browse-url-at-mouse): Remove.
7260 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7261
b248a85d
AM
72622011-07-26 Alan Mackenzie <acm@muc.de>
7263
7264 Fontify bitfield declarations properly.
7265
7266 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7267 (c-symbol-chars): Now exported as a lang variable.
7268 (c-not-primitive-type-keywords): New lang variable.
7269
7270 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7271 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7272 parsed as a bitfield declaration.
b248a85d 7273
b796c9b7
SM
7274 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7275 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7276 (c-punctuation-in): New function.
7277 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7278 declarations properly.
7279
68575ab0
UJ
72802011-07-26 Ulf Jasper <ulf.jasper@web.de>
7281
7282 * calendar/icalendar.el (icalendar--all-events): Take care of
7283 multiple vcalendars in a single file.
b796c9b7 7284 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7285
0f0a88b9
DD
72862011-07-25 Deniz Dogan <deniz@dogan.se>
7287
7288 * image.el (insert-image): Clarifying docstring.
7289
0b3f36df
MA
72902011-07-24 Michael Albinus <michael.albinus@gmx.de>
7291
7292 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7293 `tramp-send-command-and-check' if there is no error.
7294 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7295
a9901f61
AM
72962011-07-22 Alan Mackenzie <acm@muc.de>
7297
7298 Prevent cc-langs.elc being loaded at run time.
7299
7300 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7301 cc-langs.
7302
4d61f28d 7303 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7304 "(require 'cc-langs)". Quote a form so it will evaluate at
7305 (cc-mode's) compilation time.
7306
11d074b2
MA
73072011-07-22 Michael Albinus <michael.albinus@gmx.de>
7308
7309 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7310 loading. (Bug#9114)
7311
938b94c8
MR
73122011-07-21 Martin Rudalics <rudalics@gmx.at>
7313
7314 * window.el (display-buffer-pop-up-window)
7315 (display-buffer-pop-up-side-window)
7316 (display-buffer-in-side-window): Call display-buffer-set-height
7317 and display-buffer-set-width after setting the new window's
b796c9b7 7318 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7319
bfa4f190
SS
73202011-07-20 Sam Steingold <sds@gnu.org>
7321
7322 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7323 (etags-tags-included-tables): Call `convert-standard-filename' on
7324 the file names contained in TAGS so that windows Emacs can handle
7325 TAGS files created by cygwin ctags.
7326
8ca42262
LMI
73272011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7328
7329 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7330 which apparently didn't work.
7331
5db2afd2 73322011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7333
5db2afd2
RW
7334 * proced.el (proced-send-signal): For *Marked Processes* buffer
7335 put point at beginning of buffer.
7336
92e15d10
SB
73372011-07-19 Stephen Berman <stephen.berman@gmx.net>
7338
7339 * proced.el (proced-format): Make header lines align with the text
7340 (bug#1779).
7341
1bfd59e5
LMI
73422011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7343
7344 * view.el (view-buffer): Allow running in `special' modes if we're
7345 visiting a file (bug#8615).
7346
f5aae37c
MR
73472011-07-19 Martin Rudalics <rudalics@gmx.at>
7348
7349 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7350 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7351 New functions.
f5aae37c
MR
7352 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7353 more accurately.
7354
bf2c1571
AM
73552011-07-18 Alan Mackenzie <acm@muc.de>
7356
7357 Fontify declarators properly when, e.g., a jit-lock chunk begins
7358 inside a declaration.
7359
7360 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7361
b796c9b7
SM
7362 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7363 New function.
bf2c1571
AM
7364 (c-complex-decl-matchers): Insert reference to
7365 c-font-lock-enclosing-decls.
7366
7367 * progmodes/cc-engine.el (c-backward-single-comment):
7368 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7369 to nil around calls to (forward-comment -1).
7370
4e190b80
LMI
73712011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7372
12dc863d
LMI
7373 * image.el (put-image): Doc typo fix.
7374
a762e966
LMI
7375 * progmodes/etags.el (tags-search): Doc typo fix.
7376
4e190b80
LMI
7377 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7378 password if we get errors 550 to 554.
7379
f019fb21
LMI
73802011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7381
b796c9b7 7382 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7383
81746738
LMI
7384 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7385 indentation character (bug#6380).
7386
3ee3a1b5
LMI
7387 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7388
c82f64de
LMI
7389 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7390 to clarify what the problem is (bug#4291).
7391
f019fb21
LMI
7392 * simple.el (current-kill): Clarify what
7393 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7394 (auto-fill-mode): Document `auto-fill-function' in relation to
7395 `auto-fill-mode' (bug#2470).
f019fb21 7396
0794775d
LM
73972011-07-16 Lawrence Mitchell <wence@gmx.li>
7398
7399 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7400 method if slot is read-only (bug#9035).
7401
be39b8cc
MR
74022011-07-16 Martin Rudalics <rudalics@gmx.at>
7403
b796c9b7 7404 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7405 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7406 selected before, see discussion of (Bug#8615), (Bug#6954).
7407 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7408
6ccf7859
GM
74092011-07-15 Glenn Morris <rgm@gnu.org>
7410
7411 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7412 Respect help-form.
6ccf7859 7413
87e86684
LM
74142011-07-09 Lawrence Mitchell <wence@gmx.li>
7415
7416 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7417 (gnutls-negotiate): Use it.
7418
d6066239
LMI
74192011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7420
b796c9b7
SM
7421 * net/gnutls.el (gnutls-negotiate):
7422 Upcase `gnutls-algorithm-priority'.
d6066239 7423
bd23ebc0
GM
74242011-07-15 Glenn Morris <rgm@gnu.org>
7425
c65bca65
GM
7426 * jka-compr.el (jka-compr-verbose): Move from here...
7427 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7428 Add missing :version tag.
7429 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7430
478615cc
LMI
74312011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7432
7b41decb
LMI
7433 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7434 (gnutls-negotiate): Use it.
7435
dbc44fcd
LMI
7436 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7437
06789f97
LMI
7438 * info.el (Info-beginning-of-buffer): New command.
7439 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7440 announcing `b' as the key (bug#8325).
ab896c37 7441 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7442
c39da690
LMI
7443 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7444
3aa5f34b
LMI
7445 * international/mule-cmds.el
7446 (describe-specified-language-support): Make the error message
7447 clearer (bug#8905).
7448
4bf0979f
LMI
7449 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7450
478615cc
LMI
7451 * isearch.el (isearch-barrier): Add a doc string, since it's
7452 mentioned in a function doc string (bug#8678).
7453
75c68aa1
MR
74542011-07-15 Martin Rudalics <rudalics@gmx.at>
7455
7456 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7457 buffer argument (Bug#9083) and self-identifying label argument.
7458
a7c33da2
GM
74592011-07-15 Glenn Morris <rgm@gnu.org>
7460
7461 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7462
2f5c6024
LMI
74632011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7464
7465 * man.el (Man-fontify-manpage): Fix message when formatting the
7466 man page (bug#7929).
7467
0bb23927 74682011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7469
7470 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7471 argument LRM; if non-nil, append an invisible LRM character to the
7472 buffer name.
7473 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7474 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7475 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7476 paragraph direction.
cce4b0a7 7477
621ef9ab
LMI
74782011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7479
d1583c48
LMI
7480 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7481 the man page name (bug#7929).
7482
6a57fb5f
LMI
7483 * image.el (put-image): Mention the `put-image' overlay property
7484 (bug#7834).
7485
d7956b14
LMI
7486 * scroll-bar.el (set-scroll-bar-mode): Mention that
7487 `scroll-bar-mode' lists the values (bug#7772).
7488
5b2d4a66
LMI
7489 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7490 command (bug#7729).
7491
7509a874
LMI
7492 * rect.el (apply-on-rectangle): Return the point after the last
7493 operation.
7494 (string-rectangle): Go to the point after the last operation
7495 (bug#7522).
7496
4fe74b19
LMI
7497 * printing.el (pr-toggle-region): Clarify the documentation
7498 slightly (bug#7493).
7499
b796c9b7
SM
7500 * time.el (display-time-update):
7501 Allow `display-time-mail-function' to return nil (bug#7158).
7502 Fix suggested by Detlev Zundel.
ab283561 7503
fc233c9d
LMI
7504 * vc/diff.el (diff): Clarify the order the file names are read
7505 (bug#7111).
7506
43f5740b
LMI
7507 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7508 the doc string (bug#7015).
7509
f2182a76
LMI
7510 * font-lock.el (font-lock-maximum-decoration): Mention what
7511 numeric levels mean (bug#6935).
7512
621ef9ab
LMI
7513 * startup.el (initial-buffer-choice): Don't mention the `none'
7514 selection, which is against policy.
7515
adc47434
MR
75162011-07-14 Martin Rudalics <rudalics@gmx.at>
7517
b796c9b7
SM
7518 * window.el (display-buffer-normalize-special):
7519 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7520
7e5bfb8f
EZ
75212011-07-14 Eli Zaretskii <eliz@gnu.org>
7522
7523 * subr.el (version<, version<=, version=): Mention "-CVS" and
7524 "-12345" alpha version numbers.
7525
27fa387a
CY
75262011-07-14 Chong Yidong <cyd@stupidchicken.com>
7527
7528 * bindings.el: Add advertised binding for set-mark-command
7529 (Bug#5772).
7530
8bdfa064
CY
75312011-07-14 Chong Yidong <cyd@stupidchicken.com>
7532
7533 * bindings.el (mode-line-other-buffer):
7534 * bookmark.el (bookmark-bmenu-2-window):
7535 * bs.el (bs-cycle-next, bs-cycle-previous):
7536 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7537 switch-to-buffer.
7538
7539 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7540 Delete.
8bdfa064 7541
5eba16a3
JB
75422011-07-14 Juanma Barranquero <lekktu@gmail.com>
7543
7544 * follow.el (follow-debug-message, follow-redisplay):
7545 * jka-cmpr-hook.el (with-auto-compression-mode):
7546 Fix typos in docstrings.
7547
15853710
LMI
75482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7549
a28e4607
LMI
7550 * subr.el (with-silent-modifications): Clarify somewhat what the
7551 macro inhibits (bug#6525).
7552
15853710
LMI
7553 * simple.el (eval-expression): Note what it does if called
7554 interactively (bug#6495).
7555
bee0fcef
CY
75562011-07-13 Chong Yidong <cyd@stupidchicken.com>
7557
b796c9b7
SM
7558 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7559 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7560
7561 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7562 Remove switch-to-buffer.
7563
58274504
LMI
75642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7565
bd2fcc8d
LMI
7566 * files.el (make-directory): Clarify that an error will be raised
7567 if there's an error (bug#6397).
7568
0f04b32c
LMI
7569 * startup.el (initial-buffer-choice): Add `none' as a choice
7570 (bug#6234).
7571
465c5fc8
LMI
7572 * subr.el (add-hook): Clarify section about buffer-local hooks
7573 (bug#6218).
7574
58274504
LMI
7575 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7576
bead9a43
JB
75772011-07-13 Juanma Barranquero <lekktu@gmail.com>
7578
7579 * tabify.el (untabify): Preserve the current column so that point
7580 doesn't move (bug#6032).
7581
3af98a7b
LMI
75822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7583
b796c9b7
SM
7584 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7585 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7586
6240145a
GM
75872011-07-13 Glenn Morris <rgm@gnu.org>
7588
7589 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7590 (dired-insert-directory): Give a message the first time
7591 if ls is found not to support --dired.
7592
1d8c2ccc
LMI
75932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7594
7595 * simple.el (toggle-truncate-lines): Clarify what is toggled
7596 (bug#5580). Text by Drew Adams.
7597
5fc4038e
CY
75982011-07-13 Chong Yidong <cyd@stupidchicken.com>
7599
7600 * simple.el (blink-matching-open): Make the error message from the
7601 last change less verbose.
7602
bf6012e5
DN
76032011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7604
7605 * font-lock.el (font-lock-comment-face): Use the high contrast
7606 "yellow" color for font-lock-comment-face on low color terminals
7607 using a dark background color (bug#4221).
7608
343c3b5a
LMI
76092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7610
7e9505c5
LMI
7611 * dired.el (dired-insert-set-properties): Make the doc string
7612 reflect what it does now (bug#5325).
7613
c26fdcf5
LMI
7614 * simple.el (blink-matching-open): Say that we were unable to find
7615 the match within the limit, if we're limited (bug#5122).
7616
bb388cc5
LMI
7617 * international/mule-cmds.el (prefer-coding-system): Add an
7618 example (bug#4869).
7619
343c3b5a
LMI
7620 * progmodes/etags.el (tags-search): Document `file-list-form'
7621 (bug#4731).
7622
2a517d45
LM
76232011-07-13 Lawrence Mitchell <wence@gmx.li>
7624
7625 * net/browse-url.el (browse-url-default-browser)
7626 (browse-url-browser-function): Make the default browser choice a
7627 bit more logical (bug#4300). Also clean up the doc string.
7628
b6c78ef2
JB
76292011-07-13 Juanma Barranquero <lekktu@gmail.com>
7630
7631 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7632 binary endings (bug#4440).
7633
1c4dd947
LMI
76342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7635
a2014063
LMI
7636 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7637 which can be pretty annoying (bug#8971).
7638
9c9c2d88
LMI
7639 * jka-compr.el (jka-compr-verbose): New variable, and use
7640 throughout (bug#8971).
7641
1c4dd947
LMI
7642 * info.el (Info-find-file): Fall back on the installation
7643 directory if we can't find the info node anywhere else.
7644
a1c9f41b
SO
76452011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7646
7647 * vc/vc.el (vc-revert-file):
7648 Don't set file time-stamp in the past. (Bug#5181)
7649
536f3d36
LMI
76502011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7651
7152b011
LMI
7652 * files.el (after-find-file): Give a better error message when
7653 trying to find a symlink that points to a file that doesn't exist
7654 (bug#4398).
7655
536f3d36
LMI
7656 * progmodes/cc-vars.el: Remove (probably) misleading comment
7657 (bug#4396).
7658
460c0fba
JB
76592011-07-12 Johan Bockgård <bojohan@gnu.org>
7660
7661 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7662
7a6bda45
CY
76632011-07-12 Chong Yidong <cyd@stupidchicken.com>
7664
7665 * mouse-sel.el: Hack restoring functionality, while keeping
7666 compatibility with 2010-07-03 changes to mouse selection.
7667 (mouse-sel-primary-overlay): New var.
7668 (mouse-sel-selection-alist): Use it.
7669 (mouse-sel-mode): Doc fix; remove points that are default features
7670 of mouse.el.
7671
c79598ef
JB
76722011-07-12 Johan Bockgård <bojohan@gnu.org>
7673
7674 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7675 Fix previous fix (bug#2490).
7676
ff8be6ef
RW
76772011-07-12 Roland Winkler <winkler@gnu.org>
7678
b796c9b7
SM
7679 * textmodes/bibtex.el (bibtex-initialize):
7680 Use pop-to-buffer-same-window.
ff8be6ef
RW
7681 (bibtex-search-entries): Fix interactive call.
7682
296ba3ee
LMI
76832011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7684
f5242a02 7685 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7686 Fontise bytecomp Error lines more correctly (bug#2490).
7687 Fix suggested by Johan Bockgård.
f5242a02 7688
296ba3ee
LMI
7689 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7690
7691 * dired-x.el (dired-guess-default): Use `delete-dups'.
7692
f69fd0d2
CY
76932011-07-12 Chong Yidong <cyd@stupidchicken.com>
7694
7695 * dired.el (dired-mark-prompt):
7696 * dired-aux.el (dired-read-shell-command): Doc fix.
7697
eab5dc07
LMI
76982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7699
b796c9b7
SM
7700 * mail/sendmail.el (sendmail-query-once):
7701 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7702 emacs -Q.
7703
7704 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7705
eab5dc07
LMI
7706 * cus-edit.el (custom-file): Take an optional no-error variable.
7707 (customize-save-variable): Set the variable, and give a warning if
7708 running under "emacs -q".
7709
a1e65d42
JB
77102011-07-11 Juanma Barranquero <lekktu@gmail.com>
7711
7712 * loadhist.el (unload-feature-special-hooks):
7713 Add `auto-coding-functions', `fill-nobreak-predicate' and
7714 `find-directory-functions' (bug#5327).
7715
1d52da10
LMI
77162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7717
be958f1d
LMI
7718 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7719
5bedb26c
LMI
7720 * cus-edit.el (custom-guess-name-alist): -alist variables should
7721 use the `alist' type (bug#3120). Suggested by Drew Adams.
7722
1d52da10
LMI
7723 * printing.el: Add documentation to all the `pr-toggle-' commands.
7724
cd394be1 77252011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7726
7727 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7728 backends where it makes sense (bug#2623).
7729
dcc88d8a
LMI
77302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7731
c3de9feb
LMI
7732 * dired-x.el (dired-guess-default): Remove duplicate shell command
7733 entries (bug#2028).
8a93078b 7734 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7735 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7736
dcc88d8a
LMI
7737 * subr.el (remove-duplicates): New conveniency function.
7738
505e3645
LMI
77392011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7740
7741 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7742 (bug#1526).
7743
77442011-07-10 Martin Rudalics <rudalics@gmx.at>
7745
7746 * window.el (display-buffer-normalize-default): Don't invert
7747 meaning of even-window-heights. Reported by Eli Zaretskii
7748 <eliz@gnu.org>.
7749
455e4fa1
BR
77502011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7751
7752 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7753
8e0bc3e9
CY
77542011-07-10 Chong Yidong <cyd@stupidchicken.com>
7755
7756 * window.el (display-buffer): Fix arguments to
7757 display-buffer-reuse-window in last change.
7758
fa7c3228
CY
7759 * faces.el (link): Use a less saturated blue on light backgrounds.
7760
7761 * startup.el (fancy-startup-text, fancy-about-text)
7762 (fancy-startup-tail): Use font-lock faces, for background safety.
7763
c0a7f300
BN
77642011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7765
b796c9b7
SM
7766 * emulation/viper-cmd.el (viper-change-state-to-vi):
7767 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7768
4dc2a129
MR
77692011-07-09 Martin Rudalics <rudalics@gmx.at>
7770
7771 * window.el (display-buffer-default-specifiers): Remove.
7772 (display-buffer-macro-specifiers): Remove default specifiers.
7773 (display-buffer-alist): Default to nil.
b796c9b7 7774 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7775 (display-buffer-pop-up-window): Allow splitting internal
7776 windows. Check whether a live window was created.
7777 (display-buffer-other-window-means-other-frame)
7778 (display-buffer-normalize-arguments): Rename to
7779 display-buffer-normalize-argument and rewrite. Set the
7780 other-window specifier.
7781 (display-buffer-normalize-special): New function.
7782 (display-buffer-normalize-options): Rename to
7783 display-buffer-normalize-default and rewrite.
7784 (display-buffer-normalize-options-inhibit): Remove.
7785 (display-buffer-normalize-specifiers): Rewrite.
7786 (display-buffer): Process other-window specifier and call
7787 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7788 more faithfully.
b796c9b7 7789 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7790 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7791 (display-buffer-in-window, display-buffer-alist-set):
7792 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7793 <tassilo@member.fsf.org>.
7794
2d43b8c9
LL
77952011-07-09 Leo Liu <sdl.web@gmail.com>
7796
7797 * register.el (insert-register): Restore accidental change on
7798 2011-06-26. (Bug#9028)
7799
7f9b7c53
GM
78002011-07-09 Glenn Morris <rgm@gnu.org>
7801
7802 * subr.el (remq): Handle the empty list. (Bug#9024)
7803
f042cfd8
AS
78042011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7805
7806 * mail/sendmail.el (send-mail-function): No longer delay custom
7807 initialization.
7808 * custom.el (custom-initialize-delay): Doc fix.
7809
856b2f11
SM
78102011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7813
afae1d68
MA
78142011-07-08 Michael Albinus <michael.albinus@gmx.de>
7815
7816 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7817 human-friendly prompt.
7818
0757af94
SM
78192011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7822 provided by a particular plugin.
7823
d760b731
LMI
78242011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7825
7826 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7827 save customizations (with "emacs -Q"), just set the variable
7828 instead of erroring out.
7829
7830 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7831
cd79ce90
JL
78322011-07-08 Juri Linkov <juri@jurta.org>
7833
7834 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7835 (archive-zip-update-case): Use 7z if found by `executable-find'.
7836 The order of searching the available programs is the same as in
7837 `archive-zip-extract' (bug#8968).
7838
14cc04aa
CY
78392011-07-07 Chong Yidong <cyd@stupidchicken.com>
7840
7841 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7842 (menu-bar-options-menu): Tweak descriptions.
7843
0a1848ec
LMI
78442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7845
7846 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7847 menu items into verb phrases (bug#1421). Also refill to fit under
7848 80 columns.
7849
f5bd0689
CY
78502011-07-07 Chong Yidong <cyd@stupidchicken.com>
7851
538e85c6
CY
7852 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7853 (Info-read-node-name): Doc fix (Bug#1084).
7854
f5bd0689
CY
7855 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7856 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7857 (end-of-sexp, beginning-of-sexp)
7858 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7859 (forward-symbol, forward-same-syntax, word-at-point)
7860 (sentence-at-point): Doc fix (Bug#1144).
7861
56ec5115
LMI
78622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7863
f3f8e37f
LMI
7864 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7865 should cover it (bug#1281).
7866
0757af94 7867 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7868
e9fce1ac 7869 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7870 negotiation fails, then possibly try again with a non-encrypted
7871 connection (bug#9017).
7872
56ec5115
LMI
7873 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7874 be used.
7875
c2f9aec8
RS
78762011-07-07 Richard Stallman <rms@gnu.org>
7877
7878 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7879 property, and handle its changed format.
7880 Look for the correct line number.
7881 Use file's line contents (but not past first =) to find
7882 correct line in message.
7883
ef7b981d 78842011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7885
7886 * international/characters.el (build-unicode-category-table):
7887 Delete it.
0757af94 7888 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7889
0757af94 7890 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7891 to src/chartab.c.
7892 (get-char-code-property): Call unicode-property-table-internal to
7893 load a file. Call get-unicode-property-internal where necessary.
7894 (put-char-code-property): Call unicode-property-table-internal to
7895 load a file. Call put-unicode-property-internal where necessary.
7896 put-unicode-property-internal where necessary.
0757af94
SM
7897 (char-code-property-description):
7898 Call unicode-property-table-internal to load a file.
c805dec0
KH
7899
7900 * international/charprop.el:
7901 * international/uni-bidi.el:
7902 * international/uni-category.el:
7903 * international/uni-combining.el:
7904 * international/uni-comment.el:
7905 * international/uni-decimal.el:
7906 * international/uni-decomposition.el:
7907 * international/uni-digit.el:
7908 * international/uni-lowercase.el:
7909 * international/uni-mirrored.el:
7910 * international/uni-name.el:
7911 * international/uni-numeric.el:
7912 * international/uni-old-name.el:
7913 * international/uni-titlecase.el:
7914 * international/uni-uppercase.el: Regenerate.
7915
7916 * loadup.el: Load international/charprop.el before
7917 international/characters.
7918
e14b388a
CY
79192011-07-07 Chong Yidong <cyd@stupidchicken.com>
7920
7921 * window.el (next-buffer, previous-buffer): Signal an error if
7922 called from a minibuffer window.
7923
7924 * bindings.el: Revert 2011-07-04 change.
7925
354cf0ba
RS
79262011-07-06 Richard Stallman <rms@gnu.org>
7927
7928 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7929 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7930 Treat markers like ints.
7931 (rmail-mime-entity): Doc fix.
7932
a48868a7
LMI
79332011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7934
4906cd3d
LMI
7935 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7936 defcustom again for backwards compatibility.
7937
e0457abe
LMI
7938 * simple.el (shell-command-on-region): Fill.
7939
d67f7e1f
LMI
7940 * dired-aux.el (dired-kill-line): Add a doc string.
7941
fe204702
LMI
7942 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7943 to "\\sw\\|\\s_" (bug#358).
7944
a48868a7
LMI
7945 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7946 (dired-unmark-backward): Ditto.
7947 (dired-flag-backup-files): Ditto.
7948
7949 * dired-x.el (dired-mark-sexp): Ditto.
7950
aa8a705c
RS
79512011-07-06 Richard Stallman <rms@gnu.org>
7952
7953 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7954 (rmail-mime-entity): New arg TRUNCATED.
7955 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7956 New functions.
7957 (rmail-mime-save): Warn if entity is truncated.
7958 (rmail-mime-toggle-hidden): Likewise, for showing.
7959 (rmail-mime-process-multipart): Record when an entity is truncated.
7960
a9a936b9
RS
7961 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7962 if ENTITY is a string.
7963
1f2b92cb
LMI
79642011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7965
f4f73198 7966 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7967 of faces when `M-C-x'-ing their definitions (bug#8378).
7968 Also clean up the code slightly.
f4f73198 7969
12b16734 7970 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7971 because that makes the colors go away.
12b16734 7972
f0691d22
LMI
7973 * mail/sendmail.el (send-mail-function): Change the default to
7974 `sendmail-query-once'.
9e87df06 7975 (sendmail-query-once): Add an autoload cookie.
f0691d22 7976
1f2b92cb
LMI
7977 * net/network-stream.el (network-stream-open-starttls): Try using
7978 a plain connection even if the server offered STARTTLS, and we
7979 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7980 capability. This should make smtpmail.el work in slightly more
7981 configurations.
7982
1cdd2a1b
MA
79832011-07-06 Michael Albinus <michael.albinus@gmx.de>
7984
7985 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7986 New defun.
7987 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7988
fbcc67e2
MM
79892011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7990
7991 * progmodes/sql.el: Version 3.0
0757af94 7992 (sql-product-alist): Add product :completion-object,
fbcc67e2 7993 :completion-column, and :statement attributes.
0757af94 7994 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7995 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7996 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7997 ansi keywords.
7998 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7999 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8000 (sql-oracle-show-reserved-words): New function for development.
8001 (sql-product-font-lock): Simplify for source code buffers.
8002 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8003 New functions.
8004 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8005 (sql-mode-map): Add statement movement functions.
8006 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8007 New variable.
fbcc67e2
MM
8008 (sql-statement-regexp, sql-beginning-of-statement)
8009 (sql-end-of-statement, sql-signum): New functions.
0757af94 8010 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8011 (sql-show-sqli-buffer): Bug fix.
8012 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8013 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8014 with sql-interactive-mode.
8015 (sql-save-connection): Save buffer local settings.
0757af94 8016 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8017 (sql-product-interactive): Bug fix.
8018 (sql-preoutput-hold): New variable.
8019 (sql-interactive-remove-continuation-prompt): Bug fixes.
8020 (sql-debug-redirect): New variable.
8021 (sql-str-literal): New function.
8022 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8023 Redesign.
fbcc67e2
MM
8024 (sql-oracle-save-settings, sql-oracle-restore-settings)
8025 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8026 (sql-completion-object, sql-completion-column)
8027 (sql-completion-sqlbuf): New variables.
8028 (sql-build-completions-1, sql-build-completions)
8029 (sql-try-completion): New functions.
8030 (sql-read-table-name): Use them.
8031 (sql-contains-names): New buffer local variable.
8032 (sql-list-all, sql-list-table): Use it.
8033 (sql-oracle-completion-types): New variable.
8034 (sql-oracle-completion-object, sql-sqlite-completion-object)
8035 (sql-postgres-completion-object): New functions.
8036
d4eaeab1
GM
80372011-07-06 Glenn Morris <rgm@gnu.org>
8038
8039 * window.el (pop-to-buffer): Doc fix.
8040
322b7dab 80412011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8042
8043 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8044
322b7dab 80452011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8046
322b7dab 8047 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8048
322b7dab 8049 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8050
605dd5bf
CY
80512011-07-05 Chong Yidong <cyd@stupidchicken.com>
8052
8053 * button.el (button): Inherit from link face. Suggested by Dan
8054 Nicolaescu.
8055
7dbfa719
SM
80562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8057
3db614b0
SM
8058 * progmodes/gdb-mi.el: Fit in 80 columns.
8059 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8060 switch-to-buffer.
8061
7dbfa719
SM
8062 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8063 if imenu is simply not configured (bug#8941).
8064
919d884a
KM
80652011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8066
8067 * allout.el (allout-post-undo-hook): New allout outline-change
8068 event hook to signal undo activity.
8069 (allout-post-command-business): Run allout-post-undo-hook if an
8070 undo just occurred.
7dbfa719
SM
8071 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8072 * allout-widgets.el (allout-widgets-after-undo-function):
8073 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8074 in the vicinity of an undo.
8075 (allout-widgets-mode): Include allout-widgets-after-undo-function
8076 on the new allout-post-undo-hook.
8077
450a0f09
SM
80782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8081 Let define-derived-mode define it.
8082 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8083 cycles of abbrev-table inheritance (bug#8998).
8084
2de69e00
RW
80852011-07-05 Roland Winkler <winkler@gnu.org>
8086
8087 * textmodes/bibtex.el: Add support for biblatex.
8088 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8089 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8090 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8091 (bibtex-entry-alist, bibtex-field-alist): New variables.
8092 (bibtex-entry-field-alist): Obsolete alias for
8093 bibtex-BibTeX-entry-alist.
8094 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8095 (bibtex-set-dialect): New command.
8096 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8097 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8098 Bind via bibtex-set-dialect.
2de69e00
RW
8099 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8100 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8101 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8102 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8103 Define via bibtex-set-dialect.
450a0f09
SM
8104 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8105 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8106 (bibtex-vec-push, bibtex-vec-incr): New functions.
8107 (bibtex-format-entry, bibtex-field-list)
8108 (bibtex-print-help-message, bibtex-validate)
8109 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8110
2dcdbdd9
SM
81112011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * progmodes/compile.el (compilation-goto-locus):
8114 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8115 * bs.el (bs-cycle-next, bs-cycle-previous):
8116 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8117 * bindings.el (mode-line-other-buffer):
8118 * autoinsert.el (auto-insert):
8119 * arc-mode.el (archive-extract):
8120 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8121
b27640fe
JB
81222011-07-05 Juanma Barranquero <lekktu@gmail.com>
8123
8124 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8125 Fix check of `emacs-lock-unlockable-modes'.
8126 Coerce true values of `emacs-lock--try-unlocking' to t.
8127
53bbe3ad
JB
81282011-07-05 Juanma Barranquero <lekktu@gmail.com>
8129
8130 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8131 * emacs-lock.el: New file.
8132
1d3cdbc7
JD
81332011-07-05 Julien Danjou <julien@danjou.info>
8134
8135 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8136 than `boundp' to check if face is set.
8137
9173deec
JB
81382011-07-05 Juanma Barranquero <lekktu@gmail.com>
8139
8140 * register.el (registerv-make):
8141 * window.el (window-min-height): Fix typos in docstrings.
8142
869795d6
JD
81432011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8144
9173deec 8145 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8146 Update doc string.
8147
b768cdcd
JB
81482011-07-04 Juanma Barranquero <lekktu@gmail.com>
8149
8150 * server.el (server-execute): Catch quit and call
8151 `server-return-error' to pass the error back to emacsclient and
8152 close the connection (bug#8942).
8153
13aa217b
KM
81542011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8155
8156 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8157 insecure exception for current topic. Also note that auto-saves
8158 are handled differently.
8159
8160 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8161 State variables for tracking auto-save inhibition situation.
8162
8163 (allout-write-contents-hook-handler): Rename from
8164 'allout-write-file-hook-handler', and describe how it depends on
8165 write-contents-functions sensitivity to non-nil value to prevent
8166 file write.
8167
8168 (allout-auto-save-hook-handler): Remove. auto-save does not check
8169 this in individual buffers, only in the starting buffer, so this
8170 is not the right way for us to inhibit auto-save in a buffer
8171 according to its condition.
8172
8173 (allout-mode): Use new allout-write-contents-hook-handler, and
8174 only with write-contents-functions. Remove auto-save provisions -
8175 they're implemented elsewhere.
8176
8177 (allout-before-change-handler): If undo is in progress, note that
8178 for attention of allout-post-command-business.
8179
8180 (allout-post-command-business): If the command we're following was
8181 an undo, check for change in the status of encrypted items and
8182 adjust auto-save inhibitions accordingly.
8183
8184 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8185 according to whether there are or aren't any plain-text topics
8186 pending encryption.
8187
2dcdbdd9 8188 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8189 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8190 if there are plain-text topics pending encryption.
13aa217b
KM
8191
8192 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8193 buffer-saved-size and some allout state to not inhibit auto-saves
8194 if there are no longer any plain-text topics pending encryption.
8195
0757af94
SM
8196 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8197 No longer provide for exemption of the current topic.
13aa217b 8198
ac89b32c
JL
81992011-07-04 Juri Linkov <juri@jurta.org>
8200
8201 Add 7z operations to delete and save changed members (bug#8968).
8202 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8203 New defcustoms.
8204 (archive-7z-write-file-member): New function.
8205 (archive-7z-summarize): Fix the number of dashes in the
8206 listing output.
8207
8fa39615
SM
82082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8211 (bug#8958).
8212
2f11b3f1
CY
82132011-07-04 Chong Yidong <cyd@stupidchicken.com>
8214
d66fef2b
CY
8215 * bindings.el: Ignore next-buffer and previous-buffer in
8216 minibuffer-local-map.
8217
2f11b3f1
CY
8218 * font-lock.el (font-lock-builtin-face): Change light background
8219 color to dark slate blue (Bug#6693).
8220
f932a347
WD
82212011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8222
8223 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8224
c8af70e1
SM
82252011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8228 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8229 Add switch-to-buffer.
8230
f158badc
LMI
82312011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8232
8233 * isearch.el (isearch-search-fun-function): Clarify further the
8234 meaning of the function returned.
8235
6d95bd46
MA
82362011-07-04 Michael Albinus <michael.albinus@gmx.de>
8237
8238 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8239
8240 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8241 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8242 Use it.
8243 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8244 `tramp-default-remote-path' does not exist.
8245 (tramp-send-command-and-read): New optional argument NOERROR.
8246 (tramp-open-connection-setup-interactive-shell)
8247 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8248 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8249 (tramp-process-sentinel): Flush also process' connection property.
8250 (tramp-sh-handle-start-file-process): Do not set process
8251 sentinel. It is done now ...
8252 (tramp-maybe-open-connection): ... here. (Bug#8929)
8253
909e6b67
MK
82542011-07-04 MON KEY <monkey@sandpframing.com>
8255
8256 * play/animate.el (animate-string): Doc fixes and allow changing
8257 the buffer name (bug#5417).
8258
82592011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8260
c8af70e1 8261 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8262
f34755dc
PE
82632011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8264
396cec72
PE
8265 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8266 This is simpler and helps future-proof the code.
8267 (timer-until): Use time-subtract and float-time.
08235028 8268 (timer--time-less-p): Use time-less-p.
f34755dc 8269
56e6cc31
JB
82702011-07-04 Juanma Barranquero <lekktu@gmail.com>
8271
3abb79e5
JB
8272 * type-break.el (timep): Use the value of `float-time' to avoid a
8273 byte-compiler warning.
8274
56e6cc31
JB
8275 * server.el (server-eval-and-print): Return any result, even nil.
8276
7b9430b4
PE
82772011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8278
8279 * type-break.el: Accept time formats that the builtins accept.
8280 (timep, type-break-time-difference): Accept any format that
8281 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8282 This is simpler and helps future-proof the code.
8283 (type-break-time-difference): Round rather than ignoring
8284 subseconds components.
8285
3034e9e7
LMI
82862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8287
8288 * info.el (Info-apropos-matches): Make non-interactive, since it
8289 doesn't seem to do anything useful as a command (bug#8829).
8290
1485f4c0
CY
82912011-07-03 Chong Yidong <cyd@stupidchicken.com>
8292
8293 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8294 Move from faces.el.
1485f4c0
CY
8295 (frame-default-terminal-background): New function.
8296
8297 * custom.el (custom-push-theme): Don't record faces in `changed'
8298 theme; this doesn't work correctly for per-frame face settings.
8299 (disable-theme): Use face-set-after-frame-default to reset faces.
8300 (custom--frame-color-default): New function.
8301
9fa3dd45
LMI
83022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8303
c8af70e1 8304 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8305 (bug#8769).
8306
6cbbc20c
KR
83072011-03-29 Kevin Ryde <user42@zip.com.au>
8308
8309 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8310 `perl-Test2' extend to match possible "fail #N" rep count
8311 (bug#8377).
8312
c7f98048
LMI
83132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8314
65676592
LMI
8315 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8316 `smtpmail-via-smtp' now returns the error instead of nil.
8317
c7f98048
LMI
8318 * isearch.el (isearch-search-fun-function): Clarify the doc string
8319 (bug#8101).
8320
56e6cc31 83212011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8322
8323 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8324 unnecessary spaces (bug#8987).
8325
2b216704
LMI
83262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8327
8328 * net/network-stream.el (open-network-stream): Use the
8329 :end-of-capability command thoughout.
8330
83312011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8332
8333 * net/network-stream.el (open-network-stream): Add the
8334 :end-of-capability command parameter, used by pop3.el.
8335
36adf6ce
LMI
83362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8337
1ca0da0e
LMI
8338 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8339
fc00f69c
LMI
8340 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8341 for list)" (bug#6475).
8342
28fd8759 8343 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8344 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8345 an error (bug#6297).
8346
0dd8b6da
LMI
8347 * man.el (Man-reference-regexp): Allow matching possible
8348 word-wrapped references (bug#6289).
8349
ce1438d6
LMI
8350 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8351 for consistency with the other vc buffers (bug#6197).
8352 (vc-checkin): Ditto.
8353
8354 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8355
36adf6ce
LMI
8356 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8357
e83cc1f7
LMI
83582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8359
8a20ca4c
LMI
8360 * custom.el (defcustom): Clarify that :set is only used in the
8361 Customize user interface (bug#6089).
8362
83319045
LMI
8363 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8364 associated with a file, refuse to run instead of erroring out
8365 (bug#6084).
8366
a8392169
LMI
8367 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8368 the doc string, since it appears that using `fill-column' always
8369 controls the width (bug#7845).
8370
e83cc1f7
LMI
8371 * simple.el (shell-command-on-region): Say where the error output
8372 went if `shell-command-default-error-buffer' is set (bug#6857).
8373
e47ca23b
KM
83742011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8375
8376 * allout.el (allout-yank-processing): Adjust cursor position for
8377 backwards-deleted space.
8378
8379 (allout-rebullet-heading): Register changes with
8380 allout-exposure-changed-hook, so the modified topic is properly
8381 decorated.
8382
5cf56143
LMI
83832011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8384
08549772
LMI
8385 * minibuffer.el (completion-in-region): Document PREDICATE
8386 (bug#7136).
8387
48e96771
LMI
8388 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8389 of keyword/argument pairs (bug#6904).
8390
c8af70e1
SM
8391 * replace.el (multi-occur):
8392 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8393
e17d05e2
LMI
83942011-07-02 Drew Adams <drew.adams@oracle.com>
8395
8396 * dired.el (dired-mark-if): Make the message about whether it's
8397 marking or unmarking clearer (bug#8523).
8398
063b0e45
LMI
83992011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8400
8401 * disp-table.el (display-table-print-array): New function.
8402 (describe-display-table): Use it to print the vectors more pretty
8403 (Bug#8859).
8404
28545e04
MR
84052011-07-02 Martin Rudalics <rudalics@gmx.at>
8406
8407 * window.el (window-state-get-1): Don't assign clone numbers.
8408 Add clone-of item to list of window parameters.
8409 (window-state-put-2): Don't process clone numbers.
8410 (display-buffer-alist): Fix doc-string.
8411
3349e122
SM
84122011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8413
8414 * subr.el (remq): Don't allocate if it's not needed.
8415 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8416 (keymap--merge-bindings): New functions.
8417 (keymap-canonicalize): Use them to refine the canonicalization.
8418 * minibuffer.el (minibuffer-local-completion-map)
8419 (minibuffer-local-must-match-map): Move initialization from C.
8420 (minibuffer-local-filename-completion-map): Move initialization from C;
8421 don't inherit from anything here.
8422 (minibuffer-local-filename-must-match-map): Make obsolete.
8423 (completing-read-default): Use make-composed-keymap to combine
8424 minibuffer-local-filename-completion-map with either
8425 minibuffer-local-must-match-map or
8426 minibuffer-local-filename-completion-map.
8427
d224ac83
GM
84282011-07-01 Glenn Morris <rgm@gnu.org>
8429
3de63bf8
GM
8430 * type-break.el (type-break-time-sum): Use dolist.
8431
d224ac83
GM
8432 * textmodes/flyspell.el (flyspell-word-search-backward):
8433 Replace CL function.
8434
1a1e3f32
SM
84352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8436
fe3f64d5
SM
8437 * mouse.el (mouse--strip-first-event): New function.
8438 (function-key-map): Use it to map fringe clicks to normal clicks
8439 by default.
8440
eb604e34
SM
8441 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8442 (vc-bzr-revision-completion-table): Add support for annotate and date.
8443
1a1e3f32
SM
8444 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8445 inherit from parent.
8446
5bd35902
LMI
84472011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
ace6c69c 8449 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8450 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8451
191e2bed
LMI
8452 * dired.el (dired-mode): Fix up the doc string as suggested by
8453 Drew Adams (bug#8817).
8454
5bd35902
LMI
8455 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8456 cookie, since the manual says that it should be possible to add
8457 this function to `find-file-hook' (bug#8709).
8458
eee8207a
TZ
84592011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8460
8461 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8462 here. Noted Ted Zlatanov as the maintainer.
8463 (cfengine-common-settings, cfengine-common-syntax): New functions
8464 to set up common things between `cfengine-mode' and
8465 `cfengine3-mode'.
8466 (cfengine3-mode): New mode.
8467 (cfengine3-defuns cfengine3-defuns-regex
8468 (cfengine3-class-selector-regex cfengine3-category-regex)
8469 (cfengine3-vartypes cfengine3-font-lock-keywords)
8470 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8471 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8472
36b148cf
MA
84732011-07-01 Michael Albinus <michael.albinus@gmx.de>
8474
8475 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8476
8477 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8478
0bf4ba9a
MR
84792011-07-01 Martin Rudalics <rudalics@gmx.at>
8480
8481 * window.el (same-window-buffer-names, same-window-regexps)
8482 (same-window-p, special-display-frame-alist)
8483 (special-display-popup-frame, special-display-function)
8484 (special-display-buffer-names, special-display-regexps)
8485 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8486 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8487 (split-window-preferred-function, split-height-threshold)
8488 (split-width-threshold, even-window-heights)
8489 (display-buffer-mark-dedicated, window-splittable-p)
8490 (split-window-sensibly, window-safely-shrinkable-p):
8491 Un-obsolete.
8492 (display-buffer): Don't spread args with function specifier
8493 because special-display-popup-frame won't like it.
8494
35837f51
PE
84952011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8496
d0672f86
PE
8497 Time-stamp simplifications and fixes.
8498 These improve accuracy slightly, and future-proof the code
8499 against some potential changes to current-time format.
8500
b9444d97
PE
8501 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8502 by using time-since and float-time.
8503
0ef923dc
PE
8504 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8505 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8506 + NNN microseconds".
8507
2f81380d
PE
8508 * type-break.el (type-break-time-sum): Rewrite using time-add.
8509
845b5c3e
PE
8510 * play/hanoi.el (hanoi-current-time-float): Remove.
8511 All uses replaced by float-time.
8512
ee6f1be0
PE
8513 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8514 This yields a more-accurate answer.
8515 (rng-time-to-float): Remove; no longer needed.
8516
fe955043
PE
8517 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8518
5777162a
PE
8519 * calendar/timeclock.el (timeclock-seconds-to-time):
8520 Defalias to seconds-to-time, since they're the same thing.
8521
3103f8b6 8522 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8523 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8524 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8525
0e61a35f
SM
85262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * window.el (bury-buffer): Don't iconify the only frame.
8529 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8530 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8531
ddd63a1e
CY
85322011-07-01 Chong Yidong <cyd@stupidchicken.com>
8533
0e61a35f
SM
8534 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8535 Add mouse-yank-primary.
ddd63a1e 8536
055f4923
TZ
85372011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8538
8539 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8540
6a2fb145
SM
85412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8542
8543 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8544 (find-library-name): Use it to find relative load names when provided
8545 absolute file name (bug#8803).
8546
fd4983f2
LMI
85472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8548
887d14ad
LMI
8549 * textmodes/flyspell.el (flyspell-word): Consider words that
8550 differ only in case as potential doublons (bug#5687).
8551
c53dc7fc
LMI
8552 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8553 Remove two rather uninteresting debugging-like messages to make
8554 debbugs.el more silent.
8555
fd4983f2
LMI
8556 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8557 a password-like phrase.
8558
7a71b18d 85592011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8560
8561 * progmodes/cc-guess.el: New file.
8562
6a2fb145 8563 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8564
8565 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8566 derived from `c-basic-common-init'.
8567
8568 * progmodes/cc-mode.el (top-level): Require cc-guess.
8569 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8570
1fa280a3
LM
85712011-06-30 Lawrence Mitchell <wence@gmx.li>
8572
8573 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8574
e6597158
AM
85752011-06-30 Alan Mackenzie <acm@muc.de>
8576
1fa280a3
LM
8577 * progmodes/cc-engine.el (c-guess-continued-construct):
8578 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8579 lock is disabled. Name this case as "CASE G".
8580
68ba37fb
KM
85812011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8582
8583 * allout.el (allout-yank-processing): Fix injection of extra space
8584 between bullet and non-whitespace character in first topic when
8585 pasting, ensuring that the actual spacing in the pasted topic
8586 following the bullet char is preserved. This extra space was
8587 causing pasted encrypted topics to get a decrypted status even
8588 when the content was actually still encrypted. Now the decryption
8589 status from before the paste is preserved.
8590
8591 (allout-flag-region): Set all allout overlays so they evaporate
8592 when reduced to zero length (evanescent), to prevent overlay
8593 leakage.
8594
887a0b34
GM
85952011-06-30 Glenn Morris <rgm@gnu.org>
8596
94b9acce
GM
8597 * w32-fns.el (w32-charset-info-alist): Declare.
8598
1d9b46d4
GM
8599 * find-dired.el (find-grep-options): Simplify.
8600
cc232200
GM
8601 * term/ns-win.el (ns-set-resource): Declare.
8602
28e77c46
GM
8603 * ses.el (row, col): Declare dynamic variables honestly.
8604
887a0b34
GM
8605 * textmodes/reftex-parse.el (index-tags): Declare.
8606
658d8eb8
CY
86072011-06-30 Chong Yidong <cyd@stupidchicken.com>
8608
8609 * cus-edit.el (customize-push-and-save): New function.
8610
8611 * files.el (hack-local-variables-confirm): Use it.
8612
1fa280a3
LM
8613 * custom.el (load-theme): New arg NO-CONFIRM.
8614 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8615 (custom-enabled-themes): Doc fix.
8616
8617 * cus-theme.el (customize-create-theme)
8618 (custom-theme-merge-theme): Callers to load-theme changed.
8619
bb617717
LMI
86202011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8621
d61bdd5d
LMI
8622 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8623 short URLs have at least one dot in them (bug #7614).
8624
bb617717
LMI
8625 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8626 nil, because using a pty is apparently too slow (bug #895).
8627
2f31f37a
LMI
86282011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8629
8630 * mail/sendmail.el (sendmail-query-once): New function.
8631 (sendmail-query-once-function): New variable.
8632
3076b24e
GM
86332011-06-29 Glenn Morris <rgm@gnu.org>
8634
faf2a174
GM
8635 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8636
3076b24e
GM
8637 * ses.el (top-level): Require cl when compiling.
8638 (ses-set-localvars): Fix error statement.
8639 Call it at compile time to silence a storm of warnings.
8640
5386012d
MR
86412011-06-29 Martin Rudalics <rudalics@gmx.at>
8642
8643 * window.el (normalize-live-buffer): Rename to
8644 window-normalize-buffer.
8645 (normalize-live-frame): Rename to window-normalize-frame.
8646 (normalize-any-window): Rename to window-normalize-any-window.
8647 (normalize-live-window): Rename to window-normalize-live-window.
8648 (make-window-atom): Rename to window-make-atom.
8649 (window-resize-reset): Rename to window--resize-reset.
8650 (window-resize-reset-1): Rename to window--resize-reset-1.
8651 (resize-mini-window): Rename to window--resize-mini-window.
8652 (resize-subwindows-skip-p): Rename to
8653 window--resize-subwindows-skip-p.
8654 (resize-subwindows-normal): Rename to
8655 window--resize-subwindows-normal.
8656 (resize-subwindows): Rename to window--resize-subwindows.
8657 (resize-other-windows): Rename to window--resize-siblings.
8658 (resize-this-window): Rename to window--resize-this-window.
8659 (resize-root-window): Rename to window--resize-root-window.
8660 (resize-root-window-vertically): Rename to
8661 window--resize-root-window-vertically.
8662 (normalize-buffer-to-display): Rename to
8663 window-normalize-buffer-to-display.
8664 (normalize-buffer-to-switch-to): Rename to
8665 window-normalize-buffer-to-switch-to.
8666 Correspondingly update all callers of the functions listed
8667 above.
8668 (display-buffer-alist, display-buffer-normalize-arguments)
8669 (display-buffer-normalize-options, display-buffer)
8670 (display-buffer-alist-set): Use "function" instead of
8671 "fun-with-args".
8672
1176868d
CY
86732011-06-28 Chong Yidong <cyd@stupidchicken.com>
8674
8675 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8676 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8677 debbugs.gnu.org. Mention acknowledgment email.
8678
20a7a65f
LMI
86792011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8680
8681 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8682 buffer multibyteness, since it shouldn't matter.
8683
5f45cca5
MR
86842011-06-28 Martin Rudalics <rudalics@gmx.at>
8685
8686 * window.el (display-buffer-in-side-window): Handle dedicated
8687 windows as in display-buffer-reuse-window.
8688 (display-buffer-normalize-alist): Use value of override
8689 specifier.
8690 (display-buffer-normalize-specifiers): Use value of
8691 other-window-means-other-frame specifier.
8692 (display-buffer-alist): Rewrite some texts in widgets.
8693 (display-buffer): Spread arguments when calling function
8694 specified by fun-with-args.
8695
ad85fe1f
DD
86962011-06-28 Deniz Dogan <deniz@dogan.se>
8697
1fa280a3
LM
8698 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8699 Unnest `let'.
da68c4c8 8700
ad85fe1f
DD
8701 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8702 selectors (Bug#5732).
ec49bd31 8703 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8704
a08cc025
JA
87052011-06-27 Jari Aalto <jari.aalto@cante.net>
8706
8707 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8708 (eshell-ls-date-format): New defcustom.
8709 (eshell-ls-file): Use it.
8710
e2b551c5
SM
87112011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8712
8713 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8714
8982b231
KY
87152011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8716
8717 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8718 (ange-ftp-make-tmp-name): New arg.
8719 (ange-ftp-file-local-copy): Use it.
8720
36c9fa27
J
87212011-06-27 Jambunathan K <kjambunathan@gmail.com>
8722
8723 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8724 no-conversion (Bug#8870).
8725
d68443dc
MR
87262011-06-27 Martin Rudalics <rudalics@gmx.at>
8727
8728 * window.el (window-right, window-left, window-child)
8729 (window-child-count, window-last-child)
8730 (window-iso-combination-p, walk-window-tree-1)
8731 (window-atom-check-1, window-tree-1, delete-window)
8732 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8733 new naming conventions - window-vchild, window-hchild,
8734 window-next and window-prev are now called window-top-child,
8735 window-left-child, window-next-sibling and window-prev-sibling
8736 respectively.
d615d6d2
MR
8737 (resize-window-reset): Rename to window-resize-reset.
8738 (resize-window-reset-1): Rename to window-resize-reset-1.
8739 (resize-window): Rename to window-resize.
8740 (window-min-height, window-min-width)
8741 (resize-mini-window, resize-this-window, resize-root-window)
8742 (resize-root-window-vertically, adjust-window-trailing-edge)
8743 (enlarge-window, shrink-window, maximize-window)
8744 (minimize-window, delete-window, quit-restore-window)
8745 (split-window, balance-windows, balance-windows-area-adjust)
8746 (balance-windows-area, window-state-put-2)
8747 (display-buffer-even-window-sizes, display-buffer-set-height)
8748 (display-buffer-set-width, set-window-text-height)
8749 (fit-window-to-buffer): Rename all "resize-window" prefixed
8750 calls to use the "window-resize" prefix convention.
8751 (display-buffer-alist): Fix symbol for label specifier.
8752 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8753 corresponding specifier.
8754 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8755
b6458526
VB
87562011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8757
8758 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8759 convention.
8760 (ses-call-printer): Does not pass an empty string to formatter when the
8761 cell is empty to keep from barking printer Calc math-format-value.
8762
d31fd9ac
RS
87632011-06-27 Richard Stallman <rms@gnu.org>
8764
43d5bf84
RS
8765 * battery.el (battery-mode-line-limit): New variable.
8766 (battery-update): Handle it.
8767
d31fd9ac
RS
8768 * mail/rmailmm.el (rmail-mime-process-multipart):
8769 Handle truncated messages.
8770
819a6054
GM
87712011-06-27 Glenn Morris <rgm@gnu.org>
8772
8773 * progmodes/flymake.el (flymake-err-line-patterns):
8774 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8775
cedc73f2
VB
87762011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8777
819a6054 8778 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8779 (ses--clean-!, ses--clean-_): New functions.
8780 (ses-range): Add configurability of readout order, and conversion
8781 to Calc vector.
8782
5e5d49b6
VB
8783 * ses.el (ses-repair-cell-reference-all): New function.
8784 (ses-cell-symbol): Set macro as safe, so that it can be used in
8785 formulas.
8786
56e6cc31 8787 * ses.el: Update cycle detection algorithm.
90ca8b49 8788 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8789 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8790 (ses-set-localvars): New function.
8791 (ses-make-cell): Add property-list as a cell element.
8792 (ses-cell-property-get-fun, ses-cell-property-get)
8793 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8794 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8795 New functions.
90ca8b49
VB
8796 (ses-cell-property-set, ses-cell-property-pop)
8797 (ses-cell-property-get-handle): New macro.
8798 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8799 New aliases, used for code readability.
8800 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8801 cycle detection.
8802 (ses-self-reference-early-detection): New defcustom.
fac916bf 8803 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8804 (ses-mode): Use ses-set-localvars.
8805 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8806 before lauching the update processing.
8807 (ses-initialize-Dijkstra-attempt): New function.
8808 (ses-recalculate-cell): Update for cycle detection based on
8809 Dijkstra algorithm.
8810
2bb63e81
VB
8811 * ses.el: Fix commenting and indenting convention.
8812
c9d29fb8
SM
88132011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * bs.el (bs-cycle-next): Complete last change.
8816
d8e4b68b
JB
88172011-06-27 Drew Adams <drew.adams@oracle.com>
8818
8819 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8820
40098786
LMI
88212011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8822
c9d29fb8
SM
8823 * net/network-stream.el (network-stream-open-starttls):
8824 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8825 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8826
40098786
LMI
8827 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8828 to binary to possibly avoid line encoding issues on Windows (among
8829 other things).
8830
468d09d4
LMI
88312011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8832
8833 * net/network-stream.el (open-network-stream): Return an :error
8834 saying what the problem was, if possible.
8835
8836 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8837 server.
8838
8839 * net/network-stream.el (network-stream-open-starttls): If we
8840 wanted to use STARTTLS, and the server offered it, but we weren't
8841 able to because we had no STARTTLS support, then close the connection.
8842 (open-network-stream): Return an :error element, if present.
8843
16f07dd7
CY
88442011-06-26 Chong Yidong <cyd@stupidchicken.com>
8845
88821ca0
CY
8846 * hl-line.el (hl-line-sticky-flag): Doc fix.
8847 (global-hl-line-sticky-flag): New option (Bug#8323).
8848 (global-hl-line-highlight): Obey it.
8849
16f07dd7
CY
8850 * vc/vc.el (vc-revert-show-diff): Default to t.
8851
6b5ccddf
KM
88522011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8853
c9d29fb8
SM
8854 * allout-widgets.el (allout-widgets-post-command-business):
8855 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8856 undecorated when an isearch is continued past, and isearch
8857 automatically collapses them. This leads to "widget leaks", where
8858 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8859 hidden widgets can slow down cursor travel, substantially.
8860 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8861 so we're doing without this nicety.
8862
8863 (allout-widgets-tally-string): Don't try to do a hash-table-count
8864 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8865 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8866 *Messages* when allout-widgets-maintain-tally is t.
8867
355f2e07
MR
88682011-06-26 Martin Rudalics <rudalics@gmx.at>
8869
8870 * window.el (display-buffer-normalize-argument): Rename to
8871 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8872 LABEL argument. Respect special-display-function when popping up
8873 a new frame. Fix code searching for a window showing the buffer
8874 on another frame.
c9d29fb8
SM
8875 (display-buffer-normalize-specifiers):
8876 Call display-buffer-normalize-arguments.
355f2e07
MR
8877 (display-buffer-in-window): Don't undedicate the window if its
8878 buffer remains the same.
8879 Reported by Drew Adams <drew.adams@oracle.com>.
8880 (display-buffer-alist): Add choice for same-window macro
8881 specfier.
8882 (display-buffer): Mention special meaning of LABEL argument in
8883 doc-string. Fix quoting. Don't pop up a new frame even as
8884 fallback.
8885
7ca8fc42
JB
88862011-06-26 Juanma Barranquero <lekktu@gmail.com>
8887
8888 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8889 avoid deleting the current window in some cases (bug#8911).
8890
bc312254
AS
88912011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8892
8893 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8894 (Bug#8934)
8895
2db18f3f
LMI
88962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8897
c9d29fb8
SM
8898 * net/network-stream.el (network-stream-open-starttls):
8899 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8900 (network-stream-open-tls): Ditto.
8901
6302e0d3
LL
89022011-06-26 Leo Liu <sdl.web@gmail.com>
8903
8904 * register.el (registerv): New struct.
8905 (registerv-make): New function.
c9d29fb8
SM
8906 (jump-to-register, describe-register-1, insert-register):
8907 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8908 struct. (Bug#8415)
8909
5fdd4046
CY
89102011-06-26 Chong Yidong <cyd@stupidchicken.com>
8911
2afef60a
CY
8912 * vc/vc.el (vc-revert-show-diff): New defcustom.
8913 (vc-diff-internal): New arg specifying diff buffer.
8914 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8915 reuse an existing *vc-diff* buffer (Bug#8927).
8916
5fdd4046
CY
8917 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8918
e93db24a
GM
89192011-06-26 Glenn Morris <rgm@gnu.org>
8920
8921 * progmodes/f90.el (f90-critical-indent): New option.
8922 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8923 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8924 (f90-mode): Doc fix.
8925 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8926 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8927 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8928 (f90-match-end): Handle block, critical.
8929
eefff499
GM
89302011-06-25 Glenn Morris <rgm@gnu.org>
8931
f6ba4cc9
GM
8932 * calendar/diary-lib.el (diary-included-files): Doc fix.
8933 (diary-include-files): New function, extracted from
8934 diary-include-other-diary-files and diary-mark-included-diary-files.
8935 (diary-include-other-diary-files, diary-mark-included-diary-files):
8936 Just call diary-include-files.
8937 (diary-mark-entries): Reset diary-included-files on first call.
8938
16712304
GM
8939 * calendar/diary-lib.el (diary-mark-entries)
8940 (diary-mark-included-diary-files):
8941 Visit included diary-files in temp buffers.
8942
5d8e0d43
GM
8943 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8944 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8945 (f90-start-block-re, f90-imenu-generic-expression)
8946 (f90-looking-at-program-block-start, f90-no-block-limit):
8947 Add support for submodules.
8948
ccf7a5d5
GM
8949 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8950 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8951
11fdef7d 89522011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8953
8954 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8955 buffer-file-type before setting its value, to avoid disastrous
eefff499 8956 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8957
74f53697
JB
89582011-06-25 Juanma Barranquero <lekktu@gmail.com>
8959
8960 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8961
8962 * ses.el (ses-unload-function):
8963 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8964
8965 * proced.el (proced-unload-function):
8966 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8967
18a4ce5e
AR
89682011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8969
8970 * server.el (server-create-window-system-frame): Add parameters arg.
8971 (server-process-filter): Doc fix. Handle frame-parameters.
8972
519d22cc
JB
89732011-06-25 Juanma Barranquero <lekktu@gmail.com>
8974
8975 Fix bug#8730, bug#8781.
8976
8977 * loadhist.el (unload--set-major-mode): New function.
8978 (unload-feature): Use it.
8979
8980 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8981 (python-unload-function): New function.
8982
c206f5b0
SM
89832011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8984
8985 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8986
f9ad64f3
GS
89872011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8988
8989 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8990 the candidates list.
8991
7d0da90e
JB
89922011-06-24 Juanma Barranquero <lekktu@gmail.com>
8993
8994 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8995
14b4e83d
RS
89962011-06-23 Richard Stallman <rms@gnu.org>
8997
8998 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8999 (rmail-variables): Set next-error-move-function.
9000 (rmail-what-message): Take argument POS.
9001 (rmail-next-error-move): New function.
9002
273d2baf
SM
90032011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9006 messages for adjacent non-terminals.
9007
56c2cc9a
RS
90082011-06-23 Richard Stallman <rms@gnu.org>
9009
9010 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9011 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9012 (rmail-start-mail): Don't specify use of rmail-mail-return;
9013 that's done by mail-bury now.
9014 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9015
d59eb518
MA
90162011-06-23 Michael Albinus <michael.albinus@gmx.de>
9017
9018 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9019 SIZE is a number.
9020
02cfc6d6
MR
90212011-06-23 Martin Rudalics <rudalics@gmx.at>
9022
9023 * window.el (get-lru-window, get-mru-window)
9024 (get-largest-window): Never return a minibuffer window.
9025 (display-buffer-pop-up-window): Fix a bug that could lead to
9026 reusing the minibuffer window.
9027 (display-buffer): Pass original specifier argument to
9028 display-buffer-function instead of the normalized one.
9029 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9030
4e323265
LL
90312011-06-22 Leo Liu <sdl.web@gmail.com>
9032
9033 * minibuffer.el (completing-read-function)
9034 (completing-read-default): Move from minibuf.c
9035
7a70468f
RS
90362011-06-22 Richard Stallman <rms@gnu.org>
9037
50718fc2
RS
9038 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9039 to Rmail even if not started by a special Rmail command.
9040
7a70468f
RS
9041 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9042 Copy the buffer currently showing just one message.
9043
297dde5a
RW
90442011-06-22 Roland Winkler <winkler@gnu.org>
9045
9046 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9047 (bibtex-clean-entry): First delete the old key so that a
9048 customized algorithm for generating the new key does not get
9049 confused by the old key.
9050 (bibtex-url): Obey regexp of first step.
9051 (bibtex-search-entries): Do not use add-to-list with local
9052 list-var.
9053
97bb1093
LMI
90542011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9055
9056 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9057 stored a user name, then query for the password first, instead of
9058 waiting for SMTP to give an error message and the trying again.
9059
1c0f1a19
JD
90602011-06-22 Lawrence Mitchell <wence@gmx.li>
9061
9062 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9063 BUFFER in call-process.
9064
396f7c9d
LMI
90652011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9066
9067 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9068 QUIT twice.
ddb7ffee
LMI
9069 (smtpmail-try-auth-methods): Require user name and password from
9070 auth-source.
396f7c9d 9071
8998d1b3
MR
90722011-06-22 Martin Rudalics <rudalics@gmx.at>
9073
9074 * window.el (display-buffer-default-specifiers)
9075 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9076 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9077 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9078
9079 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9080 (special-display-frame-alist, special-display-popup-frame):
9081 Remove duplicate declarations. These are now in window.el.
9082
4ea31e07
LMI
90832011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9084
c9d29fb8
SM
9085 * mail/smtpmail.el (smtpmail-via-smtp):
9086 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9087 server supports it. SMTP servers that support STARTTLS commonly
9088 require it.
9089
9090 * net/network-stream.el (network-stream-open-starttls): Support
9091 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9092 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9093
95f41d9a
LMI
9094 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9095 upgrades with `open-network-stream', and rely solely on
9096 auth-source for all credentials. Big changes throughout the file,
9097 but in particular:
c9d29fb8
SM
9098 (smtpmail-auth-credentials): Remove.
9099 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9100 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9101 MAIL FROM, too.
95f41d9a 9102
c9d29fb8
SM
9103 * net/network-stream.el (network-stream-open-starttls):
9104 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9105 STARTTLS.
9106 (auth-source): Require.
9107 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9108 (network-stream-certificate): Change cert-cert to cert and
9109 cert-key to key.
4ea31e07 9110
065ec2c7
MA
91112011-06-21 Michael Albinus <michael.albinus@gmx.de>
9112
9113 * net/tramp-cache.el (top): Don't load the persistency file when
9114 "emacs -Q" has been called.
9115
cd93b359
DR
91162011-06-21 Tim Harper <timcharper@gmail.com>
9117
d8e4b68b
JB
9118 * term/ns-win.el (ns-initialize-window-system):
9119 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9120 resource to NO as it is not yet supported by the NS port.
9121
ae9c0411
JB
91222011-06-21 Juanma Barranquero <lekktu@gmail.com>
9123
9124 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9125 (list-dynamic-libraries): ...not here.
9126
7f3f739f
LL
91272011-06-21 Leo Liu <sdl.web@gmail.com>
9128
9129 * subr.el (sha1): Implement sha1 using secure-hash.
9130
327c8fb1
MR
91312011-06-21 Martin Rudalics <rudalics@gmx.at>
9132
9133 * window.el (display-buffer-alist): In default value do not
9134 enforce searching a window on any but the selected frame.
9135 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9136 (display-buffer-select-window): Remove function.
9137 (display-buffer-in-window): When a window on another frame gets
9138 reused, do not select it any more but just raise its frame if
9139 necessary (Bug#8851) and (Bug#8856).
9140 (display-buffer-normalize-options): Handle pop-up-frames related
9141 options more faithfully.
9142 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9143 window if it is on another frame.
c9d29fb8
SM
9144 (display-buffer-alist, display-buffer-default-specifiers):
9145 Don't make new frame unsplittable by default.
9e9de014
MR
9146 (display-buffer-normalize-argument): Fix doc-string typo and use
9147 'same-frame-other-window instead of 'other-window when associating
9148 with display-buffer-macro-specifiers.
327c8fb1 9149
7cf3f556
VB
91502011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9151
9152 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9153 New functions.
9154 (5x5-mode-map, 5x5-mode-menu): Bind them.
9155 (5x5-draw-grid): Tweak the solver's rendering.
9156
60a406cf
SM
91572011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9160 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9161
d8e4b68b 91622011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9163
9164 * menu-bar.el: Use function variable instead of switch-to-buffer.
9165 (menu-bar-select-buffer-function): New variable.
60a406cf 9166 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9167
478d6f95
SM
91682011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9171 variable's status.
9172
ca530739
JD
91732011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9174
9175 * x-dnd.el (x-dnd-version-from-flags)
9176 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9177 and long as number (Bug#8899).
9178 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9179
bcd70d97
SM
91802011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9181
60a406cf 9182 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9183 (completion-try-completion, completion-all-completions): Compute the
9184 metadata argument if it's missing; make it optional (bug#8795).
9185
60a406cf 9186 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9187 (widget-complete): Use new :completion-function property.
9188 (widget-completions-at-point): New function.
9189 (default): Use :completion-function instead of :complete.
60a406cf
SM
9190 (widget-default-completions): Rename from widget-default-complete;
9191 Rewrite.
bcd70d97
SM
9192 (widget-string-complete, widget-file-complete, widget-color-complete):
9193 Remove functions.
9194 (file, symbol, function, variable, coding-system, color):
9195 * international/mule-cmds.el (default-input-method, charset)
9196 (language-info-custom-alist):
9197 * cus-edit.el (face): Use new property :completions.
9198
9199 * progmodes/pascal.el (pascal-completions-at-point): New function.
9200 (pascal-mode): Use it.
9201 (pascal-mode-map): Use completion-at-point.
9202 (pascal-toggle-completions): Make obsolete.
9203 (pascal-complete-word, pascal-show-completions):
9204 * progmodes/octave-mod.el (octave-complete-symbol):
9205 Redefine as obsolete alias.
9206 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9207 Signal absence of completion info for old Octave,
9208 (inferior-octave-complete): Redefine as obsolete alias.
9209 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9210 (meta-completions-at-point): Rename from meta-complete-symbol and
9211 adapt it for use on completion-at-point-functions.
9212 (meta-common-mode): Use it.
9213 (meta-looking-at-backward, meta-match-buffer): Remove.
9214 (meta-complete-symbol): Redefine as obsolete alias.
9215 (meta-common-mode-map): Use completion-at-point.
9216 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9217 (makefile-mode-map): Use completion-at-point.
9218 (makefile-completions-at-point): Rename from makefile-complete and
9219 adapt it for use on completion-at-point-functions.
9220 (makefile-mode): Use it.
9221 (makefile-complete): Redefine as obsolete alias.
9222
aebf69c8
DD
92232011-06-20 Deniz Dogan <deniz@dogan.se>
9224
9225 * net/rcirc.el: Delete trailing whitespaces once and for all.
9226
bfbbb27d
DC
92272011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9228
9229 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9230
d264a46b
CY
92312011-06-19 Chong Yidong <cyd@stupidchicken.com>
9232
4ca009e5
CY
9233 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9234
d264a46b
CY
9235 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9236
fbf5b3ce
MR
92372011-06-19 Martin Rudalics <rudalics@gmx.at>
9238
9239 * window.el (display-buffer-other-window-means-other-frame):
9240 Call display-buffer-normalize-alist.
9241 (display-buffer-normalize-specifiers-1): Rename to
9242 display-buffer-normalize-argument. New argument other-frame.
9243 Rewrite.
9244 (display-buffer-normalize-specifiers-2): Rename to
9245 display-buffer-normalize-options.
9246 (display-buffer-normalize-alist-1): New function.
9247 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9248 display-buffer-normalize-alist.
9249 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9250 (display-buffer-normalize-options-inhibit): New variable.
9251 (display-buffer-normalize-specifiers): Rewrite calling
9252 display-buffer-normalize-alist,
9253 display-buffer-normalize-argument, and
9254 display-buffer-normalize-options. Don't call the latter if
9255 display-buffer-normalize-options-inhibit is non-nil.
9256 (frame-auto-delete): New option.
9257 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9258 (window-list-no-nils, window-state-ignored-parameters)
9259 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9260 (window-state-put-1, window-state-put-2, window-state-put):
9261 New functions.
9a028c23
MR
9262 (display-buffer-normalize-options): Move special-display-p group
9263 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9264
6d10d800
CY
92652011-06-18 Chong Yidong <cyd@stupidchicken.com>
9266
6420d28b
CY
9267 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9268 groups (Bug#8776).
9269 (rx-submatch-n): New function.
9270 (rx): Document it.
9271
ddb8b596
CY
9272 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9273 (Bug#8768).
9274
9275 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9276
77080289
CY
9277 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9278
61dfb316
CY
9279 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9280 anytime existing face settings are present (Bug#8889).
9281
6d10d800
CY
9282 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9283 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9284 Remove unused argument.
9285
be3fb2b8
MR
92862011-06-18 Martin Rudalics <rudalics@gmx.at>
9287
bcd70d97
SM
9288 * window.el (display-buffer-default-specifiers):
9289 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9290 pop-up-window-min-width, and another reuse-window specifier
9291 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9292 (display-buffer-normalize-specifiers-2):
9293 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9294 pop-up-windows is unset. Add a reuse-window specifier for the
9295 case popping up a new window fails.
9296 (special-display-popup-frame): Remove double quoting.
28dec25a 9297 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9298
1c6d8c76
SM
92992011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9302 according to comint-completion-addsuffix.
9303
9304 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9305 (pcomplete-suffix-list): Mark as obsolete.
9306 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9307 pcomplete-seen in the closure.
9308 (pcomplete-comint-setup): Setup completion-at-point as well.
9309 (pcomplete--entries): New function.
9310 (pcomplete--env-regexp): New var.
9311 (pcomplete-entries): Rewrite to work with partial-completion and
9312 without relying on pcomplete-suffix-list.
9313 (pcomplete-pare-list): Remove, unused.
9314
25aef8b8
MR
93152011-06-17 Martin Rudalics <rudalics@gmx.at>
9316
9317 * window.el (display-buffer-alist): Set pop-up-window-min-height
9318 and pop-up-window-min-width in default value. Reported by
9319 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9320 other-window-means-other-frame.
9321 (display-buffer-macro-specifiers): Comment out entry for
9322 other-window specifier.
9323 (display-buffer-other-window-means-other-frame): New function.
9324 (display-buffer-normalize-specifiers-1): New arguments
9325 buffer-name and label. Treat other-window case specially.
9326 (display-buffer-normalize-specifiers-2): Treat other-window case
9327 specially.
9328 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9329 (display-buffer-normalize-specifiers):
9330 Call display-buffer-normalize-specifiers-3.
25aef8b8 9331
dbad4f69
MR
93322011-06-17 Martin Rudalics <rudalics@gmx.at>
9333
9334 * window.el (same-window-p): Fix two typos introduced when
9335 adding with-no-warnings.
d1067961
MR
9336 (display-buffer-normalize-specifiers-1): Don't check
9337 pop-up-frames for 'unset initialization.
9338 (display-buffer-normalize-specifiers-2): Major rewrite using
9339 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9340 (pop-up-frames, display-buffer-reuse-frames)
9341 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9342 Suggested by David Engster <deng@randomsample.de>.
9343 (even-window-heights): Initialize to 'unset.
9344 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9345 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9346 other window case.
dbad4f69 9347
9b9c9e3a
MR
93482011-06-16 Martin Rudalics <rudalics@gmx.at>
9349
bcd70d97
SM
9350 * window.el (display-buffer-normalize-specifiers-1):
9351 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9352 second argument of display-buffer (Bug#8865).
981d5c09
MR
9353 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9354 (switch-to-buffer-other-window-same-frame)
9355 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9356 Adams (Bug#8875).
9c2755e9
MR
9357 (display-buffer): Don't check noninteractive when calling
9358 display-buffer-pop-up-frame.
9359 (display-buffer-pop-up-frame): Never pop up a frame in
9360 noninteractive mode (Bug#8857).
67222e1d
MR
9361 (enlarge-window, shrink-window): Don't report an error when the
9362 window can't be resized as requested (Bug#8862).
9b9c9e3a 9363
2b75be67
SM
93642011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9ffdd3ba
SM
9366 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9367
cb581a67
SM
9368 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9369
2b75be67
SM
9370 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9371
8c0e3589
AM
93722011-06-15 Alan Mackenzie <acm@muc.de>
9373
cb581a67
SM
9374 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9375 for declarators, disable knr checking to speed up for normal files.
9376 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9377
b96e6cde
LMI
93782011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9379
4bba86e6
LMI
9380 * net/network-stream.el (open-network-stream): Add the keyword
9381 :always-query-capabilities for the case where you want to force a
9382 `plain' network connection, but the protocol still requires the
9383 capabilitiy command (i.e., SMTP and EHLO).
9384
2b75be67 9385 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9386 consistency with other `-live-p' functions.
9387
efdcdbf8
SM
93882011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * window.el (same-window-buffer-names, same-window-regexps)
9391 (special-display-frame-alist, special-display-popup-frame)
9392 (special-display-function, special-display-buffer-names)
9393 (special-display-regexps, pop-up-frame-alist)
9394 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9395 (pop-up-windows, split-window-preferred-function)
9396 (split-height-threshold, split-width-threshold, even-window-heights)
9397 (display-buffer-mark-dedicated): Don't encourage the use of
9398 display-buffer-alist from Elisp code.
9399
c5cde042
DN
94002011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9401
9402 * progmodes/python.el (python-mode): Derive from prog-mode.
9403 * progmodes/ps-mode.el (ps-mode):
9404 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9405 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9406 * progmodes/ld-script.el (ld-script-mode): Likewise.
9407
baa1c9ab
MR
94082011-06-15 Martin Rudalics <rudalics@gmx.at>
9409
9410 * window.el (display-buffer-alist): Trim default value to avoid
9411 popping up a new frame (Bug#8857) or reusing an arbitrary window
9412 on another frame.
9413 (display-buffer): Do not fall back on popping up a new frame in
9414 batch mode (Bug#8857).
9415
c5dd5a51
CY
94162011-06-14 Chong Yidong <cyd@stupidchicken.com>
9417
9418 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9419 (custom-theme-summary): New function.
9420 (customize-themes): Use it.
9421
d647b7c4
GM
94222011-06-13 Glenn Morris <rgm@gnu.org>
9423
9424 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9425
9481c002
MR
94262011-06-13 Martin Rudalics <rudalics@gmx.at>
9427
357f93d2
MR
9428 * help.el (help-window): Remove variable.
9429 (help-window-point-marker, temp-buffer-max-height)
9430 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9431 (help-print-return-message): Don't set help-window.
9432 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9433 (help-window-setup-finish): Remove.
9434 (help-window-display-message, help-window-setup)
9435 (with-help-window): Major rewrite based on new
9436 display-buffer-window variable.
9437
9438 * help-mode.el (help-mode-finish): Remove help-window related
9439 code.
9440
9441 * view.el (view-exits-all-viewing-windows): Remove reference to
9442 view-return-to-alist in doc-string.
9443 (view-return-to-alist): Make obsolete.
9444 (view-buffer): Call pop-to-buffer-same-window and remove
9445 undo-window code.
9446 (view-buffer-other-window): Call pop-to-buffer-other-window and
9447 simplify code. Ignore second argument.
9448 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9449 simplify code. Ignore second argument.
9450 (view-return-to-alist-update): Make obsolete.
9451 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9452 Rewrite using quit-restore window parameters.
2b75be67
SM
9453 (view-mode-exit): Rename second argument to EXIT-ONLY.
9454 Rewrite using quit-restore-window.
357f93d2
MR
9455 (View-exit, View-exit-and-edit, View-leave, View-quit)
9456 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9457 appropriate arguments.
9458 (view-end-message): Use quit-restore window parameter.
9459
9481c002
MR
9460 * window.el (display-buffer-function): Rewrite doc-string.
9461 (display-buffer-window, display-buffer-alist): New variables.
9462 (display-buffer-split-specifiers)
9463 (display-buffer-side-specifiers)
9464 (display-buffer-macro-specifiers): New constants.
9465 (display-buffer-even-window-sizes, display-buffer-set-height)
9466 (display-buffer-set-width, display-buffer-select-window)
9467 (display-buffer-in-window, display-buffer-reuse-window)
9468 (display-buffer-split-window-1, display-buffer-split-window)
9469 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9470 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9471 (display-buffer-in-side-window, normalize-buffer-to-display)
9472 (display-buffer-normalize-specifiers-1)
9473 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9474 (display-buffer-normalize-specifiers, display-buffer-frame):
9475 New functions.
9481c002
MR
9476 (display-buffer): Major rewrite.
9477 (display-buffer-other-window, display-buffer-other-frame)
9478 (pop-to-buffer, switch-to-buffer-other-window)
9479 (switch-to-buffer-other-frame): Rewrite.
9480 (display-buffer-same-window, display-buffer-same-frame)
9481 (display-buffer-same-frame-other-window)
9482 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9483 (pop-to-buffer-other-window)
9484 (pop-to-buffer-same-frame-other-window)
9485 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9486 (switch-to-buffer-other-window-same-frame): New functions.
9487 (same-window-p, special-display-p): Rewrite disabling warnings.
9488 Make obsolete.
9489 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9490 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9491 Make obsolete
9492 (same-window-buffer-names, same-window-regexps)
9493 (special-display-frame-alist, special-display-popup-frame)
9494 (special-display-function, special-display-buffer-names)
9495 (special-display-regexps, pop-up-frame-alist)
9496 (pop-up-frame-function, split-window-preferred-function)
9497 (split-height-threshold, split-width-threshold)
9498 (even-window-heights): Make obsolete.
9499
9db51aca
GM
95002011-06-12 Glenn Morris <rgm@gnu.org>
9501
9502 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9503 Misc simplifications.
9db51aca 9504
39cffb44
MR
95052011-06-12 Martin Rudalics <rudalics@gmx.at>
9506
9507 * window.el (window-safely-shrinkable-p): Restore function which
9508 was inadvertently removed in change from 2011-06-11. Declare as
9509 obsolete.
9510
2b75be67
SM
9511 * calendar/calendar.el (calendar-generate-window):
9512 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9513 window-safely-shrinkable-p.
9514
a8955be7
GM
95152011-06-12 Glenn Morris <rgm@gnu.org>
9516
9517 * progmodes/fortran.el (fortran-mode-syntax-table):
9518 * progmodes/f90.el (f90-mode-syntax-table):
9519 Set % to punctuation. (Bug#8820)
9520 (f90-find-tag-default): Remove, no longer needed.
9521
f0d4059d
DC
95222011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9523
9524 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9525
1100a63c
CY
95262011-06-11 Chong Yidong <cyd@stupidchicken.com>
9527
9528 * image.el (image-animated-p): Return animation delay in seconds.
9529 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9530 (image-animate-timeout): Remove DELAY argument. Don't assume
9531 every subimage has the same delay; get it from image-animated-p.
9532 (image-animate): Caller changed.
9533
def722bf
MA
95342011-06-11 Michael Albinus <michael.albinus@gmx.de>
9535
9536 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9537 to ignored backtrace functions.
9538
0a2bb1a9
GM
95392011-06-11 Glenn Morris <rgm@gnu.org>
9540
9541 * calendar/appt.el (appt-disp-window-function): Doc fix.
9542 (appt-check): Handle overlapping appointments. (Bug#8337)
9543
6198ccd0
MR
95442011-06-11 Martin Rudalics <rudalics@gmx.at>
9545
9546 * window.el (window-tree-1, window-tree): New functions, moving
9547 the latter to window.el.
9548 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9549 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9550 (bw-refresh-edges): Remove.
9551 (balance-windows-1, balance-windows-2): New functions.
9552 (balance-windows): Rewrite in terms of window tree functions,
9553 balance-windows-1 and balance-windows-2.
9554 (bw-adjust-window): Remove.
9555 (balance-windows-area-adjust): New function with functionality of
9556 bw-adjust-window but using resize-window.
2b75be67
SM
9557 (set-window-text-height): Rewrite doc-string.
9558 Use normalize-live-window and resize-window.
9559 (enlarge-window-horizontally, shrink-window-horizontally):
9560 Rename argument to DELTA.
6198ccd0
MR
9561 (window-buffer-height): New function.
9562 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9563 Rewrite using new window resize routines.
2b75be67
SM
9564 (kill-buffer-and-window, mouse-autoselect-window-select):
9565 Use ignore-errors instead of condition-case.
6198ccd0
MR
9566 (quit-window): Call delete-frame instead of delete-windows-on
9567 for the only buffer on frame.
9568
9397e56f
MR
95692011-06-10 Martin Rudalics <rudalics@gmx.at>
9570
9571 * loadup.el (top-level): Load window before files for the sake
9572 of replace-buffer-in-windows.
9573
9574 * files.el (read-buffer-to-switch)
9575 (switch-to-buffer-other-window)
2b75be67
SM
9576 (switch-to-buffer-other-frame, display-buffer-other-frame):
9577 Move to window.el.
9397e56f
MR
9578
9579 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9580 (previous-buffer): Move to window.el.
9581
9582 * bindings.el (unbury-buffer): Move to window.el.
9583
9584 * window.el (delete-other-windows-vertically): Move after
9585 definition of delete-other-windows.
9586 (other-window, delete-windows-on, replace-buffer-in-windows):
9587 Move here from window.c.
9588 (record-window-buffer, unrecord-window-buffer)
9589 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9590 (switch-to-next-buffer): New functions.
9591 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9592 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9593 (previous-buffer): Move here from simple.el.
9594 Call switch-to-prev-buffer.
9397e56f
MR
9595 (bury-buffer): Move here from buffer.c. Switch to previous
9596 buffer when window cannot be deleted.
9597 (unbury-buffer): Move here from bindings.el.
9598 (ctl-x-map): Move binding for other-window from window.c to
9599 here.
9600 (read-buffer-to-switch, switch-to-buffer-other-window)
9601 (switch-to-buffer-other-frame): Move here from files.el.
9602 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9603 (switch-to-buffer): Move here from buffer.c.
9604 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9605
562dd5e9
MR
96062011-06-10 Martin Rudalics <rudalics@gmx.at>
9607
9608 * window.el (window-min-height, window-min-width): Move here
9609 from window.c. Add defcustoms and rewrite doc-strings.
9610 (resize-mini-window, resize-window): New functions.
9611 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9612 Move here from window.c.
9613 (maximize-window, minimize-window): New functions.
9614 (delete-window, delete-other-windows, split-window): Move here
9615 from window.c.
9616 (window-split-min-size): New function.
9617 (split-window-keep-point): Mention split-window-above-each-other
9618 instead of split-window-vertically.
2b75be67 9619 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9620 Rename split-window-vertically to split-window-above-each-other
9621 and provide defalias for old definition.
9622 (split-window-side-by-side, split-window-horizontally):
9623 Rename split-window-horizontally to split-window-side-by-side
9624 and provide defalias for the old definition.
562dd5e9
MR
9625 (ctl-x-map): Move bindings for delete-window,
9626 delete-other-windows and enlarge-window here from window.c.
9627 Replace bindings for split-window-vertically and
9628 split-window-horizontally by bindings for
9629 split-window-above-each-other and split-window-side-by-side.
9630
9631 * cus-start.el (all): Remove entries for window-min-height and
9632 window-min-width. Add entries for window-splits and
9633 window-nest.
9634
f0da764a
GM
96352011-06-09 Glenn Morris <rgm@gnu.org>
9636
80675c21
GM
9637 * calendar/appt.el (appt-mode-line): New function.
9638 (appt-check, appt-disp-window): Use it.
9639
f0da764a
GM
9640 * files.el (hack-one-local-variable-eval-safep):
9641 Allow minor-modes with explicit +/-1 arguments.
9642
59f623b7
TZ
96432011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9644
9645 * term/xterm.el (xterm): Add defgroup.
9646 (xterm-extra-capabilities): Add defcustom to supply known xterm
9647 capabilities, skip querying them, or query them (default).
9648 (terminal-init-xterm): Use it.
9649 (terminal-init-xterm-modify-other-keys): New function to set up
9650 modifyOtherKeys support to simplify `terminal-init-xterm'.
9651
9aab8e0d
MR
96522011-06-09 Martin Rudalics <rudalics@gmx.at>
9653
9654 * window.el (resize-window-reset, resize-window-reset-1)
9655 (resize-subwindows-skip-p, resize-subwindows-normal)
9656 (resize-subwindows, resize-other-windows, resize-this-window)
9657 (resize-root-window, resize-root-window-vertically)
9658 (window-deletable-p, window-or-subwindow-p)
9659 (frame-root-window-p): New functions.
9660
e8b08aee
GM
96612011-06-09 Glenn Morris <rgm@gnu.org>
9662
9663 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9664 (ange-ftp-get-files): Use it.
9665
254c37a5
AK
96662011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9667
9668 * mail/sendmail.el (mail-recover-1, mail-recover):
9669 * files.el (recover-file, recover-session):
9670 Handle dired-listing-switches not being just a single short option.
9671
35d7dbd3
GM
96722011-06-09 Glenn Morris <rgm@gnu.org>
9673
9674 * calendar/appt.el (appt-display-message, appt-disp-window):
9675 Handle lists of appointments.
9676
387522b2
MR
96772011-06-08 Martin Rudalics <rudalics@gmx.at>
9678
2b75be67
SM
9679 * window.el (one-window-p): Move down in code.
9680 Rewrite doc-string.
9681 (window-current-scroll-bars): Rewrite doc-string.
9682 Normalize live window argument.
387522b2
MR
9683 (walk-windows, get-window-with-predicate, count-windows):
9684 Rewrite doc-string. Use window-list-1.
9685 (window-in-direction-2, window-in-direction, get-mru-window):
9686 New functions.
9687
d8e4b68b 96882011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9689
9690 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9691 Doc fix (Bug#8713).
9692
96932011-06-08 Chong Yidong <cyd@stupidchicken.com>
9694
9695 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9696
96972011-06-08 Juanma Barranquero <lekktu@gmail.com>
9698
9699 * loadhist.el (unload-feature-special-hooks):
9700 Add `comint-output-filter-functions'.
9701
0de12c52
IK
97022011-06-08 Ivan Kanis <gnu@kanis.fr>
9703
9704 * calendar/appt.el (appt-check): Move some initializations into the let.
9705
f3d1777e
MR
97062011-06-08 Martin Rudalics <rudalics@gmx.at>
9707
9708 * window.el (window-height): Defalias to window-total-height.
9709 (window-width): Defalias to window-body-width.
9710
18af70d0
CY
97112011-06-07 Chong Yidong <cyd@stupidchicken.com>
9712
9713 * image-mode.el (image-toggle-animation): New command.
9714 (image-mode-map): Bind it to RET.
9715 (image-mode): Update message.
9716 (image-toggle-display-image): Avoid a spurious cache flush.
9717 (image-transform-rotation): Doc fix.
9718 (image-transform-properties): Return quickly in the normal case.
9719 (image-animate-loop): Rename from image-animate-max-time.
9720
2b75be67 9721 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9722 (create-animated-image): Remove unnecessary function.
9723 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9724 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9725 (image-animate-timer): Use car-safe.
9726 (image-animate-timeout): Rename argument.
9727
190b47e6
MR
97282011-06-07 Martin Rudalics <rudalics@gmx.at>
9729
9730 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9731 window.c. Rename first argument to ALL-FRAMES.
9732 Rephrase doc-strings.
9733 (get-buffer-window-list): Rewrite using window-list-1.
9734 Rephrase doc-string.
a1511caf
MR
9735 (window-safe-min-height, window-safe-min-width): New constants.
9736 (window-size-ignore, window-min-size, window-min-size-1)
9737 (window-sizable, window-sizable-p, window-size-fixed-1)
9738 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9739 (window-max-delta-1, window-max-delta, window-resizable)
9740 (window-resizable-p, window-total-height, window-total-width)
9741 (window-body-width): New functions.
9742 (window-full-height-p, window-full-width-p): Rewrite using
9743 window-total-size.
9744 (window-body-height): Rewrite using window-body-size.
190b47e6 9745
85cc1f11
MR
97462011-06-06 Martin Rudalics <rudalics@gmx.at>
9747
9748 * window.el (window-right, window-left, window-child)
9749 (window-child-count, window-last-child, window-any-p)
9750 (normalize-live-buffer, normalize-live-frame)
9751 (normalize-any-window, normalize-live-window)
9752 (window-iso-combination-p, window-iso-combined-p)
9753 (window-iso-combinations)
9754 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9755 (windows-with-parameter, window-with-parameter)
9756 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9757 (window-atom-check, window-side-check, window-check):
9758 New functions.
85cc1f11
MR
9759 (ignore-window-parameters, window-sides, window-sides-vertical)
9760 (window-sides-slots): New variables.
9761 (window-size-fixed): Move down in code. Minor doc-string fix.
9762
e7156492
AS
97632011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9764
9765 * comint.el (comint-dynamic-complete-as-filename)
9766 (comint-dynamic-complete-filename): Correctly call
9767 completion-in-region.
9768
7e821d0d
DD
97692011-06-05 Deniz Dogan <deniz@dogan.se>
9770
9771 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9772 in last change.
9773
ac09b8a1
DD
97742011-06-05 Deniz Dogan <deniz@dogan.se>
9775
9776 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9777 (rcirc): Use it to prompt for encryption.
9778
34699b85
RW
97792011-06-05 Roland Winkler <winkler@gnu.org>
9780
9781 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9782 (bibtex-search-entries): New command bound to C-c C-a.
9783 (bibtex-display-entries): New function.
9784
004dedd3
RW
97852011-06-05 Roland Winkler <winkler@gnu.org>
9786
9787 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9788 (bibtex-insert-kill): After yanking insert newline if necessary.
9789 (bibtex-initialize): Call bibtex-string-files-init only once.
9790 (bibtex-mode): Do not call easy-menu-add.
9791 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9792 (bibtex-yank): Set arg properly if nil.
9793
022fe7ce
RW
97942011-06-05 Roland Winkler <winkler@gnu.org>
9795
2b75be67
SM
9796 * textmodes/bibtex.el (bibtex-search-entry-globally):
9797 New variable.
022fe7ce
RW
9798 (bibtex-search-entry): Use it.
9799
b7c3692a
RW
98002011-06-05 Roland Winkler <winkler@gnu.org>
9801
9802 * textmodes/bibtex.el (bibtex-entry-format): New option
9803 sort-fields.
9804 (bibtex-format-entry, bibtex-reformat): Honor this option.
9805 (bibtex-parse-entry): Return fields in proper order.
9806
8eda563d
JB
98072011-06-05 Juanma Barranquero <lekktu@gmail.com>
9808
9809 * doc-view.el (doc-view-remove-if): Move computation of result out
9810 of `dolist' to silence misleading lexical-binding warning.
9811
7dbe3dbc
CY
98122011-06-04 Chong Yidong <cyd@stupidchicken.com>
9813
9814 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9815 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9816
0c33dd17
MA
98172011-06-04 Michael Albinus <michael.albinus@gmx.de>
9818
9819 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9820 "SunOS 5.10".
9821
f8f91c2b
MA
98222011-06-04 Michael Albinus <michael.albinus@gmx.de>
9823
9824 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9825 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9826 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9827 (tramp-parse-putty):
9828 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9829 (tramp-completion-function-alist-ssh)
9830 (tramp-completion-function-alist-telnet)
9831 (tramp-completion-function-alist-su)
9832 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9833 cookie.
9834
9835 * net/tramp-ftp.el:
9836 * net/tramp-sh.el:
9837 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9838 load "tramp.el" `tramp-set-completion-function'.
9839
e17d9003
SM
98402011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9841
9842 * shell.el: Require and use pcomplete.
9843 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9844 (shell-completion-vars): Set pcomplete-default-completion-function.
9845
6c4cab03
DD
98462011-06-04 Deniz Dogan <deniz@dogan.se>
9847
9848 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9849 `memq' (Bug#8799).
9850
ea9fafe0
SM
98512011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9854
b3e945d3
JB
98552011-06-02 Juanma Barranquero <lekktu@gmail.com>
9856
9857 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9858 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9859 * vc/log-view.el (log-view-beginning-of-defun):
9860 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9861 (smerge-refine-forward, smerge-refine-chopup-region):
9862 Silence warning for unused `dotimes' counter variables.
9863
7d520089
SM
98642011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9866 * net/tramp.el (tramp-with-progress-reporter): Rename from
9867 with-progress-reporter. Use `declare'.
9868 * net/tramp-smb.el:
9869 * net/tramp-sh.el:
9870 * net/tramp-gvfs.el: Update all uses.
9871
a1c2400f
JB
98722011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9873
9874 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9875 buffer isn't killed before making it current.
9876
2403c841
SM
98772011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9878
9879 Silence various byte-compiler warnings.
9880 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9881 `access-type' and new obsolescence format.
9882 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9883 new format.
9884 (byte-compile-check-variable): New `access-type' argument.
9885 Only warn if the access-type is obsolete.
9886 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9887 (byte-compile-variable-set): Adjust callers.
9888 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9889 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9890 setting it as obsolete.
9891 * simple.el (minibuffer-completing-symbol):
9892 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9893 access as obsolete.
9894 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9895 obsolete yet.
9896 * international/quail.el (quail-mouse-choose-completion): Remove unused
9897 code referring to obsolete var.
9898 (quail-choose-completion-string): Remove.
9899 * server.el (server-clients-with, server-kill-buffer-query-function)
9900 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9901 * proced.el (proced-send-signal):
9902 * emacs-lisp/lisp.el (lisp-complete-symbol):
9903 Replace completion-annotate-function with completion-extra-properties.
9904
2462470b
SM
99052011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9906
fb5b2591
SM
9907 * simple.el (goto-line): Use read-number.
9908 (overriding-map-is-bound): Remove.
9909 (saved-overriding-map): Change default.
9910 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9911 Take the map as argument.
9912 (universal-argument, negative-argument, digit-argument): Use it.
9913 (restore-overriding-map): Adjust.
9914 (do-auto-fill): Use fill-forward-paragraph.
9915 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9916
fd6fa53f
SM
9917 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9918 (minibuffer-inactive-mode): New major mode.
9919 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9920 the *Messages* buffer" hack.
9921 (mouse-popup-menubar): Don't burp if the event is a normal key.
9922
2462470b
SM
9923 Miscellaneous tweaks.
9924 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9925 lexical scoping as in subr.el's dolist and dotimes.
9926 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9927 Silence compiler warning.
9928 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9929 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9930 * international/ccl.el (ccl-compile): Trivial simplification.
9931 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9932 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9933 `printflag' argument.
9934 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9935 Purecopy the whole obsolescence data.
9936
108bf785
LL
99372011-06-01 Leo Liu <sdl.web@gmail.com>
9938
9939 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9940 improve doc-string as suggested by Marco Pessotto
9941 <melmothx@gmail.com>.
9942 (rcirc-print): Fix last change.
9943
30a23501
SM
99442011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 * minibuffer.el (complete-with-action): Return nil for the metadata and
9947 boundaries of non-functional tables.
9948 (completion-table-dynamic): Return nil for the metadata.
9949 (completion-table-with-terminator): Add default case, using
9950 complete-with-action.
9951 (completion--metadata): New function.
9952 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9953 to try and avoid pathological performance problems.
9954 (completion--embedded-envvar-table): Return `category' metadata.
9955
bcd54f83
LMI
99562011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9957
9958 * subr.el (process-alive-p): New tiny convenience function.
9959
e227544d
SM
99602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9963 content but also its previous major mode.
9964
e8296fdc
HE
99652011-05-31 Helmut Eller <eller.helmut@gmail.com>
9966
4d61f28d 9967 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9968 *Backtrace* buffer when we exit with C-M-c.
9969
620c53a6
SM
99702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9971
9972 * minibuffer.el: Add metadata method to completion tables.
9973 (completion-category-overrides): New defcustom.
9974 (completion-metadata, completion--field-metadata)
9975 (completion-metadata-get, completion--styles)
9976 (completion--cycle-threshold): New functions.
9977 (completion-try-completion, completion-all-completions):
9978 Add `metadata' argument to choose completion-styles.
9979 (completion--do-completion): Use metadata to choose cycling.
9980 (completion-all-sorted-completions): Use metadata for sorting.
9981 Remove :completion-cycle-penalty which is not needed any more.
9982 (completion--try-word-completion): Add `metadata' argument.
9983 (minibuffer-completion-help): Check metadata for annotation function
9984 and sorting.
9985 (completion-file-name-table): Return `category' metadata.
9986 (minibuffer-completing-file-name): Make obsolete.
9987 * simple.el (minibuffer-completing-symbol): Make obsolete.
9988 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9989 completion-try-completion.
9990
1257e755
SM
99912011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9994
3767e706
LL
99952011-05-30 Leo Liu <sdl.web@gmail.com>
9996
9997 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9998 (rcirc-print): Decode all incoming messages (bug#8744).
9999 (rcirc-decode-coding-system): Allow value nil for automatic coding
10000 system detection.
3767e706 10001
d1a5d56a
GM
100022011-06-01 Glenn Morris <rgm@gnu.org>
10003
10004 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10005
e8cbec34
CY
100062011-05-29 Chong Yidong <cyd@stupidchicken.com>
10007
10008 * image.el (image-animate-max-time): Allow nil and t values.
10009 Default to nil.
10010 (create-animated-image): Doc fix.
10011 (image-animate-start): Remove second arg; just use
10012 image-animate-max-time.
10013 (image-animate-timeout): Doc fix. Args changed.
10014
10015 * image-mode.el (image-toggle-display-image): Ensure that the
10016 image spec passed to the animate timer is the same object as in
58179cce 10017 the buffer's display property (Bug#6981).
e8cbec34
CY
10018 (image-transform-properties): Doc fix.
10019
10020 * image.el (image-animate-max-time): Default to nil.
10021
159daf87
MR
100222011-05-29 Martin Rudalics <rudalics@gmx.at>
10023
10024 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10025 entire buffer list (Bug#8184).
10026
d66c4c7c
CY
100272011-05-29 Chong Yidong <cyd@stupidchicken.com>
10028
10029 * image.el (imagemagick-types-inhibit)
10030 (imagemagick-register-types): Doc fix.
10031
80aec780
DD
100322011-05-29 Deniz Dogan <deniz@dogan.se>
10033
10034 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10035 default.
10036
1dd3c2d9
CY
100372011-05-29 Chong Yidong <cyd@stupidchicken.com>
10038
10039 * select.el: Don't perform clipboard-manager saving in hooks;
10040 leave the hooks empty.
10041
60e56523
LL
100422011-05-28 Leo Liu <sdl.web@gmail.com>
10043
10044 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10045 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10046 (occur-edit-mode): New major mode (Bug#8463).
10047 (occur-after-change-function): New function.
10048 (occur-engine): Give Occur tags a read-only property.
10049
2b1e1a22
KR
100502011-05-28 Kevin Ryde <user42@zip.com.au>
10051
10052 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10053
5d344e88
CY
100542011-05-28 Chong Yidong <cyd@stupidchicken.com>
10055
8e6ca83d
CY
10056 * bindings.el (help-echo): Make the initial non-indicator dash
10057 empty on graphical terminals (Bug#7295).
10058
5d344e88
CY
10059 * files.el (auto-mode-alist): Move config rule after the
10060 in-stripping one (Bug#8547).
10061
bfbbace7
CY
10062 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10063
fbeba6e2
CY
10064 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10065 setting (Bug#8740).
10066
60ed8c72
AA
100672011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10068
4ac619f0
AA
10069 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10070 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10071 (Bug#8539).
60ed8c72 10072
23db196e
CY
100732011-05-28 Chong Yidong <cyd@stupidchicken.com>
10074
10075 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10076
5012f24c
DK
100772011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10078
10079 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10080 (hs-hide-block-at-point, hs-find-block-beginning)
10081 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10082 (Bug#8279).
10083
6a639b16
GM
100842011-05-28 Glenn Morris <rgm@gnu.org>
10085
10086 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10087
d43eaf2c
CY
100882011-05-28 Chong Yidong <cyd@stupidchicken.com>
10089
5199bde1
CY
10090 * help-fns.el (describe-function-1): If the function is a derived
10091 major mode, print the parent mode.
10092
d43eaf2c
CY
10093 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10094 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10095
423428a8
SM
100962011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10097
0ff8e1ba 10098 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10099 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10100 * progmodes/etags.el (tags-completion-at-point-function):
10101 * info-look.el (info-lookup-completions-at-point): Mark as
10102 non-exclusive.
10103 (info-complete): Adjust accordingly.
10104
423428a8
SM
10105 * info-look.el: Convert to lexical-binding and completion-at-point.
10106 (info-lookup-completions-at-point): New function.
10107 (info-complete): Use it and completion-in-region.
10108
b74aa22b
DA
101092011-05-28 Drew Adams <drew.adams@oracle.com>
10110
10111 * isearch.el: Let M-e start with point at the first mismatched char.
10112 (isearch-fail-pos): New function.
10113 (isearch-edit-string): Use it.
10114
66e2e71d
DK
101152011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10116
10117 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10118
b1890b0f 101192011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10120
10121 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10122 traversal functions for avl-trees.
10123 (avl-tree--stack): New struct.
10124 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10125 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10126 (avl-tree--do-enter): Add optional `updatefun' arg.
10127 Change return value.
eb95d01d 10128 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10129 (avl-tree--do-delete): Add `test' and `nilflag' args.
10130 Change return value.
eb95d01d
TC
10131 (avl-tree-member): Add optional `nilflag'
10132 (avl-tree-member-p): New function.
10133 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10134 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10135 (avl-tree-stack-empty-p): New functions.
10136
3769ddcf
TC
10137 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10138 avl-tree--del-balance1 and make it work both ways.
10139 (avl-tree--del-balance2): Remove.
10140 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10141 make it work both ways.
10142 (avl-tree--enter-balance2): Remove.
10143 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10144 New macros.
10145 (avl-tree--mapc, avl-tree-map): Add direction argument.
10146
eb95d01d 101472011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10148
10149 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10150
a9f737ee
CY
101512011-05-27 Chong Yidong <cyd@stupidchicken.com>
10152
10153 * select.el: Support clipboard managers with built-in function
10154 x-clipboard-manager-save, via delete-frame-functions and
10155 kill-emacs-hook.
10156 (xselect-convert-to-targets): Add MULTIPLE target to list.
10157 (xselect-convert-to-save-targets): New function.
10158
c92a1e54
KH
101592011-05-27 Kenichi Handa <handa@m17n.org>
10160
10161 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10162 let-binding rfc2047-encode-encoded-words to nil.
10163
e145f188
GM
101642011-05-27 Glenn Morris <rgm@gnu.org>
10165
5ec8a862
GM
10166 * mail/emacsbug.el: Don't require url-util.
10167
4b29d9fb
GM
10168 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10169
e145f188
GM
10170 * files.el (set-auto-mode):
10171 Also respect mode: entries at the end of the file. (Bug#8586)
10172
7d15102b
GM
101732011-05-26 Glenn Morris <rgm@gnu.org>
10174
98f593b8
GM
10175 * files.el (hack-local-variables-prop-line, hack-local-variables):
10176 Downcase mode names, as seems to be traditional.
27b48e63 10177 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10178
7d15102b
GM
10179 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10180 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10181
51d5b4ec
JD
101822011-05-25 Julien Danjou <julien@danjou.info>
10183
10184 * textmodes/rst.el (rst-define-level-faces): Do not define face
10185 symbol if it is already defined.
10186
91513f63
VB
101872011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10188
10189 * play/5x5.el (5x5-new-game, 5x5-randomize):
10190 Reset 5x5-solver-output to nil when a new grid is cast.
10191 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10192 these debugging traces, as defmacro breaks the compiled code.
10193
4d90d6d0
DK
101942011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10195
10196 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10197
e1b90ef6
LL
101982011-05-24 Leo Liu <sdl.web@gmail.com>
10199
10200 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10201 (vc-bzr-sha1): Adapt.
10202
d8e4b68b 10203 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10204
10205 * bindings.el: Provide sha1 feature.
10206
db0406bb 102072011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10208
10209 * mail/sendmail.el: Require `rfc2047'.
10210 (mail-insert-from-field): Do not perform RFC2047 encoding.
10211 (mail-encode-header): New function.
10212 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10213 buffer to the return value of select-message-coding-system.
10214 Call mail-encode-header.
b8d747b9
KH
10215
10216 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10217
db0406bb 102182011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10219
4d90d6d0
DK
10220 * mail/supercite.el (sc-default-cite-frame):
10221 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10222
eb8a5e9b
GM
102232011-05-24 Glenn Morris <rgm@gnu.org>
10224
f8630703
GM
10225 * progmodes/python.el (brm-menu): Declare.
10226
8831bbed
GM
10227 * emulation/viper.el (viper-set-hooks): Declare.
10228
eb8a5e9b
GM
10229 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10230 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10231 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10232 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10233 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10234 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10235
a2a25d24
SM
102362011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 Add an :exit-function for completion-at-point.
10239
10240 * minibuffer.el (completion--done): New fun.
10241 (completion--do-completion): Use it. New arg `expect-exact'.
10242 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10243 since completion--do-completion does it for us now.
10244 (minibuffer-force-complete): Use completion--done and
10245 completion--replace. Handle sole-completion case with more care.
10246 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10247 (completion-extra-properties): New var.
10248 (completion-annotate-function): Make obsolete.
10249 (minibuffer-completion-help): Adjust accordingly.
10250 Use completion-list-insert-choice-function.
10251 (completion-at-point, completion-help-at-point):
10252 Bind completion-extra-properties.
10253 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10254 * simple.el (completion-list-insert-choice-function): New var.
10255 (completion-setup-function): Preserve it.
10256 (choose-completion): Pay attention to it, shuffle the code a bit.
10257 (choose-completion-string): New arg `insert-function'.
10258
10259 * textmodes/bibtex.el: Convert to lexical binding.
10260 (bibtex-mode-map): Use completion-at-point.
10261 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10262 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10263 (bibtex-complete): Define as obsolete alias.
10264 (bibtex-complete-internal): Remove.
10265 (bibtex-format-entry): Remove unused sub-group in regexp.
10266 * shell.el (shell--command-completion-data)
10267 (shell-environment-variable-completion):
10268 * pcomplete.el (pcomplete-completions-at-point):
10269 * comint.el (comint--complete-file-name-data): Use :exit-function
10270 instead of completion-table-with-terminator so it also works for
10271 choose-completion.
10272
e44e373d
SM
102732011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10274
4f91a816
SM
10275 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10276
782fc819
SM
10277 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10278 (bug#8710).
10279
e44e373d
SM
10280 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10281
381987c3
KM
102822011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10283
10284 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10285 customization variable and implement: If non-nil, auto-fill will
10286 be inhibited while on topic's header line.
10287
b776bc70
VB
102882011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10289
10290 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10291 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10292 always have a solution in grid size = 5 cases.
10293 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10294 (5x5-solver-output, 5x5-log-buffer): New vars.
10295 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10296 Make these variables buffer local to achieve 5x5 multi-session-ness.
10297 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10298 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10299 (5x5-solve-suggest): New funs.
10300 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10301 randomize a grid so that we ensure that there is always a solution.
10302 (5x5-make-random-grid): Allow other movement than flipping.
10303
7de88b6e
KR
103042011-05-23 Kevin Ryde <user42@zip.com.au>
10305
10306 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10307 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10308 advice and passes PREDICATE.
10309
b1ef1257
SM
103102011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10311
bbca48fe
SM
10312 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10313 byte-compile-lambda if it's actually a lambda.
10314
b1ef1257
SM
10315 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10316 Fix function quoting. Use backquote better.
10317
92a9cc65
YS
103182011-05-22 Yuanle Song <sylecn@gmail.com>
10319
10320 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10321 matching (Bug#8516).
10322
f0fb8059
JA
103232011-01-22 Jari Aalto <jari.aalto@cante.net>
10324
10325 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10326 different face (Bug#8178).
10327
d5b44c93
CY
103282011-05-22 Chong Yidong <cyd@stupidchicken.com>
10329
10330 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10331 defface (Bug#8144).
10332
79106a44
SM
103332011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10334
9c848d8a
SM
10335 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10336 funcall as well (bug#8712). Warn when performing those conversions.
10337 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10338
79106a44
SM
10339 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10340
88dfa756
GM
103412011-05-22 Glenn Morris <rgm@gnu.org>
10342
10343 * files.el (hack-local-variables-prop-line): Small simplifications.
10344 (hack-local-variables, hack-local-variables-prop-line):
10345 If MODE-ONLY, return the mode, rather than just `t'.
10346
b7cf2c79
SM
103472011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10350
3f1a8558
GM
103512011-05-21 Glenn Morris <rgm@gnu.org>
10352
7e4ccca3
GM
10353 * files.el (hack-local-variables-prop-line, hack-local-variables):
10354 If only interested in the mode, don't bother doing the other stuff.
10355
637d46ca
GM
10356 * image-mode.el (image-after-revert-hook):
10357 Redraw all frames on which the image is visible. (Bug#8567)
10358
973d955b
GM
10359 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10360
3f1a8558
GM
10361 * wid-edit.el (widget-checklist-match-inline):
10362 Fix 2011-04-19 change. (Bug#8649)
10363
96479927
SM
103642011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10365
1dcf791f
SM
10366 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10367 Also allow singlespace after single-letter capitals followed by a dot.
10368
96479927
SM
10369 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10370 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10371
35fd0881
N
103722011-05-20 Nix <nix@esperi.org.uk>
10373
10374 * files.el (basic-save-buffer-2):
10375 Fix handling of break-hardlink-on-save with non-existent files.
10376
82745640
DD
103772011-05-19 Deniz Dogan <deniz@dogan.se>
10378
10379 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10380 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10381
4a720484
GM
103822011-05-19 Glenn Morris <rgm@gnu.org>
10383
d1f21341
GM
10384 * progmodes/f90.el (f90-type-def-re):
10385 Handle "type, bind(c)". (Bug#8691)
10386
4a720484
GM
10387 * emacs-lisp/autoload.el (batch-update-autoloads):
10388 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10389
2fb0a219
MA
103902011-05-18 Michael Albinus <michael.albinus@gmx.de>
10391
10392 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10393 property for the correct connection in case of multihops.
10394
e565dd37
GM
103952011-05-18 Glenn Morris <rgm@gnu.org>
10396
c2571358 10397 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10398 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10399
e565dd37
GM
10400 Rationalize calendar handling of day and month abbrev-arrays.
10401 * calendar/calendar.el (calendar-customized-p): New function.
10402 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10403 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10404 Add :set function.
10405 (calendar-abbrev-length, calendar-day-abbrev-array)
10406 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10407 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10408 Elements may no longer be nil.
10409 (calendar-day-name, calendar-month-name):
10410 Update for changed nature of abbrev arrays.
10411 * calendar/diary-lib.el (diary-name-pattern):
10412 Update for changed nature of abbrev arrays.
10413 (diary-mark-entries-1): Update calendar-make-alist calls.
10414 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10415 * calendar/cal-html.el (cal-html-day-abbrev-array):
10416 Simply inherit from calendar-day-abbrev-array.
10417
1d99a745
SM
104182011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * progmodes/grep.el (grep-mode): Disable default
10421 compilation-directory-matcher setting (bug#8684).
10422
7c1d9aa0
MA
104232011-05-17 Michael Albinus <michael.albinus@gmx.de>
10424
10425 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10426 instead of "head" and "tail". There were problems with SunOS 5.9,
10427 and it performs better.
10428
3952e9d8
GM
104292011-05-17 Glenn Morris <rgm@gnu.org>
10430
2dd12e7f
GM
10431 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10432
e4157b9c
GM
10433 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10434 Replace obsolete function.
10435
8e249bbd
GM
10436 * shell.el (pcomplete-parse-arguments-function): Declare.
10437
3952e9d8
GM
10438 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10439 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10440 (appt-check): Doc fixes.
10441 (appt-disp-window-function, appt-delete-window-function):
10442 Remove needless special case in custom :type.
10443 (appt-display-count): Default to 0, not nil.
10444 (appt-check): Reset appt-display-count to 0, not nil.
10445
c71a0d48 104462011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10447
c71a0d48
GM
10448 * progmodes/python.el (python-font-lock-keywords):
10449 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10450
31d55be9
SM
104512011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10454
3bfacb2f
KR
104552011-05-16 Kevin Ryde <user42@zip.com.au>
10456
10457 * info-look.el (makefile-automake-mode): New setups, looking in
10458 automake manual, then makefile-mode.
10459 (makefile-mode): Remove automake manual, have it just in
10460 makefile-automake-mode since there's various things different or
10461 not relevant to plain make.
10462 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10463 believe a hypothetical automake-mode would go to makefile-mode,
10464 not the other way around.
10465
c8e83751
CY
104662011-05-15 Chong Yidong <cyd@stupidchicken.com>
10467
5e9e35cd
CY
10468 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10469 hunk-end tags (Bug#8672).
10470
c8e83751
CY
10471 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10472 vc-annotate-show-diff-revision-at-line (Bug#8671).
10473
50b23e5a
GM
104742011-05-14 Glenn Morris <rgm@gnu.org>
10475
7210a739
GM
10476 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10477 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10478 (change-log-font-lock-keywords): Also handle multiple author lines
10479 with leading tabs. (Bug#8644)
7210a739 10480
4691905a
GM
10481 * calendar/appt.el (appt-check): Rename some local variables.
10482 Some simplification/reordering.
10483
50b23e5a
GM
10484 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10485 (feedmail-sendmail-f-doesnt-sell-me-out)
10486 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10487 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10488 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10489 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10490 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10491 (feedmail-binmail-gnulinuxish-template):
10492 Rename from feedmail-binmail-linuxish-template.
10493 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10494 Use insert-buffer-substring.
10495
215cda7c
BC
104962011-05-14 Bill Carpenter <bill@carpenter.org>
10497
10498 * mail/feedmail.el (feedmail-patch-level): Increase.
10499 (feedmail-debug): New custom group.
10500 (feedmail-confirm-outgoing-timeout)
10501 (feedmail-sendmail-f-doesnt-sell-me-out)
10502 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10503 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10504 (feedmail-sender-line, feedmail-from-line)
10505 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10506 (feedmail-spray-this-address)
215cda7c
BC
10507 (feedmail-spray-address-fiddle-plex-list)
10508 (feedmail-queue-use-send-time-for-date)
10509 (feedmail-queue-use-send-time-for-message-id)
10510 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10511 (feedmail-buffer-eating-function):
10512 Doc fixes.
10513 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10514 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10515 (feedmail-message-action-scroll-down): New functions.
10516 (feedmail-queue-directory, feedmail-queue-draft-directory):
10517 Use expand-file-name.
10518 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10519 Remove C-v help entry.
10520 (feedmail-queue-buffer-file-name): New variable.
10521 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10522 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10523 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10524 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10525 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10526 (feedmail-message-action-toggle-spray)
10527 (feedmail-run-the-queue-no-prompts)
10528 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10529 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10530 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10531 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10532 (feedmail-envelope-deducer, feedmail-fiddle-from)
10533 (feedmail-fiddle-sender, feedmail-default-date-generator)
10534 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10535 (feedmail-fiddle-spray-address)
10536 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10537 (feedmail-fiddle-list-of-fiddle-plexes)
10538 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10539 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10540 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10541 Change default. Doc fix.
10542 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10543 (feedmail-binmail-linuxish-template): New constant.
10544 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10545 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10546 (feedmail-send-it): Add debug call.
10547 Use feedmail-queue-buffer-file-name, and
10548 feedmail-send-it-immediately-wrapper.
10549 (feedmail-message-action-send): Add debug call.
10550 Use feedmail-send-it-immediately-wrapper.
10551 (feedmail-queue-express-to-queue): Add debug call.
10552 Run feedmail-queue-express-hook.
10553 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10554 (feedmail-message-action-help-blat):
10555 Rename from feedmail-queue-send-edit-prompt-help-first.
10556 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10557 Check line-endings. Handle errors better.
10558 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10559 Doc fix. Add debug call.
10560 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10561 Use feedmail-queue-send-edit-prompt-inner.
10562 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10563 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10564 from feedmail-queue-send-edit-prompt.
10565 (feedmail-queue-send-edit-prompt-help)
10566 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10567 (feedmail-tidy-up-slug): Add debug call.
10568 Respect feedmail-queue-slug-suspect-regexp.
10569 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10570 (feedmail-dump-message-to-queue): Add debug call.
10571 Expand queue-directory.
10572 (feedmail-dump-message-to-queue): Change message slightly.
10573 Use feedmail-say-chatter.
10574 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10575 (feedmail-send-it-immediately-wrapper): New function.
10576 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10577 Insert empty string rather than newline. Handle full-frame case.
10578 Use catch/throw. Use feedmail-say-chatter.
10579 (feedmail-fiddle-from): Try mail-host-address.
10580 (feedmail-default-message-id-generator): Doc fix.
10581 Bind system-time-locale. Handle missing end.
10582 (feedmail-fiddle-x-mailer): Add debug call.
10583 Handle feedmail-x-mailer-line being nil.
10584 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10585 Add debug call. Use buffer-substring-no-properties.
10586 (feedmail-say-debug, feedmail-say-chatter): New functions.
10587 (feedmail-find-eoh): Give an explicit error.
10588
42c7e61e
UJ
105892011-05-13 Ulf Jasper <ulf.jasper@web.de>
10590
c2571358 10591 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10592 family from helvetica to sans.
c2571358 10593 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10594 etc/images/newsticker.
10595
c2571358 10596 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10597 family from helvetica to sans.
10598
10599 * net/newst-plainview.el (newsticker-new-item-face)
10600 (newsticker-old-item-face, newsticker-immortal-item-face)
10601 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10602 (newsticker-statistics-face): Change default family from
42c7e61e 10603 helvetica to sans.
c2571358 10604 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10605 etc/images/newsticker.
10606
10607 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10608 (newsticker--process-auto-mark-filter-match): : Tell user about
10609 auto-marking.
10610
8497a297
DV
106112011-05-13 Didier Verna <didier@xemacs.org>
10612
10613 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10614 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10615 TODO entries.
8497a297
DV
10616 (lisp-lambda-list-keyword-parameter-indentation)
10617 (lisp-lambda-list-keyword-parameter-alignment)
10618 (lisp-lambda-list-keyword-alignment): New customizable user options.
10619 (lisp-indent-defun-method): Improve docstring.
10620 (extended-loop-p): Fix comment.
10621 (lisp-indent-lambda-list-keywords-regexp): New variable.
10622 (lisp-indent-lambda-list): New function.
10623 (lisp-indent-259): Use it.
10624 (lisp-indent-defmethod): Support for more than one
10625 method qualifier and properly indent methods lambda-lists.
10626 (defgeneric): Provide a missing common-lisp-indent-function property.
10627
f278f87f
SM
106282011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10631 bounds for the empty string (bug#8667).
10632
5233edd7
GM
106332011-05-13 Glenn Morris <rgm@gnu.org>
10634
5237a44f
GM
10635 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10636
8340026c 10637 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10638 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10639
5233edd7 10640 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10641 (appt-time-msg-list): Doc fix.
a5464014 10642 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10643
92d10796
AS
106442011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10645
10646 * progmodes/ld-script.el (ld-script-keywords)
10647 (ld-script-builtins): Update keywords list.
10648
914a0ae1
SM
106492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10650
c89be45f
SM
10651 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10652
914a0ae1
SM
10653 * shell.el (shell-completion-vars): New function.
10654 (shell-mode):
10655 * simple.el (read-shell-command): Use it.
10656 (blink-matching-open): No need for " [...]" in minibuffer-message.
10657
98dc3df3
GM
106582011-05-12 Glenn Morris <rgm@gnu.org>
10659
10660 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10661 (appt-check): Simplify.
10662
d2fc7e3d 106632011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10664
4d61f28d 10665 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10666 literal "/dev/null".
10667
d2fc7e3d 106682011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10669
10670 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10671 Fix typo.
10672
d2fc7e3d 106732011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10674
3f254caa
SM
10675 * progmodes/which-func.el (which-function):
10676 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10677 which might not be defined (Bug#8260).
10678
d45885f7
GM
106792011-05-12 Glenn Morris <rgm@gnu.org>
10680
10681 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10682 Let byte-compile-initial-macro-environment always take precedence.
10683
488086f4
SM
106842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * net/rcirc.el: Add support for SSL/TLS connections.
10687 (rcirc-server-alist): New field `encryption'.
10688 (rcirc): Check `encryption' settings.
10689 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10690 Merge make-local-variable into `set'.
10691 (rcirc--connection-open-p): New function.
10692 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10693 the process is not a network process (e.g. running gnutls-cli).
10694 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10695 Make rcirc-(en|de)code-coding-system local here.
10696 (rcirc-mode): Merge make-local-variable into `set'.
10697 (rcirc-parent-buffer): Make permanent buffer-local.
10698 (rcirc-multiline-minor-mode): Don't do it here.
10699 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10700 there's no server buffer.
10701
7d3b9d44
GM
107022011-05-11 Glenn Morris <rgm@gnu.org>
10703
f64049c6
GM
10704 * newcomment.el (comment-kill): Prefix "unused" local.
10705
93c9df73
GM
10706 * term/w32console.el (get-screen-color): Declare.
10707
7d3b9d44
GM
10708 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10709 Handle symbol elements of byte-compile-initial-macro-environment.
10710
9e2dd53f
LL
107112011-05-10 Leo Liu <sdl.web@gmail.com>
10712
488086f4
SM
10713 * bookmark.el (bookmark-bmenu-mode-map):
10714 Bind bookmark-bmenu-search to `/'.
8b340240 10715
9e2dd53f 10716 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10717 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10718 (Footnote-unicode): New function.
10719 (footnote-style-alist): Add unicode style to the list.
10720 (footnote-style): Doc fix.
9e2dd53f 10721
79b70037
GM
107222011-05-10 Jim Meyering <meyering@redhat.com>
10723
10724 Fix doubled-word typos.
10725 * international/quail.el (quail-insert-kbd-layout): and and -> and
10726 * kermit.el: and and -> and
10727 * net/ldap.el (ldap-search-internal): to to -> to
10728 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10729 * progmodes/js.el (js-mode): and and -> and
10730 * textmodes/artist.el (artist-move-to-xy): at at -> at
10731 (artist-draw-region-trim-line-endings): if if -> if
10732 And Safetyc -> Safety.
10733 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10734
b8f82dc1 107352011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10736 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10737
10738 * files.el (hack-one-local-variable-eval-safep):
10739 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10740
4f99f44b
GM
107412011-05-10 Glenn Morris <rgm@gnu.org>
10742
10743 * calendar/diary-lib.el (diary-list-entries-hook)
10744 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10745 (diary-nongregorian-marking-hook, diary-list-entries)
10746 (diary-include-other-diary-files, diary-mark-entries)
10747 (diary-mark-included-diary-files): Doc fixes.
10748
84f29e6b
JB
107492011-05-09 Juanma Barranquero <lekktu@gmail.com>
10750
10751 * misc.el: Require tabulated-list.el during compilation.
10752
9bedd73a
CY
107532011-05-09 Chong Yidong <cyd@stupidchicken.com>
10754
488086f4
SM
10755 * progmodes/compile.el (compilation-start):
10756 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10757 (compilation-filter-hook): Doc fix.
10758
797c735c
DD
107592011-05-09 Deniz Dogan <deniz@dogan.se>
10760
10761 * wdired.el: Remove outdated installation comment. Fix usage
10762 comment.
10763
5f4b1dfe
JB
107642011-05-09 Juanma Barranquero <lekktu@gmail.com>
10765
10766 * misc.el: Implement new command `list-dynamic-libraries'.
10767 (list-dynamic-libraries--loaded-only-p): New variable.
10768 (list-dynamic-libraries--refresh): New function.
10769 (list-dynamic-libraries): New command.
10770
4c44026c
CY
107712011-05-09 Chong Yidong <cyd@stupidchicken.com>
10772
488086f4
SM
10773 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10774 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10775 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10776 higher priority to avoid clobbering by gnu.
10777
027f966d
CY
107782011-05-08 Chong Yidong <cyd@stupidchicken.com>
10779
10780 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10781 if the face has existing theme settings (Bug#8454).
10782
085f5d7d
CY
107832011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10784
488086f4
SM
10785 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10786 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10787
2a86a00c
RS
10788 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10789 special file names `.' and `..' (Bug#8259).
10790
d9c54a06
CY
107912011-05-08 Chong Yidong <cyd@stupidchicken.com>
10792
488086f4
SM
10793 * progmodes/grep.el (grep-mode-font-lock-keywords):
10794 Remove buffer-changing entries.
d9c54a06
CY
10795 (grep-filter): New function.
10796 (grep-mode): Add it to compilation-filter-hook.
10797
10798 * progmodes/compile.el (compilation-filter-hook)
10799 (compilation-filter-start): New defvars.
10800 (compilation-filter): Call compilation-filter-hook prior to
10801 updating the process mark.
10802
c4662635
SM
108032011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10806
b0512a1d
EZ
108072011-05-07 Eli Zaretskii <eliz@gnu.org>
10808
605c9376
EZ
10809 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10810 mailclient-send-it even if window-system is nil. (Bug#8595)
10811
c4662635
SM
10812 * term/w32console.el (terminal-init-w32console):
10813 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10814 background-mode. (Bug#8597)
10815
d1dc2cc2
SM
108162011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10817
10818 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10819 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10820 New functions.
10821 (defgeneric, eieio--defmethod): Use them.
10822 (eieio-defgeneric): Remove.
10823 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10824
915d1300
GM
108252011-05-07 Glenn Morris <rgm@gnu.org>
10826
a3961c3e
GM
10827 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10828 Use let rather than let*.
10829 (timeclock-find-discrep): Remove unused local.
10830
314347b9
GM
10831 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10832
915d1300
GM
10833 * calendar/appt.el (appt-time-msg-list): Doc fix.
10834
275b59b0
NF
108352011-05-06 Noah Friedman <friedman@splode.com>
10836
10837 * apropos.el (apropos-print-doc): Only use
10838 emacs-lisp-docstring-fill-column when it is bound to an integer,
10839 per that variable's documentation.
10840
6c19f744
SM
108412011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10844 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10845
60f884b2
GM
108462011-05-06 Glenn Morris <rgm@gnu.org>
10847
5006e634
GM
10848 * calendar/appt.el (appt-message-warning-time): Doc fix.
10849 (appt-warning-time-regexp): New option.
10850 (appt-make-list): Respect appt-message-warning-time.
10851
548d0a63
GM
10852 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10853 New options.
10854 (diary-add-to-list): Strip comments from the displayed string.
10855 (diary-mode): Set comment-start and comment-end.
10856
60f884b2
GM
10857 * vc/diff-mode.el (smerge-refine-subst): Declare.
10858 (diff-refine-hunk): Don't require smerge-mode when compiling.
10859
989681bb
JB
108602011-05-06 Juanma Barranquero <lekktu@gmail.com>
10861
10862 * simple.el (list-processes): Return nil as the docstring says.
10863
a6bc05e1
MA
108642011-05-05 Michael Albinus <michael.albinus@gmx.de>
10865
10866 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10867 to "".
10868 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10869 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10870 determining of binary transfer. (Bug#7383)
10871
23c22e9a
MA
108722011-05-05 Michael Albinus <michael.albinus@gmx.de>
10873
c4662635
SM
10874 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10875 Fix port computation bug. (Bug#8618)
23c22e9a 10876
0bff894f
GM
108772011-05-05 Glenn Morris <rgm@gnu.org>
10878
b8296902
GM
10879 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10880
1f522ce8
GM
10881 * simple.el (shell-dynamic-complete-functions)
10882 (comint-dynamic-complete-functions): Declare.
10883
cf5bee67
GM
10884 * net/network-stream.el (gnutls-negotiate):
10885 * simple.el (tabulated-list-print): Fix declarations.
10886
10887 * progmodes/gud.el (syntax-symbol, syntax-point):
10888 Remove unnecessary and incorrect declarations.
10889
0bff894f
GM
10890 * emacs-lisp/check-declare.el (check-declare-scan):
10891 Handle byte-compile-initial-macro-environment in bytecomp.el
10892
9869b3ae
SM
108932011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 Fix earlier half-done eieio-defmethod change (bug#8338).
10896 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10897 Streamline and change calling convention.
10898 (defmethod): Adjust accordingly and simplify.
10899 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10900 new eieio--defmethod.
10901 (slot-boundp): Minor CSE simplification.
10902
9c1d5ac5
MZ
109032011-05-05 Milan Zamazal <pdm@zamazal.org>
10904
10905 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10906 (glasses-make-readable): Use glasses-separate-capital-groups.
10907
455c834e
JB
109082011-05-05 Juanma Barranquero <lekktu@gmail.com>
10909
10910 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10911 (warning-series): Doc fix.
10912 (display-warning): Don't try to create the buffer if we just found it.
10913
9ed7c8cb
CY
109142011-05-04 Chong Yidong <cyd@stupidchicken.com>
10915
10916 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10917 (autoload-find-generated-file): New function.
10918 (generate-file-autoloads): Bind generated-autoload-file to
10919 buffer-file-name.
9869b3ae
SM
10920 (update-file-autoloads, update-directory-autoloads):
10921 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10922 output file (Bug#7989).
10923 (batch-update-autoloads): Doc fix.
10924
0898ca10
JB
109252011-05-04 Juanma Barranquero <lekktu@gmail.com>
10926
10927 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10928
31dfb76c
GM
109292011-05-04 Glenn Morris <rgm@gnu.org>
10930
f330b642
GM
10931 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10932 function, so it follows changes in calendar-date-style.
10933 (diary-fancy-date-matcher): New function.
10934 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10935 (diary-fancy-font-lock-fontify-region-function):
10936 Use diary-fancy-date-pattern as a function.
10937
31dfb76c
GM
10938 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10939 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10940
48e79d6a
TZ
109412011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10942
10943 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10944 instead of positional arguments. Allow :keylist and :crlfiles
10945 arguments.
10946 (open-gnutls-stream): Call it.
10947
10948 * net/network-stream.el (network-stream-open-starttls): Adjust to
10949 call `gnutls-negotiate' with :process and :hostname arguments.
10950
dd5a5ee0
SM
109512011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10952
ef80fc09
SM
10953 * minibuffer.el (completion--message): New function.
10954 (completion--do-completion, minibuffer-complete)
10955 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10956 (completion--do-completion): Don't ignore completion-auto-help when in
10957 icomplete-mode.
10958
dd5a5ee0
SM
10959 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10960 internal encoding (e.g. tibetan zero is not whitespace).
10961 (global-whitespace-mode): Prefer save-current-buffer.
10962 (whitespace-trailing-regexp): Remove useless save-match-data.
10963 (whitespace-empty-at-bob-regexp): Minor simplification.
10964
b7d22a83
CY
109652011-05-03 Chong Yidong <cyd@stupidchicken.com>
10966
10967 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10968
5192af46
AM
109692011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10970
10971 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10972 Use `concat' to create string for insertion.
5192af46 10973
5767d190
SM
109742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10975
10976 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10977 Avoid open-line which runs post-self-insert-hook.
10978 (bibtex-fill-entry): Remove unused `end' var.
10979
bf242939
AM
109802011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10981
5767d190
SM
10982 * textmodes/ispell.el (ispell-add-per-file-word-list):
10983 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10984
25666126
LL
109852011-05-03 Leo Liu <sdl.web@gmail.com>
10986
10987 * isearch.el (isearch-yank-pop): New command.
5767d190 10988 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10989 (isearch-forward): Mention it.
10990
52d3c2d0
SM
109912011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10992
1bcace58
SM
10993 * simple.el (minibuffer-complete-shell-command): Remove.
10994 (minibuffer-local-shell-command-map): Use completion-at-point.
10995 (read-shell-command): Setup completion vars here instead.
10996 (read-expression-map): Bind TAB to symbol completion.
10997
52d3c2d0
SM
10998 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10999 error directly rather via storing it into `results'.
11000
35813471
LL
110012011-05-02 Leo Liu <sdl.web@gmail.com>
11002
11003 * vc/diff.el: Fix description.
11004
e793a940
LMI
110052011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11006
11007 * server.el (server-eval-at): New function.
11008
8de66e05
LMI
110092011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11010
11011 * net/network-stream.el (open-network-stream): Take a :nowait
11012 parameter and pass it on to `make-network-process'.
11013 (network-stream-open-plain): Ditto.
11014
dcb79f20
AS
110152011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11016
11017 * faces.el (face-spec-set-match-display): Don't match toolkit
11018 options on terminal frames.
11019
14a7fbd8
SM
110202011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11021
7eabc1be
SM
11022 * progmodes/pascal.el: Use lexical binding.
11023 (pascal-mode-map): Remove author preferences.
11024
14a7fbd8
SM
11025 * pcomplete.el (pcomplete-std-complete): Don't abuse
11026 completion-at-point.
11027
50f84510
JB
110282011-04-28 Juanma Barranquero <lekktu@gmail.com>
11029
6e087a44
JB
11030 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11031 removing code that has been dead since 1991 or so.
11032
50f84510
JB
11033 * startup.el (command-line): When warning about "_emacs", use a
11034 delayed warning to allow the user to filter it out.
11035
0ba690bd
DD
110362011-04-28 Deniz Dogan <deniz@dogan.se>
11037
11038 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11039 user has not joined.
11040
08abfaad
SM
110412011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11042
11043 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11044 aren't any completions at point.
11045
638f053a
JB
110462011-04-28 Juanma Barranquero <lekktu@gmail.com>
11047
11048 * subr.el (display-delayed-warnings): New function.
11049 (delayed-warnings-hook): New variable.
11050
8fff8daa
SM
110512011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11052
08abfaad
SM
11053 * minibuffer.el (completion-at-point, completion-help-at-point):
11054 Don't presume that a given completion-at-point-function will always
11055 use the same calling convention.
11056
8fff8daa
SM
11057 * pcomplete.el (pcomplete-completions-at-point):
11058 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11059 pcomplete-seen is non-nil.
11060 (pcomplete-comint-setup): Also recognize the new comint/shell
11061 completion functions.
11062 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11063 pcomplete-seen is non-nil.
11064
841a1577 110652011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11066
841a1577 11067 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11068 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11069 the first character in the entry. This allows for code to add its
211ec907
UJ
11070 own uid to the entry.
11071 (icalendar--convert-float-to-ical): Add export of
11072 `diary-float'-entries save for those with the optional DAY
11073 argument.
11074
2a782793
DC
110752011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11076
11077 * subr.el (shell-quote-argument): Use alternate escaping strategy
11078 when we spot a variable reference in a string.
11079
0438ce91
DC
110802011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11081
11082 * cus-start.el (all): Define customization for debug-on-event.
11083
841a1577 110842011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11085
11086 * subr.el (shell-quote-argument): Escape correctly under Windows.
11087
d090ed6c
SM
110882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11091
bfd31217
MA
110922011-04-25 Michael Albinus <michael.albinus@gmx.de>
11093
d090ed6c
SM
11094 * net/tramp.el (tramp-process-actions): Add POS argument.
11095 Delete region between POS and (pos).
bfd31217 11096
d090ed6c
SM
11097 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11098 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11099 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11100
11101 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11102 position in `tramp-process-actions' call.
11103
11104 * net/trampver.el: Update release number.
11105
e92f3bd3
SM
111062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11107
850256b5
SM
11108 * custom.el (defcustom): Obey lexical-binding.
11109
e92f3bd3
SM
11110 Fix octave-inf completion problems reported by Alexander Klimov.
11111 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11112 Inherit from octave-mode-syntax-table.
11113 (inferior-octave-mode): Set info-lookup-mode.
11114 (inferior-octave-completion-at-point): New function.
11115 (inferior-octave-complete): Use it and completion-in-region.
11116 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11117 comint-filename-completion.
11118 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11119 symbol elements which shouldn't be word elements.
11120 (octave-font-lock-keywords, octave-beginning-of-defun)
11121 (octave-function-header-regexp): Adjust regexps accordingly.
11122 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11123
cd22b309
JB
111242011-04-25 Juanma Barranquero <lekktu@gmail.com>
11125
11126 * net/gnutls.el (gnutls-errorp): Declare before first use.
11127
8b492194
TZ
111282011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11129
11130 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11131 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11132 default trustfile exists before going to use it. Add missing
5a5fa834 11133 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11134 Reported by Claudio Bley <claudio.bley@gmail.com>.
11135 (open-gnutls-stream): Add usage example.
11136
11137 * net/network-stream.el (network-stream-open-starttls): Give host
11138 parameter to `gnutls-negotiate'.
11139 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11140 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11141
841a1577 111422011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11143
cd22b309
JB
11144 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11145 Use correct match group (bug#8438).
05842630 11146
3ba7869c
CY
111472011-04-24 Chong Yidong <cyd@stupidchicken.com>
11148
512e3ae1
CY
11149 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11150 (package-menu--generate): New arg specifying packages to show.
11151 (package-menu-refresh, package-menu-execute, list-packages):
11152 Callers changed.
11153 (package-show-package-list): New function, replacing deleted
11154 package--list-packages (renamed because it is non-internal).
11155
11156 * finder.el (finder-list-matches): Use package-show-package-list
11157 instead of deleted package--list-packages.
11158
e92f3bd3
SM
11159 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11160 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11161 (vc-annotate-mode-map): Bind it to RET.
11162
7031be6d
UR
111632011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11164
11165 * progmodes/etags.el (next-file): Don't use set-buffer to change
11166 buffers (Bug#8478).
11167
4ef177aa
CY
111682011-04-24 Chong Yidong <cyd@stupidchicken.com>
11169
c8d173eb
CY
11170 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11171
4ef177aa
CY
11172 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11173 (apropos-accumulator): Doc fix.
11174 (apropos-function, apropos-macro, apropos-command)
11175 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11176 (apropos-plist): Add face property.
11177 (apropos-symbols-internal): Fix indentation.
11178 (apropos-print): Simplify help, and recognize apropos-multi-type.
11179 (apropos-print-doc): Use button-type-get to extract the button's
11180 face property. Fill docstring (Bug#8352).
11181
4ffd0d6b 111822011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11183
11184 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11185
c6c32125 11186 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11187 (mpuz-mode-map): Use mapc.
c6c32125
JB
11188 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11189 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11190 Fix typos in docstrings.
11191
58d468b4
JB
11192 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11193 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11194
6470c3c6
JB
11195 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11196
4ffd0d6b 111972011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11198
11199 * minibuffer.el (completion--do-completion): Avoid the "Next char
11200 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11201
3ad8bad0
CY
11202 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11203 mouse-2 into unread-command-events, it is interpreted correctly.
11204
71d73c9c 11205 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11206 (image-toggle-display): Doc fix.
71d73c9c 11207
841a1577 112082011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11209
4ffd0d6b
GM
11210 * textmodes/page.el (what-page): Use line-number-at-pos to
11211 calculate line number (Bug#6825).
6e1dbaa9 11212
c2fb1b60
JB
112132011-04-22 Juanma Barranquero <lekktu@gmail.com>
11214
11215 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11216 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11217 Pass argument NO-DEFAULT to `find-tag-interactive'.
11218
e02f48d7
JB
112192011-04-22 Juanma Barranquero <lekktu@gmail.com>
11220
11221 Lexical-binding cleanup.
11222
11223 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11224 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11225 * progmodes/ada-prj.el (ada-prj-initialize-values)
11226 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11227 (ada-prj-show-value):
11228 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11229 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11230 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11231 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11232 * progmodes/bug-reference.el (bug-reference-push-button):
11233 * progmodes/fortran.el (fortran-line-length):
11234 * progmodes/glasses.el (glasses-change):
11235 * progmodes/octave-mod.el (octave-fill-paragraph):
11236 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11237 (python-pdbtrack-grub-for-buffer, python-sentinel):
11238 * progmodes/sql.el (sql-save-connection):
11239 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11240 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11241 Mark unused parameters.
11242
11243 * progmodes/compile.el (compilation--flush-directory-cache)
11244 (compilation--flush-parse, compile-internal): Mark unused parameters.
11245 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11246 (compilation-next-error-function): Remove unused variable `timestamp'.
11247
11248 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11249 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11250
11251 * progmodes/dcl-mode.el (dcl-end-of-command):
11252 Remove unused variable `start'.
11253 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11254 (dcl-option-value-basic, dcl-option-value-offset)
11255 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11256 Mark unused parameters.
11257 (dcl-save-local-variable): Remove unused variable `val'.
11258 (mode): Declare.
11259
11260 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11261 Mark unused parameters.
11262 (delphi-ignore-changes): Move before first use.
11263 (delphi-charset-token-at): Remove unused variable `start'.
11264 (delphi-else-start): Remove unused variable `if-count'.
11265 (delphi-comment-block-start, delphi-comment-block-end):
11266 Remove unused variable `kind'.
11267 (delphi-indent-line): Remove unused variable `new-point'.
11268
11269 * progmodes/ebrowse.el (ebrowse-files-list)
11270 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11271 Mark unused parameters. Don't quote `lambda'.
11272 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11273 Don't quote `lambda'.
11274 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11275 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11276 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11277 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11278 Use `ignore-errors'.
11279 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11280 (ebrowse-view/find-file-and-search-pattern)
11281 (ebrowse-view/find-member-declaration/definition):
11282 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11283 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11284 Rename parameter PREFIX-ARG to PREFIX.
11285 (ebrowse-tags-read-name): Remove unused variables `start' and
11286 `member-info'.
11287 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11288 to `tags-file'.
11289
11290 * progmodes/etags.el (local-find-tag-hook): Declare.
11291 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11292 Mark unused parameters.
11293
11294 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11295 (executable-interpret): Mark unused parameter.
11296
11297 * progmodes/flymake.el (flymake-process-sentinel)
11298 (flymake-after-change-function)
11299 (flymake-create-temp-with-folder-structure)
11300 (flymake-get-include-dirs-dot): Mark unused parameters.
11301 (flymake-safe-delete-directory): Remove unused variable `err'.
11302
11303 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11304 (speedbar-timer-fn, speedbar-line-text)
11305 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11306 (speedbar-center-buffer-smartly): Declare functions.
11307 (gdb-find-watch-expression): Remove unused variable `array'.
11308 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11309 (gdb-starting): Mark unused parameters.
11310 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11311 (gdb-table-string): Remove unused variable `res'.
11312 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11313 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11314 (gdb-display-buffer): Remove unused variable `cur-size'.
11315
11316 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11317 allow lexical-binding compilation.
11318 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11319 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11320 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11321 Mark unused parameters.
11322 (gud-gdb-marker-filter): Remove unused variable `match'.
11323 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11324 lambda expressions and funcall them, instead of using `fset'.
11325
11326 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11327 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11328
11329 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11330 variable `header-beg'; use `let'.
11331
11332 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11333 `restart', `last-sexp' and `at-do'.
11334
11335 * progmodes/js.el (js--debug): Mark unused parameter.
11336 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11337 (js--splice-into-items): Remove unused variable `item'.
11338 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11339
11340 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11341 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11342 (makefile-complete): Remove unused variable `try'.
11343 (makefile-fill-paragraph, makefile-match-function-end):
11344 Mark unused parameters.
11345
11346 * progmodes/octave-inf.el (inferior-octave-complete):
11347 Remove unused variable `proc'.
11348 (inferior-octave-output-digest): Mark unused parameter.
11349
11350 * progmodes/perl-mode.el (perl-calculate-indent):
11351 Remove unused variable `err'.
11352
11353 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11354 (prolog-indent-line): Mark unused parameters.
11355 (prolog-indent-line): Remove unused variable `beg'.
11356
11357 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11358 (reporter-dont-compact-list): Declare.
11359
11360 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11361 Remove unused variable `char'.
11362 (sh-debug): Mark unused parameter.
11363 (sh-get-indent-info): Remove unused variable `start'.
11364 (sh-calculate-indent): Remove unused variable `var'.
11365
11366 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11367 (simula-electric-keyword): Remove unused variable `null'.
11368 (simula-search-backward, simula-search-forward): Remove unused
11369 variables `begin' and `end'.
11370
11371 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11372 Remove unused variable `pos'.
11373 (vera-electric-tab, vera-comment-uncomment-region):
11374 Mark unused parameters.
11375 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11376
7ede3b65
CY
113772011-04-22 Chong Yidong <cyd@stupidchicken.com>
11378
11379 * emacs-lisp/package.el (package--builtins, package-alist)
11380 (package-load-descriptor, package-built-in-p, package-activate)
11381 (define-package, package-installed-p)
11382 (package-compute-transaction, package-buffer-info)
11383 (package--push): Doc fix. Distinguish more clearly between
11384 version strings and version lists.
11385
121656e9
JB
113862011-04-21 Juanma Barranquero <lekktu@gmail.com>
11387
11388 Lexical-binding cleanup.
11389
11390 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11391 (5x5-make-mutate-best):
11392 * play/fortune.el (fortune-in-buffer):
11393 * play/gomoku.el (gomoku-init-display):
11394 * play/solitaire.el (solitaire, solitaire-do-check):
11395 * play/tetris.el (tetris-default-update-speed-function):
11396 Mark unused parameters.
11397
11398 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11399 (bubbles--shift): Remove unused variable `char-org'.
11400 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11401 (bubbles--show-images): Remove unused variable `char'.
11402
11403 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11404 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11405 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11406 (decipher-analyze-buffer): Use ?\s.
11407 (decipher-make-checkpoint): Remove unused variable `mapping'.
11408
11409 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11410
11411 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11412 Remove unused variable `result'; use `let'.
11413
11414 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11415 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11416 (gametree-children-shown-p, gametree-compute-reduced-score):
11417 Use `ignore-errors'.
11418
11419 * play/handwrite.el (ps-lpr-switches): Declare.
11420 (handwrite): Remove unused variables `pmin' and `lastp'.
11421
11422 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11423
11424 * play/landmark.el (landmark-init-display)
11425 (landmark-update-naught-weights): Mark unused parameters.
11426 (landmark-y): Remove unused variable `noise'. Simplify.
11427 (landmark-human-plays): Remove unused variable `score'.
11428
11429 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11430 (mpuz-try-proposal): Remove unused variable `game'.
11431
11432 * play/zone.el (life-patterns): Declare.
11433
80f499c7
JB
114342011-04-20 Juanma Barranquero <lekktu@gmail.com>
11435
11436 * vc/vc.el (ediff-vc-internal): Declare function.
11437
024ff170
SM
114382011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11439
c0a193ea
SM
11440 * shell.el: Use lexical-binding and std completion UI.
11441 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11442 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11443 comint-preoutput-filter-functions rather than on
11444 comint-output-filter-functions.
11445 (shell-command-completion, shell--command-completion-data)
11446 (shell-filename-completion, shell-environment-variable-completion)
11447 (shell-c-a-p-replace-by-expanded-directory): New functions.
11448 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11449 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11450 (shell-dynamic-complete-environment-variable): Use them.
11451 (shell-dynamic-complete-as-environment-variable)
11452 (shell-dynamic-complete-as-command): Remove.
11453 (shell-match-partial-variable): Match past point.
11454 * comint.el: Clean up use of completion-at-point-functions.
11455 (comint-completion-at-point): New function.
11456 (comint-mode): Use it completion-at-point-functions.
11457 (comint-dynamic-complete): Make it obsolete.
11458 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11459 (comint-c-a-p-replace-by-expanded-history): New function.
11460 (comint-dynamic-complete-functions)
11461 (comint-replace-by-expanded-history): Use it.
11462 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11463 termination strings. Try harder to avoid second try-completion.
11464 (completion-in-region-mode-map): Disable bindings that don't work yet.
11465
2dbaa080
SM
11466 * comint.el: Use lexical-binding. Require CL.
11467 (comint-dynamic-complete-functions): Use comint-filename-completion.
11468 (comint-completion-addsuffix): Tweak custom type.
11469 (comint-filename-completion, comint--common-suffix)
11470 (comint--common-quoted-suffix, comint--table-subvert)
11471 (comint--complete-file-name-data): New functions.
11472 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11473 (comint-dynamic-list-filename-completions): Use them.
11474 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11475
2dbaa080
SM
11476 * minibuffer.el (completion-in-region-mode):
11477 Keep completion-in-region-mode--predicate global.
11478 (completion-in-region--postch):
11479 Assume completion-in-region-mode--predicate is not null.
11480
c79a6f38
SM
11481 * progmodes/flymake.el (flymake-start-syntax-check-process):
11482 Obey `dir'. Simplify.
11483
024ff170
SM
11484 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11485 we're in VC after all.
11486
1c6c854e
CS
114872011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11488
11489 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11490 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11491 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11492
bed7f140
SM
114932011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11494
332e62ab
SM
11495 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11496 add sanity check.
11497
bed7f140
SM
11498 * obsolete/erc-hecomplete.el: Make obsolete.
11499 * obsolete/: Standardize obsolescence info in the header.
11500
f195c582
GM
115012011-04-20 Glenn Morris <rgm@gnu.org>
11502
11503 * calendar/solar.el (solar-horizontal-coordinates):
11504 Use the longitude argument rather than `calendar-longitude'.
11505 (solar-date-next-longitude): Remove unused locals.
11506
cb79b8c0
VJL
115072011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11508
11509 * whitespace.el: New version 13.2.1.
11510
115112011-04-20 felix <EmacsWiki> (tiny change)
11512
d8e4b68b 11513 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11514 switching between major modes on a file.
11515
602ea69d
SM
115162011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11517
11518 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11519 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11520 multi-line comments as well.
11521
06b60517
JB
115222011-04-19 Juanma Barranquero <lekktu@gmail.com>
11523
11524 Lexical-binding cleanup.
11525
11526 * arc-mode.el (archive-mode-revert):
11527 * cmuscheme.el (scheme-interactively-start-process):
11528 * custom.el (custom-initialize-delay):
11529 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11530 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11531 * emacs-lock.el (emacs-lock-clear-sentinel):
11532 * ezimage.el (defezimage):
11533 * follow.el (follow-avoid-tail-recenter):
11534 * fringe.el (set-fringe-mode-1):
11535 * generic-x.el (bat-generic-mode-compile):
11536 * help-mode.el (help-info-variable, help-do-xref)
11537 (help-mode-revert-buffer):
11538 * help.el (view-emacs-todo):
11539 * iswitchb.el (iswitchb-completion-help):
11540 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11541 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11542 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11543 * locate.el (locate-update):
11544 * longlines.el (longlines-encode-region)
11545 (longlines-after-change-function):
11546 * outline.el (outline-isearch-open-invisible):
11547 * ps-def.el (declare-function, charset-dimension, char-width)
11548 (encode-char):
11549 * ps-mule.el (ps-mule-plot-string):
11550 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11551 (recentf-edit-list-select, recentf-edit-list-validate)
11552 (recentf-open-files-action):
11553 * rect.el (delete-whitespace-rectangle-line)
11554 (rectangle-number-line-callback):
11555 * register.el (window-configuration-to-register)
11556 (frame-configuration-to-register):
11557 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11558 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11559 (xselect-convert-to-targets, xselect-convert-to-delete)
11560 (xselect-convert-to-filename, xselect-convert-to-charpos)
11561 (xselect-convert-to-lineno, xselect-convert-to-colno)
11562 (xselect-convert-to-os, xselect-convert-to-host)
11563 (xselect-convert-to-user, xselect-convert-to-class)
11564 (xselect-convert-to-name, xselect-convert-to-integer)
11565 (xselect-convert-to-atom, xselect-convert-to-identity):
11566 * subr.el (declare, ignore, process-kill-without-query)
11567 (text-clone-maintain):
11568 * terminal.el (te-get-char, te-tic-sentinel):
11569 * tool-bar.el (tool-bar-make-keymap):
11570 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11571 * type-break.el (type-break-mode, type-break-noninteractive-query):
11572 * view.el (View-back-to-mark):
11573 * wid-browse.el (widget-browse-action, widget-browse-widget)
11574 (widget-browse-widgets, widget-browse-sexp):
11575 * widget.el (define-widget-keywords):
11576 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11577 Mark unused parameters.
11578
11579 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11580 (align-areas): Remove unused variable `look'.
11581 (align-region): Remove unused variables `real-end' and `pos-list'.
11582
11583 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11584
11585 * bindings.el (mode-line-modified, mode-line-remote):
11586 Mark unused parameters.
11587 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11588
11589 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11590 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11591
11592 * comint.el (comint-history-isearch-pop-state)
11593 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11594 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11595 (comint-substitute-in-file-name): Doc fix.
11596
11597 * completion.el (cmpl-statistics-block): Mark unused parameter.
11598 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11599 (save-completions-to-file, load-completions-from-file):
11600 Remove unused local variable `e'.
11601
11602 * composite.el (compose-chars): Remove unused variable `len'.
11603 (lgstring-insert-glyph): Remove unused variable `g'.
11604 (compose-glyph-string): Remove unused variables `ascent',
11605 `descent', `lbearing' and `rbearing'.
11606 (compose-glyph-string-relative): Remove unused variables
11607 `lbearing', `rbearing' and `wadjust'.
11608 (compose-gstring-for-graphic): Remove unused variables `header',
11609 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11610 (compose-gstring-for-terminal): Remove unused variables `header'
11611 and `nchars'. Use `let', not `let*'.
11612
11613 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11614 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11615 (Custom-buffer-done, custom-buffer-create-internal)
11616 (custom-browse-visibility-action, custom-browse-group-tag-action)
11617 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11618 (widget-magic-mouse-down-action, custom-toggle-parent)
11619 (custom-add-parent-links, custom-toggle-hide-variable)
11620 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11621 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11622 (custom-face-menu-create, custom-variable-menu-create, get)
11623 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11624 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11625 (customize-apropos): Remove unused variable `tests'.
11626 (custom-group-value-create): Remove unused variable `hidden-p'.
11627 (sort-fold-case): Declare.
11628
11629 * cus-theme.el (custom-reset-standard-faces-list)
11630 (custom-reset-standard-variables-list): Declare.
11631 (customize-create-theme, custom-theme-revert, custom-theme-write)
11632 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11633 Mark unused parameters.
11634
11635 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11636
11637 * delim-col.el (delimit-columns-max): Move defvar before first use.
11638
11639 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11640 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11641
11642 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11643 (auto-insert): Declare.
11644 (desktop-restore-file-buffer): Rename desktop-* parameters;
11645 mark unused ones.
11646 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11647 (desktop-buffer): Rename desktop-* parameters.
11648
11649 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11650 (dframe-reposition-frame-xemacs, dframe-help-echo)
11651 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11652 Mark unused parameters.
11653
11654 * dired-aux.el (backup-extract-version-start, overwrite-query)
11655 (overwrite-backup-query, rename-regexp-query)
11656 (rename-non-directory-query): Declare.
11657 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11658 (dired-add-entry): Remove unused variable `orig-file-name'.
11659 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11660 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11661 `dired-copy-preserve-time' directly.
11662 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11663 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11664
11665 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11666 (dired-virtual-revert, dired-make-relative-symlink):
11667 Mark unused parameters.
11668 (manual-program): Declare.
11669 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11670 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11671 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11672
11673 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11674
11675 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11676
11677 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11678 Declare.
11679
11680 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11681
11682 * electric.el (Electric-command-loop): Rename parameter
11683 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11684
11685 * expand.el (expand-in-literal): Remove unused variable `here'.
11686
11687 * facemenu.el (facemenu-add-new-color):
11688 Remove unused variable `docstring'.
11689
11690 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11691 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11692 (face-attr-construct): Mark unused parameter. Doc fix.
11693 (read-color): Remove unused variable `hex-string'.
11694
11695 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11696 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11697 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11698 (display-buffer-other-frame): Remove unused variable `old-window'.
11699 (kill-buffer-hook): Declare.
11700 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11701 Mark unused parameters.
11702 (after-find-file): Pass 1 to `auto-save-mode', not t.
11703
11704 * files-x.el (auto-insert): Declare.
11705 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11706
11707 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11708 variable `buf'. Mark unused parameter.
06b60517
JB
11709 (find-lisp-insert-directory): Mark unused parameter.
11710
11711 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11712 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11713 (format-common-tail): Remove, unused.
11714 (format-deannotate-region): Remove unused variable `loc'.
11715 (format-annotate-region): Remove unused variable `p'.
11716 (format-annotate-single-property-change): Remove unused variables
11717 `default' and `tail'.
11718
11719 * forms.el (read-file-filter): Declare.
11720 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11721
11722 * frame.el (frame-creation-function-alist): Mark unused parameter.
11723 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11724
11725 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11726 Remove unused parameters.
11727 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11728 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11729
11730 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11731 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11732 (hfy-prepare-tag-map): Mark unused parameters.
11733 (htmlfontify-buffer): Use `called-interactively-p'.
11734
11735 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11736 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11737 (ibuffer-do-occur): Mark unused parameters.
11738 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11739 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11740
11741 * ibuffer.el: Don't quote `lambda'.
11742 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11743 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11744 Mark unused parameters.
11745
11746 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11747 (ido-completing-read): Mark unused parameters.
11748 (ido-copy-current-word): Mark unused parameters;
11749 remove unused variable `name'.
11750 (ido-sort-merged-list): Remove unused parameter `dirs'.
11751
11752 * ielm.el (ielm-input-sender): Mark unused parameter.
11753 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11754 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11755 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11756 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11757 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11758
11759 * image-dired.el (image-dired-display-thumbs): Remove unused
11760 variables `curr-file' and `count'.
11761 (image-dired-remove-tag): Remove unused variable `start'.
11762 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11763 variable `curr-file'
11764 (image-dired-rotate-original): Remove unused variable `temp-file'.
11765 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11766 Remove unused variable `file'.
11767 (image-dired-gallery-generate): Remove unused variable `curr'.
11768 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11769
11770 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11771
11772 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11773
11774 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11775
11776 * isearch.el (minibuffer-history-symbol): Declare.
11777 (isearch-edit-string): Remove unused variable `err'.
11778 (isearch-message-prefix, isearch-message-suffix):
11779 Mark unused parameters.
11780
11781 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11782
11783 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11784
11785 * makesum.el (double-column): Remove unused variable `cnt'.
11786
11787 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11788 (ido-ignore-item-temp-list): Declare.
11789
11790 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11791 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11792 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11793 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11794 `mouse-col-delta'.
11795
11796 * mouse-sel.el (mouse-extend-internal):
11797 Remove unused variable `orig-window-frame'.
11798
11799 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11800 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11801 Move declarations before first use.
11802 (pcomplete-opt): Mark unused parameters; doc fix.
11803
11804 * proced.el (proced-revert): Mark unused parameter.
11805 (proced-send-signal): Remove unused variable `err'.
11806
11807 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11808 Rename parameter PREFIX-ARG to ARG.
11809 (ps-basic-plot-string, ps-basic-plot-whitespace):
11810 Mark unused parameters.
11811
11812 * replace.el (replace-count): Define.
11813 (occur-revert-function): Mark unused parameters.
11814 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11815 (isearch-case-fold-search, isearch-string): Declare.
11816 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11817 bind `case-fold-search'. Remove unused variables `beg' and `end',
11818 and simplify.
11819 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11820 COUNT and bind `replace-count'.
11821 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11822 to COUNT.
11823
11824 * savehist.el (print-readably, print-string-length): Declare.
11825
11826 * shadowfile.el (shadow-expand-cluster-in-file-name):
11827 Remove unused variable `cluster'.
11828 (shadow-copy-file): Remove unused variable `i'.
11829 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11830 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11831 (shadow-define-literal-group, shadow-define-regexp-group)
11832 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11833
11834 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11835 (shell): Use `called-interactively-p'.
11836 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11837
11838 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11839 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11840 (delete-backward-char): Remove unused variable `ocol'.
11841 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11842 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11843 (event-apply-hyper-modifier, event-apply-shift-modifier)
11844 (event-apply-control-modifier, event-apply-meta-modifier):
11845 Mark unused parameters.
11846 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11847 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11848
11849 * speedbar.el (speedbar-ignored-directory-expressions)
11850 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11851 (speedbar-find-file, speedbar-dir-follow)
11852 (speedbar-directory-buttons-follow, speedbar-tag-find)
11853 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11854 (speedbar-buffers-line-directory, speedbar-buffer-click):
11855 Mark unused parameters.
11856 (speedbar-tag-file): Remove unused variable `mode'.
11857 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11858
11859 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11860
11861 * talk.el (talk): Remove unused variable `display'.
11862
11863 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11864 (tar-write-region-annotate): Mark unused parameter.
11865
11866 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11867 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11868 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11869 warning by another.
11870
11871 * time-stamp.el (time-stamp-string-preprocess):
11872 Remove unused variable `require-padding'.
11873
11874 * tree-widget.el (widget-glyph-enable): Declare.
11875 (tree-widget-action): Mark unused parameter.
11876
11877 * w32-fns.el (x-get-selection): Mark unused parameter.
11878 (autoload-make-program, generated-autoload-file): Declare.
11879
11880 * wdired.el (wdired-revert): Mark unused parameters.
11881 (wdired-xcase-word): Remove unused variable `err'.
11882
11883 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11884 (whitespace-help-scroll): Remove unused variable `data-help'.
11885
11886 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11887 (widget-image-insert, widget-after-change, default)
11888 (widget-default-format-handler, widget-default-notify)
11889 (widget-default-prompt-value, widget-info-link-action)
11890 (widget-url-link-action, widget-function-link-action)
11891 (widget-variable-link-action, widget-file-link-action)
11892 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11893 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11894 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11895 (widget-insert-button-action, widget-delete-button-action, visibility)
11896 (widget-documentation-link-action, widget-documentation-string-action)
11897 (widget-const-prompt-value, widget-regexp-match, symbol)
11898 (widget-coding-system-prompt-value)
11899 (widget-key-sequence-value-to-external, sexp)
11900 (widget-sexp-value-to-internal, character, vector, cons)
11901 (widget-choice-prompt-value, widget-boolean-prompt-value)
11902 (widget-color--choose-action): Mark unused parameters.
11903 (widget-item-match-inline, widget-choice-match-inline)
11904 (widget-checklist-match, widget-checklist-match-inline)
11905 (widget-group-match): Rename parameter VALUES to VALS.
11906 (widget-field-value-set): Remove unused variable `size'.
11907 (widget-color-action): Remove unused variables `value' and `start'.
11908
11909 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11910 variable `dir'. Doc fix.
06b60517
JB
11911 (windmove-find-other-window): Don't pass it.
11912
11913 * window.el (count-windows): Mark unused parameter.
11914 (bw-adjust-window): Remove unused variable `err'.
11915
11916 * woman.el (woman-file-name): Remove unused variable `default'.
11917 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11918 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11919 (global-font-lock-mode): Declare.
11920 (woman-decode-region): Mark unused parameter.
11921 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11922
11923 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11924 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11925 (x-dnd-handle-moz-url): Remove unused variable `title'.
11926 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11927
11928 * xml.el (xml-parse-tag, xml-parse-attlist):
11929 Remove unused variable `pos'.
11930
bc4f7f3d
GM
119312011-04-19 Glenn Morris <rgm@gnu.org>
11932
11933 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11934 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11935 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11936 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11937 * calendar/cal-html.el (cal-html-insert-minical):
11938 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11939 (calendar-mark-date-pattern):
11940 Prefix "unused" locals.
11941
11942 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11943 optional argument `style'.
11944
11945 * calendar/appt.el (appt-make-list):
11946 * calendar/cal-china.el (calendar-chinese-date-string):
11947 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11948 (diary-hebrew-yahrzeit):
11949 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11950 * calendar/calendar.el (calendar-generate-window):
11951 * calendar/time-date.el (time-to-days):
11952 Remove unused local variables.
11953
16a43933
CY
119542011-04-18 Chong Yidong <cyd@stupidchicken.com>
11955
11956 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11957 glyphless-char-display table.
11958 (tabulated-list-glyphless-char-display): New var.
11959
7eed1860
SS
119602011-04-18 Sam Steingold <sds@gnu.org>
11961
11962 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11963 to acknowledgments.
11964
4d2d1ccd
GM
119652011-04-17 Glenn Morris <rgm@gnu.org>
11966
11967 * calendar/diary-lib.el (diary-sexp-entry):
11968 * calendar/holidays.el (holiday-sexp):
11969 Set debug-on-error rather than the removed stack-trace-on-error.
11970
239da61d
GM
119712011-04-16 Glenn Morris <rgm@gnu.org>
11972
11973 * progmodes/f90.el: Use lexical-binding.
11974 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11975
8b05752a
SM
119762011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11977
daca8ba5
SM
11978 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11979 (mail-mode): Setup mailalias completion here instead.
11980 * mail/mailalias.el: Use lexical-binding.
11981 (pattern, mailalias-done): Declare dynamic.
11982 (mail-completion-at-point-function): New function, from mail-complete.
11983 (mail-complete): Use it.
11984 (mail-completion-expand): New function.
11985 (mail-get-names): Use it.
11986 (mail-directory, mail-directory-process, mail-directory-stream):
11987 Don't use `pattern' for lexically bound arg.
11988
6f542485
SM
11989 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11990
037e7c3f
SM
11991 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11992 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11993 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11994
8b05752a
SM
11995 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11996 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11997 (byte-interactive-p): Define them again, for use when inlining
11998 old code.
11999
49093f60
JB
120002011-04-15 Juanma Barranquero <lekktu@gmail.com>
12001
12002 * loadup.el: Use `string-to-number', not `string-to-int'.
12003
b5b8e7de
SM
120042011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12005
12006 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12007 gud-gdb-complete-command.
12008 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12009 (gud-gdb-completion-at-point): New function.
12010 (gud-gdb-completions): Remove.
12011
f42efeb5
MA
120122011-04-14 Michael Albinus <michael.albinus@gmx.de>
12013
49093f60
JB
12014 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12015 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12016 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12017 whether `executable-find' is bound.
f42efeb5
MA
12018
12019 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12020
e240cc21
SM
120212011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * minibuffer.el (completion-in-region-mode-predicate)
12024 (completion-in-region-mode--predicate): New vars.
12025 (completion-in-region, completion-in-region--postch)
12026 (completion-in-region-mode): Use them.
12027 (completion--capf-wrapper): Also return the hook function.
12028 (completion-at-point, completion-help-at-point):
12029 Adjust and provide a predicate.
c2bd2ab0
SM
12030
12031 Preserve arg names for advice of subr and lexical functions (bug#8457).
12032 * help-fns.el (help-function-arglist): Consolidate the subr and
12033 new-byte-code cases. Add argument `preserve-names' to extract names
12034 from the docstring when needed.
12035 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12036 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12037 (ad-arglist): Use help-function-arglist's new arg.
12038 (ad-definition-type): Use cond.
12039
c183f693
JB
120402011-04-13 Juanma Barranquero <lekktu@gmail.com>
12041
06641a47
JB
12042 * autorevert.el (auto-revert-handler):
12043 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12044 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12045 Don't quote lambda.
12046
c183f693
JB
12047 * image-mode.el (image-transform-set-scale):
12048 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12049
1e3b6001
G
120502011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12051
12052 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12053 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12054 Upgrades via gnutls-cli are too slow to be done opportunistically.
12055
2d6af8dd
JB
120562011-04-12 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * dframe.el (dframe-current-frame): Remove spurious quote.
12059
c0749a51
GM
120602011-04-12 Glenn Morris <rgm@gnu.org>
12061
088d0d61
GM
12062 * calendar/cal-tex.el (cal-tex-end-document):
12063 Try to automatically use latin1 input if needed.
12064
c0749a51
GM
12065 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12066 Don't try to cons a mark onto an empty element.
12067
5c90fde0
LL
120682011-04-11 Leo Liu <sdl.web@gmail.com>
12069
12070 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12071 buffers.
12072 (ido-kill-buffer-at-head): Support killing virtual buffers.
12073
369e974d
CY
120742011-04-10 Chong Yidong <cyd@stupidchicken.com>
12075
12076 * minibuffer.el (completion-show-inline-help): New var.
12077 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12078 (minibuffer-force-complete, minibuffer-complete-word):
12079 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12080
12081 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12082 to avoid interference from inline help (Bug#5849).
12083
37f1c930
LL
120842011-04-10 Leo Liu <sdl.web@gmail.com>
12085
099c39a4
JB
12086 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12087 Fix typo.
37f1c930 12088
a32d4040
CY
120892011-04-09 Chong Yidong <cyd@stupidchicken.com>
12090
12091 * image-mode.el (image-toggle-display-image): Signal an error if
12092 not in Image mode.
12093 (image-transform-mode, image-transform-resize)
12094 (image-transform-set-rotation): Doc fix.
daca8ba5 12095 (image-transform-set-resize): Delete.
a32d4040
CY
12096 (image-transform-set-scale, image-transform-fit-to-height)
12097 (image-transform-fit-to-width): Handle image-toggle-display-image
12098 and image-transform-resize directly.
12099
099c39a4 121002011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12101
12102 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12103 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12104 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12105 (doc-view-mode-map): Add bindings for the new functions.
12106
099c39a4 121072011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12108
4d61f28d 12109 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12110 Fix typo in docstring.
12111
3726838a
EZ
121122011-04-08 Eli Zaretskii <eliz@gnu.org>
12113
04f33f1e
EZ
12114 * files.el (file-size-human-readable): Produce one digit after
12115 decimal, like "ls -lh" does.
12116
12117 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12118 the file size representation.
12119
3726838a
EZ
12120 * simple.el (list-processes): If async subprocesses are not
12121 available, error out with a clear error message.
12122
cbb59342
CY
121232011-04-08 Chong Yidong <cyd@stupidchicken.com>
12124
12125 * help.el (help-form-show): New function, to be called from C.
12126 Put help-form output in a buffer named differently than *Help*.
12127
e3971c44
EZ
121282011-04-08 Eli Zaretskii <eliz@gnu.org>
12129
12130 * files.el (file-size-human-readable): New function.
12131
12132 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12133 computing the representation inline. Don't require `cl'.
12134
12544bbe
GM
121352011-04-08 Glenn Morris <rgm@gnu.org>
12136
a1de6c6a
GM
12137 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12138
3c4671f4
GM
12139 * net/browse-url.el (browse-url-firefox):
12140 Test system-type, not system-configuration.
12141
b605679c
GM
12142 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12143 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12144 Use log-edit-empty-buffer-p. (Bug#7598)
12145
56442f0c
GM
12146 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12147 (rlogin-mode-map): Initialize in the defvar.
12148 (rlogin): Use ignore-errors.
12149
12544bbe
GM
12150 * replace.el (occur-mode-map): Some fixes for menu items.
12151
eb237b0f
AH
121522011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12153
12154 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12155
7d668f2c
CY
121562011-04-06 Chong Yidong <cyd@stupidchicken.com>
12157
e67a13ab
CY
12158 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12159 issuing unused warnings.
12160
12161 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12162 macro directly.
12163
7d668f2c
CY
12164 * simple.el: Lisp reimplement of list-processes. Based on an
12165 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12166 (process-menu-mode): New major mode.
12167 (list-processes--refresh, list-processes):
12168 (process-menu-visit-buffer): New functions.
12169
12170 * files.el (save-buffers-kill-emacs): Don't assume any return
12171 value of list-processes, which is undocumented anyway.
12172
a83ec3c9
CY
121732011-04-06 Chong Yidong <cyd@stupidchicken.com>
12174
12175 * emacs-lisp/tabulated-list.el: New file.
12176
e91a96fe
CY
12177 * emacs-lisp/package.el: Use Tabulated List mode.
12178 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12179 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12180 table format using Tabulated List mode variables.
12181 (package--push): New macro, replacing package-list-maybe-add.
12182 (package-menu--generate): Use package--push. Renamed from
12183 package--generate-package-list.
12184 (package-menu-refresh, list-packages): Use it.
daca8ba5 12185 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12186 Return insertion data instead of inserting it directly.
099c39a4
JB
12187 (package-menu-describe-package, package-menu-execute):
12188 Use tabulated-list-get-id.
e91a96fe
CY
12189 (package-menu-mark-delete, package-menu-mark-install)
12190 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12191 (package-menu-mark-obsolete-for-deletion):
12192 Use tabulated-list-put-tag.
e91a96fe
CY
12193 (package--list-packages, package-menu-revert)
12194 (package-menu-get-package, package-menu-get-version)
12195 (package-menu-sort-by-column): Functions deleted.
12196 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12197 (package-menu--status-predicate, package-menu--version-predicate)
12198 (package-menu--name-predicate)
12199 (package-menu--description-predicate): Handle arguments in the
12200 Tabulated List format.
12201 (package-list-packages-no-fetch): Call list-packages.
12202
3e214b50
JB
122032011-04-06 Juanma Barranquero <lekktu@gmail.com>
12204
12205 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12206 (after-find-file): Don't bind it.
3e214b50
JB
12207 (revert-buffer-in-progress-p): New variable.
12208 (revert-buffer): Bind it.
12209 Pass nil for `after-find-file-from-revert-buffer'.
12210
12211 * saveplace.el (save-place-find-file-hook): Use new variable
12212 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12213
3f0f1700
GM
122142011-04-06 Glenn Morris <rgm@gnu.org>
12215
c0274801
GM
12216 * Makefile.in (AUTOGEN_VCS): New variable.
12217 (autoloads): Use $AUTOGEN_VCS.
12218
3f0f1700
GM
12219 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12220 * calendar/calendar.el (calendar-mode-map):
12221 Check for toolkit scroll bars. (Bug#8305)
12222
41ea9e48
CY
122232011-04-05 Chong Yidong <cyd@stupidchicken.com>
12224
12225 * minibuffer.el (completion-in-region--postch)
12226 (completion-in-region-mode): Remove unnecessary messages.
12227
6194c800
JB
122282011-04-05 Juanma Barranquero <lekktu@gmail.com>
12229
33256f14
JB
12230 * font-lock.el (font-lock-refresh-defaults):
12231 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12232 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12233
6194c800
JB
12234 * info.el (Info-directory-list, Info-read-node-name-2)
12235 (Info-split-parameter-string): Doc fixes.
12236 (Info-virtual-nodes): Reflow docstring.
12237 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12238 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12239 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12240 Fix typos in docstrings.
12241 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12242 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12243 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12244 (Info-restore-desktop-buffer): Mark unused parameters.
12245 (Info-directory-find-file, Info-directory-find-node)
12246 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12247 (Info-virtual-index-find-node, Info-apropos-find-file)
12248 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12249 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12250 (Info-virtual-index): Remove unused local variable `nodename'.
12251
b87a8200 122522011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12253
b87a8200
DD
12254 * net/rcirc.el: Update my e-mail address.
12255 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12256
3b2ff876
CY
122572011-04-05 Chong Yidong <cyd@stupidchicken.com>
12258
12259 * startup.el (command-line): Save the cursor's theme-face
12260 directly, instead of using face-override-spec.
12261
12262 * custom.el (load-theme): Minor optimization in assigning faces.
12263
8d17e7ca
JB
122642011-04-04 Juanma Barranquero <lekktu@gmail.com>
12265
12266 * help-fns.el (describe-variable): Complete all variables having
12267 documentation, including keywords.
12268 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12269
2fbc1934
JB
122702011-04-04 Juanma Barranquero <lekktu@gmail.com>
12271
12272 Convert to lexical-binding.
12273
12274 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12275 (bs--get-marked-string, bs--get-modified-string)
12276 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12277 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12278 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12279
12280 * ehelp.el (electric-help-execute-extended)
12281 (electric-help-ctrl-x-prefix):
12282 * hexl.el (hexl-revert-buffer-function):
12283 * linum.el (linum-after-change, linum-after-scroll):
12284 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12285
12286 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12287
74f50695
DU
122882011-04-04 Daiki Ueno <ueno@unixuser.org>
12289
12290 * epa-dired.el:
12291 * epa-mail.el:
12292 * epa-hook.el:
12293 * epa-file.el:
12294 * epa.el:
12295 * epg.el: Use lexical binding.
12296
c11325f7
CY
122972011-04-03 Chong Yidong <cyd@stupidchicken.com>
12298
0d9e9a12
CY
12299 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12300
c11325f7 12301 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12302 dictionary case for flyspell-mark-duplications-exceptions.
12303 Use regexp matching for languages.
c11325f7
CY
12304 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12305 default dictionary (Bug#7926).
12306
da91b5f2
CY
123072011-04-02 Chong Yidong <cyd@stupidchicken.com>
12308
099c39a4
JB
12309 * emacs-lisp/package.el (package--with-work-buffer):
12310 Recognize https URLs.
da91b5f2 12311
099c39a4
JB
12312 * net/network-stream.el: Move from gnus/proto-stream.el.
12313 Change prefix to network-stream throughout.
da91b5f2
CY
12314 (open-protocol-stream): Merge into open-network-stream, leaving
12315 open-protocol-stream as an alias. Handle nil BUFFER args.
12316
12317 * subr.el (open-network-stream): Move to net/network-stream.el.
12318
afa8e9f6
GM
123192011-04-02 Glenn Morris <rgm@gnu.org>
12320
1d2e369d
GM
12321 * find-dired.el (find-exec-terminator): New option.
12322 (find-ls-option): Test for -ls support.
12323 (find-ls-subdir-switches): Test for -b in find-ls-option.
12324 (find-dired, find-grep-dired): Doc fixes.
12325 (find-dired): Use find-exec-terminator.
12326
8abb7da8 12327 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12328 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12329 (find-name-arg): Remove purecopy.
8abb7da8 12330
f3ca7378
GM
12331 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12332 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12333 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12334 accordingly. Don't add the null-device if not needed.
12335
afa8e9f6
GM
12336 * files.el (save-some-buffers): Doc fix.
12337
35eae264
EZ
123382011-04-02 Eli Zaretskii <eliz@gnu.org>
12339
12340 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12341
26b51db5
JB
123422011-04-01 Juanma Barranquero <lekktu@gmail.com>
12343
12344 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12345 Use `dolist' rather than `mapcar'.
12346
7200d79c
SM
123472011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12348
03408648 12349 Add lexical binding.
7200d79c 12350
03408648
SM
12351 * subr.el (apply-partially): Use new closures rather than CL.
12352 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12353 (dolist, dotimes): Use slightly different expansion for lexical code.
12354 (functionp): Move to C.
12355 (letrec): New macro.
12356 (with-wrapper-hook): Use it and apply-partially instead of CL.
12357 (eval-after-load): Preserve lexical-binding.
12358 (save-window-excursion, with-output-to-temp-buffer): Turn them
12359 into macros.
7200d79c 12360
03408648
SM
12361 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12362
12363 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12364 than the arglist.
12365 (help-add-fundoc-usage): Don't add `Not documented'.
12366 (help-function-arglist): Handle closures, subroutines, and new
12367 byte-code-functions.
12368 (help-make-usage): Remove leading underscores.
12369 (describe-function-1): Handle closures.
12370 (describe-variable): Use special-variable-p for completion.
12371
12372 * files.el (lexical-binding): Declare safe.
f488fb65 12373
03408648
SM
12374 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12375 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12376 (pcase): Add `let' pattern.
12377 Change memoization so it actually works.
12378 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12379 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12380 <let>: New case.
f488fb65 12381
03408648
SM
12382 * emacs-lisp/macroexp.el: Use lexical binding.
12383 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12384 Don't convert ' to #' without checking that it's indeed quoting
12385 a lambda.
12386
12387 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12388 Use eval-sexp-add-defvars.
03408648
SM
12389 (eval-sexp-add-defvars): New fun.
12390
12391 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12392
12393 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12394 Don't autoload.
12395 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12396 than the internal `byte-compile-lambda'.
12397 (defmethod): Don't hide code under quotes.
12398 (eieio-defmethod): New `code' argument.
12399
12400 * emacs-lisp/eieio-comp.el: Remove.
12401
12402 * emacs-lisp/edebug.el (edebug-eval-defun)
12403 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12404 (edebug-toggle): Avoid `eval'.
12405
12406 * emacs-lisp/disass.el (disassemble-internal): Handle new
12407 `closure' objects.
12408 (disassemble-1): Handle new byte codes.
12409
12410 * emacs-lisp/cl.el (pushnew): Silence warning.
12411
12412 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12413 (cl-byte-compile-throw): Remove.
12414 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12415
12416 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12417 closures.
12418
12419 * emacs-lisp/cconv.el: New file.
12420
12421 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12422 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12423 (byte-compile-initial-macro-environment):
12424 Handle declare-function here.
12425 (byte-compile--lexical-environment): New var.
12426 (byte-stack-ref, byte-stack-set, byte-discardN)
12427 (byte-discardN-preserve-tos): New lap codes.
12428 (byte-interactive-p): Don't use any more.
12429 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12430 New macros.
12431 (byte-compile-lapcode): Use them and handle new lap codes.
12432 (byte-compile-obsolete): Remove.
12433 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12434 (byte-compile-arglist-warn): Check late def of inlinable funs.
12435 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12436 since they should have been expanded by now.
12437 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12438 (byte-compile-from-buffer): Remove unused second arg.
12439 (byte-compile-preprocess): New function.
12440 (byte-compile-toplevel-file-form): New function to distinguish
12441 file-form calls from outside from file-form calls from hunk-handlers.
12442 (byte-compile-file-form): Simplify.
12443 (byte-compile-file-form-defsubst): Remove.
12444 (byte-compile-file-form-defmumble): Simplify now that
12445 byte-compile-lambda always returns a byte-code-function.
12446 (byte-compile): Preprocess.
12447 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12448 Remove, not used any more.
12449 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12450 (byte-compile-make-args-desc): New funs.
12451 (byte-compile-lambda): Handle lexical functions. Always return
12452 a byte-code-function.
12453 (byte-compile-reserved-constants): New var, to make up room for
12454 closed-over variables.
12455 (byte-compile-constants-vector): Obey it.
12456 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12457 (byte-compile-macroexpand-declare-function): New function.
12458 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12459 byte-code-functions.
12460 (byte-compile-form): Check obsolescence here.
12461 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12462 (byte-compile-variable-ref): Remove.
12463 (byte-compile-dynamic-variable-op): New fun.
12464 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12465 (byte-compile-variable-set): New funs.
12466 (byte-compile-discard): Add 2 args.
12467 (byte-compile-stack-ref, byte-compile-stack-set)
12468 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12469 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12470 macroexpand-all instead.
12471 (byte-compile-quote-form): Remove.
12472 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12473 (byte-compile-bind, byte-compile-unbind): New funs.
12474 (byte-compile-let): Handle let* and lexical binding.
12475 (byte-compile-let*): Remove.
12476 (byte-compile-catch, byte-compile-unwind-protect)
12477 (byte-compile-track-mouse, byte-compile-condition-case):
12478 Handle a new :fun-body form, used for lexical scoping.
12479 (byte-compile-save-window-excursion)
12480 (byte-compile-with-output-to-temp-buffer): Remove.
12481 (byte-compile-defun): Simplify.
12482 (byte-compile-stack-adjustment): New fun.
12483 (byte-compile-out): Use it.
12484 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12485
12486 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12487 handler any more.
12488
12489 * emacs-lisp/byte-opt.el: Use lexical binding.
12490 (byte-inline-lapcode): Remove (to bytecomp).
12491 (byte-compile-inline-expand): Pay attention to inlining to/from
12492 lexically bound code.
12493 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12494 any more.
12495 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12496 any more and don't call compiler-macros.
12497 (byte-compile-splice-in-already-compiled-code): Remove.
12498 (byte-code): Don't inline any more.
12499 (disassemble-offset): Receive `bytes' as argument rather than via
12500 dynamic scoping.
12501 (byte-compile-tag-number): Declare before first use.
12502 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12503 `return' even if make-spliceable.
12504 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12505 obsolete interactive-p.
12506 (byte-optimize-lapcode): Optimize new lap-codes.
12507 Don't trip up on new form of `byte-constant' lap code.
12508
12509 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12510
12511 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12512
12513 * custom.el (custom-initialize-default, custom-declare-variable):
12514 Use `defvar'.
12515
12516 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12517 New variables.
12518 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12519 (COMPILE_FIRST): Add macroexp and cconv.
12520 * makefile.w32-in: Mirror changes in Makefile.in.
12521
12522 * vc/cvs-status.el:
12523 * vc/diff-mode.el:
12524 * vc/log-edit.el:
12525 * vc/log-view.el:
12526 * vc/smerge-mode.el:
12527 * textmodes/bibtex-style.el:
12528 * textmodes/css.el:
12529 * startup.el:
12530 * uniquify.el:
da91b5f2
CY
12531 * minibuffer.el:
12532 * newcomment.el:
12533 * reveal.el:
12534 * server.el:
12535 * mpc.el:
12536 * emacs-lisp/smie.el:
12537 * doc-view.el:
12538 * dired.el:
03408648
SM
12539 * abbrev.el: Use lexical binding.
12540
0f0c1f27
EZ
125412011-04-01 Eli Zaretskii <eliz@gnu.org>
12542
12543 * info.el (info-display-manual): New function.
12544
c82b2579
SM
125452011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12548
221ddf68
TH
125492011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12550
12551 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12552 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12553
cba6e77e
GM
125542011-03-31 Glenn Morris <rgm@gnu.org>
12555
e040639f
GM
12556 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12557
cba6e77e
GM
12558 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12559
6d0f1c9e
CS
125602011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12561
12562 * progmodes/python.el (python-default-interpreter)
12563 (python-python-command-args, python-jython-command-args)
12564 (python-which-shell, python-which-args, python-which-bufname)
12565 (python-file-queue, python-comint-output-filter-function)
12566 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12567 variables and functions.
12568
3e2d70fd
SM
125692011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12572 (completion-in-region-mode): New minor mode.
12573 (completion-in-region): Use it.
12574 (completion-in-region--data, completion-in-region-mode-map): New vars.
12575 (completion-in-region--postch): New function.
12576 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12577 New vars.
12578 (completion--capf-wrapper): New function.
12579 (completion-at-point): Use it to track well-behavedness of
12580 hook functions.
12581 (completion-help-at-point): New command.
12582
f3e4086c
JM
125832011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12584
12585 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12586 syntax class to search for whitespace on a single line
12587 (Message-ID: <4D938140.4030905@redhat.com>).
12588
eb7ffc14
LL
125892011-03-30 Leo Liu <sdl.web@gmail.com>
12590
12591 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12592 New commands.
12593 (edit-abbrevs-map): Bind them here.
12594 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12595
d806ab68
KM
125962011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12597
12598 * allout.el (allout-hide-by-annotation, allout-flag-region):
12599 Reduce possibility of overlay leakage by making them volatile.
12600
12601 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12602 hash is not shared between buffers. Mode initialization is
12603 responsible for giving it a useful starting value.
12604 (allout-item-span): Reduce possibility of overlay leakage by
12605 making them volatile.
12606 (allout-widgets-count-buttons-in-region): Add diagnostic function
12607 for tracking down button overlay leaks.
12608
ea622834
LL
126092011-03-29 Leo Liu <sdl.web@gmail.com>
12610
12611 * ido.el (ido-read-internal): Use the default history var
12612 minibuffer-history if no HISTORY is specified.
12613
b62f8267
G
126142011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12615
03408648
SM
12616 * net/imap.el (imap-shell-open, imap-process-connection-type):
12617 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12618 Kerberos, SSL, other subprocesses.
12619
947b6566
LL
126202011-03-28 Leo Liu <sdl.web@gmail.com>
12621
12622 * abbrev.el (abbrev-table-empty-p): New function.
12623 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12624 nonempty ones. (Bug#5937)
12625
5ffb62aa
JD
126262011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12627
12628 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12629
7a097943
LL
126302011-03-27 Leo Liu <sdl.web@gmail.com>
12631
12632 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12633 for foreground and background colors.
12634 (ansi-color-make-color-map): Adapt.
12635
c5b40130
LL
126362011-03-25 Leo Liu <sdl.web@gmail.com>
12637
1f48f7d2
LL
12638 * midnight.el (midnight-time-float): Remove. Note it calculates
12639 the microsecond component incorrectly and seconds-to-time does the
12640 same job.
625897ec 12641 Remove redundant (require 'timer).
1f48f7d2 12642
c5b40130
LL
12643 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12644 (ido-completions): Remove unused arguments. (Bug#8329)
12645
d86d2721
SM
126462011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12647
12648 * minibuffer.el (completion--flush-all-sorted-completions):
12649 Remove itself from hook.
12650 (completion-at-point): Let the functions perform the completion
12651 immediately and return nil or t.
12652 * comint.el (comint-dynamic-complete-functions): Now identical to
12653 completion-at-point-functions.
12654 (comint-dynamic-list-input-ring): Remove unused var `index'.
12655 (comint--match-partial-filename, comint--unquote&expand-filename):
12656 New funs, split from comint-match-partial-filename.
12657 (comint-dynamic-complete): Use completion-at-point.
12658 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12659
e8974c48
DA
126602011-03-24 Drew Adams <drew.adams@oracle.com>
12661
12662 * thingatpt.el: Support `defun'.
12663
def71b5e
LL
126642011-03-23 Leo Liu <sdl.web@gmail.com>
12665
cb5af48e
LL
12666 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12667
def71b5e
LL
12668 * help-mode.el (help-mode-finish): Tweak regexp.
12669
927c53e7
GM
126702011-03-23 Glenn Morris <rgm@gnu.org>
12671
18d05bed
GM
12672 * eshell/esh-opt.el (eshell-eval-using-options):
12673 Do not bind unused local variable `eshell-option-stub'.
12674
927c53e7
GM
12675 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12676
9d0da923
JB
126772011-03-22 Juanma Barranquero <lekktu@gmail.com>
12678
12679 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12680 keymap variable in `with-no-warnings' to avoid a warning when the
12681 keymap has been already `defconst'ed.
12682
4b978a67
LL
126832011-03-22 Leo Liu <sdl.web@gmail.com>
12684
12685 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12686 encode all chars in abbrevs; otherwise use emacs-mule or
12687 utf-8-emacs. (Bug#8308)
12688
5fd62452
JB
126892011-03-22 Juanma Barranquero <lekktu@gmail.com>
12690
0b1596c6
JB
12691 * simple.el (backward-delete-char-untabify):
12692 Avoid warning about using `delete-backward-char'.
12693
5fd62452
JB
12694 * image.el (image-type-file-name-regexps): Make it variable.
12695 `imagemagick-register-types' modifies it, and the user may want
12696 to add new extensions for known image types.
12697 (imagemagick-register-types): Throw error if not using ImageMagick.
12698
0b4e93f1
LL
126992011-03-22 Leo Liu <sdl.web@gmail.com>
12700
12701 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12702 located before rcirc-prompt-end-marker.
12703 (rcirc-complete): Error if point is not after rcirc prompt.
12704 Handle the case when table is nil.
9882e214 12705 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12706
fccee4ab
CY
127072011-03-22 Chong Yidong <cyd@stupidchicken.com>
12708
12709 * custom.el (custom--inhibit-theme-enable): Make it affect only
12710 custom-theme-set-variables and custom-theme-set-faces.
12711 (provide-theme): Ignore custom--inhibit-theme-enable.
12712 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12713 (custom-enabling-themes): Delete variable.
d86d2721
SM
12714 (enable-theme): Accept only loaded themes as arguments.
12715 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12716 (custom-enabled-themes): Forbid themes from setting this.
12717 Eliminate use of custom-enabling-themes.
12718 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12719
af896da6
LL
127202011-03-21 Leo Liu <sdl.web@gmail.com>
12721
12722 * ido.el (ido-read-internal): Add ido-selected to history instead
12723 of user input.
12724
78f64af0
SM
127252011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12726
12727 * subr.el (deferred-action-list, deferred-action-function):
12728 Mark obsolete.
12729
b16ac1ec
LL
127302011-03-21 Leo Liu <sdl.web@gmail.com>
12731
810f7698
LL
12732 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12733 change on 2011-02-13 (bug#8309).
12734
b16ac1ec
LL
12735 * minibuffer.el (read-file-name-function): Change default value.
12736 (read-file-name--defaults): Rename from read-file-name-defaults.
12737 (read-file-name-default): Rename from read-file-name.
12738 (read-file-name): Call read-file-name-function.
12739
4e05e67e
GM
127402011-03-21 Glenn Morris <rgm@gnu.org>
12741
12742 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12743 Doc fixes.
12744
4359915b
CY
127452011-03-21 Chong Yidong <cyd@stupidchicken.com>
12746
12747 * cus-theme.el: Add missing provide statement.
12748 (customize-create-theme): Extract theme value correctly.
12749 (custom-theme-visit-theme): Autoload.
12750 (customize-create-theme): Prompt before inserting default faces.
12751
1fe275ee
JB
127522011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12753
12754 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12755 units and musical notes.
12756
cd394be1 127572011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12758
12759 * ido.el (ido-read-internal): Use completing-read-default.
12760 (ido-completing-read): Fix compatibility with completing-read.
12761
7d476bde
CO
127622011-03-20 Christian Ohler <ohler@gnu.org>
12763
12764 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12765 (ert-delete-all-tests): Use `called-interactively-p' rather than
12766 `interactive-p'.
12767 (ert--make-xrefs-region): Respect END.
12768
fe0fb33e
CY
127692011-03-19 Chong Yidong <cyd@stupidchicken.com>
12770
ff854b0b
CY
12771 * dired-aux.el (dired-create-directory): Signal an error if the
12772 directory already exists (Bug#8246).
12773
fe0fb33e
CY
12774 * facemenu.el (list-colors-display): Call list-faces-display
12775 inside with-help-window.
12776 (list-colors-print): Use display property to align the final
12777 column, instead of checking window-width.
12778
576bce32
EZ
127792011-03-19 Eli Zaretskii <eliz@gnu.org>
12780
4d61f28d 12781 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12782 windows-nt systems.
12783 (emerge-protect-metachars): Quote correctly for ms-dos and
12784 windows-nt systems.
12785
89c41d68 127862011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12787
12788 * info.el (info-initialize): Replace all uses of `:' with
12789 path-separator for compatibility with non-Unix systems.
12790 Cache quoting of path-separator. (Bug#8258)
12791
b14e3e21 127922011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12793
12794 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12795 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12796 (mouse-avoidance-mode): Fix typos in docstrings.
12797
4525ce3e
CY
127982011-03-19 Chong Yidong <cyd@stupidchicken.com>
12799
12800 * startup.el (package-subdirectory-regexp): Move from package.el.
12801 Omit \\` and \\', and let callers add them.
12802
12803 * emacs-lisp/package.el (package-strip-version)
12804 (package-load-all-descriptors): Add \\` and \\' to
12805 package-subdirectory-regexp before using it.
12806 (package-untar-buffer): New arg DIR; ensure that file untars only
12807 into this expected directory. Remove superfluous delete-region.
12808 (package-unpack): Caller changed.
12809 (package-tar-file-info): Use package-subdirectory-regexp.
12810
a904a09a 128112011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12812
a904a09a
SM
12813 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12814 diff-mode-shared-map (bug#8284).
12815 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12816
128172011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12818
12819 * calendar/time-date.el (format-seconds): Use assoc instead of
12820 assoc-string, since assoc-string doesn't exist in XEmacs.
12821
171fc304
JB
128222011-03-17 Juanma Barranquero <lekktu@gmail.com>
12823
12824 * custom.el (custom-known-themes): Reflow docstring.
12825 (custom-theme-load-path): Fix typo in docstring.
12826 (load-theme): Fix typo in error message.
12827 (custom-available-themes, custom-variable-theme-value):
12828 Use `let', not `let*'.
12829
d71990a1
JB
128302011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12831
12832 * calc/README: Mention inclusion of musical notes.
12833
12834 * calc/calc-units.el (calc-lu-quant): Rename from
12835 `calc-logunits-quantity'.
12836 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12837 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12838 (calc-db): Rename from `calc-dblevel'.
12839 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12840 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12841 (calc-np): Rename from `calc-nplevel'.
12842 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12843 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12844 (calc-lu-plus): Rename from `calc-logunits-add'.
12845 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12846 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12847 (calc-lu-minus): Rename from `calc-logunits-sub'.
12848 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12849 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12850 (calc-lu-times): Rename from `calc-logunits-mul'.
12851 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12852 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12853 (calc-lu-divide): Rename from `calc-logunits-div'.
12854 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12855 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12856
12857 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12858 functions being autoloaded.
12859
12860 * calc/calc.el (calc-lu-power-reference): Rename from
12861 `calc-logunits-power-reference'.
12862 (calc-lu-field-reference): Rename from
12863 `calc-logunits-field-reference'.
12864
7a71b18d
GM
12865 * calc/calc-help.el (calc-l-prefix-help):
12866 Mention musical note functions.
d71990a1 12867
40c2934b
SM
128682011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12869
12870 * minibuffer.el (completion-all-sorted-completions):
12871 Use :completion-cycle-penalty text property if present.
12872
b0911414
KM
128732011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12874
12875 * allout.el (allout-yank-processing): Adjust for new rebulleting
12876 regime so bullet being yanked is used without prompting the user
12877 for a choice.
12878
8a05b668
JB
128792011-03-16 Juanma Barranquero <lekktu@gmail.com>
12880
12881 * startup.el (command-line): Warn the user that _emacs is deprecated.
12882
5ba5fb81
JB
128832011-03-16 Juanma Barranquero <lekktu@gmail.com>
12884
12885 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12886 (delphi-verbose, delphi-comment-face, delphi-string-face)
12887 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12888 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12889 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12890 (delphi-new-comment-line, delphi-font-lock-defaults)
12891 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12892 Fix typos in docstrings.
12893
2dab465b
KM
128942011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12895
5ba5fb81 12896 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12897 Invert the roles of character and string values for INSTEAD, so a
12898 string is used for the more common case of a defaulting prompt.
12899
0adf5618
SM
129002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12901
12902 * progmodes/ruby-mode.el (ruby-backward-sexp):
12903 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12904 * play/gamegrid.el (gamegrid-make-face):
12905 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12906 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12907 * notifications.el (notifications-notify):
12908 * net/xesam.el (xesam-search-engines):
12909 * net/quickurl.el (quickurl-list-insert):
12910 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12911
d72700e5
CY
129122011-03-15 Chong Yidong <cyd@stupidchicken.com>
12913
12914 * startup.el (command-line): Update package subdirectory regexp.
12915
49c5410a
SM
129162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12917
c6eee9aa
SM
12918 * allout.el (allout-abbreviate-flattened-numbering)
12919 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12920
49c5410a
SM
12921 * subr.el (read-char-choice): Only show the cursor after the prompt,
12922 not after the answer.
12923
047b2bb9
KR
129242011-03-15 Kevin Ryde <user42@zip.com.au>
12925
12926 * help-fns.el (variable-at-point): Skip leading quotes, if any
12927 (bug#8253).
12928
0a57d256
SM
129292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12932 warning message.
12933
77c992bc
MA
129342011-03-14 Michael Albinus <michael.albinus@gmx.de>
12935
12936 * shell.el (shell): When called interactively, offer to change the
12937 shell file name on remote hosts.
12938
eebc475d
TZ
129392011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12940
12941 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12942 integration for LDAP parameters. The host, base, user or binddn,
12943 and secret tokens can be specified in a netrc file, for instance.
12944 This is optional because an `auth-source' parameter must be
12945 specified in the search attributes.
12946
9d05d1ba
JB
129472011-03-13 Juanma Barranquero <lekktu@gmail.com>
12948
12949 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12950
09d9db2c
GM
129512011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12954 into declaration. Remove redundant and harmful binding.
12955
129562011-03-12 Eli Zaretskii <eliz@gnu.org>
12957
12958 * files.el (file-ownership-preserved-p): Pass `integer' as an
12959 explicit 2nd argument to `file-attributes'. If the file's owner
12960 is the Administrators group on Windows, and the current user is
12961 Administrator, consider that a match.
12962
12963 * server.el (server-ensure-safe-dir): Consider server directory
12964 safe on MS-Windows if its owner is the Administrators group while
12965 the current Emacs user is Administrator. Use `=' to compare
12966 numerical UIDs, since they could be integers or floats.
12967
219bd536
JB
129682011-03-12 Juanma Barranquero <lekktu@gmail.com>
12969
12970 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12971
f3afd36b
MA
129722011-03-12 Michael Albinus <michael.albinus@gmx.de>
12973
12974 Sync with Tramp 2.2.1.
12975
12976 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12977
12978 * net/trampver.el: Update release number.
12979
3aaaa6f1
SM
129802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12981
94642599
SM
12982 * progmodes/compile.el (compilation--previous-directory): Fix up
12983 various nil/dead-marker mismatches (bug#8014).
12984 (compilation-directory-properties, compilation-error-properties):
12985 Don't call it at a position past the one we're about to change.
12986
3aaaa6f1
SM
12987 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12988 Disable obsolescence warnings in the file that declares it.
12989
14239447
KM
129902011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12991
099c39a4
JB
12992 * allout-widgets.el (allout-widgets-tally):
12993 Initialize allout-widgets-tally as a hash table rather than nil to
12994 prevent mode-line redisplay warnings. Also, clarify the module
12995 description and fix a comment typo.
14239447 12996
135e287c
JB
129972011-03-11 Juanma Barranquero <lekktu@gmail.com>
12998
12999 * help-fns.el (describe-variable): Don't complete keywords.
13000 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13001
ffbf300e
CY
130022011-03-10 Chong Yidong <cyd@stupidchicken.com>
13003
ba08b241
CY
13004 * emacs-lisp/package.el (package-version-join): Impose a standard
13005 string representation for pre/alpha/beta version lists.
13006 (package-unpack-single): Standardize the directory name by passing
13007 it through package-version-join.
13008 (package-strip-rcs-id): Accept any version string that does not
13009 signal an error in version-to-list.
ffbf300e 13010
f346fd6b
MA
130112011-03-10 Michael Albinus <michael.albinus@gmx.de>
13012
13013 * simple.el (delete-trailing-whitespace): Return nil for the
13014 benefit of `write-file-functions'.
13015
ccb55d27
GM
130162011-03-10 Glenn Morris <rgm@gnu.org>
13017
5ceaac0c
GM
13018 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13019
02da65ff
GM
13020 * vc/vc-git.el (vc-git-program): New option.
13021 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13022 (vc-git--call): Use it.
13023
b2f603cc
GM
13024 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13025
5772caab
GM
13026 * cus-edit.el (Custom-newline): If no button at point, look
13027 for a subgroup button at start-of-line. (Bug#2298)
13028
ccb55d27
GM
13029 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13030
ec6ecaed
JD
130312011-03-10 Julien Danjou <julien@danjou.info>
13032
13033 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13034 `cursor-type' is nil.
13035
9d5aa01d
JB
130362011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13037
13038 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13039
b6a5875b
KM
130402011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13041
7a71b18d 13042 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13043 preserves the existing header prefix, rebulleting it if necessary,
13044 rather than replacing it. This is necessary for proper operation
13045 of cooperative addons like allout-widgets.
1154d12e
JB
13046 (allout-make-topic-prefix, allout-rebullet-heading):
13047 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13048 value as alternate bullet to be used, instead of prompting the user
13049 for a bullet character.
b6a5875b 13050
ee545c35
MA
130512011-03-09 Michael Albinus <michael.albinus@gmx.de>
13052
d86d2721
SM
13053 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13054 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13055 `tramp-default-port'.
13056
c47971d7
DD
130572011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13058
13059 * net/rcirc.el (rcirc-handler-001): Remove useless
13060 with-rcirc-process-buffer.
13061 (rcirc-check-auth-status): Swap arguments to string-match.
13062
13522cb4
GM
130632011-03-09 Glenn Morris <rgm@gnu.org>
13064
0be6f4f1
GM
13065 * shell.el (shell-mode):
13066 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13067
13522cb4
GM
13068 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13069 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13070
515de2e3
CY
130712011-03-08 Chong Yidong <cyd@stupidchicken.com>
13072
13073 * emacs-lisp/package.el (package-refresh-contents)
13074 (package-menu-execute): Use condition-case-no-debug.
13075
b511b994
MA
130762011-03-08 Michael Albinus <michael.albinus@gmx.de>
13077
13078 * simple.el (shell-command-to-string): Use `process-file'.
13079
13080 * emacs-lisp/package.el (package-tar-file-info): Handle also
13081 remote files.
13082
d86d2721
SM
13083 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13084 Use `equal' for upload base check.
b511b994 13085
25bbfb31
AM
130862011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13087
13088 * textmodes/texinfo.el (texinfo-environments):
13089 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13090
be996521
GM
130912011-03-08 Glenn Morris <rgm@gnu.org>
13092
e9c8529f
GM
13093 * cus-start.el (cursor-in-non-selected-windows):
13094 Fix :set quoting oddness. (Bug#8192)
13095
be996521
GM
13096 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13097 in some setf expressions. (Bug#2159)
13098
2bb5649e
CY
130992011-03-08 Chong Yidong <cyd@stupidchicken.com>
13100
13101 * custom.el (custom-available-themes): Return themes in
13102 alphabetical order.
13103
33383987 13104See ChangeLog.15 for earlier changes.
e3d51b27
MR
13105
13106;; Local Variables:
13107;; coding: utf-8
e3d51b27
MR
13108;; End:
13109
acaf905b 13110 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13111
13112 This file is part of GNU Emacs.
13113
13114 GNU Emacs is free software: you can redistribute it and/or modify
13115 it under the terms of the GNU General Public License as published by
13116 the Free Software Foundation, either version 3 of the License, or
13117 (at your option) any later version.
13118
13119 GNU Emacs is distributed in the hope that it will be useful,
13120 but WITHOUT ANY WARRANTY; without even the implied warranty of
13121 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13122 GNU General Public License for more details.
13123
13124 You should have received a copy of the GNU General Public License
13125 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.