Don't hard-code manual pages in top-level Makefile.in
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d80ac57b
GM
12012-05-01 Glenn Morris <rgm@gnu.org>
2
beb83b5a
GM
3 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4
d80ac57b
GM
5 * cus-edit.el (custom-variable-documentation): Simplify with format.
6
b593d6a9
AH
72012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8 Stefan Monnier <monnier@iro.umontreal.ca>
9
10 * simple.el (suggest-key-bindings, execute-extended-command):
11 Move from keyboard.c.
12
782fbf2a
CY
132012-05-01 Chong Yidong <cyd@gnu.org>
14
15 * follow.el: Eliminate advice.
16 (set-process-filter, process-filter, sit-for): Advice deleted.
17 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
18 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
19 Vars deleted.
782fbf2a
CY
20 (follow-auto): Use a :set function.
21 (follow-mode): Rewritten. Don't advise process filters.
22 (follow-switch-to-current-buffer-all, follow-scroll-up)
23 (follow-scroll-down): Assume follow-mode is bound.
24 (follow-comint-scroll-to-bottom)
25 (follow-align-compilation-windows): New functions.
26 (follow--window-sorter): New function.
27 (follow-all-followers): Use it to explicitly sort windows by their
28 positions; don't make assumptions about next-window order.
29 (follow-windows-start-end, follow-delete-other-windows-and-split)
30 (follow-calc-win-start): Doc fix.
31 (follow-windows-aligned-p, follow-select-if-visible): Don't call
32 vertical-motion unnecessarily.
33 (follow-adjust-window): New function.
34 (follow-post-command-hook): Use it.
35 (follow-call-set-process-filter, follow-call-process-filter)
36 (follow-intercept-process-output, follow-tidy-process-filter-alist)
37 (follow-stop-intercept-process-output, follow-generic-filter):
38 Functions deleted.
39 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
40 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
41 New functions, replacing advice on scroll-bar-* commands.
87233a14 42 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
43
44 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
45 (comint-postoutput-scroll-to-bottom): Use it.
46 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 47
290af740
GM
482012-05-01 Glenn Morris <rgm@gnu.org>
49
50 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
51 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
52 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
53 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
54 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
55 Remove no-byte-compile setting.
56
6eac8dc9
SM
572012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * minibuffer.el (completion-table-with-quoting): Fix compatibility
60 all-completions code to not return a number in the last cdr.
61
9cc7819c
LL
622012-04-30 Leo Liu <sdl.web@gmail.com>
63
64 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
65 read-only error.
66
c93b886f
CY
672012-04-29 Chong Yidong <cyd@gnu.org>
68
69 * follow.el (follow-calc-win-end): Rewrite to handle partial
70 screen lines correctly (Bug#8390).
71 (follow-avoid-tail-recenter): Minor cleanup.
72
8b6c19f4
SM
732012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 Avoid the obsolete `assoc' package.
76 * speedbar.el (speedbar-refresh): Avoid adelete.
77 (speedbar-file-lists): Simplify and avoid aput.
78 * man.el (Man--sections, Man--refpages): New vars, replacing
79 Man-sections-alist and Man-refpages-alist.
80 (Man-build-section-alist, Man-build-references-alist):
81 Use them; avoid aput.
82 (Man--last-section, Man--last-refpage): New vars.
83 (Man-follow-manual-reference): Use them.
84 Use the `default' arg of completing-read.
85 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
86
c5bb7569
CY
872012-04-27 Chong Yidong <cyd@gnu.org>
88
d1d2e2e8
CY
89 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
90
15cd8efd
CY
91 * startup.el (x-apply-session-resources): New function.
92
93 * term/ns-win.el (ns-initialize-window-system):
94 * term/w32-win.el (w32-initialize-window-system):
95 * term/x-win.el (x-initialize-window-system): Use it to properly
96 set menu-bar-mode and other vars from X resources, even if the
97 initial frame is not a window-system frame (Bug#2299).
98
c5bb7569
CY
99 * subr.el (read-key): Avoid running filter function when setting
100 up temporary tool bar entries (Bug#9922).
101
a8e7d6d7 1022012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
103
104 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
105 (Bug#11344)
106
a8e7d6d7 1072012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
108
109 * select.el (xselect--encode-string): New function, split from
110 xselect-convert-to-string.
111 (xselect-convert-to-string): Use it.
112 (xselect-convert-to-filename, xselect-convert-to-os)
113 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
114 returned strings are properly encoded (Bug#11315).
115
a8e7d6d7 1162012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
117
118 * simple.el (delete-active-region): Move to killing custom group.
119
a8e7d6d7 1202012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
121
122 * progmodes/which-func.el (which-func-current): Quote %
123 characters for mode-line processing.
124
578c1d4b 1252012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
126
127 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
128 reaching eob (Bug#11286).
129
a8e7d6d7 1302012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
131
132 * progmodes/gdb-mi.el (gdb-control-level): New variable.
133 (gdb): Make it buffer-local and init to zero.
134 (gdb-control-commands-regexp): New variable.
135 (gdb-send): Don't wrap in "-interpreter-exec console" if
136 gdb-control-level is positive. Increment gdb-control-level
137 whenever the command matches gdb-control-commands-regexp, and
138 decrement it each time the command is "end". (Bug#11279)
139
a8e7d6d7 1402012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
141
142 * window.el (adjust-window-trailing-edge, enlarge-window)
143 (shrink-window, window-resize):
144 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
145 windows (Bug#11276).
146
b3608390
CY
1472012-04-27 Chong Yidong <cyd@gnu.org>
148
149 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 150 fix "missing prefix" warning. All callers changed.
b3608390 151
797e6e88
SM
1522012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * emacs-lisp/assoc.el: Move to obsolete/.
155
e95a67dc
SM
1562012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
157
657c21e4 158 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
159
160 * term/ns-win.el (ns-define-service):
161 * progmodes/pascal.el (pascal-goto-defun):
162 * progmodes/js.el (js--read-tab):
163 * progmodes/etags.el (tags-lazy-completion-table):
164 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
165 * emacs-lisp/ewoc.el (ewoc--wrap):
166 * emacs-lisp/assoc.el (aput, adelete, amake):
167 * doc-view.el (doc-view-convert-current-doc):
168 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
169
cb3e7ae0
CY
1702012-04-26 Chong Yidong <cyd@gnu.org>
171
dce04f7f
CY
172 * image.el (image-type-from-buffer): Only return supported image
173 type (Bug#9045).
174
cb3e7ae0
CY
175 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
176 value, for symmetry with diff-end-of-hunk.
177 (diff-split-hunk, diff-find-source-location)
178 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
179 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
180 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
181 compute the relevant hunk or file properly (Bug#6005).
182 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
183
0d42eb3e
SM
1842012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * vc/vc-mtn.el:
187 * vc/vc-hg.el:
188 * vc/vc-git.el:
189 * vc/vc-dir.el:
190 * vc/vc-cvs.el:
191 * vc/vc-bzr.el:
192 * vc/vc-arch.el:
193 * vc/vc.el: Replace lexical-let by lexical-binding.
194 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
195 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
196 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
197
f08ae1c9
CY
1982012-04-26 Chong Yidong <cyd@gnu.org>
199
8b71081d
CY
200 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
201 (diff-mode-shared-map): Bind it to / and [remap undo].
202
f08ae1c9
CY
203 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
204 (ediff-window-setup-function): Use it as the default, to set up
205 windows based on whether the current frame is graphical (Bug#2138).
206 (ediff-choose-window-setup-function-automatically): Make obsolete.
207
208 * vc/ediff-init.el: Always define ediff-pixel-width/height.
209
ef24141c
SM
2102012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
211
cc356a5d
SM
212 * ffap.el: Remove old code for obsolete package.
213 (ffap-complete-as-file-p): Remove.
214
b4ff4f1f
SM
215 Use completion-table-with-quoting for comint and pcomplete.
216 * comint.el (comint--unquote&requote-argument)
217 (comint--unquote-argument, comint--requote-argument): New functions.
218 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
219 (comint-quote-filename): Use regexp-opt-charset.
220 (comint--common-suffix, comint--common-quoted-suffix)
221 (comint--table-subvert): Remove.
222 (comint-unquote-function, comint-requote-function): New vars.
223 (comint--complete-file-name-data): Use them with
224 completion-table-with-quoting.
225 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
226 * pcomplete.el (pcomplete-arg-quote-list)
227 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
228 (pcomplete-unquote-argument-function): Default to non-nil.
229 (pcomplete-unquote-argument): Simplify.
230 (pcomplete--common-quoted-suffix): Remove.
231 (pcomplete-requote-argument-function): New var.
232 (pcomplete--common-suffix): New function.
233 (pcomplete-completions-at-point): Use completion-table-with-quoting
234 and completion-table-subvert.
235
79c4eeb4
SM
236 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
237 (minibuffer--double-dollars): Preserve properties.
238 (completion--sifn-requote): New function.
239 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
240
ef24141c
SM
241 * minibuffer.el: Add support for completion of quoted/escaped data.
242 (completion-table-with-quoting, completion-table-subvert): New funs.
243 (completion--twq-try, completion--twq-all): New functions.
244 (completion--nth-completion): New function.
245 (completion-try-completion, completion-all-completions): Use it.
246
784e7d6e
LL
2472012-04-25 Leo Liu <sdl.web@gmail.com>
248
dd2ac746
SM
249 * progmodes/python.el (python-pdbtrack-get-source-buffer):
250 Use compilation-message if available to find real filename.
784e7d6e 251
07875ee7
CY
2522012-04-25 Chong Yidong <cyd@gnu.org>
253
254 * vc/diff-mode.el (diff-setup-whitespace): New function.
255 (diff-mode): Use it.
256
257 * vc/diff.el (diff-sentinel):
258 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
259 Whitespace mode variables based on diff style (Bug#8612).
260
5055880d
LL
2612012-04-25 Leo Liu <sdl.web@gmail.com>
262
daf75653
LL
263 * progmodes/python.el (python-send-region): Add suffix .py to the
264 temp file.
265
5055880d
LL
266 * files.el (auto-mode-alist): Use javascript-mode instead.
267
db9b177b
AH
2682012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
269
ef24141c 270 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
271
272 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 273 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 274 references, see Bug#9.
ef24141c 275 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 276 when receiving a fault reply.
ef24141c 277 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
278
279 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 280 (soap-inspect-simple-type): New function.
db9b177b 281
ef24141c 282 * soap-client.el (soap-simple-type): New struct.
db9b177b 283 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
284 (soap-decode-basic-type, soap-encode-basic-type):
285 support unsignedInt and double basic types.
db9b177b 286 (soap-resolve-references-for-simple-type)
ef24141c
SM
287 (soap-parse-simple-type, soap-encode-simple-type): New function.
288 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
289
290 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
291 (soap-default-soapenc-types): Add integer, byte and anyURI types.
292 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
293 the local name of "soapenc:Array".
294 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
295 decoding integer, byte and anyURI xsd types.
296
1fc6097b
CY
2972012-04-25 Chong Yidong <cyd@gnu.org>
298
299 * cus-edit.el (custom-buffer-create-internal): Update header text.
300
afc6df87
EZ
3012012-04-25 Eli Zaretskii <eliz@gnu.org>
302
303 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
304 settings on 'system-type', not on 'window-system'. On MS-Windows,
305 set interactive-mode on in GDB.
306
dfbd787f
SM
3072012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
310 (ruby-syntax-propertize-regexp): Remove.
311 (ruby-syntax-propertize-function): Split regexp into chunks.
312 Match following code directly.
313
85222d44
DG
3142012-04-24 Dmitry Gutov <dgutov@yandex.ru>
315
51a8ea2a
DG
316 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
317 (ruby-syntax-propertize-regexp): New function.
318 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
319 by a special keyword.
320
85222d44
DG
321 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
322 (ruby-syntax-general-delimiters-goto-beg)
323 (ruby-syntax-propertize-general-delimiters): New functions.
324 (ruby-syntax-propertize-function): Use them to handle GDL.
325 (ruby-font-lock-keywords): Move old handling of GDL...
326 (ruby-font-lock-syntactic-keywords): .. to here.
327 (ruby-calculate-indent): Adjust indentation for GDL.
328
b613912b
MA
3292012-04-24 Michael Albinus <michael.albinus@gmx.de>
330
b5380639
MA
331 * notifications.el (top): Remove unneeded declarations.
332 (notifications-specification-version): Change to "1.2".
e43042fe 333 (notifications-interface, notifications-notify-method)
b613912b
MA
334 (notifications-close-notification-method): Fix docstring.
335 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
336 (notifications-notify): Add :action-items, :resident and
337 :transient hints. Change "image_data" to "image-data" and
338 "image_path" to "image-path".
b613912b
MA
339 (notifications-get-capabilities): New defun.
340
257440aa
LL
3412012-04-24 Leo Liu <sdl.web@gmail.com>
342
343 * progmodes/python.el: Move hideshow setup to the end.
344
b1bac16e
MR
3452012-04-24 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (handle-select-window): Clear echo area since this is
348 no more done by read_char (Bug#11304).
349
d81bd059
SM
3502012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
353 and `/ M' to filter-derived-mode.
354 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
355 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
356 (ibuffer-mark-by-mode): Use default rather than initial-input.
357 (ibuffer-filter-by-derived-mode): Autoload and require-match.
358
c4cf6d91
IA
3592012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
360
361 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
362 (ibuffer-filter-by-derived-mode): New filter.
363 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
364
7511ded8
CY
3652012-04-23 Andreas Politz <politza@fh-trier.de>
366
367 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
368
775c916b
CY
3692012-04-23 Chong Yidong <cyd@gnu.org>
370
371 * cus-edit.el (customize-apropos, customize-apropos-options):
372 Disable matching of non-option variables (Bug#11176).
373 (customize-option, customize-option-other-window)
374 (customize-changed-options): Doc fix.
375 (customize-apropos-options, customize-apropos-faces)
376 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
377
378 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 379 Fix word list splitting (Bug#11132).
46c71e23
CY
380 (apropos-symbol, apropos-keybinding, apropos-label)
381 (apropos-property, apropos-function-button)
382 (apropos-variable-button, apropos-misc-button): New faces.
383 (apropos-symbol-face, apropos-keybinding-face)
384 (apropos-label-face, apropos-property-face, apropos-match-face):
385 Variables removed (Bug#8396).
386 (apropos-library-button, apropos-format-plist, apropos-print)
387 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 388
2df41f9c
MA
3892012-04-23 Michael Albinus <michael.albinus@gmx.de>
390
391 * net/xesam.el (xesam-mode-map): Use let-bound map in
392 initialization. (Bug#11292)
393
da00640a
AM
3942012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
395
396 Preserve ispell session localwords when switching back to
397 original buffer.
398
399 * ispell.el (ispell-buffer-session-localwords): New buffer-local
400 variable to hold buffer session localwords.
401 (ispell-kill-ispell): add option 'clear to delete session
402 localwords.
403 (ispell-command-loop, ispell-change-dictionary)
404 (ispell-buffer-local-words): Preserve session localwords when
405 needed.
406
407 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
408 Preserve session localwords when needed.
409
f621ccf5
AM
4102012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
411
412 * ispell.el (ispell-insert-word) Remove unneeded function using
413 obsolete `translation-table-for-input'.
ef24141c
SM
414 (ispell-word, ispell-process-line, ispell-complete-word):
415 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 416
c2d1019e
CY
4172012-04-22 Chong Yidong <cyd@gnu.org>
418
419 * cus-edit.el (custom-variable-menu)
420 (custom-variable-reset-saved, custom-face-menu)
421 (custom-face-reset-saved): If there is no saved value, make the
422 "reset-saved" operation bring back the default (Bug#9509).
423 (custom-face-state): Properly detect themed faces.
424
eeddc531
CY
425 * faces.el (face-spec-set): Stop supporting deprecated form of
426 third arg.
427
dcbf5805
MA
4282012-04-22 Michael Albinus <michael.albinus@gmx.de>
429
430 Move functions from C to Lisp. Make non-blocking method calls
431 the default. Implement further D-Bus standard interfaces.
432
ef24141c
SM
433 * net/dbus.el (dbus-message-internal): Declare function.
434 Remove unneeded function declarations.
dcbf5805
MA
435 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
436 (dbus-message-type-method-return, dbus-message-type-error)
437 (dbus-message-type-signal): Declare variables. Remove local
438 definitions.
439 (dbus-interface-dbus, dbus-interface-peer)
440 (dbus-interface-introspectable, dbus-interface-properties)
441 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
442 Adapt docstring.
443 (dbus-interface-objectmanager): New defconst.
444 (dbus-call-method, dbus-call-method-asynchronously)
445 (dbus-send-signal, dbus-method-return-internal)
446 (dbus-method-error-internal, dbus-register-service)
447 (dbus-register-signal, dbus-register-method): New defuns, moved
448 from dbusbind.c
449 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
450 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
451 New defuns.
dcbf5805
MA
452 (dbus-call-method-non-blocking): Make it an obsolete function.
453 (dbus-unregister-object, dbus-unregister-service)
454 (dbus-handle-event, dbus-register-property)
455 (dbus-property-handler): Obey the new structure of
456 `bus-registered-objects'.
457 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
458 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
459 Use `dbus-call-method'.
460
cf20dee0
CY
4612012-04-22 Chong Yidong <cyd@gnu.org>
462
463 * cus-edit.el (custom-commands, custom-reset-menu)
464 (Custom-reset-standard): Tweak labels.
465 (custom-reset-button-menu): Change default to t.
466 (custom-buffer-create-internal): For the custom-reset-button-menu
467 case, put the revert button first.
468 (custom-group-subtitle): New face.
469 (custom-group-value-create): Align docstring to a specific column.
470
471 * wid-edit.el (widget-documentation-link-add): Don't handle
472 indentation in this function.
473 (widget-documentation-string-indent-to): New function.
474 (widget-documentation-string-value-create): Use it.
475
476 * autorevert.el (auto-revert):
477 * epg-config.el (epg):
478 * ibuffer.el (ibuffer):
479 * mpc.el (mpc):
480 * ses.el (ses):
481 * eshell/eshell.el (eshell):
482 * net/ange-ftp.el (ange-ftp):
483 * progmodes/ebnf2ps.el (postscript):
484 * progmodes/flymake.el (flymake):
485 * progmodes/prolog.el (prolog):
486 * progmodes/verilog-mode.el (verilog-mode):
487 * progmodes/which-func.el (which-func):
488 * term/xterm.el (xterm):
489 * textmodes/picture.el (picture):
490 * textmodes/tildify.el (tildify):
491 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
492 customization buffers.
493
583e23bd
AM
4942012-04-22 Alan Mackenzie <acm@muc.de>
495
496 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
497 Adding a ) can hide the resulting (..) from searches. Fix it.
498 Bound the backward search to the position of the existing (.
499
7dd51bf1
JB
5002012-04-21 Juanma Barranquero <lekktu@gmail.com>
501
502 * progmodes/verilog-mode.el (verilog-mode): Check whether
503 which-func-modes is t before adding verilog-mode.
504 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
505
d64a438f
LL
5062012-04-21 Leo Liu <sdl.web@gmail.com>
507
7dd51bf1 508 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 509
081e8d65
MV
5102012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
511
512 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
513 filling of the last column of a table (Bug#5635).
514 (woman-find-next-control-line): New arg, specifying an additional
515 regexp component for the control line.
516 (woman2-roff-buffer): Use it.
517 (woman-break-table): New function.
518 (woman2-TS): Use it.
519
5202012-04-21 Chong Yidong <cyd@gnu.org>
521
522 * woman.el (woman-set-buffer-display-table, woman-decode-region)
523 (woman-horizontal-escapes, woman-negative-vertical-space)
524 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
525 (WoMan-warn-ignored): Use ?\s instead of ?\ .
526
ed571ccb
SM
5272012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * minibuffer.el (completion-file-name-table): Complete user names.
530
39773899
LL
5312012-04-20 Leo Liu <sdl.web@gmail.com>
532
533 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
534 and pcase-let*.
535
de6ff46d
CY
5362012-04-20 Chong Yidong <cyd@gnu.org>
537
538 * server.el (server-execute): Respect initial-buffer-choice if it
539 is a string and there are no files to open (Bug#2825).
540 (server-create-window-system-frame, server-create-tty-frame):
541 Don't switch buffers here.
2d0e8e61
CY
542 (server-process-filter): Only try to open a window system frame if
543 compiled with graphical support (Bug#8314).
de6ff46d 544
54071013
DN
5452012-04-20 Dan Nicolaescu <dann@gnu.org>
546
547 * battery.el (battery-echo-area-format): Display remaining time
548 for sysfs backend too (Bug#11269).
549 (battery-linux-sysfs): Fix conditional for the charge.
550
f30d612a
CY
5512012-04-20 Chong Yidong <cyd@gnu.org>
552
c07a4c0b 553 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
554 (gdb-inferior-io--init-proc): New function.
555 (gdb-init-1): Use it.
556 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
557 responsible for allocating a new pty and hooking it to gdb when
558 the old pty gets an EIO due to process exit.
559 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
560 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
561 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
562
2116e93c
EZ
5632012-04-20 Eli Zaretskii <eliz@gnu.org>
564
565 * window.el (window-min-size, window-sizable, window-min-delta)
566 (window-max-delta, window--resizable, window-resizable)
567 (window-total-size, window-full-height-p, window-full-width-p)
568 (window-in-direction, window--resize-mini-window, window-resize)
569 (window--resize-child-windows-normal)
570 (window--resize-child-windows, window--resize-siblings)
571 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 572 (enlarge-window, shrink-window): Doc fixes.
2116e93c 573
c07a4c0b 5742012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 575
ef24141c
SM
576 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
577 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
578 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
579 pty process (Bug#11273).
580 (gdb-update): New arg to suppress talking to the gdb process.
581 (gdb-done-or-error): Use it.
582 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
583 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
584 sentinel not being called.
585
586 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
587
d02766ab
CY
588 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
589
c07a4c0b 5902012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
591
592 * net/network-stream.el (open-network-stream): Doc fix.
593
c07a4c0b 5942012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
595
596 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
597
c07a4c0b 5982012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
599
600 Ensure searching for keywords is case sensitive.
601
602 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
603 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
604 (c-defun-name, c-mark-function, c-cpp-define-name)
605 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 606 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 607
ef24141c
SM
608 * progmodes/cc-mode.el (c-font-lock-fontify-region):
609 Bind case-fold-search to nil.
f0f6bc35 610
c07a4c0b 6112012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
612
613 * mail/sendmail.el (mail-bury): Call return action with the right
614 Rmail buffer (Bug#11242).
615
9a864fa2
CY
616 * server.el (server-process-filter): Handle corner case where both
617 tty and nowait options are present (Bug#11102).
618
539aa513
EZ
6192012-04-20 Eli Zaretskii <eliz@gnu.org>
620
621 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
622 (top level): Put into the executable the ident-style '$Id:' tag on
623 windows-nt as well.
539aa513 624
cfc7d5da
SM
6252012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
626
627 * electric.el (electric-indent-post-self-insert-function): Check that
628 electric-indent-mode is enabled in current buffer.
629
5b01685c
JB
6302012-04-19 Juanma Barranquero <lekktu@gmail.com>
631
632 * imenu.el (imenu-progress-message): Restore; it is "used" in
633 erc/erc-imenu.el and net/snmp-mode.el.
634
4d6769e1
JB
6352012-04-19 Juanma Barranquero <lekktu@gmail.com>
636
637 * avoid.el (mouse-avoidance-mode): Mark unused arg.
638 (mouse-avoidance-nudge-mouse): Remove unused binding.
639
640 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
641
642 * descr-text.el (describe-char):
643 * progmodes/python.el (python-describe-symbol):
644 Don't call `toggle-read-only', set `buffer-read-only'.
645
646 * imenu.el (imenu-default-goto-function): Mark unused args.
647 (imenu-progress-message): Remove obsolete macro; all callers changed.
648
649 * subr.el (keymap-canonicalize): Remove unused binding.
650 (read-passwd): Mark unused arg.
651
652 * tutorial.el (tutorial--display-changes): Remove unused binding.
653 (tutorial--save-tutorial-to): Remove unused variable.
654
655 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
656 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
657 (package-generate-autoloads, package-menu--generate)
658 (package-menu--find-upgrades): Remove unused bindings.
659
660 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
661 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
662 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
663 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
664 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
665 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
666 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
667 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
668 (cua-delete-char-rectangle): Mark unused args.
669 (cua-align-rectangle): Remove unused binding.
670
671 * mail/rmail.el (compilation--message->loc)
672 (epa--find-coding-system-for-mime-charset): Declare.
673
674 * net/dbus.el (dbus-register-service): Declare.
675 (dbus-name-owner-changed-handler): Remove unused binding.
676
677 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
678 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
679 (nxml-scan-backward-within): Mark unused arg.
680 (nxml-dynamic-markup-word): Remove unused binding.
681
682 * mouse.el (mouse-menu-major-mode-map):
683 * emacs-lisp/authors.el (authors-scan-change-log)
684 (authors-add-to-author-list):
685 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
686 * emacs-lisp/smie.el (smie-auto-fill):
687 * mail/sendmail.el (mail-bury):
688 * mail/unrmail.el (unrmail):
689 * net/tls.el (open-tls-stream):
690 * textmodes/picture.el (picture-mouse-set-point):
691 Remove unused bindings.
692
8c8fc5df
MA
6932012-04-19 Michael Albinus <michael.albinus@gmx.de>
694
695 * net/tramp.el (tramp-action-password): Let-bind
696 `enable-recursive-minibuffers' to t.
697
a77b0ac9
SS
6982012-04-18 Sam Steingold <sds@gnu.org>
699
700 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
701 instead of 'string to accommodate values like [f11].
702 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
703 * progmodes/gdb-mi.el: Likewise.
704
12a106a9
LL
7052012-04-18 Leo Liu <sdl.web@gmail.com>
706
707 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
708 current buffer.
709 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
710 LOCAL is nil.
711
bc6494ef
CY
7122012-04-18 Chong Yidong <cyd@gnu.org>
713
714 * simple.el (line-move): Use forward-line if in batch mode
715 (Bug#11053).
716
c09c46b2
CS
7172012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
718
719 * files.el (after-find-file): Do not try to add a final newline if
720 the buffer is read-only (Bug#11156).
721
5f6530ea
RS
7222012-04-17 Richard Stallman <rms@gnu.org>
723
724 * mail/rmail.el (rmail-start-mail):
725 Pass (rmail-mail-return...) for the return-action.
726 Pass (rmail-yank-current-message...) for the yank-action.
727 (rmail-yank-current-message): New function.
728 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
729 (rmail-reply): Likewise.
730 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
731
732 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 733 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
734 buffer, not newbuf.
735
197b6f3c
JB
7362012-04-17 Juanma Barranquero <lekktu@gmail.com>
737
738 * server.el (server-ensure-safe-dir): Simplify.
739
2311d8e5 7402012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 741
2311d8e5
GM
742 * emacs-lisp/smie.el: Provide smarter auto-filling.
743 (smie-auto-fill): New function.
744 (smie-setup): Use it.
98fb480e 745
2311d8e5
GM
746 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
747
7482012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
749
750 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
751 (comment-indent): Use it.
752
2311d8e5 7532012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
754
755 * ses.el: The overall change is to add cell renaming, that is
756 setting fancy names for cell symbols other than name matching
757 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 758 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 759 (ses-create-cell-variable): New defun.
2311d8e5 760 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
761 (ses-relocate-formula): Relocate formulas only for cells the
762 symbols of which are not renamed, i.e. symbols whose names do not
763 match regexp "\\`[A-Z]+[0-9]+\\'".
764 (ses-relocate-all): Relocate values only for cells the symbols of
765 which are not renamed.
766 (ses-load): Create cells variables as the (ses-cell ...) are read,
767 in order to check row col consistency with cell symbol name only
768 for cells that are not renamed.
769 (ses-replace-name-in-formula): New defun.
770 (ses-rename-cell): New defun.
4bdf2ad2 771
fc72b15c
PO
7722012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
773
774 * progmodes/perl-mode.el (perl-indent-parens-as-block):
775 New option (bug#11118).
776 (perl-calculate-indent): Respect it.
777
12e10e61
GM
7782012-04-17 Glenn Morris <rgm@gnu.org>
779
780 * dired-aux.el (dired-mark-read-string): Doc fix.
781
30009afd
DA
7822012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
783
784 * dired-aux.el (dired-mark-read-string): Offer optional completion.
785 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
786
41f03f4d
GM
7872012-04-17 Glenn Morris <rgm@gnu.org>
788
789 * mouse.el (mouse-drag-track):
790 * speedbar.el (speedbar-frame-mode):
791 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
792
f45f90f3
LL
7932012-04-16 Leo Liu <sdl.web@gmail.com>
794
795 * progmodes/python.el: Trivial cleanup.
796
94ee8db5
GM
7972012-04-16 Glenn Morris <rgm@gnu.org>
798
121b8917
GM
799 * vc/vc.el (vc-string-prefix-p):
800 * vc/pcvs-util.el (cvs-string-prefix-p):
801 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
802 * mpc.el (mpc-string-prefix-p):
803 Make all of these into obsolete aliases for string-prefix-p.
804 Update callers.
805 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
806
1197ecfa
GM
807 * textmodes/two-column.el: Move custom options to the start.
808 (frame-width): Remove compat definition.
809 (2C-associate-buffer, 2C-dissociate):
810 Use with-current-buffer rather than save-excursion.
811 (2C-dissociate): Force a mode-line update.
812 (2C-autoscroll): Use ignore-errors.
813
099e7202
GM
814 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
815 Autoload trivia.
816
bf350d6a
GM
817 * emacs-lisp/cl-extra.el (*random-state*):
818 Remove unnecessary declaration.
819
0e829eab
GM
820 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
821
e3ad7552
GM
822 * play/cookie1.el (cookie-snarf):
823 Give an explicit error if input file cannot be read.
824
68892d27
GM
825 * play/yow.el (yow-file): Use expand-file-name rather than concat.
826
20f0c46d
GM
827 * progmodes/perl-mode.el (c-macro-expand):
828 Remove unnecessary autoload (it is in loaddefs.el).
829
5a0978ce
GM
830 * textmodes/picture.el (picture-desired-column)
831 (picture-update-desired-column): Convert comments to doc-strings.
832 (picture-substitute): Remove function.
833 (picture-mode-map): Initialize in the defvar.
834
6b955486
GM
835 * woman.el: Remove eval-after-load for tar-mode.
836 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
837 (woman-tar-extract-file): Autoload it.
838
94ee8db5
GM
839 * frame.el (automatic-hscrolling): Make this alias obsolete.
840
177eca34
AM
8412012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
842
843 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 844 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
845 (ispell-dictionary-base-alist): Revert to original XEmacs
846 friendly version for default. [:alpha:] will be added in
847 `ispell-set-spellchecker-params' if needed
177eca34 848
c505aaeb
CY
8492012-04-16 Chong Yidong <cyd@gnu.org>
850
851 * image.el (imagemagick--extension-regexp): New variable.
852 (imagemagick-register-types): Use it.
853 (imagemagick-types-inhibit): Add :set function. Allow new value
854 of t to inhibit all types.
855
856 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
857 so we can preload it.
858
859 * loadup.el (fboundp): Preload regexp-opt, needed by
860 imagemagick-register-types.
861
60efac0f
CY
8622012-04-15 Chong Yidong <cyd@gnu.org>
863
864 * frame.el (scrolling): Remove nearly unused customization group.
865
866 * scroll-all.el (scroll-all-mode): Move to windows group.
867
5dd1713e
CY
8682012-04-15 Chong Yidong <cyd@gnu.org>
869
870 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
871
e6fd457e
CY
8722012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 875 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 876
e153c136
GM
8772012-04-15 Glenn Morris <rgm@gnu.org>
878
879 * simple.el (process-file-side-effects): Doc fix.
880
e6fd457e 8812012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
882
883 * international/mule-cmds.el (set-language-environment): Doc fix.
884
3603c3b1
JB
8852012-04-14 Juanma Barranquero <lekktu@gmail.com>
886
887 * server.el (server-auth-key, server-generate-key): Doc fixes.
888 (server-get-auth-key): Doc fix. Use `string-match-p'.
889 (server-start): Reflow docstring.
890
e6de100c
LI
8912012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
892
893 * server.el (server-generate-key): `called-interactively-p'
894 requires a parameter.
895
29734c21
MN
8962012-04-14 Michal Nazarewicz <mina86@mina86.com>
897
898 * server.el (server-auth-key): New variable.
75f1671a 899 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
900 (server-start): Use the new variable and functions to allow
901 setting a permanent server key (bug#9423).
902
d65c9521
LL
9032012-04-14 Leo Liu <sdl.web@gmail.com>
904
905 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
906
5ae255c7
PE
9072012-04-14 Paul Eggert <eggert@cs.ucla.edu>
908
909 Spelling fixes.
910 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
911 Emacs uses American spelling.
912
d5e6342e
JB
9132012-04-14 Juanma Barranquero <lekktu@gmail.com>
914
915 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
916 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
917 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
918 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
919
ab036cd7
SM
9202012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
921
922 * progmodes/which-func.el (which-func-modes): Change default.
923
35dc09a1 9242012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
925
926 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
927 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
928
35dc09a1 9292012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
930
931 * custom.el (custom-theme-set-variables): Doc fix.
932
35dc09a1 9332012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
934
935 * international/mule.el (set-auto-coding-for-load): Doc fix.
936
35dc09a1 9372012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 938
35dc09a1
GM
939 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
940 imenu work again for Objective C Mode. Correct the *-index values,
941 these having been disturbed by a previous change in 2011-08.
57f845ee 942
0de3da9f
AM
943 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
944 Correct two search limits.
945
35dc09a1 9462012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
947
948 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
949
35dc09a1 9502012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
951
952 * international/characters.el: Fix sorting.
953
35dc09a1 9542012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
955
956 * international/characters.el: Add more missing Latin case pairs.
957
35dc09a1 9582012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
959
960 * files.el (dir-locals-set-class-variables): Doc fix.
961
35dc09a1 9622012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 963
3f1b5bf8
EZ
964 * international/characters.el: Add set-case-syntax-pair call for
965 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
966 counterpart. (Bug#11209)
967
9f847f41
EZ
968 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
969
35dc09a1 9702012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
971
972 * calendar/holidays.el (calendar-check-holidays): Doc fix.
973
35dc09a1 9742012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 975
35dc09a1
GM
976 * textmodes/ispell.el (ispell-dictionary-base-alist):
977 Add data for Hebrew.
e2627d21 978
35dc09a1 9792012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 980
35dc09a1
GM
981 * net/rcirc.el (rcirc-cmd-quit):
982 Revert 2012-03-18 change (Bug#11192).
5c14e333 983
35dc09a1 9842012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
985
986 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
987
35dc09a1 9882012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 989
4517fe3a
SM
990 * minibuffer.el (completion-in-region-mode-map):
991 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 992
b472a594
VD
9932012-04-13 Vivek Dasmohapatra <vivek@etla.org>
994
995 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
996
09b95ce3
MY
9972012-04-13 Masatake YAMATO <yamato@redhat.com>
998
999 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1000 to allow `C-M-f' and `C-M-b' to move to the nearest path
1001 separator (bug#9511).
1002
4b63a9ca
LI
10032012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1004
1005 * avoid.el: Require cl when compiling. And also move the
1006 `provide' to the end.
1007
7b55b8bf
TV
10082012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1009
1010 * avoid.el (mouse-avoidance-banish-position): New variable.
1011 (mouse-avoidance-banish-destination): Use it (bug#10165).
1012
adedaa1f
LL
10132012-04-13 Leo Liu <sdl.web@gmail.com>
1014
1015 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1016
70e74021
KB
10172012-04-13 Ken Brown <kbrown@cornell.edu>
1018
1019 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1020 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1021 (browse-url-filename-alist): For the same reason, don't modify
1022 file:// URLs on Cygwin.
1023
e75e89ba
SM
10242012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1027 the region on shift if the binding is already shifted (bug#11221).
1028
82f289a4
GM
10292012-04-12 Glenn Morris <rgm@gnu.org>
1030
1031 * mail/mailpost.el: Move to obsolete/.
1032
d333dc4c
DA
10332012-04-12 Drew Adams <drew.adams@oracle.com>
1034
1035 * imenu.el (imenu--generic-function): Ignore invisible definitions
1036 (bug#10123).
1037
0d15b5ba
VD
10382012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1039
1040 * hexl.el (hexl-bits): New variable.
1041 (hexl-options): Mention the variable in the doc string.
75f1671a 1042 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1043 (hexl-mode): Mention the new variable.
75f1671a
JB
1044 (hexl-mode, hexl-current-address, hexl-current-address):
1045 Use the displen.
0d15b5ba
VD
1046 (hexl-ascii-start-column): New function.
1047 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1048 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1049
64a440db
AM
10502012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1051
1052 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1053 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1054 the encoding, as expected by hunspell.
1055
6decb6c2
SM
10562012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * battery.el (battery--linux-sysfs-regexp): New const.
1059 (battery-status-function): Use it. Remove yeeloong special case.
1060 (battery-yeeloong-sysfs): Remove.
1061 (battery-echo-area-format): Remove yeeloong special case.
1062
088be6fb
SM
10632012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1064
6622e416
SM
1065 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1066 Reported by Noah Friedman.
1067
088be6fb
SM
1068 * subr.el (read-passwd): Use read-string.
1069
b49f886e
LMI
10702012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1071
1072 * vcursor.el (vcursor-move): Increase the priority of the overlay
1073 (bug#9663).
1074
a63067fc
DD
10752012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1076
1077 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1078 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1079
ac3cf14a
WS
10802012-04-11 William Stevenson <yhvh2000@gmail.com>
1081
1082 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1083 define-minor-mode (bug#10760).
1084
c4fc691b 10852012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1086
4d6769e1 1087 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1088 that directories matching `grep-find-ignored-files' won't be
1089 pruned (bug#10351).
1090
af23e2e5
CY
10912012-04-11 Chong Yidong <cyd@gnu.org>
1092
1093 * startup.el (command-line): Remove support for long-obsolete
1094 variable font-lock-face-attributes.
1095
ab7ce8c1
GM
10962012-04-11 Glenn Morris <rgm@gnu.org>
1097
1098 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1099
de8c03dc
SM
11002012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * window.el (window--state-get-1): Obey window-point-insertion-type.
1103
050cc68b
LB
11042012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1105
1106 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1107 to previous function when point is on the first character of a
75f1671a 1108 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1109
a38c310c
GM
11102012-04-11 Glenn Morris <rgm@gnu.org>
1111
effed0c2
GM
1112 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1113 not just file-errors.
1114
a38c310c
GM
1115 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1116 (vc-bzr-sha1): Use internal sha1.
1117
0221e323
SM
11182012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1121
43956923
SG
11222012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1123
1124 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1125 that start in the middle of the line (bug#10496).
1126
6a8c9eaf
DN
11272012-04-10 Dan Nicolaescu <dann@gnu.org>
1128
1129 * battery.el (battery-linux-proc-acpi): Only one battery is
1130 discharged at a time, but that seems to confuse battery.el when
1131 computing `rate-type' for the battery not being discharged
1132 (bug#10332).
1133
1930bf5d
SM
11342012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1135
2a718f6f
SM
1136 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1137
599430d0
SM
1138 * international/quail.el: Use dolist and simplify.
1139 (quail-define-package, quail-update-keyboard-layout)
1140 (quail-define-rules): Use dolist.
1141 (quail-insert-kbd-layout, quail-get-translation): CSE.
1142
a2754b6c
SM
1143 * tmm.el: Use dolist, remove left over hook.
1144 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1145 Use dolist.
1146 (calendar-load-hook): Don't mess with it.
1147
1930bf5d
SM
1148 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1149 Use derived-mode-p. Run the diff asynchronously.
1150
9f67961c
LMI
11512012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1152
1153 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1154
2a8ce227
JB
11552012-04-10 Juanma Barranquero <lekktu@gmail.com>
1156
1157 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1158 (list-dynamic-libraries--loaded): New function.
1159 (list-dynamic-libraries--refresh): Use it.
1160
8f33b5f8
NW
11612012-04-10 Nathan Weizenbaum <nweiz@google.com>
1162
1930bf5d
SM
1163 * progmodes/python.el (python-fill-paragraph):
1164 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1165 disabled (bug#7018).
1166
b12f0439
L
11672012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1168
1930bf5d 1169 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1170 DOS/MS Windows for the Baltic languages. There are still plenty
1171 of texts written in this encoding/codepage (bug#6519).
b12f0439 1172
57c3bd01
GM
11732012-04-10 Glenn Morris <rgm@gnu.org>
1174
1175 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1176 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1177
6c3eab30
FA
11782012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1179
1930bf5d 1180 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1181 next-line "n" and previous-line "p" in order to make recentf more
1182 consistent with ibuffer, dired or org-mode (bug#9387).
1183
24d78a88
LMI
11842012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1185
bc72b5d9
LMI
1186 * image.el (put-image): Return the overlay created instead of the
1187 optional input string (bug#7834). Note that this may break code
1188 that is (for some reason or other) depending on `put-image'
1189 returning the string.
1190
bd2dba5a
LMI
1191 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1192
74beb59f
LMI
1193 * simple.el (zap-to-char): Allow zapping using input methods
1194 (bug#1580).
1195
24d78a88
LMI
1196 * textmodes/fill.el (fill-region): Leave point and mark where they
1197 were before filling (bug#5399).
1198
263f20cd
GM
11992012-04-09 Glenn Morris <rgm@gnu.org>
1200
1201 * version.el (emacs-bzr-get-version):
1202 Handle lightweight checkouts of local branches.
1203
58d1f797
AS
12042012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1205
263f20cd 1206 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1207
b4d3bc10
CY
12082012-04-09 Chong Yidong <cyd@gnu.org>
1209
1210 * custom.el (custom-variable-p): Return nil for non-symbol
1211 arguments instead of signaling an error.
1212 (user-variable-p): Obsolete alias for custom-variable-p.
1213
1214 * apropos.el (apropos-variable):
1215 * files-x.el (read-file-local-variable):
1216 * simple.el (set-variable):
1217 * woman.el (woman-mini-help):
1218 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1219
fd06db5d
GM
12202012-04-09 Glenn Morris <rgm@gnu.org>
1221
e5fcdb5e
GM
1222 * startup.el (normal-top-level): Don't look for leim-list.el
1223 in places where it will not be found. (Bug#910)
1224
fd06db5d
GM
1225 * international/mule-cmds.el (set-default-coding-systems):
1226 * files.el (normal-mode):
1227 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1228 This function was removed with ucs-tables.el in 2008.
1229
b39bb7e1
EZ
12302012-04-08 Eli Zaretskii <eliz@gnu.org>
1231
1232 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1233 ispell-encoding8-command to "-i", without a trailing space.
1234 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1235 separate command-line arguments, to specify the encoding, since
1236 that's how hunspell expects it.
1237
5c5b8e23
GM
12382012-04-08 Glenn Morris <rgm@gnu.org>
1239
1240 * loadup.el: Load bindings before cus-start.
1241 This reduces somewhat the number of "rogue" settings in emacs -Q.
1242
a1ed8b05
GM
12432012-04-07 Glenn Morris <rgm@gnu.org>
1244
1245 * version.el (emacs-bzr-get-version): New function.
dfae128a 1246 (emacs-bzr-version): New variable.
a1ed8b05
GM
1247 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1248 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1249
b142f158
EZ
12502012-04-07 Eli Zaretskii <eliz@gnu.org>
1251
dfae128a
GM
1252 * international/uni-bidi.el, international/uni-category.el:
1253 * international/uni-combining.el, international/uni-decimal.el:
1254 * international/uni-decomposition.el, international/uni-digit.el:
1255 * international/uni-lowercase.el, international/uni-mirrored.el:
1256 * international/uni-name.el, international/uni-numeric.el:
1257 * international/uni-titlecase.el, international/uni-uppercase.el:
1258 Update for Unicode 6.1.
b142f158 1259
9078ead6
EZ
12602012-04-07 Eli Zaretskii <eliz@gnu.org>
1261
1262 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1263
f23d2c7d
LMI
12642012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1265
1266 * window.el (shrink-window): Mention the `window-min-height'
1267 variable in the doc string.
1268
0a0a3573
BG
12692012-04-05 Bastien Guerry <bzg@altern.org>
1270
1271 * color.el (color-lighten-name): Fix typo.
1272
e5248ac9
SM
12732012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * server.el (server--on-display-p): New function.
1276 (server--on-display-p): Use it.
1277
b4243e22
GV
12782012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1279
1280 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1281 (bug#11145).
1282
305d9f44
SM
12832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * comint.el (comint--common-quoted-suffix): Check string boundary
1286 before comparing (bug#11158).
1287 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1288
3d439cd1
CY
12892012-04-04 Chong Yidong <cyd@gnu.org>
1290
321cc491
CY
1291 * minibuffer.el (completion-extra-properties): Doc fix.
1292
3d439cd1
CY
1293 * subr.el (delayed-warnings-hook): Doc fix.
1294
2d562c0f
DU
12952012-04-04 Daiki Ueno <ueno@unixuser.org>
1296
1297 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1298 selection (Bug#11159).
1299 (epa-insert-keys): Inform that the default public key will be
1300 exported if no key is selected.
1301
4443f204
RS
13022012-04-04 Richard Stallman <rms@gnu.org>
1303
1304 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1305
529c06b6
CY
13062012-04-03 Chong Yidong <cyd@gnu.org>
1307
1308 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1309 mail-insert-file, not its obsolete alias mail-attach-file.
1310
66b907dc
MA
13112012-04-03 Michael Albinus <michael.albinus@gmx.de>
1312
1313 * notifications.el (notifications-notify): Fix docstring.
1314
c0ea195d
GM
13152012-04-02 Glenn Morris <rgm@gnu.org>
1316
1317 * emacs-lisp/authors.el (authors-aliases): Another addition.
1318
5ca64e00
MA
13192012-04-02 Michael Albinus <michael.albinus@gmx.de>
1320
1321 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1322 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1323 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1324
42ee526b
CY
13252012-04-01 Chong Yidong <cyd@gnu.org>
1326
1327 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1328 Handle root directory properly.
1329 (copy-directory): Caller changed.
1330
1331 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1332 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1333
0b021094
GM
13342012-03-31 Glenn Morris <rgm@gnu.org>
1335
40f86458
GM
1336 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1337
7019c177
GM
1338 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1339
a1daddd6
GM
1340 * calendar/calendar.el (calendar-window-list)
1341 (calendar-hide-window): Restore. (Bug#11140)
1342 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1343
0b021094
GM
1344 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1345
40311efc
TV
13462012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1347
1348 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1349 Check if file is a symlink (Bug#10489).
1350
1351 * files.el (copy-directory): Likewise.
1352
5319014e
CY
13532012-03-30 Chong Yidong <cyd@gnu.org>
1354
1355 * image.el (imagemagick-types-inhibit)
1356 (imagemagick-register-types): Doc fix.
1357
935d1290
AM
13582012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1359
ef24141c
SM
1360 * ispell.el (ispell-get-extended-character-mode):
1361 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1362 and treats ~word as ordinary words in pipe mode.
935d1290 1363
61c6e8fd
GM
13642012-03-30 Glenn Morris <rgm@gnu.org>
1365
1366 * tutorial.el (help-with-tutorial): Ensure local variables don't
1367 happen to make the buffer read-only. (Bug#11127)
1368
81fdff00
SM
13692012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1372 (perl-calculate-indent): Return `noindent' in strings.
1373
6e7a6ec0
SS
13742012-03-28 Sam Steingold <sds@gnu.org>
1375
1376 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1377 instead of the broken adhockery which does not prevent calendar
1378 buffers from being displayed at random after exit.
1379 (calendar-window-list, calendar-hide-window): Remove the broken
1380 adhockery.
1381
fee88ca0
GM
13822012-03-28 Glenn Morris <rgm@gnu.org>
1383
1384 * replace.el (query-replace-map): Doc fix.
1385
38de3354
AS
13862012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1387
1388 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1389 contents. (Bug#11109)
1390
b973155e
SM
13912012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1394 (bug#11077).
1395 (avl-tree--check, avl-tree--check-node): New funs.
1396
dcb6e7b3
MR
13972012-03-27 Martin Rudalics <rudalics@gmx.at>
1398
1399 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1400 (switch-to-prev-buffer, switch-to-next-buffer):
1401 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1402 showing a buffer already is done on the same frame.
1403
b4fa35fa
GM
14042012-03-27 Glenn Morris <rgm@gnu.org>
1405
1406 * startup.el (mail-host-address): Doc fix.
1407
f9210e18
SM
14082012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1409
1410 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1411 than 197 variables.
1412
c0bf7753
AF
14132012-03-26 Ami Fischman <ami@fischman.org>
1414
1415 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1416
33da7b16
GM
14172012-03-26 Glenn Morris <rgm@gnu.org>
1418
02243d9d
GM
1419 * files.el (save-buffers-kill-emacs): Doc fix.
1420
33da7b16
GM
1421 * startup.el (normal-top-level, command-line, command-line-1):
1422 Give them doc strings.
1423
e5a69fd0
EZ
14242012-03-25 Eli Zaretskii <eliz@gnu.org>
1425
1426 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1427 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1428
9a69676a
CY
14292012-03-25 Chong Yidong <cyd@gnu.org>
1430
4125cb8b
CY
1431 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1432 theme if it was previously enabled before (Bug#11031).
1433
dd470960
CY
1434 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1435 spec with custom-face-get-current-spec if its :shown-value is not
1436 determined yet (Bug#9337).
4125cb8b 1437 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1438
9a69676a
CY
1439 * button.el (button-at): Minor addition to docstring.
1440
6e7e90fa
SL
14412012-03-24 Simon Leinen <simon.leinen@gmail.com>
1442
1443 * vc/vc.el (vc-merge): Fix a prompt.
1444
f06e2758
CY
14452012-03-24 Chong Yidong <cyd@gnu.org>
1446
1447 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1448 point (Bug#9623).
1449
6e7e90fa
SL
1450 * button.el (button-at): Minor addition to docstring.
1451
b9d0879b
SM
14522012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * newcomment.el (comment-choose-indent): No space after BOL.
1455
e71cebb3
SS
14562012-03-22 Sam Steingold <sds@gnu.org>
1457
1458 * window.el (switch-to-prev-buffer): Revert last patch because the
1459 bug turned out to be an advertised feature (Elisp manual 28.14).
1460
335aff35
GM
14612012-03-22 Glenn Morris <rgm@gnu.org>
1462
1463 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1464 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1465
c676576a
LMI
14662012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1467
1468 * net/network-stream.el (network-stream-open-starttls): Make error
1469 message under Windows be less misleading.
1470
126f3d39
LW
14712012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1472
1473 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1474 understands (bug#9942).
1475
64fee311
CY
14762012-03-22 Chong Yidong <cyd@gnu.org>
1477
1478 * simple.el (end-of-visible-line): Handle return value of
1479 next-single-property-change properly (Bug#9371).
1480
a640d29a
KH
14812012-03-22 Kenichi Handa <handa@m17n.org>
1482
1483 * international/quail.el (quail-insert-kbd-layout): Fix previous
1484 change. To avoid unwanted bidi reordering, use
1485 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1486
39675016
DG
14872012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1488
1489 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1490 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1491 (ruby-beginning-of-indent): Be more careful with the difference
1492 between word-boundary and symbol boundary.
1493 (ruby-mode-syntax-table): Make : a symbol constituent.
1494
0a6934fc 14952012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1496
3d008e4f
SM
1497 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1498
0a6934fc
SM
14992012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1500
af67c9d7
SM
1501 * progmodes/etags.el (tags-completion-at-point-function):
1502 Improve last fix.
1503
1acad97c
SM
1504 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1505
e298b5da
SS
15062012-03-21 Sam Steingold <sds@gnu.org>
1507
1508 * progmodes/etags.el (tags-completion-at-point-function):
1509 Avoid the error when point is inside the pattern.
1510
91d82a70
JY
15112012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1512
1513 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1514 line (Bug#10855).
1515
69188b79
CY
15162012-03-21 Drew Adams <drew.adams@oracle.com>
1517
1518 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1519
99fc91fe
AK
15202012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1521
1522 * ido.el (ido-set-current-directory, ido-read-internal)
1523 (ido-choose-completion-string, ido-completion-help): Handle nil
1524 value of ido-completion-buffer (Bug#11008).
1525
087bbb4c
SS
15262012-03-21 Sam Steingold <sds@gnu.org>
1527
1528 * window.el (switch-to-prev-buffer): Do not switch to a visible
1529 window previous buffer, just like with the frame previous buffers.
1530
fb5b8aca
CY
15312012-03-21 Chong Yidong <cyd@gnu.org>
1532
1533 * faces.el (make-face, make-empty-face, copy-face):
1534 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1535 Doc fixes.
1536
dc9924b8
SM
15372012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1540 (widget-complete): Remove broken use of it.
1541
f0bcceb9
CY
15422012-03-20 Chong Yidong <cyd@gnu.org>
1543
dc9924b8
SM
1544 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1545 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1546 characters.
1547
ee52ebf3
TH
15482012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1549
1550 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1551 to draw rectangles, not squares. (Regression introduced by revno
1552 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1553
4c5779ab
CY
15542012-03-18 Chong Yidong <cyd@gnu.org>
1555
1556 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1557 it is not yet defined (for temacs).
1558
15360934
LL
15592012-03-18 Leo Liu <sdl.web@gmail.com>
1560
dc9924b8 1561 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1562
d9a8eb66
EZ
15632012-03-17 Eli Zaretskii <eliz@gnu.org>
1564
1565 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1566 (ispell-choices-win-default-height, ispell-silently-savep)
1567 (ispell-dictionary-alist, ispell-encoding8-command)
1568 (ispell-check-version, ispell-aspell-find-dictionary)
1569 (ispell-valid-dictionary-list, ispell-words-keyword)
1570 (ispell-get-word, ispell-internal-change-dictionary)
1571 (ispell-region, ispell-skip-region-list)
1572 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1573 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1574 (ispell-message-text-end, ispell-message)
1575 (ispell-buffer-local-parsing): Doc fix.
1576
f02ff80d
J
15772012-03-13 Jambunathan K <kjambunathan@gmail.com>
1578
1579 * htmlfontify.el: Add support for code block fontification for ODT
1580 export (Bug #9914).
1581 (hfy-optimisations): Define new option
1582 `body-text-only'
1583 (hfy-fontify-buffer): Honor above setting.
1584 (hfy-begin-span, hfy-end-span): New routines factored out form
1585 `hfy-fontify-buffer'.
1586 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1587 that permit insertion of custom tags.
1588 (hfy-fontify-buffer): Use above handlers.
1589 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1590 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1591 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1592 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1593 bind a special variable `hfy-user-sheet-assoc'.
1594 (htmlfontify-string): New defun.
1595 (hfy-compile-face-map): Make sure that the last char in the
1596 buffer is correctly fontified.
1597 (hfy-face-resolve-face): Whitespace only change.
1598
9ac7a13f
EZ
15992012-03-17 Eli Zaretskii <eliz@gnu.org>
1600
1601 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1602 message more clear.
1603
e2b5bdd7
LL
16042012-03-16 Leo Liu <sdl.web@gmail.com>
1605
1606 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1607
2e492df3
AM
16082012-03-16 Alan Mackenzie <acm@muc.de>
1609
1610 Further optimise the handling of large macros.
1611
1612 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1613 limit to a call of `c-literal-limits'.
1614 (c-determine-+ve-limit): New function.
dc9924b8
SM
1615 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1616 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1617 In CASE 5B, restrict a search limit to 500.
1618 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1619
1620 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1621 Restrict macro bounds to +-500 from after-change's BEG END.
1622
50e94f0c
LL
16232012-03-16 Leo Liu <sdl.web@gmail.com>
1624
1625 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1626
6f09f6ed
AH
16272012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1628
1629 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1630 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1631
c7e73d51
GM
16322012-03-16 Glenn Morris <rgm@gnu.org>
1633
da986230
GM
1634 * view.el (view-buffer, view-buffer-other-window)
1635 (view-buffer-other-frame): Doc fixes re special mode-class.
1636
0835f01e
GM
1637 * subr.el (eval-after-load): If named feature is provided not from
1638 a file, run after-load forms. (Bug#10946)
1639
c7e73d51
GM
1640 * calendar/calendar.el (calendar-insert-at-column):
1641 Handle non-unit-width characters a bit better. (Bug#10978)
1642
3f2eafd1
CY
16432012-03-15 Chong Yidong <cyd@gnu.org>
1644
1645 * emacs-lisp/ring.el (ring-extend): New function.
1646 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1647
1648 * comint.el (comint-read-input-ring)
1649 (comint-add-to-input-history): Grow comint-input-ring lazily.
1650
103af3fe
SM
16512012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1652
663b1677
SM
1653 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1654 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1655
103af3fe
SM
1656 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1657 (imenu-add-to-menubar): Don't add a redundant index.
1658 (imenu-update-menubar): Handle a dynamically composed keymap.
1659
899cb7cb
KY
16602012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1661
1662 * mail/sendmail.el (mail-encode-header):
1663 Bind rfc2047-encode-encoded-words to nil.
1664
3809f91d
GM
16652012-03-13 Glenn Morris <rgm@gnu.org>
1666
1667 * calendar/calendar.el (calendar-string-spread):
1668 Handle non-unit-width characters a bit better. (Bug#10978)
1669
9e345a01
LL
16702012-03-13 Leo Liu <sdl.web@gmail.com>
1671
1672 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1673 directory and file as argument (Bug#10822).
1674
4a07df36
KS
16752012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1676
1677 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1678 For dynamically generated code, follow $PC.
1679 (gdb-disassembly-handler-custom): Handle no function name case.
1680
4aaa9356
TL
16812012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1682
1683 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1684 * emulation/ws-mode.el (ws-query-replace):
1685 * sort.el (sort-regexp-fields):
1686 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1687
225979da
SM
16882012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * dabbrev.el: Fix cycle completion order (bug#10963).
1691 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1692 (dabbrev-completion): Don't use an obarray; provide
1693 a cycle-sort-function.
1694
e2f1fdab
LL
16952012-03-12 Leo Liu <sdl.web@gmail.com>
1696
dc9924b8 1697 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1698 (kill-do-not-save-duplicates): Doc fix.
1699
b19490ed
SM
17002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * dabbrev.el: Fix cycle completion (bug#10963).
1703 Use lexical binding and wrap to 80 columns.
1704 (dabbrev-completion): Delay computing the list of completions.
1705
4b05d722
KH
17062012-03-12 Kenichi Handa <handa@m17n.org>
1707
1708 * international/quail.el (quail-insert-kbd-layout): Surround each
1709 row by LRO and PDF instead of inserting many LRMs. Pad the left
1710 and right of each non-spacing marks. Insert invisible space
1711 between lower and upper characters to prevent composition.
1712
dbbc2e69
SM
17132012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 * minibuffer.el (minibuffer-complete): Don't get confused when the
1716 function is run twice via different commands (bug#10958).
1717 (complete-with-action): Fix docstring.
1718
292112ed
CY
17192012-03-12 Chong Yidong <cyd@gnu.org>
1720
5d1ac394
CY
1721 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1722 (nxml-completion-at-point-function): New function.
1723 (nxml-mode): Use it.
1724 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1725
292112ed
CY
1726 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1727 Load generated autoloads file before byte compiling (Bug#10970).
1728 (package--make-autoloads-and-compile): New helper fun.
1729
4098f8f7
CS
17302012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1731
1732 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1733
8f754691
MA
17342012-03-11 Michael Albinus <michael.albinus@gmx.de>
1735
1736 * autorevert.el (auto-revert-handler): Ensure, that
1737 file-readable-p is applied only for local files or in
1738 auto-revert-tail-mode.
1739
e29ab36b
AS
17402012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1741
dbbc2e69
SM
1742 * server.el (server-eval-at): Handle non-tcp connections.
1743 Decode result string.
ad0bf5b6 1744
e29ab36b
AS
1745 * server.el (server-msg-size): New constant.
1746 (server-reply-print): New function.
1747 (server-eval-and-print): Use it.
1748 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1749 Handle -print-nonl.
1750
de5939ba
CS
17512012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1752
1753 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1754 (Bug#10987).
1755
0c93eabf
CY
17562012-03-11 Chong Yidong <cyd@gnu.org>
1757
397a688f
CY
1758 * simple.el (goto-line): Doc fix (Bug#9938).
1759
2cc775f9
CY
1760 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1761
0c93eabf
CY
1762 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1763 when finished (Bug#10963).
1764
c491fa41
MR
17652012-03-11 Martin Rudalics <rudalics@gmx.at>
1766
1767 * window.el (split-window-below): Fix bug in case where
1768 split-window-keep-point is nil (Bug#10971).
1769
300e8fa5
JL
17702012-03-11 Juri Linkov <juri@jurta.org>
1771
1772 * replace.el (replace-highlight): Set isearch-word to nil
1773 unconditionally. (Bug#10887)
1774
dbf6c5a1
EZ
17752012-03-10 Eli Zaretskii <eliz@gnu.org>
1776
1777 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1778 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1779 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1780 (mairix-widget-create-query): Add usage information about mairix
1781 search forms: negating words, searching for substrings, etc.
1782
b9e501de
JP
17832012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1784
1785 * international/fontset.el (font-encoding-alist): Add an entry for
1786 ksx1001 (Bug#5667).
1787
92795c91
RS
17882012-03-10 Richard Stallman <rms@gnu.org>
1789
1694e6c1
RS
1790 * mail/sendmail.el (mail-encode-header):
1791 Set rfc2047-encode-encoded-words.
1792
607e8555
RS
1793 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1794
de3bc99a
RS
1795 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1796 view buffer means not swapped.
1797 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1798 (rmail-write-region-annotate): Error if real text has disappeared.
1799
92795c91
RS
1800 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1801
699bd04e
CY
18022012-03-10 Chong Yidong <cyd@gnu.org>
1803
1804 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1805 * emulation/cua-base.el (cua--init-keymaps):
1806 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1807
570a1714
MR
18082012-03-10 Martin Rudalics <rudalics@gmx.at>
1809
dbbc2e69
SM
1810 * speedbar.el (speedbar-unhighlight-one-tag-line):
1811 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1812
82dcf4e4
CY
18132012-03-10 Chong Yidong <cyd@gnu.org>
1814
7a2c7ca7
CY
1815 * minibuffer.el (completion-in-region, completion-help-at-point):
1816 Give the completion field overlay a high priority (Bug#6830).
1817
82dcf4e4
CY
1818 * dired.el (dired-goto-file): Recognize absolute file name
1819 listings (Bug#7126).
1820 (dired-goto-file-1): New helper function.
1821 (dired-toggle-read-only): Inhibit warnings.
1822
052e28ac
MA
18232012-03-09 Michael Albinus <michael.albinus@gmx.de>
1824
75f1671a 1825 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1826 there are no properties.
1827
95d5e396
LL
18282012-03-09 Leo Liu <sdl.web@gmail.com>
1829
1830 * savehist.el (savehist-printable): Stricter check for string
1831 value (Bug#10937).
1832
3f018d6d
EZ
18332012-03-09 Eli Zaretskii <eliz@gnu.org>
1834
dbbc2e69
SM
1835 * mail/smtpmail.el (smtpmail-send-it):
1836 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1837 valid mbox format.
1838
f7fd3d79
GM
18392012-03-09 Glenn Morris <rgm@gnu.org>
1840
1841 * files.el (dir-locals-find-file):
1842 Don't check result is regular, readable.
1843 (dir-locals-read-from-file): Demote errors.
1844
6ff6e72f
EZ
18452012-03-08 Eli Zaretskii <eliz@gnu.org>
1846
dbbc2e69
SM
1847 * international/quail.el (quail-insert-kbd-layout):
1848 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1849 layout cell, to prevent their reordering by bidi display engine.
1850 For details, see the discussion in
1851 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1852
9cec7834
AM
18532012-03-08 Alan Mackenzie <acm@muc.de>
1854
1855 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1856 the starting position; make it extend the marked region when
1857 invoked repeatedly - all under appropriate circumstances.
1858 Fixes bugs #5525, #10906.
1859
9a40b8d4
GM
18602012-03-08 Glenn Morris <rgm@gnu.org>
1861
1862 * files.el (locate-dominating-file, dir-locals-find-file):
1863 Undo 2012-03-06 change.
1864
7a08ed35
EZ
18652012-03-07 Eli Zaretskii <eliz@gnu.org>
1866
dbbc2e69
SM
1867 * international/quail.el (quail-help):
1868 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1869 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1870 for the reason.
1871
5aca4f71 18722012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1873
1874 Avoid superfluous registering of signals. (Bug#10807)
1875
1876 * notifications.el (notifications-on-action-object)
1877 (notifications-on-close-object): New defvars.
1878 (notifications-on-action-signal, notifications-on-closed-signal):
1879 Unregister the signal if not needed any longer.
1880 (notifications-notify): Register `notifications-action-signal' or
1881 `notifications-closed-signal', if :on-action or :on-close has been
1882 passed as argument.
1883
78e8b10a
CY
18842012-03-07 Chong Yidong <cyd@gnu.org>
1885
1886 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1887 non-X platforms.
1888
69481eb8
GM
18892012-03-06 Glenn Morris <rgm@gnu.org>
1890
1891 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1892 (x-disown-selection-internal, x-get-selection-internal):
1893 Doc fix (add arglist signatures). (Bug#10783)
1894
133b8e11
KS
18952012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1896
1897 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1898 Handle breakpoints with no "type".
1899
99a83064
GM
19002012-03-06 Glenn Morris <rgm@gnu.org>
1901
1902 * files.el (locate-dominating-file): Add optional predicate argument.
1903 (dir-locals-find-file): Make use of above change.
1904
17798e78
TTN
19052012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1906
1907 * info.el (Info-insert-dir): Also try "dir.gz".
1908
eb182446
GM
19092012-03-06 Glenn Morris <rgm@gnu.org>
1910
8f2114ee
GM
1911 * files.el (dir-locals-find-file):
1912 Ignore non-readable or non-regular files. (Bug#10928)
1913
eb182446
GM
1914 * files.el (locate-dominating-file): Doc fix.
1915
24679323
AS
19162012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1917
1918 * calendar/calendar.el (calendar-set-mode-line):
1919 `getenv' returns a string. (Bug#10951)
1920
01d972a9
LL
19212012-03-05 Leo Liu <sdl.web@gmail.com>
1922
109aa8a9
LL
1923 * simple.el (backward-delete-char-untabify): Constrain point to
1924 field (Bug#10939).
1925
01d972a9
LL
1926 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1927
10607bea
CY
19282012-03-05 Chong Yidong <cyd@gnu.org>
1929
1930 * simple.el (count-words): If called from Lisp, return the word
1931 count, for symmetry with `count-lines'. Arglist changed.
1932 (count-words--message): Args changed. Consolidate counting code
1933 from count-words and count-words-region.
1934 (count-words-region): Caller changed.
1935 (count-lines-region): Make it an obsolete alias.
1936
5dd11cfe
TH
19372012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1938
1939 * saveplace.el (save-place-to-alist)
1940 (save-place-ignore-files-regexp): Allow value nil to disable this
1941 feature.
1942
c349f4e6
CY
19432012-03-04 Chong Yidong <cyd@gnu.org>
1944
1945 * faces.el (face-spec-reset-face): For the default face, reset the
1946 attributes to default values (Bug#10748).
1947
e627be4c
LMI
19482012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1949
1950 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1951 previous patch: Check `message-send-mail-function', and not the
1952 default function (bug#10897).
1953
ebeabff4
MA
19542012-03-04 Michael Albinus <michael.albinus@gmx.de>
1955
a41a6cf4
MA
1956 * notifications.el (notifications-on-action-signal)
1957 (notifications-on-closed-signal): Check for unique service name of
1958 incoming event. Fix error in removing entry.
ebeabff4 1959 (top): Register for signals with wildcard service name.
a41a6cf4 1960 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1961
c1ca42b4
CY
19622012-03-04 Chong Yidong <cyd@gnu.org>
1963
dc9924b8 1964 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1965
ea16568d
GM
19662012-03-04 Glenn Morris <rgm@gnu.org>
1967
1968 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1969 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1970 (expand-abbrev, define-abbrev-table): Doc fixes.
1971
fbae4637
LMI
19722012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1973
1974 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1975 `message-default-send-mail-function' and not `send-mail-function'
1976 when doing the prompting for `sendmail-query-once' before sending
1977 in Message buffers (bug#10897).
1978
a1e7225c
LMI
1979 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1980 This is inconsistent with all the other stream functions, which leave
1981 the setting up to the higher levels (if so wanted) (bug#10931).
1982
56d093a9
AM
19832012-03-02 Alan Mackenzie <acm@muc.de>
1984
1985 Depessimize the handling of very large macros.
1986
1987 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1988 (c-macro-cache-syntactic): New variables to implement a one
1989 element macro cache.
1990 (c-invalidate-macro-cache): New function.
1991 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1992 Adapt to use the new cache.
1993 (c-state-safe-place): Use better the cache of safe positions.
1994 (c-state-semi-nonlit-pos-cache)
1995 (c-state-semi-nonlit-pos-cache-limit):
1996 New variables for...
1997 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1998 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1999 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2000 Use c-state-semi-safe-place.
56d093a9 2001
dbbc2e69
SM
2002 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2003 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2004
817e5c3d
MA
20052012-03-02 Michael Albinus <michael.albinus@gmx.de>
2006
dbbc2e69
SM
2007 * jka-compr.el (jka-compr-call-process):
2008 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2009 not remote.
2010
a032a702
MA
20112012-03-01 Michael Albinus <michael.albinus@gmx.de>
2012
2013 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2014 access of FILE2, if FILE1 does not exist.
2015
99a54f21
MA
2016 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2017 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2018
2019 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2020 Add "PAGER=" to `process-environment'.
2021
f6561e1f
MM
20222012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2023
2024 * progmodes/sql.el: Bug fix
2025 (sql-get-login-ext): Save login values in globals.
2026 (sql-get-login): Use new version of `sql-get-login-ext'.
2027 (sql-interactive-mode): Set global `sql-connection' to nil.
2028 (sql-connect): Set global values for connection.
2029 (sql-product-interactive): Save global values as buffer local.
2030
2d44d9cc
LL
20312012-02-29 Leo Liu <sdl.web@gmail.com>
2032
2033 * abbrev.el (define-abbrevs): Reset sys to nil.
2034
96b49301 20352012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2036
bf7f9bc5
JB
2037 * files.el (file-equal-p): Rename from `files-equal-p'.
2038 Return nil when one or both files don't exist.
96b49301 2039 (file-subdir-of-p): Now only top directory must exists,
2040 return nil if it doesn't.
bf7f9bc5
JB
2041 (copy-directory): No need to test with `file-subdir-of-p' after
2042 creating dir.
2043 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2044 to `file-equal-p'.
96b49301 2045
44e97401
GM
20462012-02-28 Glenn Morris <rgm@gnu.org>
2047
2048 * shell.el (shell-mode):
2049 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2050 * play/landmark.el (landmark-font-lock-face-O):
2051 * play/handwrite.el (handwrite):
2052 * play/gomoku.el (gomoku-O):
2053 * net/browse-url.el (browse-url-browser-display):
2054 * international/mule.el (define-charset):
2055 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2056 * filesets.el (filesets-find-file-delay):
2057 * eshell/em-xtra.el (eshell-xtra):
2058 * eshell/em-unix.el (eshell-grep):
2059 * emulation/viper.el (viper-mode):
2060 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2061 * emacs-lisp/easymenu.el (easy-menu-define):
2062 * calendar/timeclock.el (timeclock-use-display-time):
2063 * bs.el (bs-mode):
2064 * bookmark.el (bookmark-save-flag):
2065 Doc fix (standardize possessive apostrophe usage).
2066
c98c6276
CY
20672012-02-27 Chong Yidong <cyd@gnu.org>
2068
bf7f9bc5
JB
2069 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2070 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2071
c98c6276
CY
2072 * font-lock.el (font-lock-specified-p): Rename from
2073 font-lock-spec-present. Callers changed.
2074
9c62cd04 20752012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2076
bf7f9bc5
JB
2077 * emacs-lisp/package.el (package-compute-transaction):
2078 Handle holding a package version to t in package-load-list.
8ac9e529 2079
530739c9
MA
20802012-02-26 Michael Albinus <michael.albinus@gmx.de>
2081
2082 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2083 (tramp-get-inode, tramp-get-device): Use cached values.
2084
487915d7
AM
20852012-02-26 Alan Mackenzie <acm@muc.de>
2086
2087 Check there is a font-lock specification before doing initial
2088 fontification.
2089
2090 * font-core.el (font-lock-mode): Move the conditional from
2091 :after-hook to font-lock-initial-fontify.
2092 (font-lock-default-function): Move the check for a specification
2093 to font-lock-spec-present.
2094
dc9924b8 2095 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2096 (font-lock-spec-present): New function.
2097
4fd96557
JB
20982012-02-26 Jim Blandy <jimb@red-bean.com>
2099
2100 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2101 (gdb-send): Apply it to the operand of the '-interpreter-exec
2102 console' command, so that we can pass arguments with (say) quotes
2103 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2104
9a4888c0
CY
21052012-02-26 Chong Yidong <cyd@gnu.org>
2106
07498861
CY
2107 * help-fns.el (describe-function-1): Clarify description of
2108 remapping (Bug#10844).
2109
9a4888c0
CY
2110 * files.el (files-equal-p): Doc fix.
2111 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2112 and quit the loop once a mismatch is found.
2113
ea8fb88d
JB
21142012-02-25 Juanma Barranquero <lekktu@gmail.com>
2115
2116 * bs.el (bs--show-with-configuration): Don't throw an error
2117 if the window cannot be split; otherwise, subsequent calls to
2118 bs-show fail, restoring a stale window config. (Bug#10882)
2119
525795c1
JD
21202012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2121
2122 * term/ns-win.el (global-map): Bind ns-drag-file to
2123 ns-find-file (Bug#5855, Bug#10050).
2124
f008086f
AS
21252012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2126
2127 * calendar/parse-time.el (parse-time-string): Allow extractor to
2128 return nil.
2129
a3fcfa99
MA
21302012-02-25 Michael Albinus <michael.albinus@gmx.de>
2131
91027d08
JB
2132 * net/tramp.el (tramp-file-name-for-operation):
2133 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2134
2135 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2136 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2137 Add COPY-CONTENTS argument.
a3fcfa99 2138
67b0de11
CY
21392012-02-25 Chong Yidong <cyd@gnu.org>
2140
2141 Add custom groups for VC backends, for consistency with vc-bzr.
2142
2143 * vc/vc-arch.el (vc-arch):
2144 * vc/vc-cvs.el (vc-cvs):
2145 * vc/vc-git.el (vc-git):
2146 * vc/vc-hg.el (vc-hg):
2147 * vc/vc-mtn.el (vc-mtn):
2148 * vc/vc-rcs.el (vc-rcs):
2149 * vc/vc-sccs.el (vc-sccs):
2150 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2151 All relevant defcustoms reassigned.
2152
3c9dfce6
CY
21532012-02-25 Chong Yidong <cyd@gnu.org>
2154
1339bf43
CY
2155 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2156
3c9dfce6
CY
2157 * term/x-win.el (x-initialize-window-system): Reduce default for
2158 x-selection-timeout to 5 seconds (Bug#8869).
2159
25b2e303 21602012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2161
ec70a47d
GM
2162 * files.el (files-equal-p, file-subdir-of-p): New functions.
2163 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2164 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2165 * dired-aux.el (dired-copy-file-recursive): Same.
2166 (dired-create-files): Modify destination when source is equal to
2167 dest when copying files.
53a46cd0 2168 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2169
914260cd
MA
21702012-02-24 Michael Albinus <michael.albinus@gmx.de>
2171
2172 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2173 (Bug#10874)
2174
2cb228f7
AM
21752012-02-23 Alan Mackenzie <acm@muc.de>
2176
2177 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2178 parameter "after-hook:" to allow the expansion to run code after
2179 the execution of the mode hooks.
2180
2181 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2182 from font-lock-mode-internal.
2cb228f7 2183
91027d08 2184 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2185 :after-hook.
2186
8f0fde21
SM
21872012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2188
3e88618b
SM
2189 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2190 (completion--cache-all-sorted-completions): New function.
2191 (completion-all-sorted-completions): Use it.
2192 (completion--do-completion, minibuffer-force-complete):
2193 Use it to re-instate the flush hook.
2194
8f0fde21
SM
2195 * icomplete.el (icomplete-completions): Replace last fix with a better
2196 one (bug#10850).
2197
8e911f6f
DG
21982012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2199
2200 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2201 when it might call us back infinitely (bug#10797).
2202
49fe4321
GM
22032012-02-23 Glenn Morris <rgm@gnu.org>
2204
2205 * minibuffer.el (completion-category-overrides): Doc fix.
2206
b291b572
SM
22072012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2210 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2211
31a9ef2e
GM
22122012-02-23 Glenn Morris <rgm@gnu.org>
2213
5e6e6794 2214 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2215 (authors-obsolete-files-regexps, authors-ignored-files)
2216 (authors-ambiguous-files, authors-renamed-files-alist):
2217 Add more entries.
2218
0bd1e074
JL
22192012-02-23 Juri Linkov <juri@jurta.org>
2220
2221 * isearch.el (isearch-occur): Sync interactive spec with occur's
2222 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2223
b617673c
JL
2224 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2225
19e9789e
JL
22262012-02-22 Juri Linkov <juri@jurta.org>
2227
2228 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2229 (ucs-insert): Doc fix. Check for hex digits in the string.
2230 Don't display `nil' in the error message. (Bug#10857)
2231
f41ce09d
AM
22322012-02-22 Alan Mackenzie <acm@muc.de>
2233
7a71b18d 2234 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2235
ac2eceee
GM
22362012-02-22 Glenn Morris <rgm@gnu.org>
2237
2238 * ffap.el (ffap-c-path):
2239 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2240
abd1f678
CY
22412012-02-22 Chong Yidong <cyd@gnu.org>
2242
2243 * custom.el (load-theme): Doc fix.
2244
f25aef2e
GM
22452012-02-22 Glenn Morris <rgm@gnu.org>
2246
2247 * dired-x.el (dired-guess-shell-alist-default):
2248 Remove escape sequences from nroff output. (Bug#172)
2249
5f8dc2ca
GM
22502012-02-21 Glenn Morris <rgm@gnu.org>
2251
6ff86ec4
GM
2252 * vc/emerge.el (emerge-defvar-local):
2253 Set `permanent-local' property rather than unused `preserved'.
2254
be3223a3 2255 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2256 (picture-mode-map): Use it. (Bug#10860)
2257 (picture-mode): Doc fix.
2258
3fe58f4f
JB
22592012-02-21 Juanma Barranquero <lekktu@gmail.com>
2260
2261 * newcomment.el (uncomment-region-default): Remove unused binding.
2262
f9a998c3
GM
22632012-02-21 Glenn Morris <rgm@gnu.org>
2264
2265 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2266 (picture-self-insert, picture-tab-chars): Doc fix.
2267 (picture-mode-map): Fix C-a, C-e.
2268
c6029348
GM
22692012-02-20 Glenn Morris <rgm@gnu.org>
2270
2271 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2272
ab1ce9d7
LL
22732012-02-20 Leo Liu <sdl.web@gmail.com>
2274
2275 * icomplete.el (icomplete-completions): Check FROM arg before
2276 passing to substring (Bug#10850).
2277
0fd40f89
CY
22782012-02-19 Chong Yidong <cyd@gnu.org>
2279
2280 * comint.el: Require ansi-color.
2281 (comint-output-filter-functions): Add ansi-color-process-output.
2282
2283 * ansi-color.el: Don't set comint-output-filter-functions; it is
2284 now in the initial value defined in comint.el.
2285 (ansi-color-apply-face-function): New variable.
2286 (ansi-color-apply-on-region): Use it.
2287 (ansi-color-apply-overlay-face): New function.
2288
2289 * shell.el (shell): No need to require ansi-color.
2290 (shell-mode): Use ansi-color-apply-face-function to highlight
2291 color escapes using font-lock-face property (Bug#10835).
2292
20af2394
CY
22932012-02-19 Chong Yidong <cyd@gnu.org>
2294
2295 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2296 mode-line formats (Bug#10839).
2297
e23a3fbe
GM
22982012-02-18 Glenn Morris <rgm@gnu.org>
2299
b474519e
GM
2300 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2301
2302 * mail/undigest.el (unforward-rmail-message): Doc fix.
2303
e23a3fbe
GM
2304 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2305
57939ff4
EZ
23062012-02-18 Eli Zaretskii <eliz@gnu.org>
2307
2308 * international/characters.el (script-list): Sync with the latest
2309 Unicode Character Database.
2310
0c23686e
AS
23112012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2312
2313 * international/titdic-cnv.el: Remove duplicate coding tag.
2314 * language/cham.el: Likewise.
2315 * language/tai-viet.el: Likewise.
2316
6818b449
GM
23172012-02-18 Glenn Morris <rgm@gnu.org>
2318
2319 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2320 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2321 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2322 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2323 * calendar/holidays.el (holiday-bahai-holidays)
2324 (calendar-holidays, list-holidays):
2325 Use utf-8 Bahá'í in doc-strings, menus, etc.
2326
0311a3fc
TH
23272012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2328
2329 * saveplace.el (save-place-ignore-files-regexp): New variable
2330 allowing for excluding files from saving their location of point.
2331 The default value matches the temporary commit message editing
2332 files from Git, SVN, Bazaar, and Mercurial.
2333 (save-place-to-alist): Use it.
2334
eb864a71
LM
23352012-02-17 Lawrence Mitchell <wence@gmx.li>
2336 Stefan Monnier <monnier@iro.umontreal.ca>
2337
2338 * newcomment.el (uncomment-region-default): Don't leave extra space
2339 when an arg is provided (bug#8150).
2340
ee0ce425
TZ
23412012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2342
eb864a71 2343 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2344
95ddf442
GM
23452012-02-17 Glenn Morris <rgm@gnu.org>
2346
2347 * net/socks.el: Require network-stream. (Bug#10599)
2348
48dd1e39 23492012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2350
2351 * international/charprop.el:
2352 * international/uni-name.el:
2353 * international/uni-old-name.el:
2354 * international/uni-comment.el: Regenerate.
2355
d68cd087
GM
23562012-02-16 Glenn Morris <rgm@gnu.org>
2357
2358 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2359 Interactively in calendar buffer, give an error if not on a date.
2360
13932042
GM
23612012-02-15 Glenn Morris <rgm@gnu.org>
2362
2363 * shell.el (shell-delimiter-argument-list):
2364 Revert 2011-02-17 change. (Bug#8027)
2365
c3a70e2b
CY
23662012-02-15 Chong Yidong <cyd@gnu.org>
2367
60236b0d
CY
2368 * minibuffer.el (completion-at-point-functions): Doc fix.
2369
c3a70e2b
CY
2370 * custom.el (defcustom): Doc fix; note use of defvar.
2371
9f26dc24
GM
23722012-02-15 Glenn Morris <rgm@gnu.org>
2373
2374 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2375 Doc fixes.
2376
6546b134
GM
23772012-02-14 Glenn Morris <rgm@gnu.org>
2378
2379 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2380
d29b2b4c
LI
23812012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2382
2383 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2384 way the ports list is computed.
835bdcba
LI
2385 (smtpmail-query-smtp-server): Prompt the user for a port number if
2386 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2387
08dcdbc9
TZ
23882012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2389
2390 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2391
2605051a
GM
23922012-02-13 Glenn Morris <rgm@gnu.org>
2393
2394 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2395
7ee99f32
TZ
23962012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2397
2398 * net/gnutls.el (gnutls-trustfiles): New variable.
2399 (gnutls-negotiate): Use it.
2400
5f0af64f
LI
24012012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2402
2403 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2404 does its stuff if Gnus is running.
2405
c14fcc95
AM
24062012-02-13 Alan Mackenzie <acm@muc.de>
2407
2408 Fix a loop in c-set-fl-decl-start.
2409
7a71b18d 2410 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2411 c-backward-syntactic-ws actually moves backwards.
2412
142b4d90
LL
24132012-02-13 Leo Liu <sdl.web@gmail.com>
2414
2415 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2416 beginning so that all \C-o chars are removed.
2417
fa9958a6
TZ
24182012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2419
dc9924b8 2420 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2421
0bc5886a
AM
24222012-02-12 Alan Mackenzie <acm@muc.de>
2423
2424 Fix infinite loop with long macros.
4d6769e1 2425 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2426
d4bd55e7
CY
24272012-02-12 Chong Yidong <cyd@gnu.org>
2428
2429 * window.el (display-buffer): Doc fix (Bug#10785).
2430
66f3fe22
GM
24312012-02-12 Glenn Morris <rgm@gnu.org>
2432
bd7da63e
GM
2433 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2434 (x-disown-selection-internal, x-get-selection-internal):
2435 Sync docs with the xselect.c versions.
2436
66f3fe22
GM
2437 * allout-widgets.el: Add missing license notice.
2438
3e0d2fa7
GM
24392012-02-11 Glenn Morris <rgm@gnu.org>
2440
cfecdf09
GM
2441 * select.el (x-get-selection-internal, x-own-selection-internal)
2442 (x-disown-selection-internal):
2443 * x-dnd.el (x-get-selection-internal): Update declarations.
2444
6d216d7f
GM
2445 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2446
2bed3f04
GM
2447 * window.el (window-sides-slots):
2448 * tool-bar.el (tool-bar-position):
2449 * term/xterm.el (xterm-extra-capabilities):
2450 * ses.el (ses-self-reference-early-detection):
2451 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2452 (verilog-auto-wire-type)
2453 (verilog-auto-delete-trailing-whitespace)
2454 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2455 (verilog-auto-tieoff-declaration):
2456 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2457 (sql-oracle-statement-starters, sql-oracle-scan-on):
2458 * progmodes/prolog.el (prolog-align-comments-flag)
2459 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2460 (prolog-left-indent-regexp, prolog-paren-indent-p)
2461 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2462 (prolog-types, prolog-mode-specificators)
2463 (prolog-determinism-specificators, prolog-directives)
2464 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2465 (prolog-electric-dot-flag)
2466 (prolog-electric-dot-full-predicate-template)
2467 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2468 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2469 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2470 (prolog-program-switches, prolog-prompt-regexp)
2471 (prolog-debug-on-string, prolog-debug-off-string)
2472 (prolog-trace-on-string, prolog-trace-off-string)
2473 (prolog-zip-on-string, prolog-zip-off-string)
2474 (prolog-use-standard-consult-compile-method-flag)
2475 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2476 (prolog-imenu-max-lines, prolog-info-predicate-index)
2477 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2478 (prolog-char-quote-workaround):
2479 * progmodes/cc-vars.el (c-defun-tactic):
2480 * net/tramp.el (tramp-encoding-command-interactive)
2481 (tramp-local-end-of-line):
2482 * net/soap-client.el (soap-client):
2483 * net/netrc.el (netrc-file):
2484 * net/gnutls.el (gnutls):
2485 * minibuffer.el (completion-category-overrides)
2486 (completion-cycle-threshold)
2487 (completion-pcm-complete-word-inserts-delimiters):
2488 * man.el (Man-name-local-regexp):
2489 * mail/feedmail.el (feedmail-display-full-frame):
2490 * international/characters.el (glyphless-char-display-control):
2491 * eshell/em-ls.el (eshell-ls-date-format):
2492 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2493 (lisp-lambda-list-keyword-parameter-indentation)
2494 (lisp-lambda-list-keyword-parameter-alignment):
2495 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2496 * dired-x.el (dired-omit-verbose):
2497 * cus-theme.el (custom-theme-allow-multiple-selections):
2498 * calc/calc.el (calc-highlight-selections-with-faces)
2499 (calc-lu-field-reference, calc-lu-power-reference)
2500 (calc-note-threshold):
2501 * battery.el (battery-mode-line-limit):
2502 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2503 (archive-7z-update):
2504 * allout.el (allout-prefixed-keybindings)
2505 (allout-unprefixed-keybindings)
2506 (allout-inhibit-auto-fill-on-headline)
2507 (allout-flattened-numbering-abbreviation):
2508 * allout-widgets.el (allout-widgets-auto-activation)
2509 (allout-widgets-icons-dark-subdir)
2510 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2511 (allout-widgets-theme-dark-background)
2512 (allout-widgets-theme-light-background)
2513 (allout-widgets-item-image-properties-emacs)
2514 (allout-widgets-item-image-properties-xemacs)
2515 (allout-widgets-run-unit-tests-on-load)
2516 (allout-widgets-time-decoration-activity)
2517 (allout-widgets-hook-error-post-time)
2518 (allout-widgets-track-decoration):
2519 Add missing :version tags to new defcustoms and defgroups.
2520
5fec1b8e
GM
2521 * progmodes/sql.el (sql-ansi-statement-starters)
2522 (sql-oracle-statement-starters): Add custom type.
2523
3e0d2fa7
GM
2524 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2525 (prolog-system-version): Give it a type.
2526
90b671e2
EZ
25272012-02-11 Eli Zaretskii <eliz@gnu.org>
2528
2529 * term/pc-win.el (x-select-text, x-selection-owner-p)
2530 (x-own-selection-internal, x-disown-selection-internal)
2531 (x-get-selection-internal): Sync doc strings and argument lists
2532 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2533
5eac0c02
LL
25342012-02-11 Leo Liu <sdl.web@gmail.com>
2535
2536 * progmodes/python.el (python-end-of-statement): Fix infinite
2537 loop. (Bug#10788)
2538
f82cb659
GM
25392012-02-10 Glenn Morris <rgm@gnu.org>
2540
2541 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2542 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2543
cc26d239
LI
25442012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2545
2546 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2547 about SMTP before checking the From header.
2548
91027d08 2549 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2550 into own function for reuse by emacsbug.el.
2551
1be3ca5a
LL
25522012-02-10 Leo Liu <sdl.web@gmail.com>
2553
2554 * subr.el (condition-case-unless-debug): Rename from
2555 condition-case-no-debug. All callers changed.
2556 (with-demoted-errors): Fix caller.
2557
2558 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2559 * nxml/rng-valid.el (rng-do-some-validation):
2560 * emacs-lisp/package.el (package-refresh-contents)
2561 (package-menu-execute):
2562 * desktop.el (desktop-create-buffer):
91027d08 2563 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2564
b011fbfe
GM
25652012-02-10 Glenn Morris <rgm@gnu.org>
2566
b2096d72
GM
2567 * textmodes/bibtex.el:
2568 Add missing :version tags for new/changed defcustoms.
2569
b011fbfe
GM
2570 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2571
4c7e65bf
LI
25722012-02-09 Lars Ingebrigtsen <larsi@rusty>
2573
2574 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2575 (smtpmail-via-smtp): Use it, or fall back on the From address.
2576 (smtpmail-send-it): Ditto.
2577
f3934f6f
SM
25782012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2581 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2582 (byte-compile-tmp-var): New const.
2583 (byte-compile-defvar): Use it to minimize .elc size.
2584 Just use `defvar' rather than simulate it (bug#10761).
2585
a075a2c5
GM
25862012-02-09 Glenn Morris <rgm@gnu.org>
2587
cf3aa21b
GM
2588 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2589
354998cd
GM
2590 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2591 Add :version tags.
2592
dc9924b8
SM
2593 * progmodes/compile.el (compilation-error-screen-columns)
2594 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2595
dab3703d
GM
2596 * vc/log-view.el (log-view-toggle-entry-display):
2597 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2598
3f88cd72
GM
2599 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2600 (report-emacs-bug-can-use-xdg-email):
2601 (report-emacs-bug-insert-to-mailer): Doc fixes.
2602 (report-emacs-bug): Message fix.
2603
d95b247d
GM
2604 * net/browse-url.el (browse-url-can-use-xdg-open)
2605 (browse-url-xdg-open): Doc fixes.
2606
a075a2c5
GM
2607 * electric.el (electric-indent-mode, electric-pair-mode)
2608 (electric-layout-rules, electric-layout-mode): Doc fixes.
2609 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2610
ffb6157e
MR
26112012-02-08 Martin Rudalics <rudalics@gmx.at>
2612
2613 * server.el (server-unselect-display): Don't inadvertently kill
2614 the current buffer. (Bug#10729)
2615
e1ac4066
GM
26162012-02-08 Glenn Morris <rgm@gnu.org>
2617
34e8a2da
GM
2618 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2619 (sql-list-table): Doc fixes.
2620
b4ac6e8c
GM
2621 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2622 Comment out (does nothing).
2623
e1ac4066
GM
2624 * completion.el (dynamic-completion-mode):
2625 * dirtrack.el (dirtrack-debug-mode):
2626 * electric.el (electric-layout-mode):
2627 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2628 * face-remap.el (text-scale-mode, buffer-face-mode):
2629 * iimage.el (iimage-mode):
2630 * image-mode.el (image-transform-mode):
2631 * minibuffer.el (completion-in-region-mode):
2632 * scroll-lock.el (scroll-lock-mode):
2633 * simple.el (next-error-follow-minor-mode):
2634 * tar-mode.el (tar-subfile-mode):
2635 * tooltip.el (tooltip-mode):
2636 * vcursor.el (vcursor-use-vcursor-map):
2637 * wid-browse.el (widget-minor-mode):
2638 * emulation/tpu-edt.el (tpu-edt-mode):
2639 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2640 * international/iso-ascii.el (iso-ascii-mode):
2641 * language/thai-util.el (thai-word-mode):
2642 * mail/supercite.el (sc-minor-mode):
2643 * net/goto-addr.el (goto-address-mode):
2644 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2645 * progmodes/cwarn.el (cwarn-mode):
2646 * progmodes/flymake.el (flymake-mode):
2647 * progmodes/glasses.el (glasses-mode):
2648 * progmodes/hideshow.el (hs-minor-mode):
2649 * progmodes/pascal.el (pascal-outline-mode):
2650 * textmodes/enriched.el (enriched-mode):
2651 * vc/smerge-mode.el (smerge-mode):
2652 Doc fixes (minor mode argument).
2653
5e0d957f
EZ
26542012-02-07 Eli Zaretskii <eliz@gnu.org>
2655
2656 * ls-lisp.el (ls-lisp-sanitize): New function.
2657 (ls-lisp-insert-directory): Use it to fix or remove any elements
2658 in file-alist with missing attributes. (Bug#4673)
2659
98d7371e
AM
26602012-02-07 Alan Mackenzie <acm@muc.de>
2661
2662 Fix spurious recognition of c-in-knr-argdecl.
2663
2664 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2665 putative K&R region.
2666
667ced3a
AM
26672012-02-07 Alan Mackenzie <acm@muc.de>
2668
eb864a71
LM
2669 * progmodes/cc-engine.el (c-forward-objc-directive):
2670 Prevent looping in "#pragma mark @implementation".
667ced3a 2671
5b77774d
MA
26722012-02-07 Michael Albinus <michael.albinus@gmx.de>
2673
2674 * notifications.el (notifications-on-closed-signal): Make `reason'
2675 optional. (Bug#10744)
2676
af008560
GM
26772012-02-07 Glenn Morris <rgm@gnu.org>
2678
60d47423
GM
2679 * emacs-lisp/easy-mmode.el (define-minor-mode):
2680 Doc fixes for the macro and the mode it defines.
2681
dd605cc4
GM
2682 * image.el (imagemagick-types-inhibit): Doc fix.
2683
af008560
GM
2684 * cus-start.el (imagemagick-render-type): Add it.
2685
5cc59a37
LI
26862012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2687
4d6769e1
JB
2688 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2689 Set the default at load time, too, so that `font-lock-fontify-buffer'
2690 can be called without setting up the entire mode first. This fixes
2691 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2692
9a6dd747
CY
26932012-02-06 Chong Yidong <cyd@gnu.org>
2694
2d16b285
CY
2695 * simple.el (list-processes--refresh): Delete exited processes
2696 (Bug#8094).
2697
171e9b6e
CY
2698 * comint.el (comint-next-prompt): next-single-char-property-change
2699 and prev-single-char-property-change never return nil (Bug#8657).
2700
9a6dd747
CY
2701 * custom.el (defcustom): Doc fix (Bug#9711).
2702
aa4589a7
CY
27032012-02-05 Chong Yidong <cyd@gnu.org>
2704
5c2a252f
CY
2705 * cus-edit.el (custom-variable-reset-backup): Quote the value
2706 before storing it in the customized-value property (Bug#6712).
4aab9006 2707 (custom-display): Add a customization type tag.
983b9602 2708 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2709
aa4589a7
CY
2710 * wid-edit.el (widget-field-value-get): New optional arg to
2711 suppress trailing whitespace truncation.
2712 (character): Use it (Bug#2689).
2713
1ff980ae
AS
27142012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2715
2716 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2717 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2718
03988c98
CY
27192012-02-05 Chong Yidong <cyd@gnu.org>
2720
eeb6cc88
CY
2721 * cus-edit.el (custom-variable-value-create): For mismatched
2722 types, show the current value (Bug#7600).
2723
03988c98
CY
2724 * custom.el (defcustom): Doc fix.
2725
f8cdeef0
GM
27262012-02-05 Glenn Morris <rgm@gnu.org>
2727
2728 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2729
0696d255
JB
27302012-02-05 Juanma Barranquero <lekktu@gmail.com>
2731
2732 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2733 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2734 (pp-last-sexp): Use `looking-at-p'.
2735
34c99998
GM
27362012-02-04 Glenn Morris <rgm@gnu.org>
2737
8f05da42
GM
2738 * files.el (revert-buffer):
2739 Doc fix (mention revert-buffer-in-progress-p).
2740
f160676e
GM
2741 * emacs-lisp/ert-x.el (ert-simulate-command):
2742 Check deferred-action-list (which is obsolete) is bound.
2743
c7291ad9
GM
2744 * subr.el (with-wrapper-hook): Doc fixes.
2745
34c99998
GM
2746 * simple.el (filter-buffer-substring-functions)
2747 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2748
6283a7d3
LL
27492012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2750
2751 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2752 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2753
e96e3013
LL
27542012-02-04 Leo Liu <sdl.web@gmail.com>
2755
2756 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2757
8ded50f2
GM
27582012-02-04 Glenn Morris <rgm@gnu.org>
2759
82ff1d13
GM
2760 * image.el (image-extension-data): Add obsolete alias.
2761
987a0a16
GM
2762 * isearch.el (isearch-update): Doc fix.
2763
ea32ef46
GM
2764 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2765
8ded50f2
GM
2766 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2767
eea14f31
GM
27682012-02-03 Glenn Morris <rgm@gnu.org>
2769
2770 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2771 (image-animate-timeout): Doc fix.
2772
2773 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2774
12f381b7
GM
27752012-02-02 Glenn Morris <rgm@gnu.org>
2776
953cebf5
GM
2777 * server.el (server-auth-dir): Doc fix.
2778 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2779
12f381b7
GM
2780 * subr.el (run-mode-hooks): Doc fix.
2781
953a8c3b
JL
27822012-02-02 Juri Linkov <juri@jurta.org>
2783
2784 * image-mode.el (image-toggle-display-image): Remove tautological
2785 `major-mode' from the `derived-mode-p' test.
2786
c5d3843c
KH
27872012-02-02 Kenichi Handa <handa@m17n.org>
2788
9f6e692e 2789 * composite.el (compose-region): Cancel previous change.
c5d3843c 2790
159462d4 27912012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2792
2793 * composite.el (compose-region, compose-string): Signal error for
2794 a null string component (Bug#6988).
2795
9f562668
CY
27962012-02-01 Chong Yidong <cyd@gnu.org>
2797
e2cef717
CY
2798 * view.el (view-buffer-other-window, view-buffer-other-frame):
2799 Handle special modes like view-buffer (Bug#10650).
2800 (view-buffer): Simplify.
2801
9f562668
CY
2802 * frame.el (set-frame-font): Tweak meaning of third argument.
2803
9f6e692e
JB
2804 * dynamic-setting.el (font-setting-change-default-font):
2805 Use set-frame-font (Bug#9982).
9f562668 2806
781acb9f
GM
28072012-02-01 Glenn Morris <rgm@gnu.org>
2808
6035be52
GM
2809 * progmodes/compile.el (compilation-internal-error-properties):
2810 Respect compilation-first-column in the "*compilation*" buffer.
2811
781acb9f
GM
2812 * emacs-lisp/easy-mmode.el (define-minor-mode):
2813 Relax :variable's test for a named function.
2814
abbceb00
AM
28152012-01-31 Alan Mackenzie <acm@muc.de>
2816
2817 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2818 off by one error.
2819
fce3fdeb
CY
28202012-01-31 Chong Yidong <cyd@gnu.org>
2821
2822 * frame.el (set-frame-font): New arg ALL-FRAMES.
2823
2824 * menu-bar.el (menu-set-font): Use set-frame-font.
2825
2826 * faces.el (face-spec-reset-face): Don't apply unspecified
2827 attribute values to the default face.
2828
47893581
JB
28292012-01-31 Juanma Barranquero <lekktu@gmail.com>
2830
2831 * progmodes/cwarn.el (cwarn): Remove dead link.
2832 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2833 Remove * from defcustom docstrings.
2834 (turn-on-cwarn-mode): Make obsolete.
2835 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2836 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2837
e58e988a
GM
28382012-01-31 Glenn Morris <rgm@gnu.org>
2839
60dc2671 2840 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2841 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2842 Allow named functions to be used as the cdr of :variable.
e58e988a 2843
7a3f511d
GM
28442012-01-30 Glenn Morris <rgm@gnu.org>
2845
2846 * emacs-lisp/authors.el (authors-fixed-entries):
2847 Remove reference to deleted file rnewspost.el.
2848
cb882333
JB
28492012-01-29 Juanma Barranquero <lekktu@gmail.com>
2850
2851 * window.el (window-with-parameter): Remove unused variable `windows'.
2852 (window--side-check): Remove unused variable `code'.
2853 (window--resize-siblings): Remove unused variable `first'.
2854 (adjust-window-trailing-edge): Remove unused variable `failed'.
2855 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2856 Use `let', not `let*'.
2857 (balance-windows-2): Remove unused variable `found'.
2858 (window--state-put-2): Remove unused variable `splits'.
2859 (window-state-put): Remove unused variable `selected'.
2860 (same-window-p): Use `string-match-p'.
2861 (display-buffer-assq-regexp): Remove unused variable `value'.
2862 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2863 Mark argument ALIST as ignored.
2864 (pop-to-buffer): Remove unused variable `old-window'.
2865
907201af
EZ
28662012-01-29 Eli Zaretskii <eliz@gnu.org>
2867
2868 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2869 and .lzma compressed files.
2870
ea162670
CY
28712012-01-29 Chong Yidong <cyd@gnu.org>
2872
5b95ee8a
CY
2873 * frame.el (window-system-default-frame-alist): Doc fix.
2874
ea162670
CY
2875 * dynamic-setting.el (font-setting-change-default-font): Don't
2876 change the default face if SET-FONT argument is non-nil (Bug#9982).
2877
d6e6f4b1
SB
28782012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2879
2880 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2881
0f29fa41 28822012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2883
2884 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2885 breakpoints in files outside current directory (Bug#6098).
2886
db174434
CY
28872012-01-29 Chong Yidong <cyd@gnu.org>
2888
6b25e4e2
SE
2889 * progmodes/python.el: Require ansi-color at top-level.
2890
6df6ae42
JB
2891 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2892 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2893 (lisp-mode-abbrev-table): Add doc.
2894 (lisp-mode-variables): Don't set local-abbrev-table.
2895 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2896
e70ee681
RW
28972012-01-28 Roland Winkler <winkler@gnu.org>
2898
2899 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2900
ace88aa2
RW
29012012-01-28 Roland Winkler <winkler@gnu.org>
2902
2903 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2904 (bibtex-set-dialect): Use it. Either set global values of
2905 dialect-dependent variables or bind these variables buffer-locally
2906 (Bug#10254).
2907 (bibtex-mode): Call bibtex-set-dialect via
2908 hack-local-variables-hook.
eb864a71
LM
2909 (bibtex-dialect): Update docstring.
2910 Add safe-local-variable predicate.
ace88aa2
RW
2911 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2912 bibtex-set-dialect.
2913 (bibtex-mode-map): Define menu for each dialect.
2914 (bibtex-entry): Fix docstring.
2915
93376c5b
CY
29162012-01-28 Chong Yidong <cyd@gnu.org>
2917
2918 * eshell/esh-arg.el (eshell-quote-argument): New function.
2919
2920 * eshell/esh-ext.el (eshell-invoke-batch-file):
2921 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2922 first arg to eshell-parse-command (Bug#10523).
2923
4372494f
DA
29242012-01-28 Drew Adams <drew.adams@oracle.com>
2925
2926 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2927 `default-directory' is non-nil.
2928
4d4ec1f8
EZ
29292012-01-28 Eli Zaretskii <eliz@gnu.org>
2930
2931 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2932 line that displays system-configuration-options. (Bug#9924)
2933
7c188927
DA
29342012-01-28 Drew Adams <drew.adams@oracle.com>
2935
2936 * descr-text.el (describe-char): Show information about POS, in
2937 addition to information about the character at POS. Improve and
2938 update the doc string. Change "code point" to "code point in
2939 charset", to avoid confusion with the character's Unicode code
2940 point shown above that. (Bug#10129)
2941
e0da685a
EZ
29422012-01-28 Eli Zaretskii <eliz@gnu.org>
2943
2944 * descr-text.el (describe-char): Show the raw character, not only
2945 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2946 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2947 for the reasons.
2948
70550acf
PH
29492012-01-28 Phil Hagelberg <phil@hagelb.org>
2950
eb864a71
LM
2951 * emacs-lisp/package.el (package-install):
2952 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2953
0ce8e868
CY
29542012-01-28 Chong Yidong <cyd@gnu.org>
2955
cb882333
JB
2956 * emacs-lisp/package.el (package-maybe-load-descriptor):
2957 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2958 (package-maybe-load-descriptor): Use it.
2959 (package-download-transaction): Fully load required packages
2960 inside the loop, so that `require' calls work (Bug#10593).
2961 (package-install): No need to call package-initialize now.
2962
2e7f3bea
CY
29632012-01-28 Chong Yidong <cyd@gnu.org>
2964
6e9bad14
CY
2965 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2966
f823b8ca
CY
2967 * tooltip.el (tooltip-mode): Doc fix.
2968 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2969
2680c309
CY
2970 * frame.el (set-cursor-color): Doc fix (Bug#352).
2971
d7a9e63b
CY
2972 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2973 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2974
2e7f3bea
CY
2975 * cus-edit.el (custom-buffer-create-internal): Fix search button
2976 action (Bug#10542).
2ae01800 2977 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2978
fc4f7a23
EW
29792012-01-27 Eduard Wiebe <usenet@pusto.de>
2980
2981 * dired.el (dired-mark-files-regexp):
2982 Include any subdirectory components. (Bug#10445)
2983
7dd37071
ML
29842012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2985
2986 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2987 Handle [host]:port syntax. (Bug#10533)
2988
a268160b
AH
29892012-01-27 Alex Harsanyi <harsanyi@mac.com>
2990
2991 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2992
e43273ef
GM
29932012-01-26 Glenn Morris <rgm@gnu.org>
2994
2995 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2996 * term.el (term-raw-escape-map): Use Control-X-prefix.
2997 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2998
1edf595d
MR
29992012-01-25 Martin Rudalics <rudalics@gmx.at>
3000
3001 * window.el (window-state-get, window--state-get-1): Don't deal
3002 with fixed-sizeness of windows. Simplify code.
3003
fa8eafef
JC
30042012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3005
6df6ae42
JB
3006 * window.el (window--state-get-1, window--state-put-2):
3007 Don't save and restore the mark.
fa8eafef 3008
0b21c100
CY
30092012-01-25 Chong Yidong <cyd@gnu.org>
3010
3011 * custom.el (custom-variable-p): Doc fix.
3012
5ae1a6c8
GM
30132012-01-25 Glenn Morris <rgm@gnu.org>
3014
40047858
GM
3015 * dired.el (dired-goto-file): Handle some of the more common
3016 characters that `ls -b' escapes. (Bug#10596)
3017
5ddce96c
GM
3018 * progmodes/compile.el (compilation-next-error-function):
3019 Respect compilation-first-column in the "*compilation*" buffer.
3020 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3021
5ae1a6c8
GM
3022 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3023
b559f1a9
GM
30242012-01-24 Glenn Morris <rgm@gnu.org>
3025
3026 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3027
6725d21a
JD
30282012-01-24 Julien Danjou <julien@danjou.info>
3029
3030 * color.el (color-rgb-to-hsl): Fix value computing.
3031 (color-hue-to-rgb): New function.
3032 (color-hsl-to-rgb): New function.
3033 (color-clamp, color-saturate-hsl, color-saturate-name)
3034 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3035 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3036
70df4bbe
GM
30372012-01-24 Glenn Morris <rgm@gnu.org>
3038
3039 * vc/vc-rcs.el (vc-rcs-create-tag):
3040 * vc/vc-sccs.el (vc-sccs-create-tag):
3041 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3042
802a2ae2
ML
30432012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3044
3045 * eshell/esh-util.el (eshell-read-hosts-file):
3046 Skip comment lines. (Bug#10549)
3047
d7128bb1
ML
3048 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3049
d1a5c3b4
JB
30502012-01-23 Juanma Barranquero <lekktu@gmail.com>
3051
2724d9c7
JB
3052 * subr.el (display-delayed-warnings): Doc fix.
3053 (collapse-delayed-warnings): New function to collapse identical
3054 adjacent warnings.
3055 (delayed-warnings-hook): Add it.
d1a5c3b4 3056
a5509865
MA
30572012-01-22 Michael Albinus <michael.albinus@gmx.de>
3058
3059 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3060
3061 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3062 properties, when "login-as" is set.
3063
3064 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3065 (tramp-default-user-alist): Don't add "pscp".
3066 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3067 property "login-as", if set. (Bug#10530)
3068
cc6d5805
MA
30692012-01-21 Michael Albinus <michael.albinus@gmx.de>
3070
3071 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3072 "plink1" and "psftp". (Bug#10530)
3073
30742012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3075
3076 * international/mule-cmds.el (prefer-coding-system): Show a
3077 warning message if the default value of file-name-coding-system
3078 was not changed.
3079
f0960428
JC
30802012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3081
cb882333
JB
3082 * windmove.el (windmove-reference-loc):
3083 Fix windmove-reference-loc miscalculation.
f0960428 3084
dd6f2a63
JB
30852012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3086
3087 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3088 default unit.
3089
7b447e9b
GM
30902012-01-21 Glenn Morris <rgm@gnu.org>
3091
117a9ea1
GM
3092 * international/mule.el (auto-coding-alist): Add .tbz.
3093
7b447e9b
GM
3094 * files.el (local-enable-local-variables): Doc fix.
3095 (inhibit-local-variables-regexps): Rename from
3096 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3097 Doc fix. Add some extensions from auto-coding-alist.
3098 (inhibit-local-variables-suffixes):
3099 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3100 (inhibit-local-variables-p):
3101 New function, extracted from set-auto-mode-1.
3102 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3103 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3104 (hack-local-variables): Doc fix. Make the mode-only case
3105 respect enable-local-variables and friends.
3106 Respect inhibit-local-variables-regexps for file-locals, but
3107 not for directory-locals.
3108 (set-visited-file-name):
3109 Take account of inhibit-local-variables-regexps.
3110 Whether it applies may change as the file name is changed.
3111 * jka-cmpr-hook.el (jka-compr-install):
3112 * jka-compr.el (jka-compr-uninstall):
3113 Update for inhibit-first-line-modes-suffixes name change.
3114
dd6e3cdd
MR
31152012-01-20 Martin Rudalics <rudalics@gmx.at>
3116
3117 * help-macro.el (make-help-screen): Temporarily restore original
3118 binding for minor-mode-map-alist (Bug#10454).
3119
0d0deb38
JD
31202012-01-19 Julien Danjou <julien@danjou.info>
3121
3122 * color.el (color-name-to-rgb): Use the white color to find the max
3123 color component value and return correctly computed values.
3124 (color-name-to-rgb): Add missing float conversion for max value.
3125
34a02f46
MR
31262012-01-19 Martin Rudalics <rudalics@gmx.at>
3127
3128 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3129 special state value for window-persistent-parameters.
3130 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3131 (window--state-put-2): Reset all window parameters to nil before
3132 assigning values of persistent parameters.
3133
606c44c4
AM
31342012-01-18 Alan Mackenzie <acm@muc.de>
3135
3136 Eliminate sluggishness and hangs in fontification of "semicolon
3137 deserts".
3138
cb882333
JB
3139 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3140 Change value 10000 -> 3000.
606c44c4
AM
3141 (c-state-safe-place): Reformulate so it doesn't stack up an
3142 infinite number of wrong entries in c-state-nonlit-pos-cache.
3143 (c-determine-limit-get-base, c-determine-limit): New functions to
3144 determine backward search limits disregarding literals.
3145 (c-find-decl-spots): Amend commenting.
3146 (c-cheap-inside-bracelist-p): New function which detects "={".
3147
3148 * progmodes/cc-fonts.el
3149 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3150 backward search.
3151 (c-font-lock-declarations): Fix an occurrence of point being
3152 undefined. Check additionally for point being in a bracelist or
3153 near a macro invocation without a semicolon so as to avoid a
3154 fruitless time consuming search for a declarator. Give a more
3155 precise search limit for declarators using the new
3156 c-determine-limit.
3157
f3860cea
GM
31582012-01-18 Glenn Morris <rgm@gnu.org>
3159
3160 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3161 (set-auto-mode): Doc fixes.
3162
1db03b16
GM
31632012-01-17 Glenn Morris <rgm@gnu.org>
3164
0e6038be
GM
3165 * isearch.el (search-nonincremental-instead): Fix doc typo.
3166
1db03b16
GM
3167 * dired.el (dired-insert-directory): Handle newlines in directory name.
3168 (dired-build-subdir-alist): Unescape newlines in directory name.
3169
4cb0aa75
MA
31702012-01-17 Michael Albinus <michael.albinus@gmx.de>
3171
3172 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3173 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3174 (tramp-action-terminal): Use it. (Bug#10530)
3175
1d00653d
SM
31762012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3177
3178 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3179
6a6ee00d
MR
31802012-01-16 Martin Rudalics <rudalics@gmx.at>
3181
3182 * window.el (window-state-ignored-parameters): Remove variable.
3183 (window--state-get-1): Rename argument MARKERS to IGNORE.
3184 Handle persistent window parameters. Make copy of clone-of
3185 parameter only if requested. (Bug#10348)
3186 (window--state-put-2): Install a window parameter only if it has
3187 a non-nil value or an existing parameter shall be overwritten.
3188
97912def
MA
31892012-01-15 Michael Albinus <michael.albinus@gmx.de>
3190
3191 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3192
688070a5
EZ
31932012-01-14 Eli Zaretskii <eliz@gnu.org>
3194
3195 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3196 don't pass the (nil) value of `upnode' to string-match.
3197
301afadc
CY
31982012-01-14 Chong Yidong <cyd@gnu.org>
3199
3200 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3201 Fix values recognized by the cursorBlink resource.
301afadc 3202
9e5788aa
PE
32032012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3204
3205 * epg.el (epg--make-temp-file): Avoid permission race condition
3206 when running on old Emacs versions (bug#10403).
3207
3cdb7f5a
GM
32082012-01-14 Glenn Morris <rgm@gnu.org>
3209
3210 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3211
8c82b1b4
AM
32122012-01-13 Alan Mackenzie <acm@muc.de>
3213
3214 Fix filling for when filladapt mode is enabled.
3215
3216 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3217 c-mask-paragraph, pass in `fill-paragraph' rather than
3218 `fill-region-as-paragraph'. (This is a reversion of a previous
3219 change.)
eb864a71
LM
3220 * progmodes/cc-mode.el (c-basic-common-init):
3221 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3222
e517eda4
GM
32232012-01-13 Glenn Morris <rgm@gnu.org>
3224
1498536e
GM
3225 * dired.el (dired-switches-escape-p): New function.
3226 (dired-insert-directory): Use dired-switches-escape-p.
3227 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3228
e517eda4
GM
3229 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3230
328f984d
GM
32312012-01-12 Glenn Morris <rgm@gnu.org>
3232
3233 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3234 changes in adaptive-fill-regexp. (Bug#10276)
3235
2cc769a8
AM
32362012-01-11 Alan Mackenzie <acm@muc.de>
3237
3238 Fix Emacs bug #10463 - put `widen's around the critical spots.
3239
1d00653d 3240 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3241 widen around each invocation of c-state-pp-to-literal. Remove an
3242 unused let variable.
3243
e52c37fa
GM
32442012-01-11 Glenn Morris <rgm@gnu.org>
3245
3246 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3247 Doc fix.
e52c37fa 3248
96f8741e
CY
32492012-01-10 Chong Yidong <cyd@gnu.org>
3250
1d00653d
SM
3251 * net/network-stream.el (network-stream-open-starttls):
3252 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3253 response to the capability command.
3254
b09a806e
GM
32552012-01-10 Glenn Morris <rgm@gnu.org>
3256
3257 * mail/unrmail.el (unrmail): Tweak previous change.
3258
7655cb66
CY
32592012-01-09 Chong Yidong <cyd@gnu.org>
3260
3261 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3262
9d5a8f0b
AM
32632012-01-08 Alan Mackenzie <acm@muc.de>
3264
3265 Optimise font locking in long enum definitions.
3266
3267 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3268 arm to a cond form to handle enums.
3269 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3270 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3271
9a0115ab 32722012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3273
3274 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3275 (Bug#10401)
6bb72cbd 3276
f186bb95
LMI
32772012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3278
29232a68
LMI
3279 * faces.el (set-face-attribute): Clarify the meaning of the nil
3280 frame (bug#10294).
3281
4e5d086d
LMI
3282 * subr.el (with-selected-frame): Mention that the selected frame
3283 is restored (bug#9980).
3284
8e66aebe
LMI
3285 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3286 (bug#9759).
3287
cd394be1 3288 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3289 (password-read): Don't autoload unused function.
3290
adf4e762
JB
32912012-01-07 Juanma Barranquero <lekktu@gmail.com>
3292
3293 * progmodes/which-func.el (which-func-mode): Turn into a
3294 non-interactive function and mark as obsolete (bug#10428).
3295
89bd9ccd
CY
32962012-01-06 Chong Yidong <cyd@gnu.org>
3297
3298 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3299 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3300 functions, along with 1 and -1.
3301
4afee9d5
EZ
33022012-01-06 Eli Zaretskii <eliz@gnu.org>
3303
3304 * time.el (display-time-load-average)
3305 (display-time-default-load-average): Doc fixes. See the thread
3306 starting at
3307 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3308 for the details.
3309
536aea70
GM
33102012-01-06 Glenn Morris <rgm@gnu.org>
3311
665ae865
GM
3312 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3313 has no messages. (Bug#10377)
3314
c869783d
GM
3315 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3316 than Info-edit. (Bug#10385)
3317
2bb4227e
GM
3318 * time.el (display-time-load-average, display-time-next-load-average):
3319 Doc fixes.
3320
7d5944b9
GM
3321 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3322 local setting of buffer-read-only to the input buffer. (Bug#10419)
3323
536aea70
GM
3324 * calendar/calendar.el (calendar-mode):
3325 Locally set scroll-margin to 0. (Bug#10379)
3326
7dccca16
UM
33272012-01-06 Ulrich Mueller <ulm@gentoo.org>
3328
3329 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3330
afbb7930
GM
33312012-01-05 Glenn Morris <rgm@gnu.org>
3332
3333 * eshell/em-unix.el (diff-no-select): Autoload it.
3334 (eshell/diff): Use diff-no-select. (Bug#10420)
3335
04482335
CY
33362012-01-05 Chong Yidong <cyd@gnu.org>
3337
7baca3bc
CY
3338 * shell.el (shell-dynamic-complete-functions): Revert last change.
3339 (shell-command-completion-function): New function.
3340 (shell-completion-vars): Use it to implement
3341 shell-completion-execonly (Bug#10417).
3342
04482335
CY
3343 * custom.el (enable-theme): Don't set custom-safe-themes.
3344
1d00653d
SM
3345 * cus-theme.el (custom-theme-merge-theme):
3346 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3347
bb5aa5d6
MM
33482012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3349
3350 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3351 first prompt in `sql-interacive-mode'.
3352 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3353 keywords.
6df6ae42 3354 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3355 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3356 context of original buffer. Invoke `sql-login-hook'.
3357
a7183d7c
EZ
33582012-01-04 Eli Zaretskii <eliz@gnu.org>
3359
3360 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3361 letters in cite-prefix.
3362
a1eacd1e
LMI
33632012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3364
3365 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3366
787cdb34
CY
33672012-01-03 Chong Yidong <cyd@gnu.org>
3368
1d00653d
SM
3369 * shell.el (shell-dynamic-complete-functions):
3370 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3371 comint-filename-completion first (Bug#10417).
3372
30710442
RS
33732012-01-02 Richard Stallman <rms@gnu.org>
3374
3375 * battery.el (battery-status-function):
3376 Detect when to use battery-yeeloong-sysfs.
3377 (battery-echo-area-format): Add string for Yeeloong.
3378 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3379 (battery-yeeloong-sysfs): New function.
3380
f75bfc33
CY
33812012-01-02 Chong Yidong <cyd@gnu.org>
3382
3383 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3384 (dirtrack): Merge code for handling relative filenames in prompt
3385 from shell-dir-cookie-watcher.
3386 (dirtrack-debug-message): New arg to avoid excess format calls.
3387
3388 * shell.el (shell-dir-cookie-re): Variable deleted.
3389 (shell-dir-cookie-watcher): Function deleted.
3390 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3391 with dirtrack-mode.
3392
651e947e
EZ
33932012-01-01 Eli Zaretskii <eliz@gnu.org>
3394
1d00653d
SM
3395 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3396 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3397 libgnutls-26.dll.
3398
94d4c7dc
AS
33992011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3400
3401 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3402
8d43f3cd
EZ
34032011-12-31 Eli Zaretskii <eliz@gnu.org>
3404
3405 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3406 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3407
98c8795a
MA
34082011-12-29 Michael Albinus <michael.albinus@gmx.de>
3409
3410 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3411 also for alternative shells.
3412 (tramp-open-connection-setup-interactive-shell): Check, whether
3413 the shell is a busybox.
3414 (tramp-send-command): Don't suppress multiple prompts for
3415 busyboxes, it hurts.
3416
51281b32
CY
34172011-12-28 Chong Yidong <cyd@gnu.org>
3418
3419 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3420 (gdb-get-source-file): Move mode line update to
3421 gdb-get-source-file (Bug#10087).
3422
2170cb53
CY
34232011-12-25 Chong Yidong <cyd@gnu.org>
3424
3425 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3426 gud-gdb-marker-filter without taking it as an argument.
3427 (gud-gdb-run-command-fetch-lines): Caller changed.
3428 (gud-gdb-completion-function): New variable.
3429 (gud-gdb-completion-at-point): Use it.
3430 (gud-gdb-completions-1): Split from gud-gdb-completions.
3431
3432 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3433 function as separate arguments.
3434 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3435 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3436 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3437 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3438 (gdb-stopped, def-gdb-auto-update-trigger)
3439 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3440 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3441 Callers changed.
2170cb53
CY
3442 (gud-gdbmi-completions): New function.
3443 (gdb): Use it for generating the completion table.
3444
be8b11bb
AM
34452011-12-24 Alan Mackenzie <acm@muc.de>
3446
3447 Introduce a mechanism to widen the region used in context font
1d00653d 3448 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3449
1d00653d
SM
3450 * progmodes/cc-langs.el (c-before-font-lock-functions):
3451 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3452 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3453 functions to be run just before context (etc.) font locking.
3454
3455 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3456 New, functionality extracted from
be8b11bb 3457 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3458 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3459 (c-after-change): Set c-in-after-change-fontification.
3460 (c-set-fl-decl-start): Rejig its interface, so it can be called
3461 from both after-change and context fontifying.
b81d40f0
JB
3462 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3463 New functions.
3464 (c-standard-font-lock-fontify-region-function): New variable.
3465 (c-font-lock-fontify-region): New function.
be8b11bb 3466
341cf6ac
JL
34672011-12-24 Juri Linkov <juri@jurta.org>
3468
3469 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3470 (Bug#10348)
3471
bffcee0a
MA
34722011-12-23 Michael Albinus <michael.albinus@gmx.de>
3473
3474 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3475 existence of source file. (Bug#10325)
3476
cb5e207c
AM
34772011-12-23 Alan Mackenzie <acm@muc.de>
3478
3479 Fix unstable fontification inside templates.
3480
b81d40f0
JB
3481 * progmodes/cc-langs.el (c-before-font-lock-functions):
3482 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3483 additionally has c-set-fl-decl-start. The other languages (apart
3484 from AWK) have that as a single entry.
3485
b81d40f0
JB
3486 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3487 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3488 c-set-fl-decl-start.
3489
b81d40f0
JB
3490 * progmodes/cc-mode.el (c-common-init, c-after-change):
3491 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3492 (c-set-fl-decl-start): New function, extracted from
3493 c-font-lock-enclosing-decls and enhanced.
3494
60ff536c
JB
34952011-12-23 Juanma Barranquero <lekktu@gmail.com>
3496
3497 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3498
1c4757d6
JL
34992011-12-22 Juri Linkov <juri@jurta.org>
3500
3501 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3502
d031f2c7
CY
35032011-12-22 Chong Yidong <cyd@gnu.org>
3504
3505 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3506
bace743a
DA
35072011-12-21 Drew Adams <drew.adams@oracle.com>
3508
3509 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3510
728a1f2b
JC
35112011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3512
3513 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3514
0d373f73
TZ
35152011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3516
fec0aaa4
TZ
3517 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3518 highlighting and support. Fix up comments for capitalization.
3519 (cfengine-mode-debug): New var.
3520 (cfengine3-mode): Change the modeline indicator to "CFE3".
3521 (cfengine3-font-lock-keywords): Improve defun highlighting.
3522 (cfengine2-actions): Rename from `cfengine-actions'.
3523 (cfengine2-font-lock-keywords): Rename from
3524 `cfengine-font-lock-keywords'.
3525 (cfengine2-imenu-expression): Rename from
3526 `cfengine-imenu-expression'.
3527 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3528 (cfengine2-beginning-of-defun): Rename from
3529 `cfengine-beginning-of-defun'.
3530 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3531 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3532 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3533 modeline indicator to "CFE2".
3534 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3535 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3536
bc86f573
CY
35372011-12-21 Chong Yidong <cyd@gnu.org>
3538
3539 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3540 filename argument.
3541
d45ba96b
MR
35422011-12-20 Martin Rudalics <rudalics@gmx.at>
3543
3544 * window.el (window-normalize-buffer-to-display): Remove.
3545 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3546
a6198c90
CY
35472011-12-19 Chong Yidong <cyd@gnu.org>
3548
3549 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3550 Don't signal an error in a predicate function; return non-nil.
3551 (vc-dir-mark-file): Move the error here.
3552 (vc-dir-mark-unmark): If acting on the region, keep going if one
3553 of the entries cannot be marked/unmarked.
3554 (vc-dir-mark-all-files): If current entry is a directory, mark
3555 only child files, as documented.
3556
34c5fb55
VB
35572011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3558
3559 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3560 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3561 addition.
3562
c803b2b7
JD
35632011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3564
3565 * term/ns-win.el (ns-get-selection-internal)
3566 (ns-store-selection-internal): Declare.
1154d12e
JB
3567 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3568 Declare as obsolete.
3569 (ns-get-pasteboard, ns-paste-secondary):
3570 Use ns-get-selection-internal.
3571 (ns-set-pasteboard, ns-copy-including-secondary):
3572 Use ns-store-selection-internal.
c803b2b7 3573
9cff91f8 35742011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3575
3576 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3577 (vc-deduce-fileset): Doc fix.
99a289d9 3578
f16c898a
AS
35792011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3580
3581 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3582
763237c4
SS
35832011-12-13 Sam Steingold <sds@gnu.org>
3584
3585 * man.el (Man-getpage-in-background): When running under a
3586 window-system, ignore $MANWIDTH and $COLUMNS.
3587
5fc1c122
KH
35882011-12-15 Kenichi Handa <handa@m17n.org>
3589
3590 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3591 (setup-ethiopic-environment-internal): Comment out key-binding for
3592 ethio-toggle-punctuation.
3593
13d49cbb
AM
35942011-12-13 Alan Mackenzie <acm@muc.de>
3595
898169a2
AM
3596 Add the switch statement to AWK Mode.
3597
7a71b18d 3598 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3599 "default" to the keywords regexp.
3600
7a71b18d 3601 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3602 expression as the rest.
1d00653d
SM
3603 (c-nonlabel-token-key): Allow string literals for AWK.
3604 Refactor for the other modes.
898169a2 3605
13d49cbb 3606 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3607 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3608 routines. Limit backward searching in c-font-lock-enclosing.decl.
3609
3610 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3611 pp-state and literal type in addition to the limits.
1d00653d 3612 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3613 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3614 (c-slow-in-literal, c-fast-in-literal): Remove.
3615 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3616
3617 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3618 being in a literal. Add a limit for backward searching.
3619
3620 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3621 c-slow-in-literal.
3622
15e0efc7
SM
36232011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3626
454592a6
MR
36272011-12-13 Martin Rudalics <rudalics@gmx.at>
3628
3629 * window.el (delete-other-windows): Use correct frame in call to
3630 window-with-parameter.
3631
87393f26
DP
36322011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3633
3634 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3635 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3636 (makefile-gmake-statements, makefile-makepp-statements):
3637 Use it and add new makepp keywords.
3638 (makefile-makepp-font-lock-keywords): Add new patterns.
3639 (makefile-match-function-end): Match new [...] and [[...]].
3640
11636b22
JB
36412011-12-11 Juanma Barranquero <lekktu@gmail.com>
3642
3643 * ses.el (ses-call-printer-return, ses-cell-property-get)
3644 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3645 (ses-create-cell-variable, ses-reset-header-string)
3646 (ses-cell-set-formula, ses-repair-cell-reference-all)
3647 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3648 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3649 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3650 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3651 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3652 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3653 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3654 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3655 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3656 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3657 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3658 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3659
cf018193
VB
36602011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3661
3662 * ses.el: The overall change is to add cell renaming, that is
3663 setting fancy names for cell symbols other than name matching
3664 "\\`[A-Z]+[0-9]+\\'" regexp .
3665 (ses-create-cell-variable): New defun.
3666 (ses-relocate-formula): Relocate formulas only for cells the
3667 symbols of which are not renamed, i.e. symbols whose names do not
3668 match regexp "\\`[A-Z]+[0-9]+\\'".
3669 (ses-relocate-all): Relocate values only for cells the symbols of
3670 which are not renamed.
3671 (ses-load): Create cells variables as the (ses-cell ...) are read,
3672 in order to check row col consistency with cell symbol name only
3673 for cells that are not renamed.
3674 (ses-replace-name-in-formula): New defun.
3675 (ses-rename-cell): New defun.
3676
ee957461
CY
36772011-12-11 Chong Yidong <cyd@gnu.org>
3678
3679 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3680 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3681
9a9e9ef0
MR
36822011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3683
3684 * window.el (other-window): Fix docstring.
3685
92a8eba5
EZ
36862011-12-10 Eli Zaretskii <eliz@gnu.org>
3687
3688 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3689 `from' or `to' address before taking its substring.
3690 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3691 encoded name is chopped in the middle of the encoded string, and
3692 thus displayed encoded.
3693
e152e577
JB
36942011-12-10 Juanma Barranquero <lekktu@gmail.com>
3695
3696 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3697
e5d84bfe
EZ
36982011-12-10 Eli Zaretskii <eliz@gnu.org>
3699
3700 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3701 to use texinfo-update-node and commands that call it if the
3702 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3703 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3704 (texinfo-all-menus-update, texinfo-master-menu)
3705 (texinfo-update-node, texinfo-every-node-update)
3706 (texinfo-multiple-files-update): Doc fix. Warn against updating
3707 all the @node lines.
3708 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3709 argument is numeric. Explain better in the doc string what the
3710 function really does.
3711 (texinfo-insert-master-menu-list): Improve the error message
3712 displayed if there's no menu in the Top node.
3713 (Bug#2975) See also this thread:
e5d84bfe
EZ
3714 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3715
1d84e9bb
MG
37162011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3717
3718 * speedbar.el (speedbar-supported-extension-expressions):
3719 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3720
382c953b
JB
37212011-12-09 Juanma Barranquero <lekktu@gmail.com>
3722
3723 * printing.el (pr-mode-alist):
3724 * simple.el (filter-buffer-substring-functions)
3725 (completion-list-insert-choice-function):
3726 * window.el (window-with-parameter, window-atom-root)
3727 (window-sides-slots, window-size-fixed, window-min-delta)
3728 (window-max-delta, window--resize-mini-window)
3729 (window--resize-child-windows-normal, window-tree)
3730 (delete-other-windows, quit-window, split-window)
3731 (display-buffer-record-window, special-display-buffer-names)
3732 (special-display-regexps, special-display-popup-frame)
3733 (same-window-p, split-window-sensibly)
3734 (display-buffer-overriding-action, display-buffer-alist)
3735 (display-buffer-base-action, display-buffer, switch-to-buffer)
3736 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3737 (fit-window-to-buffer, recenter-positions)
3738 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3739 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3740 and remove unneeded backslashes in docstrings.
3741
39c9faef
SM
37422011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3743
98449af8
SM
3744 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3745
39c9faef
SM
3746 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3747 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3748 end in ".mk".
3749 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3750 when reading the makefile (bug#10116).
3751
86ed9fdc
SM
37522011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3753
3754 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3755 (bug#10116).
3756
5580f89d
GM
37572011-12-06 Glenn Morris <rgm@gnu.org>
3758
3759 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3760
28d3917c
CY
37612011-12-06 Chong Yidong <cyd@gnu.org>
3762
3763 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3764
a98edce9
JB
37652011-12-06 Juanma Barranquero <lekktu@gmail.com>
3766
3767 * textmodes/table.el (table-shorten-cell): Fix typo.
3768
e65adfac
CG
37692011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3770
3771 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3772
71cc0b74
EZ
37732011-12-05 Eli Zaretskii <eliz@gnu.org>
3774
3775 * descr-text.el (describe-char): Fix display of strong
3776 right-to-left characters and directional embeddings and overrides.
3777
3778 * simple.el (what-cursor-position): Fix display of codepoints of
3779 strong right-to-left characters.
3780
315bc30d
CY
37812011-12-05 Chong Yidong <cyd@gnu.org>
3782
3783 * faces.el (read-color): Doc fix.
3784
58a70b94
GM
37852011-12-05 Glenn Morris <rgm@gnu.org>
3786
3787 * align.el (align--set-marker): Add doc-string.
3788 Don't try to move something that is not a marker. (Bug#10216)
3789
5158face
GM
37902011-12-04 Glenn Morris <rgm@gnu.org>
3791
3792 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3793 overly zealous deletion of trailing whitespace.
3794
520fca41
JB
37952011-12-04 Juanma Barranquero <lekktu@gmail.com>
3796
3797 * server.el (server-delete-client): On Windows, do not try to delete
3798 the only terminal.
3799 (server-process-filter): On Windows, treat requests for a tty frame as
3800 if they were for a GUI frame if the running server is in GUI mode.
3801
5e605a2e
GM
38022011-12-03 Glenn Morris <rgm@gnu.org>
3803
3804 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3805
5c3fe83f
SM
38062011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3807
6f5e57e7
SM
3808 * electric.el: Streamline electric-indent's hook.
3809 (electric-indent-chars): Revert to simple list.
3810 (electric-indent-functions): New var.
3811 (electric-indent-post-self-insert-function): Use it.
3812
5c3fe83f
SM
3813 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3814 there's no inferior buffer (bug#10196).
3815 (prolog-consult-compile): Don't use toggle-read-only.
3816
6bdac736
MA
38172011-12-02 Michael Albinus <michael.albinus@gmx.de>
3818
3819 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3820 interrupt. (Bug#10187)
3821
6131ba7f
SM
38222011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3823
99c79fee
SM
3824 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3825 (bug#9160).
3826
6131ba7f
SM
3827 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3828 (bug#10191).
3829
cb0a02ea
JL
38302011-12-02 Juri Linkov <juri@jurta.org>
3831
3832 * info.el (Info-search): Display "end of manual" when Isearch
3833 reaches the end of single-file Info manual. (Bug#9918)
3834
66e0570c
EZ
38352011-12-02 Eli Zaretskii <eliz@gnu.org>
3836
3837 * isearch.el (isearch-message-prefix): Run the input method part
3838 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3839
02b16839
JL
38402011-12-02 Juri Linkov <juri@jurta.org>
3841
3842 * isearch.el (isearch-occur): Use `word-search-regexp' for
3843 `isearch-word'.
3844 (isearch-search-and-update): Add condition for `isearch-word' and
3845 call `word-search-regexp'. (Bug#10145)
3846
0b950688
GM
38472011-12-01 Glenn Morris <rgm@gnu.org>
3848
3849 * eshell/em-hist.el (eshell-hist-initialize):
3850 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3851 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3852
9505c3c7
SM
38532011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3856
1bbe96b2 38572011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3858
a1beca85
SM
3859 * progmodes/verilog-mode.el (verilog-pretty-expr):
3860 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3861 verilog, such as += *= and the like.
3862 (verilog-assignment-operator-re): Regular expression to find the
3863 assigment operator in a verilog assignment.
3864 (verilog-assignment-operation-re): Regular expression to find an
3865 assignment statement for pretty-expr.
3866 (verilog-in-attribute-p): Query returns true if point is in an
3867 attribute context; used to skip these for expression line up from
3868 pretty-expr.
3869 (verilog-in-parameter-p): Query returns true if point is in an
3870 parameter definition context; used to skip these for expression
3871 line up from pretty-expr.
3872 (verilog-in-parenthesis-p): Query returns true if point is in a
3873 parenthetical expression, specifically ( ) but not [ ] or { };
3874 used by pretty-expr.
3875 (verilog-just-one-space): If there is no space, don't add one.
3876 (verilog-get-lineup-indent-2): Specifically skip just attribute
3877 contexts for expression lineup, rather than skipping all
3878 parenthetical expressions.
3879 (verilog-calculate-indent): Fix comment, and fix indent.
3880 (verilog-do-indent): Indent declarations in lists (suggested by
3881 Joachim Lechner).
3882 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3883 skeleton items.
3884 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3885 by Alain Mellan).
3886
1bbe96b2 38872011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3888
3889 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3890 parameters with embedded comments. Reported by Ray Stevens.
3891 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3892 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3893 Reported by Tim Holt.
3894 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3895 instantiated by upper module causing wrong expansion until AUTOed a
3896 second time. Reported by K C Buckenmaier.
3897 (verilog-diff-auto): Fix showing .* as a difference when
3898 `verilog-auto-star-save' off. Reported by Dan Dever.
3899 (verilog-auto-reset, verilog-read-always-signals)
3900 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3901 temporary signals in reset list if
3902 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3903 style to each signal's assignment type, bug381.
3904 Reported by Thomas Esposito.
6288f0ca
WS
3905 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3906 (verilog-uvm-statement-re): Support UVM indentation and
3907 highlighting, with old OVM keywords only.
a1beca85 3908 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3909 Support AUTOTIEOFF creating non-wire data types.
3910 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3911 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3912 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3913 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3914 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3915 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3916 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3917 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3918 non-numeric vector width. Reported by Alex Reed.
3919 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3920 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3921 (verilog-auto-delete-trailing-whitespace):
3922 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3923 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3924 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3925 Fix verilog-scan-cache corruption when running user AUTO expansion
3926 hooks that call indentation routines.
3927 (verilog-simplify-range-expression): Fix typo ignoring lower case
3928 identifiers.
3929 (verilog-delete-auto): Fix delete-autos to also remove user created
3930 automatics, as long as they start with AUTO.
3931 (verilog-batch-diff-auto, verilog-diff-auto)
3932 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3933 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3934 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3935 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3936 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3937 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3938 is disabled and its cache will get corrupt, causing AUTOS not to
3939 expand. Instead use only -quick functions.
3940 (verilog-scan-region): Fix scanning over escaped quotes.
3941 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3942 (verilog-re-search-backward-quick)
3943 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3944 related functions now ignore strings, to fix misparsing of strings
3945 with magic comments embedded in them.
a1beca85
SM
3946 (verilog-read-auto-template):
3947 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3948 Reported by Brad Dobbie.
3949 (verilog-read-auto-template):
3950 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3951 Reported by Brad Dobbie.
6288f0ca
WS
3952 (verilog-auto-inst, verilog-auto-inst-param)
3953 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3954 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3955 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3956 debugging templates without merge conflicts, bug357.
3957 Reported by Brad Dobbie.
3958 (verilog-read-auto-template):
3959 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3960 Reported by Brad Dobbie.
3961 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3962 abbrevs so user won't be asked to save.
3963 (verilog-read-auto-lisp-present): Fix to start at beginning of
3964 buffer in case called outside of verilog-auto.
3965 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3966 to "X-2". Reported by Matthew Myers.
3967 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3968 all inputs from module templates. Reported by Leith Johnson.
3969 (verilog-module-inside-filename-p): Fix locating programs as with
3970 modules.
3971 (verilog-auto-inst-port): Fix vl-width expressions when using
3972 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3973 (verilog-decls-get-regs, verilog-decls-get-signals,
3974 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3975 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3976 verilog-read-decls): Combine reg and wire structures into one var
3977 structure to represent SystemVerilog concepts.
3978 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3979 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3980 (verilog-auto-wire-type, verilog-insert-definition):
3981 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3982 SystemVerilog "logic" keyword instead of "wire"/"reg".
3983 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3984 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3985 ifdef or generate if so there's not a driver conflict).
3986 Reported by Matthew Myers.
3987 (verilog-auto-declare-nettype, verilog-insert-definition):
3988 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3989 `default_nettype none. Reported by Julian Gorfajn.
3990 (verilog-read-always-signals-recurse, verilog-read-decls)
3991 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3992 malformed end statement, bug325. Reported by Joshua Wise and
3993 Andrew Drake.
3994 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3995 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3996 when expanding .* in interfaces, bug320.
3997 Reported by Pierre-David Pfister.
6288f0ca 3998 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3999 name and open parenthesis, bug317.
4000 Reported by Pierre-David Pfister.
6288f0ca
WS
4001 (verilog-simplify-range-expression): Fix simplification of
4002 multiplications inside AUTOWIRE connections, bug303.
4003 (verilog-auto-inst-port): Support parameter expansion in
4004 multidimensional arrays.
4005 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4006 after "assert property". Reported by Julian Gorfajn.
4007 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4008 with multiplication, bug303.
4009 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4010 Reported by Jan Frode Lonnum.
4011
1bbe96b2
GM
40122011-11-30 Juanma Barranquero <lekktu@gmail.com>
4013
4014 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4015 (hfy-shell-file-name, hfy-shell):
4016 * international/fontset.el (x-decompose-font-name): Fix typos.
4017
40182011-11-29 Ken Brown <kbrown@cornell.edu>
4019
4020 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4021 (gdb-version): Remove defvar.
4022 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4023 (gdb-gud-context-command, gdb-non-stop-handler)
4024 (gdb-current-context-command, gdb-stopped): Use it.
4025 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4026 (gdb-non-stop-handler): Don't enable pretty-printing here.
4027 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4028 non-stop mode. Use the following.
4029 (gdb-check-target-async): New defun.
4030 (gud-watch, gdb-stopped): Fix whitespace.
4031 (gdb-get-source-file): Don't try to display the source file if
4032 `gdb-main-file' is nil.
4033
40342011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * align.el: Try to generate fewer markers (bug#10047).
4037 (align--set-marker): New macro.
4038 (align-region): Use it.
4039
c935221f
SM
40402011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4041
4042 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4043
e70b5064
CY
40442011-11-29 Chong Yidong <cyd@gnu.org>
4045
4046 * indent.el (indent-for-tab-command, indent-according-to-mode):
4047 Doc fix.
4048 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4049
f3af92b7
MA
40502011-11-29 Michael Albinus <michael.albinus@gmx.de>
4051
4052 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4053 aware of remote file names. (Bug#10124)
4054
ed472be9
CY
40552011-11-29 Chong Yidong <cyd@gnu.org>
4056
4057 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4058
24510c22
SM
40592011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * files.el (find-file): Don't use force-same-window (bug#10144).
4062 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4063 use pop-to-buffer if the selected window can't be used.
4064 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4065
c60c3703
EZ
40662011-11-28 Eli Zaretskii <eliz@gnu.org>
4067
4068 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4069 special-mode-map.
4070
e95def75
CY
40712011-11-28 Chong Yidong <cyd@gnu.org>
4072
4073 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4074
c3f1c606
NR
40752011-11-27 Nick Roberts <nickrob@snap.net.nz>
4076
4077 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4078 gdb-get-source-file-list on gdb-create-source-file-list.
4079
00db469c
EZ
40802011-11-26 Eli Zaretskii <eliz@gnu.org>
4081
4082 * whitespace.el (whitespace-newline): Use a different foreground
4083 color for 16-color light-background displays.
4084
4ad3bc2a
CY
40852011-11-24 Chong Yidong <cyd@gnu.org>
4086
4087 * window.el (display-buffer--special-action): Doc fix.
4088
e9fce1ac
JB
40892011-11-25 Juanma Barranquero <lekktu@gmail.com>
4090
4091 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4092 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4093 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4094 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4095 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4096 (avl-tree-stack-first):
4097 * emacs-lisp/cconv.el (cconv--analyse-use):
4098 * net/gnutls.el (gnutls-negotiate): Fix typos.
4099
cb825e5d
GM
41002011-11-24 Glenn Morris <rgm@gnu.org>
4101
3adbe224
GM
4102 * lpr.el (lpr-windows-system, lpr-lp-system):
4103 * mail/binhex.el (binhex-begin-line):
4104 * progmodes/grep.el (grep-history, grep-find-history):
4105 * textmodes/flyspell.el:
4106 * vc/pcvs-defs.el (cvs-global-menu):
4107 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4108 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4109 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4110
321decc8
GM
4111 * net/tls.el: Fix case of "GnuTLS".
4112
420b63ad
GM
4113 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4114
cb825e5d
GM
4115 * version.el (emacs-build-system): Give it a doc-string.
4116
a0649f08
JL
41172011-11-24 Juri Linkov <juri@jurta.org>
4118
4119 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4120
c0bc0fd4
GM
41212011-11-24 Glenn Morris <rgm@gnu.org>
4122
4123 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4124 if called on a non-mime message just toggle the headers. (Bug#8006)
4125
20db1522
JB
41262011-11-24 Juanma Barranquero <lekktu@gmail.com>
4127
4128 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4129 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4130 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4131 (allout-rebullet-heading, allout-open-sibtopic)
4132 (allout-toggle-current-subtree-encryption)
4133 (allout-toggle-subtree-encryption, allout-encrypt-string)
4134 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4135 (allout-distinctive-bullets-string, allout-auto-activation):
4136 * window.el (window-normalize-buffer-to-display):
4137 * progmodes/verilog-mode.el (verilog-batch-indent):
4138 * textmodes/bibtex.el (bibtex-field-braces-opt)
4139 (bibtex-field-strings-opt):
4140 * vc/cvs-status.el (cvs-tree-merge):
4141 Fix typos.
4142
7262a87c
MA
41432011-11-23 Michael Albinus <michael.albinus@gmx.de>
4144
4145 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4146 `non-essential' to t, in order to avoid remote connections.
4147
283430a1
EZ
41482011-11-23 Eli Zaretskii <eliz@gnu.org>
4149
a1beca85
SM
4150 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4151 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4152 case-insensitively.
4153
d2992a38
ML
41542011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4155
4156 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4157
50419064
GM
41582011-11-23 Glenn Morris <rgm@gnu.org>
4159
da94eca1
GM
4160 * paths.el (rmail-file-name): Reformat the doc-string so that it
4161 is picked up.
4162
9aac4de2
GM
4163 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4164 (rmail-auto-file): Ignore case in the "special" field names,
4165 as mail-fetch-field does for all others.
4166
8038d2d2
GM
4167 * mail/rmail.el (rmail-forward):
4168 * mail/rmailkwd.el (rmail-set-label):
4169 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4170 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4171
f3fe222a
GM
4172 * mail/rmail.el (rmail-current-message): Doc fix.
4173
50419064
GM
4174 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4175
28109f49
SM
41762011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4177
4178 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4179
394c65f1
GM
41802011-11-22 Glenn Morris <rgm@gnu.org>
4181
4182 * mail/rmailmm.el (test-rmail-mime-handler)
4183 (test-rmail-mime-bulk-handler)
4184 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4185
f2a0aa3a
JL
41862011-11-21 Juri Linkov <juri@jurta.org>
4187
1154d12e
JB
4188 * calc/calc.el (calc-read-key-sequence):
4189 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4190
9c34a344
LMI
41912011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4192
4193 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4194 Tell the caller that the next line needs recomputation, even
4195 though it doesn't start a sexp (bug#10094).
4196
f04a3be9
SM
41972011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4200
7978747f
SM
42012011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4202
f04a3be9
SM
4203 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4204 Use force-same-window.
7978747f 4205
fe7a3057
JB
42062011-11-20 Juanma Barranquero <lekktu@gmail.com>
4207
4208 * descr-text.el (describe-char-unicode-data):
4209 * json.el (json-string-escape):
4210 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4211 (Footnote-unicode, Footnote-style-p):
4212 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4213
24901d61
CY
42142011-11-20 Chong Yidong <cyd@gnu.org>
4215
4216 * window.el (replace-buffer-in-windows): Restore interactive spec.
4217
bac7ff22
SM
42182011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4219
24f3d7b9
SM
4220 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4221
bac7ff22
SM
4222 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4223 (byte-compile-global-not-obsolete-vars): New var.
4224 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4225 Use it.
4226 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4227
cd1181db
JB
42282011-11-20 Juanma Barranquero <lekktu@gmail.com>
4229
4230 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4231 * progmodes/pascal.el (electric-pascal-equal):
4232 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4233 * xml.el (xml-substitute-special): Fix typos.
4234
7fb18e9e
GM
42352011-11-20 Glenn Morris <rgm@gnu.org>
4236
4237 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4238 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4239 Doc fixes.
4240 (rmail-decode-mime-charset): Mark as obsolete.
4241
4242 * mail/rmailsum.el (rmail-message-regexp-p-1):
4243 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4244 Before using mime functions, check they are set. (Bug#10077)
4245
d5a6b3ba
JL
42462011-11-19 Juri Linkov <juri@jurta.org>
4247
4248 * info.el (Info-finder-find-node): Use `package--builtins' instead
4249 of `package-alist'. Use node names formed by the pattern "Keyword "
4250 and the keyword name.
4251
e981b61f
AS
42522011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4253
1d00653d 4254 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4255
3ffbc301
JL
42562011-11-19 Juri Linkov <juri@jurta.org>
4257
4258 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4259 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4260 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4261 `old-history', `old-history-forward'. Add let-binding
4262 `window-selected'. Remove calls to `kill-buffer',
4263 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4264 before calling `Info-find-node', so `Info-find-node-2' will reread
4265 the Info file. Restore window positions only when `window-selected'
4266 is non-nil.
4267
30c62133
JL
42682011-11-19 Juri Linkov <juri@jurta.org>
4269
4270 * isearch.el (isearch-lazy-highlight-new-loop):
4271 Remove condition `(not isearch-error)'. (Bug#9918)
4272
4273 * misearch.el (multi-isearch-search-fun): Add condition
4274 `(not bound)' to ignore lazy-highlighting search.
4275 Add the search-failed message "end of multi" when the end of
4276 multi-sequence is reached. Uncapitalize the search-failed
4277 message "Repeat for next buffer".
4278
4279 * info.el (Info-search): Add the search-failed message
4280 "end of the manual" when the end of the manual is reached
4281 in Isearch mode.
4282
645ca9cf
JL
42832011-11-19 Juri Linkov <juri@jurta.org>
4284
4285 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4286 Use non-destructive `remove' instead of `delete' because
4287 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4288 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4289
df754f66
JL
42902011-11-19 Juri Linkov <juri@jurta.org>
4291
4292 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4293 to nil instead of binding `search-ring' and `regexp-search-ring'.
4294 (Bug#9185)
4295
0e23d96a
EZ
42962011-11-19 Eli Zaretskii <eliz@gnu.org>
4297
4298 * simple.el (line-move): Force movement by logical lines for any
4299 hscrolled window, not only when auto-hscroll-mode is on.
4300 (line-move-visual): Update doc string to that effect. (Bug#10076)
4301
8a6ccb66
AS
43022011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4303
4304 * language/european.el (macintosh): Define as alias for mac-roman.
4305
49ae5b39
EZ
43062011-11-19 Eli Zaretskii <eliz@gnu.org>
4307
4308 * mail/rmailmm.el (rmail-mime-display-header)
4309 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4310 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4311 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4312 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4313 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4314 of a raw aref.
4315 (rmail-mime-entity-segment): To get past the tagline, move forward
4316 2 more lines, to account for the 2 empty lines that precede and
4317 follow the line with the buttons.
4318 (rmail-mime-update-tagline): Move one more line, to get past the
4319 empty line that follows the buttons in the tagline. (Bug#9520)
4320
c56cad4a
MR
43212011-11-19 Martin Rudalics <rudalics@gmx.at>
4322
4323 * window.el (window-max-delta-1, window-min-delta-1)
4324 (window-min-size-1, window-state-get-1, window-state-put-1)
4325 (window-state-put-2): Use "window--" prefix.
4326
cbe71af3
SM
43272011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4328
2ad52c60
SM
4329 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4330 (smie-warning-count): New var.
4331 (smie-set-prec2tab): Use it.
4332 (smie-bnf->prec2): Improve warnings. Add docstring.
4333 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4334 (smie-bnf--set-class): New function.
4335 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4336 corner case.
4337
6944dbc1
SM
4338 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4339 (compilation-error-properties, compilation-move-to-column):
4340 Handle compilation-first-column while in the target buffer.
4341
c400c4d7
SM
4342 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4343 Don't hardcode point-min==1.
4344
6dbe3e96
SM
4345 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4346 (eshell-rewrite-for-command): Remove workaround.
4347 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4348 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4349 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4350
cbe71af3
SM
4351 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4352
a8e1496d
GM
43532011-11-17 Glenn Morris <rgm@gnu.org>
4354
4355 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4356 Ignore buffer-local generated-autoload-file if it is the same
4357 as the global value. (Bug#10049)
4358
df85d315
JB
43592011-11-17 Juanma Barranquero <lekktu@gmail.com>
4360
4361 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4362 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4363 (reftex-toc-previous-heading, reftex-toc-max-level)
4364 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4365 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4366 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4367 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4368 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4369 (reftex-toc-rename-label, reftex-toc-visit-location)
4370 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4371 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4372 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4373 leaving "*toc*" only for references to the buffer.
4374
a0c2d0ae
MR
43752011-11-17 Martin Rudalics <rudalics@gmx.at>
4376
4377 * window.el (window-resize, delete-window, split-window):
4378 Replace window-splits by window-combination-resize.
1d00653d 4379 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4380
35c0bac8
GM
43812011-11-17 Glenn Morris <rgm@gnu.org>
4382
4383 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4384 Make bash entry derive from sh entry, not shell entry.
4385
d0c8fc8a
MA
43862011-11-16 Michael Albinus <michael.albinus@gmx.de>
4387
d0c8fc8a
MA
4388 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4389 properties of linked files. (Bug#9879)
4390
7262a87c
MA
4391 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4392 local file name.
4393
7877f373
JB
43942011-11-16 Juanma Barranquero <lekktu@gmail.com>
4395
4396 * menu-bar.el (menu-bar-file-menu):
4397 * printing.el (pr-ps-utility):
4398 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4399 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4400 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4401 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4402 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4403 (icalendar--convert-cyclic-to-ical)
4404 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4405 (icalendar--convert-ical-to-diary)
4406 (icalendar--convert-recurring-to-diary)
4407 (icalendar--convert-non-recurring-all-day-to-diary)
4408 (icalendar-import-format-sample):
4409 * progmodes/idlw-shell.el (idlwave-shell-mode):
4410 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4411 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4412 (vhdl-ps-print-init): Fix typos.
4413
10649b82
KM
44142011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4415
9d0cfcd6
GM
4416 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4417 FSF and collapse date sequence, obscure author/maintainer email address
4418 better, remove extra version line, track relocation of author's webpage.
10649b82 4419
9d0cfcd6
GM
4420 * progmodes/python.el (python-pdbtrack-input-prompt)
4421 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4422 regular python pdb prompts. Adjustments shamelessly taken exactly as
4423 suggested in EmacsWiki page (tiny change):
4424 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4425
58179cce
JB
44262011-11-16 Juanma Barranquero <lekktu@gmail.com>
4427
4428 * expand.el (expand-pos, expand-index, expand-point):
4429 Remove redundant info from docstring.
4430 (expand-add-abbrevs): Doc fix.
4431 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4432 (expand-sample-perl-mode-expand-list): Fix typos.
4433
4434 * net/dbus.el (dbus-event-member-name):
4435 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4436 * term/pc-win.el (msdos-create-frame-with-faces):
4437 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4438
b6f67890
MR
44392011-11-16 Martin Rudalics <rudalics@gmx.at>
4440
4441 * window.el (split-window, window-state-get-1)
4442 (window-state-put-1, window-state-put-2): Rename occurrences of
4443 window-nest to window-combination-limit.
1d00653d 4444 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4445
ce7ddba0
CY
44462011-11-16 Chong Yidong <cyd@gnu.org>
4447
4448 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4449 regexp (Bug#10033).
4450
3ae704f4
SM
44512011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4454 `completing-read' will remove *Completions* and will preserve
4455 current-buffer for us.
4456 (tmm-add-prompt): Users of *Completions* will always (re)set its
4457 major mode.
4458 (tmm-old-comp-map): Remove.
4459
6ad1cdde
GM
44602011-11-16 Glenn Morris <rgm@gnu.org>
4461
4462 * mail/rmailedit.el: Require rmailmm when compiling.
4463 (rmail-old-mime-state): New declaration.
4464 (rmail-edit-current-message): If editing a mime message,
4465 edit the "raw" message from the mbox buffer.
4466 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4467
d20faa20
GM
44682011-11-15 Glenn Morris <rgm@gnu.org>
4469
4470 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4471 which wasn't being used. Add optional arg to force given state.
4472 (rmail-mime): Add optional arg to force given state.
4473
c7015153
JB
44742011-11-15 Juanma Barranquero <lekktu@gmail.com>
4475
4476 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4477 * frame.el (display-mm-dimensions-alist):
4478 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4479 (outline-move-subtree-down):
4480 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4481 (newsticker--treeview-do-get-node):
4482 * net/quickurl.el (quickurl-list-buffer-name):
4483 * progmodes/dcl-mode.el (dcl-mode):
4484 * progmodes/gdb-mi.el (gdb-mapcar*):
4485 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4486
45261b50
GM
44872011-11-15 Glenn Morris <rgm@gnu.org>
4488
4489 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4490 in a boolean sense, so just make it a boolean, and fix the doc.
4491 (rmail-show-mime-function, rmail-mime-feature)
4492 (rmail-require-mime-maybe): Doc fixes.
4493 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4494
4495 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4496
0d26e0b6
JB
44972011-11-15 Juanma Barranquero <lekktu@gmail.com>
4498
4499 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4500 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4501 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4502 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4503
447f30f6
GM
45042011-11-15 Glenn Morris <rgm@gnu.org>
4505
672b871d
GM
4506 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4507 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4508 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4509 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4510 (rmail-mime, rmail-show-mime): Doc fixes.
4511
f6aa5bb1
GM
4512 * term/ns-win.el (mode-line-frame-identification):
4513 Leave it alone. (Bug#10051)
4514
947cd66b
GM
4515 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4516
447f30f6
GM
4517 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4518 Handle empty buffers. (Bug#9978)
4519
0b381c7e
JB
45202011-11-14 Juanma Barranquero <lekktu@gmail.com>
4521
4522 * international/mule.el (define-charset):
4523 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4524 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4525 * progmodes/verilog-mode.el (verilog-backward-token):
4526 * textmodes/ispell.el (lookup-words):
4527 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4528
71e027ac
GM
45292011-11-14 Glenn Morris <rgm@gnu.org>
4530
56632ce4
GM
4531 * progmodes/executable.el
4532 (executable-make-buffer-file-executable-if-script-p):
4533 Handle file-modes returning nil.
4534
40500957
GM
4535 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4536 message - not necessary, and causes problems. (Bug#9831)
4537
071c2340
GM
4538 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4539
d3cfca60
GM
4540 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4541
71e027ac
GM
4542 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4543 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4544 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4545
89d61221
MR
45462011-11-12 Martin Rudalics <rudalics@gmx.at>
4547
4548 * window.el (window-resize, delete-window): Use window-splits
4549 variable instead of function.
4550 (window-state-get-1, window-state-put-2, window-state-put):
4551 Don't deal with windows' splits status.
4552
98282f6f
GM
45532011-11-12 Glenn Morris <rgm@gnu.org>
4554
4555 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4556 (apropos-documentation): Doc fixes.
4557
40a8bdf6
JB
45582011-11-11 Juanma Barranquero <lekktu@gmail.com>
4559
4560 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4561 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4562
65bd19ff
SM
45632011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * electric.el (electric-indent-post-self-insert-function): Make it
4566 possible for a char to only indent in some circumstances.
4567 (electric-indent-mode): Simplify.
4568
54f9154c
MR
45692011-11-11 Martin Rudalics <rudalics@gmx.at>
4570
4571 * window.el (windows-with-parameter): Remove unused function.
4572 (windows-at-side): Rename to window-at-side-list.
4573 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4574 (window-side-check, window-size-ignore, window-size-fixed-1)
4575 (window-in-direction-2): Prefix with "window--".
4576 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4577
68cbc58b
GM
45782011-11-11 Glenn Morris <rgm@gnu.org>
4579
4580 * subr.el (eval-after-load): If FILE is already loaded,
4581 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4582
b2621720
GM
45832011-11-10 Glenn Morris <rgm@gnu.org>
4584
9a4de110
GM
4585 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4586 Call svn via vc-svn-command rather than vc-do-command.
4587 (vc-svn-command): Add --non-interactive. (Bug#9993)
4588 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4589
b2621720
GM
4590 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4591 Add toggle-read-only. (Bug#7292)
4592 * files.el (toggle-read-only): Mention that it should only
4593 be used interactively. (Bug#10006)
4594
1dce7193
SM
45952011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4596
d9ac1a1e
SM
4597 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4598 Adjust regexp for OCaml warnings.
4599
0c325082
SM
4600 * electric.el (electric-pair-post-self-insert-function): Let user
4601 turn it off buffer-locally (bug#9932).
4602
90132c14
SM
4603 * progmodes/python.el (python-beginning-of-statement):
4604 Rewrite (bug#2703).
4605
1dce7193
SM
4606 * progmodes/compile.el: Better handle TABs (bug#9749).
4607 (compilation-internal-error-properties)
4608 (compilation-next-error-function): Obey the target buffer's
4609 compilation-error-screen-columns.
4610
c4e7c63a
JB
46112011-11-09 Juanma Barranquero <lekktu@gmail.com>
4612
4613 * progmodes/meta-mode.el: Remove obsolete comments.
4614 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4615 Fix typos in docstrings.
4616
2cffd681
MR
46172011-11-09 Martin Rudalics <rudalics@gmx.at>
4618
4619 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4620 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4621 (window--resizable): New function. Make all callers of
4622 window-resizable call window--resizable instead.
4623 (window-resizable): Rewrite in terms of window--resizable.
4624
0edcba87
GM
46252011-11-08 Glenn Morris <rgm@gnu.org>
4626
4627 * progmodes/delphi.el (delphi-mode-syntax-table):
4628 Let define-derived-mode define a proper syntax table. (Bug#9994)
4629
4b0d61e3
SM
46302011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * window.el: Stay away from defsubst.
4633 (window-list-no-nils): Remove.
4634 (window-state-get-1, window-state-get): Use backquote instead.
4635
cd394be1 46362011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4637
4b0d61e3 4638 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4639 Fix incorrect use of default argument in `completing-read'.
4640
e1c2c6f2
MR
46412011-11-08 Martin Rudalics <rudalics@gmx.at>
4642
4643 * window.el (display-buffer-function, special-display-function):
4644 Mention display-buffer-record-window but do not mention
4645 help-setup parameter in doc-strings.
b3f4a882 4646 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4647
105216ed
CY
46482011-11-08 Chong Yidong <cyd@gnu.org>
4649
4650 * window.el (window-total-height, window-total-width): Doc fix.
4651 (window-body-size): Move from C.
4652 (window-body-height, window-body-width): Move to C.
4653
0a9f9ab5
SM
46542011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * window.el: Make special-display like display-buffer-alist (bug#9532).
4657 (display-buffer--special-action): New function, morphed
4658 from display-buffer--special.
4659 (display-buffer): Use it to handle special-display-buffers at higher
4660 priority (just after display-buffer-alist).
4661 (display-buffer-fallback-action, display-buffer--other-frame-action)
4662 (pop-to-buffer-same-window): Remove display-buffer--special.
4663
a769dd15
GM
46642011-11-07 Glenn Morris <rgm@gnu.org>
4665
4666 * calendar/cal-menu.el (cal-menu-set-date-title):
4667 Do nothing if not in a calendar. (Bug#9976)
4668
05a61ee3
SM
46692011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * files.el (find-file): Always use selected-window.
4672
be7f5545
MR
46732011-11-07 Martin Rudalics <rudalics@gmx.at>
4674
4675 * window.el (window-combinations): Make WINDOW argument
4676 mandatory. Rewrite doc-string.
4677 (walk-window-subtree, window-atom-check, window-min-delta)
4678 (window-max-delta, window--resize-this-window)
4679 (window--resize-root-window-vertically, window-tree)
4680 (balance-windows, window-state-put): Rewrite doc-strings as to
4681 not mention the term "subwindow".
4682 (window--resize-subwindows-skip-p): Rename to
4683 window--resize-child-windows-skip-p.
4684 (window--resize-subwindows-normal): Rename to
4685 window--resize-child-windows-normal.
4686 (window--resize-subwindows): Rename to
4687 window--resize-child-windows.
4688 (window-or-subwindow-p): Rename to window--in-subtree-p.
4689
3c6702ef
ML
46902011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4691
4692 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4693 Ensure that mbox format messages end in two newlines (Bug#9974).
4694
49745b39
CY
46952011-11-06 Chong Yidong <cyd@gnu.org>
4696
4697 * window.el (window-combination-p): Function deleted; its
4698 side-effect is not used in any existing code.
4699 (window-combinations, window-combined-p): Call window-*-child
4700 directly.
4701
24300f5f
CY
47022011-11-05 Chong Yidong <cyd@gnu.org>
4703
4704 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4705 (window-size-ignore, window-state-get): Callers changed.
4706 (window-normalize-window): Rename from window-normalize-any-window.
4707 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4708 (window-normalize-live-window): Delete.
447f16b8
CY
4709 (window-combination-p, window-combined-p, window-combinations)
4710 (walk-window-subtree, window-atom-root, window-min-size)
4711 (window-sizable, window-sizable-p, window-size-fixed-p)
4712 (window-min-delta, window-max-delta, window-resizable)
4713 (window-resizable-p, window-full-height-p, window-full-width-p)
4714 (window-current-scroll-bars, window-point-1, set-window-point-1)
4715 (window-at-side-p, window-in-direction, window-resize)
4716 (adjust-window-trailing-edge, maximize-window, minimize-window)
4717 (window-deletable-p, delete-window, delete-other-windows)
4718 (record-window-buffer, unrecord-window-buffer)
4719 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4720 (quit-window, split-window, window-state-put)
4721 (set-window-text-height, fit-window-to-buffer)
4722 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4723
89bd5ee1
EZ
47242011-11-04 Eli Zaretskii <eliz@gnu.org>
4725
53479029
EZ
4726 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4727 rfc2047-decode-string.
4728 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4729 warnings.
4730
89bd5ee1
EZ
4731 * window.el (window-body-height, window-body-width): Mention in
4732 the doc string that the return values are in frame's canonical
4733 units. (Bug#9949)
4734
bd17fdee
AM
47352011-11-03 Alan Mackenzie <acm@muc.de>
4736
4737 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4738 change in cc-engine.el.
4739
acc825c5
SM
47402011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4743
1885e5b8
MR
47442011-11-02 Martin Rudalics <rudalics@gmx.at>
4745
4746 * window.el (quit-window): Call unrecord-window-buffer after
4747 showing another buffer in the window. (Bug#9937)
acc825c5 4748 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4749
ebe06da9
JB
47502011-11-02 Juanma Barranquero <lekktu@gmail.com>
4751
4752 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4753 Accept status with more than 9 shelves. (Bug#9935)
4754 Reported by Colin D Bennett <colin@gibibit.com>.
4755
4ee88440
MR
47562011-11-01 Martin Rudalics <rudalics@gmx.at>
4757
4758 * help.el (with-help-window): Don't reference
4759 temp-buffer-show-specifiers in doc-string.
4760
08e1d82c
AS
47612011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4762
4763 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4764 menu-item.
4765
84bd6e9e
VJL
47662011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4767
4768 * whitespace.el: New version 13.2.2.
4769 (whitespace-newline-mode): Disable properly. Reported by Sarah
4770 <EmacsWiki>.
4771
dba0634a
UJ
47722011-10-30 Ulf Jasper <ulf.jasper@web.de>
4773
4774 * net/newst-treeview.el: Remove "Time-stamp".
4775 (newsticker--group-manage-orphan-feeds): Do not call
4776 newsticker--treeview-tree-update.
db22a3c2
JB
4777 (newsticker-treeview-update, newsticker-treeview):
4778 Call newsticker--treeview-tree-update if necessary.
dba0634a 4779
3d8daefe
MR
47802011-10-30 Martin Rudalics <rudalics@gmx.at>
4781
4782 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4783 (window-iso-combinations): Remove "iso-" infix.
4784 Suggested by Chong Yidong.
3d8daefe
MR
4785 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4786 (window-max-delta-1, window-resize, window--resize-siblings)
4787 (window--resize-this-window, adjust-window-trailing-edge)
4788 (split-window, balance-windows-1)
4789 (shrink-window-if-larger-than-buffer):
4790 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4791 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4792
1bc4c3ae
SM
47932011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4796 in place (bug#9907).
4797 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4798 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4799 (eshell-structure-basic-command, eshell-rewrite-while-command)
4800 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4801 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4802 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4803 (eshell-do-pipelines-synchronously, eshell-eval-command):
4804 Use backquotes and prefer setq to set.
4805 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4806 (eshell-macrop): Use functionp.
c1e2f5fa 4807 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4808
30b65d9c
CY
48092011-10-30 Chong Yidong <cyd@gnu.org>
4810
4811 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4812 instead of set-mark (Bug#9810).
4813
2d197ffb
CY
48142011-10-30 Chong Yidong <cyd@gnu.org>
4815
4816 * window.el (split-window-below, split-window-right): Rename from
4817 split-window-above-each-other and split-window-side-by-side
4818 respectively. All callers changed.
4819 (split-window-sensibly, split-window-sensibly): Use them.
4820 (split-window-keep-point): Doc fix.
4821
4822 * isearch.el: Add isearch-scroll property to split-window-below
4823 and split-window-right.
4824
4825 * follow.el (follow-mode):
4826 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4827 * progmodes/ada-xref.el (ada-gdb-application):
4828 * emulation/vip.el (vip-buffer-in-two-windows):
4829 * image-dired.el (image-dired-dired-with-window-configuration):
4830 * dired-x.el (dired-do-find-marked-files):
4831 * dired.el (dired-pop-to-buffer):
4832 * bs.el (bs--show-with-configuration):
4833 * vc/emerge.el (emerge-setup-windows):
4834 * textmodes/two-column.el (2C-two-columns):
4835 * textmodes/reftex-toc.el (reftex-toc):
4836 * progmodes/gdb-mi.el (gdb-setup-windows):
4837 * progmodes/fortran.el (fortran-window-create):
4838 * net/newst-treeview.el (newsticker--treeview-window-init):
4839 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4840 * emulation/tpu-edt.el (tpu-gold-map):
4841 * emulation/crisp.el (crisp-mode-map):
4842 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4843
38bb2ca8
CY
48442011-10-29 Chong Yidong <cyd@gnu.org>
4845
aa4de341
CY
4846 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4847
e1eb5385
CY
4848 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4849
5d2ece3c
CY
4850 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4851 forged Ispell output (Bug#7904).
4852
38bb2ca8
CY
4853 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4854
d0af9f77
SM
48552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * doc-view.el: Avoid ugly errors about not finding nil.
4858 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4859 (doc-view-dvipdf-program, doc-view-unoconv-program)
4860 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4861 Avoid nil or absolute file name as default value.
4862 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4863
52bedd34
AM
48642011-10-28 Alan Mackenzie <acm@muc.de>
4865
db22a3c2 4866 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4867
7e43cfa5
AM
48682011-10-28 Alan Mackenzie <acm@muc.de>
4869
4870 Amend the handling of c-beginning/end-of-defun in nested declaration
4871 scopes.
4872
52bedd34
AM
4873 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4874 cc-langs.el. Change it to a defcustom.
7e43cfa5 4875
52bedd34
AM
4876 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4877 cc-vars.el.
7e43cfa5 4878
d0af9f77
SM
4879 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4880 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4881
52bedd34 4882 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4883 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4884 (c-widen-to-enclosing-decl-scope): New function.
4885 (c-while-widening-to-decl-block): New macro.
4886 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4887 outward for defun boundaries, and correspondingly change symbol
4888 `respect-enclosure' to `go-outward'.
4889 (c-declaration-limits): Change algorithm to report only the "innermost"
4890 defun's boundaries.
4891
1a2ce9ee
DD
48922011-10-28 Deniz Dogan <deniz@dogan.se>
4893
4894 * net/rcirc.el (rcirc-mode): Use hard newlines.
4895
bc97a826
AM
48962011-10-28 Alan Mackenzie <acm@muc.de>
4897
4898 Amend to indent and fontify macros "which include their own semicolon"
4899 correctly, using the "virtual semicolon" mechanism.
4900
52bedd34 4901 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4902
d0af9f77 4903 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4904 Recode to scan one line at a time rather than having \n and \r
58179cce 4905 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4906 (c-forward-label): Amend for virtual semicolons.
58179cce 4907 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4908
52bedd34
AM
4909 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4910 of the new C macros.
bc97a826 4911
52bedd34 4912 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4913 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4914 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4915 (c-opt-cpp-macro-define): Make into a full language variable.
4916 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4917 AWK Mode (including \n, \r) removed, no longer needed.
4918
d0af9f77
SM
4919 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4920 Invoke c-make-macro-with-semi-re.
bc97a826 4921
52bedd34
AM
4922 * progmodes/cc-vars.el (c-macro-with-semi-re):
4923 (c-macro-names-with-semicolon): New variables.
58179cce 4924 (c-make-macro-with-semi-re): New function.
bc97a826 4925
7a6c0941
SM
49262011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 * vc/log-edit.el: Fill empty field rather than adding new one.
4929 (log-edit-add-field): New function.
4930 (log-edit-insert-changelog): Use it.
4931
b0c4cdcf
ML
49322011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4933
4934 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4935
ee1f1da9
SM
49362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4937
4938 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4939 (gdb--check-interpreter): New function.
4940 (gdb): Use it.
4941
51bc5f8b
GM
49422011-10-27 Glenn Morris <rgm@gnu.org>
4943
416a2c45
GM
4944 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4945 (least-positive-float, least-negative-float)
4946 (least-positive-normalized-float, least-negative-normalized-float)
4947 (float-epsilon, float-negative-epsilon):
4948 Remove unnecessary declarations.
4949
4950 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4951 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4952 (least-positive-float, least-negative-float)
4953 (least-positive-normalized-float, least-negative-normalized-float)
4954 (float-epsilon, float-negative-epsilon): Add doc-strings,
4955 based on those in cl.texi.
4956
51bc5f8b
GM
4957 * files.el (set-visited-file-name): If the major-mode changed,
4958 reload the local variables. (Bug#9796)
4959
15de15c6
CY
49602011-10-27 Chong Yidong <cyd@gnu.org>
4961
4962 * subr.el (change-major-mode-after-body-hook): New hook.
4963 (run-mode-hooks): Run it.
4964
ee1f1da9
SM
4965 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4966 Use change-major-mode-before-body-hook.
15de15c6
CY
4967
4968 * simple.el (fundamental-mode):
4969 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4970 change introducing fundamental-mode-hook.
4971
5430d399
JB
49722011-10-26 Juanma Barranquero <lekktu@gmail.com>
4973
acc825c5 4974 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4975
ad74a69e
MA
49762011-10-26 Michael Albinus <michael.albinus@gmx.de>
4977
4978 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4979 tramp.el explicitly. (Bug#7583)
ad74a69e 4980
71d4c2a5
SM
49812011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4982
4983 * progmodes/octave-mod.el:
4984 * progmodes/octave-inf.el: Update maintainer.
4985
b1f6fa26
CY
49862011-10-26 Chong Yidong <cyd@gnu.org>
4987
4988 * subr.el (with-wrapper-hook): Rewrite doc.
4989
3f04efd6
MA
49902011-10-25 Michael Albinus <michael.albinus@gmx.de>
4991
4992 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4993 filenames "/method:foo:". (Bug#9793)
3f04efd6 4994
410488d3
SM
49952011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4996
4997 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4998 (bug#9865).
4999
c1ebb47e
GM
50002011-10-24 Glenn Morris <rgm@gnu.org>
5001
5002 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5003
7f5c46c7
MA
50042011-10-24 Michael Albinus <michael.albinus@gmx.de>
5005
5006 * notifications.el: Add the requirement of a running D-Bus session
5007 bus to the Commentary.
5008
db2440b6
JL
50092011-10-24 Juri Linkov <juri@jurta.org>
5010
5011 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5012 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5013 (Bug#9364)
5014
feecf435
JL
50152011-10-24 Juri Linkov <juri@jurta.org>
5016
5017 * info.el (Info-following-node-name-re): Add newline to the list
5018 of allowed characters for leading space. (Bug#9824)
5019
a3839de2
SM
50202011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5021
acc825c5
SM
5022 * progmodes/octave-inf.el (inferior-octave-mode-map):
5023 Fix C-c C-h binding.
a3839de2
SM
5024 * progmodes/octave-mod.el (octave-help): Remove.
5025
09388e76
MA
50262011-10-23 Michael Albinus <michael.albinus@gmx.de>
5027
5028 Sync with Tramp 2.2.3.
5029
5030 * net/tramp-cache.el (top): Pacify byte-compiler using
5031 `init-file-user' and `site-run-file'.
5032
5033 * net/trampver.el: Update release number.
5034
86c60681
CY
50352011-10-23 Chong Yidong <cyd@gnu.org>
5036
5037 * files.el (toggle-read-only): Remove obsolete comment about
5038 version control.
5039
5040 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5041 for toggle-read-only. Note that this hasn't called vc-next-action
5042 since 2008-05-02, though it wasn't documented at the time.
5043
a3839de2
SM
5044 * vc/ediff-init.el (ediff-toggle-read-only-function):
5045 Use toggle-read-only.
86c60681 5046
cd5495ff
AM
50472011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5048
5049 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5050 of c-parse-state.
5051
00b77525 5052 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5053 correct faulty logical expression.
cd5495ff
AM
5054 (c-parse-state-state, c-record-parse-state-state):
5055 (c-replay-parse-state-state): New defvar/defuns.
5056 (c-debug-parse-state): Use new functions.
5057
42ee24ed
MR
50582011-10-22 Martin Rudalics <rudalics@gmx.at>
5059
5060 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5061 last fix. Use window-in-direction correctly.
42ee24ed 5062
a7dee7e7
CY
50632011-10-21 Chong Yidong <cyd@gnu.org>
5064
5065 * progmodes/idlwave.el (idlwave-mode):
5066 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5067 require-final-newline; that's done in prog-mode.
5068 Suggested by Stefan Monnier.
a7dee7e7 5069
e07b9a6d
MR
50702011-10-21 Martin Rudalics <rudalics@gmx.at>
5071
5072 * mouse.el (mouse-drag-window-above)
5073 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5074 (mouse-drag-mode-line-1, mouse-drag-header-line)
5075 (mouse-drag-vertical-line-rightward-window): Remove.
5076 (mouse-drag-line): New function.
5077 (mouse-drag-mode-line, mouse-drag-header-line)
5078 (mouse-drag-vertical-line): Call mouse-drag-line.
5079 * window.el (window-at-side-p, windows-at-side): New functions.
5080
7e1361d9
UM
50812011-10-21 Ulrich Mueller <ulm@gentoo.org>
5082
5083 * tar-mode.el (tar-grind-file-mode):
5084 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5085
30fcaf3a
CY
50862011-10-21 Chong Yidong <cyd@gnu.org>
5087
5088 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5089 * progmodes/vera-mode.el (vera-mode):
5090 Use mode-require-final-newline.
30fcaf3a 5091
516eddb0
GM
50922011-10-20 Glenn Morris <rgm@gnu.org>
5093
db22a3c2 5094 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5095
10d5f513
CS
50962011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5097
5098 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5099
ac6c8639
CY
51002011-10-20 Chong Yidong <cyd@gnu.org>
5101
5102 * emulation/cua-base.el (cua-mode):
5103 * mail/footnote.el (footnote-mode):
5104 * mail/mailabbrev.el (mail-abbrevs-mode):
5105 * net/xesam.el (xesam-minor-mode):
5106 * progmodes/bug-reference.el (bug-reference-mode):
5107 * progmodes/cap-words.el (capitalized-words-mode):
5108 * progmodes/compile.el (compilation-minor-mode)
5109 (compilation-shell-minor-mode):
5110 * progmodes/gud.el (gud-tooltip-mode):
5111 * progmodes/hideif.el (hide-ifdef-mode):
5112 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5113 * progmodes/subword.el (subword-mode):
5114 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5115 * progmodes/which-func.el (which-function-mode):
5116 * term/tvi970.el (tvi970-set-keypad-mode):
5117 * term/vt100.el (vt100-wide-mode):
5118 * textmodes/flyspell.el (flyspell-mode):
5119 * textmodes/ispell.el (ispell-minor-mode):
5120 * textmodes/nroff-mode.el (nroff-electric-mode):
5121 * textmodes/paragraphs.el (use-hard-newlines):
5122 * textmodes/refill.el (refill-mode):
5123 * textmodes/reftex.el (reftex-mode):
5124 * textmodes/rst.el (rst-minor-mode):
5125 * textmodes/sgml-mode.el (html-autoview-mode)
5126 (sgml-electric-tag-pair-mode):
5127 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5128 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5129 * emulation/crisp.el (crisp-mode):
5130 * emacs-lisp/eldoc.el (eldoc-mode):
5131 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5132 minor mode behavior.
5133
aa42ab43
JL
51342011-10-19 Juri Linkov <juri@jurta.org>
5135
5136 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5137 the list of hard-coded chars with escape-glyph face.
5138
89400f1d
SM
51392011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5142
305c07f6
MA
51432011-10-19 Michael Albinus <michael.albinus@gmx.de>
5144
5145 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5146 running process.
5147
13754b54
GM
51482011-10-19 Glenn Morris <rgm@gnu.org>
5149
5150 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5151 Ignore ignored files. (Bug#9726)
5152
06e21633
CY
51532011-10-19 Chong Yidong <cyd@gnu.org>
5154
5155 Doc fix for minor modes, stating that an omitted argument enables
5156 the mode unconditionally when called from Lisp.
5157
5158 * abbrev.el (abbrev-mode):
5159 * allout.el (allout-mode):
5160 * autoinsert.el (auto-insert-mode):
5161 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5162 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5163 (global-auto-revert-mode):
5164 * battery.el (display-battery-mode):
5165 * composite.el (global-auto-composition-mode)
5166 (auto-composition-mode):
5167 * delsel.el (delete-selection-mode):
5168 * desktop.el (desktop-save-mode):
5169 * dired-x.el (dired-omit-mode):
5170 * dirtrack.el (dirtrack-mode):
5171 * doc-view.el (doc-view-minor-mode):
5172 * double.el (double-mode):
5173 * electric.el (electric-indent-mode, electric-pair-mode):
5174 * emacs-lock.el (emacs-lock-mode):
5175 * epa-hook.el (auto-encryption-mode):
5176 * follow.el (follow-mode):
5177 * font-core.el (font-lock-mode):
5178 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5179 * help.el (temp-buffer-resize-mode):
5180 * hilit-chg.el (highlight-changes-mode)
5181 (highlight-changes-visible-mode):
5182 * hi-lock.el (hi-lock-mode):
5183 * hl-line.el (hl-line-mode, global-hl-line-mode):
5184 * icomplete.el (icomplete-mode):
5185 * ido.el (ido-everywhere):
5186 * image-file.el (auto-image-file-mode):
5187 * image-mode.el (image-minor-mode):
5188 * iswitchb.el (iswitchb-mode):
5189 * jka-cmpr-hook.el (auto-compression-mode):
5190 * linum.el (linum-mode):
5191 * longlines.el (longlines-mode):
5192 * master.el (master-mode):
5193 * mb-depth.el (minibuffer-depth-indicate-mode):
5194 * menu-bar.el (menu-bar-mode):
5195 * minibuf-eldef.el (minibuffer-electric-default-mode):
5196 * mouse-sel.el (mouse-sel-mode):
5197 * msb.el (msb-mode):
5198 * mwheel.el (mouse-wheel-mode):
5199 * outline.el (outline-minor-mode):
5200 * paren.el (show-paren-mode):
5201 * recentf.el (recentf-mode):
5202 * reveal.el (reveal-mode, global-reveal-mode):
5203 * rfn-eshadow.el (file-name-shadow-mode):
5204 * ruler-mode.el (ruler-mode):
5205 * savehist.el (savehist-mode):
5206 * scroll-all.el (scroll-all-mode):
5207 * scroll-bar.el (scroll-bar-mode):
5208 * server.el (server-mode):
5209 * shell.el (shell-dirtrack-mode):
5210 * simple.el (auto-fill-mode, transient-mark-mode)
5211 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5212 (line-number-mode, column-number-mode, size-indication-mode)
5213 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5214 * strokes.el (strokes-mode):
5215 * time.el (display-time-mode):
5216 * t-mouse.el (gpm-mouse-mode):
5217 * tool-bar.el (tool-bar-mode):
5218 * tooltip.el (tooltip-mode):
5219 * type-break.el (type-break-mode-line-message-mode)
5220 (type-break-query-mode):
5221 * view.el (view-mode):
5222 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5223 (global-whitespace-mode, global-whitespace-newline-mode):
5224 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5225
a3839de2
SM
5226 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5227 Fix autogenerated docstring.
06e21633 5228
5214e501
JL
52292011-10-19 Juri Linkov <juri@jurta.org>
5230
5231 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5232 by checking environment variables "DESKTOP_SESSION" and
5233 "XDG_CURRENT_DESKTOP". (Bug#9779)
5234
195f8db9
JL
52352011-10-19 Juri Linkov <juri@jurta.org>
5236
5237 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5238 (browse-url-chromium-program, browse-url-chromium-arguments):
5239 New defcustoms.
5240 (browse-url-default-browser): Check for `browse-url-chromium' and
5241 call `browse-url-chromium-program'.
5242 (browse-url-chromium): New command. (Bug#9779)
5243
343a34ff
JB
52442011-10-18 Juanma Barranquero <lekktu@gmail.com>
5245
5246 * facemenu.el (list-colors-duplicates): On Windows, detect more
5247 duplicates by assuming that only colors matching "^System" are
5248 special "system colors". (Bug#9722)
5249
6978a151
SM
52502011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5251
5252 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5253 to distinguish the author from the committer.
5254
6a80b297
MA
52552011-10-18 Michael Albinus <michael.albinus@gmx.de>
5256
5257 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5258
b31a5677
JK
52592011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5260
5261 * international/mule.el (sgml-html-meta-auto-coding-function):
5262 Add support for detecting encoding in HTML5 specified only as
5263 <meta charset="UTF-8">. Implementation just makes http-equiv and
5264 content-type parts from HTML4 encoding string optional. (Bug#9716)
5265
80c6d77f
GM
52662011-10-18 Glenn Morris <rgm@gnu.org>
5267
5268 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5269
08b0fee8
CY
52702011-10-18 Chong Yidong <cyd@gnu.org>
5271
5272 * faces.el (cursor): Doc fix.
5273
67e729a5
CY
52742011-10-17 Chong Yidong <cyd@gnu.org>
5275
5276 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5277
343a34ff 52782011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5279
5280 * dirtrack.el (dirtrack): Support shell buffers with path
5281 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5282
0bc06380
TZ
52832011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5284
5285 * json.el: Bump version to 1.3 and note change in History.
5286 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5287
8b79f3e0
SM
52882011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5a7c536b
SM
5290 * comint.el (comint-insert-input, comint-send-input)
5291 (comint-get-old-input-default, comint-backward-matching-input)
5292 (comint-next-prompt): Use nil instead of `input' for field property of
5293 past user input (bug#114).
5294
96a8a0df
SM
5295 * minibuffer.el (completion--replace): Inherit surrounding properties
5296 (bug#114).
5297 (minibuffer-complete-and-exit): Use it.
5298
8b79f3e0
SM
5299 * comint.el (comint--table-subvert): Quote the all-completions output
5300 (bug#9160).
5301
b8f7ff0d
MR
53022011-10-17 Martin Rudalics <rudalics@gmx.at>
5303
8b79f3e0 5304 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5305
b8f7ff0d 5306 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5307 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5308 entries and separate them from frame entries.
5309
c235b555
GM
53102011-10-15 Glenn Morris <rgm@gnu.org>
5311
5312 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5313 Doc fixes.
5314
6bbfa6e1
CY
53152011-10-15 Chong Yidong <cyd@stupidchicken.com>
5316
8b79f3e0
SM
5317 * net/network-stream.el (network-stream-open-starttls):
5318 Improve detection of failure due to lack of TLS support.
ec5c990d 5319
6bbfa6e1
CY
5320 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5321 putting the input text in front and in bold.
5322
98488977
SM
53232011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5324
3d1337be
SM
5325 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5326
ee0b45e4
SM
5327 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5328 empty buffer.
5329
98488977
SM
5330 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5331 unread-command-events rather than pushing yet-another event.
5332
186f4720
EZ
53332011-10-14 Eli Zaretskii <eliz@gnu.org>
5334
5335 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5336 the explanation of the possible choices. Make the options passed
5337 to completing-read shorter.
5338
8b7a997c
AM
53392011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5340
5341 * textmodes/flyspell.el (flyspell-large-region): Make sure
5342 extended character mode is used if defined (Bug#1339).
5343
12587bbb
EZ
53442011-10-13 Eli Zaretskii <eliz@gnu.org>
5345
5346 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5347 character info for LRE, LRO, RLE, and RLO characters by appending
5348 an invisible PDF.
12587bbb 5349
bad41229
SM
53502011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5353 even in case of error; add debug spec; simplify data flow.
5354 (with-timeout-handler): Remove.
5355
28dbc92f
MA
53562011-10-12 Michael Albinus <michael.albinus@gmx.de>
5357
5358 Fix Bug#6019, Bug#9315.
5359
5360 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5361 complete `buffer-file-name', the local file name part could look
5362 remotely (for example on VMS).
5363
5364 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5365 `tramp-run-real-handler'.
5366 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5367 already quoted by '"'.
5368
5369 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5370 Let `file-name-handler-alist' be nil, the local file name part
5371 could look remotely (for example on VMS).
5372
e1b0b23a
SM
53732011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5374
5375 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5376 from here...
5377 (flyspell-post-command-hook): ...to here.
5378
a120bde9
SM
53792011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5382 if not needed.
5383 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5384 using completion. Protect against "slow" callers.
5385 Remove the "message hack".
5386
7ce7717b
JL
53872011-10-11 Juri Linkov <juri@jurta.org>
5388
5389 * isearch.el (isearch-lazy-highlight-word): New variable.
5390 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5391 Use it. (Bug#9727)
5392
c02ee9d6
GM
53932011-10-11 Glenn Morris <rgm@gnu.org>
5394
5395 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5396 like f90-previous-statement does.
5397
93e616fd 53982011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5399
1f190e73 5400 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5401 only in interactive use, to avoid error.
5402
af7b6078
SM
54032011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * minibuffer.el (completion-file-name-table): Fix last change,
5406 i.e. ignore normal errors but not the other ones.
5407
0563dae9
MR
54082011-10-10 Martin Rudalics <rudalics@gmx.at>
5409
5410 * window.el (special-display-buffer-names)
5411 (special-display-regexps): Remove some remnants of earlier
5412 changes from doc-strings.
366ca7f3
MR
5413 (quit-windows-on): New function.
5414
5415 * vc/vc.el (vc-revert, vc-rollback):
5416 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5417 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5418 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5419
49677495
MR
54202011-10-09 Martin Rudalics <rudalics@gmx.at>
5421
5422 * window.el (frame-auto-hide-function): Add version tag.
5423 (Bug#9699)
5424
56f2d1e1
MA
54252011-10-09 Michael Albinus <michael.albinus@gmx.de>
5426
5427 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5428 condition.
5429
112a6592
LL
54302011-10-09 Leo Liu <sdl.web@gmail.com>
5431
5432 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5433 (Bug#9701)
5434
0812589b
GM
54352011-10-08 Glenn Morris <rgm@gnu.org>
5436
5437 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5438 before the first code statement zero indent. (Bug#9690)
5439
b2b0776e
CY
54402011-10-08 Chong Yidong <cyd@stupidchicken.com>
5441
5442 * simple.el (count-words-region): Always count in the region.
5443 Report the number of lines and characters too.
5444 (count-words): New command, which counts in the buffer if the
5445 region is inactive, as count-words-region used to.
5446 (count-words--message): New function. Handle plurals.
5447 (count-lines-region): Make it an alias for count-words-region.
5448
5449 * bindings.el (esc-map): Replace count-lines-region with
5450 count-words-region.
5451
c557cd6b
MR
54522011-10-08 Martin Rudalics <rudalics@gmx.at>
5453
5454 * window.el (window--delete): Delete dedicated frame
5455 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5456 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5457
61a57ef4 54582011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5459
3a7d293b 5460 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5461
c3833279
CY
54622011-10-07 Chong Yidong <cyd@stupidchicken.com>
5463
5464 * bindings.el ([M-left],[M-right]): Bind to left-word and
5465 right-word respectively.
5466
21ce8245
GM
54672011-10-07 Glenn Morris <rgm@gnu.org>
5468
5469 * cus-start.el (debug-on-quit): Fix custom type.
5470
6d823bb2
LMI
54712011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5472
0181e193
LMI
5473 * subr.el (define-key-after): Clarify that the function is not
5474 useful for non-menu keymaps.
5475
6d823bb2
LMI
5476 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5477
8e3459ce 54782011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5479
21ce8245 5480 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5481 in current minibuffer (Fix bug with recursive minibuffers).
5482
a1c2d21e
CY
54832011-10-06 Chong Yidong <cyd@stupidchicken.com>
5484
5485 * progmodes/gdb-mi.el (gdb): Doc fix.
5486
5a4cf282
MR
54872011-10-05 Martin Rudalics <rudalics@gmx.at>
5488
5489 * window.el (frame-auto-hide-function): New option replacing
5490 frame-auto-delete. Suggested by Stefan Monnier.
5491 (window--delete): Call frame-auto-hide-function instead of
5492 investigating frame-auto-delete.
c96111ea
MR
5493 (window-point-1, set-window-point-1): New functions.
5494 (window-in-direction, record-window-buffer, window-state-get-1)
5495 (display-buffer-record-window): Use window-point-1 instead of
5496 window-point.
5497 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5498
9854542e
SM
54992011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5502
8943cfb0
GM
55032011-10-05 Glenn Morris <rgm@gnu.org>
5504
5505 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5506 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5507
647ab967
LL
55082011-10-05 Leo Liu <sdl.web@gmail.com>
5509
5510 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5511 works with buffer object.
5512
3ddfbced
SM
55132011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5514
5515 * mpc.el (mpc-tool-bar-map): Add labels.
5516
bdfa5dd2
GM
55172011-10-04 Glenn Morris <rgm@gnu.org>
5518
5519 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5520
0e2070b5
MR
55212011-10-04 Martin Rudalics <rudalics@gmx.at>
5522
5523 * window.el (window--delete): New function.
5524 (frame-auto-delete): Resuscitate option.
5525 (bury-buffer, replace-buffer-in-windows)
5526 (quit-window): Rewrite using window--delete.
5527 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5528 Pass display-buffer-mark-dedicated to window--display-buffer-2
5529 (Bug#9639).
5530
3dc61a09
SM
55312011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5532
915a9b64
SM
5533 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5534 returns a list (bug#9554). Add remote file name completion.
5535 * comint.el (comint--table-subvert): Curry and get quote&unquote
5536 functions as arguments.
5537 (comint--complete-file-name-data): Adjust call accordingly.
5538 * pcomplete.el (pcomplete--table-subvert): Remove.
5539 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5540
3dc61a09
SM
5541 * minibuffer.el (completion-table-case-fold): Use currying.
5542 (completion--styles-type, completion--cycling-threshold-type):
5543 New constants.
5544 (completion-styles, completion-category-overrides)
5545 (completion-cycle-threshold): Use them.
5546 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5547 completion-table-case-fold.
5548
8ea0a993
SB
55492011-10-03 Stephen Berman <stephen.berman@gmx.net>
5550
5551 * minibuffer.el (completion-category-overrides): Fix type of styles
5552 and add more user friendly tags (bug#9660).
5553
8c24b7f6
SM
55542011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5557 (mule-input-method-string): New widget.
5558 (default-input-method, language-info-custom-alist): Use it.
5559
428fe61a
SM
55602011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5561
32c1fffd
SM
5562 * pcomplete.el: Require comint.
5563 (pcomplete--common-suffix): Remove.
5564 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5565 (pcomplete--table-subvert): Sync with comint--table-subvert.
5566 (pcomplete--entries): Use comint-completion-file-name-table.
5567 * comint.el (comint-unquote-filename): Simplify.
5568 (comint-completion-file-name-table): New function (bug#9616).
5569 (comint--complete-file-name-data): Use it.
5570
428fe61a
SM
5571 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5572 (pcmpl-gnu-tar-buffer): Remove.
5573 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5574 around. Make sure pcomplete-suffix-list is only changed temporarily.
5575 Don't look inside the tar's file if it's too large.
428fe61a 5576
04c52e2f
CY
55772011-10-01 Chong Yidong <cyd@stupidchicken.com>
5578
ce3cefcc
CY
5579 * cus-edit.el (custom-mode-map):
5580 * epa.el (epa-key-list-mode-map):
5581 * man.el (Man-mode-map):
5582 * startup.el (splash-screen-keymap):
5583 * simple.el (special-mode-map): Use scroll-up-command and
5584 scroll-down-command.
5585
5586 * progmodes/idlw-help.el (idlwave-help-mode-map):
5587 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5588 * net/newst-plainview.el (newsticker-mode-map):
5589 * emulation/ws-mode.el (wordstar-mode-map):
5590 * emulation/vi.el (vi-com-map):
5591 * calc/calc-graph.el (calc-graph-show-dumb):
5592 * term/sun.el (terminal-init-sun):
5593 * term/ns-win.el (global-map):
5594 * progmodes/grep.el (grep-mode-map):
5595 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5596 * mail/rmail.el (rmail-mode-map):
5597 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5598
04c52e2f
CY
5599 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5600 custom-safe-themes as special.
5601
79adf8c8
JD
56022011-10-01 Julien Danjou <julien@danjou.info>
5603
5604 * notifications.el (notifications-notify): Fix docstring.
5605
63bd50d3
PS
56062011-10-01 Per Starbäck <per@starback.se>
5607
5608 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5609
199e4c7e
MR
56102011-09-30 Martin Rudalics <rudalics@gmx.at>
5611
5612 * startup.el (command-line-1): Fix last fix by inserting
5613 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5614 (Bug#9605) and (Bug#9636)
199e4c7e 5615
fe5f08dd
EZ
56162011-09-29 Eli Zaretskii <eliz@gnu.org>
5617
5618 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5619 window is hscrolled, move by logical lines. (Bug#9607)
5620 (line-move-visual): Update the doc string to the above effect.
5621
b5516bbd
MR
56222011-09-29 Martin Rudalics <rudalics@gmx.at>
5623
ccee00c0
MR
5624 * window.el (display-buffer-record-window): When WINDOW is the
5625 selected window use `point' instead of `window-point'. (Bug#9626)
5626
b5516bbd
MR
5627 * startup.el (command-line-1): Use insert-before-markers when
5628 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5629
b5516bbd
MR
5630 * help.el (help-window): Remove variable.
5631
52aa0014
GM
56322011-09-29 Glenn Morris <rgm@gnu.org>
5633
5634 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5635
df9a7357
JB
56362011-09-29 Juanma Barranquero <lekktu@gmail.com>
5637
5638 * descr-text.el (describe-char-categories): Accept category
5639 descriptions more than one line long.
5640
a8406c20
SM
56412011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5642
88d9610c
SM
5643 * simple.el (delete-trailing-whitespace): Fix last change.
5644
a5daf810
SM
5645 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5646 Don't confuse "y => 3" as the beginning of a `y' operation.
5647
a8406c20
SM
5648 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5649 object has more than 4 slots (bug#9613).
5650
a239d4e9
JB
56512011-09-28 Juanma Barranquero <lekktu@gmail.com>
5652
5653 * subr.el (with-output-to-temp-buffer):
5654 * net/quickurl.el (quickurl, quickurl-browse-url):
5655 Fix typos in docstrings.
5656
693fbdb6
EZ
56572011-09-27 Eli Zaretskii <eliz@gnu.org>
5658
5659 * minibuffer.el (completion-styles)
5660 (completion-category-overrides): Cross reference each other in doc
5661 strings.
5662
8b457e28
GM
56632011-09-27 Glenn Morris <rgm@gnu.org>
5664
5665 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5666 to split-string. (Bug#9606)
5667
85a16208
LMI
56682011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5669
5670 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5671 (bug#9615).
5672
502f9ebd
CY
56732011-09-27 Chong Yidong <cyd@stupidchicken.com>
5674
5675 * emacs-lisp/package.el (list-packages): Fix echo area message.
5676
7690bdea
LL
56772011-09-27 Leo Liu <sdl.web@gmail.com>
5678
5679 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5680
e2ee6f30
MA
56812011-09-25 Michael Albinus <michael.albinus@gmx.de>
5682
5683 * net/dbus.el (dbus-unregister-object): Don't release services for
5684 registered signals. (Bug#9581)
5685
f3f98342
TZ
56862011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5687
5688 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5689 function that picks between cfengine 2 and 3 support
5690 automatically. Update docs accordingly.
5691
dd7aa8dd
KH
56922011-09-22 Kenichi Handa <handa@m17n.org>
5693
5694 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5695 ZERO.
5696 (indian-itrans-v5-table-for-tamil): New variable.
5697 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5698
3f2b07f8
KM
56992011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5700
5701 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5702 that's true if the current command involved collapsing of text.
5703 It's reset to false at the beginning of the next command.
5704 (allout-post-command-business): Move the cursor to the beginning
5705 of entry if the cursor is hidden and collapsing activity just
5706 happened.
5707
371d6a61
CY
57082011-09-24 Chong Yidong <cyd@stupidchicken.com>
5709
5710 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5711 tracking (Bug#9541).
5712
2ac2721a
UJ
57132011-09-24 Ulf Jasper <ulf.jasper@web.de>
5714
5715 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5716 (newsticker-show-news): Automatically load html rendering package
5717 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5718 because w3m-fill-column is let-bound" and the error "Symbol's value
5719 as variable is void: w3m-fill-column".
2ac2721a 5720
fac7ae53
MA
57212011-09-24 Michael Albinus <michael.albinus@gmx.de>
5722
5723 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5724 Release services only if they are defined. (Bug#9581)
5725
e08b633b
RS
57262011-09-23 Richard Stallman <rms@gnu.org>
5727
e488d29c
RS
5728 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5729 distinguish start of paragraph from start of its text.
5730
19c38752
RS
5731 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5732
e08b633b
RS
5733 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5734 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5735 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5736
0a39f27e
AS
57372011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5738
5739 * international/mule-diag.el (mule-diag): Insert a newline after
5740 each fontset description.
5741
db4e950d
SM
57422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * simple.el (delete-trailing-whitespace):
5745 Document last change; simplify.
5746
eca3f3ea
PW
57472011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5748
d68e189a
PW
5749 * simple.el (delete-trailing-whitespace): Also delete
5750 extra newlines at the end of the buffer.
5751
eca3f3ea
PW
5752 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5753 (picture-newline): Use forward-line so as to ignore fields.
5754
01c157cc
SM
57552011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * subr.el (with-wrapper-hook): Fix edebug spec.
5758
022de23e
LMI
57592011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5760
5761 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5762 (bug#4538).
5763
91683089
MA
57642011-09-23 Michael Albinus <michael.albinus@gmx.de>
5765
eca3f3ea
PW
5766 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5767 Fix nasty bug using wrong cached values.
91683089 5768
5bdd6fa4
AM
57692011-09-23 Alan Mackenzie <acm@muc.de>
5770
5771 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5772
97adfb97
CY
57732011-09-23 Chong Yidong <cyd@stupidchicken.com>
5774
5775 * window.el (pop-to-buffer): Ensure right window is selected if we
5776 chose another frame.
5777
d4ef2b50
EZ
57782011-09-22 Eli Zaretskii <eliz@gnu.org>
5779
5780 * simple.el (what-cursor-position): Use get-char-property-change
5781 and next-single-char-property-change, to be able to show display
5782 properties that come from overlays as well as text properties.
5783
72258fe5
CY
57842011-09-22 Chong Yidong <cyd@stupidchicken.com>
5785
5786 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5787
5788 * cmuscheme.el (run-scheme, switch-to-scheme):
5789 * cus-edit.el (customize-group, custom-buffer-create)
5790 (customize-browse):
5791 * info.el (info):
5792 * shell.el (shell):
5793 * mail/sendmail.el (mail):
5794 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5795
8f098516
RS
57962011-09-22 Richard Stallman <rms@gnu.org>
5797
5798 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5799 move back only to line beg, don't move back over blank lines.
5800
e74f1bb6
MA
58012011-09-22 Michael Albinus <michael.albinus@gmx.de>
5802
5803 * files.el (copy-directory): Set directory attributes only in case
5804 they could be retrieved from the source directory. (Bug#9565)
5805
bfeef8b6
DK
58062011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5807
5808 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5809 (hs-find-block-beginning, hs-hide-level-recursive):
5810 Ignore strings as well as comments. (Bug#9502)
5811
7e423bb8
AS
58122011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5813
5814 * progmodes/sql.el (sql-comint-postgres):
5815 Convert port number to a string. (Bug#9566)
5816
b4d72fcf
MR
58172011-09-22 Martin Rudalics <rudalics@gmx.at>
5818
5819 * window.el (quit-window): Undedicate window when switching to
5820 previous buffer. Reported by Thierry Volpiatto
5821 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5822 (special-display-popup-frame): When popping up a new frame reset
5823 its previous buffers to nil. Simplify code.
b4d72fcf 5824
a7b88dc6
MA
58252011-09-21 Michael Albinus <michael.albinus@gmx.de>
5826
5827 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5828 and process filter, as done also in `shell-command'.
5829
cf4eacfd
MR
58302011-09-21 Martin Rudalics <rudalics@gmx.at>
5831
eca3f3ea 5832 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5833 Call set-window-start with NOFORCE argument t.
5834 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5835 (quit-window): Reword doc-string. Handle new format of
5836 quit-restore parameter. Don't delete window if it has a
5837 previous buffer we can show instead of the present one.
5838 (display-buffer-record-window): Rewrite using a new format for
5839 the quit-restore window parameter
5840 (special-display-popup-frame, display-buffer-same-window)
5841 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5842 (display-buffer-pop-up-window, display-buffer-use-some-window):
5843 Adapt symbol passed to display-buffer-record-window.
5844 * help.el (help-window-setup): Handle new format of quit-restore
5845 parameter.
5846
8d28cb95
SM
58472011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5848
94ab793f
SM
5849 * faces.el (face-list): Fix docstring (bug#9564).
5850
8d28cb95
SM
5851 * window.el (display-buffer--action-function-custom-type):
5852 Don't include internal functions in the Custom interface.
5853
3820edeb
JL
58542011-09-20 Juri Linkov <juri@jurta.org>
5855
5856 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5857 (Info-forward-node, Info-backward-node, Info-next-preorder)
5858 (Info-last-preorder): Use it. (Bug#9528)
5859
5147931d
JL
58602011-09-20 Juri Linkov <juri@jurta.org>
5861
5862 * info.el (Info-last-preorder): Visit last menu item only when
5863 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5864
cf499a1a
JD
58652011-09-20 Julien Danjou <julien@danjou.info>
5866
5867 * password-cache.el (password-cache-remove): Remove entries even if the
5868 value is nil, so that password with a nil value (negative caching) is
5869 possible to invalidate.
5870
f84e2fe2
LM
58712011-09-20 Lawrence Mitchell <wence@gmx.li>
5872
5873 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5874 all whitespace around breakpoint. (Bug#9553)
5875 (f90-find-breakpoint): Only break at whitespace inside a comment.
5876
78054a46
SM
58772011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * minibuffer.el (completion-file-name-table): Keep track of errors.
5880 (completion-table-with-predicate): Handle the case where pred1 is nil.
5881 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5882
345083b2
SM
58832011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5884
e24e27be
SM
5885 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5886 (debugger-return-value): Signal an error if the debugging context does
5887 not await any return value.
5888
345083b2
SM
5889 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5890 * image-mode.el (image-toggle-display-text)
5891 (image-toggle-display-image): Stay away from evil `intangible'.
5892
08d355e3
LL
58932011-09-19 Leo Liu <sdl.web@gmail.com>
5894
5895 * replace.el (occur-revert-arguments): Make it permanent-local.
5896 (occur-mode): Don't call font-lock-defontify.
5897
f01da43f
CY
58982011-09-19 Chong Yidong <cyd@stupidchicken.com>
5899
5900 * net/ldap.el (ldap-search-internal): Don't push empty search
5901 result (Bug#9508).
5902
b6072fa6
SM
59032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5906
443d6696
MA
59072011-09-19 Michael Albinus <michael.albinus@gmx.de>
5908
5909 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5910 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5911
7cc6e154
JL
59122011-09-18 Juri Linkov <juri@jurta.org>
5913
5914 * buff-menu.el (Buffer-menu-mode-map):
5915 * dired.el (dired-mode-map):
5916 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5917 (lisp-interaction-mode-map):
5918 * emacs-lisp/package.el (package-menu-mode-map):
5919 * epa.el (epa-key-list-mode-map):
5920 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5921 (menu-bar-options-menu):
5922 * outline.el (outline-mode-menu-bar-map):
5923 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5924 * vc/vc-dir.el (vc-dir-menu-map):
5925 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5926 Capitalize non-function content words in menu item strings.
5927
5928 * dired.el (dired-mode-map): Add menu item for
5929 `image-dired-dired-toggle-marked-thumbs'.
5930
80302a81
JL
59312011-09-18 Juri Linkov <juri@jurta.org>
5932
5933 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5934 to `isearch-case-fold-search' and restore its original value
5935 after the `isearch-mode' call.
5936
46c5cf66
JL
59372011-09-18 Juri Linkov <juri@jurta.org>
5938
5939 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5940 because `zgrep' returns 1 for successful matches (bug#9226).
5941
d18b513b
JL
59422011-09-18 Juri Linkov <juri@jurta.org>
5943
5944 * info.el (Info-extract-menu-node-name): Check the second match
5945 for empty string (second test-case of bug#9528).
5946 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5947 intermediate nodes to the history (first test-case of bug#9528).
5948
72753f87
JL
59492011-09-18 Juri Linkov <juri@jurta.org>
5950
5951 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5952 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5953
c9384295
JL
59542011-09-18 Juri Linkov <juri@jurta.org>
5955
1154d12e
JB
5956 * info.el (Info-file-supports-index-cookies):
5957 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5958 outputs one more line for long file names (bug#4142).
c9384295 5959
d473dce8
CY
59602011-09-18 Chong Yidong <cyd@stupidchicken.com>
5961
5962 * newcomment.el (comment-normalize-vars): If prompting for
5963 comment-start, set comment-start-skip too (Bug#8424).
5964
2176854d
JB
59652011-09-18 Johan Bockgård <bojohan@gnu.org>
5966
5967 * icomplete.el: Fix previous fix of Bug#5849.
5968 (icomplete-mode): Don't set completion-show-inline-help.
5969 (icomplete-minibuffer-setup): Set completion-show-inline-help
5970 locally during icompletion.
5971
3aace4e4
CY
59722011-09-18 Chong Yidong <cyd@stupidchicken.com>
5973
c940224f
CY
5974 * woman.el (woman2-process-escapes): Don't delete unrecognized
5975 escapes (Bug#7843).
5976
3aace4e4
CY
5977 * files.el (inhibit-first-line-modes-regexps): Add image files.
5978 (hack-local-variables-prop-line): Return nil for malformed
5979 prop-lines (Bug#9044).
5980
710dec63
MA
59812011-09-18 Michael Albinus <michael.albinus@gmx.de>
5982
5983 * net/tramp.el (top): Don't require 'shell.
5984 (tramp-methods): Fix docstring.
5985 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5986 Return complete remote file name. Handle "smb" case.
5987 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5988 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5989
5990 * net/tramp-compat.el (top): Require 'shell.
5991
5992 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5993 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5994 `tramp-current-host'.
5995 (tramp-get-remote-tmpdir): Remove.
5996
5997 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5998 `tramp-tmpdir' entries.
5999 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6000 (tramp-smb-handle-file-attributes): Ignore errors.
6001 (tramp-smb-wait-for-output): Check also for process end.
6002
5d5ac8ec
LMI
60032011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6004
6005 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6006 when sending QUIT (bug#9312).
6007
8c0f49f0
CY
60082011-09-17 Chong Yidong <cyd@stupidchicken.com>
6009
6010 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6011 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6012 occur-mode-display-occurrence.
6013 (occur-edit-mode): Add usage message.
6014 (occur-cease-edit): New command.
6015 (occur-after-change-function): Use text properties to find the
6016 position of the prefix text.
6017 (occur-engine): Set stickiness of prefix text properties.
6018
8f1383f7
GM
60192011-09-17 Glenn Morris <rgm@gnu.org>
6020
6021 * progmodes/etags.el (complete-tag):
6022 Fix call to completion-in-region. (Bug#9526)
6023
744ba0e3
JL
60242011-09-17 Juri Linkov <juri@jurta.org>
6025
6026 * textmodes/ispell.el (ispell-word): Add to the error message
6027 the word, ispell program name and current dictionary (bug#9121).
6028 (ispell-tex-arg-end): Capitalize "error" in the error message.
6029
d9bbf400
AS
60302011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6031
6032 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6033 check. (Bug#4251)
6034
8da11505
JL
60352011-09-17 Juri Linkov <juri@jurta.org>
6036
6037 * window.el (window-safe-min-height, window-safe-min-width):
6038 Fix typos (followup to bug#9522).
6039
a91adc7e
SJ
60402011-09-17 Sven Joachim <svenjoac@gmx.de>
6041
6042 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6043
064f328a
EZ
60442011-09-16 Eli Zaretskii <eliz@gnu.org>
6045
6046 * simple.el (line-move): If goal-column is set, move by logical
6047 lines, not by display lines. (Bug#971)
6048 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6049 to reflect the above change.
6050
e69df516
SM
60512011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * image.el (imagemagick-register-types): Use regexp-opt.
6054
cbb0f9ab
CY
60552011-09-15 Chong Yidong <cyd@stupidchicken.com>
6056
6057 * window.el (display-buffer-base-action): Rename from
6058 display-buffer-default-action. Make default value empty.
6059 (display-buffer-overriding-action): Convert to defvar.
6060 (display-buffer-fallback-action): New var.
6061
25322144
CY
60622011-09-15 Chong Yidong <cyd@stupidchicken.com>
6063
6064 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6065 declaration.
6066 (package--add-to-archive-contents): If there is a duplicate entry
6067 with an older version, remove it.
6068 (package-menu-mark-delete, package-menu-mark-install)
6069 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6070 (package-menu-mark-obsolete-for-deletion):
6071 Use package-menu-get-status instead of a regexp search.
25322144
CY
6072 (package-menu-get-status): Use tabulated-list-entry.
6073 (package-menu-mark-upgrades): New command.
d770725a 6074 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6075 (package-menu-execute): Do installation before deletion.
6076 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6077 instead of checking major-mode.
6078 (package-menu--find-upgrades): New function.
6079
7520339c
LMI
60802011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6081
6082 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6083 passwords in the log buffer.
65a046c4
LMI
6084 (smtpmail-process-filter): Update the process marker so that the
6085 "broken by peer" status message is inserted in the right place.
7520339c 6086
d3c30954
SM
60872011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6088
3fe48822
SM
6089 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6090 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6091 bibtex-completion-at-point-function.
6092 (bibtex-completion-at-point-function): Use them.
6093
1b8b3954
SM
6094 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6095
d3c30954
SM
6096 * mpc.el (mpc-constraints-tag-lookup): New function.
6097 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6098 also to browser "album|playlist".
6099
72779976
JL
61002011-09-14 Juri Linkov <juri@jurta.org>
6101
6102 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6103 (isearch-edit-string): Use length of `isearch-string' when
6104 `isearch-fail-pos' returns nil.
6105 (isearch-message): Remove duplicate code and call
6106 `isearch-fail-pos' with arg `t'.
6107
a0bf2bcd
CY
61082011-09-14 Chong Yidong <cyd@stupidchicken.com>
6109
17bb0a2d
CY
6110 * replace.el (occur-mode-goto-occurrence): Don't force using other
6111 window (Bug#9499).
6112
a0bf2bcd
CY
6113 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6114
f678e0b6
MR
61152011-09-14 Martin Rudalics <rudalics@gmx.at>
6116
6117 * window.el (display-buffer-window): Remove.
6118 (display-buffer-record-window): Use help-setup window parameter
6119 instead of variable display-buffer-window.
6120 (display-buffer-function, special-display-buffer-names)
6121 (special-display-function): Mention help-setup parameter instead
6122 of display-buffer-window in doc-string.
d3c30954
SM
6123 * help.el (help-window-setup): New argument help-window.
6124 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6125 Reword some messages.
6126 (with-help-window): Pass window used for displaying the buffer
6127 to help-window-setup. Don't set display-buffer-window.
6128
8e39b2e8
GM
61292011-09-13 Glenn Morris <rgm@gnu.org>
6130
6131 * emacs-lisp/debug.el (debugger-make-xrefs):
6132 Preserve point. (Bug#9462)
6133
85e9c04b
CY
61342011-09-13 Chong Yidong <cyd@stupidchicken.com>
6135
6136 * window.el (window-deletable-p): Use next-frame.
6137
1b36ed6a
MR
61382011-09-13 Martin Rudalics <rudalics@gmx.at>
6139
6140 * window.el (window-auto-delete): Remove.
6141 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6142 dedication and previous buffers.
1b36ed6a
MR
6143 (switch-to-prev-buffer): Don't delete window.
6144 (delete-windows-on): Delete a window's frame if and only if the
6145 window is dedicated.
6146 (replace-buffer-in-windows): Delete buffer's window or frame if
6147 and only if window is dedicated.
6148 (quit-window): Handle quit-restore as before last change.
4d61f28d 6149 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6150
ef8ef9fb
CY
61512011-09-13 Chong Yidong <cyd@stupidchicken.com>
6152
6153 * window.el (window-deletable-p): Never delete the last frame on a
6154 given terminal.
6155
b2cba41e
GM
61562011-09-13 Glenn Morris <rgm@gnu.org>
6157
6158 * help.el (describe-key-briefly): Copy previous standard-output change.
6159
51553db6 61602011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6161
6162 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6163
b7556719
GM
61642011-09-13 Glenn Morris <rgm@gnu.org>
6165
6166 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6167 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6168
64b51947
CY
61692011-09-12 Chong Yidong <cyd@stupidchicken.com>
6170
6171 * dired-aux.el (dired-mark-read-string): Don't return default
6172 value on empty input (Bug#9361).
6173 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6174 Omit initial minibuffer contents.
6175 (dired-do-chmod): Signal an error on empty input.
6176 (dired-mark-read-string): Don't return default on empty input.
6177
6178 * files.el (file-modes-symbolic-to-number): Doc fix.
6179
393a301e
SM
61802011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * international/mule-cmds.el (ucs-completions): Remove.
6183 (read-char-by-name): Use complete-with-action instead; add metadata.
6184
fa5660f9
CY
61852011-09-11 Chong Yidong <cyd@stupidchicken.com>
6186
6187 * window.el (display-buffer--action-function-custom-type)
6188 (display-buffer--action-custom-type): New vars.
6189 (display-buffer-alist, display-buffer-default-action)
6190 (display-buffer-overriding-action): Add defcustom types.
6191
4a592f66
CY
6192 * frame.el (delete-other-frames): Doc fix (Bug#276).
6193
73d56dbd
LMI
61942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6195
6196 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6197
37ac18a3
CY
61982011-09-11 Chong Yidong <cyd@stupidchicken.com>
6199
6200 Change modes that used same-window-* vars to use switch-to-buffer.
6201
6202 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6203 Use switch-to-buffer.
6204
6205 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6206 (customize-browse, custom-buffer-create-other-window):
6207 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6208
6209 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6210 (Info-prev, Info-up, Info-speedbar-goto-node)
6211 (info-display-manual): Use switch-to-buffer.
6212 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6213
6214 * mail/sendmail.el (mail): Use switch-to-buffer.
6215 (mail-recover): Use switch-to-buffer-other-window.
6216
6217 * cmuscheme.el (run-scheme, switch-to-scheme):
6218 * ielm.el (ielm):
6219 * shell.el (shell):
6220 * net/rlogin.el (rlogin):
6221 * net/telnet.el (telnet, rsh):
6222 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6223
10195bd6
AS
62242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6225
6226 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6227
b322f63a
LMI
62282011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6229
39d7fed6
LMI
6230 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6231 so don't mention it (bug#9301).
ba5a81f1 6232 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6233
ee0e9f11
LMI
6234 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6235 match `x', `w32' and `ns', like the manual says (bug#9029).
6236
0b1c89c1 6237 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6238 (process-kill-buffer-query-function): Mention the buffer name in
6239 the query.
0b1c89c1 6240
77549ea8
LMI
6241 * image-mode.el (image-next-line): The line parameter is mandatory
6242 (bug#9258).
6243
803ef892
LMI
6244 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6245 which can be useful (bug#9301).
6246
12980837
LMI
6247 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6248
91054f8f
LMI
6249 * subr.el (match-string): Mention that the current buffer should
6250 be the same as the search was done in (bug#9282).
6251
b322f63a
LMI
6252 * facemenu.el: Disable the remove-* commands if the mark isn't
6253 active (bug#9162).
6254
3199b96f
CY
62552011-09-10 Chong Yidong <cyd@stupidchicken.com>
6256
6257 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6258 of display-buffer.
6259 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6260
6261 * replace.el (occur-mode-goto-occurrence)
6262 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6263 and display-buffer.
6264
6265 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6266 display-buffer.
6267
6268 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6269 special-display and same-window variables.
6270 (mail-other-window): Use switch-to-buffer-other-window.
6271 (mail-other-frame): USe switch-to-buffer-other-frame.
6272
393a301e
SM
6273 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6274 Use display-buffer-other-frame.
3199b96f
CY
6275 (gdb-display-gdb-buffer): Use pop-to-buffer.
6276
6277 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6278
6279 * progmodes/python.el: Don't set same-window-buffer-names.
6280
6281 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6282
6283 * window.el (display-buffer-alist): Add *Python*.
6284
8319e0bf
CY
62852011-09-10 Chong Yidong <cyd@stupidchicken.com>
6286
6287 * window.el (display-buffer-alist): Add entry for buffers
6288 previously handled same-window-*.
6289 (display-buffer-alist, display-buffer-default-action)
6290 (display-buffer-overriding-action): Mark as risky.
6291 (display-buffer-alist): Document action function changes.
6292 (display-buffer--same-window-action)
6293 (display-buffer--other-frame-action): New variables.
6294 (switch-to-buffer, display-buffer-other-frame): Use them.
6295 (display-buffer): Rename reuse-frame entry to reusable-frames.
6296 (display-buffer-reuse-selected-window): Function deleted.
6297 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6298 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6299 (display-buffer-special): New function.
6300 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6301 display-buffer-reuse-or-pop-window. Split off special-display
6302 part into display-buffer-special.
6303 (display-buffer-use-some-window): Don't perform any special
6304 pop-up-frames handling.
6305 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6306 (display-buffer--maybe-same-window): Rename from
0d3ff375 6307 display-buffer-maybe-same-window.
8319e0bf 6308
919a69aa
CY
6309 * info.el: Don't set same-window-regexps.
6310 (info-setup): New function.
6311 (info-other-window, info): Call it.
6312
6313 * cus-edit.el: Don't set same-window-regexps.
6314 (customize-group): New argument.
6315 (customize-group-other-window): Use it.
6316 (customize-face, customize-face-other-window): Likewise.
6317 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6318
8319e0bf
CY
6319 * net/rlogin.el:
6320 * net/telnet.el:
6321 * progmodes/gud.el: Don't set same-window-regexps.
6322
6323 * cmuscheme.el:
6324 * ielm.el:
6325 * shell.el:
6326 * mail/sendmail.el:
6327 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6328
25173000
JL
63292011-09-10 Juri Linkov <juri@jurta.org>
6330
6331 * isearch.el (isearch-edit-string): Remove obsolete mention of
6332 `C-w' (`isearch-yank-word-or-char') from docstring.
6333 (isearch-query-replace): Fix typo in docstring (bug#9466).
6334
056e44ef
JL
63352011-09-10 Juri Linkov <juri@jurta.org>
6336
6337 * paren.el (show-paren-function): Don't show escaped parens.
6338 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6339
c3760c17
EZ
63402011-09-10 Eli Zaretskii <eliz@gnu.org>
6341
6342 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6343 (mm-default-file-encoding): Remove autoload forms, they are
6344 replaced with autoload cookies in mml.el and mm-encode.el.
6345 (mail-add-attachment): New command.
6346 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6347 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6348 the doc string.
6349 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6350
fece895e
RT
63512011-09-10 Reuben Thomas <rrt@sc3d.org>
6352
e69df516
SM
6353 * simple.el (count-words-region): Use buffer if there's no region
6354 (bug#9429).
fece895e 6355
5e68ce4a
JL
63562011-09-09 Juri Linkov <juri@jurta.org>
6357
6358 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6359 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6360 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6361
0a6b9622
AM
63622011-09-09 Alan Mackenzie <acm@muc.de>
6363
6364 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6365 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6366
14a29deb
EZ
63672011-09-09 Eli Zaretskii <eliz@gnu.org>
6368
6369 Fix for Savannah bug#9392.
6370 * simple.el (mail-encode-mml): New defvar.
6371
6372 * mail/rmail.el (mail-encode-mml): Add a defvar.
6373 (rmail-enable-mime-composing): Default to t.
6374 (rmail-forward): Use MIME method of forwarding only if both
6375 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6376 Set mail-encode-mml non-nil if the MIME method was used.
6377
6378 * mail/sendmail.el (mml-to-mime): Add autoload form.
6379 (mail-encode-mml): Add a defvar.
6380 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6381 to nil.
6382 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6383 message through mml-to-mime, and reset mail-encode-mml to nil.
6384
28c45130
GM
63852011-09-09 Glenn Morris <rgm@gnu.org>
6386
6387 * woman.el (woman-if-body): When processing an .el block,
6388 do not delete the next .el block as well. (Bug#9447)
69f4b618 6389 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6390
9b1c252e
MR
63912011-09-08 Martin Rudalics <rudalics@gmx.at>
6392
6393 * window.el (window-deletable-p): Make sure window is live before
6394 invoking window-prev-buffers.
6395
567457e3
LL
63962011-09-08 Leo Liu <sdl.web@gmail.com>
6397
6398 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6399
97f05794
JL
64002011-09-08 Juri Linkov <juri@jurta.org>
6401
6402 * progmodes/compile.el (compilation-environment): Make it
6403 a defcustom (bug#8340).
6404
8b0874b5
MR
64052011-09-08 Martin Rudalics <rudalics@gmx.at>
6406
6407 * window.el (frame-auto-delete): Rename to window-auto-delete.
6408 Make it control auto-deletion of windows and/or frames.
6409 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6410 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6411 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6412 Rewrite handling of case when window/frame can be deleted.
6413 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6414 argument t. (Bug#9456)
8b0874b5 6415
4feb6e73
CY
64162011-09-07 Chong Yidong <cyd@stupidchicken.com>
6417
6418 * help-mode.el (help-mode): Restore autoload.
6419
91ab9c13
JL
64202011-09-07 Juri Linkov <juri@jurta.org>
6421
6422 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6423 `compilation-environment'. Set buffer-local
6424 `compilation-environment' to `thisenv' later after (funcall mode).
6425 (Bug#8340)
6426
6427 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6428 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6429 instead of replacing its value. (Bug#8340)
6430
0527e251
JL
64312011-09-07 Juri Linkov <juri@jurta.org>
6432
6433 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6434 based on text properties put by `grep-filter' instead of matching
6435 escape sequences.
6436 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6437 to the value of `grep-error-screen-columns' (bug#9438).
6438
249f792c
JL
64392011-09-07 Juri Linkov <juri@jurta.org>
6440
6441 * simple.el (next-error-highlight, next-error-highlight-no-select):
6442 Doc fix (bug#9432).
6443
ff7271b9
OT
64442011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6445
6446 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6447 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6448
183fc730
LL
64492011-09-07 Leo Liu <sdl.web@gmail.com>
6450
6451 * net/rcirc.el (rcirc-mode): Conditionally initialize
6452 rcirc-input-ring.
6453
77694924
SM
64542011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6455
6456 * emacs-lisp/find-func.el (find-function-C-source): Only set
6457 find-function-C-source-directory after checking that we found a source
6458 file there (bug#9440).
6459
d809b8eb
AM
64602011-09-06 Alan Mackenzie <acm@muc.de>
6461
6462 * isearch.el (isearch-other-meta-char): Wherever a key list is
6463 unread, "unread" the prefix arg, too. This fixes bug #8901.
6464
453de99f
OG
64652011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6466
6467 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6468
90439906
JL
64692011-09-05 Juri Linkov <juri@jurta.org>
6470
6471 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6472
f62bd846
JL
64732011-09-05 Juri Linkov <juri@jurta.org>
6474
6475 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6476 keeping point where processing of grep matches begins, and
6477 continue to delete remaining escape sequences from the same point.
6478 (grep-filter): Make leading zero optional in "0?1;31m" because
6479 git-grep emits "\033[1;31m" escape sequences unlike expected
6480 "\033[01;31m" as GNU Grep does (bug#9408).
6481 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6482
045820ec
JL
64832011-09-05 Juri Linkov <juri@jurta.org>
6484
6485 * subr.el (y-or-n-p): Capitalize "yes".
6486
f5e29b9b
MA
64872011-09-04 Michael Albinus <michael.albinus@gmx.de>
6488
6489 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6490 `tramp-cache-unload-hook' where appropriate.
6491 (tramp-methods): Rename `tramp-remote-sh' to
6492 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6493 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6494
6495 * net/tramp-sh.el (top): Don't require 'shell.
6496 (tramp-methods): Add `tramp-remote-shell' and
6497 `tramp-remote-shell-args' entries.
6498 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6499 (tramp-sh-handle-shell-command): Remove.
6500 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6501 Use `tramp-remote-shell'.
6502
2784c434
CY
65032011-09-03 Chong Yidong <cyd@stupidchicken.com>
6504
393a301e 6505 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6506 (sendmail-query-once): Save directly to send-mail-function.
6507 Update message-send-mail-function too.
6508
6509 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6510
464cdf56
CS
65112011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6512
6513 * progmodes/python.el (python-mode-map): Use correct function to
6514 start python interpreter from menu-bar (as reported by Geert
6515 Kloosterman).
6516 (inferior-python-mode-map): Fix typo.
393a301e 6517 (python-shell-map): Remove.
464cdf56 6518
d37e5c87
DD
65192011-09-03 Deniz Dogan <deniz@dogan.se>
6520
6521 * net/rcirc.el (rcirc-print): Simplify code for
6522 rcirc-scroll-show-maximum-output. There is no need to walk
6523 through all windows to find the right one.
6524
f3ada0ee
CS
65252011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6526
6527 * help.el (help-return-method): Doc fix.
6528
1f3c99ca
MR
65292011-09-03 Martin Rudalics <rudalics@gmx.at>
6530
6531 * window.el (window-deletable-p): Don't return a non-nil value
6532 when there's a buffer that was shown in the window before.
6533 (Bug#9419)
393a301e
SM
6534 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6535 Set window's previous buffers to nil.
1f3c99ca 6536
a3cf097f
EZ
65372011-09-03 Eli Zaretskii <eliz@gnu.org>
6538
6539 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6540 newline before and after the tag line, so it doesn't interfere
6541 with determining the paragraph direction of bidirectional text.
6542
3d03de90
LL
65432011-09-03 Leo Liu <sdl.web@gmail.com>
6544
6545 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6546
c3313451
CY
65472011-09-02 Chong Yidong <cyd@stupidchicken.com>
6548
393a301e 6549 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6550 (pop-to-buffer): Change interactive spec. Pass second argument
6551 directly to display-buffer.
6552 (display-buffer): Fix interactive spec. Use functionp to
6553 distinguish between a function and a list of functions.
6554
6555 * abbrev.el (edit-abbrevs):
6556 * arc-mode.el (archive-extract):
6557 * autoinsert.el (auto-insert):
6558 * bookmark.el (bookmark-bmenu-list):
6559 * files.el (find-file):
6560 * view.el (view-buffer):
6561 * progmodes/compile.el (compilation-goto-locus):
6562 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6563
89894cd8
CY
65642011-09-02 Chong Yidong <cyd@stupidchicken.com>
6565
6566 * window.el (display-buffer-alist): Doc fix.
6567 (display-buffer): Add docstring. Don't treat
6568 display-buffer-default specially.
6569 (display-buffer-reuse-selected-window)
6570 (display-buffer-same-window, display-buffer-maybe-same-window)
6571 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6572 (display-buffer-pop-up-window)
6573 (display-buffer-reuse-or-pop-window)
6574 (display-buffer-use-some-window): New functions.
6575 (display-buffer-default-action): Use them.
393a301e 6576 (display-buffer-default): Delete.
89894cd8
CY
6577 (pop-to-buffer-1): Fix choice of actions.
6578
ae0bc9fb
SM
65792011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6581 * minibuffer.el (completion--insert-strings): Don't get confused by
6582 completion entries that end with an LF char.
6583
e9d90883
EZ
65842011-09-01 Eli Zaretskii <eliz@gnu.org>
6585
6586 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6587
437014c8
CY
65882011-09-01 Chong Yidong <cyd@stupidchicken.com>
6589
6590 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6591 (display-buffer-same-window, display-buffer-other-window):
6592 New functions.
437014c8
CY
6593 (pop-to-buffer-1): New function. Use the above.
6594 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6595 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6596
6597 * view.el (view-buffer-other-window, view-buffer-other-frame):
6598 Just use pop-to-buffer.
6599
a5e063d5
TV
66002011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6601
6602 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6603
793d32bb
WH
66042011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6605
6606 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6607
d65e4c15
RS
66082011-08-31 Richard Stallman <rms@gnu.org>
6609
6610 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6611 of the separation of rmail-view-buffer from rmail-buffer.
6612 If you say no to "replace original", the decrypt is in the
6613 view buffer. If you say yes, the decrypt goes into the
6614 rmail buffer also.
6615
f818cd2a
MR
66162011-08-31 Martin Rudalics <rudalics@gmx.at>
6617
6618 * window.el (display-buffer-window): Rewrite doc-string.
6619 (display-buffer-record-window): New function.
6620 (display-buffer-macro-specifiers)
6621 (display-buffer-even-window-sizes, display-buffer-set-height)
6622 (display-buffer-set-width, display-buffer-in-window)
6623 (display-buffer-reuse-window, display-buffer-split-specifiers)
6624 (display-buffer-side-specifiers, display-buffer-split-window-1)
6625 (display-buffer-split-window, display-buffer-split-atom-window)
6626 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6627 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6628 (display-buffer-other-window-means-other-frame)
6629 (display-buffer-normalize-special)
6630 (display-buffer-normalize-default)
6631 (display-buffer-normalize-argument)
6632 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6633 (display-buffer-normalize-specifiers, display-buffer-frame)
6634 (display-buffer-same-window, display-buffer-same-frame)
6635 (display-buffer-other-window)
6636 (display-buffer-same-frame-other-window)
6637 (display-buffer-other-frame, pop-to-buffer-same-window)
6638 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6639 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6640 (switch-to-buffer-same-frame)
6641 (switch-to-buffer-other-window-same-frame)
6642 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6643 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6644 (display-buffer-alist-set): Remove.
6645 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6646 (special-display-regexps, special-display-function):
6647 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6648 parameter.
6649 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6650 (special-display-frame-alist, special-display-popup-frame)
6651 (same-window-buffer-names, same-window-regexps, same-window-p)
6652 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6653 (split-window-preferred-function, split-height-threshold)
6654 (split-width-threshold, window-splittable-p)
6655 (split-window-sensibly, window--try-to-split-window)
6656 (window--frame-usable-p, even-window-heights)
6657 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6658 (window--display-buffer-2, display-buffer-other-frame):
6659 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6660 (display-buffer-default, display-buffer-assq-regexp): New functions.
6661 (display-buffer-alist): Rewrite doc-string.
6662 (display-buffer-default-action)
6663 (display-buffer-overriding-action): New variables.
6664 (display-buffer, switch-to-buffer): Rewrite.
6665 (pop-to-buffer): Restore Emacs 23 behavior but use
6666 window-normalize-buffer-to-display.
6667 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6668 Restore Emacs 23 behavior but use
6669 window-normalize-buffer-to-switch-to.
6670 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6671 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6672 Rewrite using Emacs 23 options.
f818cd2a 6673
5bc3b51d
MA
66742011-08-31 Michael Albinus <michael.albinus@gmx.de>
6675
6676 * net/tramp.el (tramp-root-regexp): Remove.
6677 (tramp-completion-file-name-regexp-unified)
6678 (tramp-completion-file-name-regexp-separate)
6679 (tramp-completion-file-name-regexp-url): Don't use leading volume
6680 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6681 (tramp-drop-volume-letter): Simplify definition.
6682 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6683
b1a4f8e1
SM
66842011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6687 (bug#9356).
6688
5664fa7b
RT
66892011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6690
b1a4f8e1 6691 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6692
9a45d6c3
JL
66932011-08-29 Juri Linkov <juri@jurta.org>
6694
6695 * isearch.el (isearch-done): Don't display message "Mark saved"
6696 when arg `edit' is non-nil to prevent its flicker in the echo area.
6697
fb87e0fb
CY
66982011-08-28 Chong Yidong <cyd@stupidchicken.com>
6699
6700 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6701 obsolete packages for deletion.
6702
09ac1c2a
CS
67032011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6704
6705 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6706 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6707 view-mode from help-mode.
6708 (help-xref-override-view-map): Remove.
6709 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6710 view-mode is not used anymore.
6711
7a1ff57f
CY
67122011-08-28 Chong Yidong <cyd@stupidchicken.com>
6713
6714 * server.el (server-port): Doc fix.
6715
b9696605
CY
6716 * cus-theme.el (custom-theme-choose-mode): Inherit from
6717 special-mode (Bug#9124).
6718 (custom-theme-choose-mode-map): Add special-mode to parent.
6719
ef8cdf8c
AM
67202011-08-28 Alan Mackenzie <acm@muc.de>
6721
6722 * progmodes/cc-fonts.el
6723 (c-make-font-lock-BO-decl-search-function): New function.
6724 (c-basic-matchers-after - "Fontify the clauses after various
6725 keywords"): Extract the three keyword lists for the 3 erroneous
6726 constructs from the list of four, and use the new function above
6727 in place of an old one.
6728
27de4e20
DD
67292011-08-28 Deniz Dogan <deniz@dogan.se>
6730
6731 * net/rcirc.el (rcirc-insert-prev-input)
6732 (rcirc-insert-next-input): Remove unused argument.
6733
356a3681
SM
67342011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6737
3fc9b218
AM
67382011-08-27 Alan Mackenzie <acm@muc.de>
6739
6740 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6741 handle function pointer parameters properly.
6742
538a061c
MR
67432011-08-27 Martin Rudalics <rudalics@gmx.at>
6744
6745 * window.el (display-buffer-reuse-window): Fix case where
6746 selected window was reused with non-nil OTHER-WINDOW argument.
6747 (Bug#9381)
6748
35b1c40c
DD
67492011-08-27 Deniz Dogan <deniz@dogan.se>
6750
6751 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6752 oftc's NickServ messages.
6753
2f6a3e79
GM
67542011-08-27 Glenn Morris <rgm@gnu.org>
6755
6756 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6757
7254299e
CY
67582011-08-26 Chong Yidong <cyd@stupidchicken.com>
6759
6760 * emacs-lisp/package.el (package-install): Call package-initialize
6761 if called interactively.
6762
f8ccf167
LL
67632011-08-26 Leo Liu <sdl.web@gmail.com>
6764
6765 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6766
3e8cd5ce
JL
67672011-08-25 Juri Linkov <juri@jurta.org>
6768
6769 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6770 `search-whitespace-regexp' (bug#9364).
6771
93eb7113
JL
67722011-08-25 Juri Linkov <juri@jurta.org>
6773
6774 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6775 `regexp-search-ring' to their global values to protect from
6776 updating by `read-from-minibuffer' (bug#9185).
6777
f65d1611
JL
67782011-08-25 Juri Linkov <juri@jurta.org>
6779
6780 * textmodes/ispell.el (ispell-command-loop): Add newline
6781 at the end of the "Use option `i'..." line.
6782
f1cf7a31
JL
67832011-08-25 Juri Linkov <juri@jurta.org>
6784
6785 * battery.el (display-battery-mode): If `battery-status-function'
6786 or `battery-mode-line-format' is nil, display the message and set
6787 `display-battery-mode' to nil (bug#9363).
6788
0c95fcf7
EZ
67892011-08-25 Eli Zaretskii <eliz@gnu.org>
6790
6791 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6792 bidi-string-mark-left-to-right; they are unnecessary now.
6793
a2ebe600
DD
67942011-08-25 Deniz Dogan <deniz@dogan.se>
6795
6796 * net/quickurl.el: Documentation typo fixes.
6797
e4ed06f1
CY
67982011-08-25 Chong Yidong <cyd@stupidchicken.com>
6799
6800 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6801
e5f1c99e
GM
68022011-08-25 Glenn Morris <rgm@gnu.org>
6803
b2948976
GM
6804 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6805
e5f1c99e
GM
6806 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6807 (smtpmail-via-smtp): Handle nil response from smtp.
6808
f22f4808
JL
68092011-08-24 Juri Linkov <juri@jurta.org>
6810
6811 * proced.el (proced-marked): Inherit from `error' instead of
6812 `font-lock-warning-face'.
6813
6814 * ibuffer.el (ibuffer-marked-face): Change default face from
6815 `font-lock-warning-face' to `warning'.
6816 (ibuffer-deletion-face): Change default face from
6817 `font-lock-type-face' to `error'.
6818
6819 * battery.el (battery-update): Use the face `error' instead of
6820 `font-lock-warning-face' (bug#6117).
6821
6a93965e
JL
68222011-08-24 Juri Linkov <juri@jurta.org>
6823
6824 * faces.el (success): Change face color from "Green3" to
6825 "ForestGreen" on light background (bug#9353).
6826
1ed43b09
CY
68272011-08-24 Chong Yidong <cyd@stupidchicken.com>
6828
5664fa7b
RT
6829 * window.el (quit-window): Rename from quit-restore-window.
6830 Use same arglist as old quit-window.
1ed43b09
CY
6831 (frame-auto-delete): Doc fix.
6832
6833 * view.el (view-mode-exit): Use quit-window.
6834
11dcdbb2
JL
68352011-08-24 Juri Linkov <juri@jurta.org>
6836
6837 * isearch.el (isearch-ring-adjust1): Start visiting previous
6838 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6839 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6840 for empty search string (when the last search string is reused
6841 automatically) to adjust the isearch ring to the last element and
6842 prepare the correct index for further M-p commands (bug#9185).
6843
de62b4df
KH
68442011-08-24 Kenichi Handa <handa@m17n.org>
6845
6846 * international/ucs-normalize.el: If decomposition property of
6847 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6848 nil.
6849 (nfd, nfkd): Likewise.
6850
963b492b
SM
68512011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6854 from process filters aren't reliably transmitted to the surrounding
6855 accept-process-output.
6856 (mpc-proc-check): New function.
6857 (mpc-proc-sync): Use it (bug#8293)
6858
93b6b5e1
SM
68592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6862 Add compatibility functions (bug#9313).
6863
bca633fb
EZ
68642011-08-23 Eli Zaretskii <eliz@gnu.org>
6865
b177498a
EZ
6866 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6867
6df6ae42 6868 * international/uni-bidi.el: Regenerate.
bca633fb 6869
0902a04e
KH
68702011-08-23 Kenichi Handa <handa@m17n.org>
6871
6872 * international/charprop.el:
6873 * international/uni-bidi.el:
6874 * international/uni-category.el:
6875 * international/uni-combining.el:
6876 * international/uni-comment.el:
6877 * international/uni-decimal.el:
6878 * international/uni-decomposition.el:
6879 * international/uni-digit.el:
6880 * international/uni-lowercase.el:
6881 * international/uni-mirrored.el:
6882 * international/uni-name.el:
6883 * international/uni-numeric.el:
6884 * international/uni-old-name.el:
6885 * international/uni-titlecase.el:
6886 * international/uni-uppercase.el: Regenerate.
6887
3bbf23bc
MR
68882011-08-23 Martin Rudalics <rudalics@gmx.at>
6889
6890 * help.el (help-window-setup): Fix message displayed when other
6891 window is reused. (Bug#9341)
6892
b3fd59bd
SM
68932011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6894
1802e444
SM
6895 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6896 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6897
b3fd59bd
SM
6898 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6899 Mark obsolete.
6900 * shell.el (shell-parse-pcomplete-arguments): New function.
6901 (shell-completion-vars): Use it instead (bug#9160).
6902
4eb61348
SM
69032011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6904
867cab74
SM
6905 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6906 strings and comments (bug#9333).
6907
4eb61348
SM
6908 * emacs-lisp/debug.el (debug-arglist): New function.
6909 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6910 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6911
262a1439
JL
69122011-08-22 Juri Linkov <juri@jurta.org>
6913
56ee679c
JL
6914 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6915 Revert regexp that highlights output switches to its old
6916 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6917
262a1439
JL
6918 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6919 to check for empty output (bug#9226).
6920
f13f86fb
CY
69212011-08-22 Chong Yidong <cyd@stupidchicken.com>
6922
6923 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6924 symbol-constituent as the default, as that stops font-lock from
6925 working properly (Bug#8843).
6926
c65c9622
LMI
69272011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6928
6929 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6930 `coding-system-for-*' around the process open call to avoid
6931 auth-source side effects.
e7f2c178 6932 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6933 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6934 probe hangs.
c65c9622 6935
23a8a5ab
CY
69362011-08-21 Chong Yidong <cyd@stupidchicken.com>
6937
ff98b2dd
CY
6938 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6939
23a8a5ab
CY
6940 * emacs-lisp/find-func.el (find-function-noselect): New arg
6941 lisp-only.
6942
6943 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6944 signal an error for built-in functions (Bug#6664).
6945
f5e3c598
LMI
69462011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6947
6948 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6949 (smtpmail-try-auth-methods): Use it.
6950
a3f2468a
CY
69512011-08-21 Chong Yidong <cyd@stupidchicken.com>
6952
2c34e8da
CY
6953 * font-lock.el (font-lock-fontify-region)
6954 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6955 (font-lock-default-unfontify-buffer)
6956 (font-lock-default-fontify-region)
6957 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6958
b3fd59bd
SM
6959 * progmodes/compile.el (compilation-error-properties):
6960 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6961 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6962 `ant' regexp.
ee31aabc 6963
a3f2468a
CY
6964 * net/browse-url.el (browse-url-firefox): Don't call
6965 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6966
8e999f70
GM
69672011-08-20 Glenn Morris <rgm@gnu.org>
6968
c21a496a
GM
6969 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6970
59ee0542
GM
6971 * tutorial.el (tutorial--default-keys): Update some default bindings.
6972
8e999f70
GM
6973 * files.el (hack-local-variables): Fully ignore case for "mode:".
6974
e3715033
AM
69752011-08-20 Alan Mackenzie <acm@muc.de>
6976
6977 Resolve invalid use of a regexp in regexp-opt.
6978
4d61f28d
JB
6979 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6980 detection for a java annotation.
e3715033 6981
4d61f28d 6982 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6983 detection for a java annotation.
6984
4d61f28d
JB
6985 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6986 handling for java.
e3715033
AM
6987 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6988
04ed2e9c
CY
69892011-08-20 Chong Yidong <cyd@stupidchicken.com>
6990
6991 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6992 (Bug#9274).
6993
826cee64
AM
69942011-08-20 Alan Mackenzie <acm@muc.de>
6995
58179cce 6996 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6997 such a construct. Mainly for when jit-lock etc. starts a chunk
6998 here.
6999
58179cce 7000 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7001 variable.
58179cce 7002 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7003 c-make-font-lock-search-function.
7004 (c-make-font-lock-search-function): Use the above function.
7005 (c-make-font-lock-context-search-function): New function.
7006 (c-cpp-matchers): Enhance the preprocessor expression case with
7007 the above function
7008 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7009 which takes an expression.
7010
7011 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7012
13009bd8
MR
70132011-08-20 Martin Rudalics <rudalics@gmx.at>
7014
7015 * window.el (display-buffer-reuse-window)
7016 (display-buffer-pop-up-window): Don't reuse or split a side
7017 window.
7018
9234ff7f
GM
70192011-08-19 Glenn Morris <rgm@gnu.org>
7020
7021 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7022 Downcase "Mode:". (Bug#9331)
9234ff7f 7023
f635daa1
CY
70242011-08-18 Chong Yidong <cyd@stupidchicken.com>
7025
7026 * international/characters.el: Add L and R categories.
7027
7028 * subr.el (bidi-string-mark-left-to-right): Rename from
7029 string-mark-left-to-right. Use category search.
7030
7031 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7032
bc987f8b
JL
70332011-08-18 Juri Linkov <juri@jurta.org>
7034
7035 * faces.el (error, warning, success): New faces with definitions
7036 copied from old default values of `font-lock-warning-face',
7037 `compilation-warning', `compilation-info' (bug#6117).
7038
7039 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7040
7041 * progmodes/compile.el (compilation-error): Inherit from `error'.
7042 (compilation-warning): Inherit from `warning'.
7043 (compilation-info): Inherit from `success'.
7044
7045 * dired.el (dired-marked): Inherit from `warning'.
7046 (dired-flagged): Inherit from `error'.
7047
57173b96
LMI
70482011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7049
3e79eb87
LMI
7050 * mail/smtpmail.el (auth-source): Require to avoid problems with
7051 binding variables (bug#9298). Also clean up some unused
7052 autoloads.
7053
b3fd59bd
SM
7054 * net/network-stream.el (network-stream-open-starttls):
7055 Support using starttls.el without using gnutls-cli.
57173b96 7056
02b404de
JL
70572011-08-17 Juri Linkov <juri@jurta.org>
7058
7059 * progmodes/grep.el (rgrep): Handle the case when
7060 `grep-find-command' is a cons cell (bug#9278).
7061
8c9177f2
MR
70622011-08-17 Martin Rudalics <rudalics@gmx.at>
7063
7064 * window.el (display-buffer-pop-up-frame): Run frame creation
7065 function with BUFFER current (as special-display-popup-frame
7066 does). Reported by Drew Adams.
7067
3644a0ab
DU
70682011-08-17 Daiki Ueno <ueno@unixuser.org>
7069
7070 * epa-mail.el: Simplify GnuPG group expansion using
7071 epg-expand-group.
7072 (epa-mail-group-alist, epa-mail-group-modtime)
7073 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7074 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7075 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7076 Remove.
7077
5e617bc2 70782011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7079
7080 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7081
9c4aeabf
AM
70822011-08-16 Alan Mackenzie <acm@muc.de>
7083
7084 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7085 Correct, to avoid the inside of macros.
7086
3a99bf64
RS
70872011-08-16 Richard Stallman <rms@gnu.org>
7088
04963aa8
RS
7089 * epa-mail.el: Handle GnuPG group definitions.
7090 (epa-mail-group-alist, epa-mail-group-modtime)
7091 (epa-mail-gnupg-conf-file): New variables.
7092 (epa-mail-parse-groups, epa-mail-sync-groups)
7093 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7094 (epa-mail-expand-recipients): New functions.
7095 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7096
177549d0
RS
7097 * mail/rmail.el (rmail-epa-decrypt): New command.
7098
fe38beef
RS
7099 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7100 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7101 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7102 (epa-decrypt-armor-in-region): Make error message clearer.
7103
934eacb9
SM
71042011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7107 and "a2b" to "ab" for `prefix'.
7108
d024fb4e
CY
71092011-08-14 Chong Yidong <cyd@stupidchicken.com>
7110
7111 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7112 filter groups.
de148fee
CY
7113 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7114 Fourquet (Bug#8804).
d024fb4e 7115
62f1ca49
JB
71162011-08-12 Juanma Barranquero <lekktu@gmail.com>
7117
7118 * startup.el (argi): Declare as global variable (bug#9275).
7119
9ccaaa4b
CY
71202011-08-12 Chong Yidong <cyd@stupidchicken.com>
7121
7122 * subr.el (string-mark-left-to-right): Search the entire string
7123 for RTL script, not just the terminating character. Doc fix.
7124
a3dae87a
SM
71252011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7126
6cd18349
SM
7127 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7128 New function.
7129 (js--regexp-literal, js-syntax-propertize-function): Remove.
7130 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7131 (js-mode-map): Don't rebind electric keys.
7132 (js-insert-and-indent): Remove.
7133 (js-mode): Setup electric-layout and electric-indent instead.
7134
a3dae87a
SM
7135 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7136
9d5cb631
DU
71372011-08-12 Daiki Ueno <ueno@unixuser.org>
7138
7139 * epa.el (epa-progress-callback-function): Fix the logic of
7140 displaying progress.
7141 * epa-file.el (epa-file-insert-file-contents): Make progress
7142 display more user-friendly.
7143 (epa-file-write-region): Ditto.
7144
3e26a4a2
CY
71452011-08-10 Chong Yidong <cyd@stupidchicken.com>
7146
7147 * subr.el (string-mark-left-to-right): New function.
7148
7149 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7150 Use string-mark-left-to-right.
7151 (list-buffers-noselect): Caller changed.
7152
a3dae87a
SM
7153 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7154 Use string-mark-left-to-right.
3e26a4a2
CY
7155 (tabulated-list-print): Recenter after moving point.
7156
ac8cf6e6
JL
71572011-08-10 Juri Linkov <juri@jurta.org>
7158
7159 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7160 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7161 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7162
8d96c9a4
CY
71632011-08-09 Chong Yidong <cyd@stupidchicken.com>
7164
7165 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7166 (Bug#7554).
7167
7be1c708 71682011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7169
7170 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7171 character. (Bug#6594)
7172
37e11a63
CY
71732011-08-08 Chong Yidong <cyd@stupidchicken.com>
7174
839dde57
CY
7175 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7176 (image-dired--with-db-file): New macro.
7177 (image-dired-write-tags, image-dired-remove-tag)
7178 (image-dired-create-gallery-lists, image-dired-write-comments)
7179 (image-dired-get-comment, image-dired-mark-tagged-files)
7180 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7181 (image-dired-gallery-generate): Use insert-file-contents.
7182
37e11a63
CY
7183 * time.el (display-time-world-list, display-time-world-display):
7184 * time-stamp.el (time-stamp-string):
7185 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7186 set-time-zone-rule (Bug#7337).
7187
0b4946c4
DU
71882011-08-08 Daiki Ueno <ueno@unixuser.org>
7189
7190 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7191 (epg-error-to-string, epg-errors-to-string): New function.
7192 (epg-wait-for-completion): Reverse errors list.
7193 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7194 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7195 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7196 (epg-sign-keys, epg-generate-key-from-file)
7197 (epg-generate-key-from-string): Format errors by using
7198 epg-errors-to-string (bug#9255).
7199 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7200
75bfc667
JL
72012011-08-07 Juri Linkov <juri@jurta.org>
7202
7203 * faces.el (list-faces-display): Remove extra angle bracket
7204 from `help-mode-map'.
7205
7206 * info.el (Info-history-toc-nodes): Doc fix.
7207
7208 * longlines.el (longlines-mode): Doc fix.
7209
673e08bb
SM
72102011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7211
4640dd88
SM
7212 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7213 of statements and in a few more cases (bug#9183).
7214
673e08bb
SM
7215 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7216 New functions.
7217 (cl-transform-lambda): Use them (bug#9239).
7218
89b3f019
MR
72192011-08-05 Martin Rudalics <rudalics@gmx.at>
7220
7221 * window.el (display-buffer-same-window)
7222 (display-buffer-same-frame, display-buffer-other-window)
7223 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7224 (pop-to-buffer-other-window)
7225 (pop-to-buffer-same-frame-other-window)
7226 (pop-to-buffer-other-frame): Make them defuns.
7227 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7228
640c8776
SM
72292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * subr.el (make-composed-keymap): Move from C. Change calling
7232 convention, and improve docstring to bring attention to a subtle point.
7233 * minibuffer.el (completing-read-default): Adjust accordingly.
7234
63648a95
MA
72352011-08-03 Michael Albinus <michael.albinus@gmx.de>
7236
7237 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7238 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7239
7240 * net/trampver.el: Update release number.
7241
b796c9b7
SM
72422011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7243
7244 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7245 "in" (bug#9190).
7246
2239d7d5
LMI
72472011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7248
e07dd7c3
LMI
7249 * mail/sendmail.el (sendmail-query-once): Restore the current
7250 buffer after querying (bug#9074).
7251
0e6a2bd7
LMI
7252 * dired.el (dired-flagged): Use different faces for marked and
7253 flagged files (bug#6117).
7254
ce887515
LMI
7255 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7256 (bug#4433).
7257
92f2affc
LMI
7258 * ido.el (ido-mode): Switch off the message if called
7259 non-interactively.
7260
57d5aff0
LMI
7261 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7262 before 587, since it appears that that's more likely to work for
7263 more people.
7264
98cd6c18 7265 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7266 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7267 exist.
7268
b96dec83
LMI
7269 * info.el: Remove the `Info-beginning-of-buffer' function
7270 (bug#8325).
7271
b796c9b7
SM
7272 * net/network-stream.el (network-stream-open-starttls):
7273 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7274
d90e2ea0
MR
72752011-08-01 Martin Rudalics <rudalics@gmx.at>
7276
7277 * window.el (display-buffer-in-window): Don't set dedicated status
7278 of window here (Bug#9215).
7279 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7280 (display-buffer-pop-up-side-window)
b796c9b7 7281 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7282
cca09170
SM
72832011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7286 before binding generated-autoload-file.
7287
027b979c
DD
72882011-08-01 Deniz Dogan <deniz@dogan.se>
7289
7290 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7291
3c7ee4f3
MA
72922011-07-30 Michael Albinus <michael.albinus@gmx.de>
7293
7294 Sync with Tramp 2.2.2.
7295
7296 * net/trampver.el: Update release number.
7297
2cc8e51a
JL
72982011-07-30 Juri Linkov <juri@jurta.org>
7299
7300 * dired-aux.el (dired-touch-initial): Remove function.
7301 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7302 current time, and `default' to the last modification time of the
7303 current marked file (bug#6887).
7304
a514d856
JM
73052011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7306
7307 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7308 numeric argument to read-number (bug#9163).
a514d856 7309
8a7eddd7
MA
73102011-07-27 Michael Albinus <michael.albinus@gmx.de>
7311
7312 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7313 connection process, it could be nil.
7314
1ddd96f5
LL
73152011-07-27 Leo Liu <sdl.web@gmail.com>
7316
7317 Simplify url handling in rcirc-mode.
7318
7319 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7320 (rcirc-browse-url-at-mouse): Remove.
7321 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7322
b248a85d
AM
73232011-07-26 Alan Mackenzie <acm@muc.de>
7324
7325 Fontify bitfield declarations properly.
7326
7327 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7328 (c-symbol-chars): Now exported as a lang variable.
7329 (c-not-primitive-type-keywords): New lang variable.
7330
7331 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7332 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7333 parsed as a bitfield declaration.
b248a85d 7334
b796c9b7
SM
7335 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7336 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7337 (c-punctuation-in): New function.
7338 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7339 declarations properly.
7340
68575ab0
UJ
73412011-07-26 Ulf Jasper <ulf.jasper@web.de>
7342
7343 * calendar/icalendar.el (icalendar--all-events): Take care of
7344 multiple vcalendars in a single file.
b796c9b7 7345 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7346
0f0a88b9
DD
73472011-07-25 Deniz Dogan <deniz@dogan.se>
7348
7349 * image.el (insert-image): Clarifying docstring.
7350
0b3f36df
MA
73512011-07-24 Michael Albinus <michael.albinus@gmx.de>
7352
7353 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7354 `tramp-send-command-and-check' if there is no error.
7355 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7356
a9901f61
AM
73572011-07-22 Alan Mackenzie <acm@muc.de>
7358
7359 Prevent cc-langs.elc being loaded at run time.
7360
7361 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7362 cc-langs.
7363
4d61f28d 7364 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7365 "(require 'cc-langs)". Quote a form so it will evaluate at
7366 (cc-mode's) compilation time.
7367
11d074b2
MA
73682011-07-22 Michael Albinus <michael.albinus@gmx.de>
7369
7370 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7371 loading. (Bug#9114)
7372
938b94c8
MR
73732011-07-21 Martin Rudalics <rudalics@gmx.at>
7374
7375 * window.el (display-buffer-pop-up-window)
7376 (display-buffer-pop-up-side-window)
7377 (display-buffer-in-side-window): Call display-buffer-set-height
7378 and display-buffer-set-width after setting the new window's
b796c9b7 7379 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7380
bfa4f190
SS
73812011-07-20 Sam Steingold <sds@gnu.org>
7382
7383 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7384 (etags-tags-included-tables): Call `convert-standard-filename' on
7385 the file names contained in TAGS so that windows Emacs can handle
7386 TAGS files created by cygwin ctags.
7387
8ca42262
LMI
73882011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7389
7390 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7391 which apparently didn't work.
7392
5db2afd2 73932011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7394
5db2afd2
RW
7395 * proced.el (proced-send-signal): For *Marked Processes* buffer
7396 put point at beginning of buffer.
7397
92e15d10
SB
73982011-07-19 Stephen Berman <stephen.berman@gmx.net>
7399
7400 * proced.el (proced-format): Make header lines align with the text
7401 (bug#1779).
7402
1bfd59e5
LMI
74032011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7404
7405 * view.el (view-buffer): Allow running in `special' modes if we're
7406 visiting a file (bug#8615).
7407
f5aae37c
MR
74082011-07-19 Martin Rudalics <rudalics@gmx.at>
7409
7410 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7411 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7412 New functions.
f5aae37c
MR
7413 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7414 more accurately.
7415
bf2c1571
AM
74162011-07-18 Alan Mackenzie <acm@muc.de>
7417
7418 Fontify declarators properly when, e.g., a jit-lock chunk begins
7419 inside a declaration.
7420
7421 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7422
b796c9b7
SM
7423 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7424 New function.
bf2c1571
AM
7425 (c-complex-decl-matchers): Insert reference to
7426 c-font-lock-enclosing-decls.
7427
7428 * progmodes/cc-engine.el (c-backward-single-comment):
7429 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7430 to nil around calls to (forward-comment -1).
7431
4e190b80
LMI
74322011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7433
12dc863d
LMI
7434 * image.el (put-image): Doc typo fix.
7435
a762e966
LMI
7436 * progmodes/etags.el (tags-search): Doc typo fix.
7437
4e190b80
LMI
7438 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7439 password if we get errors 550 to 554.
7440
f019fb21
LMI
74412011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7442
b796c9b7 7443 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7444
81746738
LMI
7445 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7446 indentation character (bug#6380).
7447
3ee3a1b5
LMI
7448 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7449
c82f64de
LMI
7450 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7451 to clarify what the problem is (bug#4291).
7452
f019fb21
LMI
7453 * simple.el (current-kill): Clarify what
7454 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7455 (auto-fill-mode): Document `auto-fill-function' in relation to
7456 `auto-fill-mode' (bug#2470).
f019fb21 7457
0794775d
LM
74582011-07-16 Lawrence Mitchell <wence@gmx.li>
7459
7460 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7461 method if slot is read-only (bug#9035).
7462
be39b8cc
MR
74632011-07-16 Martin Rudalics <rudalics@gmx.at>
7464
b796c9b7 7465 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7466 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7467 selected before, see discussion of (Bug#8615), (Bug#6954).
7468 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7469
6ccf7859
GM
74702011-07-15 Glenn Morris <rgm@gnu.org>
7471
7472 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7473 Respect help-form.
6ccf7859 7474
87e86684
LM
74752011-07-09 Lawrence Mitchell <wence@gmx.li>
7476
7477 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7478 (gnutls-negotiate): Use it.
7479
d6066239
LMI
74802011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7481
b796c9b7
SM
7482 * net/gnutls.el (gnutls-negotiate):
7483 Upcase `gnutls-algorithm-priority'.
d6066239 7484
bd23ebc0
GM
74852011-07-15 Glenn Morris <rgm@gnu.org>
7486
c65bca65
GM
7487 * jka-compr.el (jka-compr-verbose): Move from here...
7488 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7489 Add missing :version tag.
7490 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7491
478615cc
LMI
74922011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7493
7b41decb
LMI
7494 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7495 (gnutls-negotiate): Use it.
7496
dbc44fcd
LMI
7497 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7498
06789f97
LMI
7499 * info.el (Info-beginning-of-buffer): New command.
7500 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7501 announcing `b' as the key (bug#8325).
ab896c37 7502 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7503
c39da690
LMI
7504 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7505
3aa5f34b
LMI
7506 * international/mule-cmds.el
7507 (describe-specified-language-support): Make the error message
7508 clearer (bug#8905).
7509
4bf0979f
LMI
7510 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7511
478615cc
LMI
7512 * isearch.el (isearch-barrier): Add a doc string, since it's
7513 mentioned in a function doc string (bug#8678).
7514
75c68aa1
MR
75152011-07-15 Martin Rudalics <rudalics@gmx.at>
7516
7517 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7518 buffer argument (Bug#9083) and self-identifying label argument.
7519
a7c33da2
GM
75202011-07-15 Glenn Morris <rgm@gnu.org>
7521
7522 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7523
2f5c6024
LMI
75242011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7525
7526 * man.el (Man-fontify-manpage): Fix message when formatting the
7527 man page (bug#7929).
7528
0bb23927 75292011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7530
7531 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7532 argument LRM; if non-nil, append an invisible LRM character to the
7533 buffer name.
7534 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7535 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7536 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7537 paragraph direction.
cce4b0a7 7538
621ef9ab
LMI
75392011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7540
d1583c48
LMI
7541 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7542 the man page name (bug#7929).
7543
6a57fb5f
LMI
7544 * image.el (put-image): Mention the `put-image' overlay property
7545 (bug#7834).
7546
d7956b14
LMI
7547 * scroll-bar.el (set-scroll-bar-mode): Mention that
7548 `scroll-bar-mode' lists the values (bug#7772).
7549
5b2d4a66
LMI
7550 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7551 command (bug#7729).
7552
7509a874
LMI
7553 * rect.el (apply-on-rectangle): Return the point after the last
7554 operation.
7555 (string-rectangle): Go to the point after the last operation
7556 (bug#7522).
7557
4fe74b19
LMI
7558 * printing.el (pr-toggle-region): Clarify the documentation
7559 slightly (bug#7493).
7560
b796c9b7
SM
7561 * time.el (display-time-update):
7562 Allow `display-time-mail-function' to return nil (bug#7158).
7563 Fix suggested by Detlev Zundel.
ab283561 7564
fc233c9d
LMI
7565 * vc/diff.el (diff): Clarify the order the file names are read
7566 (bug#7111).
7567
43f5740b
LMI
7568 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7569 the doc string (bug#7015).
7570
f2182a76
LMI
7571 * font-lock.el (font-lock-maximum-decoration): Mention what
7572 numeric levels mean (bug#6935).
7573
621ef9ab
LMI
7574 * startup.el (initial-buffer-choice): Don't mention the `none'
7575 selection, which is against policy.
7576
adc47434
MR
75772011-07-14 Martin Rudalics <rudalics@gmx.at>
7578
b796c9b7
SM
7579 * window.el (display-buffer-normalize-special):
7580 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7581
7e5bfb8f
EZ
75822011-07-14 Eli Zaretskii <eliz@gnu.org>
7583
7584 * subr.el (version<, version<=, version=): Mention "-CVS" and
7585 "-12345" alpha version numbers.
7586
27fa387a
CY
75872011-07-14 Chong Yidong <cyd@stupidchicken.com>
7588
7589 * bindings.el: Add advertised binding for set-mark-command
7590 (Bug#5772).
7591
8bdfa064
CY
75922011-07-14 Chong Yidong <cyd@stupidchicken.com>
7593
7594 * bindings.el (mode-line-other-buffer):
7595 * bookmark.el (bookmark-bmenu-2-window):
7596 * bs.el (bs-cycle-next, bs-cycle-previous):
7597 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7598 switch-to-buffer.
7599
7600 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7601 Delete.
8bdfa064 7602
5eba16a3
JB
76032011-07-14 Juanma Barranquero <lekktu@gmail.com>
7604
7605 * follow.el (follow-debug-message, follow-redisplay):
7606 * jka-cmpr-hook.el (with-auto-compression-mode):
7607 Fix typos in docstrings.
7608
15853710
LMI
76092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7610
a28e4607
LMI
7611 * subr.el (with-silent-modifications): Clarify somewhat what the
7612 macro inhibits (bug#6525).
7613
15853710
LMI
7614 * simple.el (eval-expression): Note what it does if called
7615 interactively (bug#6495).
7616
bee0fcef
CY
76172011-07-13 Chong Yidong <cyd@stupidchicken.com>
7618
b796c9b7
SM
7619 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7620 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7621
7622 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7623 Remove switch-to-buffer.
7624
58274504
LMI
76252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7626
bd2fcc8d
LMI
7627 * files.el (make-directory): Clarify that an error will be raised
7628 if there's an error (bug#6397).
7629
0f04b32c
LMI
7630 * startup.el (initial-buffer-choice): Add `none' as a choice
7631 (bug#6234).
7632
465c5fc8
LMI
7633 * subr.el (add-hook): Clarify section about buffer-local hooks
7634 (bug#6218).
7635
58274504
LMI
7636 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7637
bead9a43
JB
76382011-07-13 Juanma Barranquero <lekktu@gmail.com>
7639
7640 * tabify.el (untabify): Preserve the current column so that point
7641 doesn't move (bug#6032).
7642
3af98a7b
LMI
76432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7644
b796c9b7
SM
7645 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7646 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7647
6240145a
GM
76482011-07-13 Glenn Morris <rgm@gnu.org>
7649
7650 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7651 (dired-insert-directory): Give a message the first time
7652 if ls is found not to support --dired.
7653
1d8c2ccc
LMI
76542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7655
7656 * simple.el (toggle-truncate-lines): Clarify what is toggled
7657 (bug#5580). Text by Drew Adams.
7658
5fc4038e
CY
76592011-07-13 Chong Yidong <cyd@stupidchicken.com>
7660
7661 * simple.el (blink-matching-open): Make the error message from the
7662 last change less verbose.
7663
bf6012e5
DN
76642011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7665
7666 * font-lock.el (font-lock-comment-face): Use the high contrast
7667 "yellow" color for font-lock-comment-face on low color terminals
7668 using a dark background color (bug#4221).
7669
343c3b5a
LMI
76702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7671
7e9505c5
LMI
7672 * dired.el (dired-insert-set-properties): Make the doc string
7673 reflect what it does now (bug#5325).
7674
c26fdcf5
LMI
7675 * simple.el (blink-matching-open): Say that we were unable to find
7676 the match within the limit, if we're limited (bug#5122).
7677
bb388cc5
LMI
7678 * international/mule-cmds.el (prefer-coding-system): Add an
7679 example (bug#4869).
7680
343c3b5a
LMI
7681 * progmodes/etags.el (tags-search): Document `file-list-form'
7682 (bug#4731).
7683
2a517d45
LM
76842011-07-13 Lawrence Mitchell <wence@gmx.li>
7685
7686 * net/browse-url.el (browse-url-default-browser)
7687 (browse-url-browser-function): Make the default browser choice a
7688 bit more logical (bug#4300). Also clean up the doc string.
7689
b6c78ef2
JB
76902011-07-13 Juanma Barranquero <lekktu@gmail.com>
7691
7692 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7693 binary endings (bug#4440).
7694
1c4dd947
LMI
76952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7696
a2014063
LMI
7697 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7698 which can be pretty annoying (bug#8971).
7699
9c9c2d88
LMI
7700 * jka-compr.el (jka-compr-verbose): New variable, and use
7701 throughout (bug#8971).
7702
1c4dd947
LMI
7703 * info.el (Info-find-file): Fall back on the installation
7704 directory if we can't find the info node anywhere else.
7705
a1c9f41b
SO
77062011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7707
7708 * vc/vc.el (vc-revert-file):
7709 Don't set file time-stamp in the past. (Bug#5181)
7710
536f3d36
LMI
77112011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7712
7152b011
LMI
7713 * files.el (after-find-file): Give a better error message when
7714 trying to find a symlink that points to a file that doesn't exist
7715 (bug#4398).
7716
536f3d36
LMI
7717 * progmodes/cc-vars.el: Remove (probably) misleading comment
7718 (bug#4396).
7719
460c0fba
JB
77202011-07-12 Johan Bockgård <bojohan@gnu.org>
7721
7722 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7723
7a6bda45
CY
77242011-07-12 Chong Yidong <cyd@stupidchicken.com>
7725
7726 * mouse-sel.el: Hack restoring functionality, while keeping
7727 compatibility with 2010-07-03 changes to mouse selection.
7728 (mouse-sel-primary-overlay): New var.
7729 (mouse-sel-selection-alist): Use it.
7730 (mouse-sel-mode): Doc fix; remove points that are default features
7731 of mouse.el.
7732
c79598ef
JB
77332011-07-12 Johan Bockgård <bojohan@gnu.org>
7734
7735 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7736 Fix previous fix (bug#2490).
7737
ff8be6ef
RW
77382011-07-12 Roland Winkler <winkler@gnu.org>
7739
b796c9b7
SM
7740 * textmodes/bibtex.el (bibtex-initialize):
7741 Use pop-to-buffer-same-window.
ff8be6ef
RW
7742 (bibtex-search-entries): Fix interactive call.
7743
296ba3ee
LMI
77442011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7745
f5242a02 7746 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7747 Fontise bytecomp Error lines more correctly (bug#2490).
7748 Fix suggested by Johan Bockgård.
f5242a02 7749
296ba3ee
LMI
7750 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7751
7752 * dired-x.el (dired-guess-default): Use `delete-dups'.
7753
f69fd0d2
CY
77542011-07-12 Chong Yidong <cyd@stupidchicken.com>
7755
7756 * dired.el (dired-mark-prompt):
7757 * dired-aux.el (dired-read-shell-command): Doc fix.
7758
eab5dc07
LMI
77592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7760
b796c9b7
SM
7761 * mail/sendmail.el (sendmail-query-once):
7762 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7763 emacs -Q.
7764
7765 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7766
eab5dc07
LMI
7767 * cus-edit.el (custom-file): Take an optional no-error variable.
7768 (customize-save-variable): Set the variable, and give a warning if
7769 running under "emacs -q".
7770
a1e65d42
JB
77712011-07-11 Juanma Barranquero <lekktu@gmail.com>
7772
7773 * loadhist.el (unload-feature-special-hooks):
7774 Add `auto-coding-functions', `fill-nobreak-predicate' and
7775 `find-directory-functions' (bug#5327).
7776
1d52da10
LMI
77772011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7778
be958f1d
LMI
7779 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7780
5bedb26c
LMI
7781 * cus-edit.el (custom-guess-name-alist): -alist variables should
7782 use the `alist' type (bug#3120). Suggested by Drew Adams.
7783
1d52da10
LMI
7784 * printing.el: Add documentation to all the `pr-toggle-' commands.
7785
cd394be1 77862011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7787
7788 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7789 backends where it makes sense (bug#2623).
7790
dcc88d8a
LMI
77912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7792
c3de9feb
LMI
7793 * dired-x.el (dired-guess-default): Remove duplicate shell command
7794 entries (bug#2028).
8a93078b 7795 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7796 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7797
dcc88d8a
LMI
7798 * subr.el (remove-duplicates): New conveniency function.
7799
505e3645
LMI
78002011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7801
7802 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7803 (bug#1526).
7804
78052011-07-10 Martin Rudalics <rudalics@gmx.at>
7806
7807 * window.el (display-buffer-normalize-default): Don't invert
7808 meaning of even-window-heights. Reported by Eli Zaretskii
7809 <eliz@gnu.org>.
7810
455e4fa1
BR
78112011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7812
7813 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7814
8e0bc3e9
CY
78152011-07-10 Chong Yidong <cyd@stupidchicken.com>
7816
7817 * window.el (display-buffer): Fix arguments to
7818 display-buffer-reuse-window in last change.
7819
fa7c3228
CY
7820 * faces.el (link): Use a less saturated blue on light backgrounds.
7821
7822 * startup.el (fancy-startup-text, fancy-about-text)
7823 (fancy-startup-tail): Use font-lock faces, for background safety.
7824
c0a7f300
BN
78252011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7826
b796c9b7
SM
7827 * emulation/viper-cmd.el (viper-change-state-to-vi):
7828 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7829
4dc2a129
MR
78302011-07-09 Martin Rudalics <rudalics@gmx.at>
7831
7832 * window.el (display-buffer-default-specifiers): Remove.
7833 (display-buffer-macro-specifiers): Remove default specifiers.
7834 (display-buffer-alist): Default to nil.
b796c9b7 7835 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7836 (display-buffer-pop-up-window): Allow splitting internal
7837 windows. Check whether a live window was created.
7838 (display-buffer-other-window-means-other-frame)
7839 (display-buffer-normalize-arguments): Rename to
7840 display-buffer-normalize-argument and rewrite. Set the
7841 other-window specifier.
7842 (display-buffer-normalize-special): New function.
7843 (display-buffer-normalize-options): Rename to
7844 display-buffer-normalize-default and rewrite.
7845 (display-buffer-normalize-options-inhibit): Remove.
7846 (display-buffer-normalize-specifiers): Rewrite.
7847 (display-buffer): Process other-window specifier and call
7848 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7849 more faithfully.
b796c9b7 7850 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7851 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7852 (display-buffer-in-window, display-buffer-alist-set):
7853 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7854 <tassilo@member.fsf.org>.
7855
2d43b8c9
LL
78562011-07-09 Leo Liu <sdl.web@gmail.com>
7857
7858 * register.el (insert-register): Restore accidental change on
7859 2011-06-26. (Bug#9028)
7860
7f9b7c53
GM
78612011-07-09 Glenn Morris <rgm@gnu.org>
7862
7863 * subr.el (remq): Handle the empty list. (Bug#9024)
7864
f042cfd8
AS
78652011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7866
7867 * mail/sendmail.el (send-mail-function): No longer delay custom
7868 initialization.
7869 * custom.el (custom-initialize-delay): Doc fix.
7870
856b2f11
SM
78712011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7874
afae1d68
MA
78752011-07-08 Michael Albinus <michael.albinus@gmx.de>
7876
7877 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7878 human-friendly prompt.
7879
0757af94
SM
78802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7883 provided by a particular plugin.
7884
d760b731
LMI
78852011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7886
7887 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7888 save customizations (with "emacs -Q"), just set the variable
7889 instead of erroring out.
7890
7891 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7892
cd79ce90
JL
78932011-07-08 Juri Linkov <juri@jurta.org>
7894
7895 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7896 (archive-zip-update-case): Use 7z if found by `executable-find'.
7897 The order of searching the available programs is the same as in
7898 `archive-zip-extract' (bug#8968).
7899
14cc04aa
CY
79002011-07-07 Chong Yidong <cyd@stupidchicken.com>
7901
7902 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7903 (menu-bar-options-menu): Tweak descriptions.
7904
0a1848ec
LMI
79052011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7906
7907 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7908 menu items into verb phrases (bug#1421). Also refill to fit under
7909 80 columns.
7910
f5bd0689
CY
79112011-07-07 Chong Yidong <cyd@stupidchicken.com>
7912
538e85c6
CY
7913 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7914 (Info-read-node-name): Doc fix (Bug#1084).
7915
f5bd0689
CY
7916 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7917 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7918 (end-of-sexp, beginning-of-sexp)
7919 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7920 (forward-symbol, forward-same-syntax, word-at-point)
7921 (sentence-at-point): Doc fix (Bug#1144).
7922
56ec5115
LMI
79232011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7924
f3f8e37f
LMI
7925 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7926 should cover it (bug#1281).
7927
0757af94 7928 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7929
e9fce1ac 7930 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7931 negotiation fails, then possibly try again with a non-encrypted
7932 connection (bug#9017).
7933
56ec5115
LMI
7934 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7935 be used.
7936
c2f9aec8
RS
79372011-07-07 Richard Stallman <rms@gnu.org>
7938
7939 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7940 property, and handle its changed format.
7941 Look for the correct line number.
7942 Use file's line contents (but not past first =) to find
7943 correct line in message.
7944
ef7b981d 79452011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7946
7947 * international/characters.el (build-unicode-category-table):
7948 Delete it.
0757af94 7949 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7950
0757af94 7951 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7952 to src/chartab.c.
7953 (get-char-code-property): Call unicode-property-table-internal to
7954 load a file. Call get-unicode-property-internal where necessary.
7955 (put-char-code-property): Call unicode-property-table-internal to
7956 load a file. Call put-unicode-property-internal where necessary.
7957 put-unicode-property-internal where necessary.
0757af94
SM
7958 (char-code-property-description):
7959 Call unicode-property-table-internal to load a file.
c805dec0
KH
7960
7961 * international/charprop.el:
7962 * international/uni-bidi.el:
7963 * international/uni-category.el:
7964 * international/uni-combining.el:
7965 * international/uni-comment.el:
7966 * international/uni-decimal.el:
7967 * international/uni-decomposition.el:
7968 * international/uni-digit.el:
7969 * international/uni-lowercase.el:
7970 * international/uni-mirrored.el:
7971 * international/uni-name.el:
7972 * international/uni-numeric.el:
7973 * international/uni-old-name.el:
7974 * international/uni-titlecase.el:
7975 * international/uni-uppercase.el: Regenerate.
7976
7977 * loadup.el: Load international/charprop.el before
7978 international/characters.
7979
e14b388a
CY
79802011-07-07 Chong Yidong <cyd@stupidchicken.com>
7981
7982 * window.el (next-buffer, previous-buffer): Signal an error if
7983 called from a minibuffer window.
7984
7985 * bindings.el: Revert 2011-07-04 change.
7986
354cf0ba
RS
79872011-07-06 Richard Stallman <rms@gnu.org>
7988
7989 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7990 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7991 Treat markers like ints.
7992 (rmail-mime-entity): Doc fix.
7993
a48868a7
LMI
79942011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7995
4906cd3d
LMI
7996 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7997 defcustom again for backwards compatibility.
7998
e0457abe
LMI
7999 * simple.el (shell-command-on-region): Fill.
8000
d67f7e1f
LMI
8001 * dired-aux.el (dired-kill-line): Add a doc string.
8002
fe204702
LMI
8003 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8004 to "\\sw\\|\\s_" (bug#358).
8005
a48868a7
LMI
8006 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8007 (dired-unmark-backward): Ditto.
8008 (dired-flag-backup-files): Ditto.
8009
8010 * dired-x.el (dired-mark-sexp): Ditto.
8011
aa8a705c
RS
80122011-07-06 Richard Stallman <rms@gnu.org>
8013
8014 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8015 (rmail-mime-entity): New arg TRUNCATED.
8016 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8017 New functions.
8018 (rmail-mime-save): Warn if entity is truncated.
8019 (rmail-mime-toggle-hidden): Likewise, for showing.
8020 (rmail-mime-process-multipart): Record when an entity is truncated.
8021
a9a936b9
RS
8022 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8023 if ENTITY is a string.
8024
1f2b92cb
LMI
80252011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8026
f4f73198 8027 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8028 of faces when `M-C-x'-ing their definitions (bug#8378).
8029 Also clean up the code slightly.
f4f73198 8030
12b16734 8031 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8032 because that makes the colors go away.
12b16734 8033
f0691d22
LMI
8034 * mail/sendmail.el (send-mail-function): Change the default to
8035 `sendmail-query-once'.
9e87df06 8036 (sendmail-query-once): Add an autoload cookie.
f0691d22 8037
1f2b92cb
LMI
8038 * net/network-stream.el (network-stream-open-starttls): Try using
8039 a plain connection even if the server offered STARTTLS, and we
8040 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8041 capability. This should make smtpmail.el work in slightly more
8042 configurations.
8043
1cdd2a1b
MA
80442011-07-06 Michael Albinus <michael.albinus@gmx.de>
8045
8046 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8047 New defun.
8048 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8049
fbcc67e2
MM
80502011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8051
8052 * progmodes/sql.el: Version 3.0
0757af94 8053 (sql-product-alist): Add product :completion-object,
fbcc67e2 8054 :completion-column, and :statement attributes.
0757af94 8055 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8056 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8057 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8058 ansi keywords.
8059 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8060 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8061 (sql-oracle-show-reserved-words): New function for development.
8062 (sql-product-font-lock): Simplify for source code buffers.
8063 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8064 New functions.
8065 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8066 (sql-mode-map): Add statement movement functions.
8067 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8068 New variable.
fbcc67e2
MM
8069 (sql-statement-regexp, sql-beginning-of-statement)
8070 (sql-end-of-statement, sql-signum): New functions.
0757af94 8071 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8072 (sql-show-sqli-buffer): Bug fix.
8073 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8074 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8075 with sql-interactive-mode.
8076 (sql-save-connection): Save buffer local settings.
0757af94 8077 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8078 (sql-product-interactive): Bug fix.
8079 (sql-preoutput-hold): New variable.
8080 (sql-interactive-remove-continuation-prompt): Bug fixes.
8081 (sql-debug-redirect): New variable.
8082 (sql-str-literal): New function.
8083 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8084 Redesign.
fbcc67e2
MM
8085 (sql-oracle-save-settings, sql-oracle-restore-settings)
8086 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8087 (sql-completion-object, sql-completion-column)
8088 (sql-completion-sqlbuf): New variables.
8089 (sql-build-completions-1, sql-build-completions)
8090 (sql-try-completion): New functions.
8091 (sql-read-table-name): Use them.
8092 (sql-contains-names): New buffer local variable.
8093 (sql-list-all, sql-list-table): Use it.
8094 (sql-oracle-completion-types): New variable.
8095 (sql-oracle-completion-object, sql-sqlite-completion-object)
8096 (sql-postgres-completion-object): New functions.
8097
d4eaeab1
GM
80982011-07-06 Glenn Morris <rgm@gnu.org>
8099
8100 * window.el (pop-to-buffer): Doc fix.
8101
322b7dab 81022011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8103
8104 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8105
322b7dab 81062011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8107
322b7dab 8108 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8109
322b7dab 8110 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8111
605dd5bf
CY
81122011-07-05 Chong Yidong <cyd@stupidchicken.com>
8113
8114 * button.el (button): Inherit from link face. Suggested by Dan
8115 Nicolaescu.
8116
7dbfa719
SM
81172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8118
3db614b0
SM
8119 * progmodes/gdb-mi.el: Fit in 80 columns.
8120 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8121 switch-to-buffer.
8122
7dbfa719
SM
8123 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8124 if imenu is simply not configured (bug#8941).
8125
919d884a
KM
81262011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8127
8128 * allout.el (allout-post-undo-hook): New allout outline-change
8129 event hook to signal undo activity.
8130 (allout-post-command-business): Run allout-post-undo-hook if an
8131 undo just occurred.
7dbfa719
SM
8132 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8133 * allout-widgets.el (allout-widgets-after-undo-function):
8134 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8135 in the vicinity of an undo.
8136 (allout-widgets-mode): Include allout-widgets-after-undo-function
8137 on the new allout-post-undo-hook.
8138
450a0f09
SM
81392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8142 Let define-derived-mode define it.
8143 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8144 cycles of abbrev-table inheritance (bug#8998).
8145
2de69e00
RW
81462011-07-05 Roland Winkler <winkler@gnu.org>
8147
8148 * textmodes/bibtex.el: Add support for biblatex.
8149 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8150 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8151 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8152 (bibtex-entry-alist, bibtex-field-alist): New variables.
8153 (bibtex-entry-field-alist): Obsolete alias for
8154 bibtex-BibTeX-entry-alist.
8155 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8156 (bibtex-set-dialect): New command.
8157 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8158 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8159 Bind via bibtex-set-dialect.
2de69e00
RW
8160 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8161 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8162 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8163 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8164 Define via bibtex-set-dialect.
450a0f09
SM
8165 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8166 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8167 (bibtex-vec-push, bibtex-vec-incr): New functions.
8168 (bibtex-format-entry, bibtex-field-list)
8169 (bibtex-print-help-message, bibtex-validate)
8170 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8171
2dcdbdd9
SM
81722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * progmodes/compile.el (compilation-goto-locus):
8175 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8176 * bs.el (bs-cycle-next, bs-cycle-previous):
8177 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8178 * bindings.el (mode-line-other-buffer):
8179 * autoinsert.el (auto-insert):
8180 * arc-mode.el (archive-extract):
8181 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8182
b27640fe
JB
81832011-07-05 Juanma Barranquero <lekktu@gmail.com>
8184
8185 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8186 Fix check of `emacs-lock-unlockable-modes'.
8187 Coerce true values of `emacs-lock--try-unlocking' to t.
8188
53bbe3ad
JB
81892011-07-05 Juanma Barranquero <lekktu@gmail.com>
8190
8191 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8192 * emacs-lock.el: New file.
8193
1d3cdbc7
JD
81942011-07-05 Julien Danjou <julien@danjou.info>
8195
8196 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8197 than `boundp' to check if face is set.
8198
9173deec
JB
81992011-07-05 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * register.el (registerv-make):
8202 * window.el (window-min-height): Fix typos in docstrings.
8203
869795d6
JD
82042011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8205
9173deec 8206 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8207 Update doc string.
8208
b768cdcd
JB
82092011-07-04 Juanma Barranquero <lekktu@gmail.com>
8210
8211 * server.el (server-execute): Catch quit and call
8212 `server-return-error' to pass the error back to emacsclient and
8213 close the connection (bug#8942).
8214
13aa217b
KM
82152011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8216
8217 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8218 insecure exception for current topic. Also note that auto-saves
8219 are handled differently.
8220
8221 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8222 State variables for tracking auto-save inhibition situation.
8223
8224 (allout-write-contents-hook-handler): Rename from
8225 'allout-write-file-hook-handler', and describe how it depends on
8226 write-contents-functions sensitivity to non-nil value to prevent
8227 file write.
8228
8229 (allout-auto-save-hook-handler): Remove. auto-save does not check
8230 this in individual buffers, only in the starting buffer, so this
8231 is not the right way for us to inhibit auto-save in a buffer
8232 according to its condition.
8233
8234 (allout-mode): Use new allout-write-contents-hook-handler, and
8235 only with write-contents-functions. Remove auto-save provisions -
8236 they're implemented elsewhere.
8237
8238 (allout-before-change-handler): If undo is in progress, note that
8239 for attention of allout-post-command-business.
8240
8241 (allout-post-command-business): If the command we're following was
8242 an undo, check for change in the status of encrypted items and
8243 adjust auto-save inhibitions accordingly.
8244
8245 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8246 according to whether there are or aren't any plain-text topics
8247 pending encryption.
8248
2dcdbdd9 8249 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8250 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8251 if there are plain-text topics pending encryption.
13aa217b
KM
8252
8253 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8254 buffer-saved-size and some allout state to not inhibit auto-saves
8255 if there are no longer any plain-text topics pending encryption.
8256
0757af94
SM
8257 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8258 No longer provide for exemption of the current topic.
13aa217b 8259
ac89b32c
JL
82602011-07-04 Juri Linkov <juri@jurta.org>
8261
8262 Add 7z operations to delete and save changed members (bug#8968).
8263 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8264 New defcustoms.
8265 (archive-7z-write-file-member): New function.
8266 (archive-7z-summarize): Fix the number of dashes in the
8267 listing output.
8268
8fa39615
SM
82692011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8270
8271 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8272 (bug#8958).
8273
2f11b3f1
CY
82742011-07-04 Chong Yidong <cyd@stupidchicken.com>
8275
d66fef2b
CY
8276 * bindings.el: Ignore next-buffer and previous-buffer in
8277 minibuffer-local-map.
8278
2f11b3f1
CY
8279 * font-lock.el (font-lock-builtin-face): Change light background
8280 color to dark slate blue (Bug#6693).
8281
f932a347
WD
82822011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8283
8284 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8285
c8af70e1
SM
82862011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8289 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8290 Add switch-to-buffer.
8291
f158badc
LMI
82922011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8293
8294 * isearch.el (isearch-search-fun-function): Clarify further the
8295 meaning of the function returned.
8296
6d95bd46
MA
82972011-07-04 Michael Albinus <michael.albinus@gmx.de>
8298
8299 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8300
8301 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8302 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8303 Use it.
8304 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8305 `tramp-default-remote-path' does not exist.
8306 (tramp-send-command-and-read): New optional argument NOERROR.
8307 (tramp-open-connection-setup-interactive-shell)
8308 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8309 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8310 (tramp-process-sentinel): Flush also process' connection property.
8311 (tramp-sh-handle-start-file-process): Do not set process
8312 sentinel. It is done now ...
8313 (tramp-maybe-open-connection): ... here. (Bug#8929)
8314
909e6b67
MK
83152011-07-04 MON KEY <monkey@sandpframing.com>
8316
8317 * play/animate.el (animate-string): Doc fixes and allow changing
8318 the buffer name (bug#5417).
8319
83202011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8321
c8af70e1 8322 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8323
f34755dc
PE
83242011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8325
396cec72
PE
8326 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8327 This is simpler and helps future-proof the code.
8328 (timer-until): Use time-subtract and float-time.
08235028 8329 (timer--time-less-p): Use time-less-p.
f34755dc 8330
56e6cc31
JB
83312011-07-04 Juanma Barranquero <lekktu@gmail.com>
8332
3abb79e5
JB
8333 * type-break.el (timep): Use the value of `float-time' to avoid a
8334 byte-compiler warning.
8335
56e6cc31
JB
8336 * server.el (server-eval-and-print): Return any result, even nil.
8337
7b9430b4
PE
83382011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8339
8340 * type-break.el: Accept time formats that the builtins accept.
8341 (timep, type-break-time-difference): Accept any format that
8342 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8343 This is simpler and helps future-proof the code.
8344 (type-break-time-difference): Round rather than ignoring
8345 subseconds components.
8346
3034e9e7
LMI
83472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8348
8349 * info.el (Info-apropos-matches): Make non-interactive, since it
8350 doesn't seem to do anything useful as a command (bug#8829).
8351
1485f4c0
CY
83522011-07-03 Chong Yidong <cyd@stupidchicken.com>
8353
8354 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8355 Move from faces.el.
1485f4c0
CY
8356 (frame-default-terminal-background): New function.
8357
8358 * custom.el (custom-push-theme): Don't record faces in `changed'
8359 theme; this doesn't work correctly for per-frame face settings.
8360 (disable-theme): Use face-set-after-frame-default to reset faces.
8361 (custom--frame-color-default): New function.
8362
9fa3dd45
LMI
83632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8364
c8af70e1 8365 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8366 (bug#8769).
8367
6cbbc20c
KR
83682011-03-29 Kevin Ryde <user42@zip.com.au>
8369
8370 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8371 `perl-Test2' extend to match possible "fail #N" rep count
8372 (bug#8377).
8373
c7f98048
LMI
83742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8375
65676592
LMI
8376 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8377 `smtpmail-via-smtp' now returns the error instead of nil.
8378
c7f98048
LMI
8379 * isearch.el (isearch-search-fun-function): Clarify the doc string
8380 (bug#8101).
8381
56e6cc31 83822011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8383
8384 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8385 unnecessary spaces (bug#8987).
8386
2b216704
LMI
83872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8388
8389 * net/network-stream.el (open-network-stream): Use the
8390 :end-of-capability command thoughout.
8391
83922011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8393
8394 * net/network-stream.el (open-network-stream): Add the
8395 :end-of-capability command parameter, used by pop3.el.
8396
36adf6ce
LMI
83972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8398
1ca0da0e
LMI
8399 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8400
fc00f69c
LMI
8401 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8402 for list)" (bug#6475).
8403
28fd8759 8404 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8405 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8406 an error (bug#6297).
8407
0dd8b6da
LMI
8408 * man.el (Man-reference-regexp): Allow matching possible
8409 word-wrapped references (bug#6289).
8410
ce1438d6
LMI
8411 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8412 for consistency with the other vc buffers (bug#6197).
8413 (vc-checkin): Ditto.
8414
8415 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8416
36adf6ce
LMI
8417 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8418
e83cc1f7
LMI
84192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8420
8a20ca4c
LMI
8421 * custom.el (defcustom): Clarify that :set is only used in the
8422 Customize user interface (bug#6089).
8423
83319045
LMI
8424 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8425 associated with a file, refuse to run instead of erroring out
8426 (bug#6084).
8427
a8392169
LMI
8428 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8429 the doc string, since it appears that using `fill-column' always
8430 controls the width (bug#7845).
8431
e83cc1f7
LMI
8432 * simple.el (shell-command-on-region): Say where the error output
8433 went if `shell-command-default-error-buffer' is set (bug#6857).
8434
e47ca23b
KM
84352011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8436
8437 * allout.el (allout-yank-processing): Adjust cursor position for
8438 backwards-deleted space.
8439
8440 (allout-rebullet-heading): Register changes with
8441 allout-exposure-changed-hook, so the modified topic is properly
8442 decorated.
8443
5cf56143
LMI
84442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8445
08549772
LMI
8446 * minibuffer.el (completion-in-region): Document PREDICATE
8447 (bug#7136).
8448
48e96771
LMI
8449 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8450 of keyword/argument pairs (bug#6904).
8451
c8af70e1
SM
8452 * replace.el (multi-occur):
8453 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8454
e17d05e2
LMI
84552011-07-02 Drew Adams <drew.adams@oracle.com>
8456
8457 * dired.el (dired-mark-if): Make the message about whether it's
8458 marking or unmarking clearer (bug#8523).
8459
063b0e45
LMI
84602011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8461
8462 * disp-table.el (display-table-print-array): New function.
8463 (describe-display-table): Use it to print the vectors more pretty
8464 (Bug#8859).
8465
28545e04
MR
84662011-07-02 Martin Rudalics <rudalics@gmx.at>
8467
8468 * window.el (window-state-get-1): Don't assign clone numbers.
8469 Add clone-of item to list of window parameters.
8470 (window-state-put-2): Don't process clone numbers.
8471 (display-buffer-alist): Fix doc-string.
8472
3349e122
SM
84732011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8474
8475 * subr.el (remq): Don't allocate if it's not needed.
8476 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8477 (keymap--merge-bindings): New functions.
8478 (keymap-canonicalize): Use them to refine the canonicalization.
8479 * minibuffer.el (minibuffer-local-completion-map)
8480 (minibuffer-local-must-match-map): Move initialization from C.
8481 (minibuffer-local-filename-completion-map): Move initialization from C;
8482 don't inherit from anything here.
8483 (minibuffer-local-filename-must-match-map): Make obsolete.
8484 (completing-read-default): Use make-composed-keymap to combine
8485 minibuffer-local-filename-completion-map with either
8486 minibuffer-local-must-match-map or
8487 minibuffer-local-filename-completion-map.
8488
d224ac83
GM
84892011-07-01 Glenn Morris <rgm@gnu.org>
8490
3de63bf8
GM
8491 * type-break.el (type-break-time-sum): Use dolist.
8492
d224ac83
GM
8493 * textmodes/flyspell.el (flyspell-word-search-backward):
8494 Replace CL function.
8495
1a1e3f32
SM
84962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8497
fe3f64d5
SM
8498 * mouse.el (mouse--strip-first-event): New function.
8499 (function-key-map): Use it to map fringe clicks to normal clicks
8500 by default.
8501
eb604e34
SM
8502 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8503 (vc-bzr-revision-completion-table): Add support for annotate and date.
8504
1a1e3f32
SM
8505 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8506 inherit from parent.
8507
5bd35902
LMI
85082011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8509
ace6c69c 8510 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8511 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8512
191e2bed
LMI
8513 * dired.el (dired-mode): Fix up the doc string as suggested by
8514 Drew Adams (bug#8817).
8515
5bd35902
LMI
8516 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8517 cookie, since the manual says that it should be possible to add
8518 this function to `find-file-hook' (bug#8709).
8519
eee8207a
TZ
85202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8521
8522 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8523 here. Noted Ted Zlatanov as the maintainer.
8524 (cfengine-common-settings, cfengine-common-syntax): New functions
8525 to set up common things between `cfengine-mode' and
8526 `cfengine3-mode'.
8527 (cfengine3-mode): New mode.
8528 (cfengine3-defuns cfengine3-defuns-regex
8529 (cfengine3-class-selector-regex cfengine3-category-regex)
8530 (cfengine3-vartypes cfengine3-font-lock-keywords)
8531 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8532 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8533
36b148cf
MA
85342011-07-01 Michael Albinus <michael.albinus@gmx.de>
8535
8536 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8537
8538 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8539
0bf4ba9a
MR
85402011-07-01 Martin Rudalics <rudalics@gmx.at>
8541
8542 * window.el (same-window-buffer-names, same-window-regexps)
8543 (same-window-p, special-display-frame-alist)
8544 (special-display-popup-frame, special-display-function)
8545 (special-display-buffer-names, special-display-regexps)
8546 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8547 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8548 (split-window-preferred-function, split-height-threshold)
8549 (split-width-threshold, even-window-heights)
8550 (display-buffer-mark-dedicated, window-splittable-p)
8551 (split-window-sensibly, window-safely-shrinkable-p):
8552 Un-obsolete.
8553 (display-buffer): Don't spread args with function specifier
8554 because special-display-popup-frame won't like it.
8555
35837f51
PE
85562011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8557
d0672f86
PE
8558 Time-stamp simplifications and fixes.
8559 These improve accuracy slightly, and future-proof the code
8560 against some potential changes to current-time format.
8561
b9444d97
PE
8562 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8563 by using time-since and float-time.
8564
0ef923dc
PE
8565 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8566 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8567 + NNN microseconds".
8568
2f81380d
PE
8569 * type-break.el (type-break-time-sum): Rewrite using time-add.
8570
845b5c3e
PE
8571 * play/hanoi.el (hanoi-current-time-float): Remove.
8572 All uses replaced by float-time.
8573
ee6f1be0
PE
8574 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8575 This yields a more-accurate answer.
8576 (rng-time-to-float): Remove; no longer needed.
8577
fe955043
PE
8578 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8579
5777162a
PE
8580 * calendar/timeclock.el (timeclock-seconds-to-time):
8581 Defalias to seconds-to-time, since they're the same thing.
8582
3103f8b6 8583 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8584 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8585 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8586
0e61a35f
SM
85872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8588
8589 * window.el (bury-buffer): Don't iconify the only frame.
8590 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8591 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8592
ddd63a1e
CY
85932011-07-01 Chong Yidong <cyd@stupidchicken.com>
8594
0e61a35f
SM
8595 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8596 Add mouse-yank-primary.
ddd63a1e 8597
055f4923
TZ
85982011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8599
8600 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8601
6a2fb145
SM
86022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8603
8604 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8605 (find-library-name): Use it to find relative load names when provided
8606 absolute file name (bug#8803).
8607
fd4983f2
LMI
86082011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8609
887d14ad
LMI
8610 * textmodes/flyspell.el (flyspell-word): Consider words that
8611 differ only in case as potential doublons (bug#5687).
8612
c53dc7fc
LMI
8613 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8614 Remove two rather uninteresting debugging-like messages to make
8615 debbugs.el more silent.
8616
fd4983f2
LMI
8617 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8618 a password-like phrase.
8619
7a71b18d 86202011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8621
8622 * progmodes/cc-guess.el: New file.
8623
6a2fb145 8624 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8625
8626 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8627 derived from `c-basic-common-init'.
8628
8629 * progmodes/cc-mode.el (top-level): Require cc-guess.
8630 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8631
1fa280a3
LM
86322011-06-30 Lawrence Mitchell <wence@gmx.li>
8633
8634 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8635
e6597158
AM
86362011-06-30 Alan Mackenzie <acm@muc.de>
8637
1fa280a3
LM
8638 * progmodes/cc-engine.el (c-guess-continued-construct):
8639 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8640 lock is disabled. Name this case as "CASE G".
8641
68ba37fb
KM
86422011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8643
8644 * allout.el (allout-yank-processing): Fix injection of extra space
8645 between bullet and non-whitespace character in first topic when
8646 pasting, ensuring that the actual spacing in the pasted topic
8647 following the bullet char is preserved. This extra space was
8648 causing pasted encrypted topics to get a decrypted status even
8649 when the content was actually still encrypted. Now the decryption
8650 status from before the paste is preserved.
8651
8652 (allout-flag-region): Set all allout overlays so they evaporate
8653 when reduced to zero length (evanescent), to prevent overlay
8654 leakage.
8655
887a0b34
GM
86562011-06-30 Glenn Morris <rgm@gnu.org>
8657
94b9acce
GM
8658 * w32-fns.el (w32-charset-info-alist): Declare.
8659
1d9b46d4
GM
8660 * find-dired.el (find-grep-options): Simplify.
8661
cc232200
GM
8662 * term/ns-win.el (ns-set-resource): Declare.
8663
28e77c46
GM
8664 * ses.el (row, col): Declare dynamic variables honestly.
8665
887a0b34
GM
8666 * textmodes/reftex-parse.el (index-tags): Declare.
8667
658d8eb8
CY
86682011-06-30 Chong Yidong <cyd@stupidchicken.com>
8669
8670 * cus-edit.el (customize-push-and-save): New function.
8671
8672 * files.el (hack-local-variables-confirm): Use it.
8673
1fa280a3
LM
8674 * custom.el (load-theme): New arg NO-CONFIRM.
8675 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8676 (custom-enabled-themes): Doc fix.
8677
8678 * cus-theme.el (customize-create-theme)
8679 (custom-theme-merge-theme): Callers to load-theme changed.
8680
bb617717
LMI
86812011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8682
d61bdd5d
LMI
8683 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8684 short URLs have at least one dot in them (bug #7614).
8685
bb617717
LMI
8686 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8687 nil, because using a pty is apparently too slow (bug #895).
8688
2f31f37a
LMI
86892011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8690
8691 * mail/sendmail.el (sendmail-query-once): New function.
8692 (sendmail-query-once-function): New variable.
8693
3076b24e
GM
86942011-06-29 Glenn Morris <rgm@gnu.org>
8695
faf2a174
GM
8696 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8697
3076b24e
GM
8698 * ses.el (top-level): Require cl when compiling.
8699 (ses-set-localvars): Fix error statement.
8700 Call it at compile time to silence a storm of warnings.
8701
5386012d
MR
87022011-06-29 Martin Rudalics <rudalics@gmx.at>
8703
8704 * window.el (normalize-live-buffer): Rename to
8705 window-normalize-buffer.
8706 (normalize-live-frame): Rename to window-normalize-frame.
8707 (normalize-any-window): Rename to window-normalize-any-window.
8708 (normalize-live-window): Rename to window-normalize-live-window.
8709 (make-window-atom): Rename to window-make-atom.
8710 (window-resize-reset): Rename to window--resize-reset.
8711 (window-resize-reset-1): Rename to window--resize-reset-1.
8712 (resize-mini-window): Rename to window--resize-mini-window.
8713 (resize-subwindows-skip-p): Rename to
8714 window--resize-subwindows-skip-p.
8715 (resize-subwindows-normal): Rename to
8716 window--resize-subwindows-normal.
8717 (resize-subwindows): Rename to window--resize-subwindows.
8718 (resize-other-windows): Rename to window--resize-siblings.
8719 (resize-this-window): Rename to window--resize-this-window.
8720 (resize-root-window): Rename to window--resize-root-window.
8721 (resize-root-window-vertically): Rename to
8722 window--resize-root-window-vertically.
8723 (normalize-buffer-to-display): Rename to
8724 window-normalize-buffer-to-display.
8725 (normalize-buffer-to-switch-to): Rename to
8726 window-normalize-buffer-to-switch-to.
8727 Correspondingly update all callers of the functions listed
8728 above.
8729 (display-buffer-alist, display-buffer-normalize-arguments)
8730 (display-buffer-normalize-options, display-buffer)
8731 (display-buffer-alist-set): Use "function" instead of
8732 "fun-with-args".
8733
1176868d
CY
87342011-06-28 Chong Yidong <cyd@stupidchicken.com>
8735
8736 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8737 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8738 debbugs.gnu.org. Mention acknowledgment email.
8739
20a7a65f
LMI
87402011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8741
8742 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8743 buffer multibyteness, since it shouldn't matter.
8744
5f45cca5
MR
87452011-06-28 Martin Rudalics <rudalics@gmx.at>
8746
8747 * window.el (display-buffer-in-side-window): Handle dedicated
8748 windows as in display-buffer-reuse-window.
8749 (display-buffer-normalize-alist): Use value of override
8750 specifier.
8751 (display-buffer-normalize-specifiers): Use value of
8752 other-window-means-other-frame specifier.
8753 (display-buffer-alist): Rewrite some texts in widgets.
8754 (display-buffer): Spread arguments when calling function
8755 specified by fun-with-args.
8756
ad85fe1f
DD
87572011-06-28 Deniz Dogan <deniz@dogan.se>
8758
1fa280a3
LM
8759 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8760 Unnest `let'.
da68c4c8 8761
ad85fe1f
DD
8762 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8763 selectors (Bug#5732).
ec49bd31 8764 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8765
a08cc025
JA
87662011-06-27 Jari Aalto <jari.aalto@cante.net>
8767
8768 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8769 (eshell-ls-date-format): New defcustom.
8770 (eshell-ls-file): Use it.
8771
e2b551c5
SM
87722011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8775
8982b231
KY
87762011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8777
8778 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8779 (ange-ftp-make-tmp-name): New arg.
8780 (ange-ftp-file-local-copy): Use it.
8781
36c9fa27
J
87822011-06-27 Jambunathan K <kjambunathan@gmail.com>
8783
8784 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8785 no-conversion (Bug#8870).
8786
d68443dc
MR
87872011-06-27 Martin Rudalics <rudalics@gmx.at>
8788
8789 * window.el (window-right, window-left, window-child)
8790 (window-child-count, window-last-child)
8791 (window-iso-combination-p, walk-window-tree-1)
8792 (window-atom-check-1, window-tree-1, delete-window)
8793 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8794 new naming conventions - window-vchild, window-hchild,
8795 window-next and window-prev are now called window-top-child,
8796 window-left-child, window-next-sibling and window-prev-sibling
8797 respectively.
d615d6d2
MR
8798 (resize-window-reset): Rename to window-resize-reset.
8799 (resize-window-reset-1): Rename to window-resize-reset-1.
8800 (resize-window): Rename to window-resize.
8801 (window-min-height, window-min-width)
8802 (resize-mini-window, resize-this-window, resize-root-window)
8803 (resize-root-window-vertically, adjust-window-trailing-edge)
8804 (enlarge-window, shrink-window, maximize-window)
8805 (minimize-window, delete-window, quit-restore-window)
8806 (split-window, balance-windows, balance-windows-area-adjust)
8807 (balance-windows-area, window-state-put-2)
8808 (display-buffer-even-window-sizes, display-buffer-set-height)
8809 (display-buffer-set-width, set-window-text-height)
8810 (fit-window-to-buffer): Rename all "resize-window" prefixed
8811 calls to use the "window-resize" prefix convention.
8812 (display-buffer-alist): Fix symbol for label specifier.
8813 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8814 corresponding specifier.
8815 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8816
b6458526
VB
88172011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8818
8819 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8820 convention.
8821 (ses-call-printer): Does not pass an empty string to formatter when the
8822 cell is empty to keep from barking printer Calc math-format-value.
8823
d31fd9ac
RS
88242011-06-27 Richard Stallman <rms@gnu.org>
8825
43d5bf84
RS
8826 * battery.el (battery-mode-line-limit): New variable.
8827 (battery-update): Handle it.
8828
d31fd9ac
RS
8829 * mail/rmailmm.el (rmail-mime-process-multipart):
8830 Handle truncated messages.
8831
819a6054
GM
88322011-06-27 Glenn Morris <rgm@gnu.org>
8833
8834 * progmodes/flymake.el (flymake-err-line-patterns):
8835 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8836
cedc73f2
VB
88372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8838
819a6054 8839 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8840 (ses--clean-!, ses--clean-_): New functions.
8841 (ses-range): Add configurability of readout order, and conversion
8842 to Calc vector.
8843
5e5d49b6
VB
8844 * ses.el (ses-repair-cell-reference-all): New function.
8845 (ses-cell-symbol): Set macro as safe, so that it can be used in
8846 formulas.
8847
56e6cc31 8848 * ses.el: Update cycle detection algorithm.
90ca8b49 8849 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8850 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8851 (ses-set-localvars): New function.
8852 (ses-make-cell): Add property-list as a cell element.
8853 (ses-cell-property-get-fun, ses-cell-property-get)
8854 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8855 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8856 New functions.
90ca8b49
VB
8857 (ses-cell-property-set, ses-cell-property-pop)
8858 (ses-cell-property-get-handle): New macro.
8859 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8860 New aliases, used for code readability.
8861 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8862 cycle detection.
8863 (ses-self-reference-early-detection): New defcustom.
fac916bf 8864 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8865 (ses-mode): Use ses-set-localvars.
8866 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8867 before lauching the update processing.
8868 (ses-initialize-Dijkstra-attempt): New function.
8869 (ses-recalculate-cell): Update for cycle detection based on
8870 Dijkstra algorithm.
8871
2bb63e81
VB
8872 * ses.el: Fix commenting and indenting convention.
8873
c9d29fb8
SM
88742011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * bs.el (bs-cycle-next): Complete last change.
8877
d8e4b68b
JB
88782011-06-27 Drew Adams <drew.adams@oracle.com>
8879
8880 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8881
40098786
LMI
88822011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8883
c9d29fb8
SM
8884 * net/network-stream.el (network-stream-open-starttls):
8885 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8886 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8887
40098786
LMI
8888 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8889 to binary to possibly avoid line encoding issues on Windows (among
8890 other things).
8891
468d09d4
LMI
88922011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8893
8894 * net/network-stream.el (open-network-stream): Return an :error
8895 saying what the problem was, if possible.
8896
8897 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8898 server.
8899
8900 * net/network-stream.el (network-stream-open-starttls): If we
8901 wanted to use STARTTLS, and the server offered it, but we weren't
8902 able to because we had no STARTTLS support, then close the connection.
8903 (open-network-stream): Return an :error element, if present.
8904
16f07dd7
CY
89052011-06-26 Chong Yidong <cyd@stupidchicken.com>
8906
88821ca0
CY
8907 * hl-line.el (hl-line-sticky-flag): Doc fix.
8908 (global-hl-line-sticky-flag): New option (Bug#8323).
8909 (global-hl-line-highlight): Obey it.
8910
16f07dd7
CY
8911 * vc/vc.el (vc-revert-show-diff): Default to t.
8912
6b5ccddf
KM
89132011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8914
c9d29fb8
SM
8915 * allout-widgets.el (allout-widgets-post-command-business):
8916 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8917 undecorated when an isearch is continued past, and isearch
8918 automatically collapses them. This leads to "widget leaks", where
8919 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8920 hidden widgets can slow down cursor travel, substantially.
8921 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8922 so we're doing without this nicety.
8923
8924 (allout-widgets-tally-string): Don't try to do a hash-table-count
8925 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8926 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8927 *Messages* when allout-widgets-maintain-tally is t.
8928
355f2e07
MR
89292011-06-26 Martin Rudalics <rudalics@gmx.at>
8930
8931 * window.el (display-buffer-normalize-argument): Rename to
8932 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8933 LABEL argument. Respect special-display-function when popping up
8934 a new frame. Fix code searching for a window showing the buffer
8935 on another frame.
c9d29fb8
SM
8936 (display-buffer-normalize-specifiers):
8937 Call display-buffer-normalize-arguments.
355f2e07
MR
8938 (display-buffer-in-window): Don't undedicate the window if its
8939 buffer remains the same.
8940 Reported by Drew Adams <drew.adams@oracle.com>.
8941 (display-buffer-alist): Add choice for same-window macro
8942 specfier.
8943 (display-buffer): Mention special meaning of LABEL argument in
8944 doc-string. Fix quoting. Don't pop up a new frame even as
8945 fallback.
8946
7ca8fc42
JB
89472011-06-26 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8950 avoid deleting the current window in some cases (bug#8911).
8951
bc312254
AS
89522011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8953
8954 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8955 (Bug#8934)
8956
2db18f3f
LMI
89572011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8958
c9d29fb8
SM
8959 * net/network-stream.el (network-stream-open-starttls):
8960 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8961 (network-stream-open-tls): Ditto.
8962
6302e0d3
LL
89632011-06-26 Leo Liu <sdl.web@gmail.com>
8964
8965 * register.el (registerv): New struct.
8966 (registerv-make): New function.
c9d29fb8
SM
8967 (jump-to-register, describe-register-1, insert-register):
8968 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8969 struct. (Bug#8415)
8970
5fdd4046
CY
89712011-06-26 Chong Yidong <cyd@stupidchicken.com>
8972
2afef60a
CY
8973 * vc/vc.el (vc-revert-show-diff): New defcustom.
8974 (vc-diff-internal): New arg specifying diff buffer.
8975 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8976 reuse an existing *vc-diff* buffer (Bug#8927).
8977
5fdd4046
CY
8978 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8979
e93db24a
GM
89802011-06-26 Glenn Morris <rgm@gnu.org>
8981
8982 * progmodes/f90.el (f90-critical-indent): New option.
8983 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8984 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8985 (f90-mode): Doc fix.
8986 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8987 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8988 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8989 (f90-match-end): Handle block, critical.
8990
eefff499
GM
89912011-06-25 Glenn Morris <rgm@gnu.org>
8992
f6ba4cc9
GM
8993 * calendar/diary-lib.el (diary-included-files): Doc fix.
8994 (diary-include-files): New function, extracted from
8995 diary-include-other-diary-files and diary-mark-included-diary-files.
8996 (diary-include-other-diary-files, diary-mark-included-diary-files):
8997 Just call diary-include-files.
8998 (diary-mark-entries): Reset diary-included-files on first call.
8999
16712304
GM
9000 * calendar/diary-lib.el (diary-mark-entries)
9001 (diary-mark-included-diary-files):
9002 Visit included diary-files in temp buffers.
9003
5d8e0d43
GM
9004 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9005 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9006 (f90-start-block-re, f90-imenu-generic-expression)
9007 (f90-looking-at-program-block-start, f90-no-block-limit):
9008 Add support for submodules.
9009
ccf7a5d5
GM
9010 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9011 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9012
11fdef7d 90132011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9014
9015 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9016 buffer-file-type before setting its value, to avoid disastrous
eefff499 9017 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9018
74f53697
JB
90192011-06-25 Juanma Barranquero <lekktu@gmail.com>
9020
9021 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9022
9023 * ses.el (ses-unload-function):
9024 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9025
9026 * proced.el (proced-unload-function):
9027 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9028
18a4ce5e
AR
90292011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9030
9031 * server.el (server-create-window-system-frame): Add parameters arg.
9032 (server-process-filter): Doc fix. Handle frame-parameters.
9033
519d22cc
JB
90342011-06-25 Juanma Barranquero <lekktu@gmail.com>
9035
9036 Fix bug#8730, bug#8781.
9037
9038 * loadhist.el (unload--set-major-mode): New function.
9039 (unload-feature): Use it.
9040
9041 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9042 (python-unload-function): New function.
9043
c206f5b0
SM
90442011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9047
f9ad64f3
GS
90482011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9049
9050 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9051 the candidates list.
9052
7d0da90e
JB
90532011-06-24 Juanma Barranquero <lekktu@gmail.com>
9054
9055 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9056
14b4e83d
RS
90572011-06-23 Richard Stallman <rms@gnu.org>
9058
9059 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9060 (rmail-variables): Set next-error-move-function.
9061 (rmail-what-message): Take argument POS.
9062 (rmail-next-error-move): New function.
9063
273d2baf
SM
90642011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9067 messages for adjacent non-terminals.
9068
56c2cc9a
RS
90692011-06-23 Richard Stallman <rms@gnu.org>
9070
9071 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9072 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9073 (rmail-start-mail): Don't specify use of rmail-mail-return;
9074 that's done by mail-bury now.
9075 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9076
d59eb518
MA
90772011-06-23 Michael Albinus <michael.albinus@gmx.de>
9078
9079 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9080 SIZE is a number.
9081
02cfc6d6
MR
90822011-06-23 Martin Rudalics <rudalics@gmx.at>
9083
9084 * window.el (get-lru-window, get-mru-window)
9085 (get-largest-window): Never return a minibuffer window.
9086 (display-buffer-pop-up-window): Fix a bug that could lead to
9087 reusing the minibuffer window.
9088 (display-buffer): Pass original specifier argument to
9089 display-buffer-function instead of the normalized one.
9090 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9091
4e323265
LL
90922011-06-22 Leo Liu <sdl.web@gmail.com>
9093
9094 * minibuffer.el (completing-read-function)
9095 (completing-read-default): Move from minibuf.c
9096
7a70468f
RS
90972011-06-22 Richard Stallman <rms@gnu.org>
9098
50718fc2
RS
9099 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9100 to Rmail even if not started by a special Rmail command.
9101
7a70468f
RS
9102 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9103 Copy the buffer currently showing just one message.
9104
297dde5a
RW
91052011-06-22 Roland Winkler <winkler@gnu.org>
9106
9107 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9108 (bibtex-clean-entry): First delete the old key so that a
9109 customized algorithm for generating the new key does not get
9110 confused by the old key.
9111 (bibtex-url): Obey regexp of first step.
9112 (bibtex-search-entries): Do not use add-to-list with local
9113 list-var.
9114
97bb1093
LMI
91152011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9116
9117 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9118 stored a user name, then query for the password first, instead of
9119 waiting for SMTP to give an error message and the trying again.
9120
1c0f1a19
JD
91212011-06-22 Lawrence Mitchell <wence@gmx.li>
9122
9123 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9124 BUFFER in call-process.
9125
396f7c9d
LMI
91262011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9127
9128 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9129 QUIT twice.
ddb7ffee
LMI
9130 (smtpmail-try-auth-methods): Require user name and password from
9131 auth-source.
396f7c9d 9132
8998d1b3
MR
91332011-06-22 Martin Rudalics <rudalics@gmx.at>
9134
9135 * window.el (display-buffer-default-specifiers)
9136 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9137 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9138 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9139
9140 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9141 (special-display-frame-alist, special-display-popup-frame):
9142 Remove duplicate declarations. These are now in window.el.
9143
4ea31e07
LMI
91442011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9145
c9d29fb8
SM
9146 * mail/smtpmail.el (smtpmail-via-smtp):
9147 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9148 server supports it. SMTP servers that support STARTTLS commonly
9149 require it.
9150
9151 * net/network-stream.el (network-stream-open-starttls): Support
9152 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9153 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9154
95f41d9a
LMI
9155 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9156 upgrades with `open-network-stream', and rely solely on
9157 auth-source for all credentials. Big changes throughout the file,
9158 but in particular:
c9d29fb8
SM
9159 (smtpmail-auth-credentials): Remove.
9160 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9161 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9162 MAIL FROM, too.
95f41d9a 9163
c9d29fb8
SM
9164 * net/network-stream.el (network-stream-open-starttls):
9165 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9166 STARTTLS.
9167 (auth-source): Require.
9168 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9169 (network-stream-certificate): Change cert-cert to cert and
9170 cert-key to key.
4ea31e07 9171
065ec2c7
MA
91722011-06-21 Michael Albinus <michael.albinus@gmx.de>
9173
9174 * net/tramp-cache.el (top): Don't load the persistency file when
9175 "emacs -Q" has been called.
9176
cd93b359
DR
91772011-06-21 Tim Harper <timcharper@gmail.com>
9178
d8e4b68b
JB
9179 * term/ns-win.el (ns-initialize-window-system):
9180 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9181 resource to NO as it is not yet supported by the NS port.
9182
ae9c0411
JB
91832011-06-21 Juanma Barranquero <lekktu@gmail.com>
9184
9185 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9186 (list-dynamic-libraries): ...not here.
9187
7f3f739f
LL
91882011-06-21 Leo Liu <sdl.web@gmail.com>
9189
9190 * subr.el (sha1): Implement sha1 using secure-hash.
9191
327c8fb1
MR
91922011-06-21 Martin Rudalics <rudalics@gmx.at>
9193
9194 * window.el (display-buffer-alist): In default value do not
9195 enforce searching a window on any but the selected frame.
9196 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9197 (display-buffer-select-window): Remove function.
9198 (display-buffer-in-window): When a window on another frame gets
9199 reused, do not select it any more but just raise its frame if
9200 necessary (Bug#8851) and (Bug#8856).
9201 (display-buffer-normalize-options): Handle pop-up-frames related
9202 options more faithfully.
9203 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9204 window if it is on another frame.
c9d29fb8
SM
9205 (display-buffer-alist, display-buffer-default-specifiers):
9206 Don't make new frame unsplittable by default.
9e9de014
MR
9207 (display-buffer-normalize-argument): Fix doc-string typo and use
9208 'same-frame-other-window instead of 'other-window when associating
9209 with display-buffer-macro-specifiers.
327c8fb1 9210
7cf3f556
VB
92112011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9212
9213 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9214 New functions.
9215 (5x5-mode-map, 5x5-mode-menu): Bind them.
9216 (5x5-draw-grid): Tweak the solver's rendering.
9217
60a406cf
SM
92182011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9219
9220 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9221 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9222
d8e4b68b 92232011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9224
9225 * menu-bar.el: Use function variable instead of switch-to-buffer.
9226 (menu-bar-select-buffer-function): New variable.
60a406cf 9227 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9228
478d6f95
SM
92292011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9232 variable's status.
9233
ca530739
JD
92342011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9235
9236 * x-dnd.el (x-dnd-version-from-flags)
9237 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9238 and long as number (Bug#8899).
9239 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9240
bcd70d97
SM
92412011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9242
60a406cf 9243 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9244 (completion-try-completion, completion-all-completions): Compute the
9245 metadata argument if it's missing; make it optional (bug#8795).
9246
60a406cf 9247 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9248 (widget-complete): Use new :completion-function property.
9249 (widget-completions-at-point): New function.
9250 (default): Use :completion-function instead of :complete.
60a406cf
SM
9251 (widget-default-completions): Rename from widget-default-complete;
9252 Rewrite.
bcd70d97
SM
9253 (widget-string-complete, widget-file-complete, widget-color-complete):
9254 Remove functions.
9255 (file, symbol, function, variable, coding-system, color):
9256 * international/mule-cmds.el (default-input-method, charset)
9257 (language-info-custom-alist):
9258 * cus-edit.el (face): Use new property :completions.
9259
9260 * progmodes/pascal.el (pascal-completions-at-point): New function.
9261 (pascal-mode): Use it.
9262 (pascal-mode-map): Use completion-at-point.
9263 (pascal-toggle-completions): Make obsolete.
9264 (pascal-complete-word, pascal-show-completions):
9265 * progmodes/octave-mod.el (octave-complete-symbol):
9266 Redefine as obsolete alias.
9267 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9268 Signal absence of completion info for old Octave,
9269 (inferior-octave-complete): Redefine as obsolete alias.
9270 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9271 (meta-completions-at-point): Rename from meta-complete-symbol and
9272 adapt it for use on completion-at-point-functions.
9273 (meta-common-mode): Use it.
9274 (meta-looking-at-backward, meta-match-buffer): Remove.
9275 (meta-complete-symbol): Redefine as obsolete alias.
9276 (meta-common-mode-map): Use completion-at-point.
9277 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9278 (makefile-mode-map): Use completion-at-point.
9279 (makefile-completions-at-point): Rename from makefile-complete and
9280 adapt it for use on completion-at-point-functions.
9281 (makefile-mode): Use it.
9282 (makefile-complete): Redefine as obsolete alias.
9283
aebf69c8
DD
92842011-06-20 Deniz Dogan <deniz@dogan.se>
9285
9286 * net/rcirc.el: Delete trailing whitespaces once and for all.
9287
bfbbb27d
DC
92882011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9289
9290 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9291
d264a46b
CY
92922011-06-19 Chong Yidong <cyd@stupidchicken.com>
9293
4ca009e5
CY
9294 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9295
d264a46b
CY
9296 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9297
fbf5b3ce
MR
92982011-06-19 Martin Rudalics <rudalics@gmx.at>
9299
9300 * window.el (display-buffer-other-window-means-other-frame):
9301 Call display-buffer-normalize-alist.
9302 (display-buffer-normalize-specifiers-1): Rename to
9303 display-buffer-normalize-argument. New argument other-frame.
9304 Rewrite.
9305 (display-buffer-normalize-specifiers-2): Rename to
9306 display-buffer-normalize-options.
9307 (display-buffer-normalize-alist-1): New function.
9308 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9309 display-buffer-normalize-alist.
9310 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9311 (display-buffer-normalize-options-inhibit): New variable.
9312 (display-buffer-normalize-specifiers): Rewrite calling
9313 display-buffer-normalize-alist,
9314 display-buffer-normalize-argument, and
9315 display-buffer-normalize-options. Don't call the latter if
9316 display-buffer-normalize-options-inhibit is non-nil.
9317 (frame-auto-delete): New option.
9318 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9319 (window-list-no-nils, window-state-ignored-parameters)
9320 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9321 (window-state-put-1, window-state-put-2, window-state-put):
9322 New functions.
9a028c23
MR
9323 (display-buffer-normalize-options): Move special-display-p group
9324 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9325
6d10d800
CY
93262011-06-18 Chong Yidong <cyd@stupidchicken.com>
9327
6420d28b
CY
9328 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9329 groups (Bug#8776).
9330 (rx-submatch-n): New function.
9331 (rx): Document it.
9332
ddb8b596
CY
9333 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9334 (Bug#8768).
9335
9336 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9337
77080289
CY
9338 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9339
61dfb316
CY
9340 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9341 anytime existing face settings are present (Bug#8889).
9342
6d10d800
CY
9343 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9344 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9345 Remove unused argument.
9346
be3fb2b8
MR
93472011-06-18 Martin Rudalics <rudalics@gmx.at>
9348
bcd70d97
SM
9349 * window.el (display-buffer-default-specifiers):
9350 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9351 pop-up-window-min-width, and another reuse-window specifier
9352 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9353 (display-buffer-normalize-specifiers-2):
9354 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9355 pop-up-windows is unset. Add a reuse-window specifier for the
9356 case popping up a new window fails.
9357 (special-display-popup-frame): Remove double quoting.
28dec25a 9358 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9359
1c6d8c76
SM
93602011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9363 according to comint-completion-addsuffix.
9364
9365 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9366 (pcomplete-suffix-list): Mark as obsolete.
9367 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9368 pcomplete-seen in the closure.
9369 (pcomplete-comint-setup): Setup completion-at-point as well.
9370 (pcomplete--entries): New function.
9371 (pcomplete--env-regexp): New var.
9372 (pcomplete-entries): Rewrite to work with partial-completion and
9373 without relying on pcomplete-suffix-list.
9374 (pcomplete-pare-list): Remove, unused.
9375
25aef8b8
MR
93762011-06-17 Martin Rudalics <rudalics@gmx.at>
9377
9378 * window.el (display-buffer-alist): Set pop-up-window-min-height
9379 and pop-up-window-min-width in default value. Reported by
9380 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9381 other-window-means-other-frame.
9382 (display-buffer-macro-specifiers): Comment out entry for
9383 other-window specifier.
9384 (display-buffer-other-window-means-other-frame): New function.
9385 (display-buffer-normalize-specifiers-1): New arguments
9386 buffer-name and label. Treat other-window case specially.
9387 (display-buffer-normalize-specifiers-2): Treat other-window case
9388 specially.
9389 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9390 (display-buffer-normalize-specifiers):
9391 Call display-buffer-normalize-specifiers-3.
25aef8b8 9392
dbad4f69
MR
93932011-06-17 Martin Rudalics <rudalics@gmx.at>
9394
9395 * window.el (same-window-p): Fix two typos introduced when
9396 adding with-no-warnings.
d1067961
MR
9397 (display-buffer-normalize-specifiers-1): Don't check
9398 pop-up-frames for 'unset initialization.
9399 (display-buffer-normalize-specifiers-2): Major rewrite using
9400 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9401 (pop-up-frames, display-buffer-reuse-frames)
9402 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9403 Suggested by David Engster <deng@randomsample.de>.
9404 (even-window-heights): Initialize to 'unset.
9405 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9406 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9407 other window case.
dbad4f69 9408
9b9c9e3a
MR
94092011-06-16 Martin Rudalics <rudalics@gmx.at>
9410
bcd70d97
SM
9411 * window.el (display-buffer-normalize-specifiers-1):
9412 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9413 second argument of display-buffer (Bug#8865).
981d5c09
MR
9414 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9415 (switch-to-buffer-other-window-same-frame)
9416 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9417 Adams (Bug#8875).
9c2755e9
MR
9418 (display-buffer): Don't check noninteractive when calling
9419 display-buffer-pop-up-frame.
9420 (display-buffer-pop-up-frame): Never pop up a frame in
9421 noninteractive mode (Bug#8857).
67222e1d
MR
9422 (enlarge-window, shrink-window): Don't report an error when the
9423 window can't be resized as requested (Bug#8862).
9b9c9e3a 9424
2b75be67
SM
94252011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9ffdd3ba
SM
9427 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9428
cb581a67
SM
9429 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9430
2b75be67
SM
9431 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9432
8c0e3589
AM
94332011-06-15 Alan Mackenzie <acm@muc.de>
9434
cb581a67
SM
9435 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9436 for declarators, disable knr checking to speed up for normal files.
9437 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9438
b96e6cde
LMI
94392011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9440
4bba86e6
LMI
9441 * net/network-stream.el (open-network-stream): Add the keyword
9442 :always-query-capabilities for the case where you want to force a
9443 `plain' network connection, but the protocol still requires the
9444 capabilitiy command (i.e., SMTP and EHLO).
9445
2b75be67 9446 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9447 consistency with other `-live-p' functions.
9448
efdcdbf8
SM
94492011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * window.el (same-window-buffer-names, same-window-regexps)
9452 (special-display-frame-alist, special-display-popup-frame)
9453 (special-display-function, special-display-buffer-names)
9454 (special-display-regexps, pop-up-frame-alist)
9455 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9456 (pop-up-windows, split-window-preferred-function)
9457 (split-height-threshold, split-width-threshold, even-window-heights)
9458 (display-buffer-mark-dedicated): Don't encourage the use of
9459 display-buffer-alist from Elisp code.
9460
c5cde042
DN
94612011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9462
9463 * progmodes/python.el (python-mode): Derive from prog-mode.
9464 * progmodes/ps-mode.el (ps-mode):
9465 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9466 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9467 * progmodes/ld-script.el (ld-script-mode): Likewise.
9468
baa1c9ab
MR
94692011-06-15 Martin Rudalics <rudalics@gmx.at>
9470
9471 * window.el (display-buffer-alist): Trim default value to avoid
9472 popping up a new frame (Bug#8857) or reusing an arbitrary window
9473 on another frame.
9474 (display-buffer): Do not fall back on popping up a new frame in
9475 batch mode (Bug#8857).
9476
c5dd5a51
CY
94772011-06-14 Chong Yidong <cyd@stupidchicken.com>
9478
9479 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9480 (custom-theme-summary): New function.
9481 (customize-themes): Use it.
9482
d647b7c4
GM
94832011-06-13 Glenn Morris <rgm@gnu.org>
9484
9485 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9486
9481c002
MR
94872011-06-13 Martin Rudalics <rudalics@gmx.at>
9488
357f93d2
MR
9489 * help.el (help-window): Remove variable.
9490 (help-window-point-marker, temp-buffer-max-height)
9491 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9492 (help-print-return-message): Don't set help-window.
9493 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9494 (help-window-setup-finish): Remove.
9495 (help-window-display-message, help-window-setup)
9496 (with-help-window): Major rewrite based on new
9497 display-buffer-window variable.
9498
9499 * help-mode.el (help-mode-finish): Remove help-window related
9500 code.
9501
9502 * view.el (view-exits-all-viewing-windows): Remove reference to
9503 view-return-to-alist in doc-string.
9504 (view-return-to-alist): Make obsolete.
9505 (view-buffer): Call pop-to-buffer-same-window and remove
9506 undo-window code.
9507 (view-buffer-other-window): Call pop-to-buffer-other-window and
9508 simplify code. Ignore second argument.
9509 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9510 simplify code. Ignore second argument.
9511 (view-return-to-alist-update): Make obsolete.
9512 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9513 Rewrite using quit-restore window parameters.
2b75be67
SM
9514 (view-mode-exit): Rename second argument to EXIT-ONLY.
9515 Rewrite using quit-restore-window.
357f93d2
MR
9516 (View-exit, View-exit-and-edit, View-leave, View-quit)
9517 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9518 appropriate arguments.
9519 (view-end-message): Use quit-restore window parameter.
9520
9481c002
MR
9521 * window.el (display-buffer-function): Rewrite doc-string.
9522 (display-buffer-window, display-buffer-alist): New variables.
9523 (display-buffer-split-specifiers)
9524 (display-buffer-side-specifiers)
9525 (display-buffer-macro-specifiers): New constants.
9526 (display-buffer-even-window-sizes, display-buffer-set-height)
9527 (display-buffer-set-width, display-buffer-select-window)
9528 (display-buffer-in-window, display-buffer-reuse-window)
9529 (display-buffer-split-window-1, display-buffer-split-window)
9530 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9531 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9532 (display-buffer-in-side-window, normalize-buffer-to-display)
9533 (display-buffer-normalize-specifiers-1)
9534 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9535 (display-buffer-normalize-specifiers, display-buffer-frame):
9536 New functions.
9481c002
MR
9537 (display-buffer): Major rewrite.
9538 (display-buffer-other-window, display-buffer-other-frame)
9539 (pop-to-buffer, switch-to-buffer-other-window)
9540 (switch-to-buffer-other-frame): Rewrite.
9541 (display-buffer-same-window, display-buffer-same-frame)
9542 (display-buffer-same-frame-other-window)
9543 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9544 (pop-to-buffer-other-window)
9545 (pop-to-buffer-same-frame-other-window)
9546 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9547 (switch-to-buffer-other-window-same-frame): New functions.
9548 (same-window-p, special-display-p): Rewrite disabling warnings.
9549 Make obsolete.
9550 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9551 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9552 Make obsolete
9553 (same-window-buffer-names, same-window-regexps)
9554 (special-display-frame-alist, special-display-popup-frame)
9555 (special-display-function, special-display-buffer-names)
9556 (special-display-regexps, pop-up-frame-alist)
9557 (pop-up-frame-function, split-window-preferred-function)
9558 (split-height-threshold, split-width-threshold)
9559 (even-window-heights): Make obsolete.
9560
9db51aca
GM
95612011-06-12 Glenn Morris <rgm@gnu.org>
9562
9563 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9564 Misc simplifications.
9db51aca 9565
39cffb44
MR
95662011-06-12 Martin Rudalics <rudalics@gmx.at>
9567
9568 * window.el (window-safely-shrinkable-p): Restore function which
9569 was inadvertently removed in change from 2011-06-11. Declare as
9570 obsolete.
9571
2b75be67
SM
9572 * calendar/calendar.el (calendar-generate-window):
9573 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9574 window-safely-shrinkable-p.
9575
a8955be7
GM
95762011-06-12 Glenn Morris <rgm@gnu.org>
9577
9578 * progmodes/fortran.el (fortran-mode-syntax-table):
9579 * progmodes/f90.el (f90-mode-syntax-table):
9580 Set % to punctuation. (Bug#8820)
9581 (f90-find-tag-default): Remove, no longer needed.
9582
f0d4059d
DC
95832011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9584
9585 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9586
1100a63c
CY
95872011-06-11 Chong Yidong <cyd@stupidchicken.com>
9588
9589 * image.el (image-animated-p): Return animation delay in seconds.
9590 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9591 (image-animate-timeout): Remove DELAY argument. Don't assume
9592 every subimage has the same delay; get it from image-animated-p.
9593 (image-animate): Caller changed.
9594
def722bf
MA
95952011-06-11 Michael Albinus <michael.albinus@gmx.de>
9596
9597 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9598 to ignored backtrace functions.
9599
0a2bb1a9
GM
96002011-06-11 Glenn Morris <rgm@gnu.org>
9601
9602 * calendar/appt.el (appt-disp-window-function): Doc fix.
9603 (appt-check): Handle overlapping appointments. (Bug#8337)
9604
6198ccd0
MR
96052011-06-11 Martin Rudalics <rudalics@gmx.at>
9606
9607 * window.el (window-tree-1, window-tree): New functions, moving
9608 the latter to window.el.
9609 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9610 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9611 (bw-refresh-edges): Remove.
9612 (balance-windows-1, balance-windows-2): New functions.
9613 (balance-windows): Rewrite in terms of window tree functions,
9614 balance-windows-1 and balance-windows-2.
9615 (bw-adjust-window): Remove.
9616 (balance-windows-area-adjust): New function with functionality of
9617 bw-adjust-window but using resize-window.
2b75be67
SM
9618 (set-window-text-height): Rewrite doc-string.
9619 Use normalize-live-window and resize-window.
9620 (enlarge-window-horizontally, shrink-window-horizontally):
9621 Rename argument to DELTA.
6198ccd0
MR
9622 (window-buffer-height): New function.
9623 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9624 Rewrite using new window resize routines.
2b75be67
SM
9625 (kill-buffer-and-window, mouse-autoselect-window-select):
9626 Use ignore-errors instead of condition-case.
6198ccd0
MR
9627 (quit-window): Call delete-frame instead of delete-windows-on
9628 for the only buffer on frame.
9629
9397e56f
MR
96302011-06-10 Martin Rudalics <rudalics@gmx.at>
9631
9632 * loadup.el (top-level): Load window before files for the sake
9633 of replace-buffer-in-windows.
9634
9635 * files.el (read-buffer-to-switch)
9636 (switch-to-buffer-other-window)
2b75be67
SM
9637 (switch-to-buffer-other-frame, display-buffer-other-frame):
9638 Move to window.el.
9397e56f
MR
9639
9640 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9641 (previous-buffer): Move to window.el.
9642
9643 * bindings.el (unbury-buffer): Move to window.el.
9644
9645 * window.el (delete-other-windows-vertically): Move after
9646 definition of delete-other-windows.
9647 (other-window, delete-windows-on, replace-buffer-in-windows):
9648 Move here from window.c.
9649 (record-window-buffer, unrecord-window-buffer)
9650 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9651 (switch-to-next-buffer): New functions.
9652 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9653 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9654 (previous-buffer): Move here from simple.el.
9655 Call switch-to-prev-buffer.
9397e56f
MR
9656 (bury-buffer): Move here from buffer.c. Switch to previous
9657 buffer when window cannot be deleted.
9658 (unbury-buffer): Move here from bindings.el.
9659 (ctl-x-map): Move binding for other-window from window.c to
9660 here.
9661 (read-buffer-to-switch, switch-to-buffer-other-window)
9662 (switch-to-buffer-other-frame): Move here from files.el.
9663 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9664 (switch-to-buffer): Move here from buffer.c.
9665 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9666
562dd5e9
MR
96672011-06-10 Martin Rudalics <rudalics@gmx.at>
9668
9669 * window.el (window-min-height, window-min-width): Move here
9670 from window.c. Add defcustoms and rewrite doc-strings.
9671 (resize-mini-window, resize-window): New functions.
9672 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9673 Move here from window.c.
9674 (maximize-window, minimize-window): New functions.
9675 (delete-window, delete-other-windows, split-window): Move here
9676 from window.c.
9677 (window-split-min-size): New function.
9678 (split-window-keep-point): Mention split-window-above-each-other
9679 instead of split-window-vertically.
2b75be67 9680 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9681 Rename split-window-vertically to split-window-above-each-other
9682 and provide defalias for old definition.
9683 (split-window-side-by-side, split-window-horizontally):
9684 Rename split-window-horizontally to split-window-side-by-side
9685 and provide defalias for the old definition.
562dd5e9
MR
9686 (ctl-x-map): Move bindings for delete-window,
9687 delete-other-windows and enlarge-window here from window.c.
9688 Replace bindings for split-window-vertically and
9689 split-window-horizontally by bindings for
9690 split-window-above-each-other and split-window-side-by-side.
9691
9692 * cus-start.el (all): Remove entries for window-min-height and
9693 window-min-width. Add entries for window-splits and
9694 window-nest.
9695
f0da764a
GM
96962011-06-09 Glenn Morris <rgm@gnu.org>
9697
80675c21
GM
9698 * calendar/appt.el (appt-mode-line): New function.
9699 (appt-check, appt-disp-window): Use it.
9700
f0da764a
GM
9701 * files.el (hack-one-local-variable-eval-safep):
9702 Allow minor-modes with explicit +/-1 arguments.
9703
59f623b7
TZ
97042011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9705
9706 * term/xterm.el (xterm): Add defgroup.
9707 (xterm-extra-capabilities): Add defcustom to supply known xterm
9708 capabilities, skip querying them, or query them (default).
9709 (terminal-init-xterm): Use it.
9710 (terminal-init-xterm-modify-other-keys): New function to set up
9711 modifyOtherKeys support to simplify `terminal-init-xterm'.
9712
9aab8e0d
MR
97132011-06-09 Martin Rudalics <rudalics@gmx.at>
9714
9715 * window.el (resize-window-reset, resize-window-reset-1)
9716 (resize-subwindows-skip-p, resize-subwindows-normal)
9717 (resize-subwindows, resize-other-windows, resize-this-window)
9718 (resize-root-window, resize-root-window-vertically)
9719 (window-deletable-p, window-or-subwindow-p)
9720 (frame-root-window-p): New functions.
9721
e8b08aee
GM
97222011-06-09 Glenn Morris <rgm@gnu.org>
9723
9724 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9725 (ange-ftp-get-files): Use it.
9726
254c37a5
AK
97272011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9728
9729 * mail/sendmail.el (mail-recover-1, mail-recover):
9730 * files.el (recover-file, recover-session):
9731 Handle dired-listing-switches not being just a single short option.
9732
35d7dbd3
GM
97332011-06-09 Glenn Morris <rgm@gnu.org>
9734
9735 * calendar/appt.el (appt-display-message, appt-disp-window):
9736 Handle lists of appointments.
9737
387522b2
MR
97382011-06-08 Martin Rudalics <rudalics@gmx.at>
9739
2b75be67
SM
9740 * window.el (one-window-p): Move down in code.
9741 Rewrite doc-string.
9742 (window-current-scroll-bars): Rewrite doc-string.
9743 Normalize live window argument.
387522b2
MR
9744 (walk-windows, get-window-with-predicate, count-windows):
9745 Rewrite doc-string. Use window-list-1.
9746 (window-in-direction-2, window-in-direction, get-mru-window):
9747 New functions.
9748
d8e4b68b 97492011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9750
9751 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9752 Doc fix (Bug#8713).
9753
97542011-06-08 Chong Yidong <cyd@stupidchicken.com>
9755
9756 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9757
97582011-06-08 Juanma Barranquero <lekktu@gmail.com>
9759
9760 * loadhist.el (unload-feature-special-hooks):
9761 Add `comint-output-filter-functions'.
9762
0de12c52
IK
97632011-06-08 Ivan Kanis <gnu@kanis.fr>
9764
9765 * calendar/appt.el (appt-check): Move some initializations into the let.
9766
f3d1777e
MR
97672011-06-08 Martin Rudalics <rudalics@gmx.at>
9768
9769 * window.el (window-height): Defalias to window-total-height.
9770 (window-width): Defalias to window-body-width.
9771
18af70d0
CY
97722011-06-07 Chong Yidong <cyd@stupidchicken.com>
9773
9774 * image-mode.el (image-toggle-animation): New command.
9775 (image-mode-map): Bind it to RET.
9776 (image-mode): Update message.
9777 (image-toggle-display-image): Avoid a spurious cache flush.
9778 (image-transform-rotation): Doc fix.
9779 (image-transform-properties): Return quickly in the normal case.
9780 (image-animate-loop): Rename from image-animate-max-time.
9781
2b75be67 9782 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9783 (create-animated-image): Remove unnecessary function.
9784 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9785 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9786 (image-animate-timer): Use car-safe.
9787 (image-animate-timeout): Rename argument.
9788
190b47e6
MR
97892011-06-07 Martin Rudalics <rudalics@gmx.at>
9790
9791 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9792 window.c. Rename first argument to ALL-FRAMES.
9793 Rephrase doc-strings.
9794 (get-buffer-window-list): Rewrite using window-list-1.
9795 Rephrase doc-string.
a1511caf
MR
9796 (window-safe-min-height, window-safe-min-width): New constants.
9797 (window-size-ignore, window-min-size, window-min-size-1)
9798 (window-sizable, window-sizable-p, window-size-fixed-1)
9799 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9800 (window-max-delta-1, window-max-delta, window-resizable)
9801 (window-resizable-p, window-total-height, window-total-width)
9802 (window-body-width): New functions.
9803 (window-full-height-p, window-full-width-p): Rewrite using
9804 window-total-size.
9805 (window-body-height): Rewrite using window-body-size.
190b47e6 9806
85cc1f11
MR
98072011-06-06 Martin Rudalics <rudalics@gmx.at>
9808
9809 * window.el (window-right, window-left, window-child)
9810 (window-child-count, window-last-child, window-any-p)
9811 (normalize-live-buffer, normalize-live-frame)
9812 (normalize-any-window, normalize-live-window)
9813 (window-iso-combination-p, window-iso-combined-p)
9814 (window-iso-combinations)
9815 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9816 (windows-with-parameter, window-with-parameter)
9817 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9818 (window-atom-check, window-side-check, window-check):
9819 New functions.
85cc1f11
MR
9820 (ignore-window-parameters, window-sides, window-sides-vertical)
9821 (window-sides-slots): New variables.
9822 (window-size-fixed): Move down in code. Minor doc-string fix.
9823
e7156492
AS
98242011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9825
9826 * comint.el (comint-dynamic-complete-as-filename)
9827 (comint-dynamic-complete-filename): Correctly call
9828 completion-in-region.
9829
7e821d0d
DD
98302011-06-05 Deniz Dogan <deniz@dogan.se>
9831
9832 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9833 in last change.
9834
ac09b8a1
DD
98352011-06-05 Deniz Dogan <deniz@dogan.se>
9836
9837 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9838 (rcirc): Use it to prompt for encryption.
9839
34699b85
RW
98402011-06-05 Roland Winkler <winkler@gnu.org>
9841
9842 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9843 (bibtex-search-entries): New command bound to C-c C-a.
9844 (bibtex-display-entries): New function.
9845
004dedd3
RW
98462011-06-05 Roland Winkler <winkler@gnu.org>
9847
9848 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9849 (bibtex-insert-kill): After yanking insert newline if necessary.
9850 (bibtex-initialize): Call bibtex-string-files-init only once.
9851 (bibtex-mode): Do not call easy-menu-add.
9852 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9853 (bibtex-yank): Set arg properly if nil.
9854
022fe7ce
RW
98552011-06-05 Roland Winkler <winkler@gnu.org>
9856
2b75be67
SM
9857 * textmodes/bibtex.el (bibtex-search-entry-globally):
9858 New variable.
022fe7ce
RW
9859 (bibtex-search-entry): Use it.
9860
b7c3692a
RW
98612011-06-05 Roland Winkler <winkler@gnu.org>
9862
9863 * textmodes/bibtex.el (bibtex-entry-format): New option
9864 sort-fields.
9865 (bibtex-format-entry, bibtex-reformat): Honor this option.
9866 (bibtex-parse-entry): Return fields in proper order.
9867
8eda563d
JB
98682011-06-05 Juanma Barranquero <lekktu@gmail.com>
9869
9870 * doc-view.el (doc-view-remove-if): Move computation of result out
9871 of `dolist' to silence misleading lexical-binding warning.
9872
7dbe3dbc
CY
98732011-06-04 Chong Yidong <cyd@stupidchicken.com>
9874
9875 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9876 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9877
0c33dd17
MA
98782011-06-04 Michael Albinus <michael.albinus@gmx.de>
9879
9880 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9881 "SunOS 5.10".
9882
f8f91c2b
MA
98832011-06-04 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9886 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9887 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9888 (tramp-parse-putty):
9889 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9890 (tramp-completion-function-alist-ssh)
9891 (tramp-completion-function-alist-telnet)
9892 (tramp-completion-function-alist-su)
9893 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9894 cookie.
9895
9896 * net/tramp-ftp.el:
9897 * net/tramp-sh.el:
9898 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9899 load "tramp.el" `tramp-set-completion-function'.
9900
e17d9003
SM
99012011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * shell.el: Require and use pcomplete.
9904 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9905 (shell-completion-vars): Set pcomplete-default-completion-function.
9906
6c4cab03
DD
99072011-06-04 Deniz Dogan <deniz@dogan.se>
9908
9909 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9910 `memq' (Bug#8799).
9911
ea9fafe0
SM
99122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9915
b3e945d3
JB
99162011-06-02 Juanma Barranquero <lekktu@gmail.com>
9917
9918 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9919 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9920 * vc/log-view.el (log-view-beginning-of-defun):
9921 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9922 (smerge-refine-forward, smerge-refine-chopup-region):
9923 Silence warning for unused `dotimes' counter variables.
9924
7d520089
SM
99252011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 * net/tramp.el (tramp-with-progress-reporter): Rename from
9928 with-progress-reporter. Use `declare'.
9929 * net/tramp-smb.el:
9930 * net/tramp-sh.el:
9931 * net/tramp-gvfs.el: Update all uses.
9932
a1c2400f
JB
99332011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9934
9935 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9936 buffer isn't killed before making it current.
9937
2403c841
SM
99382011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9939
9940 Silence various byte-compiler warnings.
9941 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9942 `access-type' and new obsolescence format.
9943 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9944 new format.
9945 (byte-compile-check-variable): New `access-type' argument.
9946 Only warn if the access-type is obsolete.
9947 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9948 (byte-compile-variable-set): Adjust callers.
9949 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9950 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9951 setting it as obsolete.
9952 * simple.el (minibuffer-completing-symbol):
9953 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9954 access as obsolete.
9955 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9956 obsolete yet.
9957 * international/quail.el (quail-mouse-choose-completion): Remove unused
9958 code referring to obsolete var.
9959 (quail-choose-completion-string): Remove.
9960 * server.el (server-clients-with, server-kill-buffer-query-function)
9961 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9962 * proced.el (proced-send-signal):
9963 * emacs-lisp/lisp.el (lisp-complete-symbol):
9964 Replace completion-annotate-function with completion-extra-properties.
9965
2462470b
SM
99662011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9967
fb5b2591
SM
9968 * simple.el (goto-line): Use read-number.
9969 (overriding-map-is-bound): Remove.
9970 (saved-overriding-map): Change default.
9971 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9972 Take the map as argument.
9973 (universal-argument, negative-argument, digit-argument): Use it.
9974 (restore-overriding-map): Adjust.
9975 (do-auto-fill): Use fill-forward-paragraph.
9976 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9977
fd6fa53f
SM
9978 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9979 (minibuffer-inactive-mode): New major mode.
9980 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9981 the *Messages* buffer" hack.
9982 (mouse-popup-menubar): Don't burp if the event is a normal key.
9983
2462470b
SM
9984 Miscellaneous tweaks.
9985 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9986 lexical scoping as in subr.el's dolist and dotimes.
9987 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9988 Silence compiler warning.
9989 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9990 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9991 * international/ccl.el (ccl-compile): Trivial simplification.
9992 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9993 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9994 `printflag' argument.
9995 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9996 Purecopy the whole obsolescence data.
9997
108bf785
LL
99982011-06-01 Leo Liu <sdl.web@gmail.com>
9999
10000 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10001 improve doc-string as suggested by Marco Pessotto
10002 <melmothx@gmail.com>.
10003 (rcirc-print): Fix last change.
10004
30a23501
SM
100052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * minibuffer.el (complete-with-action): Return nil for the metadata and
10008 boundaries of non-functional tables.
10009 (completion-table-dynamic): Return nil for the metadata.
10010 (completion-table-with-terminator): Add default case, using
10011 complete-with-action.
10012 (completion--metadata): New function.
10013 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10014 to try and avoid pathological performance problems.
10015 (completion--embedded-envvar-table): Return `category' metadata.
10016
bcd54f83
LMI
100172011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10018
10019 * subr.el (process-alive-p): New tiny convenience function.
10020
e227544d
SM
100212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10022
10023 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10024 content but also its previous major mode.
10025
e8296fdc
HE
100262011-05-31 Helmut Eller <eller.helmut@gmail.com>
10027
4d61f28d 10028 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10029 *Backtrace* buffer when we exit with C-M-c.
10030
620c53a6
SM
100312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10032
10033 * minibuffer.el: Add metadata method to completion tables.
10034 (completion-category-overrides): New defcustom.
10035 (completion-metadata, completion--field-metadata)
10036 (completion-metadata-get, completion--styles)
10037 (completion--cycle-threshold): New functions.
10038 (completion-try-completion, completion-all-completions):
10039 Add `metadata' argument to choose completion-styles.
10040 (completion--do-completion): Use metadata to choose cycling.
10041 (completion-all-sorted-completions): Use metadata for sorting.
10042 Remove :completion-cycle-penalty which is not needed any more.
10043 (completion--try-word-completion): Add `metadata' argument.
10044 (minibuffer-completion-help): Check metadata for annotation function
10045 and sorting.
10046 (completion-file-name-table): Return `category' metadata.
10047 (minibuffer-completing-file-name): Make obsolete.
10048 * simple.el (minibuffer-completing-symbol): Make obsolete.
10049 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10050 completion-try-completion.
10051
1257e755
SM
100522011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10055
3767e706
LL
100562011-05-30 Leo Liu <sdl.web@gmail.com>
10057
10058 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10059 (rcirc-print): Decode all incoming messages (bug#8744).
10060 (rcirc-decode-coding-system): Allow value nil for automatic coding
10061 system detection.
3767e706 10062
d1a5d56a
GM
100632011-06-01 Glenn Morris <rgm@gnu.org>
10064
10065 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10066
e8cbec34
CY
100672011-05-29 Chong Yidong <cyd@stupidchicken.com>
10068
10069 * image.el (image-animate-max-time): Allow nil and t values.
10070 Default to nil.
10071 (create-animated-image): Doc fix.
10072 (image-animate-start): Remove second arg; just use
10073 image-animate-max-time.
10074 (image-animate-timeout): Doc fix. Args changed.
10075
10076 * image-mode.el (image-toggle-display-image): Ensure that the
10077 image spec passed to the animate timer is the same object as in
58179cce 10078 the buffer's display property (Bug#6981).
e8cbec34
CY
10079 (image-transform-properties): Doc fix.
10080
10081 * image.el (image-animate-max-time): Default to nil.
10082
159daf87
MR
100832011-05-29 Martin Rudalics <rudalics@gmx.at>
10084
10085 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10086 entire buffer list (Bug#8184).
10087
d66c4c7c
CY
100882011-05-29 Chong Yidong <cyd@stupidchicken.com>
10089
10090 * image.el (imagemagick-types-inhibit)
10091 (imagemagick-register-types): Doc fix.
10092
80aec780
DD
100932011-05-29 Deniz Dogan <deniz@dogan.se>
10094
10095 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10096 default.
10097
1dd3c2d9
CY
100982011-05-29 Chong Yidong <cyd@stupidchicken.com>
10099
10100 * select.el: Don't perform clipboard-manager saving in hooks;
10101 leave the hooks empty.
10102
60e56523
LL
101032011-05-28 Leo Liu <sdl.web@gmail.com>
10104
10105 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10106 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10107 (occur-edit-mode): New major mode (Bug#8463).
10108 (occur-after-change-function): New function.
10109 (occur-engine): Give Occur tags a read-only property.
10110
2b1e1a22
KR
101112011-05-28 Kevin Ryde <user42@zip.com.au>
10112
10113 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10114
5d344e88
CY
101152011-05-28 Chong Yidong <cyd@stupidchicken.com>
10116
8e6ca83d
CY
10117 * bindings.el (help-echo): Make the initial non-indicator dash
10118 empty on graphical terminals (Bug#7295).
10119
5d344e88
CY
10120 * files.el (auto-mode-alist): Move config rule after the
10121 in-stripping one (Bug#8547).
10122
bfbbace7
CY
10123 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10124
fbeba6e2
CY
10125 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10126 setting (Bug#8740).
10127
60ed8c72
AA
101282011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10129
4ac619f0
AA
10130 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10131 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10132 (Bug#8539).
60ed8c72 10133
23db196e
CY
101342011-05-28 Chong Yidong <cyd@stupidchicken.com>
10135
10136 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10137
5012f24c
DK
101382011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10139
10140 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10141 (hs-hide-block-at-point, hs-find-block-beginning)
10142 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10143 (Bug#8279).
10144
6a639b16
GM
101452011-05-28 Glenn Morris <rgm@gnu.org>
10146
10147 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10148
d43eaf2c
CY
101492011-05-28 Chong Yidong <cyd@stupidchicken.com>
10150
5199bde1
CY
10151 * help-fns.el (describe-function-1): If the function is a derived
10152 major mode, print the parent mode.
10153
d43eaf2c
CY
10154 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10155 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10156
423428a8
SM
101572011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10158
0ff8e1ba 10159 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10160 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10161 * progmodes/etags.el (tags-completion-at-point-function):
10162 * info-look.el (info-lookup-completions-at-point): Mark as
10163 non-exclusive.
10164 (info-complete): Adjust accordingly.
10165
423428a8
SM
10166 * info-look.el: Convert to lexical-binding and completion-at-point.
10167 (info-lookup-completions-at-point): New function.
10168 (info-complete): Use it and completion-in-region.
10169
b74aa22b
DA
101702011-05-28 Drew Adams <drew.adams@oracle.com>
10171
10172 * isearch.el: Let M-e start with point at the first mismatched char.
10173 (isearch-fail-pos): New function.
10174 (isearch-edit-string): Use it.
10175
66e2e71d
DK
101762011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10177
10178 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10179
b1890b0f 101802011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10181
10182 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10183 traversal functions for avl-trees.
10184 (avl-tree--stack): New struct.
10185 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10186 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10187 (avl-tree--do-enter): Add optional `updatefun' arg.
10188 Change return value.
eb95d01d 10189 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10190 (avl-tree--do-delete): Add `test' and `nilflag' args.
10191 Change return value.
eb95d01d
TC
10192 (avl-tree-member): Add optional `nilflag'
10193 (avl-tree-member-p): New function.
10194 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10195 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10196 (avl-tree-stack-empty-p): New functions.
10197
3769ddcf
TC
10198 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10199 avl-tree--del-balance1 and make it work both ways.
10200 (avl-tree--del-balance2): Remove.
10201 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10202 make it work both ways.
10203 (avl-tree--enter-balance2): Remove.
10204 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10205 New macros.
10206 (avl-tree--mapc, avl-tree-map): Add direction argument.
10207
eb95d01d 102082011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10209
10210 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10211
a9f737ee
CY
102122011-05-27 Chong Yidong <cyd@stupidchicken.com>
10213
10214 * select.el: Support clipboard managers with built-in function
10215 x-clipboard-manager-save, via delete-frame-functions and
10216 kill-emacs-hook.
10217 (xselect-convert-to-targets): Add MULTIPLE target to list.
10218 (xselect-convert-to-save-targets): New function.
10219
c92a1e54
KH
102202011-05-27 Kenichi Handa <handa@m17n.org>
10221
10222 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10223 let-binding rfc2047-encode-encoded-words to nil.
10224
e145f188
GM
102252011-05-27 Glenn Morris <rgm@gnu.org>
10226
5ec8a862
GM
10227 * mail/emacsbug.el: Don't require url-util.
10228
4b29d9fb
GM
10229 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10230
e145f188
GM
10231 * files.el (set-auto-mode):
10232 Also respect mode: entries at the end of the file. (Bug#8586)
10233
7d15102b
GM
102342011-05-26 Glenn Morris <rgm@gnu.org>
10235
98f593b8
GM
10236 * files.el (hack-local-variables-prop-line, hack-local-variables):
10237 Downcase mode names, as seems to be traditional.
27b48e63 10238 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10239
7d15102b
GM
10240 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10241 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10242
51d5b4ec
JD
102432011-05-25 Julien Danjou <julien@danjou.info>
10244
10245 * textmodes/rst.el (rst-define-level-faces): Do not define face
10246 symbol if it is already defined.
10247
91513f63
VB
102482011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10249
10250 * play/5x5.el (5x5-new-game, 5x5-randomize):
10251 Reset 5x5-solver-output to nil when a new grid is cast.
10252 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10253 these debugging traces, as defmacro breaks the compiled code.
10254
4d90d6d0
DK
102552011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10256
10257 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10258
e1b90ef6
LL
102592011-05-24 Leo Liu <sdl.web@gmail.com>
10260
10261 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10262 (vc-bzr-sha1): Adapt.
10263
d8e4b68b 10264 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10265
10266 * bindings.el: Provide sha1 feature.
10267
db0406bb 102682011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10269
10270 * mail/sendmail.el: Require `rfc2047'.
10271 (mail-insert-from-field): Do not perform RFC2047 encoding.
10272 (mail-encode-header): New function.
10273 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10274 buffer to the return value of select-message-coding-system.
10275 Call mail-encode-header.
b8d747b9
KH
10276
10277 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10278
db0406bb 102792011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10280
4d90d6d0
DK
10281 * mail/supercite.el (sc-default-cite-frame):
10282 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10283
eb8a5e9b
GM
102842011-05-24 Glenn Morris <rgm@gnu.org>
10285
f8630703
GM
10286 * progmodes/python.el (brm-menu): Declare.
10287
8831bbed
GM
10288 * emulation/viper.el (viper-set-hooks): Declare.
10289
eb8a5e9b
GM
10290 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10291 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10292 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10293 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10294 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10295 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10296
a2a25d24
SM
102972011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10298
10299 Add an :exit-function for completion-at-point.
10300
10301 * minibuffer.el (completion--done): New fun.
10302 (completion--do-completion): Use it. New arg `expect-exact'.
10303 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10304 since completion--do-completion does it for us now.
10305 (minibuffer-force-complete): Use completion--done and
10306 completion--replace. Handle sole-completion case with more care.
10307 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10308 (completion-extra-properties): New var.
10309 (completion-annotate-function): Make obsolete.
10310 (minibuffer-completion-help): Adjust accordingly.
10311 Use completion-list-insert-choice-function.
10312 (completion-at-point, completion-help-at-point):
10313 Bind completion-extra-properties.
10314 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10315 * simple.el (completion-list-insert-choice-function): New var.
10316 (completion-setup-function): Preserve it.
10317 (choose-completion): Pay attention to it, shuffle the code a bit.
10318 (choose-completion-string): New arg `insert-function'.
10319
10320 * textmodes/bibtex.el: Convert to lexical binding.
10321 (bibtex-mode-map): Use completion-at-point.
10322 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10323 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10324 (bibtex-complete): Define as obsolete alias.
10325 (bibtex-complete-internal): Remove.
10326 (bibtex-format-entry): Remove unused sub-group in regexp.
10327 * shell.el (shell--command-completion-data)
10328 (shell-environment-variable-completion):
10329 * pcomplete.el (pcomplete-completions-at-point):
10330 * comint.el (comint--complete-file-name-data): Use :exit-function
10331 instead of completion-table-with-terminator so it also works for
10332 choose-completion.
10333
e44e373d
SM
103342011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10335
4f91a816
SM
10336 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10337
782fc819
SM
10338 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10339 (bug#8710).
10340
e44e373d
SM
10341 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10342
381987c3
KM
103432011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10344
10345 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10346 customization variable and implement: If non-nil, auto-fill will
10347 be inhibited while on topic's header line.
10348
b776bc70
VB
103492011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10350
10351 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10352 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10353 always have a solution in grid size = 5 cases.
10354 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10355 (5x5-solver-output, 5x5-log-buffer): New vars.
10356 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10357 Make these variables buffer local to achieve 5x5 multi-session-ness.
10358 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10359 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10360 (5x5-solve-suggest): New funs.
10361 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10362 randomize a grid so that we ensure that there is always a solution.
10363 (5x5-make-random-grid): Allow other movement than flipping.
10364
7de88b6e
KR
103652011-05-23 Kevin Ryde <user42@zip.com.au>
10366
10367 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10368 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10369 advice and passes PREDICATE.
10370
b1ef1257
SM
103712011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10372
bbca48fe
SM
10373 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10374 byte-compile-lambda if it's actually a lambda.
10375
b1ef1257
SM
10376 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10377 Fix function quoting. Use backquote better.
10378
92a9cc65
YS
103792011-05-22 Yuanle Song <sylecn@gmail.com>
10380
10381 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10382 matching (Bug#8516).
10383
f0fb8059
JA
103842011-01-22 Jari Aalto <jari.aalto@cante.net>
10385
10386 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10387 different face (Bug#8178).
10388
d5b44c93
CY
103892011-05-22 Chong Yidong <cyd@stupidchicken.com>
10390
10391 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10392 defface (Bug#8144).
10393
79106a44
SM
103942011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10395
9c848d8a
SM
10396 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10397 funcall as well (bug#8712). Warn when performing those conversions.
10398 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10399
79106a44
SM
10400 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10401
88dfa756
GM
104022011-05-22 Glenn Morris <rgm@gnu.org>
10403
10404 * files.el (hack-local-variables-prop-line): Small simplifications.
10405 (hack-local-variables, hack-local-variables-prop-line):
10406 If MODE-ONLY, return the mode, rather than just `t'.
10407
b7cf2c79
SM
104082011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10411
3f1a8558
GM
104122011-05-21 Glenn Morris <rgm@gnu.org>
10413
7e4ccca3
GM
10414 * files.el (hack-local-variables-prop-line, hack-local-variables):
10415 If only interested in the mode, don't bother doing the other stuff.
10416
637d46ca
GM
10417 * image-mode.el (image-after-revert-hook):
10418 Redraw all frames on which the image is visible. (Bug#8567)
10419
973d955b
GM
10420 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10421
3f1a8558
GM
10422 * wid-edit.el (widget-checklist-match-inline):
10423 Fix 2011-04-19 change. (Bug#8649)
10424
96479927
SM
104252011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10426
1dcf791f
SM
10427 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10428 Also allow singlespace after single-letter capitals followed by a dot.
10429
96479927
SM
10430 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10431 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10432
35fd0881
N
104332011-05-20 Nix <nix@esperi.org.uk>
10434
10435 * files.el (basic-save-buffer-2):
10436 Fix handling of break-hardlink-on-save with non-existent files.
10437
82745640
DD
104382011-05-19 Deniz Dogan <deniz@dogan.se>
10439
10440 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10441 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10442
4a720484
GM
104432011-05-19 Glenn Morris <rgm@gnu.org>
10444
d1f21341
GM
10445 * progmodes/f90.el (f90-type-def-re):
10446 Handle "type, bind(c)". (Bug#8691)
10447
4a720484
GM
10448 * emacs-lisp/autoload.el (batch-update-autoloads):
10449 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10450
2fb0a219
MA
104512011-05-18 Michael Albinus <michael.albinus@gmx.de>
10452
10453 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10454 property for the correct connection in case of multihops.
10455
e565dd37
GM
104562011-05-18 Glenn Morris <rgm@gnu.org>
10457
c2571358 10458 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10459 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10460
e565dd37
GM
10461 Rationalize calendar handling of day and month abbrev-arrays.
10462 * calendar/calendar.el (calendar-customized-p): New function.
10463 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10464 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10465 Add :set function.
10466 (calendar-abbrev-length, calendar-day-abbrev-array)
10467 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10468 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10469 Elements may no longer be nil.
10470 (calendar-day-name, calendar-month-name):
10471 Update for changed nature of abbrev arrays.
10472 * calendar/diary-lib.el (diary-name-pattern):
10473 Update for changed nature of abbrev arrays.
10474 (diary-mark-entries-1): Update calendar-make-alist calls.
10475 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10476 * calendar/cal-html.el (cal-html-day-abbrev-array):
10477 Simply inherit from calendar-day-abbrev-array.
10478
1d99a745
SM
104792011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * progmodes/grep.el (grep-mode): Disable default
10482 compilation-directory-matcher setting (bug#8684).
10483
7c1d9aa0
MA
104842011-05-17 Michael Albinus <michael.albinus@gmx.de>
10485
10486 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10487 instead of "head" and "tail". There were problems with SunOS 5.9,
10488 and it performs better.
10489
3952e9d8
GM
104902011-05-17 Glenn Morris <rgm@gnu.org>
10491
2dd12e7f
GM
10492 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10493
e4157b9c
GM
10494 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10495 Replace obsolete function.
10496
8e249bbd
GM
10497 * shell.el (pcomplete-parse-arguments-function): Declare.
10498
3952e9d8
GM
10499 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10500 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10501 (appt-check): Doc fixes.
10502 (appt-disp-window-function, appt-delete-window-function):
10503 Remove needless special case in custom :type.
10504 (appt-display-count): Default to 0, not nil.
10505 (appt-check): Reset appt-display-count to 0, not nil.
10506
c71a0d48 105072011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10508
c71a0d48
GM
10509 * progmodes/python.el (python-font-lock-keywords):
10510 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10511
31d55be9
SM
105122011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10515
3bfacb2f
KR
105162011-05-16 Kevin Ryde <user42@zip.com.au>
10517
10518 * info-look.el (makefile-automake-mode): New setups, looking in
10519 automake manual, then makefile-mode.
10520 (makefile-mode): Remove automake manual, have it just in
10521 makefile-automake-mode since there's various things different or
10522 not relevant to plain make.
10523 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10524 believe a hypothetical automake-mode would go to makefile-mode,
10525 not the other way around.
10526
c8e83751
CY
105272011-05-15 Chong Yidong <cyd@stupidchicken.com>
10528
5e9e35cd
CY
10529 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10530 hunk-end tags (Bug#8672).
10531
c8e83751
CY
10532 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10533 vc-annotate-show-diff-revision-at-line (Bug#8671).
10534
50b23e5a
GM
105352011-05-14 Glenn Morris <rgm@gnu.org>
10536
7210a739
GM
10537 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10538 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10539 (change-log-font-lock-keywords): Also handle multiple author lines
10540 with leading tabs. (Bug#8644)
7210a739 10541
4691905a
GM
10542 * calendar/appt.el (appt-check): Rename some local variables.
10543 Some simplification/reordering.
10544
50b23e5a
GM
10545 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10546 (feedmail-sendmail-f-doesnt-sell-me-out)
10547 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10548 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10549 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10550 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10551 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10552 (feedmail-binmail-gnulinuxish-template):
10553 Rename from feedmail-binmail-linuxish-template.
10554 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10555 Use insert-buffer-substring.
10556
215cda7c
BC
105572011-05-14 Bill Carpenter <bill@carpenter.org>
10558
10559 * mail/feedmail.el (feedmail-patch-level): Increase.
10560 (feedmail-debug): New custom group.
10561 (feedmail-confirm-outgoing-timeout)
10562 (feedmail-sendmail-f-doesnt-sell-me-out)
10563 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10564 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10565 (feedmail-sender-line, feedmail-from-line)
10566 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10567 (feedmail-spray-this-address)
215cda7c
BC
10568 (feedmail-spray-address-fiddle-plex-list)
10569 (feedmail-queue-use-send-time-for-date)
10570 (feedmail-queue-use-send-time-for-message-id)
10571 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10572 (feedmail-buffer-eating-function):
10573 Doc fixes.
10574 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10575 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10576 (feedmail-message-action-scroll-down): New functions.
10577 (feedmail-queue-directory, feedmail-queue-draft-directory):
10578 Use expand-file-name.
10579 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10580 Remove C-v help entry.
10581 (feedmail-queue-buffer-file-name): New variable.
10582 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10583 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10584 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10585 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10586 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10587 (feedmail-message-action-toggle-spray)
10588 (feedmail-run-the-queue-no-prompts)
10589 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10590 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10591 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10592 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10593 (feedmail-envelope-deducer, feedmail-fiddle-from)
10594 (feedmail-fiddle-sender, feedmail-default-date-generator)
10595 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10596 (feedmail-fiddle-spray-address)
10597 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10598 (feedmail-fiddle-list-of-fiddle-plexes)
10599 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10600 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10601 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10602 Change default. Doc fix.
10603 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10604 (feedmail-binmail-linuxish-template): New constant.
10605 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10606 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10607 (feedmail-send-it): Add debug call.
10608 Use feedmail-queue-buffer-file-name, and
10609 feedmail-send-it-immediately-wrapper.
10610 (feedmail-message-action-send): Add debug call.
10611 Use feedmail-send-it-immediately-wrapper.
10612 (feedmail-queue-express-to-queue): Add debug call.
10613 Run feedmail-queue-express-hook.
10614 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10615 (feedmail-message-action-help-blat):
10616 Rename from feedmail-queue-send-edit-prompt-help-first.
10617 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10618 Check line-endings. Handle errors better.
10619 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10620 Doc fix. Add debug call.
10621 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10622 Use feedmail-queue-send-edit-prompt-inner.
10623 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10624 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10625 from feedmail-queue-send-edit-prompt.
10626 (feedmail-queue-send-edit-prompt-help)
10627 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10628 (feedmail-tidy-up-slug): Add debug call.
10629 Respect feedmail-queue-slug-suspect-regexp.
10630 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10631 (feedmail-dump-message-to-queue): Add debug call.
10632 Expand queue-directory.
10633 (feedmail-dump-message-to-queue): Change message slightly.
10634 Use feedmail-say-chatter.
10635 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10636 (feedmail-send-it-immediately-wrapper): New function.
10637 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10638 Insert empty string rather than newline. Handle full-frame case.
10639 Use catch/throw. Use feedmail-say-chatter.
10640 (feedmail-fiddle-from): Try mail-host-address.
10641 (feedmail-default-message-id-generator): Doc fix.
10642 Bind system-time-locale. Handle missing end.
10643 (feedmail-fiddle-x-mailer): Add debug call.
10644 Handle feedmail-x-mailer-line being nil.
10645 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10646 Add debug call. Use buffer-substring-no-properties.
10647 (feedmail-say-debug, feedmail-say-chatter): New functions.
10648 (feedmail-find-eoh): Give an explicit error.
10649
42c7e61e
UJ
106502011-05-13 Ulf Jasper <ulf.jasper@web.de>
10651
c2571358 10652 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10653 family from helvetica to sans.
c2571358 10654 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10655 etc/images/newsticker.
10656
c2571358 10657 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10658 family from helvetica to sans.
10659
10660 * net/newst-plainview.el (newsticker-new-item-face)
10661 (newsticker-old-item-face, newsticker-immortal-item-face)
10662 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10663 (newsticker-statistics-face): Change default family from
42c7e61e 10664 helvetica to sans.
c2571358 10665 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10666 etc/images/newsticker.
10667
10668 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10669 (newsticker--process-auto-mark-filter-match): : Tell user about
10670 auto-marking.
10671
8497a297
DV
106722011-05-13 Didier Verna <didier@xemacs.org>
10673
10674 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10675 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10676 TODO entries.
8497a297
DV
10677 (lisp-lambda-list-keyword-parameter-indentation)
10678 (lisp-lambda-list-keyword-parameter-alignment)
10679 (lisp-lambda-list-keyword-alignment): New customizable user options.
10680 (lisp-indent-defun-method): Improve docstring.
10681 (extended-loop-p): Fix comment.
10682 (lisp-indent-lambda-list-keywords-regexp): New variable.
10683 (lisp-indent-lambda-list): New function.
10684 (lisp-indent-259): Use it.
10685 (lisp-indent-defmethod): Support for more than one
10686 method qualifier and properly indent methods lambda-lists.
10687 (defgeneric): Provide a missing common-lisp-indent-function property.
10688
f278f87f
SM
106892011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10692 bounds for the empty string (bug#8667).
10693
5233edd7
GM
106942011-05-13 Glenn Morris <rgm@gnu.org>
10695
5237a44f
GM
10696 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10697
8340026c 10698 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10699 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10700
5233edd7 10701 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10702 (appt-time-msg-list): Doc fix.
a5464014 10703 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10704
92d10796
AS
107052011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10706
10707 * progmodes/ld-script.el (ld-script-keywords)
10708 (ld-script-builtins): Update keywords list.
10709
914a0ae1
SM
107102011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10711
c89be45f
SM
10712 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10713
914a0ae1
SM
10714 * shell.el (shell-completion-vars): New function.
10715 (shell-mode):
10716 * simple.el (read-shell-command): Use it.
10717 (blink-matching-open): No need for " [...]" in minibuffer-message.
10718
98dc3df3
GM
107192011-05-12 Glenn Morris <rgm@gnu.org>
10720
10721 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10722 (appt-check): Simplify.
10723
d2fc7e3d 107242011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10725
4d61f28d 10726 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10727 literal "/dev/null".
10728
d2fc7e3d 107292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10730
10731 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10732 Fix typo.
10733
d2fc7e3d 107342011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10735
3f254caa
SM
10736 * progmodes/which-func.el (which-function):
10737 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10738 which might not be defined (Bug#8260).
10739
d45885f7
GM
107402011-05-12 Glenn Morris <rgm@gnu.org>
10741
10742 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10743 Let byte-compile-initial-macro-environment always take precedence.
10744
488086f4
SM
107452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10746
10747 * net/rcirc.el: Add support for SSL/TLS connections.
10748 (rcirc-server-alist): New field `encryption'.
10749 (rcirc): Check `encryption' settings.
10750 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10751 Merge make-local-variable into `set'.
10752 (rcirc--connection-open-p): New function.
10753 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10754 the process is not a network process (e.g. running gnutls-cli).
10755 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10756 Make rcirc-(en|de)code-coding-system local here.
10757 (rcirc-mode): Merge make-local-variable into `set'.
10758 (rcirc-parent-buffer): Make permanent buffer-local.
10759 (rcirc-multiline-minor-mode): Don't do it here.
10760 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10761 there's no server buffer.
10762
7d3b9d44
GM
107632011-05-11 Glenn Morris <rgm@gnu.org>
10764
f64049c6
GM
10765 * newcomment.el (comment-kill): Prefix "unused" local.
10766
93c9df73
GM
10767 * term/w32console.el (get-screen-color): Declare.
10768
7d3b9d44
GM
10769 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10770 Handle symbol elements of byte-compile-initial-macro-environment.
10771
9e2dd53f
LL
107722011-05-10 Leo Liu <sdl.web@gmail.com>
10773
488086f4
SM
10774 * bookmark.el (bookmark-bmenu-mode-map):
10775 Bind bookmark-bmenu-search to `/'.
8b340240 10776
9e2dd53f 10777 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10778 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10779 (Footnote-unicode): New function.
10780 (footnote-style-alist): Add unicode style to the list.
10781 (footnote-style): Doc fix.
9e2dd53f 10782
79b70037
GM
107832011-05-10 Jim Meyering <meyering@redhat.com>
10784
10785 Fix doubled-word typos.
10786 * international/quail.el (quail-insert-kbd-layout): and and -> and
10787 * kermit.el: and and -> and
10788 * net/ldap.el (ldap-search-internal): to to -> to
10789 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10790 * progmodes/js.el (js-mode): and and -> and
10791 * textmodes/artist.el (artist-move-to-xy): at at -> at
10792 (artist-draw-region-trim-line-endings): if if -> if
10793 And Safetyc -> Safety.
10794 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10795
b8f82dc1 107962011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10797 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10798
10799 * files.el (hack-one-local-variable-eval-safep):
10800 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10801
4f99f44b
GM
108022011-05-10 Glenn Morris <rgm@gnu.org>
10803
10804 * calendar/diary-lib.el (diary-list-entries-hook)
10805 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10806 (diary-nongregorian-marking-hook, diary-list-entries)
10807 (diary-include-other-diary-files, diary-mark-entries)
10808 (diary-mark-included-diary-files): Doc fixes.
10809
84f29e6b
JB
108102011-05-09 Juanma Barranquero <lekktu@gmail.com>
10811
10812 * misc.el: Require tabulated-list.el during compilation.
10813
9bedd73a
CY
108142011-05-09 Chong Yidong <cyd@stupidchicken.com>
10815
488086f4
SM
10816 * progmodes/compile.el (compilation-start):
10817 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10818 (compilation-filter-hook): Doc fix.
10819
797c735c
DD
108202011-05-09 Deniz Dogan <deniz@dogan.se>
10821
10822 * wdired.el: Remove outdated installation comment. Fix usage
10823 comment.
10824
5f4b1dfe
JB
108252011-05-09 Juanma Barranquero <lekktu@gmail.com>
10826
10827 * misc.el: Implement new command `list-dynamic-libraries'.
10828 (list-dynamic-libraries--loaded-only-p): New variable.
10829 (list-dynamic-libraries--refresh): New function.
10830 (list-dynamic-libraries): New command.
10831
4c44026c
CY
108322011-05-09 Chong Yidong <cyd@stupidchicken.com>
10833
488086f4
SM
10834 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10835 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10836 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10837 higher priority to avoid clobbering by gnu.
10838
027f966d
CY
108392011-05-08 Chong Yidong <cyd@stupidchicken.com>
10840
10841 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10842 if the face has existing theme settings (Bug#8454).
10843
085f5d7d
CY
108442011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10845
488086f4
SM
10846 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10847 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10848
2a86a00c
RS
10849 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10850 special file names `.' and `..' (Bug#8259).
10851
d9c54a06
CY
108522011-05-08 Chong Yidong <cyd@stupidchicken.com>
10853
488086f4
SM
10854 * progmodes/grep.el (grep-mode-font-lock-keywords):
10855 Remove buffer-changing entries.
d9c54a06
CY
10856 (grep-filter): New function.
10857 (grep-mode): Add it to compilation-filter-hook.
10858
10859 * progmodes/compile.el (compilation-filter-hook)
10860 (compilation-filter-start): New defvars.
10861 (compilation-filter): Call compilation-filter-hook prior to
10862 updating the process mark.
10863
c4662635
SM
108642011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10867
b0512a1d
EZ
108682011-05-07 Eli Zaretskii <eliz@gnu.org>
10869
605c9376
EZ
10870 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10871 mailclient-send-it even if window-system is nil. (Bug#8595)
10872
c4662635
SM
10873 * term/w32console.el (terminal-init-w32console):
10874 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10875 background-mode. (Bug#8597)
10876
d1dc2cc2
SM
108772011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10878
10879 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10880 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10881 New functions.
10882 (defgeneric, eieio--defmethod): Use them.
10883 (eieio-defgeneric): Remove.
10884 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10885
915d1300
GM
108862011-05-07 Glenn Morris <rgm@gnu.org>
10887
a3961c3e
GM
10888 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10889 Use let rather than let*.
10890 (timeclock-find-discrep): Remove unused local.
10891
314347b9
GM
10892 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10893
915d1300
GM
10894 * calendar/appt.el (appt-time-msg-list): Doc fix.
10895
275b59b0
NF
108962011-05-06 Noah Friedman <friedman@splode.com>
10897
10898 * apropos.el (apropos-print-doc): Only use
10899 emacs-lisp-docstring-fill-column when it is bound to an integer,
10900 per that variable's documentation.
10901
6c19f744
SM
109022011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10903
10904 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10905 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10906
60f884b2
GM
109072011-05-06 Glenn Morris <rgm@gnu.org>
10908
5006e634
GM
10909 * calendar/appt.el (appt-message-warning-time): Doc fix.
10910 (appt-warning-time-regexp): New option.
10911 (appt-make-list): Respect appt-message-warning-time.
10912
548d0a63
GM
10913 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10914 New options.
10915 (diary-add-to-list): Strip comments from the displayed string.
10916 (diary-mode): Set comment-start and comment-end.
10917
60f884b2
GM
10918 * vc/diff-mode.el (smerge-refine-subst): Declare.
10919 (diff-refine-hunk): Don't require smerge-mode when compiling.
10920
989681bb
JB
109212011-05-06 Juanma Barranquero <lekktu@gmail.com>
10922
10923 * simple.el (list-processes): Return nil as the docstring says.
10924
a6bc05e1
MA
109252011-05-05 Michael Albinus <michael.albinus@gmx.de>
10926
10927 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10928 to "".
10929 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10930 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10931 determining of binary transfer. (Bug#7383)
10932
23c22e9a
MA
109332011-05-05 Michael Albinus <michael.albinus@gmx.de>
10934
c4662635
SM
10935 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10936 Fix port computation bug. (Bug#8618)
23c22e9a 10937
0bff894f
GM
109382011-05-05 Glenn Morris <rgm@gnu.org>
10939
b8296902
GM
10940 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10941
1f522ce8
GM
10942 * simple.el (shell-dynamic-complete-functions)
10943 (comint-dynamic-complete-functions): Declare.
10944
cf5bee67
GM
10945 * net/network-stream.el (gnutls-negotiate):
10946 * simple.el (tabulated-list-print): Fix declarations.
10947
10948 * progmodes/gud.el (syntax-symbol, syntax-point):
10949 Remove unnecessary and incorrect declarations.
10950
0bff894f
GM
10951 * emacs-lisp/check-declare.el (check-declare-scan):
10952 Handle byte-compile-initial-macro-environment in bytecomp.el
10953
9869b3ae
SM
109542011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 Fix earlier half-done eieio-defmethod change (bug#8338).
10957 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10958 Streamline and change calling convention.
10959 (defmethod): Adjust accordingly and simplify.
10960 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10961 new eieio--defmethod.
10962 (slot-boundp): Minor CSE simplification.
10963
9c1d5ac5
MZ
109642011-05-05 Milan Zamazal <pdm@zamazal.org>
10965
10966 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10967 (glasses-make-readable): Use glasses-separate-capital-groups.
10968
455c834e
JB
109692011-05-05 Juanma Barranquero <lekktu@gmail.com>
10970
10971 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10972 (warning-series): Doc fix.
10973 (display-warning): Don't try to create the buffer if we just found it.
10974
9ed7c8cb
CY
109752011-05-04 Chong Yidong <cyd@stupidchicken.com>
10976
10977 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10978 (autoload-find-generated-file): New function.
10979 (generate-file-autoloads): Bind generated-autoload-file to
10980 buffer-file-name.
9869b3ae
SM
10981 (update-file-autoloads, update-directory-autoloads):
10982 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10983 output file (Bug#7989).
10984 (batch-update-autoloads): Doc fix.
10985
0898ca10
JB
109862011-05-04 Juanma Barranquero <lekktu@gmail.com>
10987
10988 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10989
31dfb76c
GM
109902011-05-04 Glenn Morris <rgm@gnu.org>
10991
f330b642
GM
10992 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10993 function, so it follows changes in calendar-date-style.
10994 (diary-fancy-date-matcher): New function.
10995 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10996 (diary-fancy-font-lock-fontify-region-function):
10997 Use diary-fancy-date-pattern as a function.
10998
31dfb76c
GM
10999 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11000 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11001
48e79d6a
TZ
110022011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11003
11004 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11005 instead of positional arguments. Allow :keylist and :crlfiles
11006 arguments.
11007 (open-gnutls-stream): Call it.
11008
11009 * net/network-stream.el (network-stream-open-starttls): Adjust to
11010 call `gnutls-negotiate' with :process and :hostname arguments.
11011
dd5a5ee0
SM
110122011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11013
ef80fc09
SM
11014 * minibuffer.el (completion--message): New function.
11015 (completion--do-completion, minibuffer-complete)
11016 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11017 (completion--do-completion): Don't ignore completion-auto-help when in
11018 icomplete-mode.
11019
dd5a5ee0
SM
11020 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11021 internal encoding (e.g. tibetan zero is not whitespace).
11022 (global-whitespace-mode): Prefer save-current-buffer.
11023 (whitespace-trailing-regexp): Remove useless save-match-data.
11024 (whitespace-empty-at-bob-regexp): Minor simplification.
11025
b7d22a83
CY
110262011-05-03 Chong Yidong <cyd@stupidchicken.com>
11027
11028 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11029
5192af46
AM
110302011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11031
11032 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11033 Use `concat' to create string for insertion.
5192af46 11034
5767d190
SM
110352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11036
11037 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11038 Avoid open-line which runs post-self-insert-hook.
11039 (bibtex-fill-entry): Remove unused `end' var.
11040
bf242939
AM
110412011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11042
5767d190
SM
11043 * textmodes/ispell.el (ispell-add-per-file-word-list):
11044 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11045
25666126
LL
110462011-05-03 Leo Liu <sdl.web@gmail.com>
11047
11048 * isearch.el (isearch-yank-pop): New command.
5767d190 11049 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11050 (isearch-forward): Mention it.
11051
52d3c2d0
SM
110522011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11053
1bcace58
SM
11054 * simple.el (minibuffer-complete-shell-command): Remove.
11055 (minibuffer-local-shell-command-map): Use completion-at-point.
11056 (read-shell-command): Setup completion vars here instead.
11057 (read-expression-map): Bind TAB to symbol completion.
11058
52d3c2d0
SM
11059 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11060 error directly rather via storing it into `results'.
11061
35813471
LL
110622011-05-02 Leo Liu <sdl.web@gmail.com>
11063
11064 * vc/diff.el: Fix description.
11065
e793a940
LMI
110662011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11067
11068 * server.el (server-eval-at): New function.
11069
8de66e05
LMI
110702011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11071
11072 * net/network-stream.el (open-network-stream): Take a :nowait
11073 parameter and pass it on to `make-network-process'.
11074 (network-stream-open-plain): Ditto.
11075
dcb79f20
AS
110762011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11077
11078 * faces.el (face-spec-set-match-display): Don't match toolkit
11079 options on terminal frames.
11080
14a7fbd8
SM
110812011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11082
7eabc1be
SM
11083 * progmodes/pascal.el: Use lexical binding.
11084 (pascal-mode-map): Remove author preferences.
11085
14a7fbd8
SM
11086 * pcomplete.el (pcomplete-std-complete): Don't abuse
11087 completion-at-point.
11088
50f84510
JB
110892011-04-28 Juanma Barranquero <lekktu@gmail.com>
11090
6e087a44
JB
11091 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11092 removing code that has been dead since 1991 or so.
11093
50f84510
JB
11094 * startup.el (command-line): When warning about "_emacs", use a
11095 delayed warning to allow the user to filter it out.
11096
0ba690bd
DD
110972011-04-28 Deniz Dogan <deniz@dogan.se>
11098
11099 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11100 user has not joined.
11101
08abfaad
SM
111022011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11103
11104 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11105 aren't any completions at point.
11106
638f053a
JB
111072011-04-28 Juanma Barranquero <lekktu@gmail.com>
11108
11109 * subr.el (display-delayed-warnings): New function.
11110 (delayed-warnings-hook): New variable.
11111
8fff8daa
SM
111122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11113
08abfaad
SM
11114 * minibuffer.el (completion-at-point, completion-help-at-point):
11115 Don't presume that a given completion-at-point-function will always
11116 use the same calling convention.
11117
8fff8daa
SM
11118 * pcomplete.el (pcomplete-completions-at-point):
11119 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11120 pcomplete-seen is non-nil.
11121 (pcomplete-comint-setup): Also recognize the new comint/shell
11122 completion functions.
11123 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11124 pcomplete-seen is non-nil.
11125
841a1577 111262011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11127
841a1577 11128 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11129 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11130 the first character in the entry. This allows for code to add its
211ec907
UJ
11131 own uid to the entry.
11132 (icalendar--convert-float-to-ical): Add export of
11133 `diary-float'-entries save for those with the optional DAY
11134 argument.
11135
2a782793
DC
111362011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11137
11138 * subr.el (shell-quote-argument): Use alternate escaping strategy
11139 when we spot a variable reference in a string.
11140
0438ce91
DC
111412011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11142
11143 * cus-start.el (all): Define customization for debug-on-event.
11144
841a1577 111452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11146
11147 * subr.el (shell-quote-argument): Escape correctly under Windows.
11148
d090ed6c
SM
111492011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11152
bfd31217
MA
111532011-04-25 Michael Albinus <michael.albinus@gmx.de>
11154
d090ed6c
SM
11155 * net/tramp.el (tramp-process-actions): Add POS argument.
11156 Delete region between POS and (pos).
bfd31217 11157
d090ed6c
SM
11158 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11159 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11160 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11161
11162 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11163 position in `tramp-process-actions' call.
11164
11165 * net/trampver.el: Update release number.
11166
e92f3bd3
SM
111672011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11168
850256b5
SM
11169 * custom.el (defcustom): Obey lexical-binding.
11170
e92f3bd3
SM
11171 Fix octave-inf completion problems reported by Alexander Klimov.
11172 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11173 Inherit from octave-mode-syntax-table.
11174 (inferior-octave-mode): Set info-lookup-mode.
11175 (inferior-octave-completion-at-point): New function.
11176 (inferior-octave-complete): Use it and completion-in-region.
11177 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11178 comint-filename-completion.
11179 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11180 symbol elements which shouldn't be word elements.
11181 (octave-font-lock-keywords, octave-beginning-of-defun)
11182 (octave-function-header-regexp): Adjust regexps accordingly.
11183 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11184
cd22b309
JB
111852011-04-25 Juanma Barranquero <lekktu@gmail.com>
11186
11187 * net/gnutls.el (gnutls-errorp): Declare before first use.
11188
8b492194
TZ
111892011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11190
11191 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11192 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11193 default trustfile exists before going to use it. Add missing
5a5fa834 11194 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11195 Reported by Claudio Bley <claudio.bley@gmail.com>.
11196 (open-gnutls-stream): Add usage example.
11197
11198 * net/network-stream.el (network-stream-open-starttls): Give host
11199 parameter to `gnutls-negotiate'.
11200 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11201 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11202
841a1577 112032011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11204
cd22b309
JB
11205 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11206 Use correct match group (bug#8438).
05842630 11207
3ba7869c
CY
112082011-04-24 Chong Yidong <cyd@stupidchicken.com>
11209
512e3ae1
CY
11210 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11211 (package-menu--generate): New arg specifying packages to show.
11212 (package-menu-refresh, package-menu-execute, list-packages):
11213 Callers changed.
11214 (package-show-package-list): New function, replacing deleted
11215 package--list-packages (renamed because it is non-internal).
11216
11217 * finder.el (finder-list-matches): Use package-show-package-list
11218 instead of deleted package--list-packages.
11219
e92f3bd3
SM
11220 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11221 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11222 (vc-annotate-mode-map): Bind it to RET.
11223
7031be6d
UR
112242011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11225
11226 * progmodes/etags.el (next-file): Don't use set-buffer to change
11227 buffers (Bug#8478).
11228
4ef177aa
CY
112292011-04-24 Chong Yidong <cyd@stupidchicken.com>
11230
c8d173eb
CY
11231 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11232
4ef177aa
CY
11233 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11234 (apropos-accumulator): Doc fix.
11235 (apropos-function, apropos-macro, apropos-command)
11236 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11237 (apropos-plist): Add face property.
11238 (apropos-symbols-internal): Fix indentation.
11239 (apropos-print): Simplify help, and recognize apropos-multi-type.
11240 (apropos-print-doc): Use button-type-get to extract the button's
11241 face property. Fill docstring (Bug#8352).
11242
4ffd0d6b 112432011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11244
11245 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11246
c6c32125 11247 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11248 (mpuz-mode-map): Use mapc.
c6c32125
JB
11249 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11250 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11251 Fix typos in docstrings.
11252
58d468b4
JB
11253 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11254 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11255
6470c3c6
JB
11256 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11257
4ffd0d6b 112582011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11259
11260 * minibuffer.el (completion--do-completion): Avoid the "Next char
11261 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11262
3ad8bad0
CY
11263 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11264 mouse-2 into unread-command-events, it is interpreted correctly.
11265
71d73c9c 11266 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11267 (image-toggle-display): Doc fix.
71d73c9c 11268
841a1577 112692011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11270
4ffd0d6b
GM
11271 * textmodes/page.el (what-page): Use line-number-at-pos to
11272 calculate line number (Bug#6825).
6e1dbaa9 11273
c2fb1b60
JB
112742011-04-22 Juanma Barranquero <lekktu@gmail.com>
11275
11276 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11277 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11278 Pass argument NO-DEFAULT to `find-tag-interactive'.
11279
e02f48d7
JB
112802011-04-22 Juanma Barranquero <lekktu@gmail.com>
11281
11282 Lexical-binding cleanup.
11283
11284 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11285 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11286 * progmodes/ada-prj.el (ada-prj-initialize-values)
11287 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11288 (ada-prj-show-value):
11289 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11290 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11291 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11292 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11293 * progmodes/bug-reference.el (bug-reference-push-button):
11294 * progmodes/fortran.el (fortran-line-length):
11295 * progmodes/glasses.el (glasses-change):
11296 * progmodes/octave-mod.el (octave-fill-paragraph):
11297 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11298 (python-pdbtrack-grub-for-buffer, python-sentinel):
11299 * progmodes/sql.el (sql-save-connection):
11300 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11301 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11302 Mark unused parameters.
11303
11304 * progmodes/compile.el (compilation--flush-directory-cache)
11305 (compilation--flush-parse, compile-internal): Mark unused parameters.
11306 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11307 (compilation-next-error-function): Remove unused variable `timestamp'.
11308
11309 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11310 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11311
11312 * progmodes/dcl-mode.el (dcl-end-of-command):
11313 Remove unused variable `start'.
11314 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11315 (dcl-option-value-basic, dcl-option-value-offset)
11316 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11317 Mark unused parameters.
11318 (dcl-save-local-variable): Remove unused variable `val'.
11319 (mode): Declare.
11320
11321 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11322 Mark unused parameters.
11323 (delphi-ignore-changes): Move before first use.
11324 (delphi-charset-token-at): Remove unused variable `start'.
11325 (delphi-else-start): Remove unused variable `if-count'.
11326 (delphi-comment-block-start, delphi-comment-block-end):
11327 Remove unused variable `kind'.
11328 (delphi-indent-line): Remove unused variable `new-point'.
11329
11330 * progmodes/ebrowse.el (ebrowse-files-list)
11331 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11332 Mark unused parameters. Don't quote `lambda'.
11333 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11334 Don't quote `lambda'.
11335 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11336 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11337 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11338 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11339 Use `ignore-errors'.
11340 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11341 (ebrowse-view/find-file-and-search-pattern)
11342 (ebrowse-view/find-member-declaration/definition):
11343 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11344 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11345 Rename parameter PREFIX-ARG to PREFIX.
11346 (ebrowse-tags-read-name): Remove unused variables `start' and
11347 `member-info'.
11348 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11349 to `tags-file'.
11350
11351 * progmodes/etags.el (local-find-tag-hook): Declare.
11352 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11353 Mark unused parameters.
11354
11355 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11356 (executable-interpret): Mark unused parameter.
11357
11358 * progmodes/flymake.el (flymake-process-sentinel)
11359 (flymake-after-change-function)
11360 (flymake-create-temp-with-folder-structure)
11361 (flymake-get-include-dirs-dot): Mark unused parameters.
11362 (flymake-safe-delete-directory): Remove unused variable `err'.
11363
11364 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11365 (speedbar-timer-fn, speedbar-line-text)
11366 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11367 (speedbar-center-buffer-smartly): Declare functions.
11368 (gdb-find-watch-expression): Remove unused variable `array'.
11369 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11370 (gdb-starting): Mark unused parameters.
11371 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11372 (gdb-table-string): Remove unused variable `res'.
11373 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11374 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11375 (gdb-display-buffer): Remove unused variable `cur-size'.
11376
11377 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11378 allow lexical-binding compilation.
11379 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11380 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11381 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11382 Mark unused parameters.
11383 (gud-gdb-marker-filter): Remove unused variable `match'.
11384 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11385 lambda expressions and funcall them, instead of using `fset'.
11386
11387 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11388 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11389
11390 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11391 variable `header-beg'; use `let'.
11392
11393 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11394 `restart', `last-sexp' and `at-do'.
11395
11396 * progmodes/js.el (js--debug): Mark unused parameter.
11397 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11398 (js--splice-into-items): Remove unused variable `item'.
11399 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11400
11401 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11402 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11403 (makefile-complete): Remove unused variable `try'.
11404 (makefile-fill-paragraph, makefile-match-function-end):
11405 Mark unused parameters.
11406
11407 * progmodes/octave-inf.el (inferior-octave-complete):
11408 Remove unused variable `proc'.
11409 (inferior-octave-output-digest): Mark unused parameter.
11410
11411 * progmodes/perl-mode.el (perl-calculate-indent):
11412 Remove unused variable `err'.
11413
11414 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11415 (prolog-indent-line): Mark unused parameters.
11416 (prolog-indent-line): Remove unused variable `beg'.
11417
11418 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11419 (reporter-dont-compact-list): Declare.
11420
11421 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11422 Remove unused variable `char'.
11423 (sh-debug): Mark unused parameter.
11424 (sh-get-indent-info): Remove unused variable `start'.
11425 (sh-calculate-indent): Remove unused variable `var'.
11426
11427 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11428 (simula-electric-keyword): Remove unused variable `null'.
11429 (simula-search-backward, simula-search-forward): Remove unused
11430 variables `begin' and `end'.
11431
11432 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11433 Remove unused variable `pos'.
11434 (vera-electric-tab, vera-comment-uncomment-region):
11435 Mark unused parameters.
11436 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11437
7ede3b65
CY
114382011-04-22 Chong Yidong <cyd@stupidchicken.com>
11439
11440 * emacs-lisp/package.el (package--builtins, package-alist)
11441 (package-load-descriptor, package-built-in-p, package-activate)
11442 (define-package, package-installed-p)
11443 (package-compute-transaction, package-buffer-info)
11444 (package--push): Doc fix. Distinguish more clearly between
11445 version strings and version lists.
11446
121656e9
JB
114472011-04-21 Juanma Barranquero <lekktu@gmail.com>
11448
11449 Lexical-binding cleanup.
11450
11451 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11452 (5x5-make-mutate-best):
11453 * play/fortune.el (fortune-in-buffer):
11454 * play/gomoku.el (gomoku-init-display):
11455 * play/solitaire.el (solitaire, solitaire-do-check):
11456 * play/tetris.el (tetris-default-update-speed-function):
11457 Mark unused parameters.
11458
11459 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11460 (bubbles--shift): Remove unused variable `char-org'.
11461 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11462 (bubbles--show-images): Remove unused variable `char'.
11463
11464 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11465 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11466 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11467 (decipher-analyze-buffer): Use ?\s.
11468 (decipher-make-checkpoint): Remove unused variable `mapping'.
11469
11470 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11471
11472 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11473 Remove unused variable `result'; use `let'.
11474
11475 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11476 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11477 (gametree-children-shown-p, gametree-compute-reduced-score):
11478 Use `ignore-errors'.
11479
11480 * play/handwrite.el (ps-lpr-switches): Declare.
11481 (handwrite): Remove unused variables `pmin' and `lastp'.
11482
11483 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11484
11485 * play/landmark.el (landmark-init-display)
11486 (landmark-update-naught-weights): Mark unused parameters.
11487 (landmark-y): Remove unused variable `noise'. Simplify.
11488 (landmark-human-plays): Remove unused variable `score'.
11489
11490 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11491 (mpuz-try-proposal): Remove unused variable `game'.
11492
11493 * play/zone.el (life-patterns): Declare.
11494
80f499c7
JB
114952011-04-20 Juanma Barranquero <lekktu@gmail.com>
11496
11497 * vc/vc.el (ediff-vc-internal): Declare function.
11498
024ff170
SM
114992011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11500
c0a193ea
SM
11501 * shell.el: Use lexical-binding and std completion UI.
11502 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11503 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11504 comint-preoutput-filter-functions rather than on
11505 comint-output-filter-functions.
11506 (shell-command-completion, shell--command-completion-data)
11507 (shell-filename-completion, shell-environment-variable-completion)
11508 (shell-c-a-p-replace-by-expanded-directory): New functions.
11509 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11510 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11511 (shell-dynamic-complete-environment-variable): Use them.
11512 (shell-dynamic-complete-as-environment-variable)
11513 (shell-dynamic-complete-as-command): Remove.
11514 (shell-match-partial-variable): Match past point.
11515 * comint.el: Clean up use of completion-at-point-functions.
11516 (comint-completion-at-point): New function.
11517 (comint-mode): Use it completion-at-point-functions.
11518 (comint-dynamic-complete): Make it obsolete.
11519 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11520 (comint-c-a-p-replace-by-expanded-history): New function.
11521 (comint-dynamic-complete-functions)
11522 (comint-replace-by-expanded-history): Use it.
11523 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11524 termination strings. Try harder to avoid second try-completion.
11525 (completion-in-region-mode-map): Disable bindings that don't work yet.
11526
2dbaa080
SM
11527 * comint.el: Use lexical-binding. Require CL.
11528 (comint-dynamic-complete-functions): Use comint-filename-completion.
11529 (comint-completion-addsuffix): Tweak custom type.
11530 (comint-filename-completion, comint--common-suffix)
11531 (comint--common-quoted-suffix, comint--table-subvert)
11532 (comint--complete-file-name-data): New functions.
11533 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11534 (comint-dynamic-list-filename-completions): Use them.
11535 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11536
2dbaa080
SM
11537 * minibuffer.el (completion-in-region-mode):
11538 Keep completion-in-region-mode--predicate global.
11539 (completion-in-region--postch):
11540 Assume completion-in-region-mode--predicate is not null.
11541
c79a6f38
SM
11542 * progmodes/flymake.el (flymake-start-syntax-check-process):
11543 Obey `dir'. Simplify.
11544
024ff170
SM
11545 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11546 we're in VC after all.
11547
1c6c854e
CS
115482011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11549
11550 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11551 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11552 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11553
bed7f140
SM
115542011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11555
332e62ab
SM
11556 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11557 add sanity check.
11558
bed7f140
SM
11559 * obsolete/erc-hecomplete.el: Make obsolete.
11560 * obsolete/: Standardize obsolescence info in the header.
11561
f195c582
GM
115622011-04-20 Glenn Morris <rgm@gnu.org>
11563
11564 * calendar/solar.el (solar-horizontal-coordinates):
11565 Use the longitude argument rather than `calendar-longitude'.
11566 (solar-date-next-longitude): Remove unused locals.
11567
cb79b8c0
VJL
115682011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11569
11570 * whitespace.el: New version 13.2.1.
11571
115722011-04-20 felix <EmacsWiki> (tiny change)
11573
d8e4b68b 11574 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11575 switching between major modes on a file.
11576
602ea69d
SM
115772011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11578
11579 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11580 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11581 multi-line comments as well.
11582
06b60517
JB
115832011-04-19 Juanma Barranquero <lekktu@gmail.com>
11584
11585 Lexical-binding cleanup.
11586
11587 * arc-mode.el (archive-mode-revert):
11588 * cmuscheme.el (scheme-interactively-start-process):
11589 * custom.el (custom-initialize-delay):
11590 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11591 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11592 * emacs-lock.el (emacs-lock-clear-sentinel):
11593 * ezimage.el (defezimage):
11594 * follow.el (follow-avoid-tail-recenter):
11595 * fringe.el (set-fringe-mode-1):
11596 * generic-x.el (bat-generic-mode-compile):
11597 * help-mode.el (help-info-variable, help-do-xref)
11598 (help-mode-revert-buffer):
11599 * help.el (view-emacs-todo):
11600 * iswitchb.el (iswitchb-completion-help):
11601 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11602 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11603 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11604 * locate.el (locate-update):
11605 * longlines.el (longlines-encode-region)
11606 (longlines-after-change-function):
11607 * outline.el (outline-isearch-open-invisible):
11608 * ps-def.el (declare-function, charset-dimension, char-width)
11609 (encode-char):
11610 * ps-mule.el (ps-mule-plot-string):
11611 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11612 (recentf-edit-list-select, recentf-edit-list-validate)
11613 (recentf-open-files-action):
11614 * rect.el (delete-whitespace-rectangle-line)
11615 (rectangle-number-line-callback):
11616 * register.el (window-configuration-to-register)
11617 (frame-configuration-to-register):
11618 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11619 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11620 (xselect-convert-to-targets, xselect-convert-to-delete)
11621 (xselect-convert-to-filename, xselect-convert-to-charpos)
11622 (xselect-convert-to-lineno, xselect-convert-to-colno)
11623 (xselect-convert-to-os, xselect-convert-to-host)
11624 (xselect-convert-to-user, xselect-convert-to-class)
11625 (xselect-convert-to-name, xselect-convert-to-integer)
11626 (xselect-convert-to-atom, xselect-convert-to-identity):
11627 * subr.el (declare, ignore, process-kill-without-query)
11628 (text-clone-maintain):
11629 * terminal.el (te-get-char, te-tic-sentinel):
11630 * tool-bar.el (tool-bar-make-keymap):
11631 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11632 * type-break.el (type-break-mode, type-break-noninteractive-query):
11633 * view.el (View-back-to-mark):
11634 * wid-browse.el (widget-browse-action, widget-browse-widget)
11635 (widget-browse-widgets, widget-browse-sexp):
11636 * widget.el (define-widget-keywords):
11637 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11638 Mark unused parameters.
11639
11640 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11641 (align-areas): Remove unused variable `look'.
11642 (align-region): Remove unused variables `real-end' and `pos-list'.
11643
11644 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11645
11646 * bindings.el (mode-line-modified, mode-line-remote):
11647 Mark unused parameters.
11648 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11649
11650 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11651 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11652
11653 * comint.el (comint-history-isearch-pop-state)
11654 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11655 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11656 (comint-substitute-in-file-name): Doc fix.
11657
11658 * completion.el (cmpl-statistics-block): Mark unused parameter.
11659 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11660 (save-completions-to-file, load-completions-from-file):
11661 Remove unused local variable `e'.
11662
11663 * composite.el (compose-chars): Remove unused variable `len'.
11664 (lgstring-insert-glyph): Remove unused variable `g'.
11665 (compose-glyph-string): Remove unused variables `ascent',
11666 `descent', `lbearing' and `rbearing'.
11667 (compose-glyph-string-relative): Remove unused variables
11668 `lbearing', `rbearing' and `wadjust'.
11669 (compose-gstring-for-graphic): Remove unused variables `header',
11670 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11671 (compose-gstring-for-terminal): Remove unused variables `header'
11672 and `nchars'. Use `let', not `let*'.
11673
11674 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11675 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11676 (Custom-buffer-done, custom-buffer-create-internal)
11677 (custom-browse-visibility-action, custom-browse-group-tag-action)
11678 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11679 (widget-magic-mouse-down-action, custom-toggle-parent)
11680 (custom-add-parent-links, custom-toggle-hide-variable)
11681 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11682 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11683 (custom-face-menu-create, custom-variable-menu-create, get)
11684 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11685 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11686 (customize-apropos): Remove unused variable `tests'.
11687 (custom-group-value-create): Remove unused variable `hidden-p'.
11688 (sort-fold-case): Declare.
11689
11690 * cus-theme.el (custom-reset-standard-faces-list)
11691 (custom-reset-standard-variables-list): Declare.
11692 (customize-create-theme, custom-theme-revert, custom-theme-write)
11693 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11694 Mark unused parameters.
11695
11696 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11697
11698 * delim-col.el (delimit-columns-max): Move defvar before first use.
11699
11700 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11701 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11702
11703 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11704 (auto-insert): Declare.
11705 (desktop-restore-file-buffer): Rename desktop-* parameters;
11706 mark unused ones.
11707 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11708 (desktop-buffer): Rename desktop-* parameters.
11709
11710 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11711 (dframe-reposition-frame-xemacs, dframe-help-echo)
11712 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11713 Mark unused parameters.
11714
11715 * dired-aux.el (backup-extract-version-start, overwrite-query)
11716 (overwrite-backup-query, rename-regexp-query)
11717 (rename-non-directory-query): Declare.
11718 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11719 (dired-add-entry): Remove unused variable `orig-file-name'.
11720 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11721 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11722 `dired-copy-preserve-time' directly.
11723 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11724 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11725
11726 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11727 (dired-virtual-revert, dired-make-relative-symlink):
11728 Mark unused parameters.
11729 (manual-program): Declare.
11730 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11731 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11732 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11733
11734 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11735
11736 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11737
11738 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11739 Declare.
11740
11741 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11742
11743 * electric.el (Electric-command-loop): Rename parameter
11744 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11745
11746 * expand.el (expand-in-literal): Remove unused variable `here'.
11747
11748 * facemenu.el (facemenu-add-new-color):
11749 Remove unused variable `docstring'.
11750
11751 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11752 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11753 (face-attr-construct): Mark unused parameter. Doc fix.
11754 (read-color): Remove unused variable `hex-string'.
11755
11756 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11757 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11758 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11759 (display-buffer-other-frame): Remove unused variable `old-window'.
11760 (kill-buffer-hook): Declare.
11761 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11762 Mark unused parameters.
11763 (after-find-file): Pass 1 to `auto-save-mode', not t.
11764
11765 * files-x.el (auto-insert): Declare.
11766 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11767
11768 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11769 variable `buf'. Mark unused parameter.
06b60517
JB
11770 (find-lisp-insert-directory): Mark unused parameter.
11771
11772 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11773 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11774 (format-common-tail): Remove, unused.
11775 (format-deannotate-region): Remove unused variable `loc'.
11776 (format-annotate-region): Remove unused variable `p'.
11777 (format-annotate-single-property-change): Remove unused variables
11778 `default' and `tail'.
11779
11780 * forms.el (read-file-filter): Declare.
11781 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11782
11783 * frame.el (frame-creation-function-alist): Mark unused parameter.
11784 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11785
11786 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11787 Remove unused parameters.
11788 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11789 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11790
11791 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11792 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11793 (hfy-prepare-tag-map): Mark unused parameters.
11794 (htmlfontify-buffer): Use `called-interactively-p'.
11795
11796 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11797 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11798 (ibuffer-do-occur): Mark unused parameters.
11799 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11800 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11801
11802 * ibuffer.el: Don't quote `lambda'.
11803 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11804 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11805 Mark unused parameters.
11806
11807 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11808 (ido-completing-read): Mark unused parameters.
11809 (ido-copy-current-word): Mark unused parameters;
11810 remove unused variable `name'.
11811 (ido-sort-merged-list): Remove unused parameter `dirs'.
11812
11813 * ielm.el (ielm-input-sender): Mark unused parameter.
11814 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11815 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11816 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11817 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11818 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11819
11820 * image-dired.el (image-dired-display-thumbs): Remove unused
11821 variables `curr-file' and `count'.
11822 (image-dired-remove-tag): Remove unused variable `start'.
11823 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11824 variable `curr-file'
11825 (image-dired-rotate-original): Remove unused variable `temp-file'.
11826 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11827 Remove unused variable `file'.
11828 (image-dired-gallery-generate): Remove unused variable `curr'.
11829 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11830
11831 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11832
11833 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11834
11835 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11836
11837 * isearch.el (minibuffer-history-symbol): Declare.
11838 (isearch-edit-string): Remove unused variable `err'.
11839 (isearch-message-prefix, isearch-message-suffix):
11840 Mark unused parameters.
11841
11842 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11843
11844 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11845
11846 * makesum.el (double-column): Remove unused variable `cnt'.
11847
11848 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11849 (ido-ignore-item-temp-list): Declare.
11850
11851 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11852 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11853 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11854 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11855 `mouse-col-delta'.
11856
11857 * mouse-sel.el (mouse-extend-internal):
11858 Remove unused variable `orig-window-frame'.
11859
11860 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11861 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11862 Move declarations before first use.
11863 (pcomplete-opt): Mark unused parameters; doc fix.
11864
11865 * proced.el (proced-revert): Mark unused parameter.
11866 (proced-send-signal): Remove unused variable `err'.
11867
11868 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11869 Rename parameter PREFIX-ARG to ARG.
11870 (ps-basic-plot-string, ps-basic-plot-whitespace):
11871 Mark unused parameters.
11872
11873 * replace.el (replace-count): Define.
11874 (occur-revert-function): Mark unused parameters.
11875 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11876 (isearch-case-fold-search, isearch-string): Declare.
11877 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11878 bind `case-fold-search'. Remove unused variables `beg' and `end',
11879 and simplify.
11880 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11881 COUNT and bind `replace-count'.
11882 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11883 to COUNT.
11884
11885 * savehist.el (print-readably, print-string-length): Declare.
11886
11887 * shadowfile.el (shadow-expand-cluster-in-file-name):
11888 Remove unused variable `cluster'.
11889 (shadow-copy-file): Remove unused variable `i'.
11890 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11891 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11892 (shadow-define-literal-group, shadow-define-regexp-group)
11893 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11894
11895 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11896 (shell): Use `called-interactively-p'.
11897 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11898
11899 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11900 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11901 (delete-backward-char): Remove unused variable `ocol'.
11902 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11903 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11904 (event-apply-hyper-modifier, event-apply-shift-modifier)
11905 (event-apply-control-modifier, event-apply-meta-modifier):
11906 Mark unused parameters.
11907 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11908 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11909
11910 * speedbar.el (speedbar-ignored-directory-expressions)
11911 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11912 (speedbar-find-file, speedbar-dir-follow)
11913 (speedbar-directory-buttons-follow, speedbar-tag-find)
11914 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11915 (speedbar-buffers-line-directory, speedbar-buffer-click):
11916 Mark unused parameters.
11917 (speedbar-tag-file): Remove unused variable `mode'.
11918 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11919
11920 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11921
11922 * talk.el (talk): Remove unused variable `display'.
11923
11924 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11925 (tar-write-region-annotate): Mark unused parameter.
11926
11927 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11928 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11929 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11930 warning by another.
11931
11932 * time-stamp.el (time-stamp-string-preprocess):
11933 Remove unused variable `require-padding'.
11934
11935 * tree-widget.el (widget-glyph-enable): Declare.
11936 (tree-widget-action): Mark unused parameter.
11937
11938 * w32-fns.el (x-get-selection): Mark unused parameter.
11939 (autoload-make-program, generated-autoload-file): Declare.
11940
11941 * wdired.el (wdired-revert): Mark unused parameters.
11942 (wdired-xcase-word): Remove unused variable `err'.
11943
11944 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11945 (whitespace-help-scroll): Remove unused variable `data-help'.
11946
11947 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11948 (widget-image-insert, widget-after-change, default)
11949 (widget-default-format-handler, widget-default-notify)
11950 (widget-default-prompt-value, widget-info-link-action)
11951 (widget-url-link-action, widget-function-link-action)
11952 (widget-variable-link-action, widget-file-link-action)
11953 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11954 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11955 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11956 (widget-insert-button-action, widget-delete-button-action, visibility)
11957 (widget-documentation-link-action, widget-documentation-string-action)
11958 (widget-const-prompt-value, widget-regexp-match, symbol)
11959 (widget-coding-system-prompt-value)
11960 (widget-key-sequence-value-to-external, sexp)
11961 (widget-sexp-value-to-internal, character, vector, cons)
11962 (widget-choice-prompt-value, widget-boolean-prompt-value)
11963 (widget-color--choose-action): Mark unused parameters.
11964 (widget-item-match-inline, widget-choice-match-inline)
11965 (widget-checklist-match, widget-checklist-match-inline)
11966 (widget-group-match): Rename parameter VALUES to VALS.
11967 (widget-field-value-set): Remove unused variable `size'.
11968 (widget-color-action): Remove unused variables `value' and `start'.
11969
11970 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11971 variable `dir'. Doc fix.
06b60517
JB
11972 (windmove-find-other-window): Don't pass it.
11973
11974 * window.el (count-windows): Mark unused parameter.
11975 (bw-adjust-window): Remove unused variable `err'.
11976
11977 * woman.el (woman-file-name): Remove unused variable `default'.
11978 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11979 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11980 (global-font-lock-mode): Declare.
11981 (woman-decode-region): Mark unused parameter.
11982 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11983
11984 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11985 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11986 (x-dnd-handle-moz-url): Remove unused variable `title'.
11987 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11988
11989 * xml.el (xml-parse-tag, xml-parse-attlist):
11990 Remove unused variable `pos'.
11991
bc4f7f3d
GM
119922011-04-19 Glenn Morris <rgm@gnu.org>
11993
11994 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11995 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11996 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11997 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11998 * calendar/cal-html.el (cal-html-insert-minical):
11999 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12000 (calendar-mark-date-pattern):
12001 Prefix "unused" locals.
12002
12003 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12004 optional argument `style'.
12005
12006 * calendar/appt.el (appt-make-list):
12007 * calendar/cal-china.el (calendar-chinese-date-string):
12008 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12009 (diary-hebrew-yahrzeit):
12010 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12011 * calendar/calendar.el (calendar-generate-window):
12012 * calendar/time-date.el (time-to-days):
12013 Remove unused local variables.
12014
16a43933
CY
120152011-04-18 Chong Yidong <cyd@stupidchicken.com>
12016
12017 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12018 glyphless-char-display table.
12019 (tabulated-list-glyphless-char-display): New var.
12020
7eed1860
SS
120212011-04-18 Sam Steingold <sds@gnu.org>
12022
12023 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12024 to acknowledgments.
12025
4d2d1ccd
GM
120262011-04-17 Glenn Morris <rgm@gnu.org>
12027
12028 * calendar/diary-lib.el (diary-sexp-entry):
12029 * calendar/holidays.el (holiday-sexp):
12030 Set debug-on-error rather than the removed stack-trace-on-error.
12031
239da61d
GM
120322011-04-16 Glenn Morris <rgm@gnu.org>
12033
12034 * progmodes/f90.el: Use lexical-binding.
12035 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12036
8b05752a
SM
120372011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12038
daca8ba5
SM
12039 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12040 (mail-mode): Setup mailalias completion here instead.
12041 * mail/mailalias.el: Use lexical-binding.
12042 (pattern, mailalias-done): Declare dynamic.
12043 (mail-completion-at-point-function): New function, from mail-complete.
12044 (mail-complete): Use it.
12045 (mail-completion-expand): New function.
12046 (mail-get-names): Use it.
12047 (mail-directory, mail-directory-process, mail-directory-stream):
12048 Don't use `pattern' for lexically bound arg.
12049
6f542485
SM
12050 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12051
037e7c3f
SM
12052 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12053 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12054 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12055
8b05752a
SM
12056 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12057 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12058 (byte-interactive-p): Define them again, for use when inlining
12059 old code.
12060
49093f60
JB
120612011-04-15 Juanma Barranquero <lekktu@gmail.com>
12062
12063 * loadup.el: Use `string-to-number', not `string-to-int'.
12064
b5b8e7de
SM
120652011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12068 gud-gdb-complete-command.
12069 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12070 (gud-gdb-completion-at-point): New function.
12071 (gud-gdb-completions): Remove.
12072
f42efeb5
MA
120732011-04-14 Michael Albinus <michael.albinus@gmx.de>
12074
49093f60
JB
12075 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12076 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12077 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12078 whether `executable-find' is bound.
f42efeb5
MA
12079
12080 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12081
e240cc21
SM
120822011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * minibuffer.el (completion-in-region-mode-predicate)
12085 (completion-in-region-mode--predicate): New vars.
12086 (completion-in-region, completion-in-region--postch)
12087 (completion-in-region-mode): Use them.
12088 (completion--capf-wrapper): Also return the hook function.
12089 (completion-at-point, completion-help-at-point):
12090 Adjust and provide a predicate.
c2bd2ab0
SM
12091
12092 Preserve arg names for advice of subr and lexical functions (bug#8457).
12093 * help-fns.el (help-function-arglist): Consolidate the subr and
12094 new-byte-code cases. Add argument `preserve-names' to extract names
12095 from the docstring when needed.
12096 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12097 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12098 (ad-arglist): Use help-function-arglist's new arg.
12099 (ad-definition-type): Use cond.
12100
c183f693
JB
121012011-04-13 Juanma Barranquero <lekktu@gmail.com>
12102
06641a47
JB
12103 * autorevert.el (auto-revert-handler):
12104 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12105 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12106 Don't quote lambda.
12107
c183f693
JB
12108 * image-mode.el (image-transform-set-scale):
12109 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12110
1e3b6001
G
121112011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12112
12113 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12114 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12115 Upgrades via gnutls-cli are too slow to be done opportunistically.
12116
2d6af8dd
JB
121172011-04-12 Juanma Barranquero <lekktu@gmail.com>
12118
12119 * dframe.el (dframe-current-frame): Remove spurious quote.
12120
c0749a51
GM
121212011-04-12 Glenn Morris <rgm@gnu.org>
12122
088d0d61
GM
12123 * calendar/cal-tex.el (cal-tex-end-document):
12124 Try to automatically use latin1 input if needed.
12125
c0749a51
GM
12126 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12127 Don't try to cons a mark onto an empty element.
12128
5c90fde0
LL
121292011-04-11 Leo Liu <sdl.web@gmail.com>
12130
12131 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12132 buffers.
12133 (ido-kill-buffer-at-head): Support killing virtual buffers.
12134
369e974d
CY
121352011-04-10 Chong Yidong <cyd@stupidchicken.com>
12136
12137 * minibuffer.el (completion-show-inline-help): New var.
12138 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12139 (minibuffer-force-complete, minibuffer-complete-word):
12140 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12141
12142 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12143 to avoid interference from inline help (Bug#5849).
12144
37f1c930
LL
121452011-04-10 Leo Liu <sdl.web@gmail.com>
12146
099c39a4
JB
12147 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12148 Fix typo.
37f1c930 12149
a32d4040
CY
121502011-04-09 Chong Yidong <cyd@stupidchicken.com>
12151
12152 * image-mode.el (image-toggle-display-image): Signal an error if
12153 not in Image mode.
12154 (image-transform-mode, image-transform-resize)
12155 (image-transform-set-rotation): Doc fix.
daca8ba5 12156 (image-transform-set-resize): Delete.
a32d4040
CY
12157 (image-transform-set-scale, image-transform-fit-to-height)
12158 (image-transform-fit-to-width): Handle image-toggle-display-image
12159 and image-transform-resize directly.
12160
099c39a4 121612011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12162
12163 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12164 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12165 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12166 (doc-view-mode-map): Add bindings for the new functions.
12167
099c39a4 121682011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12169
4d61f28d 12170 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12171 Fix typo in docstring.
12172
3726838a
EZ
121732011-04-08 Eli Zaretskii <eliz@gnu.org>
12174
04f33f1e
EZ
12175 * files.el (file-size-human-readable): Produce one digit after
12176 decimal, like "ls -lh" does.
12177
12178 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12179 the file size representation.
12180
3726838a
EZ
12181 * simple.el (list-processes): If async subprocesses are not
12182 available, error out with a clear error message.
12183
cbb59342
CY
121842011-04-08 Chong Yidong <cyd@stupidchicken.com>
12185
12186 * help.el (help-form-show): New function, to be called from C.
12187 Put help-form output in a buffer named differently than *Help*.
12188
e3971c44
EZ
121892011-04-08 Eli Zaretskii <eliz@gnu.org>
12190
12191 * files.el (file-size-human-readable): New function.
12192
12193 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12194 computing the representation inline. Don't require `cl'.
12195
12544bbe
GM
121962011-04-08 Glenn Morris <rgm@gnu.org>
12197
a1de6c6a
GM
12198 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12199
3c4671f4
GM
12200 * net/browse-url.el (browse-url-firefox):
12201 Test system-type, not system-configuration.
12202
b605679c
GM
12203 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12204 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12205 Use log-edit-empty-buffer-p. (Bug#7598)
12206
56442f0c
GM
12207 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12208 (rlogin-mode-map): Initialize in the defvar.
12209 (rlogin): Use ignore-errors.
12210
12544bbe
GM
12211 * replace.el (occur-mode-map): Some fixes for menu items.
12212
eb237b0f
AH
122132011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12214
12215 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12216
7d668f2c
CY
122172011-04-06 Chong Yidong <cyd@stupidchicken.com>
12218
e67a13ab
CY
12219 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12220 issuing unused warnings.
12221
12222 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12223 macro directly.
12224
7d668f2c
CY
12225 * simple.el: Lisp reimplement of list-processes. Based on an
12226 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12227 (process-menu-mode): New major mode.
12228 (list-processes--refresh, list-processes):
12229 (process-menu-visit-buffer): New functions.
12230
12231 * files.el (save-buffers-kill-emacs): Don't assume any return
12232 value of list-processes, which is undocumented anyway.
12233
a83ec3c9
CY
122342011-04-06 Chong Yidong <cyd@stupidchicken.com>
12235
12236 * emacs-lisp/tabulated-list.el: New file.
12237
e91a96fe
CY
12238 * emacs-lisp/package.el: Use Tabulated List mode.
12239 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12240 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12241 table format using Tabulated List mode variables.
12242 (package--push): New macro, replacing package-list-maybe-add.
12243 (package-menu--generate): Use package--push. Renamed from
12244 package--generate-package-list.
12245 (package-menu-refresh, list-packages): Use it.
daca8ba5 12246 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12247 Return insertion data instead of inserting it directly.
099c39a4
JB
12248 (package-menu-describe-package, package-menu-execute):
12249 Use tabulated-list-get-id.
e91a96fe
CY
12250 (package-menu-mark-delete, package-menu-mark-install)
12251 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12252 (package-menu-mark-obsolete-for-deletion):
12253 Use tabulated-list-put-tag.
e91a96fe
CY
12254 (package--list-packages, package-menu-revert)
12255 (package-menu-get-package, package-menu-get-version)
12256 (package-menu-sort-by-column): Functions deleted.
12257 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12258 (package-menu--status-predicate, package-menu--version-predicate)
12259 (package-menu--name-predicate)
12260 (package-menu--description-predicate): Handle arguments in the
12261 Tabulated List format.
12262 (package-list-packages-no-fetch): Call list-packages.
12263
3e214b50
JB
122642011-04-06 Juanma Barranquero <lekktu@gmail.com>
12265
12266 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12267 (after-find-file): Don't bind it.
3e214b50
JB
12268 (revert-buffer-in-progress-p): New variable.
12269 (revert-buffer): Bind it.
12270 Pass nil for `after-find-file-from-revert-buffer'.
12271
12272 * saveplace.el (save-place-find-file-hook): Use new variable
12273 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12274
3f0f1700
GM
122752011-04-06 Glenn Morris <rgm@gnu.org>
12276
c0274801
GM
12277 * Makefile.in (AUTOGEN_VCS): New variable.
12278 (autoloads): Use $AUTOGEN_VCS.
12279
3f0f1700
GM
12280 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12281 * calendar/calendar.el (calendar-mode-map):
12282 Check for toolkit scroll bars. (Bug#8305)
12283
41ea9e48
CY
122842011-04-05 Chong Yidong <cyd@stupidchicken.com>
12285
12286 * minibuffer.el (completion-in-region--postch)
12287 (completion-in-region-mode): Remove unnecessary messages.
12288
6194c800
JB
122892011-04-05 Juanma Barranquero <lekktu@gmail.com>
12290
33256f14
JB
12291 * font-lock.el (font-lock-refresh-defaults):
12292 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12293 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12294
6194c800
JB
12295 * info.el (Info-directory-list, Info-read-node-name-2)
12296 (Info-split-parameter-string): Doc fixes.
12297 (Info-virtual-nodes): Reflow docstring.
12298 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12299 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12300 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12301 Fix typos in docstrings.
12302 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12303 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12304 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12305 (Info-restore-desktop-buffer): Mark unused parameters.
12306 (Info-directory-find-file, Info-directory-find-node)
12307 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12308 (Info-virtual-index-find-node, Info-apropos-find-file)
12309 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12310 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12311 (Info-virtual-index): Remove unused local variable `nodename'.
12312
b87a8200 123132011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12314
b87a8200
DD
12315 * net/rcirc.el: Update my e-mail address.
12316 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12317
3b2ff876
CY
123182011-04-05 Chong Yidong <cyd@stupidchicken.com>
12319
12320 * startup.el (command-line): Save the cursor's theme-face
12321 directly, instead of using face-override-spec.
12322
12323 * custom.el (load-theme): Minor optimization in assigning faces.
12324
8d17e7ca
JB
123252011-04-04 Juanma Barranquero <lekktu@gmail.com>
12326
12327 * help-fns.el (describe-variable): Complete all variables having
12328 documentation, including keywords.
12329 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12330
2fbc1934
JB
123312011-04-04 Juanma Barranquero <lekktu@gmail.com>
12332
12333 Convert to lexical-binding.
12334
12335 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12336 (bs--get-marked-string, bs--get-modified-string)
12337 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12338 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12339 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12340
12341 * ehelp.el (electric-help-execute-extended)
12342 (electric-help-ctrl-x-prefix):
12343 * hexl.el (hexl-revert-buffer-function):
12344 * linum.el (linum-after-change, linum-after-scroll):
12345 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12346
12347 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12348
74f50695
DU
123492011-04-04 Daiki Ueno <ueno@unixuser.org>
12350
12351 * epa-dired.el:
12352 * epa-mail.el:
12353 * epa-hook.el:
12354 * epa-file.el:
12355 * epa.el:
12356 * epg.el: Use lexical binding.
12357
c11325f7
CY
123582011-04-03 Chong Yidong <cyd@stupidchicken.com>
12359
0d9e9a12
CY
12360 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12361
c11325f7 12362 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12363 dictionary case for flyspell-mark-duplications-exceptions.
12364 Use regexp matching for languages.
c11325f7
CY
12365 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12366 default dictionary (Bug#7926).
12367
da91b5f2
CY
123682011-04-02 Chong Yidong <cyd@stupidchicken.com>
12369
099c39a4
JB
12370 * emacs-lisp/package.el (package--with-work-buffer):
12371 Recognize https URLs.
da91b5f2 12372
099c39a4
JB
12373 * net/network-stream.el: Move from gnus/proto-stream.el.
12374 Change prefix to network-stream throughout.
da91b5f2
CY
12375 (open-protocol-stream): Merge into open-network-stream, leaving
12376 open-protocol-stream as an alias. Handle nil BUFFER args.
12377
12378 * subr.el (open-network-stream): Move to net/network-stream.el.
12379
afa8e9f6
GM
123802011-04-02 Glenn Morris <rgm@gnu.org>
12381
1d2e369d
GM
12382 * find-dired.el (find-exec-terminator): New option.
12383 (find-ls-option): Test for -ls support.
12384 (find-ls-subdir-switches): Test for -b in find-ls-option.
12385 (find-dired, find-grep-dired): Doc fixes.
12386 (find-dired): Use find-exec-terminator.
12387
8abb7da8 12388 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12389 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12390 (find-name-arg): Remove purecopy.
8abb7da8 12391
f3ca7378
GM
12392 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12393 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12394 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12395 accordingly. Don't add the null-device if not needed.
12396
afa8e9f6
GM
12397 * files.el (save-some-buffers): Doc fix.
12398
35eae264
EZ
123992011-04-02 Eli Zaretskii <eliz@gnu.org>
12400
12401 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12402
26b51db5
JB
124032011-04-01 Juanma Barranquero <lekktu@gmail.com>
12404
12405 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12406 Use `dolist' rather than `mapcar'.
12407
7200d79c
SM
124082011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12409
03408648 12410 Add lexical binding.
7200d79c 12411
03408648
SM
12412 * subr.el (apply-partially): Use new closures rather than CL.
12413 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12414 (dolist, dotimes): Use slightly different expansion for lexical code.
12415 (functionp): Move to C.
12416 (letrec): New macro.
12417 (with-wrapper-hook): Use it and apply-partially instead of CL.
12418 (eval-after-load): Preserve lexical-binding.
12419 (save-window-excursion, with-output-to-temp-buffer): Turn them
12420 into macros.
7200d79c 12421
03408648
SM
12422 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12423
12424 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12425 than the arglist.
12426 (help-add-fundoc-usage): Don't add `Not documented'.
12427 (help-function-arglist): Handle closures, subroutines, and new
12428 byte-code-functions.
12429 (help-make-usage): Remove leading underscores.
12430 (describe-function-1): Handle closures.
12431 (describe-variable): Use special-variable-p for completion.
12432
12433 * files.el (lexical-binding): Declare safe.
f488fb65 12434
03408648
SM
12435 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12436 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12437 (pcase): Add `let' pattern.
12438 Change memoization so it actually works.
12439 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12440 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12441 <let>: New case.
f488fb65 12442
03408648
SM
12443 * emacs-lisp/macroexp.el: Use lexical binding.
12444 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12445 Don't convert ' to #' without checking that it's indeed quoting
12446 a lambda.
12447
12448 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12449 Use eval-sexp-add-defvars.
03408648
SM
12450 (eval-sexp-add-defvars): New fun.
12451
12452 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12453
12454 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12455 Don't autoload.
12456 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12457 than the internal `byte-compile-lambda'.
12458 (defmethod): Don't hide code under quotes.
12459 (eieio-defmethod): New `code' argument.
12460
12461 * emacs-lisp/eieio-comp.el: Remove.
12462
12463 * emacs-lisp/edebug.el (edebug-eval-defun)
12464 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12465 (edebug-toggle): Avoid `eval'.
12466
12467 * emacs-lisp/disass.el (disassemble-internal): Handle new
12468 `closure' objects.
12469 (disassemble-1): Handle new byte codes.
12470
12471 * emacs-lisp/cl.el (pushnew): Silence warning.
12472
12473 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12474 (cl-byte-compile-throw): Remove.
12475 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12476
12477 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12478 closures.
12479
12480 * emacs-lisp/cconv.el: New file.
12481
12482 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12483 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12484 (byte-compile-initial-macro-environment):
12485 Handle declare-function here.
12486 (byte-compile--lexical-environment): New var.
12487 (byte-stack-ref, byte-stack-set, byte-discardN)
12488 (byte-discardN-preserve-tos): New lap codes.
12489 (byte-interactive-p): Don't use any more.
12490 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12491 New macros.
12492 (byte-compile-lapcode): Use them and handle new lap codes.
12493 (byte-compile-obsolete): Remove.
12494 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12495 (byte-compile-arglist-warn): Check late def of inlinable funs.
12496 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12497 since they should have been expanded by now.
12498 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12499 (byte-compile-from-buffer): Remove unused second arg.
12500 (byte-compile-preprocess): New function.
12501 (byte-compile-toplevel-file-form): New function to distinguish
12502 file-form calls from outside from file-form calls from hunk-handlers.
12503 (byte-compile-file-form): Simplify.
12504 (byte-compile-file-form-defsubst): Remove.
12505 (byte-compile-file-form-defmumble): Simplify now that
12506 byte-compile-lambda always returns a byte-code-function.
12507 (byte-compile): Preprocess.
12508 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12509 Remove, not used any more.
12510 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12511 (byte-compile-make-args-desc): New funs.
12512 (byte-compile-lambda): Handle lexical functions. Always return
12513 a byte-code-function.
12514 (byte-compile-reserved-constants): New var, to make up room for
12515 closed-over variables.
12516 (byte-compile-constants-vector): Obey it.
12517 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12518 (byte-compile-macroexpand-declare-function): New function.
12519 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12520 byte-code-functions.
12521 (byte-compile-form): Check obsolescence here.
12522 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12523 (byte-compile-variable-ref): Remove.
12524 (byte-compile-dynamic-variable-op): New fun.
12525 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12526 (byte-compile-variable-set): New funs.
12527 (byte-compile-discard): Add 2 args.
12528 (byte-compile-stack-ref, byte-compile-stack-set)
12529 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12530 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12531 macroexpand-all instead.
12532 (byte-compile-quote-form): Remove.
12533 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12534 (byte-compile-bind, byte-compile-unbind): New funs.
12535 (byte-compile-let): Handle let* and lexical binding.
12536 (byte-compile-let*): Remove.
12537 (byte-compile-catch, byte-compile-unwind-protect)
12538 (byte-compile-track-mouse, byte-compile-condition-case):
12539 Handle a new :fun-body form, used for lexical scoping.
12540 (byte-compile-save-window-excursion)
12541 (byte-compile-with-output-to-temp-buffer): Remove.
12542 (byte-compile-defun): Simplify.
12543 (byte-compile-stack-adjustment): New fun.
12544 (byte-compile-out): Use it.
12545 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12546
12547 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12548 handler any more.
12549
12550 * emacs-lisp/byte-opt.el: Use lexical binding.
12551 (byte-inline-lapcode): Remove (to bytecomp).
12552 (byte-compile-inline-expand): Pay attention to inlining to/from
12553 lexically bound code.
12554 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12555 any more.
12556 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12557 any more and don't call compiler-macros.
12558 (byte-compile-splice-in-already-compiled-code): Remove.
12559 (byte-code): Don't inline any more.
12560 (disassemble-offset): Receive `bytes' as argument rather than via
12561 dynamic scoping.
12562 (byte-compile-tag-number): Declare before first use.
12563 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12564 `return' even if make-spliceable.
12565 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12566 obsolete interactive-p.
12567 (byte-optimize-lapcode): Optimize new lap-codes.
12568 Don't trip up on new form of `byte-constant' lap code.
12569
12570 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12571
12572 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12573
12574 * custom.el (custom-initialize-default, custom-declare-variable):
12575 Use `defvar'.
12576
12577 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12578 New variables.
12579 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12580 (COMPILE_FIRST): Add macroexp and cconv.
12581 * makefile.w32-in: Mirror changes in Makefile.in.
12582
12583 * vc/cvs-status.el:
12584 * vc/diff-mode.el:
12585 * vc/log-edit.el:
12586 * vc/log-view.el:
12587 * vc/smerge-mode.el:
12588 * textmodes/bibtex-style.el:
12589 * textmodes/css.el:
12590 * startup.el:
12591 * uniquify.el:
da91b5f2
CY
12592 * minibuffer.el:
12593 * newcomment.el:
12594 * reveal.el:
12595 * server.el:
12596 * mpc.el:
12597 * emacs-lisp/smie.el:
12598 * doc-view.el:
12599 * dired.el:
03408648
SM
12600 * abbrev.el: Use lexical binding.
12601
0f0c1f27
EZ
126022011-04-01 Eli Zaretskii <eliz@gnu.org>
12603
12604 * info.el (info-display-manual): New function.
12605
c82b2579
SM
126062011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12607
12608 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12609
221ddf68
TH
126102011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12611
12612 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12613 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12614
cba6e77e
GM
126152011-03-31 Glenn Morris <rgm@gnu.org>
12616
e040639f
GM
12617 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12618
cba6e77e
GM
12619 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12620
6d0f1c9e
CS
126212011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12622
12623 * progmodes/python.el (python-default-interpreter)
12624 (python-python-command-args, python-jython-command-args)
12625 (python-which-shell, python-which-args, python-which-bufname)
12626 (python-file-queue, python-comint-output-filter-function)
12627 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12628 variables and functions.
12629
3e2d70fd
SM
126302011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12631
12632 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12633 (completion-in-region-mode): New minor mode.
12634 (completion-in-region): Use it.
12635 (completion-in-region--data, completion-in-region-mode-map): New vars.
12636 (completion-in-region--postch): New function.
12637 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12638 New vars.
12639 (completion--capf-wrapper): New function.
12640 (completion-at-point): Use it to track well-behavedness of
12641 hook functions.
12642 (completion-help-at-point): New command.
12643
f3e4086c
JM
126442011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12645
12646 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12647 syntax class to search for whitespace on a single line
12648 (Message-ID: <4D938140.4030905@redhat.com>).
12649
eb7ffc14
LL
126502011-03-30 Leo Liu <sdl.web@gmail.com>
12651
12652 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12653 New commands.
12654 (edit-abbrevs-map): Bind them here.
12655 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12656
d806ab68
KM
126572011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12658
12659 * allout.el (allout-hide-by-annotation, allout-flag-region):
12660 Reduce possibility of overlay leakage by making them volatile.
12661
12662 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12663 hash is not shared between buffers. Mode initialization is
12664 responsible for giving it a useful starting value.
12665 (allout-item-span): Reduce possibility of overlay leakage by
12666 making them volatile.
12667 (allout-widgets-count-buttons-in-region): Add diagnostic function
12668 for tracking down button overlay leaks.
12669
ea622834
LL
126702011-03-29 Leo Liu <sdl.web@gmail.com>
12671
12672 * ido.el (ido-read-internal): Use the default history var
12673 minibuffer-history if no HISTORY is specified.
12674
b62f8267
G
126752011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12676
03408648
SM
12677 * net/imap.el (imap-shell-open, imap-process-connection-type):
12678 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12679 Kerberos, SSL, other subprocesses.
12680
947b6566
LL
126812011-03-28 Leo Liu <sdl.web@gmail.com>
12682
12683 * abbrev.el (abbrev-table-empty-p): New function.
12684 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12685 nonempty ones. (Bug#5937)
12686
5ffb62aa
JD
126872011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12688
12689 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12690
7a097943
LL
126912011-03-27 Leo Liu <sdl.web@gmail.com>
12692
12693 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12694 for foreground and background colors.
12695 (ansi-color-make-color-map): Adapt.
12696
c5b40130
LL
126972011-03-25 Leo Liu <sdl.web@gmail.com>
12698
1f48f7d2
LL
12699 * midnight.el (midnight-time-float): Remove. Note it calculates
12700 the microsecond component incorrectly and seconds-to-time does the
12701 same job.
625897ec 12702 Remove redundant (require 'timer).
1f48f7d2 12703
c5b40130
LL
12704 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12705 (ido-completions): Remove unused arguments. (Bug#8329)
12706
d86d2721
SM
127072011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12708
12709 * minibuffer.el (completion--flush-all-sorted-completions):
12710 Remove itself from hook.
12711 (completion-at-point): Let the functions perform the completion
12712 immediately and return nil or t.
12713 * comint.el (comint-dynamic-complete-functions): Now identical to
12714 completion-at-point-functions.
12715 (comint-dynamic-list-input-ring): Remove unused var `index'.
12716 (comint--match-partial-filename, comint--unquote&expand-filename):
12717 New funs, split from comint-match-partial-filename.
12718 (comint-dynamic-complete): Use completion-at-point.
12719 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12720
e8974c48
DA
127212011-03-24 Drew Adams <drew.adams@oracle.com>
12722
12723 * thingatpt.el: Support `defun'.
12724
def71b5e
LL
127252011-03-23 Leo Liu <sdl.web@gmail.com>
12726
cb5af48e
LL
12727 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12728
def71b5e
LL
12729 * help-mode.el (help-mode-finish): Tweak regexp.
12730
927c53e7
GM
127312011-03-23 Glenn Morris <rgm@gnu.org>
12732
18d05bed
GM
12733 * eshell/esh-opt.el (eshell-eval-using-options):
12734 Do not bind unused local variable `eshell-option-stub'.
12735
927c53e7
GM
12736 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12737
9d0da923
JB
127382011-03-22 Juanma Barranquero <lekktu@gmail.com>
12739
12740 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12741 keymap variable in `with-no-warnings' to avoid a warning when the
12742 keymap has been already `defconst'ed.
12743
4b978a67
LL
127442011-03-22 Leo Liu <sdl.web@gmail.com>
12745
12746 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12747 encode all chars in abbrevs; otherwise use emacs-mule or
12748 utf-8-emacs. (Bug#8308)
12749
5fd62452
JB
127502011-03-22 Juanma Barranquero <lekktu@gmail.com>
12751
0b1596c6
JB
12752 * simple.el (backward-delete-char-untabify):
12753 Avoid warning about using `delete-backward-char'.
12754
5fd62452
JB
12755 * image.el (image-type-file-name-regexps): Make it variable.
12756 `imagemagick-register-types' modifies it, and the user may want
12757 to add new extensions for known image types.
12758 (imagemagick-register-types): Throw error if not using ImageMagick.
12759
0b4e93f1
LL
127602011-03-22 Leo Liu <sdl.web@gmail.com>
12761
12762 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12763 located before rcirc-prompt-end-marker.
12764 (rcirc-complete): Error if point is not after rcirc prompt.
12765 Handle the case when table is nil.
9882e214 12766 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12767
fccee4ab
CY
127682011-03-22 Chong Yidong <cyd@stupidchicken.com>
12769
12770 * custom.el (custom--inhibit-theme-enable): Make it affect only
12771 custom-theme-set-variables and custom-theme-set-faces.
12772 (provide-theme): Ignore custom--inhibit-theme-enable.
12773 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12774 (custom-enabling-themes): Delete variable.
d86d2721
SM
12775 (enable-theme): Accept only loaded themes as arguments.
12776 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12777 (custom-enabled-themes): Forbid themes from setting this.
12778 Eliminate use of custom-enabling-themes.
12779 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12780
af896da6
LL
127812011-03-21 Leo Liu <sdl.web@gmail.com>
12782
12783 * ido.el (ido-read-internal): Add ido-selected to history instead
12784 of user input.
12785
78f64af0
SM
127862011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * subr.el (deferred-action-list, deferred-action-function):
12789 Mark obsolete.
12790
b16ac1ec
LL
127912011-03-21 Leo Liu <sdl.web@gmail.com>
12792
810f7698
LL
12793 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12794 change on 2011-02-13 (bug#8309).
12795
b16ac1ec
LL
12796 * minibuffer.el (read-file-name-function): Change default value.
12797 (read-file-name--defaults): Rename from read-file-name-defaults.
12798 (read-file-name-default): Rename from read-file-name.
12799 (read-file-name): Call read-file-name-function.
12800
4e05e67e
GM
128012011-03-21 Glenn Morris <rgm@gnu.org>
12802
12803 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12804 Doc fixes.
12805
4359915b
CY
128062011-03-21 Chong Yidong <cyd@stupidchicken.com>
12807
12808 * cus-theme.el: Add missing provide statement.
12809 (customize-create-theme): Extract theme value correctly.
12810 (custom-theme-visit-theme): Autoload.
12811 (customize-create-theme): Prompt before inserting default faces.
12812
1fe275ee
JB
128132011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12814
12815 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12816 units and musical notes.
12817
cd394be1 128182011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12819
12820 * ido.el (ido-read-internal): Use completing-read-default.
12821 (ido-completing-read): Fix compatibility with completing-read.
12822
7d476bde
CO
128232011-03-20 Christian Ohler <ohler@gnu.org>
12824
12825 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12826 (ert-delete-all-tests): Use `called-interactively-p' rather than
12827 `interactive-p'.
12828 (ert--make-xrefs-region): Respect END.
12829
fe0fb33e
CY
128302011-03-19 Chong Yidong <cyd@stupidchicken.com>
12831
ff854b0b
CY
12832 * dired-aux.el (dired-create-directory): Signal an error if the
12833 directory already exists (Bug#8246).
12834
fe0fb33e
CY
12835 * facemenu.el (list-colors-display): Call list-faces-display
12836 inside with-help-window.
12837 (list-colors-print): Use display property to align the final
12838 column, instead of checking window-width.
12839
576bce32
EZ
128402011-03-19 Eli Zaretskii <eliz@gnu.org>
12841
4d61f28d 12842 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12843 windows-nt systems.
12844 (emerge-protect-metachars): Quote correctly for ms-dos and
12845 windows-nt systems.
12846
89c41d68 128472011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12848
12849 * info.el (info-initialize): Replace all uses of `:' with
12850 path-separator for compatibility with non-Unix systems.
12851 Cache quoting of path-separator. (Bug#8258)
12852
b14e3e21 128532011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12854
12855 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12856 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12857 (mouse-avoidance-mode): Fix typos in docstrings.
12858
4525ce3e
CY
128592011-03-19 Chong Yidong <cyd@stupidchicken.com>
12860
12861 * startup.el (package-subdirectory-regexp): Move from package.el.
12862 Omit \\` and \\', and let callers add them.
12863
12864 * emacs-lisp/package.el (package-strip-version)
12865 (package-load-all-descriptors): Add \\` and \\' to
12866 package-subdirectory-regexp before using it.
12867 (package-untar-buffer): New arg DIR; ensure that file untars only
12868 into this expected directory. Remove superfluous delete-region.
12869 (package-unpack): Caller changed.
12870 (package-tar-file-info): Use package-subdirectory-regexp.
12871
a904a09a 128722011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12873
a904a09a
SM
12874 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12875 diff-mode-shared-map (bug#8284).
12876 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12877
128782011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12879
12880 * calendar/time-date.el (format-seconds): Use assoc instead of
12881 assoc-string, since assoc-string doesn't exist in XEmacs.
12882
171fc304
JB
128832011-03-17 Juanma Barranquero <lekktu@gmail.com>
12884
12885 * custom.el (custom-known-themes): Reflow docstring.
12886 (custom-theme-load-path): Fix typo in docstring.
12887 (load-theme): Fix typo in error message.
12888 (custom-available-themes, custom-variable-theme-value):
12889 Use `let', not `let*'.
12890
d71990a1
JB
128912011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12892
12893 * calc/README: Mention inclusion of musical notes.
12894
12895 * calc/calc-units.el (calc-lu-quant): Rename from
12896 `calc-logunits-quantity'.
12897 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12898 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12899 (calc-db): Rename from `calc-dblevel'.
12900 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12901 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12902 (calc-np): Rename from `calc-nplevel'.
12903 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12904 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12905 (calc-lu-plus): Rename from `calc-logunits-add'.
12906 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12907 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12908 (calc-lu-minus): Rename from `calc-logunits-sub'.
12909 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12910 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12911 (calc-lu-times): Rename from `calc-logunits-mul'.
12912 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12913 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12914 (calc-lu-divide): Rename from `calc-logunits-div'.
12915 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12916 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12917
12918 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12919 functions being autoloaded.
12920
12921 * calc/calc.el (calc-lu-power-reference): Rename from
12922 `calc-logunits-power-reference'.
12923 (calc-lu-field-reference): Rename from
12924 `calc-logunits-field-reference'.
12925
7a71b18d
GM
12926 * calc/calc-help.el (calc-l-prefix-help):
12927 Mention musical note functions.
d71990a1 12928
40c2934b
SM
129292011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * minibuffer.el (completion-all-sorted-completions):
12932 Use :completion-cycle-penalty text property if present.
12933
b0911414
KM
129342011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12935
12936 * allout.el (allout-yank-processing): Adjust for new rebulleting
12937 regime so bullet being yanked is used without prompting the user
12938 for a choice.
12939
8a05b668
JB
129402011-03-16 Juanma Barranquero <lekktu@gmail.com>
12941
12942 * startup.el (command-line): Warn the user that _emacs is deprecated.
12943
5ba5fb81
JB
129442011-03-16 Juanma Barranquero <lekktu@gmail.com>
12945
12946 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12947 (delphi-verbose, delphi-comment-face, delphi-string-face)
12948 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12949 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12950 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12951 (delphi-new-comment-line, delphi-font-lock-defaults)
12952 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12953 Fix typos in docstrings.
12954
2dab465b
KM
129552011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12956
5ba5fb81 12957 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12958 Invert the roles of character and string values for INSTEAD, so a
12959 string is used for the more common case of a defaulting prompt.
12960
0adf5618
SM
129612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12962
12963 * progmodes/ruby-mode.el (ruby-backward-sexp):
12964 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12965 * play/gamegrid.el (gamegrid-make-face):
12966 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12967 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12968 * notifications.el (notifications-notify):
12969 * net/xesam.el (xesam-search-engines):
12970 * net/quickurl.el (quickurl-list-insert):
12971 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12972
d72700e5
CY
129732011-03-15 Chong Yidong <cyd@stupidchicken.com>
12974
12975 * startup.el (command-line): Update package subdirectory regexp.
12976
49c5410a
SM
129772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12978
c6eee9aa
SM
12979 * allout.el (allout-abbreviate-flattened-numbering)
12980 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12981
49c5410a
SM
12982 * subr.el (read-char-choice): Only show the cursor after the prompt,
12983 not after the answer.
12984
047b2bb9
KR
129852011-03-15 Kevin Ryde <user42@zip.com.au>
12986
12987 * help-fns.el (variable-at-point): Skip leading quotes, if any
12988 (bug#8253).
12989
0a57d256
SM
129902011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12991
12992 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12993 warning message.
12994
77c992bc
MA
129952011-03-14 Michael Albinus <michael.albinus@gmx.de>
12996
12997 * shell.el (shell): When called interactively, offer to change the
12998 shell file name on remote hosts.
12999
eebc475d
TZ
130002011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13001
13002 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13003 integration for LDAP parameters. The host, base, user or binddn,
13004 and secret tokens can be specified in a netrc file, for instance.
13005 This is optional because an `auth-source' parameter must be
13006 specified in the search attributes.
13007
9d05d1ba
JB
130082011-03-13 Juanma Barranquero <lekktu@gmail.com>
13009
13010 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13011
09d9db2c
GM
130122011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13013
13014 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13015 into declaration. Remove redundant and harmful binding.
13016
130172011-03-12 Eli Zaretskii <eliz@gnu.org>
13018
13019 * files.el (file-ownership-preserved-p): Pass `integer' as an
13020 explicit 2nd argument to `file-attributes'. If the file's owner
13021 is the Administrators group on Windows, and the current user is
13022 Administrator, consider that a match.
13023
13024 * server.el (server-ensure-safe-dir): Consider server directory
13025 safe on MS-Windows if its owner is the Administrators group while
13026 the current Emacs user is Administrator. Use `=' to compare
13027 numerical UIDs, since they could be integers or floats.
13028
219bd536
JB
130292011-03-12 Juanma Barranquero <lekktu@gmail.com>
13030
13031 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13032
f3afd36b
MA
130332011-03-12 Michael Albinus <michael.albinus@gmx.de>
13034
13035 Sync with Tramp 2.2.1.
13036
13037 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13038
13039 * net/trampver.el: Update release number.
13040
3aaaa6f1
SM
130412011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13042
94642599
SM
13043 * progmodes/compile.el (compilation--previous-directory): Fix up
13044 various nil/dead-marker mismatches (bug#8014).
13045 (compilation-directory-properties, compilation-error-properties):
13046 Don't call it at a position past the one we're about to change.
13047
3aaaa6f1
SM
13048 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13049 Disable obsolescence warnings in the file that declares it.
13050
14239447
KM
130512011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13052
099c39a4
JB
13053 * allout-widgets.el (allout-widgets-tally):
13054 Initialize allout-widgets-tally as a hash table rather than nil to
13055 prevent mode-line redisplay warnings. Also, clarify the module
13056 description and fix a comment typo.
14239447 13057
135e287c
JB
130582011-03-11 Juanma Barranquero <lekktu@gmail.com>
13059
13060 * help-fns.el (describe-variable): Don't complete keywords.
13061 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13062
ffbf300e
CY
130632011-03-10 Chong Yidong <cyd@stupidchicken.com>
13064
ba08b241
CY
13065 * emacs-lisp/package.el (package-version-join): Impose a standard
13066 string representation for pre/alpha/beta version lists.
13067 (package-unpack-single): Standardize the directory name by passing
13068 it through package-version-join.
13069 (package-strip-rcs-id): Accept any version string that does not
13070 signal an error in version-to-list.
ffbf300e 13071
f346fd6b
MA
130722011-03-10 Michael Albinus <michael.albinus@gmx.de>
13073
13074 * simple.el (delete-trailing-whitespace): Return nil for the
13075 benefit of `write-file-functions'.
13076
ccb55d27
GM
130772011-03-10 Glenn Morris <rgm@gnu.org>
13078
5ceaac0c
GM
13079 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13080
02da65ff
GM
13081 * vc/vc-git.el (vc-git-program): New option.
13082 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13083 (vc-git--call): Use it.
13084
b2f603cc
GM
13085 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13086
5772caab
GM
13087 * cus-edit.el (Custom-newline): If no button at point, look
13088 for a subgroup button at start-of-line. (Bug#2298)
13089
ccb55d27
GM
13090 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13091
ec6ecaed
JD
130922011-03-10 Julien Danjou <julien@danjou.info>
13093
13094 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13095 `cursor-type' is nil.
13096
9d5aa01d
JB
130972011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13098
13099 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13100
b6a5875b
KM
131012011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13102
7a71b18d 13103 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13104 preserves the existing header prefix, rebulleting it if necessary,
13105 rather than replacing it. This is necessary for proper operation
13106 of cooperative addons like allout-widgets.
1154d12e
JB
13107 (allout-make-topic-prefix, allout-rebullet-heading):
13108 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13109 value as alternate bullet to be used, instead of prompting the user
13110 for a bullet character.
b6a5875b 13111
ee545c35
MA
131122011-03-09 Michael Albinus <michael.albinus@gmx.de>
13113
d86d2721
SM
13114 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13115 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13116 `tramp-default-port'.
13117
c47971d7
DD
131182011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13119
13120 * net/rcirc.el (rcirc-handler-001): Remove useless
13121 with-rcirc-process-buffer.
13122 (rcirc-check-auth-status): Swap arguments to string-match.
13123
13522cb4
GM
131242011-03-09 Glenn Morris <rgm@gnu.org>
13125
0be6f4f1
GM
13126 * shell.el (shell-mode):
13127 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13128
13522cb4
GM
13129 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13130 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13131
515de2e3
CY
131322011-03-08 Chong Yidong <cyd@stupidchicken.com>
13133
13134 * emacs-lisp/package.el (package-refresh-contents)
13135 (package-menu-execute): Use condition-case-no-debug.
13136
b511b994
MA
131372011-03-08 Michael Albinus <michael.albinus@gmx.de>
13138
13139 * simple.el (shell-command-to-string): Use `process-file'.
13140
13141 * emacs-lisp/package.el (package-tar-file-info): Handle also
13142 remote files.
13143
d86d2721
SM
13144 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13145 Use `equal' for upload base check.
b511b994 13146
25bbfb31
AM
131472011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13148
13149 * textmodes/texinfo.el (texinfo-environments):
13150 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13151
be996521
GM
131522011-03-08 Glenn Morris <rgm@gnu.org>
13153
e9c8529f
GM
13154 * cus-start.el (cursor-in-non-selected-windows):
13155 Fix :set quoting oddness. (Bug#8192)
13156
be996521
GM
13157 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13158 in some setf expressions. (Bug#2159)
13159
2bb5649e
CY
131602011-03-08 Chong Yidong <cyd@stupidchicken.com>
13161
13162 * custom.el (custom-available-themes): Return themes in
13163 alphabetical order.
13164
33383987 13165See ChangeLog.15 for earlier changes.
e3d51b27
MR
13166
13167;; Local Variables:
13168;; coding: utf-8
e3d51b27
MR
13169;; End:
13170
acaf905b 13171 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13172
13173 This file is part of GNU Emacs.
13174
13175 GNU Emacs is free software: you can redistribute it and/or modify
13176 it under the terms of the GNU General Public License as published by
13177 the Free Software Foundation, either version 3 of the License, or
13178 (at your option) any later version.
13179
13180 GNU Emacs is distributed in the hope that it will be useful,
13181 but WITHOUT ANY WARRANTY; without even the implied warranty of
13182 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13183 GNU General Public License for more details.
13184
13185 You should have received a copy of the GNU General Public License
13186 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.