Silence byte-compiler warnings.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
55a71479
JB
12012-05-02 Juanma Barranquero <lekktu@gmail.com>
2
3 * notifications.el (dbus-debug):
4 * term/linux.el (gpm-mouse-enable):
5 * term/screen.el (xterm-register-default-colors): Declare.
6
7b97c764
CY
72012-05-02 Chong Yidong <cyd@gnu.org>
8
9 * allout.el (allout-exposure-change-functions)
10 (allout-structure-added-functions)
11 (allout-structure-deleted-functions)
12 (allout-structure-shifted-functions): Rename abnormal hooks from
13 *-hook, and convert to defcustoms.
14 (allout-after-copy-or-kill-hook, allout-post-undo-hook): Convert
15 to defcustoms.
16 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
17
18 * allout-widgets.el: Hook callers changed.
19
90207a15 202012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
21
22 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
23 the yanked message in preference to the default value of
24 buffer-file-coding-system.
25
90207a15 262012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad
MR
27
28 * window.el (display-buffer--action-function-custom-type): Fix
29 entry.
30
90207a15 312012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
32
33 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
34
d80ac57b
GM
352012-05-01 Glenn Morris <rgm@gnu.org>
36
976f7668
GM
37 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
38
beb83b5a
GM
39 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
40
d80ac57b
GM
41 * cus-edit.el (custom-variable-documentation): Simplify with format.
42
b593d6a9
AH
432012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
44 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * simple.el (suggest-key-bindings, execute-extended-command):
47 Move from keyboard.c.
48
782fbf2a
CY
492012-05-01 Chong Yidong <cyd@gnu.org>
50
51 * follow.el: Eliminate advice.
52 (set-process-filter, process-filter, sit-for): Advice deleted.
53 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
54 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
55 Vars deleted.
782fbf2a
CY
56 (follow-auto): Use a :set function.
57 (follow-mode): Rewritten. Don't advise process filters.
58 (follow-switch-to-current-buffer-all, follow-scroll-up)
59 (follow-scroll-down): Assume follow-mode is bound.
60 (follow-comint-scroll-to-bottom)
61 (follow-align-compilation-windows): New functions.
62 (follow--window-sorter): New function.
63 (follow-all-followers): Use it to explicitly sort windows by their
64 positions; don't make assumptions about next-window order.
65 (follow-windows-start-end, follow-delete-other-windows-and-split)
66 (follow-calc-win-start): Doc fix.
67 (follow-windows-aligned-p, follow-select-if-visible): Don't call
68 vertical-motion unnecessarily.
69 (follow-adjust-window): New function.
70 (follow-post-command-hook): Use it.
71 (follow-call-set-process-filter, follow-call-process-filter)
72 (follow-intercept-process-output, follow-tidy-process-filter-alist)
73 (follow-stop-intercept-process-output, follow-generic-filter):
74 Functions deleted.
75 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
76 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
77 New functions, replacing advice on scroll-bar-* commands.
87233a14 78 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
79
80 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
81 (comint-postoutput-scroll-to-bottom): Use it.
82 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 83
290af740
GM
842012-05-01 Glenn Morris <rgm@gnu.org>
85
86 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
87 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
88 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
89 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
90 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
91 Remove no-byte-compile setting.
92
6eac8dc9
SM
932012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * minibuffer.el (completion-table-with-quoting): Fix compatibility
96 all-completions code to not return a number in the last cdr.
97
9cc7819c
LL
982012-04-30 Leo Liu <sdl.web@gmail.com>
99
100 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
101 read-only error.
102
c93b886f
CY
1032012-04-29 Chong Yidong <cyd@gnu.org>
104
105 * follow.el (follow-calc-win-end): Rewrite to handle partial
106 screen lines correctly (Bug#8390).
107 (follow-avoid-tail-recenter): Minor cleanup.
108
8b6c19f4
SM
1092012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 Avoid the obsolete `assoc' package.
112 * speedbar.el (speedbar-refresh): Avoid adelete.
113 (speedbar-file-lists): Simplify and avoid aput.
114 * man.el (Man--sections, Man--refpages): New vars, replacing
115 Man-sections-alist and Man-refpages-alist.
116 (Man-build-section-alist, Man-build-references-alist):
117 Use them; avoid aput.
118 (Man--last-section, Man--last-refpage): New vars.
119 (Man-follow-manual-reference): Use them.
120 Use the `default' arg of completing-read.
121 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
122
c5bb7569
CY
1232012-04-27 Chong Yidong <cyd@gnu.org>
124
d1d2e2e8
CY
125 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
126
15cd8efd
CY
127 * startup.el (x-apply-session-resources): New function.
128
129 * term/ns-win.el (ns-initialize-window-system):
130 * term/w32-win.el (w32-initialize-window-system):
131 * term/x-win.el (x-initialize-window-system): Use it to properly
132 set menu-bar-mode and other vars from X resources, even if the
133 initial frame is not a window-system frame (Bug#2299).
134
c5bb7569
CY
135 * subr.el (read-key): Avoid running filter function when setting
136 up temporary tool bar entries (Bug#9922).
137
a8e7d6d7 1382012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
139
140 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
141 (Bug#11344)
142
a8e7d6d7 1432012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
144
145 * select.el (xselect--encode-string): New function, split from
146 xselect-convert-to-string.
147 (xselect-convert-to-string): Use it.
148 (xselect-convert-to-filename, xselect-convert-to-os)
149 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
150 returned strings are properly encoded (Bug#11315).
151
a8e7d6d7 1522012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
153
154 * simple.el (delete-active-region): Move to killing custom group.
155
a8e7d6d7 1562012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
157
158 * progmodes/which-func.el (which-func-current): Quote %
159 characters for mode-line processing.
160
578c1d4b 1612012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
162
163 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
164 reaching eob (Bug#11286).
165
a8e7d6d7 1662012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
167
168 * progmodes/gdb-mi.el (gdb-control-level): New variable.
169 (gdb): Make it buffer-local and init to zero.
170 (gdb-control-commands-regexp): New variable.
171 (gdb-send): Don't wrap in "-interpreter-exec console" if
172 gdb-control-level is positive. Increment gdb-control-level
173 whenever the command matches gdb-control-commands-regexp, and
174 decrement it each time the command is "end". (Bug#11279)
175
a8e7d6d7 1762012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
177
178 * window.el (adjust-window-trailing-edge, enlarge-window)
179 (shrink-window, window-resize):
180 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
181 windows (Bug#11276).
182
b3608390
CY
1832012-04-27 Chong Yidong <cyd@gnu.org>
184
185 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 186 fix "missing prefix" warning. All callers changed.
b3608390 187
797e6e88
SM
1882012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * emacs-lisp/assoc.el: Move to obsolete/.
191
e95a67dc
SM
1922012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
193
657c21e4 194 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
195
196 * term/ns-win.el (ns-define-service):
197 * progmodes/pascal.el (pascal-goto-defun):
198 * progmodes/js.el (js--read-tab):
199 * progmodes/etags.el (tags-lazy-completion-table):
200 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
201 * emacs-lisp/ewoc.el (ewoc--wrap):
202 * emacs-lisp/assoc.el (aput, adelete, amake):
203 * doc-view.el (doc-view-convert-current-doc):
204 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
205
cb3e7ae0
CY
2062012-04-26 Chong Yidong <cyd@gnu.org>
207
dce04f7f
CY
208 * image.el (image-type-from-buffer): Only return supported image
209 type (Bug#9045).
210
cb3e7ae0
CY
211 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
212 value, for symmetry with diff-end-of-hunk.
213 (diff-split-hunk, diff-find-source-location)
214 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
215 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
216 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
217 compute the relevant hunk or file properly (Bug#6005).
218 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
219
0d42eb3e
SM
2202012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * vc/vc-mtn.el:
223 * vc/vc-hg.el:
224 * vc/vc-git.el:
225 * vc/vc-dir.el:
226 * vc/vc-cvs.el:
227 * vc/vc-bzr.el:
228 * vc/vc-arch.el:
229 * vc/vc.el: Replace lexical-let by lexical-binding.
230 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
231 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
232 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
233
f08ae1c9
CY
2342012-04-26 Chong Yidong <cyd@gnu.org>
235
8b71081d
CY
236 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
237 (diff-mode-shared-map): Bind it to / and [remap undo].
238
f08ae1c9
CY
239 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
240 (ediff-window-setup-function): Use it as the default, to set up
241 windows based on whether the current frame is graphical (Bug#2138).
242 (ediff-choose-window-setup-function-automatically): Make obsolete.
243
244 * vc/ediff-init.el: Always define ediff-pixel-width/height.
245
ef24141c
SM
2462012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
247
cc356a5d
SM
248 * ffap.el: Remove old code for obsolete package.
249 (ffap-complete-as-file-p): Remove.
250
b4ff4f1f
SM
251 Use completion-table-with-quoting for comint and pcomplete.
252 * comint.el (comint--unquote&requote-argument)
253 (comint--unquote-argument, comint--requote-argument): New functions.
254 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
255 (comint-quote-filename): Use regexp-opt-charset.
256 (comint--common-suffix, comint--common-quoted-suffix)
257 (comint--table-subvert): Remove.
258 (comint-unquote-function, comint-requote-function): New vars.
259 (comint--complete-file-name-data): Use them with
260 completion-table-with-quoting.
261 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
262 * pcomplete.el (pcomplete-arg-quote-list)
263 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
264 (pcomplete-unquote-argument-function): Default to non-nil.
265 (pcomplete-unquote-argument): Simplify.
266 (pcomplete--common-quoted-suffix): Remove.
267 (pcomplete-requote-argument-function): New var.
268 (pcomplete--common-suffix): New function.
269 (pcomplete-completions-at-point): Use completion-table-with-quoting
270 and completion-table-subvert.
271
79c4eeb4
SM
272 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
273 (minibuffer--double-dollars): Preserve properties.
274 (completion--sifn-requote): New function.
275 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
276
ef24141c
SM
277 * minibuffer.el: Add support for completion of quoted/escaped data.
278 (completion-table-with-quoting, completion-table-subvert): New funs.
279 (completion--twq-try, completion--twq-all): New functions.
280 (completion--nth-completion): New function.
281 (completion-try-completion, completion-all-completions): Use it.
282
784e7d6e
LL
2832012-04-25 Leo Liu <sdl.web@gmail.com>
284
dd2ac746
SM
285 * progmodes/python.el (python-pdbtrack-get-source-buffer):
286 Use compilation-message if available to find real filename.
784e7d6e 287
07875ee7
CY
2882012-04-25 Chong Yidong <cyd@gnu.org>
289
290 * vc/diff-mode.el (diff-setup-whitespace): New function.
291 (diff-mode): Use it.
292
293 * vc/diff.el (diff-sentinel):
294 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
295 Whitespace mode variables based on diff style (Bug#8612).
296
5055880d
LL
2972012-04-25 Leo Liu <sdl.web@gmail.com>
298
daf75653
LL
299 * progmodes/python.el (python-send-region): Add suffix .py to the
300 temp file.
301
5055880d
LL
302 * files.el (auto-mode-alist): Use javascript-mode instead.
303
db9b177b
AH
3042012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
305
ef24141c 306 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
307
308 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 309 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 310 references, see Bug#9.
ef24141c 311 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 312 when receiving a fault reply.
ef24141c 313 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
314
315 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 316 (soap-inspect-simple-type): New function.
db9b177b 317
ef24141c 318 * soap-client.el (soap-simple-type): New struct.
db9b177b 319 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
320 (soap-decode-basic-type, soap-encode-basic-type):
321 support unsignedInt and double basic types.
db9b177b 322 (soap-resolve-references-for-simple-type)
ef24141c
SM
323 (soap-parse-simple-type, soap-encode-simple-type): New function.
324 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
325
326 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
327 (soap-default-soapenc-types): Add integer, byte and anyURI types.
328 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
329 the local name of "soapenc:Array".
330 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
331 decoding integer, byte and anyURI xsd types.
332
1fc6097b
CY
3332012-04-25 Chong Yidong <cyd@gnu.org>
334
335 * cus-edit.el (custom-buffer-create-internal): Update header text.
336
afc6df87
EZ
3372012-04-25 Eli Zaretskii <eliz@gnu.org>
338
339 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
340 settings on 'system-type', not on 'window-system'. On MS-Windows,
341 set interactive-mode on in GDB.
342
dfbd787f
SM
3432012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
346 (ruby-syntax-propertize-regexp): Remove.
347 (ruby-syntax-propertize-function): Split regexp into chunks.
348 Match following code directly.
349
85222d44
DG
3502012-04-24 Dmitry Gutov <dgutov@yandex.ru>
351
51a8ea2a
DG
352 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
353 (ruby-syntax-propertize-regexp): New function.
354 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
355 by a special keyword.
356
85222d44
DG
357 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
358 (ruby-syntax-general-delimiters-goto-beg)
359 (ruby-syntax-propertize-general-delimiters): New functions.
360 (ruby-syntax-propertize-function): Use them to handle GDL.
361 (ruby-font-lock-keywords): Move old handling of GDL...
362 (ruby-font-lock-syntactic-keywords): .. to here.
363 (ruby-calculate-indent): Adjust indentation for GDL.
364
b613912b
MA
3652012-04-24 Michael Albinus <michael.albinus@gmx.de>
366
b5380639
MA
367 * notifications.el (top): Remove unneeded declarations.
368 (notifications-specification-version): Change to "1.2".
e43042fe 369 (notifications-interface, notifications-notify-method)
b613912b
MA
370 (notifications-close-notification-method): Fix docstring.
371 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
372 (notifications-notify): Add :action-items, :resident and
373 :transient hints. Change "image_data" to "image-data" and
374 "image_path" to "image-path".
b613912b
MA
375 (notifications-get-capabilities): New defun.
376
257440aa
LL
3772012-04-24 Leo Liu <sdl.web@gmail.com>
378
379 * progmodes/python.el: Move hideshow setup to the end.
380
b1bac16e
MR
3812012-04-24 Martin Rudalics <rudalics@gmx.at>
382
383 * window.el (handle-select-window): Clear echo area since this is
384 no more done by read_char (Bug#11304).
385
d81bd059
SM
3862012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
389 and `/ M' to filter-derived-mode.
390 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
391 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
392 (ibuffer-mark-by-mode): Use default rather than initial-input.
393 (ibuffer-filter-by-derived-mode): Autoload and require-match.
394
c4cf6d91
IA
3952012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
396
397 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
398 (ibuffer-filter-by-derived-mode): New filter.
399 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
400
7511ded8
CY
4012012-04-23 Andreas Politz <politza@fh-trier.de>
402
403 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
404
775c916b
CY
4052012-04-23 Chong Yidong <cyd@gnu.org>
406
407 * cus-edit.el (customize-apropos, customize-apropos-options):
408 Disable matching of non-option variables (Bug#11176).
409 (customize-option, customize-option-other-window)
410 (customize-changed-options): Doc fix.
411 (customize-apropos-options, customize-apropos-faces)
412 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
413
414 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 415 Fix word list splitting (Bug#11132).
46c71e23
CY
416 (apropos-symbol, apropos-keybinding, apropos-label)
417 (apropos-property, apropos-function-button)
418 (apropos-variable-button, apropos-misc-button): New faces.
419 (apropos-symbol-face, apropos-keybinding-face)
420 (apropos-label-face, apropos-property-face, apropos-match-face):
421 Variables removed (Bug#8396).
422 (apropos-library-button, apropos-format-plist, apropos-print)
423 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 424
2df41f9c
MA
4252012-04-23 Michael Albinus <michael.albinus@gmx.de>
426
427 * net/xesam.el (xesam-mode-map): Use let-bound map in
428 initialization. (Bug#11292)
429
da00640a
AM
4302012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
431
432 Preserve ispell session localwords when switching back to
433 original buffer.
434
435 * ispell.el (ispell-buffer-session-localwords): New buffer-local
436 variable to hold buffer session localwords.
437 (ispell-kill-ispell): add option 'clear to delete session
438 localwords.
439 (ispell-command-loop, ispell-change-dictionary)
440 (ispell-buffer-local-words): Preserve session localwords when
441 needed.
442
443 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
444 Preserve session localwords when needed.
445
f621ccf5
AM
4462012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
447
448 * ispell.el (ispell-insert-word) Remove unneeded function using
449 obsolete `translation-table-for-input'.
ef24141c
SM
450 (ispell-word, ispell-process-line, ispell-complete-word):
451 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 452
c2d1019e
CY
4532012-04-22 Chong Yidong <cyd@gnu.org>
454
455 * cus-edit.el (custom-variable-menu)
456 (custom-variable-reset-saved, custom-face-menu)
457 (custom-face-reset-saved): If there is no saved value, make the
458 "reset-saved" operation bring back the default (Bug#9509).
459 (custom-face-state): Properly detect themed faces.
460
eeddc531
CY
461 * faces.el (face-spec-set): Stop supporting deprecated form of
462 third arg.
463
dcbf5805
MA
4642012-04-22 Michael Albinus <michael.albinus@gmx.de>
465
466 Move functions from C to Lisp. Make non-blocking method calls
467 the default. Implement further D-Bus standard interfaces.
468
ef24141c
SM
469 * net/dbus.el (dbus-message-internal): Declare function.
470 Remove unneeded function declarations.
dcbf5805
MA
471 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
472 (dbus-message-type-method-return, dbus-message-type-error)
473 (dbus-message-type-signal): Declare variables. Remove local
474 definitions.
475 (dbus-interface-dbus, dbus-interface-peer)
476 (dbus-interface-introspectable, dbus-interface-properties)
477 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
478 Adapt docstring.
479 (dbus-interface-objectmanager): New defconst.
480 (dbus-call-method, dbus-call-method-asynchronously)
481 (dbus-send-signal, dbus-method-return-internal)
482 (dbus-method-error-internal, dbus-register-service)
483 (dbus-register-signal, dbus-register-method): New defuns, moved
484 from dbusbind.c
485 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
486 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
487 New defuns.
dcbf5805
MA
488 (dbus-call-method-non-blocking): Make it an obsolete function.
489 (dbus-unregister-object, dbus-unregister-service)
490 (dbus-handle-event, dbus-register-property)
491 (dbus-property-handler): Obey the new structure of
492 `bus-registered-objects'.
493 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
494 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
495 Use `dbus-call-method'.
496
cf20dee0
CY
4972012-04-22 Chong Yidong <cyd@gnu.org>
498
499 * cus-edit.el (custom-commands, custom-reset-menu)
500 (Custom-reset-standard): Tweak labels.
501 (custom-reset-button-menu): Change default to t.
502 (custom-buffer-create-internal): For the custom-reset-button-menu
503 case, put the revert button first.
504 (custom-group-subtitle): New face.
505 (custom-group-value-create): Align docstring to a specific column.
506
507 * wid-edit.el (widget-documentation-link-add): Don't handle
508 indentation in this function.
509 (widget-documentation-string-indent-to): New function.
510 (widget-documentation-string-value-create): Use it.
511
512 * autorevert.el (auto-revert):
513 * epg-config.el (epg):
514 * ibuffer.el (ibuffer):
515 * mpc.el (mpc):
516 * ses.el (ses):
517 * eshell/eshell.el (eshell):
518 * net/ange-ftp.el (ange-ftp):
519 * progmodes/ebnf2ps.el (postscript):
520 * progmodes/flymake.el (flymake):
521 * progmodes/prolog.el (prolog):
522 * progmodes/verilog-mode.el (verilog-mode):
523 * progmodes/which-func.el (which-func):
524 * term/xterm.el (xterm):
525 * textmodes/picture.el (picture):
526 * textmodes/tildify.el (tildify):
527 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
528 customization buffers.
529
583e23bd
AM
5302012-04-22 Alan Mackenzie <acm@muc.de>
531
532 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
533 Adding a ) can hide the resulting (..) from searches. Fix it.
534 Bound the backward search to the position of the existing (.
535
7dd51bf1
JB
5362012-04-21 Juanma Barranquero <lekktu@gmail.com>
537
538 * progmodes/verilog-mode.el (verilog-mode): Check whether
539 which-func-modes is t before adding verilog-mode.
540 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
541
d64a438f
LL
5422012-04-21 Leo Liu <sdl.web@gmail.com>
543
7dd51bf1 544 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 545
081e8d65
MV
5462012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
547
548 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
549 filling of the last column of a table (Bug#5635).
550 (woman-find-next-control-line): New arg, specifying an additional
551 regexp component for the control line.
552 (woman2-roff-buffer): Use it.
553 (woman-break-table): New function.
554 (woman2-TS): Use it.
555
5562012-04-21 Chong Yidong <cyd@gnu.org>
557
558 * woman.el (woman-set-buffer-display-table, woman-decode-region)
559 (woman-horizontal-escapes, woman-negative-vertical-space)
560 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
561 (WoMan-warn-ignored): Use ?\s instead of ?\ .
562
ed571ccb
SM
5632012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * minibuffer.el (completion-file-name-table): Complete user names.
566
39773899
LL
5672012-04-20 Leo Liu <sdl.web@gmail.com>
568
569 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
570 and pcase-let*.
571
de6ff46d
CY
5722012-04-20 Chong Yidong <cyd@gnu.org>
573
574 * server.el (server-execute): Respect initial-buffer-choice if it
575 is a string and there are no files to open (Bug#2825).
576 (server-create-window-system-frame, server-create-tty-frame):
577 Don't switch buffers here.
2d0e8e61
CY
578 (server-process-filter): Only try to open a window system frame if
579 compiled with graphical support (Bug#8314).
de6ff46d 580
54071013
DN
5812012-04-20 Dan Nicolaescu <dann@gnu.org>
582
583 * battery.el (battery-echo-area-format): Display remaining time
584 for sysfs backend too (Bug#11269).
585 (battery-linux-sysfs): Fix conditional for the charge.
586
f30d612a
CY
5872012-04-20 Chong Yidong <cyd@gnu.org>
588
c07a4c0b 589 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
590 (gdb-inferior-io--init-proc): New function.
591 (gdb-init-1): Use it.
592 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
593 responsible for allocating a new pty and hooking it to gdb when
594 the old pty gets an EIO due to process exit.
595 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
596 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
597 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
598
2116e93c
EZ
5992012-04-20 Eli Zaretskii <eliz@gnu.org>
600
601 * window.el (window-min-size, window-sizable, window-min-delta)
602 (window-max-delta, window--resizable, window-resizable)
603 (window-total-size, window-full-height-p, window-full-width-p)
604 (window-in-direction, window--resize-mini-window, window-resize)
605 (window--resize-child-windows-normal)
606 (window--resize-child-windows, window--resize-siblings)
607 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 608 (enlarge-window, shrink-window): Doc fixes.
2116e93c 609
c07a4c0b 6102012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 611
ef24141c
SM
612 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
613 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
614 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
615 pty process (Bug#11273).
616 (gdb-update): New arg to suppress talking to the gdb process.
617 (gdb-done-or-error): Use it.
618 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
619 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
620 sentinel not being called.
621
622 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
623
d02766ab
CY
624 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
625
c07a4c0b 6262012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
627
628 * net/network-stream.el (open-network-stream): Doc fix.
629
c07a4c0b 6302012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
631
632 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
633
c07a4c0b 6342012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
635
636 Ensure searching for keywords is case sensitive.
637
638 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
639 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
640 (c-defun-name, c-mark-function, c-cpp-define-name)
641 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 642 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 643
ef24141c
SM
644 * progmodes/cc-mode.el (c-font-lock-fontify-region):
645 Bind case-fold-search to nil.
f0f6bc35 646
c07a4c0b 6472012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
648
649 * mail/sendmail.el (mail-bury): Call return action with the right
650 Rmail buffer (Bug#11242).
651
9a864fa2
CY
652 * server.el (server-process-filter): Handle corner case where both
653 tty and nowait options are present (Bug#11102).
654
539aa513
EZ
6552012-04-20 Eli Zaretskii <eliz@gnu.org>
656
657 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
658 (top level): Put into the executable the ident-style '$Id:' tag on
659 windows-nt as well.
539aa513 660
cfc7d5da
SM
6612012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * electric.el (electric-indent-post-self-insert-function): Check that
664 electric-indent-mode is enabled in current buffer.
665
5b01685c
JB
6662012-04-19 Juanma Barranquero <lekktu@gmail.com>
667
668 * imenu.el (imenu-progress-message): Restore; it is "used" in
669 erc/erc-imenu.el and net/snmp-mode.el.
670
4d6769e1
JB
6712012-04-19 Juanma Barranquero <lekktu@gmail.com>
672
673 * avoid.el (mouse-avoidance-mode): Mark unused arg.
674 (mouse-avoidance-nudge-mouse): Remove unused binding.
675
676 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
677
678 * descr-text.el (describe-char):
679 * progmodes/python.el (python-describe-symbol):
680 Don't call `toggle-read-only', set `buffer-read-only'.
681
682 * imenu.el (imenu-default-goto-function): Mark unused args.
683 (imenu-progress-message): Remove obsolete macro; all callers changed.
684
685 * subr.el (keymap-canonicalize): Remove unused binding.
686 (read-passwd): Mark unused arg.
687
688 * tutorial.el (tutorial--display-changes): Remove unused binding.
689 (tutorial--save-tutorial-to): Remove unused variable.
690
691 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
692 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
693 (package-generate-autoloads, package-menu--generate)
694 (package-menu--find-upgrades): Remove unused bindings.
695
696 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
697 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
698 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
699 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
700 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
701 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
702 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
703 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
704 (cua-delete-char-rectangle): Mark unused args.
705 (cua-align-rectangle): Remove unused binding.
706
707 * mail/rmail.el (compilation--message->loc)
708 (epa--find-coding-system-for-mime-charset): Declare.
709
710 * net/dbus.el (dbus-register-service): Declare.
711 (dbus-name-owner-changed-handler): Remove unused binding.
712
713 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
714 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
715 (nxml-scan-backward-within): Mark unused arg.
716 (nxml-dynamic-markup-word): Remove unused binding.
717
718 * mouse.el (mouse-menu-major-mode-map):
719 * emacs-lisp/authors.el (authors-scan-change-log)
720 (authors-add-to-author-list):
721 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
722 * emacs-lisp/smie.el (smie-auto-fill):
723 * mail/sendmail.el (mail-bury):
724 * mail/unrmail.el (unrmail):
725 * net/tls.el (open-tls-stream):
726 * textmodes/picture.el (picture-mouse-set-point):
727 Remove unused bindings.
728
8c8fc5df
MA
7292012-04-19 Michael Albinus <michael.albinus@gmx.de>
730
731 * net/tramp.el (tramp-action-password): Let-bind
732 `enable-recursive-minibuffers' to t.
733
a77b0ac9
SS
7342012-04-18 Sam Steingold <sds@gnu.org>
735
736 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
737 instead of 'string to accommodate values like [f11].
738 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
739 * progmodes/gdb-mi.el: Likewise.
740
12a106a9
LL
7412012-04-18 Leo Liu <sdl.web@gmail.com>
742
743 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
744 current buffer.
745 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
746 LOCAL is nil.
747
bc6494ef
CY
7482012-04-18 Chong Yidong <cyd@gnu.org>
749
750 * simple.el (line-move): Use forward-line if in batch mode
751 (Bug#11053).
752
c09c46b2
CS
7532012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
754
755 * files.el (after-find-file): Do not try to add a final newline if
756 the buffer is read-only (Bug#11156).
757
5f6530ea
RS
7582012-04-17 Richard Stallman <rms@gnu.org>
759
760 * mail/rmail.el (rmail-start-mail):
761 Pass (rmail-mail-return...) for the return-action.
762 Pass (rmail-yank-current-message...) for the yank-action.
763 (rmail-yank-current-message): New function.
764 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
765 (rmail-reply): Likewise.
766 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
767
768 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 769 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
770 buffer, not newbuf.
771
197b6f3c
JB
7722012-04-17 Juanma Barranquero <lekktu@gmail.com>
773
774 * server.el (server-ensure-safe-dir): Simplify.
775
2311d8e5 7762012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 777
2311d8e5
GM
778 * emacs-lisp/smie.el: Provide smarter auto-filling.
779 (smie-auto-fill): New function.
780 (smie-setup): Use it.
98fb480e 781
2311d8e5
GM
782 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
783
7842012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
785
786 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
787 (comment-indent): Use it.
788
2311d8e5 7892012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
790
791 * ses.el: The overall change is to add cell renaming, that is
792 setting fancy names for cell symbols other than name matching
793 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 794 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 795 (ses-create-cell-variable): New defun.
2311d8e5 796 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
797 (ses-relocate-formula): Relocate formulas only for cells the
798 symbols of which are not renamed, i.e. symbols whose names do not
799 match regexp "\\`[A-Z]+[0-9]+\\'".
800 (ses-relocate-all): Relocate values only for cells the symbols of
801 which are not renamed.
802 (ses-load): Create cells variables as the (ses-cell ...) are read,
803 in order to check row col consistency with cell symbol name only
804 for cells that are not renamed.
805 (ses-replace-name-in-formula): New defun.
806 (ses-rename-cell): New defun.
4bdf2ad2 807
fc72b15c
PO
8082012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
809
810 * progmodes/perl-mode.el (perl-indent-parens-as-block):
811 New option (bug#11118).
812 (perl-calculate-indent): Respect it.
813
12e10e61
GM
8142012-04-17 Glenn Morris <rgm@gnu.org>
815
816 * dired-aux.el (dired-mark-read-string): Doc fix.
817
30009afd
DA
8182012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
819
820 * dired-aux.el (dired-mark-read-string): Offer optional completion.
821 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
822
41f03f4d
GM
8232012-04-17 Glenn Morris <rgm@gnu.org>
824
825 * mouse.el (mouse-drag-track):
826 * speedbar.el (speedbar-frame-mode):
827 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
828
f45f90f3
LL
8292012-04-16 Leo Liu <sdl.web@gmail.com>
830
831 * progmodes/python.el: Trivial cleanup.
832
94ee8db5
GM
8332012-04-16 Glenn Morris <rgm@gnu.org>
834
121b8917
GM
835 * vc/vc.el (vc-string-prefix-p):
836 * vc/pcvs-util.el (cvs-string-prefix-p):
837 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
838 * mpc.el (mpc-string-prefix-p):
839 Make all of these into obsolete aliases for string-prefix-p.
840 Update callers.
841 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
842
1197ecfa
GM
843 * textmodes/two-column.el: Move custom options to the start.
844 (frame-width): Remove compat definition.
845 (2C-associate-buffer, 2C-dissociate):
846 Use with-current-buffer rather than save-excursion.
847 (2C-dissociate): Force a mode-line update.
848 (2C-autoscroll): Use ignore-errors.
849
099e7202
GM
850 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
851 Autoload trivia.
852
bf350d6a
GM
853 * emacs-lisp/cl-extra.el (*random-state*):
854 Remove unnecessary declaration.
855
0e829eab
GM
856 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
857
e3ad7552
GM
858 * play/cookie1.el (cookie-snarf):
859 Give an explicit error if input file cannot be read.
860
68892d27
GM
861 * play/yow.el (yow-file): Use expand-file-name rather than concat.
862
20f0c46d
GM
863 * progmodes/perl-mode.el (c-macro-expand):
864 Remove unnecessary autoload (it is in loaddefs.el).
865
5a0978ce
GM
866 * textmodes/picture.el (picture-desired-column)
867 (picture-update-desired-column): Convert comments to doc-strings.
868 (picture-substitute): Remove function.
869 (picture-mode-map): Initialize in the defvar.
870
6b955486
GM
871 * woman.el: Remove eval-after-load for tar-mode.
872 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
873 (woman-tar-extract-file): Autoload it.
874
94ee8db5
GM
875 * frame.el (automatic-hscrolling): Make this alias obsolete.
876
177eca34
AM
8772012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
878
879 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 880 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
881 (ispell-dictionary-base-alist): Revert to original XEmacs
882 friendly version for default. [:alpha:] will be added in
883 `ispell-set-spellchecker-params' if needed
177eca34 884
c505aaeb
CY
8852012-04-16 Chong Yidong <cyd@gnu.org>
886
887 * image.el (imagemagick--extension-regexp): New variable.
888 (imagemagick-register-types): Use it.
889 (imagemagick-types-inhibit): Add :set function. Allow new value
890 of t to inhibit all types.
891
892 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
893 so we can preload it.
894
895 * loadup.el (fboundp): Preload regexp-opt, needed by
896 imagemagick-register-types.
897
60efac0f
CY
8982012-04-15 Chong Yidong <cyd@gnu.org>
899
900 * frame.el (scrolling): Remove nearly unused customization group.
901
902 * scroll-all.el (scroll-all-mode): Move to windows group.
903
5dd1713e
CY
9042012-04-15 Chong Yidong <cyd@gnu.org>
905
906 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
907
e6fd457e
CY
9082012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 911 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 912
e153c136
GM
9132012-04-15 Glenn Morris <rgm@gnu.org>
914
915 * simple.el (process-file-side-effects): Doc fix.
916
e6fd457e 9172012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
918
919 * international/mule-cmds.el (set-language-environment): Doc fix.
920
3603c3b1
JB
9212012-04-14 Juanma Barranquero <lekktu@gmail.com>
922
923 * server.el (server-auth-key, server-generate-key): Doc fixes.
924 (server-get-auth-key): Doc fix. Use `string-match-p'.
925 (server-start): Reflow docstring.
926
e6de100c
LI
9272012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
928
929 * server.el (server-generate-key): `called-interactively-p'
930 requires a parameter.
931
29734c21
MN
9322012-04-14 Michal Nazarewicz <mina86@mina86.com>
933
934 * server.el (server-auth-key): New variable.
75f1671a 935 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
936 (server-start): Use the new variable and functions to allow
937 setting a permanent server key (bug#9423).
938
d65c9521
LL
9392012-04-14 Leo Liu <sdl.web@gmail.com>
940
941 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
942
5ae255c7
PE
9432012-04-14 Paul Eggert <eggert@cs.ucla.edu>
944
945 Spelling fixes.
946 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
947 Emacs uses American spelling.
948
d5e6342e
JB
9492012-04-14 Juanma Barranquero <lekktu@gmail.com>
950
951 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
952 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
953 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
954 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
955
ab036cd7
SM
9562012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * progmodes/which-func.el (which-func-modes): Change default.
959
35dc09a1 9602012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
961
962 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
963 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
964
35dc09a1 9652012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
966
967 * custom.el (custom-theme-set-variables): Doc fix.
968
35dc09a1 9692012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
970
971 * international/mule.el (set-auto-coding-for-load): Doc fix.
972
35dc09a1 9732012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 974
35dc09a1
GM
975 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
976 imenu work again for Objective C Mode. Correct the *-index values,
977 these having been disturbed by a previous change in 2011-08.
57f845ee 978
0de3da9f
AM
979 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
980 Correct two search limits.
981
35dc09a1 9822012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
983
984 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
985
35dc09a1 9862012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
987
988 * international/characters.el: Fix sorting.
989
35dc09a1 9902012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
991
992 * international/characters.el: Add more missing Latin case pairs.
993
35dc09a1 9942012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
995
996 * files.el (dir-locals-set-class-variables): Doc fix.
997
35dc09a1 9982012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 999
3f1b5bf8
EZ
1000 * international/characters.el: Add set-case-syntax-pair call for
1001 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1002 counterpart. (Bug#11209)
1003
9f847f41
EZ
1004 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1005
35dc09a1 10062012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1007
1008 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1009
35dc09a1 10102012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1011
35dc09a1
GM
1012 * textmodes/ispell.el (ispell-dictionary-base-alist):
1013 Add data for Hebrew.
e2627d21 1014
35dc09a1 10152012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1016
35dc09a1
GM
1017 * net/rcirc.el (rcirc-cmd-quit):
1018 Revert 2012-03-18 change (Bug#11192).
5c14e333 1019
35dc09a1 10202012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1021
1022 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1023
35dc09a1 10242012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1025
4517fe3a
SM
1026 * minibuffer.el (completion-in-region-mode-map):
1027 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1028
b472a594
VD
10292012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1030
1031 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1032
09b95ce3
MY
10332012-04-13 Masatake YAMATO <yamato@redhat.com>
1034
1035 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1036 to allow `C-M-f' and `C-M-b' to move to the nearest path
1037 separator (bug#9511).
1038
4b63a9ca
LI
10392012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1040
1041 * avoid.el: Require cl when compiling. And also move the
1042 `provide' to the end.
1043
7b55b8bf
TV
10442012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1045
1046 * avoid.el (mouse-avoidance-banish-position): New variable.
1047 (mouse-avoidance-banish-destination): Use it (bug#10165).
1048
adedaa1f
LL
10492012-04-13 Leo Liu <sdl.web@gmail.com>
1050
1051 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1052
70e74021
KB
10532012-04-13 Ken Brown <kbrown@cornell.edu>
1054
1055 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1056 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1057 (browse-url-filename-alist): For the same reason, don't modify
1058 file:// URLs on Cygwin.
1059
e75e89ba
SM
10602012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1063 the region on shift if the binding is already shifted (bug#11221).
1064
82f289a4
GM
10652012-04-12 Glenn Morris <rgm@gnu.org>
1066
1067 * mail/mailpost.el: Move to obsolete/.
1068
d333dc4c
DA
10692012-04-12 Drew Adams <drew.adams@oracle.com>
1070
1071 * imenu.el (imenu--generic-function): Ignore invisible definitions
1072 (bug#10123).
1073
0d15b5ba
VD
10742012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1075
1076 * hexl.el (hexl-bits): New variable.
1077 (hexl-options): Mention the variable in the doc string.
75f1671a 1078 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1079 (hexl-mode): Mention the new variable.
75f1671a
JB
1080 (hexl-mode, hexl-current-address, hexl-current-address):
1081 Use the displen.
0d15b5ba
VD
1082 (hexl-ascii-start-column): New function.
1083 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1084 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1085
64a440db
AM
10862012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1087
1088 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1089 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1090 the encoding, as expected by hunspell.
1091
6decb6c2
SM
10922012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * battery.el (battery--linux-sysfs-regexp): New const.
1095 (battery-status-function): Use it. Remove yeeloong special case.
1096 (battery-yeeloong-sysfs): Remove.
1097 (battery-echo-area-format): Remove yeeloong special case.
1098
088be6fb
SM
10992012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1100
6622e416
SM
1101 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1102 Reported by Noah Friedman.
1103
088be6fb
SM
1104 * subr.el (read-passwd): Use read-string.
1105
b49f886e
LMI
11062012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1107
1108 * vcursor.el (vcursor-move): Increase the priority of the overlay
1109 (bug#9663).
1110
a63067fc
DD
11112012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1112
1113 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1114 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1115
ac3cf14a
WS
11162012-04-11 William Stevenson <yhvh2000@gmail.com>
1117
1118 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1119 define-minor-mode (bug#10760).
1120
c4fc691b 11212012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1122
4d6769e1 1123 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1124 that directories matching `grep-find-ignored-files' won't be
1125 pruned (bug#10351).
1126
af23e2e5
CY
11272012-04-11 Chong Yidong <cyd@gnu.org>
1128
1129 * startup.el (command-line): Remove support for long-obsolete
1130 variable font-lock-face-attributes.
1131
ab7ce8c1
GM
11322012-04-11 Glenn Morris <rgm@gnu.org>
1133
1134 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1135
de8c03dc
SM
11362012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * window.el (window--state-get-1): Obey window-point-insertion-type.
1139
050cc68b
LB
11402012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1141
1142 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1143 to previous function when point is on the first character of a
75f1671a 1144 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1145
a38c310c
GM
11462012-04-11 Glenn Morris <rgm@gnu.org>
1147
effed0c2
GM
1148 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1149 not just file-errors.
1150
a38c310c
GM
1151 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1152 (vc-bzr-sha1): Use internal sha1.
1153
0221e323
SM
11542012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1157
43956923
SG
11582012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1159
1160 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1161 that start in the middle of the line (bug#10496).
1162
6a8c9eaf
DN
11632012-04-10 Dan Nicolaescu <dann@gnu.org>
1164
1165 * battery.el (battery-linux-proc-acpi): Only one battery is
1166 discharged at a time, but that seems to confuse battery.el when
1167 computing `rate-type' for the battery not being discharged
1168 (bug#10332).
1169
1930bf5d
SM
11702012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1171
2a718f6f
SM
1172 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1173
599430d0
SM
1174 * international/quail.el: Use dolist and simplify.
1175 (quail-define-package, quail-update-keyboard-layout)
1176 (quail-define-rules): Use dolist.
1177 (quail-insert-kbd-layout, quail-get-translation): CSE.
1178
a2754b6c
SM
1179 * tmm.el: Use dolist, remove left over hook.
1180 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1181 Use dolist.
1182 (calendar-load-hook): Don't mess with it.
1183
1930bf5d
SM
1184 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1185 Use derived-mode-p. Run the diff asynchronously.
1186
9f67961c
LMI
11872012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1188
1189 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1190
2a8ce227
JB
11912012-04-10 Juanma Barranquero <lekktu@gmail.com>
1192
1193 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1194 (list-dynamic-libraries--loaded): New function.
1195 (list-dynamic-libraries--refresh): Use it.
1196
8f33b5f8
NW
11972012-04-10 Nathan Weizenbaum <nweiz@google.com>
1198
1930bf5d
SM
1199 * progmodes/python.el (python-fill-paragraph):
1200 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1201 disabled (bug#7018).
1202
b12f0439
L
12032012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1204
1930bf5d 1205 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1206 DOS/MS Windows for the Baltic languages. There are still plenty
1207 of texts written in this encoding/codepage (bug#6519).
b12f0439 1208
57c3bd01
GM
12092012-04-10 Glenn Morris <rgm@gnu.org>
1210
1211 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1212 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1213
6c3eab30
FA
12142012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1215
1930bf5d 1216 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1217 next-line "n" and previous-line "p" in order to make recentf more
1218 consistent with ibuffer, dired or org-mode (bug#9387).
1219
24d78a88
LMI
12202012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1221
bc72b5d9
LMI
1222 * image.el (put-image): Return the overlay created instead of the
1223 optional input string (bug#7834). Note that this may break code
1224 that is (for some reason or other) depending on `put-image'
1225 returning the string.
1226
bd2dba5a
LMI
1227 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1228
74beb59f
LMI
1229 * simple.el (zap-to-char): Allow zapping using input methods
1230 (bug#1580).
1231
24d78a88
LMI
1232 * textmodes/fill.el (fill-region): Leave point and mark where they
1233 were before filling (bug#5399).
1234
263f20cd
GM
12352012-04-09 Glenn Morris <rgm@gnu.org>
1236
1237 * version.el (emacs-bzr-get-version):
1238 Handle lightweight checkouts of local branches.
1239
58d1f797
AS
12402012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1241
263f20cd 1242 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1243
b4d3bc10
CY
12442012-04-09 Chong Yidong <cyd@gnu.org>
1245
1246 * custom.el (custom-variable-p): Return nil for non-symbol
1247 arguments instead of signaling an error.
1248 (user-variable-p): Obsolete alias for custom-variable-p.
1249
1250 * apropos.el (apropos-variable):
1251 * files-x.el (read-file-local-variable):
1252 * simple.el (set-variable):
1253 * woman.el (woman-mini-help):
1254 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1255
fd06db5d
GM
12562012-04-09 Glenn Morris <rgm@gnu.org>
1257
e5fcdb5e
GM
1258 * startup.el (normal-top-level): Don't look for leim-list.el
1259 in places where it will not be found. (Bug#910)
1260
fd06db5d
GM
1261 * international/mule-cmds.el (set-default-coding-systems):
1262 * files.el (normal-mode):
1263 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1264 This function was removed with ucs-tables.el in 2008.
1265
b39bb7e1
EZ
12662012-04-08 Eli Zaretskii <eliz@gnu.org>
1267
1268 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1269 ispell-encoding8-command to "-i", without a trailing space.
1270 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1271 separate command-line arguments, to specify the encoding, since
1272 that's how hunspell expects it.
1273
5c5b8e23
GM
12742012-04-08 Glenn Morris <rgm@gnu.org>
1275
1276 * loadup.el: Load bindings before cus-start.
1277 This reduces somewhat the number of "rogue" settings in emacs -Q.
1278
a1ed8b05
GM
12792012-04-07 Glenn Morris <rgm@gnu.org>
1280
1281 * version.el (emacs-bzr-get-version): New function.
dfae128a 1282 (emacs-bzr-version): New variable.
a1ed8b05
GM
1283 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1284 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1285
b142f158
EZ
12862012-04-07 Eli Zaretskii <eliz@gnu.org>
1287
dfae128a
GM
1288 * international/uni-bidi.el, international/uni-category.el:
1289 * international/uni-combining.el, international/uni-decimal.el:
1290 * international/uni-decomposition.el, international/uni-digit.el:
1291 * international/uni-lowercase.el, international/uni-mirrored.el:
1292 * international/uni-name.el, international/uni-numeric.el:
1293 * international/uni-titlecase.el, international/uni-uppercase.el:
1294 Update for Unicode 6.1.
b142f158 1295
9078ead6
EZ
12962012-04-07 Eli Zaretskii <eliz@gnu.org>
1297
1298 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1299
f23d2c7d
LMI
13002012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1301
1302 * window.el (shrink-window): Mention the `window-min-height'
1303 variable in the doc string.
1304
0a0a3573
BG
13052012-04-05 Bastien Guerry <bzg@altern.org>
1306
1307 * color.el (color-lighten-name): Fix typo.
1308
e5248ac9
SM
13092012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * server.el (server--on-display-p): New function.
1312 (server--on-display-p): Use it.
1313
b4243e22
GV
13142012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1315
1316 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1317 (bug#11145).
1318
305d9f44
SM
13192012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * comint.el (comint--common-quoted-suffix): Check string boundary
1322 before comparing (bug#11158).
1323 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1324
3d439cd1
CY
13252012-04-04 Chong Yidong <cyd@gnu.org>
1326
321cc491
CY
1327 * minibuffer.el (completion-extra-properties): Doc fix.
1328
3d439cd1
CY
1329 * subr.el (delayed-warnings-hook): Doc fix.
1330
2d562c0f
DU
13312012-04-04 Daiki Ueno <ueno@unixuser.org>
1332
1333 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1334 selection (Bug#11159).
1335 (epa-insert-keys): Inform that the default public key will be
1336 exported if no key is selected.
1337
4443f204
RS
13382012-04-04 Richard Stallman <rms@gnu.org>
1339
1340 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1341
529c06b6
CY
13422012-04-03 Chong Yidong <cyd@gnu.org>
1343
1344 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1345 mail-insert-file, not its obsolete alias mail-attach-file.
1346
66b907dc
MA
13472012-04-03 Michael Albinus <michael.albinus@gmx.de>
1348
1349 * notifications.el (notifications-notify): Fix docstring.
1350
c0ea195d
GM
13512012-04-02 Glenn Morris <rgm@gnu.org>
1352
1353 * emacs-lisp/authors.el (authors-aliases): Another addition.
1354
5ca64e00
MA
13552012-04-02 Michael Albinus <michael.albinus@gmx.de>
1356
1357 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1358 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1359 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1360
42ee526b
CY
13612012-04-01 Chong Yidong <cyd@gnu.org>
1362
1363 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1364 Handle root directory properly.
1365 (copy-directory): Caller changed.
1366
1367 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1368 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1369
0b021094
GM
13702012-03-31 Glenn Morris <rgm@gnu.org>
1371
40f86458
GM
1372 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1373
7019c177
GM
1374 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1375
a1daddd6
GM
1376 * calendar/calendar.el (calendar-window-list)
1377 (calendar-hide-window): Restore. (Bug#11140)
1378 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1379
0b021094
GM
1380 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1381
40311efc
TV
13822012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1383
1384 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1385 Check if file is a symlink (Bug#10489).
1386
1387 * files.el (copy-directory): Likewise.
1388
5319014e
CY
13892012-03-30 Chong Yidong <cyd@gnu.org>
1390
1391 * image.el (imagemagick-types-inhibit)
1392 (imagemagick-register-types): Doc fix.
1393
935d1290
AM
13942012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1395
ef24141c
SM
1396 * ispell.el (ispell-get-extended-character-mode):
1397 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1398 and treats ~word as ordinary words in pipe mode.
935d1290 1399
61c6e8fd
GM
14002012-03-30 Glenn Morris <rgm@gnu.org>
1401
1402 * tutorial.el (help-with-tutorial): Ensure local variables don't
1403 happen to make the buffer read-only. (Bug#11127)
1404
81fdff00
SM
14052012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1408 (perl-calculate-indent): Return `noindent' in strings.
1409
6e7a6ec0
SS
14102012-03-28 Sam Steingold <sds@gnu.org>
1411
1412 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1413 instead of the broken adhockery which does not prevent calendar
1414 buffers from being displayed at random after exit.
1415 (calendar-window-list, calendar-hide-window): Remove the broken
1416 adhockery.
1417
fee88ca0
GM
14182012-03-28 Glenn Morris <rgm@gnu.org>
1419
1420 * replace.el (query-replace-map): Doc fix.
1421
38de3354
AS
14222012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1423
1424 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1425 contents. (Bug#11109)
1426
b973155e
SM
14272012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1430 (bug#11077).
1431 (avl-tree--check, avl-tree--check-node): New funs.
1432
dcb6e7b3
MR
14332012-03-27 Martin Rudalics <rudalics@gmx.at>
1434
1435 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1436 (switch-to-prev-buffer, switch-to-next-buffer):
1437 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1438 showing a buffer already is done on the same frame.
1439
b4fa35fa
GM
14402012-03-27 Glenn Morris <rgm@gnu.org>
1441
1442 * startup.el (mail-host-address): Doc fix.
1443
f9210e18
SM
14442012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1447 than 197 variables.
1448
c0bf7753
AF
14492012-03-26 Ami Fischman <ami@fischman.org>
1450
1451 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1452
33da7b16
GM
14532012-03-26 Glenn Morris <rgm@gnu.org>
1454
02243d9d
GM
1455 * files.el (save-buffers-kill-emacs): Doc fix.
1456
33da7b16
GM
1457 * startup.el (normal-top-level, command-line, command-line-1):
1458 Give them doc strings.
1459
e5a69fd0
EZ
14602012-03-25 Eli Zaretskii <eliz@gnu.org>
1461
1462 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1463 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1464
9a69676a
CY
14652012-03-25 Chong Yidong <cyd@gnu.org>
1466
4125cb8b
CY
1467 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1468 theme if it was previously enabled before (Bug#11031).
1469
dd470960
CY
1470 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1471 spec with custom-face-get-current-spec if its :shown-value is not
1472 determined yet (Bug#9337).
4125cb8b 1473 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1474
9a69676a
CY
1475 * button.el (button-at): Minor addition to docstring.
1476
6e7e90fa
SL
14772012-03-24 Simon Leinen <simon.leinen@gmail.com>
1478
1479 * vc/vc.el (vc-merge): Fix a prompt.
1480
f06e2758
CY
14812012-03-24 Chong Yidong <cyd@gnu.org>
1482
1483 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1484 point (Bug#9623).
1485
6e7e90fa
SL
1486 * button.el (button-at): Minor addition to docstring.
1487
b9d0879b
SM
14882012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * newcomment.el (comment-choose-indent): No space after BOL.
1491
e71cebb3
SS
14922012-03-22 Sam Steingold <sds@gnu.org>
1493
1494 * window.el (switch-to-prev-buffer): Revert last patch because the
1495 bug turned out to be an advertised feature (Elisp manual 28.14).
1496
335aff35
GM
14972012-03-22 Glenn Morris <rgm@gnu.org>
1498
1499 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1500 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1501
c676576a
LMI
15022012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1503
1504 * net/network-stream.el (network-stream-open-starttls): Make error
1505 message under Windows be less misleading.
1506
126f3d39
LW
15072012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1508
1509 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1510 understands (bug#9942).
1511
64fee311
CY
15122012-03-22 Chong Yidong <cyd@gnu.org>
1513
1514 * simple.el (end-of-visible-line): Handle return value of
1515 next-single-property-change properly (Bug#9371).
1516
a640d29a
KH
15172012-03-22 Kenichi Handa <handa@m17n.org>
1518
1519 * international/quail.el (quail-insert-kbd-layout): Fix previous
1520 change. To avoid unwanted bidi reordering, use
1521 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1522
39675016
DG
15232012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1524
1525 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1526 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1527 (ruby-beginning-of-indent): Be more careful with the difference
1528 between word-boundary and symbol boundary.
1529 (ruby-mode-syntax-table): Make : a symbol constituent.
1530
0a6934fc 15312012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1532
3d008e4f
SM
1533 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1534
0a6934fc
SM
15352012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1536
af67c9d7
SM
1537 * progmodes/etags.el (tags-completion-at-point-function):
1538 Improve last fix.
1539
1acad97c
SM
1540 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1541
e298b5da
SS
15422012-03-21 Sam Steingold <sds@gnu.org>
1543
1544 * progmodes/etags.el (tags-completion-at-point-function):
1545 Avoid the error when point is inside the pattern.
1546
91d82a70
JY
15472012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1548
1549 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1550 line (Bug#10855).
1551
69188b79
CY
15522012-03-21 Drew Adams <drew.adams@oracle.com>
1553
1554 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1555
99fc91fe
AK
15562012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1557
1558 * ido.el (ido-set-current-directory, ido-read-internal)
1559 (ido-choose-completion-string, ido-completion-help): Handle nil
1560 value of ido-completion-buffer (Bug#11008).
1561
087bbb4c
SS
15622012-03-21 Sam Steingold <sds@gnu.org>
1563
1564 * window.el (switch-to-prev-buffer): Do not switch to a visible
1565 window previous buffer, just like with the frame previous buffers.
1566
fb5b8aca
CY
15672012-03-21 Chong Yidong <cyd@gnu.org>
1568
1569 * faces.el (make-face, make-empty-face, copy-face):
1570 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1571 Doc fixes.
1572
dc9924b8
SM
15732012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1576 (widget-complete): Remove broken use of it.
1577
f0bcceb9
CY
15782012-03-20 Chong Yidong <cyd@gnu.org>
1579
dc9924b8
SM
1580 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1581 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1582 characters.
1583
ee52ebf3
TH
15842012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1585
1586 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1587 to draw rectangles, not squares. (Regression introduced by revno
1588 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1589
4c5779ab
CY
15902012-03-18 Chong Yidong <cyd@gnu.org>
1591
1592 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1593 it is not yet defined (for temacs).
1594
15360934
LL
15952012-03-18 Leo Liu <sdl.web@gmail.com>
1596
dc9924b8 1597 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1598
d9a8eb66
EZ
15992012-03-17 Eli Zaretskii <eliz@gnu.org>
1600
1601 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1602 (ispell-choices-win-default-height, ispell-silently-savep)
1603 (ispell-dictionary-alist, ispell-encoding8-command)
1604 (ispell-check-version, ispell-aspell-find-dictionary)
1605 (ispell-valid-dictionary-list, ispell-words-keyword)
1606 (ispell-get-word, ispell-internal-change-dictionary)
1607 (ispell-region, ispell-skip-region-list)
1608 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1609 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1610 (ispell-message-text-end, ispell-message)
1611 (ispell-buffer-local-parsing): Doc fix.
1612
f02ff80d
J
16132012-03-13 Jambunathan K <kjambunathan@gmail.com>
1614
1615 * htmlfontify.el: Add support for code block fontification for ODT
1616 export (Bug #9914).
1617 (hfy-optimisations): Define new option
1618 `body-text-only'
1619 (hfy-fontify-buffer): Honor above setting.
1620 (hfy-begin-span, hfy-end-span): New routines factored out form
1621 `hfy-fontify-buffer'.
1622 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1623 that permit insertion of custom tags.
1624 (hfy-fontify-buffer): Use above handlers.
1625 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1626 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1627 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1628 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1629 bind a special variable `hfy-user-sheet-assoc'.
1630 (htmlfontify-string): New defun.
1631 (hfy-compile-face-map): Make sure that the last char in the
1632 buffer is correctly fontified.
1633 (hfy-face-resolve-face): Whitespace only change.
1634
9ac7a13f
EZ
16352012-03-17 Eli Zaretskii <eliz@gnu.org>
1636
1637 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1638 message more clear.
1639
e2b5bdd7
LL
16402012-03-16 Leo Liu <sdl.web@gmail.com>
1641
1642 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1643
2e492df3
AM
16442012-03-16 Alan Mackenzie <acm@muc.de>
1645
1646 Further optimise the handling of large macros.
1647
1648 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1649 limit to a call of `c-literal-limits'.
1650 (c-determine-+ve-limit): New function.
dc9924b8
SM
1651 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1652 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1653 In CASE 5B, restrict a search limit to 500.
1654 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1655
1656 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1657 Restrict macro bounds to +-500 from after-change's BEG END.
1658
50e94f0c
LL
16592012-03-16 Leo Liu <sdl.web@gmail.com>
1660
1661 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1662
6f09f6ed
AH
16632012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1664
1665 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1666 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1667
c7e73d51
GM
16682012-03-16 Glenn Morris <rgm@gnu.org>
1669
da986230
GM
1670 * view.el (view-buffer, view-buffer-other-window)
1671 (view-buffer-other-frame): Doc fixes re special mode-class.
1672
0835f01e
GM
1673 * subr.el (eval-after-load): If named feature is provided not from
1674 a file, run after-load forms. (Bug#10946)
1675
c7e73d51
GM
1676 * calendar/calendar.el (calendar-insert-at-column):
1677 Handle non-unit-width characters a bit better. (Bug#10978)
1678
3f2eafd1
CY
16792012-03-15 Chong Yidong <cyd@gnu.org>
1680
1681 * emacs-lisp/ring.el (ring-extend): New function.
1682 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1683
1684 * comint.el (comint-read-input-ring)
1685 (comint-add-to-input-history): Grow comint-input-ring lazily.
1686
103af3fe
SM
16872012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1688
663b1677
SM
1689 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1690 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1691
103af3fe
SM
1692 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1693 (imenu-add-to-menubar): Don't add a redundant index.
1694 (imenu-update-menubar): Handle a dynamically composed keymap.
1695
899cb7cb
KY
16962012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1697
1698 * mail/sendmail.el (mail-encode-header):
1699 Bind rfc2047-encode-encoded-words to nil.
1700
3809f91d
GM
17012012-03-13 Glenn Morris <rgm@gnu.org>
1702
1703 * calendar/calendar.el (calendar-string-spread):
1704 Handle non-unit-width characters a bit better. (Bug#10978)
1705
9e345a01
LL
17062012-03-13 Leo Liu <sdl.web@gmail.com>
1707
1708 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1709 directory and file as argument (Bug#10822).
1710
4a07df36
KS
17112012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1712
1713 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1714 For dynamically generated code, follow $PC.
1715 (gdb-disassembly-handler-custom): Handle no function name case.
1716
4aaa9356
TL
17172012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1718
1719 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1720 * emulation/ws-mode.el (ws-query-replace):
1721 * sort.el (sort-regexp-fields):
1722 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1723
225979da
SM
17242012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * dabbrev.el: Fix cycle completion order (bug#10963).
1727 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1728 (dabbrev-completion): Don't use an obarray; provide
1729 a cycle-sort-function.
1730
e2f1fdab
LL
17312012-03-12 Leo Liu <sdl.web@gmail.com>
1732
dc9924b8 1733 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1734 (kill-do-not-save-duplicates): Doc fix.
1735
b19490ed
SM
17362012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * dabbrev.el: Fix cycle completion (bug#10963).
1739 Use lexical binding and wrap to 80 columns.
1740 (dabbrev-completion): Delay computing the list of completions.
1741
4b05d722
KH
17422012-03-12 Kenichi Handa <handa@m17n.org>
1743
1744 * international/quail.el (quail-insert-kbd-layout): Surround each
1745 row by LRO and PDF instead of inserting many LRMs. Pad the left
1746 and right of each non-spacing marks. Insert invisible space
1747 between lower and upper characters to prevent composition.
1748
dbbc2e69
SM
17492012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * minibuffer.el (minibuffer-complete): Don't get confused when the
1752 function is run twice via different commands (bug#10958).
1753 (complete-with-action): Fix docstring.
1754
292112ed
CY
17552012-03-12 Chong Yidong <cyd@gnu.org>
1756
5d1ac394
CY
1757 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1758 (nxml-completion-at-point-function): New function.
1759 (nxml-mode): Use it.
1760 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1761
292112ed
CY
1762 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1763 Load generated autoloads file before byte compiling (Bug#10970).
1764 (package--make-autoloads-and-compile): New helper fun.
1765
4098f8f7
CS
17662012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1767
1768 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1769
8f754691
MA
17702012-03-11 Michael Albinus <michael.albinus@gmx.de>
1771
1772 * autorevert.el (auto-revert-handler): Ensure, that
1773 file-readable-p is applied only for local files or in
1774 auto-revert-tail-mode.
1775
e29ab36b
AS
17762012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1777
dbbc2e69
SM
1778 * server.el (server-eval-at): Handle non-tcp connections.
1779 Decode result string.
ad0bf5b6 1780
e29ab36b
AS
1781 * server.el (server-msg-size): New constant.
1782 (server-reply-print): New function.
1783 (server-eval-and-print): Use it.
1784 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1785 Handle -print-nonl.
1786
de5939ba
CS
17872012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1788
1789 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1790 (Bug#10987).
1791
0c93eabf
CY
17922012-03-11 Chong Yidong <cyd@gnu.org>
1793
397a688f
CY
1794 * simple.el (goto-line): Doc fix (Bug#9938).
1795
2cc775f9
CY
1796 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1797
0c93eabf
CY
1798 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1799 when finished (Bug#10963).
1800
c491fa41
MR
18012012-03-11 Martin Rudalics <rudalics@gmx.at>
1802
1803 * window.el (split-window-below): Fix bug in case where
1804 split-window-keep-point is nil (Bug#10971).
1805
300e8fa5
JL
18062012-03-11 Juri Linkov <juri@jurta.org>
1807
1808 * replace.el (replace-highlight): Set isearch-word to nil
1809 unconditionally. (Bug#10887)
1810
dbf6c5a1
EZ
18112012-03-10 Eli Zaretskii <eliz@gnu.org>
1812
1813 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1814 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1815 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1816 (mairix-widget-create-query): Add usage information about mairix
1817 search forms: negating words, searching for substrings, etc.
1818
b9e501de
JP
18192012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1820
1821 * international/fontset.el (font-encoding-alist): Add an entry for
1822 ksx1001 (Bug#5667).
1823
92795c91
RS
18242012-03-10 Richard Stallman <rms@gnu.org>
1825
1694e6c1
RS
1826 * mail/sendmail.el (mail-encode-header):
1827 Set rfc2047-encode-encoded-words.
1828
607e8555
RS
1829 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1830
de3bc99a
RS
1831 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1832 view buffer means not swapped.
1833 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1834 (rmail-write-region-annotate): Error if real text has disappeared.
1835
92795c91
RS
1836 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1837
699bd04e
CY
18382012-03-10 Chong Yidong <cyd@gnu.org>
1839
1840 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1841 * emulation/cua-base.el (cua--init-keymaps):
1842 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1843
570a1714
MR
18442012-03-10 Martin Rudalics <rudalics@gmx.at>
1845
dbbc2e69
SM
1846 * speedbar.el (speedbar-unhighlight-one-tag-line):
1847 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1848
82dcf4e4
CY
18492012-03-10 Chong Yidong <cyd@gnu.org>
1850
7a2c7ca7
CY
1851 * minibuffer.el (completion-in-region, completion-help-at-point):
1852 Give the completion field overlay a high priority (Bug#6830).
1853
82dcf4e4
CY
1854 * dired.el (dired-goto-file): Recognize absolute file name
1855 listings (Bug#7126).
1856 (dired-goto-file-1): New helper function.
1857 (dired-toggle-read-only): Inhibit warnings.
1858
052e28ac
MA
18592012-03-09 Michael Albinus <michael.albinus@gmx.de>
1860
75f1671a 1861 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1862 there are no properties.
1863
95d5e396
LL
18642012-03-09 Leo Liu <sdl.web@gmail.com>
1865
1866 * savehist.el (savehist-printable): Stricter check for string
1867 value (Bug#10937).
1868
3f018d6d
EZ
18692012-03-09 Eli Zaretskii <eliz@gnu.org>
1870
dbbc2e69
SM
1871 * mail/smtpmail.el (smtpmail-send-it):
1872 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1873 valid mbox format.
1874
f7fd3d79
GM
18752012-03-09 Glenn Morris <rgm@gnu.org>
1876
1877 * files.el (dir-locals-find-file):
1878 Don't check result is regular, readable.
1879 (dir-locals-read-from-file): Demote errors.
1880
6ff6e72f
EZ
18812012-03-08 Eli Zaretskii <eliz@gnu.org>
1882
dbbc2e69
SM
1883 * international/quail.el (quail-insert-kbd-layout):
1884 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1885 layout cell, to prevent their reordering by bidi display engine.
1886 For details, see the discussion in
1887 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1888
9cec7834
AM
18892012-03-08 Alan Mackenzie <acm@muc.de>
1890
1891 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1892 the starting position; make it extend the marked region when
1893 invoked repeatedly - all under appropriate circumstances.
1894 Fixes bugs #5525, #10906.
1895
9a40b8d4
GM
18962012-03-08 Glenn Morris <rgm@gnu.org>
1897
1898 * files.el (locate-dominating-file, dir-locals-find-file):
1899 Undo 2012-03-06 change.
1900
7a08ed35
EZ
19012012-03-07 Eli Zaretskii <eliz@gnu.org>
1902
dbbc2e69
SM
1903 * international/quail.el (quail-help):
1904 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1905 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1906 for the reason.
1907
5aca4f71 19082012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1909
1910 Avoid superfluous registering of signals. (Bug#10807)
1911
1912 * notifications.el (notifications-on-action-object)
1913 (notifications-on-close-object): New defvars.
1914 (notifications-on-action-signal, notifications-on-closed-signal):
1915 Unregister the signal if not needed any longer.
1916 (notifications-notify): Register `notifications-action-signal' or
1917 `notifications-closed-signal', if :on-action or :on-close has been
1918 passed as argument.
1919
78e8b10a
CY
19202012-03-07 Chong Yidong <cyd@gnu.org>
1921
1922 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1923 non-X platforms.
1924
69481eb8
GM
19252012-03-06 Glenn Morris <rgm@gnu.org>
1926
1927 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1928 (x-disown-selection-internal, x-get-selection-internal):
1929 Doc fix (add arglist signatures). (Bug#10783)
1930
133b8e11
KS
19312012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1932
1933 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1934 Handle breakpoints with no "type".
1935
99a83064
GM
19362012-03-06 Glenn Morris <rgm@gnu.org>
1937
1938 * files.el (locate-dominating-file): Add optional predicate argument.
1939 (dir-locals-find-file): Make use of above change.
1940
17798e78
TTN
19412012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1942
1943 * info.el (Info-insert-dir): Also try "dir.gz".
1944
eb182446
GM
19452012-03-06 Glenn Morris <rgm@gnu.org>
1946
8f2114ee
GM
1947 * files.el (dir-locals-find-file):
1948 Ignore non-readable or non-regular files. (Bug#10928)
1949
eb182446
GM
1950 * files.el (locate-dominating-file): Doc fix.
1951
24679323
AS
19522012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1953
1954 * calendar/calendar.el (calendar-set-mode-line):
1955 `getenv' returns a string. (Bug#10951)
1956
01d972a9
LL
19572012-03-05 Leo Liu <sdl.web@gmail.com>
1958
109aa8a9
LL
1959 * simple.el (backward-delete-char-untabify): Constrain point to
1960 field (Bug#10939).
1961
01d972a9
LL
1962 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1963
10607bea
CY
19642012-03-05 Chong Yidong <cyd@gnu.org>
1965
1966 * simple.el (count-words): If called from Lisp, return the word
1967 count, for symmetry with `count-lines'. Arglist changed.
1968 (count-words--message): Args changed. Consolidate counting code
1969 from count-words and count-words-region.
1970 (count-words-region): Caller changed.
1971 (count-lines-region): Make it an obsolete alias.
1972
5dd11cfe
TH
19732012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1974
1975 * saveplace.el (save-place-to-alist)
1976 (save-place-ignore-files-regexp): Allow value nil to disable this
1977 feature.
1978
c349f4e6
CY
19792012-03-04 Chong Yidong <cyd@gnu.org>
1980
1981 * faces.el (face-spec-reset-face): For the default face, reset the
1982 attributes to default values (Bug#10748).
1983
e627be4c
LMI
19842012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1985
1986 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1987 previous patch: Check `message-send-mail-function', and not the
1988 default function (bug#10897).
1989
ebeabff4
MA
19902012-03-04 Michael Albinus <michael.albinus@gmx.de>
1991
a41a6cf4
MA
1992 * notifications.el (notifications-on-action-signal)
1993 (notifications-on-closed-signal): Check for unique service name of
1994 incoming event. Fix error in removing entry.
ebeabff4 1995 (top): Register for signals with wildcard service name.
a41a6cf4 1996 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1997
c1ca42b4
CY
19982012-03-04 Chong Yidong <cyd@gnu.org>
1999
dc9924b8 2000 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2001
ea16568d
GM
20022012-03-04 Glenn Morris <rgm@gnu.org>
2003
2004 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2005 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2006 (expand-abbrev, define-abbrev-table): Doc fixes.
2007
fbae4637
LMI
20082012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2009
2010 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2011 `message-default-send-mail-function' and not `send-mail-function'
2012 when doing the prompting for `sendmail-query-once' before sending
2013 in Message buffers (bug#10897).
2014
a1e7225c
LMI
2015 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2016 This is inconsistent with all the other stream functions, which leave
2017 the setting up to the higher levels (if so wanted) (bug#10931).
2018
56d093a9
AM
20192012-03-02 Alan Mackenzie <acm@muc.de>
2020
2021 Depessimize the handling of very large macros.
2022
2023 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2024 (c-macro-cache-syntactic): New variables to implement a one
2025 element macro cache.
2026 (c-invalidate-macro-cache): New function.
2027 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2028 Adapt to use the new cache.
2029 (c-state-safe-place): Use better the cache of safe positions.
2030 (c-state-semi-nonlit-pos-cache)
2031 (c-state-semi-nonlit-pos-cache-limit):
2032 New variables for...
2033 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2034 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2035 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2036 Use c-state-semi-safe-place.
56d093a9 2037
dbbc2e69
SM
2038 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2039 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2040
817e5c3d
MA
20412012-03-02 Michael Albinus <michael.albinus@gmx.de>
2042
dbbc2e69
SM
2043 * jka-compr.el (jka-compr-call-process):
2044 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2045 not remote.
2046
a032a702
MA
20472012-03-01 Michael Albinus <michael.albinus@gmx.de>
2048
2049 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2050 access of FILE2, if FILE1 does not exist.
2051
99a54f21
MA
2052 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2053 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2054
2055 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2056 Add "PAGER=" to `process-environment'.
2057
f6561e1f
MM
20582012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2059
2060 * progmodes/sql.el: Bug fix
2061 (sql-get-login-ext): Save login values in globals.
2062 (sql-get-login): Use new version of `sql-get-login-ext'.
2063 (sql-interactive-mode): Set global `sql-connection' to nil.
2064 (sql-connect): Set global values for connection.
2065 (sql-product-interactive): Save global values as buffer local.
2066
2d44d9cc
LL
20672012-02-29 Leo Liu <sdl.web@gmail.com>
2068
2069 * abbrev.el (define-abbrevs): Reset sys to nil.
2070
96b49301 20712012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2072
bf7f9bc5
JB
2073 * files.el (file-equal-p): Rename from `files-equal-p'.
2074 Return nil when one or both files don't exist.
96b49301 2075 (file-subdir-of-p): Now only top directory must exists,
2076 return nil if it doesn't.
bf7f9bc5
JB
2077 (copy-directory): No need to test with `file-subdir-of-p' after
2078 creating dir.
2079 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2080 to `file-equal-p'.
96b49301 2081
44e97401
GM
20822012-02-28 Glenn Morris <rgm@gnu.org>
2083
2084 * shell.el (shell-mode):
2085 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2086 * play/landmark.el (landmark-font-lock-face-O):
2087 * play/handwrite.el (handwrite):
2088 * play/gomoku.el (gomoku-O):
2089 * net/browse-url.el (browse-url-browser-display):
2090 * international/mule.el (define-charset):
2091 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2092 * filesets.el (filesets-find-file-delay):
2093 * eshell/em-xtra.el (eshell-xtra):
2094 * eshell/em-unix.el (eshell-grep):
2095 * emulation/viper.el (viper-mode):
2096 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2097 * emacs-lisp/easymenu.el (easy-menu-define):
2098 * calendar/timeclock.el (timeclock-use-display-time):
2099 * bs.el (bs-mode):
2100 * bookmark.el (bookmark-save-flag):
2101 Doc fix (standardize possessive apostrophe usage).
2102
c98c6276
CY
21032012-02-27 Chong Yidong <cyd@gnu.org>
2104
bf7f9bc5
JB
2105 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2106 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2107
c98c6276
CY
2108 * font-lock.el (font-lock-specified-p): Rename from
2109 font-lock-spec-present. Callers changed.
2110
9c62cd04 21112012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2112
bf7f9bc5
JB
2113 * emacs-lisp/package.el (package-compute-transaction):
2114 Handle holding a package version to t in package-load-list.
8ac9e529 2115
530739c9
MA
21162012-02-26 Michael Albinus <michael.albinus@gmx.de>
2117
2118 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2119 (tramp-get-inode, tramp-get-device): Use cached values.
2120
487915d7
AM
21212012-02-26 Alan Mackenzie <acm@muc.de>
2122
2123 Check there is a font-lock specification before doing initial
2124 fontification.
2125
2126 * font-core.el (font-lock-mode): Move the conditional from
2127 :after-hook to font-lock-initial-fontify.
2128 (font-lock-default-function): Move the check for a specification
2129 to font-lock-spec-present.
2130
dc9924b8 2131 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2132 (font-lock-spec-present): New function.
2133
4fd96557
JB
21342012-02-26 Jim Blandy <jimb@red-bean.com>
2135
2136 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2137 (gdb-send): Apply it to the operand of the '-interpreter-exec
2138 console' command, so that we can pass arguments with (say) quotes
2139 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2140
9a4888c0
CY
21412012-02-26 Chong Yidong <cyd@gnu.org>
2142
07498861
CY
2143 * help-fns.el (describe-function-1): Clarify description of
2144 remapping (Bug#10844).
2145
9a4888c0
CY
2146 * files.el (files-equal-p): Doc fix.
2147 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2148 and quit the loop once a mismatch is found.
2149
ea8fb88d
JB
21502012-02-25 Juanma Barranquero <lekktu@gmail.com>
2151
2152 * bs.el (bs--show-with-configuration): Don't throw an error
2153 if the window cannot be split; otherwise, subsequent calls to
2154 bs-show fail, restoring a stale window config. (Bug#10882)
2155
525795c1
JD
21562012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2157
2158 * term/ns-win.el (global-map): Bind ns-drag-file to
2159 ns-find-file (Bug#5855, Bug#10050).
2160
f008086f
AS
21612012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2162
2163 * calendar/parse-time.el (parse-time-string): Allow extractor to
2164 return nil.
2165
a3fcfa99
MA
21662012-02-25 Michael Albinus <michael.albinus@gmx.de>
2167
91027d08
JB
2168 * net/tramp.el (tramp-file-name-for-operation):
2169 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2170
2171 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2172 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2173 Add COPY-CONTENTS argument.
a3fcfa99 2174
67b0de11
CY
21752012-02-25 Chong Yidong <cyd@gnu.org>
2176
2177 Add custom groups for VC backends, for consistency with vc-bzr.
2178
2179 * vc/vc-arch.el (vc-arch):
2180 * vc/vc-cvs.el (vc-cvs):
2181 * vc/vc-git.el (vc-git):
2182 * vc/vc-hg.el (vc-hg):
2183 * vc/vc-mtn.el (vc-mtn):
2184 * vc/vc-rcs.el (vc-rcs):
2185 * vc/vc-sccs.el (vc-sccs):
2186 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2187 All relevant defcustoms reassigned.
2188
3c9dfce6
CY
21892012-02-25 Chong Yidong <cyd@gnu.org>
2190
1339bf43
CY
2191 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2192
3c9dfce6
CY
2193 * term/x-win.el (x-initialize-window-system): Reduce default for
2194 x-selection-timeout to 5 seconds (Bug#8869).
2195
25b2e303 21962012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2197
ec70a47d
GM
2198 * files.el (files-equal-p, file-subdir-of-p): New functions.
2199 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2200 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2201 * dired-aux.el (dired-copy-file-recursive): Same.
2202 (dired-create-files): Modify destination when source is equal to
2203 dest when copying files.
53a46cd0 2204 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2205
914260cd
MA
22062012-02-24 Michael Albinus <michael.albinus@gmx.de>
2207
2208 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2209 (Bug#10874)
2210
2cb228f7
AM
22112012-02-23 Alan Mackenzie <acm@muc.de>
2212
2213 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2214 parameter "after-hook:" to allow the expansion to run code after
2215 the execution of the mode hooks.
2216
2217 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2218 from font-lock-mode-internal.
2cb228f7 2219
91027d08 2220 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2221 :after-hook.
2222
8f0fde21
SM
22232012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2224
3e88618b
SM
2225 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2226 (completion--cache-all-sorted-completions): New function.
2227 (completion-all-sorted-completions): Use it.
2228 (completion--do-completion, minibuffer-force-complete):
2229 Use it to re-instate the flush hook.
2230
8f0fde21
SM
2231 * icomplete.el (icomplete-completions): Replace last fix with a better
2232 one (bug#10850).
2233
8e911f6f
DG
22342012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2235
2236 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2237 when it might call us back infinitely (bug#10797).
2238
49fe4321
GM
22392012-02-23 Glenn Morris <rgm@gnu.org>
2240
2241 * minibuffer.el (completion-category-overrides): Doc fix.
2242
b291b572
SM
22432012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2246 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2247
31a9ef2e
GM
22482012-02-23 Glenn Morris <rgm@gnu.org>
2249
5e6e6794 2250 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2251 (authors-obsolete-files-regexps, authors-ignored-files)
2252 (authors-ambiguous-files, authors-renamed-files-alist):
2253 Add more entries.
2254
0bd1e074
JL
22552012-02-23 Juri Linkov <juri@jurta.org>
2256
2257 * isearch.el (isearch-occur): Sync interactive spec with occur's
2258 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2259
b617673c
JL
2260 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2261
19e9789e
JL
22622012-02-22 Juri Linkov <juri@jurta.org>
2263
2264 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2265 (ucs-insert): Doc fix. Check for hex digits in the string.
2266 Don't display `nil' in the error message. (Bug#10857)
2267
f41ce09d
AM
22682012-02-22 Alan Mackenzie <acm@muc.de>
2269
7a71b18d 2270 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2271
ac2eceee
GM
22722012-02-22 Glenn Morris <rgm@gnu.org>
2273
2274 * ffap.el (ffap-c-path):
2275 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2276
abd1f678
CY
22772012-02-22 Chong Yidong <cyd@gnu.org>
2278
2279 * custom.el (load-theme): Doc fix.
2280
f25aef2e
GM
22812012-02-22 Glenn Morris <rgm@gnu.org>
2282
2283 * dired-x.el (dired-guess-shell-alist-default):
2284 Remove escape sequences from nroff output. (Bug#172)
2285
5f8dc2ca
GM
22862012-02-21 Glenn Morris <rgm@gnu.org>
2287
6ff86ec4
GM
2288 * vc/emerge.el (emerge-defvar-local):
2289 Set `permanent-local' property rather than unused `preserved'.
2290
be3223a3 2291 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2292 (picture-mode-map): Use it. (Bug#10860)
2293 (picture-mode): Doc fix.
2294
3fe58f4f
JB
22952012-02-21 Juanma Barranquero <lekktu@gmail.com>
2296
2297 * newcomment.el (uncomment-region-default): Remove unused binding.
2298
f9a998c3
GM
22992012-02-21 Glenn Morris <rgm@gnu.org>
2300
2301 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2302 (picture-self-insert, picture-tab-chars): Doc fix.
2303 (picture-mode-map): Fix C-a, C-e.
2304
c6029348
GM
23052012-02-20 Glenn Morris <rgm@gnu.org>
2306
2307 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2308
ab1ce9d7
LL
23092012-02-20 Leo Liu <sdl.web@gmail.com>
2310
2311 * icomplete.el (icomplete-completions): Check FROM arg before
2312 passing to substring (Bug#10850).
2313
0fd40f89
CY
23142012-02-19 Chong Yidong <cyd@gnu.org>
2315
2316 * comint.el: Require ansi-color.
2317 (comint-output-filter-functions): Add ansi-color-process-output.
2318
2319 * ansi-color.el: Don't set comint-output-filter-functions; it is
2320 now in the initial value defined in comint.el.
2321 (ansi-color-apply-face-function): New variable.
2322 (ansi-color-apply-on-region): Use it.
2323 (ansi-color-apply-overlay-face): New function.
2324
2325 * shell.el (shell): No need to require ansi-color.
2326 (shell-mode): Use ansi-color-apply-face-function to highlight
2327 color escapes using font-lock-face property (Bug#10835).
2328
20af2394
CY
23292012-02-19 Chong Yidong <cyd@gnu.org>
2330
2331 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2332 mode-line formats (Bug#10839).
2333
e23a3fbe
GM
23342012-02-18 Glenn Morris <rgm@gnu.org>
2335
b474519e
GM
2336 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2337
2338 * mail/undigest.el (unforward-rmail-message): Doc fix.
2339
e23a3fbe
GM
2340 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2341
57939ff4
EZ
23422012-02-18 Eli Zaretskii <eliz@gnu.org>
2343
2344 * international/characters.el (script-list): Sync with the latest
2345 Unicode Character Database.
2346
0c23686e
AS
23472012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2348
2349 * international/titdic-cnv.el: Remove duplicate coding tag.
2350 * language/cham.el: Likewise.
2351 * language/tai-viet.el: Likewise.
2352
6818b449
GM
23532012-02-18 Glenn Morris <rgm@gnu.org>
2354
2355 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2356 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2357 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2358 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2359 * calendar/holidays.el (holiday-bahai-holidays)
2360 (calendar-holidays, list-holidays):
2361 Use utf-8 Bahá'í in doc-strings, menus, etc.
2362
0311a3fc
TH
23632012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2364
2365 * saveplace.el (save-place-ignore-files-regexp): New variable
2366 allowing for excluding files from saving their location of point.
2367 The default value matches the temporary commit message editing
2368 files from Git, SVN, Bazaar, and Mercurial.
2369 (save-place-to-alist): Use it.
2370
eb864a71
LM
23712012-02-17 Lawrence Mitchell <wence@gmx.li>
2372 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * newcomment.el (uncomment-region-default): Don't leave extra space
2375 when an arg is provided (bug#8150).
2376
ee0ce425
TZ
23772012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2378
eb864a71 2379 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2380
95ddf442
GM
23812012-02-17 Glenn Morris <rgm@gnu.org>
2382
2383 * net/socks.el: Require network-stream. (Bug#10599)
2384
48dd1e39 23852012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2386
2387 * international/charprop.el:
2388 * international/uni-name.el:
2389 * international/uni-old-name.el:
2390 * international/uni-comment.el: Regenerate.
2391
d68cd087
GM
23922012-02-16 Glenn Morris <rgm@gnu.org>
2393
2394 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2395 Interactively in calendar buffer, give an error if not on a date.
2396
13932042
GM
23972012-02-15 Glenn Morris <rgm@gnu.org>
2398
2399 * shell.el (shell-delimiter-argument-list):
2400 Revert 2011-02-17 change. (Bug#8027)
2401
c3a70e2b
CY
24022012-02-15 Chong Yidong <cyd@gnu.org>
2403
60236b0d
CY
2404 * minibuffer.el (completion-at-point-functions): Doc fix.
2405
c3a70e2b
CY
2406 * custom.el (defcustom): Doc fix; note use of defvar.
2407
9f26dc24
GM
24082012-02-15 Glenn Morris <rgm@gnu.org>
2409
2410 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2411 Doc fixes.
2412
6546b134
GM
24132012-02-14 Glenn Morris <rgm@gnu.org>
2414
2415 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2416
d29b2b4c
LI
24172012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2418
2419 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2420 way the ports list is computed.
835bdcba
LI
2421 (smtpmail-query-smtp-server): Prompt the user for a port number if
2422 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2423
08dcdbc9
TZ
24242012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2425
2426 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2427
2605051a
GM
24282012-02-13 Glenn Morris <rgm@gnu.org>
2429
2430 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2431
7ee99f32
TZ
24322012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2433
2434 * net/gnutls.el (gnutls-trustfiles): New variable.
2435 (gnutls-negotiate): Use it.
2436
5f0af64f
LI
24372012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2438
2439 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2440 does its stuff if Gnus is running.
2441
c14fcc95
AM
24422012-02-13 Alan Mackenzie <acm@muc.de>
2443
2444 Fix a loop in c-set-fl-decl-start.
2445
7a71b18d 2446 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2447 c-backward-syntactic-ws actually moves backwards.
2448
142b4d90
LL
24492012-02-13 Leo Liu <sdl.web@gmail.com>
2450
2451 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2452 beginning so that all \C-o chars are removed.
2453
fa9958a6
TZ
24542012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2455
dc9924b8 2456 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2457
0bc5886a
AM
24582012-02-12 Alan Mackenzie <acm@muc.de>
2459
2460 Fix infinite loop with long macros.
4d6769e1 2461 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2462
d4bd55e7
CY
24632012-02-12 Chong Yidong <cyd@gnu.org>
2464
2465 * window.el (display-buffer): Doc fix (Bug#10785).
2466
66f3fe22
GM
24672012-02-12 Glenn Morris <rgm@gnu.org>
2468
bd7da63e
GM
2469 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2470 (x-disown-selection-internal, x-get-selection-internal):
2471 Sync docs with the xselect.c versions.
2472
66f3fe22
GM
2473 * allout-widgets.el: Add missing license notice.
2474
3e0d2fa7
GM
24752012-02-11 Glenn Morris <rgm@gnu.org>
2476
cfecdf09
GM
2477 * select.el (x-get-selection-internal, x-own-selection-internal)
2478 (x-disown-selection-internal):
2479 * x-dnd.el (x-get-selection-internal): Update declarations.
2480
6d216d7f
GM
2481 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2482
2bed3f04
GM
2483 * window.el (window-sides-slots):
2484 * tool-bar.el (tool-bar-position):
2485 * term/xterm.el (xterm-extra-capabilities):
2486 * ses.el (ses-self-reference-early-detection):
2487 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2488 (verilog-auto-wire-type)
2489 (verilog-auto-delete-trailing-whitespace)
2490 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2491 (verilog-auto-tieoff-declaration):
2492 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2493 (sql-oracle-statement-starters, sql-oracle-scan-on):
2494 * progmodes/prolog.el (prolog-align-comments-flag)
2495 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2496 (prolog-left-indent-regexp, prolog-paren-indent-p)
2497 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2498 (prolog-types, prolog-mode-specificators)
2499 (prolog-determinism-specificators, prolog-directives)
2500 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2501 (prolog-electric-dot-flag)
2502 (prolog-electric-dot-full-predicate-template)
2503 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2504 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2505 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2506 (prolog-program-switches, prolog-prompt-regexp)
2507 (prolog-debug-on-string, prolog-debug-off-string)
2508 (prolog-trace-on-string, prolog-trace-off-string)
2509 (prolog-zip-on-string, prolog-zip-off-string)
2510 (prolog-use-standard-consult-compile-method-flag)
2511 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2512 (prolog-imenu-max-lines, prolog-info-predicate-index)
2513 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2514 (prolog-char-quote-workaround):
2515 * progmodes/cc-vars.el (c-defun-tactic):
2516 * net/tramp.el (tramp-encoding-command-interactive)
2517 (tramp-local-end-of-line):
2518 * net/soap-client.el (soap-client):
2519 * net/netrc.el (netrc-file):
2520 * net/gnutls.el (gnutls):
2521 * minibuffer.el (completion-category-overrides)
2522 (completion-cycle-threshold)
2523 (completion-pcm-complete-word-inserts-delimiters):
2524 * man.el (Man-name-local-regexp):
2525 * mail/feedmail.el (feedmail-display-full-frame):
2526 * international/characters.el (glyphless-char-display-control):
2527 * eshell/em-ls.el (eshell-ls-date-format):
2528 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2529 (lisp-lambda-list-keyword-parameter-indentation)
2530 (lisp-lambda-list-keyword-parameter-alignment):
2531 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2532 * dired-x.el (dired-omit-verbose):
2533 * cus-theme.el (custom-theme-allow-multiple-selections):
2534 * calc/calc.el (calc-highlight-selections-with-faces)
2535 (calc-lu-field-reference, calc-lu-power-reference)
2536 (calc-note-threshold):
2537 * battery.el (battery-mode-line-limit):
2538 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2539 (archive-7z-update):
2540 * allout.el (allout-prefixed-keybindings)
2541 (allout-unprefixed-keybindings)
2542 (allout-inhibit-auto-fill-on-headline)
2543 (allout-flattened-numbering-abbreviation):
2544 * allout-widgets.el (allout-widgets-auto-activation)
2545 (allout-widgets-icons-dark-subdir)
2546 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2547 (allout-widgets-theme-dark-background)
2548 (allout-widgets-theme-light-background)
2549 (allout-widgets-item-image-properties-emacs)
2550 (allout-widgets-item-image-properties-xemacs)
2551 (allout-widgets-run-unit-tests-on-load)
2552 (allout-widgets-time-decoration-activity)
2553 (allout-widgets-hook-error-post-time)
2554 (allout-widgets-track-decoration):
2555 Add missing :version tags to new defcustoms and defgroups.
2556
5fec1b8e
GM
2557 * progmodes/sql.el (sql-ansi-statement-starters)
2558 (sql-oracle-statement-starters): Add custom type.
2559
3e0d2fa7
GM
2560 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2561 (prolog-system-version): Give it a type.
2562
90b671e2
EZ
25632012-02-11 Eli Zaretskii <eliz@gnu.org>
2564
2565 * term/pc-win.el (x-select-text, x-selection-owner-p)
2566 (x-own-selection-internal, x-disown-selection-internal)
2567 (x-get-selection-internal): Sync doc strings and argument lists
2568 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2569
5eac0c02
LL
25702012-02-11 Leo Liu <sdl.web@gmail.com>
2571
2572 * progmodes/python.el (python-end-of-statement): Fix infinite
2573 loop. (Bug#10788)
2574
f82cb659
GM
25752012-02-10 Glenn Morris <rgm@gnu.org>
2576
2577 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2578 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2579
cc26d239
LI
25802012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2581
2582 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2583 about SMTP before checking the From header.
2584
91027d08 2585 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2586 into own function for reuse by emacsbug.el.
2587
1be3ca5a
LL
25882012-02-10 Leo Liu <sdl.web@gmail.com>
2589
2590 * subr.el (condition-case-unless-debug): Rename from
2591 condition-case-no-debug. All callers changed.
2592 (with-demoted-errors): Fix caller.
2593
2594 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2595 * nxml/rng-valid.el (rng-do-some-validation):
2596 * emacs-lisp/package.el (package-refresh-contents)
2597 (package-menu-execute):
2598 * desktop.el (desktop-create-buffer):
91027d08 2599 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2600
b011fbfe
GM
26012012-02-10 Glenn Morris <rgm@gnu.org>
2602
b2096d72
GM
2603 * textmodes/bibtex.el:
2604 Add missing :version tags for new/changed defcustoms.
2605
b011fbfe
GM
2606 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2607
4c7e65bf
LI
26082012-02-09 Lars Ingebrigtsen <larsi@rusty>
2609
2610 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2611 (smtpmail-via-smtp): Use it, or fall back on the From address.
2612 (smtpmail-send-it): Ditto.
2613
f3934f6f
SM
26142012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2617 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2618 (byte-compile-tmp-var): New const.
2619 (byte-compile-defvar): Use it to minimize .elc size.
2620 Just use `defvar' rather than simulate it (bug#10761).
2621
a075a2c5
GM
26222012-02-09 Glenn Morris <rgm@gnu.org>
2623
cf3aa21b
GM
2624 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2625
354998cd
GM
2626 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2627 Add :version tags.
2628
dc9924b8
SM
2629 * progmodes/compile.el (compilation-error-screen-columns)
2630 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2631
dab3703d
GM
2632 * vc/log-view.el (log-view-toggle-entry-display):
2633 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2634
3f88cd72
GM
2635 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2636 (report-emacs-bug-can-use-xdg-email):
2637 (report-emacs-bug-insert-to-mailer): Doc fixes.
2638 (report-emacs-bug): Message fix.
2639
d95b247d
GM
2640 * net/browse-url.el (browse-url-can-use-xdg-open)
2641 (browse-url-xdg-open): Doc fixes.
2642
a075a2c5
GM
2643 * electric.el (electric-indent-mode, electric-pair-mode)
2644 (electric-layout-rules, electric-layout-mode): Doc fixes.
2645 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2646
ffb6157e
MR
26472012-02-08 Martin Rudalics <rudalics@gmx.at>
2648
2649 * server.el (server-unselect-display): Don't inadvertently kill
2650 the current buffer. (Bug#10729)
2651
e1ac4066
GM
26522012-02-08 Glenn Morris <rgm@gnu.org>
2653
34e8a2da
GM
2654 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2655 (sql-list-table): Doc fixes.
2656
b4ac6e8c
GM
2657 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2658 Comment out (does nothing).
2659
e1ac4066
GM
2660 * completion.el (dynamic-completion-mode):
2661 * dirtrack.el (dirtrack-debug-mode):
2662 * electric.el (electric-layout-mode):
2663 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2664 * face-remap.el (text-scale-mode, buffer-face-mode):
2665 * iimage.el (iimage-mode):
2666 * image-mode.el (image-transform-mode):
2667 * minibuffer.el (completion-in-region-mode):
2668 * scroll-lock.el (scroll-lock-mode):
2669 * simple.el (next-error-follow-minor-mode):
2670 * tar-mode.el (tar-subfile-mode):
2671 * tooltip.el (tooltip-mode):
2672 * vcursor.el (vcursor-use-vcursor-map):
2673 * wid-browse.el (widget-minor-mode):
2674 * emulation/tpu-edt.el (tpu-edt-mode):
2675 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2676 * international/iso-ascii.el (iso-ascii-mode):
2677 * language/thai-util.el (thai-word-mode):
2678 * mail/supercite.el (sc-minor-mode):
2679 * net/goto-addr.el (goto-address-mode):
2680 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2681 * progmodes/cwarn.el (cwarn-mode):
2682 * progmodes/flymake.el (flymake-mode):
2683 * progmodes/glasses.el (glasses-mode):
2684 * progmodes/hideshow.el (hs-minor-mode):
2685 * progmodes/pascal.el (pascal-outline-mode):
2686 * textmodes/enriched.el (enriched-mode):
2687 * vc/smerge-mode.el (smerge-mode):
2688 Doc fixes (minor mode argument).
2689
5e0d957f
EZ
26902012-02-07 Eli Zaretskii <eliz@gnu.org>
2691
2692 * ls-lisp.el (ls-lisp-sanitize): New function.
2693 (ls-lisp-insert-directory): Use it to fix or remove any elements
2694 in file-alist with missing attributes. (Bug#4673)
2695
98d7371e
AM
26962012-02-07 Alan Mackenzie <acm@muc.de>
2697
2698 Fix spurious recognition of c-in-knr-argdecl.
2699
2700 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2701 putative K&R region.
2702
667ced3a
AM
27032012-02-07 Alan Mackenzie <acm@muc.de>
2704
eb864a71
LM
2705 * progmodes/cc-engine.el (c-forward-objc-directive):
2706 Prevent looping in "#pragma mark @implementation".
667ced3a 2707
5b77774d
MA
27082012-02-07 Michael Albinus <michael.albinus@gmx.de>
2709
2710 * notifications.el (notifications-on-closed-signal): Make `reason'
2711 optional. (Bug#10744)
2712
af008560
GM
27132012-02-07 Glenn Morris <rgm@gnu.org>
2714
60d47423
GM
2715 * emacs-lisp/easy-mmode.el (define-minor-mode):
2716 Doc fixes for the macro and the mode it defines.
2717
dd605cc4
GM
2718 * image.el (imagemagick-types-inhibit): Doc fix.
2719
af008560
GM
2720 * cus-start.el (imagemagick-render-type): Add it.
2721
5cc59a37
LI
27222012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2723
4d6769e1
JB
2724 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2725 Set the default at load time, too, so that `font-lock-fontify-buffer'
2726 can be called without setting up the entire mode first. This fixes
2727 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2728
9a6dd747
CY
27292012-02-06 Chong Yidong <cyd@gnu.org>
2730
2d16b285
CY
2731 * simple.el (list-processes--refresh): Delete exited processes
2732 (Bug#8094).
2733
171e9b6e
CY
2734 * comint.el (comint-next-prompt): next-single-char-property-change
2735 and prev-single-char-property-change never return nil (Bug#8657).
2736
9a6dd747
CY
2737 * custom.el (defcustom): Doc fix (Bug#9711).
2738
aa4589a7
CY
27392012-02-05 Chong Yidong <cyd@gnu.org>
2740
5c2a252f
CY
2741 * cus-edit.el (custom-variable-reset-backup): Quote the value
2742 before storing it in the customized-value property (Bug#6712).
4aab9006 2743 (custom-display): Add a customization type tag.
983b9602 2744 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2745
aa4589a7
CY
2746 * wid-edit.el (widget-field-value-get): New optional arg to
2747 suppress trailing whitespace truncation.
2748 (character): Use it (Bug#2689).
2749
1ff980ae
AS
27502012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2751
2752 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2753 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2754
03988c98
CY
27552012-02-05 Chong Yidong <cyd@gnu.org>
2756
eeb6cc88
CY
2757 * cus-edit.el (custom-variable-value-create): For mismatched
2758 types, show the current value (Bug#7600).
2759
03988c98
CY
2760 * custom.el (defcustom): Doc fix.
2761
f8cdeef0
GM
27622012-02-05 Glenn Morris <rgm@gnu.org>
2763
2764 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2765
0696d255
JB
27662012-02-05 Juanma Barranquero <lekktu@gmail.com>
2767
2768 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2769 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2770 (pp-last-sexp): Use `looking-at-p'.
2771
34c99998
GM
27722012-02-04 Glenn Morris <rgm@gnu.org>
2773
8f05da42
GM
2774 * files.el (revert-buffer):
2775 Doc fix (mention revert-buffer-in-progress-p).
2776
f160676e
GM
2777 * emacs-lisp/ert-x.el (ert-simulate-command):
2778 Check deferred-action-list (which is obsolete) is bound.
2779
c7291ad9
GM
2780 * subr.el (with-wrapper-hook): Doc fixes.
2781
34c99998
GM
2782 * simple.el (filter-buffer-substring-functions)
2783 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2784
6283a7d3
LL
27852012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2786
2787 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2788 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2789
e96e3013
LL
27902012-02-04 Leo Liu <sdl.web@gmail.com>
2791
2792 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2793
8ded50f2
GM
27942012-02-04 Glenn Morris <rgm@gnu.org>
2795
82ff1d13
GM
2796 * image.el (image-extension-data): Add obsolete alias.
2797
987a0a16
GM
2798 * isearch.el (isearch-update): Doc fix.
2799
ea32ef46
GM
2800 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2801
8ded50f2
GM
2802 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2803
eea14f31
GM
28042012-02-03 Glenn Morris <rgm@gnu.org>
2805
2806 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2807 (image-animate-timeout): Doc fix.
2808
2809 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2810
12f381b7
GM
28112012-02-02 Glenn Morris <rgm@gnu.org>
2812
953cebf5
GM
2813 * server.el (server-auth-dir): Doc fix.
2814 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2815
12f381b7
GM
2816 * subr.el (run-mode-hooks): Doc fix.
2817
953a8c3b
JL
28182012-02-02 Juri Linkov <juri@jurta.org>
2819
2820 * image-mode.el (image-toggle-display-image): Remove tautological
2821 `major-mode' from the `derived-mode-p' test.
2822
c5d3843c
KH
28232012-02-02 Kenichi Handa <handa@m17n.org>
2824
9f6e692e 2825 * composite.el (compose-region): Cancel previous change.
c5d3843c 2826
159462d4 28272012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2828
2829 * composite.el (compose-region, compose-string): Signal error for
2830 a null string component (Bug#6988).
2831
9f562668
CY
28322012-02-01 Chong Yidong <cyd@gnu.org>
2833
e2cef717
CY
2834 * view.el (view-buffer-other-window, view-buffer-other-frame):
2835 Handle special modes like view-buffer (Bug#10650).
2836 (view-buffer): Simplify.
2837
9f562668
CY
2838 * frame.el (set-frame-font): Tweak meaning of third argument.
2839
9f6e692e
JB
2840 * dynamic-setting.el (font-setting-change-default-font):
2841 Use set-frame-font (Bug#9982).
9f562668 2842
781acb9f
GM
28432012-02-01 Glenn Morris <rgm@gnu.org>
2844
6035be52
GM
2845 * progmodes/compile.el (compilation-internal-error-properties):
2846 Respect compilation-first-column in the "*compilation*" buffer.
2847
781acb9f
GM
2848 * emacs-lisp/easy-mmode.el (define-minor-mode):
2849 Relax :variable's test for a named function.
2850
abbceb00
AM
28512012-01-31 Alan Mackenzie <acm@muc.de>
2852
2853 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2854 off by one error.
2855
fce3fdeb
CY
28562012-01-31 Chong Yidong <cyd@gnu.org>
2857
2858 * frame.el (set-frame-font): New arg ALL-FRAMES.
2859
2860 * menu-bar.el (menu-set-font): Use set-frame-font.
2861
2862 * faces.el (face-spec-reset-face): Don't apply unspecified
2863 attribute values to the default face.
2864
47893581
JB
28652012-01-31 Juanma Barranquero <lekktu@gmail.com>
2866
2867 * progmodes/cwarn.el (cwarn): Remove dead link.
2868 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2869 Remove * from defcustom docstrings.
2870 (turn-on-cwarn-mode): Make obsolete.
2871 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2872 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2873
e58e988a
GM
28742012-01-31 Glenn Morris <rgm@gnu.org>
2875
60dc2671 2876 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2877 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2878 Allow named functions to be used as the cdr of :variable.
e58e988a 2879
7a3f511d
GM
28802012-01-30 Glenn Morris <rgm@gnu.org>
2881
2882 * emacs-lisp/authors.el (authors-fixed-entries):
2883 Remove reference to deleted file rnewspost.el.
2884
cb882333
JB
28852012-01-29 Juanma Barranquero <lekktu@gmail.com>
2886
2887 * window.el (window-with-parameter): Remove unused variable `windows'.
2888 (window--side-check): Remove unused variable `code'.
2889 (window--resize-siblings): Remove unused variable `first'.
2890 (adjust-window-trailing-edge): Remove unused variable `failed'.
2891 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2892 Use `let', not `let*'.
2893 (balance-windows-2): Remove unused variable `found'.
2894 (window--state-put-2): Remove unused variable `splits'.
2895 (window-state-put): Remove unused variable `selected'.
2896 (same-window-p): Use `string-match-p'.
2897 (display-buffer-assq-regexp): Remove unused variable `value'.
2898 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2899 Mark argument ALIST as ignored.
2900 (pop-to-buffer): Remove unused variable `old-window'.
2901
907201af
EZ
29022012-01-29 Eli Zaretskii <eliz@gnu.org>
2903
2904 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2905 and .lzma compressed files.
2906
ea162670
CY
29072012-01-29 Chong Yidong <cyd@gnu.org>
2908
5b95ee8a
CY
2909 * frame.el (window-system-default-frame-alist): Doc fix.
2910
ea162670
CY
2911 * dynamic-setting.el (font-setting-change-default-font): Don't
2912 change the default face if SET-FONT argument is non-nil (Bug#9982).
2913
d6e6f4b1
SB
29142012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2915
2916 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2917
0f29fa41 29182012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2919
2920 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2921 breakpoints in files outside current directory (Bug#6098).
2922
db174434
CY
29232012-01-29 Chong Yidong <cyd@gnu.org>
2924
6b25e4e2
SE
2925 * progmodes/python.el: Require ansi-color at top-level.
2926
6df6ae42
JB
2927 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2928 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2929 (lisp-mode-abbrev-table): Add doc.
2930 (lisp-mode-variables): Don't set local-abbrev-table.
2931 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2932
e70ee681
RW
29332012-01-28 Roland Winkler <winkler@gnu.org>
2934
2935 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2936
ace88aa2
RW
29372012-01-28 Roland Winkler <winkler@gnu.org>
2938
2939 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2940 (bibtex-set-dialect): Use it. Either set global values of
2941 dialect-dependent variables or bind these variables buffer-locally
2942 (Bug#10254).
2943 (bibtex-mode): Call bibtex-set-dialect via
2944 hack-local-variables-hook.
eb864a71
LM
2945 (bibtex-dialect): Update docstring.
2946 Add safe-local-variable predicate.
ace88aa2
RW
2947 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2948 bibtex-set-dialect.
2949 (bibtex-mode-map): Define menu for each dialect.
2950 (bibtex-entry): Fix docstring.
2951
93376c5b
CY
29522012-01-28 Chong Yidong <cyd@gnu.org>
2953
2954 * eshell/esh-arg.el (eshell-quote-argument): New function.
2955
2956 * eshell/esh-ext.el (eshell-invoke-batch-file):
2957 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2958 first arg to eshell-parse-command (Bug#10523).
2959
4372494f
DA
29602012-01-28 Drew Adams <drew.adams@oracle.com>
2961
2962 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2963 `default-directory' is non-nil.
2964
4d4ec1f8
EZ
29652012-01-28 Eli Zaretskii <eliz@gnu.org>
2966
2967 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2968 line that displays system-configuration-options. (Bug#9924)
2969
7c188927
DA
29702012-01-28 Drew Adams <drew.adams@oracle.com>
2971
2972 * descr-text.el (describe-char): Show information about POS, in
2973 addition to information about the character at POS. Improve and
2974 update the doc string. Change "code point" to "code point in
2975 charset", to avoid confusion with the character's Unicode code
2976 point shown above that. (Bug#10129)
2977
e0da685a
EZ
29782012-01-28 Eli Zaretskii <eliz@gnu.org>
2979
2980 * descr-text.el (describe-char): Show the raw character, not only
2981 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2982 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2983 for the reasons.
2984
70550acf
PH
29852012-01-28 Phil Hagelberg <phil@hagelb.org>
2986
eb864a71
LM
2987 * emacs-lisp/package.el (package-install):
2988 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2989
0ce8e868
CY
29902012-01-28 Chong Yidong <cyd@gnu.org>
2991
cb882333
JB
2992 * emacs-lisp/package.el (package-maybe-load-descriptor):
2993 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2994 (package-maybe-load-descriptor): Use it.
2995 (package-download-transaction): Fully load required packages
2996 inside the loop, so that `require' calls work (Bug#10593).
2997 (package-install): No need to call package-initialize now.
2998
2e7f3bea
CY
29992012-01-28 Chong Yidong <cyd@gnu.org>
3000
6e9bad14
CY
3001 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3002
f823b8ca
CY
3003 * tooltip.el (tooltip-mode): Doc fix.
3004 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3005
2680c309
CY
3006 * frame.el (set-cursor-color): Doc fix (Bug#352).
3007
d7a9e63b
CY
3008 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3009 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3010
2e7f3bea
CY
3011 * cus-edit.el (custom-buffer-create-internal): Fix search button
3012 action (Bug#10542).
2ae01800 3013 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3014
fc4f7a23
EW
30152012-01-27 Eduard Wiebe <usenet@pusto.de>
3016
3017 * dired.el (dired-mark-files-regexp):
3018 Include any subdirectory components. (Bug#10445)
3019
7dd37071
ML
30202012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3021
3022 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3023 Handle [host]:port syntax. (Bug#10533)
3024
a268160b
AH
30252012-01-27 Alex Harsanyi <harsanyi@mac.com>
3026
3027 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3028
e43273ef
GM
30292012-01-26 Glenn Morris <rgm@gnu.org>
3030
3031 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3032 * term.el (term-raw-escape-map): Use Control-X-prefix.
3033 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3034
1edf595d
MR
30352012-01-25 Martin Rudalics <rudalics@gmx.at>
3036
3037 * window.el (window-state-get, window--state-get-1): Don't deal
3038 with fixed-sizeness of windows. Simplify code.
3039
fa8eafef
JC
30402012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3041
6df6ae42
JB
3042 * window.el (window--state-get-1, window--state-put-2):
3043 Don't save and restore the mark.
fa8eafef 3044
0b21c100
CY
30452012-01-25 Chong Yidong <cyd@gnu.org>
3046
3047 * custom.el (custom-variable-p): Doc fix.
3048
5ae1a6c8
GM
30492012-01-25 Glenn Morris <rgm@gnu.org>
3050
40047858
GM
3051 * dired.el (dired-goto-file): Handle some of the more common
3052 characters that `ls -b' escapes. (Bug#10596)
3053
5ddce96c
GM
3054 * progmodes/compile.el (compilation-next-error-function):
3055 Respect compilation-first-column in the "*compilation*" buffer.
3056 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3057
5ae1a6c8
GM
3058 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3059
b559f1a9
GM
30602012-01-24 Glenn Morris <rgm@gnu.org>
3061
3062 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3063
6725d21a
JD
30642012-01-24 Julien Danjou <julien@danjou.info>
3065
3066 * color.el (color-rgb-to-hsl): Fix value computing.
3067 (color-hue-to-rgb): New function.
3068 (color-hsl-to-rgb): New function.
3069 (color-clamp, color-saturate-hsl, color-saturate-name)
3070 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3071 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3072
70df4bbe
GM
30732012-01-24 Glenn Morris <rgm@gnu.org>
3074
3075 * vc/vc-rcs.el (vc-rcs-create-tag):
3076 * vc/vc-sccs.el (vc-sccs-create-tag):
3077 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3078
802a2ae2
ML
30792012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3080
3081 * eshell/esh-util.el (eshell-read-hosts-file):
3082 Skip comment lines. (Bug#10549)
3083
d7128bb1
ML
3084 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3085
d1a5c3b4
JB
30862012-01-23 Juanma Barranquero <lekktu@gmail.com>
3087
2724d9c7
JB
3088 * subr.el (display-delayed-warnings): Doc fix.
3089 (collapse-delayed-warnings): New function to collapse identical
3090 adjacent warnings.
3091 (delayed-warnings-hook): Add it.
d1a5c3b4 3092
a5509865
MA
30932012-01-22 Michael Albinus <michael.albinus@gmx.de>
3094
3095 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3096
3097 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3098 properties, when "login-as" is set.
3099
3100 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3101 (tramp-default-user-alist): Don't add "pscp".
3102 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3103 property "login-as", if set. (Bug#10530)
3104
cc6d5805
MA
31052012-01-21 Michael Albinus <michael.albinus@gmx.de>
3106
3107 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3108 "plink1" and "psftp". (Bug#10530)
3109
31102012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3111
3112 * international/mule-cmds.el (prefer-coding-system): Show a
3113 warning message if the default value of file-name-coding-system
3114 was not changed.
3115
f0960428
JC
31162012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3117
cb882333
JB
3118 * windmove.el (windmove-reference-loc):
3119 Fix windmove-reference-loc miscalculation.
f0960428 3120
dd6f2a63
JB
31212012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3122
3123 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3124 default unit.
3125
7b447e9b
GM
31262012-01-21 Glenn Morris <rgm@gnu.org>
3127
117a9ea1
GM
3128 * international/mule.el (auto-coding-alist): Add .tbz.
3129
7b447e9b
GM
3130 * files.el (local-enable-local-variables): Doc fix.
3131 (inhibit-local-variables-regexps): Rename from
3132 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3133 Doc fix. Add some extensions from auto-coding-alist.
3134 (inhibit-local-variables-suffixes):
3135 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3136 (inhibit-local-variables-p):
3137 New function, extracted from set-auto-mode-1.
3138 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3139 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3140 (hack-local-variables): Doc fix. Make the mode-only case
3141 respect enable-local-variables and friends.
3142 Respect inhibit-local-variables-regexps for file-locals, but
3143 not for directory-locals.
3144 (set-visited-file-name):
3145 Take account of inhibit-local-variables-regexps.
3146 Whether it applies may change as the file name is changed.
3147 * jka-cmpr-hook.el (jka-compr-install):
3148 * jka-compr.el (jka-compr-uninstall):
3149 Update for inhibit-first-line-modes-suffixes name change.
3150
dd6e3cdd
MR
31512012-01-20 Martin Rudalics <rudalics@gmx.at>
3152
3153 * help-macro.el (make-help-screen): Temporarily restore original
3154 binding for minor-mode-map-alist (Bug#10454).
3155
0d0deb38
JD
31562012-01-19 Julien Danjou <julien@danjou.info>
3157
3158 * color.el (color-name-to-rgb): Use the white color to find the max
3159 color component value and return correctly computed values.
3160 (color-name-to-rgb): Add missing float conversion for max value.
3161
34a02f46
MR
31622012-01-19 Martin Rudalics <rudalics@gmx.at>
3163
3164 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3165 special state value for window-persistent-parameters.
3166 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3167 (window--state-put-2): Reset all window parameters to nil before
3168 assigning values of persistent parameters.
3169
606c44c4
AM
31702012-01-18 Alan Mackenzie <acm@muc.de>
3171
3172 Eliminate sluggishness and hangs in fontification of "semicolon
3173 deserts".
3174
cb882333
JB
3175 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3176 Change value 10000 -> 3000.
606c44c4
AM
3177 (c-state-safe-place): Reformulate so it doesn't stack up an
3178 infinite number of wrong entries in c-state-nonlit-pos-cache.
3179 (c-determine-limit-get-base, c-determine-limit): New functions to
3180 determine backward search limits disregarding literals.
3181 (c-find-decl-spots): Amend commenting.
3182 (c-cheap-inside-bracelist-p): New function which detects "={".
3183
3184 * progmodes/cc-fonts.el
3185 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3186 backward search.
3187 (c-font-lock-declarations): Fix an occurrence of point being
3188 undefined. Check additionally for point being in a bracelist or
3189 near a macro invocation without a semicolon so as to avoid a
3190 fruitless time consuming search for a declarator. Give a more
3191 precise search limit for declarators using the new
3192 c-determine-limit.
3193
f3860cea
GM
31942012-01-18 Glenn Morris <rgm@gnu.org>
3195
3196 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3197 (set-auto-mode): Doc fixes.
3198
1db03b16
GM
31992012-01-17 Glenn Morris <rgm@gnu.org>
3200
0e6038be
GM
3201 * isearch.el (search-nonincremental-instead): Fix doc typo.
3202
1db03b16
GM
3203 * dired.el (dired-insert-directory): Handle newlines in directory name.
3204 (dired-build-subdir-alist): Unescape newlines in directory name.
3205
4cb0aa75
MA
32062012-01-17 Michael Albinus <michael.albinus@gmx.de>
3207
3208 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3209 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3210 (tramp-action-terminal): Use it. (Bug#10530)
3211
1d00653d
SM
32122012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3215
6a6ee00d
MR
32162012-01-16 Martin Rudalics <rudalics@gmx.at>
3217
3218 * window.el (window-state-ignored-parameters): Remove variable.
3219 (window--state-get-1): Rename argument MARKERS to IGNORE.
3220 Handle persistent window parameters. Make copy of clone-of
3221 parameter only if requested. (Bug#10348)
3222 (window--state-put-2): Install a window parameter only if it has
3223 a non-nil value or an existing parameter shall be overwritten.
3224
97912def
MA
32252012-01-15 Michael Albinus <michael.albinus@gmx.de>
3226
3227 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3228
688070a5
EZ
32292012-01-14 Eli Zaretskii <eliz@gnu.org>
3230
3231 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3232 don't pass the (nil) value of `upnode' to string-match.
3233
301afadc
CY
32342012-01-14 Chong Yidong <cyd@gnu.org>
3235
3236 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3237 Fix values recognized by the cursorBlink resource.
301afadc 3238
9e5788aa
PE
32392012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3240
3241 * epg.el (epg--make-temp-file): Avoid permission race condition
3242 when running on old Emacs versions (bug#10403).
3243
3cdb7f5a
GM
32442012-01-14 Glenn Morris <rgm@gnu.org>
3245
3246 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3247
8c82b1b4
AM
32482012-01-13 Alan Mackenzie <acm@muc.de>
3249
3250 Fix filling for when filladapt mode is enabled.
3251
3252 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3253 c-mask-paragraph, pass in `fill-paragraph' rather than
3254 `fill-region-as-paragraph'. (This is a reversion of a previous
3255 change.)
eb864a71
LM
3256 * progmodes/cc-mode.el (c-basic-common-init):
3257 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3258
e517eda4
GM
32592012-01-13 Glenn Morris <rgm@gnu.org>
3260
1498536e
GM
3261 * dired.el (dired-switches-escape-p): New function.
3262 (dired-insert-directory): Use dired-switches-escape-p.
3263 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3264
e517eda4
GM
3265 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3266
328f984d
GM
32672012-01-12 Glenn Morris <rgm@gnu.org>
3268
3269 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3270 changes in adaptive-fill-regexp. (Bug#10276)
3271
2cc769a8
AM
32722012-01-11 Alan Mackenzie <acm@muc.de>
3273
3274 Fix Emacs bug #10463 - put `widen's around the critical spots.
3275
1d00653d 3276 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3277 widen around each invocation of c-state-pp-to-literal. Remove an
3278 unused let variable.
3279
e52c37fa
GM
32802012-01-11 Glenn Morris <rgm@gnu.org>
3281
3282 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3283 Doc fix.
e52c37fa 3284
96f8741e
CY
32852012-01-10 Chong Yidong <cyd@gnu.org>
3286
1d00653d
SM
3287 * net/network-stream.el (network-stream-open-starttls):
3288 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3289 response to the capability command.
3290
b09a806e
GM
32912012-01-10 Glenn Morris <rgm@gnu.org>
3292
3293 * mail/unrmail.el (unrmail): Tweak previous change.
3294
7655cb66
CY
32952012-01-09 Chong Yidong <cyd@gnu.org>
3296
3297 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3298
9d5a8f0b
AM
32992012-01-08 Alan Mackenzie <acm@muc.de>
3300
3301 Optimise font locking in long enum definitions.
3302
3303 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3304 arm to a cond form to handle enums.
3305 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3306 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3307
9a0115ab 33082012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3309
3310 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3311 (Bug#10401)
6bb72cbd 3312
f186bb95
LMI
33132012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3314
29232a68
LMI
3315 * faces.el (set-face-attribute): Clarify the meaning of the nil
3316 frame (bug#10294).
3317
4e5d086d
LMI
3318 * subr.el (with-selected-frame): Mention that the selected frame
3319 is restored (bug#9980).
3320
8e66aebe
LMI
3321 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3322 (bug#9759).
3323
cd394be1 3324 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3325 (password-read): Don't autoload unused function.
3326
adf4e762
JB
33272012-01-07 Juanma Barranquero <lekktu@gmail.com>
3328
3329 * progmodes/which-func.el (which-func-mode): Turn into a
3330 non-interactive function and mark as obsolete (bug#10428).
3331
89bd9ccd
CY
33322012-01-06 Chong Yidong <cyd@gnu.org>
3333
3334 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3335 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3336 functions, along with 1 and -1.
3337
4afee9d5
EZ
33382012-01-06 Eli Zaretskii <eliz@gnu.org>
3339
3340 * time.el (display-time-load-average)
3341 (display-time-default-load-average): Doc fixes. See the thread
3342 starting at
3343 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3344 for the details.
3345
536aea70
GM
33462012-01-06 Glenn Morris <rgm@gnu.org>
3347
665ae865
GM
3348 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3349 has no messages. (Bug#10377)
3350
c869783d
GM
3351 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3352 than Info-edit. (Bug#10385)
3353
2bb4227e
GM
3354 * time.el (display-time-load-average, display-time-next-load-average):
3355 Doc fixes.
3356
7d5944b9
GM
3357 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3358 local setting of buffer-read-only to the input buffer. (Bug#10419)
3359
536aea70
GM
3360 * calendar/calendar.el (calendar-mode):
3361 Locally set scroll-margin to 0. (Bug#10379)
3362
7dccca16
UM
33632012-01-06 Ulrich Mueller <ulm@gentoo.org>
3364
3365 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3366
afbb7930
GM
33672012-01-05 Glenn Morris <rgm@gnu.org>
3368
3369 * eshell/em-unix.el (diff-no-select): Autoload it.
3370 (eshell/diff): Use diff-no-select. (Bug#10420)
3371
04482335
CY
33722012-01-05 Chong Yidong <cyd@gnu.org>
3373
7baca3bc
CY
3374 * shell.el (shell-dynamic-complete-functions): Revert last change.
3375 (shell-command-completion-function): New function.
3376 (shell-completion-vars): Use it to implement
3377 shell-completion-execonly (Bug#10417).
3378
04482335
CY
3379 * custom.el (enable-theme): Don't set custom-safe-themes.
3380
1d00653d
SM
3381 * cus-theme.el (custom-theme-merge-theme):
3382 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3383
bb5aa5d6
MM
33842012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3385
3386 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3387 first prompt in `sql-interacive-mode'.
3388 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3389 keywords.
6df6ae42 3390 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3391 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3392 context of original buffer. Invoke `sql-login-hook'.
3393
a7183d7c
EZ
33942012-01-04 Eli Zaretskii <eliz@gnu.org>
3395
3396 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3397 letters in cite-prefix.
3398
a1eacd1e
LMI
33992012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3400
3401 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3402
787cdb34
CY
34032012-01-03 Chong Yidong <cyd@gnu.org>
3404
1d00653d
SM
3405 * shell.el (shell-dynamic-complete-functions):
3406 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3407 comint-filename-completion first (Bug#10417).
3408
30710442
RS
34092012-01-02 Richard Stallman <rms@gnu.org>
3410
3411 * battery.el (battery-status-function):
3412 Detect when to use battery-yeeloong-sysfs.
3413 (battery-echo-area-format): Add string for Yeeloong.
3414 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3415 (battery-yeeloong-sysfs): New function.
3416
f75bfc33
CY
34172012-01-02 Chong Yidong <cyd@gnu.org>
3418
3419 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3420 (dirtrack): Merge code for handling relative filenames in prompt
3421 from shell-dir-cookie-watcher.
3422 (dirtrack-debug-message): New arg to avoid excess format calls.
3423
3424 * shell.el (shell-dir-cookie-re): Variable deleted.
3425 (shell-dir-cookie-watcher): Function deleted.
3426 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3427 with dirtrack-mode.
3428
651e947e
EZ
34292012-01-01 Eli Zaretskii <eliz@gnu.org>
3430
1d00653d
SM
3431 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3432 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3433 libgnutls-26.dll.
3434
94d4c7dc
AS
34352011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3436
3437 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3438
8d43f3cd
EZ
34392011-12-31 Eli Zaretskii <eliz@gnu.org>
3440
3441 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3442 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3443
98c8795a
MA
34442011-12-29 Michael Albinus <michael.albinus@gmx.de>
3445
3446 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3447 also for alternative shells.
3448 (tramp-open-connection-setup-interactive-shell): Check, whether
3449 the shell is a busybox.
3450 (tramp-send-command): Don't suppress multiple prompts for
3451 busyboxes, it hurts.
3452
51281b32
CY
34532011-12-28 Chong Yidong <cyd@gnu.org>
3454
3455 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3456 (gdb-get-source-file): Move mode line update to
3457 gdb-get-source-file (Bug#10087).
3458
2170cb53
CY
34592011-12-25 Chong Yidong <cyd@gnu.org>
3460
3461 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3462 gud-gdb-marker-filter without taking it as an argument.
3463 (gud-gdb-run-command-fetch-lines): Caller changed.
3464 (gud-gdb-completion-function): New variable.
3465 (gud-gdb-completion-at-point): Use it.
3466 (gud-gdb-completions-1): Split from gud-gdb-completions.
3467
3468 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3469 function as separate arguments.
3470 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3471 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3472 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3473 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3474 (gdb-stopped, def-gdb-auto-update-trigger)
3475 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3476 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3477 Callers changed.
2170cb53
CY
3478 (gud-gdbmi-completions): New function.
3479 (gdb): Use it for generating the completion table.
3480
be8b11bb
AM
34812011-12-24 Alan Mackenzie <acm@muc.de>
3482
3483 Introduce a mechanism to widen the region used in context font
1d00653d 3484 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3485
1d00653d
SM
3486 * progmodes/cc-langs.el (c-before-font-lock-functions):
3487 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3488 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3489 functions to be run just before context (etc.) font locking.
3490
3491 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3492 New, functionality extracted from
be8b11bb 3493 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3494 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3495 (c-after-change): Set c-in-after-change-fontification.
3496 (c-set-fl-decl-start): Rejig its interface, so it can be called
3497 from both after-change and context fontifying.
b81d40f0
JB
3498 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3499 New functions.
3500 (c-standard-font-lock-fontify-region-function): New variable.
3501 (c-font-lock-fontify-region): New function.
be8b11bb 3502
341cf6ac
JL
35032011-12-24 Juri Linkov <juri@jurta.org>
3504
3505 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3506 (Bug#10348)
3507
bffcee0a
MA
35082011-12-23 Michael Albinus <michael.albinus@gmx.de>
3509
3510 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3511 existence of source file. (Bug#10325)
3512
cb5e207c
AM
35132011-12-23 Alan Mackenzie <acm@muc.de>
3514
3515 Fix unstable fontification inside templates.
3516
b81d40f0
JB
3517 * progmodes/cc-langs.el (c-before-font-lock-functions):
3518 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3519 additionally has c-set-fl-decl-start. The other languages (apart
3520 from AWK) have that as a single entry.
3521
b81d40f0
JB
3522 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3523 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3524 c-set-fl-decl-start.
3525
b81d40f0
JB
3526 * progmodes/cc-mode.el (c-common-init, c-after-change):
3527 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3528 (c-set-fl-decl-start): New function, extracted from
3529 c-font-lock-enclosing-decls and enhanced.
3530
60ff536c
JB
35312011-12-23 Juanma Barranquero <lekktu@gmail.com>
3532
3533 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3534
1c4757d6
JL
35352011-12-22 Juri Linkov <juri@jurta.org>
3536
3537 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3538
d031f2c7
CY
35392011-12-22 Chong Yidong <cyd@gnu.org>
3540
3541 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3542
bace743a
DA
35432011-12-21 Drew Adams <drew.adams@oracle.com>
3544
3545 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3546
728a1f2b
JC
35472011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3548
3549 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3550
0d373f73
TZ
35512011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3552
fec0aaa4
TZ
3553 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3554 highlighting and support. Fix up comments for capitalization.
3555 (cfengine-mode-debug): New var.
3556 (cfengine3-mode): Change the modeline indicator to "CFE3".
3557 (cfengine3-font-lock-keywords): Improve defun highlighting.
3558 (cfengine2-actions): Rename from `cfengine-actions'.
3559 (cfengine2-font-lock-keywords): Rename from
3560 `cfengine-font-lock-keywords'.
3561 (cfengine2-imenu-expression): Rename from
3562 `cfengine-imenu-expression'.
3563 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3564 (cfengine2-beginning-of-defun): Rename from
3565 `cfengine-beginning-of-defun'.
3566 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3567 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3568 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3569 modeline indicator to "CFE2".
3570 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3571 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3572
bc86f573
CY
35732011-12-21 Chong Yidong <cyd@gnu.org>
3574
3575 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3576 filename argument.
3577
d45ba96b
MR
35782011-12-20 Martin Rudalics <rudalics@gmx.at>
3579
3580 * window.el (window-normalize-buffer-to-display): Remove.
3581 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3582
a6198c90
CY
35832011-12-19 Chong Yidong <cyd@gnu.org>
3584
3585 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3586 Don't signal an error in a predicate function; return non-nil.
3587 (vc-dir-mark-file): Move the error here.
3588 (vc-dir-mark-unmark): If acting on the region, keep going if one
3589 of the entries cannot be marked/unmarked.
3590 (vc-dir-mark-all-files): If current entry is a directory, mark
3591 only child files, as documented.
3592
34c5fb55
VB
35932011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3594
3595 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3596 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3597 addition.
3598
c803b2b7
JD
35992011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3600
3601 * term/ns-win.el (ns-get-selection-internal)
3602 (ns-store-selection-internal): Declare.
1154d12e
JB
3603 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3604 Declare as obsolete.
3605 (ns-get-pasteboard, ns-paste-secondary):
3606 Use ns-get-selection-internal.
3607 (ns-set-pasteboard, ns-copy-including-secondary):
3608 Use ns-store-selection-internal.
c803b2b7 3609
9cff91f8 36102011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3611
3612 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3613 (vc-deduce-fileset): Doc fix.
99a289d9 3614
f16c898a
AS
36152011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3616
3617 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3618
763237c4
SS
36192011-12-13 Sam Steingold <sds@gnu.org>
3620
3621 * man.el (Man-getpage-in-background): When running under a
3622 window-system, ignore $MANWIDTH and $COLUMNS.
3623
5fc1c122
KH
36242011-12-15 Kenichi Handa <handa@m17n.org>
3625
3626 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3627 (setup-ethiopic-environment-internal): Comment out key-binding for
3628 ethio-toggle-punctuation.
3629
13d49cbb
AM
36302011-12-13 Alan Mackenzie <acm@muc.de>
3631
898169a2
AM
3632 Add the switch statement to AWK Mode.
3633
7a71b18d 3634 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3635 "default" to the keywords regexp.
3636
7a71b18d 3637 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3638 expression as the rest.
1d00653d
SM
3639 (c-nonlabel-token-key): Allow string literals for AWK.
3640 Refactor for the other modes.
898169a2 3641
13d49cbb 3642 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3643 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3644 routines. Limit backward searching in c-font-lock-enclosing.decl.
3645
3646 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3647 pp-state and literal type in addition to the limits.
1d00653d 3648 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3649 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3650 (c-slow-in-literal, c-fast-in-literal): Remove.
3651 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3652
3653 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3654 being in a literal. Add a limit for backward searching.
3655
3656 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3657 c-slow-in-literal.
3658
15e0efc7
SM
36592011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3662
454592a6
MR
36632011-12-13 Martin Rudalics <rudalics@gmx.at>
3664
3665 * window.el (delete-other-windows): Use correct frame in call to
3666 window-with-parameter.
3667
87393f26
DP
36682011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3669
3670 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3671 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3672 (makefile-gmake-statements, makefile-makepp-statements):
3673 Use it and add new makepp keywords.
3674 (makefile-makepp-font-lock-keywords): Add new patterns.
3675 (makefile-match-function-end): Match new [...] and [[...]].
3676
11636b22
JB
36772011-12-11 Juanma Barranquero <lekktu@gmail.com>
3678
3679 * ses.el (ses-call-printer-return, ses-cell-property-get)
3680 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3681 (ses-create-cell-variable, ses-reset-header-string)
3682 (ses-cell-set-formula, ses-repair-cell-reference-all)
3683 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3684 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3685 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3686 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3687 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3688 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3689 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3690 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3691 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3692 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3693 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3694 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3695
cf018193
VB
36962011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3697
3698 * ses.el: The overall change is to add cell renaming, that is
3699 setting fancy names for cell symbols other than name matching
3700 "\\`[A-Z]+[0-9]+\\'" regexp .
3701 (ses-create-cell-variable): New defun.
3702 (ses-relocate-formula): Relocate formulas only for cells the
3703 symbols of which are not renamed, i.e. symbols whose names do not
3704 match regexp "\\`[A-Z]+[0-9]+\\'".
3705 (ses-relocate-all): Relocate values only for cells the symbols of
3706 which are not renamed.
3707 (ses-load): Create cells variables as the (ses-cell ...) are read,
3708 in order to check row col consistency with cell symbol name only
3709 for cells that are not renamed.
3710 (ses-replace-name-in-formula): New defun.
3711 (ses-rename-cell): New defun.
3712
ee957461
CY
37132011-12-11 Chong Yidong <cyd@gnu.org>
3714
3715 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3716 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3717
9a9e9ef0
MR
37182011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3719
3720 * window.el (other-window): Fix docstring.
3721
92a8eba5
EZ
37222011-12-10 Eli Zaretskii <eliz@gnu.org>
3723
3724 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3725 `from' or `to' address before taking its substring.
3726 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3727 encoded name is chopped in the middle of the encoded string, and
3728 thus displayed encoded.
3729
e152e577
JB
37302011-12-10 Juanma Barranquero <lekktu@gmail.com>
3731
3732 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3733
e5d84bfe
EZ
37342011-12-10 Eli Zaretskii <eliz@gnu.org>
3735
3736 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3737 to use texinfo-update-node and commands that call it if the
3738 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3739 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3740 (texinfo-all-menus-update, texinfo-master-menu)
3741 (texinfo-update-node, texinfo-every-node-update)
3742 (texinfo-multiple-files-update): Doc fix. Warn against updating
3743 all the @node lines.
3744 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3745 argument is numeric. Explain better in the doc string what the
3746 function really does.
3747 (texinfo-insert-master-menu-list): Improve the error message
3748 displayed if there's no menu in the Top node.
3749 (Bug#2975) See also this thread:
e5d84bfe
EZ
3750 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3751
1d84e9bb
MG
37522011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3753
3754 * speedbar.el (speedbar-supported-extension-expressions):
3755 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3756
382c953b
JB
37572011-12-09 Juanma Barranquero <lekktu@gmail.com>
3758
3759 * printing.el (pr-mode-alist):
3760 * simple.el (filter-buffer-substring-functions)
3761 (completion-list-insert-choice-function):
3762 * window.el (window-with-parameter, window-atom-root)
3763 (window-sides-slots, window-size-fixed, window-min-delta)
3764 (window-max-delta, window--resize-mini-window)
3765 (window--resize-child-windows-normal, window-tree)
3766 (delete-other-windows, quit-window, split-window)
3767 (display-buffer-record-window, special-display-buffer-names)
3768 (special-display-regexps, special-display-popup-frame)
3769 (same-window-p, split-window-sensibly)
3770 (display-buffer-overriding-action, display-buffer-alist)
3771 (display-buffer-base-action, display-buffer, switch-to-buffer)
3772 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3773 (fit-window-to-buffer, recenter-positions)
3774 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3775 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3776 and remove unneeded backslashes in docstrings.
3777
39c9faef
SM
37782011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3779
98449af8
SM
3780 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3781
39c9faef
SM
3782 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3783 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3784 end in ".mk".
3785 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3786 when reading the makefile (bug#10116).
3787
86ed9fdc
SM
37882011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3791 (bug#10116).
3792
5580f89d
GM
37932011-12-06 Glenn Morris <rgm@gnu.org>
3794
3795 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3796
28d3917c
CY
37972011-12-06 Chong Yidong <cyd@gnu.org>
3798
3799 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3800
a98edce9
JB
38012011-12-06 Juanma Barranquero <lekktu@gmail.com>
3802
3803 * textmodes/table.el (table-shorten-cell): Fix typo.
3804
e65adfac
CG
38052011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3806
3807 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3808
71cc0b74
EZ
38092011-12-05 Eli Zaretskii <eliz@gnu.org>
3810
3811 * descr-text.el (describe-char): Fix display of strong
3812 right-to-left characters and directional embeddings and overrides.
3813
3814 * simple.el (what-cursor-position): Fix display of codepoints of
3815 strong right-to-left characters.
3816
315bc30d
CY
38172011-12-05 Chong Yidong <cyd@gnu.org>
3818
3819 * faces.el (read-color): Doc fix.
3820
58a70b94
GM
38212011-12-05 Glenn Morris <rgm@gnu.org>
3822
3823 * align.el (align--set-marker): Add doc-string.
3824 Don't try to move something that is not a marker. (Bug#10216)
3825
5158face
GM
38262011-12-04 Glenn Morris <rgm@gnu.org>
3827
3828 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3829 overly zealous deletion of trailing whitespace.
3830
520fca41
JB
38312011-12-04 Juanma Barranquero <lekktu@gmail.com>
3832
3833 * server.el (server-delete-client): On Windows, do not try to delete
3834 the only terminal.
3835 (server-process-filter): On Windows, treat requests for a tty frame as
3836 if they were for a GUI frame if the running server is in GUI mode.
3837
5e605a2e
GM
38382011-12-03 Glenn Morris <rgm@gnu.org>
3839
3840 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3841
5c3fe83f
SM
38422011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3843
6f5e57e7
SM
3844 * electric.el: Streamline electric-indent's hook.
3845 (electric-indent-chars): Revert to simple list.
3846 (electric-indent-functions): New var.
3847 (electric-indent-post-self-insert-function): Use it.
3848
5c3fe83f
SM
3849 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3850 there's no inferior buffer (bug#10196).
3851 (prolog-consult-compile): Don't use toggle-read-only.
3852
6bdac736
MA
38532011-12-02 Michael Albinus <michael.albinus@gmx.de>
3854
3855 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3856 interrupt. (Bug#10187)
3857
6131ba7f
SM
38582011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3859
99c79fee
SM
3860 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3861 (bug#9160).
3862
6131ba7f
SM
3863 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3864 (bug#10191).
3865
cb0a02ea
JL
38662011-12-02 Juri Linkov <juri@jurta.org>
3867
3868 * info.el (Info-search): Display "end of manual" when Isearch
3869 reaches the end of single-file Info manual. (Bug#9918)
3870
66e0570c
EZ
38712011-12-02 Eli Zaretskii <eliz@gnu.org>
3872
3873 * isearch.el (isearch-message-prefix): Run the input method part
3874 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3875
02b16839
JL
38762011-12-02 Juri Linkov <juri@jurta.org>
3877
3878 * isearch.el (isearch-occur): Use `word-search-regexp' for
3879 `isearch-word'.
3880 (isearch-search-and-update): Add condition for `isearch-word' and
3881 call `word-search-regexp'. (Bug#10145)
3882
0b950688
GM
38832011-12-01 Glenn Morris <rgm@gnu.org>
3884
3885 * eshell/em-hist.el (eshell-hist-initialize):
3886 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3887 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3888
9505c3c7
SM
38892011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3892
1bbe96b2 38932011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3894
a1beca85
SM
3895 * progmodes/verilog-mode.el (verilog-pretty-expr):
3896 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3897 verilog, such as += *= and the like.
3898 (verilog-assignment-operator-re): Regular expression to find the
3899 assigment operator in a verilog assignment.
3900 (verilog-assignment-operation-re): Regular expression to find an
3901 assignment statement for pretty-expr.
3902 (verilog-in-attribute-p): Query returns true if point is in an
3903 attribute context; used to skip these for expression line up from
3904 pretty-expr.
3905 (verilog-in-parameter-p): Query returns true if point is in an
3906 parameter definition context; used to skip these for expression
3907 line up from pretty-expr.
3908 (verilog-in-parenthesis-p): Query returns true if point is in a
3909 parenthetical expression, specifically ( ) but not [ ] or { };
3910 used by pretty-expr.
3911 (verilog-just-one-space): If there is no space, don't add one.
3912 (verilog-get-lineup-indent-2): Specifically skip just attribute
3913 contexts for expression lineup, rather than skipping all
3914 parenthetical expressions.
3915 (verilog-calculate-indent): Fix comment, and fix indent.
3916 (verilog-do-indent): Indent declarations in lists (suggested by
3917 Joachim Lechner).
3918 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3919 skeleton items.
3920 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3921 by Alain Mellan).
3922
1bbe96b2 39232011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3924
3925 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3926 parameters with embedded comments. Reported by Ray Stevens.
3927 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3928 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3929 Reported by Tim Holt.
3930 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3931 instantiated by upper module causing wrong expansion until AUTOed a
3932 second time. Reported by K C Buckenmaier.
3933 (verilog-diff-auto): Fix showing .* as a difference when
3934 `verilog-auto-star-save' off. Reported by Dan Dever.
3935 (verilog-auto-reset, verilog-read-always-signals)
3936 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3937 temporary signals in reset list if
3938 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3939 style to each signal's assignment type, bug381.
3940 Reported by Thomas Esposito.
6288f0ca
WS
3941 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3942 (verilog-uvm-statement-re): Support UVM indentation and
3943 highlighting, with old OVM keywords only.
a1beca85 3944 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3945 Support AUTOTIEOFF creating non-wire data types.
3946 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3947 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3948 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3949 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3950 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3951 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3952 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3953 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3954 non-numeric vector width. Reported by Alex Reed.
3955 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3956 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3957 (verilog-auto-delete-trailing-whitespace):
3958 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3959 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3960 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3961 Fix verilog-scan-cache corruption when running user AUTO expansion
3962 hooks that call indentation routines.
3963 (verilog-simplify-range-expression): Fix typo ignoring lower case
3964 identifiers.
3965 (verilog-delete-auto): Fix delete-autos to also remove user created
3966 automatics, as long as they start with AUTO.
3967 (verilog-batch-diff-auto, verilog-diff-auto)
3968 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3969 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3970 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3971 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3972 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3973 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3974 is disabled and its cache will get corrupt, causing AUTOS not to
3975 expand. Instead use only -quick functions.
3976 (verilog-scan-region): Fix scanning over escaped quotes.
3977 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3978 (verilog-re-search-backward-quick)
3979 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3980 related functions now ignore strings, to fix misparsing of strings
3981 with magic comments embedded in them.
a1beca85
SM
3982 (verilog-read-auto-template):
3983 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3984 Reported by Brad Dobbie.
3985 (verilog-read-auto-template):
3986 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3987 Reported by Brad Dobbie.
6288f0ca
WS
3988 (verilog-auto-inst, verilog-auto-inst-param)
3989 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3990 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3991 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3992 debugging templates without merge conflicts, bug357.
3993 Reported by Brad Dobbie.
3994 (verilog-read-auto-template):
3995 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3996 Reported by Brad Dobbie.
3997 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3998 abbrevs so user won't be asked to save.
3999 (verilog-read-auto-lisp-present): Fix to start at beginning of
4000 buffer in case called outside of verilog-auto.
4001 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4002 to "X-2". Reported by Matthew Myers.
4003 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4004 all inputs from module templates. Reported by Leith Johnson.
4005 (verilog-module-inside-filename-p): Fix locating programs as with
4006 modules.
4007 (verilog-auto-inst-port): Fix vl-width expressions when using
4008 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4009 (verilog-decls-get-regs, verilog-decls-get-signals,
4010 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4011 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4012 verilog-read-decls): Combine reg and wire structures into one var
4013 structure to represent SystemVerilog concepts.
4014 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4015 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4016 (verilog-auto-wire-type, verilog-insert-definition):
4017 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4018 SystemVerilog "logic" keyword instead of "wire"/"reg".
4019 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4020 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4021 ifdef or generate if so there's not a driver conflict).
4022 Reported by Matthew Myers.
4023 (verilog-auto-declare-nettype, verilog-insert-definition):
4024 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4025 `default_nettype none. Reported by Julian Gorfajn.
4026 (verilog-read-always-signals-recurse, verilog-read-decls)
4027 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4028 malformed end statement, bug325. Reported by Joshua Wise and
4029 Andrew Drake.
4030 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4031 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4032 when expanding .* in interfaces, bug320.
4033 Reported by Pierre-David Pfister.
6288f0ca 4034 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4035 name and open parenthesis, bug317.
4036 Reported by Pierre-David Pfister.
6288f0ca
WS
4037 (verilog-simplify-range-expression): Fix simplification of
4038 multiplications inside AUTOWIRE connections, bug303.
4039 (verilog-auto-inst-port): Support parameter expansion in
4040 multidimensional arrays.
4041 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4042 after "assert property". Reported by Julian Gorfajn.
4043 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4044 with multiplication, bug303.
4045 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4046 Reported by Jan Frode Lonnum.
4047
1bbe96b2
GM
40482011-11-30 Juanma Barranquero <lekktu@gmail.com>
4049
4050 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4051 (hfy-shell-file-name, hfy-shell):
4052 * international/fontset.el (x-decompose-font-name): Fix typos.
4053
40542011-11-29 Ken Brown <kbrown@cornell.edu>
4055
4056 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4057 (gdb-version): Remove defvar.
4058 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4059 (gdb-gud-context-command, gdb-non-stop-handler)
4060 (gdb-current-context-command, gdb-stopped): Use it.
4061 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4062 (gdb-non-stop-handler): Don't enable pretty-printing here.
4063 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4064 non-stop mode. Use the following.
4065 (gdb-check-target-async): New defun.
4066 (gud-watch, gdb-stopped): Fix whitespace.
4067 (gdb-get-source-file): Don't try to display the source file if
4068 `gdb-main-file' is nil.
4069
40702011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * align.el: Try to generate fewer markers (bug#10047).
4073 (align--set-marker): New macro.
4074 (align-region): Use it.
4075
c935221f
SM
40762011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4079
e70b5064
CY
40802011-11-29 Chong Yidong <cyd@gnu.org>
4081
4082 * indent.el (indent-for-tab-command, indent-according-to-mode):
4083 Doc fix.
4084 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4085
f3af92b7
MA
40862011-11-29 Michael Albinus <michael.albinus@gmx.de>
4087
4088 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4089 aware of remote file names. (Bug#10124)
4090
ed472be9
CY
40912011-11-29 Chong Yidong <cyd@gnu.org>
4092
4093 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4094
24510c22
SM
40952011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * files.el (find-file): Don't use force-same-window (bug#10144).
4098 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4099 use pop-to-buffer if the selected window can't be used.
4100 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4101
c60c3703
EZ
41022011-11-28 Eli Zaretskii <eliz@gnu.org>
4103
4104 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4105 special-mode-map.
4106
e95def75
CY
41072011-11-28 Chong Yidong <cyd@gnu.org>
4108
4109 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4110
c3f1c606
NR
41112011-11-27 Nick Roberts <nickrob@snap.net.nz>
4112
4113 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4114 gdb-get-source-file-list on gdb-create-source-file-list.
4115
00db469c
EZ
41162011-11-26 Eli Zaretskii <eliz@gnu.org>
4117
4118 * whitespace.el (whitespace-newline): Use a different foreground
4119 color for 16-color light-background displays.
4120
4ad3bc2a
CY
41212011-11-24 Chong Yidong <cyd@gnu.org>
4122
4123 * window.el (display-buffer--special-action): Doc fix.
4124
e9fce1ac
JB
41252011-11-25 Juanma Barranquero <lekktu@gmail.com>
4126
4127 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4128 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4129 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4130 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4131 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4132 (avl-tree-stack-first):
4133 * emacs-lisp/cconv.el (cconv--analyse-use):
4134 * net/gnutls.el (gnutls-negotiate): Fix typos.
4135
cb825e5d
GM
41362011-11-24 Glenn Morris <rgm@gnu.org>
4137
3adbe224
GM
4138 * lpr.el (lpr-windows-system, lpr-lp-system):
4139 * mail/binhex.el (binhex-begin-line):
4140 * progmodes/grep.el (grep-history, grep-find-history):
4141 * textmodes/flyspell.el:
4142 * vc/pcvs-defs.el (cvs-global-menu):
4143 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4144 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4145 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4146
321decc8
GM
4147 * net/tls.el: Fix case of "GnuTLS".
4148
420b63ad
GM
4149 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4150
cb825e5d
GM
4151 * version.el (emacs-build-system): Give it a doc-string.
4152
a0649f08
JL
41532011-11-24 Juri Linkov <juri@jurta.org>
4154
4155 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4156
c0bc0fd4
GM
41572011-11-24 Glenn Morris <rgm@gnu.org>
4158
4159 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4160 if called on a non-mime message just toggle the headers. (Bug#8006)
4161
20db1522
JB
41622011-11-24 Juanma Barranquero <lekktu@gmail.com>
4163
4164 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4165 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4166 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4167 (allout-rebullet-heading, allout-open-sibtopic)
4168 (allout-toggle-current-subtree-encryption)
4169 (allout-toggle-subtree-encryption, allout-encrypt-string)
4170 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4171 (allout-distinctive-bullets-string, allout-auto-activation):
4172 * window.el (window-normalize-buffer-to-display):
4173 * progmodes/verilog-mode.el (verilog-batch-indent):
4174 * textmodes/bibtex.el (bibtex-field-braces-opt)
4175 (bibtex-field-strings-opt):
4176 * vc/cvs-status.el (cvs-tree-merge):
4177 Fix typos.
4178
7262a87c
MA
41792011-11-23 Michael Albinus <michael.albinus@gmx.de>
4180
4181 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4182 `non-essential' to t, in order to avoid remote connections.
4183
283430a1
EZ
41842011-11-23 Eli Zaretskii <eliz@gnu.org>
4185
a1beca85
SM
4186 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4187 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4188 case-insensitively.
4189
d2992a38
ML
41902011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4191
4192 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4193
50419064
GM
41942011-11-23 Glenn Morris <rgm@gnu.org>
4195
da94eca1
GM
4196 * paths.el (rmail-file-name): Reformat the doc-string so that it
4197 is picked up.
4198
9aac4de2
GM
4199 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4200 (rmail-auto-file): Ignore case in the "special" field names,
4201 as mail-fetch-field does for all others.
4202
8038d2d2
GM
4203 * mail/rmail.el (rmail-forward):
4204 * mail/rmailkwd.el (rmail-set-label):
4205 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4206 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4207
f3fe222a
GM
4208 * mail/rmail.el (rmail-current-message): Doc fix.
4209
50419064
GM
4210 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4211
28109f49
SM
42122011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4215
394c65f1
GM
42162011-11-22 Glenn Morris <rgm@gnu.org>
4217
4218 * mail/rmailmm.el (test-rmail-mime-handler)
4219 (test-rmail-mime-bulk-handler)
4220 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4221
f2a0aa3a
JL
42222011-11-21 Juri Linkov <juri@jurta.org>
4223
1154d12e
JB
4224 * calc/calc.el (calc-read-key-sequence):
4225 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4226
9c34a344
LMI
42272011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4228
4229 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4230 Tell the caller that the next line needs recomputation, even
4231 though it doesn't start a sexp (bug#10094).
4232
f04a3be9
SM
42332011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4236
7978747f
SM
42372011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4238
f04a3be9
SM
4239 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4240 Use force-same-window.
7978747f 4241
fe7a3057
JB
42422011-11-20 Juanma Barranquero <lekktu@gmail.com>
4243
4244 * descr-text.el (describe-char-unicode-data):
4245 * json.el (json-string-escape):
4246 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4247 (Footnote-unicode, Footnote-style-p):
4248 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4249
24901d61
CY
42502011-11-20 Chong Yidong <cyd@gnu.org>
4251
4252 * window.el (replace-buffer-in-windows): Restore interactive spec.
4253
bac7ff22
SM
42542011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4255
24f3d7b9
SM
4256 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4257
bac7ff22
SM
4258 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4259 (byte-compile-global-not-obsolete-vars): New var.
4260 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4261 Use it.
4262 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4263
cd1181db
JB
42642011-11-20 Juanma Barranquero <lekktu@gmail.com>
4265
4266 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4267 * progmodes/pascal.el (electric-pascal-equal):
4268 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4269 * xml.el (xml-substitute-special): Fix typos.
4270
7fb18e9e
GM
42712011-11-20 Glenn Morris <rgm@gnu.org>
4272
4273 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4274 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4275 Doc fixes.
4276 (rmail-decode-mime-charset): Mark as obsolete.
4277
4278 * mail/rmailsum.el (rmail-message-regexp-p-1):
4279 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4280 Before using mime functions, check they are set. (Bug#10077)
4281
d5a6b3ba
JL
42822011-11-19 Juri Linkov <juri@jurta.org>
4283
4284 * info.el (Info-finder-find-node): Use `package--builtins' instead
4285 of `package-alist'. Use node names formed by the pattern "Keyword "
4286 and the keyword name.
4287
e981b61f
AS
42882011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4289
1d00653d 4290 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4291
3ffbc301
JL
42922011-11-19 Juri Linkov <juri@jurta.org>
4293
4294 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4295 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4296 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4297 `old-history', `old-history-forward'. Add let-binding
4298 `window-selected'. Remove calls to `kill-buffer',
4299 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4300 before calling `Info-find-node', so `Info-find-node-2' will reread
4301 the Info file. Restore window positions only when `window-selected'
4302 is non-nil.
4303
30c62133
JL
43042011-11-19 Juri Linkov <juri@jurta.org>
4305
4306 * isearch.el (isearch-lazy-highlight-new-loop):
4307 Remove condition `(not isearch-error)'. (Bug#9918)
4308
4309 * misearch.el (multi-isearch-search-fun): Add condition
4310 `(not bound)' to ignore lazy-highlighting search.
4311 Add the search-failed message "end of multi" when the end of
4312 multi-sequence is reached. Uncapitalize the search-failed
4313 message "Repeat for next buffer".
4314
4315 * info.el (Info-search): Add the search-failed message
4316 "end of the manual" when the end of the manual is reached
4317 in Isearch mode.
4318
645ca9cf
JL
43192011-11-19 Juri Linkov <juri@jurta.org>
4320
4321 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4322 Use non-destructive `remove' instead of `delete' because
4323 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4324 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4325
df754f66
JL
43262011-11-19 Juri Linkov <juri@jurta.org>
4327
4328 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4329 to nil instead of binding `search-ring' and `regexp-search-ring'.
4330 (Bug#9185)
4331
0e23d96a
EZ
43322011-11-19 Eli Zaretskii <eliz@gnu.org>
4333
4334 * simple.el (line-move): Force movement by logical lines for any
4335 hscrolled window, not only when auto-hscroll-mode is on.
4336 (line-move-visual): Update doc string to that effect. (Bug#10076)
4337
8a6ccb66
AS
43382011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4339
4340 * language/european.el (macintosh): Define as alias for mac-roman.
4341
49ae5b39
EZ
43422011-11-19 Eli Zaretskii <eliz@gnu.org>
4343
4344 * mail/rmailmm.el (rmail-mime-display-header)
4345 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4346 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4347 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4348 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4349 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4350 of a raw aref.
4351 (rmail-mime-entity-segment): To get past the tagline, move forward
4352 2 more lines, to account for the 2 empty lines that precede and
4353 follow the line with the buttons.
4354 (rmail-mime-update-tagline): Move one more line, to get past the
4355 empty line that follows the buttons in the tagline. (Bug#9520)
4356
c56cad4a
MR
43572011-11-19 Martin Rudalics <rudalics@gmx.at>
4358
4359 * window.el (window-max-delta-1, window-min-delta-1)
4360 (window-min-size-1, window-state-get-1, window-state-put-1)
4361 (window-state-put-2): Use "window--" prefix.
4362
cbe71af3
SM
43632011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4364
2ad52c60
SM
4365 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4366 (smie-warning-count): New var.
4367 (smie-set-prec2tab): Use it.
4368 (smie-bnf->prec2): Improve warnings. Add docstring.
4369 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4370 (smie-bnf--set-class): New function.
4371 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4372 corner case.
4373
6944dbc1
SM
4374 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4375 (compilation-error-properties, compilation-move-to-column):
4376 Handle compilation-first-column while in the target buffer.
4377
c400c4d7
SM
4378 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4379 Don't hardcode point-min==1.
4380
6dbe3e96
SM
4381 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4382 (eshell-rewrite-for-command): Remove workaround.
4383 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4384 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4385 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4386
cbe71af3
SM
4387 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4388
a8e1496d
GM
43892011-11-17 Glenn Morris <rgm@gnu.org>
4390
4391 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4392 Ignore buffer-local generated-autoload-file if it is the same
4393 as the global value. (Bug#10049)
4394
df85d315
JB
43952011-11-17 Juanma Barranquero <lekktu@gmail.com>
4396
4397 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4398 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4399 (reftex-toc-previous-heading, reftex-toc-max-level)
4400 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4401 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4402 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4403 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4404 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4405 (reftex-toc-rename-label, reftex-toc-visit-location)
4406 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4407 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4408 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4409 leaving "*toc*" only for references to the buffer.
4410
a0c2d0ae
MR
44112011-11-17 Martin Rudalics <rudalics@gmx.at>
4412
4413 * window.el (window-resize, delete-window, split-window):
4414 Replace window-splits by window-combination-resize.
1d00653d 4415 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4416
35c0bac8
GM
44172011-11-17 Glenn Morris <rgm@gnu.org>
4418
4419 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4420 Make bash entry derive from sh entry, not shell entry.
4421
d0c8fc8a
MA
44222011-11-16 Michael Albinus <michael.albinus@gmx.de>
4423
d0c8fc8a
MA
4424 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4425 properties of linked files. (Bug#9879)
4426
7262a87c
MA
4427 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4428 local file name.
4429
7877f373
JB
44302011-11-16 Juanma Barranquero <lekktu@gmail.com>
4431
4432 * menu-bar.el (menu-bar-file-menu):
4433 * printing.el (pr-ps-utility):
4434 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4435 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4436 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4437 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4438 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4439 (icalendar--convert-cyclic-to-ical)
4440 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4441 (icalendar--convert-ical-to-diary)
4442 (icalendar--convert-recurring-to-diary)
4443 (icalendar--convert-non-recurring-all-day-to-diary)
4444 (icalendar-import-format-sample):
4445 * progmodes/idlw-shell.el (idlwave-shell-mode):
4446 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4447 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4448 (vhdl-ps-print-init): Fix typos.
4449
10649b82
KM
44502011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4451
9d0cfcd6
GM
4452 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4453 FSF and collapse date sequence, obscure author/maintainer email address
4454 better, remove extra version line, track relocation of author's webpage.
10649b82 4455
9d0cfcd6
GM
4456 * progmodes/python.el (python-pdbtrack-input-prompt)
4457 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4458 regular python pdb prompts. Adjustments shamelessly taken exactly as
4459 suggested in EmacsWiki page (tiny change):
4460 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4461
58179cce
JB
44622011-11-16 Juanma Barranquero <lekktu@gmail.com>
4463
4464 * expand.el (expand-pos, expand-index, expand-point):
4465 Remove redundant info from docstring.
4466 (expand-add-abbrevs): Doc fix.
4467 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4468 (expand-sample-perl-mode-expand-list): Fix typos.
4469
4470 * net/dbus.el (dbus-event-member-name):
4471 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4472 * term/pc-win.el (msdos-create-frame-with-faces):
4473 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4474
b6f67890
MR
44752011-11-16 Martin Rudalics <rudalics@gmx.at>
4476
4477 * window.el (split-window, window-state-get-1)
4478 (window-state-put-1, window-state-put-2): Rename occurrences of
4479 window-nest to window-combination-limit.
1d00653d 4480 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4481
ce7ddba0
CY
44822011-11-16 Chong Yidong <cyd@gnu.org>
4483
4484 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4485 regexp (Bug#10033).
4486
3ae704f4
SM
44872011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4490 `completing-read' will remove *Completions* and will preserve
4491 current-buffer for us.
4492 (tmm-add-prompt): Users of *Completions* will always (re)set its
4493 major mode.
4494 (tmm-old-comp-map): Remove.
4495
6ad1cdde
GM
44962011-11-16 Glenn Morris <rgm@gnu.org>
4497
4498 * mail/rmailedit.el: Require rmailmm when compiling.
4499 (rmail-old-mime-state): New declaration.
4500 (rmail-edit-current-message): If editing a mime message,
4501 edit the "raw" message from the mbox buffer.
4502 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4503
d20faa20
GM
45042011-11-15 Glenn Morris <rgm@gnu.org>
4505
4506 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4507 which wasn't being used. Add optional arg to force given state.
4508 (rmail-mime): Add optional arg to force given state.
4509
c7015153
JB
45102011-11-15 Juanma Barranquero <lekktu@gmail.com>
4511
4512 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4513 * frame.el (display-mm-dimensions-alist):
4514 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4515 (outline-move-subtree-down):
4516 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4517 (newsticker--treeview-do-get-node):
4518 * net/quickurl.el (quickurl-list-buffer-name):
4519 * progmodes/dcl-mode.el (dcl-mode):
4520 * progmodes/gdb-mi.el (gdb-mapcar*):
4521 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4522
45261b50
GM
45232011-11-15 Glenn Morris <rgm@gnu.org>
4524
4525 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4526 in a boolean sense, so just make it a boolean, and fix the doc.
4527 (rmail-show-mime-function, rmail-mime-feature)
4528 (rmail-require-mime-maybe): Doc fixes.
4529 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4530
4531 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4532
0d26e0b6
JB
45332011-11-15 Juanma Barranquero <lekktu@gmail.com>
4534
4535 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4536 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4537 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4538 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4539
447f30f6
GM
45402011-11-15 Glenn Morris <rgm@gnu.org>
4541
672b871d
GM
4542 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4543 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4544 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4545 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4546 (rmail-mime, rmail-show-mime): Doc fixes.
4547
f6aa5bb1
GM
4548 * term/ns-win.el (mode-line-frame-identification):
4549 Leave it alone. (Bug#10051)
4550
947cd66b
GM
4551 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4552
447f30f6
GM
4553 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4554 Handle empty buffers. (Bug#9978)
4555
0b381c7e
JB
45562011-11-14 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * international/mule.el (define-charset):
4559 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4560 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4561 * progmodes/verilog-mode.el (verilog-backward-token):
4562 * textmodes/ispell.el (lookup-words):
4563 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4564
71e027ac
GM
45652011-11-14 Glenn Morris <rgm@gnu.org>
4566
56632ce4
GM
4567 * progmodes/executable.el
4568 (executable-make-buffer-file-executable-if-script-p):
4569 Handle file-modes returning nil.
4570
40500957
GM
4571 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4572 message - not necessary, and causes problems. (Bug#9831)
4573
071c2340
GM
4574 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4575
d3cfca60
GM
4576 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4577
71e027ac
GM
4578 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4579 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4580 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4581
89d61221
MR
45822011-11-12 Martin Rudalics <rudalics@gmx.at>
4583
4584 * window.el (window-resize, delete-window): Use window-splits
4585 variable instead of function.
4586 (window-state-get-1, window-state-put-2, window-state-put):
4587 Don't deal with windows' splits status.
4588
98282f6f
GM
45892011-11-12 Glenn Morris <rgm@gnu.org>
4590
4591 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4592 (apropos-documentation): Doc fixes.
4593
40a8bdf6
JB
45942011-11-11 Juanma Barranquero <lekktu@gmail.com>
4595
4596 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4597 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4598
65bd19ff
SM
45992011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * electric.el (electric-indent-post-self-insert-function): Make it
4602 possible for a char to only indent in some circumstances.
4603 (electric-indent-mode): Simplify.
4604
54f9154c
MR
46052011-11-11 Martin Rudalics <rudalics@gmx.at>
4606
4607 * window.el (windows-with-parameter): Remove unused function.
4608 (windows-at-side): Rename to window-at-side-list.
4609 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4610 (window-side-check, window-size-ignore, window-size-fixed-1)
4611 (window-in-direction-2): Prefix with "window--".
4612 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4613
68cbc58b
GM
46142011-11-11 Glenn Morris <rgm@gnu.org>
4615
4616 * subr.el (eval-after-load): If FILE is already loaded,
4617 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4618
b2621720
GM
46192011-11-10 Glenn Morris <rgm@gnu.org>
4620
9a4de110
GM
4621 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4622 Call svn via vc-svn-command rather than vc-do-command.
4623 (vc-svn-command): Add --non-interactive. (Bug#9993)
4624 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4625
b2621720
GM
4626 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4627 Add toggle-read-only. (Bug#7292)
4628 * files.el (toggle-read-only): Mention that it should only
4629 be used interactively. (Bug#10006)
4630
1dce7193
SM
46312011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4632
d9ac1a1e
SM
4633 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4634 Adjust regexp for OCaml warnings.
4635
0c325082
SM
4636 * electric.el (electric-pair-post-self-insert-function): Let user
4637 turn it off buffer-locally (bug#9932).
4638
90132c14
SM
4639 * progmodes/python.el (python-beginning-of-statement):
4640 Rewrite (bug#2703).
4641
1dce7193
SM
4642 * progmodes/compile.el: Better handle TABs (bug#9749).
4643 (compilation-internal-error-properties)
4644 (compilation-next-error-function): Obey the target buffer's
4645 compilation-error-screen-columns.
4646
c4e7c63a
JB
46472011-11-09 Juanma Barranquero <lekktu@gmail.com>
4648
4649 * progmodes/meta-mode.el: Remove obsolete comments.
4650 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4651 Fix typos in docstrings.
4652
2cffd681
MR
46532011-11-09 Martin Rudalics <rudalics@gmx.at>
4654
4655 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4656 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4657 (window--resizable): New function. Make all callers of
4658 window-resizable call window--resizable instead.
4659 (window-resizable): Rewrite in terms of window--resizable.
4660
0edcba87
GM
46612011-11-08 Glenn Morris <rgm@gnu.org>
4662
4663 * progmodes/delphi.el (delphi-mode-syntax-table):
4664 Let define-derived-mode define a proper syntax table. (Bug#9994)
4665
4b0d61e3
SM
46662011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * window.el: Stay away from defsubst.
4669 (window-list-no-nils): Remove.
4670 (window-state-get-1, window-state-get): Use backquote instead.
4671
cd394be1 46722011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4673
4b0d61e3 4674 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4675 Fix incorrect use of default argument in `completing-read'.
4676
e1c2c6f2
MR
46772011-11-08 Martin Rudalics <rudalics@gmx.at>
4678
4679 * window.el (display-buffer-function, special-display-function):
4680 Mention display-buffer-record-window but do not mention
4681 help-setup parameter in doc-strings.
b3f4a882 4682 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4683
105216ed
CY
46842011-11-08 Chong Yidong <cyd@gnu.org>
4685
4686 * window.el (window-total-height, window-total-width): Doc fix.
4687 (window-body-size): Move from C.
4688 (window-body-height, window-body-width): Move to C.
4689
0a9f9ab5
SM
46902011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * window.el: Make special-display like display-buffer-alist (bug#9532).
4693 (display-buffer--special-action): New function, morphed
4694 from display-buffer--special.
4695 (display-buffer): Use it to handle special-display-buffers at higher
4696 priority (just after display-buffer-alist).
4697 (display-buffer-fallback-action, display-buffer--other-frame-action)
4698 (pop-to-buffer-same-window): Remove display-buffer--special.
4699
a769dd15
GM
47002011-11-07 Glenn Morris <rgm@gnu.org>
4701
4702 * calendar/cal-menu.el (cal-menu-set-date-title):
4703 Do nothing if not in a calendar. (Bug#9976)
4704
05a61ee3
SM
47052011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * files.el (find-file): Always use selected-window.
4708
be7f5545
MR
47092011-11-07 Martin Rudalics <rudalics@gmx.at>
4710
4711 * window.el (window-combinations): Make WINDOW argument
4712 mandatory. Rewrite doc-string.
4713 (walk-window-subtree, window-atom-check, window-min-delta)
4714 (window-max-delta, window--resize-this-window)
4715 (window--resize-root-window-vertically, window-tree)
4716 (balance-windows, window-state-put): Rewrite doc-strings as to
4717 not mention the term "subwindow".
4718 (window--resize-subwindows-skip-p): Rename to
4719 window--resize-child-windows-skip-p.
4720 (window--resize-subwindows-normal): Rename to
4721 window--resize-child-windows-normal.
4722 (window--resize-subwindows): Rename to
4723 window--resize-child-windows.
4724 (window-or-subwindow-p): Rename to window--in-subtree-p.
4725
3c6702ef
ML
47262011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4727
4728 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4729 Ensure that mbox format messages end in two newlines (Bug#9974).
4730
49745b39
CY
47312011-11-06 Chong Yidong <cyd@gnu.org>
4732
4733 * window.el (window-combination-p): Function deleted; its
4734 side-effect is not used in any existing code.
4735 (window-combinations, window-combined-p): Call window-*-child
4736 directly.
4737
24300f5f
CY
47382011-11-05 Chong Yidong <cyd@gnu.org>
4739
4740 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4741 (window-size-ignore, window-state-get): Callers changed.
4742 (window-normalize-window): Rename from window-normalize-any-window.
4743 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4744 (window-normalize-live-window): Delete.
447f16b8
CY
4745 (window-combination-p, window-combined-p, window-combinations)
4746 (walk-window-subtree, window-atom-root, window-min-size)
4747 (window-sizable, window-sizable-p, window-size-fixed-p)
4748 (window-min-delta, window-max-delta, window-resizable)
4749 (window-resizable-p, window-full-height-p, window-full-width-p)
4750 (window-current-scroll-bars, window-point-1, set-window-point-1)
4751 (window-at-side-p, window-in-direction, window-resize)
4752 (adjust-window-trailing-edge, maximize-window, minimize-window)
4753 (window-deletable-p, delete-window, delete-other-windows)
4754 (record-window-buffer, unrecord-window-buffer)
4755 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4756 (quit-window, split-window, window-state-put)
4757 (set-window-text-height, fit-window-to-buffer)
4758 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4759
89bd5ee1
EZ
47602011-11-04 Eli Zaretskii <eliz@gnu.org>
4761
53479029
EZ
4762 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4763 rfc2047-decode-string.
4764 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4765 warnings.
4766
89bd5ee1
EZ
4767 * window.el (window-body-height, window-body-width): Mention in
4768 the doc string that the return values are in frame's canonical
4769 units. (Bug#9949)
4770
bd17fdee
AM
47712011-11-03 Alan Mackenzie <acm@muc.de>
4772
4773 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4774 change in cc-engine.el.
4775
acc825c5
SM
47762011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4777
4778 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4779
1885e5b8
MR
47802011-11-02 Martin Rudalics <rudalics@gmx.at>
4781
4782 * window.el (quit-window): Call unrecord-window-buffer after
4783 showing another buffer in the window. (Bug#9937)
acc825c5 4784 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4785
ebe06da9
JB
47862011-11-02 Juanma Barranquero <lekktu@gmail.com>
4787
4788 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4789 Accept status with more than 9 shelves. (Bug#9935)
4790 Reported by Colin D Bennett <colin@gibibit.com>.
4791
4ee88440
MR
47922011-11-01 Martin Rudalics <rudalics@gmx.at>
4793
4794 * help.el (with-help-window): Don't reference
4795 temp-buffer-show-specifiers in doc-string.
4796
08e1d82c
AS
47972011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4798
4799 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4800 menu-item.
4801
84bd6e9e
VJL
48022011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4803
4804 * whitespace.el: New version 13.2.2.
4805 (whitespace-newline-mode): Disable properly. Reported by Sarah
4806 <EmacsWiki>.
4807
dba0634a
UJ
48082011-10-30 Ulf Jasper <ulf.jasper@web.de>
4809
4810 * net/newst-treeview.el: Remove "Time-stamp".
4811 (newsticker--group-manage-orphan-feeds): Do not call
4812 newsticker--treeview-tree-update.
db22a3c2
JB
4813 (newsticker-treeview-update, newsticker-treeview):
4814 Call newsticker--treeview-tree-update if necessary.
dba0634a 4815
3d8daefe
MR
48162011-10-30 Martin Rudalics <rudalics@gmx.at>
4817
4818 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4819 (window-iso-combinations): Remove "iso-" infix.
4820 Suggested by Chong Yidong.
3d8daefe
MR
4821 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4822 (window-max-delta-1, window-resize, window--resize-siblings)
4823 (window--resize-this-window, adjust-window-trailing-edge)
4824 (split-window, balance-windows-1)
4825 (shrink-window-if-larger-than-buffer):
4826 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4827 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4828
1bc4c3ae
SM
48292011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4832 in place (bug#9907).
4833 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4834 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4835 (eshell-structure-basic-command, eshell-rewrite-while-command)
4836 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4837 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4838 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4839 (eshell-do-pipelines-synchronously, eshell-eval-command):
4840 Use backquotes and prefer setq to set.
4841 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4842 (eshell-macrop): Use functionp.
c1e2f5fa 4843 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4844
30b65d9c
CY
48452011-10-30 Chong Yidong <cyd@gnu.org>
4846
4847 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4848 instead of set-mark (Bug#9810).
4849
2d197ffb
CY
48502011-10-30 Chong Yidong <cyd@gnu.org>
4851
4852 * window.el (split-window-below, split-window-right): Rename from
4853 split-window-above-each-other and split-window-side-by-side
4854 respectively. All callers changed.
4855 (split-window-sensibly, split-window-sensibly): Use them.
4856 (split-window-keep-point): Doc fix.
4857
4858 * isearch.el: Add isearch-scroll property to split-window-below
4859 and split-window-right.
4860
4861 * follow.el (follow-mode):
4862 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4863 * progmodes/ada-xref.el (ada-gdb-application):
4864 * emulation/vip.el (vip-buffer-in-two-windows):
4865 * image-dired.el (image-dired-dired-with-window-configuration):
4866 * dired-x.el (dired-do-find-marked-files):
4867 * dired.el (dired-pop-to-buffer):
4868 * bs.el (bs--show-with-configuration):
4869 * vc/emerge.el (emerge-setup-windows):
4870 * textmodes/two-column.el (2C-two-columns):
4871 * textmodes/reftex-toc.el (reftex-toc):
4872 * progmodes/gdb-mi.el (gdb-setup-windows):
4873 * progmodes/fortran.el (fortran-window-create):
4874 * net/newst-treeview.el (newsticker--treeview-window-init):
4875 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4876 * emulation/tpu-edt.el (tpu-gold-map):
4877 * emulation/crisp.el (crisp-mode-map):
4878 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4879
38bb2ca8
CY
48802011-10-29 Chong Yidong <cyd@gnu.org>
4881
aa4de341
CY
4882 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4883
e1eb5385
CY
4884 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4885
5d2ece3c
CY
4886 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4887 forged Ispell output (Bug#7904).
4888
38bb2ca8
CY
4889 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4890
d0af9f77
SM
48912011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * doc-view.el: Avoid ugly errors about not finding nil.
4894 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4895 (doc-view-dvipdf-program, doc-view-unoconv-program)
4896 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4897 Avoid nil or absolute file name as default value.
4898 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4899
52bedd34
AM
49002011-10-28 Alan Mackenzie <acm@muc.de>
4901
db22a3c2 4902 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4903
7e43cfa5
AM
49042011-10-28 Alan Mackenzie <acm@muc.de>
4905
4906 Amend the handling of c-beginning/end-of-defun in nested declaration
4907 scopes.
4908
52bedd34
AM
4909 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4910 cc-langs.el. Change it to a defcustom.
7e43cfa5 4911
52bedd34
AM
4912 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4913 cc-vars.el.
7e43cfa5 4914
d0af9f77
SM
4915 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4916 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4917
52bedd34 4918 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4919 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4920 (c-widen-to-enclosing-decl-scope): New function.
4921 (c-while-widening-to-decl-block): New macro.
4922 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4923 outward for defun boundaries, and correspondingly change symbol
4924 `respect-enclosure' to `go-outward'.
4925 (c-declaration-limits): Change algorithm to report only the "innermost"
4926 defun's boundaries.
4927
1a2ce9ee
DD
49282011-10-28 Deniz Dogan <deniz@dogan.se>
4929
4930 * net/rcirc.el (rcirc-mode): Use hard newlines.
4931
bc97a826
AM
49322011-10-28 Alan Mackenzie <acm@muc.de>
4933
4934 Amend to indent and fontify macros "which include their own semicolon"
4935 correctly, using the "virtual semicolon" mechanism.
4936
52bedd34 4937 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4938
d0af9f77 4939 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4940 Recode to scan one line at a time rather than having \n and \r
58179cce 4941 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4942 (c-forward-label): Amend for virtual semicolons.
58179cce 4943 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4944
52bedd34
AM
4945 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4946 of the new C macros.
bc97a826 4947
52bedd34 4948 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4949 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4950 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4951 (c-opt-cpp-macro-define): Make into a full language variable.
4952 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4953 AWK Mode (including \n, \r) removed, no longer needed.
4954
d0af9f77
SM
4955 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4956 Invoke c-make-macro-with-semi-re.
bc97a826 4957
52bedd34
AM
4958 * progmodes/cc-vars.el (c-macro-with-semi-re):
4959 (c-macro-names-with-semicolon): New variables.
58179cce 4960 (c-make-macro-with-semi-re): New function.
bc97a826 4961
7a6c0941
SM
49622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * vc/log-edit.el: Fill empty field rather than adding new one.
4965 (log-edit-add-field): New function.
4966 (log-edit-insert-changelog): Use it.
4967
b0c4cdcf
ML
49682011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4969
4970 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4971
ee1f1da9
SM
49722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4973
4974 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4975 (gdb--check-interpreter): New function.
4976 (gdb): Use it.
4977
51bc5f8b
GM
49782011-10-27 Glenn Morris <rgm@gnu.org>
4979
416a2c45
GM
4980 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4981 (least-positive-float, least-negative-float)
4982 (least-positive-normalized-float, least-negative-normalized-float)
4983 (float-epsilon, float-negative-epsilon):
4984 Remove unnecessary declarations.
4985
4986 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4987 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4988 (least-positive-float, least-negative-float)
4989 (least-positive-normalized-float, least-negative-normalized-float)
4990 (float-epsilon, float-negative-epsilon): Add doc-strings,
4991 based on those in cl.texi.
4992
51bc5f8b
GM
4993 * files.el (set-visited-file-name): If the major-mode changed,
4994 reload the local variables. (Bug#9796)
4995
15de15c6
CY
49962011-10-27 Chong Yidong <cyd@gnu.org>
4997
4998 * subr.el (change-major-mode-after-body-hook): New hook.
4999 (run-mode-hooks): Run it.
5000
ee1f1da9
SM
5001 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5002 Use change-major-mode-before-body-hook.
15de15c6
CY
5003
5004 * simple.el (fundamental-mode):
5005 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5006 change introducing fundamental-mode-hook.
5007
5430d399
JB
50082011-10-26 Juanma Barranquero <lekktu@gmail.com>
5009
acc825c5 5010 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5011
ad74a69e
MA
50122011-10-26 Michael Albinus <michael.albinus@gmx.de>
5013
5014 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5015 tramp.el explicitly. (Bug#7583)
ad74a69e 5016
71d4c2a5
SM
50172011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * progmodes/octave-mod.el:
5020 * progmodes/octave-inf.el: Update maintainer.
5021
b1f6fa26
CY
50222011-10-26 Chong Yidong <cyd@gnu.org>
5023
5024 * subr.el (with-wrapper-hook): Rewrite doc.
5025
3f04efd6
MA
50262011-10-25 Michael Albinus <michael.albinus@gmx.de>
5027
5028 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5029 filenames "/method:foo:". (Bug#9793)
3f04efd6 5030
410488d3
SM
50312011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5032
5033 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5034 (bug#9865).
5035
c1ebb47e
GM
50362011-10-24 Glenn Morris <rgm@gnu.org>
5037
5038 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5039
7f5c46c7
MA
50402011-10-24 Michael Albinus <michael.albinus@gmx.de>
5041
5042 * notifications.el: Add the requirement of a running D-Bus session
5043 bus to the Commentary.
5044
db2440b6
JL
50452011-10-24 Juri Linkov <juri@jurta.org>
5046
5047 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5048 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5049 (Bug#9364)
5050
feecf435
JL
50512011-10-24 Juri Linkov <juri@jurta.org>
5052
5053 * info.el (Info-following-node-name-re): Add newline to the list
5054 of allowed characters for leading space. (Bug#9824)
5055
a3839de2
SM
50562011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5057
acc825c5
SM
5058 * progmodes/octave-inf.el (inferior-octave-mode-map):
5059 Fix C-c C-h binding.
a3839de2
SM
5060 * progmodes/octave-mod.el (octave-help): Remove.
5061
09388e76
MA
50622011-10-23 Michael Albinus <michael.albinus@gmx.de>
5063
5064 Sync with Tramp 2.2.3.
5065
5066 * net/tramp-cache.el (top): Pacify byte-compiler using
5067 `init-file-user' and `site-run-file'.
5068
5069 * net/trampver.el: Update release number.
5070
86c60681
CY
50712011-10-23 Chong Yidong <cyd@gnu.org>
5072
5073 * files.el (toggle-read-only): Remove obsolete comment about
5074 version control.
5075
5076 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5077 for toggle-read-only. Note that this hasn't called vc-next-action
5078 since 2008-05-02, though it wasn't documented at the time.
5079
a3839de2
SM
5080 * vc/ediff-init.el (ediff-toggle-read-only-function):
5081 Use toggle-read-only.
86c60681 5082
cd5495ff
AM
50832011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5084
5085 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5086 of c-parse-state.
5087
00b77525 5088 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5089 correct faulty logical expression.
cd5495ff
AM
5090 (c-parse-state-state, c-record-parse-state-state):
5091 (c-replay-parse-state-state): New defvar/defuns.
5092 (c-debug-parse-state): Use new functions.
5093
42ee24ed
MR
50942011-10-22 Martin Rudalics <rudalics@gmx.at>
5095
5096 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5097 last fix. Use window-in-direction correctly.
42ee24ed 5098
a7dee7e7
CY
50992011-10-21 Chong Yidong <cyd@gnu.org>
5100
5101 * progmodes/idlwave.el (idlwave-mode):
5102 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5103 require-final-newline; that's done in prog-mode.
5104 Suggested by Stefan Monnier.
a7dee7e7 5105
e07b9a6d
MR
51062011-10-21 Martin Rudalics <rudalics@gmx.at>
5107
5108 * mouse.el (mouse-drag-window-above)
5109 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5110 (mouse-drag-mode-line-1, mouse-drag-header-line)
5111 (mouse-drag-vertical-line-rightward-window): Remove.
5112 (mouse-drag-line): New function.
5113 (mouse-drag-mode-line, mouse-drag-header-line)
5114 (mouse-drag-vertical-line): Call mouse-drag-line.
5115 * window.el (window-at-side-p, windows-at-side): New functions.
5116
7e1361d9
UM
51172011-10-21 Ulrich Mueller <ulm@gentoo.org>
5118
5119 * tar-mode.el (tar-grind-file-mode):
5120 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5121
30fcaf3a
CY
51222011-10-21 Chong Yidong <cyd@gnu.org>
5123
5124 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5125 * progmodes/vera-mode.el (vera-mode):
5126 Use mode-require-final-newline.
30fcaf3a 5127
516eddb0
GM
51282011-10-20 Glenn Morris <rgm@gnu.org>
5129
db22a3c2 5130 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5131
10d5f513
CS
51322011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5133
5134 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5135
ac6c8639
CY
51362011-10-20 Chong Yidong <cyd@gnu.org>
5137
5138 * emulation/cua-base.el (cua-mode):
5139 * mail/footnote.el (footnote-mode):
5140 * mail/mailabbrev.el (mail-abbrevs-mode):
5141 * net/xesam.el (xesam-minor-mode):
5142 * progmodes/bug-reference.el (bug-reference-mode):
5143 * progmodes/cap-words.el (capitalized-words-mode):
5144 * progmodes/compile.el (compilation-minor-mode)
5145 (compilation-shell-minor-mode):
5146 * progmodes/gud.el (gud-tooltip-mode):
5147 * progmodes/hideif.el (hide-ifdef-mode):
5148 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5149 * progmodes/subword.el (subword-mode):
5150 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5151 * progmodes/which-func.el (which-function-mode):
5152 * term/tvi970.el (tvi970-set-keypad-mode):
5153 * term/vt100.el (vt100-wide-mode):
5154 * textmodes/flyspell.el (flyspell-mode):
5155 * textmodes/ispell.el (ispell-minor-mode):
5156 * textmodes/nroff-mode.el (nroff-electric-mode):
5157 * textmodes/paragraphs.el (use-hard-newlines):
5158 * textmodes/refill.el (refill-mode):
5159 * textmodes/reftex.el (reftex-mode):
5160 * textmodes/rst.el (rst-minor-mode):
5161 * textmodes/sgml-mode.el (html-autoview-mode)
5162 (sgml-electric-tag-pair-mode):
5163 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5164 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5165 * emulation/crisp.el (crisp-mode):
5166 * emacs-lisp/eldoc.el (eldoc-mode):
5167 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5168 minor mode behavior.
5169
aa42ab43
JL
51702011-10-19 Juri Linkov <juri@jurta.org>
5171
5172 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5173 the list of hard-coded chars with escape-glyph face.
5174
89400f1d
SM
51752011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5178
305c07f6
MA
51792011-10-19 Michael Albinus <michael.albinus@gmx.de>
5180
5181 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5182 running process.
5183
13754b54
GM
51842011-10-19 Glenn Morris <rgm@gnu.org>
5185
5186 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5187 Ignore ignored files. (Bug#9726)
5188
06e21633
CY
51892011-10-19 Chong Yidong <cyd@gnu.org>
5190
5191 Doc fix for minor modes, stating that an omitted argument enables
5192 the mode unconditionally when called from Lisp.
5193
5194 * abbrev.el (abbrev-mode):
5195 * allout.el (allout-mode):
5196 * autoinsert.el (auto-insert-mode):
5197 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5198 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5199 (global-auto-revert-mode):
5200 * battery.el (display-battery-mode):
5201 * composite.el (global-auto-composition-mode)
5202 (auto-composition-mode):
5203 * delsel.el (delete-selection-mode):
5204 * desktop.el (desktop-save-mode):
5205 * dired-x.el (dired-omit-mode):
5206 * dirtrack.el (dirtrack-mode):
5207 * doc-view.el (doc-view-minor-mode):
5208 * double.el (double-mode):
5209 * electric.el (electric-indent-mode, electric-pair-mode):
5210 * emacs-lock.el (emacs-lock-mode):
5211 * epa-hook.el (auto-encryption-mode):
5212 * follow.el (follow-mode):
5213 * font-core.el (font-lock-mode):
5214 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5215 * help.el (temp-buffer-resize-mode):
5216 * hilit-chg.el (highlight-changes-mode)
5217 (highlight-changes-visible-mode):
5218 * hi-lock.el (hi-lock-mode):
5219 * hl-line.el (hl-line-mode, global-hl-line-mode):
5220 * icomplete.el (icomplete-mode):
5221 * ido.el (ido-everywhere):
5222 * image-file.el (auto-image-file-mode):
5223 * image-mode.el (image-minor-mode):
5224 * iswitchb.el (iswitchb-mode):
5225 * jka-cmpr-hook.el (auto-compression-mode):
5226 * linum.el (linum-mode):
5227 * longlines.el (longlines-mode):
5228 * master.el (master-mode):
5229 * mb-depth.el (minibuffer-depth-indicate-mode):
5230 * menu-bar.el (menu-bar-mode):
5231 * minibuf-eldef.el (minibuffer-electric-default-mode):
5232 * mouse-sel.el (mouse-sel-mode):
5233 * msb.el (msb-mode):
5234 * mwheel.el (mouse-wheel-mode):
5235 * outline.el (outline-minor-mode):
5236 * paren.el (show-paren-mode):
5237 * recentf.el (recentf-mode):
5238 * reveal.el (reveal-mode, global-reveal-mode):
5239 * rfn-eshadow.el (file-name-shadow-mode):
5240 * ruler-mode.el (ruler-mode):
5241 * savehist.el (savehist-mode):
5242 * scroll-all.el (scroll-all-mode):
5243 * scroll-bar.el (scroll-bar-mode):
5244 * server.el (server-mode):
5245 * shell.el (shell-dirtrack-mode):
5246 * simple.el (auto-fill-mode, transient-mark-mode)
5247 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5248 (line-number-mode, column-number-mode, size-indication-mode)
5249 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5250 * strokes.el (strokes-mode):
5251 * time.el (display-time-mode):
5252 * t-mouse.el (gpm-mouse-mode):
5253 * tool-bar.el (tool-bar-mode):
5254 * tooltip.el (tooltip-mode):
5255 * type-break.el (type-break-mode-line-message-mode)
5256 (type-break-query-mode):
5257 * view.el (view-mode):
5258 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5259 (global-whitespace-mode, global-whitespace-newline-mode):
5260 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5261
a3839de2
SM
5262 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5263 Fix autogenerated docstring.
06e21633 5264
5214e501
JL
52652011-10-19 Juri Linkov <juri@jurta.org>
5266
5267 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5268 by checking environment variables "DESKTOP_SESSION" and
5269 "XDG_CURRENT_DESKTOP". (Bug#9779)
5270
195f8db9
JL
52712011-10-19 Juri Linkov <juri@jurta.org>
5272
5273 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5274 (browse-url-chromium-program, browse-url-chromium-arguments):
5275 New defcustoms.
5276 (browse-url-default-browser): Check for `browse-url-chromium' and
5277 call `browse-url-chromium-program'.
5278 (browse-url-chromium): New command. (Bug#9779)
5279
343a34ff
JB
52802011-10-18 Juanma Barranquero <lekktu@gmail.com>
5281
5282 * facemenu.el (list-colors-duplicates): On Windows, detect more
5283 duplicates by assuming that only colors matching "^System" are
5284 special "system colors". (Bug#9722)
5285
6978a151
SM
52862011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5289 to distinguish the author from the committer.
5290
6a80b297
MA
52912011-10-18 Michael Albinus <michael.albinus@gmx.de>
5292
5293 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5294
b31a5677
JK
52952011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5296
5297 * international/mule.el (sgml-html-meta-auto-coding-function):
5298 Add support for detecting encoding in HTML5 specified only as
5299 <meta charset="UTF-8">. Implementation just makes http-equiv and
5300 content-type parts from HTML4 encoding string optional. (Bug#9716)
5301
80c6d77f
GM
53022011-10-18 Glenn Morris <rgm@gnu.org>
5303
5304 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5305
08b0fee8
CY
53062011-10-18 Chong Yidong <cyd@gnu.org>
5307
5308 * faces.el (cursor): Doc fix.
5309
67e729a5
CY
53102011-10-17 Chong Yidong <cyd@gnu.org>
5311
5312 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5313
343a34ff 53142011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5315
5316 * dirtrack.el (dirtrack): Support shell buffers with path
5317 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5318
0bc06380
TZ
53192011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5320
5321 * json.el: Bump version to 1.3 and note change in History.
5322 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5323
8b79f3e0
SM
53242011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5a7c536b
SM
5326 * comint.el (comint-insert-input, comint-send-input)
5327 (comint-get-old-input-default, comint-backward-matching-input)
5328 (comint-next-prompt): Use nil instead of `input' for field property of
5329 past user input (bug#114).
5330
96a8a0df
SM
5331 * minibuffer.el (completion--replace): Inherit surrounding properties
5332 (bug#114).
5333 (minibuffer-complete-and-exit): Use it.
5334
8b79f3e0
SM
5335 * comint.el (comint--table-subvert): Quote the all-completions output
5336 (bug#9160).
5337
b8f7ff0d
MR
53382011-10-17 Martin Rudalics <rudalics@gmx.at>
5339
8b79f3e0 5340 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5341
b8f7ff0d 5342 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5343 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5344 entries and separate them from frame entries.
5345
c235b555
GM
53462011-10-15 Glenn Morris <rgm@gnu.org>
5347
5348 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5349 Doc fixes.
5350
6bbfa6e1
CY
53512011-10-15 Chong Yidong <cyd@stupidchicken.com>
5352
8b79f3e0
SM
5353 * net/network-stream.el (network-stream-open-starttls):
5354 Improve detection of failure due to lack of TLS support.
ec5c990d 5355
6bbfa6e1
CY
5356 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5357 putting the input text in front and in bold.
5358
98488977
SM
53592011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5360
3d1337be
SM
5361 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5362
ee0b45e4
SM
5363 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5364 empty buffer.
5365
98488977
SM
5366 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5367 unread-command-events rather than pushing yet-another event.
5368
186f4720
EZ
53692011-10-14 Eli Zaretskii <eliz@gnu.org>
5370
5371 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5372 the explanation of the possible choices. Make the options passed
5373 to completing-read shorter.
5374
8b7a997c
AM
53752011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5376
5377 * textmodes/flyspell.el (flyspell-large-region): Make sure
5378 extended character mode is used if defined (Bug#1339).
5379
12587bbb
EZ
53802011-10-13 Eli Zaretskii <eliz@gnu.org>
5381
5382 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5383 character info for LRE, LRO, RLE, and RLO characters by appending
5384 an invisible PDF.
12587bbb 5385
bad41229
SM
53862011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5389 even in case of error; add debug spec; simplify data flow.
5390 (with-timeout-handler): Remove.
5391
28dbc92f
MA
53922011-10-12 Michael Albinus <michael.albinus@gmx.de>
5393
5394 Fix Bug#6019, Bug#9315.
5395
5396 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5397 complete `buffer-file-name', the local file name part could look
5398 remotely (for example on VMS).
5399
5400 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5401 `tramp-run-real-handler'.
5402 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5403 already quoted by '"'.
5404
5405 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5406 Let `file-name-handler-alist' be nil, the local file name part
5407 could look remotely (for example on VMS).
5408
e1b0b23a
SM
54092011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5412 from here...
5413 (flyspell-post-command-hook): ...to here.
5414
a120bde9
SM
54152011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5418 if not needed.
5419 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5420 using completion. Protect against "slow" callers.
5421 Remove the "message hack".
5422
7ce7717b
JL
54232011-10-11 Juri Linkov <juri@jurta.org>
5424
5425 * isearch.el (isearch-lazy-highlight-word): New variable.
5426 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5427 Use it. (Bug#9727)
5428
c02ee9d6
GM
54292011-10-11 Glenn Morris <rgm@gnu.org>
5430
5431 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5432 like f90-previous-statement does.
5433
93e616fd 54342011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5435
1f190e73 5436 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5437 only in interactive use, to avoid error.
5438
af7b6078
SM
54392011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * minibuffer.el (completion-file-name-table): Fix last change,
5442 i.e. ignore normal errors but not the other ones.
5443
0563dae9
MR
54442011-10-10 Martin Rudalics <rudalics@gmx.at>
5445
5446 * window.el (special-display-buffer-names)
5447 (special-display-regexps): Remove some remnants of earlier
5448 changes from doc-strings.
366ca7f3
MR
5449 (quit-windows-on): New function.
5450
5451 * vc/vc.el (vc-revert, vc-rollback):
5452 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5453 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5454 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5455
49677495
MR
54562011-10-09 Martin Rudalics <rudalics@gmx.at>
5457
5458 * window.el (frame-auto-hide-function): Add version tag.
5459 (Bug#9699)
5460
56f2d1e1
MA
54612011-10-09 Michael Albinus <michael.albinus@gmx.de>
5462
5463 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5464 condition.
5465
112a6592
LL
54662011-10-09 Leo Liu <sdl.web@gmail.com>
5467
5468 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5469 (Bug#9701)
5470
0812589b
GM
54712011-10-08 Glenn Morris <rgm@gnu.org>
5472
5473 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5474 before the first code statement zero indent. (Bug#9690)
5475
b2b0776e
CY
54762011-10-08 Chong Yidong <cyd@stupidchicken.com>
5477
5478 * simple.el (count-words-region): Always count in the region.
5479 Report the number of lines and characters too.
5480 (count-words): New command, which counts in the buffer if the
5481 region is inactive, as count-words-region used to.
5482 (count-words--message): New function. Handle plurals.
5483 (count-lines-region): Make it an alias for count-words-region.
5484
5485 * bindings.el (esc-map): Replace count-lines-region with
5486 count-words-region.
5487
c557cd6b
MR
54882011-10-08 Martin Rudalics <rudalics@gmx.at>
5489
5490 * window.el (window--delete): Delete dedicated frame
5491 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5492 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5493
61a57ef4 54942011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5495
3a7d293b 5496 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5497
c3833279
CY
54982011-10-07 Chong Yidong <cyd@stupidchicken.com>
5499
5500 * bindings.el ([M-left],[M-right]): Bind to left-word and
5501 right-word respectively.
5502
21ce8245
GM
55032011-10-07 Glenn Morris <rgm@gnu.org>
5504
5505 * cus-start.el (debug-on-quit): Fix custom type.
5506
6d823bb2
LMI
55072011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5508
0181e193
LMI
5509 * subr.el (define-key-after): Clarify that the function is not
5510 useful for non-menu keymaps.
5511
6d823bb2
LMI
5512 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5513
8e3459ce 55142011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5515
21ce8245 5516 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5517 in current minibuffer (Fix bug with recursive minibuffers).
5518
a1c2d21e
CY
55192011-10-06 Chong Yidong <cyd@stupidchicken.com>
5520
5521 * progmodes/gdb-mi.el (gdb): Doc fix.
5522
5a4cf282
MR
55232011-10-05 Martin Rudalics <rudalics@gmx.at>
5524
5525 * window.el (frame-auto-hide-function): New option replacing
5526 frame-auto-delete. Suggested by Stefan Monnier.
5527 (window--delete): Call frame-auto-hide-function instead of
5528 investigating frame-auto-delete.
c96111ea
MR
5529 (window-point-1, set-window-point-1): New functions.
5530 (window-in-direction, record-window-buffer, window-state-get-1)
5531 (display-buffer-record-window): Use window-point-1 instead of
5532 window-point.
5533 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5534
9854542e
SM
55352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5538
8943cfb0
GM
55392011-10-05 Glenn Morris <rgm@gnu.org>
5540
5541 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5542 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5543
647ab967
LL
55442011-10-05 Leo Liu <sdl.web@gmail.com>
5545
5546 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5547 works with buffer object.
5548
3ddfbced
SM
55492011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * mpc.el (mpc-tool-bar-map): Add labels.
5552
bdfa5dd2
GM
55532011-10-04 Glenn Morris <rgm@gnu.org>
5554
5555 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5556
0e2070b5
MR
55572011-10-04 Martin Rudalics <rudalics@gmx.at>
5558
5559 * window.el (window--delete): New function.
5560 (frame-auto-delete): Resuscitate option.
5561 (bury-buffer, replace-buffer-in-windows)
5562 (quit-window): Rewrite using window--delete.
5563 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5564 Pass display-buffer-mark-dedicated to window--display-buffer-2
5565 (Bug#9639).
5566
3dc61a09
SM
55672011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5568
915a9b64
SM
5569 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5570 returns a list (bug#9554). Add remote file name completion.
5571 * comint.el (comint--table-subvert): Curry and get quote&unquote
5572 functions as arguments.
5573 (comint--complete-file-name-data): Adjust call accordingly.
5574 * pcomplete.el (pcomplete--table-subvert): Remove.
5575 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5576
3dc61a09
SM
5577 * minibuffer.el (completion-table-case-fold): Use currying.
5578 (completion--styles-type, completion--cycling-threshold-type):
5579 New constants.
5580 (completion-styles, completion-category-overrides)
5581 (completion-cycle-threshold): Use them.
5582 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5583 completion-table-case-fold.
5584
8ea0a993
SB
55852011-10-03 Stephen Berman <stephen.berman@gmx.net>
5586
5587 * minibuffer.el (completion-category-overrides): Fix type of styles
5588 and add more user friendly tags (bug#9660).
5589
8c24b7f6
SM
55902011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5593 (mule-input-method-string): New widget.
5594 (default-input-method, language-info-custom-alist): Use it.
5595
428fe61a
SM
55962011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5597
32c1fffd
SM
5598 * pcomplete.el: Require comint.
5599 (pcomplete--common-suffix): Remove.
5600 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5601 (pcomplete--table-subvert): Sync with comint--table-subvert.
5602 (pcomplete--entries): Use comint-completion-file-name-table.
5603 * comint.el (comint-unquote-filename): Simplify.
5604 (comint-completion-file-name-table): New function (bug#9616).
5605 (comint--complete-file-name-data): Use it.
5606
428fe61a
SM
5607 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5608 (pcmpl-gnu-tar-buffer): Remove.
5609 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5610 around. Make sure pcomplete-suffix-list is only changed temporarily.
5611 Don't look inside the tar's file if it's too large.
428fe61a 5612
04c52e2f
CY
56132011-10-01 Chong Yidong <cyd@stupidchicken.com>
5614
ce3cefcc
CY
5615 * cus-edit.el (custom-mode-map):
5616 * epa.el (epa-key-list-mode-map):
5617 * man.el (Man-mode-map):
5618 * startup.el (splash-screen-keymap):
5619 * simple.el (special-mode-map): Use scroll-up-command and
5620 scroll-down-command.
5621
5622 * progmodes/idlw-help.el (idlwave-help-mode-map):
5623 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5624 * net/newst-plainview.el (newsticker-mode-map):
5625 * emulation/ws-mode.el (wordstar-mode-map):
5626 * emulation/vi.el (vi-com-map):
5627 * calc/calc-graph.el (calc-graph-show-dumb):
5628 * term/sun.el (terminal-init-sun):
5629 * term/ns-win.el (global-map):
5630 * progmodes/grep.el (grep-mode-map):
5631 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5632 * mail/rmail.el (rmail-mode-map):
5633 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5634
04c52e2f
CY
5635 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5636 custom-safe-themes as special.
5637
79adf8c8
JD
56382011-10-01 Julien Danjou <julien@danjou.info>
5639
5640 * notifications.el (notifications-notify): Fix docstring.
5641
63bd50d3
PS
56422011-10-01 Per Starbäck <per@starback.se>
5643
5644 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5645
199e4c7e
MR
56462011-09-30 Martin Rudalics <rudalics@gmx.at>
5647
5648 * startup.el (command-line-1): Fix last fix by inserting
5649 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5650 (Bug#9605) and (Bug#9636)
199e4c7e 5651
fe5f08dd
EZ
56522011-09-29 Eli Zaretskii <eliz@gnu.org>
5653
5654 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5655 window is hscrolled, move by logical lines. (Bug#9607)
5656 (line-move-visual): Update the doc string to the above effect.
5657
b5516bbd
MR
56582011-09-29 Martin Rudalics <rudalics@gmx.at>
5659
ccee00c0
MR
5660 * window.el (display-buffer-record-window): When WINDOW is the
5661 selected window use `point' instead of `window-point'. (Bug#9626)
5662
b5516bbd
MR
5663 * startup.el (command-line-1): Use insert-before-markers when
5664 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5665
b5516bbd
MR
5666 * help.el (help-window): Remove variable.
5667
52aa0014
GM
56682011-09-29 Glenn Morris <rgm@gnu.org>
5669
5670 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5671
df9a7357
JB
56722011-09-29 Juanma Barranquero <lekktu@gmail.com>
5673
5674 * descr-text.el (describe-char-categories): Accept category
5675 descriptions more than one line long.
5676
a8406c20
SM
56772011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5678
88d9610c
SM
5679 * simple.el (delete-trailing-whitespace): Fix last change.
5680
a5daf810
SM
5681 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5682 Don't confuse "y => 3" as the beginning of a `y' operation.
5683
a8406c20
SM
5684 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5685 object has more than 4 slots (bug#9613).
5686
a239d4e9
JB
56872011-09-28 Juanma Barranquero <lekktu@gmail.com>
5688
5689 * subr.el (with-output-to-temp-buffer):
5690 * net/quickurl.el (quickurl, quickurl-browse-url):
5691 Fix typos in docstrings.
5692
693fbdb6
EZ
56932011-09-27 Eli Zaretskii <eliz@gnu.org>
5694
5695 * minibuffer.el (completion-styles)
5696 (completion-category-overrides): Cross reference each other in doc
5697 strings.
5698
8b457e28
GM
56992011-09-27 Glenn Morris <rgm@gnu.org>
5700
5701 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5702 to split-string. (Bug#9606)
5703
85a16208
LMI
57042011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5705
5706 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5707 (bug#9615).
5708
502f9ebd
CY
57092011-09-27 Chong Yidong <cyd@stupidchicken.com>
5710
5711 * emacs-lisp/package.el (list-packages): Fix echo area message.
5712
7690bdea
LL
57132011-09-27 Leo Liu <sdl.web@gmail.com>
5714
5715 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5716
e2ee6f30
MA
57172011-09-25 Michael Albinus <michael.albinus@gmx.de>
5718
5719 * net/dbus.el (dbus-unregister-object): Don't release services for
5720 registered signals. (Bug#9581)
5721
f3f98342
TZ
57222011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5723
5724 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5725 function that picks between cfengine 2 and 3 support
5726 automatically. Update docs accordingly.
5727
dd7aa8dd
KH
57282011-09-22 Kenichi Handa <handa@m17n.org>
5729
5730 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5731 ZERO.
5732 (indian-itrans-v5-table-for-tamil): New variable.
5733 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5734
3f2b07f8
KM
57352011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5736
5737 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5738 that's true if the current command involved collapsing of text.
5739 It's reset to false at the beginning of the next command.
5740 (allout-post-command-business): Move the cursor to the beginning
5741 of entry if the cursor is hidden and collapsing activity just
5742 happened.
5743
371d6a61
CY
57442011-09-24 Chong Yidong <cyd@stupidchicken.com>
5745
5746 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5747 tracking (Bug#9541).
5748
2ac2721a
UJ
57492011-09-24 Ulf Jasper <ulf.jasper@web.de>
5750
5751 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5752 (newsticker-show-news): Automatically load html rendering package
5753 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5754 because w3m-fill-column is let-bound" and the error "Symbol's value
5755 as variable is void: w3m-fill-column".
2ac2721a 5756
fac7ae53
MA
57572011-09-24 Michael Albinus <michael.albinus@gmx.de>
5758
5759 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5760 Release services only if they are defined. (Bug#9581)
5761
e08b633b
RS
57622011-09-23 Richard Stallman <rms@gnu.org>
5763
e488d29c
RS
5764 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5765 distinguish start of paragraph from start of its text.
5766
19c38752
RS
5767 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5768
e08b633b
RS
5769 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5770 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5771 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5772
0a39f27e
AS
57732011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5774
5775 * international/mule-diag.el (mule-diag): Insert a newline after
5776 each fontset description.
5777
db4e950d
SM
57782011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * simple.el (delete-trailing-whitespace):
5781 Document last change; simplify.
5782
eca3f3ea
PW
57832011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5784
d68e189a
PW
5785 * simple.el (delete-trailing-whitespace): Also delete
5786 extra newlines at the end of the buffer.
5787
eca3f3ea
PW
5788 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5789 (picture-newline): Use forward-line so as to ignore fields.
5790
01c157cc
SM
57912011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 * subr.el (with-wrapper-hook): Fix edebug spec.
5794
022de23e
LMI
57952011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5796
5797 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5798 (bug#4538).
5799
91683089
MA
58002011-09-23 Michael Albinus <michael.albinus@gmx.de>
5801
eca3f3ea
PW
5802 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5803 Fix nasty bug using wrong cached values.
91683089 5804
5bdd6fa4
AM
58052011-09-23 Alan Mackenzie <acm@muc.de>
5806
5807 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5808
97adfb97
CY
58092011-09-23 Chong Yidong <cyd@stupidchicken.com>
5810
5811 * window.el (pop-to-buffer): Ensure right window is selected if we
5812 chose another frame.
5813
d4ef2b50
EZ
58142011-09-22 Eli Zaretskii <eliz@gnu.org>
5815
5816 * simple.el (what-cursor-position): Use get-char-property-change
5817 and next-single-char-property-change, to be able to show display
5818 properties that come from overlays as well as text properties.
5819
72258fe5
CY
58202011-09-22 Chong Yidong <cyd@stupidchicken.com>
5821
5822 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5823
5824 * cmuscheme.el (run-scheme, switch-to-scheme):
5825 * cus-edit.el (customize-group, custom-buffer-create)
5826 (customize-browse):
5827 * info.el (info):
5828 * shell.el (shell):
5829 * mail/sendmail.el (mail):
5830 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5831
8f098516
RS
58322011-09-22 Richard Stallman <rms@gnu.org>
5833
5834 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5835 move back only to line beg, don't move back over blank lines.
5836
e74f1bb6
MA
58372011-09-22 Michael Albinus <michael.albinus@gmx.de>
5838
5839 * files.el (copy-directory): Set directory attributes only in case
5840 they could be retrieved from the source directory. (Bug#9565)
5841
bfeef8b6
DK
58422011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5843
5844 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5845 (hs-find-block-beginning, hs-hide-level-recursive):
5846 Ignore strings as well as comments. (Bug#9502)
5847
7e423bb8
AS
58482011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5849
5850 * progmodes/sql.el (sql-comint-postgres):
5851 Convert port number to a string. (Bug#9566)
5852
b4d72fcf
MR
58532011-09-22 Martin Rudalics <rudalics@gmx.at>
5854
5855 * window.el (quit-window): Undedicate window when switching to
5856 previous buffer. Reported by Thierry Volpiatto
5857 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5858 (special-display-popup-frame): When popping up a new frame reset
5859 its previous buffers to nil. Simplify code.
b4d72fcf 5860
a7b88dc6
MA
58612011-09-21 Michael Albinus <michael.albinus@gmx.de>
5862
5863 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5864 and process filter, as done also in `shell-command'.
5865
cf4eacfd
MR
58662011-09-21 Martin Rudalics <rudalics@gmx.at>
5867
eca3f3ea 5868 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5869 Call set-window-start with NOFORCE argument t.
5870 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5871 (quit-window): Reword doc-string. Handle new format of
5872 quit-restore parameter. Don't delete window if it has a
5873 previous buffer we can show instead of the present one.
5874 (display-buffer-record-window): Rewrite using a new format for
5875 the quit-restore window parameter
5876 (special-display-popup-frame, display-buffer-same-window)
5877 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5878 (display-buffer-pop-up-window, display-buffer-use-some-window):
5879 Adapt symbol passed to display-buffer-record-window.
5880 * help.el (help-window-setup): Handle new format of quit-restore
5881 parameter.
5882
8d28cb95
SM
58832011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5884
94ab793f
SM
5885 * faces.el (face-list): Fix docstring (bug#9564).
5886
8d28cb95
SM
5887 * window.el (display-buffer--action-function-custom-type):
5888 Don't include internal functions in the Custom interface.
5889
3820edeb
JL
58902011-09-20 Juri Linkov <juri@jurta.org>
5891
5892 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5893 (Info-forward-node, Info-backward-node, Info-next-preorder)
5894 (Info-last-preorder): Use it. (Bug#9528)
5895
5147931d
JL
58962011-09-20 Juri Linkov <juri@jurta.org>
5897
5898 * info.el (Info-last-preorder): Visit last menu item only when
5899 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5900
cf499a1a
JD
59012011-09-20 Julien Danjou <julien@danjou.info>
5902
5903 * password-cache.el (password-cache-remove): Remove entries even if the
5904 value is nil, so that password with a nil value (negative caching) is
5905 possible to invalidate.
5906
f84e2fe2
LM
59072011-09-20 Lawrence Mitchell <wence@gmx.li>
5908
5909 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5910 all whitespace around breakpoint. (Bug#9553)
5911 (f90-find-breakpoint): Only break at whitespace inside a comment.
5912
78054a46
SM
59132011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * minibuffer.el (completion-file-name-table): Keep track of errors.
5916 (completion-table-with-predicate): Handle the case where pred1 is nil.
5917 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5918
345083b2
SM
59192011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5920
e24e27be
SM
5921 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5922 (debugger-return-value): Signal an error if the debugging context does
5923 not await any return value.
5924
345083b2
SM
5925 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5926 * image-mode.el (image-toggle-display-text)
5927 (image-toggle-display-image): Stay away from evil `intangible'.
5928
08d355e3
LL
59292011-09-19 Leo Liu <sdl.web@gmail.com>
5930
5931 * replace.el (occur-revert-arguments): Make it permanent-local.
5932 (occur-mode): Don't call font-lock-defontify.
5933
f01da43f
CY
59342011-09-19 Chong Yidong <cyd@stupidchicken.com>
5935
5936 * net/ldap.el (ldap-search-internal): Don't push empty search
5937 result (Bug#9508).
5938
b6072fa6
SM
59392011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5942
443d6696
MA
59432011-09-19 Michael Albinus <michael.albinus@gmx.de>
5944
5945 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5946 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5947
7cc6e154
JL
59482011-09-18 Juri Linkov <juri@jurta.org>
5949
5950 * buff-menu.el (Buffer-menu-mode-map):
5951 * dired.el (dired-mode-map):
5952 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5953 (lisp-interaction-mode-map):
5954 * emacs-lisp/package.el (package-menu-mode-map):
5955 * epa.el (epa-key-list-mode-map):
5956 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5957 (menu-bar-options-menu):
5958 * outline.el (outline-mode-menu-bar-map):
5959 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5960 * vc/vc-dir.el (vc-dir-menu-map):
5961 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5962 Capitalize non-function content words in menu item strings.
5963
5964 * dired.el (dired-mode-map): Add menu item for
5965 `image-dired-dired-toggle-marked-thumbs'.
5966
80302a81
JL
59672011-09-18 Juri Linkov <juri@jurta.org>
5968
5969 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5970 to `isearch-case-fold-search' and restore its original value
5971 after the `isearch-mode' call.
5972
46c5cf66
JL
59732011-09-18 Juri Linkov <juri@jurta.org>
5974
5975 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5976 because `zgrep' returns 1 for successful matches (bug#9226).
5977
d18b513b
JL
59782011-09-18 Juri Linkov <juri@jurta.org>
5979
5980 * info.el (Info-extract-menu-node-name): Check the second match
5981 for empty string (second test-case of bug#9528).
5982 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5983 intermediate nodes to the history (first test-case of bug#9528).
5984
72753f87
JL
59852011-09-18 Juri Linkov <juri@jurta.org>
5986
5987 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5988 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5989
c9384295
JL
59902011-09-18 Juri Linkov <juri@jurta.org>
5991
1154d12e
JB
5992 * info.el (Info-file-supports-index-cookies):
5993 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5994 outputs one more line for long file names (bug#4142).
c9384295 5995
d473dce8
CY
59962011-09-18 Chong Yidong <cyd@stupidchicken.com>
5997
5998 * newcomment.el (comment-normalize-vars): If prompting for
5999 comment-start, set comment-start-skip too (Bug#8424).
6000
2176854d
JB
60012011-09-18 Johan Bockgård <bojohan@gnu.org>
6002
6003 * icomplete.el: Fix previous fix of Bug#5849.
6004 (icomplete-mode): Don't set completion-show-inline-help.
6005 (icomplete-minibuffer-setup): Set completion-show-inline-help
6006 locally during icompletion.
6007
3aace4e4
CY
60082011-09-18 Chong Yidong <cyd@stupidchicken.com>
6009
c940224f
CY
6010 * woman.el (woman2-process-escapes): Don't delete unrecognized
6011 escapes (Bug#7843).
6012
3aace4e4
CY
6013 * files.el (inhibit-first-line-modes-regexps): Add image files.
6014 (hack-local-variables-prop-line): Return nil for malformed
6015 prop-lines (Bug#9044).
6016
710dec63
MA
60172011-09-18 Michael Albinus <michael.albinus@gmx.de>
6018
6019 * net/tramp.el (top): Don't require 'shell.
6020 (tramp-methods): Fix docstring.
6021 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6022 Return complete remote file name. Handle "smb" case.
6023 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6024 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6025
6026 * net/tramp-compat.el (top): Require 'shell.
6027
6028 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6029 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6030 `tramp-current-host'.
6031 (tramp-get-remote-tmpdir): Remove.
6032
6033 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6034 `tramp-tmpdir' entries.
6035 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6036 (tramp-smb-handle-file-attributes): Ignore errors.
6037 (tramp-smb-wait-for-output): Check also for process end.
6038
5d5ac8ec
LMI
60392011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6040
6041 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6042 when sending QUIT (bug#9312).
6043
8c0f49f0
CY
60442011-09-17 Chong Yidong <cyd@stupidchicken.com>
6045
6046 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6047 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6048 occur-mode-display-occurrence.
6049 (occur-edit-mode): Add usage message.
6050 (occur-cease-edit): New command.
6051 (occur-after-change-function): Use text properties to find the
6052 position of the prefix text.
6053 (occur-engine): Set stickiness of prefix text properties.
6054
8f1383f7
GM
60552011-09-17 Glenn Morris <rgm@gnu.org>
6056
6057 * progmodes/etags.el (complete-tag):
6058 Fix call to completion-in-region. (Bug#9526)
6059
744ba0e3
JL
60602011-09-17 Juri Linkov <juri@jurta.org>
6061
6062 * textmodes/ispell.el (ispell-word): Add to the error message
6063 the word, ispell program name and current dictionary (bug#9121).
6064 (ispell-tex-arg-end): Capitalize "error" in the error message.
6065
d9bbf400
AS
60662011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6067
6068 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6069 check. (Bug#4251)
6070
8da11505
JL
60712011-09-17 Juri Linkov <juri@jurta.org>
6072
6073 * window.el (window-safe-min-height, window-safe-min-width):
6074 Fix typos (followup to bug#9522).
6075
a91adc7e
SJ
60762011-09-17 Sven Joachim <svenjoac@gmx.de>
6077
6078 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6079
064f328a
EZ
60802011-09-16 Eli Zaretskii <eliz@gnu.org>
6081
6082 * simple.el (line-move): If goal-column is set, move by logical
6083 lines, not by display lines. (Bug#971)
6084 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6085 to reflect the above change.
6086
e69df516
SM
60872011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * image.el (imagemagick-register-types): Use regexp-opt.
6090
cbb0f9ab
CY
60912011-09-15 Chong Yidong <cyd@stupidchicken.com>
6092
6093 * window.el (display-buffer-base-action): Rename from
6094 display-buffer-default-action. Make default value empty.
6095 (display-buffer-overriding-action): Convert to defvar.
6096 (display-buffer-fallback-action): New var.
6097
25322144
CY
60982011-09-15 Chong Yidong <cyd@stupidchicken.com>
6099
6100 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6101 declaration.
6102 (package--add-to-archive-contents): If there is a duplicate entry
6103 with an older version, remove it.
6104 (package-menu-mark-delete, package-menu-mark-install)
6105 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6106 (package-menu-mark-obsolete-for-deletion):
6107 Use package-menu-get-status instead of a regexp search.
25322144
CY
6108 (package-menu-get-status): Use tabulated-list-entry.
6109 (package-menu-mark-upgrades): New command.
d770725a 6110 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6111 (package-menu-execute): Do installation before deletion.
6112 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6113 instead of checking major-mode.
6114 (package-menu--find-upgrades): New function.
6115
7520339c
LMI
61162011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6117
6118 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6119 passwords in the log buffer.
65a046c4
LMI
6120 (smtpmail-process-filter): Update the process marker so that the
6121 "broken by peer" status message is inserted in the right place.
7520339c 6122
d3c30954
SM
61232011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6124
3fe48822
SM
6125 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6126 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6127 bibtex-completion-at-point-function.
6128 (bibtex-completion-at-point-function): Use them.
6129
1b8b3954
SM
6130 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6131
d3c30954
SM
6132 * mpc.el (mpc-constraints-tag-lookup): New function.
6133 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6134 also to browser "album|playlist".
6135
72779976
JL
61362011-09-14 Juri Linkov <juri@jurta.org>
6137
6138 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6139 (isearch-edit-string): Use length of `isearch-string' when
6140 `isearch-fail-pos' returns nil.
6141 (isearch-message): Remove duplicate code and call
6142 `isearch-fail-pos' with arg `t'.
6143
a0bf2bcd
CY
61442011-09-14 Chong Yidong <cyd@stupidchicken.com>
6145
17bb0a2d
CY
6146 * replace.el (occur-mode-goto-occurrence): Don't force using other
6147 window (Bug#9499).
6148
a0bf2bcd
CY
6149 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6150
f678e0b6
MR
61512011-09-14 Martin Rudalics <rudalics@gmx.at>
6152
6153 * window.el (display-buffer-window): Remove.
6154 (display-buffer-record-window): Use help-setup window parameter
6155 instead of variable display-buffer-window.
6156 (display-buffer-function, special-display-buffer-names)
6157 (special-display-function): Mention help-setup parameter instead
6158 of display-buffer-window in doc-string.
d3c30954
SM
6159 * help.el (help-window-setup): New argument help-window.
6160 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6161 Reword some messages.
6162 (with-help-window): Pass window used for displaying the buffer
6163 to help-window-setup. Don't set display-buffer-window.
6164
8e39b2e8
GM
61652011-09-13 Glenn Morris <rgm@gnu.org>
6166
6167 * emacs-lisp/debug.el (debugger-make-xrefs):
6168 Preserve point. (Bug#9462)
6169
85e9c04b
CY
61702011-09-13 Chong Yidong <cyd@stupidchicken.com>
6171
6172 * window.el (window-deletable-p): Use next-frame.
6173
1b36ed6a
MR
61742011-09-13 Martin Rudalics <rudalics@gmx.at>
6175
6176 * window.el (window-auto-delete): Remove.
6177 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6178 dedication and previous buffers.
1b36ed6a
MR
6179 (switch-to-prev-buffer): Don't delete window.
6180 (delete-windows-on): Delete a window's frame if and only if the
6181 window is dedicated.
6182 (replace-buffer-in-windows): Delete buffer's window or frame if
6183 and only if window is dedicated.
6184 (quit-window): Handle quit-restore as before last change.
4d61f28d 6185 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6186
ef8ef9fb
CY
61872011-09-13 Chong Yidong <cyd@stupidchicken.com>
6188
6189 * window.el (window-deletable-p): Never delete the last frame on a
6190 given terminal.
6191
b2cba41e
GM
61922011-09-13 Glenn Morris <rgm@gnu.org>
6193
6194 * help.el (describe-key-briefly): Copy previous standard-output change.
6195
51553db6 61962011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6197
6198 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6199
b7556719
GM
62002011-09-13 Glenn Morris <rgm@gnu.org>
6201
6202 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6203 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6204
64b51947
CY
62052011-09-12 Chong Yidong <cyd@stupidchicken.com>
6206
6207 * dired-aux.el (dired-mark-read-string): Don't return default
6208 value on empty input (Bug#9361).
6209 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6210 Omit initial minibuffer contents.
6211 (dired-do-chmod): Signal an error on empty input.
6212 (dired-mark-read-string): Don't return default on empty input.
6213
6214 * files.el (file-modes-symbolic-to-number): Doc fix.
6215
393a301e
SM
62162011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * international/mule-cmds.el (ucs-completions): Remove.
6219 (read-char-by-name): Use complete-with-action instead; add metadata.
6220
fa5660f9
CY
62212011-09-11 Chong Yidong <cyd@stupidchicken.com>
6222
6223 * window.el (display-buffer--action-function-custom-type)
6224 (display-buffer--action-custom-type): New vars.
6225 (display-buffer-alist, display-buffer-default-action)
6226 (display-buffer-overriding-action): Add defcustom types.
6227
4a592f66
CY
6228 * frame.el (delete-other-frames): Doc fix (Bug#276).
6229
73d56dbd
LMI
62302011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6231
6232 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6233
37ac18a3
CY
62342011-09-11 Chong Yidong <cyd@stupidchicken.com>
6235
6236 Change modes that used same-window-* vars to use switch-to-buffer.
6237
6238 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6239 Use switch-to-buffer.
6240
6241 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6242 (customize-browse, custom-buffer-create-other-window):
6243 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6244
6245 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6246 (Info-prev, Info-up, Info-speedbar-goto-node)
6247 (info-display-manual): Use switch-to-buffer.
6248 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6249
6250 * mail/sendmail.el (mail): Use switch-to-buffer.
6251 (mail-recover): Use switch-to-buffer-other-window.
6252
6253 * cmuscheme.el (run-scheme, switch-to-scheme):
6254 * ielm.el (ielm):
6255 * shell.el (shell):
6256 * net/rlogin.el (rlogin):
6257 * net/telnet.el (telnet, rsh):
6258 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6259
10195bd6
AS
62602011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6261
6262 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6263
b322f63a
LMI
62642011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6265
39d7fed6
LMI
6266 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6267 so don't mention it (bug#9301).
ba5a81f1 6268 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6269
ee0e9f11
LMI
6270 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6271 match `x', `w32' and `ns', like the manual says (bug#9029).
6272
0b1c89c1 6273 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6274 (process-kill-buffer-query-function): Mention the buffer name in
6275 the query.
0b1c89c1 6276
77549ea8
LMI
6277 * image-mode.el (image-next-line): The line parameter is mandatory
6278 (bug#9258).
6279
803ef892
LMI
6280 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6281 which can be useful (bug#9301).
6282
12980837
LMI
6283 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6284
91054f8f
LMI
6285 * subr.el (match-string): Mention that the current buffer should
6286 be the same as the search was done in (bug#9282).
6287
b322f63a
LMI
6288 * facemenu.el: Disable the remove-* commands if the mark isn't
6289 active (bug#9162).
6290
3199b96f
CY
62912011-09-10 Chong Yidong <cyd@stupidchicken.com>
6292
6293 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6294 of display-buffer.
6295 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6296
6297 * replace.el (occur-mode-goto-occurrence)
6298 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6299 and display-buffer.
6300
6301 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6302 display-buffer.
6303
6304 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6305 special-display and same-window variables.
6306 (mail-other-window): Use switch-to-buffer-other-window.
6307 (mail-other-frame): USe switch-to-buffer-other-frame.
6308
393a301e
SM
6309 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6310 Use display-buffer-other-frame.
3199b96f
CY
6311 (gdb-display-gdb-buffer): Use pop-to-buffer.
6312
6313 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6314
6315 * progmodes/python.el: Don't set same-window-buffer-names.
6316
6317 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6318
6319 * window.el (display-buffer-alist): Add *Python*.
6320
8319e0bf
CY
63212011-09-10 Chong Yidong <cyd@stupidchicken.com>
6322
6323 * window.el (display-buffer-alist): Add entry for buffers
6324 previously handled same-window-*.
6325 (display-buffer-alist, display-buffer-default-action)
6326 (display-buffer-overriding-action): Mark as risky.
6327 (display-buffer-alist): Document action function changes.
6328 (display-buffer--same-window-action)
6329 (display-buffer--other-frame-action): New variables.
6330 (switch-to-buffer, display-buffer-other-frame): Use them.
6331 (display-buffer): Rename reuse-frame entry to reusable-frames.
6332 (display-buffer-reuse-selected-window): Function deleted.
6333 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6334 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6335 (display-buffer-special): New function.
6336 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6337 display-buffer-reuse-or-pop-window. Split off special-display
6338 part into display-buffer-special.
6339 (display-buffer-use-some-window): Don't perform any special
6340 pop-up-frames handling.
6341 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6342 (display-buffer--maybe-same-window): Rename from
0d3ff375 6343 display-buffer-maybe-same-window.
8319e0bf 6344
919a69aa
CY
6345 * info.el: Don't set same-window-regexps.
6346 (info-setup): New function.
6347 (info-other-window, info): Call it.
6348
6349 * cus-edit.el: Don't set same-window-regexps.
6350 (customize-group): New argument.
6351 (customize-group-other-window): Use it.
6352 (customize-face, customize-face-other-window): Likewise.
6353 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6354
8319e0bf
CY
6355 * net/rlogin.el:
6356 * net/telnet.el:
6357 * progmodes/gud.el: Don't set same-window-regexps.
6358
6359 * cmuscheme.el:
6360 * ielm.el:
6361 * shell.el:
6362 * mail/sendmail.el:
6363 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6364
25173000
JL
63652011-09-10 Juri Linkov <juri@jurta.org>
6366
6367 * isearch.el (isearch-edit-string): Remove obsolete mention of
6368 `C-w' (`isearch-yank-word-or-char') from docstring.
6369 (isearch-query-replace): Fix typo in docstring (bug#9466).
6370
056e44ef
JL
63712011-09-10 Juri Linkov <juri@jurta.org>
6372
6373 * paren.el (show-paren-function): Don't show escaped parens.
6374 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6375
c3760c17
EZ
63762011-09-10 Eli Zaretskii <eliz@gnu.org>
6377
6378 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6379 (mm-default-file-encoding): Remove autoload forms, they are
6380 replaced with autoload cookies in mml.el and mm-encode.el.
6381 (mail-add-attachment): New command.
6382 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6383 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6384 the doc string.
6385 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6386
fece895e
RT
63872011-09-10 Reuben Thomas <rrt@sc3d.org>
6388
e69df516
SM
6389 * simple.el (count-words-region): Use buffer if there's no region
6390 (bug#9429).
fece895e 6391
5e68ce4a
JL
63922011-09-09 Juri Linkov <juri@jurta.org>
6393
6394 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6395 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6396 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6397
0a6b9622
AM
63982011-09-09 Alan Mackenzie <acm@muc.de>
6399
6400 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6401 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6402
14a29deb
EZ
64032011-09-09 Eli Zaretskii <eliz@gnu.org>
6404
6405 Fix for Savannah bug#9392.
6406 * simple.el (mail-encode-mml): New defvar.
6407
6408 * mail/rmail.el (mail-encode-mml): Add a defvar.
6409 (rmail-enable-mime-composing): Default to t.
6410 (rmail-forward): Use MIME method of forwarding only if both
6411 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6412 Set mail-encode-mml non-nil if the MIME method was used.
6413
6414 * mail/sendmail.el (mml-to-mime): Add autoload form.
6415 (mail-encode-mml): Add a defvar.
6416 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6417 to nil.
6418 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6419 message through mml-to-mime, and reset mail-encode-mml to nil.
6420
28c45130
GM
64212011-09-09 Glenn Morris <rgm@gnu.org>
6422
6423 * woman.el (woman-if-body): When processing an .el block,
6424 do not delete the next .el block as well. (Bug#9447)
69f4b618 6425 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6426
9b1c252e
MR
64272011-09-08 Martin Rudalics <rudalics@gmx.at>
6428
6429 * window.el (window-deletable-p): Make sure window is live before
6430 invoking window-prev-buffers.
6431
567457e3
LL
64322011-09-08 Leo Liu <sdl.web@gmail.com>
6433
6434 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6435
97f05794
JL
64362011-09-08 Juri Linkov <juri@jurta.org>
6437
6438 * progmodes/compile.el (compilation-environment): Make it
6439 a defcustom (bug#8340).
6440
8b0874b5
MR
64412011-09-08 Martin Rudalics <rudalics@gmx.at>
6442
6443 * window.el (frame-auto-delete): Rename to window-auto-delete.
6444 Make it control auto-deletion of windows and/or frames.
6445 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6446 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6447 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6448 Rewrite handling of case when window/frame can be deleted.
6449 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6450 argument t. (Bug#9456)
8b0874b5 6451
4feb6e73
CY
64522011-09-07 Chong Yidong <cyd@stupidchicken.com>
6453
6454 * help-mode.el (help-mode): Restore autoload.
6455
91ab9c13
JL
64562011-09-07 Juri Linkov <juri@jurta.org>
6457
6458 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6459 `compilation-environment'. Set buffer-local
6460 `compilation-environment' to `thisenv' later after (funcall mode).
6461 (Bug#8340)
6462
6463 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6464 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6465 instead of replacing its value. (Bug#8340)
6466
0527e251
JL
64672011-09-07 Juri Linkov <juri@jurta.org>
6468
6469 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6470 based on text properties put by `grep-filter' instead of matching
6471 escape sequences.
6472 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6473 to the value of `grep-error-screen-columns' (bug#9438).
6474
249f792c
JL
64752011-09-07 Juri Linkov <juri@jurta.org>
6476
6477 * simple.el (next-error-highlight, next-error-highlight-no-select):
6478 Doc fix (bug#9432).
6479
ff7271b9
OT
64802011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6481
6482 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6483 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6484
183fc730
LL
64852011-09-07 Leo Liu <sdl.web@gmail.com>
6486
6487 * net/rcirc.el (rcirc-mode): Conditionally initialize
6488 rcirc-input-ring.
6489
77694924
SM
64902011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * emacs-lisp/find-func.el (find-function-C-source): Only set
6493 find-function-C-source-directory after checking that we found a source
6494 file there (bug#9440).
6495
d809b8eb
AM
64962011-09-06 Alan Mackenzie <acm@muc.de>
6497
6498 * isearch.el (isearch-other-meta-char): Wherever a key list is
6499 unread, "unread" the prefix arg, too. This fixes bug #8901.
6500
453de99f
OG
65012011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6502
6503 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6504
90439906
JL
65052011-09-05 Juri Linkov <juri@jurta.org>
6506
6507 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6508
f62bd846
JL
65092011-09-05 Juri Linkov <juri@jurta.org>
6510
6511 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6512 keeping point where processing of grep matches begins, and
6513 continue to delete remaining escape sequences from the same point.
6514 (grep-filter): Make leading zero optional in "0?1;31m" because
6515 git-grep emits "\033[1;31m" escape sequences unlike expected
6516 "\033[01;31m" as GNU Grep does (bug#9408).
6517 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6518
045820ec
JL
65192011-09-05 Juri Linkov <juri@jurta.org>
6520
6521 * subr.el (y-or-n-p): Capitalize "yes".
6522
f5e29b9b
MA
65232011-09-04 Michael Albinus <michael.albinus@gmx.de>
6524
6525 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6526 `tramp-cache-unload-hook' where appropriate.
6527 (tramp-methods): Rename `tramp-remote-sh' to
6528 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6529 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6530
6531 * net/tramp-sh.el (top): Don't require 'shell.
6532 (tramp-methods): Add `tramp-remote-shell' and
6533 `tramp-remote-shell-args' entries.
6534 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6535 (tramp-sh-handle-shell-command): Remove.
6536 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6537 Use `tramp-remote-shell'.
6538
2784c434
CY
65392011-09-03 Chong Yidong <cyd@stupidchicken.com>
6540
393a301e 6541 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6542 (sendmail-query-once): Save directly to send-mail-function.
6543 Update message-send-mail-function too.
6544
6545 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6546
464cdf56
CS
65472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6548
6549 * progmodes/python.el (python-mode-map): Use correct function to
6550 start python interpreter from menu-bar (as reported by Geert
6551 Kloosterman).
6552 (inferior-python-mode-map): Fix typo.
393a301e 6553 (python-shell-map): Remove.
464cdf56 6554
d37e5c87
DD
65552011-09-03 Deniz Dogan <deniz@dogan.se>
6556
6557 * net/rcirc.el (rcirc-print): Simplify code for
6558 rcirc-scroll-show-maximum-output. There is no need to walk
6559 through all windows to find the right one.
6560
f3ada0ee
CS
65612011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6562
6563 * help.el (help-return-method): Doc fix.
6564
1f3c99ca
MR
65652011-09-03 Martin Rudalics <rudalics@gmx.at>
6566
6567 * window.el (window-deletable-p): Don't return a non-nil value
6568 when there's a buffer that was shown in the window before.
6569 (Bug#9419)
393a301e
SM
6570 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6571 Set window's previous buffers to nil.
1f3c99ca 6572
a3cf097f
EZ
65732011-09-03 Eli Zaretskii <eliz@gnu.org>
6574
6575 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6576 newline before and after the tag line, so it doesn't interfere
6577 with determining the paragraph direction of bidirectional text.
6578
3d03de90
LL
65792011-09-03 Leo Liu <sdl.web@gmail.com>
6580
6581 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6582
c3313451
CY
65832011-09-02 Chong Yidong <cyd@stupidchicken.com>
6584
393a301e 6585 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6586 (pop-to-buffer): Change interactive spec. Pass second argument
6587 directly to display-buffer.
6588 (display-buffer): Fix interactive spec. Use functionp to
6589 distinguish between a function and a list of functions.
6590
6591 * abbrev.el (edit-abbrevs):
6592 * arc-mode.el (archive-extract):
6593 * autoinsert.el (auto-insert):
6594 * bookmark.el (bookmark-bmenu-list):
6595 * files.el (find-file):
6596 * view.el (view-buffer):
6597 * progmodes/compile.el (compilation-goto-locus):
6598 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6599
89894cd8
CY
66002011-09-02 Chong Yidong <cyd@stupidchicken.com>
6601
6602 * window.el (display-buffer-alist): Doc fix.
6603 (display-buffer): Add docstring. Don't treat
6604 display-buffer-default specially.
6605 (display-buffer-reuse-selected-window)
6606 (display-buffer-same-window, display-buffer-maybe-same-window)
6607 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6608 (display-buffer-pop-up-window)
6609 (display-buffer-reuse-or-pop-window)
6610 (display-buffer-use-some-window): New functions.
6611 (display-buffer-default-action): Use them.
393a301e 6612 (display-buffer-default): Delete.
89894cd8
CY
6613 (pop-to-buffer-1): Fix choice of actions.
6614
ae0bc9fb
SM
66152011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * minibuffer.el (completion--insert-strings): Don't get confused by
6618 completion entries that end with an LF char.
6619
e9d90883
EZ
66202011-09-01 Eli Zaretskii <eliz@gnu.org>
6621
6622 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6623
437014c8
CY
66242011-09-01 Chong Yidong <cyd@stupidchicken.com>
6625
6626 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6627 (display-buffer-same-window, display-buffer-other-window):
6628 New functions.
437014c8
CY
6629 (pop-to-buffer-1): New function. Use the above.
6630 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6631 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6632
6633 * view.el (view-buffer-other-window, view-buffer-other-frame):
6634 Just use pop-to-buffer.
6635
a5e063d5
TV
66362011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6637
6638 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6639
793d32bb
WH
66402011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6641
6642 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6643
d65e4c15
RS
66442011-08-31 Richard Stallman <rms@gnu.org>
6645
6646 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6647 of the separation of rmail-view-buffer from rmail-buffer.
6648 If you say no to "replace original", the decrypt is in the
6649 view buffer. If you say yes, the decrypt goes into the
6650 rmail buffer also.
6651
f818cd2a
MR
66522011-08-31 Martin Rudalics <rudalics@gmx.at>
6653
6654 * window.el (display-buffer-window): Rewrite doc-string.
6655 (display-buffer-record-window): New function.
6656 (display-buffer-macro-specifiers)
6657 (display-buffer-even-window-sizes, display-buffer-set-height)
6658 (display-buffer-set-width, display-buffer-in-window)
6659 (display-buffer-reuse-window, display-buffer-split-specifiers)
6660 (display-buffer-side-specifiers, display-buffer-split-window-1)
6661 (display-buffer-split-window, display-buffer-split-atom-window)
6662 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6663 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6664 (display-buffer-other-window-means-other-frame)
6665 (display-buffer-normalize-special)
6666 (display-buffer-normalize-default)
6667 (display-buffer-normalize-argument)
6668 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6669 (display-buffer-normalize-specifiers, display-buffer-frame)
6670 (display-buffer-same-window, display-buffer-same-frame)
6671 (display-buffer-other-window)
6672 (display-buffer-same-frame-other-window)
6673 (display-buffer-other-frame, pop-to-buffer-same-window)
6674 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6675 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6676 (switch-to-buffer-same-frame)
6677 (switch-to-buffer-other-window-same-frame)
6678 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6679 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6680 (display-buffer-alist-set): Remove.
6681 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6682 (special-display-regexps, special-display-function):
6683 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6684 parameter.
6685 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6686 (special-display-frame-alist, special-display-popup-frame)
6687 (same-window-buffer-names, same-window-regexps, same-window-p)
6688 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6689 (split-window-preferred-function, split-height-threshold)
6690 (split-width-threshold, window-splittable-p)
6691 (split-window-sensibly, window--try-to-split-window)
6692 (window--frame-usable-p, even-window-heights)
6693 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6694 (window--display-buffer-2, display-buffer-other-frame):
6695 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6696 (display-buffer-default, display-buffer-assq-regexp): New functions.
6697 (display-buffer-alist): Rewrite doc-string.
6698 (display-buffer-default-action)
6699 (display-buffer-overriding-action): New variables.
6700 (display-buffer, switch-to-buffer): Rewrite.
6701 (pop-to-buffer): Restore Emacs 23 behavior but use
6702 window-normalize-buffer-to-display.
6703 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6704 Restore Emacs 23 behavior but use
6705 window-normalize-buffer-to-switch-to.
6706 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6707 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6708 Rewrite using Emacs 23 options.
f818cd2a 6709
5bc3b51d
MA
67102011-08-31 Michael Albinus <michael.albinus@gmx.de>
6711
6712 * net/tramp.el (tramp-root-regexp): Remove.
6713 (tramp-completion-file-name-regexp-unified)
6714 (tramp-completion-file-name-regexp-separate)
6715 (tramp-completion-file-name-regexp-url): Don't use leading volume
6716 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6717 (tramp-drop-volume-letter): Simplify definition.
6718 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6719
b1a4f8e1
SM
67202011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6723 (bug#9356).
6724
5664fa7b
RT
67252011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6726
b1a4f8e1 6727 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6728
9a45d6c3
JL
67292011-08-29 Juri Linkov <juri@jurta.org>
6730
6731 * isearch.el (isearch-done): Don't display message "Mark saved"
6732 when arg `edit' is non-nil to prevent its flicker in the echo area.
6733
fb87e0fb
CY
67342011-08-28 Chong Yidong <cyd@stupidchicken.com>
6735
6736 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6737 obsolete packages for deletion.
6738
09ac1c2a
CS
67392011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6740
6741 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6742 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6743 view-mode from help-mode.
6744 (help-xref-override-view-map): Remove.
6745 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6746 view-mode is not used anymore.
6747
7a1ff57f
CY
67482011-08-28 Chong Yidong <cyd@stupidchicken.com>
6749
6750 * server.el (server-port): Doc fix.
6751
b9696605
CY
6752 * cus-theme.el (custom-theme-choose-mode): Inherit from
6753 special-mode (Bug#9124).
6754 (custom-theme-choose-mode-map): Add special-mode to parent.
6755
ef8cdf8c
AM
67562011-08-28 Alan Mackenzie <acm@muc.de>
6757
6758 * progmodes/cc-fonts.el
6759 (c-make-font-lock-BO-decl-search-function): New function.
6760 (c-basic-matchers-after - "Fontify the clauses after various
6761 keywords"): Extract the three keyword lists for the 3 erroneous
6762 constructs from the list of four, and use the new function above
6763 in place of an old one.
6764
27de4e20
DD
67652011-08-28 Deniz Dogan <deniz@dogan.se>
6766
6767 * net/rcirc.el (rcirc-insert-prev-input)
6768 (rcirc-insert-next-input): Remove unused argument.
6769
356a3681
SM
67702011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6773
3fc9b218
AM
67742011-08-27 Alan Mackenzie <acm@muc.de>
6775
6776 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6777 handle function pointer parameters properly.
6778
538a061c
MR
67792011-08-27 Martin Rudalics <rudalics@gmx.at>
6780
6781 * window.el (display-buffer-reuse-window): Fix case where
6782 selected window was reused with non-nil OTHER-WINDOW argument.
6783 (Bug#9381)
6784
35b1c40c
DD
67852011-08-27 Deniz Dogan <deniz@dogan.se>
6786
6787 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6788 oftc's NickServ messages.
6789
2f6a3e79
GM
67902011-08-27 Glenn Morris <rgm@gnu.org>
6791
6792 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6793
7254299e
CY
67942011-08-26 Chong Yidong <cyd@stupidchicken.com>
6795
6796 * emacs-lisp/package.el (package-install): Call package-initialize
6797 if called interactively.
6798
f8ccf167
LL
67992011-08-26 Leo Liu <sdl.web@gmail.com>
6800
6801 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6802
3e8cd5ce
JL
68032011-08-25 Juri Linkov <juri@jurta.org>
6804
6805 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6806 `search-whitespace-regexp' (bug#9364).
6807
93eb7113
JL
68082011-08-25 Juri Linkov <juri@jurta.org>
6809
6810 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6811 `regexp-search-ring' to their global values to protect from
6812 updating by `read-from-minibuffer' (bug#9185).
6813
f65d1611
JL
68142011-08-25 Juri Linkov <juri@jurta.org>
6815
6816 * textmodes/ispell.el (ispell-command-loop): Add newline
6817 at the end of the "Use option `i'..." line.
6818
f1cf7a31
JL
68192011-08-25 Juri Linkov <juri@jurta.org>
6820
6821 * battery.el (display-battery-mode): If `battery-status-function'
6822 or `battery-mode-line-format' is nil, display the message and set
6823 `display-battery-mode' to nil (bug#9363).
6824
0c95fcf7
EZ
68252011-08-25 Eli Zaretskii <eliz@gnu.org>
6826
6827 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6828 bidi-string-mark-left-to-right; they are unnecessary now.
6829
a2ebe600
DD
68302011-08-25 Deniz Dogan <deniz@dogan.se>
6831
6832 * net/quickurl.el: Documentation typo fixes.
6833
e4ed06f1
CY
68342011-08-25 Chong Yidong <cyd@stupidchicken.com>
6835
6836 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6837
e5f1c99e
GM
68382011-08-25 Glenn Morris <rgm@gnu.org>
6839
b2948976
GM
6840 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6841
e5f1c99e
GM
6842 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6843 (smtpmail-via-smtp): Handle nil response from smtp.
6844
f22f4808
JL
68452011-08-24 Juri Linkov <juri@jurta.org>
6846
6847 * proced.el (proced-marked): Inherit from `error' instead of
6848 `font-lock-warning-face'.
6849
6850 * ibuffer.el (ibuffer-marked-face): Change default face from
6851 `font-lock-warning-face' to `warning'.
6852 (ibuffer-deletion-face): Change default face from
6853 `font-lock-type-face' to `error'.
6854
6855 * battery.el (battery-update): Use the face `error' instead of
6856 `font-lock-warning-face' (bug#6117).
6857
6a93965e
JL
68582011-08-24 Juri Linkov <juri@jurta.org>
6859
6860 * faces.el (success): Change face color from "Green3" to
6861 "ForestGreen" on light background (bug#9353).
6862
1ed43b09
CY
68632011-08-24 Chong Yidong <cyd@stupidchicken.com>
6864
5664fa7b
RT
6865 * window.el (quit-window): Rename from quit-restore-window.
6866 Use same arglist as old quit-window.
1ed43b09
CY
6867 (frame-auto-delete): Doc fix.
6868
6869 * view.el (view-mode-exit): Use quit-window.
6870
11dcdbb2
JL
68712011-08-24 Juri Linkov <juri@jurta.org>
6872
6873 * isearch.el (isearch-ring-adjust1): Start visiting previous
6874 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6875 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6876 for empty search string (when the last search string is reused
6877 automatically) to adjust the isearch ring to the last element and
6878 prepare the correct index for further M-p commands (bug#9185).
6879
de62b4df
KH
68802011-08-24 Kenichi Handa <handa@m17n.org>
6881
6882 * international/ucs-normalize.el: If decomposition property of
6883 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6884 nil.
6885 (nfd, nfkd): Likewise.
6886
963b492b
SM
68872011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6890 from process filters aren't reliably transmitted to the surrounding
6891 accept-process-output.
6892 (mpc-proc-check): New function.
6893 (mpc-proc-sync): Use it (bug#8293)
6894
93b6b5e1
SM
68952011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6898 Add compatibility functions (bug#9313).
6899
bca633fb
EZ
69002011-08-23 Eli Zaretskii <eliz@gnu.org>
6901
b177498a
EZ
6902 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6903
6df6ae42 6904 * international/uni-bidi.el: Regenerate.
bca633fb 6905
0902a04e
KH
69062011-08-23 Kenichi Handa <handa@m17n.org>
6907
6908 * international/charprop.el:
6909 * international/uni-bidi.el:
6910 * international/uni-category.el:
6911 * international/uni-combining.el:
6912 * international/uni-comment.el:
6913 * international/uni-decimal.el:
6914 * international/uni-decomposition.el:
6915 * international/uni-digit.el:
6916 * international/uni-lowercase.el:
6917 * international/uni-mirrored.el:
6918 * international/uni-name.el:
6919 * international/uni-numeric.el:
6920 * international/uni-old-name.el:
6921 * international/uni-titlecase.el:
6922 * international/uni-uppercase.el: Regenerate.
6923
3bbf23bc
MR
69242011-08-23 Martin Rudalics <rudalics@gmx.at>
6925
6926 * help.el (help-window-setup): Fix message displayed when other
6927 window is reused. (Bug#9341)
6928
b3fd59bd
SM
69292011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6930
1802e444
SM
6931 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6932 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6933
b3fd59bd
SM
6934 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6935 Mark obsolete.
6936 * shell.el (shell-parse-pcomplete-arguments): New function.
6937 (shell-completion-vars): Use it instead (bug#9160).
6938
4eb61348
SM
69392011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6940
867cab74
SM
6941 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6942 strings and comments (bug#9333).
6943
4eb61348
SM
6944 * emacs-lisp/debug.el (debug-arglist): New function.
6945 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6946 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6947
262a1439
JL
69482011-08-22 Juri Linkov <juri@jurta.org>
6949
56ee679c
JL
6950 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6951 Revert regexp that highlights output switches to its old
6952 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6953
262a1439
JL
6954 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6955 to check for empty output (bug#9226).
6956
f13f86fb
CY
69572011-08-22 Chong Yidong <cyd@stupidchicken.com>
6958
6959 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6960 symbol-constituent as the default, as that stops font-lock from
6961 working properly (Bug#8843).
6962
c65c9622
LMI
69632011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964
6965 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6966 `coding-system-for-*' around the process open call to avoid
6967 auth-source side effects.
e7f2c178 6968 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6969 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6970 probe hangs.
c65c9622 6971
23a8a5ab
CY
69722011-08-21 Chong Yidong <cyd@stupidchicken.com>
6973
ff98b2dd
CY
6974 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6975
23a8a5ab
CY
6976 * emacs-lisp/find-func.el (find-function-noselect): New arg
6977 lisp-only.
6978
6979 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6980 signal an error for built-in functions (Bug#6664).
6981
f5e3c598
LMI
69822011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6983
6984 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6985 (smtpmail-try-auth-methods): Use it.
6986
a3f2468a
CY
69872011-08-21 Chong Yidong <cyd@stupidchicken.com>
6988
2c34e8da
CY
6989 * font-lock.el (font-lock-fontify-region)
6990 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6991 (font-lock-default-unfontify-buffer)
6992 (font-lock-default-fontify-region)
6993 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6994
b3fd59bd
SM
6995 * progmodes/compile.el (compilation-error-properties):
6996 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6997 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6998 `ant' regexp.
ee31aabc 6999
a3f2468a
CY
7000 * net/browse-url.el (browse-url-firefox): Don't call
7001 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7002
8e999f70
GM
70032011-08-20 Glenn Morris <rgm@gnu.org>
7004
c21a496a
GM
7005 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7006
59ee0542
GM
7007 * tutorial.el (tutorial--default-keys): Update some default bindings.
7008
8e999f70
GM
7009 * files.el (hack-local-variables): Fully ignore case for "mode:".
7010
e3715033
AM
70112011-08-20 Alan Mackenzie <acm@muc.de>
7012
7013 Resolve invalid use of a regexp in regexp-opt.
7014
4d61f28d
JB
7015 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7016 detection for a java annotation.
e3715033 7017
4d61f28d 7018 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7019 detection for a java annotation.
7020
4d61f28d
JB
7021 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7022 handling for java.
e3715033
AM
7023 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7024
04ed2e9c
CY
70252011-08-20 Chong Yidong <cyd@stupidchicken.com>
7026
7027 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7028 (Bug#9274).
7029
826cee64
AM
70302011-08-20 Alan Mackenzie <acm@muc.de>
7031
58179cce 7032 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7033 such a construct. Mainly for when jit-lock etc. starts a chunk
7034 here.
7035
58179cce 7036 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7037 variable.
58179cce 7038 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7039 c-make-font-lock-search-function.
7040 (c-make-font-lock-search-function): Use the above function.
7041 (c-make-font-lock-context-search-function): New function.
7042 (c-cpp-matchers): Enhance the preprocessor expression case with
7043 the above function
7044 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7045 which takes an expression.
7046
7047 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7048
13009bd8
MR
70492011-08-20 Martin Rudalics <rudalics@gmx.at>
7050
7051 * window.el (display-buffer-reuse-window)
7052 (display-buffer-pop-up-window): Don't reuse or split a side
7053 window.
7054
9234ff7f
GM
70552011-08-19 Glenn Morris <rgm@gnu.org>
7056
7057 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7058 Downcase "Mode:". (Bug#9331)
9234ff7f 7059
f635daa1
CY
70602011-08-18 Chong Yidong <cyd@stupidchicken.com>
7061
7062 * international/characters.el: Add L and R categories.
7063
7064 * subr.el (bidi-string-mark-left-to-right): Rename from
7065 string-mark-left-to-right. Use category search.
7066
7067 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7068
bc987f8b
JL
70692011-08-18 Juri Linkov <juri@jurta.org>
7070
7071 * faces.el (error, warning, success): New faces with definitions
7072 copied from old default values of `font-lock-warning-face',
7073 `compilation-warning', `compilation-info' (bug#6117).
7074
7075 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7076
7077 * progmodes/compile.el (compilation-error): Inherit from `error'.
7078 (compilation-warning): Inherit from `warning'.
7079 (compilation-info): Inherit from `success'.
7080
7081 * dired.el (dired-marked): Inherit from `warning'.
7082 (dired-flagged): Inherit from `error'.
7083
57173b96
LMI
70842011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7085
3e79eb87
LMI
7086 * mail/smtpmail.el (auth-source): Require to avoid problems with
7087 binding variables (bug#9298). Also clean up some unused
7088 autoloads.
7089
b3fd59bd
SM
7090 * net/network-stream.el (network-stream-open-starttls):
7091 Support using starttls.el without using gnutls-cli.
57173b96 7092
02b404de
JL
70932011-08-17 Juri Linkov <juri@jurta.org>
7094
7095 * progmodes/grep.el (rgrep): Handle the case when
7096 `grep-find-command' is a cons cell (bug#9278).
7097
8c9177f2
MR
70982011-08-17 Martin Rudalics <rudalics@gmx.at>
7099
7100 * window.el (display-buffer-pop-up-frame): Run frame creation
7101 function with BUFFER current (as special-display-popup-frame
7102 does). Reported by Drew Adams.
7103
3644a0ab
DU
71042011-08-17 Daiki Ueno <ueno@unixuser.org>
7105
7106 * epa-mail.el: Simplify GnuPG group expansion using
7107 epg-expand-group.
7108 (epa-mail-group-alist, epa-mail-group-modtime)
7109 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7110 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7111 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7112 Remove.
7113
5e617bc2 71142011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7115
7116 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7117
9c4aeabf
AM
71182011-08-16 Alan Mackenzie <acm@muc.de>
7119
7120 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7121 Correct, to avoid the inside of macros.
7122
3a99bf64
RS
71232011-08-16 Richard Stallman <rms@gnu.org>
7124
04963aa8
RS
7125 * epa-mail.el: Handle GnuPG group definitions.
7126 (epa-mail-group-alist, epa-mail-group-modtime)
7127 (epa-mail-gnupg-conf-file): New variables.
7128 (epa-mail-parse-groups, epa-mail-sync-groups)
7129 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7130 (epa-mail-expand-recipients): New functions.
7131 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7132
177549d0
RS
7133 * mail/rmail.el (rmail-epa-decrypt): New command.
7134
fe38beef
RS
7135 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7136 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7137 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7138 (epa-decrypt-armor-in-region): Make error message clearer.
7139
934eacb9
SM
71402011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7143 and "a2b" to "ab" for `prefix'.
7144
d024fb4e
CY
71452011-08-14 Chong Yidong <cyd@stupidchicken.com>
7146
7147 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7148 filter groups.
de148fee
CY
7149 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7150 Fourquet (Bug#8804).
d024fb4e 7151
62f1ca49
JB
71522011-08-12 Juanma Barranquero <lekktu@gmail.com>
7153
7154 * startup.el (argi): Declare as global variable (bug#9275).
7155
9ccaaa4b
CY
71562011-08-12 Chong Yidong <cyd@stupidchicken.com>
7157
7158 * subr.el (string-mark-left-to-right): Search the entire string
7159 for RTL script, not just the terminating character. Doc fix.
7160
a3dae87a
SM
71612011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7162
6cd18349
SM
7163 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7164 New function.
7165 (js--regexp-literal, js-syntax-propertize-function): Remove.
7166 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7167 (js-mode-map): Don't rebind electric keys.
7168 (js-insert-and-indent): Remove.
7169 (js-mode): Setup electric-layout and electric-indent instead.
7170
a3dae87a
SM
7171 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7172
9d5cb631
DU
71732011-08-12 Daiki Ueno <ueno@unixuser.org>
7174
7175 * epa.el (epa-progress-callback-function): Fix the logic of
7176 displaying progress.
7177 * epa-file.el (epa-file-insert-file-contents): Make progress
7178 display more user-friendly.
7179 (epa-file-write-region): Ditto.
7180
3e26a4a2
CY
71812011-08-10 Chong Yidong <cyd@stupidchicken.com>
7182
7183 * subr.el (string-mark-left-to-right): New function.
7184
7185 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7186 Use string-mark-left-to-right.
7187 (list-buffers-noselect): Caller changed.
7188
a3dae87a
SM
7189 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7190 Use string-mark-left-to-right.
3e26a4a2
CY
7191 (tabulated-list-print): Recenter after moving point.
7192
ac8cf6e6
JL
71932011-08-10 Juri Linkov <juri@jurta.org>
7194
7195 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7196 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7197 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7198
8d96c9a4
CY
71992011-08-09 Chong Yidong <cyd@stupidchicken.com>
7200
7201 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7202 (Bug#7554).
7203
7be1c708 72042011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7205
7206 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7207 character. (Bug#6594)
7208
37e11a63
CY
72092011-08-08 Chong Yidong <cyd@stupidchicken.com>
7210
839dde57
CY
7211 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7212 (image-dired--with-db-file): New macro.
7213 (image-dired-write-tags, image-dired-remove-tag)
7214 (image-dired-create-gallery-lists, image-dired-write-comments)
7215 (image-dired-get-comment, image-dired-mark-tagged-files)
7216 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7217 (image-dired-gallery-generate): Use insert-file-contents.
7218
37e11a63
CY
7219 * time.el (display-time-world-list, display-time-world-display):
7220 * time-stamp.el (time-stamp-string):
7221 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7222 set-time-zone-rule (Bug#7337).
7223
0b4946c4
DU
72242011-08-08 Daiki Ueno <ueno@unixuser.org>
7225
7226 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7227 (epg-error-to-string, epg-errors-to-string): New function.
7228 (epg-wait-for-completion): Reverse errors list.
7229 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7230 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7231 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7232 (epg-sign-keys, epg-generate-key-from-file)
7233 (epg-generate-key-from-string): Format errors by using
7234 epg-errors-to-string (bug#9255).
7235 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7236
75bfc667
JL
72372011-08-07 Juri Linkov <juri@jurta.org>
7238
7239 * faces.el (list-faces-display): Remove extra angle bracket
7240 from `help-mode-map'.
7241
7242 * info.el (Info-history-toc-nodes): Doc fix.
7243
7244 * longlines.el (longlines-mode): Doc fix.
7245
673e08bb
SM
72462011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7247
4640dd88
SM
7248 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7249 of statements and in a few more cases (bug#9183).
7250
673e08bb
SM
7251 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7252 New functions.
7253 (cl-transform-lambda): Use them (bug#9239).
7254
89b3f019
MR
72552011-08-05 Martin Rudalics <rudalics@gmx.at>
7256
7257 * window.el (display-buffer-same-window)
7258 (display-buffer-same-frame, display-buffer-other-window)
7259 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7260 (pop-to-buffer-other-window)
7261 (pop-to-buffer-same-frame-other-window)
7262 (pop-to-buffer-other-frame): Make them defuns.
7263 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7264
640c8776
SM
72652011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * subr.el (make-composed-keymap): Move from C. Change calling
7268 convention, and improve docstring to bring attention to a subtle point.
7269 * minibuffer.el (completing-read-default): Adjust accordingly.
7270
63648a95
MA
72712011-08-03 Michael Albinus <michael.albinus@gmx.de>
7272
7273 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7274 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7275
7276 * net/trampver.el: Update release number.
7277
b796c9b7
SM
72782011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7281 "in" (bug#9190).
7282
2239d7d5
LMI
72832011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7284
e07dd7c3
LMI
7285 * mail/sendmail.el (sendmail-query-once): Restore the current
7286 buffer after querying (bug#9074).
7287
0e6a2bd7
LMI
7288 * dired.el (dired-flagged): Use different faces for marked and
7289 flagged files (bug#6117).
7290
ce887515
LMI
7291 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7292 (bug#4433).
7293
92f2affc
LMI
7294 * ido.el (ido-mode): Switch off the message if called
7295 non-interactively.
7296
57d5aff0
LMI
7297 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7298 before 587, since it appears that that's more likely to work for
7299 more people.
7300
98cd6c18 7301 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7302 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7303 exist.
7304
b96dec83
LMI
7305 * info.el: Remove the `Info-beginning-of-buffer' function
7306 (bug#8325).
7307
b796c9b7
SM
7308 * net/network-stream.el (network-stream-open-starttls):
7309 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7310
d90e2ea0
MR
73112011-08-01 Martin Rudalics <rudalics@gmx.at>
7312
7313 * window.el (display-buffer-in-window): Don't set dedicated status
7314 of window here (Bug#9215).
7315 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7316 (display-buffer-pop-up-side-window)
b796c9b7 7317 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7318
cca09170
SM
73192011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7322 before binding generated-autoload-file.
7323
027b979c
DD
73242011-08-01 Deniz Dogan <deniz@dogan.se>
7325
7326 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7327
3c7ee4f3
MA
73282011-07-30 Michael Albinus <michael.albinus@gmx.de>
7329
7330 Sync with Tramp 2.2.2.
7331
7332 * net/trampver.el: Update release number.
7333
2cc8e51a
JL
73342011-07-30 Juri Linkov <juri@jurta.org>
7335
7336 * dired-aux.el (dired-touch-initial): Remove function.
7337 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7338 current time, and `default' to the last modification time of the
7339 current marked file (bug#6887).
7340
a514d856
JM
73412011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7342
7343 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7344 numeric argument to read-number (bug#9163).
a514d856 7345
8a7eddd7
MA
73462011-07-27 Michael Albinus <michael.albinus@gmx.de>
7347
7348 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7349 connection process, it could be nil.
7350
1ddd96f5
LL
73512011-07-27 Leo Liu <sdl.web@gmail.com>
7352
7353 Simplify url handling in rcirc-mode.
7354
7355 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7356 (rcirc-browse-url-at-mouse): Remove.
7357 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7358
b248a85d
AM
73592011-07-26 Alan Mackenzie <acm@muc.de>
7360
7361 Fontify bitfield declarations properly.
7362
7363 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7364 (c-symbol-chars): Now exported as a lang variable.
7365 (c-not-primitive-type-keywords): New lang variable.
7366
7367 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7368 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7369 parsed as a bitfield declaration.
b248a85d 7370
b796c9b7
SM
7371 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7372 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7373 (c-punctuation-in): New function.
7374 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7375 declarations properly.
7376
68575ab0
UJ
73772011-07-26 Ulf Jasper <ulf.jasper@web.de>
7378
7379 * calendar/icalendar.el (icalendar--all-events): Take care of
7380 multiple vcalendars in a single file.
b796c9b7 7381 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7382
0f0a88b9
DD
73832011-07-25 Deniz Dogan <deniz@dogan.se>
7384
7385 * image.el (insert-image): Clarifying docstring.
7386
0b3f36df
MA
73872011-07-24 Michael Albinus <michael.albinus@gmx.de>
7388
7389 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7390 `tramp-send-command-and-check' if there is no error.
7391 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7392
a9901f61
AM
73932011-07-22 Alan Mackenzie <acm@muc.de>
7394
7395 Prevent cc-langs.elc being loaded at run time.
7396
7397 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7398 cc-langs.
7399
4d61f28d 7400 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7401 "(require 'cc-langs)". Quote a form so it will evaluate at
7402 (cc-mode's) compilation time.
7403
11d074b2
MA
74042011-07-22 Michael Albinus <michael.albinus@gmx.de>
7405
7406 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7407 loading. (Bug#9114)
7408
938b94c8
MR
74092011-07-21 Martin Rudalics <rudalics@gmx.at>
7410
7411 * window.el (display-buffer-pop-up-window)
7412 (display-buffer-pop-up-side-window)
7413 (display-buffer-in-side-window): Call display-buffer-set-height
7414 and display-buffer-set-width after setting the new window's
b796c9b7 7415 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7416
bfa4f190
SS
74172011-07-20 Sam Steingold <sds@gnu.org>
7418
7419 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7420 (etags-tags-included-tables): Call `convert-standard-filename' on
7421 the file names contained in TAGS so that windows Emacs can handle
7422 TAGS files created by cygwin ctags.
7423
8ca42262
LMI
74242011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7425
7426 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7427 which apparently didn't work.
7428
5db2afd2 74292011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7430
5db2afd2
RW
7431 * proced.el (proced-send-signal): For *Marked Processes* buffer
7432 put point at beginning of buffer.
7433
92e15d10
SB
74342011-07-19 Stephen Berman <stephen.berman@gmx.net>
7435
7436 * proced.el (proced-format): Make header lines align with the text
7437 (bug#1779).
7438
1bfd59e5
LMI
74392011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7440
7441 * view.el (view-buffer): Allow running in `special' modes if we're
7442 visiting a file (bug#8615).
7443
f5aae37c
MR
74442011-07-19 Martin Rudalics <rudalics@gmx.at>
7445
7446 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7447 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7448 New functions.
f5aae37c
MR
7449 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7450 more accurately.
7451
bf2c1571
AM
74522011-07-18 Alan Mackenzie <acm@muc.de>
7453
7454 Fontify declarators properly when, e.g., a jit-lock chunk begins
7455 inside a declaration.
7456
7457 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7458
b796c9b7
SM
7459 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7460 New function.
bf2c1571
AM
7461 (c-complex-decl-matchers): Insert reference to
7462 c-font-lock-enclosing-decls.
7463
7464 * progmodes/cc-engine.el (c-backward-single-comment):
7465 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7466 to nil around calls to (forward-comment -1).
7467
4e190b80
LMI
74682011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7469
12dc863d
LMI
7470 * image.el (put-image): Doc typo fix.
7471
a762e966
LMI
7472 * progmodes/etags.el (tags-search): Doc typo fix.
7473
4e190b80
LMI
7474 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7475 password if we get errors 550 to 554.
7476
f019fb21
LMI
74772011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7478
b796c9b7 7479 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7480
81746738
LMI
7481 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7482 indentation character (bug#6380).
7483
3ee3a1b5
LMI
7484 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7485
c82f64de
LMI
7486 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7487 to clarify what the problem is (bug#4291).
7488
f019fb21
LMI
7489 * simple.el (current-kill): Clarify what
7490 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7491 (auto-fill-mode): Document `auto-fill-function' in relation to
7492 `auto-fill-mode' (bug#2470).
f019fb21 7493
0794775d
LM
74942011-07-16 Lawrence Mitchell <wence@gmx.li>
7495
7496 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7497 method if slot is read-only (bug#9035).
7498
be39b8cc
MR
74992011-07-16 Martin Rudalics <rudalics@gmx.at>
7500
b796c9b7 7501 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7502 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7503 selected before, see discussion of (Bug#8615), (Bug#6954).
7504 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7505
6ccf7859
GM
75062011-07-15 Glenn Morris <rgm@gnu.org>
7507
7508 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7509 Respect help-form.
6ccf7859 7510
87e86684
LM
75112011-07-09 Lawrence Mitchell <wence@gmx.li>
7512
7513 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7514 (gnutls-negotiate): Use it.
7515
d6066239
LMI
75162011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7517
b796c9b7
SM
7518 * net/gnutls.el (gnutls-negotiate):
7519 Upcase `gnutls-algorithm-priority'.
d6066239 7520
bd23ebc0
GM
75212011-07-15 Glenn Morris <rgm@gnu.org>
7522
c65bca65
GM
7523 * jka-compr.el (jka-compr-verbose): Move from here...
7524 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7525 Add missing :version tag.
7526 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7527
478615cc
LMI
75282011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7529
7b41decb
LMI
7530 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7531 (gnutls-negotiate): Use it.
7532
dbc44fcd
LMI
7533 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7534
06789f97
LMI
7535 * info.el (Info-beginning-of-buffer): New command.
7536 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7537 announcing `b' as the key (bug#8325).
ab896c37 7538 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7539
c39da690
LMI
7540 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7541
3aa5f34b
LMI
7542 * international/mule-cmds.el
7543 (describe-specified-language-support): Make the error message
7544 clearer (bug#8905).
7545
4bf0979f
LMI
7546 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7547
478615cc
LMI
7548 * isearch.el (isearch-barrier): Add a doc string, since it's
7549 mentioned in a function doc string (bug#8678).
7550
75c68aa1
MR
75512011-07-15 Martin Rudalics <rudalics@gmx.at>
7552
7553 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7554 buffer argument (Bug#9083) and self-identifying label argument.
7555
a7c33da2
GM
75562011-07-15 Glenn Morris <rgm@gnu.org>
7557
7558 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7559
2f5c6024
LMI
75602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7561
7562 * man.el (Man-fontify-manpage): Fix message when formatting the
7563 man page (bug#7929).
7564
0bb23927 75652011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7566
7567 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7568 argument LRM; if non-nil, append an invisible LRM character to the
7569 buffer name.
7570 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7571 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7572 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7573 paragraph direction.
cce4b0a7 7574
621ef9ab
LMI
75752011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7576
d1583c48
LMI
7577 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7578 the man page name (bug#7929).
7579
6a57fb5f
LMI
7580 * image.el (put-image): Mention the `put-image' overlay property
7581 (bug#7834).
7582
d7956b14
LMI
7583 * scroll-bar.el (set-scroll-bar-mode): Mention that
7584 `scroll-bar-mode' lists the values (bug#7772).
7585
5b2d4a66
LMI
7586 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7587 command (bug#7729).
7588
7509a874
LMI
7589 * rect.el (apply-on-rectangle): Return the point after the last
7590 operation.
7591 (string-rectangle): Go to the point after the last operation
7592 (bug#7522).
7593
4fe74b19
LMI
7594 * printing.el (pr-toggle-region): Clarify the documentation
7595 slightly (bug#7493).
7596
b796c9b7
SM
7597 * time.el (display-time-update):
7598 Allow `display-time-mail-function' to return nil (bug#7158).
7599 Fix suggested by Detlev Zundel.
ab283561 7600
fc233c9d
LMI
7601 * vc/diff.el (diff): Clarify the order the file names are read
7602 (bug#7111).
7603
43f5740b
LMI
7604 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7605 the doc string (bug#7015).
7606
f2182a76
LMI
7607 * font-lock.el (font-lock-maximum-decoration): Mention what
7608 numeric levels mean (bug#6935).
7609
621ef9ab
LMI
7610 * startup.el (initial-buffer-choice): Don't mention the `none'
7611 selection, which is against policy.
7612
adc47434
MR
76132011-07-14 Martin Rudalics <rudalics@gmx.at>
7614
b796c9b7
SM
7615 * window.el (display-buffer-normalize-special):
7616 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7617
7e5bfb8f
EZ
76182011-07-14 Eli Zaretskii <eliz@gnu.org>
7619
7620 * subr.el (version<, version<=, version=): Mention "-CVS" and
7621 "-12345" alpha version numbers.
7622
27fa387a
CY
76232011-07-14 Chong Yidong <cyd@stupidchicken.com>
7624
7625 * bindings.el: Add advertised binding for set-mark-command
7626 (Bug#5772).
7627
8bdfa064
CY
76282011-07-14 Chong Yidong <cyd@stupidchicken.com>
7629
7630 * bindings.el (mode-line-other-buffer):
7631 * bookmark.el (bookmark-bmenu-2-window):
7632 * bs.el (bs-cycle-next, bs-cycle-previous):
7633 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7634 switch-to-buffer.
7635
7636 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7637 Delete.
8bdfa064 7638
5eba16a3
JB
76392011-07-14 Juanma Barranquero <lekktu@gmail.com>
7640
7641 * follow.el (follow-debug-message, follow-redisplay):
7642 * jka-cmpr-hook.el (with-auto-compression-mode):
7643 Fix typos in docstrings.
7644
15853710
LMI
76452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7646
a28e4607
LMI
7647 * subr.el (with-silent-modifications): Clarify somewhat what the
7648 macro inhibits (bug#6525).
7649
15853710
LMI
7650 * simple.el (eval-expression): Note what it does if called
7651 interactively (bug#6495).
7652
bee0fcef
CY
76532011-07-13 Chong Yidong <cyd@stupidchicken.com>
7654
b796c9b7
SM
7655 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7656 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7657
7658 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7659 Remove switch-to-buffer.
7660
58274504
LMI
76612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7662
bd2fcc8d
LMI
7663 * files.el (make-directory): Clarify that an error will be raised
7664 if there's an error (bug#6397).
7665
0f04b32c
LMI
7666 * startup.el (initial-buffer-choice): Add `none' as a choice
7667 (bug#6234).
7668
465c5fc8
LMI
7669 * subr.el (add-hook): Clarify section about buffer-local hooks
7670 (bug#6218).
7671
58274504
LMI
7672 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7673
bead9a43
JB
76742011-07-13 Juanma Barranquero <lekktu@gmail.com>
7675
7676 * tabify.el (untabify): Preserve the current column so that point
7677 doesn't move (bug#6032).
7678
3af98a7b
LMI
76792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7680
b796c9b7
SM
7681 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7682 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7683
6240145a
GM
76842011-07-13 Glenn Morris <rgm@gnu.org>
7685
7686 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7687 (dired-insert-directory): Give a message the first time
7688 if ls is found not to support --dired.
7689
1d8c2ccc
LMI
76902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7691
7692 * simple.el (toggle-truncate-lines): Clarify what is toggled
7693 (bug#5580). Text by Drew Adams.
7694
5fc4038e
CY
76952011-07-13 Chong Yidong <cyd@stupidchicken.com>
7696
7697 * simple.el (blink-matching-open): Make the error message from the
7698 last change less verbose.
7699
bf6012e5
DN
77002011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7701
7702 * font-lock.el (font-lock-comment-face): Use the high contrast
7703 "yellow" color for font-lock-comment-face on low color terminals
7704 using a dark background color (bug#4221).
7705
343c3b5a
LMI
77062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7707
7e9505c5
LMI
7708 * dired.el (dired-insert-set-properties): Make the doc string
7709 reflect what it does now (bug#5325).
7710
c26fdcf5
LMI
7711 * simple.el (blink-matching-open): Say that we were unable to find
7712 the match within the limit, if we're limited (bug#5122).
7713
bb388cc5
LMI
7714 * international/mule-cmds.el (prefer-coding-system): Add an
7715 example (bug#4869).
7716
343c3b5a
LMI
7717 * progmodes/etags.el (tags-search): Document `file-list-form'
7718 (bug#4731).
7719
2a517d45
LM
77202011-07-13 Lawrence Mitchell <wence@gmx.li>
7721
7722 * net/browse-url.el (browse-url-default-browser)
7723 (browse-url-browser-function): Make the default browser choice a
7724 bit more logical (bug#4300). Also clean up the doc string.
7725
b6c78ef2
JB
77262011-07-13 Juanma Barranquero <lekktu@gmail.com>
7727
7728 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7729 binary endings (bug#4440).
7730
1c4dd947
LMI
77312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7732
a2014063
LMI
7733 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7734 which can be pretty annoying (bug#8971).
7735
9c9c2d88
LMI
7736 * jka-compr.el (jka-compr-verbose): New variable, and use
7737 throughout (bug#8971).
7738
1c4dd947
LMI
7739 * info.el (Info-find-file): Fall back on the installation
7740 directory if we can't find the info node anywhere else.
7741
a1c9f41b
SO
77422011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7743
7744 * vc/vc.el (vc-revert-file):
7745 Don't set file time-stamp in the past. (Bug#5181)
7746
536f3d36
LMI
77472011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7748
7152b011
LMI
7749 * files.el (after-find-file): Give a better error message when
7750 trying to find a symlink that points to a file that doesn't exist
7751 (bug#4398).
7752
536f3d36
LMI
7753 * progmodes/cc-vars.el: Remove (probably) misleading comment
7754 (bug#4396).
7755
460c0fba
JB
77562011-07-12 Johan Bockgård <bojohan@gnu.org>
7757
7758 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7759
7a6bda45
CY
77602011-07-12 Chong Yidong <cyd@stupidchicken.com>
7761
7762 * mouse-sel.el: Hack restoring functionality, while keeping
7763 compatibility with 2010-07-03 changes to mouse selection.
7764 (mouse-sel-primary-overlay): New var.
7765 (mouse-sel-selection-alist): Use it.
7766 (mouse-sel-mode): Doc fix; remove points that are default features
7767 of mouse.el.
7768
c79598ef
JB
77692011-07-12 Johan Bockgård <bojohan@gnu.org>
7770
7771 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7772 Fix previous fix (bug#2490).
7773
ff8be6ef
RW
77742011-07-12 Roland Winkler <winkler@gnu.org>
7775
b796c9b7
SM
7776 * textmodes/bibtex.el (bibtex-initialize):
7777 Use pop-to-buffer-same-window.
ff8be6ef
RW
7778 (bibtex-search-entries): Fix interactive call.
7779
296ba3ee
LMI
77802011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7781
f5242a02 7782 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7783 Fontise bytecomp Error lines more correctly (bug#2490).
7784 Fix suggested by Johan Bockgård.
f5242a02 7785
296ba3ee
LMI
7786 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7787
7788 * dired-x.el (dired-guess-default): Use `delete-dups'.
7789
f69fd0d2
CY
77902011-07-12 Chong Yidong <cyd@stupidchicken.com>
7791
7792 * dired.el (dired-mark-prompt):
7793 * dired-aux.el (dired-read-shell-command): Doc fix.
7794
eab5dc07
LMI
77952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7796
b796c9b7
SM
7797 * mail/sendmail.el (sendmail-query-once):
7798 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7799 emacs -Q.
7800
7801 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7802
eab5dc07
LMI
7803 * cus-edit.el (custom-file): Take an optional no-error variable.
7804 (customize-save-variable): Set the variable, and give a warning if
7805 running under "emacs -q".
7806
a1e65d42
JB
78072011-07-11 Juanma Barranquero <lekktu@gmail.com>
7808
7809 * loadhist.el (unload-feature-special-hooks):
7810 Add `auto-coding-functions', `fill-nobreak-predicate' and
7811 `find-directory-functions' (bug#5327).
7812
1d52da10
LMI
78132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7814
be958f1d
LMI
7815 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7816
5bedb26c
LMI
7817 * cus-edit.el (custom-guess-name-alist): -alist variables should
7818 use the `alist' type (bug#3120). Suggested by Drew Adams.
7819
1d52da10
LMI
7820 * printing.el: Add documentation to all the `pr-toggle-' commands.
7821
cd394be1 78222011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7823
7824 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7825 backends where it makes sense (bug#2623).
7826
dcc88d8a
LMI
78272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7828
c3de9feb
LMI
7829 * dired-x.el (dired-guess-default): Remove duplicate shell command
7830 entries (bug#2028).
8a93078b 7831 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7832 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7833
dcc88d8a
LMI
7834 * subr.el (remove-duplicates): New conveniency function.
7835
505e3645
LMI
78362011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7837
7838 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7839 (bug#1526).
7840
78412011-07-10 Martin Rudalics <rudalics@gmx.at>
7842
7843 * window.el (display-buffer-normalize-default): Don't invert
7844 meaning of even-window-heights. Reported by Eli Zaretskii
7845 <eliz@gnu.org>.
7846
455e4fa1
BR
78472011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7848
7849 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7850
8e0bc3e9
CY
78512011-07-10 Chong Yidong <cyd@stupidchicken.com>
7852
7853 * window.el (display-buffer): Fix arguments to
7854 display-buffer-reuse-window in last change.
7855
fa7c3228
CY
7856 * faces.el (link): Use a less saturated blue on light backgrounds.
7857
7858 * startup.el (fancy-startup-text, fancy-about-text)
7859 (fancy-startup-tail): Use font-lock faces, for background safety.
7860
c0a7f300
BN
78612011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7862
b796c9b7
SM
7863 * emulation/viper-cmd.el (viper-change-state-to-vi):
7864 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7865
4dc2a129
MR
78662011-07-09 Martin Rudalics <rudalics@gmx.at>
7867
7868 * window.el (display-buffer-default-specifiers): Remove.
7869 (display-buffer-macro-specifiers): Remove default specifiers.
7870 (display-buffer-alist): Default to nil.
b796c9b7 7871 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7872 (display-buffer-pop-up-window): Allow splitting internal
7873 windows. Check whether a live window was created.
7874 (display-buffer-other-window-means-other-frame)
7875 (display-buffer-normalize-arguments): Rename to
7876 display-buffer-normalize-argument and rewrite. Set the
7877 other-window specifier.
7878 (display-buffer-normalize-special): New function.
7879 (display-buffer-normalize-options): Rename to
7880 display-buffer-normalize-default and rewrite.
7881 (display-buffer-normalize-options-inhibit): Remove.
7882 (display-buffer-normalize-specifiers): Rewrite.
7883 (display-buffer): Process other-window specifier and call
7884 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7885 more faithfully.
b796c9b7 7886 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7887 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7888 (display-buffer-in-window, display-buffer-alist-set):
7889 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7890 <tassilo@member.fsf.org>.
7891
2d43b8c9
LL
78922011-07-09 Leo Liu <sdl.web@gmail.com>
7893
7894 * register.el (insert-register): Restore accidental change on
7895 2011-06-26. (Bug#9028)
7896
7f9b7c53
GM
78972011-07-09 Glenn Morris <rgm@gnu.org>
7898
7899 * subr.el (remq): Handle the empty list. (Bug#9024)
7900
f042cfd8
AS
79012011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7902
7903 * mail/sendmail.el (send-mail-function): No longer delay custom
7904 initialization.
7905 * custom.el (custom-initialize-delay): Doc fix.
7906
856b2f11
SM
79072011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7910
afae1d68
MA
79112011-07-08 Michael Albinus <michael.albinus@gmx.de>
7912
7913 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7914 human-friendly prompt.
7915
0757af94
SM
79162011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7919 provided by a particular plugin.
7920
d760b731
LMI
79212011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922
7923 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7924 save customizations (with "emacs -Q"), just set the variable
7925 instead of erroring out.
7926
7927 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7928
cd79ce90
JL
79292011-07-08 Juri Linkov <juri@jurta.org>
7930
7931 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7932 (archive-zip-update-case): Use 7z if found by `executable-find'.
7933 The order of searching the available programs is the same as in
7934 `archive-zip-extract' (bug#8968).
7935
14cc04aa
CY
79362011-07-07 Chong Yidong <cyd@stupidchicken.com>
7937
7938 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7939 (menu-bar-options-menu): Tweak descriptions.
7940
0a1848ec
LMI
79412011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7942
7943 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7944 menu items into verb phrases (bug#1421). Also refill to fit under
7945 80 columns.
7946
f5bd0689
CY
79472011-07-07 Chong Yidong <cyd@stupidchicken.com>
7948
538e85c6
CY
7949 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7950 (Info-read-node-name): Doc fix (Bug#1084).
7951
f5bd0689
CY
7952 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7953 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7954 (end-of-sexp, beginning-of-sexp)
7955 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7956 (forward-symbol, forward-same-syntax, word-at-point)
7957 (sentence-at-point): Doc fix (Bug#1144).
7958
56ec5115
LMI
79592011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7960
f3f8e37f
LMI
7961 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7962 should cover it (bug#1281).
7963
0757af94 7964 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7965
e9fce1ac 7966 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7967 negotiation fails, then possibly try again with a non-encrypted
7968 connection (bug#9017).
7969
56ec5115
LMI
7970 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7971 be used.
7972
c2f9aec8
RS
79732011-07-07 Richard Stallman <rms@gnu.org>
7974
7975 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7976 property, and handle its changed format.
7977 Look for the correct line number.
7978 Use file's line contents (but not past first =) to find
7979 correct line in message.
7980
ef7b981d 79812011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7982
7983 * international/characters.el (build-unicode-category-table):
7984 Delete it.
0757af94 7985 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7986
0757af94 7987 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7988 to src/chartab.c.
7989 (get-char-code-property): Call unicode-property-table-internal to
7990 load a file. Call get-unicode-property-internal where necessary.
7991 (put-char-code-property): Call unicode-property-table-internal to
7992 load a file. Call put-unicode-property-internal where necessary.
7993 put-unicode-property-internal where necessary.
0757af94
SM
7994 (char-code-property-description):
7995 Call unicode-property-table-internal to load a file.
c805dec0
KH
7996
7997 * international/charprop.el:
7998 * international/uni-bidi.el:
7999 * international/uni-category.el:
8000 * international/uni-combining.el:
8001 * international/uni-comment.el:
8002 * international/uni-decimal.el:
8003 * international/uni-decomposition.el:
8004 * international/uni-digit.el:
8005 * international/uni-lowercase.el:
8006 * international/uni-mirrored.el:
8007 * international/uni-name.el:
8008 * international/uni-numeric.el:
8009 * international/uni-old-name.el:
8010 * international/uni-titlecase.el:
8011 * international/uni-uppercase.el: Regenerate.
8012
8013 * loadup.el: Load international/charprop.el before
8014 international/characters.
8015
e14b388a
CY
80162011-07-07 Chong Yidong <cyd@stupidchicken.com>
8017
8018 * window.el (next-buffer, previous-buffer): Signal an error if
8019 called from a minibuffer window.
8020
8021 * bindings.el: Revert 2011-07-04 change.
8022
354cf0ba
RS
80232011-07-06 Richard Stallman <rms@gnu.org>
8024
8025 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8026 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8027 Treat markers like ints.
8028 (rmail-mime-entity): Doc fix.
8029
a48868a7
LMI
80302011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8031
4906cd3d
LMI
8032 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8033 defcustom again for backwards compatibility.
8034
e0457abe
LMI
8035 * simple.el (shell-command-on-region): Fill.
8036
d67f7e1f
LMI
8037 * dired-aux.el (dired-kill-line): Add a doc string.
8038
fe204702
LMI
8039 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8040 to "\\sw\\|\\s_" (bug#358).
8041
a48868a7
LMI
8042 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8043 (dired-unmark-backward): Ditto.
8044 (dired-flag-backup-files): Ditto.
8045
8046 * dired-x.el (dired-mark-sexp): Ditto.
8047
aa8a705c
RS
80482011-07-06 Richard Stallman <rms@gnu.org>
8049
8050 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8051 (rmail-mime-entity): New arg TRUNCATED.
8052 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8053 New functions.
8054 (rmail-mime-save): Warn if entity is truncated.
8055 (rmail-mime-toggle-hidden): Likewise, for showing.
8056 (rmail-mime-process-multipart): Record when an entity is truncated.
8057
a9a936b9
RS
8058 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8059 if ENTITY is a string.
8060
1f2b92cb
LMI
80612011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8062
f4f73198 8063 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8064 of faces when `M-C-x'-ing their definitions (bug#8378).
8065 Also clean up the code slightly.
f4f73198 8066
12b16734 8067 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8068 because that makes the colors go away.
12b16734 8069
f0691d22
LMI
8070 * mail/sendmail.el (send-mail-function): Change the default to
8071 `sendmail-query-once'.
9e87df06 8072 (sendmail-query-once): Add an autoload cookie.
f0691d22 8073
1f2b92cb
LMI
8074 * net/network-stream.el (network-stream-open-starttls): Try using
8075 a plain connection even if the server offered STARTTLS, and we
8076 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8077 capability. This should make smtpmail.el work in slightly more
8078 configurations.
8079
1cdd2a1b
MA
80802011-07-06 Michael Albinus <michael.albinus@gmx.de>
8081
8082 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8083 New defun.
8084 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8085
fbcc67e2
MM
80862011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8087
8088 * progmodes/sql.el: Version 3.0
0757af94 8089 (sql-product-alist): Add product :completion-object,
fbcc67e2 8090 :completion-column, and :statement attributes.
0757af94 8091 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8092 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8093 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8094 ansi keywords.
8095 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8096 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8097 (sql-oracle-show-reserved-words): New function for development.
8098 (sql-product-font-lock): Simplify for source code buffers.
8099 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8100 New functions.
8101 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8102 (sql-mode-map): Add statement movement functions.
8103 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8104 New variable.
fbcc67e2
MM
8105 (sql-statement-regexp, sql-beginning-of-statement)
8106 (sql-end-of-statement, sql-signum): New functions.
0757af94 8107 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8108 (sql-show-sqli-buffer): Bug fix.
8109 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8110 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8111 with sql-interactive-mode.
8112 (sql-save-connection): Save buffer local settings.
0757af94 8113 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8114 (sql-product-interactive): Bug fix.
8115 (sql-preoutput-hold): New variable.
8116 (sql-interactive-remove-continuation-prompt): Bug fixes.
8117 (sql-debug-redirect): New variable.
8118 (sql-str-literal): New function.
8119 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8120 Redesign.
fbcc67e2
MM
8121 (sql-oracle-save-settings, sql-oracle-restore-settings)
8122 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8123 (sql-completion-object, sql-completion-column)
8124 (sql-completion-sqlbuf): New variables.
8125 (sql-build-completions-1, sql-build-completions)
8126 (sql-try-completion): New functions.
8127 (sql-read-table-name): Use them.
8128 (sql-contains-names): New buffer local variable.
8129 (sql-list-all, sql-list-table): Use it.
8130 (sql-oracle-completion-types): New variable.
8131 (sql-oracle-completion-object, sql-sqlite-completion-object)
8132 (sql-postgres-completion-object): New functions.
8133
d4eaeab1
GM
81342011-07-06 Glenn Morris <rgm@gnu.org>
8135
8136 * window.el (pop-to-buffer): Doc fix.
8137
322b7dab 81382011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8139
8140 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8141
322b7dab 81422011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8143
322b7dab 8144 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8145
322b7dab 8146 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8147
605dd5bf
CY
81482011-07-05 Chong Yidong <cyd@stupidchicken.com>
8149
8150 * button.el (button): Inherit from link face. Suggested by Dan
8151 Nicolaescu.
8152
7dbfa719
SM
81532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8154
3db614b0
SM
8155 * progmodes/gdb-mi.el: Fit in 80 columns.
8156 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8157 switch-to-buffer.
8158
7dbfa719
SM
8159 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8160 if imenu is simply not configured (bug#8941).
8161
919d884a
KM
81622011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8163
8164 * allout.el (allout-post-undo-hook): New allout outline-change
8165 event hook to signal undo activity.
8166 (allout-post-command-business): Run allout-post-undo-hook if an
8167 undo just occurred.
7dbfa719
SM
8168 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8169 * allout-widgets.el (allout-widgets-after-undo-function):
8170 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8171 in the vicinity of an undo.
8172 (allout-widgets-mode): Include allout-widgets-after-undo-function
8173 on the new allout-post-undo-hook.
8174
450a0f09
SM
81752011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8178 Let define-derived-mode define it.
8179 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8180 cycles of abbrev-table inheritance (bug#8998).
8181
2de69e00
RW
81822011-07-05 Roland Winkler <winkler@gnu.org>
8183
8184 * textmodes/bibtex.el: Add support for biblatex.
8185 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8186 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8187 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8188 (bibtex-entry-alist, bibtex-field-alist): New variables.
8189 (bibtex-entry-field-alist): Obsolete alias for
8190 bibtex-BibTeX-entry-alist.
8191 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8192 (bibtex-set-dialect): New command.
8193 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8194 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8195 Bind via bibtex-set-dialect.
2de69e00
RW
8196 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8197 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8198 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8199 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8200 Define via bibtex-set-dialect.
450a0f09
SM
8201 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8202 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8203 (bibtex-vec-push, bibtex-vec-incr): New functions.
8204 (bibtex-format-entry, bibtex-field-list)
8205 (bibtex-print-help-message, bibtex-validate)
8206 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8207
2dcdbdd9
SM
82082011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * progmodes/compile.el (compilation-goto-locus):
8211 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8212 * bs.el (bs-cycle-next, bs-cycle-previous):
8213 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8214 * bindings.el (mode-line-other-buffer):
8215 * autoinsert.el (auto-insert):
8216 * arc-mode.el (archive-extract):
8217 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8218
b27640fe
JB
82192011-07-05 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8222 Fix check of `emacs-lock-unlockable-modes'.
8223 Coerce true values of `emacs-lock--try-unlocking' to t.
8224
53bbe3ad
JB
82252011-07-05 Juanma Barranquero <lekktu@gmail.com>
8226
8227 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8228 * emacs-lock.el: New file.
8229
1d3cdbc7
JD
82302011-07-05 Julien Danjou <julien@danjou.info>
8231
8232 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8233 than `boundp' to check if face is set.
8234
9173deec
JB
82352011-07-05 Juanma Barranquero <lekktu@gmail.com>
8236
8237 * register.el (registerv-make):
8238 * window.el (window-min-height): Fix typos in docstrings.
8239
869795d6
JD
82402011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8241
9173deec 8242 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8243 Update doc string.
8244
b768cdcd
JB
82452011-07-04 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * server.el (server-execute): Catch quit and call
8248 `server-return-error' to pass the error back to emacsclient and
8249 close the connection (bug#8942).
8250
13aa217b
KM
82512011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8252
8253 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8254 insecure exception for current topic. Also note that auto-saves
8255 are handled differently.
8256
8257 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8258 State variables for tracking auto-save inhibition situation.
8259
8260 (allout-write-contents-hook-handler): Rename from
8261 'allout-write-file-hook-handler', and describe how it depends on
8262 write-contents-functions sensitivity to non-nil value to prevent
8263 file write.
8264
8265 (allout-auto-save-hook-handler): Remove. auto-save does not check
8266 this in individual buffers, only in the starting buffer, so this
8267 is not the right way for us to inhibit auto-save in a buffer
8268 according to its condition.
8269
8270 (allout-mode): Use new allout-write-contents-hook-handler, and
8271 only with write-contents-functions. Remove auto-save provisions -
8272 they're implemented elsewhere.
8273
8274 (allout-before-change-handler): If undo is in progress, note that
8275 for attention of allout-post-command-business.
8276
8277 (allout-post-command-business): If the command we're following was
8278 an undo, check for change in the status of encrypted items and
8279 adjust auto-save inhibitions accordingly.
8280
8281 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8282 according to whether there are or aren't any plain-text topics
8283 pending encryption.
8284
2dcdbdd9 8285 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8286 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8287 if there are plain-text topics pending encryption.
13aa217b
KM
8288
8289 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8290 buffer-saved-size and some allout state to not inhibit auto-saves
8291 if there are no longer any plain-text topics pending encryption.
8292
0757af94
SM
8293 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8294 No longer provide for exemption of the current topic.
13aa217b 8295
ac89b32c
JL
82962011-07-04 Juri Linkov <juri@jurta.org>
8297
8298 Add 7z operations to delete and save changed members (bug#8968).
8299 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8300 New defcustoms.
8301 (archive-7z-write-file-member): New function.
8302 (archive-7z-summarize): Fix the number of dashes in the
8303 listing output.
8304
8fa39615
SM
83052011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8306
8307 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8308 (bug#8958).
8309
2f11b3f1
CY
83102011-07-04 Chong Yidong <cyd@stupidchicken.com>
8311
d66fef2b
CY
8312 * bindings.el: Ignore next-buffer and previous-buffer in
8313 minibuffer-local-map.
8314
2f11b3f1
CY
8315 * font-lock.el (font-lock-builtin-face): Change light background
8316 color to dark slate blue (Bug#6693).
8317
f932a347
WD
83182011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8319
8320 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8321
c8af70e1
SM
83222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8325 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8326 Add switch-to-buffer.
8327
f158badc
LMI
83282011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8329
8330 * isearch.el (isearch-search-fun-function): Clarify further the
8331 meaning of the function returned.
8332
6d95bd46
MA
83332011-07-04 Michael Albinus <michael.albinus@gmx.de>
8334
8335 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8336
8337 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8338 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8339 Use it.
8340 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8341 `tramp-default-remote-path' does not exist.
8342 (tramp-send-command-and-read): New optional argument NOERROR.
8343 (tramp-open-connection-setup-interactive-shell)
8344 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8345 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8346 (tramp-process-sentinel): Flush also process' connection property.
8347 (tramp-sh-handle-start-file-process): Do not set process
8348 sentinel. It is done now ...
8349 (tramp-maybe-open-connection): ... here. (Bug#8929)
8350
909e6b67
MK
83512011-07-04 MON KEY <monkey@sandpframing.com>
8352
8353 * play/animate.el (animate-string): Doc fixes and allow changing
8354 the buffer name (bug#5417).
8355
83562011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8357
c8af70e1 8358 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8359
f34755dc
PE
83602011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8361
396cec72
PE
8362 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8363 This is simpler and helps future-proof the code.
8364 (timer-until): Use time-subtract and float-time.
08235028 8365 (timer--time-less-p): Use time-less-p.
f34755dc 8366
56e6cc31
JB
83672011-07-04 Juanma Barranquero <lekktu@gmail.com>
8368
3abb79e5
JB
8369 * type-break.el (timep): Use the value of `float-time' to avoid a
8370 byte-compiler warning.
8371
56e6cc31
JB
8372 * server.el (server-eval-and-print): Return any result, even nil.
8373
7b9430b4
PE
83742011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8375
8376 * type-break.el: Accept time formats that the builtins accept.
8377 (timep, type-break-time-difference): Accept any format that
8378 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8379 This is simpler and helps future-proof the code.
8380 (type-break-time-difference): Round rather than ignoring
8381 subseconds components.
8382
3034e9e7
LMI
83832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8384
8385 * info.el (Info-apropos-matches): Make non-interactive, since it
8386 doesn't seem to do anything useful as a command (bug#8829).
8387
1485f4c0
CY
83882011-07-03 Chong Yidong <cyd@stupidchicken.com>
8389
8390 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8391 Move from faces.el.
1485f4c0
CY
8392 (frame-default-terminal-background): New function.
8393
8394 * custom.el (custom-push-theme): Don't record faces in `changed'
8395 theme; this doesn't work correctly for per-frame face settings.
8396 (disable-theme): Use face-set-after-frame-default to reset faces.
8397 (custom--frame-color-default): New function.
8398
9fa3dd45
LMI
83992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8400
c8af70e1 8401 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8402 (bug#8769).
8403
6cbbc20c
KR
84042011-03-29 Kevin Ryde <user42@zip.com.au>
8405
8406 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8407 `perl-Test2' extend to match possible "fail #N" rep count
8408 (bug#8377).
8409
c7f98048
LMI
84102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8411
65676592
LMI
8412 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8413 `smtpmail-via-smtp' now returns the error instead of nil.
8414
c7f98048
LMI
8415 * isearch.el (isearch-search-fun-function): Clarify the doc string
8416 (bug#8101).
8417
56e6cc31 84182011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8419
8420 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8421 unnecessary spaces (bug#8987).
8422
2b216704
LMI
84232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8424
8425 * net/network-stream.el (open-network-stream): Use the
8426 :end-of-capability command thoughout.
8427
84282011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8429
8430 * net/network-stream.el (open-network-stream): Add the
8431 :end-of-capability command parameter, used by pop3.el.
8432
36adf6ce
LMI
84332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8434
1ca0da0e
LMI
8435 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8436
fc00f69c
LMI
8437 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8438 for list)" (bug#6475).
8439
28fd8759 8440 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8441 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8442 an error (bug#6297).
8443
0dd8b6da
LMI
8444 * man.el (Man-reference-regexp): Allow matching possible
8445 word-wrapped references (bug#6289).
8446
ce1438d6
LMI
8447 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8448 for consistency with the other vc buffers (bug#6197).
8449 (vc-checkin): Ditto.
8450
8451 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8452
36adf6ce
LMI
8453 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8454
e83cc1f7
LMI
84552011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8456
8a20ca4c
LMI
8457 * custom.el (defcustom): Clarify that :set is only used in the
8458 Customize user interface (bug#6089).
8459
83319045
LMI
8460 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8461 associated with a file, refuse to run instead of erroring out
8462 (bug#6084).
8463
a8392169
LMI
8464 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8465 the doc string, since it appears that using `fill-column' always
8466 controls the width (bug#7845).
8467
e83cc1f7
LMI
8468 * simple.el (shell-command-on-region): Say where the error output
8469 went if `shell-command-default-error-buffer' is set (bug#6857).
8470
e47ca23b
KM
84712011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8472
8473 * allout.el (allout-yank-processing): Adjust cursor position for
8474 backwards-deleted space.
8475
8476 (allout-rebullet-heading): Register changes with
8477 allout-exposure-changed-hook, so the modified topic is properly
8478 decorated.
8479
5cf56143
LMI
84802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8481
08549772
LMI
8482 * minibuffer.el (completion-in-region): Document PREDICATE
8483 (bug#7136).
8484
48e96771
LMI
8485 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8486 of keyword/argument pairs (bug#6904).
8487
c8af70e1
SM
8488 * replace.el (multi-occur):
8489 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8490
e17d05e2
LMI
84912011-07-02 Drew Adams <drew.adams@oracle.com>
8492
8493 * dired.el (dired-mark-if): Make the message about whether it's
8494 marking or unmarking clearer (bug#8523).
8495
063b0e45
LMI
84962011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8497
8498 * disp-table.el (display-table-print-array): New function.
8499 (describe-display-table): Use it to print the vectors more pretty
8500 (Bug#8859).
8501
28545e04
MR
85022011-07-02 Martin Rudalics <rudalics@gmx.at>
8503
8504 * window.el (window-state-get-1): Don't assign clone numbers.
8505 Add clone-of item to list of window parameters.
8506 (window-state-put-2): Don't process clone numbers.
8507 (display-buffer-alist): Fix doc-string.
8508
3349e122
SM
85092011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * subr.el (remq): Don't allocate if it's not needed.
8512 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8513 (keymap--merge-bindings): New functions.
8514 (keymap-canonicalize): Use them to refine the canonicalization.
8515 * minibuffer.el (minibuffer-local-completion-map)
8516 (minibuffer-local-must-match-map): Move initialization from C.
8517 (minibuffer-local-filename-completion-map): Move initialization from C;
8518 don't inherit from anything here.
8519 (minibuffer-local-filename-must-match-map): Make obsolete.
8520 (completing-read-default): Use make-composed-keymap to combine
8521 minibuffer-local-filename-completion-map with either
8522 minibuffer-local-must-match-map or
8523 minibuffer-local-filename-completion-map.
8524
d224ac83
GM
85252011-07-01 Glenn Morris <rgm@gnu.org>
8526
3de63bf8
GM
8527 * type-break.el (type-break-time-sum): Use dolist.
8528
d224ac83
GM
8529 * textmodes/flyspell.el (flyspell-word-search-backward):
8530 Replace CL function.
8531
1a1e3f32
SM
85322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8533
fe3f64d5
SM
8534 * mouse.el (mouse--strip-first-event): New function.
8535 (function-key-map): Use it to map fringe clicks to normal clicks
8536 by default.
8537
eb604e34
SM
8538 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8539 (vc-bzr-revision-completion-table): Add support for annotate and date.
8540
1a1e3f32
SM
8541 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8542 inherit from parent.
8543
5bd35902
LMI
85442011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545
ace6c69c 8546 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8547 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8548
191e2bed
LMI
8549 * dired.el (dired-mode): Fix up the doc string as suggested by
8550 Drew Adams (bug#8817).
8551
5bd35902
LMI
8552 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8553 cookie, since the manual says that it should be possible to add
8554 this function to `find-file-hook' (bug#8709).
8555
eee8207a
TZ
85562011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8557
8558 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8559 here. Noted Ted Zlatanov as the maintainer.
8560 (cfengine-common-settings, cfengine-common-syntax): New functions
8561 to set up common things between `cfengine-mode' and
8562 `cfengine3-mode'.
8563 (cfengine3-mode): New mode.
8564 (cfengine3-defuns cfengine3-defuns-regex
8565 (cfengine3-class-selector-regex cfengine3-category-regex)
8566 (cfengine3-vartypes cfengine3-font-lock-keywords)
8567 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8568 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8569
36b148cf
MA
85702011-07-01 Michael Albinus <michael.albinus@gmx.de>
8571
8572 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8573
8574 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8575
0bf4ba9a
MR
85762011-07-01 Martin Rudalics <rudalics@gmx.at>
8577
8578 * window.el (same-window-buffer-names, same-window-regexps)
8579 (same-window-p, special-display-frame-alist)
8580 (special-display-popup-frame, special-display-function)
8581 (special-display-buffer-names, special-display-regexps)
8582 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8583 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8584 (split-window-preferred-function, split-height-threshold)
8585 (split-width-threshold, even-window-heights)
8586 (display-buffer-mark-dedicated, window-splittable-p)
8587 (split-window-sensibly, window-safely-shrinkable-p):
8588 Un-obsolete.
8589 (display-buffer): Don't spread args with function specifier
8590 because special-display-popup-frame won't like it.
8591
35837f51
PE
85922011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8593
d0672f86
PE
8594 Time-stamp simplifications and fixes.
8595 These improve accuracy slightly, and future-proof the code
8596 against some potential changes to current-time format.
8597
b9444d97
PE
8598 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8599 by using time-since and float-time.
8600
0ef923dc
PE
8601 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8602 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8603 + NNN microseconds".
8604
2f81380d
PE
8605 * type-break.el (type-break-time-sum): Rewrite using time-add.
8606
845b5c3e
PE
8607 * play/hanoi.el (hanoi-current-time-float): Remove.
8608 All uses replaced by float-time.
8609
ee6f1be0
PE
8610 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8611 This yields a more-accurate answer.
8612 (rng-time-to-float): Remove; no longer needed.
8613
fe955043
PE
8614 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8615
5777162a
PE
8616 * calendar/timeclock.el (timeclock-seconds-to-time):
8617 Defalias to seconds-to-time, since they're the same thing.
8618
3103f8b6 8619 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8620 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8621 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8622
0e61a35f
SM
86232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8624
8625 * window.el (bury-buffer): Don't iconify the only frame.
8626 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8627 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8628
ddd63a1e
CY
86292011-07-01 Chong Yidong <cyd@stupidchicken.com>
8630
0e61a35f
SM
8631 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8632 Add mouse-yank-primary.
ddd63a1e 8633
055f4923
TZ
86342011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8635
8636 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8637
6a2fb145
SM
86382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8641 (find-library-name): Use it to find relative load names when provided
8642 absolute file name (bug#8803).
8643
fd4983f2
LMI
86442011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8645
887d14ad
LMI
8646 * textmodes/flyspell.el (flyspell-word): Consider words that
8647 differ only in case as potential doublons (bug#5687).
8648
c53dc7fc
LMI
8649 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8650 Remove two rather uninteresting debugging-like messages to make
8651 debbugs.el more silent.
8652
fd4983f2
LMI
8653 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8654 a password-like phrase.
8655
7a71b18d 86562011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8657
8658 * progmodes/cc-guess.el: New file.
8659
6a2fb145 8660 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8661
8662 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8663 derived from `c-basic-common-init'.
8664
8665 * progmodes/cc-mode.el (top-level): Require cc-guess.
8666 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8667
1fa280a3
LM
86682011-06-30 Lawrence Mitchell <wence@gmx.li>
8669
8670 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8671
e6597158
AM
86722011-06-30 Alan Mackenzie <acm@muc.de>
8673
1fa280a3
LM
8674 * progmodes/cc-engine.el (c-guess-continued-construct):
8675 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8676 lock is disabled. Name this case as "CASE G".
8677
68ba37fb
KM
86782011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8679
8680 * allout.el (allout-yank-processing): Fix injection of extra space
8681 between bullet and non-whitespace character in first topic when
8682 pasting, ensuring that the actual spacing in the pasted topic
8683 following the bullet char is preserved. This extra space was
8684 causing pasted encrypted topics to get a decrypted status even
8685 when the content was actually still encrypted. Now the decryption
8686 status from before the paste is preserved.
8687
8688 (allout-flag-region): Set all allout overlays so they evaporate
8689 when reduced to zero length (evanescent), to prevent overlay
8690 leakage.
8691
887a0b34
GM
86922011-06-30 Glenn Morris <rgm@gnu.org>
8693
94b9acce
GM
8694 * w32-fns.el (w32-charset-info-alist): Declare.
8695
1d9b46d4
GM
8696 * find-dired.el (find-grep-options): Simplify.
8697
cc232200
GM
8698 * term/ns-win.el (ns-set-resource): Declare.
8699
28e77c46
GM
8700 * ses.el (row, col): Declare dynamic variables honestly.
8701
887a0b34
GM
8702 * textmodes/reftex-parse.el (index-tags): Declare.
8703
658d8eb8
CY
87042011-06-30 Chong Yidong <cyd@stupidchicken.com>
8705
8706 * cus-edit.el (customize-push-and-save): New function.
8707
8708 * files.el (hack-local-variables-confirm): Use it.
8709
1fa280a3
LM
8710 * custom.el (load-theme): New arg NO-CONFIRM.
8711 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8712 (custom-enabled-themes): Doc fix.
8713
8714 * cus-theme.el (customize-create-theme)
8715 (custom-theme-merge-theme): Callers to load-theme changed.
8716
bb617717
LMI
87172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8718
d61bdd5d
LMI
8719 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8720 short URLs have at least one dot in them (bug #7614).
8721
bb617717
LMI
8722 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8723 nil, because using a pty is apparently too slow (bug #895).
8724
2f31f37a
LMI
87252011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8726
8727 * mail/sendmail.el (sendmail-query-once): New function.
8728 (sendmail-query-once-function): New variable.
8729
3076b24e
GM
87302011-06-29 Glenn Morris <rgm@gnu.org>
8731
faf2a174
GM
8732 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8733
3076b24e
GM
8734 * ses.el (top-level): Require cl when compiling.
8735 (ses-set-localvars): Fix error statement.
8736 Call it at compile time to silence a storm of warnings.
8737
5386012d
MR
87382011-06-29 Martin Rudalics <rudalics@gmx.at>
8739
8740 * window.el (normalize-live-buffer): Rename to
8741 window-normalize-buffer.
8742 (normalize-live-frame): Rename to window-normalize-frame.
8743 (normalize-any-window): Rename to window-normalize-any-window.
8744 (normalize-live-window): Rename to window-normalize-live-window.
8745 (make-window-atom): Rename to window-make-atom.
8746 (window-resize-reset): Rename to window--resize-reset.
8747 (window-resize-reset-1): Rename to window--resize-reset-1.
8748 (resize-mini-window): Rename to window--resize-mini-window.
8749 (resize-subwindows-skip-p): Rename to
8750 window--resize-subwindows-skip-p.
8751 (resize-subwindows-normal): Rename to
8752 window--resize-subwindows-normal.
8753 (resize-subwindows): Rename to window--resize-subwindows.
8754 (resize-other-windows): Rename to window--resize-siblings.
8755 (resize-this-window): Rename to window--resize-this-window.
8756 (resize-root-window): Rename to window--resize-root-window.
8757 (resize-root-window-vertically): Rename to
8758 window--resize-root-window-vertically.
8759 (normalize-buffer-to-display): Rename to
8760 window-normalize-buffer-to-display.
8761 (normalize-buffer-to-switch-to): Rename to
8762 window-normalize-buffer-to-switch-to.
8763 Correspondingly update all callers of the functions listed
8764 above.
8765 (display-buffer-alist, display-buffer-normalize-arguments)
8766 (display-buffer-normalize-options, display-buffer)
8767 (display-buffer-alist-set): Use "function" instead of
8768 "fun-with-args".
8769
1176868d
CY
87702011-06-28 Chong Yidong <cyd@stupidchicken.com>
8771
8772 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8773 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8774 debbugs.gnu.org. Mention acknowledgment email.
8775
20a7a65f
LMI
87762011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8777
8778 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8779 buffer multibyteness, since it shouldn't matter.
8780
5f45cca5
MR
87812011-06-28 Martin Rudalics <rudalics@gmx.at>
8782
8783 * window.el (display-buffer-in-side-window): Handle dedicated
8784 windows as in display-buffer-reuse-window.
8785 (display-buffer-normalize-alist): Use value of override
8786 specifier.
8787 (display-buffer-normalize-specifiers): Use value of
8788 other-window-means-other-frame specifier.
8789 (display-buffer-alist): Rewrite some texts in widgets.
8790 (display-buffer): Spread arguments when calling function
8791 specified by fun-with-args.
8792
ad85fe1f
DD
87932011-06-28 Deniz Dogan <deniz@dogan.se>
8794
1fa280a3
LM
8795 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8796 Unnest `let'.
da68c4c8 8797
ad85fe1f
DD
8798 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8799 selectors (Bug#5732).
ec49bd31 8800 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8801
a08cc025
JA
88022011-06-27 Jari Aalto <jari.aalto@cante.net>
8803
8804 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8805 (eshell-ls-date-format): New defcustom.
8806 (eshell-ls-file): Use it.
8807
e2b551c5
SM
88082011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8811
8982b231
KY
88122011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8813
8814 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8815 (ange-ftp-make-tmp-name): New arg.
8816 (ange-ftp-file-local-copy): Use it.
8817
36c9fa27
J
88182011-06-27 Jambunathan K <kjambunathan@gmail.com>
8819
8820 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8821 no-conversion (Bug#8870).
8822
d68443dc
MR
88232011-06-27 Martin Rudalics <rudalics@gmx.at>
8824
8825 * window.el (window-right, window-left, window-child)
8826 (window-child-count, window-last-child)
8827 (window-iso-combination-p, walk-window-tree-1)
8828 (window-atom-check-1, window-tree-1, delete-window)
8829 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8830 new naming conventions - window-vchild, window-hchild,
8831 window-next and window-prev are now called window-top-child,
8832 window-left-child, window-next-sibling and window-prev-sibling
8833 respectively.
d615d6d2
MR
8834 (resize-window-reset): Rename to window-resize-reset.
8835 (resize-window-reset-1): Rename to window-resize-reset-1.
8836 (resize-window): Rename to window-resize.
8837 (window-min-height, window-min-width)
8838 (resize-mini-window, resize-this-window, resize-root-window)
8839 (resize-root-window-vertically, adjust-window-trailing-edge)
8840 (enlarge-window, shrink-window, maximize-window)
8841 (minimize-window, delete-window, quit-restore-window)
8842 (split-window, balance-windows, balance-windows-area-adjust)
8843 (balance-windows-area, window-state-put-2)
8844 (display-buffer-even-window-sizes, display-buffer-set-height)
8845 (display-buffer-set-width, set-window-text-height)
8846 (fit-window-to-buffer): Rename all "resize-window" prefixed
8847 calls to use the "window-resize" prefix convention.
8848 (display-buffer-alist): Fix symbol for label specifier.
8849 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8850 corresponding specifier.
8851 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8852
b6458526
VB
88532011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8854
8855 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8856 convention.
8857 (ses-call-printer): Does not pass an empty string to formatter when the
8858 cell is empty to keep from barking printer Calc math-format-value.
8859
d31fd9ac
RS
88602011-06-27 Richard Stallman <rms@gnu.org>
8861
43d5bf84
RS
8862 * battery.el (battery-mode-line-limit): New variable.
8863 (battery-update): Handle it.
8864
d31fd9ac
RS
8865 * mail/rmailmm.el (rmail-mime-process-multipart):
8866 Handle truncated messages.
8867
819a6054
GM
88682011-06-27 Glenn Morris <rgm@gnu.org>
8869
8870 * progmodes/flymake.el (flymake-err-line-patterns):
8871 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8872
cedc73f2
VB
88732011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8874
819a6054 8875 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8876 (ses--clean-!, ses--clean-_): New functions.
8877 (ses-range): Add configurability of readout order, and conversion
8878 to Calc vector.
8879
5e5d49b6
VB
8880 * ses.el (ses-repair-cell-reference-all): New function.
8881 (ses-cell-symbol): Set macro as safe, so that it can be used in
8882 formulas.
8883
56e6cc31 8884 * ses.el: Update cycle detection algorithm.
90ca8b49 8885 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8886 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8887 (ses-set-localvars): New function.
8888 (ses-make-cell): Add property-list as a cell element.
8889 (ses-cell-property-get-fun, ses-cell-property-get)
8890 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8891 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8892 New functions.
90ca8b49
VB
8893 (ses-cell-property-set, ses-cell-property-pop)
8894 (ses-cell-property-get-handle): New macro.
8895 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8896 New aliases, used for code readability.
8897 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8898 cycle detection.
8899 (ses-self-reference-early-detection): New defcustom.
fac916bf 8900 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8901 (ses-mode): Use ses-set-localvars.
8902 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8903 before lauching the update processing.
8904 (ses-initialize-Dijkstra-attempt): New function.
8905 (ses-recalculate-cell): Update for cycle detection based on
8906 Dijkstra algorithm.
8907
2bb63e81
VB
8908 * ses.el: Fix commenting and indenting convention.
8909
c9d29fb8
SM
89102011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8911
8912 * bs.el (bs-cycle-next): Complete last change.
8913
d8e4b68b
JB
89142011-06-27 Drew Adams <drew.adams@oracle.com>
8915
8916 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8917
40098786
LMI
89182011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8919
c9d29fb8
SM
8920 * net/network-stream.el (network-stream-open-starttls):
8921 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8922 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8923
40098786
LMI
8924 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8925 to binary to possibly avoid line encoding issues on Windows (among
8926 other things).
8927
468d09d4
LMI
89282011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8929
8930 * net/network-stream.el (open-network-stream): Return an :error
8931 saying what the problem was, if possible.
8932
8933 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8934 server.
8935
8936 * net/network-stream.el (network-stream-open-starttls): If we
8937 wanted to use STARTTLS, and the server offered it, but we weren't
8938 able to because we had no STARTTLS support, then close the connection.
8939 (open-network-stream): Return an :error element, if present.
8940
16f07dd7
CY
89412011-06-26 Chong Yidong <cyd@stupidchicken.com>
8942
88821ca0
CY
8943 * hl-line.el (hl-line-sticky-flag): Doc fix.
8944 (global-hl-line-sticky-flag): New option (Bug#8323).
8945 (global-hl-line-highlight): Obey it.
8946
16f07dd7
CY
8947 * vc/vc.el (vc-revert-show-diff): Default to t.
8948
6b5ccddf
KM
89492011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8950
c9d29fb8
SM
8951 * allout-widgets.el (allout-widgets-post-command-business):
8952 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8953 undecorated when an isearch is continued past, and isearch
8954 automatically collapses them. This leads to "widget leaks", where
8955 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8956 hidden widgets can slow down cursor travel, substantially.
8957 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8958 so we're doing without this nicety.
8959
8960 (allout-widgets-tally-string): Don't try to do a hash-table-count
8961 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8962 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8963 *Messages* when allout-widgets-maintain-tally is t.
8964
355f2e07
MR
89652011-06-26 Martin Rudalics <rudalics@gmx.at>
8966
8967 * window.el (display-buffer-normalize-argument): Rename to
8968 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8969 LABEL argument. Respect special-display-function when popping up
8970 a new frame. Fix code searching for a window showing the buffer
8971 on another frame.
c9d29fb8
SM
8972 (display-buffer-normalize-specifiers):
8973 Call display-buffer-normalize-arguments.
355f2e07
MR
8974 (display-buffer-in-window): Don't undedicate the window if its
8975 buffer remains the same.
8976 Reported by Drew Adams <drew.adams@oracle.com>.
8977 (display-buffer-alist): Add choice for same-window macro
8978 specfier.
8979 (display-buffer): Mention special meaning of LABEL argument in
8980 doc-string. Fix quoting. Don't pop up a new frame even as
8981 fallback.
8982
7ca8fc42
JB
89832011-06-26 Juanma Barranquero <lekktu@gmail.com>
8984
8985 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8986 avoid deleting the current window in some cases (bug#8911).
8987
bc312254
AS
89882011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8989
8990 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8991 (Bug#8934)
8992
2db18f3f
LMI
89932011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8994
c9d29fb8
SM
8995 * net/network-stream.el (network-stream-open-starttls):
8996 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8997 (network-stream-open-tls): Ditto.
8998
6302e0d3
LL
89992011-06-26 Leo Liu <sdl.web@gmail.com>
9000
9001 * register.el (registerv): New struct.
9002 (registerv-make): New function.
c9d29fb8
SM
9003 (jump-to-register, describe-register-1, insert-register):
9004 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9005 struct. (Bug#8415)
9006
5fdd4046
CY
90072011-06-26 Chong Yidong <cyd@stupidchicken.com>
9008
2afef60a
CY
9009 * vc/vc.el (vc-revert-show-diff): New defcustom.
9010 (vc-diff-internal): New arg specifying diff buffer.
9011 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9012 reuse an existing *vc-diff* buffer (Bug#8927).
9013
5fdd4046
CY
9014 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9015
e93db24a
GM
90162011-06-26 Glenn Morris <rgm@gnu.org>
9017
9018 * progmodes/f90.el (f90-critical-indent): New option.
9019 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9020 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9021 (f90-mode): Doc fix.
9022 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9023 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9024 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9025 (f90-match-end): Handle block, critical.
9026
eefff499
GM
90272011-06-25 Glenn Morris <rgm@gnu.org>
9028
f6ba4cc9
GM
9029 * calendar/diary-lib.el (diary-included-files): Doc fix.
9030 (diary-include-files): New function, extracted from
9031 diary-include-other-diary-files and diary-mark-included-diary-files.
9032 (diary-include-other-diary-files, diary-mark-included-diary-files):
9033 Just call diary-include-files.
9034 (diary-mark-entries): Reset diary-included-files on first call.
9035
16712304
GM
9036 * calendar/diary-lib.el (diary-mark-entries)
9037 (diary-mark-included-diary-files):
9038 Visit included diary-files in temp buffers.
9039
5d8e0d43
GM
9040 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9041 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9042 (f90-start-block-re, f90-imenu-generic-expression)
9043 (f90-looking-at-program-block-start, f90-no-block-limit):
9044 Add support for submodules.
9045
ccf7a5d5
GM
9046 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9047 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9048
11fdef7d 90492011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9050
9051 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9052 buffer-file-type before setting its value, to avoid disastrous
eefff499 9053 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9054
74f53697
JB
90552011-06-25 Juanma Barranquero <lekktu@gmail.com>
9056
9057 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9058
9059 * ses.el (ses-unload-function):
9060 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9061
9062 * proced.el (proced-unload-function):
9063 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9064
18a4ce5e
AR
90652011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9066
9067 * server.el (server-create-window-system-frame): Add parameters arg.
9068 (server-process-filter): Doc fix. Handle frame-parameters.
9069
519d22cc
JB
90702011-06-25 Juanma Barranquero <lekktu@gmail.com>
9071
9072 Fix bug#8730, bug#8781.
9073
9074 * loadhist.el (unload--set-major-mode): New function.
9075 (unload-feature): Use it.
9076
9077 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9078 (python-unload-function): New function.
9079
c206f5b0
SM
90802011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9081
9082 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9083
f9ad64f3
GS
90842011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9085
9086 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9087 the candidates list.
9088
7d0da90e
JB
90892011-06-24 Juanma Barranquero <lekktu@gmail.com>
9090
9091 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9092
14b4e83d
RS
90932011-06-23 Richard Stallman <rms@gnu.org>
9094
9095 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9096 (rmail-variables): Set next-error-move-function.
9097 (rmail-what-message): Take argument POS.
9098 (rmail-next-error-move): New function.
9099
273d2baf
SM
91002011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9101
9102 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9103 messages for adjacent non-terminals.
9104
56c2cc9a
RS
91052011-06-23 Richard Stallman <rms@gnu.org>
9106
9107 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9108 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9109 (rmail-start-mail): Don't specify use of rmail-mail-return;
9110 that's done by mail-bury now.
9111 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9112
d59eb518
MA
91132011-06-23 Michael Albinus <michael.albinus@gmx.de>
9114
9115 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9116 SIZE is a number.
9117
02cfc6d6
MR
91182011-06-23 Martin Rudalics <rudalics@gmx.at>
9119
9120 * window.el (get-lru-window, get-mru-window)
9121 (get-largest-window): Never return a minibuffer window.
9122 (display-buffer-pop-up-window): Fix a bug that could lead to
9123 reusing the minibuffer window.
9124 (display-buffer): Pass original specifier argument to
9125 display-buffer-function instead of the normalized one.
9126 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9127
4e323265
LL
91282011-06-22 Leo Liu <sdl.web@gmail.com>
9129
9130 * minibuffer.el (completing-read-function)
9131 (completing-read-default): Move from minibuf.c
9132
7a70468f
RS
91332011-06-22 Richard Stallman <rms@gnu.org>
9134
50718fc2
RS
9135 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9136 to Rmail even if not started by a special Rmail command.
9137
7a70468f
RS
9138 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9139 Copy the buffer currently showing just one message.
9140
297dde5a
RW
91412011-06-22 Roland Winkler <winkler@gnu.org>
9142
9143 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9144 (bibtex-clean-entry): First delete the old key so that a
9145 customized algorithm for generating the new key does not get
9146 confused by the old key.
9147 (bibtex-url): Obey regexp of first step.
9148 (bibtex-search-entries): Do not use add-to-list with local
9149 list-var.
9150
97bb1093
LMI
91512011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9152
9153 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9154 stored a user name, then query for the password first, instead of
9155 waiting for SMTP to give an error message and the trying again.
9156
1c0f1a19
JD
91572011-06-22 Lawrence Mitchell <wence@gmx.li>
9158
9159 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9160 BUFFER in call-process.
9161
396f7c9d
LMI
91622011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9163
9164 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9165 QUIT twice.
ddb7ffee
LMI
9166 (smtpmail-try-auth-methods): Require user name and password from
9167 auth-source.
396f7c9d 9168
8998d1b3
MR
91692011-06-22 Martin Rudalics <rudalics@gmx.at>
9170
9171 * window.el (display-buffer-default-specifiers)
9172 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9173 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9174 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9175
9176 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9177 (special-display-frame-alist, special-display-popup-frame):
9178 Remove duplicate declarations. These are now in window.el.
9179
4ea31e07
LMI
91802011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9181
c9d29fb8
SM
9182 * mail/smtpmail.el (smtpmail-via-smtp):
9183 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9184 server supports it. SMTP servers that support STARTTLS commonly
9185 require it.
9186
9187 * net/network-stream.el (network-stream-open-starttls): Support
9188 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9189 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9190
95f41d9a
LMI
9191 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9192 upgrades with `open-network-stream', and rely solely on
9193 auth-source for all credentials. Big changes throughout the file,
9194 but in particular:
c9d29fb8
SM
9195 (smtpmail-auth-credentials): Remove.
9196 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9197 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9198 MAIL FROM, too.
95f41d9a 9199
c9d29fb8
SM
9200 * net/network-stream.el (network-stream-open-starttls):
9201 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9202 STARTTLS.
9203 (auth-source): Require.
9204 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9205 (network-stream-certificate): Change cert-cert to cert and
9206 cert-key to key.
4ea31e07 9207
065ec2c7
MA
92082011-06-21 Michael Albinus <michael.albinus@gmx.de>
9209
9210 * net/tramp-cache.el (top): Don't load the persistency file when
9211 "emacs -Q" has been called.
9212
cd93b359
DR
92132011-06-21 Tim Harper <timcharper@gmail.com>
9214
d8e4b68b
JB
9215 * term/ns-win.el (ns-initialize-window-system):
9216 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9217 resource to NO as it is not yet supported by the NS port.
9218
ae9c0411
JB
92192011-06-21 Juanma Barranquero <lekktu@gmail.com>
9220
9221 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9222 (list-dynamic-libraries): ...not here.
9223
7f3f739f
LL
92242011-06-21 Leo Liu <sdl.web@gmail.com>
9225
9226 * subr.el (sha1): Implement sha1 using secure-hash.
9227
327c8fb1
MR
92282011-06-21 Martin Rudalics <rudalics@gmx.at>
9229
9230 * window.el (display-buffer-alist): In default value do not
9231 enforce searching a window on any but the selected frame.
9232 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9233 (display-buffer-select-window): Remove function.
9234 (display-buffer-in-window): When a window on another frame gets
9235 reused, do not select it any more but just raise its frame if
9236 necessary (Bug#8851) and (Bug#8856).
9237 (display-buffer-normalize-options): Handle pop-up-frames related
9238 options more faithfully.
9239 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9240 window if it is on another frame.
c9d29fb8
SM
9241 (display-buffer-alist, display-buffer-default-specifiers):
9242 Don't make new frame unsplittable by default.
9e9de014
MR
9243 (display-buffer-normalize-argument): Fix doc-string typo and use
9244 'same-frame-other-window instead of 'other-window when associating
9245 with display-buffer-macro-specifiers.
327c8fb1 9246
7cf3f556
VB
92472011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9248
9249 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9250 New functions.
9251 (5x5-mode-map, 5x5-mode-menu): Bind them.
9252 (5x5-draw-grid): Tweak the solver's rendering.
9253
60a406cf
SM
92542011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9257 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9258
d8e4b68b 92592011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9260
9261 * menu-bar.el: Use function variable instead of switch-to-buffer.
9262 (menu-bar-select-buffer-function): New variable.
60a406cf 9263 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9264
478d6f95
SM
92652011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9268 variable's status.
9269
ca530739
JD
92702011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9271
9272 * x-dnd.el (x-dnd-version-from-flags)
9273 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9274 and long as number (Bug#8899).
9275 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9276
bcd70d97
SM
92772011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9278
60a406cf 9279 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9280 (completion-try-completion, completion-all-completions): Compute the
9281 metadata argument if it's missing; make it optional (bug#8795).
9282
60a406cf 9283 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9284 (widget-complete): Use new :completion-function property.
9285 (widget-completions-at-point): New function.
9286 (default): Use :completion-function instead of :complete.
60a406cf
SM
9287 (widget-default-completions): Rename from widget-default-complete;
9288 Rewrite.
bcd70d97
SM
9289 (widget-string-complete, widget-file-complete, widget-color-complete):
9290 Remove functions.
9291 (file, symbol, function, variable, coding-system, color):
9292 * international/mule-cmds.el (default-input-method, charset)
9293 (language-info-custom-alist):
9294 * cus-edit.el (face): Use new property :completions.
9295
9296 * progmodes/pascal.el (pascal-completions-at-point): New function.
9297 (pascal-mode): Use it.
9298 (pascal-mode-map): Use completion-at-point.
9299 (pascal-toggle-completions): Make obsolete.
9300 (pascal-complete-word, pascal-show-completions):
9301 * progmodes/octave-mod.el (octave-complete-symbol):
9302 Redefine as obsolete alias.
9303 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9304 Signal absence of completion info for old Octave,
9305 (inferior-octave-complete): Redefine as obsolete alias.
9306 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9307 (meta-completions-at-point): Rename from meta-complete-symbol and
9308 adapt it for use on completion-at-point-functions.
9309 (meta-common-mode): Use it.
9310 (meta-looking-at-backward, meta-match-buffer): Remove.
9311 (meta-complete-symbol): Redefine as obsolete alias.
9312 (meta-common-mode-map): Use completion-at-point.
9313 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9314 (makefile-mode-map): Use completion-at-point.
9315 (makefile-completions-at-point): Rename from makefile-complete and
9316 adapt it for use on completion-at-point-functions.
9317 (makefile-mode): Use it.
9318 (makefile-complete): Redefine as obsolete alias.
9319
aebf69c8
DD
93202011-06-20 Deniz Dogan <deniz@dogan.se>
9321
9322 * net/rcirc.el: Delete trailing whitespaces once and for all.
9323
bfbbb27d
DC
93242011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9325
9326 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9327
d264a46b
CY
93282011-06-19 Chong Yidong <cyd@stupidchicken.com>
9329
4ca009e5
CY
9330 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9331
d264a46b
CY
9332 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9333
fbf5b3ce
MR
93342011-06-19 Martin Rudalics <rudalics@gmx.at>
9335
9336 * window.el (display-buffer-other-window-means-other-frame):
9337 Call display-buffer-normalize-alist.
9338 (display-buffer-normalize-specifiers-1): Rename to
9339 display-buffer-normalize-argument. New argument other-frame.
9340 Rewrite.
9341 (display-buffer-normalize-specifiers-2): Rename to
9342 display-buffer-normalize-options.
9343 (display-buffer-normalize-alist-1): New function.
9344 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9345 display-buffer-normalize-alist.
9346 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9347 (display-buffer-normalize-options-inhibit): New variable.
9348 (display-buffer-normalize-specifiers): Rewrite calling
9349 display-buffer-normalize-alist,
9350 display-buffer-normalize-argument, and
9351 display-buffer-normalize-options. Don't call the latter if
9352 display-buffer-normalize-options-inhibit is non-nil.
9353 (frame-auto-delete): New option.
9354 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9355 (window-list-no-nils, window-state-ignored-parameters)
9356 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9357 (window-state-put-1, window-state-put-2, window-state-put):
9358 New functions.
9a028c23
MR
9359 (display-buffer-normalize-options): Move special-display-p group
9360 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9361
6d10d800
CY
93622011-06-18 Chong Yidong <cyd@stupidchicken.com>
9363
6420d28b
CY
9364 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9365 groups (Bug#8776).
9366 (rx-submatch-n): New function.
9367 (rx): Document it.
9368
ddb8b596
CY
9369 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9370 (Bug#8768).
9371
9372 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9373
77080289
CY
9374 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9375
61dfb316
CY
9376 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9377 anytime existing face settings are present (Bug#8889).
9378
6d10d800
CY
9379 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9380 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9381 Remove unused argument.
9382
be3fb2b8
MR
93832011-06-18 Martin Rudalics <rudalics@gmx.at>
9384
bcd70d97
SM
9385 * window.el (display-buffer-default-specifiers):
9386 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9387 pop-up-window-min-width, and another reuse-window specifier
9388 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9389 (display-buffer-normalize-specifiers-2):
9390 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9391 pop-up-windows is unset. Add a reuse-window specifier for the
9392 case popping up a new window fails.
9393 (special-display-popup-frame): Remove double quoting.
28dec25a 9394 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9395
1c6d8c76
SM
93962011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9399 according to comint-completion-addsuffix.
9400
9401 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9402 (pcomplete-suffix-list): Mark as obsolete.
9403 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9404 pcomplete-seen in the closure.
9405 (pcomplete-comint-setup): Setup completion-at-point as well.
9406 (pcomplete--entries): New function.
9407 (pcomplete--env-regexp): New var.
9408 (pcomplete-entries): Rewrite to work with partial-completion and
9409 without relying on pcomplete-suffix-list.
9410 (pcomplete-pare-list): Remove, unused.
9411
25aef8b8
MR
94122011-06-17 Martin Rudalics <rudalics@gmx.at>
9413
9414 * window.el (display-buffer-alist): Set pop-up-window-min-height
9415 and pop-up-window-min-width in default value. Reported by
9416 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9417 other-window-means-other-frame.
9418 (display-buffer-macro-specifiers): Comment out entry for
9419 other-window specifier.
9420 (display-buffer-other-window-means-other-frame): New function.
9421 (display-buffer-normalize-specifiers-1): New arguments
9422 buffer-name and label. Treat other-window case specially.
9423 (display-buffer-normalize-specifiers-2): Treat other-window case
9424 specially.
9425 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9426 (display-buffer-normalize-specifiers):
9427 Call display-buffer-normalize-specifiers-3.
25aef8b8 9428
dbad4f69
MR
94292011-06-17 Martin Rudalics <rudalics@gmx.at>
9430
9431 * window.el (same-window-p): Fix two typos introduced when
9432 adding with-no-warnings.
d1067961
MR
9433 (display-buffer-normalize-specifiers-1): Don't check
9434 pop-up-frames for 'unset initialization.
9435 (display-buffer-normalize-specifiers-2): Major rewrite using
9436 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9437 (pop-up-frames, display-buffer-reuse-frames)
9438 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9439 Suggested by David Engster <deng@randomsample.de>.
9440 (even-window-heights): Initialize to 'unset.
9441 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9442 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9443 other window case.
dbad4f69 9444
9b9c9e3a
MR
94452011-06-16 Martin Rudalics <rudalics@gmx.at>
9446
bcd70d97
SM
9447 * window.el (display-buffer-normalize-specifiers-1):
9448 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9449 second argument of display-buffer (Bug#8865).
981d5c09
MR
9450 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9451 (switch-to-buffer-other-window-same-frame)
9452 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9453 Adams (Bug#8875).
9c2755e9
MR
9454 (display-buffer): Don't check noninteractive when calling
9455 display-buffer-pop-up-frame.
9456 (display-buffer-pop-up-frame): Never pop up a frame in
9457 noninteractive mode (Bug#8857).
67222e1d
MR
9458 (enlarge-window, shrink-window): Don't report an error when the
9459 window can't be resized as requested (Bug#8862).
9b9c9e3a 9460
2b75be67
SM
94612011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9ffdd3ba
SM
9463 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9464
cb581a67
SM
9465 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9466
2b75be67
SM
9467 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9468
8c0e3589
AM
94692011-06-15 Alan Mackenzie <acm@muc.de>
9470
cb581a67
SM
9471 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9472 for declarators, disable knr checking to speed up for normal files.
9473 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9474
b96e6cde
LMI
94752011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9476
4bba86e6
LMI
9477 * net/network-stream.el (open-network-stream): Add the keyword
9478 :always-query-capabilities for the case where you want to force a
9479 `plain' network connection, but the protocol still requires the
9480 capabilitiy command (i.e., SMTP and EHLO).
9481
2b75be67 9482 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9483 consistency with other `-live-p' functions.
9484
efdcdbf8
SM
94852011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * window.el (same-window-buffer-names, same-window-regexps)
9488 (special-display-frame-alist, special-display-popup-frame)
9489 (special-display-function, special-display-buffer-names)
9490 (special-display-regexps, pop-up-frame-alist)
9491 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9492 (pop-up-windows, split-window-preferred-function)
9493 (split-height-threshold, split-width-threshold, even-window-heights)
9494 (display-buffer-mark-dedicated): Don't encourage the use of
9495 display-buffer-alist from Elisp code.
9496
c5cde042
DN
94972011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9498
9499 * progmodes/python.el (python-mode): Derive from prog-mode.
9500 * progmodes/ps-mode.el (ps-mode):
9501 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9502 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9503 * progmodes/ld-script.el (ld-script-mode): Likewise.
9504
baa1c9ab
MR
95052011-06-15 Martin Rudalics <rudalics@gmx.at>
9506
9507 * window.el (display-buffer-alist): Trim default value to avoid
9508 popping up a new frame (Bug#8857) or reusing an arbitrary window
9509 on another frame.
9510 (display-buffer): Do not fall back on popping up a new frame in
9511 batch mode (Bug#8857).
9512
c5dd5a51
CY
95132011-06-14 Chong Yidong <cyd@stupidchicken.com>
9514
9515 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9516 (custom-theme-summary): New function.
9517 (customize-themes): Use it.
9518
d647b7c4
GM
95192011-06-13 Glenn Morris <rgm@gnu.org>
9520
9521 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9522
9481c002
MR
95232011-06-13 Martin Rudalics <rudalics@gmx.at>
9524
357f93d2
MR
9525 * help.el (help-window): Remove variable.
9526 (help-window-point-marker, temp-buffer-max-height)
9527 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9528 (help-print-return-message): Don't set help-window.
9529 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9530 (help-window-setup-finish): Remove.
9531 (help-window-display-message, help-window-setup)
9532 (with-help-window): Major rewrite based on new
9533 display-buffer-window variable.
9534
9535 * help-mode.el (help-mode-finish): Remove help-window related
9536 code.
9537
9538 * view.el (view-exits-all-viewing-windows): Remove reference to
9539 view-return-to-alist in doc-string.
9540 (view-return-to-alist): Make obsolete.
9541 (view-buffer): Call pop-to-buffer-same-window and remove
9542 undo-window code.
9543 (view-buffer-other-window): Call pop-to-buffer-other-window and
9544 simplify code. Ignore second argument.
9545 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9546 simplify code. Ignore second argument.
9547 (view-return-to-alist-update): Make obsolete.
9548 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9549 Rewrite using quit-restore window parameters.
2b75be67
SM
9550 (view-mode-exit): Rename second argument to EXIT-ONLY.
9551 Rewrite using quit-restore-window.
357f93d2
MR
9552 (View-exit, View-exit-and-edit, View-leave, View-quit)
9553 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9554 appropriate arguments.
9555 (view-end-message): Use quit-restore window parameter.
9556
9481c002
MR
9557 * window.el (display-buffer-function): Rewrite doc-string.
9558 (display-buffer-window, display-buffer-alist): New variables.
9559 (display-buffer-split-specifiers)
9560 (display-buffer-side-specifiers)
9561 (display-buffer-macro-specifiers): New constants.
9562 (display-buffer-even-window-sizes, display-buffer-set-height)
9563 (display-buffer-set-width, display-buffer-select-window)
9564 (display-buffer-in-window, display-buffer-reuse-window)
9565 (display-buffer-split-window-1, display-buffer-split-window)
9566 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9567 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9568 (display-buffer-in-side-window, normalize-buffer-to-display)
9569 (display-buffer-normalize-specifiers-1)
9570 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9571 (display-buffer-normalize-specifiers, display-buffer-frame):
9572 New functions.
9481c002
MR
9573 (display-buffer): Major rewrite.
9574 (display-buffer-other-window, display-buffer-other-frame)
9575 (pop-to-buffer, switch-to-buffer-other-window)
9576 (switch-to-buffer-other-frame): Rewrite.
9577 (display-buffer-same-window, display-buffer-same-frame)
9578 (display-buffer-same-frame-other-window)
9579 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9580 (pop-to-buffer-other-window)
9581 (pop-to-buffer-same-frame-other-window)
9582 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9583 (switch-to-buffer-other-window-same-frame): New functions.
9584 (same-window-p, special-display-p): Rewrite disabling warnings.
9585 Make obsolete.
9586 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9587 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9588 Make obsolete
9589 (same-window-buffer-names, same-window-regexps)
9590 (special-display-frame-alist, special-display-popup-frame)
9591 (special-display-function, special-display-buffer-names)
9592 (special-display-regexps, pop-up-frame-alist)
9593 (pop-up-frame-function, split-window-preferred-function)
9594 (split-height-threshold, split-width-threshold)
9595 (even-window-heights): Make obsolete.
9596
9db51aca
GM
95972011-06-12 Glenn Morris <rgm@gnu.org>
9598
9599 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9600 Misc simplifications.
9db51aca 9601
39cffb44
MR
96022011-06-12 Martin Rudalics <rudalics@gmx.at>
9603
9604 * window.el (window-safely-shrinkable-p): Restore function which
9605 was inadvertently removed in change from 2011-06-11. Declare as
9606 obsolete.
9607
2b75be67
SM
9608 * calendar/calendar.el (calendar-generate-window):
9609 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9610 window-safely-shrinkable-p.
9611
a8955be7
GM
96122011-06-12 Glenn Morris <rgm@gnu.org>
9613
9614 * progmodes/fortran.el (fortran-mode-syntax-table):
9615 * progmodes/f90.el (f90-mode-syntax-table):
9616 Set % to punctuation. (Bug#8820)
9617 (f90-find-tag-default): Remove, no longer needed.
9618
f0d4059d
DC
96192011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9620
9621 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9622
1100a63c
CY
96232011-06-11 Chong Yidong <cyd@stupidchicken.com>
9624
9625 * image.el (image-animated-p): Return animation delay in seconds.
9626 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9627 (image-animate-timeout): Remove DELAY argument. Don't assume
9628 every subimage has the same delay; get it from image-animated-p.
9629 (image-animate): Caller changed.
9630
def722bf
MA
96312011-06-11 Michael Albinus <michael.albinus@gmx.de>
9632
9633 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9634 to ignored backtrace functions.
9635
0a2bb1a9
GM
96362011-06-11 Glenn Morris <rgm@gnu.org>
9637
9638 * calendar/appt.el (appt-disp-window-function): Doc fix.
9639 (appt-check): Handle overlapping appointments. (Bug#8337)
9640
6198ccd0
MR
96412011-06-11 Martin Rudalics <rudalics@gmx.at>
9642
9643 * window.el (window-tree-1, window-tree): New functions, moving
9644 the latter to window.el.
9645 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9646 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9647 (bw-refresh-edges): Remove.
9648 (balance-windows-1, balance-windows-2): New functions.
9649 (balance-windows): Rewrite in terms of window tree functions,
9650 balance-windows-1 and balance-windows-2.
9651 (bw-adjust-window): Remove.
9652 (balance-windows-area-adjust): New function with functionality of
9653 bw-adjust-window but using resize-window.
2b75be67
SM
9654 (set-window-text-height): Rewrite doc-string.
9655 Use normalize-live-window and resize-window.
9656 (enlarge-window-horizontally, shrink-window-horizontally):
9657 Rename argument to DELTA.
6198ccd0
MR
9658 (window-buffer-height): New function.
9659 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9660 Rewrite using new window resize routines.
2b75be67
SM
9661 (kill-buffer-and-window, mouse-autoselect-window-select):
9662 Use ignore-errors instead of condition-case.
6198ccd0
MR
9663 (quit-window): Call delete-frame instead of delete-windows-on
9664 for the only buffer on frame.
9665
9397e56f
MR
96662011-06-10 Martin Rudalics <rudalics@gmx.at>
9667
9668 * loadup.el (top-level): Load window before files for the sake
9669 of replace-buffer-in-windows.
9670
9671 * files.el (read-buffer-to-switch)
9672 (switch-to-buffer-other-window)
2b75be67
SM
9673 (switch-to-buffer-other-frame, display-buffer-other-frame):
9674 Move to window.el.
9397e56f
MR
9675
9676 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9677 (previous-buffer): Move to window.el.
9678
9679 * bindings.el (unbury-buffer): Move to window.el.
9680
9681 * window.el (delete-other-windows-vertically): Move after
9682 definition of delete-other-windows.
9683 (other-window, delete-windows-on, replace-buffer-in-windows):
9684 Move here from window.c.
9685 (record-window-buffer, unrecord-window-buffer)
9686 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9687 (switch-to-next-buffer): New functions.
9688 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9689 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9690 (previous-buffer): Move here from simple.el.
9691 Call switch-to-prev-buffer.
9397e56f
MR
9692 (bury-buffer): Move here from buffer.c. Switch to previous
9693 buffer when window cannot be deleted.
9694 (unbury-buffer): Move here from bindings.el.
9695 (ctl-x-map): Move binding for other-window from window.c to
9696 here.
9697 (read-buffer-to-switch, switch-to-buffer-other-window)
9698 (switch-to-buffer-other-frame): Move here from files.el.
9699 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9700 (switch-to-buffer): Move here from buffer.c.
9701 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9702
562dd5e9
MR
97032011-06-10 Martin Rudalics <rudalics@gmx.at>
9704
9705 * window.el (window-min-height, window-min-width): Move here
9706 from window.c. Add defcustoms and rewrite doc-strings.
9707 (resize-mini-window, resize-window): New functions.
9708 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9709 Move here from window.c.
9710 (maximize-window, minimize-window): New functions.
9711 (delete-window, delete-other-windows, split-window): Move here
9712 from window.c.
9713 (window-split-min-size): New function.
9714 (split-window-keep-point): Mention split-window-above-each-other
9715 instead of split-window-vertically.
2b75be67 9716 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9717 Rename split-window-vertically to split-window-above-each-other
9718 and provide defalias for old definition.
9719 (split-window-side-by-side, split-window-horizontally):
9720 Rename split-window-horizontally to split-window-side-by-side
9721 and provide defalias for the old definition.
562dd5e9
MR
9722 (ctl-x-map): Move bindings for delete-window,
9723 delete-other-windows and enlarge-window here from window.c.
9724 Replace bindings for split-window-vertically and
9725 split-window-horizontally by bindings for
9726 split-window-above-each-other and split-window-side-by-side.
9727
9728 * cus-start.el (all): Remove entries for window-min-height and
9729 window-min-width. Add entries for window-splits and
9730 window-nest.
9731
f0da764a
GM
97322011-06-09 Glenn Morris <rgm@gnu.org>
9733
80675c21
GM
9734 * calendar/appt.el (appt-mode-line): New function.
9735 (appt-check, appt-disp-window): Use it.
9736
f0da764a
GM
9737 * files.el (hack-one-local-variable-eval-safep):
9738 Allow minor-modes with explicit +/-1 arguments.
9739
59f623b7
TZ
97402011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9741
9742 * term/xterm.el (xterm): Add defgroup.
9743 (xterm-extra-capabilities): Add defcustom to supply known xterm
9744 capabilities, skip querying them, or query them (default).
9745 (terminal-init-xterm): Use it.
9746 (terminal-init-xterm-modify-other-keys): New function to set up
9747 modifyOtherKeys support to simplify `terminal-init-xterm'.
9748
9aab8e0d
MR
97492011-06-09 Martin Rudalics <rudalics@gmx.at>
9750
9751 * window.el (resize-window-reset, resize-window-reset-1)
9752 (resize-subwindows-skip-p, resize-subwindows-normal)
9753 (resize-subwindows, resize-other-windows, resize-this-window)
9754 (resize-root-window, resize-root-window-vertically)
9755 (window-deletable-p, window-or-subwindow-p)
9756 (frame-root-window-p): New functions.
9757
e8b08aee
GM
97582011-06-09 Glenn Morris <rgm@gnu.org>
9759
9760 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9761 (ange-ftp-get-files): Use it.
9762
254c37a5
AK
97632011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9764
9765 * mail/sendmail.el (mail-recover-1, mail-recover):
9766 * files.el (recover-file, recover-session):
9767 Handle dired-listing-switches not being just a single short option.
9768
35d7dbd3
GM
97692011-06-09 Glenn Morris <rgm@gnu.org>
9770
9771 * calendar/appt.el (appt-display-message, appt-disp-window):
9772 Handle lists of appointments.
9773
387522b2
MR
97742011-06-08 Martin Rudalics <rudalics@gmx.at>
9775
2b75be67
SM
9776 * window.el (one-window-p): Move down in code.
9777 Rewrite doc-string.
9778 (window-current-scroll-bars): Rewrite doc-string.
9779 Normalize live window argument.
387522b2
MR
9780 (walk-windows, get-window-with-predicate, count-windows):
9781 Rewrite doc-string. Use window-list-1.
9782 (window-in-direction-2, window-in-direction, get-mru-window):
9783 New functions.
9784
d8e4b68b 97852011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9786
9787 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9788 Doc fix (Bug#8713).
9789
97902011-06-08 Chong Yidong <cyd@stupidchicken.com>
9791
9792 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9793
97942011-06-08 Juanma Barranquero <lekktu@gmail.com>
9795
9796 * loadhist.el (unload-feature-special-hooks):
9797 Add `comint-output-filter-functions'.
9798
0de12c52
IK
97992011-06-08 Ivan Kanis <gnu@kanis.fr>
9800
9801 * calendar/appt.el (appt-check): Move some initializations into the let.
9802
f3d1777e
MR
98032011-06-08 Martin Rudalics <rudalics@gmx.at>
9804
9805 * window.el (window-height): Defalias to window-total-height.
9806 (window-width): Defalias to window-body-width.
9807
18af70d0
CY
98082011-06-07 Chong Yidong <cyd@stupidchicken.com>
9809
9810 * image-mode.el (image-toggle-animation): New command.
9811 (image-mode-map): Bind it to RET.
9812 (image-mode): Update message.
9813 (image-toggle-display-image): Avoid a spurious cache flush.
9814 (image-transform-rotation): Doc fix.
9815 (image-transform-properties): Return quickly in the normal case.
9816 (image-animate-loop): Rename from image-animate-max-time.
9817
2b75be67 9818 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9819 (create-animated-image): Remove unnecessary function.
9820 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9821 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9822 (image-animate-timer): Use car-safe.
9823 (image-animate-timeout): Rename argument.
9824
190b47e6
MR
98252011-06-07 Martin Rudalics <rudalics@gmx.at>
9826
9827 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9828 window.c. Rename first argument to ALL-FRAMES.
9829 Rephrase doc-strings.
9830 (get-buffer-window-list): Rewrite using window-list-1.
9831 Rephrase doc-string.
a1511caf
MR
9832 (window-safe-min-height, window-safe-min-width): New constants.
9833 (window-size-ignore, window-min-size, window-min-size-1)
9834 (window-sizable, window-sizable-p, window-size-fixed-1)
9835 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9836 (window-max-delta-1, window-max-delta, window-resizable)
9837 (window-resizable-p, window-total-height, window-total-width)
9838 (window-body-width): New functions.
9839 (window-full-height-p, window-full-width-p): Rewrite using
9840 window-total-size.
9841 (window-body-height): Rewrite using window-body-size.
190b47e6 9842
85cc1f11
MR
98432011-06-06 Martin Rudalics <rudalics@gmx.at>
9844
9845 * window.el (window-right, window-left, window-child)
9846 (window-child-count, window-last-child, window-any-p)
9847 (normalize-live-buffer, normalize-live-frame)
9848 (normalize-any-window, normalize-live-window)
9849 (window-iso-combination-p, window-iso-combined-p)
9850 (window-iso-combinations)
9851 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9852 (windows-with-parameter, window-with-parameter)
9853 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9854 (window-atom-check, window-side-check, window-check):
9855 New functions.
85cc1f11
MR
9856 (ignore-window-parameters, window-sides, window-sides-vertical)
9857 (window-sides-slots): New variables.
9858 (window-size-fixed): Move down in code. Minor doc-string fix.
9859
e7156492
AS
98602011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9861
9862 * comint.el (comint-dynamic-complete-as-filename)
9863 (comint-dynamic-complete-filename): Correctly call
9864 completion-in-region.
9865
7e821d0d
DD
98662011-06-05 Deniz Dogan <deniz@dogan.se>
9867
9868 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9869 in last change.
9870
ac09b8a1
DD
98712011-06-05 Deniz Dogan <deniz@dogan.se>
9872
9873 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9874 (rcirc): Use it to prompt for encryption.
9875
34699b85
RW
98762011-06-05 Roland Winkler <winkler@gnu.org>
9877
9878 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9879 (bibtex-search-entries): New command bound to C-c C-a.
9880 (bibtex-display-entries): New function.
9881
004dedd3
RW
98822011-06-05 Roland Winkler <winkler@gnu.org>
9883
9884 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9885 (bibtex-insert-kill): After yanking insert newline if necessary.
9886 (bibtex-initialize): Call bibtex-string-files-init only once.
9887 (bibtex-mode): Do not call easy-menu-add.
9888 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9889 (bibtex-yank): Set arg properly if nil.
9890
022fe7ce
RW
98912011-06-05 Roland Winkler <winkler@gnu.org>
9892
2b75be67
SM
9893 * textmodes/bibtex.el (bibtex-search-entry-globally):
9894 New variable.
022fe7ce
RW
9895 (bibtex-search-entry): Use it.
9896
b7c3692a
RW
98972011-06-05 Roland Winkler <winkler@gnu.org>
9898
9899 * textmodes/bibtex.el (bibtex-entry-format): New option
9900 sort-fields.
9901 (bibtex-format-entry, bibtex-reformat): Honor this option.
9902 (bibtex-parse-entry): Return fields in proper order.
9903
8eda563d
JB
99042011-06-05 Juanma Barranquero <lekktu@gmail.com>
9905
9906 * doc-view.el (doc-view-remove-if): Move computation of result out
9907 of `dolist' to silence misleading lexical-binding warning.
9908
7dbe3dbc
CY
99092011-06-04 Chong Yidong <cyd@stupidchicken.com>
9910
9911 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9912 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9913
0c33dd17
MA
99142011-06-04 Michael Albinus <michael.albinus@gmx.de>
9915
9916 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9917 "SunOS 5.10".
9918
f8f91c2b
MA
99192011-06-04 Michael Albinus <michael.albinus@gmx.de>
9920
9921 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9922 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9923 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9924 (tramp-parse-putty):
9925 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9926 (tramp-completion-function-alist-ssh)
9927 (tramp-completion-function-alist-telnet)
9928 (tramp-completion-function-alist-su)
9929 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9930 cookie.
9931
9932 * net/tramp-ftp.el:
9933 * net/tramp-sh.el:
9934 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9935 load "tramp.el" `tramp-set-completion-function'.
9936
e17d9003
SM
99372011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * shell.el: Require and use pcomplete.
9940 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9941 (shell-completion-vars): Set pcomplete-default-completion-function.
9942
6c4cab03
DD
99432011-06-04 Deniz Dogan <deniz@dogan.se>
9944
9945 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9946 `memq' (Bug#8799).
9947
ea9fafe0
SM
99482011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9951
b3e945d3
JB
99522011-06-02 Juanma Barranquero <lekktu@gmail.com>
9953
9954 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9955 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9956 * vc/log-view.el (log-view-beginning-of-defun):
9957 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9958 (smerge-refine-forward, smerge-refine-chopup-region):
9959 Silence warning for unused `dotimes' counter variables.
9960
7d520089
SM
99612011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * net/tramp.el (tramp-with-progress-reporter): Rename from
9964 with-progress-reporter. Use `declare'.
9965 * net/tramp-smb.el:
9966 * net/tramp-sh.el:
9967 * net/tramp-gvfs.el: Update all uses.
9968
a1c2400f
JB
99692011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9970
9971 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9972 buffer isn't killed before making it current.
9973
2403c841
SM
99742011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 Silence various byte-compiler warnings.
9977 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9978 `access-type' and new obsolescence format.
9979 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9980 new format.
9981 (byte-compile-check-variable): New `access-type' argument.
9982 Only warn if the access-type is obsolete.
9983 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9984 (byte-compile-variable-set): Adjust callers.
9985 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9986 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9987 setting it as obsolete.
9988 * simple.el (minibuffer-completing-symbol):
9989 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9990 access as obsolete.
9991 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9992 obsolete yet.
9993 * international/quail.el (quail-mouse-choose-completion): Remove unused
9994 code referring to obsolete var.
9995 (quail-choose-completion-string): Remove.
9996 * server.el (server-clients-with, server-kill-buffer-query-function)
9997 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9998 * proced.el (proced-send-signal):
9999 * emacs-lisp/lisp.el (lisp-complete-symbol):
10000 Replace completion-annotate-function with completion-extra-properties.
10001
2462470b
SM
100022011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10003
fb5b2591
SM
10004 * simple.el (goto-line): Use read-number.
10005 (overriding-map-is-bound): Remove.
10006 (saved-overriding-map): Change default.
10007 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10008 Take the map as argument.
10009 (universal-argument, negative-argument, digit-argument): Use it.
10010 (restore-overriding-map): Adjust.
10011 (do-auto-fill): Use fill-forward-paragraph.
10012 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10013
fd6fa53f
SM
10014 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10015 (minibuffer-inactive-mode): New major mode.
10016 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10017 the *Messages* buffer" hack.
10018 (mouse-popup-menubar): Don't burp if the event is a normal key.
10019
2462470b
SM
10020 Miscellaneous tweaks.
10021 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10022 lexical scoping as in subr.el's dolist and dotimes.
10023 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10024 Silence compiler warning.
10025 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10026 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10027 * international/ccl.el (ccl-compile): Trivial simplification.
10028 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10029 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10030 `printflag' argument.
10031 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10032 Purecopy the whole obsolescence data.
10033
108bf785
LL
100342011-06-01 Leo Liu <sdl.web@gmail.com>
10035
10036 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10037 improve doc-string as suggested by Marco Pessotto
10038 <melmothx@gmail.com>.
10039 (rcirc-print): Fix last change.
10040
30a23501
SM
100412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 * minibuffer.el (complete-with-action): Return nil for the metadata and
10044 boundaries of non-functional tables.
10045 (completion-table-dynamic): Return nil for the metadata.
10046 (completion-table-with-terminator): Add default case, using
10047 complete-with-action.
10048 (completion--metadata): New function.
10049 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10050 to try and avoid pathological performance problems.
10051 (completion--embedded-envvar-table): Return `category' metadata.
10052
bcd54f83
LMI
100532011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10054
10055 * subr.el (process-alive-p): New tiny convenience function.
10056
e227544d
SM
100572011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10060 content but also its previous major mode.
10061
e8296fdc
HE
100622011-05-31 Helmut Eller <eller.helmut@gmail.com>
10063
4d61f28d 10064 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10065 *Backtrace* buffer when we exit with C-M-c.
10066
620c53a6
SM
100672011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10068
10069 * minibuffer.el: Add metadata method to completion tables.
10070 (completion-category-overrides): New defcustom.
10071 (completion-metadata, completion--field-metadata)
10072 (completion-metadata-get, completion--styles)
10073 (completion--cycle-threshold): New functions.
10074 (completion-try-completion, completion-all-completions):
10075 Add `metadata' argument to choose completion-styles.
10076 (completion--do-completion): Use metadata to choose cycling.
10077 (completion-all-sorted-completions): Use metadata for sorting.
10078 Remove :completion-cycle-penalty which is not needed any more.
10079 (completion--try-word-completion): Add `metadata' argument.
10080 (minibuffer-completion-help): Check metadata for annotation function
10081 and sorting.
10082 (completion-file-name-table): Return `category' metadata.
10083 (minibuffer-completing-file-name): Make obsolete.
10084 * simple.el (minibuffer-completing-symbol): Make obsolete.
10085 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10086 completion-try-completion.
10087
1257e755
SM
100882011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10089
10090 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10091
3767e706
LL
100922011-05-30 Leo Liu <sdl.web@gmail.com>
10093
10094 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10095 (rcirc-print): Decode all incoming messages (bug#8744).
10096 (rcirc-decode-coding-system): Allow value nil for automatic coding
10097 system detection.
3767e706 10098
d1a5d56a
GM
100992011-06-01 Glenn Morris <rgm@gnu.org>
10100
10101 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10102
e8cbec34
CY
101032011-05-29 Chong Yidong <cyd@stupidchicken.com>
10104
10105 * image.el (image-animate-max-time): Allow nil and t values.
10106 Default to nil.
10107 (create-animated-image): Doc fix.
10108 (image-animate-start): Remove second arg; just use
10109 image-animate-max-time.
10110 (image-animate-timeout): Doc fix. Args changed.
10111
10112 * image-mode.el (image-toggle-display-image): Ensure that the
10113 image spec passed to the animate timer is the same object as in
58179cce 10114 the buffer's display property (Bug#6981).
e8cbec34
CY
10115 (image-transform-properties): Doc fix.
10116
10117 * image.el (image-animate-max-time): Default to nil.
10118
159daf87
MR
101192011-05-29 Martin Rudalics <rudalics@gmx.at>
10120
10121 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10122 entire buffer list (Bug#8184).
10123
d66c4c7c
CY
101242011-05-29 Chong Yidong <cyd@stupidchicken.com>
10125
10126 * image.el (imagemagick-types-inhibit)
10127 (imagemagick-register-types): Doc fix.
10128
80aec780
DD
101292011-05-29 Deniz Dogan <deniz@dogan.se>
10130
10131 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10132 default.
10133
1dd3c2d9
CY
101342011-05-29 Chong Yidong <cyd@stupidchicken.com>
10135
10136 * select.el: Don't perform clipboard-manager saving in hooks;
10137 leave the hooks empty.
10138
60e56523
LL
101392011-05-28 Leo Liu <sdl.web@gmail.com>
10140
10141 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10142 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10143 (occur-edit-mode): New major mode (Bug#8463).
10144 (occur-after-change-function): New function.
10145 (occur-engine): Give Occur tags a read-only property.
10146
2b1e1a22
KR
101472011-05-28 Kevin Ryde <user42@zip.com.au>
10148
10149 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10150
5d344e88
CY
101512011-05-28 Chong Yidong <cyd@stupidchicken.com>
10152
8e6ca83d
CY
10153 * bindings.el (help-echo): Make the initial non-indicator dash
10154 empty on graphical terminals (Bug#7295).
10155
5d344e88
CY
10156 * files.el (auto-mode-alist): Move config rule after the
10157 in-stripping one (Bug#8547).
10158
bfbbace7
CY
10159 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10160
fbeba6e2
CY
10161 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10162 setting (Bug#8740).
10163
60ed8c72
AA
101642011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10165
4ac619f0
AA
10166 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10167 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10168 (Bug#8539).
60ed8c72 10169
23db196e
CY
101702011-05-28 Chong Yidong <cyd@stupidchicken.com>
10171
10172 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10173
5012f24c
DK
101742011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10175
10176 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10177 (hs-hide-block-at-point, hs-find-block-beginning)
10178 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10179 (Bug#8279).
10180
6a639b16
GM
101812011-05-28 Glenn Morris <rgm@gnu.org>
10182
10183 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10184
d43eaf2c
CY
101852011-05-28 Chong Yidong <cyd@stupidchicken.com>
10186
5199bde1
CY
10187 * help-fns.el (describe-function-1): If the function is a derived
10188 major mode, print the parent mode.
10189
d43eaf2c
CY
10190 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10191 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10192
423428a8
SM
101932011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10194
0ff8e1ba 10195 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10196 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10197 * progmodes/etags.el (tags-completion-at-point-function):
10198 * info-look.el (info-lookup-completions-at-point): Mark as
10199 non-exclusive.
10200 (info-complete): Adjust accordingly.
10201
423428a8
SM
10202 * info-look.el: Convert to lexical-binding and completion-at-point.
10203 (info-lookup-completions-at-point): New function.
10204 (info-complete): Use it and completion-in-region.
10205
b74aa22b
DA
102062011-05-28 Drew Adams <drew.adams@oracle.com>
10207
10208 * isearch.el: Let M-e start with point at the first mismatched char.
10209 (isearch-fail-pos): New function.
10210 (isearch-edit-string): Use it.
10211
66e2e71d
DK
102122011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10213
10214 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10215
b1890b0f 102162011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10217
10218 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10219 traversal functions for avl-trees.
10220 (avl-tree--stack): New struct.
10221 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10222 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10223 (avl-tree--do-enter): Add optional `updatefun' arg.
10224 Change return value.
eb95d01d 10225 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10226 (avl-tree--do-delete): Add `test' and `nilflag' args.
10227 Change return value.
eb95d01d
TC
10228 (avl-tree-member): Add optional `nilflag'
10229 (avl-tree-member-p): New function.
10230 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10231 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10232 (avl-tree-stack-empty-p): New functions.
10233
3769ddcf
TC
10234 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10235 avl-tree--del-balance1 and make it work both ways.
10236 (avl-tree--del-balance2): Remove.
10237 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10238 make it work both ways.
10239 (avl-tree--enter-balance2): Remove.
10240 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10241 New macros.
10242 (avl-tree--mapc, avl-tree-map): Add direction argument.
10243
eb95d01d 102442011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10245
10246 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10247
a9f737ee
CY
102482011-05-27 Chong Yidong <cyd@stupidchicken.com>
10249
10250 * select.el: Support clipboard managers with built-in function
10251 x-clipboard-manager-save, via delete-frame-functions and
10252 kill-emacs-hook.
10253 (xselect-convert-to-targets): Add MULTIPLE target to list.
10254 (xselect-convert-to-save-targets): New function.
10255
c92a1e54
KH
102562011-05-27 Kenichi Handa <handa@m17n.org>
10257
10258 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10259 let-binding rfc2047-encode-encoded-words to nil.
10260
e145f188
GM
102612011-05-27 Glenn Morris <rgm@gnu.org>
10262
5ec8a862
GM
10263 * mail/emacsbug.el: Don't require url-util.
10264
4b29d9fb
GM
10265 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10266
e145f188
GM
10267 * files.el (set-auto-mode):
10268 Also respect mode: entries at the end of the file. (Bug#8586)
10269
7d15102b
GM
102702011-05-26 Glenn Morris <rgm@gnu.org>
10271
98f593b8
GM
10272 * files.el (hack-local-variables-prop-line, hack-local-variables):
10273 Downcase mode names, as seems to be traditional.
27b48e63 10274 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10275
7d15102b
GM
10276 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10277 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10278
51d5b4ec
JD
102792011-05-25 Julien Danjou <julien@danjou.info>
10280
10281 * textmodes/rst.el (rst-define-level-faces): Do not define face
10282 symbol if it is already defined.
10283
91513f63
VB
102842011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10285
10286 * play/5x5.el (5x5-new-game, 5x5-randomize):
10287 Reset 5x5-solver-output to nil when a new grid is cast.
10288 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10289 these debugging traces, as defmacro breaks the compiled code.
10290
4d90d6d0
DK
102912011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10292
10293 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10294
e1b90ef6
LL
102952011-05-24 Leo Liu <sdl.web@gmail.com>
10296
10297 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10298 (vc-bzr-sha1): Adapt.
10299
d8e4b68b 10300 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10301
10302 * bindings.el: Provide sha1 feature.
10303
db0406bb 103042011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10305
10306 * mail/sendmail.el: Require `rfc2047'.
10307 (mail-insert-from-field): Do not perform RFC2047 encoding.
10308 (mail-encode-header): New function.
10309 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10310 buffer to the return value of select-message-coding-system.
10311 Call mail-encode-header.
b8d747b9
KH
10312
10313 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10314
db0406bb 103152011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10316
4d90d6d0
DK
10317 * mail/supercite.el (sc-default-cite-frame):
10318 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10319
eb8a5e9b
GM
103202011-05-24 Glenn Morris <rgm@gnu.org>
10321
f8630703
GM
10322 * progmodes/python.el (brm-menu): Declare.
10323
8831bbed
GM
10324 * emulation/viper.el (viper-set-hooks): Declare.
10325
eb8a5e9b
GM
10326 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10327 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10328 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10329 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10330 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10331 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10332
a2a25d24
SM
103332011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 Add an :exit-function for completion-at-point.
10336
10337 * minibuffer.el (completion--done): New fun.
10338 (completion--do-completion): Use it. New arg `expect-exact'.
10339 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10340 since completion--do-completion does it for us now.
10341 (minibuffer-force-complete): Use completion--done and
10342 completion--replace. Handle sole-completion case with more care.
10343 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10344 (completion-extra-properties): New var.
10345 (completion-annotate-function): Make obsolete.
10346 (minibuffer-completion-help): Adjust accordingly.
10347 Use completion-list-insert-choice-function.
10348 (completion-at-point, completion-help-at-point):
10349 Bind completion-extra-properties.
10350 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10351 * simple.el (completion-list-insert-choice-function): New var.
10352 (completion-setup-function): Preserve it.
10353 (choose-completion): Pay attention to it, shuffle the code a bit.
10354 (choose-completion-string): New arg `insert-function'.
10355
10356 * textmodes/bibtex.el: Convert to lexical binding.
10357 (bibtex-mode-map): Use completion-at-point.
10358 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10359 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10360 (bibtex-complete): Define as obsolete alias.
10361 (bibtex-complete-internal): Remove.
10362 (bibtex-format-entry): Remove unused sub-group in regexp.
10363 * shell.el (shell--command-completion-data)
10364 (shell-environment-variable-completion):
10365 * pcomplete.el (pcomplete-completions-at-point):
10366 * comint.el (comint--complete-file-name-data): Use :exit-function
10367 instead of completion-table-with-terminator so it also works for
10368 choose-completion.
10369
e44e373d
SM
103702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10371
4f91a816
SM
10372 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10373
782fc819
SM
10374 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10375 (bug#8710).
10376
e44e373d
SM
10377 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10378
381987c3
KM
103792011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10380
10381 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10382 customization variable and implement: If non-nil, auto-fill will
10383 be inhibited while on topic's header line.
10384
b776bc70
VB
103852011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10386
10387 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10388 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10389 always have a solution in grid size = 5 cases.
10390 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10391 (5x5-solver-output, 5x5-log-buffer): New vars.
10392 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10393 Make these variables buffer local to achieve 5x5 multi-session-ness.
10394 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10395 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10396 (5x5-solve-suggest): New funs.
10397 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10398 randomize a grid so that we ensure that there is always a solution.
10399 (5x5-make-random-grid): Allow other movement than flipping.
10400
7de88b6e
KR
104012011-05-23 Kevin Ryde <user42@zip.com.au>
10402
10403 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10404 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10405 advice and passes PREDICATE.
10406
b1ef1257
SM
104072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10408
bbca48fe
SM
10409 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10410 byte-compile-lambda if it's actually a lambda.
10411
b1ef1257
SM
10412 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10413 Fix function quoting. Use backquote better.
10414
92a9cc65
YS
104152011-05-22 Yuanle Song <sylecn@gmail.com>
10416
10417 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10418 matching (Bug#8516).
10419
f0fb8059
JA
104202011-01-22 Jari Aalto <jari.aalto@cante.net>
10421
10422 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10423 different face (Bug#8178).
10424
d5b44c93
CY
104252011-05-22 Chong Yidong <cyd@stupidchicken.com>
10426
10427 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10428 defface (Bug#8144).
10429
79106a44
SM
104302011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10431
9c848d8a
SM
10432 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10433 funcall as well (bug#8712). Warn when performing those conversions.
10434 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10435
79106a44
SM
10436 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10437
88dfa756
GM
104382011-05-22 Glenn Morris <rgm@gnu.org>
10439
10440 * files.el (hack-local-variables-prop-line): Small simplifications.
10441 (hack-local-variables, hack-local-variables-prop-line):
10442 If MODE-ONLY, return the mode, rather than just `t'.
10443
b7cf2c79
SM
104442011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10445
10446 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10447
3f1a8558
GM
104482011-05-21 Glenn Morris <rgm@gnu.org>
10449
7e4ccca3
GM
10450 * files.el (hack-local-variables-prop-line, hack-local-variables):
10451 If only interested in the mode, don't bother doing the other stuff.
10452
637d46ca
GM
10453 * image-mode.el (image-after-revert-hook):
10454 Redraw all frames on which the image is visible. (Bug#8567)
10455
973d955b
GM
10456 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10457
3f1a8558
GM
10458 * wid-edit.el (widget-checklist-match-inline):
10459 Fix 2011-04-19 change. (Bug#8649)
10460
96479927
SM
104612011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10462
1dcf791f
SM
10463 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10464 Also allow singlespace after single-letter capitals followed by a dot.
10465
96479927
SM
10466 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10467 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10468
35fd0881
N
104692011-05-20 Nix <nix@esperi.org.uk>
10470
10471 * files.el (basic-save-buffer-2):
10472 Fix handling of break-hardlink-on-save with non-existent files.
10473
82745640
DD
104742011-05-19 Deniz Dogan <deniz@dogan.se>
10475
10476 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10477 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10478
4a720484
GM
104792011-05-19 Glenn Morris <rgm@gnu.org>
10480
d1f21341
GM
10481 * progmodes/f90.el (f90-type-def-re):
10482 Handle "type, bind(c)". (Bug#8691)
10483
4a720484
GM
10484 * emacs-lisp/autoload.el (batch-update-autoloads):
10485 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10486
2fb0a219
MA
104872011-05-18 Michael Albinus <michael.albinus@gmx.de>
10488
10489 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10490 property for the correct connection in case of multihops.
10491
e565dd37
GM
104922011-05-18 Glenn Morris <rgm@gnu.org>
10493
c2571358 10494 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10495 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10496
e565dd37
GM
10497 Rationalize calendar handling of day and month abbrev-arrays.
10498 * calendar/calendar.el (calendar-customized-p): New function.
10499 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10500 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10501 Add :set function.
10502 (calendar-abbrev-length, calendar-day-abbrev-array)
10503 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10504 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10505 Elements may no longer be nil.
10506 (calendar-day-name, calendar-month-name):
10507 Update for changed nature of abbrev arrays.
10508 * calendar/diary-lib.el (diary-name-pattern):
10509 Update for changed nature of abbrev arrays.
10510 (diary-mark-entries-1): Update calendar-make-alist calls.
10511 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10512 * calendar/cal-html.el (cal-html-day-abbrev-array):
10513 Simply inherit from calendar-day-abbrev-array.
10514
1d99a745
SM
105152011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * progmodes/grep.el (grep-mode): Disable default
10518 compilation-directory-matcher setting (bug#8684).
10519
7c1d9aa0
MA
105202011-05-17 Michael Albinus <michael.albinus@gmx.de>
10521
10522 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10523 instead of "head" and "tail". There were problems with SunOS 5.9,
10524 and it performs better.
10525
3952e9d8
GM
105262011-05-17 Glenn Morris <rgm@gnu.org>
10527
2dd12e7f
GM
10528 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10529
e4157b9c
GM
10530 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10531 Replace obsolete function.
10532
8e249bbd
GM
10533 * shell.el (pcomplete-parse-arguments-function): Declare.
10534
3952e9d8
GM
10535 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10536 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10537 (appt-check): Doc fixes.
10538 (appt-disp-window-function, appt-delete-window-function):
10539 Remove needless special case in custom :type.
10540 (appt-display-count): Default to 0, not nil.
10541 (appt-check): Reset appt-display-count to 0, not nil.
10542
c71a0d48 105432011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10544
c71a0d48
GM
10545 * progmodes/python.el (python-font-lock-keywords):
10546 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10547
31d55be9
SM
105482011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10551
3bfacb2f
KR
105522011-05-16 Kevin Ryde <user42@zip.com.au>
10553
10554 * info-look.el (makefile-automake-mode): New setups, looking in
10555 automake manual, then makefile-mode.
10556 (makefile-mode): Remove automake manual, have it just in
10557 makefile-automake-mode since there's various things different or
10558 not relevant to plain make.
10559 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10560 believe a hypothetical automake-mode would go to makefile-mode,
10561 not the other way around.
10562
c8e83751
CY
105632011-05-15 Chong Yidong <cyd@stupidchicken.com>
10564
5e9e35cd
CY
10565 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10566 hunk-end tags (Bug#8672).
10567
c8e83751
CY
10568 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10569 vc-annotate-show-diff-revision-at-line (Bug#8671).
10570
50b23e5a
GM
105712011-05-14 Glenn Morris <rgm@gnu.org>
10572
7210a739
GM
10573 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10574 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10575 (change-log-font-lock-keywords): Also handle multiple author lines
10576 with leading tabs. (Bug#8644)
7210a739 10577
4691905a
GM
10578 * calendar/appt.el (appt-check): Rename some local variables.
10579 Some simplification/reordering.
10580
50b23e5a
GM
10581 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10582 (feedmail-sendmail-f-doesnt-sell-me-out)
10583 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10584 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10585 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10586 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10587 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10588 (feedmail-binmail-gnulinuxish-template):
10589 Rename from feedmail-binmail-linuxish-template.
10590 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10591 Use insert-buffer-substring.
10592
215cda7c
BC
105932011-05-14 Bill Carpenter <bill@carpenter.org>
10594
10595 * mail/feedmail.el (feedmail-patch-level): Increase.
10596 (feedmail-debug): New custom group.
10597 (feedmail-confirm-outgoing-timeout)
10598 (feedmail-sendmail-f-doesnt-sell-me-out)
10599 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10600 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10601 (feedmail-sender-line, feedmail-from-line)
10602 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10603 (feedmail-spray-this-address)
215cda7c
BC
10604 (feedmail-spray-address-fiddle-plex-list)
10605 (feedmail-queue-use-send-time-for-date)
10606 (feedmail-queue-use-send-time-for-message-id)
10607 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10608 (feedmail-buffer-eating-function):
10609 Doc fixes.
10610 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10611 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10612 (feedmail-message-action-scroll-down): New functions.
10613 (feedmail-queue-directory, feedmail-queue-draft-directory):
10614 Use expand-file-name.
10615 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10616 Remove C-v help entry.
10617 (feedmail-queue-buffer-file-name): New variable.
10618 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10619 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10620 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10621 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10622 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10623 (feedmail-message-action-toggle-spray)
10624 (feedmail-run-the-queue-no-prompts)
10625 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10626 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10627 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10628 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10629 (feedmail-envelope-deducer, feedmail-fiddle-from)
10630 (feedmail-fiddle-sender, feedmail-default-date-generator)
10631 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10632 (feedmail-fiddle-spray-address)
10633 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10634 (feedmail-fiddle-list-of-fiddle-plexes)
10635 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10636 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10637 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10638 Change default. Doc fix.
10639 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10640 (feedmail-binmail-linuxish-template): New constant.
10641 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10642 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10643 (feedmail-send-it): Add debug call.
10644 Use feedmail-queue-buffer-file-name, and
10645 feedmail-send-it-immediately-wrapper.
10646 (feedmail-message-action-send): Add debug call.
10647 Use feedmail-send-it-immediately-wrapper.
10648 (feedmail-queue-express-to-queue): Add debug call.
10649 Run feedmail-queue-express-hook.
10650 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10651 (feedmail-message-action-help-blat):
10652 Rename from feedmail-queue-send-edit-prompt-help-first.
10653 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10654 Check line-endings. Handle errors better.
10655 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10656 Doc fix. Add debug call.
10657 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10658 Use feedmail-queue-send-edit-prompt-inner.
10659 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10660 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10661 from feedmail-queue-send-edit-prompt.
10662 (feedmail-queue-send-edit-prompt-help)
10663 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10664 (feedmail-tidy-up-slug): Add debug call.
10665 Respect feedmail-queue-slug-suspect-regexp.
10666 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10667 (feedmail-dump-message-to-queue): Add debug call.
10668 Expand queue-directory.
10669 (feedmail-dump-message-to-queue): Change message slightly.
10670 Use feedmail-say-chatter.
10671 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10672 (feedmail-send-it-immediately-wrapper): New function.
10673 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10674 Insert empty string rather than newline. Handle full-frame case.
10675 Use catch/throw. Use feedmail-say-chatter.
10676 (feedmail-fiddle-from): Try mail-host-address.
10677 (feedmail-default-message-id-generator): Doc fix.
10678 Bind system-time-locale. Handle missing end.
10679 (feedmail-fiddle-x-mailer): Add debug call.
10680 Handle feedmail-x-mailer-line being nil.
10681 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10682 Add debug call. Use buffer-substring-no-properties.
10683 (feedmail-say-debug, feedmail-say-chatter): New functions.
10684 (feedmail-find-eoh): Give an explicit error.
10685
42c7e61e
UJ
106862011-05-13 Ulf Jasper <ulf.jasper@web.de>
10687
c2571358 10688 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10689 family from helvetica to sans.
c2571358 10690 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10691 etc/images/newsticker.
10692
c2571358 10693 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10694 family from helvetica to sans.
10695
10696 * net/newst-plainview.el (newsticker-new-item-face)
10697 (newsticker-old-item-face, newsticker-immortal-item-face)
10698 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10699 (newsticker-statistics-face): Change default family from
42c7e61e 10700 helvetica to sans.
c2571358 10701 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10702 etc/images/newsticker.
10703
10704 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10705 (newsticker--process-auto-mark-filter-match): : Tell user about
10706 auto-marking.
10707
8497a297
DV
107082011-05-13 Didier Verna <didier@xemacs.org>
10709
10710 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10711 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10712 TODO entries.
8497a297
DV
10713 (lisp-lambda-list-keyword-parameter-indentation)
10714 (lisp-lambda-list-keyword-parameter-alignment)
10715 (lisp-lambda-list-keyword-alignment): New customizable user options.
10716 (lisp-indent-defun-method): Improve docstring.
10717 (extended-loop-p): Fix comment.
10718 (lisp-indent-lambda-list-keywords-regexp): New variable.
10719 (lisp-indent-lambda-list): New function.
10720 (lisp-indent-259): Use it.
10721 (lisp-indent-defmethod): Support for more than one
10722 method qualifier and properly indent methods lambda-lists.
10723 (defgeneric): Provide a missing common-lisp-indent-function property.
10724
f278f87f
SM
107252011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10728 bounds for the empty string (bug#8667).
10729
5233edd7
GM
107302011-05-13 Glenn Morris <rgm@gnu.org>
10731
5237a44f
GM
10732 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10733
8340026c 10734 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10735 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10736
5233edd7 10737 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10738 (appt-time-msg-list): Doc fix.
a5464014 10739 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10740
92d10796
AS
107412011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10742
10743 * progmodes/ld-script.el (ld-script-keywords)
10744 (ld-script-builtins): Update keywords list.
10745
914a0ae1
SM
107462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10747
c89be45f
SM
10748 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10749
914a0ae1
SM
10750 * shell.el (shell-completion-vars): New function.
10751 (shell-mode):
10752 * simple.el (read-shell-command): Use it.
10753 (blink-matching-open): No need for " [...]" in minibuffer-message.
10754
98dc3df3
GM
107552011-05-12 Glenn Morris <rgm@gnu.org>
10756
10757 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10758 (appt-check): Simplify.
10759
d2fc7e3d 107602011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10761
4d61f28d 10762 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10763 literal "/dev/null".
10764
d2fc7e3d 107652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10766
10767 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10768 Fix typo.
10769
d2fc7e3d 107702011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10771
3f254caa
SM
10772 * progmodes/which-func.el (which-function):
10773 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10774 which might not be defined (Bug#8260).
10775
d45885f7
GM
107762011-05-12 Glenn Morris <rgm@gnu.org>
10777
10778 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10779 Let byte-compile-initial-macro-environment always take precedence.
10780
488086f4
SM
107812011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * net/rcirc.el: Add support for SSL/TLS connections.
10784 (rcirc-server-alist): New field `encryption'.
10785 (rcirc): Check `encryption' settings.
10786 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10787 Merge make-local-variable into `set'.
10788 (rcirc--connection-open-p): New function.
10789 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10790 the process is not a network process (e.g. running gnutls-cli).
10791 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10792 Make rcirc-(en|de)code-coding-system local here.
10793 (rcirc-mode): Merge make-local-variable into `set'.
10794 (rcirc-parent-buffer): Make permanent buffer-local.
10795 (rcirc-multiline-minor-mode): Don't do it here.
10796 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10797 there's no server buffer.
10798
7d3b9d44
GM
107992011-05-11 Glenn Morris <rgm@gnu.org>
10800
f64049c6
GM
10801 * newcomment.el (comment-kill): Prefix "unused" local.
10802
93c9df73
GM
10803 * term/w32console.el (get-screen-color): Declare.
10804
7d3b9d44
GM
10805 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10806 Handle symbol elements of byte-compile-initial-macro-environment.
10807
9e2dd53f
LL
108082011-05-10 Leo Liu <sdl.web@gmail.com>
10809
488086f4
SM
10810 * bookmark.el (bookmark-bmenu-mode-map):
10811 Bind bookmark-bmenu-search to `/'.
8b340240 10812
9e2dd53f 10813 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10814 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10815 (Footnote-unicode): New function.
10816 (footnote-style-alist): Add unicode style to the list.
10817 (footnote-style): Doc fix.
9e2dd53f 10818
79b70037
GM
108192011-05-10 Jim Meyering <meyering@redhat.com>
10820
10821 Fix doubled-word typos.
10822 * international/quail.el (quail-insert-kbd-layout): and and -> and
10823 * kermit.el: and and -> and
10824 * net/ldap.el (ldap-search-internal): to to -> to
10825 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10826 * progmodes/js.el (js-mode): and and -> and
10827 * textmodes/artist.el (artist-move-to-xy): at at -> at
10828 (artist-draw-region-trim-line-endings): if if -> if
10829 And Safetyc -> Safety.
10830 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10831
b8f82dc1 108322011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10833 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10834
10835 * files.el (hack-one-local-variable-eval-safep):
10836 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10837
4f99f44b
GM
108382011-05-10 Glenn Morris <rgm@gnu.org>
10839
10840 * calendar/diary-lib.el (diary-list-entries-hook)
10841 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10842 (diary-nongregorian-marking-hook, diary-list-entries)
10843 (diary-include-other-diary-files, diary-mark-entries)
10844 (diary-mark-included-diary-files): Doc fixes.
10845
84f29e6b
JB
108462011-05-09 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * misc.el: Require tabulated-list.el during compilation.
10849
9bedd73a
CY
108502011-05-09 Chong Yidong <cyd@stupidchicken.com>
10851
488086f4
SM
10852 * progmodes/compile.el (compilation-start):
10853 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10854 (compilation-filter-hook): Doc fix.
10855
797c735c
DD
108562011-05-09 Deniz Dogan <deniz@dogan.se>
10857
10858 * wdired.el: Remove outdated installation comment. Fix usage
10859 comment.
10860
5f4b1dfe
JB
108612011-05-09 Juanma Barranquero <lekktu@gmail.com>
10862
10863 * misc.el: Implement new command `list-dynamic-libraries'.
10864 (list-dynamic-libraries--loaded-only-p): New variable.
10865 (list-dynamic-libraries--refresh): New function.
10866 (list-dynamic-libraries): New command.
10867
4c44026c
CY
108682011-05-09 Chong Yidong <cyd@stupidchicken.com>
10869
488086f4
SM
10870 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10871 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10872 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10873 higher priority to avoid clobbering by gnu.
10874
027f966d
CY
108752011-05-08 Chong Yidong <cyd@stupidchicken.com>
10876
10877 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10878 if the face has existing theme settings (Bug#8454).
10879
085f5d7d
CY
108802011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10881
488086f4
SM
10882 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10883 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10884
2a86a00c
RS
10885 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10886 special file names `.' and `..' (Bug#8259).
10887
d9c54a06
CY
108882011-05-08 Chong Yidong <cyd@stupidchicken.com>
10889
488086f4
SM
10890 * progmodes/grep.el (grep-mode-font-lock-keywords):
10891 Remove buffer-changing entries.
d9c54a06
CY
10892 (grep-filter): New function.
10893 (grep-mode): Add it to compilation-filter-hook.
10894
10895 * progmodes/compile.el (compilation-filter-hook)
10896 (compilation-filter-start): New defvars.
10897 (compilation-filter): Call compilation-filter-hook prior to
10898 updating the process mark.
10899
c4662635
SM
109002011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10903
b0512a1d
EZ
109042011-05-07 Eli Zaretskii <eliz@gnu.org>
10905
605c9376
EZ
10906 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10907 mailclient-send-it even if window-system is nil. (Bug#8595)
10908
c4662635
SM
10909 * term/w32console.el (terminal-init-w32console):
10910 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10911 background-mode. (Bug#8597)
10912
d1dc2cc2
SM
109132011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10914
10915 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10916 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10917 New functions.
10918 (defgeneric, eieio--defmethod): Use them.
10919 (eieio-defgeneric): Remove.
10920 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10921
915d1300
GM
109222011-05-07 Glenn Morris <rgm@gnu.org>
10923
a3961c3e
GM
10924 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10925 Use let rather than let*.
10926 (timeclock-find-discrep): Remove unused local.
10927
314347b9
GM
10928 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10929
915d1300
GM
10930 * calendar/appt.el (appt-time-msg-list): Doc fix.
10931
275b59b0
NF
109322011-05-06 Noah Friedman <friedman@splode.com>
10933
10934 * apropos.el (apropos-print-doc): Only use
10935 emacs-lisp-docstring-fill-column when it is bound to an integer,
10936 per that variable's documentation.
10937
6c19f744
SM
109382011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10941 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10942
60f884b2
GM
109432011-05-06 Glenn Morris <rgm@gnu.org>
10944
5006e634
GM
10945 * calendar/appt.el (appt-message-warning-time): Doc fix.
10946 (appt-warning-time-regexp): New option.
10947 (appt-make-list): Respect appt-message-warning-time.
10948
548d0a63
GM
10949 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10950 New options.
10951 (diary-add-to-list): Strip comments from the displayed string.
10952 (diary-mode): Set comment-start and comment-end.
10953
60f884b2
GM
10954 * vc/diff-mode.el (smerge-refine-subst): Declare.
10955 (diff-refine-hunk): Don't require smerge-mode when compiling.
10956
989681bb
JB
109572011-05-06 Juanma Barranquero <lekktu@gmail.com>
10958
10959 * simple.el (list-processes): Return nil as the docstring says.
10960
a6bc05e1
MA
109612011-05-05 Michael Albinus <michael.albinus@gmx.de>
10962
10963 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10964 to "".
10965 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10966 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10967 determining of binary transfer. (Bug#7383)
10968
23c22e9a
MA
109692011-05-05 Michael Albinus <michael.albinus@gmx.de>
10970
c4662635
SM
10971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10972 Fix port computation bug. (Bug#8618)
23c22e9a 10973
0bff894f
GM
109742011-05-05 Glenn Morris <rgm@gnu.org>
10975
b8296902
GM
10976 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10977
1f522ce8
GM
10978 * simple.el (shell-dynamic-complete-functions)
10979 (comint-dynamic-complete-functions): Declare.
10980
cf5bee67
GM
10981 * net/network-stream.el (gnutls-negotiate):
10982 * simple.el (tabulated-list-print): Fix declarations.
10983
10984 * progmodes/gud.el (syntax-symbol, syntax-point):
10985 Remove unnecessary and incorrect declarations.
10986
0bff894f
GM
10987 * emacs-lisp/check-declare.el (check-declare-scan):
10988 Handle byte-compile-initial-macro-environment in bytecomp.el
10989
9869b3ae
SM
109902011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 Fix earlier half-done eieio-defmethod change (bug#8338).
10993 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10994 Streamline and change calling convention.
10995 (defmethod): Adjust accordingly and simplify.
10996 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10997 new eieio--defmethod.
10998 (slot-boundp): Minor CSE simplification.
10999
9c1d5ac5
MZ
110002011-05-05 Milan Zamazal <pdm@zamazal.org>
11001
11002 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11003 (glasses-make-readable): Use glasses-separate-capital-groups.
11004
455c834e
JB
110052011-05-05 Juanma Barranquero <lekktu@gmail.com>
11006
11007 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11008 (warning-series): Doc fix.
11009 (display-warning): Don't try to create the buffer if we just found it.
11010
9ed7c8cb
CY
110112011-05-04 Chong Yidong <cyd@stupidchicken.com>
11012
11013 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11014 (autoload-find-generated-file): New function.
11015 (generate-file-autoloads): Bind generated-autoload-file to
11016 buffer-file-name.
9869b3ae
SM
11017 (update-file-autoloads, update-directory-autoloads):
11018 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11019 output file (Bug#7989).
11020 (batch-update-autoloads): Doc fix.
11021
0898ca10
JB
110222011-05-04 Juanma Barranquero <lekktu@gmail.com>
11023
11024 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11025
31dfb76c
GM
110262011-05-04 Glenn Morris <rgm@gnu.org>
11027
f330b642
GM
11028 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11029 function, so it follows changes in calendar-date-style.
11030 (diary-fancy-date-matcher): New function.
11031 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11032 (diary-fancy-font-lock-fontify-region-function):
11033 Use diary-fancy-date-pattern as a function.
11034
31dfb76c
GM
11035 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11036 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11037
48e79d6a
TZ
110382011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11039
11040 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11041 instead of positional arguments. Allow :keylist and :crlfiles
11042 arguments.
11043 (open-gnutls-stream): Call it.
11044
11045 * net/network-stream.el (network-stream-open-starttls): Adjust to
11046 call `gnutls-negotiate' with :process and :hostname arguments.
11047
dd5a5ee0
SM
110482011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11049
ef80fc09
SM
11050 * minibuffer.el (completion--message): New function.
11051 (completion--do-completion, minibuffer-complete)
11052 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11053 (completion--do-completion): Don't ignore completion-auto-help when in
11054 icomplete-mode.
11055
dd5a5ee0
SM
11056 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11057 internal encoding (e.g. tibetan zero is not whitespace).
11058 (global-whitespace-mode): Prefer save-current-buffer.
11059 (whitespace-trailing-regexp): Remove useless save-match-data.
11060 (whitespace-empty-at-bob-regexp): Minor simplification.
11061
b7d22a83
CY
110622011-05-03 Chong Yidong <cyd@stupidchicken.com>
11063
11064 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11065
5192af46
AM
110662011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11067
11068 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11069 Use `concat' to create string for insertion.
5192af46 11070
5767d190
SM
110712011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11074 Avoid open-line which runs post-self-insert-hook.
11075 (bibtex-fill-entry): Remove unused `end' var.
11076
bf242939
AM
110772011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11078
5767d190
SM
11079 * textmodes/ispell.el (ispell-add-per-file-word-list):
11080 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11081
25666126
LL
110822011-05-03 Leo Liu <sdl.web@gmail.com>
11083
11084 * isearch.el (isearch-yank-pop): New command.
5767d190 11085 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11086 (isearch-forward): Mention it.
11087
52d3c2d0
SM
110882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11089
1bcace58
SM
11090 * simple.el (minibuffer-complete-shell-command): Remove.
11091 (minibuffer-local-shell-command-map): Use completion-at-point.
11092 (read-shell-command): Setup completion vars here instead.
11093 (read-expression-map): Bind TAB to symbol completion.
11094
52d3c2d0
SM
11095 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11096 error directly rather via storing it into `results'.
11097
35813471
LL
110982011-05-02 Leo Liu <sdl.web@gmail.com>
11099
11100 * vc/diff.el: Fix description.
11101
e793a940
LMI
111022011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11103
11104 * server.el (server-eval-at): New function.
11105
8de66e05
LMI
111062011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11107
11108 * net/network-stream.el (open-network-stream): Take a :nowait
11109 parameter and pass it on to `make-network-process'.
11110 (network-stream-open-plain): Ditto.
11111
dcb79f20
AS
111122011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11113
11114 * faces.el (face-spec-set-match-display): Don't match toolkit
11115 options on terminal frames.
11116
14a7fbd8
SM
111172011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11118
7eabc1be
SM
11119 * progmodes/pascal.el: Use lexical binding.
11120 (pascal-mode-map): Remove author preferences.
11121
14a7fbd8
SM
11122 * pcomplete.el (pcomplete-std-complete): Don't abuse
11123 completion-at-point.
11124
50f84510
JB
111252011-04-28 Juanma Barranquero <lekktu@gmail.com>
11126
6e087a44
JB
11127 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11128 removing code that has been dead since 1991 or so.
11129
50f84510
JB
11130 * startup.el (command-line): When warning about "_emacs", use a
11131 delayed warning to allow the user to filter it out.
11132
0ba690bd
DD
111332011-04-28 Deniz Dogan <deniz@dogan.se>
11134
11135 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11136 user has not joined.
11137
08abfaad
SM
111382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11141 aren't any completions at point.
11142
638f053a
JB
111432011-04-28 Juanma Barranquero <lekktu@gmail.com>
11144
11145 * subr.el (display-delayed-warnings): New function.
11146 (delayed-warnings-hook): New variable.
11147
8fff8daa
SM
111482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11149
08abfaad
SM
11150 * minibuffer.el (completion-at-point, completion-help-at-point):
11151 Don't presume that a given completion-at-point-function will always
11152 use the same calling convention.
11153
8fff8daa
SM
11154 * pcomplete.el (pcomplete-completions-at-point):
11155 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11156 pcomplete-seen is non-nil.
11157 (pcomplete-comint-setup): Also recognize the new comint/shell
11158 completion functions.
11159 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11160 pcomplete-seen is non-nil.
11161
841a1577 111622011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11163
841a1577 11164 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11165 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11166 the first character in the entry. This allows for code to add its
211ec907
UJ
11167 own uid to the entry.
11168 (icalendar--convert-float-to-ical): Add export of
11169 `diary-float'-entries save for those with the optional DAY
11170 argument.
11171
2a782793
DC
111722011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11173
11174 * subr.el (shell-quote-argument): Use alternate escaping strategy
11175 when we spot a variable reference in a string.
11176
0438ce91
DC
111772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11178
11179 * cus-start.el (all): Define customization for debug-on-event.
11180
841a1577 111812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11182
11183 * subr.el (shell-quote-argument): Escape correctly under Windows.
11184
d090ed6c
SM
111852011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11188
bfd31217
MA
111892011-04-25 Michael Albinus <michael.albinus@gmx.de>
11190
d090ed6c
SM
11191 * net/tramp.el (tramp-process-actions): Add POS argument.
11192 Delete region between POS and (pos).
bfd31217 11193
d090ed6c
SM
11194 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11195 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11196 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11197
11198 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11199 position in `tramp-process-actions' call.
11200
11201 * net/trampver.el: Update release number.
11202
e92f3bd3
SM
112032011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11204
850256b5
SM
11205 * custom.el (defcustom): Obey lexical-binding.
11206
e92f3bd3
SM
11207 Fix octave-inf completion problems reported by Alexander Klimov.
11208 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11209 Inherit from octave-mode-syntax-table.
11210 (inferior-octave-mode): Set info-lookup-mode.
11211 (inferior-octave-completion-at-point): New function.
11212 (inferior-octave-complete): Use it and completion-in-region.
11213 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11214 comint-filename-completion.
11215 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11216 symbol elements which shouldn't be word elements.
11217 (octave-font-lock-keywords, octave-beginning-of-defun)
11218 (octave-function-header-regexp): Adjust regexps accordingly.
11219 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11220
cd22b309
JB
112212011-04-25 Juanma Barranquero <lekktu@gmail.com>
11222
11223 * net/gnutls.el (gnutls-errorp): Declare before first use.
11224
8b492194
TZ
112252011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11226
11227 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11228 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11229 default trustfile exists before going to use it. Add missing
5a5fa834 11230 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11231 Reported by Claudio Bley <claudio.bley@gmail.com>.
11232 (open-gnutls-stream): Add usage example.
11233
11234 * net/network-stream.el (network-stream-open-starttls): Give host
11235 parameter to `gnutls-negotiate'.
11236 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11237 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11238
841a1577 112392011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11240
cd22b309
JB
11241 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11242 Use correct match group (bug#8438).
05842630 11243
3ba7869c
CY
112442011-04-24 Chong Yidong <cyd@stupidchicken.com>
11245
512e3ae1
CY
11246 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11247 (package-menu--generate): New arg specifying packages to show.
11248 (package-menu-refresh, package-menu-execute, list-packages):
11249 Callers changed.
11250 (package-show-package-list): New function, replacing deleted
11251 package--list-packages (renamed because it is non-internal).
11252
11253 * finder.el (finder-list-matches): Use package-show-package-list
11254 instead of deleted package--list-packages.
11255
e92f3bd3
SM
11256 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11257 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11258 (vc-annotate-mode-map): Bind it to RET.
11259
7031be6d
UR
112602011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11261
11262 * progmodes/etags.el (next-file): Don't use set-buffer to change
11263 buffers (Bug#8478).
11264
4ef177aa
CY
112652011-04-24 Chong Yidong <cyd@stupidchicken.com>
11266
c8d173eb
CY
11267 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11268
4ef177aa
CY
11269 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11270 (apropos-accumulator): Doc fix.
11271 (apropos-function, apropos-macro, apropos-command)
11272 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11273 (apropos-plist): Add face property.
11274 (apropos-symbols-internal): Fix indentation.
11275 (apropos-print): Simplify help, and recognize apropos-multi-type.
11276 (apropos-print-doc): Use button-type-get to extract the button's
11277 face property. Fill docstring (Bug#8352).
11278
4ffd0d6b 112792011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11280
11281 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11282
c6c32125 11283 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11284 (mpuz-mode-map): Use mapc.
c6c32125
JB
11285 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11286 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11287 Fix typos in docstrings.
11288
58d468b4
JB
11289 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11290 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11291
6470c3c6
JB
11292 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11293
4ffd0d6b 112942011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11295
11296 * minibuffer.el (completion--do-completion): Avoid the "Next char
11297 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11298
3ad8bad0
CY
11299 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11300 mouse-2 into unread-command-events, it is interpreted correctly.
11301
71d73c9c 11302 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11303 (image-toggle-display): Doc fix.
71d73c9c 11304
841a1577 113052011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11306
4ffd0d6b
GM
11307 * textmodes/page.el (what-page): Use line-number-at-pos to
11308 calculate line number (Bug#6825).
6e1dbaa9 11309
c2fb1b60
JB
113102011-04-22 Juanma Barranquero <lekktu@gmail.com>
11311
11312 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11313 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11314 Pass argument NO-DEFAULT to `find-tag-interactive'.
11315
e02f48d7
JB
113162011-04-22 Juanma Barranquero <lekktu@gmail.com>
11317
11318 Lexical-binding cleanup.
11319
11320 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11321 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11322 * progmodes/ada-prj.el (ada-prj-initialize-values)
11323 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11324 (ada-prj-show-value):
11325 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11326 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11327 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11328 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11329 * progmodes/bug-reference.el (bug-reference-push-button):
11330 * progmodes/fortran.el (fortran-line-length):
11331 * progmodes/glasses.el (glasses-change):
11332 * progmodes/octave-mod.el (octave-fill-paragraph):
11333 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11334 (python-pdbtrack-grub-for-buffer, python-sentinel):
11335 * progmodes/sql.el (sql-save-connection):
11336 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11337 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11338 Mark unused parameters.
11339
11340 * progmodes/compile.el (compilation--flush-directory-cache)
11341 (compilation--flush-parse, compile-internal): Mark unused parameters.
11342 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11343 (compilation-next-error-function): Remove unused variable `timestamp'.
11344
11345 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11346 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11347
11348 * progmodes/dcl-mode.el (dcl-end-of-command):
11349 Remove unused variable `start'.
11350 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11351 (dcl-option-value-basic, dcl-option-value-offset)
11352 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11353 Mark unused parameters.
11354 (dcl-save-local-variable): Remove unused variable `val'.
11355 (mode): Declare.
11356
11357 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11358 Mark unused parameters.
11359 (delphi-ignore-changes): Move before first use.
11360 (delphi-charset-token-at): Remove unused variable `start'.
11361 (delphi-else-start): Remove unused variable `if-count'.
11362 (delphi-comment-block-start, delphi-comment-block-end):
11363 Remove unused variable `kind'.
11364 (delphi-indent-line): Remove unused variable `new-point'.
11365
11366 * progmodes/ebrowse.el (ebrowse-files-list)
11367 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11368 Mark unused parameters. Don't quote `lambda'.
11369 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11370 Don't quote `lambda'.
11371 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11372 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11373 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11374 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11375 Use `ignore-errors'.
11376 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11377 (ebrowse-view/find-file-and-search-pattern)
11378 (ebrowse-view/find-member-declaration/definition):
11379 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11380 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11381 Rename parameter PREFIX-ARG to PREFIX.
11382 (ebrowse-tags-read-name): Remove unused variables `start' and
11383 `member-info'.
11384 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11385 to `tags-file'.
11386
11387 * progmodes/etags.el (local-find-tag-hook): Declare.
11388 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11389 Mark unused parameters.
11390
11391 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11392 (executable-interpret): Mark unused parameter.
11393
11394 * progmodes/flymake.el (flymake-process-sentinel)
11395 (flymake-after-change-function)
11396 (flymake-create-temp-with-folder-structure)
11397 (flymake-get-include-dirs-dot): Mark unused parameters.
11398 (flymake-safe-delete-directory): Remove unused variable `err'.
11399
11400 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11401 (speedbar-timer-fn, speedbar-line-text)
11402 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11403 (speedbar-center-buffer-smartly): Declare functions.
11404 (gdb-find-watch-expression): Remove unused variable `array'.
11405 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11406 (gdb-starting): Mark unused parameters.
11407 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11408 (gdb-table-string): Remove unused variable `res'.
11409 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11410 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11411 (gdb-display-buffer): Remove unused variable `cur-size'.
11412
11413 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11414 allow lexical-binding compilation.
11415 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11416 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11417 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11418 Mark unused parameters.
11419 (gud-gdb-marker-filter): Remove unused variable `match'.
11420 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11421 lambda expressions and funcall them, instead of using `fset'.
11422
11423 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11424 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11425
11426 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11427 variable `header-beg'; use `let'.
11428
11429 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11430 `restart', `last-sexp' and `at-do'.
11431
11432 * progmodes/js.el (js--debug): Mark unused parameter.
11433 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11434 (js--splice-into-items): Remove unused variable `item'.
11435 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11436
11437 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11438 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11439 (makefile-complete): Remove unused variable `try'.
11440 (makefile-fill-paragraph, makefile-match-function-end):
11441 Mark unused parameters.
11442
11443 * progmodes/octave-inf.el (inferior-octave-complete):
11444 Remove unused variable `proc'.
11445 (inferior-octave-output-digest): Mark unused parameter.
11446
11447 * progmodes/perl-mode.el (perl-calculate-indent):
11448 Remove unused variable `err'.
11449
11450 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11451 (prolog-indent-line): Mark unused parameters.
11452 (prolog-indent-line): Remove unused variable `beg'.
11453
11454 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11455 (reporter-dont-compact-list): Declare.
11456
11457 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11458 Remove unused variable `char'.
11459 (sh-debug): Mark unused parameter.
11460 (sh-get-indent-info): Remove unused variable `start'.
11461 (sh-calculate-indent): Remove unused variable `var'.
11462
11463 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11464 (simula-electric-keyword): Remove unused variable `null'.
11465 (simula-search-backward, simula-search-forward): Remove unused
11466 variables `begin' and `end'.
11467
11468 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11469 Remove unused variable `pos'.
11470 (vera-electric-tab, vera-comment-uncomment-region):
11471 Mark unused parameters.
11472 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11473
7ede3b65
CY
114742011-04-22 Chong Yidong <cyd@stupidchicken.com>
11475
11476 * emacs-lisp/package.el (package--builtins, package-alist)
11477 (package-load-descriptor, package-built-in-p, package-activate)
11478 (define-package, package-installed-p)
11479 (package-compute-transaction, package-buffer-info)
11480 (package--push): Doc fix. Distinguish more clearly between
11481 version strings and version lists.
11482
121656e9
JB
114832011-04-21 Juanma Barranquero <lekktu@gmail.com>
11484
11485 Lexical-binding cleanup.
11486
11487 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11488 (5x5-make-mutate-best):
11489 * play/fortune.el (fortune-in-buffer):
11490 * play/gomoku.el (gomoku-init-display):
11491 * play/solitaire.el (solitaire, solitaire-do-check):
11492 * play/tetris.el (tetris-default-update-speed-function):
11493 Mark unused parameters.
11494
11495 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11496 (bubbles--shift): Remove unused variable `char-org'.
11497 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11498 (bubbles--show-images): Remove unused variable `char'.
11499
11500 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11501 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11502 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11503 (decipher-analyze-buffer): Use ?\s.
11504 (decipher-make-checkpoint): Remove unused variable `mapping'.
11505
11506 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11507
11508 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11509 Remove unused variable `result'; use `let'.
11510
11511 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11512 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11513 (gametree-children-shown-p, gametree-compute-reduced-score):
11514 Use `ignore-errors'.
11515
11516 * play/handwrite.el (ps-lpr-switches): Declare.
11517 (handwrite): Remove unused variables `pmin' and `lastp'.
11518
11519 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11520
11521 * play/landmark.el (landmark-init-display)
11522 (landmark-update-naught-weights): Mark unused parameters.
11523 (landmark-y): Remove unused variable `noise'. Simplify.
11524 (landmark-human-plays): Remove unused variable `score'.
11525
11526 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11527 (mpuz-try-proposal): Remove unused variable `game'.
11528
11529 * play/zone.el (life-patterns): Declare.
11530
80f499c7
JB
115312011-04-20 Juanma Barranquero <lekktu@gmail.com>
11532
11533 * vc/vc.el (ediff-vc-internal): Declare function.
11534
024ff170
SM
115352011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11536
c0a193ea
SM
11537 * shell.el: Use lexical-binding and std completion UI.
11538 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11539 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11540 comint-preoutput-filter-functions rather than on
11541 comint-output-filter-functions.
11542 (shell-command-completion, shell--command-completion-data)
11543 (shell-filename-completion, shell-environment-variable-completion)
11544 (shell-c-a-p-replace-by-expanded-directory): New functions.
11545 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11546 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11547 (shell-dynamic-complete-environment-variable): Use them.
11548 (shell-dynamic-complete-as-environment-variable)
11549 (shell-dynamic-complete-as-command): Remove.
11550 (shell-match-partial-variable): Match past point.
11551 * comint.el: Clean up use of completion-at-point-functions.
11552 (comint-completion-at-point): New function.
11553 (comint-mode): Use it completion-at-point-functions.
11554 (comint-dynamic-complete): Make it obsolete.
11555 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11556 (comint-c-a-p-replace-by-expanded-history): New function.
11557 (comint-dynamic-complete-functions)
11558 (comint-replace-by-expanded-history): Use it.
11559 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11560 termination strings. Try harder to avoid second try-completion.
11561 (completion-in-region-mode-map): Disable bindings that don't work yet.
11562
2dbaa080
SM
11563 * comint.el: Use lexical-binding. Require CL.
11564 (comint-dynamic-complete-functions): Use comint-filename-completion.
11565 (comint-completion-addsuffix): Tweak custom type.
11566 (comint-filename-completion, comint--common-suffix)
11567 (comint--common-quoted-suffix, comint--table-subvert)
11568 (comint--complete-file-name-data): New functions.
11569 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11570 (comint-dynamic-list-filename-completions): Use them.
11571 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11572
2dbaa080
SM
11573 * minibuffer.el (completion-in-region-mode):
11574 Keep completion-in-region-mode--predicate global.
11575 (completion-in-region--postch):
11576 Assume completion-in-region-mode--predicate is not null.
11577
c79a6f38
SM
11578 * progmodes/flymake.el (flymake-start-syntax-check-process):
11579 Obey `dir'. Simplify.
11580
024ff170
SM
11581 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11582 we're in VC after all.
11583
1c6c854e
CS
115842011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11585
11586 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11587 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11588 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11589
bed7f140
SM
115902011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11591
332e62ab
SM
11592 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11593 add sanity check.
11594
bed7f140
SM
11595 * obsolete/erc-hecomplete.el: Make obsolete.
11596 * obsolete/: Standardize obsolescence info in the header.
11597
f195c582
GM
115982011-04-20 Glenn Morris <rgm@gnu.org>
11599
11600 * calendar/solar.el (solar-horizontal-coordinates):
11601 Use the longitude argument rather than `calendar-longitude'.
11602 (solar-date-next-longitude): Remove unused locals.
11603
cb79b8c0
VJL
116042011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11605
11606 * whitespace.el: New version 13.2.1.
11607
116082011-04-20 felix <EmacsWiki> (tiny change)
11609
d8e4b68b 11610 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11611 switching between major modes on a file.
11612
602ea69d
SM
116132011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11616 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11617 multi-line comments as well.
11618
06b60517
JB
116192011-04-19 Juanma Barranquero <lekktu@gmail.com>
11620
11621 Lexical-binding cleanup.
11622
11623 * arc-mode.el (archive-mode-revert):
11624 * cmuscheme.el (scheme-interactively-start-process):
11625 * custom.el (custom-initialize-delay):
11626 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11627 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11628 * emacs-lock.el (emacs-lock-clear-sentinel):
11629 * ezimage.el (defezimage):
11630 * follow.el (follow-avoid-tail-recenter):
11631 * fringe.el (set-fringe-mode-1):
11632 * generic-x.el (bat-generic-mode-compile):
11633 * help-mode.el (help-info-variable, help-do-xref)
11634 (help-mode-revert-buffer):
11635 * help.el (view-emacs-todo):
11636 * iswitchb.el (iswitchb-completion-help):
11637 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11638 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11639 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11640 * locate.el (locate-update):
11641 * longlines.el (longlines-encode-region)
11642 (longlines-after-change-function):
11643 * outline.el (outline-isearch-open-invisible):
11644 * ps-def.el (declare-function, charset-dimension, char-width)
11645 (encode-char):
11646 * ps-mule.el (ps-mule-plot-string):
11647 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11648 (recentf-edit-list-select, recentf-edit-list-validate)
11649 (recentf-open-files-action):
11650 * rect.el (delete-whitespace-rectangle-line)
11651 (rectangle-number-line-callback):
11652 * register.el (window-configuration-to-register)
11653 (frame-configuration-to-register):
11654 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11655 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11656 (xselect-convert-to-targets, xselect-convert-to-delete)
11657 (xselect-convert-to-filename, xselect-convert-to-charpos)
11658 (xselect-convert-to-lineno, xselect-convert-to-colno)
11659 (xselect-convert-to-os, xselect-convert-to-host)
11660 (xselect-convert-to-user, xselect-convert-to-class)
11661 (xselect-convert-to-name, xselect-convert-to-integer)
11662 (xselect-convert-to-atom, xselect-convert-to-identity):
11663 * subr.el (declare, ignore, process-kill-without-query)
11664 (text-clone-maintain):
11665 * terminal.el (te-get-char, te-tic-sentinel):
11666 * tool-bar.el (tool-bar-make-keymap):
11667 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11668 * type-break.el (type-break-mode, type-break-noninteractive-query):
11669 * view.el (View-back-to-mark):
11670 * wid-browse.el (widget-browse-action, widget-browse-widget)
11671 (widget-browse-widgets, widget-browse-sexp):
11672 * widget.el (define-widget-keywords):
11673 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11674 Mark unused parameters.
11675
11676 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11677 (align-areas): Remove unused variable `look'.
11678 (align-region): Remove unused variables `real-end' and `pos-list'.
11679
11680 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11681
11682 * bindings.el (mode-line-modified, mode-line-remote):
11683 Mark unused parameters.
11684 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11685
11686 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11687 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11688
11689 * comint.el (comint-history-isearch-pop-state)
11690 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11691 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11692 (comint-substitute-in-file-name): Doc fix.
11693
11694 * completion.el (cmpl-statistics-block): Mark unused parameter.
11695 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11696 (save-completions-to-file, load-completions-from-file):
11697 Remove unused local variable `e'.
11698
11699 * composite.el (compose-chars): Remove unused variable `len'.
11700 (lgstring-insert-glyph): Remove unused variable `g'.
11701 (compose-glyph-string): Remove unused variables `ascent',
11702 `descent', `lbearing' and `rbearing'.
11703 (compose-glyph-string-relative): Remove unused variables
11704 `lbearing', `rbearing' and `wadjust'.
11705 (compose-gstring-for-graphic): Remove unused variables `header',
11706 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11707 (compose-gstring-for-terminal): Remove unused variables `header'
11708 and `nchars'. Use `let', not `let*'.
11709
11710 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11711 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11712 (Custom-buffer-done, custom-buffer-create-internal)
11713 (custom-browse-visibility-action, custom-browse-group-tag-action)
11714 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11715 (widget-magic-mouse-down-action, custom-toggle-parent)
11716 (custom-add-parent-links, custom-toggle-hide-variable)
11717 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11718 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11719 (custom-face-menu-create, custom-variable-menu-create, get)
11720 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11721 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11722 (customize-apropos): Remove unused variable `tests'.
11723 (custom-group-value-create): Remove unused variable `hidden-p'.
11724 (sort-fold-case): Declare.
11725
11726 * cus-theme.el (custom-reset-standard-faces-list)
11727 (custom-reset-standard-variables-list): Declare.
11728 (customize-create-theme, custom-theme-revert, custom-theme-write)
11729 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11730 Mark unused parameters.
11731
11732 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11733
11734 * delim-col.el (delimit-columns-max): Move defvar before first use.
11735
11736 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11737 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11738
11739 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11740 (auto-insert): Declare.
11741 (desktop-restore-file-buffer): Rename desktop-* parameters;
11742 mark unused ones.
11743 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11744 (desktop-buffer): Rename desktop-* parameters.
11745
11746 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11747 (dframe-reposition-frame-xemacs, dframe-help-echo)
11748 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11749 Mark unused parameters.
11750
11751 * dired-aux.el (backup-extract-version-start, overwrite-query)
11752 (overwrite-backup-query, rename-regexp-query)
11753 (rename-non-directory-query): Declare.
11754 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11755 (dired-add-entry): Remove unused variable `orig-file-name'.
11756 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11757 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11758 `dired-copy-preserve-time' directly.
11759 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11760 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11761
11762 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11763 (dired-virtual-revert, dired-make-relative-symlink):
11764 Mark unused parameters.
11765 (manual-program): Declare.
11766 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11767 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11768 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11769
11770 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11771
11772 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11773
11774 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11775 Declare.
11776
11777 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11778
11779 * electric.el (Electric-command-loop): Rename parameter
11780 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11781
11782 * expand.el (expand-in-literal): Remove unused variable `here'.
11783
11784 * facemenu.el (facemenu-add-new-color):
11785 Remove unused variable `docstring'.
11786
11787 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11788 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11789 (face-attr-construct): Mark unused parameter. Doc fix.
11790 (read-color): Remove unused variable `hex-string'.
11791
11792 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11793 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11794 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11795 (display-buffer-other-frame): Remove unused variable `old-window'.
11796 (kill-buffer-hook): Declare.
11797 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11798 Mark unused parameters.
11799 (after-find-file): Pass 1 to `auto-save-mode', not t.
11800
11801 * files-x.el (auto-insert): Declare.
11802 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11803
11804 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11805 variable `buf'. Mark unused parameter.
06b60517
JB
11806 (find-lisp-insert-directory): Mark unused parameter.
11807
11808 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11809 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11810 (format-common-tail): Remove, unused.
11811 (format-deannotate-region): Remove unused variable `loc'.
11812 (format-annotate-region): Remove unused variable `p'.
11813 (format-annotate-single-property-change): Remove unused variables
11814 `default' and `tail'.
11815
11816 * forms.el (read-file-filter): Declare.
11817 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11818
11819 * frame.el (frame-creation-function-alist): Mark unused parameter.
11820 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11821
11822 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11823 Remove unused parameters.
11824 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11825 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11826
11827 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11828 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11829 (hfy-prepare-tag-map): Mark unused parameters.
11830 (htmlfontify-buffer): Use `called-interactively-p'.
11831
11832 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11833 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11834 (ibuffer-do-occur): Mark unused parameters.
11835 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11836 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11837
11838 * ibuffer.el: Don't quote `lambda'.
11839 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11840 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11841 Mark unused parameters.
11842
11843 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11844 (ido-completing-read): Mark unused parameters.
11845 (ido-copy-current-word): Mark unused parameters;
11846 remove unused variable `name'.
11847 (ido-sort-merged-list): Remove unused parameter `dirs'.
11848
11849 * ielm.el (ielm-input-sender): Mark unused parameter.
11850 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11851 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11852 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11853 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11854 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11855
11856 * image-dired.el (image-dired-display-thumbs): Remove unused
11857 variables `curr-file' and `count'.
11858 (image-dired-remove-tag): Remove unused variable `start'.
11859 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11860 variable `curr-file'
11861 (image-dired-rotate-original): Remove unused variable `temp-file'.
11862 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11863 Remove unused variable `file'.
11864 (image-dired-gallery-generate): Remove unused variable `curr'.
11865 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11866
11867 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11868
11869 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11870
11871 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11872
11873 * isearch.el (minibuffer-history-symbol): Declare.
11874 (isearch-edit-string): Remove unused variable `err'.
11875 (isearch-message-prefix, isearch-message-suffix):
11876 Mark unused parameters.
11877
11878 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11879
11880 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11881
11882 * makesum.el (double-column): Remove unused variable `cnt'.
11883
11884 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11885 (ido-ignore-item-temp-list): Declare.
11886
11887 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11888 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11889 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11890 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11891 `mouse-col-delta'.
11892
11893 * mouse-sel.el (mouse-extend-internal):
11894 Remove unused variable `orig-window-frame'.
11895
11896 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11897 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11898 Move declarations before first use.
11899 (pcomplete-opt): Mark unused parameters; doc fix.
11900
11901 * proced.el (proced-revert): Mark unused parameter.
11902 (proced-send-signal): Remove unused variable `err'.
11903
11904 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11905 Rename parameter PREFIX-ARG to ARG.
11906 (ps-basic-plot-string, ps-basic-plot-whitespace):
11907 Mark unused parameters.
11908
11909 * replace.el (replace-count): Define.
11910 (occur-revert-function): Mark unused parameters.
11911 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11912 (isearch-case-fold-search, isearch-string): Declare.
11913 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11914 bind `case-fold-search'. Remove unused variables `beg' and `end',
11915 and simplify.
11916 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11917 COUNT and bind `replace-count'.
11918 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11919 to COUNT.
11920
11921 * savehist.el (print-readably, print-string-length): Declare.
11922
11923 * shadowfile.el (shadow-expand-cluster-in-file-name):
11924 Remove unused variable `cluster'.
11925 (shadow-copy-file): Remove unused variable `i'.
11926 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11927 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11928 (shadow-define-literal-group, shadow-define-regexp-group)
11929 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11930
11931 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11932 (shell): Use `called-interactively-p'.
11933 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11934
11935 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11936 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11937 (delete-backward-char): Remove unused variable `ocol'.
11938 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11939 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11940 (event-apply-hyper-modifier, event-apply-shift-modifier)
11941 (event-apply-control-modifier, event-apply-meta-modifier):
11942 Mark unused parameters.
11943 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11944 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11945
11946 * speedbar.el (speedbar-ignored-directory-expressions)
11947 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11948 (speedbar-find-file, speedbar-dir-follow)
11949 (speedbar-directory-buttons-follow, speedbar-tag-find)
11950 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11951 (speedbar-buffers-line-directory, speedbar-buffer-click):
11952 Mark unused parameters.
11953 (speedbar-tag-file): Remove unused variable `mode'.
11954 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11955
11956 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11957
11958 * talk.el (talk): Remove unused variable `display'.
11959
11960 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11961 (tar-write-region-annotate): Mark unused parameter.
11962
11963 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11964 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11965 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11966 warning by another.
11967
11968 * time-stamp.el (time-stamp-string-preprocess):
11969 Remove unused variable `require-padding'.
11970
11971 * tree-widget.el (widget-glyph-enable): Declare.
11972 (tree-widget-action): Mark unused parameter.
11973
11974 * w32-fns.el (x-get-selection): Mark unused parameter.
11975 (autoload-make-program, generated-autoload-file): Declare.
11976
11977 * wdired.el (wdired-revert): Mark unused parameters.
11978 (wdired-xcase-word): Remove unused variable `err'.
11979
11980 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11981 (whitespace-help-scroll): Remove unused variable `data-help'.
11982
11983 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11984 (widget-image-insert, widget-after-change, default)
11985 (widget-default-format-handler, widget-default-notify)
11986 (widget-default-prompt-value, widget-info-link-action)
11987 (widget-url-link-action, widget-function-link-action)
11988 (widget-variable-link-action, widget-file-link-action)
11989 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11990 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11991 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11992 (widget-insert-button-action, widget-delete-button-action, visibility)
11993 (widget-documentation-link-action, widget-documentation-string-action)
11994 (widget-const-prompt-value, widget-regexp-match, symbol)
11995 (widget-coding-system-prompt-value)
11996 (widget-key-sequence-value-to-external, sexp)
11997 (widget-sexp-value-to-internal, character, vector, cons)
11998 (widget-choice-prompt-value, widget-boolean-prompt-value)
11999 (widget-color--choose-action): Mark unused parameters.
12000 (widget-item-match-inline, widget-choice-match-inline)
12001 (widget-checklist-match, widget-checklist-match-inline)
12002 (widget-group-match): Rename parameter VALUES to VALS.
12003 (widget-field-value-set): Remove unused variable `size'.
12004 (widget-color-action): Remove unused variables `value' and `start'.
12005
12006 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12007 variable `dir'. Doc fix.
06b60517
JB
12008 (windmove-find-other-window): Don't pass it.
12009
12010 * window.el (count-windows): Mark unused parameter.
12011 (bw-adjust-window): Remove unused variable `err'.
12012
12013 * woman.el (woman-file-name): Remove unused variable `default'.
12014 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12015 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12016 (global-font-lock-mode): Declare.
12017 (woman-decode-region): Mark unused parameter.
12018 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12019
12020 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12021 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12022 (x-dnd-handle-moz-url): Remove unused variable `title'.
12023 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12024
12025 * xml.el (xml-parse-tag, xml-parse-attlist):
12026 Remove unused variable `pos'.
12027
bc4f7f3d
GM
120282011-04-19 Glenn Morris <rgm@gnu.org>
12029
12030 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12031 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12032 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12033 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12034 * calendar/cal-html.el (cal-html-insert-minical):
12035 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12036 (calendar-mark-date-pattern):
12037 Prefix "unused" locals.
12038
12039 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12040 optional argument `style'.
12041
12042 * calendar/appt.el (appt-make-list):
12043 * calendar/cal-china.el (calendar-chinese-date-string):
12044 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12045 (diary-hebrew-yahrzeit):
12046 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12047 * calendar/calendar.el (calendar-generate-window):
12048 * calendar/time-date.el (time-to-days):
12049 Remove unused local variables.
12050
16a43933
CY
120512011-04-18 Chong Yidong <cyd@stupidchicken.com>
12052
12053 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12054 glyphless-char-display table.
12055 (tabulated-list-glyphless-char-display): New var.
12056
7eed1860
SS
120572011-04-18 Sam Steingold <sds@gnu.org>
12058
12059 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12060 to acknowledgments.
12061
4d2d1ccd
GM
120622011-04-17 Glenn Morris <rgm@gnu.org>
12063
12064 * calendar/diary-lib.el (diary-sexp-entry):
12065 * calendar/holidays.el (holiday-sexp):
12066 Set debug-on-error rather than the removed stack-trace-on-error.
12067
239da61d
GM
120682011-04-16 Glenn Morris <rgm@gnu.org>
12069
12070 * progmodes/f90.el: Use lexical-binding.
12071 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12072
8b05752a
SM
120732011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12074
daca8ba5
SM
12075 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12076 (mail-mode): Setup mailalias completion here instead.
12077 * mail/mailalias.el: Use lexical-binding.
12078 (pattern, mailalias-done): Declare dynamic.
12079 (mail-completion-at-point-function): New function, from mail-complete.
12080 (mail-complete): Use it.
12081 (mail-completion-expand): New function.
12082 (mail-get-names): Use it.
12083 (mail-directory, mail-directory-process, mail-directory-stream):
12084 Don't use `pattern' for lexically bound arg.
12085
6f542485
SM
12086 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12087
037e7c3f
SM
12088 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12089 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12090 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12091
8b05752a
SM
12092 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12093 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12094 (byte-interactive-p): Define them again, for use when inlining
12095 old code.
12096
49093f60
JB
120972011-04-15 Juanma Barranquero <lekktu@gmail.com>
12098
12099 * loadup.el: Use `string-to-number', not `string-to-int'.
12100
b5b8e7de
SM
121012011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12104 gud-gdb-complete-command.
12105 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12106 (gud-gdb-completion-at-point): New function.
12107 (gud-gdb-completions): Remove.
12108
f42efeb5
MA
121092011-04-14 Michael Albinus <michael.albinus@gmx.de>
12110
49093f60
JB
12111 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12112 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12113 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12114 whether `executable-find' is bound.
f42efeb5
MA
12115
12116 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12117
e240cc21
SM
121182011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * minibuffer.el (completion-in-region-mode-predicate)
12121 (completion-in-region-mode--predicate): New vars.
12122 (completion-in-region, completion-in-region--postch)
12123 (completion-in-region-mode): Use them.
12124 (completion--capf-wrapper): Also return the hook function.
12125 (completion-at-point, completion-help-at-point):
12126 Adjust and provide a predicate.
c2bd2ab0
SM
12127
12128 Preserve arg names for advice of subr and lexical functions (bug#8457).
12129 * help-fns.el (help-function-arglist): Consolidate the subr and
12130 new-byte-code cases. Add argument `preserve-names' to extract names
12131 from the docstring when needed.
12132 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12133 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12134 (ad-arglist): Use help-function-arglist's new arg.
12135 (ad-definition-type): Use cond.
12136
c183f693
JB
121372011-04-13 Juanma Barranquero <lekktu@gmail.com>
12138
06641a47
JB
12139 * autorevert.el (auto-revert-handler):
12140 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12141 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12142 Don't quote lambda.
12143
c183f693
JB
12144 * image-mode.el (image-transform-set-scale):
12145 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12146
1e3b6001
G
121472011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12148
12149 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12150 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12151 Upgrades via gnutls-cli are too slow to be done opportunistically.
12152
2d6af8dd
JB
121532011-04-12 Juanma Barranquero <lekktu@gmail.com>
12154
12155 * dframe.el (dframe-current-frame): Remove spurious quote.
12156
c0749a51
GM
121572011-04-12 Glenn Morris <rgm@gnu.org>
12158
088d0d61
GM
12159 * calendar/cal-tex.el (cal-tex-end-document):
12160 Try to automatically use latin1 input if needed.
12161
c0749a51
GM
12162 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12163 Don't try to cons a mark onto an empty element.
12164
5c90fde0
LL
121652011-04-11 Leo Liu <sdl.web@gmail.com>
12166
12167 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12168 buffers.
12169 (ido-kill-buffer-at-head): Support killing virtual buffers.
12170
369e974d
CY
121712011-04-10 Chong Yidong <cyd@stupidchicken.com>
12172
12173 * minibuffer.el (completion-show-inline-help): New var.
12174 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12175 (minibuffer-force-complete, minibuffer-complete-word):
12176 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12177
12178 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12179 to avoid interference from inline help (Bug#5849).
12180
37f1c930
LL
121812011-04-10 Leo Liu <sdl.web@gmail.com>
12182
099c39a4
JB
12183 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12184 Fix typo.
37f1c930 12185
a32d4040
CY
121862011-04-09 Chong Yidong <cyd@stupidchicken.com>
12187
12188 * image-mode.el (image-toggle-display-image): Signal an error if
12189 not in Image mode.
12190 (image-transform-mode, image-transform-resize)
12191 (image-transform-set-rotation): Doc fix.
daca8ba5 12192 (image-transform-set-resize): Delete.
a32d4040
CY
12193 (image-transform-set-scale, image-transform-fit-to-height)
12194 (image-transform-fit-to-width): Handle image-toggle-display-image
12195 and image-transform-resize directly.
12196
099c39a4 121972011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12198
12199 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12200 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12201 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12202 (doc-view-mode-map): Add bindings for the new functions.
12203
099c39a4 122042011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12205
4d61f28d 12206 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12207 Fix typo in docstring.
12208
3726838a
EZ
122092011-04-08 Eli Zaretskii <eliz@gnu.org>
12210
04f33f1e
EZ
12211 * files.el (file-size-human-readable): Produce one digit after
12212 decimal, like "ls -lh" does.
12213
12214 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12215 the file size representation.
12216
3726838a
EZ
12217 * simple.el (list-processes): If async subprocesses are not
12218 available, error out with a clear error message.
12219
cbb59342
CY
122202011-04-08 Chong Yidong <cyd@stupidchicken.com>
12221
12222 * help.el (help-form-show): New function, to be called from C.
12223 Put help-form output in a buffer named differently than *Help*.
12224
e3971c44
EZ
122252011-04-08 Eli Zaretskii <eliz@gnu.org>
12226
12227 * files.el (file-size-human-readable): New function.
12228
12229 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12230 computing the representation inline. Don't require `cl'.
12231
12544bbe
GM
122322011-04-08 Glenn Morris <rgm@gnu.org>
12233
a1de6c6a
GM
12234 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12235
3c4671f4
GM
12236 * net/browse-url.el (browse-url-firefox):
12237 Test system-type, not system-configuration.
12238
b605679c
GM
12239 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12240 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12241 Use log-edit-empty-buffer-p. (Bug#7598)
12242
56442f0c
GM
12243 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12244 (rlogin-mode-map): Initialize in the defvar.
12245 (rlogin): Use ignore-errors.
12246
12544bbe
GM
12247 * replace.el (occur-mode-map): Some fixes for menu items.
12248
eb237b0f
AH
122492011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12250
12251 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12252
7d668f2c
CY
122532011-04-06 Chong Yidong <cyd@stupidchicken.com>
12254
e67a13ab
CY
12255 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12256 issuing unused warnings.
12257
12258 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12259 macro directly.
12260
7d668f2c
CY
12261 * simple.el: Lisp reimplement of list-processes. Based on an
12262 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12263 (process-menu-mode): New major mode.
12264 (list-processes--refresh, list-processes):
12265 (process-menu-visit-buffer): New functions.
12266
12267 * files.el (save-buffers-kill-emacs): Don't assume any return
12268 value of list-processes, which is undocumented anyway.
12269
a83ec3c9
CY
122702011-04-06 Chong Yidong <cyd@stupidchicken.com>
12271
12272 * emacs-lisp/tabulated-list.el: New file.
12273
e91a96fe
CY
12274 * emacs-lisp/package.el: Use Tabulated List mode.
12275 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12276 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12277 table format using Tabulated List mode variables.
12278 (package--push): New macro, replacing package-list-maybe-add.
12279 (package-menu--generate): Use package--push. Renamed from
12280 package--generate-package-list.
12281 (package-menu-refresh, list-packages): Use it.
daca8ba5 12282 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12283 Return insertion data instead of inserting it directly.
099c39a4
JB
12284 (package-menu-describe-package, package-menu-execute):
12285 Use tabulated-list-get-id.
e91a96fe
CY
12286 (package-menu-mark-delete, package-menu-mark-install)
12287 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12288 (package-menu-mark-obsolete-for-deletion):
12289 Use tabulated-list-put-tag.
e91a96fe
CY
12290 (package--list-packages, package-menu-revert)
12291 (package-menu-get-package, package-menu-get-version)
12292 (package-menu-sort-by-column): Functions deleted.
12293 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12294 (package-menu--status-predicate, package-menu--version-predicate)
12295 (package-menu--name-predicate)
12296 (package-menu--description-predicate): Handle arguments in the
12297 Tabulated List format.
12298 (package-list-packages-no-fetch): Call list-packages.
12299
3e214b50
JB
123002011-04-06 Juanma Barranquero <lekktu@gmail.com>
12301
12302 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12303 (after-find-file): Don't bind it.
3e214b50
JB
12304 (revert-buffer-in-progress-p): New variable.
12305 (revert-buffer): Bind it.
12306 Pass nil for `after-find-file-from-revert-buffer'.
12307
12308 * saveplace.el (save-place-find-file-hook): Use new variable
12309 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12310
3f0f1700
GM
123112011-04-06 Glenn Morris <rgm@gnu.org>
12312
c0274801
GM
12313 * Makefile.in (AUTOGEN_VCS): New variable.
12314 (autoloads): Use $AUTOGEN_VCS.
12315
3f0f1700
GM
12316 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12317 * calendar/calendar.el (calendar-mode-map):
12318 Check for toolkit scroll bars. (Bug#8305)
12319
41ea9e48
CY
123202011-04-05 Chong Yidong <cyd@stupidchicken.com>
12321
12322 * minibuffer.el (completion-in-region--postch)
12323 (completion-in-region-mode): Remove unnecessary messages.
12324
6194c800
JB
123252011-04-05 Juanma Barranquero <lekktu@gmail.com>
12326
33256f14
JB
12327 * font-lock.el (font-lock-refresh-defaults):
12328 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12329 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12330
6194c800
JB
12331 * info.el (Info-directory-list, Info-read-node-name-2)
12332 (Info-split-parameter-string): Doc fixes.
12333 (Info-virtual-nodes): Reflow docstring.
12334 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12335 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12336 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12337 Fix typos in docstrings.
12338 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12339 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12340 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12341 (Info-restore-desktop-buffer): Mark unused parameters.
12342 (Info-directory-find-file, Info-directory-find-node)
12343 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12344 (Info-virtual-index-find-node, Info-apropos-find-file)
12345 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12346 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12347 (Info-virtual-index): Remove unused local variable `nodename'.
12348
b87a8200 123492011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12350
b87a8200
DD
12351 * net/rcirc.el: Update my e-mail address.
12352 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12353
3b2ff876
CY
123542011-04-05 Chong Yidong <cyd@stupidchicken.com>
12355
12356 * startup.el (command-line): Save the cursor's theme-face
12357 directly, instead of using face-override-spec.
12358
12359 * custom.el (load-theme): Minor optimization in assigning faces.
12360
8d17e7ca
JB
123612011-04-04 Juanma Barranquero <lekktu@gmail.com>
12362
12363 * help-fns.el (describe-variable): Complete all variables having
12364 documentation, including keywords.
12365 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12366
2fbc1934
JB
123672011-04-04 Juanma Barranquero <lekktu@gmail.com>
12368
12369 Convert to lexical-binding.
12370
12371 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12372 (bs--get-marked-string, bs--get-modified-string)
12373 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12374 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12375 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12376
12377 * ehelp.el (electric-help-execute-extended)
12378 (electric-help-ctrl-x-prefix):
12379 * hexl.el (hexl-revert-buffer-function):
12380 * linum.el (linum-after-change, linum-after-scroll):
12381 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12382
12383 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12384
74f50695
DU
123852011-04-04 Daiki Ueno <ueno@unixuser.org>
12386
12387 * epa-dired.el:
12388 * epa-mail.el:
12389 * epa-hook.el:
12390 * epa-file.el:
12391 * epa.el:
12392 * epg.el: Use lexical binding.
12393
c11325f7
CY
123942011-04-03 Chong Yidong <cyd@stupidchicken.com>
12395
0d9e9a12
CY
12396 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12397
c11325f7 12398 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12399 dictionary case for flyspell-mark-duplications-exceptions.
12400 Use regexp matching for languages.
c11325f7
CY
12401 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12402 default dictionary (Bug#7926).
12403
da91b5f2
CY
124042011-04-02 Chong Yidong <cyd@stupidchicken.com>
12405
099c39a4
JB
12406 * emacs-lisp/package.el (package--with-work-buffer):
12407 Recognize https URLs.
da91b5f2 12408
099c39a4
JB
12409 * net/network-stream.el: Move from gnus/proto-stream.el.
12410 Change prefix to network-stream throughout.
da91b5f2
CY
12411 (open-protocol-stream): Merge into open-network-stream, leaving
12412 open-protocol-stream as an alias. Handle nil BUFFER args.
12413
12414 * subr.el (open-network-stream): Move to net/network-stream.el.
12415
afa8e9f6
GM
124162011-04-02 Glenn Morris <rgm@gnu.org>
12417
1d2e369d
GM
12418 * find-dired.el (find-exec-terminator): New option.
12419 (find-ls-option): Test for -ls support.
12420 (find-ls-subdir-switches): Test for -b in find-ls-option.
12421 (find-dired, find-grep-dired): Doc fixes.
12422 (find-dired): Use find-exec-terminator.
12423
8abb7da8 12424 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12425 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12426 (find-name-arg): Remove purecopy.
8abb7da8 12427
f3ca7378
GM
12428 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12429 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12430 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12431 accordingly. Don't add the null-device if not needed.
12432
afa8e9f6
GM
12433 * files.el (save-some-buffers): Doc fix.
12434
35eae264
EZ
124352011-04-02 Eli Zaretskii <eliz@gnu.org>
12436
12437 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12438
26b51db5
JB
124392011-04-01 Juanma Barranquero <lekktu@gmail.com>
12440
12441 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12442 Use `dolist' rather than `mapcar'.
12443
7200d79c
SM
124442011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12445
03408648 12446 Add lexical binding.
7200d79c 12447
03408648
SM
12448 * subr.el (apply-partially): Use new closures rather than CL.
12449 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12450 (dolist, dotimes): Use slightly different expansion for lexical code.
12451 (functionp): Move to C.
12452 (letrec): New macro.
12453 (with-wrapper-hook): Use it and apply-partially instead of CL.
12454 (eval-after-load): Preserve lexical-binding.
12455 (save-window-excursion, with-output-to-temp-buffer): Turn them
12456 into macros.
7200d79c 12457
03408648
SM
12458 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12459
12460 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12461 than the arglist.
12462 (help-add-fundoc-usage): Don't add `Not documented'.
12463 (help-function-arglist): Handle closures, subroutines, and new
12464 byte-code-functions.
12465 (help-make-usage): Remove leading underscores.
12466 (describe-function-1): Handle closures.
12467 (describe-variable): Use special-variable-p for completion.
12468
12469 * files.el (lexical-binding): Declare safe.
f488fb65 12470
03408648
SM
12471 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12472 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12473 (pcase): Add `let' pattern.
12474 Change memoization so it actually works.
12475 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12476 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12477 <let>: New case.
f488fb65 12478
03408648
SM
12479 * emacs-lisp/macroexp.el: Use lexical binding.
12480 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12481 Don't convert ' to #' without checking that it's indeed quoting
12482 a lambda.
12483
12484 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12485 Use eval-sexp-add-defvars.
03408648
SM
12486 (eval-sexp-add-defvars): New fun.
12487
12488 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12489
12490 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12491 Don't autoload.
12492 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12493 than the internal `byte-compile-lambda'.
12494 (defmethod): Don't hide code under quotes.
12495 (eieio-defmethod): New `code' argument.
12496
12497 * emacs-lisp/eieio-comp.el: Remove.
12498
12499 * emacs-lisp/edebug.el (edebug-eval-defun)
12500 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12501 (edebug-toggle): Avoid `eval'.
12502
12503 * emacs-lisp/disass.el (disassemble-internal): Handle new
12504 `closure' objects.
12505 (disassemble-1): Handle new byte codes.
12506
12507 * emacs-lisp/cl.el (pushnew): Silence warning.
12508
12509 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12510 (cl-byte-compile-throw): Remove.
12511 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12512
12513 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12514 closures.
12515
12516 * emacs-lisp/cconv.el: New file.
12517
12518 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12519 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12520 (byte-compile-initial-macro-environment):
12521 Handle declare-function here.
12522 (byte-compile--lexical-environment): New var.
12523 (byte-stack-ref, byte-stack-set, byte-discardN)
12524 (byte-discardN-preserve-tos): New lap codes.
12525 (byte-interactive-p): Don't use any more.
12526 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12527 New macros.
12528 (byte-compile-lapcode): Use them and handle new lap codes.
12529 (byte-compile-obsolete): Remove.
12530 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12531 (byte-compile-arglist-warn): Check late def of inlinable funs.
12532 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12533 since they should have been expanded by now.
12534 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12535 (byte-compile-from-buffer): Remove unused second arg.
12536 (byte-compile-preprocess): New function.
12537 (byte-compile-toplevel-file-form): New function to distinguish
12538 file-form calls from outside from file-form calls from hunk-handlers.
12539 (byte-compile-file-form): Simplify.
12540 (byte-compile-file-form-defsubst): Remove.
12541 (byte-compile-file-form-defmumble): Simplify now that
12542 byte-compile-lambda always returns a byte-code-function.
12543 (byte-compile): Preprocess.
12544 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12545 Remove, not used any more.
12546 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12547 (byte-compile-make-args-desc): New funs.
12548 (byte-compile-lambda): Handle lexical functions. Always return
12549 a byte-code-function.
12550 (byte-compile-reserved-constants): New var, to make up room for
12551 closed-over variables.
12552 (byte-compile-constants-vector): Obey it.
12553 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12554 (byte-compile-macroexpand-declare-function): New function.
12555 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12556 byte-code-functions.
12557 (byte-compile-form): Check obsolescence here.
12558 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12559 (byte-compile-variable-ref): Remove.
12560 (byte-compile-dynamic-variable-op): New fun.
12561 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12562 (byte-compile-variable-set): New funs.
12563 (byte-compile-discard): Add 2 args.
12564 (byte-compile-stack-ref, byte-compile-stack-set)
12565 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12566 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12567 macroexpand-all instead.
12568 (byte-compile-quote-form): Remove.
12569 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12570 (byte-compile-bind, byte-compile-unbind): New funs.
12571 (byte-compile-let): Handle let* and lexical binding.
12572 (byte-compile-let*): Remove.
12573 (byte-compile-catch, byte-compile-unwind-protect)
12574 (byte-compile-track-mouse, byte-compile-condition-case):
12575 Handle a new :fun-body form, used for lexical scoping.
12576 (byte-compile-save-window-excursion)
12577 (byte-compile-with-output-to-temp-buffer): Remove.
12578 (byte-compile-defun): Simplify.
12579 (byte-compile-stack-adjustment): New fun.
12580 (byte-compile-out): Use it.
12581 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12582
12583 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12584 handler any more.
12585
12586 * emacs-lisp/byte-opt.el: Use lexical binding.
12587 (byte-inline-lapcode): Remove (to bytecomp).
12588 (byte-compile-inline-expand): Pay attention to inlining to/from
12589 lexically bound code.
12590 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12591 any more.
12592 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12593 any more and don't call compiler-macros.
12594 (byte-compile-splice-in-already-compiled-code): Remove.
12595 (byte-code): Don't inline any more.
12596 (disassemble-offset): Receive `bytes' as argument rather than via
12597 dynamic scoping.
12598 (byte-compile-tag-number): Declare before first use.
12599 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12600 `return' even if make-spliceable.
12601 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12602 obsolete interactive-p.
12603 (byte-optimize-lapcode): Optimize new lap-codes.
12604 Don't trip up on new form of `byte-constant' lap code.
12605
12606 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12607
12608 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12609
12610 * custom.el (custom-initialize-default, custom-declare-variable):
12611 Use `defvar'.
12612
12613 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12614 New variables.
12615 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12616 (COMPILE_FIRST): Add macroexp and cconv.
12617 * makefile.w32-in: Mirror changes in Makefile.in.
12618
12619 * vc/cvs-status.el:
12620 * vc/diff-mode.el:
12621 * vc/log-edit.el:
12622 * vc/log-view.el:
12623 * vc/smerge-mode.el:
12624 * textmodes/bibtex-style.el:
12625 * textmodes/css.el:
12626 * startup.el:
12627 * uniquify.el:
da91b5f2
CY
12628 * minibuffer.el:
12629 * newcomment.el:
12630 * reveal.el:
12631 * server.el:
12632 * mpc.el:
12633 * emacs-lisp/smie.el:
12634 * doc-view.el:
12635 * dired.el:
03408648
SM
12636 * abbrev.el: Use lexical binding.
12637
0f0c1f27
EZ
126382011-04-01 Eli Zaretskii <eliz@gnu.org>
12639
12640 * info.el (info-display-manual): New function.
12641
c82b2579
SM
126422011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12643
12644 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12645
221ddf68
TH
126462011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12647
12648 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12649 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12650
cba6e77e
GM
126512011-03-31 Glenn Morris <rgm@gnu.org>
12652
e040639f
GM
12653 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12654
cba6e77e
GM
12655 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12656
6d0f1c9e
CS
126572011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12658
12659 * progmodes/python.el (python-default-interpreter)
12660 (python-python-command-args, python-jython-command-args)
12661 (python-which-shell, python-which-args, python-which-bufname)
12662 (python-file-queue, python-comint-output-filter-function)
12663 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12664 variables and functions.
12665
3e2d70fd
SM
126662011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12669 (completion-in-region-mode): New minor mode.
12670 (completion-in-region): Use it.
12671 (completion-in-region--data, completion-in-region-mode-map): New vars.
12672 (completion-in-region--postch): New function.
12673 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12674 New vars.
12675 (completion--capf-wrapper): New function.
12676 (completion-at-point): Use it to track well-behavedness of
12677 hook functions.
12678 (completion-help-at-point): New command.
12679
f3e4086c
JM
126802011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12681
12682 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12683 syntax class to search for whitespace on a single line
12684 (Message-ID: <4D938140.4030905@redhat.com>).
12685
eb7ffc14
LL
126862011-03-30 Leo Liu <sdl.web@gmail.com>
12687
12688 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12689 New commands.
12690 (edit-abbrevs-map): Bind them here.
12691 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12692
d806ab68
KM
126932011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12694
12695 * allout.el (allout-hide-by-annotation, allout-flag-region):
12696 Reduce possibility of overlay leakage by making them volatile.
12697
12698 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12699 hash is not shared between buffers. Mode initialization is
12700 responsible for giving it a useful starting value.
12701 (allout-item-span): Reduce possibility of overlay leakage by
12702 making them volatile.
12703 (allout-widgets-count-buttons-in-region): Add diagnostic function
12704 for tracking down button overlay leaks.
12705
ea622834
LL
127062011-03-29 Leo Liu <sdl.web@gmail.com>
12707
12708 * ido.el (ido-read-internal): Use the default history var
12709 minibuffer-history if no HISTORY is specified.
12710
b62f8267
G
127112011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12712
03408648
SM
12713 * net/imap.el (imap-shell-open, imap-process-connection-type):
12714 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12715 Kerberos, SSL, other subprocesses.
12716
947b6566
LL
127172011-03-28 Leo Liu <sdl.web@gmail.com>
12718
12719 * abbrev.el (abbrev-table-empty-p): New function.
12720 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12721 nonempty ones. (Bug#5937)
12722
5ffb62aa
JD
127232011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12724
12725 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12726
7a097943
LL
127272011-03-27 Leo Liu <sdl.web@gmail.com>
12728
12729 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12730 for foreground and background colors.
12731 (ansi-color-make-color-map): Adapt.
12732
c5b40130
LL
127332011-03-25 Leo Liu <sdl.web@gmail.com>
12734
1f48f7d2
LL
12735 * midnight.el (midnight-time-float): Remove. Note it calculates
12736 the microsecond component incorrectly and seconds-to-time does the
12737 same job.
625897ec 12738 Remove redundant (require 'timer).
1f48f7d2 12739
c5b40130
LL
12740 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12741 (ido-completions): Remove unused arguments. (Bug#8329)
12742
d86d2721
SM
127432011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * minibuffer.el (completion--flush-all-sorted-completions):
12746 Remove itself from hook.
12747 (completion-at-point): Let the functions perform the completion
12748 immediately and return nil or t.
12749 * comint.el (comint-dynamic-complete-functions): Now identical to
12750 completion-at-point-functions.
12751 (comint-dynamic-list-input-ring): Remove unused var `index'.
12752 (comint--match-partial-filename, comint--unquote&expand-filename):
12753 New funs, split from comint-match-partial-filename.
12754 (comint-dynamic-complete): Use completion-at-point.
12755 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12756
e8974c48
DA
127572011-03-24 Drew Adams <drew.adams@oracle.com>
12758
12759 * thingatpt.el: Support `defun'.
12760
def71b5e
LL
127612011-03-23 Leo Liu <sdl.web@gmail.com>
12762
cb5af48e
LL
12763 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12764
def71b5e
LL
12765 * help-mode.el (help-mode-finish): Tweak regexp.
12766
927c53e7
GM
127672011-03-23 Glenn Morris <rgm@gnu.org>
12768
18d05bed
GM
12769 * eshell/esh-opt.el (eshell-eval-using-options):
12770 Do not bind unused local variable `eshell-option-stub'.
12771
927c53e7
GM
12772 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12773
9d0da923
JB
127742011-03-22 Juanma Barranquero <lekktu@gmail.com>
12775
12776 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12777 keymap variable in `with-no-warnings' to avoid a warning when the
12778 keymap has been already `defconst'ed.
12779
4b978a67
LL
127802011-03-22 Leo Liu <sdl.web@gmail.com>
12781
12782 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12783 encode all chars in abbrevs; otherwise use emacs-mule or
12784 utf-8-emacs. (Bug#8308)
12785
5fd62452
JB
127862011-03-22 Juanma Barranquero <lekktu@gmail.com>
12787
0b1596c6
JB
12788 * simple.el (backward-delete-char-untabify):
12789 Avoid warning about using `delete-backward-char'.
12790
5fd62452
JB
12791 * image.el (image-type-file-name-regexps): Make it variable.
12792 `imagemagick-register-types' modifies it, and the user may want
12793 to add new extensions for known image types.
12794 (imagemagick-register-types): Throw error if not using ImageMagick.
12795
0b4e93f1
LL
127962011-03-22 Leo Liu <sdl.web@gmail.com>
12797
12798 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12799 located before rcirc-prompt-end-marker.
12800 (rcirc-complete): Error if point is not after rcirc prompt.
12801 Handle the case when table is nil.
9882e214 12802 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12803
fccee4ab
CY
128042011-03-22 Chong Yidong <cyd@stupidchicken.com>
12805
12806 * custom.el (custom--inhibit-theme-enable): Make it affect only
12807 custom-theme-set-variables and custom-theme-set-faces.
12808 (provide-theme): Ignore custom--inhibit-theme-enable.
12809 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12810 (custom-enabling-themes): Delete variable.
d86d2721
SM
12811 (enable-theme): Accept only loaded themes as arguments.
12812 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12813 (custom-enabled-themes): Forbid themes from setting this.
12814 Eliminate use of custom-enabling-themes.
12815 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12816
af896da6
LL
128172011-03-21 Leo Liu <sdl.web@gmail.com>
12818
12819 * ido.el (ido-read-internal): Add ido-selected to history instead
12820 of user input.
12821
78f64af0
SM
128222011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * subr.el (deferred-action-list, deferred-action-function):
12825 Mark obsolete.
12826
b16ac1ec
LL
128272011-03-21 Leo Liu <sdl.web@gmail.com>
12828
810f7698
LL
12829 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12830 change on 2011-02-13 (bug#8309).
12831
b16ac1ec
LL
12832 * minibuffer.el (read-file-name-function): Change default value.
12833 (read-file-name--defaults): Rename from read-file-name-defaults.
12834 (read-file-name-default): Rename from read-file-name.
12835 (read-file-name): Call read-file-name-function.
12836
4e05e67e
GM
128372011-03-21 Glenn Morris <rgm@gnu.org>
12838
12839 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12840 Doc fixes.
12841
4359915b
CY
128422011-03-21 Chong Yidong <cyd@stupidchicken.com>
12843
12844 * cus-theme.el: Add missing provide statement.
12845 (customize-create-theme): Extract theme value correctly.
12846 (custom-theme-visit-theme): Autoload.
12847 (customize-create-theme): Prompt before inserting default faces.
12848
1fe275ee
JB
128492011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12850
12851 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12852 units and musical notes.
12853
cd394be1 128542011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12855
12856 * ido.el (ido-read-internal): Use completing-read-default.
12857 (ido-completing-read): Fix compatibility with completing-read.
12858
7d476bde
CO
128592011-03-20 Christian Ohler <ohler@gnu.org>
12860
12861 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12862 (ert-delete-all-tests): Use `called-interactively-p' rather than
12863 `interactive-p'.
12864 (ert--make-xrefs-region): Respect END.
12865
fe0fb33e
CY
128662011-03-19 Chong Yidong <cyd@stupidchicken.com>
12867
ff854b0b
CY
12868 * dired-aux.el (dired-create-directory): Signal an error if the
12869 directory already exists (Bug#8246).
12870
fe0fb33e
CY
12871 * facemenu.el (list-colors-display): Call list-faces-display
12872 inside with-help-window.
12873 (list-colors-print): Use display property to align the final
12874 column, instead of checking window-width.
12875
576bce32
EZ
128762011-03-19 Eli Zaretskii <eliz@gnu.org>
12877
4d61f28d 12878 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12879 windows-nt systems.
12880 (emerge-protect-metachars): Quote correctly for ms-dos and
12881 windows-nt systems.
12882
89c41d68 128832011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12884
12885 * info.el (info-initialize): Replace all uses of `:' with
12886 path-separator for compatibility with non-Unix systems.
12887 Cache quoting of path-separator. (Bug#8258)
12888
b14e3e21 128892011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12890
12891 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12892 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12893 (mouse-avoidance-mode): Fix typos in docstrings.
12894
4525ce3e
CY
128952011-03-19 Chong Yidong <cyd@stupidchicken.com>
12896
12897 * startup.el (package-subdirectory-regexp): Move from package.el.
12898 Omit \\` and \\', and let callers add them.
12899
12900 * emacs-lisp/package.el (package-strip-version)
12901 (package-load-all-descriptors): Add \\` and \\' to
12902 package-subdirectory-regexp before using it.
12903 (package-untar-buffer): New arg DIR; ensure that file untars only
12904 into this expected directory. Remove superfluous delete-region.
12905 (package-unpack): Caller changed.
12906 (package-tar-file-info): Use package-subdirectory-regexp.
12907
a904a09a 129082011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12909
a904a09a
SM
12910 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12911 diff-mode-shared-map (bug#8284).
12912 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12913
129142011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12915
12916 * calendar/time-date.el (format-seconds): Use assoc instead of
12917 assoc-string, since assoc-string doesn't exist in XEmacs.
12918
171fc304
JB
129192011-03-17 Juanma Barranquero <lekktu@gmail.com>
12920
12921 * custom.el (custom-known-themes): Reflow docstring.
12922 (custom-theme-load-path): Fix typo in docstring.
12923 (load-theme): Fix typo in error message.
12924 (custom-available-themes, custom-variable-theme-value):
12925 Use `let', not `let*'.
12926
d71990a1
JB
129272011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12928
12929 * calc/README: Mention inclusion of musical notes.
12930
12931 * calc/calc-units.el (calc-lu-quant): Rename from
12932 `calc-logunits-quantity'.
12933 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12934 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12935 (calc-db): Rename from `calc-dblevel'.
12936 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12937 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12938 (calc-np): Rename from `calc-nplevel'.
12939 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12940 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12941 (calc-lu-plus): Rename from `calc-logunits-add'.
12942 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12943 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12944 (calc-lu-minus): Rename from `calc-logunits-sub'.
12945 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12946 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12947 (calc-lu-times): Rename from `calc-logunits-mul'.
12948 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12949 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12950 (calc-lu-divide): Rename from `calc-logunits-div'.
12951 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12952 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12953
12954 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12955 functions being autoloaded.
12956
12957 * calc/calc.el (calc-lu-power-reference): Rename from
12958 `calc-logunits-power-reference'.
12959 (calc-lu-field-reference): Rename from
12960 `calc-logunits-field-reference'.
12961
7a71b18d
GM
12962 * calc/calc-help.el (calc-l-prefix-help):
12963 Mention musical note functions.
d71990a1 12964
40c2934b
SM
129652011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * minibuffer.el (completion-all-sorted-completions):
12968 Use :completion-cycle-penalty text property if present.
12969
b0911414
KM
129702011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12971
12972 * allout.el (allout-yank-processing): Adjust for new rebulleting
12973 regime so bullet being yanked is used without prompting the user
12974 for a choice.
12975
8a05b668
JB
129762011-03-16 Juanma Barranquero <lekktu@gmail.com>
12977
12978 * startup.el (command-line): Warn the user that _emacs is deprecated.
12979
5ba5fb81
JB
129802011-03-16 Juanma Barranquero <lekktu@gmail.com>
12981
12982 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12983 (delphi-verbose, delphi-comment-face, delphi-string-face)
12984 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12985 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12986 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12987 (delphi-new-comment-line, delphi-font-lock-defaults)
12988 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12989 Fix typos in docstrings.
12990
2dab465b
KM
129912011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12992
5ba5fb81 12993 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12994 Invert the roles of character and string values for INSTEAD, so a
12995 string is used for the more common case of a defaulting prompt.
12996
0adf5618
SM
129972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * progmodes/ruby-mode.el (ruby-backward-sexp):
13000 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13001 * play/gamegrid.el (gamegrid-make-face):
13002 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13003 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13004 * notifications.el (notifications-notify):
13005 * net/xesam.el (xesam-search-engines):
13006 * net/quickurl.el (quickurl-list-insert):
13007 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13008
d72700e5
CY
130092011-03-15 Chong Yidong <cyd@stupidchicken.com>
13010
13011 * startup.el (command-line): Update package subdirectory regexp.
13012
49c5410a
SM
130132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13014
c6eee9aa
SM
13015 * allout.el (allout-abbreviate-flattened-numbering)
13016 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13017
49c5410a
SM
13018 * subr.el (read-char-choice): Only show the cursor after the prompt,
13019 not after the answer.
13020
047b2bb9
KR
130212011-03-15 Kevin Ryde <user42@zip.com.au>
13022
13023 * help-fns.el (variable-at-point): Skip leading quotes, if any
13024 (bug#8253).
13025
0a57d256
SM
130262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13027
13028 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13029 warning message.
13030
77c992bc
MA
130312011-03-14 Michael Albinus <michael.albinus@gmx.de>
13032
13033 * shell.el (shell): When called interactively, offer to change the
13034 shell file name on remote hosts.
13035
eebc475d
TZ
130362011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13037
13038 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13039 integration for LDAP parameters. The host, base, user or binddn,
13040 and secret tokens can be specified in a netrc file, for instance.
13041 This is optional because an `auth-source' parameter must be
13042 specified in the search attributes.
13043
9d05d1ba
JB
130442011-03-13 Juanma Barranquero <lekktu@gmail.com>
13045
13046 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13047
09d9db2c
GM
130482011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13051 into declaration. Remove redundant and harmful binding.
13052
130532011-03-12 Eli Zaretskii <eliz@gnu.org>
13054
13055 * files.el (file-ownership-preserved-p): Pass `integer' as an
13056 explicit 2nd argument to `file-attributes'. If the file's owner
13057 is the Administrators group on Windows, and the current user is
13058 Administrator, consider that a match.
13059
13060 * server.el (server-ensure-safe-dir): Consider server directory
13061 safe on MS-Windows if its owner is the Administrators group while
13062 the current Emacs user is Administrator. Use `=' to compare
13063 numerical UIDs, since they could be integers or floats.
13064
219bd536
JB
130652011-03-12 Juanma Barranquero <lekktu@gmail.com>
13066
13067 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13068
f3afd36b
MA
130692011-03-12 Michael Albinus <michael.albinus@gmx.de>
13070
13071 Sync with Tramp 2.2.1.
13072
13073 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13074
13075 * net/trampver.el: Update release number.
13076
3aaaa6f1
SM
130772011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13078
94642599
SM
13079 * progmodes/compile.el (compilation--previous-directory): Fix up
13080 various nil/dead-marker mismatches (bug#8014).
13081 (compilation-directory-properties, compilation-error-properties):
13082 Don't call it at a position past the one we're about to change.
13083
3aaaa6f1
SM
13084 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13085 Disable obsolescence warnings in the file that declares it.
13086
14239447
KM
130872011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13088
099c39a4
JB
13089 * allout-widgets.el (allout-widgets-tally):
13090 Initialize allout-widgets-tally as a hash table rather than nil to
13091 prevent mode-line redisplay warnings. Also, clarify the module
13092 description and fix a comment typo.
14239447 13093
135e287c
JB
130942011-03-11 Juanma Barranquero <lekktu@gmail.com>
13095
13096 * help-fns.el (describe-variable): Don't complete keywords.
13097 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13098
ffbf300e
CY
130992011-03-10 Chong Yidong <cyd@stupidchicken.com>
13100
ba08b241
CY
13101 * emacs-lisp/package.el (package-version-join): Impose a standard
13102 string representation for pre/alpha/beta version lists.
13103 (package-unpack-single): Standardize the directory name by passing
13104 it through package-version-join.
13105 (package-strip-rcs-id): Accept any version string that does not
13106 signal an error in version-to-list.
ffbf300e 13107
f346fd6b
MA
131082011-03-10 Michael Albinus <michael.albinus@gmx.de>
13109
13110 * simple.el (delete-trailing-whitespace): Return nil for the
13111 benefit of `write-file-functions'.
13112
ccb55d27
GM
131132011-03-10 Glenn Morris <rgm@gnu.org>
13114
5ceaac0c
GM
13115 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13116
02da65ff
GM
13117 * vc/vc-git.el (vc-git-program): New option.
13118 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13119 (vc-git--call): Use it.
13120
b2f603cc
GM
13121 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13122
5772caab
GM
13123 * cus-edit.el (Custom-newline): If no button at point, look
13124 for a subgroup button at start-of-line. (Bug#2298)
13125
ccb55d27
GM
13126 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13127
ec6ecaed
JD
131282011-03-10 Julien Danjou <julien@danjou.info>
13129
13130 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13131 `cursor-type' is nil.
13132
9d5aa01d
JB
131332011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13134
13135 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13136
b6a5875b
KM
131372011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13138
7a71b18d 13139 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13140 preserves the existing header prefix, rebulleting it if necessary,
13141 rather than replacing it. This is necessary for proper operation
13142 of cooperative addons like allout-widgets.
1154d12e
JB
13143 (allout-make-topic-prefix, allout-rebullet-heading):
13144 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13145 value as alternate bullet to be used, instead of prompting the user
13146 for a bullet character.
b6a5875b 13147
ee545c35
MA
131482011-03-09 Michael Albinus <michael.albinus@gmx.de>
13149
d86d2721
SM
13150 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13151 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13152 `tramp-default-port'.
13153
c47971d7
DD
131542011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13155
13156 * net/rcirc.el (rcirc-handler-001): Remove useless
13157 with-rcirc-process-buffer.
13158 (rcirc-check-auth-status): Swap arguments to string-match.
13159
13522cb4
GM
131602011-03-09 Glenn Morris <rgm@gnu.org>
13161
0be6f4f1
GM
13162 * shell.el (shell-mode):
13163 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13164
13522cb4
GM
13165 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13166 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13167
515de2e3
CY
131682011-03-08 Chong Yidong <cyd@stupidchicken.com>
13169
13170 * emacs-lisp/package.el (package-refresh-contents)
13171 (package-menu-execute): Use condition-case-no-debug.
13172
b511b994
MA
131732011-03-08 Michael Albinus <michael.albinus@gmx.de>
13174
13175 * simple.el (shell-command-to-string): Use `process-file'.
13176
13177 * emacs-lisp/package.el (package-tar-file-info): Handle also
13178 remote files.
13179
d86d2721
SM
13180 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13181 Use `equal' for upload base check.
b511b994 13182
25bbfb31
AM
131832011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13184
13185 * textmodes/texinfo.el (texinfo-environments):
13186 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13187
be996521
GM
131882011-03-08 Glenn Morris <rgm@gnu.org>
13189
e9c8529f
GM
13190 * cus-start.el (cursor-in-non-selected-windows):
13191 Fix :set quoting oddness. (Bug#8192)
13192
be996521
GM
13193 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13194 in some setf expressions. (Bug#2159)
13195
2bb5649e
CY
131962011-03-08 Chong Yidong <cyd@stupidchicken.com>
13197
13198 * custom.el (custom-available-themes): Return themes in
13199 alphabetical order.
13200
33383987 13201See ChangeLog.15 for earlier changes.
e3d51b27
MR
13202
13203;; Local Variables:
13204;; coding: utf-8
e3d51b27
MR
13205;; End:
13206
acaf905b 13207 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13208
13209 This file is part of GNU Emacs.
13210
13211 GNU Emacs is free software: you can redistribute it and/or modify
13212 it under the terms of the GNU General Public License as published by
13213 the Free Software Foundation, either version 3 of the License, or
13214 (at your option) any later version.
13215
13216 GNU Emacs is distributed in the hope that it will be useful,
13217 but WITHOUT ANY WARRANTY; without even the implied warranty of
13218 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13219 GNU General Public License for more details.
13220
13221 You should have received a copy of the GNU General Public License
13222 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.