* lib-src/emacsclient.c (send_to_emacs): Avoid invalid strcpy
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
90207a15 12012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2
3 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4 the yanked message in preference to the default value of
5 buffer-file-coding-system.
6
90207a15 72012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad
MR
8
9 * window.el (display-buffer--action-function-custom-type): Fix
10 entry.
11
90207a15 122012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
13
14 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
15
d80ac57b
GM
162012-05-01 Glenn Morris <rgm@gnu.org>
17
976f7668
GM
18 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
19
beb83b5a
GM
20 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
21
d80ac57b
GM
22 * cus-edit.el (custom-variable-documentation): Simplify with format.
23
b593d6a9
AH
242012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * simple.el (suggest-key-bindings, execute-extended-command):
28 Move from keyboard.c.
29
782fbf2a
CY
302012-05-01 Chong Yidong <cyd@gnu.org>
31
32 * follow.el: Eliminate advice.
33 (set-process-filter, process-filter, sit-for): Advice deleted.
34 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
35 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
36 Vars deleted.
782fbf2a
CY
37 (follow-auto): Use a :set function.
38 (follow-mode): Rewritten. Don't advise process filters.
39 (follow-switch-to-current-buffer-all, follow-scroll-up)
40 (follow-scroll-down): Assume follow-mode is bound.
41 (follow-comint-scroll-to-bottom)
42 (follow-align-compilation-windows): New functions.
43 (follow--window-sorter): New function.
44 (follow-all-followers): Use it to explicitly sort windows by their
45 positions; don't make assumptions about next-window order.
46 (follow-windows-start-end, follow-delete-other-windows-and-split)
47 (follow-calc-win-start): Doc fix.
48 (follow-windows-aligned-p, follow-select-if-visible): Don't call
49 vertical-motion unnecessarily.
50 (follow-adjust-window): New function.
51 (follow-post-command-hook): Use it.
52 (follow-call-set-process-filter, follow-call-process-filter)
53 (follow-intercept-process-output, follow-tidy-process-filter-alist)
54 (follow-stop-intercept-process-output, follow-generic-filter):
55 Functions deleted.
56 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
57 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
58 New functions, replacing advice on scroll-bar-* commands.
87233a14 59 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
60
61 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
62 (comint-postoutput-scroll-to-bottom): Use it.
63 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 64
290af740
GM
652012-05-01 Glenn Morris <rgm@gnu.org>
66
67 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
68 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
69 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
70 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
71 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
72 Remove no-byte-compile setting.
73
6eac8dc9
SM
742012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * minibuffer.el (completion-table-with-quoting): Fix compatibility
77 all-completions code to not return a number in the last cdr.
78
9cc7819c
LL
792012-04-30 Leo Liu <sdl.web@gmail.com>
80
81 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
82 read-only error.
83
c93b886f
CY
842012-04-29 Chong Yidong <cyd@gnu.org>
85
86 * follow.el (follow-calc-win-end): Rewrite to handle partial
87 screen lines correctly (Bug#8390).
88 (follow-avoid-tail-recenter): Minor cleanup.
89
8b6c19f4
SM
902012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
91
92 Avoid the obsolete `assoc' package.
93 * speedbar.el (speedbar-refresh): Avoid adelete.
94 (speedbar-file-lists): Simplify and avoid aput.
95 * man.el (Man--sections, Man--refpages): New vars, replacing
96 Man-sections-alist and Man-refpages-alist.
97 (Man-build-section-alist, Man-build-references-alist):
98 Use them; avoid aput.
99 (Man--last-section, Man--last-refpage): New vars.
100 (Man-follow-manual-reference): Use them.
101 Use the `default' arg of completing-read.
102 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
103
c5bb7569
CY
1042012-04-27 Chong Yidong <cyd@gnu.org>
105
d1d2e2e8
CY
106 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
107
15cd8efd
CY
108 * startup.el (x-apply-session-resources): New function.
109
110 * term/ns-win.el (ns-initialize-window-system):
111 * term/w32-win.el (w32-initialize-window-system):
112 * term/x-win.el (x-initialize-window-system): Use it to properly
113 set menu-bar-mode and other vars from X resources, even if the
114 initial frame is not a window-system frame (Bug#2299).
115
c5bb7569
CY
116 * subr.el (read-key): Avoid running filter function when setting
117 up temporary tool bar entries (Bug#9922).
118
a8e7d6d7 1192012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
120
121 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
122 (Bug#11344)
123
a8e7d6d7 1242012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
125
126 * select.el (xselect--encode-string): New function, split from
127 xselect-convert-to-string.
128 (xselect-convert-to-string): Use it.
129 (xselect-convert-to-filename, xselect-convert-to-os)
130 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
131 returned strings are properly encoded (Bug#11315).
132
a8e7d6d7 1332012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
134
135 * simple.el (delete-active-region): Move to killing custom group.
136
a8e7d6d7 1372012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
138
139 * progmodes/which-func.el (which-func-current): Quote %
140 characters for mode-line processing.
141
578c1d4b 1422012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
143
144 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
145 reaching eob (Bug#11286).
146
a8e7d6d7 1472012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
148
149 * progmodes/gdb-mi.el (gdb-control-level): New variable.
150 (gdb): Make it buffer-local and init to zero.
151 (gdb-control-commands-regexp): New variable.
152 (gdb-send): Don't wrap in "-interpreter-exec console" if
153 gdb-control-level is positive. Increment gdb-control-level
154 whenever the command matches gdb-control-commands-regexp, and
155 decrement it each time the command is "end". (Bug#11279)
156
a8e7d6d7 1572012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
158
159 * window.el (adjust-window-trailing-edge, enlarge-window)
160 (shrink-window, window-resize):
161 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
162 windows (Bug#11276).
163
b3608390
CY
1642012-04-27 Chong Yidong <cyd@gnu.org>
165
166 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 167 fix "missing prefix" warning. All callers changed.
b3608390 168
797e6e88
SM
1692012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * emacs-lisp/assoc.el: Move to obsolete/.
172
e95a67dc
SM
1732012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
174
657c21e4 175 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
176
177 * term/ns-win.el (ns-define-service):
178 * progmodes/pascal.el (pascal-goto-defun):
179 * progmodes/js.el (js--read-tab):
180 * progmodes/etags.el (tags-lazy-completion-table):
181 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
182 * emacs-lisp/ewoc.el (ewoc--wrap):
183 * emacs-lisp/assoc.el (aput, adelete, amake):
184 * doc-view.el (doc-view-convert-current-doc):
185 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
186
cb3e7ae0
CY
1872012-04-26 Chong Yidong <cyd@gnu.org>
188
dce04f7f
CY
189 * image.el (image-type-from-buffer): Only return supported image
190 type (Bug#9045).
191
cb3e7ae0
CY
192 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
193 value, for symmetry with diff-end-of-hunk.
194 (diff-split-hunk, diff-find-source-location)
195 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
196 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
197 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
198 compute the relevant hunk or file properly (Bug#6005).
199 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
200
0d42eb3e
SM
2012012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * vc/vc-mtn.el:
204 * vc/vc-hg.el:
205 * vc/vc-git.el:
206 * vc/vc-dir.el:
207 * vc/vc-cvs.el:
208 * vc/vc-bzr.el:
209 * vc/vc-arch.el:
210 * vc/vc.el: Replace lexical-let by lexical-binding.
211 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
212 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
213 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
214
f08ae1c9
CY
2152012-04-26 Chong Yidong <cyd@gnu.org>
216
8b71081d
CY
217 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
218 (diff-mode-shared-map): Bind it to / and [remap undo].
219
f08ae1c9
CY
220 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
221 (ediff-window-setup-function): Use it as the default, to set up
222 windows based on whether the current frame is graphical (Bug#2138).
223 (ediff-choose-window-setup-function-automatically): Make obsolete.
224
225 * vc/ediff-init.el: Always define ediff-pixel-width/height.
226
ef24141c
SM
2272012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
228
cc356a5d
SM
229 * ffap.el: Remove old code for obsolete package.
230 (ffap-complete-as-file-p): Remove.
231
b4ff4f1f
SM
232 Use completion-table-with-quoting for comint and pcomplete.
233 * comint.el (comint--unquote&requote-argument)
234 (comint--unquote-argument, comint--requote-argument): New functions.
235 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
236 (comint-quote-filename): Use regexp-opt-charset.
237 (comint--common-suffix, comint--common-quoted-suffix)
238 (comint--table-subvert): Remove.
239 (comint-unquote-function, comint-requote-function): New vars.
240 (comint--complete-file-name-data): Use them with
241 completion-table-with-quoting.
242 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
243 * pcomplete.el (pcomplete-arg-quote-list)
244 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
245 (pcomplete-unquote-argument-function): Default to non-nil.
246 (pcomplete-unquote-argument): Simplify.
247 (pcomplete--common-quoted-suffix): Remove.
248 (pcomplete-requote-argument-function): New var.
249 (pcomplete--common-suffix): New function.
250 (pcomplete-completions-at-point): Use completion-table-with-quoting
251 and completion-table-subvert.
252
79c4eeb4
SM
253 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
254 (minibuffer--double-dollars): Preserve properties.
255 (completion--sifn-requote): New function.
256 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
257
ef24141c
SM
258 * minibuffer.el: Add support for completion of quoted/escaped data.
259 (completion-table-with-quoting, completion-table-subvert): New funs.
260 (completion--twq-try, completion--twq-all): New functions.
261 (completion--nth-completion): New function.
262 (completion-try-completion, completion-all-completions): Use it.
263
784e7d6e
LL
2642012-04-25 Leo Liu <sdl.web@gmail.com>
265
dd2ac746
SM
266 * progmodes/python.el (python-pdbtrack-get-source-buffer):
267 Use compilation-message if available to find real filename.
784e7d6e 268
07875ee7
CY
2692012-04-25 Chong Yidong <cyd@gnu.org>
270
271 * vc/diff-mode.el (diff-setup-whitespace): New function.
272 (diff-mode): Use it.
273
274 * vc/diff.el (diff-sentinel):
275 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
276 Whitespace mode variables based on diff style (Bug#8612).
277
5055880d
LL
2782012-04-25 Leo Liu <sdl.web@gmail.com>
279
daf75653
LL
280 * progmodes/python.el (python-send-region): Add suffix .py to the
281 temp file.
282
5055880d
LL
283 * files.el (auto-mode-alist): Use javascript-mode instead.
284
db9b177b
AH
2852012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
286
ef24141c 287 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
288
289 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 290 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 291 references, see Bug#9.
ef24141c 292 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 293 when receiving a fault reply.
ef24141c 294 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
295
296 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 297 (soap-inspect-simple-type): New function.
db9b177b 298
ef24141c 299 * soap-client.el (soap-simple-type): New struct.
db9b177b 300 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
301 (soap-decode-basic-type, soap-encode-basic-type):
302 support unsignedInt and double basic types.
db9b177b 303 (soap-resolve-references-for-simple-type)
ef24141c
SM
304 (soap-parse-simple-type, soap-encode-simple-type): New function.
305 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
306
307 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
308 (soap-default-soapenc-types): Add integer, byte and anyURI types.
309 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
310 the local name of "soapenc:Array".
311 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
312 decoding integer, byte and anyURI xsd types.
313
1fc6097b
CY
3142012-04-25 Chong Yidong <cyd@gnu.org>
315
316 * cus-edit.el (custom-buffer-create-internal): Update header text.
317
afc6df87
EZ
3182012-04-25 Eli Zaretskii <eliz@gnu.org>
319
320 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
321 settings on 'system-type', not on 'window-system'. On MS-Windows,
322 set interactive-mode on in GDB.
323
dfbd787f
SM
3242012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
327 (ruby-syntax-propertize-regexp): Remove.
328 (ruby-syntax-propertize-function): Split regexp into chunks.
329 Match following code directly.
330
85222d44
DG
3312012-04-24 Dmitry Gutov <dgutov@yandex.ru>
332
51a8ea2a
DG
333 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
334 (ruby-syntax-propertize-regexp): New function.
335 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
336 by a special keyword.
337
85222d44
DG
338 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
339 (ruby-syntax-general-delimiters-goto-beg)
340 (ruby-syntax-propertize-general-delimiters): New functions.
341 (ruby-syntax-propertize-function): Use them to handle GDL.
342 (ruby-font-lock-keywords): Move old handling of GDL...
343 (ruby-font-lock-syntactic-keywords): .. to here.
344 (ruby-calculate-indent): Adjust indentation for GDL.
345
b613912b
MA
3462012-04-24 Michael Albinus <michael.albinus@gmx.de>
347
b5380639
MA
348 * notifications.el (top): Remove unneeded declarations.
349 (notifications-specification-version): Change to "1.2".
e43042fe 350 (notifications-interface, notifications-notify-method)
b613912b
MA
351 (notifications-close-notification-method): Fix docstring.
352 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
353 (notifications-notify): Add :action-items, :resident and
354 :transient hints. Change "image_data" to "image-data" and
355 "image_path" to "image-path".
b613912b
MA
356 (notifications-get-capabilities): New defun.
357
257440aa
LL
3582012-04-24 Leo Liu <sdl.web@gmail.com>
359
360 * progmodes/python.el: Move hideshow setup to the end.
361
b1bac16e
MR
3622012-04-24 Martin Rudalics <rudalics@gmx.at>
363
364 * window.el (handle-select-window): Clear echo area since this is
365 no more done by read_char (Bug#11304).
366
d81bd059
SM
3672012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
370 and `/ M' to filter-derived-mode.
371 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
372 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
373 (ibuffer-mark-by-mode): Use default rather than initial-input.
374 (ibuffer-filter-by-derived-mode): Autoload and require-match.
375
c4cf6d91
IA
3762012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
377
378 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
379 (ibuffer-filter-by-derived-mode): New filter.
380 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
381
7511ded8
CY
3822012-04-23 Andreas Politz <politza@fh-trier.de>
383
384 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
385
775c916b
CY
3862012-04-23 Chong Yidong <cyd@gnu.org>
387
388 * cus-edit.el (customize-apropos, customize-apropos-options):
389 Disable matching of non-option variables (Bug#11176).
390 (customize-option, customize-option-other-window)
391 (customize-changed-options): Doc fix.
392 (customize-apropos-options, customize-apropos-faces)
393 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
394
395 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 396 Fix word list splitting (Bug#11132).
46c71e23
CY
397 (apropos-symbol, apropos-keybinding, apropos-label)
398 (apropos-property, apropos-function-button)
399 (apropos-variable-button, apropos-misc-button): New faces.
400 (apropos-symbol-face, apropos-keybinding-face)
401 (apropos-label-face, apropos-property-face, apropos-match-face):
402 Variables removed (Bug#8396).
403 (apropos-library-button, apropos-format-plist, apropos-print)
404 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 405
2df41f9c
MA
4062012-04-23 Michael Albinus <michael.albinus@gmx.de>
407
408 * net/xesam.el (xesam-mode-map): Use let-bound map in
409 initialization. (Bug#11292)
410
da00640a
AM
4112012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
412
413 Preserve ispell session localwords when switching back to
414 original buffer.
415
416 * ispell.el (ispell-buffer-session-localwords): New buffer-local
417 variable to hold buffer session localwords.
418 (ispell-kill-ispell): add option 'clear to delete session
419 localwords.
420 (ispell-command-loop, ispell-change-dictionary)
421 (ispell-buffer-local-words): Preserve session localwords when
422 needed.
423
424 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
425 Preserve session localwords when needed.
426
f621ccf5
AM
4272012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
428
429 * ispell.el (ispell-insert-word) Remove unneeded function using
430 obsolete `translation-table-for-input'.
ef24141c
SM
431 (ispell-word, ispell-process-line, ispell-complete-word):
432 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 433
c2d1019e
CY
4342012-04-22 Chong Yidong <cyd@gnu.org>
435
436 * cus-edit.el (custom-variable-menu)
437 (custom-variable-reset-saved, custom-face-menu)
438 (custom-face-reset-saved): If there is no saved value, make the
439 "reset-saved" operation bring back the default (Bug#9509).
440 (custom-face-state): Properly detect themed faces.
441
eeddc531
CY
442 * faces.el (face-spec-set): Stop supporting deprecated form of
443 third arg.
444
dcbf5805
MA
4452012-04-22 Michael Albinus <michael.albinus@gmx.de>
446
447 Move functions from C to Lisp. Make non-blocking method calls
448 the default. Implement further D-Bus standard interfaces.
449
ef24141c
SM
450 * net/dbus.el (dbus-message-internal): Declare function.
451 Remove unneeded function declarations.
dcbf5805
MA
452 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
453 (dbus-message-type-method-return, dbus-message-type-error)
454 (dbus-message-type-signal): Declare variables. Remove local
455 definitions.
456 (dbus-interface-dbus, dbus-interface-peer)
457 (dbus-interface-introspectable, dbus-interface-properties)
458 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
459 Adapt docstring.
460 (dbus-interface-objectmanager): New defconst.
461 (dbus-call-method, dbus-call-method-asynchronously)
462 (dbus-send-signal, dbus-method-return-internal)
463 (dbus-method-error-internal, dbus-register-service)
464 (dbus-register-signal, dbus-register-method): New defuns, moved
465 from dbusbind.c
466 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
467 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
468 New defuns.
dcbf5805
MA
469 (dbus-call-method-non-blocking): Make it an obsolete function.
470 (dbus-unregister-object, dbus-unregister-service)
471 (dbus-handle-event, dbus-register-property)
472 (dbus-property-handler): Obey the new structure of
473 `bus-registered-objects'.
474 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
475 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
476 Use `dbus-call-method'.
477
cf20dee0
CY
4782012-04-22 Chong Yidong <cyd@gnu.org>
479
480 * cus-edit.el (custom-commands, custom-reset-menu)
481 (Custom-reset-standard): Tweak labels.
482 (custom-reset-button-menu): Change default to t.
483 (custom-buffer-create-internal): For the custom-reset-button-menu
484 case, put the revert button first.
485 (custom-group-subtitle): New face.
486 (custom-group-value-create): Align docstring to a specific column.
487
488 * wid-edit.el (widget-documentation-link-add): Don't handle
489 indentation in this function.
490 (widget-documentation-string-indent-to): New function.
491 (widget-documentation-string-value-create): Use it.
492
493 * autorevert.el (auto-revert):
494 * epg-config.el (epg):
495 * ibuffer.el (ibuffer):
496 * mpc.el (mpc):
497 * ses.el (ses):
498 * eshell/eshell.el (eshell):
499 * net/ange-ftp.el (ange-ftp):
500 * progmodes/ebnf2ps.el (postscript):
501 * progmodes/flymake.el (flymake):
502 * progmodes/prolog.el (prolog):
503 * progmodes/verilog-mode.el (verilog-mode):
504 * progmodes/which-func.el (which-func):
505 * term/xterm.el (xterm):
506 * textmodes/picture.el (picture):
507 * textmodes/tildify.el (tildify):
508 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
509 customization buffers.
510
583e23bd
AM
5112012-04-22 Alan Mackenzie <acm@muc.de>
512
513 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
514 Adding a ) can hide the resulting (..) from searches. Fix it.
515 Bound the backward search to the position of the existing (.
516
7dd51bf1
JB
5172012-04-21 Juanma Barranquero <lekktu@gmail.com>
518
519 * progmodes/verilog-mode.el (verilog-mode): Check whether
520 which-func-modes is t before adding verilog-mode.
521 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
522
d64a438f
LL
5232012-04-21 Leo Liu <sdl.web@gmail.com>
524
7dd51bf1 525 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 526
081e8d65
MV
5272012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
528
529 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
530 filling of the last column of a table (Bug#5635).
531 (woman-find-next-control-line): New arg, specifying an additional
532 regexp component for the control line.
533 (woman2-roff-buffer): Use it.
534 (woman-break-table): New function.
535 (woman2-TS): Use it.
536
5372012-04-21 Chong Yidong <cyd@gnu.org>
538
539 * woman.el (woman-set-buffer-display-table, woman-decode-region)
540 (woman-horizontal-escapes, woman-negative-vertical-space)
541 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
542 (WoMan-warn-ignored): Use ?\s instead of ?\ .
543
ed571ccb
SM
5442012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * minibuffer.el (completion-file-name-table): Complete user names.
547
39773899
LL
5482012-04-20 Leo Liu <sdl.web@gmail.com>
549
550 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
551 and pcase-let*.
552
de6ff46d
CY
5532012-04-20 Chong Yidong <cyd@gnu.org>
554
555 * server.el (server-execute): Respect initial-buffer-choice if it
556 is a string and there are no files to open (Bug#2825).
557 (server-create-window-system-frame, server-create-tty-frame):
558 Don't switch buffers here.
2d0e8e61
CY
559 (server-process-filter): Only try to open a window system frame if
560 compiled with graphical support (Bug#8314).
de6ff46d 561
54071013
DN
5622012-04-20 Dan Nicolaescu <dann@gnu.org>
563
564 * battery.el (battery-echo-area-format): Display remaining time
565 for sysfs backend too (Bug#11269).
566 (battery-linux-sysfs): Fix conditional for the charge.
567
f30d612a
CY
5682012-04-20 Chong Yidong <cyd@gnu.org>
569
c07a4c0b 570 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
571 (gdb-inferior-io--init-proc): New function.
572 (gdb-init-1): Use it.
573 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
574 responsible for allocating a new pty and hooking it to gdb when
575 the old pty gets an EIO due to process exit.
576 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
577 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
578 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
579
2116e93c
EZ
5802012-04-20 Eli Zaretskii <eliz@gnu.org>
581
582 * window.el (window-min-size, window-sizable, window-min-delta)
583 (window-max-delta, window--resizable, window-resizable)
584 (window-total-size, window-full-height-p, window-full-width-p)
585 (window-in-direction, window--resize-mini-window, window-resize)
586 (window--resize-child-windows-normal)
587 (window--resize-child-windows, window--resize-siblings)
588 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 589 (enlarge-window, shrink-window): Doc fixes.
2116e93c 590
c07a4c0b 5912012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 592
ef24141c
SM
593 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
594 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
595 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
596 pty process (Bug#11273).
597 (gdb-update): New arg to suppress talking to the gdb process.
598 (gdb-done-or-error): Use it.
599 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
600 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
601 sentinel not being called.
602
603 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
604
d02766ab
CY
605 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
606
c07a4c0b 6072012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
608
609 * net/network-stream.el (open-network-stream): Doc fix.
610
c07a4c0b 6112012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
612
613 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
614
c07a4c0b 6152012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
616
617 Ensure searching for keywords is case sensitive.
618
619 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
620 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
621 (c-defun-name, c-mark-function, c-cpp-define-name)
622 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 623 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 624
ef24141c
SM
625 * progmodes/cc-mode.el (c-font-lock-fontify-region):
626 Bind case-fold-search to nil.
f0f6bc35 627
c07a4c0b 6282012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
629
630 * mail/sendmail.el (mail-bury): Call return action with the right
631 Rmail buffer (Bug#11242).
632
9a864fa2
CY
633 * server.el (server-process-filter): Handle corner case where both
634 tty and nowait options are present (Bug#11102).
635
539aa513
EZ
6362012-04-20 Eli Zaretskii <eliz@gnu.org>
637
638 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
639 (top level): Put into the executable the ident-style '$Id:' tag on
640 windows-nt as well.
539aa513 641
cfc7d5da
SM
6422012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
643
644 * electric.el (electric-indent-post-self-insert-function): Check that
645 electric-indent-mode is enabled in current buffer.
646
5b01685c
JB
6472012-04-19 Juanma Barranquero <lekktu@gmail.com>
648
649 * imenu.el (imenu-progress-message): Restore; it is "used" in
650 erc/erc-imenu.el and net/snmp-mode.el.
651
4d6769e1
JB
6522012-04-19 Juanma Barranquero <lekktu@gmail.com>
653
654 * avoid.el (mouse-avoidance-mode): Mark unused arg.
655 (mouse-avoidance-nudge-mouse): Remove unused binding.
656
657 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
658
659 * descr-text.el (describe-char):
660 * progmodes/python.el (python-describe-symbol):
661 Don't call `toggle-read-only', set `buffer-read-only'.
662
663 * imenu.el (imenu-default-goto-function): Mark unused args.
664 (imenu-progress-message): Remove obsolete macro; all callers changed.
665
666 * subr.el (keymap-canonicalize): Remove unused binding.
667 (read-passwd): Mark unused arg.
668
669 * tutorial.el (tutorial--display-changes): Remove unused binding.
670 (tutorial--save-tutorial-to): Remove unused variable.
671
672 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
673 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
674 (package-generate-autoloads, package-menu--generate)
675 (package-menu--find-upgrades): Remove unused bindings.
676
677 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
678 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
679 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
680 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
681 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
682 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
683 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
684 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
685 (cua-delete-char-rectangle): Mark unused args.
686 (cua-align-rectangle): Remove unused binding.
687
688 * mail/rmail.el (compilation--message->loc)
689 (epa--find-coding-system-for-mime-charset): Declare.
690
691 * net/dbus.el (dbus-register-service): Declare.
692 (dbus-name-owner-changed-handler): Remove unused binding.
693
694 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
695 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
696 (nxml-scan-backward-within): Mark unused arg.
697 (nxml-dynamic-markup-word): Remove unused binding.
698
699 * mouse.el (mouse-menu-major-mode-map):
700 * emacs-lisp/authors.el (authors-scan-change-log)
701 (authors-add-to-author-list):
702 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
703 * emacs-lisp/smie.el (smie-auto-fill):
704 * mail/sendmail.el (mail-bury):
705 * mail/unrmail.el (unrmail):
706 * net/tls.el (open-tls-stream):
707 * textmodes/picture.el (picture-mouse-set-point):
708 Remove unused bindings.
709
8c8fc5df
MA
7102012-04-19 Michael Albinus <michael.albinus@gmx.de>
711
712 * net/tramp.el (tramp-action-password): Let-bind
713 `enable-recursive-minibuffers' to t.
714
a77b0ac9
SS
7152012-04-18 Sam Steingold <sds@gnu.org>
716
717 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
718 instead of 'string to accommodate values like [f11].
719 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
720 * progmodes/gdb-mi.el: Likewise.
721
12a106a9
LL
7222012-04-18 Leo Liu <sdl.web@gmail.com>
723
724 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
725 current buffer.
726 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
727 LOCAL is nil.
728
bc6494ef
CY
7292012-04-18 Chong Yidong <cyd@gnu.org>
730
731 * simple.el (line-move): Use forward-line if in batch mode
732 (Bug#11053).
733
c09c46b2
CS
7342012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
735
736 * files.el (after-find-file): Do not try to add a final newline if
737 the buffer is read-only (Bug#11156).
738
5f6530ea
RS
7392012-04-17 Richard Stallman <rms@gnu.org>
740
741 * mail/rmail.el (rmail-start-mail):
742 Pass (rmail-mail-return...) for the return-action.
743 Pass (rmail-yank-current-message...) for the yank-action.
744 (rmail-yank-current-message): New function.
745 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
746 (rmail-reply): Likewise.
747 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
748
749 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 750 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
751 buffer, not newbuf.
752
197b6f3c
JB
7532012-04-17 Juanma Barranquero <lekktu@gmail.com>
754
755 * server.el (server-ensure-safe-dir): Simplify.
756
2311d8e5 7572012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 758
2311d8e5
GM
759 * emacs-lisp/smie.el: Provide smarter auto-filling.
760 (smie-auto-fill): New function.
761 (smie-setup): Use it.
98fb480e 762
2311d8e5
GM
763 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
764
7652012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
766
767 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
768 (comment-indent): Use it.
769
2311d8e5 7702012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
771
772 * ses.el: The overall change is to add cell renaming, that is
773 setting fancy names for cell symbols other than name matching
774 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 775 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 776 (ses-create-cell-variable): New defun.
2311d8e5 777 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
778 (ses-relocate-formula): Relocate formulas only for cells the
779 symbols of which are not renamed, i.e. symbols whose names do not
780 match regexp "\\`[A-Z]+[0-9]+\\'".
781 (ses-relocate-all): Relocate values only for cells the symbols of
782 which are not renamed.
783 (ses-load): Create cells variables as the (ses-cell ...) are read,
784 in order to check row col consistency with cell symbol name only
785 for cells that are not renamed.
786 (ses-replace-name-in-formula): New defun.
787 (ses-rename-cell): New defun.
4bdf2ad2 788
fc72b15c
PO
7892012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
790
791 * progmodes/perl-mode.el (perl-indent-parens-as-block):
792 New option (bug#11118).
793 (perl-calculate-indent): Respect it.
794
12e10e61
GM
7952012-04-17 Glenn Morris <rgm@gnu.org>
796
797 * dired-aux.el (dired-mark-read-string): Doc fix.
798
30009afd
DA
7992012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
800
801 * dired-aux.el (dired-mark-read-string): Offer optional completion.
802 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
803
41f03f4d
GM
8042012-04-17 Glenn Morris <rgm@gnu.org>
805
806 * mouse.el (mouse-drag-track):
807 * speedbar.el (speedbar-frame-mode):
808 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
809
f45f90f3
LL
8102012-04-16 Leo Liu <sdl.web@gmail.com>
811
812 * progmodes/python.el: Trivial cleanup.
813
94ee8db5
GM
8142012-04-16 Glenn Morris <rgm@gnu.org>
815
121b8917
GM
816 * vc/vc.el (vc-string-prefix-p):
817 * vc/pcvs-util.el (cvs-string-prefix-p):
818 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
819 * mpc.el (mpc-string-prefix-p):
820 Make all of these into obsolete aliases for string-prefix-p.
821 Update callers.
822 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
823
1197ecfa
GM
824 * textmodes/two-column.el: Move custom options to the start.
825 (frame-width): Remove compat definition.
826 (2C-associate-buffer, 2C-dissociate):
827 Use with-current-buffer rather than save-excursion.
828 (2C-dissociate): Force a mode-line update.
829 (2C-autoscroll): Use ignore-errors.
830
099e7202
GM
831 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
832 Autoload trivia.
833
bf350d6a
GM
834 * emacs-lisp/cl-extra.el (*random-state*):
835 Remove unnecessary declaration.
836
0e829eab
GM
837 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
838
e3ad7552
GM
839 * play/cookie1.el (cookie-snarf):
840 Give an explicit error if input file cannot be read.
841
68892d27
GM
842 * play/yow.el (yow-file): Use expand-file-name rather than concat.
843
20f0c46d
GM
844 * progmodes/perl-mode.el (c-macro-expand):
845 Remove unnecessary autoload (it is in loaddefs.el).
846
5a0978ce
GM
847 * textmodes/picture.el (picture-desired-column)
848 (picture-update-desired-column): Convert comments to doc-strings.
849 (picture-substitute): Remove function.
850 (picture-mode-map): Initialize in the defvar.
851
6b955486
GM
852 * woman.el: Remove eval-after-load for tar-mode.
853 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
854 (woman-tar-extract-file): Autoload it.
855
94ee8db5
GM
856 * frame.el (automatic-hscrolling): Make this alias obsolete.
857
177eca34
AM
8582012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
859
860 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 861 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
862 (ispell-dictionary-base-alist): Revert to original XEmacs
863 friendly version for default. [:alpha:] will be added in
864 `ispell-set-spellchecker-params' if needed
177eca34 865
c505aaeb
CY
8662012-04-16 Chong Yidong <cyd@gnu.org>
867
868 * image.el (imagemagick--extension-regexp): New variable.
869 (imagemagick-register-types): Use it.
870 (imagemagick-types-inhibit): Add :set function. Allow new value
871 of t to inhibit all types.
872
873 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
874 so we can preload it.
875
876 * loadup.el (fboundp): Preload regexp-opt, needed by
877 imagemagick-register-types.
878
60efac0f
CY
8792012-04-15 Chong Yidong <cyd@gnu.org>
880
881 * frame.el (scrolling): Remove nearly unused customization group.
882
883 * scroll-all.el (scroll-all-mode): Move to windows group.
884
5dd1713e
CY
8852012-04-15 Chong Yidong <cyd@gnu.org>
886
887 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
888
e6fd457e
CY
8892012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 892 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 893
e153c136
GM
8942012-04-15 Glenn Morris <rgm@gnu.org>
895
896 * simple.el (process-file-side-effects): Doc fix.
897
e6fd457e 8982012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
899
900 * international/mule-cmds.el (set-language-environment): Doc fix.
901
3603c3b1
JB
9022012-04-14 Juanma Barranquero <lekktu@gmail.com>
903
904 * server.el (server-auth-key, server-generate-key): Doc fixes.
905 (server-get-auth-key): Doc fix. Use `string-match-p'.
906 (server-start): Reflow docstring.
907
e6de100c
LI
9082012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
909
910 * server.el (server-generate-key): `called-interactively-p'
911 requires a parameter.
912
29734c21
MN
9132012-04-14 Michal Nazarewicz <mina86@mina86.com>
914
915 * server.el (server-auth-key): New variable.
75f1671a 916 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
917 (server-start): Use the new variable and functions to allow
918 setting a permanent server key (bug#9423).
919
d65c9521
LL
9202012-04-14 Leo Liu <sdl.web@gmail.com>
921
922 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
923
5ae255c7
PE
9242012-04-14 Paul Eggert <eggert@cs.ucla.edu>
925
926 Spelling fixes.
927 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
928 Emacs uses American spelling.
929
d5e6342e
JB
9302012-04-14 Juanma Barranquero <lekktu@gmail.com>
931
932 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
933 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
934 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
935 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
936
ab036cd7
SM
9372012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * progmodes/which-func.el (which-func-modes): Change default.
940
35dc09a1 9412012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
942
943 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
944 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
945
35dc09a1 9462012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
947
948 * custom.el (custom-theme-set-variables): Doc fix.
949
35dc09a1 9502012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
951
952 * international/mule.el (set-auto-coding-for-load): Doc fix.
953
35dc09a1 9542012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 955
35dc09a1
GM
956 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
957 imenu work again for Objective C Mode. Correct the *-index values,
958 these having been disturbed by a previous change in 2011-08.
57f845ee 959
0de3da9f
AM
960 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
961 Correct two search limits.
962
35dc09a1 9632012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
964
965 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
966
35dc09a1 9672012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
968
969 * international/characters.el: Fix sorting.
970
35dc09a1 9712012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
972
973 * international/characters.el: Add more missing Latin case pairs.
974
35dc09a1 9752012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
976
977 * files.el (dir-locals-set-class-variables): Doc fix.
978
35dc09a1 9792012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 980
3f1b5bf8
EZ
981 * international/characters.el: Add set-case-syntax-pair call for
982 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
983 counterpart. (Bug#11209)
984
9f847f41
EZ
985 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
986
35dc09a1 9872012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
988
989 * calendar/holidays.el (calendar-check-holidays): Doc fix.
990
35dc09a1 9912012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 992
35dc09a1
GM
993 * textmodes/ispell.el (ispell-dictionary-base-alist):
994 Add data for Hebrew.
e2627d21 995
35dc09a1 9962012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 997
35dc09a1
GM
998 * net/rcirc.el (rcirc-cmd-quit):
999 Revert 2012-03-18 change (Bug#11192).
5c14e333 1000
35dc09a1 10012012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1002
1003 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1004
35dc09a1 10052012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1006
4517fe3a
SM
1007 * minibuffer.el (completion-in-region-mode-map):
1008 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1009
b472a594
VD
10102012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1011
1012 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1013
09b95ce3
MY
10142012-04-13 Masatake YAMATO <yamato@redhat.com>
1015
1016 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1017 to allow `C-M-f' and `C-M-b' to move to the nearest path
1018 separator (bug#9511).
1019
4b63a9ca
LI
10202012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1021
1022 * avoid.el: Require cl when compiling. And also move the
1023 `provide' to the end.
1024
7b55b8bf
TV
10252012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1026
1027 * avoid.el (mouse-avoidance-banish-position): New variable.
1028 (mouse-avoidance-banish-destination): Use it (bug#10165).
1029
adedaa1f
LL
10302012-04-13 Leo Liu <sdl.web@gmail.com>
1031
1032 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1033
70e74021
KB
10342012-04-13 Ken Brown <kbrown@cornell.edu>
1035
1036 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1037 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1038 (browse-url-filename-alist): For the same reason, don't modify
1039 file:// URLs on Cygwin.
1040
e75e89ba
SM
10412012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1044 the region on shift if the binding is already shifted (bug#11221).
1045
82f289a4
GM
10462012-04-12 Glenn Morris <rgm@gnu.org>
1047
1048 * mail/mailpost.el: Move to obsolete/.
1049
d333dc4c
DA
10502012-04-12 Drew Adams <drew.adams@oracle.com>
1051
1052 * imenu.el (imenu--generic-function): Ignore invisible definitions
1053 (bug#10123).
1054
0d15b5ba
VD
10552012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1056
1057 * hexl.el (hexl-bits): New variable.
1058 (hexl-options): Mention the variable in the doc string.
75f1671a 1059 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1060 (hexl-mode): Mention the new variable.
75f1671a
JB
1061 (hexl-mode, hexl-current-address, hexl-current-address):
1062 Use the displen.
0d15b5ba
VD
1063 (hexl-ascii-start-column): New function.
1064 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1065 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1066
64a440db
AM
10672012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1068
1069 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1070 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1071 the encoding, as expected by hunspell.
1072
6decb6c2
SM
10732012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * battery.el (battery--linux-sysfs-regexp): New const.
1076 (battery-status-function): Use it. Remove yeeloong special case.
1077 (battery-yeeloong-sysfs): Remove.
1078 (battery-echo-area-format): Remove yeeloong special case.
1079
088be6fb
SM
10802012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1081
6622e416
SM
1082 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1083 Reported by Noah Friedman.
1084
088be6fb
SM
1085 * subr.el (read-passwd): Use read-string.
1086
b49f886e
LMI
10872012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1088
1089 * vcursor.el (vcursor-move): Increase the priority of the overlay
1090 (bug#9663).
1091
a63067fc
DD
10922012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1093
1094 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1095 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1096
ac3cf14a
WS
10972012-04-11 William Stevenson <yhvh2000@gmail.com>
1098
1099 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1100 define-minor-mode (bug#10760).
1101
c4fc691b 11022012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1103
4d6769e1 1104 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1105 that directories matching `grep-find-ignored-files' won't be
1106 pruned (bug#10351).
1107
af23e2e5
CY
11082012-04-11 Chong Yidong <cyd@gnu.org>
1109
1110 * startup.el (command-line): Remove support for long-obsolete
1111 variable font-lock-face-attributes.
1112
ab7ce8c1
GM
11132012-04-11 Glenn Morris <rgm@gnu.org>
1114
1115 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1116
de8c03dc
SM
11172012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * window.el (window--state-get-1): Obey window-point-insertion-type.
1120
050cc68b
LB
11212012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1122
1123 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1124 to previous function when point is on the first character of a
75f1671a 1125 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1126
a38c310c
GM
11272012-04-11 Glenn Morris <rgm@gnu.org>
1128
effed0c2
GM
1129 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1130 not just file-errors.
1131
a38c310c
GM
1132 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1133 (vc-bzr-sha1): Use internal sha1.
1134
0221e323
SM
11352012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1136
1137 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1138
43956923
SG
11392012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1140
1141 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1142 that start in the middle of the line (bug#10496).
1143
6a8c9eaf
DN
11442012-04-10 Dan Nicolaescu <dann@gnu.org>
1145
1146 * battery.el (battery-linux-proc-acpi): Only one battery is
1147 discharged at a time, but that seems to confuse battery.el when
1148 computing `rate-type' for the battery not being discharged
1149 (bug#10332).
1150
1930bf5d
SM
11512012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1152
2a718f6f
SM
1153 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1154
599430d0
SM
1155 * international/quail.el: Use dolist and simplify.
1156 (quail-define-package, quail-update-keyboard-layout)
1157 (quail-define-rules): Use dolist.
1158 (quail-insert-kbd-layout, quail-get-translation): CSE.
1159
a2754b6c
SM
1160 * tmm.el: Use dolist, remove left over hook.
1161 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1162 Use dolist.
1163 (calendar-load-hook): Don't mess with it.
1164
1930bf5d
SM
1165 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1166 Use derived-mode-p. Run the diff asynchronously.
1167
9f67961c
LMI
11682012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1169
1170 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1171
2a8ce227
JB
11722012-04-10 Juanma Barranquero <lekktu@gmail.com>
1173
1174 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1175 (list-dynamic-libraries--loaded): New function.
1176 (list-dynamic-libraries--refresh): Use it.
1177
8f33b5f8
NW
11782012-04-10 Nathan Weizenbaum <nweiz@google.com>
1179
1930bf5d
SM
1180 * progmodes/python.el (python-fill-paragraph):
1181 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1182 disabled (bug#7018).
1183
b12f0439
L
11842012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1185
1930bf5d 1186 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1187 DOS/MS Windows for the Baltic languages. There are still plenty
1188 of texts written in this encoding/codepage (bug#6519).
b12f0439 1189
57c3bd01
GM
11902012-04-10 Glenn Morris <rgm@gnu.org>
1191
1192 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1193 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1194
6c3eab30
FA
11952012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1196
1930bf5d 1197 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1198 next-line "n" and previous-line "p" in order to make recentf more
1199 consistent with ibuffer, dired or org-mode (bug#9387).
1200
24d78a88
LMI
12012012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1202
bc72b5d9
LMI
1203 * image.el (put-image): Return the overlay created instead of the
1204 optional input string (bug#7834). Note that this may break code
1205 that is (for some reason or other) depending on `put-image'
1206 returning the string.
1207
bd2dba5a
LMI
1208 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1209
74beb59f
LMI
1210 * simple.el (zap-to-char): Allow zapping using input methods
1211 (bug#1580).
1212
24d78a88
LMI
1213 * textmodes/fill.el (fill-region): Leave point and mark where they
1214 were before filling (bug#5399).
1215
263f20cd
GM
12162012-04-09 Glenn Morris <rgm@gnu.org>
1217
1218 * version.el (emacs-bzr-get-version):
1219 Handle lightweight checkouts of local branches.
1220
58d1f797
AS
12212012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1222
263f20cd 1223 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1224
b4d3bc10
CY
12252012-04-09 Chong Yidong <cyd@gnu.org>
1226
1227 * custom.el (custom-variable-p): Return nil for non-symbol
1228 arguments instead of signaling an error.
1229 (user-variable-p): Obsolete alias for custom-variable-p.
1230
1231 * apropos.el (apropos-variable):
1232 * files-x.el (read-file-local-variable):
1233 * simple.el (set-variable):
1234 * woman.el (woman-mini-help):
1235 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1236
fd06db5d
GM
12372012-04-09 Glenn Morris <rgm@gnu.org>
1238
e5fcdb5e
GM
1239 * startup.el (normal-top-level): Don't look for leim-list.el
1240 in places where it will not be found. (Bug#910)
1241
fd06db5d
GM
1242 * international/mule-cmds.el (set-default-coding-systems):
1243 * files.el (normal-mode):
1244 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1245 This function was removed with ucs-tables.el in 2008.
1246
b39bb7e1
EZ
12472012-04-08 Eli Zaretskii <eliz@gnu.org>
1248
1249 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1250 ispell-encoding8-command to "-i", without a trailing space.
1251 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1252 separate command-line arguments, to specify the encoding, since
1253 that's how hunspell expects it.
1254
5c5b8e23
GM
12552012-04-08 Glenn Morris <rgm@gnu.org>
1256
1257 * loadup.el: Load bindings before cus-start.
1258 This reduces somewhat the number of "rogue" settings in emacs -Q.
1259
a1ed8b05
GM
12602012-04-07 Glenn Morris <rgm@gnu.org>
1261
1262 * version.el (emacs-bzr-get-version): New function.
dfae128a 1263 (emacs-bzr-version): New variable.
a1ed8b05
GM
1264 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1265 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1266
b142f158
EZ
12672012-04-07 Eli Zaretskii <eliz@gnu.org>
1268
dfae128a
GM
1269 * international/uni-bidi.el, international/uni-category.el:
1270 * international/uni-combining.el, international/uni-decimal.el:
1271 * international/uni-decomposition.el, international/uni-digit.el:
1272 * international/uni-lowercase.el, international/uni-mirrored.el:
1273 * international/uni-name.el, international/uni-numeric.el:
1274 * international/uni-titlecase.el, international/uni-uppercase.el:
1275 Update for Unicode 6.1.
b142f158 1276
9078ead6
EZ
12772012-04-07 Eli Zaretskii <eliz@gnu.org>
1278
1279 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1280
f23d2c7d
LMI
12812012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1282
1283 * window.el (shrink-window): Mention the `window-min-height'
1284 variable in the doc string.
1285
0a0a3573
BG
12862012-04-05 Bastien Guerry <bzg@altern.org>
1287
1288 * color.el (color-lighten-name): Fix typo.
1289
e5248ac9
SM
12902012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * server.el (server--on-display-p): New function.
1293 (server--on-display-p): Use it.
1294
b4243e22
GV
12952012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1296
1297 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1298 (bug#11145).
1299
305d9f44
SM
13002012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * comint.el (comint--common-quoted-suffix): Check string boundary
1303 before comparing (bug#11158).
1304 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1305
3d439cd1
CY
13062012-04-04 Chong Yidong <cyd@gnu.org>
1307
321cc491
CY
1308 * minibuffer.el (completion-extra-properties): Doc fix.
1309
3d439cd1
CY
1310 * subr.el (delayed-warnings-hook): Doc fix.
1311
2d562c0f
DU
13122012-04-04 Daiki Ueno <ueno@unixuser.org>
1313
1314 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1315 selection (Bug#11159).
1316 (epa-insert-keys): Inform that the default public key will be
1317 exported if no key is selected.
1318
4443f204
RS
13192012-04-04 Richard Stallman <rms@gnu.org>
1320
1321 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1322
529c06b6
CY
13232012-04-03 Chong Yidong <cyd@gnu.org>
1324
1325 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1326 mail-insert-file, not its obsolete alias mail-attach-file.
1327
66b907dc
MA
13282012-04-03 Michael Albinus <michael.albinus@gmx.de>
1329
1330 * notifications.el (notifications-notify): Fix docstring.
1331
c0ea195d
GM
13322012-04-02 Glenn Morris <rgm@gnu.org>
1333
1334 * emacs-lisp/authors.el (authors-aliases): Another addition.
1335
5ca64e00
MA
13362012-04-02 Michael Albinus <michael.albinus@gmx.de>
1337
1338 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1339 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1340 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1341
42ee526b
CY
13422012-04-01 Chong Yidong <cyd@gnu.org>
1343
1344 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1345 Handle root directory properly.
1346 (copy-directory): Caller changed.
1347
1348 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1349 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1350
0b021094
GM
13512012-03-31 Glenn Morris <rgm@gnu.org>
1352
40f86458
GM
1353 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1354
7019c177
GM
1355 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1356
a1daddd6
GM
1357 * calendar/calendar.el (calendar-window-list)
1358 (calendar-hide-window): Restore. (Bug#11140)
1359 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1360
0b021094
GM
1361 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1362
40311efc
TV
13632012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1364
1365 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1366 Check if file is a symlink (Bug#10489).
1367
1368 * files.el (copy-directory): Likewise.
1369
5319014e
CY
13702012-03-30 Chong Yidong <cyd@gnu.org>
1371
1372 * image.el (imagemagick-types-inhibit)
1373 (imagemagick-register-types): Doc fix.
1374
935d1290
AM
13752012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1376
ef24141c
SM
1377 * ispell.el (ispell-get-extended-character-mode):
1378 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1379 and treats ~word as ordinary words in pipe mode.
935d1290 1380
61c6e8fd
GM
13812012-03-30 Glenn Morris <rgm@gnu.org>
1382
1383 * tutorial.el (help-with-tutorial): Ensure local variables don't
1384 happen to make the buffer read-only. (Bug#11127)
1385
81fdff00
SM
13862012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1387
1388 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1389 (perl-calculate-indent): Return `noindent' in strings.
1390
6e7a6ec0
SS
13912012-03-28 Sam Steingold <sds@gnu.org>
1392
1393 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1394 instead of the broken adhockery which does not prevent calendar
1395 buffers from being displayed at random after exit.
1396 (calendar-window-list, calendar-hide-window): Remove the broken
1397 adhockery.
1398
fee88ca0
GM
13992012-03-28 Glenn Morris <rgm@gnu.org>
1400
1401 * replace.el (query-replace-map): Doc fix.
1402
38de3354
AS
14032012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1404
1405 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1406 contents. (Bug#11109)
1407
b973155e
SM
14082012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1409
1410 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1411 (bug#11077).
1412 (avl-tree--check, avl-tree--check-node): New funs.
1413
dcb6e7b3
MR
14142012-03-27 Martin Rudalics <rudalics@gmx.at>
1415
1416 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1417 (switch-to-prev-buffer, switch-to-next-buffer):
1418 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1419 showing a buffer already is done on the same frame.
1420
b4fa35fa
GM
14212012-03-27 Glenn Morris <rgm@gnu.org>
1422
1423 * startup.el (mail-host-address): Doc fix.
1424
f9210e18
SM
14252012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1428 than 197 variables.
1429
c0bf7753
AF
14302012-03-26 Ami Fischman <ami@fischman.org>
1431
1432 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1433
33da7b16
GM
14342012-03-26 Glenn Morris <rgm@gnu.org>
1435
02243d9d
GM
1436 * files.el (save-buffers-kill-emacs): Doc fix.
1437
33da7b16
GM
1438 * startup.el (normal-top-level, command-line, command-line-1):
1439 Give them doc strings.
1440
e5a69fd0
EZ
14412012-03-25 Eli Zaretskii <eliz@gnu.org>
1442
1443 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1444 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1445
9a69676a
CY
14462012-03-25 Chong Yidong <cyd@gnu.org>
1447
4125cb8b
CY
1448 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1449 theme if it was previously enabled before (Bug#11031).
1450
dd470960
CY
1451 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1452 spec with custom-face-get-current-spec if its :shown-value is not
1453 determined yet (Bug#9337).
4125cb8b 1454 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1455
9a69676a
CY
1456 * button.el (button-at): Minor addition to docstring.
1457
6e7e90fa
SL
14582012-03-24 Simon Leinen <simon.leinen@gmail.com>
1459
1460 * vc/vc.el (vc-merge): Fix a prompt.
1461
f06e2758
CY
14622012-03-24 Chong Yidong <cyd@gnu.org>
1463
1464 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1465 point (Bug#9623).
1466
6e7e90fa
SL
1467 * button.el (button-at): Minor addition to docstring.
1468
b9d0879b
SM
14692012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * newcomment.el (comment-choose-indent): No space after BOL.
1472
e71cebb3
SS
14732012-03-22 Sam Steingold <sds@gnu.org>
1474
1475 * window.el (switch-to-prev-buffer): Revert last patch because the
1476 bug turned out to be an advertised feature (Elisp manual 28.14).
1477
335aff35
GM
14782012-03-22 Glenn Morris <rgm@gnu.org>
1479
1480 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1481 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1482
c676576a
LMI
14832012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1484
1485 * net/network-stream.el (network-stream-open-starttls): Make error
1486 message under Windows be less misleading.
1487
126f3d39
LW
14882012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1489
1490 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1491 understands (bug#9942).
1492
64fee311
CY
14932012-03-22 Chong Yidong <cyd@gnu.org>
1494
1495 * simple.el (end-of-visible-line): Handle return value of
1496 next-single-property-change properly (Bug#9371).
1497
a640d29a
KH
14982012-03-22 Kenichi Handa <handa@m17n.org>
1499
1500 * international/quail.el (quail-insert-kbd-layout): Fix previous
1501 change. To avoid unwanted bidi reordering, use
1502 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1503
39675016
DG
15042012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1505
1506 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1507 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1508 (ruby-beginning-of-indent): Be more careful with the difference
1509 between word-boundary and symbol boundary.
1510 (ruby-mode-syntax-table): Make : a symbol constituent.
1511
0a6934fc 15122012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1513
3d008e4f
SM
1514 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1515
0a6934fc
SM
15162012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1517
af67c9d7
SM
1518 * progmodes/etags.el (tags-completion-at-point-function):
1519 Improve last fix.
1520
1acad97c
SM
1521 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1522
e298b5da
SS
15232012-03-21 Sam Steingold <sds@gnu.org>
1524
1525 * progmodes/etags.el (tags-completion-at-point-function):
1526 Avoid the error when point is inside the pattern.
1527
91d82a70
JY
15282012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1529
1530 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1531 line (Bug#10855).
1532
69188b79
CY
15332012-03-21 Drew Adams <drew.adams@oracle.com>
1534
1535 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1536
99fc91fe
AK
15372012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1538
1539 * ido.el (ido-set-current-directory, ido-read-internal)
1540 (ido-choose-completion-string, ido-completion-help): Handle nil
1541 value of ido-completion-buffer (Bug#11008).
1542
087bbb4c
SS
15432012-03-21 Sam Steingold <sds@gnu.org>
1544
1545 * window.el (switch-to-prev-buffer): Do not switch to a visible
1546 window previous buffer, just like with the frame previous buffers.
1547
fb5b8aca
CY
15482012-03-21 Chong Yidong <cyd@gnu.org>
1549
1550 * faces.el (make-face, make-empty-face, copy-face):
1551 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1552 Doc fixes.
1553
dc9924b8
SM
15542012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1557 (widget-complete): Remove broken use of it.
1558
f0bcceb9
CY
15592012-03-20 Chong Yidong <cyd@gnu.org>
1560
dc9924b8
SM
1561 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1562 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1563 characters.
1564
ee52ebf3
TH
15652012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1566
1567 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1568 to draw rectangles, not squares. (Regression introduced by revno
1569 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1570
4c5779ab
CY
15712012-03-18 Chong Yidong <cyd@gnu.org>
1572
1573 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1574 it is not yet defined (for temacs).
1575
15360934
LL
15762012-03-18 Leo Liu <sdl.web@gmail.com>
1577
dc9924b8 1578 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1579
d9a8eb66
EZ
15802012-03-17 Eli Zaretskii <eliz@gnu.org>
1581
1582 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1583 (ispell-choices-win-default-height, ispell-silently-savep)
1584 (ispell-dictionary-alist, ispell-encoding8-command)
1585 (ispell-check-version, ispell-aspell-find-dictionary)
1586 (ispell-valid-dictionary-list, ispell-words-keyword)
1587 (ispell-get-word, ispell-internal-change-dictionary)
1588 (ispell-region, ispell-skip-region-list)
1589 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1590 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1591 (ispell-message-text-end, ispell-message)
1592 (ispell-buffer-local-parsing): Doc fix.
1593
f02ff80d
J
15942012-03-13 Jambunathan K <kjambunathan@gmail.com>
1595
1596 * htmlfontify.el: Add support for code block fontification for ODT
1597 export (Bug #9914).
1598 (hfy-optimisations): Define new option
1599 `body-text-only'
1600 (hfy-fontify-buffer): Honor above setting.
1601 (hfy-begin-span, hfy-end-span): New routines factored out form
1602 `hfy-fontify-buffer'.
1603 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1604 that permit insertion of custom tags.
1605 (hfy-fontify-buffer): Use above handlers.
1606 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1607 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1608 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1609 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1610 bind a special variable `hfy-user-sheet-assoc'.
1611 (htmlfontify-string): New defun.
1612 (hfy-compile-face-map): Make sure that the last char in the
1613 buffer is correctly fontified.
1614 (hfy-face-resolve-face): Whitespace only change.
1615
9ac7a13f
EZ
16162012-03-17 Eli Zaretskii <eliz@gnu.org>
1617
1618 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1619 message more clear.
1620
e2b5bdd7
LL
16212012-03-16 Leo Liu <sdl.web@gmail.com>
1622
1623 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1624
2e492df3
AM
16252012-03-16 Alan Mackenzie <acm@muc.de>
1626
1627 Further optimise the handling of large macros.
1628
1629 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1630 limit to a call of `c-literal-limits'.
1631 (c-determine-+ve-limit): New function.
dc9924b8
SM
1632 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1633 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1634 In CASE 5B, restrict a search limit to 500.
1635 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1636
1637 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1638 Restrict macro bounds to +-500 from after-change's BEG END.
1639
50e94f0c
LL
16402012-03-16 Leo Liu <sdl.web@gmail.com>
1641
1642 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1643
6f09f6ed
AH
16442012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1645
1646 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1647 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1648
c7e73d51
GM
16492012-03-16 Glenn Morris <rgm@gnu.org>
1650
da986230
GM
1651 * view.el (view-buffer, view-buffer-other-window)
1652 (view-buffer-other-frame): Doc fixes re special mode-class.
1653
0835f01e
GM
1654 * subr.el (eval-after-load): If named feature is provided not from
1655 a file, run after-load forms. (Bug#10946)
1656
c7e73d51
GM
1657 * calendar/calendar.el (calendar-insert-at-column):
1658 Handle non-unit-width characters a bit better. (Bug#10978)
1659
3f2eafd1
CY
16602012-03-15 Chong Yidong <cyd@gnu.org>
1661
1662 * emacs-lisp/ring.el (ring-extend): New function.
1663 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1664
1665 * comint.el (comint-read-input-ring)
1666 (comint-add-to-input-history): Grow comint-input-ring lazily.
1667
103af3fe
SM
16682012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1669
663b1677
SM
1670 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1671 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1672
103af3fe
SM
1673 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1674 (imenu-add-to-menubar): Don't add a redundant index.
1675 (imenu-update-menubar): Handle a dynamically composed keymap.
1676
899cb7cb
KY
16772012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1678
1679 * mail/sendmail.el (mail-encode-header):
1680 Bind rfc2047-encode-encoded-words to nil.
1681
3809f91d
GM
16822012-03-13 Glenn Morris <rgm@gnu.org>
1683
1684 * calendar/calendar.el (calendar-string-spread):
1685 Handle non-unit-width characters a bit better. (Bug#10978)
1686
9e345a01
LL
16872012-03-13 Leo Liu <sdl.web@gmail.com>
1688
1689 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1690 directory and file as argument (Bug#10822).
1691
4a07df36
KS
16922012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1693
1694 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1695 For dynamically generated code, follow $PC.
1696 (gdb-disassembly-handler-custom): Handle no function name case.
1697
4aaa9356
TL
16982012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1699
1700 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1701 * emulation/ws-mode.el (ws-query-replace):
1702 * sort.el (sort-regexp-fields):
1703 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1704
225979da
SM
17052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1706
1707 * dabbrev.el: Fix cycle completion order (bug#10963).
1708 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1709 (dabbrev-completion): Don't use an obarray; provide
1710 a cycle-sort-function.
1711
e2f1fdab
LL
17122012-03-12 Leo Liu <sdl.web@gmail.com>
1713
dc9924b8 1714 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1715 (kill-do-not-save-duplicates): Doc fix.
1716
b19490ed
SM
17172012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1718
1719 * dabbrev.el: Fix cycle completion (bug#10963).
1720 Use lexical binding and wrap to 80 columns.
1721 (dabbrev-completion): Delay computing the list of completions.
1722
4b05d722
KH
17232012-03-12 Kenichi Handa <handa@m17n.org>
1724
1725 * international/quail.el (quail-insert-kbd-layout): Surround each
1726 row by LRO and PDF instead of inserting many LRMs. Pad the left
1727 and right of each non-spacing marks. Insert invisible space
1728 between lower and upper characters to prevent composition.
1729
dbbc2e69
SM
17302012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * minibuffer.el (minibuffer-complete): Don't get confused when the
1733 function is run twice via different commands (bug#10958).
1734 (complete-with-action): Fix docstring.
1735
292112ed
CY
17362012-03-12 Chong Yidong <cyd@gnu.org>
1737
5d1ac394
CY
1738 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1739 (nxml-completion-at-point-function): New function.
1740 (nxml-mode): Use it.
1741 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1742
292112ed
CY
1743 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1744 Load generated autoloads file before byte compiling (Bug#10970).
1745 (package--make-autoloads-and-compile): New helper fun.
1746
4098f8f7
CS
17472012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1748
1749 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1750
8f754691
MA
17512012-03-11 Michael Albinus <michael.albinus@gmx.de>
1752
1753 * autorevert.el (auto-revert-handler): Ensure, that
1754 file-readable-p is applied only for local files or in
1755 auto-revert-tail-mode.
1756
e29ab36b
AS
17572012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1758
dbbc2e69
SM
1759 * server.el (server-eval-at): Handle non-tcp connections.
1760 Decode result string.
ad0bf5b6 1761
e29ab36b
AS
1762 * server.el (server-msg-size): New constant.
1763 (server-reply-print): New function.
1764 (server-eval-and-print): Use it.
1765 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1766 Handle -print-nonl.
1767
de5939ba
CS
17682012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1769
1770 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1771 (Bug#10987).
1772
0c93eabf
CY
17732012-03-11 Chong Yidong <cyd@gnu.org>
1774
397a688f
CY
1775 * simple.el (goto-line): Doc fix (Bug#9938).
1776
2cc775f9
CY
1777 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1778
0c93eabf
CY
1779 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1780 when finished (Bug#10963).
1781
c491fa41
MR
17822012-03-11 Martin Rudalics <rudalics@gmx.at>
1783
1784 * window.el (split-window-below): Fix bug in case where
1785 split-window-keep-point is nil (Bug#10971).
1786
300e8fa5
JL
17872012-03-11 Juri Linkov <juri@jurta.org>
1788
1789 * replace.el (replace-highlight): Set isearch-word to nil
1790 unconditionally. (Bug#10887)
1791
dbf6c5a1
EZ
17922012-03-10 Eli Zaretskii <eliz@gnu.org>
1793
1794 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1795 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1796 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1797 (mairix-widget-create-query): Add usage information about mairix
1798 search forms: negating words, searching for substrings, etc.
1799
b9e501de
JP
18002012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1801
1802 * international/fontset.el (font-encoding-alist): Add an entry for
1803 ksx1001 (Bug#5667).
1804
92795c91
RS
18052012-03-10 Richard Stallman <rms@gnu.org>
1806
1694e6c1
RS
1807 * mail/sendmail.el (mail-encode-header):
1808 Set rfc2047-encode-encoded-words.
1809
607e8555
RS
1810 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1811
de3bc99a
RS
1812 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1813 view buffer means not swapped.
1814 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1815 (rmail-write-region-annotate): Error if real text has disappeared.
1816
92795c91
RS
1817 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1818
699bd04e
CY
18192012-03-10 Chong Yidong <cyd@gnu.org>
1820
1821 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1822 * emulation/cua-base.el (cua--init-keymaps):
1823 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1824
570a1714
MR
18252012-03-10 Martin Rudalics <rudalics@gmx.at>
1826
dbbc2e69
SM
1827 * speedbar.el (speedbar-unhighlight-one-tag-line):
1828 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1829
82dcf4e4
CY
18302012-03-10 Chong Yidong <cyd@gnu.org>
1831
7a2c7ca7
CY
1832 * minibuffer.el (completion-in-region, completion-help-at-point):
1833 Give the completion field overlay a high priority (Bug#6830).
1834
82dcf4e4
CY
1835 * dired.el (dired-goto-file): Recognize absolute file name
1836 listings (Bug#7126).
1837 (dired-goto-file-1): New helper function.
1838 (dired-toggle-read-only): Inhibit warnings.
1839
052e28ac
MA
18402012-03-09 Michael Albinus <michael.albinus@gmx.de>
1841
75f1671a 1842 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1843 there are no properties.
1844
95d5e396
LL
18452012-03-09 Leo Liu <sdl.web@gmail.com>
1846
1847 * savehist.el (savehist-printable): Stricter check for string
1848 value (Bug#10937).
1849
3f018d6d
EZ
18502012-03-09 Eli Zaretskii <eliz@gnu.org>
1851
dbbc2e69
SM
1852 * mail/smtpmail.el (smtpmail-send-it):
1853 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1854 valid mbox format.
1855
f7fd3d79
GM
18562012-03-09 Glenn Morris <rgm@gnu.org>
1857
1858 * files.el (dir-locals-find-file):
1859 Don't check result is regular, readable.
1860 (dir-locals-read-from-file): Demote errors.
1861
6ff6e72f
EZ
18622012-03-08 Eli Zaretskii <eliz@gnu.org>
1863
dbbc2e69
SM
1864 * international/quail.el (quail-insert-kbd-layout):
1865 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1866 layout cell, to prevent their reordering by bidi display engine.
1867 For details, see the discussion in
1868 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1869
9cec7834
AM
18702012-03-08 Alan Mackenzie <acm@muc.de>
1871
1872 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1873 the starting position; make it extend the marked region when
1874 invoked repeatedly - all under appropriate circumstances.
1875 Fixes bugs #5525, #10906.
1876
9a40b8d4
GM
18772012-03-08 Glenn Morris <rgm@gnu.org>
1878
1879 * files.el (locate-dominating-file, dir-locals-find-file):
1880 Undo 2012-03-06 change.
1881
7a08ed35
EZ
18822012-03-07 Eli Zaretskii <eliz@gnu.org>
1883
dbbc2e69
SM
1884 * international/quail.el (quail-help):
1885 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1886 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1887 for the reason.
1888
5aca4f71 18892012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1890
1891 Avoid superfluous registering of signals. (Bug#10807)
1892
1893 * notifications.el (notifications-on-action-object)
1894 (notifications-on-close-object): New defvars.
1895 (notifications-on-action-signal, notifications-on-closed-signal):
1896 Unregister the signal if not needed any longer.
1897 (notifications-notify): Register `notifications-action-signal' or
1898 `notifications-closed-signal', if :on-action or :on-close has been
1899 passed as argument.
1900
78e8b10a
CY
19012012-03-07 Chong Yidong <cyd@gnu.org>
1902
1903 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1904 non-X platforms.
1905
69481eb8
GM
19062012-03-06 Glenn Morris <rgm@gnu.org>
1907
1908 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1909 (x-disown-selection-internal, x-get-selection-internal):
1910 Doc fix (add arglist signatures). (Bug#10783)
1911
133b8e11
KS
19122012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1913
1914 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1915 Handle breakpoints with no "type".
1916
99a83064
GM
19172012-03-06 Glenn Morris <rgm@gnu.org>
1918
1919 * files.el (locate-dominating-file): Add optional predicate argument.
1920 (dir-locals-find-file): Make use of above change.
1921
17798e78
TTN
19222012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1923
1924 * info.el (Info-insert-dir): Also try "dir.gz".
1925
eb182446
GM
19262012-03-06 Glenn Morris <rgm@gnu.org>
1927
8f2114ee
GM
1928 * files.el (dir-locals-find-file):
1929 Ignore non-readable or non-regular files. (Bug#10928)
1930
eb182446
GM
1931 * files.el (locate-dominating-file): Doc fix.
1932
24679323
AS
19332012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1934
1935 * calendar/calendar.el (calendar-set-mode-line):
1936 `getenv' returns a string. (Bug#10951)
1937
01d972a9
LL
19382012-03-05 Leo Liu <sdl.web@gmail.com>
1939
109aa8a9
LL
1940 * simple.el (backward-delete-char-untabify): Constrain point to
1941 field (Bug#10939).
1942
01d972a9
LL
1943 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1944
10607bea
CY
19452012-03-05 Chong Yidong <cyd@gnu.org>
1946
1947 * simple.el (count-words): If called from Lisp, return the word
1948 count, for symmetry with `count-lines'. Arglist changed.
1949 (count-words--message): Args changed. Consolidate counting code
1950 from count-words and count-words-region.
1951 (count-words-region): Caller changed.
1952 (count-lines-region): Make it an obsolete alias.
1953
5dd11cfe
TH
19542012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1955
1956 * saveplace.el (save-place-to-alist)
1957 (save-place-ignore-files-regexp): Allow value nil to disable this
1958 feature.
1959
c349f4e6
CY
19602012-03-04 Chong Yidong <cyd@gnu.org>
1961
1962 * faces.el (face-spec-reset-face): For the default face, reset the
1963 attributes to default values (Bug#10748).
1964
e627be4c
LMI
19652012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1966
1967 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1968 previous patch: Check `message-send-mail-function', and not the
1969 default function (bug#10897).
1970
ebeabff4
MA
19712012-03-04 Michael Albinus <michael.albinus@gmx.de>
1972
a41a6cf4
MA
1973 * notifications.el (notifications-on-action-signal)
1974 (notifications-on-closed-signal): Check for unique service name of
1975 incoming event. Fix error in removing entry.
ebeabff4 1976 (top): Register for signals with wildcard service name.
a41a6cf4 1977 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1978
c1ca42b4
CY
19792012-03-04 Chong Yidong <cyd@gnu.org>
1980
dc9924b8 1981 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1982
ea16568d
GM
19832012-03-04 Glenn Morris <rgm@gnu.org>
1984
1985 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1986 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1987 (expand-abbrev, define-abbrev-table): Doc fixes.
1988
fbae4637
LMI
19892012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1990
1991 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1992 `message-default-send-mail-function' and not `send-mail-function'
1993 when doing the prompting for `sendmail-query-once' before sending
1994 in Message buffers (bug#10897).
1995
a1e7225c
LMI
1996 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1997 This is inconsistent with all the other stream functions, which leave
1998 the setting up to the higher levels (if so wanted) (bug#10931).
1999
56d093a9
AM
20002012-03-02 Alan Mackenzie <acm@muc.de>
2001
2002 Depessimize the handling of very large macros.
2003
2004 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2005 (c-macro-cache-syntactic): New variables to implement a one
2006 element macro cache.
2007 (c-invalidate-macro-cache): New function.
2008 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2009 Adapt to use the new cache.
2010 (c-state-safe-place): Use better the cache of safe positions.
2011 (c-state-semi-nonlit-pos-cache)
2012 (c-state-semi-nonlit-pos-cache-limit):
2013 New variables for...
2014 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2015 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2016 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2017 Use c-state-semi-safe-place.
56d093a9 2018
dbbc2e69
SM
2019 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2020 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2021
817e5c3d
MA
20222012-03-02 Michael Albinus <michael.albinus@gmx.de>
2023
dbbc2e69
SM
2024 * jka-compr.el (jka-compr-call-process):
2025 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2026 not remote.
2027
a032a702
MA
20282012-03-01 Michael Albinus <michael.albinus@gmx.de>
2029
2030 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2031 access of FILE2, if FILE1 does not exist.
2032
99a54f21
MA
2033 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2034 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2035
2036 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2037 Add "PAGER=" to `process-environment'.
2038
f6561e1f
MM
20392012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2040
2041 * progmodes/sql.el: Bug fix
2042 (sql-get-login-ext): Save login values in globals.
2043 (sql-get-login): Use new version of `sql-get-login-ext'.
2044 (sql-interactive-mode): Set global `sql-connection' to nil.
2045 (sql-connect): Set global values for connection.
2046 (sql-product-interactive): Save global values as buffer local.
2047
2d44d9cc
LL
20482012-02-29 Leo Liu <sdl.web@gmail.com>
2049
2050 * abbrev.el (define-abbrevs): Reset sys to nil.
2051
96b49301 20522012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2053
bf7f9bc5
JB
2054 * files.el (file-equal-p): Rename from `files-equal-p'.
2055 Return nil when one or both files don't exist.
96b49301 2056 (file-subdir-of-p): Now only top directory must exists,
2057 return nil if it doesn't.
bf7f9bc5
JB
2058 (copy-directory): No need to test with `file-subdir-of-p' after
2059 creating dir.
2060 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2061 to `file-equal-p'.
96b49301 2062
44e97401
GM
20632012-02-28 Glenn Morris <rgm@gnu.org>
2064
2065 * shell.el (shell-mode):
2066 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2067 * play/landmark.el (landmark-font-lock-face-O):
2068 * play/handwrite.el (handwrite):
2069 * play/gomoku.el (gomoku-O):
2070 * net/browse-url.el (browse-url-browser-display):
2071 * international/mule.el (define-charset):
2072 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2073 * filesets.el (filesets-find-file-delay):
2074 * eshell/em-xtra.el (eshell-xtra):
2075 * eshell/em-unix.el (eshell-grep):
2076 * emulation/viper.el (viper-mode):
2077 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2078 * emacs-lisp/easymenu.el (easy-menu-define):
2079 * calendar/timeclock.el (timeclock-use-display-time):
2080 * bs.el (bs-mode):
2081 * bookmark.el (bookmark-save-flag):
2082 Doc fix (standardize possessive apostrophe usage).
2083
c98c6276
CY
20842012-02-27 Chong Yidong <cyd@gnu.org>
2085
bf7f9bc5
JB
2086 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2087 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2088
c98c6276
CY
2089 * font-lock.el (font-lock-specified-p): Rename from
2090 font-lock-spec-present. Callers changed.
2091
9c62cd04 20922012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2093
bf7f9bc5
JB
2094 * emacs-lisp/package.el (package-compute-transaction):
2095 Handle holding a package version to t in package-load-list.
8ac9e529 2096
530739c9
MA
20972012-02-26 Michael Albinus <michael.albinus@gmx.de>
2098
2099 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2100 (tramp-get-inode, tramp-get-device): Use cached values.
2101
487915d7
AM
21022012-02-26 Alan Mackenzie <acm@muc.de>
2103
2104 Check there is a font-lock specification before doing initial
2105 fontification.
2106
2107 * font-core.el (font-lock-mode): Move the conditional from
2108 :after-hook to font-lock-initial-fontify.
2109 (font-lock-default-function): Move the check for a specification
2110 to font-lock-spec-present.
2111
dc9924b8 2112 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2113 (font-lock-spec-present): New function.
2114
4fd96557
JB
21152012-02-26 Jim Blandy <jimb@red-bean.com>
2116
2117 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2118 (gdb-send): Apply it to the operand of the '-interpreter-exec
2119 console' command, so that we can pass arguments with (say) quotes
2120 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2121
9a4888c0
CY
21222012-02-26 Chong Yidong <cyd@gnu.org>
2123
07498861
CY
2124 * help-fns.el (describe-function-1): Clarify description of
2125 remapping (Bug#10844).
2126
9a4888c0
CY
2127 * files.el (files-equal-p): Doc fix.
2128 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2129 and quit the loop once a mismatch is found.
2130
ea8fb88d
JB
21312012-02-25 Juanma Barranquero <lekktu@gmail.com>
2132
2133 * bs.el (bs--show-with-configuration): Don't throw an error
2134 if the window cannot be split; otherwise, subsequent calls to
2135 bs-show fail, restoring a stale window config. (Bug#10882)
2136
525795c1
JD
21372012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2138
2139 * term/ns-win.el (global-map): Bind ns-drag-file to
2140 ns-find-file (Bug#5855, Bug#10050).
2141
f008086f
AS
21422012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2143
2144 * calendar/parse-time.el (parse-time-string): Allow extractor to
2145 return nil.
2146
a3fcfa99
MA
21472012-02-25 Michael Albinus <michael.albinus@gmx.de>
2148
91027d08
JB
2149 * net/tramp.el (tramp-file-name-for-operation):
2150 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2151
2152 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2153 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2154 Add COPY-CONTENTS argument.
a3fcfa99 2155
67b0de11
CY
21562012-02-25 Chong Yidong <cyd@gnu.org>
2157
2158 Add custom groups for VC backends, for consistency with vc-bzr.
2159
2160 * vc/vc-arch.el (vc-arch):
2161 * vc/vc-cvs.el (vc-cvs):
2162 * vc/vc-git.el (vc-git):
2163 * vc/vc-hg.el (vc-hg):
2164 * vc/vc-mtn.el (vc-mtn):
2165 * vc/vc-rcs.el (vc-rcs):
2166 * vc/vc-sccs.el (vc-sccs):
2167 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2168 All relevant defcustoms reassigned.
2169
3c9dfce6
CY
21702012-02-25 Chong Yidong <cyd@gnu.org>
2171
1339bf43
CY
2172 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2173
3c9dfce6
CY
2174 * term/x-win.el (x-initialize-window-system): Reduce default for
2175 x-selection-timeout to 5 seconds (Bug#8869).
2176
25b2e303 21772012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2178
ec70a47d
GM
2179 * files.el (files-equal-p, file-subdir-of-p): New functions.
2180 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2181 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2182 * dired-aux.el (dired-copy-file-recursive): Same.
2183 (dired-create-files): Modify destination when source is equal to
2184 dest when copying files.
53a46cd0 2185 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2186
914260cd
MA
21872012-02-24 Michael Albinus <michael.albinus@gmx.de>
2188
2189 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2190 (Bug#10874)
2191
2cb228f7
AM
21922012-02-23 Alan Mackenzie <acm@muc.de>
2193
2194 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2195 parameter "after-hook:" to allow the expansion to run code after
2196 the execution of the mode hooks.
2197
2198 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2199 from font-lock-mode-internal.
2cb228f7 2200
91027d08 2201 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2202 :after-hook.
2203
8f0fde21
SM
22042012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2205
3e88618b
SM
2206 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2207 (completion--cache-all-sorted-completions): New function.
2208 (completion-all-sorted-completions): Use it.
2209 (completion--do-completion, minibuffer-force-complete):
2210 Use it to re-instate the flush hook.
2211
8f0fde21
SM
2212 * icomplete.el (icomplete-completions): Replace last fix with a better
2213 one (bug#10850).
2214
8e911f6f
DG
22152012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2216
2217 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2218 when it might call us back infinitely (bug#10797).
2219
49fe4321
GM
22202012-02-23 Glenn Morris <rgm@gnu.org>
2221
2222 * minibuffer.el (completion-category-overrides): Doc fix.
2223
b291b572
SM
22242012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2227 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2228
31a9ef2e
GM
22292012-02-23 Glenn Morris <rgm@gnu.org>
2230
5e6e6794 2231 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2232 (authors-obsolete-files-regexps, authors-ignored-files)
2233 (authors-ambiguous-files, authors-renamed-files-alist):
2234 Add more entries.
2235
0bd1e074
JL
22362012-02-23 Juri Linkov <juri@jurta.org>
2237
2238 * isearch.el (isearch-occur): Sync interactive spec with occur's
2239 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2240
b617673c
JL
2241 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2242
19e9789e
JL
22432012-02-22 Juri Linkov <juri@jurta.org>
2244
2245 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2246 (ucs-insert): Doc fix. Check for hex digits in the string.
2247 Don't display `nil' in the error message. (Bug#10857)
2248
f41ce09d
AM
22492012-02-22 Alan Mackenzie <acm@muc.de>
2250
7a71b18d 2251 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2252
ac2eceee
GM
22532012-02-22 Glenn Morris <rgm@gnu.org>
2254
2255 * ffap.el (ffap-c-path):
2256 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2257
abd1f678
CY
22582012-02-22 Chong Yidong <cyd@gnu.org>
2259
2260 * custom.el (load-theme): Doc fix.
2261
f25aef2e
GM
22622012-02-22 Glenn Morris <rgm@gnu.org>
2263
2264 * dired-x.el (dired-guess-shell-alist-default):
2265 Remove escape sequences from nroff output. (Bug#172)
2266
5f8dc2ca
GM
22672012-02-21 Glenn Morris <rgm@gnu.org>
2268
6ff86ec4
GM
2269 * vc/emerge.el (emerge-defvar-local):
2270 Set `permanent-local' property rather than unused `preserved'.
2271
be3223a3 2272 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2273 (picture-mode-map): Use it. (Bug#10860)
2274 (picture-mode): Doc fix.
2275
3fe58f4f
JB
22762012-02-21 Juanma Barranquero <lekktu@gmail.com>
2277
2278 * newcomment.el (uncomment-region-default): Remove unused binding.
2279
f9a998c3
GM
22802012-02-21 Glenn Morris <rgm@gnu.org>
2281
2282 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2283 (picture-self-insert, picture-tab-chars): Doc fix.
2284 (picture-mode-map): Fix C-a, C-e.
2285
c6029348
GM
22862012-02-20 Glenn Morris <rgm@gnu.org>
2287
2288 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2289
ab1ce9d7
LL
22902012-02-20 Leo Liu <sdl.web@gmail.com>
2291
2292 * icomplete.el (icomplete-completions): Check FROM arg before
2293 passing to substring (Bug#10850).
2294
0fd40f89
CY
22952012-02-19 Chong Yidong <cyd@gnu.org>
2296
2297 * comint.el: Require ansi-color.
2298 (comint-output-filter-functions): Add ansi-color-process-output.
2299
2300 * ansi-color.el: Don't set comint-output-filter-functions; it is
2301 now in the initial value defined in comint.el.
2302 (ansi-color-apply-face-function): New variable.
2303 (ansi-color-apply-on-region): Use it.
2304 (ansi-color-apply-overlay-face): New function.
2305
2306 * shell.el (shell): No need to require ansi-color.
2307 (shell-mode): Use ansi-color-apply-face-function to highlight
2308 color escapes using font-lock-face property (Bug#10835).
2309
20af2394
CY
23102012-02-19 Chong Yidong <cyd@gnu.org>
2311
2312 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2313 mode-line formats (Bug#10839).
2314
e23a3fbe
GM
23152012-02-18 Glenn Morris <rgm@gnu.org>
2316
b474519e
GM
2317 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2318
2319 * mail/undigest.el (unforward-rmail-message): Doc fix.
2320
e23a3fbe
GM
2321 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2322
57939ff4
EZ
23232012-02-18 Eli Zaretskii <eliz@gnu.org>
2324
2325 * international/characters.el (script-list): Sync with the latest
2326 Unicode Character Database.
2327
0c23686e
AS
23282012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2329
2330 * international/titdic-cnv.el: Remove duplicate coding tag.
2331 * language/cham.el: Likewise.
2332 * language/tai-viet.el: Likewise.
2333
6818b449
GM
23342012-02-18 Glenn Morris <rgm@gnu.org>
2335
2336 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2337 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2338 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2339 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2340 * calendar/holidays.el (holiday-bahai-holidays)
2341 (calendar-holidays, list-holidays):
2342 Use utf-8 Bahá'í in doc-strings, menus, etc.
2343
0311a3fc
TH
23442012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2345
2346 * saveplace.el (save-place-ignore-files-regexp): New variable
2347 allowing for excluding files from saving their location of point.
2348 The default value matches the temporary commit message editing
2349 files from Git, SVN, Bazaar, and Mercurial.
2350 (save-place-to-alist): Use it.
2351
eb864a71
LM
23522012-02-17 Lawrence Mitchell <wence@gmx.li>
2353 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * newcomment.el (uncomment-region-default): Don't leave extra space
2356 when an arg is provided (bug#8150).
2357
ee0ce425
TZ
23582012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2359
eb864a71 2360 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2361
95ddf442
GM
23622012-02-17 Glenn Morris <rgm@gnu.org>
2363
2364 * net/socks.el: Require network-stream. (Bug#10599)
2365
48dd1e39 23662012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2367
2368 * international/charprop.el:
2369 * international/uni-name.el:
2370 * international/uni-old-name.el:
2371 * international/uni-comment.el: Regenerate.
2372
d68cd087
GM
23732012-02-16 Glenn Morris <rgm@gnu.org>
2374
2375 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2376 Interactively in calendar buffer, give an error if not on a date.
2377
13932042
GM
23782012-02-15 Glenn Morris <rgm@gnu.org>
2379
2380 * shell.el (shell-delimiter-argument-list):
2381 Revert 2011-02-17 change. (Bug#8027)
2382
c3a70e2b
CY
23832012-02-15 Chong Yidong <cyd@gnu.org>
2384
60236b0d
CY
2385 * minibuffer.el (completion-at-point-functions): Doc fix.
2386
c3a70e2b
CY
2387 * custom.el (defcustom): Doc fix; note use of defvar.
2388
9f26dc24
GM
23892012-02-15 Glenn Morris <rgm@gnu.org>
2390
2391 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2392 Doc fixes.
2393
6546b134
GM
23942012-02-14 Glenn Morris <rgm@gnu.org>
2395
2396 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2397
d29b2b4c
LI
23982012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2399
2400 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2401 way the ports list is computed.
835bdcba
LI
2402 (smtpmail-query-smtp-server): Prompt the user for a port number if
2403 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2404
08dcdbc9
TZ
24052012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2406
2407 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2408
2605051a
GM
24092012-02-13 Glenn Morris <rgm@gnu.org>
2410
2411 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2412
7ee99f32
TZ
24132012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2414
2415 * net/gnutls.el (gnutls-trustfiles): New variable.
2416 (gnutls-negotiate): Use it.
2417
5f0af64f
LI
24182012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2419
2420 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2421 does its stuff if Gnus is running.
2422
c14fcc95
AM
24232012-02-13 Alan Mackenzie <acm@muc.de>
2424
2425 Fix a loop in c-set-fl-decl-start.
2426
7a71b18d 2427 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2428 c-backward-syntactic-ws actually moves backwards.
2429
142b4d90
LL
24302012-02-13 Leo Liu <sdl.web@gmail.com>
2431
2432 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2433 beginning so that all \C-o chars are removed.
2434
fa9958a6
TZ
24352012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2436
dc9924b8 2437 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2438
0bc5886a
AM
24392012-02-12 Alan Mackenzie <acm@muc.de>
2440
2441 Fix infinite loop with long macros.
4d6769e1 2442 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2443
d4bd55e7
CY
24442012-02-12 Chong Yidong <cyd@gnu.org>
2445
2446 * window.el (display-buffer): Doc fix (Bug#10785).
2447
66f3fe22
GM
24482012-02-12 Glenn Morris <rgm@gnu.org>
2449
bd7da63e
GM
2450 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2451 (x-disown-selection-internal, x-get-selection-internal):
2452 Sync docs with the xselect.c versions.
2453
66f3fe22
GM
2454 * allout-widgets.el: Add missing license notice.
2455
3e0d2fa7
GM
24562012-02-11 Glenn Morris <rgm@gnu.org>
2457
cfecdf09
GM
2458 * select.el (x-get-selection-internal, x-own-selection-internal)
2459 (x-disown-selection-internal):
2460 * x-dnd.el (x-get-selection-internal): Update declarations.
2461
6d216d7f
GM
2462 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2463
2bed3f04
GM
2464 * window.el (window-sides-slots):
2465 * tool-bar.el (tool-bar-position):
2466 * term/xterm.el (xterm-extra-capabilities):
2467 * ses.el (ses-self-reference-early-detection):
2468 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2469 (verilog-auto-wire-type)
2470 (verilog-auto-delete-trailing-whitespace)
2471 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2472 (verilog-auto-tieoff-declaration):
2473 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2474 (sql-oracle-statement-starters, sql-oracle-scan-on):
2475 * progmodes/prolog.el (prolog-align-comments-flag)
2476 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2477 (prolog-left-indent-regexp, prolog-paren-indent-p)
2478 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2479 (prolog-types, prolog-mode-specificators)
2480 (prolog-determinism-specificators, prolog-directives)
2481 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2482 (prolog-electric-dot-flag)
2483 (prolog-electric-dot-full-predicate-template)
2484 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2485 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2486 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2487 (prolog-program-switches, prolog-prompt-regexp)
2488 (prolog-debug-on-string, prolog-debug-off-string)
2489 (prolog-trace-on-string, prolog-trace-off-string)
2490 (prolog-zip-on-string, prolog-zip-off-string)
2491 (prolog-use-standard-consult-compile-method-flag)
2492 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2493 (prolog-imenu-max-lines, prolog-info-predicate-index)
2494 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2495 (prolog-char-quote-workaround):
2496 * progmodes/cc-vars.el (c-defun-tactic):
2497 * net/tramp.el (tramp-encoding-command-interactive)
2498 (tramp-local-end-of-line):
2499 * net/soap-client.el (soap-client):
2500 * net/netrc.el (netrc-file):
2501 * net/gnutls.el (gnutls):
2502 * minibuffer.el (completion-category-overrides)
2503 (completion-cycle-threshold)
2504 (completion-pcm-complete-word-inserts-delimiters):
2505 * man.el (Man-name-local-regexp):
2506 * mail/feedmail.el (feedmail-display-full-frame):
2507 * international/characters.el (glyphless-char-display-control):
2508 * eshell/em-ls.el (eshell-ls-date-format):
2509 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2510 (lisp-lambda-list-keyword-parameter-indentation)
2511 (lisp-lambda-list-keyword-parameter-alignment):
2512 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2513 * dired-x.el (dired-omit-verbose):
2514 * cus-theme.el (custom-theme-allow-multiple-selections):
2515 * calc/calc.el (calc-highlight-selections-with-faces)
2516 (calc-lu-field-reference, calc-lu-power-reference)
2517 (calc-note-threshold):
2518 * battery.el (battery-mode-line-limit):
2519 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2520 (archive-7z-update):
2521 * allout.el (allout-prefixed-keybindings)
2522 (allout-unprefixed-keybindings)
2523 (allout-inhibit-auto-fill-on-headline)
2524 (allout-flattened-numbering-abbreviation):
2525 * allout-widgets.el (allout-widgets-auto-activation)
2526 (allout-widgets-icons-dark-subdir)
2527 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2528 (allout-widgets-theme-dark-background)
2529 (allout-widgets-theme-light-background)
2530 (allout-widgets-item-image-properties-emacs)
2531 (allout-widgets-item-image-properties-xemacs)
2532 (allout-widgets-run-unit-tests-on-load)
2533 (allout-widgets-time-decoration-activity)
2534 (allout-widgets-hook-error-post-time)
2535 (allout-widgets-track-decoration):
2536 Add missing :version tags to new defcustoms and defgroups.
2537
5fec1b8e
GM
2538 * progmodes/sql.el (sql-ansi-statement-starters)
2539 (sql-oracle-statement-starters): Add custom type.
2540
3e0d2fa7
GM
2541 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2542 (prolog-system-version): Give it a type.
2543
90b671e2
EZ
25442012-02-11 Eli Zaretskii <eliz@gnu.org>
2545
2546 * term/pc-win.el (x-select-text, x-selection-owner-p)
2547 (x-own-selection-internal, x-disown-selection-internal)
2548 (x-get-selection-internal): Sync doc strings and argument lists
2549 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2550
5eac0c02
LL
25512012-02-11 Leo Liu <sdl.web@gmail.com>
2552
2553 * progmodes/python.el (python-end-of-statement): Fix infinite
2554 loop. (Bug#10788)
2555
f82cb659
GM
25562012-02-10 Glenn Morris <rgm@gnu.org>
2557
2558 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2559 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2560
cc26d239
LI
25612012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2562
2563 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2564 about SMTP before checking the From header.
2565
91027d08 2566 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2567 into own function for reuse by emacsbug.el.
2568
1be3ca5a
LL
25692012-02-10 Leo Liu <sdl.web@gmail.com>
2570
2571 * subr.el (condition-case-unless-debug): Rename from
2572 condition-case-no-debug. All callers changed.
2573 (with-demoted-errors): Fix caller.
2574
2575 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2576 * nxml/rng-valid.el (rng-do-some-validation):
2577 * emacs-lisp/package.el (package-refresh-contents)
2578 (package-menu-execute):
2579 * desktop.el (desktop-create-buffer):
91027d08 2580 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2581
b011fbfe
GM
25822012-02-10 Glenn Morris <rgm@gnu.org>
2583
b2096d72
GM
2584 * textmodes/bibtex.el:
2585 Add missing :version tags for new/changed defcustoms.
2586
b011fbfe
GM
2587 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2588
4c7e65bf
LI
25892012-02-09 Lars Ingebrigtsen <larsi@rusty>
2590
2591 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2592 (smtpmail-via-smtp): Use it, or fall back on the From address.
2593 (smtpmail-send-it): Ditto.
2594
f3934f6f
SM
25952012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2596
2597 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2598 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2599 (byte-compile-tmp-var): New const.
2600 (byte-compile-defvar): Use it to minimize .elc size.
2601 Just use `defvar' rather than simulate it (bug#10761).
2602
a075a2c5
GM
26032012-02-09 Glenn Morris <rgm@gnu.org>
2604
cf3aa21b
GM
2605 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2606
354998cd
GM
2607 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2608 Add :version tags.
2609
dc9924b8
SM
2610 * progmodes/compile.el (compilation-error-screen-columns)
2611 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2612
dab3703d
GM
2613 * vc/log-view.el (log-view-toggle-entry-display):
2614 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2615
3f88cd72
GM
2616 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2617 (report-emacs-bug-can-use-xdg-email):
2618 (report-emacs-bug-insert-to-mailer): Doc fixes.
2619 (report-emacs-bug): Message fix.
2620
d95b247d
GM
2621 * net/browse-url.el (browse-url-can-use-xdg-open)
2622 (browse-url-xdg-open): Doc fixes.
2623
a075a2c5
GM
2624 * electric.el (electric-indent-mode, electric-pair-mode)
2625 (electric-layout-rules, electric-layout-mode): Doc fixes.
2626 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2627
ffb6157e
MR
26282012-02-08 Martin Rudalics <rudalics@gmx.at>
2629
2630 * server.el (server-unselect-display): Don't inadvertently kill
2631 the current buffer. (Bug#10729)
2632
e1ac4066
GM
26332012-02-08 Glenn Morris <rgm@gnu.org>
2634
34e8a2da
GM
2635 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2636 (sql-list-table): Doc fixes.
2637
b4ac6e8c
GM
2638 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2639 Comment out (does nothing).
2640
e1ac4066
GM
2641 * completion.el (dynamic-completion-mode):
2642 * dirtrack.el (dirtrack-debug-mode):
2643 * electric.el (electric-layout-mode):
2644 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2645 * face-remap.el (text-scale-mode, buffer-face-mode):
2646 * iimage.el (iimage-mode):
2647 * image-mode.el (image-transform-mode):
2648 * minibuffer.el (completion-in-region-mode):
2649 * scroll-lock.el (scroll-lock-mode):
2650 * simple.el (next-error-follow-minor-mode):
2651 * tar-mode.el (tar-subfile-mode):
2652 * tooltip.el (tooltip-mode):
2653 * vcursor.el (vcursor-use-vcursor-map):
2654 * wid-browse.el (widget-minor-mode):
2655 * emulation/tpu-edt.el (tpu-edt-mode):
2656 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2657 * international/iso-ascii.el (iso-ascii-mode):
2658 * language/thai-util.el (thai-word-mode):
2659 * mail/supercite.el (sc-minor-mode):
2660 * net/goto-addr.el (goto-address-mode):
2661 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2662 * progmodes/cwarn.el (cwarn-mode):
2663 * progmodes/flymake.el (flymake-mode):
2664 * progmodes/glasses.el (glasses-mode):
2665 * progmodes/hideshow.el (hs-minor-mode):
2666 * progmodes/pascal.el (pascal-outline-mode):
2667 * textmodes/enriched.el (enriched-mode):
2668 * vc/smerge-mode.el (smerge-mode):
2669 Doc fixes (minor mode argument).
2670
5e0d957f
EZ
26712012-02-07 Eli Zaretskii <eliz@gnu.org>
2672
2673 * ls-lisp.el (ls-lisp-sanitize): New function.
2674 (ls-lisp-insert-directory): Use it to fix or remove any elements
2675 in file-alist with missing attributes. (Bug#4673)
2676
98d7371e
AM
26772012-02-07 Alan Mackenzie <acm@muc.de>
2678
2679 Fix spurious recognition of c-in-knr-argdecl.
2680
2681 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2682 putative K&R region.
2683
667ced3a
AM
26842012-02-07 Alan Mackenzie <acm@muc.de>
2685
eb864a71
LM
2686 * progmodes/cc-engine.el (c-forward-objc-directive):
2687 Prevent looping in "#pragma mark @implementation".
667ced3a 2688
5b77774d
MA
26892012-02-07 Michael Albinus <michael.albinus@gmx.de>
2690
2691 * notifications.el (notifications-on-closed-signal): Make `reason'
2692 optional. (Bug#10744)
2693
af008560
GM
26942012-02-07 Glenn Morris <rgm@gnu.org>
2695
60d47423
GM
2696 * emacs-lisp/easy-mmode.el (define-minor-mode):
2697 Doc fixes for the macro and the mode it defines.
2698
dd605cc4
GM
2699 * image.el (imagemagick-types-inhibit): Doc fix.
2700
af008560
GM
2701 * cus-start.el (imagemagick-render-type): Add it.
2702
5cc59a37
LI
27032012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2704
4d6769e1
JB
2705 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2706 Set the default at load time, too, so that `font-lock-fontify-buffer'
2707 can be called without setting up the entire mode first. This fixes
2708 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2709
9a6dd747
CY
27102012-02-06 Chong Yidong <cyd@gnu.org>
2711
2d16b285
CY
2712 * simple.el (list-processes--refresh): Delete exited processes
2713 (Bug#8094).
2714
171e9b6e
CY
2715 * comint.el (comint-next-prompt): next-single-char-property-change
2716 and prev-single-char-property-change never return nil (Bug#8657).
2717
9a6dd747
CY
2718 * custom.el (defcustom): Doc fix (Bug#9711).
2719
aa4589a7
CY
27202012-02-05 Chong Yidong <cyd@gnu.org>
2721
5c2a252f
CY
2722 * cus-edit.el (custom-variable-reset-backup): Quote the value
2723 before storing it in the customized-value property (Bug#6712).
4aab9006 2724 (custom-display): Add a customization type tag.
983b9602 2725 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2726
aa4589a7
CY
2727 * wid-edit.el (widget-field-value-get): New optional arg to
2728 suppress trailing whitespace truncation.
2729 (character): Use it (Bug#2689).
2730
1ff980ae
AS
27312012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2732
2733 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2734 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2735
03988c98
CY
27362012-02-05 Chong Yidong <cyd@gnu.org>
2737
eeb6cc88
CY
2738 * cus-edit.el (custom-variable-value-create): For mismatched
2739 types, show the current value (Bug#7600).
2740
03988c98
CY
2741 * custom.el (defcustom): Doc fix.
2742
f8cdeef0
GM
27432012-02-05 Glenn Morris <rgm@gnu.org>
2744
2745 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2746
0696d255
JB
27472012-02-05 Juanma Barranquero <lekktu@gmail.com>
2748
2749 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2750 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2751 (pp-last-sexp): Use `looking-at-p'.
2752
34c99998
GM
27532012-02-04 Glenn Morris <rgm@gnu.org>
2754
8f05da42
GM
2755 * files.el (revert-buffer):
2756 Doc fix (mention revert-buffer-in-progress-p).
2757
f160676e
GM
2758 * emacs-lisp/ert-x.el (ert-simulate-command):
2759 Check deferred-action-list (which is obsolete) is bound.
2760
c7291ad9
GM
2761 * subr.el (with-wrapper-hook): Doc fixes.
2762
34c99998
GM
2763 * simple.el (filter-buffer-substring-functions)
2764 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2765
6283a7d3
LL
27662012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2767
2768 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2769 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2770
e96e3013
LL
27712012-02-04 Leo Liu <sdl.web@gmail.com>
2772
2773 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2774
8ded50f2
GM
27752012-02-04 Glenn Morris <rgm@gnu.org>
2776
82ff1d13
GM
2777 * image.el (image-extension-data): Add obsolete alias.
2778
987a0a16
GM
2779 * isearch.el (isearch-update): Doc fix.
2780
ea32ef46
GM
2781 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2782
8ded50f2
GM
2783 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2784
eea14f31
GM
27852012-02-03 Glenn Morris <rgm@gnu.org>
2786
2787 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2788 (image-animate-timeout): Doc fix.
2789
2790 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2791
12f381b7
GM
27922012-02-02 Glenn Morris <rgm@gnu.org>
2793
953cebf5
GM
2794 * server.el (server-auth-dir): Doc fix.
2795 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2796
12f381b7
GM
2797 * subr.el (run-mode-hooks): Doc fix.
2798
953a8c3b
JL
27992012-02-02 Juri Linkov <juri@jurta.org>
2800
2801 * image-mode.el (image-toggle-display-image): Remove tautological
2802 `major-mode' from the `derived-mode-p' test.
2803
c5d3843c
KH
28042012-02-02 Kenichi Handa <handa@m17n.org>
2805
9f6e692e 2806 * composite.el (compose-region): Cancel previous change.
c5d3843c 2807
159462d4 28082012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2809
2810 * composite.el (compose-region, compose-string): Signal error for
2811 a null string component (Bug#6988).
2812
9f562668
CY
28132012-02-01 Chong Yidong <cyd@gnu.org>
2814
e2cef717
CY
2815 * view.el (view-buffer-other-window, view-buffer-other-frame):
2816 Handle special modes like view-buffer (Bug#10650).
2817 (view-buffer): Simplify.
2818
9f562668
CY
2819 * frame.el (set-frame-font): Tweak meaning of third argument.
2820
9f6e692e
JB
2821 * dynamic-setting.el (font-setting-change-default-font):
2822 Use set-frame-font (Bug#9982).
9f562668 2823
781acb9f
GM
28242012-02-01 Glenn Morris <rgm@gnu.org>
2825
6035be52
GM
2826 * progmodes/compile.el (compilation-internal-error-properties):
2827 Respect compilation-first-column in the "*compilation*" buffer.
2828
781acb9f
GM
2829 * emacs-lisp/easy-mmode.el (define-minor-mode):
2830 Relax :variable's test for a named function.
2831
abbceb00
AM
28322012-01-31 Alan Mackenzie <acm@muc.de>
2833
2834 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2835 off by one error.
2836
fce3fdeb
CY
28372012-01-31 Chong Yidong <cyd@gnu.org>
2838
2839 * frame.el (set-frame-font): New arg ALL-FRAMES.
2840
2841 * menu-bar.el (menu-set-font): Use set-frame-font.
2842
2843 * faces.el (face-spec-reset-face): Don't apply unspecified
2844 attribute values to the default face.
2845
47893581
JB
28462012-01-31 Juanma Barranquero <lekktu@gmail.com>
2847
2848 * progmodes/cwarn.el (cwarn): Remove dead link.
2849 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2850 Remove * from defcustom docstrings.
2851 (turn-on-cwarn-mode): Make obsolete.
2852 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2853 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2854
e58e988a
GM
28552012-01-31 Glenn Morris <rgm@gnu.org>
2856
60dc2671 2857 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2858 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2859 Allow named functions to be used as the cdr of :variable.
e58e988a 2860
7a3f511d
GM
28612012-01-30 Glenn Morris <rgm@gnu.org>
2862
2863 * emacs-lisp/authors.el (authors-fixed-entries):
2864 Remove reference to deleted file rnewspost.el.
2865
cb882333
JB
28662012-01-29 Juanma Barranquero <lekktu@gmail.com>
2867
2868 * window.el (window-with-parameter): Remove unused variable `windows'.
2869 (window--side-check): Remove unused variable `code'.
2870 (window--resize-siblings): Remove unused variable `first'.
2871 (adjust-window-trailing-edge): Remove unused variable `failed'.
2872 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2873 Use `let', not `let*'.
2874 (balance-windows-2): Remove unused variable `found'.
2875 (window--state-put-2): Remove unused variable `splits'.
2876 (window-state-put): Remove unused variable `selected'.
2877 (same-window-p): Use `string-match-p'.
2878 (display-buffer-assq-regexp): Remove unused variable `value'.
2879 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2880 Mark argument ALIST as ignored.
2881 (pop-to-buffer): Remove unused variable `old-window'.
2882
907201af
EZ
28832012-01-29 Eli Zaretskii <eliz@gnu.org>
2884
2885 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2886 and .lzma compressed files.
2887
ea162670
CY
28882012-01-29 Chong Yidong <cyd@gnu.org>
2889
5b95ee8a
CY
2890 * frame.el (window-system-default-frame-alist): Doc fix.
2891
ea162670
CY
2892 * dynamic-setting.el (font-setting-change-default-font): Don't
2893 change the default face if SET-FONT argument is non-nil (Bug#9982).
2894
d6e6f4b1
SB
28952012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2896
2897 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2898
0f29fa41 28992012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2900
2901 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2902 breakpoints in files outside current directory (Bug#6098).
2903
db174434
CY
29042012-01-29 Chong Yidong <cyd@gnu.org>
2905
6b25e4e2
SE
2906 * progmodes/python.el: Require ansi-color at top-level.
2907
6df6ae42
JB
2908 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2909 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2910 (lisp-mode-abbrev-table): Add doc.
2911 (lisp-mode-variables): Don't set local-abbrev-table.
2912 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2913
e70ee681
RW
29142012-01-28 Roland Winkler <winkler@gnu.org>
2915
2916 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2917
ace88aa2
RW
29182012-01-28 Roland Winkler <winkler@gnu.org>
2919
2920 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2921 (bibtex-set-dialect): Use it. Either set global values of
2922 dialect-dependent variables or bind these variables buffer-locally
2923 (Bug#10254).
2924 (bibtex-mode): Call bibtex-set-dialect via
2925 hack-local-variables-hook.
eb864a71
LM
2926 (bibtex-dialect): Update docstring.
2927 Add safe-local-variable predicate.
ace88aa2
RW
2928 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2929 bibtex-set-dialect.
2930 (bibtex-mode-map): Define menu for each dialect.
2931 (bibtex-entry): Fix docstring.
2932
93376c5b
CY
29332012-01-28 Chong Yidong <cyd@gnu.org>
2934
2935 * eshell/esh-arg.el (eshell-quote-argument): New function.
2936
2937 * eshell/esh-ext.el (eshell-invoke-batch-file):
2938 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2939 first arg to eshell-parse-command (Bug#10523).
2940
4372494f
DA
29412012-01-28 Drew Adams <drew.adams@oracle.com>
2942
2943 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2944 `default-directory' is non-nil.
2945
4d4ec1f8
EZ
29462012-01-28 Eli Zaretskii <eliz@gnu.org>
2947
2948 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2949 line that displays system-configuration-options. (Bug#9924)
2950
7c188927
DA
29512012-01-28 Drew Adams <drew.adams@oracle.com>
2952
2953 * descr-text.el (describe-char): Show information about POS, in
2954 addition to information about the character at POS. Improve and
2955 update the doc string. Change "code point" to "code point in
2956 charset", to avoid confusion with the character's Unicode code
2957 point shown above that. (Bug#10129)
2958
e0da685a
EZ
29592012-01-28 Eli Zaretskii <eliz@gnu.org>
2960
2961 * descr-text.el (describe-char): Show the raw character, not only
2962 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2963 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2964 for the reasons.
2965
70550acf
PH
29662012-01-28 Phil Hagelberg <phil@hagelb.org>
2967
eb864a71
LM
2968 * emacs-lisp/package.el (package-install):
2969 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2970
0ce8e868
CY
29712012-01-28 Chong Yidong <cyd@gnu.org>
2972
cb882333
JB
2973 * emacs-lisp/package.el (package-maybe-load-descriptor):
2974 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2975 (package-maybe-load-descriptor): Use it.
2976 (package-download-transaction): Fully load required packages
2977 inside the loop, so that `require' calls work (Bug#10593).
2978 (package-install): No need to call package-initialize now.
2979
2e7f3bea
CY
29802012-01-28 Chong Yidong <cyd@gnu.org>
2981
6e9bad14
CY
2982 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2983
f823b8ca
CY
2984 * tooltip.el (tooltip-mode): Doc fix.
2985 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2986
2680c309
CY
2987 * frame.el (set-cursor-color): Doc fix (Bug#352).
2988
d7a9e63b
CY
2989 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2990 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2991
2e7f3bea
CY
2992 * cus-edit.el (custom-buffer-create-internal): Fix search button
2993 action (Bug#10542).
2ae01800 2994 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2995
fc4f7a23
EW
29962012-01-27 Eduard Wiebe <usenet@pusto.de>
2997
2998 * dired.el (dired-mark-files-regexp):
2999 Include any subdirectory components. (Bug#10445)
3000
7dd37071
ML
30012012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3002
3003 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3004 Handle [host]:port syntax. (Bug#10533)
3005
a268160b
AH
30062012-01-27 Alex Harsanyi <harsanyi@mac.com>
3007
3008 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3009
e43273ef
GM
30102012-01-26 Glenn Morris <rgm@gnu.org>
3011
3012 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3013 * term.el (term-raw-escape-map): Use Control-X-prefix.
3014 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3015
1edf595d
MR
30162012-01-25 Martin Rudalics <rudalics@gmx.at>
3017
3018 * window.el (window-state-get, window--state-get-1): Don't deal
3019 with fixed-sizeness of windows. Simplify code.
3020
fa8eafef
JC
30212012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3022
6df6ae42
JB
3023 * window.el (window--state-get-1, window--state-put-2):
3024 Don't save and restore the mark.
fa8eafef 3025
0b21c100
CY
30262012-01-25 Chong Yidong <cyd@gnu.org>
3027
3028 * custom.el (custom-variable-p): Doc fix.
3029
5ae1a6c8
GM
30302012-01-25 Glenn Morris <rgm@gnu.org>
3031
40047858
GM
3032 * dired.el (dired-goto-file): Handle some of the more common
3033 characters that `ls -b' escapes. (Bug#10596)
3034
5ddce96c
GM
3035 * progmodes/compile.el (compilation-next-error-function):
3036 Respect compilation-first-column in the "*compilation*" buffer.
3037 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3038
5ae1a6c8
GM
3039 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3040
b559f1a9
GM
30412012-01-24 Glenn Morris <rgm@gnu.org>
3042
3043 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3044
6725d21a
JD
30452012-01-24 Julien Danjou <julien@danjou.info>
3046
3047 * color.el (color-rgb-to-hsl): Fix value computing.
3048 (color-hue-to-rgb): New function.
3049 (color-hsl-to-rgb): New function.
3050 (color-clamp, color-saturate-hsl, color-saturate-name)
3051 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3052 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3053
70df4bbe
GM
30542012-01-24 Glenn Morris <rgm@gnu.org>
3055
3056 * vc/vc-rcs.el (vc-rcs-create-tag):
3057 * vc/vc-sccs.el (vc-sccs-create-tag):
3058 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3059
802a2ae2
ML
30602012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3061
3062 * eshell/esh-util.el (eshell-read-hosts-file):
3063 Skip comment lines. (Bug#10549)
3064
d7128bb1
ML
3065 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3066
d1a5c3b4
JB
30672012-01-23 Juanma Barranquero <lekktu@gmail.com>
3068
2724d9c7
JB
3069 * subr.el (display-delayed-warnings): Doc fix.
3070 (collapse-delayed-warnings): New function to collapse identical
3071 adjacent warnings.
3072 (delayed-warnings-hook): Add it.
d1a5c3b4 3073
a5509865
MA
30742012-01-22 Michael Albinus <michael.albinus@gmx.de>
3075
3076 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3077
3078 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3079 properties, when "login-as" is set.
3080
3081 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3082 (tramp-default-user-alist): Don't add "pscp".
3083 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3084 property "login-as", if set. (Bug#10530)
3085
cc6d5805
MA
30862012-01-21 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3089 "plink1" and "psftp". (Bug#10530)
3090
30912012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3092
3093 * international/mule-cmds.el (prefer-coding-system): Show a
3094 warning message if the default value of file-name-coding-system
3095 was not changed.
3096
f0960428
JC
30972012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3098
cb882333
JB
3099 * windmove.el (windmove-reference-loc):
3100 Fix windmove-reference-loc miscalculation.
f0960428 3101
dd6f2a63
JB
31022012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3103
3104 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3105 default unit.
3106
7b447e9b
GM
31072012-01-21 Glenn Morris <rgm@gnu.org>
3108
117a9ea1
GM
3109 * international/mule.el (auto-coding-alist): Add .tbz.
3110
7b447e9b
GM
3111 * files.el (local-enable-local-variables): Doc fix.
3112 (inhibit-local-variables-regexps): Rename from
3113 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3114 Doc fix. Add some extensions from auto-coding-alist.
3115 (inhibit-local-variables-suffixes):
3116 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3117 (inhibit-local-variables-p):
3118 New function, extracted from set-auto-mode-1.
3119 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3120 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3121 (hack-local-variables): Doc fix. Make the mode-only case
3122 respect enable-local-variables and friends.
3123 Respect inhibit-local-variables-regexps for file-locals, but
3124 not for directory-locals.
3125 (set-visited-file-name):
3126 Take account of inhibit-local-variables-regexps.
3127 Whether it applies may change as the file name is changed.
3128 * jka-cmpr-hook.el (jka-compr-install):
3129 * jka-compr.el (jka-compr-uninstall):
3130 Update for inhibit-first-line-modes-suffixes name change.
3131
dd6e3cdd
MR
31322012-01-20 Martin Rudalics <rudalics@gmx.at>
3133
3134 * help-macro.el (make-help-screen): Temporarily restore original
3135 binding for minor-mode-map-alist (Bug#10454).
3136
0d0deb38
JD
31372012-01-19 Julien Danjou <julien@danjou.info>
3138
3139 * color.el (color-name-to-rgb): Use the white color to find the max
3140 color component value and return correctly computed values.
3141 (color-name-to-rgb): Add missing float conversion for max value.
3142
34a02f46
MR
31432012-01-19 Martin Rudalics <rudalics@gmx.at>
3144
3145 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3146 special state value for window-persistent-parameters.
3147 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3148 (window--state-put-2): Reset all window parameters to nil before
3149 assigning values of persistent parameters.
3150
606c44c4
AM
31512012-01-18 Alan Mackenzie <acm@muc.de>
3152
3153 Eliminate sluggishness and hangs in fontification of "semicolon
3154 deserts".
3155
cb882333
JB
3156 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3157 Change value 10000 -> 3000.
606c44c4
AM
3158 (c-state-safe-place): Reformulate so it doesn't stack up an
3159 infinite number of wrong entries in c-state-nonlit-pos-cache.
3160 (c-determine-limit-get-base, c-determine-limit): New functions to
3161 determine backward search limits disregarding literals.
3162 (c-find-decl-spots): Amend commenting.
3163 (c-cheap-inside-bracelist-p): New function which detects "={".
3164
3165 * progmodes/cc-fonts.el
3166 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3167 backward search.
3168 (c-font-lock-declarations): Fix an occurrence of point being
3169 undefined. Check additionally for point being in a bracelist or
3170 near a macro invocation without a semicolon so as to avoid a
3171 fruitless time consuming search for a declarator. Give a more
3172 precise search limit for declarators using the new
3173 c-determine-limit.
3174
f3860cea
GM
31752012-01-18 Glenn Morris <rgm@gnu.org>
3176
3177 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3178 (set-auto-mode): Doc fixes.
3179
1db03b16
GM
31802012-01-17 Glenn Morris <rgm@gnu.org>
3181
0e6038be
GM
3182 * isearch.el (search-nonincremental-instead): Fix doc typo.
3183
1db03b16
GM
3184 * dired.el (dired-insert-directory): Handle newlines in directory name.
3185 (dired-build-subdir-alist): Unescape newlines in directory name.
3186
4cb0aa75
MA
31872012-01-17 Michael Albinus <michael.albinus@gmx.de>
3188
3189 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3190 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3191 (tramp-action-terminal): Use it. (Bug#10530)
3192
1d00653d
SM
31932012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3194
3195 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3196
6a6ee00d
MR
31972012-01-16 Martin Rudalics <rudalics@gmx.at>
3198
3199 * window.el (window-state-ignored-parameters): Remove variable.
3200 (window--state-get-1): Rename argument MARKERS to IGNORE.
3201 Handle persistent window parameters. Make copy of clone-of
3202 parameter only if requested. (Bug#10348)
3203 (window--state-put-2): Install a window parameter only if it has
3204 a non-nil value or an existing parameter shall be overwritten.
3205
97912def
MA
32062012-01-15 Michael Albinus <michael.albinus@gmx.de>
3207
3208 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3209
688070a5
EZ
32102012-01-14 Eli Zaretskii <eliz@gnu.org>
3211
3212 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3213 don't pass the (nil) value of `upnode' to string-match.
3214
301afadc
CY
32152012-01-14 Chong Yidong <cyd@gnu.org>
3216
3217 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3218 Fix values recognized by the cursorBlink resource.
301afadc 3219
9e5788aa
PE
32202012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3221
3222 * epg.el (epg--make-temp-file): Avoid permission race condition
3223 when running on old Emacs versions (bug#10403).
3224
3cdb7f5a
GM
32252012-01-14 Glenn Morris <rgm@gnu.org>
3226
3227 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3228
8c82b1b4
AM
32292012-01-13 Alan Mackenzie <acm@muc.de>
3230
3231 Fix filling for when filladapt mode is enabled.
3232
3233 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3234 c-mask-paragraph, pass in `fill-paragraph' rather than
3235 `fill-region-as-paragraph'. (This is a reversion of a previous
3236 change.)
eb864a71
LM
3237 * progmodes/cc-mode.el (c-basic-common-init):
3238 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3239
e517eda4
GM
32402012-01-13 Glenn Morris <rgm@gnu.org>
3241
1498536e
GM
3242 * dired.el (dired-switches-escape-p): New function.
3243 (dired-insert-directory): Use dired-switches-escape-p.
3244 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3245
e517eda4
GM
3246 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3247
328f984d
GM
32482012-01-12 Glenn Morris <rgm@gnu.org>
3249
3250 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3251 changes in adaptive-fill-regexp. (Bug#10276)
3252
2cc769a8
AM
32532012-01-11 Alan Mackenzie <acm@muc.de>
3254
3255 Fix Emacs bug #10463 - put `widen's around the critical spots.
3256
1d00653d 3257 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3258 widen around each invocation of c-state-pp-to-literal. Remove an
3259 unused let variable.
3260
e52c37fa
GM
32612012-01-11 Glenn Morris <rgm@gnu.org>
3262
3263 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3264 Doc fix.
e52c37fa 3265
96f8741e
CY
32662012-01-10 Chong Yidong <cyd@gnu.org>
3267
1d00653d
SM
3268 * net/network-stream.el (network-stream-open-starttls):
3269 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3270 response to the capability command.
3271
b09a806e
GM
32722012-01-10 Glenn Morris <rgm@gnu.org>
3273
3274 * mail/unrmail.el (unrmail): Tweak previous change.
3275
7655cb66
CY
32762012-01-09 Chong Yidong <cyd@gnu.org>
3277
3278 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3279
9d5a8f0b
AM
32802012-01-08 Alan Mackenzie <acm@muc.de>
3281
3282 Optimise font locking in long enum definitions.
3283
3284 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3285 arm to a cond form to handle enums.
3286 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3287 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3288
9a0115ab 32892012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3290
3291 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3292 (Bug#10401)
6bb72cbd 3293
f186bb95
LMI
32942012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3295
29232a68
LMI
3296 * faces.el (set-face-attribute): Clarify the meaning of the nil
3297 frame (bug#10294).
3298
4e5d086d
LMI
3299 * subr.el (with-selected-frame): Mention that the selected frame
3300 is restored (bug#9980).
3301
8e66aebe
LMI
3302 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3303 (bug#9759).
3304
cd394be1 3305 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3306 (password-read): Don't autoload unused function.
3307
adf4e762
JB
33082012-01-07 Juanma Barranquero <lekktu@gmail.com>
3309
3310 * progmodes/which-func.el (which-func-mode): Turn into a
3311 non-interactive function and mark as obsolete (bug#10428).
3312
89bd9ccd
CY
33132012-01-06 Chong Yidong <cyd@gnu.org>
3314
3315 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3316 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3317 functions, along with 1 and -1.
3318
4afee9d5
EZ
33192012-01-06 Eli Zaretskii <eliz@gnu.org>
3320
3321 * time.el (display-time-load-average)
3322 (display-time-default-load-average): Doc fixes. See the thread
3323 starting at
3324 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3325 for the details.
3326
536aea70
GM
33272012-01-06 Glenn Morris <rgm@gnu.org>
3328
665ae865
GM
3329 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3330 has no messages. (Bug#10377)
3331
c869783d
GM
3332 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3333 than Info-edit. (Bug#10385)
3334
2bb4227e
GM
3335 * time.el (display-time-load-average, display-time-next-load-average):
3336 Doc fixes.
3337
7d5944b9
GM
3338 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3339 local setting of buffer-read-only to the input buffer. (Bug#10419)
3340
536aea70
GM
3341 * calendar/calendar.el (calendar-mode):
3342 Locally set scroll-margin to 0. (Bug#10379)
3343
7dccca16
UM
33442012-01-06 Ulrich Mueller <ulm@gentoo.org>
3345
3346 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3347
afbb7930
GM
33482012-01-05 Glenn Morris <rgm@gnu.org>
3349
3350 * eshell/em-unix.el (diff-no-select): Autoload it.
3351 (eshell/diff): Use diff-no-select. (Bug#10420)
3352
04482335
CY
33532012-01-05 Chong Yidong <cyd@gnu.org>
3354
7baca3bc
CY
3355 * shell.el (shell-dynamic-complete-functions): Revert last change.
3356 (shell-command-completion-function): New function.
3357 (shell-completion-vars): Use it to implement
3358 shell-completion-execonly (Bug#10417).
3359
04482335
CY
3360 * custom.el (enable-theme): Don't set custom-safe-themes.
3361
1d00653d
SM
3362 * cus-theme.el (custom-theme-merge-theme):
3363 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3364
bb5aa5d6
MM
33652012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3366
3367 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3368 first prompt in `sql-interacive-mode'.
3369 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3370 keywords.
6df6ae42 3371 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3372 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3373 context of original buffer. Invoke `sql-login-hook'.
3374
a7183d7c
EZ
33752012-01-04 Eli Zaretskii <eliz@gnu.org>
3376
3377 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3378 letters in cite-prefix.
3379
a1eacd1e
LMI
33802012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3381
3382 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3383
787cdb34
CY
33842012-01-03 Chong Yidong <cyd@gnu.org>
3385
1d00653d
SM
3386 * shell.el (shell-dynamic-complete-functions):
3387 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3388 comint-filename-completion first (Bug#10417).
3389
30710442
RS
33902012-01-02 Richard Stallman <rms@gnu.org>
3391
3392 * battery.el (battery-status-function):
3393 Detect when to use battery-yeeloong-sysfs.
3394 (battery-echo-area-format): Add string for Yeeloong.
3395 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3396 (battery-yeeloong-sysfs): New function.
3397
f75bfc33
CY
33982012-01-02 Chong Yidong <cyd@gnu.org>
3399
3400 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3401 (dirtrack): Merge code for handling relative filenames in prompt
3402 from shell-dir-cookie-watcher.
3403 (dirtrack-debug-message): New arg to avoid excess format calls.
3404
3405 * shell.el (shell-dir-cookie-re): Variable deleted.
3406 (shell-dir-cookie-watcher): Function deleted.
3407 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3408 with dirtrack-mode.
3409
651e947e
EZ
34102012-01-01 Eli Zaretskii <eliz@gnu.org>
3411
1d00653d
SM
3412 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3413 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3414 libgnutls-26.dll.
3415
94d4c7dc
AS
34162011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3417
3418 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3419
8d43f3cd
EZ
34202011-12-31 Eli Zaretskii <eliz@gnu.org>
3421
3422 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3423 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3424
98c8795a
MA
34252011-12-29 Michael Albinus <michael.albinus@gmx.de>
3426
3427 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3428 also for alternative shells.
3429 (tramp-open-connection-setup-interactive-shell): Check, whether
3430 the shell is a busybox.
3431 (tramp-send-command): Don't suppress multiple prompts for
3432 busyboxes, it hurts.
3433
51281b32
CY
34342011-12-28 Chong Yidong <cyd@gnu.org>
3435
3436 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3437 (gdb-get-source-file): Move mode line update to
3438 gdb-get-source-file (Bug#10087).
3439
2170cb53
CY
34402011-12-25 Chong Yidong <cyd@gnu.org>
3441
3442 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3443 gud-gdb-marker-filter without taking it as an argument.
3444 (gud-gdb-run-command-fetch-lines): Caller changed.
3445 (gud-gdb-completion-function): New variable.
3446 (gud-gdb-completion-at-point): Use it.
3447 (gud-gdb-completions-1): Split from gud-gdb-completions.
3448
3449 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3450 function as separate arguments.
3451 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3452 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3453 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3454 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3455 (gdb-stopped, def-gdb-auto-update-trigger)
3456 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3457 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3458 Callers changed.
2170cb53
CY
3459 (gud-gdbmi-completions): New function.
3460 (gdb): Use it for generating the completion table.
3461
be8b11bb
AM
34622011-12-24 Alan Mackenzie <acm@muc.de>
3463
3464 Introduce a mechanism to widen the region used in context font
1d00653d 3465 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3466
1d00653d
SM
3467 * progmodes/cc-langs.el (c-before-font-lock-functions):
3468 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3469 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3470 functions to be run just before context (etc.) font locking.
3471
3472 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3473 New, functionality extracted from
be8b11bb 3474 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3475 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3476 (c-after-change): Set c-in-after-change-fontification.
3477 (c-set-fl-decl-start): Rejig its interface, so it can be called
3478 from both after-change and context fontifying.
b81d40f0
JB
3479 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3480 New functions.
3481 (c-standard-font-lock-fontify-region-function): New variable.
3482 (c-font-lock-fontify-region): New function.
be8b11bb 3483
341cf6ac
JL
34842011-12-24 Juri Linkov <juri@jurta.org>
3485
3486 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3487 (Bug#10348)
3488
bffcee0a
MA
34892011-12-23 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3492 existence of source file. (Bug#10325)
3493
cb5e207c
AM
34942011-12-23 Alan Mackenzie <acm@muc.de>
3495
3496 Fix unstable fontification inside templates.
3497
b81d40f0
JB
3498 * progmodes/cc-langs.el (c-before-font-lock-functions):
3499 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3500 additionally has c-set-fl-decl-start. The other languages (apart
3501 from AWK) have that as a single entry.
3502
b81d40f0
JB
3503 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3504 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3505 c-set-fl-decl-start.
3506
b81d40f0
JB
3507 * progmodes/cc-mode.el (c-common-init, c-after-change):
3508 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3509 (c-set-fl-decl-start): New function, extracted from
3510 c-font-lock-enclosing-decls and enhanced.
3511
60ff536c
JB
35122011-12-23 Juanma Barranquero <lekktu@gmail.com>
3513
3514 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3515
1c4757d6
JL
35162011-12-22 Juri Linkov <juri@jurta.org>
3517
3518 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3519
d031f2c7
CY
35202011-12-22 Chong Yidong <cyd@gnu.org>
3521
3522 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3523
bace743a
DA
35242011-12-21 Drew Adams <drew.adams@oracle.com>
3525
3526 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3527
728a1f2b
JC
35282011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3529
3530 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3531
0d373f73
TZ
35322011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3533
fec0aaa4
TZ
3534 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3535 highlighting and support. Fix up comments for capitalization.
3536 (cfengine-mode-debug): New var.
3537 (cfengine3-mode): Change the modeline indicator to "CFE3".
3538 (cfengine3-font-lock-keywords): Improve defun highlighting.
3539 (cfengine2-actions): Rename from `cfengine-actions'.
3540 (cfengine2-font-lock-keywords): Rename from
3541 `cfengine-font-lock-keywords'.
3542 (cfengine2-imenu-expression): Rename from
3543 `cfengine-imenu-expression'.
3544 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3545 (cfengine2-beginning-of-defun): Rename from
3546 `cfengine-beginning-of-defun'.
3547 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3548 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3549 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3550 modeline indicator to "CFE2".
3551 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3552 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3553
bc86f573
CY
35542011-12-21 Chong Yidong <cyd@gnu.org>
3555
3556 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3557 filename argument.
3558
d45ba96b
MR
35592011-12-20 Martin Rudalics <rudalics@gmx.at>
3560
3561 * window.el (window-normalize-buffer-to-display): Remove.
3562 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3563
a6198c90
CY
35642011-12-19 Chong Yidong <cyd@gnu.org>
3565
3566 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3567 Don't signal an error in a predicate function; return non-nil.
3568 (vc-dir-mark-file): Move the error here.
3569 (vc-dir-mark-unmark): If acting on the region, keep going if one
3570 of the entries cannot be marked/unmarked.
3571 (vc-dir-mark-all-files): If current entry is a directory, mark
3572 only child files, as documented.
3573
34c5fb55
VB
35742011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3575
3576 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3577 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3578 addition.
3579
c803b2b7
JD
35802011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3581
3582 * term/ns-win.el (ns-get-selection-internal)
3583 (ns-store-selection-internal): Declare.
1154d12e
JB
3584 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3585 Declare as obsolete.
3586 (ns-get-pasteboard, ns-paste-secondary):
3587 Use ns-get-selection-internal.
3588 (ns-set-pasteboard, ns-copy-including-secondary):
3589 Use ns-store-selection-internal.
c803b2b7 3590
9cff91f8 35912011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3592
3593 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3594 (vc-deduce-fileset): Doc fix.
99a289d9 3595
f16c898a
AS
35962011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3597
3598 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3599
763237c4
SS
36002011-12-13 Sam Steingold <sds@gnu.org>
3601
3602 * man.el (Man-getpage-in-background): When running under a
3603 window-system, ignore $MANWIDTH and $COLUMNS.
3604
5fc1c122
KH
36052011-12-15 Kenichi Handa <handa@m17n.org>
3606
3607 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3608 (setup-ethiopic-environment-internal): Comment out key-binding for
3609 ethio-toggle-punctuation.
3610
13d49cbb
AM
36112011-12-13 Alan Mackenzie <acm@muc.de>
3612
898169a2
AM
3613 Add the switch statement to AWK Mode.
3614
7a71b18d 3615 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3616 "default" to the keywords regexp.
3617
7a71b18d 3618 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3619 expression as the rest.
1d00653d
SM
3620 (c-nonlabel-token-key): Allow string literals for AWK.
3621 Refactor for the other modes.
898169a2 3622
13d49cbb 3623 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3624 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3625 routines. Limit backward searching in c-font-lock-enclosing.decl.
3626
3627 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3628 pp-state and literal type in addition to the limits.
1d00653d 3629 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3630 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3631 (c-slow-in-literal, c-fast-in-literal): Remove.
3632 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3633
3634 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3635 being in a literal. Add a limit for backward searching.
3636
3637 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3638 c-slow-in-literal.
3639
15e0efc7
SM
36402011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3641
3642 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3643
454592a6
MR
36442011-12-13 Martin Rudalics <rudalics@gmx.at>
3645
3646 * window.el (delete-other-windows): Use correct frame in call to
3647 window-with-parameter.
3648
87393f26
DP
36492011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3650
3651 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3652 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3653 (makefile-gmake-statements, makefile-makepp-statements):
3654 Use it and add new makepp keywords.
3655 (makefile-makepp-font-lock-keywords): Add new patterns.
3656 (makefile-match-function-end): Match new [...] and [[...]].
3657
11636b22
JB
36582011-12-11 Juanma Barranquero <lekktu@gmail.com>
3659
3660 * ses.el (ses-call-printer-return, ses-cell-property-get)
3661 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3662 (ses-create-cell-variable, ses-reset-header-string)
3663 (ses-cell-set-formula, ses-repair-cell-reference-all)
3664 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3665 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3666 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3667 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3668 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3669 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3670 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3671 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3672 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3673 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3674 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3675 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3676
cf018193
VB
36772011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3678
3679 * ses.el: The overall change is to add cell renaming, that is
3680 setting fancy names for cell symbols other than name matching
3681 "\\`[A-Z]+[0-9]+\\'" regexp .
3682 (ses-create-cell-variable): New defun.
3683 (ses-relocate-formula): Relocate formulas only for cells the
3684 symbols of which are not renamed, i.e. symbols whose names do not
3685 match regexp "\\`[A-Z]+[0-9]+\\'".
3686 (ses-relocate-all): Relocate values only for cells the symbols of
3687 which are not renamed.
3688 (ses-load): Create cells variables as the (ses-cell ...) are read,
3689 in order to check row col consistency with cell symbol name only
3690 for cells that are not renamed.
3691 (ses-replace-name-in-formula): New defun.
3692 (ses-rename-cell): New defun.
3693
ee957461
CY
36942011-12-11 Chong Yidong <cyd@gnu.org>
3695
3696 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3697 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3698
9a9e9ef0
MR
36992011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3700
3701 * window.el (other-window): Fix docstring.
3702
92a8eba5
EZ
37032011-12-10 Eli Zaretskii <eliz@gnu.org>
3704
3705 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3706 `from' or `to' address before taking its substring.
3707 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3708 encoded name is chopped in the middle of the encoded string, and
3709 thus displayed encoded.
3710
e152e577
JB
37112011-12-10 Juanma Barranquero <lekktu@gmail.com>
3712
3713 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3714
e5d84bfe
EZ
37152011-12-10 Eli Zaretskii <eliz@gnu.org>
3716
3717 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3718 to use texinfo-update-node and commands that call it if the
3719 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3720 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3721 (texinfo-all-menus-update, texinfo-master-menu)
3722 (texinfo-update-node, texinfo-every-node-update)
3723 (texinfo-multiple-files-update): Doc fix. Warn against updating
3724 all the @node lines.
3725 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3726 argument is numeric. Explain better in the doc string what the
3727 function really does.
3728 (texinfo-insert-master-menu-list): Improve the error message
3729 displayed if there's no menu in the Top node.
3730 (Bug#2975) See also this thread:
e5d84bfe
EZ
3731 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3732
1d84e9bb
MG
37332011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3734
3735 * speedbar.el (speedbar-supported-extension-expressions):
3736 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3737
382c953b
JB
37382011-12-09 Juanma Barranquero <lekktu@gmail.com>
3739
3740 * printing.el (pr-mode-alist):
3741 * simple.el (filter-buffer-substring-functions)
3742 (completion-list-insert-choice-function):
3743 * window.el (window-with-parameter, window-atom-root)
3744 (window-sides-slots, window-size-fixed, window-min-delta)
3745 (window-max-delta, window--resize-mini-window)
3746 (window--resize-child-windows-normal, window-tree)
3747 (delete-other-windows, quit-window, split-window)
3748 (display-buffer-record-window, special-display-buffer-names)
3749 (special-display-regexps, special-display-popup-frame)
3750 (same-window-p, split-window-sensibly)
3751 (display-buffer-overriding-action, display-buffer-alist)
3752 (display-buffer-base-action, display-buffer, switch-to-buffer)
3753 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3754 (fit-window-to-buffer, recenter-positions)
3755 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3756 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3757 and remove unneeded backslashes in docstrings.
3758
39c9faef
SM
37592011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3760
98449af8
SM
3761 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3762
39c9faef
SM
3763 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3764 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3765 end in ".mk".
3766 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3767 when reading the makefile (bug#10116).
3768
86ed9fdc
SM
37692011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3772 (bug#10116).
3773
5580f89d
GM
37742011-12-06 Glenn Morris <rgm@gnu.org>
3775
3776 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3777
28d3917c
CY
37782011-12-06 Chong Yidong <cyd@gnu.org>
3779
3780 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3781
a98edce9
JB
37822011-12-06 Juanma Barranquero <lekktu@gmail.com>
3783
3784 * textmodes/table.el (table-shorten-cell): Fix typo.
3785
e65adfac
CG
37862011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3787
3788 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3789
71cc0b74
EZ
37902011-12-05 Eli Zaretskii <eliz@gnu.org>
3791
3792 * descr-text.el (describe-char): Fix display of strong
3793 right-to-left characters and directional embeddings and overrides.
3794
3795 * simple.el (what-cursor-position): Fix display of codepoints of
3796 strong right-to-left characters.
3797
315bc30d
CY
37982011-12-05 Chong Yidong <cyd@gnu.org>
3799
3800 * faces.el (read-color): Doc fix.
3801
58a70b94
GM
38022011-12-05 Glenn Morris <rgm@gnu.org>
3803
3804 * align.el (align--set-marker): Add doc-string.
3805 Don't try to move something that is not a marker. (Bug#10216)
3806
5158face
GM
38072011-12-04 Glenn Morris <rgm@gnu.org>
3808
3809 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3810 overly zealous deletion of trailing whitespace.
3811
520fca41
JB
38122011-12-04 Juanma Barranquero <lekktu@gmail.com>
3813
3814 * server.el (server-delete-client): On Windows, do not try to delete
3815 the only terminal.
3816 (server-process-filter): On Windows, treat requests for a tty frame as
3817 if they were for a GUI frame if the running server is in GUI mode.
3818
5e605a2e
GM
38192011-12-03 Glenn Morris <rgm@gnu.org>
3820
3821 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3822
5c3fe83f
SM
38232011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3824
6f5e57e7
SM
3825 * electric.el: Streamline electric-indent's hook.
3826 (electric-indent-chars): Revert to simple list.
3827 (electric-indent-functions): New var.
3828 (electric-indent-post-self-insert-function): Use it.
3829
5c3fe83f
SM
3830 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3831 there's no inferior buffer (bug#10196).
3832 (prolog-consult-compile): Don't use toggle-read-only.
3833
6bdac736
MA
38342011-12-02 Michael Albinus <michael.albinus@gmx.de>
3835
3836 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3837 interrupt. (Bug#10187)
3838
6131ba7f
SM
38392011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3840
99c79fee
SM
3841 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3842 (bug#9160).
3843
6131ba7f
SM
3844 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3845 (bug#10191).
3846
cb0a02ea
JL
38472011-12-02 Juri Linkov <juri@jurta.org>
3848
3849 * info.el (Info-search): Display "end of manual" when Isearch
3850 reaches the end of single-file Info manual. (Bug#9918)
3851
66e0570c
EZ
38522011-12-02 Eli Zaretskii <eliz@gnu.org>
3853
3854 * isearch.el (isearch-message-prefix): Run the input method part
3855 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3856
02b16839
JL
38572011-12-02 Juri Linkov <juri@jurta.org>
3858
3859 * isearch.el (isearch-occur): Use `word-search-regexp' for
3860 `isearch-word'.
3861 (isearch-search-and-update): Add condition for `isearch-word' and
3862 call `word-search-regexp'. (Bug#10145)
3863
0b950688
GM
38642011-12-01 Glenn Morris <rgm@gnu.org>
3865
3866 * eshell/em-hist.el (eshell-hist-initialize):
3867 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3868 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3869
9505c3c7
SM
38702011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3873
1bbe96b2 38742011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3875
a1beca85
SM
3876 * progmodes/verilog-mode.el (verilog-pretty-expr):
3877 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3878 verilog, such as += *= and the like.
3879 (verilog-assignment-operator-re): Regular expression to find the
3880 assigment operator in a verilog assignment.
3881 (verilog-assignment-operation-re): Regular expression to find an
3882 assignment statement for pretty-expr.
3883 (verilog-in-attribute-p): Query returns true if point is in an
3884 attribute context; used to skip these for expression line up from
3885 pretty-expr.
3886 (verilog-in-parameter-p): Query returns true if point is in an
3887 parameter definition context; used to skip these for expression
3888 line up from pretty-expr.
3889 (verilog-in-parenthesis-p): Query returns true if point is in a
3890 parenthetical expression, specifically ( ) but not [ ] or { };
3891 used by pretty-expr.
3892 (verilog-just-one-space): If there is no space, don't add one.
3893 (verilog-get-lineup-indent-2): Specifically skip just attribute
3894 contexts for expression lineup, rather than skipping all
3895 parenthetical expressions.
3896 (verilog-calculate-indent): Fix comment, and fix indent.
3897 (verilog-do-indent): Indent declarations in lists (suggested by
3898 Joachim Lechner).
3899 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3900 skeleton items.
3901 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3902 by Alain Mellan).
3903
1bbe96b2 39042011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3905
3906 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3907 parameters with embedded comments. Reported by Ray Stevens.
3908 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3909 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3910 Reported by Tim Holt.
3911 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3912 instantiated by upper module causing wrong expansion until AUTOed a
3913 second time. Reported by K C Buckenmaier.
3914 (verilog-diff-auto): Fix showing .* as a difference when
3915 `verilog-auto-star-save' off. Reported by Dan Dever.
3916 (verilog-auto-reset, verilog-read-always-signals)
3917 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3918 temporary signals in reset list if
3919 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3920 style to each signal's assignment type, bug381.
3921 Reported by Thomas Esposito.
6288f0ca
WS
3922 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3923 (verilog-uvm-statement-re): Support UVM indentation and
3924 highlighting, with old OVM keywords only.
a1beca85 3925 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3926 Support AUTOTIEOFF creating non-wire data types.
3927 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3928 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3929 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3930 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3931 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3932 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3933 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3934 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3935 non-numeric vector width. Reported by Alex Reed.
3936 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3937 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3938 (verilog-auto-delete-trailing-whitespace):
3939 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3940 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3941 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3942 Fix verilog-scan-cache corruption when running user AUTO expansion
3943 hooks that call indentation routines.
3944 (verilog-simplify-range-expression): Fix typo ignoring lower case
3945 identifiers.
3946 (verilog-delete-auto): Fix delete-autos to also remove user created
3947 automatics, as long as they start with AUTO.
3948 (verilog-batch-diff-auto, verilog-diff-auto)
3949 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3950 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3951 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3952 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3953 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3954 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3955 is disabled and its cache will get corrupt, causing AUTOS not to
3956 expand. Instead use only -quick functions.
3957 (verilog-scan-region): Fix scanning over escaped quotes.
3958 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3959 (verilog-re-search-backward-quick)
3960 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3961 related functions now ignore strings, to fix misparsing of strings
3962 with magic comments embedded in them.
a1beca85
SM
3963 (verilog-read-auto-template):
3964 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3965 Reported by Brad Dobbie.
3966 (verilog-read-auto-template):
3967 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3968 Reported by Brad Dobbie.
6288f0ca
WS
3969 (verilog-auto-inst, verilog-auto-inst-param)
3970 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3971 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3972 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3973 debugging templates without merge conflicts, bug357.
3974 Reported by Brad Dobbie.
3975 (verilog-read-auto-template):
3976 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3977 Reported by Brad Dobbie.
3978 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3979 abbrevs so user won't be asked to save.
3980 (verilog-read-auto-lisp-present): Fix to start at beginning of
3981 buffer in case called outside of verilog-auto.
3982 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3983 to "X-2". Reported by Matthew Myers.
3984 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3985 all inputs from module templates. Reported by Leith Johnson.
3986 (verilog-module-inside-filename-p): Fix locating programs as with
3987 modules.
3988 (verilog-auto-inst-port): Fix vl-width expressions when using
3989 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3990 (verilog-decls-get-regs, verilog-decls-get-signals,
3991 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3992 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3993 verilog-read-decls): Combine reg and wire structures into one var
3994 structure to represent SystemVerilog concepts.
3995 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3996 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3997 (verilog-auto-wire-type, verilog-insert-definition):
3998 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3999 SystemVerilog "logic" keyword instead of "wire"/"reg".
4000 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4001 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4002 ifdef or generate if so there's not a driver conflict).
4003 Reported by Matthew Myers.
4004 (verilog-auto-declare-nettype, verilog-insert-definition):
4005 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4006 `default_nettype none. Reported by Julian Gorfajn.
4007 (verilog-read-always-signals-recurse, verilog-read-decls)
4008 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4009 malformed end statement, bug325. Reported by Joshua Wise and
4010 Andrew Drake.
4011 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4012 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4013 when expanding .* in interfaces, bug320.
4014 Reported by Pierre-David Pfister.
6288f0ca 4015 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4016 name and open parenthesis, bug317.
4017 Reported by Pierre-David Pfister.
6288f0ca
WS
4018 (verilog-simplify-range-expression): Fix simplification of
4019 multiplications inside AUTOWIRE connections, bug303.
4020 (verilog-auto-inst-port): Support parameter expansion in
4021 multidimensional arrays.
4022 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4023 after "assert property". Reported by Julian Gorfajn.
4024 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4025 with multiplication, bug303.
4026 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4027 Reported by Jan Frode Lonnum.
4028
1bbe96b2
GM
40292011-11-30 Juanma Barranquero <lekktu@gmail.com>
4030
4031 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4032 (hfy-shell-file-name, hfy-shell):
4033 * international/fontset.el (x-decompose-font-name): Fix typos.
4034
40352011-11-29 Ken Brown <kbrown@cornell.edu>
4036
4037 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4038 (gdb-version): Remove defvar.
4039 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4040 (gdb-gud-context-command, gdb-non-stop-handler)
4041 (gdb-current-context-command, gdb-stopped): Use it.
4042 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4043 (gdb-non-stop-handler): Don't enable pretty-printing here.
4044 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4045 non-stop mode. Use the following.
4046 (gdb-check-target-async): New defun.
4047 (gud-watch, gdb-stopped): Fix whitespace.
4048 (gdb-get-source-file): Don't try to display the source file if
4049 `gdb-main-file' is nil.
4050
40512011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * align.el: Try to generate fewer markers (bug#10047).
4054 (align--set-marker): New macro.
4055 (align-region): Use it.
4056
c935221f
SM
40572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4060
e70b5064
CY
40612011-11-29 Chong Yidong <cyd@gnu.org>
4062
4063 * indent.el (indent-for-tab-command, indent-according-to-mode):
4064 Doc fix.
4065 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4066
f3af92b7
MA
40672011-11-29 Michael Albinus <michael.albinus@gmx.de>
4068
4069 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4070 aware of remote file names. (Bug#10124)
4071
ed472be9
CY
40722011-11-29 Chong Yidong <cyd@gnu.org>
4073
4074 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4075
24510c22
SM
40762011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * files.el (find-file): Don't use force-same-window (bug#10144).
4079 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4080 use pop-to-buffer if the selected window can't be used.
4081 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4082
c60c3703
EZ
40832011-11-28 Eli Zaretskii <eliz@gnu.org>
4084
4085 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4086 special-mode-map.
4087
e95def75
CY
40882011-11-28 Chong Yidong <cyd@gnu.org>
4089
4090 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4091
c3f1c606
NR
40922011-11-27 Nick Roberts <nickrob@snap.net.nz>
4093
4094 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4095 gdb-get-source-file-list on gdb-create-source-file-list.
4096
00db469c
EZ
40972011-11-26 Eli Zaretskii <eliz@gnu.org>
4098
4099 * whitespace.el (whitespace-newline): Use a different foreground
4100 color for 16-color light-background displays.
4101
4ad3bc2a
CY
41022011-11-24 Chong Yidong <cyd@gnu.org>
4103
4104 * window.el (display-buffer--special-action): Doc fix.
4105
e9fce1ac
JB
41062011-11-25 Juanma Barranquero <lekktu@gmail.com>
4107
4108 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4109 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4110 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4111 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4112 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4113 (avl-tree-stack-first):
4114 * emacs-lisp/cconv.el (cconv--analyse-use):
4115 * net/gnutls.el (gnutls-negotiate): Fix typos.
4116
cb825e5d
GM
41172011-11-24 Glenn Morris <rgm@gnu.org>
4118
3adbe224
GM
4119 * lpr.el (lpr-windows-system, lpr-lp-system):
4120 * mail/binhex.el (binhex-begin-line):
4121 * progmodes/grep.el (grep-history, grep-find-history):
4122 * textmodes/flyspell.el:
4123 * vc/pcvs-defs.el (cvs-global-menu):
4124 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4125 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4126 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4127
321decc8
GM
4128 * net/tls.el: Fix case of "GnuTLS".
4129
420b63ad
GM
4130 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4131
cb825e5d
GM
4132 * version.el (emacs-build-system): Give it a doc-string.
4133
a0649f08
JL
41342011-11-24 Juri Linkov <juri@jurta.org>
4135
4136 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4137
c0bc0fd4
GM
41382011-11-24 Glenn Morris <rgm@gnu.org>
4139
4140 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4141 if called on a non-mime message just toggle the headers. (Bug#8006)
4142
20db1522
JB
41432011-11-24 Juanma Barranquero <lekktu@gmail.com>
4144
4145 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4146 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4147 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4148 (allout-rebullet-heading, allout-open-sibtopic)
4149 (allout-toggle-current-subtree-encryption)
4150 (allout-toggle-subtree-encryption, allout-encrypt-string)
4151 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4152 (allout-distinctive-bullets-string, allout-auto-activation):
4153 * window.el (window-normalize-buffer-to-display):
4154 * progmodes/verilog-mode.el (verilog-batch-indent):
4155 * textmodes/bibtex.el (bibtex-field-braces-opt)
4156 (bibtex-field-strings-opt):
4157 * vc/cvs-status.el (cvs-tree-merge):
4158 Fix typos.
4159
7262a87c
MA
41602011-11-23 Michael Albinus <michael.albinus@gmx.de>
4161
4162 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4163 `non-essential' to t, in order to avoid remote connections.
4164
283430a1
EZ
41652011-11-23 Eli Zaretskii <eliz@gnu.org>
4166
a1beca85
SM
4167 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4168 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4169 case-insensitively.
4170
d2992a38
ML
41712011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4172
4173 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4174
50419064
GM
41752011-11-23 Glenn Morris <rgm@gnu.org>
4176
da94eca1
GM
4177 * paths.el (rmail-file-name): Reformat the doc-string so that it
4178 is picked up.
4179
9aac4de2
GM
4180 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4181 (rmail-auto-file): Ignore case in the "special" field names,
4182 as mail-fetch-field does for all others.
4183
8038d2d2
GM
4184 * mail/rmail.el (rmail-forward):
4185 * mail/rmailkwd.el (rmail-set-label):
4186 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4187 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4188
f3fe222a
GM
4189 * mail/rmail.el (rmail-current-message): Doc fix.
4190
50419064
GM
4191 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4192
28109f49
SM
41932011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4194
4195 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4196
394c65f1
GM
41972011-11-22 Glenn Morris <rgm@gnu.org>
4198
4199 * mail/rmailmm.el (test-rmail-mime-handler)
4200 (test-rmail-mime-bulk-handler)
4201 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4202
f2a0aa3a
JL
42032011-11-21 Juri Linkov <juri@jurta.org>
4204
1154d12e
JB
4205 * calc/calc.el (calc-read-key-sequence):
4206 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4207
9c34a344
LMI
42082011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4209
4210 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4211 Tell the caller that the next line needs recomputation, even
4212 though it doesn't start a sexp (bug#10094).
4213
f04a3be9
SM
42142011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4217
7978747f
SM
42182011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4219
f04a3be9
SM
4220 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4221 Use force-same-window.
7978747f 4222
fe7a3057
JB
42232011-11-20 Juanma Barranquero <lekktu@gmail.com>
4224
4225 * descr-text.el (describe-char-unicode-data):
4226 * json.el (json-string-escape):
4227 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4228 (Footnote-unicode, Footnote-style-p):
4229 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4230
24901d61
CY
42312011-11-20 Chong Yidong <cyd@gnu.org>
4232
4233 * window.el (replace-buffer-in-windows): Restore interactive spec.
4234
bac7ff22
SM
42352011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4236
24f3d7b9
SM
4237 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4238
bac7ff22
SM
4239 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4240 (byte-compile-global-not-obsolete-vars): New var.
4241 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4242 Use it.
4243 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4244
cd1181db
JB
42452011-11-20 Juanma Barranquero <lekktu@gmail.com>
4246
4247 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4248 * progmodes/pascal.el (electric-pascal-equal):
4249 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4250 * xml.el (xml-substitute-special): Fix typos.
4251
7fb18e9e
GM
42522011-11-20 Glenn Morris <rgm@gnu.org>
4253
4254 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4255 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4256 Doc fixes.
4257 (rmail-decode-mime-charset): Mark as obsolete.
4258
4259 * mail/rmailsum.el (rmail-message-regexp-p-1):
4260 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4261 Before using mime functions, check they are set. (Bug#10077)
4262
d5a6b3ba
JL
42632011-11-19 Juri Linkov <juri@jurta.org>
4264
4265 * info.el (Info-finder-find-node): Use `package--builtins' instead
4266 of `package-alist'. Use node names formed by the pattern "Keyword "
4267 and the keyword name.
4268
e981b61f
AS
42692011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4270
1d00653d 4271 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4272
3ffbc301
JL
42732011-11-19 Juri Linkov <juri@jurta.org>
4274
4275 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4276 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4277 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4278 `old-history', `old-history-forward'. Add let-binding
4279 `window-selected'. Remove calls to `kill-buffer',
4280 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4281 before calling `Info-find-node', so `Info-find-node-2' will reread
4282 the Info file. Restore window positions only when `window-selected'
4283 is non-nil.
4284
30c62133
JL
42852011-11-19 Juri Linkov <juri@jurta.org>
4286
4287 * isearch.el (isearch-lazy-highlight-new-loop):
4288 Remove condition `(not isearch-error)'. (Bug#9918)
4289
4290 * misearch.el (multi-isearch-search-fun): Add condition
4291 `(not bound)' to ignore lazy-highlighting search.
4292 Add the search-failed message "end of multi" when the end of
4293 multi-sequence is reached. Uncapitalize the search-failed
4294 message "Repeat for next buffer".
4295
4296 * info.el (Info-search): Add the search-failed message
4297 "end of the manual" when the end of the manual is reached
4298 in Isearch mode.
4299
645ca9cf
JL
43002011-11-19 Juri Linkov <juri@jurta.org>
4301
4302 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4303 Use non-destructive `remove' instead of `delete' because
4304 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4305 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4306
df754f66
JL
43072011-11-19 Juri Linkov <juri@jurta.org>
4308
4309 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4310 to nil instead of binding `search-ring' and `regexp-search-ring'.
4311 (Bug#9185)
4312
0e23d96a
EZ
43132011-11-19 Eli Zaretskii <eliz@gnu.org>
4314
4315 * simple.el (line-move): Force movement by logical lines for any
4316 hscrolled window, not only when auto-hscroll-mode is on.
4317 (line-move-visual): Update doc string to that effect. (Bug#10076)
4318
8a6ccb66
AS
43192011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4320
4321 * language/european.el (macintosh): Define as alias for mac-roman.
4322
49ae5b39
EZ
43232011-11-19 Eli Zaretskii <eliz@gnu.org>
4324
4325 * mail/rmailmm.el (rmail-mime-display-header)
4326 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4327 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4328 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4329 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4330 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4331 of a raw aref.
4332 (rmail-mime-entity-segment): To get past the tagline, move forward
4333 2 more lines, to account for the 2 empty lines that precede and
4334 follow the line with the buttons.
4335 (rmail-mime-update-tagline): Move one more line, to get past the
4336 empty line that follows the buttons in the tagline. (Bug#9520)
4337
c56cad4a
MR
43382011-11-19 Martin Rudalics <rudalics@gmx.at>
4339
4340 * window.el (window-max-delta-1, window-min-delta-1)
4341 (window-min-size-1, window-state-get-1, window-state-put-1)
4342 (window-state-put-2): Use "window--" prefix.
4343
cbe71af3
SM
43442011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4345
2ad52c60
SM
4346 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4347 (smie-warning-count): New var.
4348 (smie-set-prec2tab): Use it.
4349 (smie-bnf->prec2): Improve warnings. Add docstring.
4350 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4351 (smie-bnf--set-class): New function.
4352 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4353 corner case.
4354
6944dbc1
SM
4355 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4356 (compilation-error-properties, compilation-move-to-column):
4357 Handle compilation-first-column while in the target buffer.
4358
c400c4d7
SM
4359 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4360 Don't hardcode point-min==1.
4361
6dbe3e96
SM
4362 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4363 (eshell-rewrite-for-command): Remove workaround.
4364 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4365 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4366 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4367
cbe71af3
SM
4368 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4369
a8e1496d
GM
43702011-11-17 Glenn Morris <rgm@gnu.org>
4371
4372 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4373 Ignore buffer-local generated-autoload-file if it is the same
4374 as the global value. (Bug#10049)
4375
df85d315
JB
43762011-11-17 Juanma Barranquero <lekktu@gmail.com>
4377
4378 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4379 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4380 (reftex-toc-previous-heading, reftex-toc-max-level)
4381 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4382 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4383 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4384 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4385 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4386 (reftex-toc-rename-label, reftex-toc-visit-location)
4387 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4388 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4389 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4390 leaving "*toc*" only for references to the buffer.
4391
a0c2d0ae
MR
43922011-11-17 Martin Rudalics <rudalics@gmx.at>
4393
4394 * window.el (window-resize, delete-window, split-window):
4395 Replace window-splits by window-combination-resize.
1d00653d 4396 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4397
35c0bac8
GM
43982011-11-17 Glenn Morris <rgm@gnu.org>
4399
4400 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4401 Make bash entry derive from sh entry, not shell entry.
4402
d0c8fc8a
MA
44032011-11-16 Michael Albinus <michael.albinus@gmx.de>
4404
d0c8fc8a
MA
4405 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4406 properties of linked files. (Bug#9879)
4407
7262a87c
MA
4408 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4409 local file name.
4410
7877f373
JB
44112011-11-16 Juanma Barranquero <lekktu@gmail.com>
4412
4413 * menu-bar.el (menu-bar-file-menu):
4414 * printing.el (pr-ps-utility):
4415 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4416 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4417 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4418 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4419 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4420 (icalendar--convert-cyclic-to-ical)
4421 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4422 (icalendar--convert-ical-to-diary)
4423 (icalendar--convert-recurring-to-diary)
4424 (icalendar--convert-non-recurring-all-day-to-diary)
4425 (icalendar-import-format-sample):
4426 * progmodes/idlw-shell.el (idlwave-shell-mode):
4427 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4428 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4429 (vhdl-ps-print-init): Fix typos.
4430
10649b82
KM
44312011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4432
9d0cfcd6
GM
4433 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4434 FSF and collapse date sequence, obscure author/maintainer email address
4435 better, remove extra version line, track relocation of author's webpage.
10649b82 4436
9d0cfcd6
GM
4437 * progmodes/python.el (python-pdbtrack-input-prompt)
4438 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4439 regular python pdb prompts. Adjustments shamelessly taken exactly as
4440 suggested in EmacsWiki page (tiny change):
4441 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4442
58179cce
JB
44432011-11-16 Juanma Barranquero <lekktu@gmail.com>
4444
4445 * expand.el (expand-pos, expand-index, expand-point):
4446 Remove redundant info from docstring.
4447 (expand-add-abbrevs): Doc fix.
4448 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4449 (expand-sample-perl-mode-expand-list): Fix typos.
4450
4451 * net/dbus.el (dbus-event-member-name):
4452 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4453 * term/pc-win.el (msdos-create-frame-with-faces):
4454 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4455
b6f67890
MR
44562011-11-16 Martin Rudalics <rudalics@gmx.at>
4457
4458 * window.el (split-window, window-state-get-1)
4459 (window-state-put-1, window-state-put-2): Rename occurrences of
4460 window-nest to window-combination-limit.
1d00653d 4461 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4462
ce7ddba0
CY
44632011-11-16 Chong Yidong <cyd@gnu.org>
4464
4465 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4466 regexp (Bug#10033).
4467
3ae704f4
SM
44682011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4469
4470 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4471 `completing-read' will remove *Completions* and will preserve
4472 current-buffer for us.
4473 (tmm-add-prompt): Users of *Completions* will always (re)set its
4474 major mode.
4475 (tmm-old-comp-map): Remove.
4476
6ad1cdde
GM
44772011-11-16 Glenn Morris <rgm@gnu.org>
4478
4479 * mail/rmailedit.el: Require rmailmm when compiling.
4480 (rmail-old-mime-state): New declaration.
4481 (rmail-edit-current-message): If editing a mime message,
4482 edit the "raw" message from the mbox buffer.
4483 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4484
d20faa20
GM
44852011-11-15 Glenn Morris <rgm@gnu.org>
4486
4487 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4488 which wasn't being used. Add optional arg to force given state.
4489 (rmail-mime): Add optional arg to force given state.
4490
c7015153
JB
44912011-11-15 Juanma Barranquero <lekktu@gmail.com>
4492
4493 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4494 * frame.el (display-mm-dimensions-alist):
4495 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4496 (outline-move-subtree-down):
4497 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4498 (newsticker--treeview-do-get-node):
4499 * net/quickurl.el (quickurl-list-buffer-name):
4500 * progmodes/dcl-mode.el (dcl-mode):
4501 * progmodes/gdb-mi.el (gdb-mapcar*):
4502 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4503
45261b50
GM
45042011-11-15 Glenn Morris <rgm@gnu.org>
4505
4506 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4507 in a boolean sense, so just make it a boolean, and fix the doc.
4508 (rmail-show-mime-function, rmail-mime-feature)
4509 (rmail-require-mime-maybe): Doc fixes.
4510 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4511
4512 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4513
0d26e0b6
JB
45142011-11-15 Juanma Barranquero <lekktu@gmail.com>
4515
4516 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4517 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4518 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4519 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4520
447f30f6
GM
45212011-11-15 Glenn Morris <rgm@gnu.org>
4522
672b871d
GM
4523 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4524 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4525 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4526 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4527 (rmail-mime, rmail-show-mime): Doc fixes.
4528
f6aa5bb1
GM
4529 * term/ns-win.el (mode-line-frame-identification):
4530 Leave it alone. (Bug#10051)
4531
947cd66b
GM
4532 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4533
447f30f6
GM
4534 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4535 Handle empty buffers. (Bug#9978)
4536
0b381c7e
JB
45372011-11-14 Juanma Barranquero <lekktu@gmail.com>
4538
4539 * international/mule.el (define-charset):
4540 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4541 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4542 * progmodes/verilog-mode.el (verilog-backward-token):
4543 * textmodes/ispell.el (lookup-words):
4544 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4545
71e027ac
GM
45462011-11-14 Glenn Morris <rgm@gnu.org>
4547
56632ce4
GM
4548 * progmodes/executable.el
4549 (executable-make-buffer-file-executable-if-script-p):
4550 Handle file-modes returning nil.
4551
40500957
GM
4552 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4553 message - not necessary, and causes problems. (Bug#9831)
4554
071c2340
GM
4555 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4556
d3cfca60
GM
4557 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4558
71e027ac
GM
4559 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4560 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4561 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4562
89d61221
MR
45632011-11-12 Martin Rudalics <rudalics@gmx.at>
4564
4565 * window.el (window-resize, delete-window): Use window-splits
4566 variable instead of function.
4567 (window-state-get-1, window-state-put-2, window-state-put):
4568 Don't deal with windows' splits status.
4569
98282f6f
GM
45702011-11-12 Glenn Morris <rgm@gnu.org>
4571
4572 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4573 (apropos-documentation): Doc fixes.
4574
40a8bdf6
JB
45752011-11-11 Juanma Barranquero <lekktu@gmail.com>
4576
4577 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4578 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4579
65bd19ff
SM
45802011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * electric.el (electric-indent-post-self-insert-function): Make it
4583 possible for a char to only indent in some circumstances.
4584 (electric-indent-mode): Simplify.
4585
54f9154c
MR
45862011-11-11 Martin Rudalics <rudalics@gmx.at>
4587
4588 * window.el (windows-with-parameter): Remove unused function.
4589 (windows-at-side): Rename to window-at-side-list.
4590 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4591 (window-side-check, window-size-ignore, window-size-fixed-1)
4592 (window-in-direction-2): Prefix with "window--".
4593 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4594
68cbc58b
GM
45952011-11-11 Glenn Morris <rgm@gnu.org>
4596
4597 * subr.el (eval-after-load): If FILE is already loaded,
4598 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4599
b2621720
GM
46002011-11-10 Glenn Morris <rgm@gnu.org>
4601
9a4de110
GM
4602 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4603 Call svn via vc-svn-command rather than vc-do-command.
4604 (vc-svn-command): Add --non-interactive. (Bug#9993)
4605 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4606
b2621720
GM
4607 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4608 Add toggle-read-only. (Bug#7292)
4609 * files.el (toggle-read-only): Mention that it should only
4610 be used interactively. (Bug#10006)
4611
1dce7193
SM
46122011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4613
d9ac1a1e
SM
4614 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4615 Adjust regexp for OCaml warnings.
4616
0c325082
SM
4617 * electric.el (electric-pair-post-self-insert-function): Let user
4618 turn it off buffer-locally (bug#9932).
4619
90132c14
SM
4620 * progmodes/python.el (python-beginning-of-statement):
4621 Rewrite (bug#2703).
4622
1dce7193
SM
4623 * progmodes/compile.el: Better handle TABs (bug#9749).
4624 (compilation-internal-error-properties)
4625 (compilation-next-error-function): Obey the target buffer's
4626 compilation-error-screen-columns.
4627
c4e7c63a
JB
46282011-11-09 Juanma Barranquero <lekktu@gmail.com>
4629
4630 * progmodes/meta-mode.el: Remove obsolete comments.
4631 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4632 Fix typos in docstrings.
4633
2cffd681
MR
46342011-11-09 Martin Rudalics <rudalics@gmx.at>
4635
4636 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4637 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4638 (window--resizable): New function. Make all callers of
4639 window-resizable call window--resizable instead.
4640 (window-resizable): Rewrite in terms of window--resizable.
4641
0edcba87
GM
46422011-11-08 Glenn Morris <rgm@gnu.org>
4643
4644 * progmodes/delphi.el (delphi-mode-syntax-table):
4645 Let define-derived-mode define a proper syntax table. (Bug#9994)
4646
4b0d61e3
SM
46472011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * window.el: Stay away from defsubst.
4650 (window-list-no-nils): Remove.
4651 (window-state-get-1, window-state-get): Use backquote instead.
4652
cd394be1 46532011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4654
4b0d61e3 4655 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4656 Fix incorrect use of default argument in `completing-read'.
4657
e1c2c6f2
MR
46582011-11-08 Martin Rudalics <rudalics@gmx.at>
4659
4660 * window.el (display-buffer-function, special-display-function):
4661 Mention display-buffer-record-window but do not mention
4662 help-setup parameter in doc-strings.
b3f4a882 4663 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4664
105216ed
CY
46652011-11-08 Chong Yidong <cyd@gnu.org>
4666
4667 * window.el (window-total-height, window-total-width): Doc fix.
4668 (window-body-size): Move from C.
4669 (window-body-height, window-body-width): Move to C.
4670
0a9f9ab5
SM
46712011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * window.el: Make special-display like display-buffer-alist (bug#9532).
4674 (display-buffer--special-action): New function, morphed
4675 from display-buffer--special.
4676 (display-buffer): Use it to handle special-display-buffers at higher
4677 priority (just after display-buffer-alist).
4678 (display-buffer-fallback-action, display-buffer--other-frame-action)
4679 (pop-to-buffer-same-window): Remove display-buffer--special.
4680
a769dd15
GM
46812011-11-07 Glenn Morris <rgm@gnu.org>
4682
4683 * calendar/cal-menu.el (cal-menu-set-date-title):
4684 Do nothing if not in a calendar. (Bug#9976)
4685
05a61ee3
SM
46862011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4687
4688 * files.el (find-file): Always use selected-window.
4689
be7f5545
MR
46902011-11-07 Martin Rudalics <rudalics@gmx.at>
4691
4692 * window.el (window-combinations): Make WINDOW argument
4693 mandatory. Rewrite doc-string.
4694 (walk-window-subtree, window-atom-check, window-min-delta)
4695 (window-max-delta, window--resize-this-window)
4696 (window--resize-root-window-vertically, window-tree)
4697 (balance-windows, window-state-put): Rewrite doc-strings as to
4698 not mention the term "subwindow".
4699 (window--resize-subwindows-skip-p): Rename to
4700 window--resize-child-windows-skip-p.
4701 (window--resize-subwindows-normal): Rename to
4702 window--resize-child-windows-normal.
4703 (window--resize-subwindows): Rename to
4704 window--resize-child-windows.
4705 (window-or-subwindow-p): Rename to window--in-subtree-p.
4706
3c6702ef
ML
47072011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4708
4709 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4710 Ensure that mbox format messages end in two newlines (Bug#9974).
4711
49745b39
CY
47122011-11-06 Chong Yidong <cyd@gnu.org>
4713
4714 * window.el (window-combination-p): Function deleted; its
4715 side-effect is not used in any existing code.
4716 (window-combinations, window-combined-p): Call window-*-child
4717 directly.
4718
24300f5f
CY
47192011-11-05 Chong Yidong <cyd@gnu.org>
4720
4721 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4722 (window-size-ignore, window-state-get): Callers changed.
4723 (window-normalize-window): Rename from window-normalize-any-window.
4724 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4725 (window-normalize-live-window): Delete.
447f16b8
CY
4726 (window-combination-p, window-combined-p, window-combinations)
4727 (walk-window-subtree, window-atom-root, window-min-size)
4728 (window-sizable, window-sizable-p, window-size-fixed-p)
4729 (window-min-delta, window-max-delta, window-resizable)
4730 (window-resizable-p, window-full-height-p, window-full-width-p)
4731 (window-current-scroll-bars, window-point-1, set-window-point-1)
4732 (window-at-side-p, window-in-direction, window-resize)
4733 (adjust-window-trailing-edge, maximize-window, minimize-window)
4734 (window-deletable-p, delete-window, delete-other-windows)
4735 (record-window-buffer, unrecord-window-buffer)
4736 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4737 (quit-window, split-window, window-state-put)
4738 (set-window-text-height, fit-window-to-buffer)
4739 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4740
89bd5ee1
EZ
47412011-11-04 Eli Zaretskii <eliz@gnu.org>
4742
53479029
EZ
4743 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4744 rfc2047-decode-string.
4745 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4746 warnings.
4747
89bd5ee1
EZ
4748 * window.el (window-body-height, window-body-width): Mention in
4749 the doc string that the return values are in frame's canonical
4750 units. (Bug#9949)
4751
bd17fdee
AM
47522011-11-03 Alan Mackenzie <acm@muc.de>
4753
4754 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4755 change in cc-engine.el.
4756
acc825c5
SM
47572011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4760
1885e5b8
MR
47612011-11-02 Martin Rudalics <rudalics@gmx.at>
4762
4763 * window.el (quit-window): Call unrecord-window-buffer after
4764 showing another buffer in the window. (Bug#9937)
acc825c5 4765 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4766
ebe06da9
JB
47672011-11-02 Juanma Barranquero <lekktu@gmail.com>
4768
4769 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4770 Accept status with more than 9 shelves. (Bug#9935)
4771 Reported by Colin D Bennett <colin@gibibit.com>.
4772
4ee88440
MR
47732011-11-01 Martin Rudalics <rudalics@gmx.at>
4774
4775 * help.el (with-help-window): Don't reference
4776 temp-buffer-show-specifiers in doc-string.
4777
08e1d82c
AS
47782011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4779
4780 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4781 menu-item.
4782
84bd6e9e
VJL
47832011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4784
4785 * whitespace.el: New version 13.2.2.
4786 (whitespace-newline-mode): Disable properly. Reported by Sarah
4787 <EmacsWiki>.
4788
dba0634a
UJ
47892011-10-30 Ulf Jasper <ulf.jasper@web.de>
4790
4791 * net/newst-treeview.el: Remove "Time-stamp".
4792 (newsticker--group-manage-orphan-feeds): Do not call
4793 newsticker--treeview-tree-update.
db22a3c2
JB
4794 (newsticker-treeview-update, newsticker-treeview):
4795 Call newsticker--treeview-tree-update if necessary.
dba0634a 4796
3d8daefe
MR
47972011-10-30 Martin Rudalics <rudalics@gmx.at>
4798
4799 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4800 (window-iso-combinations): Remove "iso-" infix.
4801 Suggested by Chong Yidong.
3d8daefe
MR
4802 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4803 (window-max-delta-1, window-resize, window--resize-siblings)
4804 (window--resize-this-window, adjust-window-trailing-edge)
4805 (split-window, balance-windows-1)
4806 (shrink-window-if-larger-than-buffer):
4807 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4808 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4809
1bc4c3ae
SM
48102011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4813 in place (bug#9907).
4814 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4815 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4816 (eshell-structure-basic-command, eshell-rewrite-while-command)
4817 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4818 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4819 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4820 (eshell-do-pipelines-synchronously, eshell-eval-command):
4821 Use backquotes and prefer setq to set.
4822 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4823 (eshell-macrop): Use functionp.
c1e2f5fa 4824 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4825
30b65d9c
CY
48262011-10-30 Chong Yidong <cyd@gnu.org>
4827
4828 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4829 instead of set-mark (Bug#9810).
4830
2d197ffb
CY
48312011-10-30 Chong Yidong <cyd@gnu.org>
4832
4833 * window.el (split-window-below, split-window-right): Rename from
4834 split-window-above-each-other and split-window-side-by-side
4835 respectively. All callers changed.
4836 (split-window-sensibly, split-window-sensibly): Use them.
4837 (split-window-keep-point): Doc fix.
4838
4839 * isearch.el: Add isearch-scroll property to split-window-below
4840 and split-window-right.
4841
4842 * follow.el (follow-mode):
4843 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4844 * progmodes/ada-xref.el (ada-gdb-application):
4845 * emulation/vip.el (vip-buffer-in-two-windows):
4846 * image-dired.el (image-dired-dired-with-window-configuration):
4847 * dired-x.el (dired-do-find-marked-files):
4848 * dired.el (dired-pop-to-buffer):
4849 * bs.el (bs--show-with-configuration):
4850 * vc/emerge.el (emerge-setup-windows):
4851 * textmodes/two-column.el (2C-two-columns):
4852 * textmodes/reftex-toc.el (reftex-toc):
4853 * progmodes/gdb-mi.el (gdb-setup-windows):
4854 * progmodes/fortran.el (fortran-window-create):
4855 * net/newst-treeview.el (newsticker--treeview-window-init):
4856 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4857 * emulation/tpu-edt.el (tpu-gold-map):
4858 * emulation/crisp.el (crisp-mode-map):
4859 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4860
38bb2ca8
CY
48612011-10-29 Chong Yidong <cyd@gnu.org>
4862
aa4de341
CY
4863 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4864
e1eb5385
CY
4865 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4866
5d2ece3c
CY
4867 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4868 forged Ispell output (Bug#7904).
4869
38bb2ca8
CY
4870 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4871
d0af9f77
SM
48722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * doc-view.el: Avoid ugly errors about not finding nil.
4875 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4876 (doc-view-dvipdf-program, doc-view-unoconv-program)
4877 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4878 Avoid nil or absolute file name as default value.
4879 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4880
52bedd34
AM
48812011-10-28 Alan Mackenzie <acm@muc.de>
4882
db22a3c2 4883 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4884
7e43cfa5
AM
48852011-10-28 Alan Mackenzie <acm@muc.de>
4886
4887 Amend the handling of c-beginning/end-of-defun in nested declaration
4888 scopes.
4889
52bedd34
AM
4890 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4891 cc-langs.el. Change it to a defcustom.
7e43cfa5 4892
52bedd34
AM
4893 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4894 cc-vars.el.
7e43cfa5 4895
d0af9f77
SM
4896 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4897 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4898
52bedd34 4899 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4900 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4901 (c-widen-to-enclosing-decl-scope): New function.
4902 (c-while-widening-to-decl-block): New macro.
4903 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4904 outward for defun boundaries, and correspondingly change symbol
4905 `respect-enclosure' to `go-outward'.
4906 (c-declaration-limits): Change algorithm to report only the "innermost"
4907 defun's boundaries.
4908
1a2ce9ee
DD
49092011-10-28 Deniz Dogan <deniz@dogan.se>
4910
4911 * net/rcirc.el (rcirc-mode): Use hard newlines.
4912
bc97a826
AM
49132011-10-28 Alan Mackenzie <acm@muc.de>
4914
4915 Amend to indent and fontify macros "which include their own semicolon"
4916 correctly, using the "virtual semicolon" mechanism.
4917
52bedd34 4918 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4919
d0af9f77 4920 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4921 Recode to scan one line at a time rather than having \n and \r
58179cce 4922 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4923 (c-forward-label): Amend for virtual semicolons.
58179cce 4924 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4925
52bedd34
AM
4926 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4927 of the new C macros.
bc97a826 4928
52bedd34 4929 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4930 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4931 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4932 (c-opt-cpp-macro-define): Make into a full language variable.
4933 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4934 AWK Mode (including \n, \r) removed, no longer needed.
4935
d0af9f77
SM
4936 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4937 Invoke c-make-macro-with-semi-re.
bc97a826 4938
52bedd34
AM
4939 * progmodes/cc-vars.el (c-macro-with-semi-re):
4940 (c-macro-names-with-semicolon): New variables.
58179cce 4941 (c-make-macro-with-semi-re): New function.
bc97a826 4942
7a6c0941
SM
49432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * vc/log-edit.el: Fill empty field rather than adding new one.
4946 (log-edit-add-field): New function.
4947 (log-edit-insert-changelog): Use it.
4948
b0c4cdcf
ML
49492011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4950
4951 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4952
ee1f1da9
SM
49532011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4956 (gdb--check-interpreter): New function.
4957 (gdb): Use it.
4958
51bc5f8b
GM
49592011-10-27 Glenn Morris <rgm@gnu.org>
4960
416a2c45
GM
4961 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4962 (least-positive-float, least-negative-float)
4963 (least-positive-normalized-float, least-negative-normalized-float)
4964 (float-epsilon, float-negative-epsilon):
4965 Remove unnecessary declarations.
4966
4967 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4968 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4969 (least-positive-float, least-negative-float)
4970 (least-positive-normalized-float, least-negative-normalized-float)
4971 (float-epsilon, float-negative-epsilon): Add doc-strings,
4972 based on those in cl.texi.
4973
51bc5f8b
GM
4974 * files.el (set-visited-file-name): If the major-mode changed,
4975 reload the local variables. (Bug#9796)
4976
15de15c6
CY
49772011-10-27 Chong Yidong <cyd@gnu.org>
4978
4979 * subr.el (change-major-mode-after-body-hook): New hook.
4980 (run-mode-hooks): Run it.
4981
ee1f1da9
SM
4982 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4983 Use change-major-mode-before-body-hook.
15de15c6
CY
4984
4985 * simple.el (fundamental-mode):
4986 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4987 change introducing fundamental-mode-hook.
4988
5430d399
JB
49892011-10-26 Juanma Barranquero <lekktu@gmail.com>
4990
acc825c5 4991 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4992
ad74a69e
MA
49932011-10-26 Michael Albinus <michael.albinus@gmx.de>
4994
4995 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4996 tramp.el explicitly. (Bug#7583)
ad74a69e 4997
71d4c2a5
SM
49982011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * progmodes/octave-mod.el:
5001 * progmodes/octave-inf.el: Update maintainer.
5002
b1f6fa26
CY
50032011-10-26 Chong Yidong <cyd@gnu.org>
5004
5005 * subr.el (with-wrapper-hook): Rewrite doc.
5006
3f04efd6
MA
50072011-10-25 Michael Albinus <michael.albinus@gmx.de>
5008
5009 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5010 filenames "/method:foo:". (Bug#9793)
3f04efd6 5011
410488d3
SM
50122011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5015 (bug#9865).
5016
c1ebb47e
GM
50172011-10-24 Glenn Morris <rgm@gnu.org>
5018
5019 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5020
7f5c46c7
MA
50212011-10-24 Michael Albinus <michael.albinus@gmx.de>
5022
5023 * notifications.el: Add the requirement of a running D-Bus session
5024 bus to the Commentary.
5025
db2440b6
JL
50262011-10-24 Juri Linkov <juri@jurta.org>
5027
5028 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5029 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5030 (Bug#9364)
5031
feecf435
JL
50322011-10-24 Juri Linkov <juri@jurta.org>
5033
5034 * info.el (Info-following-node-name-re): Add newline to the list
5035 of allowed characters for leading space. (Bug#9824)
5036
a3839de2
SM
50372011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5038
acc825c5
SM
5039 * progmodes/octave-inf.el (inferior-octave-mode-map):
5040 Fix C-c C-h binding.
a3839de2
SM
5041 * progmodes/octave-mod.el (octave-help): Remove.
5042
09388e76
MA
50432011-10-23 Michael Albinus <michael.albinus@gmx.de>
5044
5045 Sync with Tramp 2.2.3.
5046
5047 * net/tramp-cache.el (top): Pacify byte-compiler using
5048 `init-file-user' and `site-run-file'.
5049
5050 * net/trampver.el: Update release number.
5051
86c60681
CY
50522011-10-23 Chong Yidong <cyd@gnu.org>
5053
5054 * files.el (toggle-read-only): Remove obsolete comment about
5055 version control.
5056
5057 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5058 for toggle-read-only. Note that this hasn't called vc-next-action
5059 since 2008-05-02, though it wasn't documented at the time.
5060
a3839de2
SM
5061 * vc/ediff-init.el (ediff-toggle-read-only-function):
5062 Use toggle-read-only.
86c60681 5063
cd5495ff
AM
50642011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5065
5066 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5067 of c-parse-state.
5068
00b77525 5069 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5070 correct faulty logical expression.
cd5495ff
AM
5071 (c-parse-state-state, c-record-parse-state-state):
5072 (c-replay-parse-state-state): New defvar/defuns.
5073 (c-debug-parse-state): Use new functions.
5074
42ee24ed
MR
50752011-10-22 Martin Rudalics <rudalics@gmx.at>
5076
5077 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5078 last fix. Use window-in-direction correctly.
42ee24ed 5079
a7dee7e7
CY
50802011-10-21 Chong Yidong <cyd@gnu.org>
5081
5082 * progmodes/idlwave.el (idlwave-mode):
5083 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5084 require-final-newline; that's done in prog-mode.
5085 Suggested by Stefan Monnier.
a7dee7e7 5086
e07b9a6d
MR
50872011-10-21 Martin Rudalics <rudalics@gmx.at>
5088
5089 * mouse.el (mouse-drag-window-above)
5090 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5091 (mouse-drag-mode-line-1, mouse-drag-header-line)
5092 (mouse-drag-vertical-line-rightward-window): Remove.
5093 (mouse-drag-line): New function.
5094 (mouse-drag-mode-line, mouse-drag-header-line)
5095 (mouse-drag-vertical-line): Call mouse-drag-line.
5096 * window.el (window-at-side-p, windows-at-side): New functions.
5097
7e1361d9
UM
50982011-10-21 Ulrich Mueller <ulm@gentoo.org>
5099
5100 * tar-mode.el (tar-grind-file-mode):
5101 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5102
30fcaf3a
CY
51032011-10-21 Chong Yidong <cyd@gnu.org>
5104
5105 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5106 * progmodes/vera-mode.el (vera-mode):
5107 Use mode-require-final-newline.
30fcaf3a 5108
516eddb0
GM
51092011-10-20 Glenn Morris <rgm@gnu.org>
5110
db22a3c2 5111 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5112
10d5f513
CS
51132011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5114
5115 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5116
ac6c8639
CY
51172011-10-20 Chong Yidong <cyd@gnu.org>
5118
5119 * emulation/cua-base.el (cua-mode):
5120 * mail/footnote.el (footnote-mode):
5121 * mail/mailabbrev.el (mail-abbrevs-mode):
5122 * net/xesam.el (xesam-minor-mode):
5123 * progmodes/bug-reference.el (bug-reference-mode):
5124 * progmodes/cap-words.el (capitalized-words-mode):
5125 * progmodes/compile.el (compilation-minor-mode)
5126 (compilation-shell-minor-mode):
5127 * progmodes/gud.el (gud-tooltip-mode):
5128 * progmodes/hideif.el (hide-ifdef-mode):
5129 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5130 * progmodes/subword.el (subword-mode):
5131 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5132 * progmodes/which-func.el (which-function-mode):
5133 * term/tvi970.el (tvi970-set-keypad-mode):
5134 * term/vt100.el (vt100-wide-mode):
5135 * textmodes/flyspell.el (flyspell-mode):
5136 * textmodes/ispell.el (ispell-minor-mode):
5137 * textmodes/nroff-mode.el (nroff-electric-mode):
5138 * textmodes/paragraphs.el (use-hard-newlines):
5139 * textmodes/refill.el (refill-mode):
5140 * textmodes/reftex.el (reftex-mode):
5141 * textmodes/rst.el (rst-minor-mode):
5142 * textmodes/sgml-mode.el (html-autoview-mode)
5143 (sgml-electric-tag-pair-mode):
5144 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5145 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5146 * emulation/crisp.el (crisp-mode):
5147 * emacs-lisp/eldoc.el (eldoc-mode):
5148 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5149 minor mode behavior.
5150
aa42ab43
JL
51512011-10-19 Juri Linkov <juri@jurta.org>
5152
5153 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5154 the list of hard-coded chars with escape-glyph face.
5155
89400f1d
SM
51562011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5157
5158 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5159
305c07f6
MA
51602011-10-19 Michael Albinus <michael.albinus@gmx.de>
5161
5162 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5163 running process.
5164
13754b54
GM
51652011-10-19 Glenn Morris <rgm@gnu.org>
5166
5167 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5168 Ignore ignored files. (Bug#9726)
5169
06e21633
CY
51702011-10-19 Chong Yidong <cyd@gnu.org>
5171
5172 Doc fix for minor modes, stating that an omitted argument enables
5173 the mode unconditionally when called from Lisp.
5174
5175 * abbrev.el (abbrev-mode):
5176 * allout.el (allout-mode):
5177 * autoinsert.el (auto-insert-mode):
5178 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5179 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5180 (global-auto-revert-mode):
5181 * battery.el (display-battery-mode):
5182 * composite.el (global-auto-composition-mode)
5183 (auto-composition-mode):
5184 * delsel.el (delete-selection-mode):
5185 * desktop.el (desktop-save-mode):
5186 * dired-x.el (dired-omit-mode):
5187 * dirtrack.el (dirtrack-mode):
5188 * doc-view.el (doc-view-minor-mode):
5189 * double.el (double-mode):
5190 * electric.el (electric-indent-mode, electric-pair-mode):
5191 * emacs-lock.el (emacs-lock-mode):
5192 * epa-hook.el (auto-encryption-mode):
5193 * follow.el (follow-mode):
5194 * font-core.el (font-lock-mode):
5195 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5196 * help.el (temp-buffer-resize-mode):
5197 * hilit-chg.el (highlight-changes-mode)
5198 (highlight-changes-visible-mode):
5199 * hi-lock.el (hi-lock-mode):
5200 * hl-line.el (hl-line-mode, global-hl-line-mode):
5201 * icomplete.el (icomplete-mode):
5202 * ido.el (ido-everywhere):
5203 * image-file.el (auto-image-file-mode):
5204 * image-mode.el (image-minor-mode):
5205 * iswitchb.el (iswitchb-mode):
5206 * jka-cmpr-hook.el (auto-compression-mode):
5207 * linum.el (linum-mode):
5208 * longlines.el (longlines-mode):
5209 * master.el (master-mode):
5210 * mb-depth.el (minibuffer-depth-indicate-mode):
5211 * menu-bar.el (menu-bar-mode):
5212 * minibuf-eldef.el (minibuffer-electric-default-mode):
5213 * mouse-sel.el (mouse-sel-mode):
5214 * msb.el (msb-mode):
5215 * mwheel.el (mouse-wheel-mode):
5216 * outline.el (outline-minor-mode):
5217 * paren.el (show-paren-mode):
5218 * recentf.el (recentf-mode):
5219 * reveal.el (reveal-mode, global-reveal-mode):
5220 * rfn-eshadow.el (file-name-shadow-mode):
5221 * ruler-mode.el (ruler-mode):
5222 * savehist.el (savehist-mode):
5223 * scroll-all.el (scroll-all-mode):
5224 * scroll-bar.el (scroll-bar-mode):
5225 * server.el (server-mode):
5226 * shell.el (shell-dirtrack-mode):
5227 * simple.el (auto-fill-mode, transient-mark-mode)
5228 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5229 (line-number-mode, column-number-mode, size-indication-mode)
5230 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5231 * strokes.el (strokes-mode):
5232 * time.el (display-time-mode):
5233 * t-mouse.el (gpm-mouse-mode):
5234 * tool-bar.el (tool-bar-mode):
5235 * tooltip.el (tooltip-mode):
5236 * type-break.el (type-break-mode-line-message-mode)
5237 (type-break-query-mode):
5238 * view.el (view-mode):
5239 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5240 (global-whitespace-mode, global-whitespace-newline-mode):
5241 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5242
a3839de2
SM
5243 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5244 Fix autogenerated docstring.
06e21633 5245
5214e501
JL
52462011-10-19 Juri Linkov <juri@jurta.org>
5247
5248 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5249 by checking environment variables "DESKTOP_SESSION" and
5250 "XDG_CURRENT_DESKTOP". (Bug#9779)
5251
195f8db9
JL
52522011-10-19 Juri Linkov <juri@jurta.org>
5253
5254 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5255 (browse-url-chromium-program, browse-url-chromium-arguments):
5256 New defcustoms.
5257 (browse-url-default-browser): Check for `browse-url-chromium' and
5258 call `browse-url-chromium-program'.
5259 (browse-url-chromium): New command. (Bug#9779)
5260
343a34ff
JB
52612011-10-18 Juanma Barranquero <lekktu@gmail.com>
5262
5263 * facemenu.el (list-colors-duplicates): On Windows, detect more
5264 duplicates by assuming that only colors matching "^System" are
5265 special "system colors". (Bug#9722)
5266
6978a151
SM
52672011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5270 to distinguish the author from the committer.
5271
6a80b297
MA
52722011-10-18 Michael Albinus <michael.albinus@gmx.de>
5273
5274 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5275
b31a5677
JK
52762011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5277
5278 * international/mule.el (sgml-html-meta-auto-coding-function):
5279 Add support for detecting encoding in HTML5 specified only as
5280 <meta charset="UTF-8">. Implementation just makes http-equiv and
5281 content-type parts from HTML4 encoding string optional. (Bug#9716)
5282
80c6d77f
GM
52832011-10-18 Glenn Morris <rgm@gnu.org>
5284
5285 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5286
08b0fee8
CY
52872011-10-18 Chong Yidong <cyd@gnu.org>
5288
5289 * faces.el (cursor): Doc fix.
5290
67e729a5
CY
52912011-10-17 Chong Yidong <cyd@gnu.org>
5292
5293 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5294
343a34ff 52952011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5296
5297 * dirtrack.el (dirtrack): Support shell buffers with path
5298 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5299
0bc06380
TZ
53002011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5301
5302 * json.el: Bump version to 1.3 and note change in History.
5303 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5304
8b79f3e0
SM
53052011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5a7c536b
SM
5307 * comint.el (comint-insert-input, comint-send-input)
5308 (comint-get-old-input-default, comint-backward-matching-input)
5309 (comint-next-prompt): Use nil instead of `input' for field property of
5310 past user input (bug#114).
5311
96a8a0df
SM
5312 * minibuffer.el (completion--replace): Inherit surrounding properties
5313 (bug#114).
5314 (minibuffer-complete-and-exit): Use it.
5315
8b79f3e0
SM
5316 * comint.el (comint--table-subvert): Quote the all-completions output
5317 (bug#9160).
5318
b8f7ff0d
MR
53192011-10-17 Martin Rudalics <rudalics@gmx.at>
5320
8b79f3e0 5321 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5322
b8f7ff0d 5323 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5324 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5325 entries and separate them from frame entries.
5326
c235b555
GM
53272011-10-15 Glenn Morris <rgm@gnu.org>
5328
5329 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5330 Doc fixes.
5331
6bbfa6e1
CY
53322011-10-15 Chong Yidong <cyd@stupidchicken.com>
5333
8b79f3e0
SM
5334 * net/network-stream.el (network-stream-open-starttls):
5335 Improve detection of failure due to lack of TLS support.
ec5c990d 5336
6bbfa6e1
CY
5337 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5338 putting the input text in front and in bold.
5339
98488977
SM
53402011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5341
3d1337be
SM
5342 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5343
ee0b45e4
SM
5344 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5345 empty buffer.
5346
98488977
SM
5347 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5348 unread-command-events rather than pushing yet-another event.
5349
186f4720
EZ
53502011-10-14 Eli Zaretskii <eliz@gnu.org>
5351
5352 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5353 the explanation of the possible choices. Make the options passed
5354 to completing-read shorter.
5355
8b7a997c
AM
53562011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5357
5358 * textmodes/flyspell.el (flyspell-large-region): Make sure
5359 extended character mode is used if defined (Bug#1339).
5360
12587bbb
EZ
53612011-10-13 Eli Zaretskii <eliz@gnu.org>
5362
5363 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5364 character info for LRE, LRO, RLE, and RLO characters by appending
5365 an invisible PDF.
12587bbb 5366
bad41229
SM
53672011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5368
5369 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5370 even in case of error; add debug spec; simplify data flow.
5371 (with-timeout-handler): Remove.
5372
28dbc92f
MA
53732011-10-12 Michael Albinus <michael.albinus@gmx.de>
5374
5375 Fix Bug#6019, Bug#9315.
5376
5377 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5378 complete `buffer-file-name', the local file name part could look
5379 remotely (for example on VMS).
5380
5381 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5382 `tramp-run-real-handler'.
5383 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5384 already quoted by '"'.
5385
5386 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5387 Let `file-name-handler-alist' be nil, the local file name part
5388 could look remotely (for example on VMS).
5389
e1b0b23a
SM
53902011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5393 from here...
5394 (flyspell-post-command-hook): ...to here.
5395
a120bde9
SM
53962011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5399 if not needed.
5400 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5401 using completion. Protect against "slow" callers.
5402 Remove the "message hack".
5403
7ce7717b
JL
54042011-10-11 Juri Linkov <juri@jurta.org>
5405
5406 * isearch.el (isearch-lazy-highlight-word): New variable.
5407 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5408 Use it. (Bug#9727)
5409
c02ee9d6
GM
54102011-10-11 Glenn Morris <rgm@gnu.org>
5411
5412 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5413 like f90-previous-statement does.
5414
93e616fd 54152011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5416
1f190e73 5417 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5418 only in interactive use, to avoid error.
5419
af7b6078
SM
54202011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * minibuffer.el (completion-file-name-table): Fix last change,
5423 i.e. ignore normal errors but not the other ones.
5424
0563dae9
MR
54252011-10-10 Martin Rudalics <rudalics@gmx.at>
5426
5427 * window.el (special-display-buffer-names)
5428 (special-display-regexps): Remove some remnants of earlier
5429 changes from doc-strings.
366ca7f3
MR
5430 (quit-windows-on): New function.
5431
5432 * vc/vc.el (vc-revert, vc-rollback):
5433 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5434 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5435 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5436
49677495
MR
54372011-10-09 Martin Rudalics <rudalics@gmx.at>
5438
5439 * window.el (frame-auto-hide-function): Add version tag.
5440 (Bug#9699)
5441
56f2d1e1
MA
54422011-10-09 Michael Albinus <michael.albinus@gmx.de>
5443
5444 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5445 condition.
5446
112a6592
LL
54472011-10-09 Leo Liu <sdl.web@gmail.com>
5448
5449 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5450 (Bug#9701)
5451
0812589b
GM
54522011-10-08 Glenn Morris <rgm@gnu.org>
5453
5454 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5455 before the first code statement zero indent. (Bug#9690)
5456
b2b0776e
CY
54572011-10-08 Chong Yidong <cyd@stupidchicken.com>
5458
5459 * simple.el (count-words-region): Always count in the region.
5460 Report the number of lines and characters too.
5461 (count-words): New command, which counts in the buffer if the
5462 region is inactive, as count-words-region used to.
5463 (count-words--message): New function. Handle plurals.
5464 (count-lines-region): Make it an alias for count-words-region.
5465
5466 * bindings.el (esc-map): Replace count-lines-region with
5467 count-words-region.
5468
c557cd6b
MR
54692011-10-08 Martin Rudalics <rudalics@gmx.at>
5470
5471 * window.el (window--delete): Delete dedicated frame
5472 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5473 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5474
61a57ef4 54752011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5476
3a7d293b 5477 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5478
c3833279
CY
54792011-10-07 Chong Yidong <cyd@stupidchicken.com>
5480
5481 * bindings.el ([M-left],[M-right]): Bind to left-word and
5482 right-word respectively.
5483
21ce8245
GM
54842011-10-07 Glenn Morris <rgm@gnu.org>
5485
5486 * cus-start.el (debug-on-quit): Fix custom type.
5487
6d823bb2
LMI
54882011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5489
0181e193
LMI
5490 * subr.el (define-key-after): Clarify that the function is not
5491 useful for non-menu keymaps.
5492
6d823bb2
LMI
5493 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5494
8e3459ce 54952011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5496
21ce8245 5497 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5498 in current minibuffer (Fix bug with recursive minibuffers).
5499
a1c2d21e
CY
55002011-10-06 Chong Yidong <cyd@stupidchicken.com>
5501
5502 * progmodes/gdb-mi.el (gdb): Doc fix.
5503
5a4cf282
MR
55042011-10-05 Martin Rudalics <rudalics@gmx.at>
5505
5506 * window.el (frame-auto-hide-function): New option replacing
5507 frame-auto-delete. Suggested by Stefan Monnier.
5508 (window--delete): Call frame-auto-hide-function instead of
5509 investigating frame-auto-delete.
c96111ea
MR
5510 (window-point-1, set-window-point-1): New functions.
5511 (window-in-direction, record-window-buffer, window-state-get-1)
5512 (display-buffer-record-window): Use window-point-1 instead of
5513 window-point.
5514 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5515
9854542e
SM
55162011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5519
8943cfb0
GM
55202011-10-05 Glenn Morris <rgm@gnu.org>
5521
5522 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5523 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5524
647ab967
LL
55252011-10-05 Leo Liu <sdl.web@gmail.com>
5526
5527 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5528 works with buffer object.
5529
3ddfbced
SM
55302011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * mpc.el (mpc-tool-bar-map): Add labels.
5533
bdfa5dd2
GM
55342011-10-04 Glenn Morris <rgm@gnu.org>
5535
5536 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5537
0e2070b5
MR
55382011-10-04 Martin Rudalics <rudalics@gmx.at>
5539
5540 * window.el (window--delete): New function.
5541 (frame-auto-delete): Resuscitate option.
5542 (bury-buffer, replace-buffer-in-windows)
5543 (quit-window): Rewrite using window--delete.
5544 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5545 Pass display-buffer-mark-dedicated to window--display-buffer-2
5546 (Bug#9639).
5547
3dc61a09
SM
55482011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5549
915a9b64
SM
5550 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5551 returns a list (bug#9554). Add remote file name completion.
5552 * comint.el (comint--table-subvert): Curry and get quote&unquote
5553 functions as arguments.
5554 (comint--complete-file-name-data): Adjust call accordingly.
5555 * pcomplete.el (pcomplete--table-subvert): Remove.
5556 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5557
3dc61a09
SM
5558 * minibuffer.el (completion-table-case-fold): Use currying.
5559 (completion--styles-type, completion--cycling-threshold-type):
5560 New constants.
5561 (completion-styles, completion-category-overrides)
5562 (completion-cycle-threshold): Use them.
5563 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5564 completion-table-case-fold.
5565
8ea0a993
SB
55662011-10-03 Stephen Berman <stephen.berman@gmx.net>
5567
5568 * minibuffer.el (completion-category-overrides): Fix type of styles
5569 and add more user friendly tags (bug#9660).
5570
8c24b7f6
SM
55712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5572
5573 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5574 (mule-input-method-string): New widget.
5575 (default-input-method, language-info-custom-alist): Use it.
5576
428fe61a
SM
55772011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5578
32c1fffd
SM
5579 * pcomplete.el: Require comint.
5580 (pcomplete--common-suffix): Remove.
5581 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5582 (pcomplete--table-subvert): Sync with comint--table-subvert.
5583 (pcomplete--entries): Use comint-completion-file-name-table.
5584 * comint.el (comint-unquote-filename): Simplify.
5585 (comint-completion-file-name-table): New function (bug#9616).
5586 (comint--complete-file-name-data): Use it.
5587
428fe61a
SM
5588 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5589 (pcmpl-gnu-tar-buffer): Remove.
5590 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5591 around. Make sure pcomplete-suffix-list is only changed temporarily.
5592 Don't look inside the tar's file if it's too large.
428fe61a 5593
04c52e2f
CY
55942011-10-01 Chong Yidong <cyd@stupidchicken.com>
5595
ce3cefcc
CY
5596 * cus-edit.el (custom-mode-map):
5597 * epa.el (epa-key-list-mode-map):
5598 * man.el (Man-mode-map):
5599 * startup.el (splash-screen-keymap):
5600 * simple.el (special-mode-map): Use scroll-up-command and
5601 scroll-down-command.
5602
5603 * progmodes/idlw-help.el (idlwave-help-mode-map):
5604 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5605 * net/newst-plainview.el (newsticker-mode-map):
5606 * emulation/ws-mode.el (wordstar-mode-map):
5607 * emulation/vi.el (vi-com-map):
5608 * calc/calc-graph.el (calc-graph-show-dumb):
5609 * term/sun.el (terminal-init-sun):
5610 * term/ns-win.el (global-map):
5611 * progmodes/grep.el (grep-mode-map):
5612 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5613 * mail/rmail.el (rmail-mode-map):
5614 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5615
04c52e2f
CY
5616 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5617 custom-safe-themes as special.
5618
79adf8c8
JD
56192011-10-01 Julien Danjou <julien@danjou.info>
5620
5621 * notifications.el (notifications-notify): Fix docstring.
5622
63bd50d3
PS
56232011-10-01 Per Starbäck <per@starback.se>
5624
5625 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5626
199e4c7e
MR
56272011-09-30 Martin Rudalics <rudalics@gmx.at>
5628
5629 * startup.el (command-line-1): Fix last fix by inserting
5630 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5631 (Bug#9605) and (Bug#9636)
199e4c7e 5632
fe5f08dd
EZ
56332011-09-29 Eli Zaretskii <eliz@gnu.org>
5634
5635 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5636 window is hscrolled, move by logical lines. (Bug#9607)
5637 (line-move-visual): Update the doc string to the above effect.
5638
b5516bbd
MR
56392011-09-29 Martin Rudalics <rudalics@gmx.at>
5640
ccee00c0
MR
5641 * window.el (display-buffer-record-window): When WINDOW is the
5642 selected window use `point' instead of `window-point'. (Bug#9626)
5643
b5516bbd
MR
5644 * startup.el (command-line-1): Use insert-before-markers when
5645 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5646
b5516bbd
MR
5647 * help.el (help-window): Remove variable.
5648
52aa0014
GM
56492011-09-29 Glenn Morris <rgm@gnu.org>
5650
5651 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5652
df9a7357
JB
56532011-09-29 Juanma Barranquero <lekktu@gmail.com>
5654
5655 * descr-text.el (describe-char-categories): Accept category
5656 descriptions more than one line long.
5657
a8406c20
SM
56582011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5659
88d9610c
SM
5660 * simple.el (delete-trailing-whitespace): Fix last change.
5661
a5daf810
SM
5662 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5663 Don't confuse "y => 3" as the beginning of a `y' operation.
5664
a8406c20
SM
5665 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5666 object has more than 4 slots (bug#9613).
5667
a239d4e9
JB
56682011-09-28 Juanma Barranquero <lekktu@gmail.com>
5669
5670 * subr.el (with-output-to-temp-buffer):
5671 * net/quickurl.el (quickurl, quickurl-browse-url):
5672 Fix typos in docstrings.
5673
693fbdb6
EZ
56742011-09-27 Eli Zaretskii <eliz@gnu.org>
5675
5676 * minibuffer.el (completion-styles)
5677 (completion-category-overrides): Cross reference each other in doc
5678 strings.
5679
8b457e28
GM
56802011-09-27 Glenn Morris <rgm@gnu.org>
5681
5682 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5683 to split-string. (Bug#9606)
5684
85a16208
LMI
56852011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5686
5687 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5688 (bug#9615).
5689
502f9ebd
CY
56902011-09-27 Chong Yidong <cyd@stupidchicken.com>
5691
5692 * emacs-lisp/package.el (list-packages): Fix echo area message.
5693
7690bdea
LL
56942011-09-27 Leo Liu <sdl.web@gmail.com>
5695
5696 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5697
e2ee6f30
MA
56982011-09-25 Michael Albinus <michael.albinus@gmx.de>
5699
5700 * net/dbus.el (dbus-unregister-object): Don't release services for
5701 registered signals. (Bug#9581)
5702
f3f98342
TZ
57032011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5704
5705 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5706 function that picks between cfengine 2 and 3 support
5707 automatically. Update docs accordingly.
5708
dd7aa8dd
KH
57092011-09-22 Kenichi Handa <handa@m17n.org>
5710
5711 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5712 ZERO.
5713 (indian-itrans-v5-table-for-tamil): New variable.
5714 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5715
3f2b07f8
KM
57162011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5717
5718 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5719 that's true if the current command involved collapsing of text.
5720 It's reset to false at the beginning of the next command.
5721 (allout-post-command-business): Move the cursor to the beginning
5722 of entry if the cursor is hidden and collapsing activity just
5723 happened.
5724
371d6a61
CY
57252011-09-24 Chong Yidong <cyd@stupidchicken.com>
5726
5727 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5728 tracking (Bug#9541).
5729
2ac2721a
UJ
57302011-09-24 Ulf Jasper <ulf.jasper@web.de>
5731
5732 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5733 (newsticker-show-news): Automatically load html rendering package
5734 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5735 because w3m-fill-column is let-bound" and the error "Symbol's value
5736 as variable is void: w3m-fill-column".
2ac2721a 5737
fac7ae53
MA
57382011-09-24 Michael Albinus <michael.albinus@gmx.de>
5739
5740 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5741 Release services only if they are defined. (Bug#9581)
5742
e08b633b
RS
57432011-09-23 Richard Stallman <rms@gnu.org>
5744
e488d29c
RS
5745 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5746 distinguish start of paragraph from start of its text.
5747
19c38752
RS
5748 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5749
e08b633b
RS
5750 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5751 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5752 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5753
0a39f27e
AS
57542011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5755
5756 * international/mule-diag.el (mule-diag): Insert a newline after
5757 each fontset description.
5758
db4e950d
SM
57592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5760
5761 * simple.el (delete-trailing-whitespace):
5762 Document last change; simplify.
5763
eca3f3ea
PW
57642011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5765
d68e189a
PW
5766 * simple.el (delete-trailing-whitespace): Also delete
5767 extra newlines at the end of the buffer.
5768
eca3f3ea
PW
5769 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5770 (picture-newline): Use forward-line so as to ignore fields.
5771
01c157cc
SM
57722011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * subr.el (with-wrapper-hook): Fix edebug spec.
5775
022de23e
LMI
57762011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5777
5778 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5779 (bug#4538).
5780
91683089
MA
57812011-09-23 Michael Albinus <michael.albinus@gmx.de>
5782
eca3f3ea
PW
5783 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5784 Fix nasty bug using wrong cached values.
91683089 5785
5bdd6fa4
AM
57862011-09-23 Alan Mackenzie <acm@muc.de>
5787
5788 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5789
97adfb97
CY
57902011-09-23 Chong Yidong <cyd@stupidchicken.com>
5791
5792 * window.el (pop-to-buffer): Ensure right window is selected if we
5793 chose another frame.
5794
d4ef2b50
EZ
57952011-09-22 Eli Zaretskii <eliz@gnu.org>
5796
5797 * simple.el (what-cursor-position): Use get-char-property-change
5798 and next-single-char-property-change, to be able to show display
5799 properties that come from overlays as well as text properties.
5800
72258fe5
CY
58012011-09-22 Chong Yidong <cyd@stupidchicken.com>
5802
5803 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5804
5805 * cmuscheme.el (run-scheme, switch-to-scheme):
5806 * cus-edit.el (customize-group, custom-buffer-create)
5807 (customize-browse):
5808 * info.el (info):
5809 * shell.el (shell):
5810 * mail/sendmail.el (mail):
5811 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5812
8f098516
RS
58132011-09-22 Richard Stallman <rms@gnu.org>
5814
5815 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5816 move back only to line beg, don't move back over blank lines.
5817
e74f1bb6
MA
58182011-09-22 Michael Albinus <michael.albinus@gmx.de>
5819
5820 * files.el (copy-directory): Set directory attributes only in case
5821 they could be retrieved from the source directory. (Bug#9565)
5822
bfeef8b6
DK
58232011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5824
5825 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5826 (hs-find-block-beginning, hs-hide-level-recursive):
5827 Ignore strings as well as comments. (Bug#9502)
5828
7e423bb8
AS
58292011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5830
5831 * progmodes/sql.el (sql-comint-postgres):
5832 Convert port number to a string. (Bug#9566)
5833
b4d72fcf
MR
58342011-09-22 Martin Rudalics <rudalics@gmx.at>
5835
5836 * window.el (quit-window): Undedicate window when switching to
5837 previous buffer. Reported by Thierry Volpiatto
5838 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5839 (special-display-popup-frame): When popping up a new frame reset
5840 its previous buffers to nil. Simplify code.
b4d72fcf 5841
a7b88dc6
MA
58422011-09-21 Michael Albinus <michael.albinus@gmx.de>
5843
5844 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5845 and process filter, as done also in `shell-command'.
5846
cf4eacfd
MR
58472011-09-21 Martin Rudalics <rudalics@gmx.at>
5848
eca3f3ea 5849 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5850 Call set-window-start with NOFORCE argument t.
5851 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5852 (quit-window): Reword doc-string. Handle new format of
5853 quit-restore parameter. Don't delete window if it has a
5854 previous buffer we can show instead of the present one.
5855 (display-buffer-record-window): Rewrite using a new format for
5856 the quit-restore window parameter
5857 (special-display-popup-frame, display-buffer-same-window)
5858 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5859 (display-buffer-pop-up-window, display-buffer-use-some-window):
5860 Adapt symbol passed to display-buffer-record-window.
5861 * help.el (help-window-setup): Handle new format of quit-restore
5862 parameter.
5863
8d28cb95
SM
58642011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5865
94ab793f
SM
5866 * faces.el (face-list): Fix docstring (bug#9564).
5867
8d28cb95
SM
5868 * window.el (display-buffer--action-function-custom-type):
5869 Don't include internal functions in the Custom interface.
5870
3820edeb
JL
58712011-09-20 Juri Linkov <juri@jurta.org>
5872
5873 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5874 (Info-forward-node, Info-backward-node, Info-next-preorder)
5875 (Info-last-preorder): Use it. (Bug#9528)
5876
5147931d
JL
58772011-09-20 Juri Linkov <juri@jurta.org>
5878
5879 * info.el (Info-last-preorder): Visit last menu item only when
5880 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5881
cf499a1a
JD
58822011-09-20 Julien Danjou <julien@danjou.info>
5883
5884 * password-cache.el (password-cache-remove): Remove entries even if the
5885 value is nil, so that password with a nil value (negative caching) is
5886 possible to invalidate.
5887
f84e2fe2
LM
58882011-09-20 Lawrence Mitchell <wence@gmx.li>
5889
5890 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5891 all whitespace around breakpoint. (Bug#9553)
5892 (f90-find-breakpoint): Only break at whitespace inside a comment.
5893
78054a46
SM
58942011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * minibuffer.el (completion-file-name-table): Keep track of errors.
5897 (completion-table-with-predicate): Handle the case where pred1 is nil.
5898 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5899
345083b2
SM
59002011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5901
e24e27be
SM
5902 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5903 (debugger-return-value): Signal an error if the debugging context does
5904 not await any return value.
5905
345083b2
SM
5906 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5907 * image-mode.el (image-toggle-display-text)
5908 (image-toggle-display-image): Stay away from evil `intangible'.
5909
08d355e3
LL
59102011-09-19 Leo Liu <sdl.web@gmail.com>
5911
5912 * replace.el (occur-revert-arguments): Make it permanent-local.
5913 (occur-mode): Don't call font-lock-defontify.
5914
f01da43f
CY
59152011-09-19 Chong Yidong <cyd@stupidchicken.com>
5916
5917 * net/ldap.el (ldap-search-internal): Don't push empty search
5918 result (Bug#9508).
5919
b6072fa6
SM
59202011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5923
443d6696
MA
59242011-09-19 Michael Albinus <michael.albinus@gmx.de>
5925
5926 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5927 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5928
7cc6e154
JL
59292011-09-18 Juri Linkov <juri@jurta.org>
5930
5931 * buff-menu.el (Buffer-menu-mode-map):
5932 * dired.el (dired-mode-map):
5933 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5934 (lisp-interaction-mode-map):
5935 * emacs-lisp/package.el (package-menu-mode-map):
5936 * epa.el (epa-key-list-mode-map):
5937 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5938 (menu-bar-options-menu):
5939 * outline.el (outline-mode-menu-bar-map):
5940 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5941 * vc/vc-dir.el (vc-dir-menu-map):
5942 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5943 Capitalize non-function content words in menu item strings.
5944
5945 * dired.el (dired-mode-map): Add menu item for
5946 `image-dired-dired-toggle-marked-thumbs'.
5947
80302a81
JL
59482011-09-18 Juri Linkov <juri@jurta.org>
5949
5950 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5951 to `isearch-case-fold-search' and restore its original value
5952 after the `isearch-mode' call.
5953
46c5cf66
JL
59542011-09-18 Juri Linkov <juri@jurta.org>
5955
5956 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5957 because `zgrep' returns 1 for successful matches (bug#9226).
5958
d18b513b
JL
59592011-09-18 Juri Linkov <juri@jurta.org>
5960
5961 * info.el (Info-extract-menu-node-name): Check the second match
5962 for empty string (second test-case of bug#9528).
5963 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5964 intermediate nodes to the history (first test-case of bug#9528).
5965
72753f87
JL
59662011-09-18 Juri Linkov <juri@jurta.org>
5967
5968 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5969 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5970
c9384295
JL
59712011-09-18 Juri Linkov <juri@jurta.org>
5972
1154d12e
JB
5973 * info.el (Info-file-supports-index-cookies):
5974 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5975 outputs one more line for long file names (bug#4142).
c9384295 5976
d473dce8
CY
59772011-09-18 Chong Yidong <cyd@stupidchicken.com>
5978
5979 * newcomment.el (comment-normalize-vars): If prompting for
5980 comment-start, set comment-start-skip too (Bug#8424).
5981
2176854d
JB
59822011-09-18 Johan Bockgård <bojohan@gnu.org>
5983
5984 * icomplete.el: Fix previous fix of Bug#5849.
5985 (icomplete-mode): Don't set completion-show-inline-help.
5986 (icomplete-minibuffer-setup): Set completion-show-inline-help
5987 locally during icompletion.
5988
3aace4e4
CY
59892011-09-18 Chong Yidong <cyd@stupidchicken.com>
5990
c940224f
CY
5991 * woman.el (woman2-process-escapes): Don't delete unrecognized
5992 escapes (Bug#7843).
5993
3aace4e4
CY
5994 * files.el (inhibit-first-line-modes-regexps): Add image files.
5995 (hack-local-variables-prop-line): Return nil for malformed
5996 prop-lines (Bug#9044).
5997
710dec63
MA
59982011-09-18 Michael Albinus <michael.albinus@gmx.de>
5999
6000 * net/tramp.el (top): Don't require 'shell.
6001 (tramp-methods): Fix docstring.
6002 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6003 Return complete remote file name. Handle "smb" case.
6004 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6005 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6006
6007 * net/tramp-compat.el (top): Require 'shell.
6008
6009 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6010 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6011 `tramp-current-host'.
6012 (tramp-get-remote-tmpdir): Remove.
6013
6014 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6015 `tramp-tmpdir' entries.
6016 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6017 (tramp-smb-handle-file-attributes): Ignore errors.
6018 (tramp-smb-wait-for-output): Check also for process end.
6019
5d5ac8ec
LMI
60202011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6021
6022 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6023 when sending QUIT (bug#9312).
6024
8c0f49f0
CY
60252011-09-17 Chong Yidong <cyd@stupidchicken.com>
6026
6027 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6028 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6029 occur-mode-display-occurrence.
6030 (occur-edit-mode): Add usage message.
6031 (occur-cease-edit): New command.
6032 (occur-after-change-function): Use text properties to find the
6033 position of the prefix text.
6034 (occur-engine): Set stickiness of prefix text properties.
6035
8f1383f7
GM
60362011-09-17 Glenn Morris <rgm@gnu.org>
6037
6038 * progmodes/etags.el (complete-tag):
6039 Fix call to completion-in-region. (Bug#9526)
6040
744ba0e3
JL
60412011-09-17 Juri Linkov <juri@jurta.org>
6042
6043 * textmodes/ispell.el (ispell-word): Add to the error message
6044 the word, ispell program name and current dictionary (bug#9121).
6045 (ispell-tex-arg-end): Capitalize "error" in the error message.
6046
d9bbf400
AS
60472011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6048
6049 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6050 check. (Bug#4251)
6051
8da11505
JL
60522011-09-17 Juri Linkov <juri@jurta.org>
6053
6054 * window.el (window-safe-min-height, window-safe-min-width):
6055 Fix typos (followup to bug#9522).
6056
a91adc7e
SJ
60572011-09-17 Sven Joachim <svenjoac@gmx.de>
6058
6059 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6060
064f328a
EZ
60612011-09-16 Eli Zaretskii <eliz@gnu.org>
6062
6063 * simple.el (line-move): If goal-column is set, move by logical
6064 lines, not by display lines. (Bug#971)
6065 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6066 to reflect the above change.
6067
e69df516
SM
60682011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * image.el (imagemagick-register-types): Use regexp-opt.
6071
cbb0f9ab
CY
60722011-09-15 Chong Yidong <cyd@stupidchicken.com>
6073
6074 * window.el (display-buffer-base-action): Rename from
6075 display-buffer-default-action. Make default value empty.
6076 (display-buffer-overriding-action): Convert to defvar.
6077 (display-buffer-fallback-action): New var.
6078
25322144
CY
60792011-09-15 Chong Yidong <cyd@stupidchicken.com>
6080
6081 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6082 declaration.
6083 (package--add-to-archive-contents): If there is a duplicate entry
6084 with an older version, remove it.
6085 (package-menu-mark-delete, package-menu-mark-install)
6086 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6087 (package-menu-mark-obsolete-for-deletion):
6088 Use package-menu-get-status instead of a regexp search.
25322144
CY
6089 (package-menu-get-status): Use tabulated-list-entry.
6090 (package-menu-mark-upgrades): New command.
d770725a 6091 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6092 (package-menu-execute): Do installation before deletion.
6093 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6094 instead of checking major-mode.
6095 (package-menu--find-upgrades): New function.
6096
7520339c
LMI
60972011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6098
6099 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6100 passwords in the log buffer.
65a046c4
LMI
6101 (smtpmail-process-filter): Update the process marker so that the
6102 "broken by peer" status message is inserted in the right place.
7520339c 6103
d3c30954
SM
61042011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6105
3fe48822
SM
6106 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6107 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6108 bibtex-completion-at-point-function.
6109 (bibtex-completion-at-point-function): Use them.
6110
1b8b3954
SM
6111 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6112
d3c30954
SM
6113 * mpc.el (mpc-constraints-tag-lookup): New function.
6114 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6115 also to browser "album|playlist".
6116
72779976
JL
61172011-09-14 Juri Linkov <juri@jurta.org>
6118
6119 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6120 (isearch-edit-string): Use length of `isearch-string' when
6121 `isearch-fail-pos' returns nil.
6122 (isearch-message): Remove duplicate code and call
6123 `isearch-fail-pos' with arg `t'.
6124
a0bf2bcd
CY
61252011-09-14 Chong Yidong <cyd@stupidchicken.com>
6126
17bb0a2d
CY
6127 * replace.el (occur-mode-goto-occurrence): Don't force using other
6128 window (Bug#9499).
6129
a0bf2bcd
CY
6130 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6131
f678e0b6
MR
61322011-09-14 Martin Rudalics <rudalics@gmx.at>
6133
6134 * window.el (display-buffer-window): Remove.
6135 (display-buffer-record-window): Use help-setup window parameter
6136 instead of variable display-buffer-window.
6137 (display-buffer-function, special-display-buffer-names)
6138 (special-display-function): Mention help-setup parameter instead
6139 of display-buffer-window in doc-string.
d3c30954
SM
6140 * help.el (help-window-setup): New argument help-window.
6141 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6142 Reword some messages.
6143 (with-help-window): Pass window used for displaying the buffer
6144 to help-window-setup. Don't set display-buffer-window.
6145
8e39b2e8
GM
61462011-09-13 Glenn Morris <rgm@gnu.org>
6147
6148 * emacs-lisp/debug.el (debugger-make-xrefs):
6149 Preserve point. (Bug#9462)
6150
85e9c04b
CY
61512011-09-13 Chong Yidong <cyd@stupidchicken.com>
6152
6153 * window.el (window-deletable-p): Use next-frame.
6154
1b36ed6a
MR
61552011-09-13 Martin Rudalics <rudalics@gmx.at>
6156
6157 * window.el (window-auto-delete): Remove.
6158 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6159 dedication and previous buffers.
1b36ed6a
MR
6160 (switch-to-prev-buffer): Don't delete window.
6161 (delete-windows-on): Delete a window's frame if and only if the
6162 window is dedicated.
6163 (replace-buffer-in-windows): Delete buffer's window or frame if
6164 and only if window is dedicated.
6165 (quit-window): Handle quit-restore as before last change.
4d61f28d 6166 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6167
ef8ef9fb
CY
61682011-09-13 Chong Yidong <cyd@stupidchicken.com>
6169
6170 * window.el (window-deletable-p): Never delete the last frame on a
6171 given terminal.
6172
b2cba41e
GM
61732011-09-13 Glenn Morris <rgm@gnu.org>
6174
6175 * help.el (describe-key-briefly): Copy previous standard-output change.
6176
51553db6 61772011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6178
6179 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6180
b7556719
GM
61812011-09-13 Glenn Morris <rgm@gnu.org>
6182
6183 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6184 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6185
64b51947
CY
61862011-09-12 Chong Yidong <cyd@stupidchicken.com>
6187
6188 * dired-aux.el (dired-mark-read-string): Don't return default
6189 value on empty input (Bug#9361).
6190 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6191 Omit initial minibuffer contents.
6192 (dired-do-chmod): Signal an error on empty input.
6193 (dired-mark-read-string): Don't return default on empty input.
6194
6195 * files.el (file-modes-symbolic-to-number): Doc fix.
6196
393a301e
SM
61972011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * international/mule-cmds.el (ucs-completions): Remove.
6200 (read-char-by-name): Use complete-with-action instead; add metadata.
6201
fa5660f9
CY
62022011-09-11 Chong Yidong <cyd@stupidchicken.com>
6203
6204 * window.el (display-buffer--action-function-custom-type)
6205 (display-buffer--action-custom-type): New vars.
6206 (display-buffer-alist, display-buffer-default-action)
6207 (display-buffer-overriding-action): Add defcustom types.
6208
4a592f66
CY
6209 * frame.el (delete-other-frames): Doc fix (Bug#276).
6210
73d56dbd
LMI
62112011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6212
6213 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6214
37ac18a3
CY
62152011-09-11 Chong Yidong <cyd@stupidchicken.com>
6216
6217 Change modes that used same-window-* vars to use switch-to-buffer.
6218
6219 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6220 Use switch-to-buffer.
6221
6222 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6223 (customize-browse, custom-buffer-create-other-window):
6224 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6225
6226 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6227 (Info-prev, Info-up, Info-speedbar-goto-node)
6228 (info-display-manual): Use switch-to-buffer.
6229 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6230
6231 * mail/sendmail.el (mail): Use switch-to-buffer.
6232 (mail-recover): Use switch-to-buffer-other-window.
6233
6234 * cmuscheme.el (run-scheme, switch-to-scheme):
6235 * ielm.el (ielm):
6236 * shell.el (shell):
6237 * net/rlogin.el (rlogin):
6238 * net/telnet.el (telnet, rsh):
6239 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6240
10195bd6
AS
62412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6242
6243 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6244
b322f63a
LMI
62452011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6246
39d7fed6
LMI
6247 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6248 so don't mention it (bug#9301).
ba5a81f1 6249 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6250
ee0e9f11
LMI
6251 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6252 match `x', `w32' and `ns', like the manual says (bug#9029).
6253
0b1c89c1 6254 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6255 (process-kill-buffer-query-function): Mention the buffer name in
6256 the query.
0b1c89c1 6257
77549ea8
LMI
6258 * image-mode.el (image-next-line): The line parameter is mandatory
6259 (bug#9258).
6260
803ef892
LMI
6261 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6262 which can be useful (bug#9301).
6263
12980837
LMI
6264 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6265
91054f8f
LMI
6266 * subr.el (match-string): Mention that the current buffer should
6267 be the same as the search was done in (bug#9282).
6268
b322f63a
LMI
6269 * facemenu.el: Disable the remove-* commands if the mark isn't
6270 active (bug#9162).
6271
3199b96f
CY
62722011-09-10 Chong Yidong <cyd@stupidchicken.com>
6273
6274 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6275 of display-buffer.
6276 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6277
6278 * replace.el (occur-mode-goto-occurrence)
6279 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6280 and display-buffer.
6281
6282 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6283 display-buffer.
6284
6285 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6286 special-display and same-window variables.
6287 (mail-other-window): Use switch-to-buffer-other-window.
6288 (mail-other-frame): USe switch-to-buffer-other-frame.
6289
393a301e
SM
6290 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6291 Use display-buffer-other-frame.
3199b96f
CY
6292 (gdb-display-gdb-buffer): Use pop-to-buffer.
6293
6294 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6295
6296 * progmodes/python.el: Don't set same-window-buffer-names.
6297
6298 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6299
6300 * window.el (display-buffer-alist): Add *Python*.
6301
8319e0bf
CY
63022011-09-10 Chong Yidong <cyd@stupidchicken.com>
6303
6304 * window.el (display-buffer-alist): Add entry for buffers
6305 previously handled same-window-*.
6306 (display-buffer-alist, display-buffer-default-action)
6307 (display-buffer-overriding-action): Mark as risky.
6308 (display-buffer-alist): Document action function changes.
6309 (display-buffer--same-window-action)
6310 (display-buffer--other-frame-action): New variables.
6311 (switch-to-buffer, display-buffer-other-frame): Use them.
6312 (display-buffer): Rename reuse-frame entry to reusable-frames.
6313 (display-buffer-reuse-selected-window): Function deleted.
6314 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6315 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6316 (display-buffer-special): New function.
6317 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6318 display-buffer-reuse-or-pop-window. Split off special-display
6319 part into display-buffer-special.
6320 (display-buffer-use-some-window): Don't perform any special
6321 pop-up-frames handling.
6322 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6323 (display-buffer--maybe-same-window): Rename from
0d3ff375 6324 display-buffer-maybe-same-window.
8319e0bf 6325
919a69aa
CY
6326 * info.el: Don't set same-window-regexps.
6327 (info-setup): New function.
6328 (info-other-window, info): Call it.
6329
6330 * cus-edit.el: Don't set same-window-regexps.
6331 (customize-group): New argument.
6332 (customize-group-other-window): Use it.
6333 (customize-face, customize-face-other-window): Likewise.
6334 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6335
8319e0bf
CY
6336 * net/rlogin.el:
6337 * net/telnet.el:
6338 * progmodes/gud.el: Don't set same-window-regexps.
6339
6340 * cmuscheme.el:
6341 * ielm.el:
6342 * shell.el:
6343 * mail/sendmail.el:
6344 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6345
25173000
JL
63462011-09-10 Juri Linkov <juri@jurta.org>
6347
6348 * isearch.el (isearch-edit-string): Remove obsolete mention of
6349 `C-w' (`isearch-yank-word-or-char') from docstring.
6350 (isearch-query-replace): Fix typo in docstring (bug#9466).
6351
056e44ef
JL
63522011-09-10 Juri Linkov <juri@jurta.org>
6353
6354 * paren.el (show-paren-function): Don't show escaped parens.
6355 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6356
c3760c17
EZ
63572011-09-10 Eli Zaretskii <eliz@gnu.org>
6358
6359 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6360 (mm-default-file-encoding): Remove autoload forms, they are
6361 replaced with autoload cookies in mml.el and mm-encode.el.
6362 (mail-add-attachment): New command.
6363 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6364 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6365 the doc string.
6366 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6367
fece895e
RT
63682011-09-10 Reuben Thomas <rrt@sc3d.org>
6369
e69df516
SM
6370 * simple.el (count-words-region): Use buffer if there's no region
6371 (bug#9429).
fece895e 6372
5e68ce4a
JL
63732011-09-09 Juri Linkov <juri@jurta.org>
6374
6375 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6376 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6377 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6378
0a6b9622
AM
63792011-09-09 Alan Mackenzie <acm@muc.de>
6380
6381 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6382 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6383
14a29deb
EZ
63842011-09-09 Eli Zaretskii <eliz@gnu.org>
6385
6386 Fix for Savannah bug#9392.
6387 * simple.el (mail-encode-mml): New defvar.
6388
6389 * mail/rmail.el (mail-encode-mml): Add a defvar.
6390 (rmail-enable-mime-composing): Default to t.
6391 (rmail-forward): Use MIME method of forwarding only if both
6392 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6393 Set mail-encode-mml non-nil if the MIME method was used.
6394
6395 * mail/sendmail.el (mml-to-mime): Add autoload form.
6396 (mail-encode-mml): Add a defvar.
6397 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6398 to nil.
6399 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6400 message through mml-to-mime, and reset mail-encode-mml to nil.
6401
28c45130
GM
64022011-09-09 Glenn Morris <rgm@gnu.org>
6403
6404 * woman.el (woman-if-body): When processing an .el block,
6405 do not delete the next .el block as well. (Bug#9447)
69f4b618 6406 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6407
9b1c252e
MR
64082011-09-08 Martin Rudalics <rudalics@gmx.at>
6409
6410 * window.el (window-deletable-p): Make sure window is live before
6411 invoking window-prev-buffers.
6412
567457e3
LL
64132011-09-08 Leo Liu <sdl.web@gmail.com>
6414
6415 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6416
97f05794
JL
64172011-09-08 Juri Linkov <juri@jurta.org>
6418
6419 * progmodes/compile.el (compilation-environment): Make it
6420 a defcustom (bug#8340).
6421
8b0874b5
MR
64222011-09-08 Martin Rudalics <rudalics@gmx.at>
6423
6424 * window.el (frame-auto-delete): Rename to window-auto-delete.
6425 Make it control auto-deletion of windows and/or frames.
6426 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6427 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6428 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6429 Rewrite handling of case when window/frame can be deleted.
6430 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6431 argument t. (Bug#9456)
8b0874b5 6432
4feb6e73
CY
64332011-09-07 Chong Yidong <cyd@stupidchicken.com>
6434
6435 * help-mode.el (help-mode): Restore autoload.
6436
91ab9c13
JL
64372011-09-07 Juri Linkov <juri@jurta.org>
6438
6439 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6440 `compilation-environment'. Set buffer-local
6441 `compilation-environment' to `thisenv' later after (funcall mode).
6442 (Bug#8340)
6443
6444 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6445 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6446 instead of replacing its value. (Bug#8340)
6447
0527e251
JL
64482011-09-07 Juri Linkov <juri@jurta.org>
6449
6450 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6451 based on text properties put by `grep-filter' instead of matching
6452 escape sequences.
6453 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6454 to the value of `grep-error-screen-columns' (bug#9438).
6455
249f792c
JL
64562011-09-07 Juri Linkov <juri@jurta.org>
6457
6458 * simple.el (next-error-highlight, next-error-highlight-no-select):
6459 Doc fix (bug#9432).
6460
ff7271b9
OT
64612011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6462
6463 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6464 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6465
183fc730
LL
64662011-09-07 Leo Liu <sdl.web@gmail.com>
6467
6468 * net/rcirc.el (rcirc-mode): Conditionally initialize
6469 rcirc-input-ring.
6470
77694924
SM
64712011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * emacs-lisp/find-func.el (find-function-C-source): Only set
6474 find-function-C-source-directory after checking that we found a source
6475 file there (bug#9440).
6476
d809b8eb
AM
64772011-09-06 Alan Mackenzie <acm@muc.de>
6478
6479 * isearch.el (isearch-other-meta-char): Wherever a key list is
6480 unread, "unread" the prefix arg, too. This fixes bug #8901.
6481
453de99f
OG
64822011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6483
6484 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6485
90439906
JL
64862011-09-05 Juri Linkov <juri@jurta.org>
6487
6488 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6489
f62bd846
JL
64902011-09-05 Juri Linkov <juri@jurta.org>
6491
6492 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6493 keeping point where processing of grep matches begins, and
6494 continue to delete remaining escape sequences from the same point.
6495 (grep-filter): Make leading zero optional in "0?1;31m" because
6496 git-grep emits "\033[1;31m" escape sequences unlike expected
6497 "\033[01;31m" as GNU Grep does (bug#9408).
6498 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6499
045820ec
JL
65002011-09-05 Juri Linkov <juri@jurta.org>
6501
6502 * subr.el (y-or-n-p): Capitalize "yes".
6503
f5e29b9b
MA
65042011-09-04 Michael Albinus <michael.albinus@gmx.de>
6505
6506 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6507 `tramp-cache-unload-hook' where appropriate.
6508 (tramp-methods): Rename `tramp-remote-sh' to
6509 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6510 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6511
6512 * net/tramp-sh.el (top): Don't require 'shell.
6513 (tramp-methods): Add `tramp-remote-shell' and
6514 `tramp-remote-shell-args' entries.
6515 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6516 (tramp-sh-handle-shell-command): Remove.
6517 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6518 Use `tramp-remote-shell'.
6519
2784c434
CY
65202011-09-03 Chong Yidong <cyd@stupidchicken.com>
6521
393a301e 6522 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6523 (sendmail-query-once): Save directly to send-mail-function.
6524 Update message-send-mail-function too.
6525
6526 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6527
464cdf56
CS
65282011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6529
6530 * progmodes/python.el (python-mode-map): Use correct function to
6531 start python interpreter from menu-bar (as reported by Geert
6532 Kloosterman).
6533 (inferior-python-mode-map): Fix typo.
393a301e 6534 (python-shell-map): Remove.
464cdf56 6535
d37e5c87
DD
65362011-09-03 Deniz Dogan <deniz@dogan.se>
6537
6538 * net/rcirc.el (rcirc-print): Simplify code for
6539 rcirc-scroll-show-maximum-output. There is no need to walk
6540 through all windows to find the right one.
6541
f3ada0ee
CS
65422011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6543
6544 * help.el (help-return-method): Doc fix.
6545
1f3c99ca
MR
65462011-09-03 Martin Rudalics <rudalics@gmx.at>
6547
6548 * window.el (window-deletable-p): Don't return a non-nil value
6549 when there's a buffer that was shown in the window before.
6550 (Bug#9419)
393a301e
SM
6551 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6552 Set window's previous buffers to nil.
1f3c99ca 6553
a3cf097f
EZ
65542011-09-03 Eli Zaretskii <eliz@gnu.org>
6555
6556 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6557 newline before and after the tag line, so it doesn't interfere
6558 with determining the paragraph direction of bidirectional text.
6559
3d03de90
LL
65602011-09-03 Leo Liu <sdl.web@gmail.com>
6561
6562 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6563
c3313451
CY
65642011-09-02 Chong Yidong <cyd@stupidchicken.com>
6565
393a301e 6566 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6567 (pop-to-buffer): Change interactive spec. Pass second argument
6568 directly to display-buffer.
6569 (display-buffer): Fix interactive spec. Use functionp to
6570 distinguish between a function and a list of functions.
6571
6572 * abbrev.el (edit-abbrevs):
6573 * arc-mode.el (archive-extract):
6574 * autoinsert.el (auto-insert):
6575 * bookmark.el (bookmark-bmenu-list):
6576 * files.el (find-file):
6577 * view.el (view-buffer):
6578 * progmodes/compile.el (compilation-goto-locus):
6579 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6580
89894cd8
CY
65812011-09-02 Chong Yidong <cyd@stupidchicken.com>
6582
6583 * window.el (display-buffer-alist): Doc fix.
6584 (display-buffer): Add docstring. Don't treat
6585 display-buffer-default specially.
6586 (display-buffer-reuse-selected-window)
6587 (display-buffer-same-window, display-buffer-maybe-same-window)
6588 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6589 (display-buffer-pop-up-window)
6590 (display-buffer-reuse-or-pop-window)
6591 (display-buffer-use-some-window): New functions.
6592 (display-buffer-default-action): Use them.
393a301e 6593 (display-buffer-default): Delete.
89894cd8
CY
6594 (pop-to-buffer-1): Fix choice of actions.
6595
ae0bc9fb
SM
65962011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * minibuffer.el (completion--insert-strings): Don't get confused by
6599 completion entries that end with an LF char.
6600
e9d90883
EZ
66012011-09-01 Eli Zaretskii <eliz@gnu.org>
6602
6603 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6604
437014c8
CY
66052011-09-01 Chong Yidong <cyd@stupidchicken.com>
6606
6607 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6608 (display-buffer-same-window, display-buffer-other-window):
6609 New functions.
437014c8
CY
6610 (pop-to-buffer-1): New function. Use the above.
6611 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6612 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6613
6614 * view.el (view-buffer-other-window, view-buffer-other-frame):
6615 Just use pop-to-buffer.
6616
a5e063d5
TV
66172011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6618
6619 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6620
793d32bb
WH
66212011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6622
6623 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6624
d65e4c15
RS
66252011-08-31 Richard Stallman <rms@gnu.org>
6626
6627 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6628 of the separation of rmail-view-buffer from rmail-buffer.
6629 If you say no to "replace original", the decrypt is in the
6630 view buffer. If you say yes, the decrypt goes into the
6631 rmail buffer also.
6632
f818cd2a
MR
66332011-08-31 Martin Rudalics <rudalics@gmx.at>
6634
6635 * window.el (display-buffer-window): Rewrite doc-string.
6636 (display-buffer-record-window): New function.
6637 (display-buffer-macro-specifiers)
6638 (display-buffer-even-window-sizes, display-buffer-set-height)
6639 (display-buffer-set-width, display-buffer-in-window)
6640 (display-buffer-reuse-window, display-buffer-split-specifiers)
6641 (display-buffer-side-specifiers, display-buffer-split-window-1)
6642 (display-buffer-split-window, display-buffer-split-atom-window)
6643 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6644 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6645 (display-buffer-other-window-means-other-frame)
6646 (display-buffer-normalize-special)
6647 (display-buffer-normalize-default)
6648 (display-buffer-normalize-argument)
6649 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6650 (display-buffer-normalize-specifiers, display-buffer-frame)
6651 (display-buffer-same-window, display-buffer-same-frame)
6652 (display-buffer-other-window)
6653 (display-buffer-same-frame-other-window)
6654 (display-buffer-other-frame, pop-to-buffer-same-window)
6655 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6656 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6657 (switch-to-buffer-same-frame)
6658 (switch-to-buffer-other-window-same-frame)
6659 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6660 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6661 (display-buffer-alist-set): Remove.
6662 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6663 (special-display-regexps, special-display-function):
6664 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6665 parameter.
6666 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6667 (special-display-frame-alist, special-display-popup-frame)
6668 (same-window-buffer-names, same-window-regexps, same-window-p)
6669 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6670 (split-window-preferred-function, split-height-threshold)
6671 (split-width-threshold, window-splittable-p)
6672 (split-window-sensibly, window--try-to-split-window)
6673 (window--frame-usable-p, even-window-heights)
6674 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6675 (window--display-buffer-2, display-buffer-other-frame):
6676 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6677 (display-buffer-default, display-buffer-assq-regexp): New functions.
6678 (display-buffer-alist): Rewrite doc-string.
6679 (display-buffer-default-action)
6680 (display-buffer-overriding-action): New variables.
6681 (display-buffer, switch-to-buffer): Rewrite.
6682 (pop-to-buffer): Restore Emacs 23 behavior but use
6683 window-normalize-buffer-to-display.
6684 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6685 Restore Emacs 23 behavior but use
6686 window-normalize-buffer-to-switch-to.
6687 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6688 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6689 Rewrite using Emacs 23 options.
f818cd2a 6690
5bc3b51d
MA
66912011-08-31 Michael Albinus <michael.albinus@gmx.de>
6692
6693 * net/tramp.el (tramp-root-regexp): Remove.
6694 (tramp-completion-file-name-regexp-unified)
6695 (tramp-completion-file-name-regexp-separate)
6696 (tramp-completion-file-name-regexp-url): Don't use leading volume
6697 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6698 (tramp-drop-volume-letter): Simplify definition.
6699 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6700
b1a4f8e1
SM
67012011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6704 (bug#9356).
6705
5664fa7b
RT
67062011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6707
b1a4f8e1 6708 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6709
9a45d6c3
JL
67102011-08-29 Juri Linkov <juri@jurta.org>
6711
6712 * isearch.el (isearch-done): Don't display message "Mark saved"
6713 when arg `edit' is non-nil to prevent its flicker in the echo area.
6714
fb87e0fb
CY
67152011-08-28 Chong Yidong <cyd@stupidchicken.com>
6716
6717 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6718 obsolete packages for deletion.
6719
09ac1c2a
CS
67202011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6721
6722 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6723 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6724 view-mode from help-mode.
6725 (help-xref-override-view-map): Remove.
6726 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6727 view-mode is not used anymore.
6728
7a1ff57f
CY
67292011-08-28 Chong Yidong <cyd@stupidchicken.com>
6730
6731 * server.el (server-port): Doc fix.
6732
b9696605
CY
6733 * cus-theme.el (custom-theme-choose-mode): Inherit from
6734 special-mode (Bug#9124).
6735 (custom-theme-choose-mode-map): Add special-mode to parent.
6736
ef8cdf8c
AM
67372011-08-28 Alan Mackenzie <acm@muc.de>
6738
6739 * progmodes/cc-fonts.el
6740 (c-make-font-lock-BO-decl-search-function): New function.
6741 (c-basic-matchers-after - "Fontify the clauses after various
6742 keywords"): Extract the three keyword lists for the 3 erroneous
6743 constructs from the list of four, and use the new function above
6744 in place of an old one.
6745
27de4e20
DD
67462011-08-28 Deniz Dogan <deniz@dogan.se>
6747
6748 * net/rcirc.el (rcirc-insert-prev-input)
6749 (rcirc-insert-next-input): Remove unused argument.
6750
356a3681
SM
67512011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6754
3fc9b218
AM
67552011-08-27 Alan Mackenzie <acm@muc.de>
6756
6757 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6758 handle function pointer parameters properly.
6759
538a061c
MR
67602011-08-27 Martin Rudalics <rudalics@gmx.at>
6761
6762 * window.el (display-buffer-reuse-window): Fix case where
6763 selected window was reused with non-nil OTHER-WINDOW argument.
6764 (Bug#9381)
6765
35b1c40c
DD
67662011-08-27 Deniz Dogan <deniz@dogan.se>
6767
6768 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6769 oftc's NickServ messages.
6770
2f6a3e79
GM
67712011-08-27 Glenn Morris <rgm@gnu.org>
6772
6773 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6774
7254299e
CY
67752011-08-26 Chong Yidong <cyd@stupidchicken.com>
6776
6777 * emacs-lisp/package.el (package-install): Call package-initialize
6778 if called interactively.
6779
f8ccf167
LL
67802011-08-26 Leo Liu <sdl.web@gmail.com>
6781
6782 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6783
3e8cd5ce
JL
67842011-08-25 Juri Linkov <juri@jurta.org>
6785
6786 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6787 `search-whitespace-regexp' (bug#9364).
6788
93eb7113
JL
67892011-08-25 Juri Linkov <juri@jurta.org>
6790
6791 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6792 `regexp-search-ring' to their global values to protect from
6793 updating by `read-from-minibuffer' (bug#9185).
6794
f65d1611
JL
67952011-08-25 Juri Linkov <juri@jurta.org>
6796
6797 * textmodes/ispell.el (ispell-command-loop): Add newline
6798 at the end of the "Use option `i'..." line.
6799
f1cf7a31
JL
68002011-08-25 Juri Linkov <juri@jurta.org>
6801
6802 * battery.el (display-battery-mode): If `battery-status-function'
6803 or `battery-mode-line-format' is nil, display the message and set
6804 `display-battery-mode' to nil (bug#9363).
6805
0c95fcf7
EZ
68062011-08-25 Eli Zaretskii <eliz@gnu.org>
6807
6808 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6809 bidi-string-mark-left-to-right; they are unnecessary now.
6810
a2ebe600
DD
68112011-08-25 Deniz Dogan <deniz@dogan.se>
6812
6813 * net/quickurl.el: Documentation typo fixes.
6814
e4ed06f1
CY
68152011-08-25 Chong Yidong <cyd@stupidchicken.com>
6816
6817 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6818
e5f1c99e
GM
68192011-08-25 Glenn Morris <rgm@gnu.org>
6820
b2948976
GM
6821 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6822
e5f1c99e
GM
6823 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6824 (smtpmail-via-smtp): Handle nil response from smtp.
6825
f22f4808
JL
68262011-08-24 Juri Linkov <juri@jurta.org>
6827
6828 * proced.el (proced-marked): Inherit from `error' instead of
6829 `font-lock-warning-face'.
6830
6831 * ibuffer.el (ibuffer-marked-face): Change default face from
6832 `font-lock-warning-face' to `warning'.
6833 (ibuffer-deletion-face): Change default face from
6834 `font-lock-type-face' to `error'.
6835
6836 * battery.el (battery-update): Use the face `error' instead of
6837 `font-lock-warning-face' (bug#6117).
6838
6a93965e
JL
68392011-08-24 Juri Linkov <juri@jurta.org>
6840
6841 * faces.el (success): Change face color from "Green3" to
6842 "ForestGreen" on light background (bug#9353).
6843
1ed43b09
CY
68442011-08-24 Chong Yidong <cyd@stupidchicken.com>
6845
5664fa7b
RT
6846 * window.el (quit-window): Rename from quit-restore-window.
6847 Use same arglist as old quit-window.
1ed43b09
CY
6848 (frame-auto-delete): Doc fix.
6849
6850 * view.el (view-mode-exit): Use quit-window.
6851
11dcdbb2
JL
68522011-08-24 Juri Linkov <juri@jurta.org>
6853
6854 * isearch.el (isearch-ring-adjust1): Start visiting previous
6855 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6856 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6857 for empty search string (when the last search string is reused
6858 automatically) to adjust the isearch ring to the last element and
6859 prepare the correct index for further M-p commands (bug#9185).
6860
de62b4df
KH
68612011-08-24 Kenichi Handa <handa@m17n.org>
6862
6863 * international/ucs-normalize.el: If decomposition property of
6864 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6865 nil.
6866 (nfd, nfkd): Likewise.
6867
963b492b
SM
68682011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6871 from process filters aren't reliably transmitted to the surrounding
6872 accept-process-output.
6873 (mpc-proc-check): New function.
6874 (mpc-proc-sync): Use it (bug#8293)
6875
93b6b5e1
SM
68762011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6878 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6879 Add compatibility functions (bug#9313).
6880
bca633fb
EZ
68812011-08-23 Eli Zaretskii <eliz@gnu.org>
6882
b177498a
EZ
6883 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6884
6df6ae42 6885 * international/uni-bidi.el: Regenerate.
bca633fb 6886
0902a04e
KH
68872011-08-23 Kenichi Handa <handa@m17n.org>
6888
6889 * international/charprop.el:
6890 * international/uni-bidi.el:
6891 * international/uni-category.el:
6892 * international/uni-combining.el:
6893 * international/uni-comment.el:
6894 * international/uni-decimal.el:
6895 * international/uni-decomposition.el:
6896 * international/uni-digit.el:
6897 * international/uni-lowercase.el:
6898 * international/uni-mirrored.el:
6899 * international/uni-name.el:
6900 * international/uni-numeric.el:
6901 * international/uni-old-name.el:
6902 * international/uni-titlecase.el:
6903 * international/uni-uppercase.el: Regenerate.
6904
3bbf23bc
MR
69052011-08-23 Martin Rudalics <rudalics@gmx.at>
6906
6907 * help.el (help-window-setup): Fix message displayed when other
6908 window is reused. (Bug#9341)
6909
b3fd59bd
SM
69102011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6911
1802e444
SM
6912 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6913 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6914
b3fd59bd
SM
6915 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6916 Mark obsolete.
6917 * shell.el (shell-parse-pcomplete-arguments): New function.
6918 (shell-completion-vars): Use it instead (bug#9160).
6919
4eb61348
SM
69202011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6921
867cab74
SM
6922 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6923 strings and comments (bug#9333).
6924
4eb61348
SM
6925 * emacs-lisp/debug.el (debug-arglist): New function.
6926 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6927 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6928
262a1439
JL
69292011-08-22 Juri Linkov <juri@jurta.org>
6930
56ee679c
JL
6931 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6932 Revert regexp that highlights output switches to its old
6933 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6934
262a1439
JL
6935 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6936 to check for empty output (bug#9226).
6937
f13f86fb
CY
69382011-08-22 Chong Yidong <cyd@stupidchicken.com>
6939
6940 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6941 symbol-constituent as the default, as that stops font-lock from
6942 working properly (Bug#8843).
6943
c65c9622
LMI
69442011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6945
6946 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6947 `coding-system-for-*' around the process open call to avoid
6948 auth-source side effects.
e7f2c178 6949 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6950 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6951 probe hangs.
c65c9622 6952
23a8a5ab
CY
69532011-08-21 Chong Yidong <cyd@stupidchicken.com>
6954
ff98b2dd
CY
6955 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6956
23a8a5ab
CY
6957 * emacs-lisp/find-func.el (find-function-noselect): New arg
6958 lisp-only.
6959
6960 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6961 signal an error for built-in functions (Bug#6664).
6962
f5e3c598
LMI
69632011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964
6965 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6966 (smtpmail-try-auth-methods): Use it.
6967
a3f2468a
CY
69682011-08-21 Chong Yidong <cyd@stupidchicken.com>
6969
2c34e8da
CY
6970 * font-lock.el (font-lock-fontify-region)
6971 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6972 (font-lock-default-unfontify-buffer)
6973 (font-lock-default-fontify-region)
6974 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6975
b3fd59bd
SM
6976 * progmodes/compile.el (compilation-error-properties):
6977 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6978 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6979 `ant' regexp.
ee31aabc 6980
a3f2468a
CY
6981 * net/browse-url.el (browse-url-firefox): Don't call
6982 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6983
8e999f70
GM
69842011-08-20 Glenn Morris <rgm@gnu.org>
6985
c21a496a
GM
6986 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6987
59ee0542
GM
6988 * tutorial.el (tutorial--default-keys): Update some default bindings.
6989
8e999f70
GM
6990 * files.el (hack-local-variables): Fully ignore case for "mode:".
6991
e3715033
AM
69922011-08-20 Alan Mackenzie <acm@muc.de>
6993
6994 Resolve invalid use of a regexp in regexp-opt.
6995
4d61f28d
JB
6996 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6997 detection for a java annotation.
e3715033 6998
4d61f28d 6999 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7000 detection for a java annotation.
7001
4d61f28d
JB
7002 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7003 handling for java.
e3715033
AM
7004 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7005
04ed2e9c
CY
70062011-08-20 Chong Yidong <cyd@stupidchicken.com>
7007
7008 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7009 (Bug#9274).
7010
826cee64
AM
70112011-08-20 Alan Mackenzie <acm@muc.de>
7012
58179cce 7013 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7014 such a construct. Mainly for when jit-lock etc. starts a chunk
7015 here.
7016
58179cce 7017 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7018 variable.
58179cce 7019 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7020 c-make-font-lock-search-function.
7021 (c-make-font-lock-search-function): Use the above function.
7022 (c-make-font-lock-context-search-function): New function.
7023 (c-cpp-matchers): Enhance the preprocessor expression case with
7024 the above function
7025 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7026 which takes an expression.
7027
7028 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7029
13009bd8
MR
70302011-08-20 Martin Rudalics <rudalics@gmx.at>
7031
7032 * window.el (display-buffer-reuse-window)
7033 (display-buffer-pop-up-window): Don't reuse or split a side
7034 window.
7035
9234ff7f
GM
70362011-08-19 Glenn Morris <rgm@gnu.org>
7037
7038 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7039 Downcase "Mode:". (Bug#9331)
9234ff7f 7040
f635daa1
CY
70412011-08-18 Chong Yidong <cyd@stupidchicken.com>
7042
7043 * international/characters.el: Add L and R categories.
7044
7045 * subr.el (bidi-string-mark-left-to-right): Rename from
7046 string-mark-left-to-right. Use category search.
7047
7048 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7049
bc987f8b
JL
70502011-08-18 Juri Linkov <juri@jurta.org>
7051
7052 * faces.el (error, warning, success): New faces with definitions
7053 copied from old default values of `font-lock-warning-face',
7054 `compilation-warning', `compilation-info' (bug#6117).
7055
7056 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7057
7058 * progmodes/compile.el (compilation-error): Inherit from `error'.
7059 (compilation-warning): Inherit from `warning'.
7060 (compilation-info): Inherit from `success'.
7061
7062 * dired.el (dired-marked): Inherit from `warning'.
7063 (dired-flagged): Inherit from `error'.
7064
57173b96
LMI
70652011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7066
3e79eb87
LMI
7067 * mail/smtpmail.el (auth-source): Require to avoid problems with
7068 binding variables (bug#9298). Also clean up some unused
7069 autoloads.
7070
b3fd59bd
SM
7071 * net/network-stream.el (network-stream-open-starttls):
7072 Support using starttls.el without using gnutls-cli.
57173b96 7073
02b404de
JL
70742011-08-17 Juri Linkov <juri@jurta.org>
7075
7076 * progmodes/grep.el (rgrep): Handle the case when
7077 `grep-find-command' is a cons cell (bug#9278).
7078
8c9177f2
MR
70792011-08-17 Martin Rudalics <rudalics@gmx.at>
7080
7081 * window.el (display-buffer-pop-up-frame): Run frame creation
7082 function with BUFFER current (as special-display-popup-frame
7083 does). Reported by Drew Adams.
7084
3644a0ab
DU
70852011-08-17 Daiki Ueno <ueno@unixuser.org>
7086
7087 * epa-mail.el: Simplify GnuPG group expansion using
7088 epg-expand-group.
7089 (epa-mail-group-alist, epa-mail-group-modtime)
7090 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7091 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7092 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7093 Remove.
7094
5e617bc2 70952011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7096
7097 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7098
9c4aeabf
AM
70992011-08-16 Alan Mackenzie <acm@muc.de>
7100
7101 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7102 Correct, to avoid the inside of macros.
7103
3a99bf64
RS
71042011-08-16 Richard Stallman <rms@gnu.org>
7105
04963aa8
RS
7106 * epa-mail.el: Handle GnuPG group definitions.
7107 (epa-mail-group-alist, epa-mail-group-modtime)
7108 (epa-mail-gnupg-conf-file): New variables.
7109 (epa-mail-parse-groups, epa-mail-sync-groups)
7110 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7111 (epa-mail-expand-recipients): New functions.
7112 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7113
177549d0
RS
7114 * mail/rmail.el (rmail-epa-decrypt): New command.
7115
fe38beef
RS
7116 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7117 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7118 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7119 (epa-decrypt-armor-in-region): Make error message clearer.
7120
934eacb9
SM
71212011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7124 and "a2b" to "ab" for `prefix'.
7125
d024fb4e
CY
71262011-08-14 Chong Yidong <cyd@stupidchicken.com>
7127
7128 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7129 filter groups.
de148fee
CY
7130 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7131 Fourquet (Bug#8804).
d024fb4e 7132
62f1ca49
JB
71332011-08-12 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * startup.el (argi): Declare as global variable (bug#9275).
7136
9ccaaa4b
CY
71372011-08-12 Chong Yidong <cyd@stupidchicken.com>
7138
7139 * subr.el (string-mark-left-to-right): Search the entire string
7140 for RTL script, not just the terminating character. Doc fix.
7141
a3dae87a
SM
71422011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7143
6cd18349
SM
7144 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7145 New function.
7146 (js--regexp-literal, js-syntax-propertize-function): Remove.
7147 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7148 (js-mode-map): Don't rebind electric keys.
7149 (js-insert-and-indent): Remove.
7150 (js-mode): Setup electric-layout and electric-indent instead.
7151
a3dae87a
SM
7152 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7153
9d5cb631
DU
71542011-08-12 Daiki Ueno <ueno@unixuser.org>
7155
7156 * epa.el (epa-progress-callback-function): Fix the logic of
7157 displaying progress.
7158 * epa-file.el (epa-file-insert-file-contents): Make progress
7159 display more user-friendly.
7160 (epa-file-write-region): Ditto.
7161
3e26a4a2
CY
71622011-08-10 Chong Yidong <cyd@stupidchicken.com>
7163
7164 * subr.el (string-mark-left-to-right): New function.
7165
7166 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7167 Use string-mark-left-to-right.
7168 (list-buffers-noselect): Caller changed.
7169
a3dae87a
SM
7170 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7171 Use string-mark-left-to-right.
3e26a4a2
CY
7172 (tabulated-list-print): Recenter after moving point.
7173
ac8cf6e6
JL
71742011-08-10 Juri Linkov <juri@jurta.org>
7175
7176 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7177 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7178 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7179
8d96c9a4
CY
71802011-08-09 Chong Yidong <cyd@stupidchicken.com>
7181
7182 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7183 (Bug#7554).
7184
7be1c708 71852011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7186
7187 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7188 character. (Bug#6594)
7189
37e11a63
CY
71902011-08-08 Chong Yidong <cyd@stupidchicken.com>
7191
839dde57
CY
7192 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7193 (image-dired--with-db-file): New macro.
7194 (image-dired-write-tags, image-dired-remove-tag)
7195 (image-dired-create-gallery-lists, image-dired-write-comments)
7196 (image-dired-get-comment, image-dired-mark-tagged-files)
7197 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7198 (image-dired-gallery-generate): Use insert-file-contents.
7199
37e11a63
CY
7200 * time.el (display-time-world-list, display-time-world-display):
7201 * time-stamp.el (time-stamp-string):
7202 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7203 set-time-zone-rule (Bug#7337).
7204
0b4946c4
DU
72052011-08-08 Daiki Ueno <ueno@unixuser.org>
7206
7207 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7208 (epg-error-to-string, epg-errors-to-string): New function.
7209 (epg-wait-for-completion): Reverse errors list.
7210 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7211 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7212 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7213 (epg-sign-keys, epg-generate-key-from-file)
7214 (epg-generate-key-from-string): Format errors by using
7215 epg-errors-to-string (bug#9255).
7216 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7217
75bfc667
JL
72182011-08-07 Juri Linkov <juri@jurta.org>
7219
7220 * faces.el (list-faces-display): Remove extra angle bracket
7221 from `help-mode-map'.
7222
7223 * info.el (Info-history-toc-nodes): Doc fix.
7224
7225 * longlines.el (longlines-mode): Doc fix.
7226
673e08bb
SM
72272011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7228
4640dd88
SM
7229 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7230 of statements and in a few more cases (bug#9183).
7231
673e08bb
SM
7232 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7233 New functions.
7234 (cl-transform-lambda): Use them (bug#9239).
7235
89b3f019
MR
72362011-08-05 Martin Rudalics <rudalics@gmx.at>
7237
7238 * window.el (display-buffer-same-window)
7239 (display-buffer-same-frame, display-buffer-other-window)
7240 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7241 (pop-to-buffer-other-window)
7242 (pop-to-buffer-same-frame-other-window)
7243 (pop-to-buffer-other-frame): Make them defuns.
7244 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7245
640c8776
SM
72462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * subr.el (make-composed-keymap): Move from C. Change calling
7249 convention, and improve docstring to bring attention to a subtle point.
7250 * minibuffer.el (completing-read-default): Adjust accordingly.
7251
63648a95
MA
72522011-08-03 Michael Albinus <michael.albinus@gmx.de>
7253
7254 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7255 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7256
7257 * net/trampver.el: Update release number.
7258
b796c9b7
SM
72592011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7262 "in" (bug#9190).
7263
2239d7d5
LMI
72642011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7265
e07dd7c3
LMI
7266 * mail/sendmail.el (sendmail-query-once): Restore the current
7267 buffer after querying (bug#9074).
7268
0e6a2bd7
LMI
7269 * dired.el (dired-flagged): Use different faces for marked and
7270 flagged files (bug#6117).
7271
ce887515
LMI
7272 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7273 (bug#4433).
7274
92f2affc
LMI
7275 * ido.el (ido-mode): Switch off the message if called
7276 non-interactively.
7277
57d5aff0
LMI
7278 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7279 before 587, since it appears that that's more likely to work for
7280 more people.
7281
98cd6c18 7282 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7283 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7284 exist.
7285
b96dec83
LMI
7286 * info.el: Remove the `Info-beginning-of-buffer' function
7287 (bug#8325).
7288
b796c9b7
SM
7289 * net/network-stream.el (network-stream-open-starttls):
7290 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7291
d90e2ea0
MR
72922011-08-01 Martin Rudalics <rudalics@gmx.at>
7293
7294 * window.el (display-buffer-in-window): Don't set dedicated status
7295 of window here (Bug#9215).
7296 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7297 (display-buffer-pop-up-side-window)
b796c9b7 7298 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7299
cca09170
SM
73002011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7303 before binding generated-autoload-file.
7304
027b979c
DD
73052011-08-01 Deniz Dogan <deniz@dogan.se>
7306
7307 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7308
3c7ee4f3
MA
73092011-07-30 Michael Albinus <michael.albinus@gmx.de>
7310
7311 Sync with Tramp 2.2.2.
7312
7313 * net/trampver.el: Update release number.
7314
2cc8e51a
JL
73152011-07-30 Juri Linkov <juri@jurta.org>
7316
7317 * dired-aux.el (dired-touch-initial): Remove function.
7318 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7319 current time, and `default' to the last modification time of the
7320 current marked file (bug#6887).
7321
a514d856
JM
73222011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7323
7324 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7325 numeric argument to read-number (bug#9163).
a514d856 7326
8a7eddd7
MA
73272011-07-27 Michael Albinus <michael.albinus@gmx.de>
7328
7329 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7330 connection process, it could be nil.
7331
1ddd96f5
LL
73322011-07-27 Leo Liu <sdl.web@gmail.com>
7333
7334 Simplify url handling in rcirc-mode.
7335
7336 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7337 (rcirc-browse-url-at-mouse): Remove.
7338 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7339
b248a85d
AM
73402011-07-26 Alan Mackenzie <acm@muc.de>
7341
7342 Fontify bitfield declarations properly.
7343
7344 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7345 (c-symbol-chars): Now exported as a lang variable.
7346 (c-not-primitive-type-keywords): New lang variable.
7347
7348 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7349 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7350 parsed as a bitfield declaration.
b248a85d 7351
b796c9b7
SM
7352 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7353 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7354 (c-punctuation-in): New function.
7355 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7356 declarations properly.
7357
68575ab0
UJ
73582011-07-26 Ulf Jasper <ulf.jasper@web.de>
7359
7360 * calendar/icalendar.el (icalendar--all-events): Take care of
7361 multiple vcalendars in a single file.
b796c9b7 7362 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7363
0f0a88b9
DD
73642011-07-25 Deniz Dogan <deniz@dogan.se>
7365
7366 * image.el (insert-image): Clarifying docstring.
7367
0b3f36df
MA
73682011-07-24 Michael Albinus <michael.albinus@gmx.de>
7369
7370 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7371 `tramp-send-command-and-check' if there is no error.
7372 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7373
a9901f61
AM
73742011-07-22 Alan Mackenzie <acm@muc.de>
7375
7376 Prevent cc-langs.elc being loaded at run time.
7377
7378 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7379 cc-langs.
7380
4d61f28d 7381 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7382 "(require 'cc-langs)". Quote a form so it will evaluate at
7383 (cc-mode's) compilation time.
7384
11d074b2
MA
73852011-07-22 Michael Albinus <michael.albinus@gmx.de>
7386
7387 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7388 loading. (Bug#9114)
7389
938b94c8
MR
73902011-07-21 Martin Rudalics <rudalics@gmx.at>
7391
7392 * window.el (display-buffer-pop-up-window)
7393 (display-buffer-pop-up-side-window)
7394 (display-buffer-in-side-window): Call display-buffer-set-height
7395 and display-buffer-set-width after setting the new window's
b796c9b7 7396 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7397
bfa4f190
SS
73982011-07-20 Sam Steingold <sds@gnu.org>
7399
7400 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7401 (etags-tags-included-tables): Call `convert-standard-filename' on
7402 the file names contained in TAGS so that windows Emacs can handle
7403 TAGS files created by cygwin ctags.
7404
8ca42262
LMI
74052011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7406
7407 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7408 which apparently didn't work.
7409
5db2afd2 74102011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7411
5db2afd2
RW
7412 * proced.el (proced-send-signal): For *Marked Processes* buffer
7413 put point at beginning of buffer.
7414
92e15d10
SB
74152011-07-19 Stephen Berman <stephen.berman@gmx.net>
7416
7417 * proced.el (proced-format): Make header lines align with the text
7418 (bug#1779).
7419
1bfd59e5
LMI
74202011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7421
7422 * view.el (view-buffer): Allow running in `special' modes if we're
7423 visiting a file (bug#8615).
7424
f5aae37c
MR
74252011-07-19 Martin Rudalics <rudalics@gmx.at>
7426
7427 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7428 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7429 New functions.
f5aae37c
MR
7430 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7431 more accurately.
7432
bf2c1571
AM
74332011-07-18 Alan Mackenzie <acm@muc.de>
7434
7435 Fontify declarators properly when, e.g., a jit-lock chunk begins
7436 inside a declaration.
7437
7438 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7439
b796c9b7
SM
7440 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7441 New function.
bf2c1571
AM
7442 (c-complex-decl-matchers): Insert reference to
7443 c-font-lock-enclosing-decls.
7444
7445 * progmodes/cc-engine.el (c-backward-single-comment):
7446 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7447 to nil around calls to (forward-comment -1).
7448
4e190b80
LMI
74492011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7450
12dc863d
LMI
7451 * image.el (put-image): Doc typo fix.
7452
a762e966
LMI
7453 * progmodes/etags.el (tags-search): Doc typo fix.
7454
4e190b80
LMI
7455 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7456 password if we get errors 550 to 554.
7457
f019fb21
LMI
74582011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7459
b796c9b7 7460 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7461
81746738
LMI
7462 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7463 indentation character (bug#6380).
7464
3ee3a1b5
LMI
7465 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7466
c82f64de
LMI
7467 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7468 to clarify what the problem is (bug#4291).
7469
f019fb21
LMI
7470 * simple.el (current-kill): Clarify what
7471 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7472 (auto-fill-mode): Document `auto-fill-function' in relation to
7473 `auto-fill-mode' (bug#2470).
f019fb21 7474
0794775d
LM
74752011-07-16 Lawrence Mitchell <wence@gmx.li>
7476
7477 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7478 method if slot is read-only (bug#9035).
7479
be39b8cc
MR
74802011-07-16 Martin Rudalics <rudalics@gmx.at>
7481
b796c9b7 7482 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7483 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7484 selected before, see discussion of (Bug#8615), (Bug#6954).
7485 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7486
6ccf7859
GM
74872011-07-15 Glenn Morris <rgm@gnu.org>
7488
7489 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7490 Respect help-form.
6ccf7859 7491
87e86684
LM
74922011-07-09 Lawrence Mitchell <wence@gmx.li>
7493
7494 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7495 (gnutls-negotiate): Use it.
7496
d6066239
LMI
74972011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7498
b796c9b7
SM
7499 * net/gnutls.el (gnutls-negotiate):
7500 Upcase `gnutls-algorithm-priority'.
d6066239 7501
bd23ebc0
GM
75022011-07-15 Glenn Morris <rgm@gnu.org>
7503
c65bca65
GM
7504 * jka-compr.el (jka-compr-verbose): Move from here...
7505 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7506 Add missing :version tag.
7507 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7508
478615cc
LMI
75092011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7510
7b41decb
LMI
7511 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7512 (gnutls-negotiate): Use it.
7513
dbc44fcd
LMI
7514 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7515
06789f97
LMI
7516 * info.el (Info-beginning-of-buffer): New command.
7517 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7518 announcing `b' as the key (bug#8325).
ab896c37 7519 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7520
c39da690
LMI
7521 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7522
3aa5f34b
LMI
7523 * international/mule-cmds.el
7524 (describe-specified-language-support): Make the error message
7525 clearer (bug#8905).
7526
4bf0979f
LMI
7527 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7528
478615cc
LMI
7529 * isearch.el (isearch-barrier): Add a doc string, since it's
7530 mentioned in a function doc string (bug#8678).
7531
75c68aa1
MR
75322011-07-15 Martin Rudalics <rudalics@gmx.at>
7533
7534 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7535 buffer argument (Bug#9083) and self-identifying label argument.
7536
a7c33da2
GM
75372011-07-15 Glenn Morris <rgm@gnu.org>
7538
7539 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7540
2f5c6024
LMI
75412011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7542
7543 * man.el (Man-fontify-manpage): Fix message when formatting the
7544 man page (bug#7929).
7545
0bb23927 75462011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7547
7548 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7549 argument LRM; if non-nil, append an invisible LRM character to the
7550 buffer name.
7551 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7552 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7553 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7554 paragraph direction.
cce4b0a7 7555
621ef9ab
LMI
75562011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7557
d1583c48
LMI
7558 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7559 the man page name (bug#7929).
7560
6a57fb5f
LMI
7561 * image.el (put-image): Mention the `put-image' overlay property
7562 (bug#7834).
7563
d7956b14
LMI
7564 * scroll-bar.el (set-scroll-bar-mode): Mention that
7565 `scroll-bar-mode' lists the values (bug#7772).
7566
5b2d4a66
LMI
7567 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7568 command (bug#7729).
7569
7509a874
LMI
7570 * rect.el (apply-on-rectangle): Return the point after the last
7571 operation.
7572 (string-rectangle): Go to the point after the last operation
7573 (bug#7522).
7574
4fe74b19
LMI
7575 * printing.el (pr-toggle-region): Clarify the documentation
7576 slightly (bug#7493).
7577
b796c9b7
SM
7578 * time.el (display-time-update):
7579 Allow `display-time-mail-function' to return nil (bug#7158).
7580 Fix suggested by Detlev Zundel.
ab283561 7581
fc233c9d
LMI
7582 * vc/diff.el (diff): Clarify the order the file names are read
7583 (bug#7111).
7584
43f5740b
LMI
7585 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7586 the doc string (bug#7015).
7587
f2182a76
LMI
7588 * font-lock.el (font-lock-maximum-decoration): Mention what
7589 numeric levels mean (bug#6935).
7590
621ef9ab
LMI
7591 * startup.el (initial-buffer-choice): Don't mention the `none'
7592 selection, which is against policy.
7593
adc47434
MR
75942011-07-14 Martin Rudalics <rudalics@gmx.at>
7595
b796c9b7
SM
7596 * window.el (display-buffer-normalize-special):
7597 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7598
7e5bfb8f
EZ
75992011-07-14 Eli Zaretskii <eliz@gnu.org>
7600
7601 * subr.el (version<, version<=, version=): Mention "-CVS" and
7602 "-12345" alpha version numbers.
7603
27fa387a
CY
76042011-07-14 Chong Yidong <cyd@stupidchicken.com>
7605
7606 * bindings.el: Add advertised binding for set-mark-command
7607 (Bug#5772).
7608
8bdfa064
CY
76092011-07-14 Chong Yidong <cyd@stupidchicken.com>
7610
7611 * bindings.el (mode-line-other-buffer):
7612 * bookmark.el (bookmark-bmenu-2-window):
7613 * bs.el (bs-cycle-next, bs-cycle-previous):
7614 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7615 switch-to-buffer.
7616
7617 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7618 Delete.
8bdfa064 7619
5eba16a3
JB
76202011-07-14 Juanma Barranquero <lekktu@gmail.com>
7621
7622 * follow.el (follow-debug-message, follow-redisplay):
7623 * jka-cmpr-hook.el (with-auto-compression-mode):
7624 Fix typos in docstrings.
7625
15853710
LMI
76262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7627
a28e4607
LMI
7628 * subr.el (with-silent-modifications): Clarify somewhat what the
7629 macro inhibits (bug#6525).
7630
15853710
LMI
7631 * simple.el (eval-expression): Note what it does if called
7632 interactively (bug#6495).
7633
bee0fcef
CY
76342011-07-13 Chong Yidong <cyd@stupidchicken.com>
7635
b796c9b7
SM
7636 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7637 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7638
7639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7640 Remove switch-to-buffer.
7641
58274504
LMI
76422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7643
bd2fcc8d
LMI
7644 * files.el (make-directory): Clarify that an error will be raised
7645 if there's an error (bug#6397).
7646
0f04b32c
LMI
7647 * startup.el (initial-buffer-choice): Add `none' as a choice
7648 (bug#6234).
7649
465c5fc8
LMI
7650 * subr.el (add-hook): Clarify section about buffer-local hooks
7651 (bug#6218).
7652
58274504
LMI
7653 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7654
bead9a43
JB
76552011-07-13 Juanma Barranquero <lekktu@gmail.com>
7656
7657 * tabify.el (untabify): Preserve the current column so that point
7658 doesn't move (bug#6032).
7659
3af98a7b
LMI
76602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7661
b796c9b7
SM
7662 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7663 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7664
6240145a
GM
76652011-07-13 Glenn Morris <rgm@gnu.org>
7666
7667 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7668 (dired-insert-directory): Give a message the first time
7669 if ls is found not to support --dired.
7670
1d8c2ccc
LMI
76712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7672
7673 * simple.el (toggle-truncate-lines): Clarify what is toggled
7674 (bug#5580). Text by Drew Adams.
7675
5fc4038e
CY
76762011-07-13 Chong Yidong <cyd@stupidchicken.com>
7677
7678 * simple.el (blink-matching-open): Make the error message from the
7679 last change less verbose.
7680
bf6012e5
DN
76812011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7682
7683 * font-lock.el (font-lock-comment-face): Use the high contrast
7684 "yellow" color for font-lock-comment-face on low color terminals
7685 using a dark background color (bug#4221).
7686
343c3b5a
LMI
76872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7688
7e9505c5
LMI
7689 * dired.el (dired-insert-set-properties): Make the doc string
7690 reflect what it does now (bug#5325).
7691
c26fdcf5
LMI
7692 * simple.el (blink-matching-open): Say that we were unable to find
7693 the match within the limit, if we're limited (bug#5122).
7694
bb388cc5
LMI
7695 * international/mule-cmds.el (prefer-coding-system): Add an
7696 example (bug#4869).
7697
343c3b5a
LMI
7698 * progmodes/etags.el (tags-search): Document `file-list-form'
7699 (bug#4731).
7700
2a517d45
LM
77012011-07-13 Lawrence Mitchell <wence@gmx.li>
7702
7703 * net/browse-url.el (browse-url-default-browser)
7704 (browse-url-browser-function): Make the default browser choice a
7705 bit more logical (bug#4300). Also clean up the doc string.
7706
b6c78ef2
JB
77072011-07-13 Juanma Barranquero <lekktu@gmail.com>
7708
7709 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7710 binary endings (bug#4440).
7711
1c4dd947
LMI
77122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7713
a2014063
LMI
7714 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7715 which can be pretty annoying (bug#8971).
7716
9c9c2d88
LMI
7717 * jka-compr.el (jka-compr-verbose): New variable, and use
7718 throughout (bug#8971).
7719
1c4dd947
LMI
7720 * info.el (Info-find-file): Fall back on the installation
7721 directory if we can't find the info node anywhere else.
7722
a1c9f41b
SO
77232011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7724
7725 * vc/vc.el (vc-revert-file):
7726 Don't set file time-stamp in the past. (Bug#5181)
7727
536f3d36
LMI
77282011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7729
7152b011
LMI
7730 * files.el (after-find-file): Give a better error message when
7731 trying to find a symlink that points to a file that doesn't exist
7732 (bug#4398).
7733
536f3d36
LMI
7734 * progmodes/cc-vars.el: Remove (probably) misleading comment
7735 (bug#4396).
7736
460c0fba
JB
77372011-07-12 Johan Bockgård <bojohan@gnu.org>
7738
7739 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7740
7a6bda45
CY
77412011-07-12 Chong Yidong <cyd@stupidchicken.com>
7742
7743 * mouse-sel.el: Hack restoring functionality, while keeping
7744 compatibility with 2010-07-03 changes to mouse selection.
7745 (mouse-sel-primary-overlay): New var.
7746 (mouse-sel-selection-alist): Use it.
7747 (mouse-sel-mode): Doc fix; remove points that are default features
7748 of mouse.el.
7749
c79598ef
JB
77502011-07-12 Johan Bockgård <bojohan@gnu.org>
7751
7752 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7753 Fix previous fix (bug#2490).
7754
ff8be6ef
RW
77552011-07-12 Roland Winkler <winkler@gnu.org>
7756
b796c9b7
SM
7757 * textmodes/bibtex.el (bibtex-initialize):
7758 Use pop-to-buffer-same-window.
ff8be6ef
RW
7759 (bibtex-search-entries): Fix interactive call.
7760
296ba3ee
LMI
77612011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7762
f5242a02 7763 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7764 Fontise bytecomp Error lines more correctly (bug#2490).
7765 Fix suggested by Johan Bockgård.
f5242a02 7766
296ba3ee
LMI
7767 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7768
7769 * dired-x.el (dired-guess-default): Use `delete-dups'.
7770
f69fd0d2
CY
77712011-07-12 Chong Yidong <cyd@stupidchicken.com>
7772
7773 * dired.el (dired-mark-prompt):
7774 * dired-aux.el (dired-read-shell-command): Doc fix.
7775
eab5dc07
LMI
77762011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7777
b796c9b7
SM
7778 * mail/sendmail.el (sendmail-query-once):
7779 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7780 emacs -Q.
7781
7782 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7783
eab5dc07
LMI
7784 * cus-edit.el (custom-file): Take an optional no-error variable.
7785 (customize-save-variable): Set the variable, and give a warning if
7786 running under "emacs -q".
7787
a1e65d42
JB
77882011-07-11 Juanma Barranquero <lekktu@gmail.com>
7789
7790 * loadhist.el (unload-feature-special-hooks):
7791 Add `auto-coding-functions', `fill-nobreak-predicate' and
7792 `find-directory-functions' (bug#5327).
7793
1d52da10
LMI
77942011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7795
be958f1d
LMI
7796 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7797
5bedb26c
LMI
7798 * cus-edit.el (custom-guess-name-alist): -alist variables should
7799 use the `alist' type (bug#3120). Suggested by Drew Adams.
7800
1d52da10
LMI
7801 * printing.el: Add documentation to all the `pr-toggle-' commands.
7802
cd394be1 78032011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7804
7805 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7806 backends where it makes sense (bug#2623).
7807
dcc88d8a
LMI
78082011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7809
c3de9feb
LMI
7810 * dired-x.el (dired-guess-default): Remove duplicate shell command
7811 entries (bug#2028).
8a93078b 7812 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7813 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7814
dcc88d8a
LMI
7815 * subr.el (remove-duplicates): New conveniency function.
7816
505e3645
LMI
78172011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
7819 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7820 (bug#1526).
7821
78222011-07-10 Martin Rudalics <rudalics@gmx.at>
7823
7824 * window.el (display-buffer-normalize-default): Don't invert
7825 meaning of even-window-heights. Reported by Eli Zaretskii
7826 <eliz@gnu.org>.
7827
455e4fa1
BR
78282011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7829
7830 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7831
8e0bc3e9
CY
78322011-07-10 Chong Yidong <cyd@stupidchicken.com>
7833
7834 * window.el (display-buffer): Fix arguments to
7835 display-buffer-reuse-window in last change.
7836
fa7c3228
CY
7837 * faces.el (link): Use a less saturated blue on light backgrounds.
7838
7839 * startup.el (fancy-startup-text, fancy-about-text)
7840 (fancy-startup-tail): Use font-lock faces, for background safety.
7841
c0a7f300
BN
78422011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7843
b796c9b7
SM
7844 * emulation/viper-cmd.el (viper-change-state-to-vi):
7845 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7846
4dc2a129
MR
78472011-07-09 Martin Rudalics <rudalics@gmx.at>
7848
7849 * window.el (display-buffer-default-specifiers): Remove.
7850 (display-buffer-macro-specifiers): Remove default specifiers.
7851 (display-buffer-alist): Default to nil.
b796c9b7 7852 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7853 (display-buffer-pop-up-window): Allow splitting internal
7854 windows. Check whether a live window was created.
7855 (display-buffer-other-window-means-other-frame)
7856 (display-buffer-normalize-arguments): Rename to
7857 display-buffer-normalize-argument and rewrite. Set the
7858 other-window specifier.
7859 (display-buffer-normalize-special): New function.
7860 (display-buffer-normalize-options): Rename to
7861 display-buffer-normalize-default and rewrite.
7862 (display-buffer-normalize-options-inhibit): Remove.
7863 (display-buffer-normalize-specifiers): Rewrite.
7864 (display-buffer): Process other-window specifier and call
7865 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7866 more faithfully.
b796c9b7 7867 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7868 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7869 (display-buffer-in-window, display-buffer-alist-set):
7870 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7871 <tassilo@member.fsf.org>.
7872
2d43b8c9
LL
78732011-07-09 Leo Liu <sdl.web@gmail.com>
7874
7875 * register.el (insert-register): Restore accidental change on
7876 2011-06-26. (Bug#9028)
7877
7f9b7c53
GM
78782011-07-09 Glenn Morris <rgm@gnu.org>
7879
7880 * subr.el (remq): Handle the empty list. (Bug#9024)
7881
f042cfd8
AS
78822011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7883
7884 * mail/sendmail.el (send-mail-function): No longer delay custom
7885 initialization.
7886 * custom.el (custom-initialize-delay): Doc fix.
7887
856b2f11
SM
78882011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7891
afae1d68
MA
78922011-07-08 Michael Albinus <michael.albinus@gmx.de>
7893
7894 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7895 human-friendly prompt.
7896
0757af94
SM
78972011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7898
7899 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7900 provided by a particular plugin.
7901
d760b731
LMI
79022011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7903
7904 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7905 save customizations (with "emacs -Q"), just set the variable
7906 instead of erroring out.
7907
7908 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7909
cd79ce90
JL
79102011-07-08 Juri Linkov <juri@jurta.org>
7911
7912 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7913 (archive-zip-update-case): Use 7z if found by `executable-find'.
7914 The order of searching the available programs is the same as in
7915 `archive-zip-extract' (bug#8968).
7916
14cc04aa
CY
79172011-07-07 Chong Yidong <cyd@stupidchicken.com>
7918
7919 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7920 (menu-bar-options-menu): Tweak descriptions.
7921
0a1848ec
LMI
79222011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7923
7924 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7925 menu items into verb phrases (bug#1421). Also refill to fit under
7926 80 columns.
7927
f5bd0689
CY
79282011-07-07 Chong Yidong <cyd@stupidchicken.com>
7929
538e85c6
CY
7930 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7931 (Info-read-node-name): Doc fix (Bug#1084).
7932
f5bd0689
CY
7933 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7934 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7935 (end-of-sexp, beginning-of-sexp)
7936 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7937 (forward-symbol, forward-same-syntax, word-at-point)
7938 (sentence-at-point): Doc fix (Bug#1144).
7939
56ec5115
LMI
79402011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7941
f3f8e37f
LMI
7942 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7943 should cover it (bug#1281).
7944
0757af94 7945 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7946
e9fce1ac 7947 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7948 negotiation fails, then possibly try again with a non-encrypted
7949 connection (bug#9017).
7950
56ec5115
LMI
7951 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7952 be used.
7953
c2f9aec8
RS
79542011-07-07 Richard Stallman <rms@gnu.org>
7955
7956 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7957 property, and handle its changed format.
7958 Look for the correct line number.
7959 Use file's line contents (but not past first =) to find
7960 correct line in message.
7961
ef7b981d 79622011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7963
7964 * international/characters.el (build-unicode-category-table):
7965 Delete it.
0757af94 7966 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7967
0757af94 7968 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7969 to src/chartab.c.
7970 (get-char-code-property): Call unicode-property-table-internal to
7971 load a file. Call get-unicode-property-internal where necessary.
7972 (put-char-code-property): Call unicode-property-table-internal to
7973 load a file. Call put-unicode-property-internal where necessary.
7974 put-unicode-property-internal where necessary.
0757af94
SM
7975 (char-code-property-description):
7976 Call unicode-property-table-internal to load a file.
c805dec0
KH
7977
7978 * international/charprop.el:
7979 * international/uni-bidi.el:
7980 * international/uni-category.el:
7981 * international/uni-combining.el:
7982 * international/uni-comment.el:
7983 * international/uni-decimal.el:
7984 * international/uni-decomposition.el:
7985 * international/uni-digit.el:
7986 * international/uni-lowercase.el:
7987 * international/uni-mirrored.el:
7988 * international/uni-name.el:
7989 * international/uni-numeric.el:
7990 * international/uni-old-name.el:
7991 * international/uni-titlecase.el:
7992 * international/uni-uppercase.el: Regenerate.
7993
7994 * loadup.el: Load international/charprop.el before
7995 international/characters.
7996
e14b388a
CY
79972011-07-07 Chong Yidong <cyd@stupidchicken.com>
7998
7999 * window.el (next-buffer, previous-buffer): Signal an error if
8000 called from a minibuffer window.
8001
8002 * bindings.el: Revert 2011-07-04 change.
8003
354cf0ba
RS
80042011-07-06 Richard Stallman <rms@gnu.org>
8005
8006 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8007 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8008 Treat markers like ints.
8009 (rmail-mime-entity): Doc fix.
8010
a48868a7
LMI
80112011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8012
4906cd3d
LMI
8013 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8014 defcustom again for backwards compatibility.
8015
e0457abe
LMI
8016 * simple.el (shell-command-on-region): Fill.
8017
d67f7e1f
LMI
8018 * dired-aux.el (dired-kill-line): Add a doc string.
8019
fe204702
LMI
8020 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8021 to "\\sw\\|\\s_" (bug#358).
8022
a48868a7
LMI
8023 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8024 (dired-unmark-backward): Ditto.
8025 (dired-flag-backup-files): Ditto.
8026
8027 * dired-x.el (dired-mark-sexp): Ditto.
8028
aa8a705c
RS
80292011-07-06 Richard Stallman <rms@gnu.org>
8030
8031 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8032 (rmail-mime-entity): New arg TRUNCATED.
8033 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8034 New functions.
8035 (rmail-mime-save): Warn if entity is truncated.
8036 (rmail-mime-toggle-hidden): Likewise, for showing.
8037 (rmail-mime-process-multipart): Record when an entity is truncated.
8038
a9a936b9
RS
8039 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8040 if ENTITY is a string.
8041
1f2b92cb
LMI
80422011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8043
f4f73198 8044 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8045 of faces when `M-C-x'-ing their definitions (bug#8378).
8046 Also clean up the code slightly.
f4f73198 8047
12b16734 8048 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8049 because that makes the colors go away.
12b16734 8050
f0691d22
LMI
8051 * mail/sendmail.el (send-mail-function): Change the default to
8052 `sendmail-query-once'.
9e87df06 8053 (sendmail-query-once): Add an autoload cookie.
f0691d22 8054
1f2b92cb
LMI
8055 * net/network-stream.el (network-stream-open-starttls): Try using
8056 a plain connection even if the server offered STARTTLS, and we
8057 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8058 capability. This should make smtpmail.el work in slightly more
8059 configurations.
8060
1cdd2a1b
MA
80612011-07-06 Michael Albinus <michael.albinus@gmx.de>
8062
8063 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8064 New defun.
8065 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8066
fbcc67e2
MM
80672011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8068
8069 * progmodes/sql.el: Version 3.0
0757af94 8070 (sql-product-alist): Add product :completion-object,
fbcc67e2 8071 :completion-column, and :statement attributes.
0757af94 8072 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8073 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8074 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8075 ansi keywords.
8076 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8077 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8078 (sql-oracle-show-reserved-words): New function for development.
8079 (sql-product-font-lock): Simplify for source code buffers.
8080 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8081 New functions.
8082 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8083 (sql-mode-map): Add statement movement functions.
8084 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8085 New variable.
fbcc67e2
MM
8086 (sql-statement-regexp, sql-beginning-of-statement)
8087 (sql-end-of-statement, sql-signum): New functions.
0757af94 8088 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8089 (sql-show-sqli-buffer): Bug fix.
8090 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8091 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8092 with sql-interactive-mode.
8093 (sql-save-connection): Save buffer local settings.
0757af94 8094 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8095 (sql-product-interactive): Bug fix.
8096 (sql-preoutput-hold): New variable.
8097 (sql-interactive-remove-continuation-prompt): Bug fixes.
8098 (sql-debug-redirect): New variable.
8099 (sql-str-literal): New function.
8100 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8101 Redesign.
fbcc67e2
MM
8102 (sql-oracle-save-settings, sql-oracle-restore-settings)
8103 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8104 (sql-completion-object, sql-completion-column)
8105 (sql-completion-sqlbuf): New variables.
8106 (sql-build-completions-1, sql-build-completions)
8107 (sql-try-completion): New functions.
8108 (sql-read-table-name): Use them.
8109 (sql-contains-names): New buffer local variable.
8110 (sql-list-all, sql-list-table): Use it.
8111 (sql-oracle-completion-types): New variable.
8112 (sql-oracle-completion-object, sql-sqlite-completion-object)
8113 (sql-postgres-completion-object): New functions.
8114
d4eaeab1
GM
81152011-07-06 Glenn Morris <rgm@gnu.org>
8116
8117 * window.el (pop-to-buffer): Doc fix.
8118
322b7dab 81192011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8120
8121 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8122
322b7dab 81232011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8124
322b7dab 8125 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8126
322b7dab 8127 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8128
605dd5bf
CY
81292011-07-05 Chong Yidong <cyd@stupidchicken.com>
8130
8131 * button.el (button): Inherit from link face. Suggested by Dan
8132 Nicolaescu.
8133
7dbfa719
SM
81342011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8135
3db614b0
SM
8136 * progmodes/gdb-mi.el: Fit in 80 columns.
8137 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8138 switch-to-buffer.
8139
7dbfa719
SM
8140 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8141 if imenu is simply not configured (bug#8941).
8142
919d884a
KM
81432011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8144
8145 * allout.el (allout-post-undo-hook): New allout outline-change
8146 event hook to signal undo activity.
8147 (allout-post-command-business): Run allout-post-undo-hook if an
8148 undo just occurred.
7dbfa719
SM
8149 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8150 * allout-widgets.el (allout-widgets-after-undo-function):
8151 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8152 in the vicinity of an undo.
8153 (allout-widgets-mode): Include allout-widgets-after-undo-function
8154 on the new allout-post-undo-hook.
8155
450a0f09
SM
81562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8159 Let define-derived-mode define it.
8160 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8161 cycles of abbrev-table inheritance (bug#8998).
8162
2de69e00
RW
81632011-07-05 Roland Winkler <winkler@gnu.org>
8164
8165 * textmodes/bibtex.el: Add support for biblatex.
8166 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8167 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8168 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8169 (bibtex-entry-alist, bibtex-field-alist): New variables.
8170 (bibtex-entry-field-alist): Obsolete alias for
8171 bibtex-BibTeX-entry-alist.
8172 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8173 (bibtex-set-dialect): New command.
8174 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8175 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8176 Bind via bibtex-set-dialect.
2de69e00
RW
8177 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8178 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8179 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8180 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8181 Define via bibtex-set-dialect.
450a0f09
SM
8182 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8183 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8184 (bibtex-vec-push, bibtex-vec-incr): New functions.
8185 (bibtex-format-entry, bibtex-field-list)
8186 (bibtex-print-help-message, bibtex-validate)
8187 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8188
2dcdbdd9
SM
81892011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * progmodes/compile.el (compilation-goto-locus):
8192 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8193 * bs.el (bs-cycle-next, bs-cycle-previous):
8194 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8195 * bindings.el (mode-line-other-buffer):
8196 * autoinsert.el (auto-insert):
8197 * arc-mode.el (archive-extract):
8198 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8199
b27640fe
JB
82002011-07-05 Juanma Barranquero <lekktu@gmail.com>
8201
8202 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8203 Fix check of `emacs-lock-unlockable-modes'.
8204 Coerce true values of `emacs-lock--try-unlocking' to t.
8205
53bbe3ad
JB
82062011-07-05 Juanma Barranquero <lekktu@gmail.com>
8207
8208 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8209 * emacs-lock.el: New file.
8210
1d3cdbc7
JD
82112011-07-05 Julien Danjou <julien@danjou.info>
8212
8213 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8214 than `boundp' to check if face is set.
8215
9173deec
JB
82162011-07-05 Juanma Barranquero <lekktu@gmail.com>
8217
8218 * register.el (registerv-make):
8219 * window.el (window-min-height): Fix typos in docstrings.
8220
869795d6
JD
82212011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8222
9173deec 8223 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8224 Update doc string.
8225
b768cdcd
JB
82262011-07-04 Juanma Barranquero <lekktu@gmail.com>
8227
8228 * server.el (server-execute): Catch quit and call
8229 `server-return-error' to pass the error back to emacsclient and
8230 close the connection (bug#8942).
8231
13aa217b
KM
82322011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8233
8234 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8235 insecure exception for current topic. Also note that auto-saves
8236 are handled differently.
8237
8238 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8239 State variables for tracking auto-save inhibition situation.
8240
8241 (allout-write-contents-hook-handler): Rename from
8242 'allout-write-file-hook-handler', and describe how it depends on
8243 write-contents-functions sensitivity to non-nil value to prevent
8244 file write.
8245
8246 (allout-auto-save-hook-handler): Remove. auto-save does not check
8247 this in individual buffers, only in the starting buffer, so this
8248 is not the right way for us to inhibit auto-save in a buffer
8249 according to its condition.
8250
8251 (allout-mode): Use new allout-write-contents-hook-handler, and
8252 only with write-contents-functions. Remove auto-save provisions -
8253 they're implemented elsewhere.
8254
8255 (allout-before-change-handler): If undo is in progress, note that
8256 for attention of allout-post-command-business.
8257
8258 (allout-post-command-business): If the command we're following was
8259 an undo, check for change in the status of encrypted items and
8260 adjust auto-save inhibitions accordingly.
8261
8262 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8263 according to whether there are or aren't any plain-text topics
8264 pending encryption.
8265
2dcdbdd9 8266 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8267 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8268 if there are plain-text topics pending encryption.
13aa217b
KM
8269
8270 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8271 buffer-saved-size and some allout state to not inhibit auto-saves
8272 if there are no longer any plain-text topics pending encryption.
8273
0757af94
SM
8274 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8275 No longer provide for exemption of the current topic.
13aa217b 8276
ac89b32c
JL
82772011-07-04 Juri Linkov <juri@jurta.org>
8278
8279 Add 7z operations to delete and save changed members (bug#8968).
8280 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8281 New defcustoms.
8282 (archive-7z-write-file-member): New function.
8283 (archive-7z-summarize): Fix the number of dashes in the
8284 listing output.
8285
8fa39615
SM
82862011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8289 (bug#8958).
8290
2f11b3f1
CY
82912011-07-04 Chong Yidong <cyd@stupidchicken.com>
8292
d66fef2b
CY
8293 * bindings.el: Ignore next-buffer and previous-buffer in
8294 minibuffer-local-map.
8295
2f11b3f1
CY
8296 * font-lock.el (font-lock-builtin-face): Change light background
8297 color to dark slate blue (Bug#6693).
8298
f932a347
WD
82992011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8300
8301 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8302
c8af70e1
SM
83032011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8306 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8307 Add switch-to-buffer.
8308
f158badc
LMI
83092011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8310
8311 * isearch.el (isearch-search-fun-function): Clarify further the
8312 meaning of the function returned.
8313
6d95bd46
MA
83142011-07-04 Michael Albinus <michael.albinus@gmx.de>
8315
8316 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8317
8318 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8319 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8320 Use it.
8321 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8322 `tramp-default-remote-path' does not exist.
8323 (tramp-send-command-and-read): New optional argument NOERROR.
8324 (tramp-open-connection-setup-interactive-shell)
8325 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8326 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8327 (tramp-process-sentinel): Flush also process' connection property.
8328 (tramp-sh-handle-start-file-process): Do not set process
8329 sentinel. It is done now ...
8330 (tramp-maybe-open-connection): ... here. (Bug#8929)
8331
909e6b67
MK
83322011-07-04 MON KEY <monkey@sandpframing.com>
8333
8334 * play/animate.el (animate-string): Doc fixes and allow changing
8335 the buffer name (bug#5417).
8336
83372011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8338
c8af70e1 8339 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8340
f34755dc
PE
83412011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8342
396cec72
PE
8343 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8344 This is simpler and helps future-proof the code.
8345 (timer-until): Use time-subtract and float-time.
08235028 8346 (timer--time-less-p): Use time-less-p.
f34755dc 8347
56e6cc31
JB
83482011-07-04 Juanma Barranquero <lekktu@gmail.com>
8349
3abb79e5
JB
8350 * type-break.el (timep): Use the value of `float-time' to avoid a
8351 byte-compiler warning.
8352
56e6cc31
JB
8353 * server.el (server-eval-and-print): Return any result, even nil.
8354
7b9430b4
PE
83552011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8356
8357 * type-break.el: Accept time formats that the builtins accept.
8358 (timep, type-break-time-difference): Accept any format that
8359 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8360 This is simpler and helps future-proof the code.
8361 (type-break-time-difference): Round rather than ignoring
8362 subseconds components.
8363
3034e9e7
LMI
83642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8365
8366 * info.el (Info-apropos-matches): Make non-interactive, since it
8367 doesn't seem to do anything useful as a command (bug#8829).
8368
1485f4c0
CY
83692011-07-03 Chong Yidong <cyd@stupidchicken.com>
8370
8371 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8372 Move from faces.el.
1485f4c0
CY
8373 (frame-default-terminal-background): New function.
8374
8375 * custom.el (custom-push-theme): Don't record faces in `changed'
8376 theme; this doesn't work correctly for per-frame face settings.
8377 (disable-theme): Use face-set-after-frame-default to reset faces.
8378 (custom--frame-color-default): New function.
8379
9fa3dd45
LMI
83802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8381
c8af70e1 8382 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8383 (bug#8769).
8384
6cbbc20c
KR
83852011-03-29 Kevin Ryde <user42@zip.com.au>
8386
8387 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8388 `perl-Test2' extend to match possible "fail #N" rep count
8389 (bug#8377).
8390
c7f98048
LMI
83912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8392
65676592
LMI
8393 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8394 `smtpmail-via-smtp' now returns the error instead of nil.
8395
c7f98048
LMI
8396 * isearch.el (isearch-search-fun-function): Clarify the doc string
8397 (bug#8101).
8398
56e6cc31 83992011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8400
8401 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8402 unnecessary spaces (bug#8987).
8403
2b216704
LMI
84042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8405
8406 * net/network-stream.el (open-network-stream): Use the
8407 :end-of-capability command thoughout.
8408
84092011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8410
8411 * net/network-stream.el (open-network-stream): Add the
8412 :end-of-capability command parameter, used by pop3.el.
8413
36adf6ce
LMI
84142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8415
1ca0da0e
LMI
8416 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8417
fc00f69c
LMI
8418 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8419 for list)" (bug#6475).
8420
28fd8759 8421 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8422 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8423 an error (bug#6297).
8424
0dd8b6da
LMI
8425 * man.el (Man-reference-regexp): Allow matching possible
8426 word-wrapped references (bug#6289).
8427
ce1438d6
LMI
8428 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8429 for consistency with the other vc buffers (bug#6197).
8430 (vc-checkin): Ditto.
8431
8432 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8433
36adf6ce
LMI
8434 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8435
e83cc1f7
LMI
84362011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8437
8a20ca4c
LMI
8438 * custom.el (defcustom): Clarify that :set is only used in the
8439 Customize user interface (bug#6089).
8440
83319045
LMI
8441 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8442 associated with a file, refuse to run instead of erroring out
8443 (bug#6084).
8444
a8392169
LMI
8445 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8446 the doc string, since it appears that using `fill-column' always
8447 controls the width (bug#7845).
8448
e83cc1f7
LMI
8449 * simple.el (shell-command-on-region): Say where the error output
8450 went if `shell-command-default-error-buffer' is set (bug#6857).
8451
e47ca23b
KM
84522011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8453
8454 * allout.el (allout-yank-processing): Adjust cursor position for
8455 backwards-deleted space.
8456
8457 (allout-rebullet-heading): Register changes with
8458 allout-exposure-changed-hook, so the modified topic is properly
8459 decorated.
8460
5cf56143
LMI
84612011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8462
08549772
LMI
8463 * minibuffer.el (completion-in-region): Document PREDICATE
8464 (bug#7136).
8465
48e96771
LMI
8466 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8467 of keyword/argument pairs (bug#6904).
8468
c8af70e1
SM
8469 * replace.el (multi-occur):
8470 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8471
e17d05e2
LMI
84722011-07-02 Drew Adams <drew.adams@oracle.com>
8473
8474 * dired.el (dired-mark-if): Make the message about whether it's
8475 marking or unmarking clearer (bug#8523).
8476
063b0e45
LMI
84772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8478
8479 * disp-table.el (display-table-print-array): New function.
8480 (describe-display-table): Use it to print the vectors more pretty
8481 (Bug#8859).
8482
28545e04
MR
84832011-07-02 Martin Rudalics <rudalics@gmx.at>
8484
8485 * window.el (window-state-get-1): Don't assign clone numbers.
8486 Add clone-of item to list of window parameters.
8487 (window-state-put-2): Don't process clone numbers.
8488 (display-buffer-alist): Fix doc-string.
8489
3349e122
SM
84902011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * subr.el (remq): Don't allocate if it's not needed.
8493 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8494 (keymap--merge-bindings): New functions.
8495 (keymap-canonicalize): Use them to refine the canonicalization.
8496 * minibuffer.el (minibuffer-local-completion-map)
8497 (minibuffer-local-must-match-map): Move initialization from C.
8498 (minibuffer-local-filename-completion-map): Move initialization from C;
8499 don't inherit from anything here.
8500 (minibuffer-local-filename-must-match-map): Make obsolete.
8501 (completing-read-default): Use make-composed-keymap to combine
8502 minibuffer-local-filename-completion-map with either
8503 minibuffer-local-must-match-map or
8504 minibuffer-local-filename-completion-map.
8505
d224ac83
GM
85062011-07-01 Glenn Morris <rgm@gnu.org>
8507
3de63bf8
GM
8508 * type-break.el (type-break-time-sum): Use dolist.
8509
d224ac83
GM
8510 * textmodes/flyspell.el (flyspell-word-search-backward):
8511 Replace CL function.
8512
1a1e3f32
SM
85132011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8514
fe3f64d5
SM
8515 * mouse.el (mouse--strip-first-event): New function.
8516 (function-key-map): Use it to map fringe clicks to normal clicks
8517 by default.
8518
eb604e34
SM
8519 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8520 (vc-bzr-revision-completion-table): Add support for annotate and date.
8521
1a1e3f32
SM
8522 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8523 inherit from parent.
8524
5bd35902
LMI
85252011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8526
ace6c69c 8527 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8528 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8529
191e2bed
LMI
8530 * dired.el (dired-mode): Fix up the doc string as suggested by
8531 Drew Adams (bug#8817).
8532
5bd35902
LMI
8533 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8534 cookie, since the manual says that it should be possible to add
8535 this function to `find-file-hook' (bug#8709).
8536
eee8207a
TZ
85372011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8538
8539 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8540 here. Noted Ted Zlatanov as the maintainer.
8541 (cfengine-common-settings, cfengine-common-syntax): New functions
8542 to set up common things between `cfengine-mode' and
8543 `cfengine3-mode'.
8544 (cfengine3-mode): New mode.
8545 (cfengine3-defuns cfengine3-defuns-regex
8546 (cfengine3-class-selector-regex cfengine3-category-regex)
8547 (cfengine3-vartypes cfengine3-font-lock-keywords)
8548 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8549 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8550
36b148cf
MA
85512011-07-01 Michael Albinus <michael.albinus@gmx.de>
8552
8553 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8554
8555 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8556
0bf4ba9a
MR
85572011-07-01 Martin Rudalics <rudalics@gmx.at>
8558
8559 * window.el (same-window-buffer-names, same-window-regexps)
8560 (same-window-p, special-display-frame-alist)
8561 (special-display-popup-frame, special-display-function)
8562 (special-display-buffer-names, special-display-regexps)
8563 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8564 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8565 (split-window-preferred-function, split-height-threshold)
8566 (split-width-threshold, even-window-heights)
8567 (display-buffer-mark-dedicated, window-splittable-p)
8568 (split-window-sensibly, window-safely-shrinkable-p):
8569 Un-obsolete.
8570 (display-buffer): Don't spread args with function specifier
8571 because special-display-popup-frame won't like it.
8572
35837f51
PE
85732011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8574
d0672f86
PE
8575 Time-stamp simplifications and fixes.
8576 These improve accuracy slightly, and future-proof the code
8577 against some potential changes to current-time format.
8578
b9444d97
PE
8579 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8580 by using time-since and float-time.
8581
0ef923dc
PE
8582 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8583 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8584 + NNN microseconds".
8585
2f81380d
PE
8586 * type-break.el (type-break-time-sum): Rewrite using time-add.
8587
845b5c3e
PE
8588 * play/hanoi.el (hanoi-current-time-float): Remove.
8589 All uses replaced by float-time.
8590
ee6f1be0
PE
8591 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8592 This yields a more-accurate answer.
8593 (rng-time-to-float): Remove; no longer needed.
8594
fe955043
PE
8595 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8596
5777162a
PE
8597 * calendar/timeclock.el (timeclock-seconds-to-time):
8598 Defalias to seconds-to-time, since they're the same thing.
8599
3103f8b6 8600 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8601 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8602 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8603
0e61a35f
SM
86042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * window.el (bury-buffer): Don't iconify the only frame.
8607 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8608 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8609
ddd63a1e
CY
86102011-07-01 Chong Yidong <cyd@stupidchicken.com>
8611
0e61a35f
SM
8612 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8613 Add mouse-yank-primary.
ddd63a1e 8614
055f4923
TZ
86152011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8616
8617 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8618
6a2fb145
SM
86192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8622 (find-library-name): Use it to find relative load names when provided
8623 absolute file name (bug#8803).
8624
fd4983f2
LMI
86252011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8626
887d14ad
LMI
8627 * textmodes/flyspell.el (flyspell-word): Consider words that
8628 differ only in case as potential doublons (bug#5687).
8629
c53dc7fc
LMI
8630 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8631 Remove two rather uninteresting debugging-like messages to make
8632 debbugs.el more silent.
8633
fd4983f2
LMI
8634 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8635 a password-like phrase.
8636
7a71b18d 86372011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8638
8639 * progmodes/cc-guess.el: New file.
8640
6a2fb145 8641 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8642
8643 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8644 derived from `c-basic-common-init'.
8645
8646 * progmodes/cc-mode.el (top-level): Require cc-guess.
8647 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8648
1fa280a3
LM
86492011-06-30 Lawrence Mitchell <wence@gmx.li>
8650
8651 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8652
e6597158
AM
86532011-06-30 Alan Mackenzie <acm@muc.de>
8654
1fa280a3
LM
8655 * progmodes/cc-engine.el (c-guess-continued-construct):
8656 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8657 lock is disabled. Name this case as "CASE G".
8658
68ba37fb
KM
86592011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8660
8661 * allout.el (allout-yank-processing): Fix injection of extra space
8662 between bullet and non-whitespace character in first topic when
8663 pasting, ensuring that the actual spacing in the pasted topic
8664 following the bullet char is preserved. This extra space was
8665 causing pasted encrypted topics to get a decrypted status even
8666 when the content was actually still encrypted. Now the decryption
8667 status from before the paste is preserved.
8668
8669 (allout-flag-region): Set all allout overlays so they evaporate
8670 when reduced to zero length (evanescent), to prevent overlay
8671 leakage.
8672
887a0b34
GM
86732011-06-30 Glenn Morris <rgm@gnu.org>
8674
94b9acce
GM
8675 * w32-fns.el (w32-charset-info-alist): Declare.
8676
1d9b46d4
GM
8677 * find-dired.el (find-grep-options): Simplify.
8678
cc232200
GM
8679 * term/ns-win.el (ns-set-resource): Declare.
8680
28e77c46
GM
8681 * ses.el (row, col): Declare dynamic variables honestly.
8682
887a0b34
GM
8683 * textmodes/reftex-parse.el (index-tags): Declare.
8684
658d8eb8
CY
86852011-06-30 Chong Yidong <cyd@stupidchicken.com>
8686
8687 * cus-edit.el (customize-push-and-save): New function.
8688
8689 * files.el (hack-local-variables-confirm): Use it.
8690
1fa280a3
LM
8691 * custom.el (load-theme): New arg NO-CONFIRM.
8692 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8693 (custom-enabled-themes): Doc fix.
8694
8695 * cus-theme.el (customize-create-theme)
8696 (custom-theme-merge-theme): Callers to load-theme changed.
8697
bb617717
LMI
86982011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8699
d61bdd5d
LMI
8700 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8701 short URLs have at least one dot in them (bug #7614).
8702
bb617717
LMI
8703 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8704 nil, because using a pty is apparently too slow (bug #895).
8705
2f31f37a
LMI
87062011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8707
8708 * mail/sendmail.el (sendmail-query-once): New function.
8709 (sendmail-query-once-function): New variable.
8710
3076b24e
GM
87112011-06-29 Glenn Morris <rgm@gnu.org>
8712
faf2a174
GM
8713 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8714
3076b24e
GM
8715 * ses.el (top-level): Require cl when compiling.
8716 (ses-set-localvars): Fix error statement.
8717 Call it at compile time to silence a storm of warnings.
8718
5386012d
MR
87192011-06-29 Martin Rudalics <rudalics@gmx.at>
8720
8721 * window.el (normalize-live-buffer): Rename to
8722 window-normalize-buffer.
8723 (normalize-live-frame): Rename to window-normalize-frame.
8724 (normalize-any-window): Rename to window-normalize-any-window.
8725 (normalize-live-window): Rename to window-normalize-live-window.
8726 (make-window-atom): Rename to window-make-atom.
8727 (window-resize-reset): Rename to window--resize-reset.
8728 (window-resize-reset-1): Rename to window--resize-reset-1.
8729 (resize-mini-window): Rename to window--resize-mini-window.
8730 (resize-subwindows-skip-p): Rename to
8731 window--resize-subwindows-skip-p.
8732 (resize-subwindows-normal): Rename to
8733 window--resize-subwindows-normal.
8734 (resize-subwindows): Rename to window--resize-subwindows.
8735 (resize-other-windows): Rename to window--resize-siblings.
8736 (resize-this-window): Rename to window--resize-this-window.
8737 (resize-root-window): Rename to window--resize-root-window.
8738 (resize-root-window-vertically): Rename to
8739 window--resize-root-window-vertically.
8740 (normalize-buffer-to-display): Rename to
8741 window-normalize-buffer-to-display.
8742 (normalize-buffer-to-switch-to): Rename to
8743 window-normalize-buffer-to-switch-to.
8744 Correspondingly update all callers of the functions listed
8745 above.
8746 (display-buffer-alist, display-buffer-normalize-arguments)
8747 (display-buffer-normalize-options, display-buffer)
8748 (display-buffer-alist-set): Use "function" instead of
8749 "fun-with-args".
8750
1176868d
CY
87512011-06-28 Chong Yidong <cyd@stupidchicken.com>
8752
8753 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8754 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8755 debbugs.gnu.org. Mention acknowledgment email.
8756
20a7a65f
LMI
87572011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8758
8759 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8760 buffer multibyteness, since it shouldn't matter.
8761
5f45cca5
MR
87622011-06-28 Martin Rudalics <rudalics@gmx.at>
8763
8764 * window.el (display-buffer-in-side-window): Handle dedicated
8765 windows as in display-buffer-reuse-window.
8766 (display-buffer-normalize-alist): Use value of override
8767 specifier.
8768 (display-buffer-normalize-specifiers): Use value of
8769 other-window-means-other-frame specifier.
8770 (display-buffer-alist): Rewrite some texts in widgets.
8771 (display-buffer): Spread arguments when calling function
8772 specified by fun-with-args.
8773
ad85fe1f
DD
87742011-06-28 Deniz Dogan <deniz@dogan.se>
8775
1fa280a3
LM
8776 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8777 Unnest `let'.
da68c4c8 8778
ad85fe1f
DD
8779 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8780 selectors (Bug#5732).
ec49bd31 8781 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8782
a08cc025
JA
87832011-06-27 Jari Aalto <jari.aalto@cante.net>
8784
8785 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8786 (eshell-ls-date-format): New defcustom.
8787 (eshell-ls-file): Use it.
8788
e2b551c5
SM
87892011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8792
8982b231
KY
87932011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8794
8795 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8796 (ange-ftp-make-tmp-name): New arg.
8797 (ange-ftp-file-local-copy): Use it.
8798
36c9fa27
J
87992011-06-27 Jambunathan K <kjambunathan@gmail.com>
8800
8801 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8802 no-conversion (Bug#8870).
8803
d68443dc
MR
88042011-06-27 Martin Rudalics <rudalics@gmx.at>
8805
8806 * window.el (window-right, window-left, window-child)
8807 (window-child-count, window-last-child)
8808 (window-iso-combination-p, walk-window-tree-1)
8809 (window-atom-check-1, window-tree-1, delete-window)
8810 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8811 new naming conventions - window-vchild, window-hchild,
8812 window-next and window-prev are now called window-top-child,
8813 window-left-child, window-next-sibling and window-prev-sibling
8814 respectively.
d615d6d2
MR
8815 (resize-window-reset): Rename to window-resize-reset.
8816 (resize-window-reset-1): Rename to window-resize-reset-1.
8817 (resize-window): Rename to window-resize.
8818 (window-min-height, window-min-width)
8819 (resize-mini-window, resize-this-window, resize-root-window)
8820 (resize-root-window-vertically, adjust-window-trailing-edge)
8821 (enlarge-window, shrink-window, maximize-window)
8822 (minimize-window, delete-window, quit-restore-window)
8823 (split-window, balance-windows, balance-windows-area-adjust)
8824 (balance-windows-area, window-state-put-2)
8825 (display-buffer-even-window-sizes, display-buffer-set-height)
8826 (display-buffer-set-width, set-window-text-height)
8827 (fit-window-to-buffer): Rename all "resize-window" prefixed
8828 calls to use the "window-resize" prefix convention.
8829 (display-buffer-alist): Fix symbol for label specifier.
8830 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8831 corresponding specifier.
8832 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8833
b6458526
VB
88342011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8835
8836 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8837 convention.
8838 (ses-call-printer): Does not pass an empty string to formatter when the
8839 cell is empty to keep from barking printer Calc math-format-value.
8840
d31fd9ac
RS
88412011-06-27 Richard Stallman <rms@gnu.org>
8842
43d5bf84
RS
8843 * battery.el (battery-mode-line-limit): New variable.
8844 (battery-update): Handle it.
8845
d31fd9ac
RS
8846 * mail/rmailmm.el (rmail-mime-process-multipart):
8847 Handle truncated messages.
8848
819a6054
GM
88492011-06-27 Glenn Morris <rgm@gnu.org>
8850
8851 * progmodes/flymake.el (flymake-err-line-patterns):
8852 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8853
cedc73f2
VB
88542011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8855
819a6054 8856 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8857 (ses--clean-!, ses--clean-_): New functions.
8858 (ses-range): Add configurability of readout order, and conversion
8859 to Calc vector.
8860
5e5d49b6
VB
8861 * ses.el (ses-repair-cell-reference-all): New function.
8862 (ses-cell-symbol): Set macro as safe, so that it can be used in
8863 formulas.
8864
56e6cc31 8865 * ses.el: Update cycle detection algorithm.
90ca8b49 8866 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8867 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8868 (ses-set-localvars): New function.
8869 (ses-make-cell): Add property-list as a cell element.
8870 (ses-cell-property-get-fun, ses-cell-property-get)
8871 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8872 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8873 New functions.
90ca8b49
VB
8874 (ses-cell-property-set, ses-cell-property-pop)
8875 (ses-cell-property-get-handle): New macro.
8876 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8877 New aliases, used for code readability.
8878 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8879 cycle detection.
8880 (ses-self-reference-early-detection): New defcustom.
fac916bf 8881 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8882 (ses-mode): Use ses-set-localvars.
8883 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8884 before lauching the update processing.
8885 (ses-initialize-Dijkstra-attempt): New function.
8886 (ses-recalculate-cell): Update for cycle detection based on
8887 Dijkstra algorithm.
8888
2bb63e81
VB
8889 * ses.el: Fix commenting and indenting convention.
8890
c9d29fb8
SM
88912011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * bs.el (bs-cycle-next): Complete last change.
8894
d8e4b68b
JB
88952011-06-27 Drew Adams <drew.adams@oracle.com>
8896
8897 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8898
40098786
LMI
88992011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8900
c9d29fb8
SM
8901 * net/network-stream.el (network-stream-open-starttls):
8902 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8903 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8904
40098786
LMI
8905 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8906 to binary to possibly avoid line encoding issues on Windows (among
8907 other things).
8908
468d09d4
LMI
89092011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8910
8911 * net/network-stream.el (open-network-stream): Return an :error
8912 saying what the problem was, if possible.
8913
8914 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8915 server.
8916
8917 * net/network-stream.el (network-stream-open-starttls): If we
8918 wanted to use STARTTLS, and the server offered it, but we weren't
8919 able to because we had no STARTTLS support, then close the connection.
8920 (open-network-stream): Return an :error element, if present.
8921
16f07dd7
CY
89222011-06-26 Chong Yidong <cyd@stupidchicken.com>
8923
88821ca0
CY
8924 * hl-line.el (hl-line-sticky-flag): Doc fix.
8925 (global-hl-line-sticky-flag): New option (Bug#8323).
8926 (global-hl-line-highlight): Obey it.
8927
16f07dd7
CY
8928 * vc/vc.el (vc-revert-show-diff): Default to t.
8929
6b5ccddf
KM
89302011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8931
c9d29fb8
SM
8932 * allout-widgets.el (allout-widgets-post-command-business):
8933 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8934 undecorated when an isearch is continued past, and isearch
8935 automatically collapses them. This leads to "widget leaks", where
8936 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8937 hidden widgets can slow down cursor travel, substantially.
8938 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8939 so we're doing without this nicety.
8940
8941 (allout-widgets-tally-string): Don't try to do a hash-table-count
8942 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8943 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8944 *Messages* when allout-widgets-maintain-tally is t.
8945
355f2e07
MR
89462011-06-26 Martin Rudalics <rudalics@gmx.at>
8947
8948 * window.el (display-buffer-normalize-argument): Rename to
8949 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8950 LABEL argument. Respect special-display-function when popping up
8951 a new frame. Fix code searching for a window showing the buffer
8952 on another frame.
c9d29fb8
SM
8953 (display-buffer-normalize-specifiers):
8954 Call display-buffer-normalize-arguments.
355f2e07
MR
8955 (display-buffer-in-window): Don't undedicate the window if its
8956 buffer remains the same.
8957 Reported by Drew Adams <drew.adams@oracle.com>.
8958 (display-buffer-alist): Add choice for same-window macro
8959 specfier.
8960 (display-buffer): Mention special meaning of LABEL argument in
8961 doc-string. Fix quoting. Don't pop up a new frame even as
8962 fallback.
8963
7ca8fc42
JB
89642011-06-26 Juanma Barranquero <lekktu@gmail.com>
8965
8966 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8967 avoid deleting the current window in some cases (bug#8911).
8968
bc312254
AS
89692011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8970
8971 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8972 (Bug#8934)
8973
2db18f3f
LMI
89742011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8975
c9d29fb8
SM
8976 * net/network-stream.el (network-stream-open-starttls):
8977 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8978 (network-stream-open-tls): Ditto.
8979
6302e0d3
LL
89802011-06-26 Leo Liu <sdl.web@gmail.com>
8981
8982 * register.el (registerv): New struct.
8983 (registerv-make): New function.
c9d29fb8
SM
8984 (jump-to-register, describe-register-1, insert-register):
8985 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8986 struct. (Bug#8415)
8987
5fdd4046
CY
89882011-06-26 Chong Yidong <cyd@stupidchicken.com>
8989
2afef60a
CY
8990 * vc/vc.el (vc-revert-show-diff): New defcustom.
8991 (vc-diff-internal): New arg specifying diff buffer.
8992 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8993 reuse an existing *vc-diff* buffer (Bug#8927).
8994
5fdd4046
CY
8995 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8996
e93db24a
GM
89972011-06-26 Glenn Morris <rgm@gnu.org>
8998
8999 * progmodes/f90.el (f90-critical-indent): New option.
9000 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9001 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9002 (f90-mode): Doc fix.
9003 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9004 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9005 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9006 (f90-match-end): Handle block, critical.
9007
eefff499
GM
90082011-06-25 Glenn Morris <rgm@gnu.org>
9009
f6ba4cc9
GM
9010 * calendar/diary-lib.el (diary-included-files): Doc fix.
9011 (diary-include-files): New function, extracted from
9012 diary-include-other-diary-files and diary-mark-included-diary-files.
9013 (diary-include-other-diary-files, diary-mark-included-diary-files):
9014 Just call diary-include-files.
9015 (diary-mark-entries): Reset diary-included-files on first call.
9016
16712304
GM
9017 * calendar/diary-lib.el (diary-mark-entries)
9018 (diary-mark-included-diary-files):
9019 Visit included diary-files in temp buffers.
9020
5d8e0d43
GM
9021 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9022 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9023 (f90-start-block-re, f90-imenu-generic-expression)
9024 (f90-looking-at-program-block-start, f90-no-block-limit):
9025 Add support for submodules.
9026
ccf7a5d5
GM
9027 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9028 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9029
11fdef7d 90302011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9031
9032 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9033 buffer-file-type before setting its value, to avoid disastrous
eefff499 9034 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9035
74f53697
JB
90362011-06-25 Juanma Barranquero <lekktu@gmail.com>
9037
9038 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9039
9040 * ses.el (ses-unload-function):
9041 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9042
9043 * proced.el (proced-unload-function):
9044 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9045
18a4ce5e
AR
90462011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9047
9048 * server.el (server-create-window-system-frame): Add parameters arg.
9049 (server-process-filter): Doc fix. Handle frame-parameters.
9050
519d22cc
JB
90512011-06-25 Juanma Barranquero <lekktu@gmail.com>
9052
9053 Fix bug#8730, bug#8781.
9054
9055 * loadhist.el (unload--set-major-mode): New function.
9056 (unload-feature): Use it.
9057
9058 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9059 (python-unload-function): New function.
9060
c206f5b0
SM
90612011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9062
9063 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9064
f9ad64f3
GS
90652011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9066
9067 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9068 the candidates list.
9069
7d0da90e
JB
90702011-06-24 Juanma Barranquero <lekktu@gmail.com>
9071
9072 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9073
14b4e83d
RS
90742011-06-23 Richard Stallman <rms@gnu.org>
9075
9076 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9077 (rmail-variables): Set next-error-move-function.
9078 (rmail-what-message): Take argument POS.
9079 (rmail-next-error-move): New function.
9080
273d2baf
SM
90812011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9082
9083 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9084 messages for adjacent non-terminals.
9085
56c2cc9a
RS
90862011-06-23 Richard Stallman <rms@gnu.org>
9087
9088 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9089 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9090 (rmail-start-mail): Don't specify use of rmail-mail-return;
9091 that's done by mail-bury now.
9092 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9093
d59eb518
MA
90942011-06-23 Michael Albinus <michael.albinus@gmx.de>
9095
9096 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9097 SIZE is a number.
9098
02cfc6d6
MR
90992011-06-23 Martin Rudalics <rudalics@gmx.at>
9100
9101 * window.el (get-lru-window, get-mru-window)
9102 (get-largest-window): Never return a minibuffer window.
9103 (display-buffer-pop-up-window): Fix a bug that could lead to
9104 reusing the minibuffer window.
9105 (display-buffer): Pass original specifier argument to
9106 display-buffer-function instead of the normalized one.
9107 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9108
4e323265
LL
91092011-06-22 Leo Liu <sdl.web@gmail.com>
9110
9111 * minibuffer.el (completing-read-function)
9112 (completing-read-default): Move from minibuf.c
9113
7a70468f
RS
91142011-06-22 Richard Stallman <rms@gnu.org>
9115
50718fc2
RS
9116 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9117 to Rmail even if not started by a special Rmail command.
9118
7a70468f
RS
9119 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9120 Copy the buffer currently showing just one message.
9121
297dde5a
RW
91222011-06-22 Roland Winkler <winkler@gnu.org>
9123
9124 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9125 (bibtex-clean-entry): First delete the old key so that a
9126 customized algorithm for generating the new key does not get
9127 confused by the old key.
9128 (bibtex-url): Obey regexp of first step.
9129 (bibtex-search-entries): Do not use add-to-list with local
9130 list-var.
9131
97bb1093
LMI
91322011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9133
9134 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9135 stored a user name, then query for the password first, instead of
9136 waiting for SMTP to give an error message and the trying again.
9137
1c0f1a19
JD
91382011-06-22 Lawrence Mitchell <wence@gmx.li>
9139
9140 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9141 BUFFER in call-process.
9142
396f7c9d
LMI
91432011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9144
9145 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9146 QUIT twice.
ddb7ffee
LMI
9147 (smtpmail-try-auth-methods): Require user name and password from
9148 auth-source.
396f7c9d 9149
8998d1b3
MR
91502011-06-22 Martin Rudalics <rudalics@gmx.at>
9151
9152 * window.el (display-buffer-default-specifiers)
9153 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9154 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9155 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9156
9157 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9158 (special-display-frame-alist, special-display-popup-frame):
9159 Remove duplicate declarations. These are now in window.el.
9160
4ea31e07
LMI
91612011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9162
c9d29fb8
SM
9163 * mail/smtpmail.el (smtpmail-via-smtp):
9164 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9165 server supports it. SMTP servers that support STARTTLS commonly
9166 require it.
9167
9168 * net/network-stream.el (network-stream-open-starttls): Support
9169 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9170 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9171
95f41d9a
LMI
9172 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9173 upgrades with `open-network-stream', and rely solely on
9174 auth-source for all credentials. Big changes throughout the file,
9175 but in particular:
c9d29fb8
SM
9176 (smtpmail-auth-credentials): Remove.
9177 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9178 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9179 MAIL FROM, too.
95f41d9a 9180
c9d29fb8
SM
9181 * net/network-stream.el (network-stream-open-starttls):
9182 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9183 STARTTLS.
9184 (auth-source): Require.
9185 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9186 (network-stream-certificate): Change cert-cert to cert and
9187 cert-key to key.
4ea31e07 9188
065ec2c7
MA
91892011-06-21 Michael Albinus <michael.albinus@gmx.de>
9190
9191 * net/tramp-cache.el (top): Don't load the persistency file when
9192 "emacs -Q" has been called.
9193
cd93b359
DR
91942011-06-21 Tim Harper <timcharper@gmail.com>
9195
d8e4b68b
JB
9196 * term/ns-win.el (ns-initialize-window-system):
9197 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9198 resource to NO as it is not yet supported by the NS port.
9199
ae9c0411
JB
92002011-06-21 Juanma Barranquero <lekktu@gmail.com>
9201
9202 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9203 (list-dynamic-libraries): ...not here.
9204
7f3f739f
LL
92052011-06-21 Leo Liu <sdl.web@gmail.com>
9206
9207 * subr.el (sha1): Implement sha1 using secure-hash.
9208
327c8fb1
MR
92092011-06-21 Martin Rudalics <rudalics@gmx.at>
9210
9211 * window.el (display-buffer-alist): In default value do not
9212 enforce searching a window on any but the selected frame.
9213 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9214 (display-buffer-select-window): Remove function.
9215 (display-buffer-in-window): When a window on another frame gets
9216 reused, do not select it any more but just raise its frame if
9217 necessary (Bug#8851) and (Bug#8856).
9218 (display-buffer-normalize-options): Handle pop-up-frames related
9219 options more faithfully.
9220 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9221 window if it is on another frame.
c9d29fb8
SM
9222 (display-buffer-alist, display-buffer-default-specifiers):
9223 Don't make new frame unsplittable by default.
9e9de014
MR
9224 (display-buffer-normalize-argument): Fix doc-string typo and use
9225 'same-frame-other-window instead of 'other-window when associating
9226 with display-buffer-macro-specifiers.
327c8fb1 9227
7cf3f556
VB
92282011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9229
9230 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9231 New functions.
9232 (5x5-mode-map, 5x5-mode-menu): Bind them.
9233 (5x5-draw-grid): Tweak the solver's rendering.
9234
60a406cf
SM
92352011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9238 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9239
d8e4b68b 92402011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9241
9242 * menu-bar.el: Use function variable instead of switch-to-buffer.
9243 (menu-bar-select-buffer-function): New variable.
60a406cf 9244 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9245
478d6f95
SM
92462011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9249 variable's status.
9250
ca530739
JD
92512011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9252
9253 * x-dnd.el (x-dnd-version-from-flags)
9254 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9255 and long as number (Bug#8899).
9256 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9257
bcd70d97
SM
92582011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9259
60a406cf 9260 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9261 (completion-try-completion, completion-all-completions): Compute the
9262 metadata argument if it's missing; make it optional (bug#8795).
9263
60a406cf 9264 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9265 (widget-complete): Use new :completion-function property.
9266 (widget-completions-at-point): New function.
9267 (default): Use :completion-function instead of :complete.
60a406cf
SM
9268 (widget-default-completions): Rename from widget-default-complete;
9269 Rewrite.
bcd70d97
SM
9270 (widget-string-complete, widget-file-complete, widget-color-complete):
9271 Remove functions.
9272 (file, symbol, function, variable, coding-system, color):
9273 * international/mule-cmds.el (default-input-method, charset)
9274 (language-info-custom-alist):
9275 * cus-edit.el (face): Use new property :completions.
9276
9277 * progmodes/pascal.el (pascal-completions-at-point): New function.
9278 (pascal-mode): Use it.
9279 (pascal-mode-map): Use completion-at-point.
9280 (pascal-toggle-completions): Make obsolete.
9281 (pascal-complete-word, pascal-show-completions):
9282 * progmodes/octave-mod.el (octave-complete-symbol):
9283 Redefine as obsolete alias.
9284 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9285 Signal absence of completion info for old Octave,
9286 (inferior-octave-complete): Redefine as obsolete alias.
9287 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9288 (meta-completions-at-point): Rename from meta-complete-symbol and
9289 adapt it for use on completion-at-point-functions.
9290 (meta-common-mode): Use it.
9291 (meta-looking-at-backward, meta-match-buffer): Remove.
9292 (meta-complete-symbol): Redefine as obsolete alias.
9293 (meta-common-mode-map): Use completion-at-point.
9294 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9295 (makefile-mode-map): Use completion-at-point.
9296 (makefile-completions-at-point): Rename from makefile-complete and
9297 adapt it for use on completion-at-point-functions.
9298 (makefile-mode): Use it.
9299 (makefile-complete): Redefine as obsolete alias.
9300
aebf69c8
DD
93012011-06-20 Deniz Dogan <deniz@dogan.se>
9302
9303 * net/rcirc.el: Delete trailing whitespaces once and for all.
9304
bfbbb27d
DC
93052011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9306
9307 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9308
d264a46b
CY
93092011-06-19 Chong Yidong <cyd@stupidchicken.com>
9310
4ca009e5
CY
9311 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9312
d264a46b
CY
9313 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9314
fbf5b3ce
MR
93152011-06-19 Martin Rudalics <rudalics@gmx.at>
9316
9317 * window.el (display-buffer-other-window-means-other-frame):
9318 Call display-buffer-normalize-alist.
9319 (display-buffer-normalize-specifiers-1): Rename to
9320 display-buffer-normalize-argument. New argument other-frame.
9321 Rewrite.
9322 (display-buffer-normalize-specifiers-2): Rename to
9323 display-buffer-normalize-options.
9324 (display-buffer-normalize-alist-1): New function.
9325 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9326 display-buffer-normalize-alist.
9327 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9328 (display-buffer-normalize-options-inhibit): New variable.
9329 (display-buffer-normalize-specifiers): Rewrite calling
9330 display-buffer-normalize-alist,
9331 display-buffer-normalize-argument, and
9332 display-buffer-normalize-options. Don't call the latter if
9333 display-buffer-normalize-options-inhibit is non-nil.
9334 (frame-auto-delete): New option.
9335 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9336 (window-list-no-nils, window-state-ignored-parameters)
9337 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9338 (window-state-put-1, window-state-put-2, window-state-put):
9339 New functions.
9a028c23
MR
9340 (display-buffer-normalize-options): Move special-display-p group
9341 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9342
6d10d800
CY
93432011-06-18 Chong Yidong <cyd@stupidchicken.com>
9344
6420d28b
CY
9345 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9346 groups (Bug#8776).
9347 (rx-submatch-n): New function.
9348 (rx): Document it.
9349
ddb8b596
CY
9350 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9351 (Bug#8768).
9352
9353 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9354
77080289
CY
9355 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9356
61dfb316
CY
9357 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9358 anytime existing face settings are present (Bug#8889).
9359
6d10d800
CY
9360 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9361 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9362 Remove unused argument.
9363
be3fb2b8
MR
93642011-06-18 Martin Rudalics <rudalics@gmx.at>
9365
bcd70d97
SM
9366 * window.el (display-buffer-default-specifiers):
9367 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9368 pop-up-window-min-width, and another reuse-window specifier
9369 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9370 (display-buffer-normalize-specifiers-2):
9371 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9372 pop-up-windows is unset. Add a reuse-window specifier for the
9373 case popping up a new window fails.
9374 (special-display-popup-frame): Remove double quoting.
28dec25a 9375 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9376
1c6d8c76
SM
93772011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9380 according to comint-completion-addsuffix.
9381
9382 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9383 (pcomplete-suffix-list): Mark as obsolete.
9384 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9385 pcomplete-seen in the closure.
9386 (pcomplete-comint-setup): Setup completion-at-point as well.
9387 (pcomplete--entries): New function.
9388 (pcomplete--env-regexp): New var.
9389 (pcomplete-entries): Rewrite to work with partial-completion and
9390 without relying on pcomplete-suffix-list.
9391 (pcomplete-pare-list): Remove, unused.
9392
25aef8b8
MR
93932011-06-17 Martin Rudalics <rudalics@gmx.at>
9394
9395 * window.el (display-buffer-alist): Set pop-up-window-min-height
9396 and pop-up-window-min-width in default value. Reported by
9397 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9398 other-window-means-other-frame.
9399 (display-buffer-macro-specifiers): Comment out entry for
9400 other-window specifier.
9401 (display-buffer-other-window-means-other-frame): New function.
9402 (display-buffer-normalize-specifiers-1): New arguments
9403 buffer-name and label. Treat other-window case specially.
9404 (display-buffer-normalize-specifiers-2): Treat other-window case
9405 specially.
9406 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9407 (display-buffer-normalize-specifiers):
9408 Call display-buffer-normalize-specifiers-3.
25aef8b8 9409
dbad4f69
MR
94102011-06-17 Martin Rudalics <rudalics@gmx.at>
9411
9412 * window.el (same-window-p): Fix two typos introduced when
9413 adding with-no-warnings.
d1067961
MR
9414 (display-buffer-normalize-specifiers-1): Don't check
9415 pop-up-frames for 'unset initialization.
9416 (display-buffer-normalize-specifiers-2): Major rewrite using
9417 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9418 (pop-up-frames, display-buffer-reuse-frames)
9419 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9420 Suggested by David Engster <deng@randomsample.de>.
9421 (even-window-heights): Initialize to 'unset.
9422 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9423 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9424 other window case.
dbad4f69 9425
9b9c9e3a
MR
94262011-06-16 Martin Rudalics <rudalics@gmx.at>
9427
bcd70d97
SM
9428 * window.el (display-buffer-normalize-specifiers-1):
9429 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9430 second argument of display-buffer (Bug#8865).
981d5c09
MR
9431 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9432 (switch-to-buffer-other-window-same-frame)
9433 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9434 Adams (Bug#8875).
9c2755e9
MR
9435 (display-buffer): Don't check noninteractive when calling
9436 display-buffer-pop-up-frame.
9437 (display-buffer-pop-up-frame): Never pop up a frame in
9438 noninteractive mode (Bug#8857).
67222e1d
MR
9439 (enlarge-window, shrink-window): Don't report an error when the
9440 window can't be resized as requested (Bug#8862).
9b9c9e3a 9441
2b75be67
SM
94422011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9ffdd3ba
SM
9444 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9445
cb581a67
SM
9446 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9447
2b75be67
SM
9448 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9449
8c0e3589
AM
94502011-06-15 Alan Mackenzie <acm@muc.de>
9451
cb581a67
SM
9452 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9453 for declarators, disable knr checking to speed up for normal files.
9454 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9455
b96e6cde
LMI
94562011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9457
4bba86e6
LMI
9458 * net/network-stream.el (open-network-stream): Add the keyword
9459 :always-query-capabilities for the case where you want to force a
9460 `plain' network connection, but the protocol still requires the
9461 capabilitiy command (i.e., SMTP and EHLO).
9462
2b75be67 9463 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9464 consistency with other `-live-p' functions.
9465
efdcdbf8
SM
94662011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * window.el (same-window-buffer-names, same-window-regexps)
9469 (special-display-frame-alist, special-display-popup-frame)
9470 (special-display-function, special-display-buffer-names)
9471 (special-display-regexps, pop-up-frame-alist)
9472 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9473 (pop-up-windows, split-window-preferred-function)
9474 (split-height-threshold, split-width-threshold, even-window-heights)
9475 (display-buffer-mark-dedicated): Don't encourage the use of
9476 display-buffer-alist from Elisp code.
9477
c5cde042
DN
94782011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9479
9480 * progmodes/python.el (python-mode): Derive from prog-mode.
9481 * progmodes/ps-mode.el (ps-mode):
9482 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9483 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9484 * progmodes/ld-script.el (ld-script-mode): Likewise.
9485
baa1c9ab
MR
94862011-06-15 Martin Rudalics <rudalics@gmx.at>
9487
9488 * window.el (display-buffer-alist): Trim default value to avoid
9489 popping up a new frame (Bug#8857) or reusing an arbitrary window
9490 on another frame.
9491 (display-buffer): Do not fall back on popping up a new frame in
9492 batch mode (Bug#8857).
9493
c5dd5a51
CY
94942011-06-14 Chong Yidong <cyd@stupidchicken.com>
9495
9496 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9497 (custom-theme-summary): New function.
9498 (customize-themes): Use it.
9499
d647b7c4
GM
95002011-06-13 Glenn Morris <rgm@gnu.org>
9501
9502 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9503
9481c002
MR
95042011-06-13 Martin Rudalics <rudalics@gmx.at>
9505
357f93d2
MR
9506 * help.el (help-window): Remove variable.
9507 (help-window-point-marker, temp-buffer-max-height)
9508 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9509 (help-print-return-message): Don't set help-window.
9510 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9511 (help-window-setup-finish): Remove.
9512 (help-window-display-message, help-window-setup)
9513 (with-help-window): Major rewrite based on new
9514 display-buffer-window variable.
9515
9516 * help-mode.el (help-mode-finish): Remove help-window related
9517 code.
9518
9519 * view.el (view-exits-all-viewing-windows): Remove reference to
9520 view-return-to-alist in doc-string.
9521 (view-return-to-alist): Make obsolete.
9522 (view-buffer): Call pop-to-buffer-same-window and remove
9523 undo-window code.
9524 (view-buffer-other-window): Call pop-to-buffer-other-window and
9525 simplify code. Ignore second argument.
9526 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9527 simplify code. Ignore second argument.
9528 (view-return-to-alist-update): Make obsolete.
9529 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9530 Rewrite using quit-restore window parameters.
2b75be67
SM
9531 (view-mode-exit): Rename second argument to EXIT-ONLY.
9532 Rewrite using quit-restore-window.
357f93d2
MR
9533 (View-exit, View-exit-and-edit, View-leave, View-quit)
9534 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9535 appropriate arguments.
9536 (view-end-message): Use quit-restore window parameter.
9537
9481c002
MR
9538 * window.el (display-buffer-function): Rewrite doc-string.
9539 (display-buffer-window, display-buffer-alist): New variables.
9540 (display-buffer-split-specifiers)
9541 (display-buffer-side-specifiers)
9542 (display-buffer-macro-specifiers): New constants.
9543 (display-buffer-even-window-sizes, display-buffer-set-height)
9544 (display-buffer-set-width, display-buffer-select-window)
9545 (display-buffer-in-window, display-buffer-reuse-window)
9546 (display-buffer-split-window-1, display-buffer-split-window)
9547 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9548 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9549 (display-buffer-in-side-window, normalize-buffer-to-display)
9550 (display-buffer-normalize-specifiers-1)
9551 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9552 (display-buffer-normalize-specifiers, display-buffer-frame):
9553 New functions.
9481c002
MR
9554 (display-buffer): Major rewrite.
9555 (display-buffer-other-window, display-buffer-other-frame)
9556 (pop-to-buffer, switch-to-buffer-other-window)
9557 (switch-to-buffer-other-frame): Rewrite.
9558 (display-buffer-same-window, display-buffer-same-frame)
9559 (display-buffer-same-frame-other-window)
9560 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9561 (pop-to-buffer-other-window)
9562 (pop-to-buffer-same-frame-other-window)
9563 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9564 (switch-to-buffer-other-window-same-frame): New functions.
9565 (same-window-p, special-display-p): Rewrite disabling warnings.
9566 Make obsolete.
9567 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9568 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9569 Make obsolete
9570 (same-window-buffer-names, same-window-regexps)
9571 (special-display-frame-alist, special-display-popup-frame)
9572 (special-display-function, special-display-buffer-names)
9573 (special-display-regexps, pop-up-frame-alist)
9574 (pop-up-frame-function, split-window-preferred-function)
9575 (split-height-threshold, split-width-threshold)
9576 (even-window-heights): Make obsolete.
9577
9db51aca
GM
95782011-06-12 Glenn Morris <rgm@gnu.org>
9579
9580 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9581 Misc simplifications.
9db51aca 9582
39cffb44
MR
95832011-06-12 Martin Rudalics <rudalics@gmx.at>
9584
9585 * window.el (window-safely-shrinkable-p): Restore function which
9586 was inadvertently removed in change from 2011-06-11. Declare as
9587 obsolete.
9588
2b75be67
SM
9589 * calendar/calendar.el (calendar-generate-window):
9590 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9591 window-safely-shrinkable-p.
9592
a8955be7
GM
95932011-06-12 Glenn Morris <rgm@gnu.org>
9594
9595 * progmodes/fortran.el (fortran-mode-syntax-table):
9596 * progmodes/f90.el (f90-mode-syntax-table):
9597 Set % to punctuation. (Bug#8820)
9598 (f90-find-tag-default): Remove, no longer needed.
9599
f0d4059d
DC
96002011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9601
9602 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9603
1100a63c
CY
96042011-06-11 Chong Yidong <cyd@stupidchicken.com>
9605
9606 * image.el (image-animated-p): Return animation delay in seconds.
9607 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9608 (image-animate-timeout): Remove DELAY argument. Don't assume
9609 every subimage has the same delay; get it from image-animated-p.
9610 (image-animate): Caller changed.
9611
def722bf
MA
96122011-06-11 Michael Albinus <michael.albinus@gmx.de>
9613
9614 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9615 to ignored backtrace functions.
9616
0a2bb1a9
GM
96172011-06-11 Glenn Morris <rgm@gnu.org>
9618
9619 * calendar/appt.el (appt-disp-window-function): Doc fix.
9620 (appt-check): Handle overlapping appointments. (Bug#8337)
9621
6198ccd0
MR
96222011-06-11 Martin Rudalics <rudalics@gmx.at>
9623
9624 * window.el (window-tree-1, window-tree): New functions, moving
9625 the latter to window.el.
9626 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9627 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9628 (bw-refresh-edges): Remove.
9629 (balance-windows-1, balance-windows-2): New functions.
9630 (balance-windows): Rewrite in terms of window tree functions,
9631 balance-windows-1 and balance-windows-2.
9632 (bw-adjust-window): Remove.
9633 (balance-windows-area-adjust): New function with functionality of
9634 bw-adjust-window but using resize-window.
2b75be67
SM
9635 (set-window-text-height): Rewrite doc-string.
9636 Use normalize-live-window and resize-window.
9637 (enlarge-window-horizontally, shrink-window-horizontally):
9638 Rename argument to DELTA.
6198ccd0
MR
9639 (window-buffer-height): New function.
9640 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9641 Rewrite using new window resize routines.
2b75be67
SM
9642 (kill-buffer-and-window, mouse-autoselect-window-select):
9643 Use ignore-errors instead of condition-case.
6198ccd0
MR
9644 (quit-window): Call delete-frame instead of delete-windows-on
9645 for the only buffer on frame.
9646
9397e56f
MR
96472011-06-10 Martin Rudalics <rudalics@gmx.at>
9648
9649 * loadup.el (top-level): Load window before files for the sake
9650 of replace-buffer-in-windows.
9651
9652 * files.el (read-buffer-to-switch)
9653 (switch-to-buffer-other-window)
2b75be67
SM
9654 (switch-to-buffer-other-frame, display-buffer-other-frame):
9655 Move to window.el.
9397e56f
MR
9656
9657 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9658 (previous-buffer): Move to window.el.
9659
9660 * bindings.el (unbury-buffer): Move to window.el.
9661
9662 * window.el (delete-other-windows-vertically): Move after
9663 definition of delete-other-windows.
9664 (other-window, delete-windows-on, replace-buffer-in-windows):
9665 Move here from window.c.
9666 (record-window-buffer, unrecord-window-buffer)
9667 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9668 (switch-to-next-buffer): New functions.
9669 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9670 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9671 (previous-buffer): Move here from simple.el.
9672 Call switch-to-prev-buffer.
9397e56f
MR
9673 (bury-buffer): Move here from buffer.c. Switch to previous
9674 buffer when window cannot be deleted.
9675 (unbury-buffer): Move here from bindings.el.
9676 (ctl-x-map): Move binding for other-window from window.c to
9677 here.
9678 (read-buffer-to-switch, switch-to-buffer-other-window)
9679 (switch-to-buffer-other-frame): Move here from files.el.
9680 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9681 (switch-to-buffer): Move here from buffer.c.
9682 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9683
562dd5e9
MR
96842011-06-10 Martin Rudalics <rudalics@gmx.at>
9685
9686 * window.el (window-min-height, window-min-width): Move here
9687 from window.c. Add defcustoms and rewrite doc-strings.
9688 (resize-mini-window, resize-window): New functions.
9689 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9690 Move here from window.c.
9691 (maximize-window, minimize-window): New functions.
9692 (delete-window, delete-other-windows, split-window): Move here
9693 from window.c.
9694 (window-split-min-size): New function.
9695 (split-window-keep-point): Mention split-window-above-each-other
9696 instead of split-window-vertically.
2b75be67 9697 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9698 Rename split-window-vertically to split-window-above-each-other
9699 and provide defalias for old definition.
9700 (split-window-side-by-side, split-window-horizontally):
9701 Rename split-window-horizontally to split-window-side-by-side
9702 and provide defalias for the old definition.
562dd5e9
MR
9703 (ctl-x-map): Move bindings for delete-window,
9704 delete-other-windows and enlarge-window here from window.c.
9705 Replace bindings for split-window-vertically and
9706 split-window-horizontally by bindings for
9707 split-window-above-each-other and split-window-side-by-side.
9708
9709 * cus-start.el (all): Remove entries for window-min-height and
9710 window-min-width. Add entries for window-splits and
9711 window-nest.
9712
f0da764a
GM
97132011-06-09 Glenn Morris <rgm@gnu.org>
9714
80675c21
GM
9715 * calendar/appt.el (appt-mode-line): New function.
9716 (appt-check, appt-disp-window): Use it.
9717
f0da764a
GM
9718 * files.el (hack-one-local-variable-eval-safep):
9719 Allow minor-modes with explicit +/-1 arguments.
9720
59f623b7
TZ
97212011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9722
9723 * term/xterm.el (xterm): Add defgroup.
9724 (xterm-extra-capabilities): Add defcustom to supply known xterm
9725 capabilities, skip querying them, or query them (default).
9726 (terminal-init-xterm): Use it.
9727 (terminal-init-xterm-modify-other-keys): New function to set up
9728 modifyOtherKeys support to simplify `terminal-init-xterm'.
9729
9aab8e0d
MR
97302011-06-09 Martin Rudalics <rudalics@gmx.at>
9731
9732 * window.el (resize-window-reset, resize-window-reset-1)
9733 (resize-subwindows-skip-p, resize-subwindows-normal)
9734 (resize-subwindows, resize-other-windows, resize-this-window)
9735 (resize-root-window, resize-root-window-vertically)
9736 (window-deletable-p, window-or-subwindow-p)
9737 (frame-root-window-p): New functions.
9738
e8b08aee
GM
97392011-06-09 Glenn Morris <rgm@gnu.org>
9740
9741 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9742 (ange-ftp-get-files): Use it.
9743
254c37a5
AK
97442011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9745
9746 * mail/sendmail.el (mail-recover-1, mail-recover):
9747 * files.el (recover-file, recover-session):
9748 Handle dired-listing-switches not being just a single short option.
9749
35d7dbd3
GM
97502011-06-09 Glenn Morris <rgm@gnu.org>
9751
9752 * calendar/appt.el (appt-display-message, appt-disp-window):
9753 Handle lists of appointments.
9754
387522b2
MR
97552011-06-08 Martin Rudalics <rudalics@gmx.at>
9756
2b75be67
SM
9757 * window.el (one-window-p): Move down in code.
9758 Rewrite doc-string.
9759 (window-current-scroll-bars): Rewrite doc-string.
9760 Normalize live window argument.
387522b2
MR
9761 (walk-windows, get-window-with-predicate, count-windows):
9762 Rewrite doc-string. Use window-list-1.
9763 (window-in-direction-2, window-in-direction, get-mru-window):
9764 New functions.
9765
d8e4b68b 97662011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9767
9768 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9769 Doc fix (Bug#8713).
9770
97712011-06-08 Chong Yidong <cyd@stupidchicken.com>
9772
9773 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9774
97752011-06-08 Juanma Barranquero <lekktu@gmail.com>
9776
9777 * loadhist.el (unload-feature-special-hooks):
9778 Add `comint-output-filter-functions'.
9779
0de12c52
IK
97802011-06-08 Ivan Kanis <gnu@kanis.fr>
9781
9782 * calendar/appt.el (appt-check): Move some initializations into the let.
9783
f3d1777e
MR
97842011-06-08 Martin Rudalics <rudalics@gmx.at>
9785
9786 * window.el (window-height): Defalias to window-total-height.
9787 (window-width): Defalias to window-body-width.
9788
18af70d0
CY
97892011-06-07 Chong Yidong <cyd@stupidchicken.com>
9790
9791 * image-mode.el (image-toggle-animation): New command.
9792 (image-mode-map): Bind it to RET.
9793 (image-mode): Update message.
9794 (image-toggle-display-image): Avoid a spurious cache flush.
9795 (image-transform-rotation): Doc fix.
9796 (image-transform-properties): Return quickly in the normal case.
9797 (image-animate-loop): Rename from image-animate-max-time.
9798
2b75be67 9799 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9800 (create-animated-image): Remove unnecessary function.
9801 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9802 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9803 (image-animate-timer): Use car-safe.
9804 (image-animate-timeout): Rename argument.
9805
190b47e6
MR
98062011-06-07 Martin Rudalics <rudalics@gmx.at>
9807
9808 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9809 window.c. Rename first argument to ALL-FRAMES.
9810 Rephrase doc-strings.
9811 (get-buffer-window-list): Rewrite using window-list-1.
9812 Rephrase doc-string.
a1511caf
MR
9813 (window-safe-min-height, window-safe-min-width): New constants.
9814 (window-size-ignore, window-min-size, window-min-size-1)
9815 (window-sizable, window-sizable-p, window-size-fixed-1)
9816 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9817 (window-max-delta-1, window-max-delta, window-resizable)
9818 (window-resizable-p, window-total-height, window-total-width)
9819 (window-body-width): New functions.
9820 (window-full-height-p, window-full-width-p): Rewrite using
9821 window-total-size.
9822 (window-body-height): Rewrite using window-body-size.
190b47e6 9823
85cc1f11
MR
98242011-06-06 Martin Rudalics <rudalics@gmx.at>
9825
9826 * window.el (window-right, window-left, window-child)
9827 (window-child-count, window-last-child, window-any-p)
9828 (normalize-live-buffer, normalize-live-frame)
9829 (normalize-any-window, normalize-live-window)
9830 (window-iso-combination-p, window-iso-combined-p)
9831 (window-iso-combinations)
9832 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9833 (windows-with-parameter, window-with-parameter)
9834 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9835 (window-atom-check, window-side-check, window-check):
9836 New functions.
85cc1f11
MR
9837 (ignore-window-parameters, window-sides, window-sides-vertical)
9838 (window-sides-slots): New variables.
9839 (window-size-fixed): Move down in code. Minor doc-string fix.
9840
e7156492
AS
98412011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9842
9843 * comint.el (comint-dynamic-complete-as-filename)
9844 (comint-dynamic-complete-filename): Correctly call
9845 completion-in-region.
9846
7e821d0d
DD
98472011-06-05 Deniz Dogan <deniz@dogan.se>
9848
9849 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9850 in last change.
9851
ac09b8a1
DD
98522011-06-05 Deniz Dogan <deniz@dogan.se>
9853
9854 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9855 (rcirc): Use it to prompt for encryption.
9856
34699b85
RW
98572011-06-05 Roland Winkler <winkler@gnu.org>
9858
9859 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9860 (bibtex-search-entries): New command bound to C-c C-a.
9861 (bibtex-display-entries): New function.
9862
004dedd3
RW
98632011-06-05 Roland Winkler <winkler@gnu.org>
9864
9865 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9866 (bibtex-insert-kill): After yanking insert newline if necessary.
9867 (bibtex-initialize): Call bibtex-string-files-init only once.
9868 (bibtex-mode): Do not call easy-menu-add.
9869 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9870 (bibtex-yank): Set arg properly if nil.
9871
022fe7ce
RW
98722011-06-05 Roland Winkler <winkler@gnu.org>
9873
2b75be67
SM
9874 * textmodes/bibtex.el (bibtex-search-entry-globally):
9875 New variable.
022fe7ce
RW
9876 (bibtex-search-entry): Use it.
9877
b7c3692a
RW
98782011-06-05 Roland Winkler <winkler@gnu.org>
9879
9880 * textmodes/bibtex.el (bibtex-entry-format): New option
9881 sort-fields.
9882 (bibtex-format-entry, bibtex-reformat): Honor this option.
9883 (bibtex-parse-entry): Return fields in proper order.
9884
8eda563d
JB
98852011-06-05 Juanma Barranquero <lekktu@gmail.com>
9886
9887 * doc-view.el (doc-view-remove-if): Move computation of result out
9888 of `dolist' to silence misleading lexical-binding warning.
9889
7dbe3dbc
CY
98902011-06-04 Chong Yidong <cyd@stupidchicken.com>
9891
9892 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9893 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9894
0c33dd17
MA
98952011-06-04 Michael Albinus <michael.albinus@gmx.de>
9896
9897 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9898 "SunOS 5.10".
9899
f8f91c2b
MA
99002011-06-04 Michael Albinus <michael.albinus@gmx.de>
9901
9902 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9903 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9904 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9905 (tramp-parse-putty):
9906 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9907 (tramp-completion-function-alist-ssh)
9908 (tramp-completion-function-alist-telnet)
9909 (tramp-completion-function-alist-su)
9910 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9911 cookie.
9912
9913 * net/tramp-ftp.el:
9914 * net/tramp-sh.el:
9915 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9916 load "tramp.el" `tramp-set-completion-function'.
9917
e17d9003
SM
99182011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * shell.el: Require and use pcomplete.
9921 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9922 (shell-completion-vars): Set pcomplete-default-completion-function.
9923
6c4cab03
DD
99242011-06-04 Deniz Dogan <deniz@dogan.se>
9925
9926 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9927 `memq' (Bug#8799).
9928
ea9fafe0
SM
99292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9930
9931 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9932
b3e945d3
JB
99332011-06-02 Juanma Barranquero <lekktu@gmail.com>
9934
9935 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9936 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9937 * vc/log-view.el (log-view-beginning-of-defun):
9938 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9939 (smerge-refine-forward, smerge-refine-chopup-region):
9940 Silence warning for unused `dotimes' counter variables.
9941
7d520089
SM
99422011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 * net/tramp.el (tramp-with-progress-reporter): Rename from
9945 with-progress-reporter. Use `declare'.
9946 * net/tramp-smb.el:
9947 * net/tramp-sh.el:
9948 * net/tramp-gvfs.el: Update all uses.
9949
a1c2400f
JB
99502011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9951
9952 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9953 buffer isn't killed before making it current.
9954
2403c841
SM
99552011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 Silence various byte-compiler warnings.
9958 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9959 `access-type' and new obsolescence format.
9960 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9961 new format.
9962 (byte-compile-check-variable): New `access-type' argument.
9963 Only warn if the access-type is obsolete.
9964 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9965 (byte-compile-variable-set): Adjust callers.
9966 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9967 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9968 setting it as obsolete.
9969 * simple.el (minibuffer-completing-symbol):
9970 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9971 access as obsolete.
9972 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9973 obsolete yet.
9974 * international/quail.el (quail-mouse-choose-completion): Remove unused
9975 code referring to obsolete var.
9976 (quail-choose-completion-string): Remove.
9977 * server.el (server-clients-with, server-kill-buffer-query-function)
9978 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9979 * proced.el (proced-send-signal):
9980 * emacs-lisp/lisp.el (lisp-complete-symbol):
9981 Replace completion-annotate-function with completion-extra-properties.
9982
2462470b
SM
99832011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9984
fb5b2591
SM
9985 * simple.el (goto-line): Use read-number.
9986 (overriding-map-is-bound): Remove.
9987 (saved-overriding-map): Change default.
9988 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9989 Take the map as argument.
9990 (universal-argument, negative-argument, digit-argument): Use it.
9991 (restore-overriding-map): Adjust.
9992 (do-auto-fill): Use fill-forward-paragraph.
9993 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9994
fd6fa53f
SM
9995 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9996 (minibuffer-inactive-mode): New major mode.
9997 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9998 the *Messages* buffer" hack.
9999 (mouse-popup-menubar): Don't burp if the event is a normal key.
10000
2462470b
SM
10001 Miscellaneous tweaks.
10002 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10003 lexical scoping as in subr.el's dolist and dotimes.
10004 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10005 Silence compiler warning.
10006 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10007 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10008 * international/ccl.el (ccl-compile): Trivial simplification.
10009 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10010 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10011 `printflag' argument.
10012 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10013 Purecopy the whole obsolescence data.
10014
108bf785
LL
100152011-06-01 Leo Liu <sdl.web@gmail.com>
10016
10017 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10018 improve doc-string as suggested by Marco Pessotto
10019 <melmothx@gmail.com>.
10020 (rcirc-print): Fix last change.
10021
30a23501
SM
100222011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * minibuffer.el (complete-with-action): Return nil for the metadata and
10025 boundaries of non-functional tables.
10026 (completion-table-dynamic): Return nil for the metadata.
10027 (completion-table-with-terminator): Add default case, using
10028 complete-with-action.
10029 (completion--metadata): New function.
10030 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10031 to try and avoid pathological performance problems.
10032 (completion--embedded-envvar-table): Return `category' metadata.
10033
bcd54f83
LMI
100342011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10035
10036 * subr.el (process-alive-p): New tiny convenience function.
10037
e227544d
SM
100382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10041 content but also its previous major mode.
10042
e8296fdc
HE
100432011-05-31 Helmut Eller <eller.helmut@gmail.com>
10044
4d61f28d 10045 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10046 *Backtrace* buffer when we exit with C-M-c.
10047
620c53a6
SM
100482011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10049
10050 * minibuffer.el: Add metadata method to completion tables.
10051 (completion-category-overrides): New defcustom.
10052 (completion-metadata, completion--field-metadata)
10053 (completion-metadata-get, completion--styles)
10054 (completion--cycle-threshold): New functions.
10055 (completion-try-completion, completion-all-completions):
10056 Add `metadata' argument to choose completion-styles.
10057 (completion--do-completion): Use metadata to choose cycling.
10058 (completion-all-sorted-completions): Use metadata for sorting.
10059 Remove :completion-cycle-penalty which is not needed any more.
10060 (completion--try-word-completion): Add `metadata' argument.
10061 (minibuffer-completion-help): Check metadata for annotation function
10062 and sorting.
10063 (completion-file-name-table): Return `category' metadata.
10064 (minibuffer-completing-file-name): Make obsolete.
10065 * simple.el (minibuffer-completing-symbol): Make obsolete.
10066 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10067 completion-try-completion.
10068
1257e755
SM
100692011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10072
3767e706
LL
100732011-05-30 Leo Liu <sdl.web@gmail.com>
10074
10075 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10076 (rcirc-print): Decode all incoming messages (bug#8744).
10077 (rcirc-decode-coding-system): Allow value nil for automatic coding
10078 system detection.
3767e706 10079
d1a5d56a
GM
100802011-06-01 Glenn Morris <rgm@gnu.org>
10081
10082 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10083
e8cbec34
CY
100842011-05-29 Chong Yidong <cyd@stupidchicken.com>
10085
10086 * image.el (image-animate-max-time): Allow nil and t values.
10087 Default to nil.
10088 (create-animated-image): Doc fix.
10089 (image-animate-start): Remove second arg; just use
10090 image-animate-max-time.
10091 (image-animate-timeout): Doc fix. Args changed.
10092
10093 * image-mode.el (image-toggle-display-image): Ensure that the
10094 image spec passed to the animate timer is the same object as in
58179cce 10095 the buffer's display property (Bug#6981).
e8cbec34
CY
10096 (image-transform-properties): Doc fix.
10097
10098 * image.el (image-animate-max-time): Default to nil.
10099
159daf87
MR
101002011-05-29 Martin Rudalics <rudalics@gmx.at>
10101
10102 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10103 entire buffer list (Bug#8184).
10104
d66c4c7c
CY
101052011-05-29 Chong Yidong <cyd@stupidchicken.com>
10106
10107 * image.el (imagemagick-types-inhibit)
10108 (imagemagick-register-types): Doc fix.
10109
80aec780
DD
101102011-05-29 Deniz Dogan <deniz@dogan.se>
10111
10112 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10113 default.
10114
1dd3c2d9
CY
101152011-05-29 Chong Yidong <cyd@stupidchicken.com>
10116
10117 * select.el: Don't perform clipboard-manager saving in hooks;
10118 leave the hooks empty.
10119
60e56523
LL
101202011-05-28 Leo Liu <sdl.web@gmail.com>
10121
10122 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10123 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10124 (occur-edit-mode): New major mode (Bug#8463).
10125 (occur-after-change-function): New function.
10126 (occur-engine): Give Occur tags a read-only property.
10127
2b1e1a22
KR
101282011-05-28 Kevin Ryde <user42@zip.com.au>
10129
10130 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10131
5d344e88
CY
101322011-05-28 Chong Yidong <cyd@stupidchicken.com>
10133
8e6ca83d
CY
10134 * bindings.el (help-echo): Make the initial non-indicator dash
10135 empty on graphical terminals (Bug#7295).
10136
5d344e88
CY
10137 * files.el (auto-mode-alist): Move config rule after the
10138 in-stripping one (Bug#8547).
10139
bfbbace7
CY
10140 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10141
fbeba6e2
CY
10142 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10143 setting (Bug#8740).
10144
60ed8c72
AA
101452011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10146
4ac619f0
AA
10147 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10148 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10149 (Bug#8539).
60ed8c72 10150
23db196e
CY
101512011-05-28 Chong Yidong <cyd@stupidchicken.com>
10152
10153 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10154
5012f24c
DK
101552011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10156
10157 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10158 (hs-hide-block-at-point, hs-find-block-beginning)
10159 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10160 (Bug#8279).
10161
6a639b16
GM
101622011-05-28 Glenn Morris <rgm@gnu.org>
10163
10164 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10165
d43eaf2c
CY
101662011-05-28 Chong Yidong <cyd@stupidchicken.com>
10167
5199bde1
CY
10168 * help-fns.el (describe-function-1): If the function is a derived
10169 major mode, print the parent mode.
10170
d43eaf2c
CY
10171 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10172 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10173
423428a8
SM
101742011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10175
0ff8e1ba 10176 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10177 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10178 * progmodes/etags.el (tags-completion-at-point-function):
10179 * info-look.el (info-lookup-completions-at-point): Mark as
10180 non-exclusive.
10181 (info-complete): Adjust accordingly.
10182
423428a8
SM
10183 * info-look.el: Convert to lexical-binding and completion-at-point.
10184 (info-lookup-completions-at-point): New function.
10185 (info-complete): Use it and completion-in-region.
10186
b74aa22b
DA
101872011-05-28 Drew Adams <drew.adams@oracle.com>
10188
10189 * isearch.el: Let M-e start with point at the first mismatched char.
10190 (isearch-fail-pos): New function.
10191 (isearch-edit-string): Use it.
10192
66e2e71d
DK
101932011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10194
10195 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10196
b1890b0f 101972011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10198
10199 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10200 traversal functions for avl-trees.
10201 (avl-tree--stack): New struct.
10202 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10203 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10204 (avl-tree--do-enter): Add optional `updatefun' arg.
10205 Change return value.
eb95d01d 10206 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10207 (avl-tree--do-delete): Add `test' and `nilflag' args.
10208 Change return value.
eb95d01d
TC
10209 (avl-tree-member): Add optional `nilflag'
10210 (avl-tree-member-p): New function.
10211 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10212 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10213 (avl-tree-stack-empty-p): New functions.
10214
3769ddcf
TC
10215 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10216 avl-tree--del-balance1 and make it work both ways.
10217 (avl-tree--del-balance2): Remove.
10218 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10219 make it work both ways.
10220 (avl-tree--enter-balance2): Remove.
10221 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10222 New macros.
10223 (avl-tree--mapc, avl-tree-map): Add direction argument.
10224
eb95d01d 102252011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10226
10227 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10228
a9f737ee
CY
102292011-05-27 Chong Yidong <cyd@stupidchicken.com>
10230
10231 * select.el: Support clipboard managers with built-in function
10232 x-clipboard-manager-save, via delete-frame-functions and
10233 kill-emacs-hook.
10234 (xselect-convert-to-targets): Add MULTIPLE target to list.
10235 (xselect-convert-to-save-targets): New function.
10236
c92a1e54
KH
102372011-05-27 Kenichi Handa <handa@m17n.org>
10238
10239 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10240 let-binding rfc2047-encode-encoded-words to nil.
10241
e145f188
GM
102422011-05-27 Glenn Morris <rgm@gnu.org>
10243
5ec8a862
GM
10244 * mail/emacsbug.el: Don't require url-util.
10245
4b29d9fb
GM
10246 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10247
e145f188
GM
10248 * files.el (set-auto-mode):
10249 Also respect mode: entries at the end of the file. (Bug#8586)
10250
7d15102b
GM
102512011-05-26 Glenn Morris <rgm@gnu.org>
10252
98f593b8
GM
10253 * files.el (hack-local-variables-prop-line, hack-local-variables):
10254 Downcase mode names, as seems to be traditional.
27b48e63 10255 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10256
7d15102b
GM
10257 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10258 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10259
51d5b4ec
JD
102602011-05-25 Julien Danjou <julien@danjou.info>
10261
10262 * textmodes/rst.el (rst-define-level-faces): Do not define face
10263 symbol if it is already defined.
10264
91513f63
VB
102652011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10266
10267 * play/5x5.el (5x5-new-game, 5x5-randomize):
10268 Reset 5x5-solver-output to nil when a new grid is cast.
10269 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10270 these debugging traces, as defmacro breaks the compiled code.
10271
4d90d6d0
DK
102722011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10273
10274 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10275
e1b90ef6
LL
102762011-05-24 Leo Liu <sdl.web@gmail.com>
10277
10278 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10279 (vc-bzr-sha1): Adapt.
10280
d8e4b68b 10281 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10282
10283 * bindings.el: Provide sha1 feature.
10284
db0406bb 102852011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10286
10287 * mail/sendmail.el: Require `rfc2047'.
10288 (mail-insert-from-field): Do not perform RFC2047 encoding.
10289 (mail-encode-header): New function.
10290 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10291 buffer to the return value of select-message-coding-system.
10292 Call mail-encode-header.
b8d747b9
KH
10293
10294 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10295
db0406bb 102962011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10297
4d90d6d0
DK
10298 * mail/supercite.el (sc-default-cite-frame):
10299 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10300
eb8a5e9b
GM
103012011-05-24 Glenn Morris <rgm@gnu.org>
10302
f8630703
GM
10303 * progmodes/python.el (brm-menu): Declare.
10304
8831bbed
GM
10305 * emulation/viper.el (viper-set-hooks): Declare.
10306
eb8a5e9b
GM
10307 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10308 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10309 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10310 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10311 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10312 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10313
a2a25d24
SM
103142011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10315
10316 Add an :exit-function for completion-at-point.
10317
10318 * minibuffer.el (completion--done): New fun.
10319 (completion--do-completion): Use it. New arg `expect-exact'.
10320 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10321 since completion--do-completion does it for us now.
10322 (minibuffer-force-complete): Use completion--done and
10323 completion--replace. Handle sole-completion case with more care.
10324 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10325 (completion-extra-properties): New var.
10326 (completion-annotate-function): Make obsolete.
10327 (minibuffer-completion-help): Adjust accordingly.
10328 Use completion-list-insert-choice-function.
10329 (completion-at-point, completion-help-at-point):
10330 Bind completion-extra-properties.
10331 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10332 * simple.el (completion-list-insert-choice-function): New var.
10333 (completion-setup-function): Preserve it.
10334 (choose-completion): Pay attention to it, shuffle the code a bit.
10335 (choose-completion-string): New arg `insert-function'.
10336
10337 * textmodes/bibtex.el: Convert to lexical binding.
10338 (bibtex-mode-map): Use completion-at-point.
10339 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10340 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10341 (bibtex-complete): Define as obsolete alias.
10342 (bibtex-complete-internal): Remove.
10343 (bibtex-format-entry): Remove unused sub-group in regexp.
10344 * shell.el (shell--command-completion-data)
10345 (shell-environment-variable-completion):
10346 * pcomplete.el (pcomplete-completions-at-point):
10347 * comint.el (comint--complete-file-name-data): Use :exit-function
10348 instead of completion-table-with-terminator so it also works for
10349 choose-completion.
10350
e44e373d
SM
103512011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10352
4f91a816
SM
10353 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10354
782fc819
SM
10355 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10356 (bug#8710).
10357
e44e373d
SM
10358 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10359
381987c3
KM
103602011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10361
10362 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10363 customization variable and implement: If non-nil, auto-fill will
10364 be inhibited while on topic's header line.
10365
b776bc70
VB
103662011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10367
10368 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10369 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10370 always have a solution in grid size = 5 cases.
10371 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10372 (5x5-solver-output, 5x5-log-buffer): New vars.
10373 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10374 Make these variables buffer local to achieve 5x5 multi-session-ness.
10375 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10376 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10377 (5x5-solve-suggest): New funs.
10378 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10379 randomize a grid so that we ensure that there is always a solution.
10380 (5x5-make-random-grid): Allow other movement than flipping.
10381
7de88b6e
KR
103822011-05-23 Kevin Ryde <user42@zip.com.au>
10383
10384 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10385 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10386 advice and passes PREDICATE.
10387
b1ef1257
SM
103882011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10389
bbca48fe
SM
10390 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10391 byte-compile-lambda if it's actually a lambda.
10392
b1ef1257
SM
10393 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10394 Fix function quoting. Use backquote better.
10395
92a9cc65
YS
103962011-05-22 Yuanle Song <sylecn@gmail.com>
10397
10398 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10399 matching (Bug#8516).
10400
f0fb8059
JA
104012011-01-22 Jari Aalto <jari.aalto@cante.net>
10402
10403 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10404 different face (Bug#8178).
10405
d5b44c93
CY
104062011-05-22 Chong Yidong <cyd@stupidchicken.com>
10407
10408 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10409 defface (Bug#8144).
10410
79106a44
SM
104112011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10412
9c848d8a
SM
10413 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10414 funcall as well (bug#8712). Warn when performing those conversions.
10415 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10416
79106a44
SM
10417 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10418
88dfa756
GM
104192011-05-22 Glenn Morris <rgm@gnu.org>
10420
10421 * files.el (hack-local-variables-prop-line): Small simplifications.
10422 (hack-local-variables, hack-local-variables-prop-line):
10423 If MODE-ONLY, return the mode, rather than just `t'.
10424
b7cf2c79
SM
104252011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10426
10427 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10428
3f1a8558
GM
104292011-05-21 Glenn Morris <rgm@gnu.org>
10430
7e4ccca3
GM
10431 * files.el (hack-local-variables-prop-line, hack-local-variables):
10432 If only interested in the mode, don't bother doing the other stuff.
10433
637d46ca
GM
10434 * image-mode.el (image-after-revert-hook):
10435 Redraw all frames on which the image is visible. (Bug#8567)
10436
973d955b
GM
10437 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10438
3f1a8558
GM
10439 * wid-edit.el (widget-checklist-match-inline):
10440 Fix 2011-04-19 change. (Bug#8649)
10441
96479927
SM
104422011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10443
1dcf791f
SM
10444 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10445 Also allow singlespace after single-letter capitals followed by a dot.
10446
96479927
SM
10447 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10448 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10449
35fd0881
N
104502011-05-20 Nix <nix@esperi.org.uk>
10451
10452 * files.el (basic-save-buffer-2):
10453 Fix handling of break-hardlink-on-save with non-existent files.
10454
82745640
DD
104552011-05-19 Deniz Dogan <deniz@dogan.se>
10456
10457 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10458 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10459
4a720484
GM
104602011-05-19 Glenn Morris <rgm@gnu.org>
10461
d1f21341
GM
10462 * progmodes/f90.el (f90-type-def-re):
10463 Handle "type, bind(c)". (Bug#8691)
10464
4a720484
GM
10465 * emacs-lisp/autoload.el (batch-update-autoloads):
10466 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10467
2fb0a219
MA
104682011-05-18 Michael Albinus <michael.albinus@gmx.de>
10469
10470 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10471 property for the correct connection in case of multihops.
10472
e565dd37
GM
104732011-05-18 Glenn Morris <rgm@gnu.org>
10474
c2571358 10475 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10476 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10477
e565dd37
GM
10478 Rationalize calendar handling of day and month abbrev-arrays.
10479 * calendar/calendar.el (calendar-customized-p): New function.
10480 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10481 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10482 Add :set function.
10483 (calendar-abbrev-length, calendar-day-abbrev-array)
10484 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10485 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10486 Elements may no longer be nil.
10487 (calendar-day-name, calendar-month-name):
10488 Update for changed nature of abbrev arrays.
10489 * calendar/diary-lib.el (diary-name-pattern):
10490 Update for changed nature of abbrev arrays.
10491 (diary-mark-entries-1): Update calendar-make-alist calls.
10492 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10493 * calendar/cal-html.el (cal-html-day-abbrev-array):
10494 Simply inherit from calendar-day-abbrev-array.
10495
1d99a745
SM
104962011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * progmodes/grep.el (grep-mode): Disable default
10499 compilation-directory-matcher setting (bug#8684).
10500
7c1d9aa0
MA
105012011-05-17 Michael Albinus <michael.albinus@gmx.de>
10502
10503 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10504 instead of "head" and "tail". There were problems with SunOS 5.9,
10505 and it performs better.
10506
3952e9d8
GM
105072011-05-17 Glenn Morris <rgm@gnu.org>
10508
2dd12e7f
GM
10509 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10510
e4157b9c
GM
10511 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10512 Replace obsolete function.
10513
8e249bbd
GM
10514 * shell.el (pcomplete-parse-arguments-function): Declare.
10515
3952e9d8
GM
10516 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10517 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10518 (appt-check): Doc fixes.
10519 (appt-disp-window-function, appt-delete-window-function):
10520 Remove needless special case in custom :type.
10521 (appt-display-count): Default to 0, not nil.
10522 (appt-check): Reset appt-display-count to 0, not nil.
10523
c71a0d48 105242011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10525
c71a0d48
GM
10526 * progmodes/python.el (python-font-lock-keywords):
10527 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10528
31d55be9
SM
105292011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10530
10531 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10532
3bfacb2f
KR
105332011-05-16 Kevin Ryde <user42@zip.com.au>
10534
10535 * info-look.el (makefile-automake-mode): New setups, looking in
10536 automake manual, then makefile-mode.
10537 (makefile-mode): Remove automake manual, have it just in
10538 makefile-automake-mode since there's various things different or
10539 not relevant to plain make.
10540 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10541 believe a hypothetical automake-mode would go to makefile-mode,
10542 not the other way around.
10543
c8e83751
CY
105442011-05-15 Chong Yidong <cyd@stupidchicken.com>
10545
5e9e35cd
CY
10546 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10547 hunk-end tags (Bug#8672).
10548
c8e83751
CY
10549 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10550 vc-annotate-show-diff-revision-at-line (Bug#8671).
10551
50b23e5a
GM
105522011-05-14 Glenn Morris <rgm@gnu.org>
10553
7210a739
GM
10554 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10555 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10556 (change-log-font-lock-keywords): Also handle multiple author lines
10557 with leading tabs. (Bug#8644)
7210a739 10558
4691905a
GM
10559 * calendar/appt.el (appt-check): Rename some local variables.
10560 Some simplification/reordering.
10561
50b23e5a
GM
10562 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10563 (feedmail-sendmail-f-doesnt-sell-me-out)
10564 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10565 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10566 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10567 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10568 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10569 (feedmail-binmail-gnulinuxish-template):
10570 Rename from feedmail-binmail-linuxish-template.
10571 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10572 Use insert-buffer-substring.
10573
215cda7c
BC
105742011-05-14 Bill Carpenter <bill@carpenter.org>
10575
10576 * mail/feedmail.el (feedmail-patch-level): Increase.
10577 (feedmail-debug): New custom group.
10578 (feedmail-confirm-outgoing-timeout)
10579 (feedmail-sendmail-f-doesnt-sell-me-out)
10580 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10581 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10582 (feedmail-sender-line, feedmail-from-line)
10583 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10584 (feedmail-spray-this-address)
215cda7c
BC
10585 (feedmail-spray-address-fiddle-plex-list)
10586 (feedmail-queue-use-send-time-for-date)
10587 (feedmail-queue-use-send-time-for-message-id)
10588 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10589 (feedmail-buffer-eating-function):
10590 Doc fixes.
10591 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10592 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10593 (feedmail-message-action-scroll-down): New functions.
10594 (feedmail-queue-directory, feedmail-queue-draft-directory):
10595 Use expand-file-name.
10596 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10597 Remove C-v help entry.
10598 (feedmail-queue-buffer-file-name): New variable.
10599 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10600 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10601 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10602 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10603 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10604 (feedmail-message-action-toggle-spray)
10605 (feedmail-run-the-queue-no-prompts)
10606 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10607 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10608 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10609 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10610 (feedmail-envelope-deducer, feedmail-fiddle-from)
10611 (feedmail-fiddle-sender, feedmail-default-date-generator)
10612 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10613 (feedmail-fiddle-spray-address)
10614 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10615 (feedmail-fiddle-list-of-fiddle-plexes)
10616 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10617 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10618 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10619 Change default. Doc fix.
10620 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10621 (feedmail-binmail-linuxish-template): New constant.
10622 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10623 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10624 (feedmail-send-it): Add debug call.
10625 Use feedmail-queue-buffer-file-name, and
10626 feedmail-send-it-immediately-wrapper.
10627 (feedmail-message-action-send): Add debug call.
10628 Use feedmail-send-it-immediately-wrapper.
10629 (feedmail-queue-express-to-queue): Add debug call.
10630 Run feedmail-queue-express-hook.
10631 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10632 (feedmail-message-action-help-blat):
10633 Rename from feedmail-queue-send-edit-prompt-help-first.
10634 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10635 Check line-endings. Handle errors better.
10636 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10637 Doc fix. Add debug call.
10638 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10639 Use feedmail-queue-send-edit-prompt-inner.
10640 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10641 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10642 from feedmail-queue-send-edit-prompt.
10643 (feedmail-queue-send-edit-prompt-help)
10644 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10645 (feedmail-tidy-up-slug): Add debug call.
10646 Respect feedmail-queue-slug-suspect-regexp.
10647 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10648 (feedmail-dump-message-to-queue): Add debug call.
10649 Expand queue-directory.
10650 (feedmail-dump-message-to-queue): Change message slightly.
10651 Use feedmail-say-chatter.
10652 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10653 (feedmail-send-it-immediately-wrapper): New function.
10654 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10655 Insert empty string rather than newline. Handle full-frame case.
10656 Use catch/throw. Use feedmail-say-chatter.
10657 (feedmail-fiddle-from): Try mail-host-address.
10658 (feedmail-default-message-id-generator): Doc fix.
10659 Bind system-time-locale. Handle missing end.
10660 (feedmail-fiddle-x-mailer): Add debug call.
10661 Handle feedmail-x-mailer-line being nil.
10662 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10663 Add debug call. Use buffer-substring-no-properties.
10664 (feedmail-say-debug, feedmail-say-chatter): New functions.
10665 (feedmail-find-eoh): Give an explicit error.
10666
42c7e61e
UJ
106672011-05-13 Ulf Jasper <ulf.jasper@web.de>
10668
c2571358 10669 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10670 family from helvetica to sans.
c2571358 10671 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10672 etc/images/newsticker.
10673
c2571358 10674 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10675 family from helvetica to sans.
10676
10677 * net/newst-plainview.el (newsticker-new-item-face)
10678 (newsticker-old-item-face, newsticker-immortal-item-face)
10679 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10680 (newsticker-statistics-face): Change default family from
42c7e61e 10681 helvetica to sans.
c2571358 10682 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10683 etc/images/newsticker.
10684
10685 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10686 (newsticker--process-auto-mark-filter-match): : Tell user about
10687 auto-marking.
10688
8497a297
DV
106892011-05-13 Didier Verna <didier@xemacs.org>
10690
10691 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10692 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10693 TODO entries.
8497a297
DV
10694 (lisp-lambda-list-keyword-parameter-indentation)
10695 (lisp-lambda-list-keyword-parameter-alignment)
10696 (lisp-lambda-list-keyword-alignment): New customizable user options.
10697 (lisp-indent-defun-method): Improve docstring.
10698 (extended-loop-p): Fix comment.
10699 (lisp-indent-lambda-list-keywords-regexp): New variable.
10700 (lisp-indent-lambda-list): New function.
10701 (lisp-indent-259): Use it.
10702 (lisp-indent-defmethod): Support for more than one
10703 method qualifier and properly indent methods lambda-lists.
10704 (defgeneric): Provide a missing common-lisp-indent-function property.
10705
f278f87f
SM
107062011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10707
10708 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10709 bounds for the empty string (bug#8667).
10710
5233edd7
GM
107112011-05-13 Glenn Morris <rgm@gnu.org>
10712
5237a44f
GM
10713 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10714
8340026c 10715 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10716 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10717
5233edd7 10718 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10719 (appt-time-msg-list): Doc fix.
a5464014 10720 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10721
92d10796
AS
107222011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10723
10724 * progmodes/ld-script.el (ld-script-keywords)
10725 (ld-script-builtins): Update keywords list.
10726
914a0ae1
SM
107272011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10728
c89be45f
SM
10729 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10730
914a0ae1
SM
10731 * shell.el (shell-completion-vars): New function.
10732 (shell-mode):
10733 * simple.el (read-shell-command): Use it.
10734 (blink-matching-open): No need for " [...]" in minibuffer-message.
10735
98dc3df3
GM
107362011-05-12 Glenn Morris <rgm@gnu.org>
10737
10738 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10739 (appt-check): Simplify.
10740
d2fc7e3d 107412011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10742
4d61f28d 10743 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10744 literal "/dev/null".
10745
d2fc7e3d 107462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10747
10748 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10749 Fix typo.
10750
d2fc7e3d 107512011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10752
3f254caa
SM
10753 * progmodes/which-func.el (which-function):
10754 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10755 which might not be defined (Bug#8260).
10756
d45885f7
GM
107572011-05-12 Glenn Morris <rgm@gnu.org>
10758
10759 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10760 Let byte-compile-initial-macro-environment always take precedence.
10761
488086f4
SM
107622011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * net/rcirc.el: Add support for SSL/TLS connections.
10765 (rcirc-server-alist): New field `encryption'.
10766 (rcirc): Check `encryption' settings.
10767 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10768 Merge make-local-variable into `set'.
10769 (rcirc--connection-open-p): New function.
10770 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10771 the process is not a network process (e.g. running gnutls-cli).
10772 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10773 Make rcirc-(en|de)code-coding-system local here.
10774 (rcirc-mode): Merge make-local-variable into `set'.
10775 (rcirc-parent-buffer): Make permanent buffer-local.
10776 (rcirc-multiline-minor-mode): Don't do it here.
10777 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10778 there's no server buffer.
10779
7d3b9d44
GM
107802011-05-11 Glenn Morris <rgm@gnu.org>
10781
f64049c6
GM
10782 * newcomment.el (comment-kill): Prefix "unused" local.
10783
93c9df73
GM
10784 * term/w32console.el (get-screen-color): Declare.
10785
7d3b9d44
GM
10786 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10787 Handle symbol elements of byte-compile-initial-macro-environment.
10788
9e2dd53f
LL
107892011-05-10 Leo Liu <sdl.web@gmail.com>
10790
488086f4
SM
10791 * bookmark.el (bookmark-bmenu-mode-map):
10792 Bind bookmark-bmenu-search to `/'.
8b340240 10793
9e2dd53f 10794 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10795 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10796 (Footnote-unicode): New function.
10797 (footnote-style-alist): Add unicode style to the list.
10798 (footnote-style): Doc fix.
9e2dd53f 10799
79b70037
GM
108002011-05-10 Jim Meyering <meyering@redhat.com>
10801
10802 Fix doubled-word typos.
10803 * international/quail.el (quail-insert-kbd-layout): and and -> and
10804 * kermit.el: and and -> and
10805 * net/ldap.el (ldap-search-internal): to to -> to
10806 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10807 * progmodes/js.el (js-mode): and and -> and
10808 * textmodes/artist.el (artist-move-to-xy): at at -> at
10809 (artist-draw-region-trim-line-endings): if if -> if
10810 And Safetyc -> Safety.
10811 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10812
b8f82dc1 108132011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10814 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10815
10816 * files.el (hack-one-local-variable-eval-safep):
10817 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10818
4f99f44b
GM
108192011-05-10 Glenn Morris <rgm@gnu.org>
10820
10821 * calendar/diary-lib.el (diary-list-entries-hook)
10822 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10823 (diary-nongregorian-marking-hook, diary-list-entries)
10824 (diary-include-other-diary-files, diary-mark-entries)
10825 (diary-mark-included-diary-files): Doc fixes.
10826
84f29e6b
JB
108272011-05-09 Juanma Barranquero <lekktu@gmail.com>
10828
10829 * misc.el: Require tabulated-list.el during compilation.
10830
9bedd73a
CY
108312011-05-09 Chong Yidong <cyd@stupidchicken.com>
10832
488086f4
SM
10833 * progmodes/compile.el (compilation-start):
10834 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10835 (compilation-filter-hook): Doc fix.
10836
797c735c
DD
108372011-05-09 Deniz Dogan <deniz@dogan.se>
10838
10839 * wdired.el: Remove outdated installation comment. Fix usage
10840 comment.
10841
5f4b1dfe
JB
108422011-05-09 Juanma Barranquero <lekktu@gmail.com>
10843
10844 * misc.el: Implement new command `list-dynamic-libraries'.
10845 (list-dynamic-libraries--loaded-only-p): New variable.
10846 (list-dynamic-libraries--refresh): New function.
10847 (list-dynamic-libraries): New command.
10848
4c44026c
CY
108492011-05-09 Chong Yidong <cyd@stupidchicken.com>
10850
488086f4
SM
10851 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10852 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10853 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10854 higher priority to avoid clobbering by gnu.
10855
027f966d
CY
108562011-05-08 Chong Yidong <cyd@stupidchicken.com>
10857
10858 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10859 if the face has existing theme settings (Bug#8454).
10860
085f5d7d
CY
108612011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10862
488086f4
SM
10863 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10864 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10865
2a86a00c
RS
10866 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10867 special file names `.' and `..' (Bug#8259).
10868
d9c54a06
CY
108692011-05-08 Chong Yidong <cyd@stupidchicken.com>
10870
488086f4
SM
10871 * progmodes/grep.el (grep-mode-font-lock-keywords):
10872 Remove buffer-changing entries.
d9c54a06
CY
10873 (grep-filter): New function.
10874 (grep-mode): Add it to compilation-filter-hook.
10875
10876 * progmodes/compile.el (compilation-filter-hook)
10877 (compilation-filter-start): New defvars.
10878 (compilation-filter): Call compilation-filter-hook prior to
10879 updating the process mark.
10880
c4662635
SM
108812011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10882
10883 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10884
b0512a1d
EZ
108852011-05-07 Eli Zaretskii <eliz@gnu.org>
10886
605c9376
EZ
10887 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10888 mailclient-send-it even if window-system is nil. (Bug#8595)
10889
c4662635
SM
10890 * term/w32console.el (terminal-init-w32console):
10891 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10892 background-mode. (Bug#8597)
10893
d1dc2cc2
SM
108942011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10897 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10898 New functions.
10899 (defgeneric, eieio--defmethod): Use them.
10900 (eieio-defgeneric): Remove.
10901 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10902
915d1300
GM
109032011-05-07 Glenn Morris <rgm@gnu.org>
10904
a3961c3e
GM
10905 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10906 Use let rather than let*.
10907 (timeclock-find-discrep): Remove unused local.
10908
314347b9
GM
10909 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10910
915d1300
GM
10911 * calendar/appt.el (appt-time-msg-list): Doc fix.
10912
275b59b0
NF
109132011-05-06 Noah Friedman <friedman@splode.com>
10914
10915 * apropos.el (apropos-print-doc): Only use
10916 emacs-lisp-docstring-fill-column when it is bound to an integer,
10917 per that variable's documentation.
10918
6c19f744
SM
109192011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10920
10921 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10922 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10923
60f884b2
GM
109242011-05-06 Glenn Morris <rgm@gnu.org>
10925
5006e634
GM
10926 * calendar/appt.el (appt-message-warning-time): Doc fix.
10927 (appt-warning-time-regexp): New option.
10928 (appt-make-list): Respect appt-message-warning-time.
10929
548d0a63
GM
10930 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10931 New options.
10932 (diary-add-to-list): Strip comments from the displayed string.
10933 (diary-mode): Set comment-start and comment-end.
10934
60f884b2
GM
10935 * vc/diff-mode.el (smerge-refine-subst): Declare.
10936 (diff-refine-hunk): Don't require smerge-mode when compiling.
10937
989681bb
JB
109382011-05-06 Juanma Barranquero <lekktu@gmail.com>
10939
10940 * simple.el (list-processes): Return nil as the docstring says.
10941
a6bc05e1
MA
109422011-05-05 Michael Albinus <michael.albinus@gmx.de>
10943
10944 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10945 to "".
10946 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10947 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10948 determining of binary transfer. (Bug#7383)
10949
23c22e9a
MA
109502011-05-05 Michael Albinus <michael.albinus@gmx.de>
10951
c4662635
SM
10952 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10953 Fix port computation bug. (Bug#8618)
23c22e9a 10954
0bff894f
GM
109552011-05-05 Glenn Morris <rgm@gnu.org>
10956
b8296902
GM
10957 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10958
1f522ce8
GM
10959 * simple.el (shell-dynamic-complete-functions)
10960 (comint-dynamic-complete-functions): Declare.
10961
cf5bee67
GM
10962 * net/network-stream.el (gnutls-negotiate):
10963 * simple.el (tabulated-list-print): Fix declarations.
10964
10965 * progmodes/gud.el (syntax-symbol, syntax-point):
10966 Remove unnecessary and incorrect declarations.
10967
0bff894f
GM
10968 * emacs-lisp/check-declare.el (check-declare-scan):
10969 Handle byte-compile-initial-macro-environment in bytecomp.el
10970
9869b3ae
SM
109712011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10972
10973 Fix earlier half-done eieio-defmethod change (bug#8338).
10974 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10975 Streamline and change calling convention.
10976 (defmethod): Adjust accordingly and simplify.
10977 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10978 new eieio--defmethod.
10979 (slot-boundp): Minor CSE simplification.
10980
9c1d5ac5
MZ
109812011-05-05 Milan Zamazal <pdm@zamazal.org>
10982
10983 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10984 (glasses-make-readable): Use glasses-separate-capital-groups.
10985
455c834e
JB
109862011-05-05 Juanma Barranquero <lekktu@gmail.com>
10987
10988 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10989 (warning-series): Doc fix.
10990 (display-warning): Don't try to create the buffer if we just found it.
10991
9ed7c8cb
CY
109922011-05-04 Chong Yidong <cyd@stupidchicken.com>
10993
10994 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10995 (autoload-find-generated-file): New function.
10996 (generate-file-autoloads): Bind generated-autoload-file to
10997 buffer-file-name.
9869b3ae
SM
10998 (update-file-autoloads, update-directory-autoloads):
10999 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11000 output file (Bug#7989).
11001 (batch-update-autoloads): Doc fix.
11002
0898ca10
JB
110032011-05-04 Juanma Barranquero <lekktu@gmail.com>
11004
11005 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11006
31dfb76c
GM
110072011-05-04 Glenn Morris <rgm@gnu.org>
11008
f330b642
GM
11009 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11010 function, so it follows changes in calendar-date-style.
11011 (diary-fancy-date-matcher): New function.
11012 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11013 (diary-fancy-font-lock-fontify-region-function):
11014 Use diary-fancy-date-pattern as a function.
11015
31dfb76c
GM
11016 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11017 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11018
48e79d6a
TZ
110192011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11020
11021 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11022 instead of positional arguments. Allow :keylist and :crlfiles
11023 arguments.
11024 (open-gnutls-stream): Call it.
11025
11026 * net/network-stream.el (network-stream-open-starttls): Adjust to
11027 call `gnutls-negotiate' with :process and :hostname arguments.
11028
dd5a5ee0
SM
110292011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11030
ef80fc09
SM
11031 * minibuffer.el (completion--message): New function.
11032 (completion--do-completion, minibuffer-complete)
11033 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11034 (completion--do-completion): Don't ignore completion-auto-help when in
11035 icomplete-mode.
11036
dd5a5ee0
SM
11037 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11038 internal encoding (e.g. tibetan zero is not whitespace).
11039 (global-whitespace-mode): Prefer save-current-buffer.
11040 (whitespace-trailing-regexp): Remove useless save-match-data.
11041 (whitespace-empty-at-bob-regexp): Minor simplification.
11042
b7d22a83
CY
110432011-05-03 Chong Yidong <cyd@stupidchicken.com>
11044
11045 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11046
5192af46
AM
110472011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11048
11049 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11050 Use `concat' to create string for insertion.
5192af46 11051
5767d190
SM
110522011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11055 Avoid open-line which runs post-self-insert-hook.
11056 (bibtex-fill-entry): Remove unused `end' var.
11057
bf242939
AM
110582011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11059
5767d190
SM
11060 * textmodes/ispell.el (ispell-add-per-file-word-list):
11061 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11062
25666126
LL
110632011-05-03 Leo Liu <sdl.web@gmail.com>
11064
11065 * isearch.el (isearch-yank-pop): New command.
5767d190 11066 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11067 (isearch-forward): Mention it.
11068
52d3c2d0
SM
110692011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11070
1bcace58
SM
11071 * simple.el (minibuffer-complete-shell-command): Remove.
11072 (minibuffer-local-shell-command-map): Use completion-at-point.
11073 (read-shell-command): Setup completion vars here instead.
11074 (read-expression-map): Bind TAB to symbol completion.
11075
52d3c2d0
SM
11076 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11077 error directly rather via storing it into `results'.
11078
35813471
LL
110792011-05-02 Leo Liu <sdl.web@gmail.com>
11080
11081 * vc/diff.el: Fix description.
11082
e793a940
LMI
110832011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11084
11085 * server.el (server-eval-at): New function.
11086
8de66e05
LMI
110872011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11088
11089 * net/network-stream.el (open-network-stream): Take a :nowait
11090 parameter and pass it on to `make-network-process'.
11091 (network-stream-open-plain): Ditto.
11092
dcb79f20
AS
110932011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11094
11095 * faces.el (face-spec-set-match-display): Don't match toolkit
11096 options on terminal frames.
11097
14a7fbd8
SM
110982011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11099
7eabc1be
SM
11100 * progmodes/pascal.el: Use lexical binding.
11101 (pascal-mode-map): Remove author preferences.
11102
14a7fbd8
SM
11103 * pcomplete.el (pcomplete-std-complete): Don't abuse
11104 completion-at-point.
11105
50f84510
JB
111062011-04-28 Juanma Barranquero <lekktu@gmail.com>
11107
6e087a44
JB
11108 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11109 removing code that has been dead since 1991 or so.
11110
50f84510
JB
11111 * startup.el (command-line): When warning about "_emacs", use a
11112 delayed warning to allow the user to filter it out.
11113
0ba690bd
DD
111142011-04-28 Deniz Dogan <deniz@dogan.se>
11115
11116 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11117 user has not joined.
11118
08abfaad
SM
111192011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11120
11121 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11122 aren't any completions at point.
11123
638f053a
JB
111242011-04-28 Juanma Barranquero <lekktu@gmail.com>
11125
11126 * subr.el (display-delayed-warnings): New function.
11127 (delayed-warnings-hook): New variable.
11128
8fff8daa
SM
111292011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11130
08abfaad
SM
11131 * minibuffer.el (completion-at-point, completion-help-at-point):
11132 Don't presume that a given completion-at-point-function will always
11133 use the same calling convention.
11134
8fff8daa
SM
11135 * pcomplete.el (pcomplete-completions-at-point):
11136 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11137 pcomplete-seen is non-nil.
11138 (pcomplete-comint-setup): Also recognize the new comint/shell
11139 completion functions.
11140 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11141 pcomplete-seen is non-nil.
11142
841a1577 111432011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11144
841a1577 11145 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11146 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11147 the first character in the entry. This allows for code to add its
211ec907
UJ
11148 own uid to the entry.
11149 (icalendar--convert-float-to-ical): Add export of
11150 `diary-float'-entries save for those with the optional DAY
11151 argument.
11152
2a782793
DC
111532011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11154
11155 * subr.el (shell-quote-argument): Use alternate escaping strategy
11156 when we spot a variable reference in a string.
11157
0438ce91
DC
111582011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11159
11160 * cus-start.el (all): Define customization for debug-on-event.
11161
841a1577 111622011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11163
11164 * subr.el (shell-quote-argument): Escape correctly under Windows.
11165
d090ed6c
SM
111662011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11169
bfd31217
MA
111702011-04-25 Michael Albinus <michael.albinus@gmx.de>
11171
d090ed6c
SM
11172 * net/tramp.el (tramp-process-actions): Add POS argument.
11173 Delete region between POS and (pos).
bfd31217 11174
d090ed6c
SM
11175 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11176 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11177 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11178
11179 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11180 position in `tramp-process-actions' call.
11181
11182 * net/trampver.el: Update release number.
11183
e92f3bd3
SM
111842011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11185
850256b5
SM
11186 * custom.el (defcustom): Obey lexical-binding.
11187
e92f3bd3
SM
11188 Fix octave-inf completion problems reported by Alexander Klimov.
11189 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11190 Inherit from octave-mode-syntax-table.
11191 (inferior-octave-mode): Set info-lookup-mode.
11192 (inferior-octave-completion-at-point): New function.
11193 (inferior-octave-complete): Use it and completion-in-region.
11194 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11195 comint-filename-completion.
11196 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11197 symbol elements which shouldn't be word elements.
11198 (octave-font-lock-keywords, octave-beginning-of-defun)
11199 (octave-function-header-regexp): Adjust regexps accordingly.
11200 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11201
cd22b309
JB
112022011-04-25 Juanma Barranquero <lekktu@gmail.com>
11203
11204 * net/gnutls.el (gnutls-errorp): Declare before first use.
11205
8b492194
TZ
112062011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11207
11208 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11209 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11210 default trustfile exists before going to use it. Add missing
5a5fa834 11211 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11212 Reported by Claudio Bley <claudio.bley@gmail.com>.
11213 (open-gnutls-stream): Add usage example.
11214
11215 * net/network-stream.el (network-stream-open-starttls): Give host
11216 parameter to `gnutls-negotiate'.
11217 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11218 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11219
841a1577 112202011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11221
cd22b309
JB
11222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11223 Use correct match group (bug#8438).
05842630 11224
3ba7869c
CY
112252011-04-24 Chong Yidong <cyd@stupidchicken.com>
11226
512e3ae1
CY
11227 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11228 (package-menu--generate): New arg specifying packages to show.
11229 (package-menu-refresh, package-menu-execute, list-packages):
11230 Callers changed.
11231 (package-show-package-list): New function, replacing deleted
11232 package--list-packages (renamed because it is non-internal).
11233
11234 * finder.el (finder-list-matches): Use package-show-package-list
11235 instead of deleted package--list-packages.
11236
e92f3bd3
SM
11237 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11238 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11239 (vc-annotate-mode-map): Bind it to RET.
11240
7031be6d
UR
112412011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11242
11243 * progmodes/etags.el (next-file): Don't use set-buffer to change
11244 buffers (Bug#8478).
11245
4ef177aa
CY
112462011-04-24 Chong Yidong <cyd@stupidchicken.com>
11247
c8d173eb
CY
11248 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11249
4ef177aa
CY
11250 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11251 (apropos-accumulator): Doc fix.
11252 (apropos-function, apropos-macro, apropos-command)
11253 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11254 (apropos-plist): Add face property.
11255 (apropos-symbols-internal): Fix indentation.
11256 (apropos-print): Simplify help, and recognize apropos-multi-type.
11257 (apropos-print-doc): Use button-type-get to extract the button's
11258 face property. Fill docstring (Bug#8352).
11259
4ffd0d6b 112602011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11261
11262 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11263
c6c32125 11264 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11265 (mpuz-mode-map): Use mapc.
c6c32125
JB
11266 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11267 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11268 Fix typos in docstrings.
11269
58d468b4
JB
11270 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11271 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11272
6470c3c6
JB
11273 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11274
4ffd0d6b 112752011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11276
11277 * minibuffer.el (completion--do-completion): Avoid the "Next char
11278 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11279
3ad8bad0
CY
11280 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11281 mouse-2 into unread-command-events, it is interpreted correctly.
11282
71d73c9c 11283 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11284 (image-toggle-display): Doc fix.
71d73c9c 11285
841a1577 112862011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11287
4ffd0d6b
GM
11288 * textmodes/page.el (what-page): Use line-number-at-pos to
11289 calculate line number (Bug#6825).
6e1dbaa9 11290
c2fb1b60
JB
112912011-04-22 Juanma Barranquero <lekktu@gmail.com>
11292
11293 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11294 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11295 Pass argument NO-DEFAULT to `find-tag-interactive'.
11296
e02f48d7
JB
112972011-04-22 Juanma Barranquero <lekktu@gmail.com>
11298
11299 Lexical-binding cleanup.
11300
11301 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11302 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11303 * progmodes/ada-prj.el (ada-prj-initialize-values)
11304 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11305 (ada-prj-show-value):
11306 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11307 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11308 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11309 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11310 * progmodes/bug-reference.el (bug-reference-push-button):
11311 * progmodes/fortran.el (fortran-line-length):
11312 * progmodes/glasses.el (glasses-change):
11313 * progmodes/octave-mod.el (octave-fill-paragraph):
11314 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11315 (python-pdbtrack-grub-for-buffer, python-sentinel):
11316 * progmodes/sql.el (sql-save-connection):
11317 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11318 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11319 Mark unused parameters.
11320
11321 * progmodes/compile.el (compilation--flush-directory-cache)
11322 (compilation--flush-parse, compile-internal): Mark unused parameters.
11323 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11324 (compilation-next-error-function): Remove unused variable `timestamp'.
11325
11326 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11327 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11328
11329 * progmodes/dcl-mode.el (dcl-end-of-command):
11330 Remove unused variable `start'.
11331 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11332 (dcl-option-value-basic, dcl-option-value-offset)
11333 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11334 Mark unused parameters.
11335 (dcl-save-local-variable): Remove unused variable `val'.
11336 (mode): Declare.
11337
11338 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11339 Mark unused parameters.
11340 (delphi-ignore-changes): Move before first use.
11341 (delphi-charset-token-at): Remove unused variable `start'.
11342 (delphi-else-start): Remove unused variable `if-count'.
11343 (delphi-comment-block-start, delphi-comment-block-end):
11344 Remove unused variable `kind'.
11345 (delphi-indent-line): Remove unused variable `new-point'.
11346
11347 * progmodes/ebrowse.el (ebrowse-files-list)
11348 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11349 Mark unused parameters. Don't quote `lambda'.
11350 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11351 Don't quote `lambda'.
11352 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11353 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11354 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11355 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11356 Use `ignore-errors'.
11357 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11358 (ebrowse-view/find-file-and-search-pattern)
11359 (ebrowse-view/find-member-declaration/definition):
11360 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11361 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11362 Rename parameter PREFIX-ARG to PREFIX.
11363 (ebrowse-tags-read-name): Remove unused variables `start' and
11364 `member-info'.
11365 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11366 to `tags-file'.
11367
11368 * progmodes/etags.el (local-find-tag-hook): Declare.
11369 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11370 Mark unused parameters.
11371
11372 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11373 (executable-interpret): Mark unused parameter.
11374
11375 * progmodes/flymake.el (flymake-process-sentinel)
11376 (flymake-after-change-function)
11377 (flymake-create-temp-with-folder-structure)
11378 (flymake-get-include-dirs-dot): Mark unused parameters.
11379 (flymake-safe-delete-directory): Remove unused variable `err'.
11380
11381 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11382 (speedbar-timer-fn, speedbar-line-text)
11383 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11384 (speedbar-center-buffer-smartly): Declare functions.
11385 (gdb-find-watch-expression): Remove unused variable `array'.
11386 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11387 (gdb-starting): Mark unused parameters.
11388 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11389 (gdb-table-string): Remove unused variable `res'.
11390 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11391 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11392 (gdb-display-buffer): Remove unused variable `cur-size'.
11393
11394 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11395 allow lexical-binding compilation.
11396 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11397 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11398 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11399 Mark unused parameters.
11400 (gud-gdb-marker-filter): Remove unused variable `match'.
11401 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11402 lambda expressions and funcall them, instead of using `fset'.
11403
11404 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11405 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11406
11407 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11408 variable `header-beg'; use `let'.
11409
11410 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11411 `restart', `last-sexp' and `at-do'.
11412
11413 * progmodes/js.el (js--debug): Mark unused parameter.
11414 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11415 (js--splice-into-items): Remove unused variable `item'.
11416 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11417
11418 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11419 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11420 (makefile-complete): Remove unused variable `try'.
11421 (makefile-fill-paragraph, makefile-match-function-end):
11422 Mark unused parameters.
11423
11424 * progmodes/octave-inf.el (inferior-octave-complete):
11425 Remove unused variable `proc'.
11426 (inferior-octave-output-digest): Mark unused parameter.
11427
11428 * progmodes/perl-mode.el (perl-calculate-indent):
11429 Remove unused variable `err'.
11430
11431 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11432 (prolog-indent-line): Mark unused parameters.
11433 (prolog-indent-line): Remove unused variable `beg'.
11434
11435 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11436 (reporter-dont-compact-list): Declare.
11437
11438 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11439 Remove unused variable `char'.
11440 (sh-debug): Mark unused parameter.
11441 (sh-get-indent-info): Remove unused variable `start'.
11442 (sh-calculate-indent): Remove unused variable `var'.
11443
11444 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11445 (simula-electric-keyword): Remove unused variable `null'.
11446 (simula-search-backward, simula-search-forward): Remove unused
11447 variables `begin' and `end'.
11448
11449 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11450 Remove unused variable `pos'.
11451 (vera-electric-tab, vera-comment-uncomment-region):
11452 Mark unused parameters.
11453 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11454
7ede3b65
CY
114552011-04-22 Chong Yidong <cyd@stupidchicken.com>
11456
11457 * emacs-lisp/package.el (package--builtins, package-alist)
11458 (package-load-descriptor, package-built-in-p, package-activate)
11459 (define-package, package-installed-p)
11460 (package-compute-transaction, package-buffer-info)
11461 (package--push): Doc fix. Distinguish more clearly between
11462 version strings and version lists.
11463
121656e9
JB
114642011-04-21 Juanma Barranquero <lekktu@gmail.com>
11465
11466 Lexical-binding cleanup.
11467
11468 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11469 (5x5-make-mutate-best):
11470 * play/fortune.el (fortune-in-buffer):
11471 * play/gomoku.el (gomoku-init-display):
11472 * play/solitaire.el (solitaire, solitaire-do-check):
11473 * play/tetris.el (tetris-default-update-speed-function):
11474 Mark unused parameters.
11475
11476 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11477 (bubbles--shift): Remove unused variable `char-org'.
11478 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11479 (bubbles--show-images): Remove unused variable `char'.
11480
11481 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11482 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11483 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11484 (decipher-analyze-buffer): Use ?\s.
11485 (decipher-make-checkpoint): Remove unused variable `mapping'.
11486
11487 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11488
11489 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11490 Remove unused variable `result'; use `let'.
11491
11492 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11493 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11494 (gametree-children-shown-p, gametree-compute-reduced-score):
11495 Use `ignore-errors'.
11496
11497 * play/handwrite.el (ps-lpr-switches): Declare.
11498 (handwrite): Remove unused variables `pmin' and `lastp'.
11499
11500 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11501
11502 * play/landmark.el (landmark-init-display)
11503 (landmark-update-naught-weights): Mark unused parameters.
11504 (landmark-y): Remove unused variable `noise'. Simplify.
11505 (landmark-human-plays): Remove unused variable `score'.
11506
11507 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11508 (mpuz-try-proposal): Remove unused variable `game'.
11509
11510 * play/zone.el (life-patterns): Declare.
11511
80f499c7
JB
115122011-04-20 Juanma Barranquero <lekktu@gmail.com>
11513
11514 * vc/vc.el (ediff-vc-internal): Declare function.
11515
024ff170
SM
115162011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11517
c0a193ea
SM
11518 * shell.el: Use lexical-binding and std completion UI.
11519 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11520 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11521 comint-preoutput-filter-functions rather than on
11522 comint-output-filter-functions.
11523 (shell-command-completion, shell--command-completion-data)
11524 (shell-filename-completion, shell-environment-variable-completion)
11525 (shell-c-a-p-replace-by-expanded-directory): New functions.
11526 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11527 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11528 (shell-dynamic-complete-environment-variable): Use them.
11529 (shell-dynamic-complete-as-environment-variable)
11530 (shell-dynamic-complete-as-command): Remove.
11531 (shell-match-partial-variable): Match past point.
11532 * comint.el: Clean up use of completion-at-point-functions.
11533 (comint-completion-at-point): New function.
11534 (comint-mode): Use it completion-at-point-functions.
11535 (comint-dynamic-complete): Make it obsolete.
11536 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11537 (comint-c-a-p-replace-by-expanded-history): New function.
11538 (comint-dynamic-complete-functions)
11539 (comint-replace-by-expanded-history): Use it.
11540 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11541 termination strings. Try harder to avoid second try-completion.
11542 (completion-in-region-mode-map): Disable bindings that don't work yet.
11543
2dbaa080
SM
11544 * comint.el: Use lexical-binding. Require CL.
11545 (comint-dynamic-complete-functions): Use comint-filename-completion.
11546 (comint-completion-addsuffix): Tweak custom type.
11547 (comint-filename-completion, comint--common-suffix)
11548 (comint--common-quoted-suffix, comint--table-subvert)
11549 (comint--complete-file-name-data): New functions.
11550 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11551 (comint-dynamic-list-filename-completions): Use them.
11552 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11553
2dbaa080
SM
11554 * minibuffer.el (completion-in-region-mode):
11555 Keep completion-in-region-mode--predicate global.
11556 (completion-in-region--postch):
11557 Assume completion-in-region-mode--predicate is not null.
11558
c79a6f38
SM
11559 * progmodes/flymake.el (flymake-start-syntax-check-process):
11560 Obey `dir'. Simplify.
11561
024ff170
SM
11562 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11563 we're in VC after all.
11564
1c6c854e
CS
115652011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11566
11567 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11568 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11569 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11570
bed7f140
SM
115712011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11572
332e62ab
SM
11573 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11574 add sanity check.
11575
bed7f140
SM
11576 * obsolete/erc-hecomplete.el: Make obsolete.
11577 * obsolete/: Standardize obsolescence info in the header.
11578
f195c582
GM
115792011-04-20 Glenn Morris <rgm@gnu.org>
11580
11581 * calendar/solar.el (solar-horizontal-coordinates):
11582 Use the longitude argument rather than `calendar-longitude'.
11583 (solar-date-next-longitude): Remove unused locals.
11584
cb79b8c0
VJL
115852011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11586
11587 * whitespace.el: New version 13.2.1.
11588
115892011-04-20 felix <EmacsWiki> (tiny change)
11590
d8e4b68b 11591 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11592 switching between major modes on a file.
11593
602ea69d
SM
115942011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11595
11596 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11597 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11598 multi-line comments as well.
11599
06b60517
JB
116002011-04-19 Juanma Barranquero <lekktu@gmail.com>
11601
11602 Lexical-binding cleanup.
11603
11604 * arc-mode.el (archive-mode-revert):
11605 * cmuscheme.el (scheme-interactively-start-process):
11606 * custom.el (custom-initialize-delay):
11607 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11608 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11609 * emacs-lock.el (emacs-lock-clear-sentinel):
11610 * ezimage.el (defezimage):
11611 * follow.el (follow-avoid-tail-recenter):
11612 * fringe.el (set-fringe-mode-1):
11613 * generic-x.el (bat-generic-mode-compile):
11614 * help-mode.el (help-info-variable, help-do-xref)
11615 (help-mode-revert-buffer):
11616 * help.el (view-emacs-todo):
11617 * iswitchb.el (iswitchb-completion-help):
11618 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11619 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11620 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11621 * locate.el (locate-update):
11622 * longlines.el (longlines-encode-region)
11623 (longlines-after-change-function):
11624 * outline.el (outline-isearch-open-invisible):
11625 * ps-def.el (declare-function, charset-dimension, char-width)
11626 (encode-char):
11627 * ps-mule.el (ps-mule-plot-string):
11628 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11629 (recentf-edit-list-select, recentf-edit-list-validate)
11630 (recentf-open-files-action):
11631 * rect.el (delete-whitespace-rectangle-line)
11632 (rectangle-number-line-callback):
11633 * register.el (window-configuration-to-register)
11634 (frame-configuration-to-register):
11635 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11636 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11637 (xselect-convert-to-targets, xselect-convert-to-delete)
11638 (xselect-convert-to-filename, xselect-convert-to-charpos)
11639 (xselect-convert-to-lineno, xselect-convert-to-colno)
11640 (xselect-convert-to-os, xselect-convert-to-host)
11641 (xselect-convert-to-user, xselect-convert-to-class)
11642 (xselect-convert-to-name, xselect-convert-to-integer)
11643 (xselect-convert-to-atom, xselect-convert-to-identity):
11644 * subr.el (declare, ignore, process-kill-without-query)
11645 (text-clone-maintain):
11646 * terminal.el (te-get-char, te-tic-sentinel):
11647 * tool-bar.el (tool-bar-make-keymap):
11648 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11649 * type-break.el (type-break-mode, type-break-noninteractive-query):
11650 * view.el (View-back-to-mark):
11651 * wid-browse.el (widget-browse-action, widget-browse-widget)
11652 (widget-browse-widgets, widget-browse-sexp):
11653 * widget.el (define-widget-keywords):
11654 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11655 Mark unused parameters.
11656
11657 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11658 (align-areas): Remove unused variable `look'.
11659 (align-region): Remove unused variables `real-end' and `pos-list'.
11660
11661 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11662
11663 * bindings.el (mode-line-modified, mode-line-remote):
11664 Mark unused parameters.
11665 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11666
11667 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11668 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11669
11670 * comint.el (comint-history-isearch-pop-state)
11671 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11672 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11673 (comint-substitute-in-file-name): Doc fix.
11674
11675 * completion.el (cmpl-statistics-block): Mark unused parameter.
11676 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11677 (save-completions-to-file, load-completions-from-file):
11678 Remove unused local variable `e'.
11679
11680 * composite.el (compose-chars): Remove unused variable `len'.
11681 (lgstring-insert-glyph): Remove unused variable `g'.
11682 (compose-glyph-string): Remove unused variables `ascent',
11683 `descent', `lbearing' and `rbearing'.
11684 (compose-glyph-string-relative): Remove unused variables
11685 `lbearing', `rbearing' and `wadjust'.
11686 (compose-gstring-for-graphic): Remove unused variables `header',
11687 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11688 (compose-gstring-for-terminal): Remove unused variables `header'
11689 and `nchars'. Use `let', not `let*'.
11690
11691 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11692 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11693 (Custom-buffer-done, custom-buffer-create-internal)
11694 (custom-browse-visibility-action, custom-browse-group-tag-action)
11695 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11696 (widget-magic-mouse-down-action, custom-toggle-parent)
11697 (custom-add-parent-links, custom-toggle-hide-variable)
11698 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11699 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11700 (custom-face-menu-create, custom-variable-menu-create, get)
11701 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11702 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11703 (customize-apropos): Remove unused variable `tests'.
11704 (custom-group-value-create): Remove unused variable `hidden-p'.
11705 (sort-fold-case): Declare.
11706
11707 * cus-theme.el (custom-reset-standard-faces-list)
11708 (custom-reset-standard-variables-list): Declare.
11709 (customize-create-theme, custom-theme-revert, custom-theme-write)
11710 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11711 Mark unused parameters.
11712
11713 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11714
11715 * delim-col.el (delimit-columns-max): Move defvar before first use.
11716
11717 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11718 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11719
11720 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11721 (auto-insert): Declare.
11722 (desktop-restore-file-buffer): Rename desktop-* parameters;
11723 mark unused ones.
11724 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11725 (desktop-buffer): Rename desktop-* parameters.
11726
11727 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11728 (dframe-reposition-frame-xemacs, dframe-help-echo)
11729 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11730 Mark unused parameters.
11731
11732 * dired-aux.el (backup-extract-version-start, overwrite-query)
11733 (overwrite-backup-query, rename-regexp-query)
11734 (rename-non-directory-query): Declare.
11735 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11736 (dired-add-entry): Remove unused variable `orig-file-name'.
11737 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11738 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11739 `dired-copy-preserve-time' directly.
11740 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11741 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11742
11743 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11744 (dired-virtual-revert, dired-make-relative-symlink):
11745 Mark unused parameters.
11746 (manual-program): Declare.
11747 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11748 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11749 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11750
11751 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11752
11753 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11754
11755 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11756 Declare.
11757
11758 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11759
11760 * electric.el (Electric-command-loop): Rename parameter
11761 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11762
11763 * expand.el (expand-in-literal): Remove unused variable `here'.
11764
11765 * facemenu.el (facemenu-add-new-color):
11766 Remove unused variable `docstring'.
11767
11768 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11769 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11770 (face-attr-construct): Mark unused parameter. Doc fix.
11771 (read-color): Remove unused variable `hex-string'.
11772
11773 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11774 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11775 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11776 (display-buffer-other-frame): Remove unused variable `old-window'.
11777 (kill-buffer-hook): Declare.
11778 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11779 Mark unused parameters.
11780 (after-find-file): Pass 1 to `auto-save-mode', not t.
11781
11782 * files-x.el (auto-insert): Declare.
11783 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11784
11785 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11786 variable `buf'. Mark unused parameter.
06b60517
JB
11787 (find-lisp-insert-directory): Mark unused parameter.
11788
11789 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11790 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11791 (format-common-tail): Remove, unused.
11792 (format-deannotate-region): Remove unused variable `loc'.
11793 (format-annotate-region): Remove unused variable `p'.
11794 (format-annotate-single-property-change): Remove unused variables
11795 `default' and `tail'.
11796
11797 * forms.el (read-file-filter): Declare.
11798 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11799
11800 * frame.el (frame-creation-function-alist): Mark unused parameter.
11801 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11802
11803 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11804 Remove unused parameters.
11805 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11806 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11807
11808 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11809 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11810 (hfy-prepare-tag-map): Mark unused parameters.
11811 (htmlfontify-buffer): Use `called-interactively-p'.
11812
11813 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11814 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11815 (ibuffer-do-occur): Mark unused parameters.
11816 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11817 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11818
11819 * ibuffer.el: Don't quote `lambda'.
11820 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11821 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11822 Mark unused parameters.
11823
11824 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11825 (ido-completing-read): Mark unused parameters.
11826 (ido-copy-current-word): Mark unused parameters;
11827 remove unused variable `name'.
11828 (ido-sort-merged-list): Remove unused parameter `dirs'.
11829
11830 * ielm.el (ielm-input-sender): Mark unused parameter.
11831 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11832 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11833 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11834 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11835 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11836
11837 * image-dired.el (image-dired-display-thumbs): Remove unused
11838 variables `curr-file' and `count'.
11839 (image-dired-remove-tag): Remove unused variable `start'.
11840 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11841 variable `curr-file'
11842 (image-dired-rotate-original): Remove unused variable `temp-file'.
11843 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11844 Remove unused variable `file'.
11845 (image-dired-gallery-generate): Remove unused variable `curr'.
11846 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11847
11848 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11849
11850 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11851
11852 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11853
11854 * isearch.el (minibuffer-history-symbol): Declare.
11855 (isearch-edit-string): Remove unused variable `err'.
11856 (isearch-message-prefix, isearch-message-suffix):
11857 Mark unused parameters.
11858
11859 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11860
11861 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11862
11863 * makesum.el (double-column): Remove unused variable `cnt'.
11864
11865 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11866 (ido-ignore-item-temp-list): Declare.
11867
11868 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11869 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11870 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11871 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11872 `mouse-col-delta'.
11873
11874 * mouse-sel.el (mouse-extend-internal):
11875 Remove unused variable `orig-window-frame'.
11876
11877 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11878 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11879 Move declarations before first use.
11880 (pcomplete-opt): Mark unused parameters; doc fix.
11881
11882 * proced.el (proced-revert): Mark unused parameter.
11883 (proced-send-signal): Remove unused variable `err'.
11884
11885 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11886 Rename parameter PREFIX-ARG to ARG.
11887 (ps-basic-plot-string, ps-basic-plot-whitespace):
11888 Mark unused parameters.
11889
11890 * replace.el (replace-count): Define.
11891 (occur-revert-function): Mark unused parameters.
11892 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11893 (isearch-case-fold-search, isearch-string): Declare.
11894 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11895 bind `case-fold-search'. Remove unused variables `beg' and `end',
11896 and simplify.
11897 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11898 COUNT and bind `replace-count'.
11899 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11900 to COUNT.
11901
11902 * savehist.el (print-readably, print-string-length): Declare.
11903
11904 * shadowfile.el (shadow-expand-cluster-in-file-name):
11905 Remove unused variable `cluster'.
11906 (shadow-copy-file): Remove unused variable `i'.
11907 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11908 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11909 (shadow-define-literal-group, shadow-define-regexp-group)
11910 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11911
11912 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11913 (shell): Use `called-interactively-p'.
11914 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11915
11916 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11917 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11918 (delete-backward-char): Remove unused variable `ocol'.
11919 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11920 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11921 (event-apply-hyper-modifier, event-apply-shift-modifier)
11922 (event-apply-control-modifier, event-apply-meta-modifier):
11923 Mark unused parameters.
11924 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11925 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11926
11927 * speedbar.el (speedbar-ignored-directory-expressions)
11928 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11929 (speedbar-find-file, speedbar-dir-follow)
11930 (speedbar-directory-buttons-follow, speedbar-tag-find)
11931 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11932 (speedbar-buffers-line-directory, speedbar-buffer-click):
11933 Mark unused parameters.
11934 (speedbar-tag-file): Remove unused variable `mode'.
11935 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11936
11937 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11938
11939 * talk.el (talk): Remove unused variable `display'.
11940
11941 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11942 (tar-write-region-annotate): Mark unused parameter.
11943
11944 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11945 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11946 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11947 warning by another.
11948
11949 * time-stamp.el (time-stamp-string-preprocess):
11950 Remove unused variable `require-padding'.
11951
11952 * tree-widget.el (widget-glyph-enable): Declare.
11953 (tree-widget-action): Mark unused parameter.
11954
11955 * w32-fns.el (x-get-selection): Mark unused parameter.
11956 (autoload-make-program, generated-autoload-file): Declare.
11957
11958 * wdired.el (wdired-revert): Mark unused parameters.
11959 (wdired-xcase-word): Remove unused variable `err'.
11960
11961 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11962 (whitespace-help-scroll): Remove unused variable `data-help'.
11963
11964 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11965 (widget-image-insert, widget-after-change, default)
11966 (widget-default-format-handler, widget-default-notify)
11967 (widget-default-prompt-value, widget-info-link-action)
11968 (widget-url-link-action, widget-function-link-action)
11969 (widget-variable-link-action, widget-file-link-action)
11970 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11971 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11972 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11973 (widget-insert-button-action, widget-delete-button-action, visibility)
11974 (widget-documentation-link-action, widget-documentation-string-action)
11975 (widget-const-prompt-value, widget-regexp-match, symbol)
11976 (widget-coding-system-prompt-value)
11977 (widget-key-sequence-value-to-external, sexp)
11978 (widget-sexp-value-to-internal, character, vector, cons)
11979 (widget-choice-prompt-value, widget-boolean-prompt-value)
11980 (widget-color--choose-action): Mark unused parameters.
11981 (widget-item-match-inline, widget-choice-match-inline)
11982 (widget-checklist-match, widget-checklist-match-inline)
11983 (widget-group-match): Rename parameter VALUES to VALS.
11984 (widget-field-value-set): Remove unused variable `size'.
11985 (widget-color-action): Remove unused variables `value' and `start'.
11986
11987 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11988 variable `dir'. Doc fix.
06b60517
JB
11989 (windmove-find-other-window): Don't pass it.
11990
11991 * window.el (count-windows): Mark unused parameter.
11992 (bw-adjust-window): Remove unused variable `err'.
11993
11994 * woman.el (woman-file-name): Remove unused variable `default'.
11995 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11996 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11997 (global-font-lock-mode): Declare.
11998 (woman-decode-region): Mark unused parameter.
11999 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12000
12001 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12002 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12003 (x-dnd-handle-moz-url): Remove unused variable `title'.
12004 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12005
12006 * xml.el (xml-parse-tag, xml-parse-attlist):
12007 Remove unused variable `pos'.
12008
bc4f7f3d
GM
120092011-04-19 Glenn Morris <rgm@gnu.org>
12010
12011 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12012 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12013 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12014 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12015 * calendar/cal-html.el (cal-html-insert-minical):
12016 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12017 (calendar-mark-date-pattern):
12018 Prefix "unused" locals.
12019
12020 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12021 optional argument `style'.
12022
12023 * calendar/appt.el (appt-make-list):
12024 * calendar/cal-china.el (calendar-chinese-date-string):
12025 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12026 (diary-hebrew-yahrzeit):
12027 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12028 * calendar/calendar.el (calendar-generate-window):
12029 * calendar/time-date.el (time-to-days):
12030 Remove unused local variables.
12031
16a43933
CY
120322011-04-18 Chong Yidong <cyd@stupidchicken.com>
12033
12034 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12035 glyphless-char-display table.
12036 (tabulated-list-glyphless-char-display): New var.
12037
7eed1860
SS
120382011-04-18 Sam Steingold <sds@gnu.org>
12039
12040 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12041 to acknowledgments.
12042
4d2d1ccd
GM
120432011-04-17 Glenn Morris <rgm@gnu.org>
12044
12045 * calendar/diary-lib.el (diary-sexp-entry):
12046 * calendar/holidays.el (holiday-sexp):
12047 Set debug-on-error rather than the removed stack-trace-on-error.
12048
239da61d
GM
120492011-04-16 Glenn Morris <rgm@gnu.org>
12050
12051 * progmodes/f90.el: Use lexical-binding.
12052 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12053
8b05752a
SM
120542011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12055
daca8ba5
SM
12056 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12057 (mail-mode): Setup mailalias completion here instead.
12058 * mail/mailalias.el: Use lexical-binding.
12059 (pattern, mailalias-done): Declare dynamic.
12060 (mail-completion-at-point-function): New function, from mail-complete.
12061 (mail-complete): Use it.
12062 (mail-completion-expand): New function.
12063 (mail-get-names): Use it.
12064 (mail-directory, mail-directory-process, mail-directory-stream):
12065 Don't use `pattern' for lexically bound arg.
12066
6f542485
SM
12067 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12068
037e7c3f
SM
12069 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12070 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12071 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12072
8b05752a
SM
12073 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12074 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12075 (byte-interactive-p): Define them again, for use when inlining
12076 old code.
12077
49093f60
JB
120782011-04-15 Juanma Barranquero <lekktu@gmail.com>
12079
12080 * loadup.el: Use `string-to-number', not `string-to-int'.
12081
b5b8e7de
SM
120822011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12085 gud-gdb-complete-command.
12086 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12087 (gud-gdb-completion-at-point): New function.
12088 (gud-gdb-completions): Remove.
12089
f42efeb5
MA
120902011-04-14 Michael Albinus <michael.albinus@gmx.de>
12091
49093f60
JB
12092 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12093 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12094 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12095 whether `executable-find' is bound.
f42efeb5
MA
12096
12097 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12098
e240cc21
SM
120992011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12100
12101 * minibuffer.el (completion-in-region-mode-predicate)
12102 (completion-in-region-mode--predicate): New vars.
12103 (completion-in-region, completion-in-region--postch)
12104 (completion-in-region-mode): Use them.
12105 (completion--capf-wrapper): Also return the hook function.
12106 (completion-at-point, completion-help-at-point):
12107 Adjust and provide a predicate.
c2bd2ab0
SM
12108
12109 Preserve arg names for advice of subr and lexical functions (bug#8457).
12110 * help-fns.el (help-function-arglist): Consolidate the subr and
12111 new-byte-code cases. Add argument `preserve-names' to extract names
12112 from the docstring when needed.
12113 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12114 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12115 (ad-arglist): Use help-function-arglist's new arg.
12116 (ad-definition-type): Use cond.
12117
c183f693
JB
121182011-04-13 Juanma Barranquero <lekktu@gmail.com>
12119
06641a47
JB
12120 * autorevert.el (auto-revert-handler):
12121 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12122 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12123 Don't quote lambda.
12124
c183f693
JB
12125 * image-mode.el (image-transform-set-scale):
12126 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12127
1e3b6001
G
121282011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12129
12130 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12131 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12132 Upgrades via gnutls-cli are too slow to be done opportunistically.
12133
2d6af8dd
JB
121342011-04-12 Juanma Barranquero <lekktu@gmail.com>
12135
12136 * dframe.el (dframe-current-frame): Remove spurious quote.
12137
c0749a51
GM
121382011-04-12 Glenn Morris <rgm@gnu.org>
12139
088d0d61
GM
12140 * calendar/cal-tex.el (cal-tex-end-document):
12141 Try to automatically use latin1 input if needed.
12142
c0749a51
GM
12143 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12144 Don't try to cons a mark onto an empty element.
12145
5c90fde0
LL
121462011-04-11 Leo Liu <sdl.web@gmail.com>
12147
12148 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12149 buffers.
12150 (ido-kill-buffer-at-head): Support killing virtual buffers.
12151
369e974d
CY
121522011-04-10 Chong Yidong <cyd@stupidchicken.com>
12153
12154 * minibuffer.el (completion-show-inline-help): New var.
12155 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12156 (minibuffer-force-complete, minibuffer-complete-word):
12157 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12158
12159 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12160 to avoid interference from inline help (Bug#5849).
12161
37f1c930
LL
121622011-04-10 Leo Liu <sdl.web@gmail.com>
12163
099c39a4
JB
12164 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12165 Fix typo.
37f1c930 12166
a32d4040
CY
121672011-04-09 Chong Yidong <cyd@stupidchicken.com>
12168
12169 * image-mode.el (image-toggle-display-image): Signal an error if
12170 not in Image mode.
12171 (image-transform-mode, image-transform-resize)
12172 (image-transform-set-rotation): Doc fix.
daca8ba5 12173 (image-transform-set-resize): Delete.
a32d4040
CY
12174 (image-transform-set-scale, image-transform-fit-to-height)
12175 (image-transform-fit-to-width): Handle image-toggle-display-image
12176 and image-transform-resize directly.
12177
099c39a4 121782011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12179
12180 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12181 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12182 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12183 (doc-view-mode-map): Add bindings for the new functions.
12184
099c39a4 121852011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12186
4d61f28d 12187 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12188 Fix typo in docstring.
12189
3726838a
EZ
121902011-04-08 Eli Zaretskii <eliz@gnu.org>
12191
04f33f1e
EZ
12192 * files.el (file-size-human-readable): Produce one digit after
12193 decimal, like "ls -lh" does.
12194
12195 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12196 the file size representation.
12197
3726838a
EZ
12198 * simple.el (list-processes): If async subprocesses are not
12199 available, error out with a clear error message.
12200
cbb59342
CY
122012011-04-08 Chong Yidong <cyd@stupidchicken.com>
12202
12203 * help.el (help-form-show): New function, to be called from C.
12204 Put help-form output in a buffer named differently than *Help*.
12205
e3971c44
EZ
122062011-04-08 Eli Zaretskii <eliz@gnu.org>
12207
12208 * files.el (file-size-human-readable): New function.
12209
12210 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12211 computing the representation inline. Don't require `cl'.
12212
12544bbe
GM
122132011-04-08 Glenn Morris <rgm@gnu.org>
12214
a1de6c6a
GM
12215 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12216
3c4671f4
GM
12217 * net/browse-url.el (browse-url-firefox):
12218 Test system-type, not system-configuration.
12219
b605679c
GM
12220 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12221 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12222 Use log-edit-empty-buffer-p. (Bug#7598)
12223
56442f0c
GM
12224 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12225 (rlogin-mode-map): Initialize in the defvar.
12226 (rlogin): Use ignore-errors.
12227
12544bbe
GM
12228 * replace.el (occur-mode-map): Some fixes for menu items.
12229
eb237b0f
AH
122302011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12231
12232 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12233
7d668f2c
CY
122342011-04-06 Chong Yidong <cyd@stupidchicken.com>
12235
e67a13ab
CY
12236 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12237 issuing unused warnings.
12238
12239 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12240 macro directly.
12241
7d668f2c
CY
12242 * simple.el: Lisp reimplement of list-processes. Based on an
12243 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12244 (process-menu-mode): New major mode.
12245 (list-processes--refresh, list-processes):
12246 (process-menu-visit-buffer): New functions.
12247
12248 * files.el (save-buffers-kill-emacs): Don't assume any return
12249 value of list-processes, which is undocumented anyway.
12250
a83ec3c9
CY
122512011-04-06 Chong Yidong <cyd@stupidchicken.com>
12252
12253 * emacs-lisp/tabulated-list.el: New file.
12254
e91a96fe
CY
12255 * emacs-lisp/package.el: Use Tabulated List mode.
12256 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12257 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12258 table format using Tabulated List mode variables.
12259 (package--push): New macro, replacing package-list-maybe-add.
12260 (package-menu--generate): Use package--push. Renamed from
12261 package--generate-package-list.
12262 (package-menu-refresh, list-packages): Use it.
daca8ba5 12263 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12264 Return insertion data instead of inserting it directly.
099c39a4
JB
12265 (package-menu-describe-package, package-menu-execute):
12266 Use tabulated-list-get-id.
e91a96fe
CY
12267 (package-menu-mark-delete, package-menu-mark-install)
12268 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12269 (package-menu-mark-obsolete-for-deletion):
12270 Use tabulated-list-put-tag.
e91a96fe
CY
12271 (package--list-packages, package-menu-revert)
12272 (package-menu-get-package, package-menu-get-version)
12273 (package-menu-sort-by-column): Functions deleted.
12274 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12275 (package-menu--status-predicate, package-menu--version-predicate)
12276 (package-menu--name-predicate)
12277 (package-menu--description-predicate): Handle arguments in the
12278 Tabulated List format.
12279 (package-list-packages-no-fetch): Call list-packages.
12280
3e214b50
JB
122812011-04-06 Juanma Barranquero <lekktu@gmail.com>
12282
12283 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12284 (after-find-file): Don't bind it.
3e214b50
JB
12285 (revert-buffer-in-progress-p): New variable.
12286 (revert-buffer): Bind it.
12287 Pass nil for `after-find-file-from-revert-buffer'.
12288
12289 * saveplace.el (save-place-find-file-hook): Use new variable
12290 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12291
3f0f1700
GM
122922011-04-06 Glenn Morris <rgm@gnu.org>
12293
c0274801
GM
12294 * Makefile.in (AUTOGEN_VCS): New variable.
12295 (autoloads): Use $AUTOGEN_VCS.
12296
3f0f1700
GM
12297 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12298 * calendar/calendar.el (calendar-mode-map):
12299 Check for toolkit scroll bars. (Bug#8305)
12300
41ea9e48
CY
123012011-04-05 Chong Yidong <cyd@stupidchicken.com>
12302
12303 * minibuffer.el (completion-in-region--postch)
12304 (completion-in-region-mode): Remove unnecessary messages.
12305
6194c800
JB
123062011-04-05 Juanma Barranquero <lekktu@gmail.com>
12307
33256f14
JB
12308 * font-lock.el (font-lock-refresh-defaults):
12309 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12310 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12311
6194c800
JB
12312 * info.el (Info-directory-list, Info-read-node-name-2)
12313 (Info-split-parameter-string): Doc fixes.
12314 (Info-virtual-nodes): Reflow docstring.
12315 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12316 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12317 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12318 Fix typos in docstrings.
12319 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12320 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12321 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12322 (Info-restore-desktop-buffer): Mark unused parameters.
12323 (Info-directory-find-file, Info-directory-find-node)
12324 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12325 (Info-virtual-index-find-node, Info-apropos-find-file)
12326 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12327 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12328 (Info-virtual-index): Remove unused local variable `nodename'.
12329
b87a8200 123302011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12331
b87a8200
DD
12332 * net/rcirc.el: Update my e-mail address.
12333 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12334
3b2ff876
CY
123352011-04-05 Chong Yidong <cyd@stupidchicken.com>
12336
12337 * startup.el (command-line): Save the cursor's theme-face
12338 directly, instead of using face-override-spec.
12339
12340 * custom.el (load-theme): Minor optimization in assigning faces.
12341
8d17e7ca
JB
123422011-04-04 Juanma Barranquero <lekktu@gmail.com>
12343
12344 * help-fns.el (describe-variable): Complete all variables having
12345 documentation, including keywords.
12346 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12347
2fbc1934
JB
123482011-04-04 Juanma Barranquero <lekktu@gmail.com>
12349
12350 Convert to lexical-binding.
12351
12352 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12353 (bs--get-marked-string, bs--get-modified-string)
12354 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12355 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12356 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12357
12358 * ehelp.el (electric-help-execute-extended)
12359 (electric-help-ctrl-x-prefix):
12360 * hexl.el (hexl-revert-buffer-function):
12361 * linum.el (linum-after-change, linum-after-scroll):
12362 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12363
12364 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12365
74f50695
DU
123662011-04-04 Daiki Ueno <ueno@unixuser.org>
12367
12368 * epa-dired.el:
12369 * epa-mail.el:
12370 * epa-hook.el:
12371 * epa-file.el:
12372 * epa.el:
12373 * epg.el: Use lexical binding.
12374
c11325f7
CY
123752011-04-03 Chong Yidong <cyd@stupidchicken.com>
12376
0d9e9a12
CY
12377 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12378
c11325f7 12379 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12380 dictionary case for flyspell-mark-duplications-exceptions.
12381 Use regexp matching for languages.
c11325f7
CY
12382 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12383 default dictionary (Bug#7926).
12384
da91b5f2
CY
123852011-04-02 Chong Yidong <cyd@stupidchicken.com>
12386
099c39a4
JB
12387 * emacs-lisp/package.el (package--with-work-buffer):
12388 Recognize https URLs.
da91b5f2 12389
099c39a4
JB
12390 * net/network-stream.el: Move from gnus/proto-stream.el.
12391 Change prefix to network-stream throughout.
da91b5f2
CY
12392 (open-protocol-stream): Merge into open-network-stream, leaving
12393 open-protocol-stream as an alias. Handle nil BUFFER args.
12394
12395 * subr.el (open-network-stream): Move to net/network-stream.el.
12396
afa8e9f6
GM
123972011-04-02 Glenn Morris <rgm@gnu.org>
12398
1d2e369d
GM
12399 * find-dired.el (find-exec-terminator): New option.
12400 (find-ls-option): Test for -ls support.
12401 (find-ls-subdir-switches): Test for -b in find-ls-option.
12402 (find-dired, find-grep-dired): Doc fixes.
12403 (find-dired): Use find-exec-terminator.
12404
8abb7da8 12405 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12406 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12407 (find-name-arg): Remove purecopy.
8abb7da8 12408
f3ca7378
GM
12409 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12410 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12411 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12412 accordingly. Don't add the null-device if not needed.
12413
afa8e9f6
GM
12414 * files.el (save-some-buffers): Doc fix.
12415
35eae264
EZ
124162011-04-02 Eli Zaretskii <eliz@gnu.org>
12417
12418 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12419
26b51db5
JB
124202011-04-01 Juanma Barranquero <lekktu@gmail.com>
12421
12422 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12423 Use `dolist' rather than `mapcar'.
12424
7200d79c
SM
124252011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12426
03408648 12427 Add lexical binding.
7200d79c 12428
03408648
SM
12429 * subr.el (apply-partially): Use new closures rather than CL.
12430 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12431 (dolist, dotimes): Use slightly different expansion for lexical code.
12432 (functionp): Move to C.
12433 (letrec): New macro.
12434 (with-wrapper-hook): Use it and apply-partially instead of CL.
12435 (eval-after-load): Preserve lexical-binding.
12436 (save-window-excursion, with-output-to-temp-buffer): Turn them
12437 into macros.
7200d79c 12438
03408648
SM
12439 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12440
12441 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12442 than the arglist.
12443 (help-add-fundoc-usage): Don't add `Not documented'.
12444 (help-function-arglist): Handle closures, subroutines, and new
12445 byte-code-functions.
12446 (help-make-usage): Remove leading underscores.
12447 (describe-function-1): Handle closures.
12448 (describe-variable): Use special-variable-p for completion.
12449
12450 * files.el (lexical-binding): Declare safe.
f488fb65 12451
03408648
SM
12452 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12453 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12454 (pcase): Add `let' pattern.
12455 Change memoization so it actually works.
12456 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12457 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12458 <let>: New case.
f488fb65 12459
03408648
SM
12460 * emacs-lisp/macroexp.el: Use lexical binding.
12461 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12462 Don't convert ' to #' without checking that it's indeed quoting
12463 a lambda.
12464
12465 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12466 Use eval-sexp-add-defvars.
03408648
SM
12467 (eval-sexp-add-defvars): New fun.
12468
12469 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12470
12471 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12472 Don't autoload.
12473 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12474 than the internal `byte-compile-lambda'.
12475 (defmethod): Don't hide code under quotes.
12476 (eieio-defmethod): New `code' argument.
12477
12478 * emacs-lisp/eieio-comp.el: Remove.
12479
12480 * emacs-lisp/edebug.el (edebug-eval-defun)
12481 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12482 (edebug-toggle): Avoid `eval'.
12483
12484 * emacs-lisp/disass.el (disassemble-internal): Handle new
12485 `closure' objects.
12486 (disassemble-1): Handle new byte codes.
12487
12488 * emacs-lisp/cl.el (pushnew): Silence warning.
12489
12490 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12491 (cl-byte-compile-throw): Remove.
12492 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12493
12494 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12495 closures.
12496
12497 * emacs-lisp/cconv.el: New file.
12498
12499 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12500 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12501 (byte-compile-initial-macro-environment):
12502 Handle declare-function here.
12503 (byte-compile--lexical-environment): New var.
12504 (byte-stack-ref, byte-stack-set, byte-discardN)
12505 (byte-discardN-preserve-tos): New lap codes.
12506 (byte-interactive-p): Don't use any more.
12507 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12508 New macros.
12509 (byte-compile-lapcode): Use them and handle new lap codes.
12510 (byte-compile-obsolete): Remove.
12511 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12512 (byte-compile-arglist-warn): Check late def of inlinable funs.
12513 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12514 since they should have been expanded by now.
12515 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12516 (byte-compile-from-buffer): Remove unused second arg.
12517 (byte-compile-preprocess): New function.
12518 (byte-compile-toplevel-file-form): New function to distinguish
12519 file-form calls from outside from file-form calls from hunk-handlers.
12520 (byte-compile-file-form): Simplify.
12521 (byte-compile-file-form-defsubst): Remove.
12522 (byte-compile-file-form-defmumble): Simplify now that
12523 byte-compile-lambda always returns a byte-code-function.
12524 (byte-compile): Preprocess.
12525 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12526 Remove, not used any more.
12527 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12528 (byte-compile-make-args-desc): New funs.
12529 (byte-compile-lambda): Handle lexical functions. Always return
12530 a byte-code-function.
12531 (byte-compile-reserved-constants): New var, to make up room for
12532 closed-over variables.
12533 (byte-compile-constants-vector): Obey it.
12534 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12535 (byte-compile-macroexpand-declare-function): New function.
12536 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12537 byte-code-functions.
12538 (byte-compile-form): Check obsolescence here.
12539 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12540 (byte-compile-variable-ref): Remove.
12541 (byte-compile-dynamic-variable-op): New fun.
12542 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12543 (byte-compile-variable-set): New funs.
12544 (byte-compile-discard): Add 2 args.
12545 (byte-compile-stack-ref, byte-compile-stack-set)
12546 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12547 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12548 macroexpand-all instead.
12549 (byte-compile-quote-form): Remove.
12550 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12551 (byte-compile-bind, byte-compile-unbind): New funs.
12552 (byte-compile-let): Handle let* and lexical binding.
12553 (byte-compile-let*): Remove.
12554 (byte-compile-catch, byte-compile-unwind-protect)
12555 (byte-compile-track-mouse, byte-compile-condition-case):
12556 Handle a new :fun-body form, used for lexical scoping.
12557 (byte-compile-save-window-excursion)
12558 (byte-compile-with-output-to-temp-buffer): Remove.
12559 (byte-compile-defun): Simplify.
12560 (byte-compile-stack-adjustment): New fun.
12561 (byte-compile-out): Use it.
12562 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12563
12564 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12565 handler any more.
12566
12567 * emacs-lisp/byte-opt.el: Use lexical binding.
12568 (byte-inline-lapcode): Remove (to bytecomp).
12569 (byte-compile-inline-expand): Pay attention to inlining to/from
12570 lexically bound code.
12571 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12572 any more.
12573 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12574 any more and don't call compiler-macros.
12575 (byte-compile-splice-in-already-compiled-code): Remove.
12576 (byte-code): Don't inline any more.
12577 (disassemble-offset): Receive `bytes' as argument rather than via
12578 dynamic scoping.
12579 (byte-compile-tag-number): Declare before first use.
12580 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12581 `return' even if make-spliceable.
12582 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12583 obsolete interactive-p.
12584 (byte-optimize-lapcode): Optimize new lap-codes.
12585 Don't trip up on new form of `byte-constant' lap code.
12586
12587 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12588
12589 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12590
12591 * custom.el (custom-initialize-default, custom-declare-variable):
12592 Use `defvar'.
12593
12594 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12595 New variables.
12596 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12597 (COMPILE_FIRST): Add macroexp and cconv.
12598 * makefile.w32-in: Mirror changes in Makefile.in.
12599
12600 * vc/cvs-status.el:
12601 * vc/diff-mode.el:
12602 * vc/log-edit.el:
12603 * vc/log-view.el:
12604 * vc/smerge-mode.el:
12605 * textmodes/bibtex-style.el:
12606 * textmodes/css.el:
12607 * startup.el:
12608 * uniquify.el:
da91b5f2
CY
12609 * minibuffer.el:
12610 * newcomment.el:
12611 * reveal.el:
12612 * server.el:
12613 * mpc.el:
12614 * emacs-lisp/smie.el:
12615 * doc-view.el:
12616 * dired.el:
03408648
SM
12617 * abbrev.el: Use lexical binding.
12618
0f0c1f27
EZ
126192011-04-01 Eli Zaretskii <eliz@gnu.org>
12620
12621 * info.el (info-display-manual): New function.
12622
c82b2579
SM
126232011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12626
221ddf68
TH
126272011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12628
12629 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12630 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12631
cba6e77e
GM
126322011-03-31 Glenn Morris <rgm@gnu.org>
12633
e040639f
GM
12634 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12635
cba6e77e
GM
12636 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12637
6d0f1c9e
CS
126382011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12639
12640 * progmodes/python.el (python-default-interpreter)
12641 (python-python-command-args, python-jython-command-args)
12642 (python-which-shell, python-which-args, python-which-bufname)
12643 (python-file-queue, python-comint-output-filter-function)
12644 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12645 variables and functions.
12646
3e2d70fd
SM
126472011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12648
12649 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12650 (completion-in-region-mode): New minor mode.
12651 (completion-in-region): Use it.
12652 (completion-in-region--data, completion-in-region-mode-map): New vars.
12653 (completion-in-region--postch): New function.
12654 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12655 New vars.
12656 (completion--capf-wrapper): New function.
12657 (completion-at-point): Use it to track well-behavedness of
12658 hook functions.
12659 (completion-help-at-point): New command.
12660
f3e4086c
JM
126612011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12662
12663 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12664 syntax class to search for whitespace on a single line
12665 (Message-ID: <4D938140.4030905@redhat.com>).
12666
eb7ffc14
LL
126672011-03-30 Leo Liu <sdl.web@gmail.com>
12668
12669 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12670 New commands.
12671 (edit-abbrevs-map): Bind them here.
12672 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12673
d806ab68
KM
126742011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12675
12676 * allout.el (allout-hide-by-annotation, allout-flag-region):
12677 Reduce possibility of overlay leakage by making them volatile.
12678
12679 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12680 hash is not shared between buffers. Mode initialization is
12681 responsible for giving it a useful starting value.
12682 (allout-item-span): Reduce possibility of overlay leakage by
12683 making them volatile.
12684 (allout-widgets-count-buttons-in-region): Add diagnostic function
12685 for tracking down button overlay leaks.
12686
ea622834
LL
126872011-03-29 Leo Liu <sdl.web@gmail.com>
12688
12689 * ido.el (ido-read-internal): Use the default history var
12690 minibuffer-history if no HISTORY is specified.
12691
b62f8267
G
126922011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12693
03408648
SM
12694 * net/imap.el (imap-shell-open, imap-process-connection-type):
12695 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12696 Kerberos, SSL, other subprocesses.
12697
947b6566
LL
126982011-03-28 Leo Liu <sdl.web@gmail.com>
12699
12700 * abbrev.el (abbrev-table-empty-p): New function.
12701 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12702 nonempty ones. (Bug#5937)
12703
5ffb62aa
JD
127042011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12705
12706 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12707
7a097943
LL
127082011-03-27 Leo Liu <sdl.web@gmail.com>
12709
12710 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12711 for foreground and background colors.
12712 (ansi-color-make-color-map): Adapt.
12713
c5b40130
LL
127142011-03-25 Leo Liu <sdl.web@gmail.com>
12715
1f48f7d2
LL
12716 * midnight.el (midnight-time-float): Remove. Note it calculates
12717 the microsecond component incorrectly and seconds-to-time does the
12718 same job.
625897ec 12719 Remove redundant (require 'timer).
1f48f7d2 12720
c5b40130
LL
12721 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12722 (ido-completions): Remove unused arguments. (Bug#8329)
12723
d86d2721
SM
127242011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12725
12726 * minibuffer.el (completion--flush-all-sorted-completions):
12727 Remove itself from hook.
12728 (completion-at-point): Let the functions perform the completion
12729 immediately and return nil or t.
12730 * comint.el (comint-dynamic-complete-functions): Now identical to
12731 completion-at-point-functions.
12732 (comint-dynamic-list-input-ring): Remove unused var `index'.
12733 (comint--match-partial-filename, comint--unquote&expand-filename):
12734 New funs, split from comint-match-partial-filename.
12735 (comint-dynamic-complete): Use completion-at-point.
12736 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12737
e8974c48
DA
127382011-03-24 Drew Adams <drew.adams@oracle.com>
12739
12740 * thingatpt.el: Support `defun'.
12741
def71b5e
LL
127422011-03-23 Leo Liu <sdl.web@gmail.com>
12743
cb5af48e
LL
12744 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12745
def71b5e
LL
12746 * help-mode.el (help-mode-finish): Tweak regexp.
12747
927c53e7
GM
127482011-03-23 Glenn Morris <rgm@gnu.org>
12749
18d05bed
GM
12750 * eshell/esh-opt.el (eshell-eval-using-options):
12751 Do not bind unused local variable `eshell-option-stub'.
12752
927c53e7
GM
12753 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12754
9d0da923
JB
127552011-03-22 Juanma Barranquero <lekktu@gmail.com>
12756
12757 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12758 keymap variable in `with-no-warnings' to avoid a warning when the
12759 keymap has been already `defconst'ed.
12760
4b978a67
LL
127612011-03-22 Leo Liu <sdl.web@gmail.com>
12762
12763 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12764 encode all chars in abbrevs; otherwise use emacs-mule or
12765 utf-8-emacs. (Bug#8308)
12766
5fd62452
JB
127672011-03-22 Juanma Barranquero <lekktu@gmail.com>
12768
0b1596c6
JB
12769 * simple.el (backward-delete-char-untabify):
12770 Avoid warning about using `delete-backward-char'.
12771
5fd62452
JB
12772 * image.el (image-type-file-name-regexps): Make it variable.
12773 `imagemagick-register-types' modifies it, and the user may want
12774 to add new extensions for known image types.
12775 (imagemagick-register-types): Throw error if not using ImageMagick.
12776
0b4e93f1
LL
127772011-03-22 Leo Liu <sdl.web@gmail.com>
12778
12779 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12780 located before rcirc-prompt-end-marker.
12781 (rcirc-complete): Error if point is not after rcirc prompt.
12782 Handle the case when table is nil.
9882e214 12783 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12784
fccee4ab
CY
127852011-03-22 Chong Yidong <cyd@stupidchicken.com>
12786
12787 * custom.el (custom--inhibit-theme-enable): Make it affect only
12788 custom-theme-set-variables and custom-theme-set-faces.
12789 (provide-theme): Ignore custom--inhibit-theme-enable.
12790 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12791 (custom-enabling-themes): Delete variable.
d86d2721
SM
12792 (enable-theme): Accept only loaded themes as arguments.
12793 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12794 (custom-enabled-themes): Forbid themes from setting this.
12795 Eliminate use of custom-enabling-themes.
12796 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12797
af896da6
LL
127982011-03-21 Leo Liu <sdl.web@gmail.com>
12799
12800 * ido.el (ido-read-internal): Add ido-selected to history instead
12801 of user input.
12802
78f64af0
SM
128032011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * subr.el (deferred-action-list, deferred-action-function):
12806 Mark obsolete.
12807
b16ac1ec
LL
128082011-03-21 Leo Liu <sdl.web@gmail.com>
12809
810f7698
LL
12810 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12811 change on 2011-02-13 (bug#8309).
12812
b16ac1ec
LL
12813 * minibuffer.el (read-file-name-function): Change default value.
12814 (read-file-name--defaults): Rename from read-file-name-defaults.
12815 (read-file-name-default): Rename from read-file-name.
12816 (read-file-name): Call read-file-name-function.
12817
4e05e67e
GM
128182011-03-21 Glenn Morris <rgm@gnu.org>
12819
12820 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12821 Doc fixes.
12822
4359915b
CY
128232011-03-21 Chong Yidong <cyd@stupidchicken.com>
12824
12825 * cus-theme.el: Add missing provide statement.
12826 (customize-create-theme): Extract theme value correctly.
12827 (custom-theme-visit-theme): Autoload.
12828 (customize-create-theme): Prompt before inserting default faces.
12829
1fe275ee
JB
128302011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12831
12832 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12833 units and musical notes.
12834
cd394be1 128352011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12836
12837 * ido.el (ido-read-internal): Use completing-read-default.
12838 (ido-completing-read): Fix compatibility with completing-read.
12839
7d476bde
CO
128402011-03-20 Christian Ohler <ohler@gnu.org>
12841
12842 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12843 (ert-delete-all-tests): Use `called-interactively-p' rather than
12844 `interactive-p'.
12845 (ert--make-xrefs-region): Respect END.
12846
fe0fb33e
CY
128472011-03-19 Chong Yidong <cyd@stupidchicken.com>
12848
ff854b0b
CY
12849 * dired-aux.el (dired-create-directory): Signal an error if the
12850 directory already exists (Bug#8246).
12851
fe0fb33e
CY
12852 * facemenu.el (list-colors-display): Call list-faces-display
12853 inside with-help-window.
12854 (list-colors-print): Use display property to align the final
12855 column, instead of checking window-width.
12856
576bce32
EZ
128572011-03-19 Eli Zaretskii <eliz@gnu.org>
12858
4d61f28d 12859 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12860 windows-nt systems.
12861 (emerge-protect-metachars): Quote correctly for ms-dos and
12862 windows-nt systems.
12863
89c41d68 128642011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12865
12866 * info.el (info-initialize): Replace all uses of `:' with
12867 path-separator for compatibility with non-Unix systems.
12868 Cache quoting of path-separator. (Bug#8258)
12869
b14e3e21 128702011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12871
12872 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12873 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12874 (mouse-avoidance-mode): Fix typos in docstrings.
12875
4525ce3e
CY
128762011-03-19 Chong Yidong <cyd@stupidchicken.com>
12877
12878 * startup.el (package-subdirectory-regexp): Move from package.el.
12879 Omit \\` and \\', and let callers add them.
12880
12881 * emacs-lisp/package.el (package-strip-version)
12882 (package-load-all-descriptors): Add \\` and \\' to
12883 package-subdirectory-regexp before using it.
12884 (package-untar-buffer): New arg DIR; ensure that file untars only
12885 into this expected directory. Remove superfluous delete-region.
12886 (package-unpack): Caller changed.
12887 (package-tar-file-info): Use package-subdirectory-regexp.
12888
a904a09a 128892011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12890
a904a09a
SM
12891 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12892 diff-mode-shared-map (bug#8284).
12893 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12894
128952011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12896
12897 * calendar/time-date.el (format-seconds): Use assoc instead of
12898 assoc-string, since assoc-string doesn't exist in XEmacs.
12899
171fc304
JB
129002011-03-17 Juanma Barranquero <lekktu@gmail.com>
12901
12902 * custom.el (custom-known-themes): Reflow docstring.
12903 (custom-theme-load-path): Fix typo in docstring.
12904 (load-theme): Fix typo in error message.
12905 (custom-available-themes, custom-variable-theme-value):
12906 Use `let', not `let*'.
12907
d71990a1
JB
129082011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12909
12910 * calc/README: Mention inclusion of musical notes.
12911
12912 * calc/calc-units.el (calc-lu-quant): Rename from
12913 `calc-logunits-quantity'.
12914 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12915 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12916 (calc-db): Rename from `calc-dblevel'.
12917 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12918 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12919 (calc-np): Rename from `calc-nplevel'.
12920 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12921 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12922 (calc-lu-plus): Rename from `calc-logunits-add'.
12923 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12924 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12925 (calc-lu-minus): Rename from `calc-logunits-sub'.
12926 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12927 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12928 (calc-lu-times): Rename from `calc-logunits-mul'.
12929 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12930 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12931 (calc-lu-divide): Rename from `calc-logunits-div'.
12932 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12933 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12934
12935 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12936 functions being autoloaded.
12937
12938 * calc/calc.el (calc-lu-power-reference): Rename from
12939 `calc-logunits-power-reference'.
12940 (calc-lu-field-reference): Rename from
12941 `calc-logunits-field-reference'.
12942
7a71b18d
GM
12943 * calc/calc-help.el (calc-l-prefix-help):
12944 Mention musical note functions.
d71990a1 12945
40c2934b
SM
129462011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * minibuffer.el (completion-all-sorted-completions):
12949 Use :completion-cycle-penalty text property if present.
12950
b0911414
KM
129512011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12952
12953 * allout.el (allout-yank-processing): Adjust for new rebulleting
12954 regime so bullet being yanked is used without prompting the user
12955 for a choice.
12956
8a05b668
JB
129572011-03-16 Juanma Barranquero <lekktu@gmail.com>
12958
12959 * startup.el (command-line): Warn the user that _emacs is deprecated.
12960
5ba5fb81
JB
129612011-03-16 Juanma Barranquero <lekktu@gmail.com>
12962
12963 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12964 (delphi-verbose, delphi-comment-face, delphi-string-face)
12965 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12966 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12967 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12968 (delphi-new-comment-line, delphi-font-lock-defaults)
12969 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12970 Fix typos in docstrings.
12971
2dab465b
KM
129722011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12973
5ba5fb81 12974 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12975 Invert the roles of character and string values for INSTEAD, so a
12976 string is used for the more common case of a defaulting prompt.
12977
0adf5618
SM
129782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12979
12980 * progmodes/ruby-mode.el (ruby-backward-sexp):
12981 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12982 * play/gamegrid.el (gamegrid-make-face):
12983 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12984 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12985 * notifications.el (notifications-notify):
12986 * net/xesam.el (xesam-search-engines):
12987 * net/quickurl.el (quickurl-list-insert):
12988 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12989
d72700e5
CY
129902011-03-15 Chong Yidong <cyd@stupidchicken.com>
12991
12992 * startup.el (command-line): Update package subdirectory regexp.
12993
49c5410a
SM
129942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12995
c6eee9aa
SM
12996 * allout.el (allout-abbreviate-flattened-numbering)
12997 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12998
49c5410a
SM
12999 * subr.el (read-char-choice): Only show the cursor after the prompt,
13000 not after the answer.
13001
047b2bb9
KR
130022011-03-15 Kevin Ryde <user42@zip.com.au>
13003
13004 * help-fns.el (variable-at-point): Skip leading quotes, if any
13005 (bug#8253).
13006
0a57d256
SM
130072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13008
13009 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13010 warning message.
13011
77c992bc
MA
130122011-03-14 Michael Albinus <michael.albinus@gmx.de>
13013
13014 * shell.el (shell): When called interactively, offer to change the
13015 shell file name on remote hosts.
13016
eebc475d
TZ
130172011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13018
13019 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13020 integration for LDAP parameters. The host, base, user or binddn,
13021 and secret tokens can be specified in a netrc file, for instance.
13022 This is optional because an `auth-source' parameter must be
13023 specified in the search attributes.
13024
9d05d1ba
JB
130252011-03-13 Juanma Barranquero <lekktu@gmail.com>
13026
13027 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13028
09d9db2c
GM
130292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13030
13031 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13032 into declaration. Remove redundant and harmful binding.
13033
130342011-03-12 Eli Zaretskii <eliz@gnu.org>
13035
13036 * files.el (file-ownership-preserved-p): Pass `integer' as an
13037 explicit 2nd argument to `file-attributes'. If the file's owner
13038 is the Administrators group on Windows, and the current user is
13039 Administrator, consider that a match.
13040
13041 * server.el (server-ensure-safe-dir): Consider server directory
13042 safe on MS-Windows if its owner is the Administrators group while
13043 the current Emacs user is Administrator. Use `=' to compare
13044 numerical UIDs, since they could be integers or floats.
13045
219bd536
JB
130462011-03-12 Juanma Barranquero <lekktu@gmail.com>
13047
13048 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13049
f3afd36b
MA
130502011-03-12 Michael Albinus <michael.albinus@gmx.de>
13051
13052 Sync with Tramp 2.2.1.
13053
13054 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13055
13056 * net/trampver.el: Update release number.
13057
3aaaa6f1
SM
130582011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13059
94642599
SM
13060 * progmodes/compile.el (compilation--previous-directory): Fix up
13061 various nil/dead-marker mismatches (bug#8014).
13062 (compilation-directory-properties, compilation-error-properties):
13063 Don't call it at a position past the one we're about to change.
13064
3aaaa6f1
SM
13065 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13066 Disable obsolescence warnings in the file that declares it.
13067
14239447
KM
130682011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13069
099c39a4
JB
13070 * allout-widgets.el (allout-widgets-tally):
13071 Initialize allout-widgets-tally as a hash table rather than nil to
13072 prevent mode-line redisplay warnings. Also, clarify the module
13073 description and fix a comment typo.
14239447 13074
135e287c
JB
130752011-03-11 Juanma Barranquero <lekktu@gmail.com>
13076
13077 * help-fns.el (describe-variable): Don't complete keywords.
13078 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13079
ffbf300e
CY
130802011-03-10 Chong Yidong <cyd@stupidchicken.com>
13081
ba08b241
CY
13082 * emacs-lisp/package.el (package-version-join): Impose a standard
13083 string representation for pre/alpha/beta version lists.
13084 (package-unpack-single): Standardize the directory name by passing
13085 it through package-version-join.
13086 (package-strip-rcs-id): Accept any version string that does not
13087 signal an error in version-to-list.
ffbf300e 13088
f346fd6b
MA
130892011-03-10 Michael Albinus <michael.albinus@gmx.de>
13090
13091 * simple.el (delete-trailing-whitespace): Return nil for the
13092 benefit of `write-file-functions'.
13093
ccb55d27
GM
130942011-03-10 Glenn Morris <rgm@gnu.org>
13095
5ceaac0c
GM
13096 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13097
02da65ff
GM
13098 * vc/vc-git.el (vc-git-program): New option.
13099 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13100 (vc-git--call): Use it.
13101
b2f603cc
GM
13102 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13103
5772caab
GM
13104 * cus-edit.el (Custom-newline): If no button at point, look
13105 for a subgroup button at start-of-line. (Bug#2298)
13106
ccb55d27
GM
13107 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13108
ec6ecaed
JD
131092011-03-10 Julien Danjou <julien@danjou.info>
13110
13111 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13112 `cursor-type' is nil.
13113
9d5aa01d
JB
131142011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13115
13116 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13117
b6a5875b
KM
131182011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13119
7a71b18d 13120 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13121 preserves the existing header prefix, rebulleting it if necessary,
13122 rather than replacing it. This is necessary for proper operation
13123 of cooperative addons like allout-widgets.
1154d12e
JB
13124 (allout-make-topic-prefix, allout-rebullet-heading):
13125 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13126 value as alternate bullet to be used, instead of prompting the user
13127 for a bullet character.
b6a5875b 13128
ee545c35
MA
131292011-03-09 Michael Albinus <michael.albinus@gmx.de>
13130
d86d2721
SM
13131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13132 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13133 `tramp-default-port'.
13134
c47971d7
DD
131352011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13136
13137 * net/rcirc.el (rcirc-handler-001): Remove useless
13138 with-rcirc-process-buffer.
13139 (rcirc-check-auth-status): Swap arguments to string-match.
13140
13522cb4
GM
131412011-03-09 Glenn Morris <rgm@gnu.org>
13142
0be6f4f1
GM
13143 * shell.el (shell-mode):
13144 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13145
13522cb4
GM
13146 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13147 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13148
515de2e3
CY
131492011-03-08 Chong Yidong <cyd@stupidchicken.com>
13150
13151 * emacs-lisp/package.el (package-refresh-contents)
13152 (package-menu-execute): Use condition-case-no-debug.
13153
b511b994
MA
131542011-03-08 Michael Albinus <michael.albinus@gmx.de>
13155
13156 * simple.el (shell-command-to-string): Use `process-file'.
13157
13158 * emacs-lisp/package.el (package-tar-file-info): Handle also
13159 remote files.
13160
d86d2721
SM
13161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13162 Use `equal' for upload base check.
b511b994 13163
25bbfb31
AM
131642011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13165
13166 * textmodes/texinfo.el (texinfo-environments):
13167 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13168
be996521
GM
131692011-03-08 Glenn Morris <rgm@gnu.org>
13170
e9c8529f
GM
13171 * cus-start.el (cursor-in-non-selected-windows):
13172 Fix :set quoting oddness. (Bug#8192)
13173
be996521
GM
13174 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13175 in some setf expressions. (Bug#2159)
13176
2bb5649e
CY
131772011-03-08 Chong Yidong <cyd@stupidchicken.com>
13178
13179 * custom.el (custom-available-themes): Return themes in
13180 alphabetical order.
13181
33383987 13182See ChangeLog.15 for earlier changes.
e3d51b27
MR
13183
13184;; Local Variables:
13185;; coding: utf-8
e3d51b27
MR
13186;; End:
13187
acaf905b 13188 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13189
13190 This file is part of GNU Emacs.
13191
13192 GNU Emacs is free software: you can redistribute it and/or modify
13193 it under the terms of the GNU General Public License as published by
13194 the Free Software Foundation, either version 3 of the License, or
13195 (at your option) any later version.
13196
13197 GNU Emacs is distributed in the hope that it will be useful,
13198 but WITHOUT ANY WARRANTY; without even the implied warranty of
13199 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13200 GNU General Public License for more details.
13201
13202 You should have received a copy of the GNU General Public License
13203 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.