lib-src/emacsclient.c (min): Undef before redefining it.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7b97c764
CY
12012-05-02 Chong Yidong <cyd@gnu.org>
2
3 * allout.el (allout-exposure-change-functions)
4 (allout-structure-added-functions)
5 (allout-structure-deleted-functions)
6 (allout-structure-shifted-functions): Rename abnormal hooks from
7 *-hook, and convert to defcustoms.
8 (allout-after-copy-or-kill-hook, allout-post-undo-hook): Convert
9 to defcustoms.
10 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11
12 * allout-widgets.el: Hook callers changed.
13
90207a15 142012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
15
16 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
17 the yanked message in preference to the default value of
18 buffer-file-coding-system.
19
90207a15 202012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad
MR
21
22 * window.el (display-buffer--action-function-custom-type): Fix
23 entry.
24
90207a15 252012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
26
27 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
28
d80ac57b
GM
292012-05-01 Glenn Morris <rgm@gnu.org>
30
976f7668
GM
31 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
32
beb83b5a
GM
33 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
34
d80ac57b
GM
35 * cus-edit.el (custom-variable-documentation): Simplify with format.
36
b593d6a9
AH
372012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
38 Stefan Monnier <monnier@iro.umontreal.ca>
39
40 * simple.el (suggest-key-bindings, execute-extended-command):
41 Move from keyboard.c.
42
782fbf2a
CY
432012-05-01 Chong Yidong <cyd@gnu.org>
44
45 * follow.el: Eliminate advice.
46 (set-process-filter, process-filter, sit-for): Advice deleted.
47 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
48 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
49 Vars deleted.
782fbf2a
CY
50 (follow-auto): Use a :set function.
51 (follow-mode): Rewritten. Don't advise process filters.
52 (follow-switch-to-current-buffer-all, follow-scroll-up)
53 (follow-scroll-down): Assume follow-mode is bound.
54 (follow-comint-scroll-to-bottom)
55 (follow-align-compilation-windows): New functions.
56 (follow--window-sorter): New function.
57 (follow-all-followers): Use it to explicitly sort windows by their
58 positions; don't make assumptions about next-window order.
59 (follow-windows-start-end, follow-delete-other-windows-and-split)
60 (follow-calc-win-start): Doc fix.
61 (follow-windows-aligned-p, follow-select-if-visible): Don't call
62 vertical-motion unnecessarily.
63 (follow-adjust-window): New function.
64 (follow-post-command-hook): Use it.
65 (follow-call-set-process-filter, follow-call-process-filter)
66 (follow-intercept-process-output, follow-tidy-process-filter-alist)
67 (follow-stop-intercept-process-output, follow-generic-filter):
68 Functions deleted.
69 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
70 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
71 New functions, replacing advice on scroll-bar-* commands.
87233a14 72 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
73
74 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
75 (comint-postoutput-scroll-to-bottom): Use it.
76 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 77
290af740
GM
782012-05-01 Glenn Morris <rgm@gnu.org>
79
80 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
81 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
82 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
83 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
84 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
85 Remove no-byte-compile setting.
86
6eac8dc9
SM
872012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * minibuffer.el (completion-table-with-quoting): Fix compatibility
90 all-completions code to not return a number in the last cdr.
91
9cc7819c
LL
922012-04-30 Leo Liu <sdl.web@gmail.com>
93
94 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
95 read-only error.
96
c93b886f
CY
972012-04-29 Chong Yidong <cyd@gnu.org>
98
99 * follow.el (follow-calc-win-end): Rewrite to handle partial
100 screen lines correctly (Bug#8390).
101 (follow-avoid-tail-recenter): Minor cleanup.
102
8b6c19f4
SM
1032012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 Avoid the obsolete `assoc' package.
106 * speedbar.el (speedbar-refresh): Avoid adelete.
107 (speedbar-file-lists): Simplify and avoid aput.
108 * man.el (Man--sections, Man--refpages): New vars, replacing
109 Man-sections-alist and Man-refpages-alist.
110 (Man-build-section-alist, Man-build-references-alist):
111 Use them; avoid aput.
112 (Man--last-section, Man--last-refpage): New vars.
113 (Man-follow-manual-reference): Use them.
114 Use the `default' arg of completing-read.
115 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
116
c5bb7569
CY
1172012-04-27 Chong Yidong <cyd@gnu.org>
118
d1d2e2e8
CY
119 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
120
15cd8efd
CY
121 * startup.el (x-apply-session-resources): New function.
122
123 * term/ns-win.el (ns-initialize-window-system):
124 * term/w32-win.el (w32-initialize-window-system):
125 * term/x-win.el (x-initialize-window-system): Use it to properly
126 set menu-bar-mode and other vars from X resources, even if the
127 initial frame is not a window-system frame (Bug#2299).
128
c5bb7569
CY
129 * subr.el (read-key): Avoid running filter function when setting
130 up temporary tool bar entries (Bug#9922).
131
a8e7d6d7 1322012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
133
134 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
135 (Bug#11344)
136
a8e7d6d7 1372012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
138
139 * select.el (xselect--encode-string): New function, split from
140 xselect-convert-to-string.
141 (xselect-convert-to-string): Use it.
142 (xselect-convert-to-filename, xselect-convert-to-os)
143 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
144 returned strings are properly encoded (Bug#11315).
145
a8e7d6d7 1462012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
147
148 * simple.el (delete-active-region): Move to killing custom group.
149
a8e7d6d7 1502012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
151
152 * progmodes/which-func.el (which-func-current): Quote %
153 characters for mode-line processing.
154
578c1d4b 1552012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
156
157 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
158 reaching eob (Bug#11286).
159
a8e7d6d7 1602012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
161
162 * progmodes/gdb-mi.el (gdb-control-level): New variable.
163 (gdb): Make it buffer-local and init to zero.
164 (gdb-control-commands-regexp): New variable.
165 (gdb-send): Don't wrap in "-interpreter-exec console" if
166 gdb-control-level is positive. Increment gdb-control-level
167 whenever the command matches gdb-control-commands-regexp, and
168 decrement it each time the command is "end". (Bug#11279)
169
a8e7d6d7 1702012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
171
172 * window.el (adjust-window-trailing-edge, enlarge-window)
173 (shrink-window, window-resize):
174 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
175 windows (Bug#11276).
176
b3608390
CY
1772012-04-27 Chong Yidong <cyd@gnu.org>
178
179 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 180 fix "missing prefix" warning. All callers changed.
b3608390 181
797e6e88
SM
1822012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
183
184 * emacs-lisp/assoc.el: Move to obsolete/.
185
e95a67dc
SM
1862012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
187
657c21e4 188 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
189
190 * term/ns-win.el (ns-define-service):
191 * progmodes/pascal.el (pascal-goto-defun):
192 * progmodes/js.el (js--read-tab):
193 * progmodes/etags.el (tags-lazy-completion-table):
194 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
195 * emacs-lisp/ewoc.el (ewoc--wrap):
196 * emacs-lisp/assoc.el (aput, adelete, amake):
197 * doc-view.el (doc-view-convert-current-doc):
198 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
199
cb3e7ae0
CY
2002012-04-26 Chong Yidong <cyd@gnu.org>
201
dce04f7f
CY
202 * image.el (image-type-from-buffer): Only return supported image
203 type (Bug#9045).
204
cb3e7ae0
CY
205 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
206 value, for symmetry with diff-end-of-hunk.
207 (diff-split-hunk, diff-find-source-location)
208 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
209 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
210 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
211 compute the relevant hunk or file properly (Bug#6005).
212 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
213
0d42eb3e
SM
2142012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * vc/vc-mtn.el:
217 * vc/vc-hg.el:
218 * vc/vc-git.el:
219 * vc/vc-dir.el:
220 * vc/vc-cvs.el:
221 * vc/vc-bzr.el:
222 * vc/vc-arch.el:
223 * vc/vc.el: Replace lexical-let by lexical-binding.
224 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
225 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
226 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
227
f08ae1c9
CY
2282012-04-26 Chong Yidong <cyd@gnu.org>
229
8b71081d
CY
230 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
231 (diff-mode-shared-map): Bind it to / and [remap undo].
232
f08ae1c9
CY
233 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
234 (ediff-window-setup-function): Use it as the default, to set up
235 windows based on whether the current frame is graphical (Bug#2138).
236 (ediff-choose-window-setup-function-automatically): Make obsolete.
237
238 * vc/ediff-init.el: Always define ediff-pixel-width/height.
239
ef24141c
SM
2402012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
241
cc356a5d
SM
242 * ffap.el: Remove old code for obsolete package.
243 (ffap-complete-as-file-p): Remove.
244
b4ff4f1f
SM
245 Use completion-table-with-quoting for comint and pcomplete.
246 * comint.el (comint--unquote&requote-argument)
247 (comint--unquote-argument, comint--requote-argument): New functions.
248 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
249 (comint-quote-filename): Use regexp-opt-charset.
250 (comint--common-suffix, comint--common-quoted-suffix)
251 (comint--table-subvert): Remove.
252 (comint-unquote-function, comint-requote-function): New vars.
253 (comint--complete-file-name-data): Use them with
254 completion-table-with-quoting.
255 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
256 * pcomplete.el (pcomplete-arg-quote-list)
257 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
258 (pcomplete-unquote-argument-function): Default to non-nil.
259 (pcomplete-unquote-argument): Simplify.
260 (pcomplete--common-quoted-suffix): Remove.
261 (pcomplete-requote-argument-function): New var.
262 (pcomplete--common-suffix): New function.
263 (pcomplete-completions-at-point): Use completion-table-with-quoting
264 and completion-table-subvert.
265
79c4eeb4
SM
266 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
267 (minibuffer--double-dollars): Preserve properties.
268 (completion--sifn-requote): New function.
269 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
270
ef24141c
SM
271 * minibuffer.el: Add support for completion of quoted/escaped data.
272 (completion-table-with-quoting, completion-table-subvert): New funs.
273 (completion--twq-try, completion--twq-all): New functions.
274 (completion--nth-completion): New function.
275 (completion-try-completion, completion-all-completions): Use it.
276
784e7d6e
LL
2772012-04-25 Leo Liu <sdl.web@gmail.com>
278
dd2ac746
SM
279 * progmodes/python.el (python-pdbtrack-get-source-buffer):
280 Use compilation-message if available to find real filename.
784e7d6e 281
07875ee7
CY
2822012-04-25 Chong Yidong <cyd@gnu.org>
283
284 * vc/diff-mode.el (diff-setup-whitespace): New function.
285 (diff-mode): Use it.
286
287 * vc/diff.el (diff-sentinel):
288 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
289 Whitespace mode variables based on diff style (Bug#8612).
290
5055880d
LL
2912012-04-25 Leo Liu <sdl.web@gmail.com>
292
daf75653
LL
293 * progmodes/python.el (python-send-region): Add suffix .py to the
294 temp file.
295
5055880d
LL
296 * files.el (auto-mode-alist): Use javascript-mode instead.
297
db9b177b
AH
2982012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
299
ef24141c 300 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
301
302 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 303 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 304 references, see Bug#9.
ef24141c 305 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 306 when receiving a fault reply.
ef24141c 307 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
308
309 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 310 (soap-inspect-simple-type): New function.
db9b177b 311
ef24141c 312 * soap-client.el (soap-simple-type): New struct.
db9b177b 313 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
314 (soap-decode-basic-type, soap-encode-basic-type):
315 support unsignedInt and double basic types.
db9b177b 316 (soap-resolve-references-for-simple-type)
ef24141c
SM
317 (soap-parse-simple-type, soap-encode-simple-type): New function.
318 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
319
320 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
321 (soap-default-soapenc-types): Add integer, byte and anyURI types.
322 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
323 the local name of "soapenc:Array".
324 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
325 decoding integer, byte and anyURI xsd types.
326
1fc6097b
CY
3272012-04-25 Chong Yidong <cyd@gnu.org>
328
329 * cus-edit.el (custom-buffer-create-internal): Update header text.
330
afc6df87
EZ
3312012-04-25 Eli Zaretskii <eliz@gnu.org>
332
333 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
334 settings on 'system-type', not on 'window-system'. On MS-Windows,
335 set interactive-mode on in GDB.
336
dfbd787f
SM
3372012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
340 (ruby-syntax-propertize-regexp): Remove.
341 (ruby-syntax-propertize-function): Split regexp into chunks.
342 Match following code directly.
343
85222d44
DG
3442012-04-24 Dmitry Gutov <dgutov@yandex.ru>
345
51a8ea2a
DG
346 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
347 (ruby-syntax-propertize-regexp): New function.
348 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
349 by a special keyword.
350
85222d44
DG
351 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
352 (ruby-syntax-general-delimiters-goto-beg)
353 (ruby-syntax-propertize-general-delimiters): New functions.
354 (ruby-syntax-propertize-function): Use them to handle GDL.
355 (ruby-font-lock-keywords): Move old handling of GDL...
356 (ruby-font-lock-syntactic-keywords): .. to here.
357 (ruby-calculate-indent): Adjust indentation for GDL.
358
b613912b
MA
3592012-04-24 Michael Albinus <michael.albinus@gmx.de>
360
b5380639
MA
361 * notifications.el (top): Remove unneeded declarations.
362 (notifications-specification-version): Change to "1.2".
e43042fe 363 (notifications-interface, notifications-notify-method)
b613912b
MA
364 (notifications-close-notification-method): Fix docstring.
365 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
366 (notifications-notify): Add :action-items, :resident and
367 :transient hints. Change "image_data" to "image-data" and
368 "image_path" to "image-path".
b613912b
MA
369 (notifications-get-capabilities): New defun.
370
257440aa
LL
3712012-04-24 Leo Liu <sdl.web@gmail.com>
372
373 * progmodes/python.el: Move hideshow setup to the end.
374
b1bac16e
MR
3752012-04-24 Martin Rudalics <rudalics@gmx.at>
376
377 * window.el (handle-select-window): Clear echo area since this is
378 no more done by read_char (Bug#11304).
379
d81bd059
SM
3802012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
383 and `/ M' to filter-derived-mode.
384 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
385 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
386 (ibuffer-mark-by-mode): Use default rather than initial-input.
387 (ibuffer-filter-by-derived-mode): Autoload and require-match.
388
c4cf6d91
IA
3892012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
390
391 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
392 (ibuffer-filter-by-derived-mode): New filter.
393 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
394
7511ded8
CY
3952012-04-23 Andreas Politz <politza@fh-trier.de>
396
397 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
398
775c916b
CY
3992012-04-23 Chong Yidong <cyd@gnu.org>
400
401 * cus-edit.el (customize-apropos, customize-apropos-options):
402 Disable matching of non-option variables (Bug#11176).
403 (customize-option, customize-option-other-window)
404 (customize-changed-options): Doc fix.
405 (customize-apropos-options, customize-apropos-faces)
406 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
407
408 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 409 Fix word list splitting (Bug#11132).
46c71e23
CY
410 (apropos-symbol, apropos-keybinding, apropos-label)
411 (apropos-property, apropos-function-button)
412 (apropos-variable-button, apropos-misc-button): New faces.
413 (apropos-symbol-face, apropos-keybinding-face)
414 (apropos-label-face, apropos-property-face, apropos-match-face):
415 Variables removed (Bug#8396).
416 (apropos-library-button, apropos-format-plist, apropos-print)
417 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 418
2df41f9c
MA
4192012-04-23 Michael Albinus <michael.albinus@gmx.de>
420
421 * net/xesam.el (xesam-mode-map): Use let-bound map in
422 initialization. (Bug#11292)
423
da00640a
AM
4242012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
425
426 Preserve ispell session localwords when switching back to
427 original buffer.
428
429 * ispell.el (ispell-buffer-session-localwords): New buffer-local
430 variable to hold buffer session localwords.
431 (ispell-kill-ispell): add option 'clear to delete session
432 localwords.
433 (ispell-command-loop, ispell-change-dictionary)
434 (ispell-buffer-local-words): Preserve session localwords when
435 needed.
436
437 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
438 Preserve session localwords when needed.
439
f621ccf5
AM
4402012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
441
442 * ispell.el (ispell-insert-word) Remove unneeded function using
443 obsolete `translation-table-for-input'.
ef24141c
SM
444 (ispell-word, ispell-process-line, ispell-complete-word):
445 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 446
c2d1019e
CY
4472012-04-22 Chong Yidong <cyd@gnu.org>
448
449 * cus-edit.el (custom-variable-menu)
450 (custom-variable-reset-saved, custom-face-menu)
451 (custom-face-reset-saved): If there is no saved value, make the
452 "reset-saved" operation bring back the default (Bug#9509).
453 (custom-face-state): Properly detect themed faces.
454
eeddc531
CY
455 * faces.el (face-spec-set): Stop supporting deprecated form of
456 third arg.
457
dcbf5805
MA
4582012-04-22 Michael Albinus <michael.albinus@gmx.de>
459
460 Move functions from C to Lisp. Make non-blocking method calls
461 the default. Implement further D-Bus standard interfaces.
462
ef24141c
SM
463 * net/dbus.el (dbus-message-internal): Declare function.
464 Remove unneeded function declarations.
dcbf5805
MA
465 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
466 (dbus-message-type-method-return, dbus-message-type-error)
467 (dbus-message-type-signal): Declare variables. Remove local
468 definitions.
469 (dbus-interface-dbus, dbus-interface-peer)
470 (dbus-interface-introspectable, dbus-interface-properties)
471 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
472 Adapt docstring.
473 (dbus-interface-objectmanager): New defconst.
474 (dbus-call-method, dbus-call-method-asynchronously)
475 (dbus-send-signal, dbus-method-return-internal)
476 (dbus-method-error-internal, dbus-register-service)
477 (dbus-register-signal, dbus-register-method): New defuns, moved
478 from dbusbind.c
479 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
480 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
481 New defuns.
dcbf5805
MA
482 (dbus-call-method-non-blocking): Make it an obsolete function.
483 (dbus-unregister-object, dbus-unregister-service)
484 (dbus-handle-event, dbus-register-property)
485 (dbus-property-handler): Obey the new structure of
486 `bus-registered-objects'.
487 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
488 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
489 Use `dbus-call-method'.
490
cf20dee0
CY
4912012-04-22 Chong Yidong <cyd@gnu.org>
492
493 * cus-edit.el (custom-commands, custom-reset-menu)
494 (Custom-reset-standard): Tweak labels.
495 (custom-reset-button-menu): Change default to t.
496 (custom-buffer-create-internal): For the custom-reset-button-menu
497 case, put the revert button first.
498 (custom-group-subtitle): New face.
499 (custom-group-value-create): Align docstring to a specific column.
500
501 * wid-edit.el (widget-documentation-link-add): Don't handle
502 indentation in this function.
503 (widget-documentation-string-indent-to): New function.
504 (widget-documentation-string-value-create): Use it.
505
506 * autorevert.el (auto-revert):
507 * epg-config.el (epg):
508 * ibuffer.el (ibuffer):
509 * mpc.el (mpc):
510 * ses.el (ses):
511 * eshell/eshell.el (eshell):
512 * net/ange-ftp.el (ange-ftp):
513 * progmodes/ebnf2ps.el (postscript):
514 * progmodes/flymake.el (flymake):
515 * progmodes/prolog.el (prolog):
516 * progmodes/verilog-mode.el (verilog-mode):
517 * progmodes/which-func.el (which-func):
518 * term/xterm.el (xterm):
519 * textmodes/picture.el (picture):
520 * textmodes/tildify.el (tildify):
521 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
522 customization buffers.
523
583e23bd
AM
5242012-04-22 Alan Mackenzie <acm@muc.de>
525
526 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
527 Adding a ) can hide the resulting (..) from searches. Fix it.
528 Bound the backward search to the position of the existing (.
529
7dd51bf1
JB
5302012-04-21 Juanma Barranquero <lekktu@gmail.com>
531
532 * progmodes/verilog-mode.el (verilog-mode): Check whether
533 which-func-modes is t before adding verilog-mode.
534 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
535
d64a438f
LL
5362012-04-21 Leo Liu <sdl.web@gmail.com>
537
7dd51bf1 538 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 539
081e8d65
MV
5402012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
541
542 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
543 filling of the last column of a table (Bug#5635).
544 (woman-find-next-control-line): New arg, specifying an additional
545 regexp component for the control line.
546 (woman2-roff-buffer): Use it.
547 (woman-break-table): New function.
548 (woman2-TS): Use it.
549
5502012-04-21 Chong Yidong <cyd@gnu.org>
551
552 * woman.el (woman-set-buffer-display-table, woman-decode-region)
553 (woman-horizontal-escapes, woman-negative-vertical-space)
554 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
555 (WoMan-warn-ignored): Use ?\s instead of ?\ .
556
ed571ccb
SM
5572012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
558
559 * minibuffer.el (completion-file-name-table): Complete user names.
560
39773899
LL
5612012-04-20 Leo Liu <sdl.web@gmail.com>
562
563 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
564 and pcase-let*.
565
de6ff46d
CY
5662012-04-20 Chong Yidong <cyd@gnu.org>
567
568 * server.el (server-execute): Respect initial-buffer-choice if it
569 is a string and there are no files to open (Bug#2825).
570 (server-create-window-system-frame, server-create-tty-frame):
571 Don't switch buffers here.
2d0e8e61
CY
572 (server-process-filter): Only try to open a window system frame if
573 compiled with graphical support (Bug#8314).
de6ff46d 574
54071013
DN
5752012-04-20 Dan Nicolaescu <dann@gnu.org>
576
577 * battery.el (battery-echo-area-format): Display remaining time
578 for sysfs backend too (Bug#11269).
579 (battery-linux-sysfs): Fix conditional for the charge.
580
f30d612a
CY
5812012-04-20 Chong Yidong <cyd@gnu.org>
582
c07a4c0b 583 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
584 (gdb-inferior-io--init-proc): New function.
585 (gdb-init-1): Use it.
586 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
587 responsible for allocating a new pty and hooking it to gdb when
588 the old pty gets an EIO due to process exit.
589 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
590 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
591 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
592
2116e93c
EZ
5932012-04-20 Eli Zaretskii <eliz@gnu.org>
594
595 * window.el (window-min-size, window-sizable, window-min-delta)
596 (window-max-delta, window--resizable, window-resizable)
597 (window-total-size, window-full-height-p, window-full-width-p)
598 (window-in-direction, window--resize-mini-window, window-resize)
599 (window--resize-child-windows-normal)
600 (window--resize-child-windows, window--resize-siblings)
601 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 602 (enlarge-window, shrink-window): Doc fixes.
2116e93c 603
c07a4c0b 6042012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 605
ef24141c
SM
606 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
607 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
608 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
609 pty process (Bug#11273).
610 (gdb-update): New arg to suppress talking to the gdb process.
611 (gdb-done-or-error): Use it.
612 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
613 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
614 sentinel not being called.
615
616 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
617
d02766ab
CY
618 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
619
c07a4c0b 6202012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
621
622 * net/network-stream.el (open-network-stream): Doc fix.
623
c07a4c0b 6242012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
625
626 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
627
c07a4c0b 6282012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
629
630 Ensure searching for keywords is case sensitive.
631
632 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
633 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
634 (c-defun-name, c-mark-function, c-cpp-define-name)
635 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 636 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 637
ef24141c
SM
638 * progmodes/cc-mode.el (c-font-lock-fontify-region):
639 Bind case-fold-search to nil.
f0f6bc35 640
c07a4c0b 6412012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
642
643 * mail/sendmail.el (mail-bury): Call return action with the right
644 Rmail buffer (Bug#11242).
645
9a864fa2
CY
646 * server.el (server-process-filter): Handle corner case where both
647 tty and nowait options are present (Bug#11102).
648
539aa513
EZ
6492012-04-20 Eli Zaretskii <eliz@gnu.org>
650
651 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
652 (top level): Put into the executable the ident-style '$Id:' tag on
653 windows-nt as well.
539aa513 654
cfc7d5da
SM
6552012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * electric.el (electric-indent-post-self-insert-function): Check that
658 electric-indent-mode is enabled in current buffer.
659
5b01685c
JB
6602012-04-19 Juanma Barranquero <lekktu@gmail.com>
661
662 * imenu.el (imenu-progress-message): Restore; it is "used" in
663 erc/erc-imenu.el and net/snmp-mode.el.
664
4d6769e1
JB
6652012-04-19 Juanma Barranquero <lekktu@gmail.com>
666
667 * avoid.el (mouse-avoidance-mode): Mark unused arg.
668 (mouse-avoidance-nudge-mouse): Remove unused binding.
669
670 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
671
672 * descr-text.el (describe-char):
673 * progmodes/python.el (python-describe-symbol):
674 Don't call `toggle-read-only', set `buffer-read-only'.
675
676 * imenu.el (imenu-default-goto-function): Mark unused args.
677 (imenu-progress-message): Remove obsolete macro; all callers changed.
678
679 * subr.el (keymap-canonicalize): Remove unused binding.
680 (read-passwd): Mark unused arg.
681
682 * tutorial.el (tutorial--display-changes): Remove unused binding.
683 (tutorial--save-tutorial-to): Remove unused variable.
684
685 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
686 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
687 (package-generate-autoloads, package-menu--generate)
688 (package-menu--find-upgrades): Remove unused bindings.
689
690 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
691 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
692 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
693 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
694 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
695 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
696 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
697 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
698 (cua-delete-char-rectangle): Mark unused args.
699 (cua-align-rectangle): Remove unused binding.
700
701 * mail/rmail.el (compilation--message->loc)
702 (epa--find-coding-system-for-mime-charset): Declare.
703
704 * net/dbus.el (dbus-register-service): Declare.
705 (dbus-name-owner-changed-handler): Remove unused binding.
706
707 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
708 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
709 (nxml-scan-backward-within): Mark unused arg.
710 (nxml-dynamic-markup-word): Remove unused binding.
711
712 * mouse.el (mouse-menu-major-mode-map):
713 * emacs-lisp/authors.el (authors-scan-change-log)
714 (authors-add-to-author-list):
715 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
716 * emacs-lisp/smie.el (smie-auto-fill):
717 * mail/sendmail.el (mail-bury):
718 * mail/unrmail.el (unrmail):
719 * net/tls.el (open-tls-stream):
720 * textmodes/picture.el (picture-mouse-set-point):
721 Remove unused bindings.
722
8c8fc5df
MA
7232012-04-19 Michael Albinus <michael.albinus@gmx.de>
724
725 * net/tramp.el (tramp-action-password): Let-bind
726 `enable-recursive-minibuffers' to t.
727
a77b0ac9
SS
7282012-04-18 Sam Steingold <sds@gnu.org>
729
730 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
731 instead of 'string to accommodate values like [f11].
732 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
733 * progmodes/gdb-mi.el: Likewise.
734
12a106a9
LL
7352012-04-18 Leo Liu <sdl.web@gmail.com>
736
737 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
738 current buffer.
739 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
740 LOCAL is nil.
741
bc6494ef
CY
7422012-04-18 Chong Yidong <cyd@gnu.org>
743
744 * simple.el (line-move): Use forward-line if in batch mode
745 (Bug#11053).
746
c09c46b2
CS
7472012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
748
749 * files.el (after-find-file): Do not try to add a final newline if
750 the buffer is read-only (Bug#11156).
751
5f6530ea
RS
7522012-04-17 Richard Stallman <rms@gnu.org>
753
754 * mail/rmail.el (rmail-start-mail):
755 Pass (rmail-mail-return...) for the return-action.
756 Pass (rmail-yank-current-message...) for the yank-action.
757 (rmail-yank-current-message): New function.
758 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
759 (rmail-reply): Likewise.
760 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
761
762 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 763 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
764 buffer, not newbuf.
765
197b6f3c
JB
7662012-04-17 Juanma Barranquero <lekktu@gmail.com>
767
768 * server.el (server-ensure-safe-dir): Simplify.
769
2311d8e5 7702012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 771
2311d8e5
GM
772 * emacs-lisp/smie.el: Provide smarter auto-filling.
773 (smie-auto-fill): New function.
774 (smie-setup): Use it.
98fb480e 775
2311d8e5
GM
776 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
777
7782012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
779
780 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
781 (comment-indent): Use it.
782
2311d8e5 7832012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
784
785 * ses.el: The overall change is to add cell renaming, that is
786 setting fancy names for cell symbols other than name matching
787 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 788 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 789 (ses-create-cell-variable): New defun.
2311d8e5 790 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
791 (ses-relocate-formula): Relocate formulas only for cells the
792 symbols of which are not renamed, i.e. symbols whose names do not
793 match regexp "\\`[A-Z]+[0-9]+\\'".
794 (ses-relocate-all): Relocate values only for cells the symbols of
795 which are not renamed.
796 (ses-load): Create cells variables as the (ses-cell ...) are read,
797 in order to check row col consistency with cell symbol name only
798 for cells that are not renamed.
799 (ses-replace-name-in-formula): New defun.
800 (ses-rename-cell): New defun.
4bdf2ad2 801
fc72b15c
PO
8022012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
803
804 * progmodes/perl-mode.el (perl-indent-parens-as-block):
805 New option (bug#11118).
806 (perl-calculate-indent): Respect it.
807
12e10e61
GM
8082012-04-17 Glenn Morris <rgm@gnu.org>
809
810 * dired-aux.el (dired-mark-read-string): Doc fix.
811
30009afd
DA
8122012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
813
814 * dired-aux.el (dired-mark-read-string): Offer optional completion.
815 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
816
41f03f4d
GM
8172012-04-17 Glenn Morris <rgm@gnu.org>
818
819 * mouse.el (mouse-drag-track):
820 * speedbar.el (speedbar-frame-mode):
821 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
822
f45f90f3
LL
8232012-04-16 Leo Liu <sdl.web@gmail.com>
824
825 * progmodes/python.el: Trivial cleanup.
826
94ee8db5
GM
8272012-04-16 Glenn Morris <rgm@gnu.org>
828
121b8917
GM
829 * vc/vc.el (vc-string-prefix-p):
830 * vc/pcvs-util.el (cvs-string-prefix-p):
831 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
832 * mpc.el (mpc-string-prefix-p):
833 Make all of these into obsolete aliases for string-prefix-p.
834 Update callers.
835 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
836
1197ecfa
GM
837 * textmodes/two-column.el: Move custom options to the start.
838 (frame-width): Remove compat definition.
839 (2C-associate-buffer, 2C-dissociate):
840 Use with-current-buffer rather than save-excursion.
841 (2C-dissociate): Force a mode-line update.
842 (2C-autoscroll): Use ignore-errors.
843
099e7202
GM
844 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
845 Autoload trivia.
846
bf350d6a
GM
847 * emacs-lisp/cl-extra.el (*random-state*):
848 Remove unnecessary declaration.
849
0e829eab
GM
850 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
851
e3ad7552
GM
852 * play/cookie1.el (cookie-snarf):
853 Give an explicit error if input file cannot be read.
854
68892d27
GM
855 * play/yow.el (yow-file): Use expand-file-name rather than concat.
856
20f0c46d
GM
857 * progmodes/perl-mode.el (c-macro-expand):
858 Remove unnecessary autoload (it is in loaddefs.el).
859
5a0978ce
GM
860 * textmodes/picture.el (picture-desired-column)
861 (picture-update-desired-column): Convert comments to doc-strings.
862 (picture-substitute): Remove function.
863 (picture-mode-map): Initialize in the defvar.
864
6b955486
GM
865 * woman.el: Remove eval-after-load for tar-mode.
866 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
867 (woman-tar-extract-file): Autoload it.
868
94ee8db5
GM
869 * frame.el (automatic-hscrolling): Make this alias obsolete.
870
177eca34
AM
8712012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
872
873 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 874 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
875 (ispell-dictionary-base-alist): Revert to original XEmacs
876 friendly version for default. [:alpha:] will be added in
877 `ispell-set-spellchecker-params' if needed
177eca34 878
c505aaeb
CY
8792012-04-16 Chong Yidong <cyd@gnu.org>
880
881 * image.el (imagemagick--extension-regexp): New variable.
882 (imagemagick-register-types): Use it.
883 (imagemagick-types-inhibit): Add :set function. Allow new value
884 of t to inhibit all types.
885
886 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
887 so we can preload it.
888
889 * loadup.el (fboundp): Preload regexp-opt, needed by
890 imagemagick-register-types.
891
60efac0f
CY
8922012-04-15 Chong Yidong <cyd@gnu.org>
893
894 * frame.el (scrolling): Remove nearly unused customization group.
895
896 * scroll-all.el (scroll-all-mode): Move to windows group.
897
5dd1713e
CY
8982012-04-15 Chong Yidong <cyd@gnu.org>
899
900 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
901
e6fd457e
CY
9022012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 905 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 906
e153c136
GM
9072012-04-15 Glenn Morris <rgm@gnu.org>
908
909 * simple.el (process-file-side-effects): Doc fix.
910
e6fd457e 9112012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
912
913 * international/mule-cmds.el (set-language-environment): Doc fix.
914
3603c3b1
JB
9152012-04-14 Juanma Barranquero <lekktu@gmail.com>
916
917 * server.el (server-auth-key, server-generate-key): Doc fixes.
918 (server-get-auth-key): Doc fix. Use `string-match-p'.
919 (server-start): Reflow docstring.
920
e6de100c
LI
9212012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
922
923 * server.el (server-generate-key): `called-interactively-p'
924 requires a parameter.
925
29734c21
MN
9262012-04-14 Michal Nazarewicz <mina86@mina86.com>
927
928 * server.el (server-auth-key): New variable.
75f1671a 929 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
930 (server-start): Use the new variable and functions to allow
931 setting a permanent server key (bug#9423).
932
d65c9521
LL
9332012-04-14 Leo Liu <sdl.web@gmail.com>
934
935 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
936
5ae255c7
PE
9372012-04-14 Paul Eggert <eggert@cs.ucla.edu>
938
939 Spelling fixes.
940 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
941 Emacs uses American spelling.
942
d5e6342e
JB
9432012-04-14 Juanma Barranquero <lekktu@gmail.com>
944
945 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
946 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
947 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
948 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
949
ab036cd7
SM
9502012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * progmodes/which-func.el (which-func-modes): Change default.
953
35dc09a1 9542012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
955
956 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
957 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
958
35dc09a1 9592012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
960
961 * custom.el (custom-theme-set-variables): Doc fix.
962
35dc09a1 9632012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
964
965 * international/mule.el (set-auto-coding-for-load): Doc fix.
966
35dc09a1 9672012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 968
35dc09a1
GM
969 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
970 imenu work again for Objective C Mode. Correct the *-index values,
971 these having been disturbed by a previous change in 2011-08.
57f845ee 972
0de3da9f
AM
973 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
974 Correct two search limits.
975
35dc09a1 9762012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
977
978 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
979
35dc09a1 9802012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
981
982 * international/characters.el: Fix sorting.
983
35dc09a1 9842012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
985
986 * international/characters.el: Add more missing Latin case pairs.
987
35dc09a1 9882012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
989
990 * files.el (dir-locals-set-class-variables): Doc fix.
991
35dc09a1 9922012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 993
3f1b5bf8
EZ
994 * international/characters.el: Add set-case-syntax-pair call for
995 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
996 counterpart. (Bug#11209)
997
9f847f41
EZ
998 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
999
35dc09a1 10002012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1001
1002 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1003
35dc09a1 10042012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1005
35dc09a1
GM
1006 * textmodes/ispell.el (ispell-dictionary-base-alist):
1007 Add data for Hebrew.
e2627d21 1008
35dc09a1 10092012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1010
35dc09a1
GM
1011 * net/rcirc.el (rcirc-cmd-quit):
1012 Revert 2012-03-18 change (Bug#11192).
5c14e333 1013
35dc09a1 10142012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1015
1016 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1017
35dc09a1 10182012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1019
4517fe3a
SM
1020 * minibuffer.el (completion-in-region-mode-map):
1021 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1022
b472a594
VD
10232012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1024
1025 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1026
09b95ce3
MY
10272012-04-13 Masatake YAMATO <yamato@redhat.com>
1028
1029 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1030 to allow `C-M-f' and `C-M-b' to move to the nearest path
1031 separator (bug#9511).
1032
4b63a9ca
LI
10332012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1034
1035 * avoid.el: Require cl when compiling. And also move the
1036 `provide' to the end.
1037
7b55b8bf
TV
10382012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1039
1040 * avoid.el (mouse-avoidance-banish-position): New variable.
1041 (mouse-avoidance-banish-destination): Use it (bug#10165).
1042
adedaa1f
LL
10432012-04-13 Leo Liu <sdl.web@gmail.com>
1044
1045 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1046
70e74021
KB
10472012-04-13 Ken Brown <kbrown@cornell.edu>
1048
1049 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1050 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1051 (browse-url-filename-alist): For the same reason, don't modify
1052 file:// URLs on Cygwin.
1053
e75e89ba
SM
10542012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1057 the region on shift if the binding is already shifted (bug#11221).
1058
82f289a4
GM
10592012-04-12 Glenn Morris <rgm@gnu.org>
1060
1061 * mail/mailpost.el: Move to obsolete/.
1062
d333dc4c
DA
10632012-04-12 Drew Adams <drew.adams@oracle.com>
1064
1065 * imenu.el (imenu--generic-function): Ignore invisible definitions
1066 (bug#10123).
1067
0d15b5ba
VD
10682012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1069
1070 * hexl.el (hexl-bits): New variable.
1071 (hexl-options): Mention the variable in the doc string.
75f1671a 1072 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1073 (hexl-mode): Mention the new variable.
75f1671a
JB
1074 (hexl-mode, hexl-current-address, hexl-current-address):
1075 Use the displen.
0d15b5ba
VD
1076 (hexl-ascii-start-column): New function.
1077 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1078 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1079
64a440db
AM
10802012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1081
1082 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1083 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1084 the encoding, as expected by hunspell.
1085
6decb6c2
SM
10862012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * battery.el (battery--linux-sysfs-regexp): New const.
1089 (battery-status-function): Use it. Remove yeeloong special case.
1090 (battery-yeeloong-sysfs): Remove.
1091 (battery-echo-area-format): Remove yeeloong special case.
1092
088be6fb
SM
10932012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1094
6622e416
SM
1095 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1096 Reported by Noah Friedman.
1097
088be6fb
SM
1098 * subr.el (read-passwd): Use read-string.
1099
b49f886e
LMI
11002012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1101
1102 * vcursor.el (vcursor-move): Increase the priority of the overlay
1103 (bug#9663).
1104
a63067fc
DD
11052012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1106
1107 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1108 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1109
ac3cf14a
WS
11102012-04-11 William Stevenson <yhvh2000@gmail.com>
1111
1112 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1113 define-minor-mode (bug#10760).
1114
c4fc691b 11152012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1116
4d6769e1 1117 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1118 that directories matching `grep-find-ignored-files' won't be
1119 pruned (bug#10351).
1120
af23e2e5
CY
11212012-04-11 Chong Yidong <cyd@gnu.org>
1122
1123 * startup.el (command-line): Remove support for long-obsolete
1124 variable font-lock-face-attributes.
1125
ab7ce8c1
GM
11262012-04-11 Glenn Morris <rgm@gnu.org>
1127
1128 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1129
de8c03dc
SM
11302012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1131
1132 * window.el (window--state-get-1): Obey window-point-insertion-type.
1133
050cc68b
LB
11342012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1135
1136 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1137 to previous function when point is on the first character of a
75f1671a 1138 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1139
a38c310c
GM
11402012-04-11 Glenn Morris <rgm@gnu.org>
1141
effed0c2
GM
1142 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1143 not just file-errors.
1144
a38c310c
GM
1145 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1146 (vc-bzr-sha1): Use internal sha1.
1147
0221e323
SM
11482012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1151
43956923
SG
11522012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1153
1154 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1155 that start in the middle of the line (bug#10496).
1156
6a8c9eaf
DN
11572012-04-10 Dan Nicolaescu <dann@gnu.org>
1158
1159 * battery.el (battery-linux-proc-acpi): Only one battery is
1160 discharged at a time, but that seems to confuse battery.el when
1161 computing `rate-type' for the battery not being discharged
1162 (bug#10332).
1163
1930bf5d
SM
11642012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1165
2a718f6f
SM
1166 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1167
599430d0
SM
1168 * international/quail.el: Use dolist and simplify.
1169 (quail-define-package, quail-update-keyboard-layout)
1170 (quail-define-rules): Use dolist.
1171 (quail-insert-kbd-layout, quail-get-translation): CSE.
1172
a2754b6c
SM
1173 * tmm.el: Use dolist, remove left over hook.
1174 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1175 Use dolist.
1176 (calendar-load-hook): Don't mess with it.
1177
1930bf5d
SM
1178 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1179 Use derived-mode-p. Run the diff asynchronously.
1180
9f67961c
LMI
11812012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1182
1183 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1184
2a8ce227
JB
11852012-04-10 Juanma Barranquero <lekktu@gmail.com>
1186
1187 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1188 (list-dynamic-libraries--loaded): New function.
1189 (list-dynamic-libraries--refresh): Use it.
1190
8f33b5f8
NW
11912012-04-10 Nathan Weizenbaum <nweiz@google.com>
1192
1930bf5d
SM
1193 * progmodes/python.el (python-fill-paragraph):
1194 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1195 disabled (bug#7018).
1196
b12f0439
L
11972012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1198
1930bf5d 1199 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1200 DOS/MS Windows for the Baltic languages. There are still plenty
1201 of texts written in this encoding/codepage (bug#6519).
b12f0439 1202
57c3bd01
GM
12032012-04-10 Glenn Morris <rgm@gnu.org>
1204
1205 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1206 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1207
6c3eab30
FA
12082012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1209
1930bf5d 1210 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1211 next-line "n" and previous-line "p" in order to make recentf more
1212 consistent with ibuffer, dired or org-mode (bug#9387).
1213
24d78a88
LMI
12142012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1215
bc72b5d9
LMI
1216 * image.el (put-image): Return the overlay created instead of the
1217 optional input string (bug#7834). Note that this may break code
1218 that is (for some reason or other) depending on `put-image'
1219 returning the string.
1220
bd2dba5a
LMI
1221 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1222
74beb59f
LMI
1223 * simple.el (zap-to-char): Allow zapping using input methods
1224 (bug#1580).
1225
24d78a88
LMI
1226 * textmodes/fill.el (fill-region): Leave point and mark where they
1227 were before filling (bug#5399).
1228
263f20cd
GM
12292012-04-09 Glenn Morris <rgm@gnu.org>
1230
1231 * version.el (emacs-bzr-get-version):
1232 Handle lightweight checkouts of local branches.
1233
58d1f797
AS
12342012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1235
263f20cd 1236 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1237
b4d3bc10
CY
12382012-04-09 Chong Yidong <cyd@gnu.org>
1239
1240 * custom.el (custom-variable-p): Return nil for non-symbol
1241 arguments instead of signaling an error.
1242 (user-variable-p): Obsolete alias for custom-variable-p.
1243
1244 * apropos.el (apropos-variable):
1245 * files-x.el (read-file-local-variable):
1246 * simple.el (set-variable):
1247 * woman.el (woman-mini-help):
1248 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1249
fd06db5d
GM
12502012-04-09 Glenn Morris <rgm@gnu.org>
1251
e5fcdb5e
GM
1252 * startup.el (normal-top-level): Don't look for leim-list.el
1253 in places where it will not be found. (Bug#910)
1254
fd06db5d
GM
1255 * international/mule-cmds.el (set-default-coding-systems):
1256 * files.el (normal-mode):
1257 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1258 This function was removed with ucs-tables.el in 2008.
1259
b39bb7e1
EZ
12602012-04-08 Eli Zaretskii <eliz@gnu.org>
1261
1262 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1263 ispell-encoding8-command to "-i", without a trailing space.
1264 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1265 separate command-line arguments, to specify the encoding, since
1266 that's how hunspell expects it.
1267
5c5b8e23
GM
12682012-04-08 Glenn Morris <rgm@gnu.org>
1269
1270 * loadup.el: Load bindings before cus-start.
1271 This reduces somewhat the number of "rogue" settings in emacs -Q.
1272
a1ed8b05
GM
12732012-04-07 Glenn Morris <rgm@gnu.org>
1274
1275 * version.el (emacs-bzr-get-version): New function.
dfae128a 1276 (emacs-bzr-version): New variable.
a1ed8b05
GM
1277 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1278 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1279
b142f158
EZ
12802012-04-07 Eli Zaretskii <eliz@gnu.org>
1281
dfae128a
GM
1282 * international/uni-bidi.el, international/uni-category.el:
1283 * international/uni-combining.el, international/uni-decimal.el:
1284 * international/uni-decomposition.el, international/uni-digit.el:
1285 * international/uni-lowercase.el, international/uni-mirrored.el:
1286 * international/uni-name.el, international/uni-numeric.el:
1287 * international/uni-titlecase.el, international/uni-uppercase.el:
1288 Update for Unicode 6.1.
b142f158 1289
9078ead6
EZ
12902012-04-07 Eli Zaretskii <eliz@gnu.org>
1291
1292 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1293
f23d2c7d
LMI
12942012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1295
1296 * window.el (shrink-window): Mention the `window-min-height'
1297 variable in the doc string.
1298
0a0a3573
BG
12992012-04-05 Bastien Guerry <bzg@altern.org>
1300
1301 * color.el (color-lighten-name): Fix typo.
1302
e5248ac9
SM
13032012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * server.el (server--on-display-p): New function.
1306 (server--on-display-p): Use it.
1307
b4243e22
GV
13082012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1309
1310 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1311 (bug#11145).
1312
305d9f44
SM
13132012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * comint.el (comint--common-quoted-suffix): Check string boundary
1316 before comparing (bug#11158).
1317 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1318
3d439cd1
CY
13192012-04-04 Chong Yidong <cyd@gnu.org>
1320
321cc491
CY
1321 * minibuffer.el (completion-extra-properties): Doc fix.
1322
3d439cd1
CY
1323 * subr.el (delayed-warnings-hook): Doc fix.
1324
2d562c0f
DU
13252012-04-04 Daiki Ueno <ueno@unixuser.org>
1326
1327 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1328 selection (Bug#11159).
1329 (epa-insert-keys): Inform that the default public key will be
1330 exported if no key is selected.
1331
4443f204
RS
13322012-04-04 Richard Stallman <rms@gnu.org>
1333
1334 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1335
529c06b6
CY
13362012-04-03 Chong Yidong <cyd@gnu.org>
1337
1338 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1339 mail-insert-file, not its obsolete alias mail-attach-file.
1340
66b907dc
MA
13412012-04-03 Michael Albinus <michael.albinus@gmx.de>
1342
1343 * notifications.el (notifications-notify): Fix docstring.
1344
c0ea195d
GM
13452012-04-02 Glenn Morris <rgm@gnu.org>
1346
1347 * emacs-lisp/authors.el (authors-aliases): Another addition.
1348
5ca64e00
MA
13492012-04-02 Michael Albinus <michael.albinus@gmx.de>
1350
1351 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1352 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1353 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1354
42ee526b
CY
13552012-04-01 Chong Yidong <cyd@gnu.org>
1356
1357 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1358 Handle root directory properly.
1359 (copy-directory): Caller changed.
1360
1361 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1362 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1363
0b021094
GM
13642012-03-31 Glenn Morris <rgm@gnu.org>
1365
40f86458
GM
1366 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1367
7019c177
GM
1368 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1369
a1daddd6
GM
1370 * calendar/calendar.el (calendar-window-list)
1371 (calendar-hide-window): Restore. (Bug#11140)
1372 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1373
0b021094
GM
1374 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1375
40311efc
TV
13762012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1377
1378 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1379 Check if file is a symlink (Bug#10489).
1380
1381 * files.el (copy-directory): Likewise.
1382
5319014e
CY
13832012-03-30 Chong Yidong <cyd@gnu.org>
1384
1385 * image.el (imagemagick-types-inhibit)
1386 (imagemagick-register-types): Doc fix.
1387
935d1290
AM
13882012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1389
ef24141c
SM
1390 * ispell.el (ispell-get-extended-character-mode):
1391 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1392 and treats ~word as ordinary words in pipe mode.
935d1290 1393
61c6e8fd
GM
13942012-03-30 Glenn Morris <rgm@gnu.org>
1395
1396 * tutorial.el (help-with-tutorial): Ensure local variables don't
1397 happen to make the buffer read-only. (Bug#11127)
1398
81fdff00
SM
13992012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1402 (perl-calculate-indent): Return `noindent' in strings.
1403
6e7a6ec0
SS
14042012-03-28 Sam Steingold <sds@gnu.org>
1405
1406 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1407 instead of the broken adhockery which does not prevent calendar
1408 buffers from being displayed at random after exit.
1409 (calendar-window-list, calendar-hide-window): Remove the broken
1410 adhockery.
1411
fee88ca0
GM
14122012-03-28 Glenn Morris <rgm@gnu.org>
1413
1414 * replace.el (query-replace-map): Doc fix.
1415
38de3354
AS
14162012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1417
1418 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1419 contents. (Bug#11109)
1420
b973155e
SM
14212012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1424 (bug#11077).
1425 (avl-tree--check, avl-tree--check-node): New funs.
1426
dcb6e7b3
MR
14272012-03-27 Martin Rudalics <rudalics@gmx.at>
1428
1429 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1430 (switch-to-prev-buffer, switch-to-next-buffer):
1431 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1432 showing a buffer already is done on the same frame.
1433
b4fa35fa
GM
14342012-03-27 Glenn Morris <rgm@gnu.org>
1435
1436 * startup.el (mail-host-address): Doc fix.
1437
f9210e18
SM
14382012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1441 than 197 variables.
1442
c0bf7753
AF
14432012-03-26 Ami Fischman <ami@fischman.org>
1444
1445 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1446
33da7b16
GM
14472012-03-26 Glenn Morris <rgm@gnu.org>
1448
02243d9d
GM
1449 * files.el (save-buffers-kill-emacs): Doc fix.
1450
33da7b16
GM
1451 * startup.el (normal-top-level, command-line, command-line-1):
1452 Give them doc strings.
1453
e5a69fd0
EZ
14542012-03-25 Eli Zaretskii <eliz@gnu.org>
1455
1456 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1457 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1458
9a69676a
CY
14592012-03-25 Chong Yidong <cyd@gnu.org>
1460
4125cb8b
CY
1461 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1462 theme if it was previously enabled before (Bug#11031).
1463
dd470960
CY
1464 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1465 spec with custom-face-get-current-spec if its :shown-value is not
1466 determined yet (Bug#9337).
4125cb8b 1467 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1468
9a69676a
CY
1469 * button.el (button-at): Minor addition to docstring.
1470
6e7e90fa
SL
14712012-03-24 Simon Leinen <simon.leinen@gmail.com>
1472
1473 * vc/vc.el (vc-merge): Fix a prompt.
1474
f06e2758
CY
14752012-03-24 Chong Yidong <cyd@gnu.org>
1476
1477 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1478 point (Bug#9623).
1479
6e7e90fa
SL
1480 * button.el (button-at): Minor addition to docstring.
1481
b9d0879b
SM
14822012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * newcomment.el (comment-choose-indent): No space after BOL.
1485
e71cebb3
SS
14862012-03-22 Sam Steingold <sds@gnu.org>
1487
1488 * window.el (switch-to-prev-buffer): Revert last patch because the
1489 bug turned out to be an advertised feature (Elisp manual 28.14).
1490
335aff35
GM
14912012-03-22 Glenn Morris <rgm@gnu.org>
1492
1493 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1494 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1495
c676576a
LMI
14962012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1497
1498 * net/network-stream.el (network-stream-open-starttls): Make error
1499 message under Windows be less misleading.
1500
126f3d39
LW
15012012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1502
1503 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1504 understands (bug#9942).
1505
64fee311
CY
15062012-03-22 Chong Yidong <cyd@gnu.org>
1507
1508 * simple.el (end-of-visible-line): Handle return value of
1509 next-single-property-change properly (Bug#9371).
1510
a640d29a
KH
15112012-03-22 Kenichi Handa <handa@m17n.org>
1512
1513 * international/quail.el (quail-insert-kbd-layout): Fix previous
1514 change. To avoid unwanted bidi reordering, use
1515 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1516
39675016
DG
15172012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1518
1519 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1520 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1521 (ruby-beginning-of-indent): Be more careful with the difference
1522 between word-boundary and symbol boundary.
1523 (ruby-mode-syntax-table): Make : a symbol constituent.
1524
0a6934fc 15252012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1526
3d008e4f
SM
1527 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1528
0a6934fc
SM
15292012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1530
af67c9d7
SM
1531 * progmodes/etags.el (tags-completion-at-point-function):
1532 Improve last fix.
1533
1acad97c
SM
1534 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1535
e298b5da
SS
15362012-03-21 Sam Steingold <sds@gnu.org>
1537
1538 * progmodes/etags.el (tags-completion-at-point-function):
1539 Avoid the error when point is inside the pattern.
1540
91d82a70
JY
15412012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1542
1543 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1544 line (Bug#10855).
1545
69188b79
CY
15462012-03-21 Drew Adams <drew.adams@oracle.com>
1547
1548 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1549
99fc91fe
AK
15502012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1551
1552 * ido.el (ido-set-current-directory, ido-read-internal)
1553 (ido-choose-completion-string, ido-completion-help): Handle nil
1554 value of ido-completion-buffer (Bug#11008).
1555
087bbb4c
SS
15562012-03-21 Sam Steingold <sds@gnu.org>
1557
1558 * window.el (switch-to-prev-buffer): Do not switch to a visible
1559 window previous buffer, just like with the frame previous buffers.
1560
fb5b8aca
CY
15612012-03-21 Chong Yidong <cyd@gnu.org>
1562
1563 * faces.el (make-face, make-empty-face, copy-face):
1564 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1565 Doc fixes.
1566
dc9924b8
SM
15672012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1570 (widget-complete): Remove broken use of it.
1571
f0bcceb9
CY
15722012-03-20 Chong Yidong <cyd@gnu.org>
1573
dc9924b8
SM
1574 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1575 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1576 characters.
1577
ee52ebf3
TH
15782012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1579
1580 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1581 to draw rectangles, not squares. (Regression introduced by revno
1582 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1583
4c5779ab
CY
15842012-03-18 Chong Yidong <cyd@gnu.org>
1585
1586 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1587 it is not yet defined (for temacs).
1588
15360934
LL
15892012-03-18 Leo Liu <sdl.web@gmail.com>
1590
dc9924b8 1591 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1592
d9a8eb66
EZ
15932012-03-17 Eli Zaretskii <eliz@gnu.org>
1594
1595 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1596 (ispell-choices-win-default-height, ispell-silently-savep)
1597 (ispell-dictionary-alist, ispell-encoding8-command)
1598 (ispell-check-version, ispell-aspell-find-dictionary)
1599 (ispell-valid-dictionary-list, ispell-words-keyword)
1600 (ispell-get-word, ispell-internal-change-dictionary)
1601 (ispell-region, ispell-skip-region-list)
1602 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1603 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1604 (ispell-message-text-end, ispell-message)
1605 (ispell-buffer-local-parsing): Doc fix.
1606
f02ff80d
J
16072012-03-13 Jambunathan K <kjambunathan@gmail.com>
1608
1609 * htmlfontify.el: Add support for code block fontification for ODT
1610 export (Bug #9914).
1611 (hfy-optimisations): Define new option
1612 `body-text-only'
1613 (hfy-fontify-buffer): Honor above setting.
1614 (hfy-begin-span, hfy-end-span): New routines factored out form
1615 `hfy-fontify-buffer'.
1616 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1617 that permit insertion of custom tags.
1618 (hfy-fontify-buffer): Use above handlers.
1619 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1620 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1621 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1622 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1623 bind a special variable `hfy-user-sheet-assoc'.
1624 (htmlfontify-string): New defun.
1625 (hfy-compile-face-map): Make sure that the last char in the
1626 buffer is correctly fontified.
1627 (hfy-face-resolve-face): Whitespace only change.
1628
9ac7a13f
EZ
16292012-03-17 Eli Zaretskii <eliz@gnu.org>
1630
1631 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1632 message more clear.
1633
e2b5bdd7
LL
16342012-03-16 Leo Liu <sdl.web@gmail.com>
1635
1636 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1637
2e492df3
AM
16382012-03-16 Alan Mackenzie <acm@muc.de>
1639
1640 Further optimise the handling of large macros.
1641
1642 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1643 limit to a call of `c-literal-limits'.
1644 (c-determine-+ve-limit): New function.
dc9924b8
SM
1645 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1646 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1647 In CASE 5B, restrict a search limit to 500.
1648 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1649
1650 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1651 Restrict macro bounds to +-500 from after-change's BEG END.
1652
50e94f0c
LL
16532012-03-16 Leo Liu <sdl.web@gmail.com>
1654
1655 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1656
6f09f6ed
AH
16572012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1658
1659 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1660 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1661
c7e73d51
GM
16622012-03-16 Glenn Morris <rgm@gnu.org>
1663
da986230
GM
1664 * view.el (view-buffer, view-buffer-other-window)
1665 (view-buffer-other-frame): Doc fixes re special mode-class.
1666
0835f01e
GM
1667 * subr.el (eval-after-load): If named feature is provided not from
1668 a file, run after-load forms. (Bug#10946)
1669
c7e73d51
GM
1670 * calendar/calendar.el (calendar-insert-at-column):
1671 Handle non-unit-width characters a bit better. (Bug#10978)
1672
3f2eafd1
CY
16732012-03-15 Chong Yidong <cyd@gnu.org>
1674
1675 * emacs-lisp/ring.el (ring-extend): New function.
1676 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1677
1678 * comint.el (comint-read-input-ring)
1679 (comint-add-to-input-history): Grow comint-input-ring lazily.
1680
103af3fe
SM
16812012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1682
663b1677
SM
1683 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1684 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1685
103af3fe
SM
1686 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1687 (imenu-add-to-menubar): Don't add a redundant index.
1688 (imenu-update-menubar): Handle a dynamically composed keymap.
1689
899cb7cb
KY
16902012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1691
1692 * mail/sendmail.el (mail-encode-header):
1693 Bind rfc2047-encode-encoded-words to nil.
1694
3809f91d
GM
16952012-03-13 Glenn Morris <rgm@gnu.org>
1696
1697 * calendar/calendar.el (calendar-string-spread):
1698 Handle non-unit-width characters a bit better. (Bug#10978)
1699
9e345a01
LL
17002012-03-13 Leo Liu <sdl.web@gmail.com>
1701
1702 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1703 directory and file as argument (Bug#10822).
1704
4a07df36
KS
17052012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1706
1707 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1708 For dynamically generated code, follow $PC.
1709 (gdb-disassembly-handler-custom): Handle no function name case.
1710
4aaa9356
TL
17112012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1712
1713 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1714 * emulation/ws-mode.el (ws-query-replace):
1715 * sort.el (sort-regexp-fields):
1716 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1717
225979da
SM
17182012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * dabbrev.el: Fix cycle completion order (bug#10963).
1721 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1722 (dabbrev-completion): Don't use an obarray; provide
1723 a cycle-sort-function.
1724
e2f1fdab
LL
17252012-03-12 Leo Liu <sdl.web@gmail.com>
1726
dc9924b8 1727 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1728 (kill-do-not-save-duplicates): Doc fix.
1729
b19490ed
SM
17302012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * dabbrev.el: Fix cycle completion (bug#10963).
1733 Use lexical binding and wrap to 80 columns.
1734 (dabbrev-completion): Delay computing the list of completions.
1735
4b05d722
KH
17362012-03-12 Kenichi Handa <handa@m17n.org>
1737
1738 * international/quail.el (quail-insert-kbd-layout): Surround each
1739 row by LRO and PDF instead of inserting many LRMs. Pad the left
1740 and right of each non-spacing marks. Insert invisible space
1741 between lower and upper characters to prevent composition.
1742
dbbc2e69
SM
17432012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1744
1745 * minibuffer.el (minibuffer-complete): Don't get confused when the
1746 function is run twice via different commands (bug#10958).
1747 (complete-with-action): Fix docstring.
1748
292112ed
CY
17492012-03-12 Chong Yidong <cyd@gnu.org>
1750
5d1ac394
CY
1751 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1752 (nxml-completion-at-point-function): New function.
1753 (nxml-mode): Use it.
1754 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1755
292112ed
CY
1756 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1757 Load generated autoloads file before byte compiling (Bug#10970).
1758 (package--make-autoloads-and-compile): New helper fun.
1759
4098f8f7
CS
17602012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1761
1762 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1763
8f754691
MA
17642012-03-11 Michael Albinus <michael.albinus@gmx.de>
1765
1766 * autorevert.el (auto-revert-handler): Ensure, that
1767 file-readable-p is applied only for local files or in
1768 auto-revert-tail-mode.
1769
e29ab36b
AS
17702012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1771
dbbc2e69
SM
1772 * server.el (server-eval-at): Handle non-tcp connections.
1773 Decode result string.
ad0bf5b6 1774
e29ab36b
AS
1775 * server.el (server-msg-size): New constant.
1776 (server-reply-print): New function.
1777 (server-eval-and-print): Use it.
1778 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1779 Handle -print-nonl.
1780
de5939ba
CS
17812012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1782
1783 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1784 (Bug#10987).
1785
0c93eabf
CY
17862012-03-11 Chong Yidong <cyd@gnu.org>
1787
397a688f
CY
1788 * simple.el (goto-line): Doc fix (Bug#9938).
1789
2cc775f9
CY
1790 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1791
0c93eabf
CY
1792 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1793 when finished (Bug#10963).
1794
c491fa41
MR
17952012-03-11 Martin Rudalics <rudalics@gmx.at>
1796
1797 * window.el (split-window-below): Fix bug in case where
1798 split-window-keep-point is nil (Bug#10971).
1799
300e8fa5
JL
18002012-03-11 Juri Linkov <juri@jurta.org>
1801
1802 * replace.el (replace-highlight): Set isearch-word to nil
1803 unconditionally. (Bug#10887)
1804
dbf6c5a1
EZ
18052012-03-10 Eli Zaretskii <eliz@gnu.org>
1806
1807 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1808 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1809 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1810 (mairix-widget-create-query): Add usage information about mairix
1811 search forms: negating words, searching for substrings, etc.
1812
b9e501de
JP
18132012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1814
1815 * international/fontset.el (font-encoding-alist): Add an entry for
1816 ksx1001 (Bug#5667).
1817
92795c91
RS
18182012-03-10 Richard Stallman <rms@gnu.org>
1819
1694e6c1
RS
1820 * mail/sendmail.el (mail-encode-header):
1821 Set rfc2047-encode-encoded-words.
1822
607e8555
RS
1823 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1824
de3bc99a
RS
1825 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1826 view buffer means not swapped.
1827 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1828 (rmail-write-region-annotate): Error if real text has disappeared.
1829
92795c91
RS
1830 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1831
699bd04e
CY
18322012-03-10 Chong Yidong <cyd@gnu.org>
1833
1834 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1835 * emulation/cua-base.el (cua--init-keymaps):
1836 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1837
570a1714
MR
18382012-03-10 Martin Rudalics <rudalics@gmx.at>
1839
dbbc2e69
SM
1840 * speedbar.el (speedbar-unhighlight-one-tag-line):
1841 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1842
82dcf4e4
CY
18432012-03-10 Chong Yidong <cyd@gnu.org>
1844
7a2c7ca7
CY
1845 * minibuffer.el (completion-in-region, completion-help-at-point):
1846 Give the completion field overlay a high priority (Bug#6830).
1847
82dcf4e4
CY
1848 * dired.el (dired-goto-file): Recognize absolute file name
1849 listings (Bug#7126).
1850 (dired-goto-file-1): New helper function.
1851 (dired-toggle-read-only): Inhibit warnings.
1852
052e28ac
MA
18532012-03-09 Michael Albinus <michael.albinus@gmx.de>
1854
75f1671a 1855 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1856 there are no properties.
1857
95d5e396
LL
18582012-03-09 Leo Liu <sdl.web@gmail.com>
1859
1860 * savehist.el (savehist-printable): Stricter check for string
1861 value (Bug#10937).
1862
3f018d6d
EZ
18632012-03-09 Eli Zaretskii <eliz@gnu.org>
1864
dbbc2e69
SM
1865 * mail/smtpmail.el (smtpmail-send-it):
1866 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1867 valid mbox format.
1868
f7fd3d79
GM
18692012-03-09 Glenn Morris <rgm@gnu.org>
1870
1871 * files.el (dir-locals-find-file):
1872 Don't check result is regular, readable.
1873 (dir-locals-read-from-file): Demote errors.
1874
6ff6e72f
EZ
18752012-03-08 Eli Zaretskii <eliz@gnu.org>
1876
dbbc2e69
SM
1877 * international/quail.el (quail-insert-kbd-layout):
1878 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1879 layout cell, to prevent their reordering by bidi display engine.
1880 For details, see the discussion in
1881 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1882
9cec7834
AM
18832012-03-08 Alan Mackenzie <acm@muc.de>
1884
1885 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1886 the starting position; make it extend the marked region when
1887 invoked repeatedly - all under appropriate circumstances.
1888 Fixes bugs #5525, #10906.
1889
9a40b8d4
GM
18902012-03-08 Glenn Morris <rgm@gnu.org>
1891
1892 * files.el (locate-dominating-file, dir-locals-find-file):
1893 Undo 2012-03-06 change.
1894
7a08ed35
EZ
18952012-03-07 Eli Zaretskii <eliz@gnu.org>
1896
dbbc2e69
SM
1897 * international/quail.el (quail-help):
1898 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1899 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1900 for the reason.
1901
5aca4f71 19022012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1903
1904 Avoid superfluous registering of signals. (Bug#10807)
1905
1906 * notifications.el (notifications-on-action-object)
1907 (notifications-on-close-object): New defvars.
1908 (notifications-on-action-signal, notifications-on-closed-signal):
1909 Unregister the signal if not needed any longer.
1910 (notifications-notify): Register `notifications-action-signal' or
1911 `notifications-closed-signal', if :on-action or :on-close has been
1912 passed as argument.
1913
78e8b10a
CY
19142012-03-07 Chong Yidong <cyd@gnu.org>
1915
1916 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1917 non-X platforms.
1918
69481eb8
GM
19192012-03-06 Glenn Morris <rgm@gnu.org>
1920
1921 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1922 (x-disown-selection-internal, x-get-selection-internal):
1923 Doc fix (add arglist signatures). (Bug#10783)
1924
133b8e11
KS
19252012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1926
1927 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1928 Handle breakpoints with no "type".
1929
99a83064
GM
19302012-03-06 Glenn Morris <rgm@gnu.org>
1931
1932 * files.el (locate-dominating-file): Add optional predicate argument.
1933 (dir-locals-find-file): Make use of above change.
1934
17798e78
TTN
19352012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1936
1937 * info.el (Info-insert-dir): Also try "dir.gz".
1938
eb182446
GM
19392012-03-06 Glenn Morris <rgm@gnu.org>
1940
8f2114ee
GM
1941 * files.el (dir-locals-find-file):
1942 Ignore non-readable or non-regular files. (Bug#10928)
1943
eb182446
GM
1944 * files.el (locate-dominating-file): Doc fix.
1945
24679323
AS
19462012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1947
1948 * calendar/calendar.el (calendar-set-mode-line):
1949 `getenv' returns a string. (Bug#10951)
1950
01d972a9
LL
19512012-03-05 Leo Liu <sdl.web@gmail.com>
1952
109aa8a9
LL
1953 * simple.el (backward-delete-char-untabify): Constrain point to
1954 field (Bug#10939).
1955
01d972a9
LL
1956 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1957
10607bea
CY
19582012-03-05 Chong Yidong <cyd@gnu.org>
1959
1960 * simple.el (count-words): If called from Lisp, return the word
1961 count, for symmetry with `count-lines'. Arglist changed.
1962 (count-words--message): Args changed. Consolidate counting code
1963 from count-words and count-words-region.
1964 (count-words-region): Caller changed.
1965 (count-lines-region): Make it an obsolete alias.
1966
5dd11cfe
TH
19672012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1968
1969 * saveplace.el (save-place-to-alist)
1970 (save-place-ignore-files-regexp): Allow value nil to disable this
1971 feature.
1972
c349f4e6
CY
19732012-03-04 Chong Yidong <cyd@gnu.org>
1974
1975 * faces.el (face-spec-reset-face): For the default face, reset the
1976 attributes to default values (Bug#10748).
1977
e627be4c
LMI
19782012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1979
1980 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1981 previous patch: Check `message-send-mail-function', and not the
1982 default function (bug#10897).
1983
ebeabff4
MA
19842012-03-04 Michael Albinus <michael.albinus@gmx.de>
1985
a41a6cf4
MA
1986 * notifications.el (notifications-on-action-signal)
1987 (notifications-on-closed-signal): Check for unique service name of
1988 incoming event. Fix error in removing entry.
ebeabff4 1989 (top): Register for signals with wildcard service name.
a41a6cf4 1990 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1991
c1ca42b4
CY
19922012-03-04 Chong Yidong <cyd@gnu.org>
1993
dc9924b8 1994 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1995
ea16568d
GM
19962012-03-04 Glenn Morris <rgm@gnu.org>
1997
1998 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1999 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2000 (expand-abbrev, define-abbrev-table): Doc fixes.
2001
fbae4637
LMI
20022012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2003
2004 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2005 `message-default-send-mail-function' and not `send-mail-function'
2006 when doing the prompting for `sendmail-query-once' before sending
2007 in Message buffers (bug#10897).
2008
a1e7225c
LMI
2009 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2010 This is inconsistent with all the other stream functions, which leave
2011 the setting up to the higher levels (if so wanted) (bug#10931).
2012
56d093a9
AM
20132012-03-02 Alan Mackenzie <acm@muc.de>
2014
2015 Depessimize the handling of very large macros.
2016
2017 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2018 (c-macro-cache-syntactic): New variables to implement a one
2019 element macro cache.
2020 (c-invalidate-macro-cache): New function.
2021 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2022 Adapt to use the new cache.
2023 (c-state-safe-place): Use better the cache of safe positions.
2024 (c-state-semi-nonlit-pos-cache)
2025 (c-state-semi-nonlit-pos-cache-limit):
2026 New variables for...
2027 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2028 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2029 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2030 Use c-state-semi-safe-place.
56d093a9 2031
dbbc2e69
SM
2032 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2033 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2034
817e5c3d
MA
20352012-03-02 Michael Albinus <michael.albinus@gmx.de>
2036
dbbc2e69
SM
2037 * jka-compr.el (jka-compr-call-process):
2038 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2039 not remote.
2040
a032a702
MA
20412012-03-01 Michael Albinus <michael.albinus@gmx.de>
2042
2043 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2044 access of FILE2, if FILE1 does not exist.
2045
99a54f21
MA
2046 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2047 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2048
2049 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2050 Add "PAGER=" to `process-environment'.
2051
f6561e1f
MM
20522012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2053
2054 * progmodes/sql.el: Bug fix
2055 (sql-get-login-ext): Save login values in globals.
2056 (sql-get-login): Use new version of `sql-get-login-ext'.
2057 (sql-interactive-mode): Set global `sql-connection' to nil.
2058 (sql-connect): Set global values for connection.
2059 (sql-product-interactive): Save global values as buffer local.
2060
2d44d9cc
LL
20612012-02-29 Leo Liu <sdl.web@gmail.com>
2062
2063 * abbrev.el (define-abbrevs): Reset sys to nil.
2064
96b49301 20652012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2066
bf7f9bc5
JB
2067 * files.el (file-equal-p): Rename from `files-equal-p'.
2068 Return nil when one or both files don't exist.
96b49301 2069 (file-subdir-of-p): Now only top directory must exists,
2070 return nil if it doesn't.
bf7f9bc5
JB
2071 (copy-directory): No need to test with `file-subdir-of-p' after
2072 creating dir.
2073 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2074 to `file-equal-p'.
96b49301 2075
44e97401
GM
20762012-02-28 Glenn Morris <rgm@gnu.org>
2077
2078 * shell.el (shell-mode):
2079 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2080 * play/landmark.el (landmark-font-lock-face-O):
2081 * play/handwrite.el (handwrite):
2082 * play/gomoku.el (gomoku-O):
2083 * net/browse-url.el (browse-url-browser-display):
2084 * international/mule.el (define-charset):
2085 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2086 * filesets.el (filesets-find-file-delay):
2087 * eshell/em-xtra.el (eshell-xtra):
2088 * eshell/em-unix.el (eshell-grep):
2089 * emulation/viper.el (viper-mode):
2090 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2091 * emacs-lisp/easymenu.el (easy-menu-define):
2092 * calendar/timeclock.el (timeclock-use-display-time):
2093 * bs.el (bs-mode):
2094 * bookmark.el (bookmark-save-flag):
2095 Doc fix (standardize possessive apostrophe usage).
2096
c98c6276
CY
20972012-02-27 Chong Yidong <cyd@gnu.org>
2098
bf7f9bc5
JB
2099 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2100 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2101
c98c6276
CY
2102 * font-lock.el (font-lock-specified-p): Rename from
2103 font-lock-spec-present. Callers changed.
2104
9c62cd04 21052012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2106
bf7f9bc5
JB
2107 * emacs-lisp/package.el (package-compute-transaction):
2108 Handle holding a package version to t in package-load-list.
8ac9e529 2109
530739c9
MA
21102012-02-26 Michael Albinus <michael.albinus@gmx.de>
2111
2112 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2113 (tramp-get-inode, tramp-get-device): Use cached values.
2114
487915d7
AM
21152012-02-26 Alan Mackenzie <acm@muc.de>
2116
2117 Check there is a font-lock specification before doing initial
2118 fontification.
2119
2120 * font-core.el (font-lock-mode): Move the conditional from
2121 :after-hook to font-lock-initial-fontify.
2122 (font-lock-default-function): Move the check for a specification
2123 to font-lock-spec-present.
2124
dc9924b8 2125 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2126 (font-lock-spec-present): New function.
2127
4fd96557
JB
21282012-02-26 Jim Blandy <jimb@red-bean.com>
2129
2130 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2131 (gdb-send): Apply it to the operand of the '-interpreter-exec
2132 console' command, so that we can pass arguments with (say) quotes
2133 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2134
9a4888c0
CY
21352012-02-26 Chong Yidong <cyd@gnu.org>
2136
07498861
CY
2137 * help-fns.el (describe-function-1): Clarify description of
2138 remapping (Bug#10844).
2139
9a4888c0
CY
2140 * files.el (files-equal-p): Doc fix.
2141 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2142 and quit the loop once a mismatch is found.
2143
ea8fb88d
JB
21442012-02-25 Juanma Barranquero <lekktu@gmail.com>
2145
2146 * bs.el (bs--show-with-configuration): Don't throw an error
2147 if the window cannot be split; otherwise, subsequent calls to
2148 bs-show fail, restoring a stale window config. (Bug#10882)
2149
525795c1
JD
21502012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2151
2152 * term/ns-win.el (global-map): Bind ns-drag-file to
2153 ns-find-file (Bug#5855, Bug#10050).
2154
f008086f
AS
21552012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2156
2157 * calendar/parse-time.el (parse-time-string): Allow extractor to
2158 return nil.
2159
a3fcfa99
MA
21602012-02-25 Michael Albinus <michael.albinus@gmx.de>
2161
91027d08
JB
2162 * net/tramp.el (tramp-file-name-for-operation):
2163 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2164
2165 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2166 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2167 Add COPY-CONTENTS argument.
a3fcfa99 2168
67b0de11
CY
21692012-02-25 Chong Yidong <cyd@gnu.org>
2170
2171 Add custom groups for VC backends, for consistency with vc-bzr.
2172
2173 * vc/vc-arch.el (vc-arch):
2174 * vc/vc-cvs.el (vc-cvs):
2175 * vc/vc-git.el (vc-git):
2176 * vc/vc-hg.el (vc-hg):
2177 * vc/vc-mtn.el (vc-mtn):
2178 * vc/vc-rcs.el (vc-rcs):
2179 * vc/vc-sccs.el (vc-sccs):
2180 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2181 All relevant defcustoms reassigned.
2182
3c9dfce6
CY
21832012-02-25 Chong Yidong <cyd@gnu.org>
2184
1339bf43
CY
2185 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2186
3c9dfce6
CY
2187 * term/x-win.el (x-initialize-window-system): Reduce default for
2188 x-selection-timeout to 5 seconds (Bug#8869).
2189
25b2e303 21902012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2191
ec70a47d
GM
2192 * files.el (files-equal-p, file-subdir-of-p): New functions.
2193 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2194 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2195 * dired-aux.el (dired-copy-file-recursive): Same.
2196 (dired-create-files): Modify destination when source is equal to
2197 dest when copying files.
53a46cd0 2198 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2199
914260cd
MA
22002012-02-24 Michael Albinus <michael.albinus@gmx.de>
2201
2202 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2203 (Bug#10874)
2204
2cb228f7
AM
22052012-02-23 Alan Mackenzie <acm@muc.de>
2206
2207 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2208 parameter "after-hook:" to allow the expansion to run code after
2209 the execution of the mode hooks.
2210
2211 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2212 from font-lock-mode-internal.
2cb228f7 2213
91027d08 2214 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2215 :after-hook.
2216
8f0fde21
SM
22172012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2218
3e88618b
SM
2219 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2220 (completion--cache-all-sorted-completions): New function.
2221 (completion-all-sorted-completions): Use it.
2222 (completion--do-completion, minibuffer-force-complete):
2223 Use it to re-instate the flush hook.
2224
8f0fde21
SM
2225 * icomplete.el (icomplete-completions): Replace last fix with a better
2226 one (bug#10850).
2227
8e911f6f
DG
22282012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2229
2230 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2231 when it might call us back infinitely (bug#10797).
2232
49fe4321
GM
22332012-02-23 Glenn Morris <rgm@gnu.org>
2234
2235 * minibuffer.el (completion-category-overrides): Doc fix.
2236
b291b572
SM
22372012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2240 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2241
31a9ef2e
GM
22422012-02-23 Glenn Morris <rgm@gnu.org>
2243
5e6e6794 2244 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2245 (authors-obsolete-files-regexps, authors-ignored-files)
2246 (authors-ambiguous-files, authors-renamed-files-alist):
2247 Add more entries.
2248
0bd1e074
JL
22492012-02-23 Juri Linkov <juri@jurta.org>
2250
2251 * isearch.el (isearch-occur): Sync interactive spec with occur's
2252 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2253
b617673c
JL
2254 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2255
19e9789e
JL
22562012-02-22 Juri Linkov <juri@jurta.org>
2257
2258 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2259 (ucs-insert): Doc fix. Check for hex digits in the string.
2260 Don't display `nil' in the error message. (Bug#10857)
2261
f41ce09d
AM
22622012-02-22 Alan Mackenzie <acm@muc.de>
2263
7a71b18d 2264 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2265
ac2eceee
GM
22662012-02-22 Glenn Morris <rgm@gnu.org>
2267
2268 * ffap.el (ffap-c-path):
2269 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2270
abd1f678
CY
22712012-02-22 Chong Yidong <cyd@gnu.org>
2272
2273 * custom.el (load-theme): Doc fix.
2274
f25aef2e
GM
22752012-02-22 Glenn Morris <rgm@gnu.org>
2276
2277 * dired-x.el (dired-guess-shell-alist-default):
2278 Remove escape sequences from nroff output. (Bug#172)
2279
5f8dc2ca
GM
22802012-02-21 Glenn Morris <rgm@gnu.org>
2281
6ff86ec4
GM
2282 * vc/emerge.el (emerge-defvar-local):
2283 Set `permanent-local' property rather than unused `preserved'.
2284
be3223a3 2285 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2286 (picture-mode-map): Use it. (Bug#10860)
2287 (picture-mode): Doc fix.
2288
3fe58f4f
JB
22892012-02-21 Juanma Barranquero <lekktu@gmail.com>
2290
2291 * newcomment.el (uncomment-region-default): Remove unused binding.
2292
f9a998c3
GM
22932012-02-21 Glenn Morris <rgm@gnu.org>
2294
2295 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2296 (picture-self-insert, picture-tab-chars): Doc fix.
2297 (picture-mode-map): Fix C-a, C-e.
2298
c6029348
GM
22992012-02-20 Glenn Morris <rgm@gnu.org>
2300
2301 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2302
ab1ce9d7
LL
23032012-02-20 Leo Liu <sdl.web@gmail.com>
2304
2305 * icomplete.el (icomplete-completions): Check FROM arg before
2306 passing to substring (Bug#10850).
2307
0fd40f89
CY
23082012-02-19 Chong Yidong <cyd@gnu.org>
2309
2310 * comint.el: Require ansi-color.
2311 (comint-output-filter-functions): Add ansi-color-process-output.
2312
2313 * ansi-color.el: Don't set comint-output-filter-functions; it is
2314 now in the initial value defined in comint.el.
2315 (ansi-color-apply-face-function): New variable.
2316 (ansi-color-apply-on-region): Use it.
2317 (ansi-color-apply-overlay-face): New function.
2318
2319 * shell.el (shell): No need to require ansi-color.
2320 (shell-mode): Use ansi-color-apply-face-function to highlight
2321 color escapes using font-lock-face property (Bug#10835).
2322
20af2394
CY
23232012-02-19 Chong Yidong <cyd@gnu.org>
2324
2325 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2326 mode-line formats (Bug#10839).
2327
e23a3fbe
GM
23282012-02-18 Glenn Morris <rgm@gnu.org>
2329
b474519e
GM
2330 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2331
2332 * mail/undigest.el (unforward-rmail-message): Doc fix.
2333
e23a3fbe
GM
2334 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2335
57939ff4
EZ
23362012-02-18 Eli Zaretskii <eliz@gnu.org>
2337
2338 * international/characters.el (script-list): Sync with the latest
2339 Unicode Character Database.
2340
0c23686e
AS
23412012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2342
2343 * international/titdic-cnv.el: Remove duplicate coding tag.
2344 * language/cham.el: Likewise.
2345 * language/tai-viet.el: Likewise.
2346
6818b449
GM
23472012-02-18 Glenn Morris <rgm@gnu.org>
2348
2349 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2350 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2351 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2352 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2353 * calendar/holidays.el (holiday-bahai-holidays)
2354 (calendar-holidays, list-holidays):
2355 Use utf-8 Bahá'í in doc-strings, menus, etc.
2356
0311a3fc
TH
23572012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2358
2359 * saveplace.el (save-place-ignore-files-regexp): New variable
2360 allowing for excluding files from saving their location of point.
2361 The default value matches the temporary commit message editing
2362 files from Git, SVN, Bazaar, and Mercurial.
2363 (save-place-to-alist): Use it.
2364
eb864a71
LM
23652012-02-17 Lawrence Mitchell <wence@gmx.li>
2366 Stefan Monnier <monnier@iro.umontreal.ca>
2367
2368 * newcomment.el (uncomment-region-default): Don't leave extra space
2369 when an arg is provided (bug#8150).
2370
ee0ce425
TZ
23712012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2372
eb864a71 2373 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2374
95ddf442
GM
23752012-02-17 Glenn Morris <rgm@gnu.org>
2376
2377 * net/socks.el: Require network-stream. (Bug#10599)
2378
48dd1e39 23792012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2380
2381 * international/charprop.el:
2382 * international/uni-name.el:
2383 * international/uni-old-name.el:
2384 * international/uni-comment.el: Regenerate.
2385
d68cd087
GM
23862012-02-16 Glenn Morris <rgm@gnu.org>
2387
2388 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2389 Interactively in calendar buffer, give an error if not on a date.
2390
13932042
GM
23912012-02-15 Glenn Morris <rgm@gnu.org>
2392
2393 * shell.el (shell-delimiter-argument-list):
2394 Revert 2011-02-17 change. (Bug#8027)
2395
c3a70e2b
CY
23962012-02-15 Chong Yidong <cyd@gnu.org>
2397
60236b0d
CY
2398 * minibuffer.el (completion-at-point-functions): Doc fix.
2399
c3a70e2b
CY
2400 * custom.el (defcustom): Doc fix; note use of defvar.
2401
9f26dc24
GM
24022012-02-15 Glenn Morris <rgm@gnu.org>
2403
2404 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2405 Doc fixes.
2406
6546b134
GM
24072012-02-14 Glenn Morris <rgm@gnu.org>
2408
2409 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2410
d29b2b4c
LI
24112012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2412
2413 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2414 way the ports list is computed.
835bdcba
LI
2415 (smtpmail-query-smtp-server): Prompt the user for a port number if
2416 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2417
08dcdbc9
TZ
24182012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2419
2420 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2421
2605051a
GM
24222012-02-13 Glenn Morris <rgm@gnu.org>
2423
2424 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2425
7ee99f32
TZ
24262012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2427
2428 * net/gnutls.el (gnutls-trustfiles): New variable.
2429 (gnutls-negotiate): Use it.
2430
5f0af64f
LI
24312012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2432
2433 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2434 does its stuff if Gnus is running.
2435
c14fcc95
AM
24362012-02-13 Alan Mackenzie <acm@muc.de>
2437
2438 Fix a loop in c-set-fl-decl-start.
2439
7a71b18d 2440 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2441 c-backward-syntactic-ws actually moves backwards.
2442
142b4d90
LL
24432012-02-13 Leo Liu <sdl.web@gmail.com>
2444
2445 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2446 beginning so that all \C-o chars are removed.
2447
fa9958a6
TZ
24482012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2449
dc9924b8 2450 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2451
0bc5886a
AM
24522012-02-12 Alan Mackenzie <acm@muc.de>
2453
2454 Fix infinite loop with long macros.
4d6769e1 2455 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2456
d4bd55e7
CY
24572012-02-12 Chong Yidong <cyd@gnu.org>
2458
2459 * window.el (display-buffer): Doc fix (Bug#10785).
2460
66f3fe22
GM
24612012-02-12 Glenn Morris <rgm@gnu.org>
2462
bd7da63e
GM
2463 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2464 (x-disown-selection-internal, x-get-selection-internal):
2465 Sync docs with the xselect.c versions.
2466
66f3fe22
GM
2467 * allout-widgets.el: Add missing license notice.
2468
3e0d2fa7
GM
24692012-02-11 Glenn Morris <rgm@gnu.org>
2470
cfecdf09
GM
2471 * select.el (x-get-selection-internal, x-own-selection-internal)
2472 (x-disown-selection-internal):
2473 * x-dnd.el (x-get-selection-internal): Update declarations.
2474
6d216d7f
GM
2475 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2476
2bed3f04
GM
2477 * window.el (window-sides-slots):
2478 * tool-bar.el (tool-bar-position):
2479 * term/xterm.el (xterm-extra-capabilities):
2480 * ses.el (ses-self-reference-early-detection):
2481 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2482 (verilog-auto-wire-type)
2483 (verilog-auto-delete-trailing-whitespace)
2484 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2485 (verilog-auto-tieoff-declaration):
2486 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2487 (sql-oracle-statement-starters, sql-oracle-scan-on):
2488 * progmodes/prolog.el (prolog-align-comments-flag)
2489 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2490 (prolog-left-indent-regexp, prolog-paren-indent-p)
2491 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2492 (prolog-types, prolog-mode-specificators)
2493 (prolog-determinism-specificators, prolog-directives)
2494 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2495 (prolog-electric-dot-flag)
2496 (prolog-electric-dot-full-predicate-template)
2497 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2498 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2499 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2500 (prolog-program-switches, prolog-prompt-regexp)
2501 (prolog-debug-on-string, prolog-debug-off-string)
2502 (prolog-trace-on-string, prolog-trace-off-string)
2503 (prolog-zip-on-string, prolog-zip-off-string)
2504 (prolog-use-standard-consult-compile-method-flag)
2505 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2506 (prolog-imenu-max-lines, prolog-info-predicate-index)
2507 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2508 (prolog-char-quote-workaround):
2509 * progmodes/cc-vars.el (c-defun-tactic):
2510 * net/tramp.el (tramp-encoding-command-interactive)
2511 (tramp-local-end-of-line):
2512 * net/soap-client.el (soap-client):
2513 * net/netrc.el (netrc-file):
2514 * net/gnutls.el (gnutls):
2515 * minibuffer.el (completion-category-overrides)
2516 (completion-cycle-threshold)
2517 (completion-pcm-complete-word-inserts-delimiters):
2518 * man.el (Man-name-local-regexp):
2519 * mail/feedmail.el (feedmail-display-full-frame):
2520 * international/characters.el (glyphless-char-display-control):
2521 * eshell/em-ls.el (eshell-ls-date-format):
2522 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2523 (lisp-lambda-list-keyword-parameter-indentation)
2524 (lisp-lambda-list-keyword-parameter-alignment):
2525 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2526 * dired-x.el (dired-omit-verbose):
2527 * cus-theme.el (custom-theme-allow-multiple-selections):
2528 * calc/calc.el (calc-highlight-selections-with-faces)
2529 (calc-lu-field-reference, calc-lu-power-reference)
2530 (calc-note-threshold):
2531 * battery.el (battery-mode-line-limit):
2532 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2533 (archive-7z-update):
2534 * allout.el (allout-prefixed-keybindings)
2535 (allout-unprefixed-keybindings)
2536 (allout-inhibit-auto-fill-on-headline)
2537 (allout-flattened-numbering-abbreviation):
2538 * allout-widgets.el (allout-widgets-auto-activation)
2539 (allout-widgets-icons-dark-subdir)
2540 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2541 (allout-widgets-theme-dark-background)
2542 (allout-widgets-theme-light-background)
2543 (allout-widgets-item-image-properties-emacs)
2544 (allout-widgets-item-image-properties-xemacs)
2545 (allout-widgets-run-unit-tests-on-load)
2546 (allout-widgets-time-decoration-activity)
2547 (allout-widgets-hook-error-post-time)
2548 (allout-widgets-track-decoration):
2549 Add missing :version tags to new defcustoms and defgroups.
2550
5fec1b8e
GM
2551 * progmodes/sql.el (sql-ansi-statement-starters)
2552 (sql-oracle-statement-starters): Add custom type.
2553
3e0d2fa7
GM
2554 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2555 (prolog-system-version): Give it a type.
2556
90b671e2
EZ
25572012-02-11 Eli Zaretskii <eliz@gnu.org>
2558
2559 * term/pc-win.el (x-select-text, x-selection-owner-p)
2560 (x-own-selection-internal, x-disown-selection-internal)
2561 (x-get-selection-internal): Sync doc strings and argument lists
2562 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2563
5eac0c02
LL
25642012-02-11 Leo Liu <sdl.web@gmail.com>
2565
2566 * progmodes/python.el (python-end-of-statement): Fix infinite
2567 loop. (Bug#10788)
2568
f82cb659
GM
25692012-02-10 Glenn Morris <rgm@gnu.org>
2570
2571 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2572 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2573
cc26d239
LI
25742012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2575
2576 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2577 about SMTP before checking the From header.
2578
91027d08 2579 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2580 into own function for reuse by emacsbug.el.
2581
1be3ca5a
LL
25822012-02-10 Leo Liu <sdl.web@gmail.com>
2583
2584 * subr.el (condition-case-unless-debug): Rename from
2585 condition-case-no-debug. All callers changed.
2586 (with-demoted-errors): Fix caller.
2587
2588 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2589 * nxml/rng-valid.el (rng-do-some-validation):
2590 * emacs-lisp/package.el (package-refresh-contents)
2591 (package-menu-execute):
2592 * desktop.el (desktop-create-buffer):
91027d08 2593 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2594
b011fbfe
GM
25952012-02-10 Glenn Morris <rgm@gnu.org>
2596
b2096d72
GM
2597 * textmodes/bibtex.el:
2598 Add missing :version tags for new/changed defcustoms.
2599
b011fbfe
GM
2600 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2601
4c7e65bf
LI
26022012-02-09 Lars Ingebrigtsen <larsi@rusty>
2603
2604 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2605 (smtpmail-via-smtp): Use it, or fall back on the From address.
2606 (smtpmail-send-it): Ditto.
2607
f3934f6f
SM
26082012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2609
2610 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2611 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2612 (byte-compile-tmp-var): New const.
2613 (byte-compile-defvar): Use it to minimize .elc size.
2614 Just use `defvar' rather than simulate it (bug#10761).
2615
a075a2c5
GM
26162012-02-09 Glenn Morris <rgm@gnu.org>
2617
cf3aa21b
GM
2618 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2619
354998cd
GM
2620 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2621 Add :version tags.
2622
dc9924b8
SM
2623 * progmodes/compile.el (compilation-error-screen-columns)
2624 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2625
dab3703d
GM
2626 * vc/log-view.el (log-view-toggle-entry-display):
2627 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2628
3f88cd72
GM
2629 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2630 (report-emacs-bug-can-use-xdg-email):
2631 (report-emacs-bug-insert-to-mailer): Doc fixes.
2632 (report-emacs-bug): Message fix.
2633
d95b247d
GM
2634 * net/browse-url.el (browse-url-can-use-xdg-open)
2635 (browse-url-xdg-open): Doc fixes.
2636
a075a2c5
GM
2637 * electric.el (electric-indent-mode, electric-pair-mode)
2638 (electric-layout-rules, electric-layout-mode): Doc fixes.
2639 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2640
ffb6157e
MR
26412012-02-08 Martin Rudalics <rudalics@gmx.at>
2642
2643 * server.el (server-unselect-display): Don't inadvertently kill
2644 the current buffer. (Bug#10729)
2645
e1ac4066
GM
26462012-02-08 Glenn Morris <rgm@gnu.org>
2647
34e8a2da
GM
2648 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2649 (sql-list-table): Doc fixes.
2650
b4ac6e8c
GM
2651 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2652 Comment out (does nothing).
2653
e1ac4066
GM
2654 * completion.el (dynamic-completion-mode):
2655 * dirtrack.el (dirtrack-debug-mode):
2656 * electric.el (electric-layout-mode):
2657 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2658 * face-remap.el (text-scale-mode, buffer-face-mode):
2659 * iimage.el (iimage-mode):
2660 * image-mode.el (image-transform-mode):
2661 * minibuffer.el (completion-in-region-mode):
2662 * scroll-lock.el (scroll-lock-mode):
2663 * simple.el (next-error-follow-minor-mode):
2664 * tar-mode.el (tar-subfile-mode):
2665 * tooltip.el (tooltip-mode):
2666 * vcursor.el (vcursor-use-vcursor-map):
2667 * wid-browse.el (widget-minor-mode):
2668 * emulation/tpu-edt.el (tpu-edt-mode):
2669 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2670 * international/iso-ascii.el (iso-ascii-mode):
2671 * language/thai-util.el (thai-word-mode):
2672 * mail/supercite.el (sc-minor-mode):
2673 * net/goto-addr.el (goto-address-mode):
2674 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2675 * progmodes/cwarn.el (cwarn-mode):
2676 * progmodes/flymake.el (flymake-mode):
2677 * progmodes/glasses.el (glasses-mode):
2678 * progmodes/hideshow.el (hs-minor-mode):
2679 * progmodes/pascal.el (pascal-outline-mode):
2680 * textmodes/enriched.el (enriched-mode):
2681 * vc/smerge-mode.el (smerge-mode):
2682 Doc fixes (minor mode argument).
2683
5e0d957f
EZ
26842012-02-07 Eli Zaretskii <eliz@gnu.org>
2685
2686 * ls-lisp.el (ls-lisp-sanitize): New function.
2687 (ls-lisp-insert-directory): Use it to fix or remove any elements
2688 in file-alist with missing attributes. (Bug#4673)
2689
98d7371e
AM
26902012-02-07 Alan Mackenzie <acm@muc.de>
2691
2692 Fix spurious recognition of c-in-knr-argdecl.
2693
2694 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2695 putative K&R region.
2696
667ced3a
AM
26972012-02-07 Alan Mackenzie <acm@muc.de>
2698
eb864a71
LM
2699 * progmodes/cc-engine.el (c-forward-objc-directive):
2700 Prevent looping in "#pragma mark @implementation".
667ced3a 2701
5b77774d
MA
27022012-02-07 Michael Albinus <michael.albinus@gmx.de>
2703
2704 * notifications.el (notifications-on-closed-signal): Make `reason'
2705 optional. (Bug#10744)
2706
af008560
GM
27072012-02-07 Glenn Morris <rgm@gnu.org>
2708
60d47423
GM
2709 * emacs-lisp/easy-mmode.el (define-minor-mode):
2710 Doc fixes for the macro and the mode it defines.
2711
dd605cc4
GM
2712 * image.el (imagemagick-types-inhibit): Doc fix.
2713
af008560
GM
2714 * cus-start.el (imagemagick-render-type): Add it.
2715
5cc59a37
LI
27162012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2717
4d6769e1
JB
2718 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2719 Set the default at load time, too, so that `font-lock-fontify-buffer'
2720 can be called without setting up the entire mode first. This fixes
2721 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2722
9a6dd747
CY
27232012-02-06 Chong Yidong <cyd@gnu.org>
2724
2d16b285
CY
2725 * simple.el (list-processes--refresh): Delete exited processes
2726 (Bug#8094).
2727
171e9b6e
CY
2728 * comint.el (comint-next-prompt): next-single-char-property-change
2729 and prev-single-char-property-change never return nil (Bug#8657).
2730
9a6dd747
CY
2731 * custom.el (defcustom): Doc fix (Bug#9711).
2732
aa4589a7
CY
27332012-02-05 Chong Yidong <cyd@gnu.org>
2734
5c2a252f
CY
2735 * cus-edit.el (custom-variable-reset-backup): Quote the value
2736 before storing it in the customized-value property (Bug#6712).
4aab9006 2737 (custom-display): Add a customization type tag.
983b9602 2738 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2739
aa4589a7
CY
2740 * wid-edit.el (widget-field-value-get): New optional arg to
2741 suppress trailing whitespace truncation.
2742 (character): Use it (Bug#2689).
2743
1ff980ae
AS
27442012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2745
2746 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2747 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2748
03988c98
CY
27492012-02-05 Chong Yidong <cyd@gnu.org>
2750
eeb6cc88
CY
2751 * cus-edit.el (custom-variable-value-create): For mismatched
2752 types, show the current value (Bug#7600).
2753
03988c98
CY
2754 * custom.el (defcustom): Doc fix.
2755
f8cdeef0
GM
27562012-02-05 Glenn Morris <rgm@gnu.org>
2757
2758 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2759
0696d255
JB
27602012-02-05 Juanma Barranquero <lekktu@gmail.com>
2761
2762 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2763 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2764 (pp-last-sexp): Use `looking-at-p'.
2765
34c99998
GM
27662012-02-04 Glenn Morris <rgm@gnu.org>
2767
8f05da42
GM
2768 * files.el (revert-buffer):
2769 Doc fix (mention revert-buffer-in-progress-p).
2770
f160676e
GM
2771 * emacs-lisp/ert-x.el (ert-simulate-command):
2772 Check deferred-action-list (which is obsolete) is bound.
2773
c7291ad9
GM
2774 * subr.el (with-wrapper-hook): Doc fixes.
2775
34c99998
GM
2776 * simple.el (filter-buffer-substring-functions)
2777 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2778
6283a7d3
LL
27792012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2780
2781 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2782 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2783
e96e3013
LL
27842012-02-04 Leo Liu <sdl.web@gmail.com>
2785
2786 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2787
8ded50f2
GM
27882012-02-04 Glenn Morris <rgm@gnu.org>
2789
82ff1d13
GM
2790 * image.el (image-extension-data): Add obsolete alias.
2791
987a0a16
GM
2792 * isearch.el (isearch-update): Doc fix.
2793
ea32ef46
GM
2794 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2795
8ded50f2
GM
2796 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2797
eea14f31
GM
27982012-02-03 Glenn Morris <rgm@gnu.org>
2799
2800 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2801 (image-animate-timeout): Doc fix.
2802
2803 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2804
12f381b7
GM
28052012-02-02 Glenn Morris <rgm@gnu.org>
2806
953cebf5
GM
2807 * server.el (server-auth-dir): Doc fix.
2808 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2809
12f381b7
GM
2810 * subr.el (run-mode-hooks): Doc fix.
2811
953a8c3b
JL
28122012-02-02 Juri Linkov <juri@jurta.org>
2813
2814 * image-mode.el (image-toggle-display-image): Remove tautological
2815 `major-mode' from the `derived-mode-p' test.
2816
c5d3843c
KH
28172012-02-02 Kenichi Handa <handa@m17n.org>
2818
9f6e692e 2819 * composite.el (compose-region): Cancel previous change.
c5d3843c 2820
159462d4 28212012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2822
2823 * composite.el (compose-region, compose-string): Signal error for
2824 a null string component (Bug#6988).
2825
9f562668
CY
28262012-02-01 Chong Yidong <cyd@gnu.org>
2827
e2cef717
CY
2828 * view.el (view-buffer-other-window, view-buffer-other-frame):
2829 Handle special modes like view-buffer (Bug#10650).
2830 (view-buffer): Simplify.
2831
9f562668
CY
2832 * frame.el (set-frame-font): Tweak meaning of third argument.
2833
9f6e692e
JB
2834 * dynamic-setting.el (font-setting-change-default-font):
2835 Use set-frame-font (Bug#9982).
9f562668 2836
781acb9f
GM
28372012-02-01 Glenn Morris <rgm@gnu.org>
2838
6035be52
GM
2839 * progmodes/compile.el (compilation-internal-error-properties):
2840 Respect compilation-first-column in the "*compilation*" buffer.
2841
781acb9f
GM
2842 * emacs-lisp/easy-mmode.el (define-minor-mode):
2843 Relax :variable's test for a named function.
2844
abbceb00
AM
28452012-01-31 Alan Mackenzie <acm@muc.de>
2846
2847 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2848 off by one error.
2849
fce3fdeb
CY
28502012-01-31 Chong Yidong <cyd@gnu.org>
2851
2852 * frame.el (set-frame-font): New arg ALL-FRAMES.
2853
2854 * menu-bar.el (menu-set-font): Use set-frame-font.
2855
2856 * faces.el (face-spec-reset-face): Don't apply unspecified
2857 attribute values to the default face.
2858
47893581
JB
28592012-01-31 Juanma Barranquero <lekktu@gmail.com>
2860
2861 * progmodes/cwarn.el (cwarn): Remove dead link.
2862 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2863 Remove * from defcustom docstrings.
2864 (turn-on-cwarn-mode): Make obsolete.
2865 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2866 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2867
e58e988a
GM
28682012-01-31 Glenn Morris <rgm@gnu.org>
2869
60dc2671 2870 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2871 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2872 Allow named functions to be used as the cdr of :variable.
e58e988a 2873
7a3f511d
GM
28742012-01-30 Glenn Morris <rgm@gnu.org>
2875
2876 * emacs-lisp/authors.el (authors-fixed-entries):
2877 Remove reference to deleted file rnewspost.el.
2878
cb882333
JB
28792012-01-29 Juanma Barranquero <lekktu@gmail.com>
2880
2881 * window.el (window-with-parameter): Remove unused variable `windows'.
2882 (window--side-check): Remove unused variable `code'.
2883 (window--resize-siblings): Remove unused variable `first'.
2884 (adjust-window-trailing-edge): Remove unused variable `failed'.
2885 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2886 Use `let', not `let*'.
2887 (balance-windows-2): Remove unused variable `found'.
2888 (window--state-put-2): Remove unused variable `splits'.
2889 (window-state-put): Remove unused variable `selected'.
2890 (same-window-p): Use `string-match-p'.
2891 (display-buffer-assq-regexp): Remove unused variable `value'.
2892 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2893 Mark argument ALIST as ignored.
2894 (pop-to-buffer): Remove unused variable `old-window'.
2895
907201af
EZ
28962012-01-29 Eli Zaretskii <eliz@gnu.org>
2897
2898 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2899 and .lzma compressed files.
2900
ea162670
CY
29012012-01-29 Chong Yidong <cyd@gnu.org>
2902
5b95ee8a
CY
2903 * frame.el (window-system-default-frame-alist): Doc fix.
2904
ea162670
CY
2905 * dynamic-setting.el (font-setting-change-default-font): Don't
2906 change the default face if SET-FONT argument is non-nil (Bug#9982).
2907
d6e6f4b1
SB
29082012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2909
2910 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2911
0f29fa41 29122012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2913
2914 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2915 breakpoints in files outside current directory (Bug#6098).
2916
db174434
CY
29172012-01-29 Chong Yidong <cyd@gnu.org>
2918
6b25e4e2
SE
2919 * progmodes/python.el: Require ansi-color at top-level.
2920
6df6ae42
JB
2921 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2922 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2923 (lisp-mode-abbrev-table): Add doc.
2924 (lisp-mode-variables): Don't set local-abbrev-table.
2925 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2926
e70ee681
RW
29272012-01-28 Roland Winkler <winkler@gnu.org>
2928
2929 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2930
ace88aa2
RW
29312012-01-28 Roland Winkler <winkler@gnu.org>
2932
2933 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2934 (bibtex-set-dialect): Use it. Either set global values of
2935 dialect-dependent variables or bind these variables buffer-locally
2936 (Bug#10254).
2937 (bibtex-mode): Call bibtex-set-dialect via
2938 hack-local-variables-hook.
eb864a71
LM
2939 (bibtex-dialect): Update docstring.
2940 Add safe-local-variable predicate.
ace88aa2
RW
2941 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2942 bibtex-set-dialect.
2943 (bibtex-mode-map): Define menu for each dialect.
2944 (bibtex-entry): Fix docstring.
2945
93376c5b
CY
29462012-01-28 Chong Yidong <cyd@gnu.org>
2947
2948 * eshell/esh-arg.el (eshell-quote-argument): New function.
2949
2950 * eshell/esh-ext.el (eshell-invoke-batch-file):
2951 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2952 first arg to eshell-parse-command (Bug#10523).
2953
4372494f
DA
29542012-01-28 Drew Adams <drew.adams@oracle.com>
2955
2956 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2957 `default-directory' is non-nil.
2958
4d4ec1f8
EZ
29592012-01-28 Eli Zaretskii <eliz@gnu.org>
2960
2961 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2962 line that displays system-configuration-options. (Bug#9924)
2963
7c188927
DA
29642012-01-28 Drew Adams <drew.adams@oracle.com>
2965
2966 * descr-text.el (describe-char): Show information about POS, in
2967 addition to information about the character at POS. Improve and
2968 update the doc string. Change "code point" to "code point in
2969 charset", to avoid confusion with the character's Unicode code
2970 point shown above that. (Bug#10129)
2971
e0da685a
EZ
29722012-01-28 Eli Zaretskii <eliz@gnu.org>
2973
2974 * descr-text.el (describe-char): Show the raw character, not only
2975 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2976 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2977 for the reasons.
2978
70550acf
PH
29792012-01-28 Phil Hagelberg <phil@hagelb.org>
2980
eb864a71
LM
2981 * emacs-lisp/package.el (package-install):
2982 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2983
0ce8e868
CY
29842012-01-28 Chong Yidong <cyd@gnu.org>
2985
cb882333
JB
2986 * emacs-lisp/package.el (package-maybe-load-descriptor):
2987 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2988 (package-maybe-load-descriptor): Use it.
2989 (package-download-transaction): Fully load required packages
2990 inside the loop, so that `require' calls work (Bug#10593).
2991 (package-install): No need to call package-initialize now.
2992
2e7f3bea
CY
29932012-01-28 Chong Yidong <cyd@gnu.org>
2994
6e9bad14
CY
2995 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2996
f823b8ca
CY
2997 * tooltip.el (tooltip-mode): Doc fix.
2998 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2999
2680c309
CY
3000 * frame.el (set-cursor-color): Doc fix (Bug#352).
3001
d7a9e63b
CY
3002 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3003 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3004
2e7f3bea
CY
3005 * cus-edit.el (custom-buffer-create-internal): Fix search button
3006 action (Bug#10542).
2ae01800 3007 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3008
fc4f7a23
EW
30092012-01-27 Eduard Wiebe <usenet@pusto.de>
3010
3011 * dired.el (dired-mark-files-regexp):
3012 Include any subdirectory components. (Bug#10445)
3013
7dd37071
ML
30142012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3015
3016 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3017 Handle [host]:port syntax. (Bug#10533)
3018
a268160b
AH
30192012-01-27 Alex Harsanyi <harsanyi@mac.com>
3020
3021 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3022
e43273ef
GM
30232012-01-26 Glenn Morris <rgm@gnu.org>
3024
3025 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3026 * term.el (term-raw-escape-map): Use Control-X-prefix.
3027 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3028
1edf595d
MR
30292012-01-25 Martin Rudalics <rudalics@gmx.at>
3030
3031 * window.el (window-state-get, window--state-get-1): Don't deal
3032 with fixed-sizeness of windows. Simplify code.
3033
fa8eafef
JC
30342012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3035
6df6ae42
JB
3036 * window.el (window--state-get-1, window--state-put-2):
3037 Don't save and restore the mark.
fa8eafef 3038
0b21c100
CY
30392012-01-25 Chong Yidong <cyd@gnu.org>
3040
3041 * custom.el (custom-variable-p): Doc fix.
3042
5ae1a6c8
GM
30432012-01-25 Glenn Morris <rgm@gnu.org>
3044
40047858
GM
3045 * dired.el (dired-goto-file): Handle some of the more common
3046 characters that `ls -b' escapes. (Bug#10596)
3047
5ddce96c
GM
3048 * progmodes/compile.el (compilation-next-error-function):
3049 Respect compilation-first-column in the "*compilation*" buffer.
3050 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3051
5ae1a6c8
GM
3052 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3053
b559f1a9
GM
30542012-01-24 Glenn Morris <rgm@gnu.org>
3055
3056 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3057
6725d21a
JD
30582012-01-24 Julien Danjou <julien@danjou.info>
3059
3060 * color.el (color-rgb-to-hsl): Fix value computing.
3061 (color-hue-to-rgb): New function.
3062 (color-hsl-to-rgb): New function.
3063 (color-clamp, color-saturate-hsl, color-saturate-name)
3064 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3065 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3066
70df4bbe
GM
30672012-01-24 Glenn Morris <rgm@gnu.org>
3068
3069 * vc/vc-rcs.el (vc-rcs-create-tag):
3070 * vc/vc-sccs.el (vc-sccs-create-tag):
3071 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3072
802a2ae2
ML
30732012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3074
3075 * eshell/esh-util.el (eshell-read-hosts-file):
3076 Skip comment lines. (Bug#10549)
3077
d7128bb1
ML
3078 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3079
d1a5c3b4
JB
30802012-01-23 Juanma Barranquero <lekktu@gmail.com>
3081
2724d9c7
JB
3082 * subr.el (display-delayed-warnings): Doc fix.
3083 (collapse-delayed-warnings): New function to collapse identical
3084 adjacent warnings.
3085 (delayed-warnings-hook): Add it.
d1a5c3b4 3086
a5509865
MA
30872012-01-22 Michael Albinus <michael.albinus@gmx.de>
3088
3089 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3090
3091 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3092 properties, when "login-as" is set.
3093
3094 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3095 (tramp-default-user-alist): Don't add "pscp".
3096 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3097 property "login-as", if set. (Bug#10530)
3098
cc6d5805
MA
30992012-01-21 Michael Albinus <michael.albinus@gmx.de>
3100
3101 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3102 "plink1" and "psftp". (Bug#10530)
3103
31042012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3105
3106 * international/mule-cmds.el (prefer-coding-system): Show a
3107 warning message if the default value of file-name-coding-system
3108 was not changed.
3109
f0960428
JC
31102012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3111
cb882333
JB
3112 * windmove.el (windmove-reference-loc):
3113 Fix windmove-reference-loc miscalculation.
f0960428 3114
dd6f2a63
JB
31152012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3116
3117 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3118 default unit.
3119
7b447e9b
GM
31202012-01-21 Glenn Morris <rgm@gnu.org>
3121
117a9ea1
GM
3122 * international/mule.el (auto-coding-alist): Add .tbz.
3123
7b447e9b
GM
3124 * files.el (local-enable-local-variables): Doc fix.
3125 (inhibit-local-variables-regexps): Rename from
3126 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3127 Doc fix. Add some extensions from auto-coding-alist.
3128 (inhibit-local-variables-suffixes):
3129 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3130 (inhibit-local-variables-p):
3131 New function, extracted from set-auto-mode-1.
3132 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3133 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3134 (hack-local-variables): Doc fix. Make the mode-only case
3135 respect enable-local-variables and friends.
3136 Respect inhibit-local-variables-regexps for file-locals, but
3137 not for directory-locals.
3138 (set-visited-file-name):
3139 Take account of inhibit-local-variables-regexps.
3140 Whether it applies may change as the file name is changed.
3141 * jka-cmpr-hook.el (jka-compr-install):
3142 * jka-compr.el (jka-compr-uninstall):
3143 Update for inhibit-first-line-modes-suffixes name change.
3144
dd6e3cdd
MR
31452012-01-20 Martin Rudalics <rudalics@gmx.at>
3146
3147 * help-macro.el (make-help-screen): Temporarily restore original
3148 binding for minor-mode-map-alist (Bug#10454).
3149
0d0deb38
JD
31502012-01-19 Julien Danjou <julien@danjou.info>
3151
3152 * color.el (color-name-to-rgb): Use the white color to find the max
3153 color component value and return correctly computed values.
3154 (color-name-to-rgb): Add missing float conversion for max value.
3155
34a02f46
MR
31562012-01-19 Martin Rudalics <rudalics@gmx.at>
3157
3158 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3159 special state value for window-persistent-parameters.
3160 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3161 (window--state-put-2): Reset all window parameters to nil before
3162 assigning values of persistent parameters.
3163
606c44c4
AM
31642012-01-18 Alan Mackenzie <acm@muc.de>
3165
3166 Eliminate sluggishness and hangs in fontification of "semicolon
3167 deserts".
3168
cb882333
JB
3169 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3170 Change value 10000 -> 3000.
606c44c4
AM
3171 (c-state-safe-place): Reformulate so it doesn't stack up an
3172 infinite number of wrong entries in c-state-nonlit-pos-cache.
3173 (c-determine-limit-get-base, c-determine-limit): New functions to
3174 determine backward search limits disregarding literals.
3175 (c-find-decl-spots): Amend commenting.
3176 (c-cheap-inside-bracelist-p): New function which detects "={".
3177
3178 * progmodes/cc-fonts.el
3179 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3180 backward search.
3181 (c-font-lock-declarations): Fix an occurrence of point being
3182 undefined. Check additionally for point being in a bracelist or
3183 near a macro invocation without a semicolon so as to avoid a
3184 fruitless time consuming search for a declarator. Give a more
3185 precise search limit for declarators using the new
3186 c-determine-limit.
3187
f3860cea
GM
31882012-01-18 Glenn Morris <rgm@gnu.org>
3189
3190 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3191 (set-auto-mode): Doc fixes.
3192
1db03b16
GM
31932012-01-17 Glenn Morris <rgm@gnu.org>
3194
0e6038be
GM
3195 * isearch.el (search-nonincremental-instead): Fix doc typo.
3196
1db03b16
GM
3197 * dired.el (dired-insert-directory): Handle newlines in directory name.
3198 (dired-build-subdir-alist): Unescape newlines in directory name.
3199
4cb0aa75
MA
32002012-01-17 Michael Albinus <michael.albinus@gmx.de>
3201
3202 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3203 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3204 (tramp-action-terminal): Use it. (Bug#10530)
3205
1d00653d
SM
32062012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3209
6a6ee00d
MR
32102012-01-16 Martin Rudalics <rudalics@gmx.at>
3211
3212 * window.el (window-state-ignored-parameters): Remove variable.
3213 (window--state-get-1): Rename argument MARKERS to IGNORE.
3214 Handle persistent window parameters. Make copy of clone-of
3215 parameter only if requested. (Bug#10348)
3216 (window--state-put-2): Install a window parameter only if it has
3217 a non-nil value or an existing parameter shall be overwritten.
3218
97912def
MA
32192012-01-15 Michael Albinus <michael.albinus@gmx.de>
3220
3221 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3222
688070a5
EZ
32232012-01-14 Eli Zaretskii <eliz@gnu.org>
3224
3225 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3226 don't pass the (nil) value of `upnode' to string-match.
3227
301afadc
CY
32282012-01-14 Chong Yidong <cyd@gnu.org>
3229
3230 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3231 Fix values recognized by the cursorBlink resource.
301afadc 3232
9e5788aa
PE
32332012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3234
3235 * epg.el (epg--make-temp-file): Avoid permission race condition
3236 when running on old Emacs versions (bug#10403).
3237
3cdb7f5a
GM
32382012-01-14 Glenn Morris <rgm@gnu.org>
3239
3240 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3241
8c82b1b4
AM
32422012-01-13 Alan Mackenzie <acm@muc.de>
3243
3244 Fix filling for when filladapt mode is enabled.
3245
3246 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3247 c-mask-paragraph, pass in `fill-paragraph' rather than
3248 `fill-region-as-paragraph'. (This is a reversion of a previous
3249 change.)
eb864a71
LM
3250 * progmodes/cc-mode.el (c-basic-common-init):
3251 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3252
e517eda4
GM
32532012-01-13 Glenn Morris <rgm@gnu.org>
3254
1498536e
GM
3255 * dired.el (dired-switches-escape-p): New function.
3256 (dired-insert-directory): Use dired-switches-escape-p.
3257 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3258
e517eda4
GM
3259 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3260
328f984d
GM
32612012-01-12 Glenn Morris <rgm@gnu.org>
3262
3263 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3264 changes in adaptive-fill-regexp. (Bug#10276)
3265
2cc769a8
AM
32662012-01-11 Alan Mackenzie <acm@muc.de>
3267
3268 Fix Emacs bug #10463 - put `widen's around the critical spots.
3269
1d00653d 3270 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3271 widen around each invocation of c-state-pp-to-literal. Remove an
3272 unused let variable.
3273
e52c37fa
GM
32742012-01-11 Glenn Morris <rgm@gnu.org>
3275
3276 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3277 Doc fix.
e52c37fa 3278
96f8741e
CY
32792012-01-10 Chong Yidong <cyd@gnu.org>
3280
1d00653d
SM
3281 * net/network-stream.el (network-stream-open-starttls):
3282 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3283 response to the capability command.
3284
b09a806e
GM
32852012-01-10 Glenn Morris <rgm@gnu.org>
3286
3287 * mail/unrmail.el (unrmail): Tweak previous change.
3288
7655cb66
CY
32892012-01-09 Chong Yidong <cyd@gnu.org>
3290
3291 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3292
9d5a8f0b
AM
32932012-01-08 Alan Mackenzie <acm@muc.de>
3294
3295 Optimise font locking in long enum definitions.
3296
3297 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3298 arm to a cond form to handle enums.
3299 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3300 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3301
9a0115ab 33022012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3303
3304 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3305 (Bug#10401)
6bb72cbd 3306
f186bb95
LMI
33072012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3308
29232a68
LMI
3309 * faces.el (set-face-attribute): Clarify the meaning of the nil
3310 frame (bug#10294).
3311
4e5d086d
LMI
3312 * subr.el (with-selected-frame): Mention that the selected frame
3313 is restored (bug#9980).
3314
8e66aebe
LMI
3315 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3316 (bug#9759).
3317
cd394be1 3318 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3319 (password-read): Don't autoload unused function.
3320
adf4e762
JB
33212012-01-07 Juanma Barranquero <lekktu@gmail.com>
3322
3323 * progmodes/which-func.el (which-func-mode): Turn into a
3324 non-interactive function and mark as obsolete (bug#10428).
3325
89bd9ccd
CY
33262012-01-06 Chong Yidong <cyd@gnu.org>
3327
3328 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3329 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3330 functions, along with 1 and -1.
3331
4afee9d5
EZ
33322012-01-06 Eli Zaretskii <eliz@gnu.org>
3333
3334 * time.el (display-time-load-average)
3335 (display-time-default-load-average): Doc fixes. See the thread
3336 starting at
3337 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3338 for the details.
3339
536aea70
GM
33402012-01-06 Glenn Morris <rgm@gnu.org>
3341
665ae865
GM
3342 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3343 has no messages. (Bug#10377)
3344
c869783d
GM
3345 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3346 than Info-edit. (Bug#10385)
3347
2bb4227e
GM
3348 * time.el (display-time-load-average, display-time-next-load-average):
3349 Doc fixes.
3350
7d5944b9
GM
3351 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3352 local setting of buffer-read-only to the input buffer. (Bug#10419)
3353
536aea70
GM
3354 * calendar/calendar.el (calendar-mode):
3355 Locally set scroll-margin to 0. (Bug#10379)
3356
7dccca16
UM
33572012-01-06 Ulrich Mueller <ulm@gentoo.org>
3358
3359 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3360
afbb7930
GM
33612012-01-05 Glenn Morris <rgm@gnu.org>
3362
3363 * eshell/em-unix.el (diff-no-select): Autoload it.
3364 (eshell/diff): Use diff-no-select. (Bug#10420)
3365
04482335
CY
33662012-01-05 Chong Yidong <cyd@gnu.org>
3367
7baca3bc
CY
3368 * shell.el (shell-dynamic-complete-functions): Revert last change.
3369 (shell-command-completion-function): New function.
3370 (shell-completion-vars): Use it to implement
3371 shell-completion-execonly (Bug#10417).
3372
04482335
CY
3373 * custom.el (enable-theme): Don't set custom-safe-themes.
3374
1d00653d
SM
3375 * cus-theme.el (custom-theme-merge-theme):
3376 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3377
bb5aa5d6
MM
33782012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3379
3380 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3381 first prompt in `sql-interacive-mode'.
3382 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3383 keywords.
6df6ae42 3384 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3385 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3386 context of original buffer. Invoke `sql-login-hook'.
3387
a7183d7c
EZ
33882012-01-04 Eli Zaretskii <eliz@gnu.org>
3389
3390 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3391 letters in cite-prefix.
3392
a1eacd1e
LMI
33932012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3394
3395 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3396
787cdb34
CY
33972012-01-03 Chong Yidong <cyd@gnu.org>
3398
1d00653d
SM
3399 * shell.el (shell-dynamic-complete-functions):
3400 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3401 comint-filename-completion first (Bug#10417).
3402
30710442
RS
34032012-01-02 Richard Stallman <rms@gnu.org>
3404
3405 * battery.el (battery-status-function):
3406 Detect when to use battery-yeeloong-sysfs.
3407 (battery-echo-area-format): Add string for Yeeloong.
3408 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3409 (battery-yeeloong-sysfs): New function.
3410
f75bfc33
CY
34112012-01-02 Chong Yidong <cyd@gnu.org>
3412
3413 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3414 (dirtrack): Merge code for handling relative filenames in prompt
3415 from shell-dir-cookie-watcher.
3416 (dirtrack-debug-message): New arg to avoid excess format calls.
3417
3418 * shell.el (shell-dir-cookie-re): Variable deleted.
3419 (shell-dir-cookie-watcher): Function deleted.
3420 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3421 with dirtrack-mode.
3422
651e947e
EZ
34232012-01-01 Eli Zaretskii <eliz@gnu.org>
3424
1d00653d
SM
3425 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3426 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3427 libgnutls-26.dll.
3428
94d4c7dc
AS
34292011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3430
3431 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3432
8d43f3cd
EZ
34332011-12-31 Eli Zaretskii <eliz@gnu.org>
3434
3435 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3436 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3437
98c8795a
MA
34382011-12-29 Michael Albinus <michael.albinus@gmx.de>
3439
3440 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3441 also for alternative shells.
3442 (tramp-open-connection-setup-interactive-shell): Check, whether
3443 the shell is a busybox.
3444 (tramp-send-command): Don't suppress multiple prompts for
3445 busyboxes, it hurts.
3446
51281b32
CY
34472011-12-28 Chong Yidong <cyd@gnu.org>
3448
3449 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3450 (gdb-get-source-file): Move mode line update to
3451 gdb-get-source-file (Bug#10087).
3452
2170cb53
CY
34532011-12-25 Chong Yidong <cyd@gnu.org>
3454
3455 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3456 gud-gdb-marker-filter without taking it as an argument.
3457 (gud-gdb-run-command-fetch-lines): Caller changed.
3458 (gud-gdb-completion-function): New variable.
3459 (gud-gdb-completion-at-point): Use it.
3460 (gud-gdb-completions-1): Split from gud-gdb-completions.
3461
3462 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3463 function as separate arguments.
3464 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3465 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3466 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3467 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3468 (gdb-stopped, def-gdb-auto-update-trigger)
3469 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3470 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3471 Callers changed.
2170cb53
CY
3472 (gud-gdbmi-completions): New function.
3473 (gdb): Use it for generating the completion table.
3474
be8b11bb
AM
34752011-12-24 Alan Mackenzie <acm@muc.de>
3476
3477 Introduce a mechanism to widen the region used in context font
1d00653d 3478 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3479
1d00653d
SM
3480 * progmodes/cc-langs.el (c-before-font-lock-functions):
3481 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3482 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3483 functions to be run just before context (etc.) font locking.
3484
3485 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3486 New, functionality extracted from
be8b11bb 3487 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3488 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3489 (c-after-change): Set c-in-after-change-fontification.
3490 (c-set-fl-decl-start): Rejig its interface, so it can be called
3491 from both after-change and context fontifying.
b81d40f0
JB
3492 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3493 New functions.
3494 (c-standard-font-lock-fontify-region-function): New variable.
3495 (c-font-lock-fontify-region): New function.
be8b11bb 3496
341cf6ac
JL
34972011-12-24 Juri Linkov <juri@jurta.org>
3498
3499 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3500 (Bug#10348)
3501
bffcee0a
MA
35022011-12-23 Michael Albinus <michael.albinus@gmx.de>
3503
3504 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3505 existence of source file. (Bug#10325)
3506
cb5e207c
AM
35072011-12-23 Alan Mackenzie <acm@muc.de>
3508
3509 Fix unstable fontification inside templates.
3510
b81d40f0
JB
3511 * progmodes/cc-langs.el (c-before-font-lock-functions):
3512 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3513 additionally has c-set-fl-decl-start. The other languages (apart
3514 from AWK) have that as a single entry.
3515
b81d40f0
JB
3516 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3517 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3518 c-set-fl-decl-start.
3519
b81d40f0
JB
3520 * progmodes/cc-mode.el (c-common-init, c-after-change):
3521 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3522 (c-set-fl-decl-start): New function, extracted from
3523 c-font-lock-enclosing-decls and enhanced.
3524
60ff536c
JB
35252011-12-23 Juanma Barranquero <lekktu@gmail.com>
3526
3527 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3528
1c4757d6
JL
35292011-12-22 Juri Linkov <juri@jurta.org>
3530
3531 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3532
d031f2c7
CY
35332011-12-22 Chong Yidong <cyd@gnu.org>
3534
3535 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3536
bace743a
DA
35372011-12-21 Drew Adams <drew.adams@oracle.com>
3538
3539 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3540
728a1f2b
JC
35412011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3542
3543 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3544
0d373f73
TZ
35452011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3546
fec0aaa4
TZ
3547 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3548 highlighting and support. Fix up comments for capitalization.
3549 (cfengine-mode-debug): New var.
3550 (cfengine3-mode): Change the modeline indicator to "CFE3".
3551 (cfengine3-font-lock-keywords): Improve defun highlighting.
3552 (cfengine2-actions): Rename from `cfengine-actions'.
3553 (cfengine2-font-lock-keywords): Rename from
3554 `cfengine-font-lock-keywords'.
3555 (cfengine2-imenu-expression): Rename from
3556 `cfengine-imenu-expression'.
3557 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3558 (cfengine2-beginning-of-defun): Rename from
3559 `cfengine-beginning-of-defun'.
3560 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3561 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3562 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3563 modeline indicator to "CFE2".
3564 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3565 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3566
bc86f573
CY
35672011-12-21 Chong Yidong <cyd@gnu.org>
3568
3569 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3570 filename argument.
3571
d45ba96b
MR
35722011-12-20 Martin Rudalics <rudalics@gmx.at>
3573
3574 * window.el (window-normalize-buffer-to-display): Remove.
3575 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3576
a6198c90
CY
35772011-12-19 Chong Yidong <cyd@gnu.org>
3578
3579 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3580 Don't signal an error in a predicate function; return non-nil.
3581 (vc-dir-mark-file): Move the error here.
3582 (vc-dir-mark-unmark): If acting on the region, keep going if one
3583 of the entries cannot be marked/unmarked.
3584 (vc-dir-mark-all-files): If current entry is a directory, mark
3585 only child files, as documented.
3586
34c5fb55
VB
35872011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3588
3589 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3590 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3591 addition.
3592
c803b2b7
JD
35932011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3594
3595 * term/ns-win.el (ns-get-selection-internal)
3596 (ns-store-selection-internal): Declare.
1154d12e
JB
3597 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3598 Declare as obsolete.
3599 (ns-get-pasteboard, ns-paste-secondary):
3600 Use ns-get-selection-internal.
3601 (ns-set-pasteboard, ns-copy-including-secondary):
3602 Use ns-store-selection-internal.
c803b2b7 3603
9cff91f8 36042011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3605
3606 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3607 (vc-deduce-fileset): Doc fix.
99a289d9 3608
f16c898a
AS
36092011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3610
3611 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3612
763237c4
SS
36132011-12-13 Sam Steingold <sds@gnu.org>
3614
3615 * man.el (Man-getpage-in-background): When running under a
3616 window-system, ignore $MANWIDTH and $COLUMNS.
3617
5fc1c122
KH
36182011-12-15 Kenichi Handa <handa@m17n.org>
3619
3620 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3621 (setup-ethiopic-environment-internal): Comment out key-binding for
3622 ethio-toggle-punctuation.
3623
13d49cbb
AM
36242011-12-13 Alan Mackenzie <acm@muc.de>
3625
898169a2
AM
3626 Add the switch statement to AWK Mode.
3627
7a71b18d 3628 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3629 "default" to the keywords regexp.
3630
7a71b18d 3631 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3632 expression as the rest.
1d00653d
SM
3633 (c-nonlabel-token-key): Allow string literals for AWK.
3634 Refactor for the other modes.
898169a2 3635
13d49cbb 3636 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3637 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3638 routines. Limit backward searching in c-font-lock-enclosing.decl.
3639
3640 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3641 pp-state and literal type in addition to the limits.
1d00653d 3642 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3643 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3644 (c-slow-in-literal, c-fast-in-literal): Remove.
3645 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3646
3647 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3648 being in a literal. Add a limit for backward searching.
3649
3650 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3651 c-slow-in-literal.
3652
15e0efc7
SM
36532011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3656
454592a6
MR
36572011-12-13 Martin Rudalics <rudalics@gmx.at>
3658
3659 * window.el (delete-other-windows): Use correct frame in call to
3660 window-with-parameter.
3661
87393f26
DP
36622011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3663
3664 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3665 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3666 (makefile-gmake-statements, makefile-makepp-statements):
3667 Use it and add new makepp keywords.
3668 (makefile-makepp-font-lock-keywords): Add new patterns.
3669 (makefile-match-function-end): Match new [...] and [[...]].
3670
11636b22
JB
36712011-12-11 Juanma Barranquero <lekktu@gmail.com>
3672
3673 * ses.el (ses-call-printer-return, ses-cell-property-get)
3674 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3675 (ses-create-cell-variable, ses-reset-header-string)
3676 (ses-cell-set-formula, ses-repair-cell-reference-all)
3677 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3678 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3679 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3680 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3681 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3682 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3683 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3684 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3685 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3686 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3687 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3688 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3689
cf018193
VB
36902011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3691
3692 * ses.el: The overall change is to add cell renaming, that is
3693 setting fancy names for cell symbols other than name matching
3694 "\\`[A-Z]+[0-9]+\\'" regexp .
3695 (ses-create-cell-variable): New defun.
3696 (ses-relocate-formula): Relocate formulas only for cells the
3697 symbols of which are not renamed, i.e. symbols whose names do not
3698 match regexp "\\`[A-Z]+[0-9]+\\'".
3699 (ses-relocate-all): Relocate values only for cells the symbols of
3700 which are not renamed.
3701 (ses-load): Create cells variables as the (ses-cell ...) are read,
3702 in order to check row col consistency with cell symbol name only
3703 for cells that are not renamed.
3704 (ses-replace-name-in-formula): New defun.
3705 (ses-rename-cell): New defun.
3706
ee957461
CY
37072011-12-11 Chong Yidong <cyd@gnu.org>
3708
3709 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3710 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3711
9a9e9ef0
MR
37122011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3713
3714 * window.el (other-window): Fix docstring.
3715
92a8eba5
EZ
37162011-12-10 Eli Zaretskii <eliz@gnu.org>
3717
3718 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3719 `from' or `to' address before taking its substring.
3720 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3721 encoded name is chopped in the middle of the encoded string, and
3722 thus displayed encoded.
3723
e152e577
JB
37242011-12-10 Juanma Barranquero <lekktu@gmail.com>
3725
3726 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3727
e5d84bfe
EZ
37282011-12-10 Eli Zaretskii <eliz@gnu.org>
3729
3730 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3731 to use texinfo-update-node and commands that call it if the
3732 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3733 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3734 (texinfo-all-menus-update, texinfo-master-menu)
3735 (texinfo-update-node, texinfo-every-node-update)
3736 (texinfo-multiple-files-update): Doc fix. Warn against updating
3737 all the @node lines.
3738 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3739 argument is numeric. Explain better in the doc string what the
3740 function really does.
3741 (texinfo-insert-master-menu-list): Improve the error message
3742 displayed if there's no menu in the Top node.
3743 (Bug#2975) See also this thread:
e5d84bfe
EZ
3744 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3745
1d84e9bb
MG
37462011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3747
3748 * speedbar.el (speedbar-supported-extension-expressions):
3749 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3750
382c953b
JB
37512011-12-09 Juanma Barranquero <lekktu@gmail.com>
3752
3753 * printing.el (pr-mode-alist):
3754 * simple.el (filter-buffer-substring-functions)
3755 (completion-list-insert-choice-function):
3756 * window.el (window-with-parameter, window-atom-root)
3757 (window-sides-slots, window-size-fixed, window-min-delta)
3758 (window-max-delta, window--resize-mini-window)
3759 (window--resize-child-windows-normal, window-tree)
3760 (delete-other-windows, quit-window, split-window)
3761 (display-buffer-record-window, special-display-buffer-names)
3762 (special-display-regexps, special-display-popup-frame)
3763 (same-window-p, split-window-sensibly)
3764 (display-buffer-overriding-action, display-buffer-alist)
3765 (display-buffer-base-action, display-buffer, switch-to-buffer)
3766 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3767 (fit-window-to-buffer, recenter-positions)
3768 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3769 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3770 and remove unneeded backslashes in docstrings.
3771
39c9faef
SM
37722011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3773
98449af8
SM
3774 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3775
39c9faef
SM
3776 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3777 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3778 end in ".mk".
3779 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3780 when reading the makefile (bug#10116).
3781
86ed9fdc
SM
37822011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3783
3784 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3785 (bug#10116).
3786
5580f89d
GM
37872011-12-06 Glenn Morris <rgm@gnu.org>
3788
3789 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3790
28d3917c
CY
37912011-12-06 Chong Yidong <cyd@gnu.org>
3792
3793 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3794
a98edce9
JB
37952011-12-06 Juanma Barranquero <lekktu@gmail.com>
3796
3797 * textmodes/table.el (table-shorten-cell): Fix typo.
3798
e65adfac
CG
37992011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3800
3801 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3802
71cc0b74
EZ
38032011-12-05 Eli Zaretskii <eliz@gnu.org>
3804
3805 * descr-text.el (describe-char): Fix display of strong
3806 right-to-left characters and directional embeddings and overrides.
3807
3808 * simple.el (what-cursor-position): Fix display of codepoints of
3809 strong right-to-left characters.
3810
315bc30d
CY
38112011-12-05 Chong Yidong <cyd@gnu.org>
3812
3813 * faces.el (read-color): Doc fix.
3814
58a70b94
GM
38152011-12-05 Glenn Morris <rgm@gnu.org>
3816
3817 * align.el (align--set-marker): Add doc-string.
3818 Don't try to move something that is not a marker. (Bug#10216)
3819
5158face
GM
38202011-12-04 Glenn Morris <rgm@gnu.org>
3821
3822 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3823 overly zealous deletion of trailing whitespace.
3824
520fca41
JB
38252011-12-04 Juanma Barranquero <lekktu@gmail.com>
3826
3827 * server.el (server-delete-client): On Windows, do not try to delete
3828 the only terminal.
3829 (server-process-filter): On Windows, treat requests for a tty frame as
3830 if they were for a GUI frame if the running server is in GUI mode.
3831
5e605a2e
GM
38322011-12-03 Glenn Morris <rgm@gnu.org>
3833
3834 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3835
5c3fe83f
SM
38362011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3837
6f5e57e7
SM
3838 * electric.el: Streamline electric-indent's hook.
3839 (electric-indent-chars): Revert to simple list.
3840 (electric-indent-functions): New var.
3841 (electric-indent-post-self-insert-function): Use it.
3842
5c3fe83f
SM
3843 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3844 there's no inferior buffer (bug#10196).
3845 (prolog-consult-compile): Don't use toggle-read-only.
3846
6bdac736
MA
38472011-12-02 Michael Albinus <michael.albinus@gmx.de>
3848
3849 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3850 interrupt. (Bug#10187)
3851
6131ba7f
SM
38522011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3853
99c79fee
SM
3854 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3855 (bug#9160).
3856
6131ba7f
SM
3857 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3858 (bug#10191).
3859
cb0a02ea
JL
38602011-12-02 Juri Linkov <juri@jurta.org>
3861
3862 * info.el (Info-search): Display "end of manual" when Isearch
3863 reaches the end of single-file Info manual. (Bug#9918)
3864
66e0570c
EZ
38652011-12-02 Eli Zaretskii <eliz@gnu.org>
3866
3867 * isearch.el (isearch-message-prefix): Run the input method part
3868 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3869
02b16839
JL
38702011-12-02 Juri Linkov <juri@jurta.org>
3871
3872 * isearch.el (isearch-occur): Use `word-search-regexp' for
3873 `isearch-word'.
3874 (isearch-search-and-update): Add condition for `isearch-word' and
3875 call `word-search-regexp'. (Bug#10145)
3876
0b950688
GM
38772011-12-01 Glenn Morris <rgm@gnu.org>
3878
3879 * eshell/em-hist.el (eshell-hist-initialize):
3880 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3881 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3882
9505c3c7
SM
38832011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3886
1bbe96b2 38872011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3888
a1beca85
SM
3889 * progmodes/verilog-mode.el (verilog-pretty-expr):
3890 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3891 verilog, such as += *= and the like.
3892 (verilog-assignment-operator-re): Regular expression to find the
3893 assigment operator in a verilog assignment.
3894 (verilog-assignment-operation-re): Regular expression to find an
3895 assignment statement for pretty-expr.
3896 (verilog-in-attribute-p): Query returns true if point is in an
3897 attribute context; used to skip these for expression line up from
3898 pretty-expr.
3899 (verilog-in-parameter-p): Query returns true if point is in an
3900 parameter definition context; used to skip these for expression
3901 line up from pretty-expr.
3902 (verilog-in-parenthesis-p): Query returns true if point is in a
3903 parenthetical expression, specifically ( ) but not [ ] or { };
3904 used by pretty-expr.
3905 (verilog-just-one-space): If there is no space, don't add one.
3906 (verilog-get-lineup-indent-2): Specifically skip just attribute
3907 contexts for expression lineup, rather than skipping all
3908 parenthetical expressions.
3909 (verilog-calculate-indent): Fix comment, and fix indent.
3910 (verilog-do-indent): Indent declarations in lists (suggested by
3911 Joachim Lechner).
3912 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3913 skeleton items.
3914 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3915 by Alain Mellan).
3916
1bbe96b2 39172011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3918
3919 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3920 parameters with embedded comments. Reported by Ray Stevens.
3921 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3922 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3923 Reported by Tim Holt.
3924 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3925 instantiated by upper module causing wrong expansion until AUTOed a
3926 second time. Reported by K C Buckenmaier.
3927 (verilog-diff-auto): Fix showing .* as a difference when
3928 `verilog-auto-star-save' off. Reported by Dan Dever.
3929 (verilog-auto-reset, verilog-read-always-signals)
3930 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3931 temporary signals in reset list if
3932 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3933 style to each signal's assignment type, bug381.
3934 Reported by Thomas Esposito.
6288f0ca
WS
3935 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3936 (verilog-uvm-statement-re): Support UVM indentation and
3937 highlighting, with old OVM keywords only.
a1beca85 3938 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3939 Support AUTOTIEOFF creating non-wire data types.
3940 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3941 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3942 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3943 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3944 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3945 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3946 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3947 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3948 non-numeric vector width. Reported by Alex Reed.
3949 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3950 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3951 (verilog-auto-delete-trailing-whitespace):
3952 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3953 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3954 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3955 Fix verilog-scan-cache corruption when running user AUTO expansion
3956 hooks that call indentation routines.
3957 (verilog-simplify-range-expression): Fix typo ignoring lower case
3958 identifiers.
3959 (verilog-delete-auto): Fix delete-autos to also remove user created
3960 automatics, as long as they start with AUTO.
3961 (verilog-batch-diff-auto, verilog-diff-auto)
3962 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3963 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3964 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3965 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3966 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3967 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3968 is disabled and its cache will get corrupt, causing AUTOS not to
3969 expand. Instead use only -quick functions.
3970 (verilog-scan-region): Fix scanning over escaped quotes.
3971 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3972 (verilog-re-search-backward-quick)
3973 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3974 related functions now ignore strings, to fix misparsing of strings
3975 with magic comments embedded in them.
a1beca85
SM
3976 (verilog-read-auto-template):
3977 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3978 Reported by Brad Dobbie.
3979 (verilog-read-auto-template):
3980 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3981 Reported by Brad Dobbie.
6288f0ca
WS
3982 (verilog-auto-inst, verilog-auto-inst-param)
3983 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3984 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3985 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3986 debugging templates without merge conflicts, bug357.
3987 Reported by Brad Dobbie.
3988 (verilog-read-auto-template):
3989 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3990 Reported by Brad Dobbie.
3991 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3992 abbrevs so user won't be asked to save.
3993 (verilog-read-auto-lisp-present): Fix to start at beginning of
3994 buffer in case called outside of verilog-auto.
3995 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3996 to "X-2". Reported by Matthew Myers.
3997 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3998 all inputs from module templates. Reported by Leith Johnson.
3999 (verilog-module-inside-filename-p): Fix locating programs as with
4000 modules.
4001 (verilog-auto-inst-port): Fix vl-width expressions when using
4002 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4003 (verilog-decls-get-regs, verilog-decls-get-signals,
4004 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4005 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4006 verilog-read-decls): Combine reg and wire structures into one var
4007 structure to represent SystemVerilog concepts.
4008 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4009 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4010 (verilog-auto-wire-type, verilog-insert-definition):
4011 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4012 SystemVerilog "logic" keyword instead of "wire"/"reg".
4013 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4014 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4015 ifdef or generate if so there's not a driver conflict).
4016 Reported by Matthew Myers.
4017 (verilog-auto-declare-nettype, verilog-insert-definition):
4018 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4019 `default_nettype none. Reported by Julian Gorfajn.
4020 (verilog-read-always-signals-recurse, verilog-read-decls)
4021 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4022 malformed end statement, bug325. Reported by Joshua Wise and
4023 Andrew Drake.
4024 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4025 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4026 when expanding .* in interfaces, bug320.
4027 Reported by Pierre-David Pfister.
6288f0ca 4028 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4029 name and open parenthesis, bug317.
4030 Reported by Pierre-David Pfister.
6288f0ca
WS
4031 (verilog-simplify-range-expression): Fix simplification of
4032 multiplications inside AUTOWIRE connections, bug303.
4033 (verilog-auto-inst-port): Support parameter expansion in
4034 multidimensional arrays.
4035 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4036 after "assert property". Reported by Julian Gorfajn.
4037 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4038 with multiplication, bug303.
4039 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4040 Reported by Jan Frode Lonnum.
4041
1bbe96b2
GM
40422011-11-30 Juanma Barranquero <lekktu@gmail.com>
4043
4044 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4045 (hfy-shell-file-name, hfy-shell):
4046 * international/fontset.el (x-decompose-font-name): Fix typos.
4047
40482011-11-29 Ken Brown <kbrown@cornell.edu>
4049
4050 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4051 (gdb-version): Remove defvar.
4052 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4053 (gdb-gud-context-command, gdb-non-stop-handler)
4054 (gdb-current-context-command, gdb-stopped): Use it.
4055 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4056 (gdb-non-stop-handler): Don't enable pretty-printing here.
4057 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4058 non-stop mode. Use the following.
4059 (gdb-check-target-async): New defun.
4060 (gud-watch, gdb-stopped): Fix whitespace.
4061 (gdb-get-source-file): Don't try to display the source file if
4062 `gdb-main-file' is nil.
4063
40642011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4065
4066 * align.el: Try to generate fewer markers (bug#10047).
4067 (align--set-marker): New macro.
4068 (align-region): Use it.
4069
c935221f
SM
40702011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4073
e70b5064
CY
40742011-11-29 Chong Yidong <cyd@gnu.org>
4075
4076 * indent.el (indent-for-tab-command, indent-according-to-mode):
4077 Doc fix.
4078 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4079
f3af92b7
MA
40802011-11-29 Michael Albinus <michael.albinus@gmx.de>
4081
4082 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4083 aware of remote file names. (Bug#10124)
4084
ed472be9
CY
40852011-11-29 Chong Yidong <cyd@gnu.org>
4086
4087 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4088
24510c22
SM
40892011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4090
4091 * files.el (find-file): Don't use force-same-window (bug#10144).
4092 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4093 use pop-to-buffer if the selected window can't be used.
4094 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4095
c60c3703
EZ
40962011-11-28 Eli Zaretskii <eliz@gnu.org>
4097
4098 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4099 special-mode-map.
4100
e95def75
CY
41012011-11-28 Chong Yidong <cyd@gnu.org>
4102
4103 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4104
c3f1c606
NR
41052011-11-27 Nick Roberts <nickrob@snap.net.nz>
4106
4107 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4108 gdb-get-source-file-list on gdb-create-source-file-list.
4109
00db469c
EZ
41102011-11-26 Eli Zaretskii <eliz@gnu.org>
4111
4112 * whitespace.el (whitespace-newline): Use a different foreground
4113 color for 16-color light-background displays.
4114
4ad3bc2a
CY
41152011-11-24 Chong Yidong <cyd@gnu.org>
4116
4117 * window.el (display-buffer--special-action): Doc fix.
4118
e9fce1ac
JB
41192011-11-25 Juanma Barranquero <lekktu@gmail.com>
4120
4121 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4122 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4123 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4124 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4125 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4126 (avl-tree-stack-first):
4127 * emacs-lisp/cconv.el (cconv--analyse-use):
4128 * net/gnutls.el (gnutls-negotiate): Fix typos.
4129
cb825e5d
GM
41302011-11-24 Glenn Morris <rgm@gnu.org>
4131
3adbe224
GM
4132 * lpr.el (lpr-windows-system, lpr-lp-system):
4133 * mail/binhex.el (binhex-begin-line):
4134 * progmodes/grep.el (grep-history, grep-find-history):
4135 * textmodes/flyspell.el:
4136 * vc/pcvs-defs.el (cvs-global-menu):
4137 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4138 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4139 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4140
321decc8
GM
4141 * net/tls.el: Fix case of "GnuTLS".
4142
420b63ad
GM
4143 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4144
cb825e5d
GM
4145 * version.el (emacs-build-system): Give it a doc-string.
4146
a0649f08
JL
41472011-11-24 Juri Linkov <juri@jurta.org>
4148
4149 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4150
c0bc0fd4
GM
41512011-11-24 Glenn Morris <rgm@gnu.org>
4152
4153 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4154 if called on a non-mime message just toggle the headers. (Bug#8006)
4155
20db1522
JB
41562011-11-24 Juanma Barranquero <lekktu@gmail.com>
4157
4158 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4159 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4160 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4161 (allout-rebullet-heading, allout-open-sibtopic)
4162 (allout-toggle-current-subtree-encryption)
4163 (allout-toggle-subtree-encryption, allout-encrypt-string)
4164 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4165 (allout-distinctive-bullets-string, allout-auto-activation):
4166 * window.el (window-normalize-buffer-to-display):
4167 * progmodes/verilog-mode.el (verilog-batch-indent):
4168 * textmodes/bibtex.el (bibtex-field-braces-opt)
4169 (bibtex-field-strings-opt):
4170 * vc/cvs-status.el (cvs-tree-merge):
4171 Fix typos.
4172
7262a87c
MA
41732011-11-23 Michael Albinus <michael.albinus@gmx.de>
4174
4175 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4176 `non-essential' to t, in order to avoid remote connections.
4177
283430a1
EZ
41782011-11-23 Eli Zaretskii <eliz@gnu.org>
4179
a1beca85
SM
4180 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4181 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4182 case-insensitively.
4183
d2992a38
ML
41842011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4185
4186 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4187
50419064
GM
41882011-11-23 Glenn Morris <rgm@gnu.org>
4189
da94eca1
GM
4190 * paths.el (rmail-file-name): Reformat the doc-string so that it
4191 is picked up.
4192
9aac4de2
GM
4193 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4194 (rmail-auto-file): Ignore case in the "special" field names,
4195 as mail-fetch-field does for all others.
4196
8038d2d2
GM
4197 * mail/rmail.el (rmail-forward):
4198 * mail/rmailkwd.el (rmail-set-label):
4199 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4200 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4201
f3fe222a
GM
4202 * mail/rmail.el (rmail-current-message): Doc fix.
4203
50419064
GM
4204 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4205
28109f49
SM
42062011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4209
394c65f1
GM
42102011-11-22 Glenn Morris <rgm@gnu.org>
4211
4212 * mail/rmailmm.el (test-rmail-mime-handler)
4213 (test-rmail-mime-bulk-handler)
4214 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4215
f2a0aa3a
JL
42162011-11-21 Juri Linkov <juri@jurta.org>
4217
1154d12e
JB
4218 * calc/calc.el (calc-read-key-sequence):
4219 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4220
9c34a344
LMI
42212011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4222
4223 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4224 Tell the caller that the next line needs recomputation, even
4225 though it doesn't start a sexp (bug#10094).
4226
f04a3be9
SM
42272011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4230
7978747f
SM
42312011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4232
f04a3be9
SM
4233 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4234 Use force-same-window.
7978747f 4235
fe7a3057
JB
42362011-11-20 Juanma Barranquero <lekktu@gmail.com>
4237
4238 * descr-text.el (describe-char-unicode-data):
4239 * json.el (json-string-escape):
4240 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4241 (Footnote-unicode, Footnote-style-p):
4242 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4243
24901d61
CY
42442011-11-20 Chong Yidong <cyd@gnu.org>
4245
4246 * window.el (replace-buffer-in-windows): Restore interactive spec.
4247
bac7ff22
SM
42482011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4249
24f3d7b9
SM
4250 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4251
bac7ff22
SM
4252 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4253 (byte-compile-global-not-obsolete-vars): New var.
4254 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4255 Use it.
4256 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4257
cd1181db
JB
42582011-11-20 Juanma Barranquero <lekktu@gmail.com>
4259
4260 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4261 * progmodes/pascal.el (electric-pascal-equal):
4262 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4263 * xml.el (xml-substitute-special): Fix typos.
4264
7fb18e9e
GM
42652011-11-20 Glenn Morris <rgm@gnu.org>
4266
4267 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4268 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4269 Doc fixes.
4270 (rmail-decode-mime-charset): Mark as obsolete.
4271
4272 * mail/rmailsum.el (rmail-message-regexp-p-1):
4273 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4274 Before using mime functions, check they are set. (Bug#10077)
4275
d5a6b3ba
JL
42762011-11-19 Juri Linkov <juri@jurta.org>
4277
4278 * info.el (Info-finder-find-node): Use `package--builtins' instead
4279 of `package-alist'. Use node names formed by the pattern "Keyword "
4280 and the keyword name.
4281
e981b61f
AS
42822011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4283
1d00653d 4284 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4285
3ffbc301
JL
42862011-11-19 Juri Linkov <juri@jurta.org>
4287
4288 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4289 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4290 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4291 `old-history', `old-history-forward'. Add let-binding
4292 `window-selected'. Remove calls to `kill-buffer',
4293 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4294 before calling `Info-find-node', so `Info-find-node-2' will reread
4295 the Info file. Restore window positions only when `window-selected'
4296 is non-nil.
4297
30c62133
JL
42982011-11-19 Juri Linkov <juri@jurta.org>
4299
4300 * isearch.el (isearch-lazy-highlight-new-loop):
4301 Remove condition `(not isearch-error)'. (Bug#9918)
4302
4303 * misearch.el (multi-isearch-search-fun): Add condition
4304 `(not bound)' to ignore lazy-highlighting search.
4305 Add the search-failed message "end of multi" when the end of
4306 multi-sequence is reached. Uncapitalize the search-failed
4307 message "Repeat for next buffer".
4308
4309 * info.el (Info-search): Add the search-failed message
4310 "end of the manual" when the end of the manual is reached
4311 in Isearch mode.
4312
645ca9cf
JL
43132011-11-19 Juri Linkov <juri@jurta.org>
4314
4315 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4316 Use non-destructive `remove' instead of `delete' because
4317 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4318 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4319
df754f66
JL
43202011-11-19 Juri Linkov <juri@jurta.org>
4321
4322 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4323 to nil instead of binding `search-ring' and `regexp-search-ring'.
4324 (Bug#9185)
4325
0e23d96a
EZ
43262011-11-19 Eli Zaretskii <eliz@gnu.org>
4327
4328 * simple.el (line-move): Force movement by logical lines for any
4329 hscrolled window, not only when auto-hscroll-mode is on.
4330 (line-move-visual): Update doc string to that effect. (Bug#10076)
4331
8a6ccb66
AS
43322011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4333
4334 * language/european.el (macintosh): Define as alias for mac-roman.
4335
49ae5b39
EZ
43362011-11-19 Eli Zaretskii <eliz@gnu.org>
4337
4338 * mail/rmailmm.el (rmail-mime-display-header)
4339 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4340 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4341 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4342 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4343 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4344 of a raw aref.
4345 (rmail-mime-entity-segment): To get past the tagline, move forward
4346 2 more lines, to account for the 2 empty lines that precede and
4347 follow the line with the buttons.
4348 (rmail-mime-update-tagline): Move one more line, to get past the
4349 empty line that follows the buttons in the tagline. (Bug#9520)
4350
c56cad4a
MR
43512011-11-19 Martin Rudalics <rudalics@gmx.at>
4352
4353 * window.el (window-max-delta-1, window-min-delta-1)
4354 (window-min-size-1, window-state-get-1, window-state-put-1)
4355 (window-state-put-2): Use "window--" prefix.
4356
cbe71af3
SM
43572011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4358
2ad52c60
SM
4359 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4360 (smie-warning-count): New var.
4361 (smie-set-prec2tab): Use it.
4362 (smie-bnf->prec2): Improve warnings. Add docstring.
4363 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4364 (smie-bnf--set-class): New function.
4365 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4366 corner case.
4367
6944dbc1
SM
4368 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4369 (compilation-error-properties, compilation-move-to-column):
4370 Handle compilation-first-column while in the target buffer.
4371
c400c4d7
SM
4372 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4373 Don't hardcode point-min==1.
4374
6dbe3e96
SM
4375 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4376 (eshell-rewrite-for-command): Remove workaround.
4377 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4378 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4379 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4380
cbe71af3
SM
4381 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4382
a8e1496d
GM
43832011-11-17 Glenn Morris <rgm@gnu.org>
4384
4385 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4386 Ignore buffer-local generated-autoload-file if it is the same
4387 as the global value. (Bug#10049)
4388
df85d315
JB
43892011-11-17 Juanma Barranquero <lekktu@gmail.com>
4390
4391 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4392 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4393 (reftex-toc-previous-heading, reftex-toc-max-level)
4394 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4395 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4396 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4397 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4398 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4399 (reftex-toc-rename-label, reftex-toc-visit-location)
4400 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4401 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4402 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4403 leaving "*toc*" only for references to the buffer.
4404
a0c2d0ae
MR
44052011-11-17 Martin Rudalics <rudalics@gmx.at>
4406
4407 * window.el (window-resize, delete-window, split-window):
4408 Replace window-splits by window-combination-resize.
1d00653d 4409 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4410
35c0bac8
GM
44112011-11-17 Glenn Morris <rgm@gnu.org>
4412
4413 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4414 Make bash entry derive from sh entry, not shell entry.
4415
d0c8fc8a
MA
44162011-11-16 Michael Albinus <michael.albinus@gmx.de>
4417
d0c8fc8a
MA
4418 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4419 properties of linked files. (Bug#9879)
4420
7262a87c
MA
4421 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4422 local file name.
4423
7877f373
JB
44242011-11-16 Juanma Barranquero <lekktu@gmail.com>
4425
4426 * menu-bar.el (menu-bar-file-menu):
4427 * printing.el (pr-ps-utility):
4428 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4429 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4430 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4431 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4432 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4433 (icalendar--convert-cyclic-to-ical)
4434 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4435 (icalendar--convert-ical-to-diary)
4436 (icalendar--convert-recurring-to-diary)
4437 (icalendar--convert-non-recurring-all-day-to-diary)
4438 (icalendar-import-format-sample):
4439 * progmodes/idlw-shell.el (idlwave-shell-mode):
4440 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4441 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4442 (vhdl-ps-print-init): Fix typos.
4443
10649b82
KM
44442011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4445
9d0cfcd6
GM
4446 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4447 FSF and collapse date sequence, obscure author/maintainer email address
4448 better, remove extra version line, track relocation of author's webpage.
10649b82 4449
9d0cfcd6
GM
4450 * progmodes/python.el (python-pdbtrack-input-prompt)
4451 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4452 regular python pdb prompts. Adjustments shamelessly taken exactly as
4453 suggested in EmacsWiki page (tiny change):
4454 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4455
58179cce
JB
44562011-11-16 Juanma Barranquero <lekktu@gmail.com>
4457
4458 * expand.el (expand-pos, expand-index, expand-point):
4459 Remove redundant info from docstring.
4460 (expand-add-abbrevs): Doc fix.
4461 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4462 (expand-sample-perl-mode-expand-list): Fix typos.
4463
4464 * net/dbus.el (dbus-event-member-name):
4465 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4466 * term/pc-win.el (msdos-create-frame-with-faces):
4467 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4468
b6f67890
MR
44692011-11-16 Martin Rudalics <rudalics@gmx.at>
4470
4471 * window.el (split-window, window-state-get-1)
4472 (window-state-put-1, window-state-put-2): Rename occurrences of
4473 window-nest to window-combination-limit.
1d00653d 4474 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4475
ce7ddba0
CY
44762011-11-16 Chong Yidong <cyd@gnu.org>
4477
4478 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4479 regexp (Bug#10033).
4480
3ae704f4
SM
44812011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4482
4483 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4484 `completing-read' will remove *Completions* and will preserve
4485 current-buffer for us.
4486 (tmm-add-prompt): Users of *Completions* will always (re)set its
4487 major mode.
4488 (tmm-old-comp-map): Remove.
4489
6ad1cdde
GM
44902011-11-16 Glenn Morris <rgm@gnu.org>
4491
4492 * mail/rmailedit.el: Require rmailmm when compiling.
4493 (rmail-old-mime-state): New declaration.
4494 (rmail-edit-current-message): If editing a mime message,
4495 edit the "raw" message from the mbox buffer.
4496 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4497
d20faa20
GM
44982011-11-15 Glenn Morris <rgm@gnu.org>
4499
4500 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4501 which wasn't being used. Add optional arg to force given state.
4502 (rmail-mime): Add optional arg to force given state.
4503
c7015153
JB
45042011-11-15 Juanma Barranquero <lekktu@gmail.com>
4505
4506 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4507 * frame.el (display-mm-dimensions-alist):
4508 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4509 (outline-move-subtree-down):
4510 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4511 (newsticker--treeview-do-get-node):
4512 * net/quickurl.el (quickurl-list-buffer-name):
4513 * progmodes/dcl-mode.el (dcl-mode):
4514 * progmodes/gdb-mi.el (gdb-mapcar*):
4515 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4516
45261b50
GM
45172011-11-15 Glenn Morris <rgm@gnu.org>
4518
4519 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4520 in a boolean sense, so just make it a boolean, and fix the doc.
4521 (rmail-show-mime-function, rmail-mime-feature)
4522 (rmail-require-mime-maybe): Doc fixes.
4523 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4524
4525 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4526
0d26e0b6
JB
45272011-11-15 Juanma Barranquero <lekktu@gmail.com>
4528
4529 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4530 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4531 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4532 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4533
447f30f6
GM
45342011-11-15 Glenn Morris <rgm@gnu.org>
4535
672b871d
GM
4536 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4537 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4538 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4539 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4540 (rmail-mime, rmail-show-mime): Doc fixes.
4541
f6aa5bb1
GM
4542 * term/ns-win.el (mode-line-frame-identification):
4543 Leave it alone. (Bug#10051)
4544
947cd66b
GM
4545 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4546
447f30f6
GM
4547 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4548 Handle empty buffers. (Bug#9978)
4549
0b381c7e
JB
45502011-11-14 Juanma Barranquero <lekktu@gmail.com>
4551
4552 * international/mule.el (define-charset):
4553 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4554 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4555 * progmodes/verilog-mode.el (verilog-backward-token):
4556 * textmodes/ispell.el (lookup-words):
4557 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4558
71e027ac
GM
45592011-11-14 Glenn Morris <rgm@gnu.org>
4560
56632ce4
GM
4561 * progmodes/executable.el
4562 (executable-make-buffer-file-executable-if-script-p):
4563 Handle file-modes returning nil.
4564
40500957
GM
4565 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4566 message - not necessary, and causes problems. (Bug#9831)
4567
071c2340
GM
4568 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4569
d3cfca60
GM
4570 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4571
71e027ac
GM
4572 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4573 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4574 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4575
89d61221
MR
45762011-11-12 Martin Rudalics <rudalics@gmx.at>
4577
4578 * window.el (window-resize, delete-window): Use window-splits
4579 variable instead of function.
4580 (window-state-get-1, window-state-put-2, window-state-put):
4581 Don't deal with windows' splits status.
4582
98282f6f
GM
45832011-11-12 Glenn Morris <rgm@gnu.org>
4584
4585 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4586 (apropos-documentation): Doc fixes.
4587
40a8bdf6
JB
45882011-11-11 Juanma Barranquero <lekktu@gmail.com>
4589
4590 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4591 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4592
65bd19ff
SM
45932011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * electric.el (electric-indent-post-self-insert-function): Make it
4596 possible for a char to only indent in some circumstances.
4597 (electric-indent-mode): Simplify.
4598
54f9154c
MR
45992011-11-11 Martin Rudalics <rudalics@gmx.at>
4600
4601 * window.el (windows-with-parameter): Remove unused function.
4602 (windows-at-side): Rename to window-at-side-list.
4603 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4604 (window-side-check, window-size-ignore, window-size-fixed-1)
4605 (window-in-direction-2): Prefix with "window--".
4606 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4607
68cbc58b
GM
46082011-11-11 Glenn Morris <rgm@gnu.org>
4609
4610 * subr.el (eval-after-load): If FILE is already loaded,
4611 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4612
b2621720
GM
46132011-11-10 Glenn Morris <rgm@gnu.org>
4614
9a4de110
GM
4615 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4616 Call svn via vc-svn-command rather than vc-do-command.
4617 (vc-svn-command): Add --non-interactive. (Bug#9993)
4618 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4619
b2621720
GM
4620 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4621 Add toggle-read-only. (Bug#7292)
4622 * files.el (toggle-read-only): Mention that it should only
4623 be used interactively. (Bug#10006)
4624
1dce7193
SM
46252011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4626
d9ac1a1e
SM
4627 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4628 Adjust regexp for OCaml warnings.
4629
0c325082
SM
4630 * electric.el (electric-pair-post-self-insert-function): Let user
4631 turn it off buffer-locally (bug#9932).
4632
90132c14
SM
4633 * progmodes/python.el (python-beginning-of-statement):
4634 Rewrite (bug#2703).
4635
1dce7193
SM
4636 * progmodes/compile.el: Better handle TABs (bug#9749).
4637 (compilation-internal-error-properties)
4638 (compilation-next-error-function): Obey the target buffer's
4639 compilation-error-screen-columns.
4640
c4e7c63a
JB
46412011-11-09 Juanma Barranquero <lekktu@gmail.com>
4642
4643 * progmodes/meta-mode.el: Remove obsolete comments.
4644 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4645 Fix typos in docstrings.
4646
2cffd681
MR
46472011-11-09 Martin Rudalics <rudalics@gmx.at>
4648
4649 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4650 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4651 (window--resizable): New function. Make all callers of
4652 window-resizable call window--resizable instead.
4653 (window-resizable): Rewrite in terms of window--resizable.
4654
0edcba87
GM
46552011-11-08 Glenn Morris <rgm@gnu.org>
4656
4657 * progmodes/delphi.el (delphi-mode-syntax-table):
4658 Let define-derived-mode define a proper syntax table. (Bug#9994)
4659
4b0d61e3
SM
46602011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4661
4662 * window.el: Stay away from defsubst.
4663 (window-list-no-nils): Remove.
4664 (window-state-get-1, window-state-get): Use backquote instead.
4665
cd394be1 46662011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4667
4b0d61e3 4668 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4669 Fix incorrect use of default argument in `completing-read'.
4670
e1c2c6f2
MR
46712011-11-08 Martin Rudalics <rudalics@gmx.at>
4672
4673 * window.el (display-buffer-function, special-display-function):
4674 Mention display-buffer-record-window but do not mention
4675 help-setup parameter in doc-strings.
b3f4a882 4676 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4677
105216ed
CY
46782011-11-08 Chong Yidong <cyd@gnu.org>
4679
4680 * window.el (window-total-height, window-total-width): Doc fix.
4681 (window-body-size): Move from C.
4682 (window-body-height, window-body-width): Move to C.
4683
0a9f9ab5
SM
46842011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * window.el: Make special-display like display-buffer-alist (bug#9532).
4687 (display-buffer--special-action): New function, morphed
4688 from display-buffer--special.
4689 (display-buffer): Use it to handle special-display-buffers at higher
4690 priority (just after display-buffer-alist).
4691 (display-buffer-fallback-action, display-buffer--other-frame-action)
4692 (pop-to-buffer-same-window): Remove display-buffer--special.
4693
a769dd15
GM
46942011-11-07 Glenn Morris <rgm@gnu.org>
4695
4696 * calendar/cal-menu.el (cal-menu-set-date-title):
4697 Do nothing if not in a calendar. (Bug#9976)
4698
05a61ee3
SM
46992011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4700
4701 * files.el (find-file): Always use selected-window.
4702
be7f5545
MR
47032011-11-07 Martin Rudalics <rudalics@gmx.at>
4704
4705 * window.el (window-combinations): Make WINDOW argument
4706 mandatory. Rewrite doc-string.
4707 (walk-window-subtree, window-atom-check, window-min-delta)
4708 (window-max-delta, window--resize-this-window)
4709 (window--resize-root-window-vertically, window-tree)
4710 (balance-windows, window-state-put): Rewrite doc-strings as to
4711 not mention the term "subwindow".
4712 (window--resize-subwindows-skip-p): Rename to
4713 window--resize-child-windows-skip-p.
4714 (window--resize-subwindows-normal): Rename to
4715 window--resize-child-windows-normal.
4716 (window--resize-subwindows): Rename to
4717 window--resize-child-windows.
4718 (window-or-subwindow-p): Rename to window--in-subtree-p.
4719
3c6702ef
ML
47202011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4721
4722 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4723 Ensure that mbox format messages end in two newlines (Bug#9974).
4724
49745b39
CY
47252011-11-06 Chong Yidong <cyd@gnu.org>
4726
4727 * window.el (window-combination-p): Function deleted; its
4728 side-effect is not used in any existing code.
4729 (window-combinations, window-combined-p): Call window-*-child
4730 directly.
4731
24300f5f
CY
47322011-11-05 Chong Yidong <cyd@gnu.org>
4733
4734 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4735 (window-size-ignore, window-state-get): Callers changed.
4736 (window-normalize-window): Rename from window-normalize-any-window.
4737 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4738 (window-normalize-live-window): Delete.
447f16b8
CY
4739 (window-combination-p, window-combined-p, window-combinations)
4740 (walk-window-subtree, window-atom-root, window-min-size)
4741 (window-sizable, window-sizable-p, window-size-fixed-p)
4742 (window-min-delta, window-max-delta, window-resizable)
4743 (window-resizable-p, window-full-height-p, window-full-width-p)
4744 (window-current-scroll-bars, window-point-1, set-window-point-1)
4745 (window-at-side-p, window-in-direction, window-resize)
4746 (adjust-window-trailing-edge, maximize-window, minimize-window)
4747 (window-deletable-p, delete-window, delete-other-windows)
4748 (record-window-buffer, unrecord-window-buffer)
4749 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4750 (quit-window, split-window, window-state-put)
4751 (set-window-text-height, fit-window-to-buffer)
4752 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4753
89bd5ee1
EZ
47542011-11-04 Eli Zaretskii <eliz@gnu.org>
4755
53479029
EZ
4756 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4757 rfc2047-decode-string.
4758 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4759 warnings.
4760
89bd5ee1
EZ
4761 * window.el (window-body-height, window-body-width): Mention in
4762 the doc string that the return values are in frame's canonical
4763 units. (Bug#9949)
4764
bd17fdee
AM
47652011-11-03 Alan Mackenzie <acm@muc.de>
4766
4767 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4768 change in cc-engine.el.
4769
acc825c5
SM
47702011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4773
1885e5b8
MR
47742011-11-02 Martin Rudalics <rudalics@gmx.at>
4775
4776 * window.el (quit-window): Call unrecord-window-buffer after
4777 showing another buffer in the window. (Bug#9937)
acc825c5 4778 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4779
ebe06da9
JB
47802011-11-02 Juanma Barranquero <lekktu@gmail.com>
4781
4782 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4783 Accept status with more than 9 shelves. (Bug#9935)
4784 Reported by Colin D Bennett <colin@gibibit.com>.
4785
4ee88440
MR
47862011-11-01 Martin Rudalics <rudalics@gmx.at>
4787
4788 * help.el (with-help-window): Don't reference
4789 temp-buffer-show-specifiers in doc-string.
4790
08e1d82c
AS
47912011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4792
4793 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4794 menu-item.
4795
84bd6e9e
VJL
47962011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4797
4798 * whitespace.el: New version 13.2.2.
4799 (whitespace-newline-mode): Disable properly. Reported by Sarah
4800 <EmacsWiki>.
4801
dba0634a
UJ
48022011-10-30 Ulf Jasper <ulf.jasper@web.de>
4803
4804 * net/newst-treeview.el: Remove "Time-stamp".
4805 (newsticker--group-manage-orphan-feeds): Do not call
4806 newsticker--treeview-tree-update.
db22a3c2
JB
4807 (newsticker-treeview-update, newsticker-treeview):
4808 Call newsticker--treeview-tree-update if necessary.
dba0634a 4809
3d8daefe
MR
48102011-10-30 Martin Rudalics <rudalics@gmx.at>
4811
4812 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4813 (window-iso-combinations): Remove "iso-" infix.
4814 Suggested by Chong Yidong.
3d8daefe
MR
4815 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4816 (window-max-delta-1, window-resize, window--resize-siblings)
4817 (window--resize-this-window, adjust-window-trailing-edge)
4818 (split-window, balance-windows-1)
4819 (shrink-window-if-larger-than-buffer):
4820 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4821 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4822
1bc4c3ae
SM
48232011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4826 in place (bug#9907).
4827 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4828 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4829 (eshell-structure-basic-command, eshell-rewrite-while-command)
4830 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4831 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4832 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4833 (eshell-do-pipelines-synchronously, eshell-eval-command):
4834 Use backquotes and prefer setq to set.
4835 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4836 (eshell-macrop): Use functionp.
c1e2f5fa 4837 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4838
30b65d9c
CY
48392011-10-30 Chong Yidong <cyd@gnu.org>
4840
4841 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4842 instead of set-mark (Bug#9810).
4843
2d197ffb
CY
48442011-10-30 Chong Yidong <cyd@gnu.org>
4845
4846 * window.el (split-window-below, split-window-right): Rename from
4847 split-window-above-each-other and split-window-side-by-side
4848 respectively. All callers changed.
4849 (split-window-sensibly, split-window-sensibly): Use them.
4850 (split-window-keep-point): Doc fix.
4851
4852 * isearch.el: Add isearch-scroll property to split-window-below
4853 and split-window-right.
4854
4855 * follow.el (follow-mode):
4856 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4857 * progmodes/ada-xref.el (ada-gdb-application):
4858 * emulation/vip.el (vip-buffer-in-two-windows):
4859 * image-dired.el (image-dired-dired-with-window-configuration):
4860 * dired-x.el (dired-do-find-marked-files):
4861 * dired.el (dired-pop-to-buffer):
4862 * bs.el (bs--show-with-configuration):
4863 * vc/emerge.el (emerge-setup-windows):
4864 * textmodes/two-column.el (2C-two-columns):
4865 * textmodes/reftex-toc.el (reftex-toc):
4866 * progmodes/gdb-mi.el (gdb-setup-windows):
4867 * progmodes/fortran.el (fortran-window-create):
4868 * net/newst-treeview.el (newsticker--treeview-window-init):
4869 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4870 * emulation/tpu-edt.el (tpu-gold-map):
4871 * emulation/crisp.el (crisp-mode-map):
4872 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4873
38bb2ca8
CY
48742011-10-29 Chong Yidong <cyd@gnu.org>
4875
aa4de341
CY
4876 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4877
e1eb5385
CY
4878 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4879
5d2ece3c
CY
4880 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4881 forged Ispell output (Bug#7904).
4882
38bb2ca8
CY
4883 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4884
d0af9f77
SM
48852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4886
4887 * doc-view.el: Avoid ugly errors about not finding nil.
4888 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4889 (doc-view-dvipdf-program, doc-view-unoconv-program)
4890 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4891 Avoid nil or absolute file name as default value.
4892 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4893
52bedd34
AM
48942011-10-28 Alan Mackenzie <acm@muc.de>
4895
db22a3c2 4896 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4897
7e43cfa5
AM
48982011-10-28 Alan Mackenzie <acm@muc.de>
4899
4900 Amend the handling of c-beginning/end-of-defun in nested declaration
4901 scopes.
4902
52bedd34
AM
4903 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4904 cc-langs.el. Change it to a defcustom.
7e43cfa5 4905
52bedd34
AM
4906 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4907 cc-vars.el.
7e43cfa5 4908
d0af9f77
SM
4909 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4910 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4911
52bedd34 4912 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4913 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4914 (c-widen-to-enclosing-decl-scope): New function.
4915 (c-while-widening-to-decl-block): New macro.
4916 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4917 outward for defun boundaries, and correspondingly change symbol
4918 `respect-enclosure' to `go-outward'.
4919 (c-declaration-limits): Change algorithm to report only the "innermost"
4920 defun's boundaries.
4921
1a2ce9ee
DD
49222011-10-28 Deniz Dogan <deniz@dogan.se>
4923
4924 * net/rcirc.el (rcirc-mode): Use hard newlines.
4925
bc97a826
AM
49262011-10-28 Alan Mackenzie <acm@muc.de>
4927
4928 Amend to indent and fontify macros "which include their own semicolon"
4929 correctly, using the "virtual semicolon" mechanism.
4930
52bedd34 4931 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4932
d0af9f77 4933 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4934 Recode to scan one line at a time rather than having \n and \r
58179cce 4935 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4936 (c-forward-label): Amend for virtual semicolons.
58179cce 4937 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4938
52bedd34
AM
4939 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4940 of the new C macros.
bc97a826 4941
52bedd34 4942 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4943 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4944 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4945 (c-opt-cpp-macro-define): Make into a full language variable.
4946 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4947 AWK Mode (including \n, \r) removed, no longer needed.
4948
d0af9f77
SM
4949 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4950 Invoke c-make-macro-with-semi-re.
bc97a826 4951
52bedd34
AM
4952 * progmodes/cc-vars.el (c-macro-with-semi-re):
4953 (c-macro-names-with-semicolon): New variables.
58179cce 4954 (c-make-macro-with-semi-re): New function.
bc97a826 4955
7a6c0941
SM
49562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * vc/log-edit.el: Fill empty field rather than adding new one.
4959 (log-edit-add-field): New function.
4960 (log-edit-insert-changelog): Use it.
4961
b0c4cdcf
ML
49622011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4963
4964 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4965
ee1f1da9
SM
49662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4969 (gdb--check-interpreter): New function.
4970 (gdb): Use it.
4971
51bc5f8b
GM
49722011-10-27 Glenn Morris <rgm@gnu.org>
4973
416a2c45
GM
4974 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4975 (least-positive-float, least-negative-float)
4976 (least-positive-normalized-float, least-negative-normalized-float)
4977 (float-epsilon, float-negative-epsilon):
4978 Remove unnecessary declarations.
4979
4980 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4981 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4982 (least-positive-float, least-negative-float)
4983 (least-positive-normalized-float, least-negative-normalized-float)
4984 (float-epsilon, float-negative-epsilon): Add doc-strings,
4985 based on those in cl.texi.
4986
51bc5f8b
GM
4987 * files.el (set-visited-file-name): If the major-mode changed,
4988 reload the local variables. (Bug#9796)
4989
15de15c6
CY
49902011-10-27 Chong Yidong <cyd@gnu.org>
4991
4992 * subr.el (change-major-mode-after-body-hook): New hook.
4993 (run-mode-hooks): Run it.
4994
ee1f1da9
SM
4995 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4996 Use change-major-mode-before-body-hook.
15de15c6
CY
4997
4998 * simple.el (fundamental-mode):
4999 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5000 change introducing fundamental-mode-hook.
5001
5430d399
JB
50022011-10-26 Juanma Barranquero <lekktu@gmail.com>
5003
acc825c5 5004 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5005
ad74a69e
MA
50062011-10-26 Michael Albinus <michael.albinus@gmx.de>
5007
5008 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5009 tramp.el explicitly. (Bug#7583)
ad74a69e 5010
71d4c2a5
SM
50112011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5012
5013 * progmodes/octave-mod.el:
5014 * progmodes/octave-inf.el: Update maintainer.
5015
b1f6fa26
CY
50162011-10-26 Chong Yidong <cyd@gnu.org>
5017
5018 * subr.el (with-wrapper-hook): Rewrite doc.
5019
3f04efd6
MA
50202011-10-25 Michael Albinus <michael.albinus@gmx.de>
5021
5022 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5023 filenames "/method:foo:". (Bug#9793)
3f04efd6 5024
410488d3
SM
50252011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5028 (bug#9865).
5029
c1ebb47e
GM
50302011-10-24 Glenn Morris <rgm@gnu.org>
5031
5032 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5033
7f5c46c7
MA
50342011-10-24 Michael Albinus <michael.albinus@gmx.de>
5035
5036 * notifications.el: Add the requirement of a running D-Bus session
5037 bus to the Commentary.
5038
db2440b6
JL
50392011-10-24 Juri Linkov <juri@jurta.org>
5040
5041 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5042 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5043 (Bug#9364)
5044
feecf435
JL
50452011-10-24 Juri Linkov <juri@jurta.org>
5046
5047 * info.el (Info-following-node-name-re): Add newline to the list
5048 of allowed characters for leading space. (Bug#9824)
5049
a3839de2
SM
50502011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5051
acc825c5
SM
5052 * progmodes/octave-inf.el (inferior-octave-mode-map):
5053 Fix C-c C-h binding.
a3839de2
SM
5054 * progmodes/octave-mod.el (octave-help): Remove.
5055
09388e76
MA
50562011-10-23 Michael Albinus <michael.albinus@gmx.de>
5057
5058 Sync with Tramp 2.2.3.
5059
5060 * net/tramp-cache.el (top): Pacify byte-compiler using
5061 `init-file-user' and `site-run-file'.
5062
5063 * net/trampver.el: Update release number.
5064
86c60681
CY
50652011-10-23 Chong Yidong <cyd@gnu.org>
5066
5067 * files.el (toggle-read-only): Remove obsolete comment about
5068 version control.
5069
5070 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5071 for toggle-read-only. Note that this hasn't called vc-next-action
5072 since 2008-05-02, though it wasn't documented at the time.
5073
a3839de2
SM
5074 * vc/ediff-init.el (ediff-toggle-read-only-function):
5075 Use toggle-read-only.
86c60681 5076
cd5495ff
AM
50772011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5078
5079 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5080 of c-parse-state.
5081
00b77525 5082 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5083 correct faulty logical expression.
cd5495ff
AM
5084 (c-parse-state-state, c-record-parse-state-state):
5085 (c-replay-parse-state-state): New defvar/defuns.
5086 (c-debug-parse-state): Use new functions.
5087
42ee24ed
MR
50882011-10-22 Martin Rudalics <rudalics@gmx.at>
5089
5090 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5091 last fix. Use window-in-direction correctly.
42ee24ed 5092
a7dee7e7
CY
50932011-10-21 Chong Yidong <cyd@gnu.org>
5094
5095 * progmodes/idlwave.el (idlwave-mode):
5096 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5097 require-final-newline; that's done in prog-mode.
5098 Suggested by Stefan Monnier.
a7dee7e7 5099
e07b9a6d
MR
51002011-10-21 Martin Rudalics <rudalics@gmx.at>
5101
5102 * mouse.el (mouse-drag-window-above)
5103 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5104 (mouse-drag-mode-line-1, mouse-drag-header-line)
5105 (mouse-drag-vertical-line-rightward-window): Remove.
5106 (mouse-drag-line): New function.
5107 (mouse-drag-mode-line, mouse-drag-header-line)
5108 (mouse-drag-vertical-line): Call mouse-drag-line.
5109 * window.el (window-at-side-p, windows-at-side): New functions.
5110
7e1361d9
UM
51112011-10-21 Ulrich Mueller <ulm@gentoo.org>
5112
5113 * tar-mode.el (tar-grind-file-mode):
5114 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5115
30fcaf3a
CY
51162011-10-21 Chong Yidong <cyd@gnu.org>
5117
5118 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5119 * progmodes/vera-mode.el (vera-mode):
5120 Use mode-require-final-newline.
30fcaf3a 5121
516eddb0
GM
51222011-10-20 Glenn Morris <rgm@gnu.org>
5123
db22a3c2 5124 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5125
10d5f513
CS
51262011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5127
5128 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5129
ac6c8639
CY
51302011-10-20 Chong Yidong <cyd@gnu.org>
5131
5132 * emulation/cua-base.el (cua-mode):
5133 * mail/footnote.el (footnote-mode):
5134 * mail/mailabbrev.el (mail-abbrevs-mode):
5135 * net/xesam.el (xesam-minor-mode):
5136 * progmodes/bug-reference.el (bug-reference-mode):
5137 * progmodes/cap-words.el (capitalized-words-mode):
5138 * progmodes/compile.el (compilation-minor-mode)
5139 (compilation-shell-minor-mode):
5140 * progmodes/gud.el (gud-tooltip-mode):
5141 * progmodes/hideif.el (hide-ifdef-mode):
5142 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5143 * progmodes/subword.el (subword-mode):
5144 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5145 * progmodes/which-func.el (which-function-mode):
5146 * term/tvi970.el (tvi970-set-keypad-mode):
5147 * term/vt100.el (vt100-wide-mode):
5148 * textmodes/flyspell.el (flyspell-mode):
5149 * textmodes/ispell.el (ispell-minor-mode):
5150 * textmodes/nroff-mode.el (nroff-electric-mode):
5151 * textmodes/paragraphs.el (use-hard-newlines):
5152 * textmodes/refill.el (refill-mode):
5153 * textmodes/reftex.el (reftex-mode):
5154 * textmodes/rst.el (rst-minor-mode):
5155 * textmodes/sgml-mode.el (html-autoview-mode)
5156 (sgml-electric-tag-pair-mode):
5157 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5158 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5159 * emulation/crisp.el (crisp-mode):
5160 * emacs-lisp/eldoc.el (eldoc-mode):
5161 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5162 minor mode behavior.
5163
aa42ab43
JL
51642011-10-19 Juri Linkov <juri@jurta.org>
5165
5166 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5167 the list of hard-coded chars with escape-glyph face.
5168
89400f1d
SM
51692011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5172
305c07f6
MA
51732011-10-19 Michael Albinus <michael.albinus@gmx.de>
5174
5175 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5176 running process.
5177
13754b54
GM
51782011-10-19 Glenn Morris <rgm@gnu.org>
5179
5180 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5181 Ignore ignored files. (Bug#9726)
5182
06e21633
CY
51832011-10-19 Chong Yidong <cyd@gnu.org>
5184
5185 Doc fix for minor modes, stating that an omitted argument enables
5186 the mode unconditionally when called from Lisp.
5187
5188 * abbrev.el (abbrev-mode):
5189 * allout.el (allout-mode):
5190 * autoinsert.el (auto-insert-mode):
5191 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5192 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5193 (global-auto-revert-mode):
5194 * battery.el (display-battery-mode):
5195 * composite.el (global-auto-composition-mode)
5196 (auto-composition-mode):
5197 * delsel.el (delete-selection-mode):
5198 * desktop.el (desktop-save-mode):
5199 * dired-x.el (dired-omit-mode):
5200 * dirtrack.el (dirtrack-mode):
5201 * doc-view.el (doc-view-minor-mode):
5202 * double.el (double-mode):
5203 * electric.el (electric-indent-mode, electric-pair-mode):
5204 * emacs-lock.el (emacs-lock-mode):
5205 * epa-hook.el (auto-encryption-mode):
5206 * follow.el (follow-mode):
5207 * font-core.el (font-lock-mode):
5208 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5209 * help.el (temp-buffer-resize-mode):
5210 * hilit-chg.el (highlight-changes-mode)
5211 (highlight-changes-visible-mode):
5212 * hi-lock.el (hi-lock-mode):
5213 * hl-line.el (hl-line-mode, global-hl-line-mode):
5214 * icomplete.el (icomplete-mode):
5215 * ido.el (ido-everywhere):
5216 * image-file.el (auto-image-file-mode):
5217 * image-mode.el (image-minor-mode):
5218 * iswitchb.el (iswitchb-mode):
5219 * jka-cmpr-hook.el (auto-compression-mode):
5220 * linum.el (linum-mode):
5221 * longlines.el (longlines-mode):
5222 * master.el (master-mode):
5223 * mb-depth.el (minibuffer-depth-indicate-mode):
5224 * menu-bar.el (menu-bar-mode):
5225 * minibuf-eldef.el (minibuffer-electric-default-mode):
5226 * mouse-sel.el (mouse-sel-mode):
5227 * msb.el (msb-mode):
5228 * mwheel.el (mouse-wheel-mode):
5229 * outline.el (outline-minor-mode):
5230 * paren.el (show-paren-mode):
5231 * recentf.el (recentf-mode):
5232 * reveal.el (reveal-mode, global-reveal-mode):
5233 * rfn-eshadow.el (file-name-shadow-mode):
5234 * ruler-mode.el (ruler-mode):
5235 * savehist.el (savehist-mode):
5236 * scroll-all.el (scroll-all-mode):
5237 * scroll-bar.el (scroll-bar-mode):
5238 * server.el (server-mode):
5239 * shell.el (shell-dirtrack-mode):
5240 * simple.el (auto-fill-mode, transient-mark-mode)
5241 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5242 (line-number-mode, column-number-mode, size-indication-mode)
5243 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5244 * strokes.el (strokes-mode):
5245 * time.el (display-time-mode):
5246 * t-mouse.el (gpm-mouse-mode):
5247 * tool-bar.el (tool-bar-mode):
5248 * tooltip.el (tooltip-mode):
5249 * type-break.el (type-break-mode-line-message-mode)
5250 (type-break-query-mode):
5251 * view.el (view-mode):
5252 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5253 (global-whitespace-mode, global-whitespace-newline-mode):
5254 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5255
a3839de2
SM
5256 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5257 Fix autogenerated docstring.
06e21633 5258
5214e501
JL
52592011-10-19 Juri Linkov <juri@jurta.org>
5260
5261 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5262 by checking environment variables "DESKTOP_SESSION" and
5263 "XDG_CURRENT_DESKTOP". (Bug#9779)
5264
195f8db9
JL
52652011-10-19 Juri Linkov <juri@jurta.org>
5266
5267 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5268 (browse-url-chromium-program, browse-url-chromium-arguments):
5269 New defcustoms.
5270 (browse-url-default-browser): Check for `browse-url-chromium' and
5271 call `browse-url-chromium-program'.
5272 (browse-url-chromium): New command. (Bug#9779)
5273
343a34ff
JB
52742011-10-18 Juanma Barranquero <lekktu@gmail.com>
5275
5276 * facemenu.el (list-colors-duplicates): On Windows, detect more
5277 duplicates by assuming that only colors matching "^System" are
5278 special "system colors". (Bug#9722)
5279
6978a151
SM
52802011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5283 to distinguish the author from the committer.
5284
6a80b297
MA
52852011-10-18 Michael Albinus <michael.albinus@gmx.de>
5286
5287 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5288
b31a5677
JK
52892011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5290
5291 * international/mule.el (sgml-html-meta-auto-coding-function):
5292 Add support for detecting encoding in HTML5 specified only as
5293 <meta charset="UTF-8">. Implementation just makes http-equiv and
5294 content-type parts from HTML4 encoding string optional. (Bug#9716)
5295
80c6d77f
GM
52962011-10-18 Glenn Morris <rgm@gnu.org>
5297
5298 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5299
08b0fee8
CY
53002011-10-18 Chong Yidong <cyd@gnu.org>
5301
5302 * faces.el (cursor): Doc fix.
5303
67e729a5
CY
53042011-10-17 Chong Yidong <cyd@gnu.org>
5305
5306 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5307
343a34ff 53082011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5309
5310 * dirtrack.el (dirtrack): Support shell buffers with path
5311 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5312
0bc06380
TZ
53132011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5314
5315 * json.el: Bump version to 1.3 and note change in History.
5316 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5317
8b79f3e0
SM
53182011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5a7c536b
SM
5320 * comint.el (comint-insert-input, comint-send-input)
5321 (comint-get-old-input-default, comint-backward-matching-input)
5322 (comint-next-prompt): Use nil instead of `input' for field property of
5323 past user input (bug#114).
5324
96a8a0df
SM
5325 * minibuffer.el (completion--replace): Inherit surrounding properties
5326 (bug#114).
5327 (minibuffer-complete-and-exit): Use it.
5328
8b79f3e0
SM
5329 * comint.el (comint--table-subvert): Quote the all-completions output
5330 (bug#9160).
5331
b8f7ff0d
MR
53322011-10-17 Martin Rudalics <rudalics@gmx.at>
5333
8b79f3e0 5334 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5335
b8f7ff0d 5336 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5337 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5338 entries and separate them from frame entries.
5339
c235b555
GM
53402011-10-15 Glenn Morris <rgm@gnu.org>
5341
5342 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5343 Doc fixes.
5344
6bbfa6e1
CY
53452011-10-15 Chong Yidong <cyd@stupidchicken.com>
5346
8b79f3e0
SM
5347 * net/network-stream.el (network-stream-open-starttls):
5348 Improve detection of failure due to lack of TLS support.
ec5c990d 5349
6bbfa6e1
CY
5350 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5351 putting the input text in front and in bold.
5352
98488977
SM
53532011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5354
3d1337be
SM
5355 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5356
ee0b45e4
SM
5357 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5358 empty buffer.
5359
98488977
SM
5360 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5361 unread-command-events rather than pushing yet-another event.
5362
186f4720
EZ
53632011-10-14 Eli Zaretskii <eliz@gnu.org>
5364
5365 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5366 the explanation of the possible choices. Make the options passed
5367 to completing-read shorter.
5368
8b7a997c
AM
53692011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5370
5371 * textmodes/flyspell.el (flyspell-large-region): Make sure
5372 extended character mode is used if defined (Bug#1339).
5373
12587bbb
EZ
53742011-10-13 Eli Zaretskii <eliz@gnu.org>
5375
5376 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5377 character info for LRE, LRO, RLE, and RLO characters by appending
5378 an invisible PDF.
12587bbb 5379
bad41229
SM
53802011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5383 even in case of error; add debug spec; simplify data flow.
5384 (with-timeout-handler): Remove.
5385
28dbc92f
MA
53862011-10-12 Michael Albinus <michael.albinus@gmx.de>
5387
5388 Fix Bug#6019, Bug#9315.
5389
5390 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5391 complete `buffer-file-name', the local file name part could look
5392 remotely (for example on VMS).
5393
5394 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5395 `tramp-run-real-handler'.
5396 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5397 already quoted by '"'.
5398
5399 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5400 Let `file-name-handler-alist' be nil, the local file name part
5401 could look remotely (for example on VMS).
5402
e1b0b23a
SM
54032011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5406 from here...
5407 (flyspell-post-command-hook): ...to here.
5408
a120bde9
SM
54092011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5412 if not needed.
5413 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5414 using completion. Protect against "slow" callers.
5415 Remove the "message hack".
5416
7ce7717b
JL
54172011-10-11 Juri Linkov <juri@jurta.org>
5418
5419 * isearch.el (isearch-lazy-highlight-word): New variable.
5420 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5421 Use it. (Bug#9727)
5422
c02ee9d6
GM
54232011-10-11 Glenn Morris <rgm@gnu.org>
5424
5425 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5426 like f90-previous-statement does.
5427
93e616fd 54282011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5429
1f190e73 5430 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5431 only in interactive use, to avoid error.
5432
af7b6078
SM
54332011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * minibuffer.el (completion-file-name-table): Fix last change,
5436 i.e. ignore normal errors but not the other ones.
5437
0563dae9
MR
54382011-10-10 Martin Rudalics <rudalics@gmx.at>
5439
5440 * window.el (special-display-buffer-names)
5441 (special-display-regexps): Remove some remnants of earlier
5442 changes from doc-strings.
366ca7f3
MR
5443 (quit-windows-on): New function.
5444
5445 * vc/vc.el (vc-revert, vc-rollback):
5446 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5447 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5448 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5449
49677495
MR
54502011-10-09 Martin Rudalics <rudalics@gmx.at>
5451
5452 * window.el (frame-auto-hide-function): Add version tag.
5453 (Bug#9699)
5454
56f2d1e1
MA
54552011-10-09 Michael Albinus <michael.albinus@gmx.de>
5456
5457 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5458 condition.
5459
112a6592
LL
54602011-10-09 Leo Liu <sdl.web@gmail.com>
5461
5462 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5463 (Bug#9701)
5464
0812589b
GM
54652011-10-08 Glenn Morris <rgm@gnu.org>
5466
5467 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5468 before the first code statement zero indent. (Bug#9690)
5469
b2b0776e
CY
54702011-10-08 Chong Yidong <cyd@stupidchicken.com>
5471
5472 * simple.el (count-words-region): Always count in the region.
5473 Report the number of lines and characters too.
5474 (count-words): New command, which counts in the buffer if the
5475 region is inactive, as count-words-region used to.
5476 (count-words--message): New function. Handle plurals.
5477 (count-lines-region): Make it an alias for count-words-region.
5478
5479 * bindings.el (esc-map): Replace count-lines-region with
5480 count-words-region.
5481
c557cd6b
MR
54822011-10-08 Martin Rudalics <rudalics@gmx.at>
5483
5484 * window.el (window--delete): Delete dedicated frame
5485 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5486 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5487
61a57ef4 54882011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5489
3a7d293b 5490 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5491
c3833279
CY
54922011-10-07 Chong Yidong <cyd@stupidchicken.com>
5493
5494 * bindings.el ([M-left],[M-right]): Bind to left-word and
5495 right-word respectively.
5496
21ce8245
GM
54972011-10-07 Glenn Morris <rgm@gnu.org>
5498
5499 * cus-start.el (debug-on-quit): Fix custom type.
5500
6d823bb2
LMI
55012011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5502
0181e193
LMI
5503 * subr.el (define-key-after): Clarify that the function is not
5504 useful for non-menu keymaps.
5505
6d823bb2
LMI
5506 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5507
8e3459ce 55082011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5509
21ce8245 5510 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5511 in current minibuffer (Fix bug with recursive minibuffers).
5512
a1c2d21e
CY
55132011-10-06 Chong Yidong <cyd@stupidchicken.com>
5514
5515 * progmodes/gdb-mi.el (gdb): Doc fix.
5516
5a4cf282
MR
55172011-10-05 Martin Rudalics <rudalics@gmx.at>
5518
5519 * window.el (frame-auto-hide-function): New option replacing
5520 frame-auto-delete. Suggested by Stefan Monnier.
5521 (window--delete): Call frame-auto-hide-function instead of
5522 investigating frame-auto-delete.
c96111ea
MR
5523 (window-point-1, set-window-point-1): New functions.
5524 (window-in-direction, record-window-buffer, window-state-get-1)
5525 (display-buffer-record-window): Use window-point-1 instead of
5526 window-point.
5527 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5528
9854542e
SM
55292011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5532
8943cfb0
GM
55332011-10-05 Glenn Morris <rgm@gnu.org>
5534
5535 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5536 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5537
647ab967
LL
55382011-10-05 Leo Liu <sdl.web@gmail.com>
5539
5540 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5541 works with buffer object.
5542
3ddfbced
SM
55432011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * mpc.el (mpc-tool-bar-map): Add labels.
5546
bdfa5dd2
GM
55472011-10-04 Glenn Morris <rgm@gnu.org>
5548
5549 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5550
0e2070b5
MR
55512011-10-04 Martin Rudalics <rudalics@gmx.at>
5552
5553 * window.el (window--delete): New function.
5554 (frame-auto-delete): Resuscitate option.
5555 (bury-buffer, replace-buffer-in-windows)
5556 (quit-window): Rewrite using window--delete.
5557 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5558 Pass display-buffer-mark-dedicated to window--display-buffer-2
5559 (Bug#9639).
5560
3dc61a09
SM
55612011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5562
915a9b64
SM
5563 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5564 returns a list (bug#9554). Add remote file name completion.
5565 * comint.el (comint--table-subvert): Curry and get quote&unquote
5566 functions as arguments.
5567 (comint--complete-file-name-data): Adjust call accordingly.
5568 * pcomplete.el (pcomplete--table-subvert): Remove.
5569 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5570
3dc61a09
SM
5571 * minibuffer.el (completion-table-case-fold): Use currying.
5572 (completion--styles-type, completion--cycling-threshold-type):
5573 New constants.
5574 (completion-styles, completion-category-overrides)
5575 (completion-cycle-threshold): Use them.
5576 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5577 completion-table-case-fold.
5578
8ea0a993
SB
55792011-10-03 Stephen Berman <stephen.berman@gmx.net>
5580
5581 * minibuffer.el (completion-category-overrides): Fix type of styles
5582 and add more user friendly tags (bug#9660).
5583
8c24b7f6
SM
55842011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5587 (mule-input-method-string): New widget.
5588 (default-input-method, language-info-custom-alist): Use it.
5589
428fe61a
SM
55902011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5591
32c1fffd
SM
5592 * pcomplete.el: Require comint.
5593 (pcomplete--common-suffix): Remove.
5594 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5595 (pcomplete--table-subvert): Sync with comint--table-subvert.
5596 (pcomplete--entries): Use comint-completion-file-name-table.
5597 * comint.el (comint-unquote-filename): Simplify.
5598 (comint-completion-file-name-table): New function (bug#9616).
5599 (comint--complete-file-name-data): Use it.
5600
428fe61a
SM
5601 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5602 (pcmpl-gnu-tar-buffer): Remove.
5603 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5604 around. Make sure pcomplete-suffix-list is only changed temporarily.
5605 Don't look inside the tar's file if it's too large.
428fe61a 5606
04c52e2f
CY
56072011-10-01 Chong Yidong <cyd@stupidchicken.com>
5608
ce3cefcc
CY
5609 * cus-edit.el (custom-mode-map):
5610 * epa.el (epa-key-list-mode-map):
5611 * man.el (Man-mode-map):
5612 * startup.el (splash-screen-keymap):
5613 * simple.el (special-mode-map): Use scroll-up-command and
5614 scroll-down-command.
5615
5616 * progmodes/idlw-help.el (idlwave-help-mode-map):
5617 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5618 * net/newst-plainview.el (newsticker-mode-map):
5619 * emulation/ws-mode.el (wordstar-mode-map):
5620 * emulation/vi.el (vi-com-map):
5621 * calc/calc-graph.el (calc-graph-show-dumb):
5622 * term/sun.el (terminal-init-sun):
5623 * term/ns-win.el (global-map):
5624 * progmodes/grep.el (grep-mode-map):
5625 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5626 * mail/rmail.el (rmail-mode-map):
5627 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5628
04c52e2f
CY
5629 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5630 custom-safe-themes as special.
5631
79adf8c8
JD
56322011-10-01 Julien Danjou <julien@danjou.info>
5633
5634 * notifications.el (notifications-notify): Fix docstring.
5635
63bd50d3
PS
56362011-10-01 Per Starbäck <per@starback.se>
5637
5638 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5639
199e4c7e
MR
56402011-09-30 Martin Rudalics <rudalics@gmx.at>
5641
5642 * startup.el (command-line-1): Fix last fix by inserting
5643 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5644 (Bug#9605) and (Bug#9636)
199e4c7e 5645
fe5f08dd
EZ
56462011-09-29 Eli Zaretskii <eliz@gnu.org>
5647
5648 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5649 window is hscrolled, move by logical lines. (Bug#9607)
5650 (line-move-visual): Update the doc string to the above effect.
5651
b5516bbd
MR
56522011-09-29 Martin Rudalics <rudalics@gmx.at>
5653
ccee00c0
MR
5654 * window.el (display-buffer-record-window): When WINDOW is the
5655 selected window use `point' instead of `window-point'. (Bug#9626)
5656
b5516bbd
MR
5657 * startup.el (command-line-1): Use insert-before-markers when
5658 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5659
b5516bbd
MR
5660 * help.el (help-window): Remove variable.
5661
52aa0014
GM
56622011-09-29 Glenn Morris <rgm@gnu.org>
5663
5664 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5665
df9a7357
JB
56662011-09-29 Juanma Barranquero <lekktu@gmail.com>
5667
5668 * descr-text.el (describe-char-categories): Accept category
5669 descriptions more than one line long.
5670
a8406c20
SM
56712011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5672
88d9610c
SM
5673 * simple.el (delete-trailing-whitespace): Fix last change.
5674
a5daf810
SM
5675 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5676 Don't confuse "y => 3" as the beginning of a `y' operation.
5677
a8406c20
SM
5678 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5679 object has more than 4 slots (bug#9613).
5680
a239d4e9
JB
56812011-09-28 Juanma Barranquero <lekktu@gmail.com>
5682
5683 * subr.el (with-output-to-temp-buffer):
5684 * net/quickurl.el (quickurl, quickurl-browse-url):
5685 Fix typos in docstrings.
5686
693fbdb6
EZ
56872011-09-27 Eli Zaretskii <eliz@gnu.org>
5688
5689 * minibuffer.el (completion-styles)
5690 (completion-category-overrides): Cross reference each other in doc
5691 strings.
5692
8b457e28
GM
56932011-09-27 Glenn Morris <rgm@gnu.org>
5694
5695 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5696 to split-string. (Bug#9606)
5697
85a16208
LMI
56982011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5699
5700 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5701 (bug#9615).
5702
502f9ebd
CY
57032011-09-27 Chong Yidong <cyd@stupidchicken.com>
5704
5705 * emacs-lisp/package.el (list-packages): Fix echo area message.
5706
7690bdea
LL
57072011-09-27 Leo Liu <sdl.web@gmail.com>
5708
5709 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5710
e2ee6f30
MA
57112011-09-25 Michael Albinus <michael.albinus@gmx.de>
5712
5713 * net/dbus.el (dbus-unregister-object): Don't release services for
5714 registered signals. (Bug#9581)
5715
f3f98342
TZ
57162011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5717
5718 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5719 function that picks between cfengine 2 and 3 support
5720 automatically. Update docs accordingly.
5721
dd7aa8dd
KH
57222011-09-22 Kenichi Handa <handa@m17n.org>
5723
5724 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5725 ZERO.
5726 (indian-itrans-v5-table-for-tamil): New variable.
5727 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5728
3f2b07f8
KM
57292011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5730
5731 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5732 that's true if the current command involved collapsing of text.
5733 It's reset to false at the beginning of the next command.
5734 (allout-post-command-business): Move the cursor to the beginning
5735 of entry if the cursor is hidden and collapsing activity just
5736 happened.
5737
371d6a61
CY
57382011-09-24 Chong Yidong <cyd@stupidchicken.com>
5739
5740 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5741 tracking (Bug#9541).
5742
2ac2721a
UJ
57432011-09-24 Ulf Jasper <ulf.jasper@web.de>
5744
5745 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5746 (newsticker-show-news): Automatically load html rendering package
5747 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5748 because w3m-fill-column is let-bound" and the error "Symbol's value
5749 as variable is void: w3m-fill-column".
2ac2721a 5750
fac7ae53
MA
57512011-09-24 Michael Albinus <michael.albinus@gmx.de>
5752
5753 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5754 Release services only if they are defined. (Bug#9581)
5755
e08b633b
RS
57562011-09-23 Richard Stallman <rms@gnu.org>
5757
e488d29c
RS
5758 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5759 distinguish start of paragraph from start of its text.
5760
19c38752
RS
5761 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5762
e08b633b
RS
5763 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5764 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5765 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5766
0a39f27e
AS
57672011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5768
5769 * international/mule-diag.el (mule-diag): Insert a newline after
5770 each fontset description.
5771
db4e950d
SM
57722011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * simple.el (delete-trailing-whitespace):
5775 Document last change; simplify.
5776
eca3f3ea
PW
57772011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5778
d68e189a
PW
5779 * simple.el (delete-trailing-whitespace): Also delete
5780 extra newlines at the end of the buffer.
5781
eca3f3ea
PW
5782 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5783 (picture-newline): Use forward-line so as to ignore fields.
5784
01c157cc
SM
57852011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * subr.el (with-wrapper-hook): Fix edebug spec.
5788
022de23e
LMI
57892011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5790
5791 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5792 (bug#4538).
5793
91683089
MA
57942011-09-23 Michael Albinus <michael.albinus@gmx.de>
5795
eca3f3ea
PW
5796 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5797 Fix nasty bug using wrong cached values.
91683089 5798
5bdd6fa4
AM
57992011-09-23 Alan Mackenzie <acm@muc.de>
5800
5801 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5802
97adfb97
CY
58032011-09-23 Chong Yidong <cyd@stupidchicken.com>
5804
5805 * window.el (pop-to-buffer): Ensure right window is selected if we
5806 chose another frame.
5807
d4ef2b50
EZ
58082011-09-22 Eli Zaretskii <eliz@gnu.org>
5809
5810 * simple.el (what-cursor-position): Use get-char-property-change
5811 and next-single-char-property-change, to be able to show display
5812 properties that come from overlays as well as text properties.
5813
72258fe5
CY
58142011-09-22 Chong Yidong <cyd@stupidchicken.com>
5815
5816 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5817
5818 * cmuscheme.el (run-scheme, switch-to-scheme):
5819 * cus-edit.el (customize-group, custom-buffer-create)
5820 (customize-browse):
5821 * info.el (info):
5822 * shell.el (shell):
5823 * mail/sendmail.el (mail):
5824 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5825
8f098516
RS
58262011-09-22 Richard Stallman <rms@gnu.org>
5827
5828 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5829 move back only to line beg, don't move back over blank lines.
5830
e74f1bb6
MA
58312011-09-22 Michael Albinus <michael.albinus@gmx.de>
5832
5833 * files.el (copy-directory): Set directory attributes only in case
5834 they could be retrieved from the source directory. (Bug#9565)
5835
bfeef8b6
DK
58362011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5837
5838 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5839 (hs-find-block-beginning, hs-hide-level-recursive):
5840 Ignore strings as well as comments. (Bug#9502)
5841
7e423bb8
AS
58422011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5843
5844 * progmodes/sql.el (sql-comint-postgres):
5845 Convert port number to a string. (Bug#9566)
5846
b4d72fcf
MR
58472011-09-22 Martin Rudalics <rudalics@gmx.at>
5848
5849 * window.el (quit-window): Undedicate window when switching to
5850 previous buffer. Reported by Thierry Volpiatto
5851 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5852 (special-display-popup-frame): When popping up a new frame reset
5853 its previous buffers to nil. Simplify code.
b4d72fcf 5854
a7b88dc6
MA
58552011-09-21 Michael Albinus <michael.albinus@gmx.de>
5856
5857 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5858 and process filter, as done also in `shell-command'.
5859
cf4eacfd
MR
58602011-09-21 Martin Rudalics <rudalics@gmx.at>
5861
eca3f3ea 5862 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5863 Call set-window-start with NOFORCE argument t.
5864 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5865 (quit-window): Reword doc-string. Handle new format of
5866 quit-restore parameter. Don't delete window if it has a
5867 previous buffer we can show instead of the present one.
5868 (display-buffer-record-window): Rewrite using a new format for
5869 the quit-restore window parameter
5870 (special-display-popup-frame, display-buffer-same-window)
5871 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5872 (display-buffer-pop-up-window, display-buffer-use-some-window):
5873 Adapt symbol passed to display-buffer-record-window.
5874 * help.el (help-window-setup): Handle new format of quit-restore
5875 parameter.
5876
8d28cb95
SM
58772011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5878
94ab793f
SM
5879 * faces.el (face-list): Fix docstring (bug#9564).
5880
8d28cb95
SM
5881 * window.el (display-buffer--action-function-custom-type):
5882 Don't include internal functions in the Custom interface.
5883
3820edeb
JL
58842011-09-20 Juri Linkov <juri@jurta.org>
5885
5886 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5887 (Info-forward-node, Info-backward-node, Info-next-preorder)
5888 (Info-last-preorder): Use it. (Bug#9528)
5889
5147931d
JL
58902011-09-20 Juri Linkov <juri@jurta.org>
5891
5892 * info.el (Info-last-preorder): Visit last menu item only when
5893 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5894
cf499a1a
JD
58952011-09-20 Julien Danjou <julien@danjou.info>
5896
5897 * password-cache.el (password-cache-remove): Remove entries even if the
5898 value is nil, so that password with a nil value (negative caching) is
5899 possible to invalidate.
5900
f84e2fe2
LM
59012011-09-20 Lawrence Mitchell <wence@gmx.li>
5902
5903 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5904 all whitespace around breakpoint. (Bug#9553)
5905 (f90-find-breakpoint): Only break at whitespace inside a comment.
5906
78054a46
SM
59072011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * minibuffer.el (completion-file-name-table): Keep track of errors.
5910 (completion-table-with-predicate): Handle the case where pred1 is nil.
5911 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5912
345083b2
SM
59132011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5914
e24e27be
SM
5915 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5916 (debugger-return-value): Signal an error if the debugging context does
5917 not await any return value.
5918
345083b2
SM
5919 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5920 * image-mode.el (image-toggle-display-text)
5921 (image-toggle-display-image): Stay away from evil `intangible'.
5922
08d355e3
LL
59232011-09-19 Leo Liu <sdl.web@gmail.com>
5924
5925 * replace.el (occur-revert-arguments): Make it permanent-local.
5926 (occur-mode): Don't call font-lock-defontify.
5927
f01da43f
CY
59282011-09-19 Chong Yidong <cyd@stupidchicken.com>
5929
5930 * net/ldap.el (ldap-search-internal): Don't push empty search
5931 result (Bug#9508).
5932
b6072fa6
SM
59332011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5936
443d6696
MA
59372011-09-19 Michael Albinus <michael.albinus@gmx.de>
5938
5939 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5940 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5941
7cc6e154
JL
59422011-09-18 Juri Linkov <juri@jurta.org>
5943
5944 * buff-menu.el (Buffer-menu-mode-map):
5945 * dired.el (dired-mode-map):
5946 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5947 (lisp-interaction-mode-map):
5948 * emacs-lisp/package.el (package-menu-mode-map):
5949 * epa.el (epa-key-list-mode-map):
5950 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5951 (menu-bar-options-menu):
5952 * outline.el (outline-mode-menu-bar-map):
5953 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5954 * vc/vc-dir.el (vc-dir-menu-map):
5955 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5956 Capitalize non-function content words in menu item strings.
5957
5958 * dired.el (dired-mode-map): Add menu item for
5959 `image-dired-dired-toggle-marked-thumbs'.
5960
80302a81
JL
59612011-09-18 Juri Linkov <juri@jurta.org>
5962
5963 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5964 to `isearch-case-fold-search' and restore its original value
5965 after the `isearch-mode' call.
5966
46c5cf66
JL
59672011-09-18 Juri Linkov <juri@jurta.org>
5968
5969 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5970 because `zgrep' returns 1 for successful matches (bug#9226).
5971
d18b513b
JL
59722011-09-18 Juri Linkov <juri@jurta.org>
5973
5974 * info.el (Info-extract-menu-node-name): Check the second match
5975 for empty string (second test-case of bug#9528).
5976 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5977 intermediate nodes to the history (first test-case of bug#9528).
5978
72753f87
JL
59792011-09-18 Juri Linkov <juri@jurta.org>
5980
5981 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5982 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5983
c9384295
JL
59842011-09-18 Juri Linkov <juri@jurta.org>
5985
1154d12e
JB
5986 * info.el (Info-file-supports-index-cookies):
5987 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5988 outputs one more line for long file names (bug#4142).
c9384295 5989
d473dce8
CY
59902011-09-18 Chong Yidong <cyd@stupidchicken.com>
5991
5992 * newcomment.el (comment-normalize-vars): If prompting for
5993 comment-start, set comment-start-skip too (Bug#8424).
5994
2176854d
JB
59952011-09-18 Johan Bockgård <bojohan@gnu.org>
5996
5997 * icomplete.el: Fix previous fix of Bug#5849.
5998 (icomplete-mode): Don't set completion-show-inline-help.
5999 (icomplete-minibuffer-setup): Set completion-show-inline-help
6000 locally during icompletion.
6001
3aace4e4
CY
60022011-09-18 Chong Yidong <cyd@stupidchicken.com>
6003
c940224f
CY
6004 * woman.el (woman2-process-escapes): Don't delete unrecognized
6005 escapes (Bug#7843).
6006
3aace4e4
CY
6007 * files.el (inhibit-first-line-modes-regexps): Add image files.
6008 (hack-local-variables-prop-line): Return nil for malformed
6009 prop-lines (Bug#9044).
6010
710dec63
MA
60112011-09-18 Michael Albinus <michael.albinus@gmx.de>
6012
6013 * net/tramp.el (top): Don't require 'shell.
6014 (tramp-methods): Fix docstring.
6015 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6016 Return complete remote file name. Handle "smb" case.
6017 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6018 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6019
6020 * net/tramp-compat.el (top): Require 'shell.
6021
6022 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6023 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6024 `tramp-current-host'.
6025 (tramp-get-remote-tmpdir): Remove.
6026
6027 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6028 `tramp-tmpdir' entries.
6029 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6030 (tramp-smb-handle-file-attributes): Ignore errors.
6031 (tramp-smb-wait-for-output): Check also for process end.
6032
5d5ac8ec
LMI
60332011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6034
6035 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6036 when sending QUIT (bug#9312).
6037
8c0f49f0
CY
60382011-09-17 Chong Yidong <cyd@stupidchicken.com>
6039
6040 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6041 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6042 occur-mode-display-occurrence.
6043 (occur-edit-mode): Add usage message.
6044 (occur-cease-edit): New command.
6045 (occur-after-change-function): Use text properties to find the
6046 position of the prefix text.
6047 (occur-engine): Set stickiness of prefix text properties.
6048
8f1383f7
GM
60492011-09-17 Glenn Morris <rgm@gnu.org>
6050
6051 * progmodes/etags.el (complete-tag):
6052 Fix call to completion-in-region. (Bug#9526)
6053
744ba0e3
JL
60542011-09-17 Juri Linkov <juri@jurta.org>
6055
6056 * textmodes/ispell.el (ispell-word): Add to the error message
6057 the word, ispell program name and current dictionary (bug#9121).
6058 (ispell-tex-arg-end): Capitalize "error" in the error message.
6059
d9bbf400
AS
60602011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6061
6062 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6063 check. (Bug#4251)
6064
8da11505
JL
60652011-09-17 Juri Linkov <juri@jurta.org>
6066
6067 * window.el (window-safe-min-height, window-safe-min-width):
6068 Fix typos (followup to bug#9522).
6069
a91adc7e
SJ
60702011-09-17 Sven Joachim <svenjoac@gmx.de>
6071
6072 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6073
064f328a
EZ
60742011-09-16 Eli Zaretskii <eliz@gnu.org>
6075
6076 * simple.el (line-move): If goal-column is set, move by logical
6077 lines, not by display lines. (Bug#971)
6078 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6079 to reflect the above change.
6080
e69df516
SM
60812011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * image.el (imagemagick-register-types): Use regexp-opt.
6084
cbb0f9ab
CY
60852011-09-15 Chong Yidong <cyd@stupidchicken.com>
6086
6087 * window.el (display-buffer-base-action): Rename from
6088 display-buffer-default-action. Make default value empty.
6089 (display-buffer-overriding-action): Convert to defvar.
6090 (display-buffer-fallback-action): New var.
6091
25322144
CY
60922011-09-15 Chong Yidong <cyd@stupidchicken.com>
6093
6094 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6095 declaration.
6096 (package--add-to-archive-contents): If there is a duplicate entry
6097 with an older version, remove it.
6098 (package-menu-mark-delete, package-menu-mark-install)
6099 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6100 (package-menu-mark-obsolete-for-deletion):
6101 Use package-menu-get-status instead of a regexp search.
25322144
CY
6102 (package-menu-get-status): Use tabulated-list-entry.
6103 (package-menu-mark-upgrades): New command.
d770725a 6104 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6105 (package-menu-execute): Do installation before deletion.
6106 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6107 instead of checking major-mode.
6108 (package-menu--find-upgrades): New function.
6109
7520339c
LMI
61102011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6111
6112 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6113 passwords in the log buffer.
65a046c4
LMI
6114 (smtpmail-process-filter): Update the process marker so that the
6115 "broken by peer" status message is inserted in the right place.
7520339c 6116
d3c30954
SM
61172011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6118
3fe48822
SM
6119 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6120 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6121 bibtex-completion-at-point-function.
6122 (bibtex-completion-at-point-function): Use them.
6123
1b8b3954
SM
6124 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6125
d3c30954
SM
6126 * mpc.el (mpc-constraints-tag-lookup): New function.
6127 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6128 also to browser "album|playlist".
6129
72779976
JL
61302011-09-14 Juri Linkov <juri@jurta.org>
6131
6132 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6133 (isearch-edit-string): Use length of `isearch-string' when
6134 `isearch-fail-pos' returns nil.
6135 (isearch-message): Remove duplicate code and call
6136 `isearch-fail-pos' with arg `t'.
6137
a0bf2bcd
CY
61382011-09-14 Chong Yidong <cyd@stupidchicken.com>
6139
17bb0a2d
CY
6140 * replace.el (occur-mode-goto-occurrence): Don't force using other
6141 window (Bug#9499).
6142
a0bf2bcd
CY
6143 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6144
f678e0b6
MR
61452011-09-14 Martin Rudalics <rudalics@gmx.at>
6146
6147 * window.el (display-buffer-window): Remove.
6148 (display-buffer-record-window): Use help-setup window parameter
6149 instead of variable display-buffer-window.
6150 (display-buffer-function, special-display-buffer-names)
6151 (special-display-function): Mention help-setup parameter instead
6152 of display-buffer-window in doc-string.
d3c30954
SM
6153 * help.el (help-window-setup): New argument help-window.
6154 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6155 Reword some messages.
6156 (with-help-window): Pass window used for displaying the buffer
6157 to help-window-setup. Don't set display-buffer-window.
6158
8e39b2e8
GM
61592011-09-13 Glenn Morris <rgm@gnu.org>
6160
6161 * emacs-lisp/debug.el (debugger-make-xrefs):
6162 Preserve point. (Bug#9462)
6163
85e9c04b
CY
61642011-09-13 Chong Yidong <cyd@stupidchicken.com>
6165
6166 * window.el (window-deletable-p): Use next-frame.
6167
1b36ed6a
MR
61682011-09-13 Martin Rudalics <rudalics@gmx.at>
6169
6170 * window.el (window-auto-delete): Remove.
6171 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6172 dedication and previous buffers.
1b36ed6a
MR
6173 (switch-to-prev-buffer): Don't delete window.
6174 (delete-windows-on): Delete a window's frame if and only if the
6175 window is dedicated.
6176 (replace-buffer-in-windows): Delete buffer's window or frame if
6177 and only if window is dedicated.
6178 (quit-window): Handle quit-restore as before last change.
4d61f28d 6179 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6180
ef8ef9fb
CY
61812011-09-13 Chong Yidong <cyd@stupidchicken.com>
6182
6183 * window.el (window-deletable-p): Never delete the last frame on a
6184 given terminal.
6185
b2cba41e
GM
61862011-09-13 Glenn Morris <rgm@gnu.org>
6187
6188 * help.el (describe-key-briefly): Copy previous standard-output change.
6189
51553db6 61902011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6191
6192 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6193
b7556719
GM
61942011-09-13 Glenn Morris <rgm@gnu.org>
6195
6196 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6197 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6198
64b51947
CY
61992011-09-12 Chong Yidong <cyd@stupidchicken.com>
6200
6201 * dired-aux.el (dired-mark-read-string): Don't return default
6202 value on empty input (Bug#9361).
6203 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6204 Omit initial minibuffer contents.
6205 (dired-do-chmod): Signal an error on empty input.
6206 (dired-mark-read-string): Don't return default on empty input.
6207
6208 * files.el (file-modes-symbolic-to-number): Doc fix.
6209
393a301e
SM
62102011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * international/mule-cmds.el (ucs-completions): Remove.
6213 (read-char-by-name): Use complete-with-action instead; add metadata.
6214
fa5660f9
CY
62152011-09-11 Chong Yidong <cyd@stupidchicken.com>
6216
6217 * window.el (display-buffer--action-function-custom-type)
6218 (display-buffer--action-custom-type): New vars.
6219 (display-buffer-alist, display-buffer-default-action)
6220 (display-buffer-overriding-action): Add defcustom types.
6221
4a592f66
CY
6222 * frame.el (delete-other-frames): Doc fix (Bug#276).
6223
73d56dbd
LMI
62242011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6225
6226 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6227
37ac18a3
CY
62282011-09-11 Chong Yidong <cyd@stupidchicken.com>
6229
6230 Change modes that used same-window-* vars to use switch-to-buffer.
6231
6232 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6233 Use switch-to-buffer.
6234
6235 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6236 (customize-browse, custom-buffer-create-other-window):
6237 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6238
6239 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6240 (Info-prev, Info-up, Info-speedbar-goto-node)
6241 (info-display-manual): Use switch-to-buffer.
6242 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6243
6244 * mail/sendmail.el (mail): Use switch-to-buffer.
6245 (mail-recover): Use switch-to-buffer-other-window.
6246
6247 * cmuscheme.el (run-scheme, switch-to-scheme):
6248 * ielm.el (ielm):
6249 * shell.el (shell):
6250 * net/rlogin.el (rlogin):
6251 * net/telnet.el (telnet, rsh):
6252 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6253
10195bd6
AS
62542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6255
6256 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6257
b322f63a
LMI
62582011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6259
39d7fed6
LMI
6260 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6261 so don't mention it (bug#9301).
ba5a81f1 6262 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6263
ee0e9f11
LMI
6264 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6265 match `x', `w32' and `ns', like the manual says (bug#9029).
6266
0b1c89c1 6267 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6268 (process-kill-buffer-query-function): Mention the buffer name in
6269 the query.
0b1c89c1 6270
77549ea8
LMI
6271 * image-mode.el (image-next-line): The line parameter is mandatory
6272 (bug#9258).
6273
803ef892
LMI
6274 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6275 which can be useful (bug#9301).
6276
12980837
LMI
6277 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6278
91054f8f
LMI
6279 * subr.el (match-string): Mention that the current buffer should
6280 be the same as the search was done in (bug#9282).
6281
b322f63a
LMI
6282 * facemenu.el: Disable the remove-* commands if the mark isn't
6283 active (bug#9162).
6284
3199b96f
CY
62852011-09-10 Chong Yidong <cyd@stupidchicken.com>
6286
6287 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6288 of display-buffer.
6289 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6290
6291 * replace.el (occur-mode-goto-occurrence)
6292 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6293 and display-buffer.
6294
6295 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6296 display-buffer.
6297
6298 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6299 special-display and same-window variables.
6300 (mail-other-window): Use switch-to-buffer-other-window.
6301 (mail-other-frame): USe switch-to-buffer-other-frame.
6302
393a301e
SM
6303 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6304 Use display-buffer-other-frame.
3199b96f
CY
6305 (gdb-display-gdb-buffer): Use pop-to-buffer.
6306
6307 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6308
6309 * progmodes/python.el: Don't set same-window-buffer-names.
6310
6311 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6312
6313 * window.el (display-buffer-alist): Add *Python*.
6314
8319e0bf
CY
63152011-09-10 Chong Yidong <cyd@stupidchicken.com>
6316
6317 * window.el (display-buffer-alist): Add entry for buffers
6318 previously handled same-window-*.
6319 (display-buffer-alist, display-buffer-default-action)
6320 (display-buffer-overriding-action): Mark as risky.
6321 (display-buffer-alist): Document action function changes.
6322 (display-buffer--same-window-action)
6323 (display-buffer--other-frame-action): New variables.
6324 (switch-to-buffer, display-buffer-other-frame): Use them.
6325 (display-buffer): Rename reuse-frame entry to reusable-frames.
6326 (display-buffer-reuse-selected-window): Function deleted.
6327 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6328 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6329 (display-buffer-special): New function.
6330 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6331 display-buffer-reuse-or-pop-window. Split off special-display
6332 part into display-buffer-special.
6333 (display-buffer-use-some-window): Don't perform any special
6334 pop-up-frames handling.
6335 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6336 (display-buffer--maybe-same-window): Rename from
0d3ff375 6337 display-buffer-maybe-same-window.
8319e0bf 6338
919a69aa
CY
6339 * info.el: Don't set same-window-regexps.
6340 (info-setup): New function.
6341 (info-other-window, info): Call it.
6342
6343 * cus-edit.el: Don't set same-window-regexps.
6344 (customize-group): New argument.
6345 (customize-group-other-window): Use it.
6346 (customize-face, customize-face-other-window): Likewise.
6347 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6348
8319e0bf
CY
6349 * net/rlogin.el:
6350 * net/telnet.el:
6351 * progmodes/gud.el: Don't set same-window-regexps.
6352
6353 * cmuscheme.el:
6354 * ielm.el:
6355 * shell.el:
6356 * mail/sendmail.el:
6357 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6358
25173000
JL
63592011-09-10 Juri Linkov <juri@jurta.org>
6360
6361 * isearch.el (isearch-edit-string): Remove obsolete mention of
6362 `C-w' (`isearch-yank-word-or-char') from docstring.
6363 (isearch-query-replace): Fix typo in docstring (bug#9466).
6364
056e44ef
JL
63652011-09-10 Juri Linkov <juri@jurta.org>
6366
6367 * paren.el (show-paren-function): Don't show escaped parens.
6368 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6369
c3760c17
EZ
63702011-09-10 Eli Zaretskii <eliz@gnu.org>
6371
6372 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6373 (mm-default-file-encoding): Remove autoload forms, they are
6374 replaced with autoload cookies in mml.el and mm-encode.el.
6375 (mail-add-attachment): New command.
6376 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6377 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6378 the doc string.
6379 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6380
fece895e
RT
63812011-09-10 Reuben Thomas <rrt@sc3d.org>
6382
e69df516
SM
6383 * simple.el (count-words-region): Use buffer if there's no region
6384 (bug#9429).
fece895e 6385
5e68ce4a
JL
63862011-09-09 Juri Linkov <juri@jurta.org>
6387
6388 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6389 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6390 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6391
0a6b9622
AM
63922011-09-09 Alan Mackenzie <acm@muc.de>
6393
6394 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6395 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6396
14a29deb
EZ
63972011-09-09 Eli Zaretskii <eliz@gnu.org>
6398
6399 Fix for Savannah bug#9392.
6400 * simple.el (mail-encode-mml): New defvar.
6401
6402 * mail/rmail.el (mail-encode-mml): Add a defvar.
6403 (rmail-enable-mime-composing): Default to t.
6404 (rmail-forward): Use MIME method of forwarding only if both
6405 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6406 Set mail-encode-mml non-nil if the MIME method was used.
6407
6408 * mail/sendmail.el (mml-to-mime): Add autoload form.
6409 (mail-encode-mml): Add a defvar.
6410 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6411 to nil.
6412 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6413 message through mml-to-mime, and reset mail-encode-mml to nil.
6414
28c45130
GM
64152011-09-09 Glenn Morris <rgm@gnu.org>
6416
6417 * woman.el (woman-if-body): When processing an .el block,
6418 do not delete the next .el block as well. (Bug#9447)
69f4b618 6419 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6420
9b1c252e
MR
64212011-09-08 Martin Rudalics <rudalics@gmx.at>
6422
6423 * window.el (window-deletable-p): Make sure window is live before
6424 invoking window-prev-buffers.
6425
567457e3
LL
64262011-09-08 Leo Liu <sdl.web@gmail.com>
6427
6428 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6429
97f05794
JL
64302011-09-08 Juri Linkov <juri@jurta.org>
6431
6432 * progmodes/compile.el (compilation-environment): Make it
6433 a defcustom (bug#8340).
6434
8b0874b5
MR
64352011-09-08 Martin Rudalics <rudalics@gmx.at>
6436
6437 * window.el (frame-auto-delete): Rename to window-auto-delete.
6438 Make it control auto-deletion of windows and/or frames.
6439 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6440 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6441 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6442 Rewrite handling of case when window/frame can be deleted.
6443 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6444 argument t. (Bug#9456)
8b0874b5 6445
4feb6e73
CY
64462011-09-07 Chong Yidong <cyd@stupidchicken.com>
6447
6448 * help-mode.el (help-mode): Restore autoload.
6449
91ab9c13
JL
64502011-09-07 Juri Linkov <juri@jurta.org>
6451
6452 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6453 `compilation-environment'. Set buffer-local
6454 `compilation-environment' to `thisenv' later after (funcall mode).
6455 (Bug#8340)
6456
6457 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6458 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6459 instead of replacing its value. (Bug#8340)
6460
0527e251
JL
64612011-09-07 Juri Linkov <juri@jurta.org>
6462
6463 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6464 based on text properties put by `grep-filter' instead of matching
6465 escape sequences.
6466 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6467 to the value of `grep-error-screen-columns' (bug#9438).
6468
249f792c
JL
64692011-09-07 Juri Linkov <juri@jurta.org>
6470
6471 * simple.el (next-error-highlight, next-error-highlight-no-select):
6472 Doc fix (bug#9432).
6473
ff7271b9
OT
64742011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6475
6476 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6477 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6478
183fc730
LL
64792011-09-07 Leo Liu <sdl.web@gmail.com>
6480
6481 * net/rcirc.el (rcirc-mode): Conditionally initialize
6482 rcirc-input-ring.
6483
77694924
SM
64842011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * emacs-lisp/find-func.el (find-function-C-source): Only set
6487 find-function-C-source-directory after checking that we found a source
6488 file there (bug#9440).
6489
d809b8eb
AM
64902011-09-06 Alan Mackenzie <acm@muc.de>
6491
6492 * isearch.el (isearch-other-meta-char): Wherever a key list is
6493 unread, "unread" the prefix arg, too. This fixes bug #8901.
6494
453de99f
OG
64952011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6496
6497 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6498
90439906
JL
64992011-09-05 Juri Linkov <juri@jurta.org>
6500
6501 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6502
f62bd846
JL
65032011-09-05 Juri Linkov <juri@jurta.org>
6504
6505 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6506 keeping point where processing of grep matches begins, and
6507 continue to delete remaining escape sequences from the same point.
6508 (grep-filter): Make leading zero optional in "0?1;31m" because
6509 git-grep emits "\033[1;31m" escape sequences unlike expected
6510 "\033[01;31m" as GNU Grep does (bug#9408).
6511 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6512
045820ec
JL
65132011-09-05 Juri Linkov <juri@jurta.org>
6514
6515 * subr.el (y-or-n-p): Capitalize "yes".
6516
f5e29b9b
MA
65172011-09-04 Michael Albinus <michael.albinus@gmx.de>
6518
6519 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6520 `tramp-cache-unload-hook' where appropriate.
6521 (tramp-methods): Rename `tramp-remote-sh' to
6522 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6523 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6524
6525 * net/tramp-sh.el (top): Don't require 'shell.
6526 (tramp-methods): Add `tramp-remote-shell' and
6527 `tramp-remote-shell-args' entries.
6528 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6529 (tramp-sh-handle-shell-command): Remove.
6530 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6531 Use `tramp-remote-shell'.
6532
2784c434
CY
65332011-09-03 Chong Yidong <cyd@stupidchicken.com>
6534
393a301e 6535 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6536 (sendmail-query-once): Save directly to send-mail-function.
6537 Update message-send-mail-function too.
6538
6539 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6540
464cdf56
CS
65412011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6542
6543 * progmodes/python.el (python-mode-map): Use correct function to
6544 start python interpreter from menu-bar (as reported by Geert
6545 Kloosterman).
6546 (inferior-python-mode-map): Fix typo.
393a301e 6547 (python-shell-map): Remove.
464cdf56 6548
d37e5c87
DD
65492011-09-03 Deniz Dogan <deniz@dogan.se>
6550
6551 * net/rcirc.el (rcirc-print): Simplify code for
6552 rcirc-scroll-show-maximum-output. There is no need to walk
6553 through all windows to find the right one.
6554
f3ada0ee
CS
65552011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6556
6557 * help.el (help-return-method): Doc fix.
6558
1f3c99ca
MR
65592011-09-03 Martin Rudalics <rudalics@gmx.at>
6560
6561 * window.el (window-deletable-p): Don't return a non-nil value
6562 when there's a buffer that was shown in the window before.
6563 (Bug#9419)
393a301e
SM
6564 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6565 Set window's previous buffers to nil.
1f3c99ca 6566
a3cf097f
EZ
65672011-09-03 Eli Zaretskii <eliz@gnu.org>
6568
6569 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6570 newline before and after the tag line, so it doesn't interfere
6571 with determining the paragraph direction of bidirectional text.
6572
3d03de90
LL
65732011-09-03 Leo Liu <sdl.web@gmail.com>
6574
6575 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6576
c3313451
CY
65772011-09-02 Chong Yidong <cyd@stupidchicken.com>
6578
393a301e 6579 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6580 (pop-to-buffer): Change interactive spec. Pass second argument
6581 directly to display-buffer.
6582 (display-buffer): Fix interactive spec. Use functionp to
6583 distinguish between a function and a list of functions.
6584
6585 * abbrev.el (edit-abbrevs):
6586 * arc-mode.el (archive-extract):
6587 * autoinsert.el (auto-insert):
6588 * bookmark.el (bookmark-bmenu-list):
6589 * files.el (find-file):
6590 * view.el (view-buffer):
6591 * progmodes/compile.el (compilation-goto-locus):
6592 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6593
89894cd8
CY
65942011-09-02 Chong Yidong <cyd@stupidchicken.com>
6595
6596 * window.el (display-buffer-alist): Doc fix.
6597 (display-buffer): Add docstring. Don't treat
6598 display-buffer-default specially.
6599 (display-buffer-reuse-selected-window)
6600 (display-buffer-same-window, display-buffer-maybe-same-window)
6601 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6602 (display-buffer-pop-up-window)
6603 (display-buffer-reuse-or-pop-window)
6604 (display-buffer-use-some-window): New functions.
6605 (display-buffer-default-action): Use them.
393a301e 6606 (display-buffer-default): Delete.
89894cd8
CY
6607 (pop-to-buffer-1): Fix choice of actions.
6608
ae0bc9fb
SM
66092011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * minibuffer.el (completion--insert-strings): Don't get confused by
6612 completion entries that end with an LF char.
6613
e9d90883
EZ
66142011-09-01 Eli Zaretskii <eliz@gnu.org>
6615
6616 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6617
437014c8
CY
66182011-09-01 Chong Yidong <cyd@stupidchicken.com>
6619
6620 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6621 (display-buffer-same-window, display-buffer-other-window):
6622 New functions.
437014c8
CY
6623 (pop-to-buffer-1): New function. Use the above.
6624 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6625 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6626
6627 * view.el (view-buffer-other-window, view-buffer-other-frame):
6628 Just use pop-to-buffer.
6629
a5e063d5
TV
66302011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6631
6632 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6633
793d32bb
WH
66342011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6635
6636 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6637
d65e4c15
RS
66382011-08-31 Richard Stallman <rms@gnu.org>
6639
6640 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6641 of the separation of rmail-view-buffer from rmail-buffer.
6642 If you say no to "replace original", the decrypt is in the
6643 view buffer. If you say yes, the decrypt goes into the
6644 rmail buffer also.
6645
f818cd2a
MR
66462011-08-31 Martin Rudalics <rudalics@gmx.at>
6647
6648 * window.el (display-buffer-window): Rewrite doc-string.
6649 (display-buffer-record-window): New function.
6650 (display-buffer-macro-specifiers)
6651 (display-buffer-even-window-sizes, display-buffer-set-height)
6652 (display-buffer-set-width, display-buffer-in-window)
6653 (display-buffer-reuse-window, display-buffer-split-specifiers)
6654 (display-buffer-side-specifiers, display-buffer-split-window-1)
6655 (display-buffer-split-window, display-buffer-split-atom-window)
6656 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6657 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6658 (display-buffer-other-window-means-other-frame)
6659 (display-buffer-normalize-special)
6660 (display-buffer-normalize-default)
6661 (display-buffer-normalize-argument)
6662 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6663 (display-buffer-normalize-specifiers, display-buffer-frame)
6664 (display-buffer-same-window, display-buffer-same-frame)
6665 (display-buffer-other-window)
6666 (display-buffer-same-frame-other-window)
6667 (display-buffer-other-frame, pop-to-buffer-same-window)
6668 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6669 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6670 (switch-to-buffer-same-frame)
6671 (switch-to-buffer-other-window-same-frame)
6672 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6673 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6674 (display-buffer-alist-set): Remove.
6675 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6676 (special-display-regexps, special-display-function):
6677 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6678 parameter.
6679 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6680 (special-display-frame-alist, special-display-popup-frame)
6681 (same-window-buffer-names, same-window-regexps, same-window-p)
6682 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6683 (split-window-preferred-function, split-height-threshold)
6684 (split-width-threshold, window-splittable-p)
6685 (split-window-sensibly, window--try-to-split-window)
6686 (window--frame-usable-p, even-window-heights)
6687 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6688 (window--display-buffer-2, display-buffer-other-frame):
6689 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6690 (display-buffer-default, display-buffer-assq-regexp): New functions.
6691 (display-buffer-alist): Rewrite doc-string.
6692 (display-buffer-default-action)
6693 (display-buffer-overriding-action): New variables.
6694 (display-buffer, switch-to-buffer): Rewrite.
6695 (pop-to-buffer): Restore Emacs 23 behavior but use
6696 window-normalize-buffer-to-display.
6697 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6698 Restore Emacs 23 behavior but use
6699 window-normalize-buffer-to-switch-to.
6700 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6701 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6702 Rewrite using Emacs 23 options.
f818cd2a 6703
5bc3b51d
MA
67042011-08-31 Michael Albinus <michael.albinus@gmx.de>
6705
6706 * net/tramp.el (tramp-root-regexp): Remove.
6707 (tramp-completion-file-name-regexp-unified)
6708 (tramp-completion-file-name-regexp-separate)
6709 (tramp-completion-file-name-regexp-url): Don't use leading volume
6710 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6711 (tramp-drop-volume-letter): Simplify definition.
6712 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6713
b1a4f8e1
SM
67142011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6717 (bug#9356).
6718
5664fa7b
RT
67192011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6720
b1a4f8e1 6721 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6722
9a45d6c3
JL
67232011-08-29 Juri Linkov <juri@jurta.org>
6724
6725 * isearch.el (isearch-done): Don't display message "Mark saved"
6726 when arg `edit' is non-nil to prevent its flicker in the echo area.
6727
fb87e0fb
CY
67282011-08-28 Chong Yidong <cyd@stupidchicken.com>
6729
6730 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6731 obsolete packages for deletion.
6732
09ac1c2a
CS
67332011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6734
6735 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6736 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6737 view-mode from help-mode.
6738 (help-xref-override-view-map): Remove.
6739 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6740 view-mode is not used anymore.
6741
7a1ff57f
CY
67422011-08-28 Chong Yidong <cyd@stupidchicken.com>
6743
6744 * server.el (server-port): Doc fix.
6745
b9696605
CY
6746 * cus-theme.el (custom-theme-choose-mode): Inherit from
6747 special-mode (Bug#9124).
6748 (custom-theme-choose-mode-map): Add special-mode to parent.
6749
ef8cdf8c
AM
67502011-08-28 Alan Mackenzie <acm@muc.de>
6751
6752 * progmodes/cc-fonts.el
6753 (c-make-font-lock-BO-decl-search-function): New function.
6754 (c-basic-matchers-after - "Fontify the clauses after various
6755 keywords"): Extract the three keyword lists for the 3 erroneous
6756 constructs from the list of four, and use the new function above
6757 in place of an old one.
6758
27de4e20
DD
67592011-08-28 Deniz Dogan <deniz@dogan.se>
6760
6761 * net/rcirc.el (rcirc-insert-prev-input)
6762 (rcirc-insert-next-input): Remove unused argument.
6763
356a3681
SM
67642011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6767
3fc9b218
AM
67682011-08-27 Alan Mackenzie <acm@muc.de>
6769
6770 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6771 handle function pointer parameters properly.
6772
538a061c
MR
67732011-08-27 Martin Rudalics <rudalics@gmx.at>
6774
6775 * window.el (display-buffer-reuse-window): Fix case where
6776 selected window was reused with non-nil OTHER-WINDOW argument.
6777 (Bug#9381)
6778
35b1c40c
DD
67792011-08-27 Deniz Dogan <deniz@dogan.se>
6780
6781 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6782 oftc's NickServ messages.
6783
2f6a3e79
GM
67842011-08-27 Glenn Morris <rgm@gnu.org>
6785
6786 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6787
7254299e
CY
67882011-08-26 Chong Yidong <cyd@stupidchicken.com>
6789
6790 * emacs-lisp/package.el (package-install): Call package-initialize
6791 if called interactively.
6792
f8ccf167
LL
67932011-08-26 Leo Liu <sdl.web@gmail.com>
6794
6795 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6796
3e8cd5ce
JL
67972011-08-25 Juri Linkov <juri@jurta.org>
6798
6799 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6800 `search-whitespace-regexp' (bug#9364).
6801
93eb7113
JL
68022011-08-25 Juri Linkov <juri@jurta.org>
6803
6804 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6805 `regexp-search-ring' to their global values to protect from
6806 updating by `read-from-minibuffer' (bug#9185).
6807
f65d1611
JL
68082011-08-25 Juri Linkov <juri@jurta.org>
6809
6810 * textmodes/ispell.el (ispell-command-loop): Add newline
6811 at the end of the "Use option `i'..." line.
6812
f1cf7a31
JL
68132011-08-25 Juri Linkov <juri@jurta.org>
6814
6815 * battery.el (display-battery-mode): If `battery-status-function'
6816 or `battery-mode-line-format' is nil, display the message and set
6817 `display-battery-mode' to nil (bug#9363).
6818
0c95fcf7
EZ
68192011-08-25 Eli Zaretskii <eliz@gnu.org>
6820
6821 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6822 bidi-string-mark-left-to-right; they are unnecessary now.
6823
a2ebe600
DD
68242011-08-25 Deniz Dogan <deniz@dogan.se>
6825
6826 * net/quickurl.el: Documentation typo fixes.
6827
e4ed06f1
CY
68282011-08-25 Chong Yidong <cyd@stupidchicken.com>
6829
6830 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6831
e5f1c99e
GM
68322011-08-25 Glenn Morris <rgm@gnu.org>
6833
b2948976
GM
6834 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6835
e5f1c99e
GM
6836 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6837 (smtpmail-via-smtp): Handle nil response from smtp.
6838
f22f4808
JL
68392011-08-24 Juri Linkov <juri@jurta.org>
6840
6841 * proced.el (proced-marked): Inherit from `error' instead of
6842 `font-lock-warning-face'.
6843
6844 * ibuffer.el (ibuffer-marked-face): Change default face from
6845 `font-lock-warning-face' to `warning'.
6846 (ibuffer-deletion-face): Change default face from
6847 `font-lock-type-face' to `error'.
6848
6849 * battery.el (battery-update): Use the face `error' instead of
6850 `font-lock-warning-face' (bug#6117).
6851
6a93965e
JL
68522011-08-24 Juri Linkov <juri@jurta.org>
6853
6854 * faces.el (success): Change face color from "Green3" to
6855 "ForestGreen" on light background (bug#9353).
6856
1ed43b09
CY
68572011-08-24 Chong Yidong <cyd@stupidchicken.com>
6858
5664fa7b
RT
6859 * window.el (quit-window): Rename from quit-restore-window.
6860 Use same arglist as old quit-window.
1ed43b09
CY
6861 (frame-auto-delete): Doc fix.
6862
6863 * view.el (view-mode-exit): Use quit-window.
6864
11dcdbb2
JL
68652011-08-24 Juri Linkov <juri@jurta.org>
6866
6867 * isearch.el (isearch-ring-adjust1): Start visiting previous
6868 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6869 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6870 for empty search string (when the last search string is reused
6871 automatically) to adjust the isearch ring to the last element and
6872 prepare the correct index for further M-p commands (bug#9185).
6873
de62b4df
KH
68742011-08-24 Kenichi Handa <handa@m17n.org>
6875
6876 * international/ucs-normalize.el: If decomposition property of
6877 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6878 nil.
6879 (nfd, nfkd): Likewise.
6880
963b492b
SM
68812011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6884 from process filters aren't reliably transmitted to the surrounding
6885 accept-process-output.
6886 (mpc-proc-check): New function.
6887 (mpc-proc-sync): Use it (bug#8293)
6888
93b6b5e1
SM
68892011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6892 Add compatibility functions (bug#9313).
6893
bca633fb
EZ
68942011-08-23 Eli Zaretskii <eliz@gnu.org>
6895
b177498a
EZ
6896 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6897
6df6ae42 6898 * international/uni-bidi.el: Regenerate.
bca633fb 6899
0902a04e
KH
69002011-08-23 Kenichi Handa <handa@m17n.org>
6901
6902 * international/charprop.el:
6903 * international/uni-bidi.el:
6904 * international/uni-category.el:
6905 * international/uni-combining.el:
6906 * international/uni-comment.el:
6907 * international/uni-decimal.el:
6908 * international/uni-decomposition.el:
6909 * international/uni-digit.el:
6910 * international/uni-lowercase.el:
6911 * international/uni-mirrored.el:
6912 * international/uni-name.el:
6913 * international/uni-numeric.el:
6914 * international/uni-old-name.el:
6915 * international/uni-titlecase.el:
6916 * international/uni-uppercase.el: Regenerate.
6917
3bbf23bc
MR
69182011-08-23 Martin Rudalics <rudalics@gmx.at>
6919
6920 * help.el (help-window-setup): Fix message displayed when other
6921 window is reused. (Bug#9341)
6922
b3fd59bd
SM
69232011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6924
1802e444
SM
6925 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6926 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6927
b3fd59bd
SM
6928 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6929 Mark obsolete.
6930 * shell.el (shell-parse-pcomplete-arguments): New function.
6931 (shell-completion-vars): Use it instead (bug#9160).
6932
4eb61348
SM
69332011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6934
867cab74
SM
6935 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6936 strings and comments (bug#9333).
6937
4eb61348
SM
6938 * emacs-lisp/debug.el (debug-arglist): New function.
6939 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6940 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6941
262a1439
JL
69422011-08-22 Juri Linkov <juri@jurta.org>
6943
56ee679c
JL
6944 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6945 Revert regexp that highlights output switches to its old
6946 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6947
262a1439
JL
6948 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6949 to check for empty output (bug#9226).
6950
f13f86fb
CY
69512011-08-22 Chong Yidong <cyd@stupidchicken.com>
6952
6953 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6954 symbol-constituent as the default, as that stops font-lock from
6955 working properly (Bug#8843).
6956
c65c9622
LMI
69572011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6958
6959 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6960 `coding-system-for-*' around the process open call to avoid
6961 auth-source side effects.
e7f2c178 6962 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6963 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6964 probe hangs.
c65c9622 6965
23a8a5ab
CY
69662011-08-21 Chong Yidong <cyd@stupidchicken.com>
6967
ff98b2dd
CY
6968 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6969
23a8a5ab
CY
6970 * emacs-lisp/find-func.el (find-function-noselect): New arg
6971 lisp-only.
6972
6973 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6974 signal an error for built-in functions (Bug#6664).
6975
f5e3c598
LMI
69762011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6977
6978 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6979 (smtpmail-try-auth-methods): Use it.
6980
a3f2468a
CY
69812011-08-21 Chong Yidong <cyd@stupidchicken.com>
6982
2c34e8da
CY
6983 * font-lock.el (font-lock-fontify-region)
6984 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6985 (font-lock-default-unfontify-buffer)
6986 (font-lock-default-fontify-region)
6987 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6988
b3fd59bd
SM
6989 * progmodes/compile.el (compilation-error-properties):
6990 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6991 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6992 `ant' regexp.
ee31aabc 6993
a3f2468a
CY
6994 * net/browse-url.el (browse-url-firefox): Don't call
6995 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6996
8e999f70
GM
69972011-08-20 Glenn Morris <rgm@gnu.org>
6998
c21a496a
GM
6999 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7000
59ee0542
GM
7001 * tutorial.el (tutorial--default-keys): Update some default bindings.
7002
8e999f70
GM
7003 * files.el (hack-local-variables): Fully ignore case for "mode:".
7004
e3715033
AM
70052011-08-20 Alan Mackenzie <acm@muc.de>
7006
7007 Resolve invalid use of a regexp in regexp-opt.
7008
4d61f28d
JB
7009 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7010 detection for a java annotation.
e3715033 7011
4d61f28d 7012 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7013 detection for a java annotation.
7014
4d61f28d
JB
7015 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7016 handling for java.
e3715033
AM
7017 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7018
04ed2e9c
CY
70192011-08-20 Chong Yidong <cyd@stupidchicken.com>
7020
7021 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7022 (Bug#9274).
7023
826cee64
AM
70242011-08-20 Alan Mackenzie <acm@muc.de>
7025
58179cce 7026 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7027 such a construct. Mainly for when jit-lock etc. starts a chunk
7028 here.
7029
58179cce 7030 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7031 variable.
58179cce 7032 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7033 c-make-font-lock-search-function.
7034 (c-make-font-lock-search-function): Use the above function.
7035 (c-make-font-lock-context-search-function): New function.
7036 (c-cpp-matchers): Enhance the preprocessor expression case with
7037 the above function
7038 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7039 which takes an expression.
7040
7041 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7042
13009bd8
MR
70432011-08-20 Martin Rudalics <rudalics@gmx.at>
7044
7045 * window.el (display-buffer-reuse-window)
7046 (display-buffer-pop-up-window): Don't reuse or split a side
7047 window.
7048
9234ff7f
GM
70492011-08-19 Glenn Morris <rgm@gnu.org>
7050
7051 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7052 Downcase "Mode:". (Bug#9331)
9234ff7f 7053
f635daa1
CY
70542011-08-18 Chong Yidong <cyd@stupidchicken.com>
7055
7056 * international/characters.el: Add L and R categories.
7057
7058 * subr.el (bidi-string-mark-left-to-right): Rename from
7059 string-mark-left-to-right. Use category search.
7060
7061 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7062
bc987f8b
JL
70632011-08-18 Juri Linkov <juri@jurta.org>
7064
7065 * faces.el (error, warning, success): New faces with definitions
7066 copied from old default values of `font-lock-warning-face',
7067 `compilation-warning', `compilation-info' (bug#6117).
7068
7069 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7070
7071 * progmodes/compile.el (compilation-error): Inherit from `error'.
7072 (compilation-warning): Inherit from `warning'.
7073 (compilation-info): Inherit from `success'.
7074
7075 * dired.el (dired-marked): Inherit from `warning'.
7076 (dired-flagged): Inherit from `error'.
7077
57173b96
LMI
70782011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7079
3e79eb87
LMI
7080 * mail/smtpmail.el (auth-source): Require to avoid problems with
7081 binding variables (bug#9298). Also clean up some unused
7082 autoloads.
7083
b3fd59bd
SM
7084 * net/network-stream.el (network-stream-open-starttls):
7085 Support using starttls.el without using gnutls-cli.
57173b96 7086
02b404de
JL
70872011-08-17 Juri Linkov <juri@jurta.org>
7088
7089 * progmodes/grep.el (rgrep): Handle the case when
7090 `grep-find-command' is a cons cell (bug#9278).
7091
8c9177f2
MR
70922011-08-17 Martin Rudalics <rudalics@gmx.at>
7093
7094 * window.el (display-buffer-pop-up-frame): Run frame creation
7095 function with BUFFER current (as special-display-popup-frame
7096 does). Reported by Drew Adams.
7097
3644a0ab
DU
70982011-08-17 Daiki Ueno <ueno@unixuser.org>
7099
7100 * epa-mail.el: Simplify GnuPG group expansion using
7101 epg-expand-group.
7102 (epa-mail-group-alist, epa-mail-group-modtime)
7103 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7104 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7105 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7106 Remove.
7107
5e617bc2 71082011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7109
7110 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7111
9c4aeabf
AM
71122011-08-16 Alan Mackenzie <acm@muc.de>
7113
7114 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7115 Correct, to avoid the inside of macros.
7116
3a99bf64
RS
71172011-08-16 Richard Stallman <rms@gnu.org>
7118
04963aa8
RS
7119 * epa-mail.el: Handle GnuPG group definitions.
7120 (epa-mail-group-alist, epa-mail-group-modtime)
7121 (epa-mail-gnupg-conf-file): New variables.
7122 (epa-mail-parse-groups, epa-mail-sync-groups)
7123 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7124 (epa-mail-expand-recipients): New functions.
7125 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7126
177549d0
RS
7127 * mail/rmail.el (rmail-epa-decrypt): New command.
7128
fe38beef
RS
7129 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7130 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7131 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7132 (epa-decrypt-armor-in-region): Make error message clearer.
7133
934eacb9
SM
71342011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7137 and "a2b" to "ab" for `prefix'.
7138
d024fb4e
CY
71392011-08-14 Chong Yidong <cyd@stupidchicken.com>
7140
7141 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7142 filter groups.
de148fee
CY
7143 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7144 Fourquet (Bug#8804).
d024fb4e 7145
62f1ca49
JB
71462011-08-12 Juanma Barranquero <lekktu@gmail.com>
7147
7148 * startup.el (argi): Declare as global variable (bug#9275).
7149
9ccaaa4b
CY
71502011-08-12 Chong Yidong <cyd@stupidchicken.com>
7151
7152 * subr.el (string-mark-left-to-right): Search the entire string
7153 for RTL script, not just the terminating character. Doc fix.
7154
a3dae87a
SM
71552011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7156
6cd18349
SM
7157 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7158 New function.
7159 (js--regexp-literal, js-syntax-propertize-function): Remove.
7160 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7161 (js-mode-map): Don't rebind electric keys.
7162 (js-insert-and-indent): Remove.
7163 (js-mode): Setup electric-layout and electric-indent instead.
7164
a3dae87a
SM
7165 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7166
9d5cb631
DU
71672011-08-12 Daiki Ueno <ueno@unixuser.org>
7168
7169 * epa.el (epa-progress-callback-function): Fix the logic of
7170 displaying progress.
7171 * epa-file.el (epa-file-insert-file-contents): Make progress
7172 display more user-friendly.
7173 (epa-file-write-region): Ditto.
7174
3e26a4a2
CY
71752011-08-10 Chong Yidong <cyd@stupidchicken.com>
7176
7177 * subr.el (string-mark-left-to-right): New function.
7178
7179 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7180 Use string-mark-left-to-right.
7181 (list-buffers-noselect): Caller changed.
7182
a3dae87a
SM
7183 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7184 Use string-mark-left-to-right.
3e26a4a2
CY
7185 (tabulated-list-print): Recenter after moving point.
7186
ac8cf6e6
JL
71872011-08-10 Juri Linkov <juri@jurta.org>
7188
7189 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7190 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7191 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7192
8d96c9a4
CY
71932011-08-09 Chong Yidong <cyd@stupidchicken.com>
7194
7195 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7196 (Bug#7554).
7197
7be1c708 71982011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7199
7200 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7201 character. (Bug#6594)
7202
37e11a63
CY
72032011-08-08 Chong Yidong <cyd@stupidchicken.com>
7204
839dde57
CY
7205 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7206 (image-dired--with-db-file): New macro.
7207 (image-dired-write-tags, image-dired-remove-tag)
7208 (image-dired-create-gallery-lists, image-dired-write-comments)
7209 (image-dired-get-comment, image-dired-mark-tagged-files)
7210 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7211 (image-dired-gallery-generate): Use insert-file-contents.
7212
37e11a63
CY
7213 * time.el (display-time-world-list, display-time-world-display):
7214 * time-stamp.el (time-stamp-string):
7215 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7216 set-time-zone-rule (Bug#7337).
7217
0b4946c4
DU
72182011-08-08 Daiki Ueno <ueno@unixuser.org>
7219
7220 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7221 (epg-error-to-string, epg-errors-to-string): New function.
7222 (epg-wait-for-completion): Reverse errors list.
7223 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7224 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7225 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7226 (epg-sign-keys, epg-generate-key-from-file)
7227 (epg-generate-key-from-string): Format errors by using
7228 epg-errors-to-string (bug#9255).
7229 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7230
75bfc667
JL
72312011-08-07 Juri Linkov <juri@jurta.org>
7232
7233 * faces.el (list-faces-display): Remove extra angle bracket
7234 from `help-mode-map'.
7235
7236 * info.el (Info-history-toc-nodes): Doc fix.
7237
7238 * longlines.el (longlines-mode): Doc fix.
7239
673e08bb
SM
72402011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7241
4640dd88
SM
7242 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7243 of statements and in a few more cases (bug#9183).
7244
673e08bb
SM
7245 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7246 New functions.
7247 (cl-transform-lambda): Use them (bug#9239).
7248
89b3f019
MR
72492011-08-05 Martin Rudalics <rudalics@gmx.at>
7250
7251 * window.el (display-buffer-same-window)
7252 (display-buffer-same-frame, display-buffer-other-window)
7253 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7254 (pop-to-buffer-other-window)
7255 (pop-to-buffer-same-frame-other-window)
7256 (pop-to-buffer-other-frame): Make them defuns.
7257 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7258
640c8776
SM
72592011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * subr.el (make-composed-keymap): Move from C. Change calling
7262 convention, and improve docstring to bring attention to a subtle point.
7263 * minibuffer.el (completing-read-default): Adjust accordingly.
7264
63648a95
MA
72652011-08-03 Michael Albinus <michael.albinus@gmx.de>
7266
7267 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7268 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7269
7270 * net/trampver.el: Update release number.
7271
b796c9b7
SM
72722011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7273
7274 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7275 "in" (bug#9190).
7276
2239d7d5
LMI
72772011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7278
e07dd7c3
LMI
7279 * mail/sendmail.el (sendmail-query-once): Restore the current
7280 buffer after querying (bug#9074).
7281
0e6a2bd7
LMI
7282 * dired.el (dired-flagged): Use different faces for marked and
7283 flagged files (bug#6117).
7284
ce887515
LMI
7285 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7286 (bug#4433).
7287
92f2affc
LMI
7288 * ido.el (ido-mode): Switch off the message if called
7289 non-interactively.
7290
57d5aff0
LMI
7291 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7292 before 587, since it appears that that's more likely to work for
7293 more people.
7294
98cd6c18 7295 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7296 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7297 exist.
7298
b96dec83
LMI
7299 * info.el: Remove the `Info-beginning-of-buffer' function
7300 (bug#8325).
7301
b796c9b7
SM
7302 * net/network-stream.el (network-stream-open-starttls):
7303 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7304
d90e2ea0
MR
73052011-08-01 Martin Rudalics <rudalics@gmx.at>
7306
7307 * window.el (display-buffer-in-window): Don't set dedicated status
7308 of window here (Bug#9215).
7309 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7310 (display-buffer-pop-up-side-window)
b796c9b7 7311 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7312
cca09170
SM
73132011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7314
7315 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7316 before binding generated-autoload-file.
7317
027b979c
DD
73182011-08-01 Deniz Dogan <deniz@dogan.se>
7319
7320 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7321
3c7ee4f3
MA
73222011-07-30 Michael Albinus <michael.albinus@gmx.de>
7323
7324 Sync with Tramp 2.2.2.
7325
7326 * net/trampver.el: Update release number.
7327
2cc8e51a
JL
73282011-07-30 Juri Linkov <juri@jurta.org>
7329
7330 * dired-aux.el (dired-touch-initial): Remove function.
7331 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7332 current time, and `default' to the last modification time of the
7333 current marked file (bug#6887).
7334
a514d856
JM
73352011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7336
7337 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7338 numeric argument to read-number (bug#9163).
a514d856 7339
8a7eddd7
MA
73402011-07-27 Michael Albinus <michael.albinus@gmx.de>
7341
7342 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7343 connection process, it could be nil.
7344
1ddd96f5
LL
73452011-07-27 Leo Liu <sdl.web@gmail.com>
7346
7347 Simplify url handling in rcirc-mode.
7348
7349 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7350 (rcirc-browse-url-at-mouse): Remove.
7351 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7352
b248a85d
AM
73532011-07-26 Alan Mackenzie <acm@muc.de>
7354
7355 Fontify bitfield declarations properly.
7356
7357 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7358 (c-symbol-chars): Now exported as a lang variable.
7359 (c-not-primitive-type-keywords): New lang variable.
7360
7361 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7362 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7363 parsed as a bitfield declaration.
b248a85d 7364
b796c9b7
SM
7365 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7366 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7367 (c-punctuation-in): New function.
7368 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7369 declarations properly.
7370
68575ab0
UJ
73712011-07-26 Ulf Jasper <ulf.jasper@web.de>
7372
7373 * calendar/icalendar.el (icalendar--all-events): Take care of
7374 multiple vcalendars in a single file.
b796c9b7 7375 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7376
0f0a88b9
DD
73772011-07-25 Deniz Dogan <deniz@dogan.se>
7378
7379 * image.el (insert-image): Clarifying docstring.
7380
0b3f36df
MA
73812011-07-24 Michael Albinus <michael.albinus@gmx.de>
7382
7383 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7384 `tramp-send-command-and-check' if there is no error.
7385 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7386
a9901f61
AM
73872011-07-22 Alan Mackenzie <acm@muc.de>
7388
7389 Prevent cc-langs.elc being loaded at run time.
7390
7391 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7392 cc-langs.
7393
4d61f28d 7394 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7395 "(require 'cc-langs)". Quote a form so it will evaluate at
7396 (cc-mode's) compilation time.
7397
11d074b2
MA
73982011-07-22 Michael Albinus <michael.albinus@gmx.de>
7399
7400 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7401 loading. (Bug#9114)
7402
938b94c8
MR
74032011-07-21 Martin Rudalics <rudalics@gmx.at>
7404
7405 * window.el (display-buffer-pop-up-window)
7406 (display-buffer-pop-up-side-window)
7407 (display-buffer-in-side-window): Call display-buffer-set-height
7408 and display-buffer-set-width after setting the new window's
b796c9b7 7409 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7410
bfa4f190
SS
74112011-07-20 Sam Steingold <sds@gnu.org>
7412
7413 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7414 (etags-tags-included-tables): Call `convert-standard-filename' on
7415 the file names contained in TAGS so that windows Emacs can handle
7416 TAGS files created by cygwin ctags.
7417
8ca42262
LMI
74182011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7419
7420 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7421 which apparently didn't work.
7422
5db2afd2 74232011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7424
5db2afd2
RW
7425 * proced.el (proced-send-signal): For *Marked Processes* buffer
7426 put point at beginning of buffer.
7427
92e15d10
SB
74282011-07-19 Stephen Berman <stephen.berman@gmx.net>
7429
7430 * proced.el (proced-format): Make header lines align with the text
7431 (bug#1779).
7432
1bfd59e5
LMI
74332011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7434
7435 * view.el (view-buffer): Allow running in `special' modes if we're
7436 visiting a file (bug#8615).
7437
f5aae37c
MR
74382011-07-19 Martin Rudalics <rudalics@gmx.at>
7439
7440 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7441 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7442 New functions.
f5aae37c
MR
7443 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7444 more accurately.
7445
bf2c1571
AM
74462011-07-18 Alan Mackenzie <acm@muc.de>
7447
7448 Fontify declarators properly when, e.g., a jit-lock chunk begins
7449 inside a declaration.
7450
7451 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7452
b796c9b7
SM
7453 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7454 New function.
bf2c1571
AM
7455 (c-complex-decl-matchers): Insert reference to
7456 c-font-lock-enclosing-decls.
7457
7458 * progmodes/cc-engine.el (c-backward-single-comment):
7459 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7460 to nil around calls to (forward-comment -1).
7461
4e190b80
LMI
74622011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7463
12dc863d
LMI
7464 * image.el (put-image): Doc typo fix.
7465
a762e966
LMI
7466 * progmodes/etags.el (tags-search): Doc typo fix.
7467
4e190b80
LMI
7468 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7469 password if we get errors 550 to 554.
7470
f019fb21
LMI
74712011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7472
b796c9b7 7473 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7474
81746738
LMI
7475 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7476 indentation character (bug#6380).
7477
3ee3a1b5
LMI
7478 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7479
c82f64de
LMI
7480 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7481 to clarify what the problem is (bug#4291).
7482
f019fb21
LMI
7483 * simple.el (current-kill): Clarify what
7484 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7485 (auto-fill-mode): Document `auto-fill-function' in relation to
7486 `auto-fill-mode' (bug#2470).
f019fb21 7487
0794775d
LM
74882011-07-16 Lawrence Mitchell <wence@gmx.li>
7489
7490 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7491 method if slot is read-only (bug#9035).
7492
be39b8cc
MR
74932011-07-16 Martin Rudalics <rudalics@gmx.at>
7494
b796c9b7 7495 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7496 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7497 selected before, see discussion of (Bug#8615), (Bug#6954).
7498 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7499
6ccf7859
GM
75002011-07-15 Glenn Morris <rgm@gnu.org>
7501
7502 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7503 Respect help-form.
6ccf7859 7504
87e86684
LM
75052011-07-09 Lawrence Mitchell <wence@gmx.li>
7506
7507 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7508 (gnutls-negotiate): Use it.
7509
d6066239
LMI
75102011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7511
b796c9b7
SM
7512 * net/gnutls.el (gnutls-negotiate):
7513 Upcase `gnutls-algorithm-priority'.
d6066239 7514
bd23ebc0
GM
75152011-07-15 Glenn Morris <rgm@gnu.org>
7516
c65bca65
GM
7517 * jka-compr.el (jka-compr-verbose): Move from here...
7518 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7519 Add missing :version tag.
7520 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7521
478615cc
LMI
75222011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7523
7b41decb
LMI
7524 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7525 (gnutls-negotiate): Use it.
7526
dbc44fcd
LMI
7527 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7528
06789f97
LMI
7529 * info.el (Info-beginning-of-buffer): New command.
7530 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7531 announcing `b' as the key (bug#8325).
ab896c37 7532 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7533
c39da690
LMI
7534 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7535
3aa5f34b
LMI
7536 * international/mule-cmds.el
7537 (describe-specified-language-support): Make the error message
7538 clearer (bug#8905).
7539
4bf0979f
LMI
7540 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7541
478615cc
LMI
7542 * isearch.el (isearch-barrier): Add a doc string, since it's
7543 mentioned in a function doc string (bug#8678).
7544
75c68aa1
MR
75452011-07-15 Martin Rudalics <rudalics@gmx.at>
7546
7547 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7548 buffer argument (Bug#9083) and self-identifying label argument.
7549
a7c33da2
GM
75502011-07-15 Glenn Morris <rgm@gnu.org>
7551
7552 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7553
2f5c6024
LMI
75542011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7555
7556 * man.el (Man-fontify-manpage): Fix message when formatting the
7557 man page (bug#7929).
7558
0bb23927 75592011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7560
7561 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7562 argument LRM; if non-nil, append an invisible LRM character to the
7563 buffer name.
7564 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7565 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7566 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7567 paragraph direction.
cce4b0a7 7568
621ef9ab
LMI
75692011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7570
d1583c48
LMI
7571 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7572 the man page name (bug#7929).
7573
6a57fb5f
LMI
7574 * image.el (put-image): Mention the `put-image' overlay property
7575 (bug#7834).
7576
d7956b14
LMI
7577 * scroll-bar.el (set-scroll-bar-mode): Mention that
7578 `scroll-bar-mode' lists the values (bug#7772).
7579
5b2d4a66
LMI
7580 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7581 command (bug#7729).
7582
7509a874
LMI
7583 * rect.el (apply-on-rectangle): Return the point after the last
7584 operation.
7585 (string-rectangle): Go to the point after the last operation
7586 (bug#7522).
7587
4fe74b19
LMI
7588 * printing.el (pr-toggle-region): Clarify the documentation
7589 slightly (bug#7493).
7590
b796c9b7
SM
7591 * time.el (display-time-update):
7592 Allow `display-time-mail-function' to return nil (bug#7158).
7593 Fix suggested by Detlev Zundel.
ab283561 7594
fc233c9d
LMI
7595 * vc/diff.el (diff): Clarify the order the file names are read
7596 (bug#7111).
7597
43f5740b
LMI
7598 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7599 the doc string (bug#7015).
7600
f2182a76
LMI
7601 * font-lock.el (font-lock-maximum-decoration): Mention what
7602 numeric levels mean (bug#6935).
7603
621ef9ab
LMI
7604 * startup.el (initial-buffer-choice): Don't mention the `none'
7605 selection, which is against policy.
7606
adc47434
MR
76072011-07-14 Martin Rudalics <rudalics@gmx.at>
7608
b796c9b7
SM
7609 * window.el (display-buffer-normalize-special):
7610 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7611
7e5bfb8f
EZ
76122011-07-14 Eli Zaretskii <eliz@gnu.org>
7613
7614 * subr.el (version<, version<=, version=): Mention "-CVS" and
7615 "-12345" alpha version numbers.
7616
27fa387a
CY
76172011-07-14 Chong Yidong <cyd@stupidchicken.com>
7618
7619 * bindings.el: Add advertised binding for set-mark-command
7620 (Bug#5772).
7621
8bdfa064
CY
76222011-07-14 Chong Yidong <cyd@stupidchicken.com>
7623
7624 * bindings.el (mode-line-other-buffer):
7625 * bookmark.el (bookmark-bmenu-2-window):
7626 * bs.el (bs-cycle-next, bs-cycle-previous):
7627 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7628 switch-to-buffer.
7629
7630 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7631 Delete.
8bdfa064 7632
5eba16a3
JB
76332011-07-14 Juanma Barranquero <lekktu@gmail.com>
7634
7635 * follow.el (follow-debug-message, follow-redisplay):
7636 * jka-cmpr-hook.el (with-auto-compression-mode):
7637 Fix typos in docstrings.
7638
15853710
LMI
76392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7640
a28e4607
LMI
7641 * subr.el (with-silent-modifications): Clarify somewhat what the
7642 macro inhibits (bug#6525).
7643
15853710
LMI
7644 * simple.el (eval-expression): Note what it does if called
7645 interactively (bug#6495).
7646
bee0fcef
CY
76472011-07-13 Chong Yidong <cyd@stupidchicken.com>
7648
b796c9b7
SM
7649 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7650 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7651
7652 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7653 Remove switch-to-buffer.
7654
58274504
LMI
76552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7656
bd2fcc8d
LMI
7657 * files.el (make-directory): Clarify that an error will be raised
7658 if there's an error (bug#6397).
7659
0f04b32c
LMI
7660 * startup.el (initial-buffer-choice): Add `none' as a choice
7661 (bug#6234).
7662
465c5fc8
LMI
7663 * subr.el (add-hook): Clarify section about buffer-local hooks
7664 (bug#6218).
7665
58274504
LMI
7666 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7667
bead9a43
JB
76682011-07-13 Juanma Barranquero <lekktu@gmail.com>
7669
7670 * tabify.el (untabify): Preserve the current column so that point
7671 doesn't move (bug#6032).
7672
3af98a7b
LMI
76732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7674
b796c9b7
SM
7675 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7676 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7677
6240145a
GM
76782011-07-13 Glenn Morris <rgm@gnu.org>
7679
7680 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7681 (dired-insert-directory): Give a message the first time
7682 if ls is found not to support --dired.
7683
1d8c2ccc
LMI
76842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7685
7686 * simple.el (toggle-truncate-lines): Clarify what is toggled
7687 (bug#5580). Text by Drew Adams.
7688
5fc4038e
CY
76892011-07-13 Chong Yidong <cyd@stupidchicken.com>
7690
7691 * simple.el (blink-matching-open): Make the error message from the
7692 last change less verbose.
7693
bf6012e5
DN
76942011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7695
7696 * font-lock.el (font-lock-comment-face): Use the high contrast
7697 "yellow" color for font-lock-comment-face on low color terminals
7698 using a dark background color (bug#4221).
7699
343c3b5a
LMI
77002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7701
7e9505c5
LMI
7702 * dired.el (dired-insert-set-properties): Make the doc string
7703 reflect what it does now (bug#5325).
7704
c26fdcf5
LMI
7705 * simple.el (blink-matching-open): Say that we were unable to find
7706 the match within the limit, if we're limited (bug#5122).
7707
bb388cc5
LMI
7708 * international/mule-cmds.el (prefer-coding-system): Add an
7709 example (bug#4869).
7710
343c3b5a
LMI
7711 * progmodes/etags.el (tags-search): Document `file-list-form'
7712 (bug#4731).
7713
2a517d45
LM
77142011-07-13 Lawrence Mitchell <wence@gmx.li>
7715
7716 * net/browse-url.el (browse-url-default-browser)
7717 (browse-url-browser-function): Make the default browser choice a
7718 bit more logical (bug#4300). Also clean up the doc string.
7719
b6c78ef2
JB
77202011-07-13 Juanma Barranquero <lekktu@gmail.com>
7721
7722 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7723 binary endings (bug#4440).
7724
1c4dd947
LMI
77252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726
a2014063
LMI
7727 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7728 which can be pretty annoying (bug#8971).
7729
9c9c2d88
LMI
7730 * jka-compr.el (jka-compr-verbose): New variable, and use
7731 throughout (bug#8971).
7732
1c4dd947
LMI
7733 * info.el (Info-find-file): Fall back on the installation
7734 directory if we can't find the info node anywhere else.
7735
a1c9f41b
SO
77362011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7737
7738 * vc/vc.el (vc-revert-file):
7739 Don't set file time-stamp in the past. (Bug#5181)
7740
536f3d36
LMI
77412011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7742
7152b011
LMI
7743 * files.el (after-find-file): Give a better error message when
7744 trying to find a symlink that points to a file that doesn't exist
7745 (bug#4398).
7746
536f3d36
LMI
7747 * progmodes/cc-vars.el: Remove (probably) misleading comment
7748 (bug#4396).
7749
460c0fba
JB
77502011-07-12 Johan Bockgård <bojohan@gnu.org>
7751
7752 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7753
7a6bda45
CY
77542011-07-12 Chong Yidong <cyd@stupidchicken.com>
7755
7756 * mouse-sel.el: Hack restoring functionality, while keeping
7757 compatibility with 2010-07-03 changes to mouse selection.
7758 (mouse-sel-primary-overlay): New var.
7759 (mouse-sel-selection-alist): Use it.
7760 (mouse-sel-mode): Doc fix; remove points that are default features
7761 of mouse.el.
7762
c79598ef
JB
77632011-07-12 Johan Bockgård <bojohan@gnu.org>
7764
7765 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7766 Fix previous fix (bug#2490).
7767
ff8be6ef
RW
77682011-07-12 Roland Winkler <winkler@gnu.org>
7769
b796c9b7
SM
7770 * textmodes/bibtex.el (bibtex-initialize):
7771 Use pop-to-buffer-same-window.
ff8be6ef
RW
7772 (bibtex-search-entries): Fix interactive call.
7773
296ba3ee
LMI
77742011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7775
f5242a02 7776 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7777 Fontise bytecomp Error lines more correctly (bug#2490).
7778 Fix suggested by Johan Bockgård.
f5242a02 7779
296ba3ee
LMI
7780 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7781
7782 * dired-x.el (dired-guess-default): Use `delete-dups'.
7783
f69fd0d2
CY
77842011-07-12 Chong Yidong <cyd@stupidchicken.com>
7785
7786 * dired.el (dired-mark-prompt):
7787 * dired-aux.el (dired-read-shell-command): Doc fix.
7788
eab5dc07
LMI
77892011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7790
b796c9b7
SM
7791 * mail/sendmail.el (sendmail-query-once):
7792 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7793 emacs -Q.
7794
7795 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7796
eab5dc07
LMI
7797 * cus-edit.el (custom-file): Take an optional no-error variable.
7798 (customize-save-variable): Set the variable, and give a warning if
7799 running under "emacs -q".
7800
a1e65d42
JB
78012011-07-11 Juanma Barranquero <lekktu@gmail.com>
7802
7803 * loadhist.el (unload-feature-special-hooks):
7804 Add `auto-coding-functions', `fill-nobreak-predicate' and
7805 `find-directory-functions' (bug#5327).
7806
1d52da10
LMI
78072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7808
be958f1d
LMI
7809 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7810
5bedb26c
LMI
7811 * cus-edit.el (custom-guess-name-alist): -alist variables should
7812 use the `alist' type (bug#3120). Suggested by Drew Adams.
7813
1d52da10
LMI
7814 * printing.el: Add documentation to all the `pr-toggle-' commands.
7815
cd394be1 78162011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7817
7818 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7819 backends where it makes sense (bug#2623).
7820
dcc88d8a
LMI
78212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7822
c3de9feb
LMI
7823 * dired-x.el (dired-guess-default): Remove duplicate shell command
7824 entries (bug#2028).
8a93078b 7825 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7826 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7827
dcc88d8a
LMI
7828 * subr.el (remove-duplicates): New conveniency function.
7829
505e3645
LMI
78302011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7831
7832 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7833 (bug#1526).
7834
78352011-07-10 Martin Rudalics <rudalics@gmx.at>
7836
7837 * window.el (display-buffer-normalize-default): Don't invert
7838 meaning of even-window-heights. Reported by Eli Zaretskii
7839 <eliz@gnu.org>.
7840
455e4fa1
BR
78412011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7842
7843 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7844
8e0bc3e9
CY
78452011-07-10 Chong Yidong <cyd@stupidchicken.com>
7846
7847 * window.el (display-buffer): Fix arguments to
7848 display-buffer-reuse-window in last change.
7849
fa7c3228
CY
7850 * faces.el (link): Use a less saturated blue on light backgrounds.
7851
7852 * startup.el (fancy-startup-text, fancy-about-text)
7853 (fancy-startup-tail): Use font-lock faces, for background safety.
7854
c0a7f300
BN
78552011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7856
b796c9b7
SM
7857 * emulation/viper-cmd.el (viper-change-state-to-vi):
7858 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7859
4dc2a129
MR
78602011-07-09 Martin Rudalics <rudalics@gmx.at>
7861
7862 * window.el (display-buffer-default-specifiers): Remove.
7863 (display-buffer-macro-specifiers): Remove default specifiers.
7864 (display-buffer-alist): Default to nil.
b796c9b7 7865 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7866 (display-buffer-pop-up-window): Allow splitting internal
7867 windows. Check whether a live window was created.
7868 (display-buffer-other-window-means-other-frame)
7869 (display-buffer-normalize-arguments): Rename to
7870 display-buffer-normalize-argument and rewrite. Set the
7871 other-window specifier.
7872 (display-buffer-normalize-special): New function.
7873 (display-buffer-normalize-options): Rename to
7874 display-buffer-normalize-default and rewrite.
7875 (display-buffer-normalize-options-inhibit): Remove.
7876 (display-buffer-normalize-specifiers): Rewrite.
7877 (display-buffer): Process other-window specifier and call
7878 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7879 more faithfully.
b796c9b7 7880 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7881 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7882 (display-buffer-in-window, display-buffer-alist-set):
7883 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7884 <tassilo@member.fsf.org>.
7885
2d43b8c9
LL
78862011-07-09 Leo Liu <sdl.web@gmail.com>
7887
7888 * register.el (insert-register): Restore accidental change on
7889 2011-06-26. (Bug#9028)
7890
7f9b7c53
GM
78912011-07-09 Glenn Morris <rgm@gnu.org>
7892
7893 * subr.el (remq): Handle the empty list. (Bug#9024)
7894
f042cfd8
AS
78952011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7896
7897 * mail/sendmail.el (send-mail-function): No longer delay custom
7898 initialization.
7899 * custom.el (custom-initialize-delay): Doc fix.
7900
856b2f11
SM
79012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7902
7903 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7904
afae1d68
MA
79052011-07-08 Michael Albinus <michael.albinus@gmx.de>
7906
7907 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7908 human-friendly prompt.
7909
0757af94
SM
79102011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7913 provided by a particular plugin.
7914
d760b731
LMI
79152011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7916
7917 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7918 save customizations (with "emacs -Q"), just set the variable
7919 instead of erroring out.
7920
7921 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7922
cd79ce90
JL
79232011-07-08 Juri Linkov <juri@jurta.org>
7924
7925 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7926 (archive-zip-update-case): Use 7z if found by `executable-find'.
7927 The order of searching the available programs is the same as in
7928 `archive-zip-extract' (bug#8968).
7929
14cc04aa
CY
79302011-07-07 Chong Yidong <cyd@stupidchicken.com>
7931
7932 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7933 (menu-bar-options-menu): Tweak descriptions.
7934
0a1848ec
LMI
79352011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7936
7937 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7938 menu items into verb phrases (bug#1421). Also refill to fit under
7939 80 columns.
7940
f5bd0689
CY
79412011-07-07 Chong Yidong <cyd@stupidchicken.com>
7942
538e85c6
CY
7943 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7944 (Info-read-node-name): Doc fix (Bug#1084).
7945
f5bd0689
CY
7946 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7947 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7948 (end-of-sexp, beginning-of-sexp)
7949 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7950 (forward-symbol, forward-same-syntax, word-at-point)
7951 (sentence-at-point): Doc fix (Bug#1144).
7952
56ec5115
LMI
79532011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7954
f3f8e37f
LMI
7955 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7956 should cover it (bug#1281).
7957
0757af94 7958 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7959
e9fce1ac 7960 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7961 negotiation fails, then possibly try again with a non-encrypted
7962 connection (bug#9017).
7963
56ec5115
LMI
7964 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7965 be used.
7966
c2f9aec8
RS
79672011-07-07 Richard Stallman <rms@gnu.org>
7968
7969 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7970 property, and handle its changed format.
7971 Look for the correct line number.
7972 Use file's line contents (but not past first =) to find
7973 correct line in message.
7974
ef7b981d 79752011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7976
7977 * international/characters.el (build-unicode-category-table):
7978 Delete it.
0757af94 7979 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7980
0757af94 7981 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7982 to src/chartab.c.
7983 (get-char-code-property): Call unicode-property-table-internal to
7984 load a file. Call get-unicode-property-internal where necessary.
7985 (put-char-code-property): Call unicode-property-table-internal to
7986 load a file. Call put-unicode-property-internal where necessary.
7987 put-unicode-property-internal where necessary.
0757af94
SM
7988 (char-code-property-description):
7989 Call unicode-property-table-internal to load a file.
c805dec0
KH
7990
7991 * international/charprop.el:
7992 * international/uni-bidi.el:
7993 * international/uni-category.el:
7994 * international/uni-combining.el:
7995 * international/uni-comment.el:
7996 * international/uni-decimal.el:
7997 * international/uni-decomposition.el:
7998 * international/uni-digit.el:
7999 * international/uni-lowercase.el:
8000 * international/uni-mirrored.el:
8001 * international/uni-name.el:
8002 * international/uni-numeric.el:
8003 * international/uni-old-name.el:
8004 * international/uni-titlecase.el:
8005 * international/uni-uppercase.el: Regenerate.
8006
8007 * loadup.el: Load international/charprop.el before
8008 international/characters.
8009
e14b388a
CY
80102011-07-07 Chong Yidong <cyd@stupidchicken.com>
8011
8012 * window.el (next-buffer, previous-buffer): Signal an error if
8013 called from a minibuffer window.
8014
8015 * bindings.el: Revert 2011-07-04 change.
8016
354cf0ba
RS
80172011-07-06 Richard Stallman <rms@gnu.org>
8018
8019 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8020 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8021 Treat markers like ints.
8022 (rmail-mime-entity): Doc fix.
8023
a48868a7
LMI
80242011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8025
4906cd3d
LMI
8026 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8027 defcustom again for backwards compatibility.
8028
e0457abe
LMI
8029 * simple.el (shell-command-on-region): Fill.
8030
d67f7e1f
LMI
8031 * dired-aux.el (dired-kill-line): Add a doc string.
8032
fe204702
LMI
8033 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8034 to "\\sw\\|\\s_" (bug#358).
8035
a48868a7
LMI
8036 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8037 (dired-unmark-backward): Ditto.
8038 (dired-flag-backup-files): Ditto.
8039
8040 * dired-x.el (dired-mark-sexp): Ditto.
8041
aa8a705c
RS
80422011-07-06 Richard Stallman <rms@gnu.org>
8043
8044 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8045 (rmail-mime-entity): New arg TRUNCATED.
8046 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8047 New functions.
8048 (rmail-mime-save): Warn if entity is truncated.
8049 (rmail-mime-toggle-hidden): Likewise, for showing.
8050 (rmail-mime-process-multipart): Record when an entity is truncated.
8051
a9a936b9
RS
8052 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8053 if ENTITY is a string.
8054
1f2b92cb
LMI
80552011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8056
f4f73198 8057 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8058 of faces when `M-C-x'-ing their definitions (bug#8378).
8059 Also clean up the code slightly.
f4f73198 8060
12b16734 8061 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8062 because that makes the colors go away.
12b16734 8063
f0691d22
LMI
8064 * mail/sendmail.el (send-mail-function): Change the default to
8065 `sendmail-query-once'.
9e87df06 8066 (sendmail-query-once): Add an autoload cookie.
f0691d22 8067
1f2b92cb
LMI
8068 * net/network-stream.el (network-stream-open-starttls): Try using
8069 a plain connection even if the server offered STARTTLS, and we
8070 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8071 capability. This should make smtpmail.el work in slightly more
8072 configurations.
8073
1cdd2a1b
MA
80742011-07-06 Michael Albinus <michael.albinus@gmx.de>
8075
8076 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8077 New defun.
8078 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8079
fbcc67e2
MM
80802011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8081
8082 * progmodes/sql.el: Version 3.0
0757af94 8083 (sql-product-alist): Add product :completion-object,
fbcc67e2 8084 :completion-column, and :statement attributes.
0757af94 8085 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8086 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8087 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8088 ansi keywords.
8089 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8090 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8091 (sql-oracle-show-reserved-words): New function for development.
8092 (sql-product-font-lock): Simplify for source code buffers.
8093 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8094 New functions.
8095 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8096 (sql-mode-map): Add statement movement functions.
8097 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8098 New variable.
fbcc67e2
MM
8099 (sql-statement-regexp, sql-beginning-of-statement)
8100 (sql-end-of-statement, sql-signum): New functions.
0757af94 8101 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8102 (sql-show-sqli-buffer): Bug fix.
8103 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8104 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8105 with sql-interactive-mode.
8106 (sql-save-connection): Save buffer local settings.
0757af94 8107 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8108 (sql-product-interactive): Bug fix.
8109 (sql-preoutput-hold): New variable.
8110 (sql-interactive-remove-continuation-prompt): Bug fixes.
8111 (sql-debug-redirect): New variable.
8112 (sql-str-literal): New function.
8113 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8114 Redesign.
fbcc67e2
MM
8115 (sql-oracle-save-settings, sql-oracle-restore-settings)
8116 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8117 (sql-completion-object, sql-completion-column)
8118 (sql-completion-sqlbuf): New variables.
8119 (sql-build-completions-1, sql-build-completions)
8120 (sql-try-completion): New functions.
8121 (sql-read-table-name): Use them.
8122 (sql-contains-names): New buffer local variable.
8123 (sql-list-all, sql-list-table): Use it.
8124 (sql-oracle-completion-types): New variable.
8125 (sql-oracle-completion-object, sql-sqlite-completion-object)
8126 (sql-postgres-completion-object): New functions.
8127
d4eaeab1
GM
81282011-07-06 Glenn Morris <rgm@gnu.org>
8129
8130 * window.el (pop-to-buffer): Doc fix.
8131
322b7dab 81322011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8133
8134 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8135
322b7dab 81362011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8137
322b7dab 8138 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8139
322b7dab 8140 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8141
605dd5bf
CY
81422011-07-05 Chong Yidong <cyd@stupidchicken.com>
8143
8144 * button.el (button): Inherit from link face. Suggested by Dan
8145 Nicolaescu.
8146
7dbfa719
SM
81472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8148
3db614b0
SM
8149 * progmodes/gdb-mi.el: Fit in 80 columns.
8150 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8151 switch-to-buffer.
8152
7dbfa719
SM
8153 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8154 if imenu is simply not configured (bug#8941).
8155
919d884a
KM
81562011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8157
8158 * allout.el (allout-post-undo-hook): New allout outline-change
8159 event hook to signal undo activity.
8160 (allout-post-command-business): Run allout-post-undo-hook if an
8161 undo just occurred.
7dbfa719
SM
8162 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8163 * allout-widgets.el (allout-widgets-after-undo-function):
8164 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8165 in the vicinity of an undo.
8166 (allout-widgets-mode): Include allout-widgets-after-undo-function
8167 on the new allout-post-undo-hook.
8168
450a0f09
SM
81692011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8172 Let define-derived-mode define it.
8173 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8174 cycles of abbrev-table inheritance (bug#8998).
8175
2de69e00
RW
81762011-07-05 Roland Winkler <winkler@gnu.org>
8177
8178 * textmodes/bibtex.el: Add support for biblatex.
8179 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8180 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8181 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8182 (bibtex-entry-alist, bibtex-field-alist): New variables.
8183 (bibtex-entry-field-alist): Obsolete alias for
8184 bibtex-BibTeX-entry-alist.
8185 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8186 (bibtex-set-dialect): New command.
8187 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8188 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8189 Bind via bibtex-set-dialect.
2de69e00
RW
8190 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8191 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8192 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8193 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8194 Define via bibtex-set-dialect.
450a0f09
SM
8195 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8196 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8197 (bibtex-vec-push, bibtex-vec-incr): New functions.
8198 (bibtex-format-entry, bibtex-field-list)
8199 (bibtex-print-help-message, bibtex-validate)
8200 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8201
2dcdbdd9
SM
82022011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * progmodes/compile.el (compilation-goto-locus):
8205 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8206 * bs.el (bs-cycle-next, bs-cycle-previous):
8207 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8208 * bindings.el (mode-line-other-buffer):
8209 * autoinsert.el (auto-insert):
8210 * arc-mode.el (archive-extract):
8211 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8212
b27640fe
JB
82132011-07-05 Juanma Barranquero <lekktu@gmail.com>
8214
8215 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8216 Fix check of `emacs-lock-unlockable-modes'.
8217 Coerce true values of `emacs-lock--try-unlocking' to t.
8218
53bbe3ad
JB
82192011-07-05 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8222 * emacs-lock.el: New file.
8223
1d3cdbc7
JD
82242011-07-05 Julien Danjou <julien@danjou.info>
8225
8226 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8227 than `boundp' to check if face is set.
8228
9173deec
JB
82292011-07-05 Juanma Barranquero <lekktu@gmail.com>
8230
8231 * register.el (registerv-make):
8232 * window.el (window-min-height): Fix typos in docstrings.
8233
869795d6
JD
82342011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8235
9173deec 8236 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8237 Update doc string.
8238
b768cdcd
JB
82392011-07-04 Juanma Barranquero <lekktu@gmail.com>
8240
8241 * server.el (server-execute): Catch quit and call
8242 `server-return-error' to pass the error back to emacsclient and
8243 close the connection (bug#8942).
8244
13aa217b
KM
82452011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8246
8247 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8248 insecure exception for current topic. Also note that auto-saves
8249 are handled differently.
8250
8251 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8252 State variables for tracking auto-save inhibition situation.
8253
8254 (allout-write-contents-hook-handler): Rename from
8255 'allout-write-file-hook-handler', and describe how it depends on
8256 write-contents-functions sensitivity to non-nil value to prevent
8257 file write.
8258
8259 (allout-auto-save-hook-handler): Remove. auto-save does not check
8260 this in individual buffers, only in the starting buffer, so this
8261 is not the right way for us to inhibit auto-save in a buffer
8262 according to its condition.
8263
8264 (allout-mode): Use new allout-write-contents-hook-handler, and
8265 only with write-contents-functions. Remove auto-save provisions -
8266 they're implemented elsewhere.
8267
8268 (allout-before-change-handler): If undo is in progress, note that
8269 for attention of allout-post-command-business.
8270
8271 (allout-post-command-business): If the command we're following was
8272 an undo, check for change in the status of encrypted items and
8273 adjust auto-save inhibitions accordingly.
8274
8275 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8276 according to whether there are or aren't any plain-text topics
8277 pending encryption.
8278
2dcdbdd9 8279 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8280 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8281 if there are plain-text topics pending encryption.
13aa217b
KM
8282
8283 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8284 buffer-saved-size and some allout state to not inhibit auto-saves
8285 if there are no longer any plain-text topics pending encryption.
8286
0757af94
SM
8287 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8288 No longer provide for exemption of the current topic.
13aa217b 8289
ac89b32c
JL
82902011-07-04 Juri Linkov <juri@jurta.org>
8291
8292 Add 7z operations to delete and save changed members (bug#8968).
8293 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8294 New defcustoms.
8295 (archive-7z-write-file-member): New function.
8296 (archive-7z-summarize): Fix the number of dashes in the
8297 listing output.
8298
8fa39615
SM
82992011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8302 (bug#8958).
8303
2f11b3f1
CY
83042011-07-04 Chong Yidong <cyd@stupidchicken.com>
8305
d66fef2b
CY
8306 * bindings.el: Ignore next-buffer and previous-buffer in
8307 minibuffer-local-map.
8308
2f11b3f1
CY
8309 * font-lock.el (font-lock-builtin-face): Change light background
8310 color to dark slate blue (Bug#6693).
8311
f932a347
WD
83122011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8313
8314 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8315
c8af70e1
SM
83162011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8319 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8320 Add switch-to-buffer.
8321
f158badc
LMI
83222011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8323
8324 * isearch.el (isearch-search-fun-function): Clarify further the
8325 meaning of the function returned.
8326
6d95bd46
MA
83272011-07-04 Michael Albinus <michael.albinus@gmx.de>
8328
8329 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8330
8331 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8332 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8333 Use it.
8334 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8335 `tramp-default-remote-path' does not exist.
8336 (tramp-send-command-and-read): New optional argument NOERROR.
8337 (tramp-open-connection-setup-interactive-shell)
8338 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8339 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8340 (tramp-process-sentinel): Flush also process' connection property.
8341 (tramp-sh-handle-start-file-process): Do not set process
8342 sentinel. It is done now ...
8343 (tramp-maybe-open-connection): ... here. (Bug#8929)
8344
909e6b67
MK
83452011-07-04 MON KEY <monkey@sandpframing.com>
8346
8347 * play/animate.el (animate-string): Doc fixes and allow changing
8348 the buffer name (bug#5417).
8349
83502011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8351
c8af70e1 8352 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8353
f34755dc
PE
83542011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8355
396cec72
PE
8356 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8357 This is simpler and helps future-proof the code.
8358 (timer-until): Use time-subtract and float-time.
08235028 8359 (timer--time-less-p): Use time-less-p.
f34755dc 8360
56e6cc31
JB
83612011-07-04 Juanma Barranquero <lekktu@gmail.com>
8362
3abb79e5
JB
8363 * type-break.el (timep): Use the value of `float-time' to avoid a
8364 byte-compiler warning.
8365
56e6cc31
JB
8366 * server.el (server-eval-and-print): Return any result, even nil.
8367
7b9430b4
PE
83682011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8369
8370 * type-break.el: Accept time formats that the builtins accept.
8371 (timep, type-break-time-difference): Accept any format that
8372 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8373 This is simpler and helps future-proof the code.
8374 (type-break-time-difference): Round rather than ignoring
8375 subseconds components.
8376
3034e9e7
LMI
83772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8378
8379 * info.el (Info-apropos-matches): Make non-interactive, since it
8380 doesn't seem to do anything useful as a command (bug#8829).
8381
1485f4c0
CY
83822011-07-03 Chong Yidong <cyd@stupidchicken.com>
8383
8384 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8385 Move from faces.el.
1485f4c0
CY
8386 (frame-default-terminal-background): New function.
8387
8388 * custom.el (custom-push-theme): Don't record faces in `changed'
8389 theme; this doesn't work correctly for per-frame face settings.
8390 (disable-theme): Use face-set-after-frame-default to reset faces.
8391 (custom--frame-color-default): New function.
8392
9fa3dd45
LMI
83932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8394
c8af70e1 8395 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8396 (bug#8769).
8397
6cbbc20c
KR
83982011-03-29 Kevin Ryde <user42@zip.com.au>
8399
8400 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8401 `perl-Test2' extend to match possible "fail #N" rep count
8402 (bug#8377).
8403
c7f98048
LMI
84042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8405
65676592
LMI
8406 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8407 `smtpmail-via-smtp' now returns the error instead of nil.
8408
c7f98048
LMI
8409 * isearch.el (isearch-search-fun-function): Clarify the doc string
8410 (bug#8101).
8411
56e6cc31 84122011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8413
8414 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8415 unnecessary spaces (bug#8987).
8416
2b216704
LMI
84172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8418
8419 * net/network-stream.el (open-network-stream): Use the
8420 :end-of-capability command thoughout.
8421
84222011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8423
8424 * net/network-stream.el (open-network-stream): Add the
8425 :end-of-capability command parameter, used by pop3.el.
8426
36adf6ce
LMI
84272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8428
1ca0da0e
LMI
8429 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8430
fc00f69c
LMI
8431 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8432 for list)" (bug#6475).
8433
28fd8759 8434 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8435 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8436 an error (bug#6297).
8437
0dd8b6da
LMI
8438 * man.el (Man-reference-regexp): Allow matching possible
8439 word-wrapped references (bug#6289).
8440
ce1438d6
LMI
8441 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8442 for consistency with the other vc buffers (bug#6197).
8443 (vc-checkin): Ditto.
8444
8445 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8446
36adf6ce
LMI
8447 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8448
e83cc1f7
LMI
84492011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8450
8a20ca4c
LMI
8451 * custom.el (defcustom): Clarify that :set is only used in the
8452 Customize user interface (bug#6089).
8453
83319045
LMI
8454 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8455 associated with a file, refuse to run instead of erroring out
8456 (bug#6084).
8457
a8392169
LMI
8458 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8459 the doc string, since it appears that using `fill-column' always
8460 controls the width (bug#7845).
8461
e83cc1f7
LMI
8462 * simple.el (shell-command-on-region): Say where the error output
8463 went if `shell-command-default-error-buffer' is set (bug#6857).
8464
e47ca23b
KM
84652011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8466
8467 * allout.el (allout-yank-processing): Adjust cursor position for
8468 backwards-deleted space.
8469
8470 (allout-rebullet-heading): Register changes with
8471 allout-exposure-changed-hook, so the modified topic is properly
8472 decorated.
8473
5cf56143
LMI
84742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8475
08549772
LMI
8476 * minibuffer.el (completion-in-region): Document PREDICATE
8477 (bug#7136).
8478
48e96771
LMI
8479 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8480 of keyword/argument pairs (bug#6904).
8481
c8af70e1
SM
8482 * replace.el (multi-occur):
8483 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8484
e17d05e2
LMI
84852011-07-02 Drew Adams <drew.adams@oracle.com>
8486
8487 * dired.el (dired-mark-if): Make the message about whether it's
8488 marking or unmarking clearer (bug#8523).
8489
063b0e45
LMI
84902011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8491
8492 * disp-table.el (display-table-print-array): New function.
8493 (describe-display-table): Use it to print the vectors more pretty
8494 (Bug#8859).
8495
28545e04
MR
84962011-07-02 Martin Rudalics <rudalics@gmx.at>
8497
8498 * window.el (window-state-get-1): Don't assign clone numbers.
8499 Add clone-of item to list of window parameters.
8500 (window-state-put-2): Don't process clone numbers.
8501 (display-buffer-alist): Fix doc-string.
8502
3349e122
SM
85032011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8504
8505 * subr.el (remq): Don't allocate if it's not needed.
8506 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8507 (keymap--merge-bindings): New functions.
8508 (keymap-canonicalize): Use them to refine the canonicalization.
8509 * minibuffer.el (minibuffer-local-completion-map)
8510 (minibuffer-local-must-match-map): Move initialization from C.
8511 (minibuffer-local-filename-completion-map): Move initialization from C;
8512 don't inherit from anything here.
8513 (minibuffer-local-filename-must-match-map): Make obsolete.
8514 (completing-read-default): Use make-composed-keymap to combine
8515 minibuffer-local-filename-completion-map with either
8516 minibuffer-local-must-match-map or
8517 minibuffer-local-filename-completion-map.
8518
d224ac83
GM
85192011-07-01 Glenn Morris <rgm@gnu.org>
8520
3de63bf8
GM
8521 * type-break.el (type-break-time-sum): Use dolist.
8522
d224ac83
GM
8523 * textmodes/flyspell.el (flyspell-word-search-backward):
8524 Replace CL function.
8525
1a1e3f32
SM
85262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8527
fe3f64d5
SM
8528 * mouse.el (mouse--strip-first-event): New function.
8529 (function-key-map): Use it to map fringe clicks to normal clicks
8530 by default.
8531
eb604e34
SM
8532 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8533 (vc-bzr-revision-completion-table): Add support for annotate and date.
8534
1a1e3f32
SM
8535 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8536 inherit from parent.
8537
5bd35902
LMI
85382011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8539
ace6c69c 8540 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8541 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8542
191e2bed
LMI
8543 * dired.el (dired-mode): Fix up the doc string as suggested by
8544 Drew Adams (bug#8817).
8545
5bd35902
LMI
8546 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8547 cookie, since the manual says that it should be possible to add
8548 this function to `find-file-hook' (bug#8709).
8549
eee8207a
TZ
85502011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8551
8552 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8553 here. Noted Ted Zlatanov as the maintainer.
8554 (cfengine-common-settings, cfengine-common-syntax): New functions
8555 to set up common things between `cfengine-mode' and
8556 `cfengine3-mode'.
8557 (cfengine3-mode): New mode.
8558 (cfengine3-defuns cfengine3-defuns-regex
8559 (cfengine3-class-selector-regex cfengine3-category-regex)
8560 (cfengine3-vartypes cfengine3-font-lock-keywords)
8561 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8562 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8563
36b148cf
MA
85642011-07-01 Michael Albinus <michael.albinus@gmx.de>
8565
8566 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8567
8568 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8569
0bf4ba9a
MR
85702011-07-01 Martin Rudalics <rudalics@gmx.at>
8571
8572 * window.el (same-window-buffer-names, same-window-regexps)
8573 (same-window-p, special-display-frame-alist)
8574 (special-display-popup-frame, special-display-function)
8575 (special-display-buffer-names, special-display-regexps)
8576 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8577 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8578 (split-window-preferred-function, split-height-threshold)
8579 (split-width-threshold, even-window-heights)
8580 (display-buffer-mark-dedicated, window-splittable-p)
8581 (split-window-sensibly, window-safely-shrinkable-p):
8582 Un-obsolete.
8583 (display-buffer): Don't spread args with function specifier
8584 because special-display-popup-frame won't like it.
8585
35837f51
PE
85862011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8587
d0672f86
PE
8588 Time-stamp simplifications and fixes.
8589 These improve accuracy slightly, and future-proof the code
8590 against some potential changes to current-time format.
8591
b9444d97
PE
8592 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8593 by using time-since and float-time.
8594
0ef923dc
PE
8595 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8596 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8597 + NNN microseconds".
8598
2f81380d
PE
8599 * type-break.el (type-break-time-sum): Rewrite using time-add.
8600
845b5c3e
PE
8601 * play/hanoi.el (hanoi-current-time-float): Remove.
8602 All uses replaced by float-time.
8603
ee6f1be0
PE
8604 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8605 This yields a more-accurate answer.
8606 (rng-time-to-float): Remove; no longer needed.
8607
fe955043
PE
8608 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8609
5777162a
PE
8610 * calendar/timeclock.el (timeclock-seconds-to-time):
8611 Defalias to seconds-to-time, since they're the same thing.
8612
3103f8b6 8613 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8614 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8615 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8616
0e61a35f
SM
86172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8618
8619 * window.el (bury-buffer): Don't iconify the only frame.
8620 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8621 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8622
ddd63a1e
CY
86232011-07-01 Chong Yidong <cyd@stupidchicken.com>
8624
0e61a35f
SM
8625 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8626 Add mouse-yank-primary.
ddd63a1e 8627
055f4923
TZ
86282011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8629
8630 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8631
6a2fb145
SM
86322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8635 (find-library-name): Use it to find relative load names when provided
8636 absolute file name (bug#8803).
8637
fd4983f2
LMI
86382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8639
887d14ad
LMI
8640 * textmodes/flyspell.el (flyspell-word): Consider words that
8641 differ only in case as potential doublons (bug#5687).
8642
c53dc7fc
LMI
8643 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8644 Remove two rather uninteresting debugging-like messages to make
8645 debbugs.el more silent.
8646
fd4983f2
LMI
8647 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8648 a password-like phrase.
8649
7a71b18d 86502011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8651
8652 * progmodes/cc-guess.el: New file.
8653
6a2fb145 8654 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8655
8656 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8657 derived from `c-basic-common-init'.
8658
8659 * progmodes/cc-mode.el (top-level): Require cc-guess.
8660 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8661
1fa280a3
LM
86622011-06-30 Lawrence Mitchell <wence@gmx.li>
8663
8664 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8665
e6597158
AM
86662011-06-30 Alan Mackenzie <acm@muc.de>
8667
1fa280a3
LM
8668 * progmodes/cc-engine.el (c-guess-continued-construct):
8669 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8670 lock is disabled. Name this case as "CASE G".
8671
68ba37fb
KM
86722011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8673
8674 * allout.el (allout-yank-processing): Fix injection of extra space
8675 between bullet and non-whitespace character in first topic when
8676 pasting, ensuring that the actual spacing in the pasted topic
8677 following the bullet char is preserved. This extra space was
8678 causing pasted encrypted topics to get a decrypted status even
8679 when the content was actually still encrypted. Now the decryption
8680 status from before the paste is preserved.
8681
8682 (allout-flag-region): Set all allout overlays so they evaporate
8683 when reduced to zero length (evanescent), to prevent overlay
8684 leakage.
8685
887a0b34
GM
86862011-06-30 Glenn Morris <rgm@gnu.org>
8687
94b9acce
GM
8688 * w32-fns.el (w32-charset-info-alist): Declare.
8689
1d9b46d4
GM
8690 * find-dired.el (find-grep-options): Simplify.
8691
cc232200
GM
8692 * term/ns-win.el (ns-set-resource): Declare.
8693
28e77c46
GM
8694 * ses.el (row, col): Declare dynamic variables honestly.
8695
887a0b34
GM
8696 * textmodes/reftex-parse.el (index-tags): Declare.
8697
658d8eb8
CY
86982011-06-30 Chong Yidong <cyd@stupidchicken.com>
8699
8700 * cus-edit.el (customize-push-and-save): New function.
8701
8702 * files.el (hack-local-variables-confirm): Use it.
8703
1fa280a3
LM
8704 * custom.el (load-theme): New arg NO-CONFIRM.
8705 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8706 (custom-enabled-themes): Doc fix.
8707
8708 * cus-theme.el (customize-create-theme)
8709 (custom-theme-merge-theme): Callers to load-theme changed.
8710
bb617717
LMI
87112011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8712
d61bdd5d
LMI
8713 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8714 short URLs have at least one dot in them (bug #7614).
8715
bb617717
LMI
8716 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8717 nil, because using a pty is apparently too slow (bug #895).
8718
2f31f37a
LMI
87192011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8720
8721 * mail/sendmail.el (sendmail-query-once): New function.
8722 (sendmail-query-once-function): New variable.
8723
3076b24e
GM
87242011-06-29 Glenn Morris <rgm@gnu.org>
8725
faf2a174
GM
8726 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8727
3076b24e
GM
8728 * ses.el (top-level): Require cl when compiling.
8729 (ses-set-localvars): Fix error statement.
8730 Call it at compile time to silence a storm of warnings.
8731
5386012d
MR
87322011-06-29 Martin Rudalics <rudalics@gmx.at>
8733
8734 * window.el (normalize-live-buffer): Rename to
8735 window-normalize-buffer.
8736 (normalize-live-frame): Rename to window-normalize-frame.
8737 (normalize-any-window): Rename to window-normalize-any-window.
8738 (normalize-live-window): Rename to window-normalize-live-window.
8739 (make-window-atom): Rename to window-make-atom.
8740 (window-resize-reset): Rename to window--resize-reset.
8741 (window-resize-reset-1): Rename to window--resize-reset-1.
8742 (resize-mini-window): Rename to window--resize-mini-window.
8743 (resize-subwindows-skip-p): Rename to
8744 window--resize-subwindows-skip-p.
8745 (resize-subwindows-normal): Rename to
8746 window--resize-subwindows-normal.
8747 (resize-subwindows): Rename to window--resize-subwindows.
8748 (resize-other-windows): Rename to window--resize-siblings.
8749 (resize-this-window): Rename to window--resize-this-window.
8750 (resize-root-window): Rename to window--resize-root-window.
8751 (resize-root-window-vertically): Rename to
8752 window--resize-root-window-vertically.
8753 (normalize-buffer-to-display): Rename to
8754 window-normalize-buffer-to-display.
8755 (normalize-buffer-to-switch-to): Rename to
8756 window-normalize-buffer-to-switch-to.
8757 Correspondingly update all callers of the functions listed
8758 above.
8759 (display-buffer-alist, display-buffer-normalize-arguments)
8760 (display-buffer-normalize-options, display-buffer)
8761 (display-buffer-alist-set): Use "function" instead of
8762 "fun-with-args".
8763
1176868d
CY
87642011-06-28 Chong Yidong <cyd@stupidchicken.com>
8765
8766 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8767 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8768 debbugs.gnu.org. Mention acknowledgment email.
8769
20a7a65f
LMI
87702011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8771
8772 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8773 buffer multibyteness, since it shouldn't matter.
8774
5f45cca5
MR
87752011-06-28 Martin Rudalics <rudalics@gmx.at>
8776
8777 * window.el (display-buffer-in-side-window): Handle dedicated
8778 windows as in display-buffer-reuse-window.
8779 (display-buffer-normalize-alist): Use value of override
8780 specifier.
8781 (display-buffer-normalize-specifiers): Use value of
8782 other-window-means-other-frame specifier.
8783 (display-buffer-alist): Rewrite some texts in widgets.
8784 (display-buffer): Spread arguments when calling function
8785 specified by fun-with-args.
8786
ad85fe1f
DD
87872011-06-28 Deniz Dogan <deniz@dogan.se>
8788
1fa280a3
LM
8789 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8790 Unnest `let'.
da68c4c8 8791
ad85fe1f
DD
8792 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8793 selectors (Bug#5732).
ec49bd31 8794 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8795
a08cc025
JA
87962011-06-27 Jari Aalto <jari.aalto@cante.net>
8797
8798 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8799 (eshell-ls-date-format): New defcustom.
8800 (eshell-ls-file): Use it.
8801
e2b551c5
SM
88022011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8805
8982b231
KY
88062011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8807
8808 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8809 (ange-ftp-make-tmp-name): New arg.
8810 (ange-ftp-file-local-copy): Use it.
8811
36c9fa27
J
88122011-06-27 Jambunathan K <kjambunathan@gmail.com>
8813
8814 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8815 no-conversion (Bug#8870).
8816
d68443dc
MR
88172011-06-27 Martin Rudalics <rudalics@gmx.at>
8818
8819 * window.el (window-right, window-left, window-child)
8820 (window-child-count, window-last-child)
8821 (window-iso-combination-p, walk-window-tree-1)
8822 (window-atom-check-1, window-tree-1, delete-window)
8823 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8824 new naming conventions - window-vchild, window-hchild,
8825 window-next and window-prev are now called window-top-child,
8826 window-left-child, window-next-sibling and window-prev-sibling
8827 respectively.
d615d6d2
MR
8828 (resize-window-reset): Rename to window-resize-reset.
8829 (resize-window-reset-1): Rename to window-resize-reset-1.
8830 (resize-window): Rename to window-resize.
8831 (window-min-height, window-min-width)
8832 (resize-mini-window, resize-this-window, resize-root-window)
8833 (resize-root-window-vertically, adjust-window-trailing-edge)
8834 (enlarge-window, shrink-window, maximize-window)
8835 (minimize-window, delete-window, quit-restore-window)
8836 (split-window, balance-windows, balance-windows-area-adjust)
8837 (balance-windows-area, window-state-put-2)
8838 (display-buffer-even-window-sizes, display-buffer-set-height)
8839 (display-buffer-set-width, set-window-text-height)
8840 (fit-window-to-buffer): Rename all "resize-window" prefixed
8841 calls to use the "window-resize" prefix convention.
8842 (display-buffer-alist): Fix symbol for label specifier.
8843 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8844 corresponding specifier.
8845 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8846
b6458526
VB
88472011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8848
8849 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8850 convention.
8851 (ses-call-printer): Does not pass an empty string to formatter when the
8852 cell is empty to keep from barking printer Calc math-format-value.
8853
d31fd9ac
RS
88542011-06-27 Richard Stallman <rms@gnu.org>
8855
43d5bf84
RS
8856 * battery.el (battery-mode-line-limit): New variable.
8857 (battery-update): Handle it.
8858
d31fd9ac
RS
8859 * mail/rmailmm.el (rmail-mime-process-multipart):
8860 Handle truncated messages.
8861
819a6054
GM
88622011-06-27 Glenn Morris <rgm@gnu.org>
8863
8864 * progmodes/flymake.el (flymake-err-line-patterns):
8865 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8866
cedc73f2
VB
88672011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8868
819a6054 8869 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8870 (ses--clean-!, ses--clean-_): New functions.
8871 (ses-range): Add configurability of readout order, and conversion
8872 to Calc vector.
8873
5e5d49b6
VB
8874 * ses.el (ses-repair-cell-reference-all): New function.
8875 (ses-cell-symbol): Set macro as safe, so that it can be used in
8876 formulas.
8877
56e6cc31 8878 * ses.el: Update cycle detection algorithm.
90ca8b49 8879 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8880 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8881 (ses-set-localvars): New function.
8882 (ses-make-cell): Add property-list as a cell element.
8883 (ses-cell-property-get-fun, ses-cell-property-get)
8884 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8885 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8886 New functions.
90ca8b49
VB
8887 (ses-cell-property-set, ses-cell-property-pop)
8888 (ses-cell-property-get-handle): New macro.
8889 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8890 New aliases, used for code readability.
8891 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8892 cycle detection.
8893 (ses-self-reference-early-detection): New defcustom.
fac916bf 8894 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8895 (ses-mode): Use ses-set-localvars.
8896 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8897 before lauching the update processing.
8898 (ses-initialize-Dijkstra-attempt): New function.
8899 (ses-recalculate-cell): Update for cycle detection based on
8900 Dijkstra algorithm.
8901
2bb63e81
VB
8902 * ses.el: Fix commenting and indenting convention.
8903
c9d29fb8
SM
89042011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8905
8906 * bs.el (bs-cycle-next): Complete last change.
8907
d8e4b68b
JB
89082011-06-27 Drew Adams <drew.adams@oracle.com>
8909
8910 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8911
40098786
LMI
89122011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8913
c9d29fb8
SM
8914 * net/network-stream.el (network-stream-open-starttls):
8915 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8916 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8917
40098786
LMI
8918 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8919 to binary to possibly avoid line encoding issues on Windows (among
8920 other things).
8921
468d09d4
LMI
89222011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8923
8924 * net/network-stream.el (open-network-stream): Return an :error
8925 saying what the problem was, if possible.
8926
8927 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8928 server.
8929
8930 * net/network-stream.el (network-stream-open-starttls): If we
8931 wanted to use STARTTLS, and the server offered it, but we weren't
8932 able to because we had no STARTTLS support, then close the connection.
8933 (open-network-stream): Return an :error element, if present.
8934
16f07dd7
CY
89352011-06-26 Chong Yidong <cyd@stupidchicken.com>
8936
88821ca0
CY
8937 * hl-line.el (hl-line-sticky-flag): Doc fix.
8938 (global-hl-line-sticky-flag): New option (Bug#8323).
8939 (global-hl-line-highlight): Obey it.
8940
16f07dd7
CY
8941 * vc/vc.el (vc-revert-show-diff): Default to t.
8942
6b5ccddf
KM
89432011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8944
c9d29fb8
SM
8945 * allout-widgets.el (allout-widgets-post-command-business):
8946 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8947 undecorated when an isearch is continued past, and isearch
8948 automatically collapses them. This leads to "widget leaks", where
8949 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8950 hidden widgets can slow down cursor travel, substantially.
8951 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8952 so we're doing without this nicety.
8953
8954 (allout-widgets-tally-string): Don't try to do a hash-table-count
8955 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8956 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8957 *Messages* when allout-widgets-maintain-tally is t.
8958
355f2e07
MR
89592011-06-26 Martin Rudalics <rudalics@gmx.at>
8960
8961 * window.el (display-buffer-normalize-argument): Rename to
8962 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8963 LABEL argument. Respect special-display-function when popping up
8964 a new frame. Fix code searching for a window showing the buffer
8965 on another frame.
c9d29fb8
SM
8966 (display-buffer-normalize-specifiers):
8967 Call display-buffer-normalize-arguments.
355f2e07
MR
8968 (display-buffer-in-window): Don't undedicate the window if its
8969 buffer remains the same.
8970 Reported by Drew Adams <drew.adams@oracle.com>.
8971 (display-buffer-alist): Add choice for same-window macro
8972 specfier.
8973 (display-buffer): Mention special meaning of LABEL argument in
8974 doc-string. Fix quoting. Don't pop up a new frame even as
8975 fallback.
8976
7ca8fc42
JB
89772011-06-26 Juanma Barranquero <lekktu@gmail.com>
8978
8979 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8980 avoid deleting the current window in some cases (bug#8911).
8981
bc312254
AS
89822011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8983
8984 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8985 (Bug#8934)
8986
2db18f3f
LMI
89872011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8988
c9d29fb8
SM
8989 * net/network-stream.el (network-stream-open-starttls):
8990 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8991 (network-stream-open-tls): Ditto.
8992
6302e0d3
LL
89932011-06-26 Leo Liu <sdl.web@gmail.com>
8994
8995 * register.el (registerv): New struct.
8996 (registerv-make): New function.
c9d29fb8
SM
8997 (jump-to-register, describe-register-1, insert-register):
8998 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8999 struct. (Bug#8415)
9000
5fdd4046
CY
90012011-06-26 Chong Yidong <cyd@stupidchicken.com>
9002
2afef60a
CY
9003 * vc/vc.el (vc-revert-show-diff): New defcustom.
9004 (vc-diff-internal): New arg specifying diff buffer.
9005 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9006 reuse an existing *vc-diff* buffer (Bug#8927).
9007
5fdd4046
CY
9008 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9009
e93db24a
GM
90102011-06-26 Glenn Morris <rgm@gnu.org>
9011
9012 * progmodes/f90.el (f90-critical-indent): New option.
9013 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9014 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9015 (f90-mode): Doc fix.
9016 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9017 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9018 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9019 (f90-match-end): Handle block, critical.
9020
eefff499
GM
90212011-06-25 Glenn Morris <rgm@gnu.org>
9022
f6ba4cc9
GM
9023 * calendar/diary-lib.el (diary-included-files): Doc fix.
9024 (diary-include-files): New function, extracted from
9025 diary-include-other-diary-files and diary-mark-included-diary-files.
9026 (diary-include-other-diary-files, diary-mark-included-diary-files):
9027 Just call diary-include-files.
9028 (diary-mark-entries): Reset diary-included-files on first call.
9029
16712304
GM
9030 * calendar/diary-lib.el (diary-mark-entries)
9031 (diary-mark-included-diary-files):
9032 Visit included diary-files in temp buffers.
9033
5d8e0d43
GM
9034 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9035 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9036 (f90-start-block-re, f90-imenu-generic-expression)
9037 (f90-looking-at-program-block-start, f90-no-block-limit):
9038 Add support for submodules.
9039
ccf7a5d5
GM
9040 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9041 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9042
11fdef7d 90432011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9044
9045 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9046 buffer-file-type before setting its value, to avoid disastrous
eefff499 9047 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9048
74f53697
JB
90492011-06-25 Juanma Barranquero <lekktu@gmail.com>
9050
9051 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9052
9053 * ses.el (ses-unload-function):
9054 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9055
9056 * proced.el (proced-unload-function):
9057 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9058
18a4ce5e
AR
90592011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9060
9061 * server.el (server-create-window-system-frame): Add parameters arg.
9062 (server-process-filter): Doc fix. Handle frame-parameters.
9063
519d22cc
JB
90642011-06-25 Juanma Barranquero <lekktu@gmail.com>
9065
9066 Fix bug#8730, bug#8781.
9067
9068 * loadhist.el (unload--set-major-mode): New function.
9069 (unload-feature): Use it.
9070
9071 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9072 (python-unload-function): New function.
9073
c206f5b0
SM
90742011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9077
f9ad64f3
GS
90782011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9079
9080 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9081 the candidates list.
9082
7d0da90e
JB
90832011-06-24 Juanma Barranquero <lekktu@gmail.com>
9084
9085 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9086
14b4e83d
RS
90872011-06-23 Richard Stallman <rms@gnu.org>
9088
9089 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9090 (rmail-variables): Set next-error-move-function.
9091 (rmail-what-message): Take argument POS.
9092 (rmail-next-error-move): New function.
9093
273d2baf
SM
90942011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9095
9096 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9097 messages for adjacent non-terminals.
9098
56c2cc9a
RS
90992011-06-23 Richard Stallman <rms@gnu.org>
9100
9101 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9102 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9103 (rmail-start-mail): Don't specify use of rmail-mail-return;
9104 that's done by mail-bury now.
9105 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9106
d59eb518
MA
91072011-06-23 Michael Albinus <michael.albinus@gmx.de>
9108
9109 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9110 SIZE is a number.
9111
02cfc6d6
MR
91122011-06-23 Martin Rudalics <rudalics@gmx.at>
9113
9114 * window.el (get-lru-window, get-mru-window)
9115 (get-largest-window): Never return a minibuffer window.
9116 (display-buffer-pop-up-window): Fix a bug that could lead to
9117 reusing the minibuffer window.
9118 (display-buffer): Pass original specifier argument to
9119 display-buffer-function instead of the normalized one.
9120 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9121
4e323265
LL
91222011-06-22 Leo Liu <sdl.web@gmail.com>
9123
9124 * minibuffer.el (completing-read-function)
9125 (completing-read-default): Move from minibuf.c
9126
7a70468f
RS
91272011-06-22 Richard Stallman <rms@gnu.org>
9128
50718fc2
RS
9129 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9130 to Rmail even if not started by a special Rmail command.
9131
7a70468f
RS
9132 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9133 Copy the buffer currently showing just one message.
9134
297dde5a
RW
91352011-06-22 Roland Winkler <winkler@gnu.org>
9136
9137 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9138 (bibtex-clean-entry): First delete the old key so that a
9139 customized algorithm for generating the new key does not get
9140 confused by the old key.
9141 (bibtex-url): Obey regexp of first step.
9142 (bibtex-search-entries): Do not use add-to-list with local
9143 list-var.
9144
97bb1093
LMI
91452011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9146
9147 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9148 stored a user name, then query for the password first, instead of
9149 waiting for SMTP to give an error message and the trying again.
9150
1c0f1a19
JD
91512011-06-22 Lawrence Mitchell <wence@gmx.li>
9152
9153 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9154 BUFFER in call-process.
9155
396f7c9d
LMI
91562011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9157
9158 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9159 QUIT twice.
ddb7ffee
LMI
9160 (smtpmail-try-auth-methods): Require user name and password from
9161 auth-source.
396f7c9d 9162
8998d1b3
MR
91632011-06-22 Martin Rudalics <rudalics@gmx.at>
9164
9165 * window.el (display-buffer-default-specifiers)
9166 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9167 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9168 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9169
9170 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9171 (special-display-frame-alist, special-display-popup-frame):
9172 Remove duplicate declarations. These are now in window.el.
9173
4ea31e07
LMI
91742011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9175
c9d29fb8
SM
9176 * mail/smtpmail.el (smtpmail-via-smtp):
9177 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9178 server supports it. SMTP servers that support STARTTLS commonly
9179 require it.
9180
9181 * net/network-stream.el (network-stream-open-starttls): Support
9182 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9183 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9184
95f41d9a
LMI
9185 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9186 upgrades with `open-network-stream', and rely solely on
9187 auth-source for all credentials. Big changes throughout the file,
9188 but in particular:
c9d29fb8
SM
9189 (smtpmail-auth-credentials): Remove.
9190 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9191 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9192 MAIL FROM, too.
95f41d9a 9193
c9d29fb8
SM
9194 * net/network-stream.el (network-stream-open-starttls):
9195 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9196 STARTTLS.
9197 (auth-source): Require.
9198 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9199 (network-stream-certificate): Change cert-cert to cert and
9200 cert-key to key.
4ea31e07 9201
065ec2c7
MA
92022011-06-21 Michael Albinus <michael.albinus@gmx.de>
9203
9204 * net/tramp-cache.el (top): Don't load the persistency file when
9205 "emacs -Q" has been called.
9206
cd93b359
DR
92072011-06-21 Tim Harper <timcharper@gmail.com>
9208
d8e4b68b
JB
9209 * term/ns-win.el (ns-initialize-window-system):
9210 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9211 resource to NO as it is not yet supported by the NS port.
9212
ae9c0411
JB
92132011-06-21 Juanma Barranquero <lekktu@gmail.com>
9214
9215 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9216 (list-dynamic-libraries): ...not here.
9217
7f3f739f
LL
92182011-06-21 Leo Liu <sdl.web@gmail.com>
9219
9220 * subr.el (sha1): Implement sha1 using secure-hash.
9221
327c8fb1
MR
92222011-06-21 Martin Rudalics <rudalics@gmx.at>
9223
9224 * window.el (display-buffer-alist): In default value do not
9225 enforce searching a window on any but the selected frame.
9226 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9227 (display-buffer-select-window): Remove function.
9228 (display-buffer-in-window): When a window on another frame gets
9229 reused, do not select it any more but just raise its frame if
9230 necessary (Bug#8851) and (Bug#8856).
9231 (display-buffer-normalize-options): Handle pop-up-frames related
9232 options more faithfully.
9233 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9234 window if it is on another frame.
c9d29fb8
SM
9235 (display-buffer-alist, display-buffer-default-specifiers):
9236 Don't make new frame unsplittable by default.
9e9de014
MR
9237 (display-buffer-normalize-argument): Fix doc-string typo and use
9238 'same-frame-other-window instead of 'other-window when associating
9239 with display-buffer-macro-specifiers.
327c8fb1 9240
7cf3f556
VB
92412011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9242
9243 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9244 New functions.
9245 (5x5-mode-map, 5x5-mode-menu): Bind them.
9246 (5x5-draw-grid): Tweak the solver's rendering.
9247
60a406cf
SM
92482011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9249
9250 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9251 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9252
d8e4b68b 92532011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9254
9255 * menu-bar.el: Use function variable instead of switch-to-buffer.
9256 (menu-bar-select-buffer-function): New variable.
60a406cf 9257 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9258
478d6f95
SM
92592011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9262 variable's status.
9263
ca530739
JD
92642011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9265
9266 * x-dnd.el (x-dnd-version-from-flags)
9267 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9268 and long as number (Bug#8899).
9269 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9270
bcd70d97
SM
92712011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9272
60a406cf 9273 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9274 (completion-try-completion, completion-all-completions): Compute the
9275 metadata argument if it's missing; make it optional (bug#8795).
9276
60a406cf 9277 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9278 (widget-complete): Use new :completion-function property.
9279 (widget-completions-at-point): New function.
9280 (default): Use :completion-function instead of :complete.
60a406cf
SM
9281 (widget-default-completions): Rename from widget-default-complete;
9282 Rewrite.
bcd70d97
SM
9283 (widget-string-complete, widget-file-complete, widget-color-complete):
9284 Remove functions.
9285 (file, symbol, function, variable, coding-system, color):
9286 * international/mule-cmds.el (default-input-method, charset)
9287 (language-info-custom-alist):
9288 * cus-edit.el (face): Use new property :completions.
9289
9290 * progmodes/pascal.el (pascal-completions-at-point): New function.
9291 (pascal-mode): Use it.
9292 (pascal-mode-map): Use completion-at-point.
9293 (pascal-toggle-completions): Make obsolete.
9294 (pascal-complete-word, pascal-show-completions):
9295 * progmodes/octave-mod.el (octave-complete-symbol):
9296 Redefine as obsolete alias.
9297 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9298 Signal absence of completion info for old Octave,
9299 (inferior-octave-complete): Redefine as obsolete alias.
9300 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9301 (meta-completions-at-point): Rename from meta-complete-symbol and
9302 adapt it for use on completion-at-point-functions.
9303 (meta-common-mode): Use it.
9304 (meta-looking-at-backward, meta-match-buffer): Remove.
9305 (meta-complete-symbol): Redefine as obsolete alias.
9306 (meta-common-mode-map): Use completion-at-point.
9307 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9308 (makefile-mode-map): Use completion-at-point.
9309 (makefile-completions-at-point): Rename from makefile-complete and
9310 adapt it for use on completion-at-point-functions.
9311 (makefile-mode): Use it.
9312 (makefile-complete): Redefine as obsolete alias.
9313
aebf69c8
DD
93142011-06-20 Deniz Dogan <deniz@dogan.se>
9315
9316 * net/rcirc.el: Delete trailing whitespaces once and for all.
9317
bfbbb27d
DC
93182011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9319
9320 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9321
d264a46b
CY
93222011-06-19 Chong Yidong <cyd@stupidchicken.com>
9323
4ca009e5
CY
9324 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9325
d264a46b
CY
9326 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9327
fbf5b3ce
MR
93282011-06-19 Martin Rudalics <rudalics@gmx.at>
9329
9330 * window.el (display-buffer-other-window-means-other-frame):
9331 Call display-buffer-normalize-alist.
9332 (display-buffer-normalize-specifiers-1): Rename to
9333 display-buffer-normalize-argument. New argument other-frame.
9334 Rewrite.
9335 (display-buffer-normalize-specifiers-2): Rename to
9336 display-buffer-normalize-options.
9337 (display-buffer-normalize-alist-1): New function.
9338 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9339 display-buffer-normalize-alist.
9340 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9341 (display-buffer-normalize-options-inhibit): New variable.
9342 (display-buffer-normalize-specifiers): Rewrite calling
9343 display-buffer-normalize-alist,
9344 display-buffer-normalize-argument, and
9345 display-buffer-normalize-options. Don't call the latter if
9346 display-buffer-normalize-options-inhibit is non-nil.
9347 (frame-auto-delete): New option.
9348 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9349 (window-list-no-nils, window-state-ignored-parameters)
9350 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9351 (window-state-put-1, window-state-put-2, window-state-put):
9352 New functions.
9a028c23
MR
9353 (display-buffer-normalize-options): Move special-display-p group
9354 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9355
6d10d800
CY
93562011-06-18 Chong Yidong <cyd@stupidchicken.com>
9357
6420d28b
CY
9358 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9359 groups (Bug#8776).
9360 (rx-submatch-n): New function.
9361 (rx): Document it.
9362
ddb8b596
CY
9363 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9364 (Bug#8768).
9365
9366 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9367
77080289
CY
9368 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9369
61dfb316
CY
9370 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9371 anytime existing face settings are present (Bug#8889).
9372
6d10d800
CY
9373 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9374 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9375 Remove unused argument.
9376
be3fb2b8
MR
93772011-06-18 Martin Rudalics <rudalics@gmx.at>
9378
bcd70d97
SM
9379 * window.el (display-buffer-default-specifiers):
9380 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9381 pop-up-window-min-width, and another reuse-window specifier
9382 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9383 (display-buffer-normalize-specifiers-2):
9384 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9385 pop-up-windows is unset. Add a reuse-window specifier for the
9386 case popping up a new window fails.
9387 (special-display-popup-frame): Remove double quoting.
28dec25a 9388 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9389
1c6d8c76
SM
93902011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9393 according to comint-completion-addsuffix.
9394
9395 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9396 (pcomplete-suffix-list): Mark as obsolete.
9397 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9398 pcomplete-seen in the closure.
9399 (pcomplete-comint-setup): Setup completion-at-point as well.
9400 (pcomplete--entries): New function.
9401 (pcomplete--env-regexp): New var.
9402 (pcomplete-entries): Rewrite to work with partial-completion and
9403 without relying on pcomplete-suffix-list.
9404 (pcomplete-pare-list): Remove, unused.
9405
25aef8b8
MR
94062011-06-17 Martin Rudalics <rudalics@gmx.at>
9407
9408 * window.el (display-buffer-alist): Set pop-up-window-min-height
9409 and pop-up-window-min-width in default value. Reported by
9410 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9411 other-window-means-other-frame.
9412 (display-buffer-macro-specifiers): Comment out entry for
9413 other-window specifier.
9414 (display-buffer-other-window-means-other-frame): New function.
9415 (display-buffer-normalize-specifiers-1): New arguments
9416 buffer-name and label. Treat other-window case specially.
9417 (display-buffer-normalize-specifiers-2): Treat other-window case
9418 specially.
9419 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9420 (display-buffer-normalize-specifiers):
9421 Call display-buffer-normalize-specifiers-3.
25aef8b8 9422
dbad4f69
MR
94232011-06-17 Martin Rudalics <rudalics@gmx.at>
9424
9425 * window.el (same-window-p): Fix two typos introduced when
9426 adding with-no-warnings.
d1067961
MR
9427 (display-buffer-normalize-specifiers-1): Don't check
9428 pop-up-frames for 'unset initialization.
9429 (display-buffer-normalize-specifiers-2): Major rewrite using
9430 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9431 (pop-up-frames, display-buffer-reuse-frames)
9432 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9433 Suggested by David Engster <deng@randomsample.de>.
9434 (even-window-heights): Initialize to 'unset.
9435 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9436 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9437 other window case.
dbad4f69 9438
9b9c9e3a
MR
94392011-06-16 Martin Rudalics <rudalics@gmx.at>
9440
bcd70d97
SM
9441 * window.el (display-buffer-normalize-specifiers-1):
9442 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9443 second argument of display-buffer (Bug#8865).
981d5c09
MR
9444 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9445 (switch-to-buffer-other-window-same-frame)
9446 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9447 Adams (Bug#8875).
9c2755e9
MR
9448 (display-buffer): Don't check noninteractive when calling
9449 display-buffer-pop-up-frame.
9450 (display-buffer-pop-up-frame): Never pop up a frame in
9451 noninteractive mode (Bug#8857).
67222e1d
MR
9452 (enlarge-window, shrink-window): Don't report an error when the
9453 window can't be resized as requested (Bug#8862).
9b9c9e3a 9454
2b75be67
SM
94552011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9ffdd3ba
SM
9457 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9458
cb581a67
SM
9459 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9460
2b75be67
SM
9461 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9462
8c0e3589
AM
94632011-06-15 Alan Mackenzie <acm@muc.de>
9464
cb581a67
SM
9465 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9466 for declarators, disable knr checking to speed up for normal files.
9467 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9468
b96e6cde
LMI
94692011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9470
4bba86e6
LMI
9471 * net/network-stream.el (open-network-stream): Add the keyword
9472 :always-query-capabilities for the case where you want to force a
9473 `plain' network connection, but the protocol still requires the
9474 capabilitiy command (i.e., SMTP and EHLO).
9475
2b75be67 9476 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9477 consistency with other `-live-p' functions.
9478
efdcdbf8
SM
94792011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * window.el (same-window-buffer-names, same-window-regexps)
9482 (special-display-frame-alist, special-display-popup-frame)
9483 (special-display-function, special-display-buffer-names)
9484 (special-display-regexps, pop-up-frame-alist)
9485 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9486 (pop-up-windows, split-window-preferred-function)
9487 (split-height-threshold, split-width-threshold, even-window-heights)
9488 (display-buffer-mark-dedicated): Don't encourage the use of
9489 display-buffer-alist from Elisp code.
9490
c5cde042
DN
94912011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9492
9493 * progmodes/python.el (python-mode): Derive from prog-mode.
9494 * progmodes/ps-mode.el (ps-mode):
9495 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9496 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9497 * progmodes/ld-script.el (ld-script-mode): Likewise.
9498
baa1c9ab
MR
94992011-06-15 Martin Rudalics <rudalics@gmx.at>
9500
9501 * window.el (display-buffer-alist): Trim default value to avoid
9502 popping up a new frame (Bug#8857) or reusing an arbitrary window
9503 on another frame.
9504 (display-buffer): Do not fall back on popping up a new frame in
9505 batch mode (Bug#8857).
9506
c5dd5a51
CY
95072011-06-14 Chong Yidong <cyd@stupidchicken.com>
9508
9509 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9510 (custom-theme-summary): New function.
9511 (customize-themes): Use it.
9512
d647b7c4
GM
95132011-06-13 Glenn Morris <rgm@gnu.org>
9514
9515 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9516
9481c002
MR
95172011-06-13 Martin Rudalics <rudalics@gmx.at>
9518
357f93d2
MR
9519 * help.el (help-window): Remove variable.
9520 (help-window-point-marker, temp-buffer-max-height)
9521 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9522 (help-print-return-message): Don't set help-window.
9523 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9524 (help-window-setup-finish): Remove.
9525 (help-window-display-message, help-window-setup)
9526 (with-help-window): Major rewrite based on new
9527 display-buffer-window variable.
9528
9529 * help-mode.el (help-mode-finish): Remove help-window related
9530 code.
9531
9532 * view.el (view-exits-all-viewing-windows): Remove reference to
9533 view-return-to-alist in doc-string.
9534 (view-return-to-alist): Make obsolete.
9535 (view-buffer): Call pop-to-buffer-same-window and remove
9536 undo-window code.
9537 (view-buffer-other-window): Call pop-to-buffer-other-window and
9538 simplify code. Ignore second argument.
9539 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9540 simplify code. Ignore second argument.
9541 (view-return-to-alist-update): Make obsolete.
9542 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9543 Rewrite using quit-restore window parameters.
2b75be67
SM
9544 (view-mode-exit): Rename second argument to EXIT-ONLY.
9545 Rewrite using quit-restore-window.
357f93d2
MR
9546 (View-exit, View-exit-and-edit, View-leave, View-quit)
9547 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9548 appropriate arguments.
9549 (view-end-message): Use quit-restore window parameter.
9550
9481c002
MR
9551 * window.el (display-buffer-function): Rewrite doc-string.
9552 (display-buffer-window, display-buffer-alist): New variables.
9553 (display-buffer-split-specifiers)
9554 (display-buffer-side-specifiers)
9555 (display-buffer-macro-specifiers): New constants.
9556 (display-buffer-even-window-sizes, display-buffer-set-height)
9557 (display-buffer-set-width, display-buffer-select-window)
9558 (display-buffer-in-window, display-buffer-reuse-window)
9559 (display-buffer-split-window-1, display-buffer-split-window)
9560 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9561 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9562 (display-buffer-in-side-window, normalize-buffer-to-display)
9563 (display-buffer-normalize-specifiers-1)
9564 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9565 (display-buffer-normalize-specifiers, display-buffer-frame):
9566 New functions.
9481c002
MR
9567 (display-buffer): Major rewrite.
9568 (display-buffer-other-window, display-buffer-other-frame)
9569 (pop-to-buffer, switch-to-buffer-other-window)
9570 (switch-to-buffer-other-frame): Rewrite.
9571 (display-buffer-same-window, display-buffer-same-frame)
9572 (display-buffer-same-frame-other-window)
9573 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9574 (pop-to-buffer-other-window)
9575 (pop-to-buffer-same-frame-other-window)
9576 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9577 (switch-to-buffer-other-window-same-frame): New functions.
9578 (same-window-p, special-display-p): Rewrite disabling warnings.
9579 Make obsolete.
9580 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9581 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9582 Make obsolete
9583 (same-window-buffer-names, same-window-regexps)
9584 (special-display-frame-alist, special-display-popup-frame)
9585 (special-display-function, special-display-buffer-names)
9586 (special-display-regexps, pop-up-frame-alist)
9587 (pop-up-frame-function, split-window-preferred-function)
9588 (split-height-threshold, split-width-threshold)
9589 (even-window-heights): Make obsolete.
9590
9db51aca
GM
95912011-06-12 Glenn Morris <rgm@gnu.org>
9592
9593 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9594 Misc simplifications.
9db51aca 9595
39cffb44
MR
95962011-06-12 Martin Rudalics <rudalics@gmx.at>
9597
9598 * window.el (window-safely-shrinkable-p): Restore function which
9599 was inadvertently removed in change from 2011-06-11. Declare as
9600 obsolete.
9601
2b75be67
SM
9602 * calendar/calendar.el (calendar-generate-window):
9603 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9604 window-safely-shrinkable-p.
9605
a8955be7
GM
96062011-06-12 Glenn Morris <rgm@gnu.org>
9607
9608 * progmodes/fortran.el (fortran-mode-syntax-table):
9609 * progmodes/f90.el (f90-mode-syntax-table):
9610 Set % to punctuation. (Bug#8820)
9611 (f90-find-tag-default): Remove, no longer needed.
9612
f0d4059d
DC
96132011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9614
9615 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9616
1100a63c
CY
96172011-06-11 Chong Yidong <cyd@stupidchicken.com>
9618
9619 * image.el (image-animated-p): Return animation delay in seconds.
9620 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9621 (image-animate-timeout): Remove DELAY argument. Don't assume
9622 every subimage has the same delay; get it from image-animated-p.
9623 (image-animate): Caller changed.
9624
def722bf
MA
96252011-06-11 Michael Albinus <michael.albinus@gmx.de>
9626
9627 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9628 to ignored backtrace functions.
9629
0a2bb1a9
GM
96302011-06-11 Glenn Morris <rgm@gnu.org>
9631
9632 * calendar/appt.el (appt-disp-window-function): Doc fix.
9633 (appt-check): Handle overlapping appointments. (Bug#8337)
9634
6198ccd0
MR
96352011-06-11 Martin Rudalics <rudalics@gmx.at>
9636
9637 * window.el (window-tree-1, window-tree): New functions, moving
9638 the latter to window.el.
9639 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9640 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9641 (bw-refresh-edges): Remove.
9642 (balance-windows-1, balance-windows-2): New functions.
9643 (balance-windows): Rewrite in terms of window tree functions,
9644 balance-windows-1 and balance-windows-2.
9645 (bw-adjust-window): Remove.
9646 (balance-windows-area-adjust): New function with functionality of
9647 bw-adjust-window but using resize-window.
2b75be67
SM
9648 (set-window-text-height): Rewrite doc-string.
9649 Use normalize-live-window and resize-window.
9650 (enlarge-window-horizontally, shrink-window-horizontally):
9651 Rename argument to DELTA.
6198ccd0
MR
9652 (window-buffer-height): New function.
9653 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9654 Rewrite using new window resize routines.
2b75be67
SM
9655 (kill-buffer-and-window, mouse-autoselect-window-select):
9656 Use ignore-errors instead of condition-case.
6198ccd0
MR
9657 (quit-window): Call delete-frame instead of delete-windows-on
9658 for the only buffer on frame.
9659
9397e56f
MR
96602011-06-10 Martin Rudalics <rudalics@gmx.at>
9661
9662 * loadup.el (top-level): Load window before files for the sake
9663 of replace-buffer-in-windows.
9664
9665 * files.el (read-buffer-to-switch)
9666 (switch-to-buffer-other-window)
2b75be67
SM
9667 (switch-to-buffer-other-frame, display-buffer-other-frame):
9668 Move to window.el.
9397e56f
MR
9669
9670 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9671 (previous-buffer): Move to window.el.
9672
9673 * bindings.el (unbury-buffer): Move to window.el.
9674
9675 * window.el (delete-other-windows-vertically): Move after
9676 definition of delete-other-windows.
9677 (other-window, delete-windows-on, replace-buffer-in-windows):
9678 Move here from window.c.
9679 (record-window-buffer, unrecord-window-buffer)
9680 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9681 (switch-to-next-buffer): New functions.
9682 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9683 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9684 (previous-buffer): Move here from simple.el.
9685 Call switch-to-prev-buffer.
9397e56f
MR
9686 (bury-buffer): Move here from buffer.c. Switch to previous
9687 buffer when window cannot be deleted.
9688 (unbury-buffer): Move here from bindings.el.
9689 (ctl-x-map): Move binding for other-window from window.c to
9690 here.
9691 (read-buffer-to-switch, switch-to-buffer-other-window)
9692 (switch-to-buffer-other-frame): Move here from files.el.
9693 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9694 (switch-to-buffer): Move here from buffer.c.
9695 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9696
562dd5e9
MR
96972011-06-10 Martin Rudalics <rudalics@gmx.at>
9698
9699 * window.el (window-min-height, window-min-width): Move here
9700 from window.c. Add defcustoms and rewrite doc-strings.
9701 (resize-mini-window, resize-window): New functions.
9702 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9703 Move here from window.c.
9704 (maximize-window, minimize-window): New functions.
9705 (delete-window, delete-other-windows, split-window): Move here
9706 from window.c.
9707 (window-split-min-size): New function.
9708 (split-window-keep-point): Mention split-window-above-each-other
9709 instead of split-window-vertically.
2b75be67 9710 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9711 Rename split-window-vertically to split-window-above-each-other
9712 and provide defalias for old definition.
9713 (split-window-side-by-side, split-window-horizontally):
9714 Rename split-window-horizontally to split-window-side-by-side
9715 and provide defalias for the old definition.
562dd5e9
MR
9716 (ctl-x-map): Move bindings for delete-window,
9717 delete-other-windows and enlarge-window here from window.c.
9718 Replace bindings for split-window-vertically and
9719 split-window-horizontally by bindings for
9720 split-window-above-each-other and split-window-side-by-side.
9721
9722 * cus-start.el (all): Remove entries for window-min-height and
9723 window-min-width. Add entries for window-splits and
9724 window-nest.
9725
f0da764a
GM
97262011-06-09 Glenn Morris <rgm@gnu.org>
9727
80675c21
GM
9728 * calendar/appt.el (appt-mode-line): New function.
9729 (appt-check, appt-disp-window): Use it.
9730
f0da764a
GM
9731 * files.el (hack-one-local-variable-eval-safep):
9732 Allow minor-modes with explicit +/-1 arguments.
9733
59f623b7
TZ
97342011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9735
9736 * term/xterm.el (xterm): Add defgroup.
9737 (xterm-extra-capabilities): Add defcustom to supply known xterm
9738 capabilities, skip querying them, or query them (default).
9739 (terminal-init-xterm): Use it.
9740 (terminal-init-xterm-modify-other-keys): New function to set up
9741 modifyOtherKeys support to simplify `terminal-init-xterm'.
9742
9aab8e0d
MR
97432011-06-09 Martin Rudalics <rudalics@gmx.at>
9744
9745 * window.el (resize-window-reset, resize-window-reset-1)
9746 (resize-subwindows-skip-p, resize-subwindows-normal)
9747 (resize-subwindows, resize-other-windows, resize-this-window)
9748 (resize-root-window, resize-root-window-vertically)
9749 (window-deletable-p, window-or-subwindow-p)
9750 (frame-root-window-p): New functions.
9751
e8b08aee
GM
97522011-06-09 Glenn Morris <rgm@gnu.org>
9753
9754 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9755 (ange-ftp-get-files): Use it.
9756
254c37a5
AK
97572011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9758
9759 * mail/sendmail.el (mail-recover-1, mail-recover):
9760 * files.el (recover-file, recover-session):
9761 Handle dired-listing-switches not being just a single short option.
9762
35d7dbd3
GM
97632011-06-09 Glenn Morris <rgm@gnu.org>
9764
9765 * calendar/appt.el (appt-display-message, appt-disp-window):
9766 Handle lists of appointments.
9767
387522b2
MR
97682011-06-08 Martin Rudalics <rudalics@gmx.at>
9769
2b75be67
SM
9770 * window.el (one-window-p): Move down in code.
9771 Rewrite doc-string.
9772 (window-current-scroll-bars): Rewrite doc-string.
9773 Normalize live window argument.
387522b2
MR
9774 (walk-windows, get-window-with-predicate, count-windows):
9775 Rewrite doc-string. Use window-list-1.
9776 (window-in-direction-2, window-in-direction, get-mru-window):
9777 New functions.
9778
d8e4b68b 97792011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9780
9781 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9782 Doc fix (Bug#8713).
9783
97842011-06-08 Chong Yidong <cyd@stupidchicken.com>
9785
9786 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9787
97882011-06-08 Juanma Barranquero <lekktu@gmail.com>
9789
9790 * loadhist.el (unload-feature-special-hooks):
9791 Add `comint-output-filter-functions'.
9792
0de12c52
IK
97932011-06-08 Ivan Kanis <gnu@kanis.fr>
9794
9795 * calendar/appt.el (appt-check): Move some initializations into the let.
9796
f3d1777e
MR
97972011-06-08 Martin Rudalics <rudalics@gmx.at>
9798
9799 * window.el (window-height): Defalias to window-total-height.
9800 (window-width): Defalias to window-body-width.
9801
18af70d0
CY
98022011-06-07 Chong Yidong <cyd@stupidchicken.com>
9803
9804 * image-mode.el (image-toggle-animation): New command.
9805 (image-mode-map): Bind it to RET.
9806 (image-mode): Update message.
9807 (image-toggle-display-image): Avoid a spurious cache flush.
9808 (image-transform-rotation): Doc fix.
9809 (image-transform-properties): Return quickly in the normal case.
9810 (image-animate-loop): Rename from image-animate-max-time.
9811
2b75be67 9812 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9813 (create-animated-image): Remove unnecessary function.
9814 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9815 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9816 (image-animate-timer): Use car-safe.
9817 (image-animate-timeout): Rename argument.
9818
190b47e6
MR
98192011-06-07 Martin Rudalics <rudalics@gmx.at>
9820
9821 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9822 window.c. Rename first argument to ALL-FRAMES.
9823 Rephrase doc-strings.
9824 (get-buffer-window-list): Rewrite using window-list-1.
9825 Rephrase doc-string.
a1511caf
MR
9826 (window-safe-min-height, window-safe-min-width): New constants.
9827 (window-size-ignore, window-min-size, window-min-size-1)
9828 (window-sizable, window-sizable-p, window-size-fixed-1)
9829 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9830 (window-max-delta-1, window-max-delta, window-resizable)
9831 (window-resizable-p, window-total-height, window-total-width)
9832 (window-body-width): New functions.
9833 (window-full-height-p, window-full-width-p): Rewrite using
9834 window-total-size.
9835 (window-body-height): Rewrite using window-body-size.
190b47e6 9836
85cc1f11
MR
98372011-06-06 Martin Rudalics <rudalics@gmx.at>
9838
9839 * window.el (window-right, window-left, window-child)
9840 (window-child-count, window-last-child, window-any-p)
9841 (normalize-live-buffer, normalize-live-frame)
9842 (normalize-any-window, normalize-live-window)
9843 (window-iso-combination-p, window-iso-combined-p)
9844 (window-iso-combinations)
9845 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9846 (windows-with-parameter, window-with-parameter)
9847 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9848 (window-atom-check, window-side-check, window-check):
9849 New functions.
85cc1f11
MR
9850 (ignore-window-parameters, window-sides, window-sides-vertical)
9851 (window-sides-slots): New variables.
9852 (window-size-fixed): Move down in code. Minor doc-string fix.
9853
e7156492
AS
98542011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9855
9856 * comint.el (comint-dynamic-complete-as-filename)
9857 (comint-dynamic-complete-filename): Correctly call
9858 completion-in-region.
9859
7e821d0d
DD
98602011-06-05 Deniz Dogan <deniz@dogan.se>
9861
9862 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9863 in last change.
9864
ac09b8a1
DD
98652011-06-05 Deniz Dogan <deniz@dogan.se>
9866
9867 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9868 (rcirc): Use it to prompt for encryption.
9869
34699b85
RW
98702011-06-05 Roland Winkler <winkler@gnu.org>
9871
9872 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9873 (bibtex-search-entries): New command bound to C-c C-a.
9874 (bibtex-display-entries): New function.
9875
004dedd3
RW
98762011-06-05 Roland Winkler <winkler@gnu.org>
9877
9878 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9879 (bibtex-insert-kill): After yanking insert newline if necessary.
9880 (bibtex-initialize): Call bibtex-string-files-init only once.
9881 (bibtex-mode): Do not call easy-menu-add.
9882 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9883 (bibtex-yank): Set arg properly if nil.
9884
022fe7ce
RW
98852011-06-05 Roland Winkler <winkler@gnu.org>
9886
2b75be67
SM
9887 * textmodes/bibtex.el (bibtex-search-entry-globally):
9888 New variable.
022fe7ce
RW
9889 (bibtex-search-entry): Use it.
9890
b7c3692a
RW
98912011-06-05 Roland Winkler <winkler@gnu.org>
9892
9893 * textmodes/bibtex.el (bibtex-entry-format): New option
9894 sort-fields.
9895 (bibtex-format-entry, bibtex-reformat): Honor this option.
9896 (bibtex-parse-entry): Return fields in proper order.
9897
8eda563d
JB
98982011-06-05 Juanma Barranquero <lekktu@gmail.com>
9899
9900 * doc-view.el (doc-view-remove-if): Move computation of result out
9901 of `dolist' to silence misleading lexical-binding warning.
9902
7dbe3dbc
CY
99032011-06-04 Chong Yidong <cyd@stupidchicken.com>
9904
9905 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9906 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9907
0c33dd17
MA
99082011-06-04 Michael Albinus <michael.albinus@gmx.de>
9909
9910 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9911 "SunOS 5.10".
9912
f8f91c2b
MA
99132011-06-04 Michael Albinus <michael.albinus@gmx.de>
9914
9915 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9916 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9917 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9918 (tramp-parse-putty):
9919 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9920 (tramp-completion-function-alist-ssh)
9921 (tramp-completion-function-alist-telnet)
9922 (tramp-completion-function-alist-su)
9923 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9924 cookie.
9925
9926 * net/tramp-ftp.el:
9927 * net/tramp-sh.el:
9928 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9929 load "tramp.el" `tramp-set-completion-function'.
9930
e17d9003
SM
99312011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9932
9933 * shell.el: Require and use pcomplete.
9934 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9935 (shell-completion-vars): Set pcomplete-default-completion-function.
9936
6c4cab03
DD
99372011-06-04 Deniz Dogan <deniz@dogan.se>
9938
9939 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9940 `memq' (Bug#8799).
9941
ea9fafe0
SM
99422011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9945
b3e945d3
JB
99462011-06-02 Juanma Barranquero <lekktu@gmail.com>
9947
9948 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9949 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9950 * vc/log-view.el (log-view-beginning-of-defun):
9951 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9952 (smerge-refine-forward, smerge-refine-chopup-region):
9953 Silence warning for unused `dotimes' counter variables.
9954
7d520089
SM
99552011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * net/tramp.el (tramp-with-progress-reporter): Rename from
9958 with-progress-reporter. Use `declare'.
9959 * net/tramp-smb.el:
9960 * net/tramp-sh.el:
9961 * net/tramp-gvfs.el: Update all uses.
9962
a1c2400f
JB
99632011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9964
9965 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9966 buffer isn't killed before making it current.
9967
2403c841
SM
99682011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 Silence various byte-compiler warnings.
9971 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9972 `access-type' and new obsolescence format.
9973 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9974 new format.
9975 (byte-compile-check-variable): New `access-type' argument.
9976 Only warn if the access-type is obsolete.
9977 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9978 (byte-compile-variable-set): Adjust callers.
9979 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9980 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9981 setting it as obsolete.
9982 * simple.el (minibuffer-completing-symbol):
9983 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9984 access as obsolete.
9985 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9986 obsolete yet.
9987 * international/quail.el (quail-mouse-choose-completion): Remove unused
9988 code referring to obsolete var.
9989 (quail-choose-completion-string): Remove.
9990 * server.el (server-clients-with, server-kill-buffer-query-function)
9991 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9992 * proced.el (proced-send-signal):
9993 * emacs-lisp/lisp.el (lisp-complete-symbol):
9994 Replace completion-annotate-function with completion-extra-properties.
9995
2462470b
SM
99962011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9997
fb5b2591
SM
9998 * simple.el (goto-line): Use read-number.
9999 (overriding-map-is-bound): Remove.
10000 (saved-overriding-map): Change default.
10001 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10002 Take the map as argument.
10003 (universal-argument, negative-argument, digit-argument): Use it.
10004 (restore-overriding-map): Adjust.
10005 (do-auto-fill): Use fill-forward-paragraph.
10006 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10007
fd6fa53f
SM
10008 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10009 (minibuffer-inactive-mode): New major mode.
10010 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10011 the *Messages* buffer" hack.
10012 (mouse-popup-menubar): Don't burp if the event is a normal key.
10013
2462470b
SM
10014 Miscellaneous tweaks.
10015 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10016 lexical scoping as in subr.el's dolist and dotimes.
10017 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10018 Silence compiler warning.
10019 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10020 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10021 * international/ccl.el (ccl-compile): Trivial simplification.
10022 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10023 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10024 `printflag' argument.
10025 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10026 Purecopy the whole obsolescence data.
10027
108bf785
LL
100282011-06-01 Leo Liu <sdl.web@gmail.com>
10029
10030 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10031 improve doc-string as suggested by Marco Pessotto
10032 <melmothx@gmail.com>.
10033 (rcirc-print): Fix last change.
10034
30a23501
SM
100352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10036
10037 * minibuffer.el (complete-with-action): Return nil for the metadata and
10038 boundaries of non-functional tables.
10039 (completion-table-dynamic): Return nil for the metadata.
10040 (completion-table-with-terminator): Add default case, using
10041 complete-with-action.
10042 (completion--metadata): New function.
10043 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10044 to try and avoid pathological performance problems.
10045 (completion--embedded-envvar-table): Return `category' metadata.
10046
bcd54f83
LMI
100472011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10048
10049 * subr.el (process-alive-p): New tiny convenience function.
10050
e227544d
SM
100512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10054 content but also its previous major mode.
10055
e8296fdc
HE
100562011-05-31 Helmut Eller <eller.helmut@gmail.com>
10057
4d61f28d 10058 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10059 *Backtrace* buffer when we exit with C-M-c.
10060
620c53a6
SM
100612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * minibuffer.el: Add metadata method to completion tables.
10064 (completion-category-overrides): New defcustom.
10065 (completion-metadata, completion--field-metadata)
10066 (completion-metadata-get, completion--styles)
10067 (completion--cycle-threshold): New functions.
10068 (completion-try-completion, completion-all-completions):
10069 Add `metadata' argument to choose completion-styles.
10070 (completion--do-completion): Use metadata to choose cycling.
10071 (completion-all-sorted-completions): Use metadata for sorting.
10072 Remove :completion-cycle-penalty which is not needed any more.
10073 (completion--try-word-completion): Add `metadata' argument.
10074 (minibuffer-completion-help): Check metadata for annotation function
10075 and sorting.
10076 (completion-file-name-table): Return `category' metadata.
10077 (minibuffer-completing-file-name): Make obsolete.
10078 * simple.el (minibuffer-completing-symbol): Make obsolete.
10079 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10080 completion-try-completion.
10081
1257e755
SM
100822011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10085
3767e706
LL
100862011-05-30 Leo Liu <sdl.web@gmail.com>
10087
10088 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10089 (rcirc-print): Decode all incoming messages (bug#8744).
10090 (rcirc-decode-coding-system): Allow value nil for automatic coding
10091 system detection.
3767e706 10092
d1a5d56a
GM
100932011-06-01 Glenn Morris <rgm@gnu.org>
10094
10095 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10096
e8cbec34
CY
100972011-05-29 Chong Yidong <cyd@stupidchicken.com>
10098
10099 * image.el (image-animate-max-time): Allow nil and t values.
10100 Default to nil.
10101 (create-animated-image): Doc fix.
10102 (image-animate-start): Remove second arg; just use
10103 image-animate-max-time.
10104 (image-animate-timeout): Doc fix. Args changed.
10105
10106 * image-mode.el (image-toggle-display-image): Ensure that the
10107 image spec passed to the animate timer is the same object as in
58179cce 10108 the buffer's display property (Bug#6981).
e8cbec34
CY
10109 (image-transform-properties): Doc fix.
10110
10111 * image.el (image-animate-max-time): Default to nil.
10112
159daf87
MR
101132011-05-29 Martin Rudalics <rudalics@gmx.at>
10114
10115 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10116 entire buffer list (Bug#8184).
10117
d66c4c7c
CY
101182011-05-29 Chong Yidong <cyd@stupidchicken.com>
10119
10120 * image.el (imagemagick-types-inhibit)
10121 (imagemagick-register-types): Doc fix.
10122
80aec780
DD
101232011-05-29 Deniz Dogan <deniz@dogan.se>
10124
10125 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10126 default.
10127
1dd3c2d9
CY
101282011-05-29 Chong Yidong <cyd@stupidchicken.com>
10129
10130 * select.el: Don't perform clipboard-manager saving in hooks;
10131 leave the hooks empty.
10132
60e56523
LL
101332011-05-28 Leo Liu <sdl.web@gmail.com>
10134
10135 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10136 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10137 (occur-edit-mode): New major mode (Bug#8463).
10138 (occur-after-change-function): New function.
10139 (occur-engine): Give Occur tags a read-only property.
10140
2b1e1a22
KR
101412011-05-28 Kevin Ryde <user42@zip.com.au>
10142
10143 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10144
5d344e88
CY
101452011-05-28 Chong Yidong <cyd@stupidchicken.com>
10146
8e6ca83d
CY
10147 * bindings.el (help-echo): Make the initial non-indicator dash
10148 empty on graphical terminals (Bug#7295).
10149
5d344e88
CY
10150 * files.el (auto-mode-alist): Move config rule after the
10151 in-stripping one (Bug#8547).
10152
bfbbace7
CY
10153 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10154
fbeba6e2
CY
10155 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10156 setting (Bug#8740).
10157
60ed8c72
AA
101582011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10159
4ac619f0
AA
10160 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10161 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10162 (Bug#8539).
60ed8c72 10163
23db196e
CY
101642011-05-28 Chong Yidong <cyd@stupidchicken.com>
10165
10166 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10167
5012f24c
DK
101682011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10169
10170 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10171 (hs-hide-block-at-point, hs-find-block-beginning)
10172 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10173 (Bug#8279).
10174
6a639b16
GM
101752011-05-28 Glenn Morris <rgm@gnu.org>
10176
10177 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10178
d43eaf2c
CY
101792011-05-28 Chong Yidong <cyd@stupidchicken.com>
10180
5199bde1
CY
10181 * help-fns.el (describe-function-1): If the function is a derived
10182 major mode, print the parent mode.
10183
d43eaf2c
CY
10184 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10185 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10186
423428a8
SM
101872011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10188
0ff8e1ba 10189 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10190 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10191 * progmodes/etags.el (tags-completion-at-point-function):
10192 * info-look.el (info-lookup-completions-at-point): Mark as
10193 non-exclusive.
10194 (info-complete): Adjust accordingly.
10195
423428a8
SM
10196 * info-look.el: Convert to lexical-binding and completion-at-point.
10197 (info-lookup-completions-at-point): New function.
10198 (info-complete): Use it and completion-in-region.
10199
b74aa22b
DA
102002011-05-28 Drew Adams <drew.adams@oracle.com>
10201
10202 * isearch.el: Let M-e start with point at the first mismatched char.
10203 (isearch-fail-pos): New function.
10204 (isearch-edit-string): Use it.
10205
66e2e71d
DK
102062011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10207
10208 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10209
b1890b0f 102102011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10211
10212 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10213 traversal functions for avl-trees.
10214 (avl-tree--stack): New struct.
10215 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10216 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10217 (avl-tree--do-enter): Add optional `updatefun' arg.
10218 Change return value.
eb95d01d 10219 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10220 (avl-tree--do-delete): Add `test' and `nilflag' args.
10221 Change return value.
eb95d01d
TC
10222 (avl-tree-member): Add optional `nilflag'
10223 (avl-tree-member-p): New function.
10224 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10225 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10226 (avl-tree-stack-empty-p): New functions.
10227
3769ddcf
TC
10228 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10229 avl-tree--del-balance1 and make it work both ways.
10230 (avl-tree--del-balance2): Remove.
10231 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10232 make it work both ways.
10233 (avl-tree--enter-balance2): Remove.
10234 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10235 New macros.
10236 (avl-tree--mapc, avl-tree-map): Add direction argument.
10237
eb95d01d 102382011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10239
10240 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10241
a9f737ee
CY
102422011-05-27 Chong Yidong <cyd@stupidchicken.com>
10243
10244 * select.el: Support clipboard managers with built-in function
10245 x-clipboard-manager-save, via delete-frame-functions and
10246 kill-emacs-hook.
10247 (xselect-convert-to-targets): Add MULTIPLE target to list.
10248 (xselect-convert-to-save-targets): New function.
10249
c92a1e54
KH
102502011-05-27 Kenichi Handa <handa@m17n.org>
10251
10252 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10253 let-binding rfc2047-encode-encoded-words to nil.
10254
e145f188
GM
102552011-05-27 Glenn Morris <rgm@gnu.org>
10256
5ec8a862
GM
10257 * mail/emacsbug.el: Don't require url-util.
10258
4b29d9fb
GM
10259 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10260
e145f188
GM
10261 * files.el (set-auto-mode):
10262 Also respect mode: entries at the end of the file. (Bug#8586)
10263
7d15102b
GM
102642011-05-26 Glenn Morris <rgm@gnu.org>
10265
98f593b8
GM
10266 * files.el (hack-local-variables-prop-line, hack-local-variables):
10267 Downcase mode names, as seems to be traditional.
27b48e63 10268 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10269
7d15102b
GM
10270 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10271 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10272
51d5b4ec
JD
102732011-05-25 Julien Danjou <julien@danjou.info>
10274
10275 * textmodes/rst.el (rst-define-level-faces): Do not define face
10276 symbol if it is already defined.
10277
91513f63
VB
102782011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10279
10280 * play/5x5.el (5x5-new-game, 5x5-randomize):
10281 Reset 5x5-solver-output to nil when a new grid is cast.
10282 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10283 these debugging traces, as defmacro breaks the compiled code.
10284
4d90d6d0
DK
102852011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10286
10287 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10288
e1b90ef6
LL
102892011-05-24 Leo Liu <sdl.web@gmail.com>
10290
10291 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10292 (vc-bzr-sha1): Adapt.
10293
d8e4b68b 10294 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10295
10296 * bindings.el: Provide sha1 feature.
10297
db0406bb 102982011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10299
10300 * mail/sendmail.el: Require `rfc2047'.
10301 (mail-insert-from-field): Do not perform RFC2047 encoding.
10302 (mail-encode-header): New function.
10303 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10304 buffer to the return value of select-message-coding-system.
10305 Call mail-encode-header.
b8d747b9
KH
10306
10307 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10308
db0406bb 103092011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10310
4d90d6d0
DK
10311 * mail/supercite.el (sc-default-cite-frame):
10312 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10313
eb8a5e9b
GM
103142011-05-24 Glenn Morris <rgm@gnu.org>
10315
f8630703
GM
10316 * progmodes/python.el (brm-menu): Declare.
10317
8831bbed
GM
10318 * emulation/viper.el (viper-set-hooks): Declare.
10319
eb8a5e9b
GM
10320 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10321 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10322 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10323 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10324 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10325 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10326
a2a25d24
SM
103272011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 Add an :exit-function for completion-at-point.
10330
10331 * minibuffer.el (completion--done): New fun.
10332 (completion--do-completion): Use it. New arg `expect-exact'.
10333 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10334 since completion--do-completion does it for us now.
10335 (minibuffer-force-complete): Use completion--done and
10336 completion--replace. Handle sole-completion case with more care.
10337 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10338 (completion-extra-properties): New var.
10339 (completion-annotate-function): Make obsolete.
10340 (minibuffer-completion-help): Adjust accordingly.
10341 Use completion-list-insert-choice-function.
10342 (completion-at-point, completion-help-at-point):
10343 Bind completion-extra-properties.
10344 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10345 * simple.el (completion-list-insert-choice-function): New var.
10346 (completion-setup-function): Preserve it.
10347 (choose-completion): Pay attention to it, shuffle the code a bit.
10348 (choose-completion-string): New arg `insert-function'.
10349
10350 * textmodes/bibtex.el: Convert to lexical binding.
10351 (bibtex-mode-map): Use completion-at-point.
10352 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10353 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10354 (bibtex-complete): Define as obsolete alias.
10355 (bibtex-complete-internal): Remove.
10356 (bibtex-format-entry): Remove unused sub-group in regexp.
10357 * shell.el (shell--command-completion-data)
10358 (shell-environment-variable-completion):
10359 * pcomplete.el (pcomplete-completions-at-point):
10360 * comint.el (comint--complete-file-name-data): Use :exit-function
10361 instead of completion-table-with-terminator so it also works for
10362 choose-completion.
10363
e44e373d
SM
103642011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10365
4f91a816
SM
10366 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10367
782fc819
SM
10368 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10369 (bug#8710).
10370
e44e373d
SM
10371 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10372
381987c3
KM
103732011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10374
10375 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10376 customization variable and implement: If non-nil, auto-fill will
10377 be inhibited while on topic's header line.
10378
b776bc70
VB
103792011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10380
10381 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10382 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10383 always have a solution in grid size = 5 cases.
10384 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10385 (5x5-solver-output, 5x5-log-buffer): New vars.
10386 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10387 Make these variables buffer local to achieve 5x5 multi-session-ness.
10388 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10389 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10390 (5x5-solve-suggest): New funs.
10391 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10392 randomize a grid so that we ensure that there is always a solution.
10393 (5x5-make-random-grid): Allow other movement than flipping.
10394
7de88b6e
KR
103952011-05-23 Kevin Ryde <user42@zip.com.au>
10396
10397 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10398 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10399 advice and passes PREDICATE.
10400
b1ef1257
SM
104012011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10402
bbca48fe
SM
10403 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10404 byte-compile-lambda if it's actually a lambda.
10405
b1ef1257
SM
10406 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10407 Fix function quoting. Use backquote better.
10408
92a9cc65
YS
104092011-05-22 Yuanle Song <sylecn@gmail.com>
10410
10411 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10412 matching (Bug#8516).
10413
f0fb8059
JA
104142011-01-22 Jari Aalto <jari.aalto@cante.net>
10415
10416 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10417 different face (Bug#8178).
10418
d5b44c93
CY
104192011-05-22 Chong Yidong <cyd@stupidchicken.com>
10420
10421 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10422 defface (Bug#8144).
10423
79106a44
SM
104242011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10425
9c848d8a
SM
10426 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10427 funcall as well (bug#8712). Warn when performing those conversions.
10428 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10429
79106a44
SM
10430 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10431
88dfa756
GM
104322011-05-22 Glenn Morris <rgm@gnu.org>
10433
10434 * files.el (hack-local-variables-prop-line): Small simplifications.
10435 (hack-local-variables, hack-local-variables-prop-line):
10436 If MODE-ONLY, return the mode, rather than just `t'.
10437
b7cf2c79
SM
104382011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10439
10440 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10441
3f1a8558
GM
104422011-05-21 Glenn Morris <rgm@gnu.org>
10443
7e4ccca3
GM
10444 * files.el (hack-local-variables-prop-line, hack-local-variables):
10445 If only interested in the mode, don't bother doing the other stuff.
10446
637d46ca
GM
10447 * image-mode.el (image-after-revert-hook):
10448 Redraw all frames on which the image is visible. (Bug#8567)
10449
973d955b
GM
10450 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10451
3f1a8558
GM
10452 * wid-edit.el (widget-checklist-match-inline):
10453 Fix 2011-04-19 change. (Bug#8649)
10454
96479927
SM
104552011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10456
1dcf791f
SM
10457 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10458 Also allow singlespace after single-letter capitals followed by a dot.
10459
96479927
SM
10460 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10461 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10462
35fd0881
N
104632011-05-20 Nix <nix@esperi.org.uk>
10464
10465 * files.el (basic-save-buffer-2):
10466 Fix handling of break-hardlink-on-save with non-existent files.
10467
82745640
DD
104682011-05-19 Deniz Dogan <deniz@dogan.se>
10469
10470 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10471 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10472
4a720484
GM
104732011-05-19 Glenn Morris <rgm@gnu.org>
10474
d1f21341
GM
10475 * progmodes/f90.el (f90-type-def-re):
10476 Handle "type, bind(c)". (Bug#8691)
10477
4a720484
GM
10478 * emacs-lisp/autoload.el (batch-update-autoloads):
10479 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10480
2fb0a219
MA
104812011-05-18 Michael Albinus <michael.albinus@gmx.de>
10482
10483 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10484 property for the correct connection in case of multihops.
10485
e565dd37
GM
104862011-05-18 Glenn Morris <rgm@gnu.org>
10487
c2571358 10488 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10489 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10490
e565dd37
GM
10491 Rationalize calendar handling of day and month abbrev-arrays.
10492 * calendar/calendar.el (calendar-customized-p): New function.
10493 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10494 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10495 Add :set function.
10496 (calendar-abbrev-length, calendar-day-abbrev-array)
10497 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10498 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10499 Elements may no longer be nil.
10500 (calendar-day-name, calendar-month-name):
10501 Update for changed nature of abbrev arrays.
10502 * calendar/diary-lib.el (diary-name-pattern):
10503 Update for changed nature of abbrev arrays.
10504 (diary-mark-entries-1): Update calendar-make-alist calls.
10505 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10506 * calendar/cal-html.el (cal-html-day-abbrev-array):
10507 Simply inherit from calendar-day-abbrev-array.
10508
1d99a745
SM
105092011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10510
10511 * progmodes/grep.el (grep-mode): Disable default
10512 compilation-directory-matcher setting (bug#8684).
10513
7c1d9aa0
MA
105142011-05-17 Michael Albinus <michael.albinus@gmx.de>
10515
10516 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10517 instead of "head" and "tail". There were problems with SunOS 5.9,
10518 and it performs better.
10519
3952e9d8
GM
105202011-05-17 Glenn Morris <rgm@gnu.org>
10521
2dd12e7f
GM
10522 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10523
e4157b9c
GM
10524 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10525 Replace obsolete function.
10526
8e249bbd
GM
10527 * shell.el (pcomplete-parse-arguments-function): Declare.
10528
3952e9d8
GM
10529 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10530 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10531 (appt-check): Doc fixes.
10532 (appt-disp-window-function, appt-delete-window-function):
10533 Remove needless special case in custom :type.
10534 (appt-display-count): Default to 0, not nil.
10535 (appt-check): Reset appt-display-count to 0, not nil.
10536
c71a0d48 105372011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10538
c71a0d48
GM
10539 * progmodes/python.el (python-font-lock-keywords):
10540 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10541
31d55be9
SM
105422011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10545
3bfacb2f
KR
105462011-05-16 Kevin Ryde <user42@zip.com.au>
10547
10548 * info-look.el (makefile-automake-mode): New setups, looking in
10549 automake manual, then makefile-mode.
10550 (makefile-mode): Remove automake manual, have it just in
10551 makefile-automake-mode since there's various things different or
10552 not relevant to plain make.
10553 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10554 believe a hypothetical automake-mode would go to makefile-mode,
10555 not the other way around.
10556
c8e83751
CY
105572011-05-15 Chong Yidong <cyd@stupidchicken.com>
10558
5e9e35cd
CY
10559 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10560 hunk-end tags (Bug#8672).
10561
c8e83751
CY
10562 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10563 vc-annotate-show-diff-revision-at-line (Bug#8671).
10564
50b23e5a
GM
105652011-05-14 Glenn Morris <rgm@gnu.org>
10566
7210a739
GM
10567 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10568 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10569 (change-log-font-lock-keywords): Also handle multiple author lines
10570 with leading tabs. (Bug#8644)
7210a739 10571
4691905a
GM
10572 * calendar/appt.el (appt-check): Rename some local variables.
10573 Some simplification/reordering.
10574
50b23e5a
GM
10575 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10576 (feedmail-sendmail-f-doesnt-sell-me-out)
10577 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10578 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10579 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10580 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10581 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10582 (feedmail-binmail-gnulinuxish-template):
10583 Rename from feedmail-binmail-linuxish-template.
10584 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10585 Use insert-buffer-substring.
10586
215cda7c
BC
105872011-05-14 Bill Carpenter <bill@carpenter.org>
10588
10589 * mail/feedmail.el (feedmail-patch-level): Increase.
10590 (feedmail-debug): New custom group.
10591 (feedmail-confirm-outgoing-timeout)
10592 (feedmail-sendmail-f-doesnt-sell-me-out)
10593 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10594 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10595 (feedmail-sender-line, feedmail-from-line)
10596 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10597 (feedmail-spray-this-address)
215cda7c
BC
10598 (feedmail-spray-address-fiddle-plex-list)
10599 (feedmail-queue-use-send-time-for-date)
10600 (feedmail-queue-use-send-time-for-message-id)
10601 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10602 (feedmail-buffer-eating-function):
10603 Doc fixes.
10604 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10605 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10606 (feedmail-message-action-scroll-down): New functions.
10607 (feedmail-queue-directory, feedmail-queue-draft-directory):
10608 Use expand-file-name.
10609 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10610 Remove C-v help entry.
10611 (feedmail-queue-buffer-file-name): New variable.
10612 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10613 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10614 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10615 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10616 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10617 (feedmail-message-action-toggle-spray)
10618 (feedmail-run-the-queue-no-prompts)
10619 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10620 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10621 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10622 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10623 (feedmail-envelope-deducer, feedmail-fiddle-from)
10624 (feedmail-fiddle-sender, feedmail-default-date-generator)
10625 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10626 (feedmail-fiddle-spray-address)
10627 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10628 (feedmail-fiddle-list-of-fiddle-plexes)
10629 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10630 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10631 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10632 Change default. Doc fix.
10633 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10634 (feedmail-binmail-linuxish-template): New constant.
10635 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10636 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10637 (feedmail-send-it): Add debug call.
10638 Use feedmail-queue-buffer-file-name, and
10639 feedmail-send-it-immediately-wrapper.
10640 (feedmail-message-action-send): Add debug call.
10641 Use feedmail-send-it-immediately-wrapper.
10642 (feedmail-queue-express-to-queue): Add debug call.
10643 Run feedmail-queue-express-hook.
10644 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10645 (feedmail-message-action-help-blat):
10646 Rename from feedmail-queue-send-edit-prompt-help-first.
10647 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10648 Check line-endings. Handle errors better.
10649 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10650 Doc fix. Add debug call.
10651 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10652 Use feedmail-queue-send-edit-prompt-inner.
10653 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10654 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10655 from feedmail-queue-send-edit-prompt.
10656 (feedmail-queue-send-edit-prompt-help)
10657 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10658 (feedmail-tidy-up-slug): Add debug call.
10659 Respect feedmail-queue-slug-suspect-regexp.
10660 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10661 (feedmail-dump-message-to-queue): Add debug call.
10662 Expand queue-directory.
10663 (feedmail-dump-message-to-queue): Change message slightly.
10664 Use feedmail-say-chatter.
10665 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10666 (feedmail-send-it-immediately-wrapper): New function.
10667 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10668 Insert empty string rather than newline. Handle full-frame case.
10669 Use catch/throw. Use feedmail-say-chatter.
10670 (feedmail-fiddle-from): Try mail-host-address.
10671 (feedmail-default-message-id-generator): Doc fix.
10672 Bind system-time-locale. Handle missing end.
10673 (feedmail-fiddle-x-mailer): Add debug call.
10674 Handle feedmail-x-mailer-line being nil.
10675 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10676 Add debug call. Use buffer-substring-no-properties.
10677 (feedmail-say-debug, feedmail-say-chatter): New functions.
10678 (feedmail-find-eoh): Give an explicit error.
10679
42c7e61e
UJ
106802011-05-13 Ulf Jasper <ulf.jasper@web.de>
10681
c2571358 10682 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10683 family from helvetica to sans.
c2571358 10684 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10685 etc/images/newsticker.
10686
c2571358 10687 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10688 family from helvetica to sans.
10689
10690 * net/newst-plainview.el (newsticker-new-item-face)
10691 (newsticker-old-item-face, newsticker-immortal-item-face)
10692 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10693 (newsticker-statistics-face): Change default family from
42c7e61e 10694 helvetica to sans.
c2571358 10695 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10696 etc/images/newsticker.
10697
10698 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10699 (newsticker--process-auto-mark-filter-match): : Tell user about
10700 auto-marking.
10701
8497a297
DV
107022011-05-13 Didier Verna <didier@xemacs.org>
10703
10704 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10705 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10706 TODO entries.
8497a297
DV
10707 (lisp-lambda-list-keyword-parameter-indentation)
10708 (lisp-lambda-list-keyword-parameter-alignment)
10709 (lisp-lambda-list-keyword-alignment): New customizable user options.
10710 (lisp-indent-defun-method): Improve docstring.
10711 (extended-loop-p): Fix comment.
10712 (lisp-indent-lambda-list-keywords-regexp): New variable.
10713 (lisp-indent-lambda-list): New function.
10714 (lisp-indent-259): Use it.
10715 (lisp-indent-defmethod): Support for more than one
10716 method qualifier and properly indent methods lambda-lists.
10717 (defgeneric): Provide a missing common-lisp-indent-function property.
10718
f278f87f
SM
107192011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10720
10721 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10722 bounds for the empty string (bug#8667).
10723
5233edd7
GM
107242011-05-13 Glenn Morris <rgm@gnu.org>
10725
5237a44f
GM
10726 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10727
8340026c 10728 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10729 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10730
5233edd7 10731 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10732 (appt-time-msg-list): Doc fix.
a5464014 10733 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10734
92d10796
AS
107352011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10736
10737 * progmodes/ld-script.el (ld-script-keywords)
10738 (ld-script-builtins): Update keywords list.
10739
914a0ae1
SM
107402011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10741
c89be45f
SM
10742 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10743
914a0ae1
SM
10744 * shell.el (shell-completion-vars): New function.
10745 (shell-mode):
10746 * simple.el (read-shell-command): Use it.
10747 (blink-matching-open): No need for " [...]" in minibuffer-message.
10748
98dc3df3
GM
107492011-05-12 Glenn Morris <rgm@gnu.org>
10750
10751 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10752 (appt-check): Simplify.
10753
d2fc7e3d 107542011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10755
4d61f28d 10756 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10757 literal "/dev/null".
10758
d2fc7e3d 107592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10760
10761 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10762 Fix typo.
10763
d2fc7e3d 107642011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10765
3f254caa
SM
10766 * progmodes/which-func.el (which-function):
10767 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10768 which might not be defined (Bug#8260).
10769
d45885f7
GM
107702011-05-12 Glenn Morris <rgm@gnu.org>
10771
10772 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10773 Let byte-compile-initial-macro-environment always take precedence.
10774
488086f4
SM
107752011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10776
10777 * net/rcirc.el: Add support for SSL/TLS connections.
10778 (rcirc-server-alist): New field `encryption'.
10779 (rcirc): Check `encryption' settings.
10780 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10781 Merge make-local-variable into `set'.
10782 (rcirc--connection-open-p): New function.
10783 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10784 the process is not a network process (e.g. running gnutls-cli).
10785 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10786 Make rcirc-(en|de)code-coding-system local here.
10787 (rcirc-mode): Merge make-local-variable into `set'.
10788 (rcirc-parent-buffer): Make permanent buffer-local.
10789 (rcirc-multiline-minor-mode): Don't do it here.
10790 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10791 there's no server buffer.
10792
7d3b9d44
GM
107932011-05-11 Glenn Morris <rgm@gnu.org>
10794
f64049c6
GM
10795 * newcomment.el (comment-kill): Prefix "unused" local.
10796
93c9df73
GM
10797 * term/w32console.el (get-screen-color): Declare.
10798
7d3b9d44
GM
10799 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10800 Handle symbol elements of byte-compile-initial-macro-environment.
10801
9e2dd53f
LL
108022011-05-10 Leo Liu <sdl.web@gmail.com>
10803
488086f4
SM
10804 * bookmark.el (bookmark-bmenu-mode-map):
10805 Bind bookmark-bmenu-search to `/'.
8b340240 10806
9e2dd53f 10807 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10808 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10809 (Footnote-unicode): New function.
10810 (footnote-style-alist): Add unicode style to the list.
10811 (footnote-style): Doc fix.
9e2dd53f 10812
79b70037
GM
108132011-05-10 Jim Meyering <meyering@redhat.com>
10814
10815 Fix doubled-word typos.
10816 * international/quail.el (quail-insert-kbd-layout): and and -> and
10817 * kermit.el: and and -> and
10818 * net/ldap.el (ldap-search-internal): to to -> to
10819 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10820 * progmodes/js.el (js-mode): and and -> and
10821 * textmodes/artist.el (artist-move-to-xy): at at -> at
10822 (artist-draw-region-trim-line-endings): if if -> if
10823 And Safetyc -> Safety.
10824 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10825
b8f82dc1 108262011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10827 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10828
10829 * files.el (hack-one-local-variable-eval-safep):
10830 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10831
4f99f44b
GM
108322011-05-10 Glenn Morris <rgm@gnu.org>
10833
10834 * calendar/diary-lib.el (diary-list-entries-hook)
10835 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10836 (diary-nongregorian-marking-hook, diary-list-entries)
10837 (diary-include-other-diary-files, diary-mark-entries)
10838 (diary-mark-included-diary-files): Doc fixes.
10839
84f29e6b
JB
108402011-05-09 Juanma Barranquero <lekktu@gmail.com>
10841
10842 * misc.el: Require tabulated-list.el during compilation.
10843
9bedd73a
CY
108442011-05-09 Chong Yidong <cyd@stupidchicken.com>
10845
488086f4
SM
10846 * progmodes/compile.el (compilation-start):
10847 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10848 (compilation-filter-hook): Doc fix.
10849
797c735c
DD
108502011-05-09 Deniz Dogan <deniz@dogan.se>
10851
10852 * wdired.el: Remove outdated installation comment. Fix usage
10853 comment.
10854
5f4b1dfe
JB
108552011-05-09 Juanma Barranquero <lekktu@gmail.com>
10856
10857 * misc.el: Implement new command `list-dynamic-libraries'.
10858 (list-dynamic-libraries--loaded-only-p): New variable.
10859 (list-dynamic-libraries--refresh): New function.
10860 (list-dynamic-libraries): New command.
10861
4c44026c
CY
108622011-05-09 Chong Yidong <cyd@stupidchicken.com>
10863
488086f4
SM
10864 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10865 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10866 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10867 higher priority to avoid clobbering by gnu.
10868
027f966d
CY
108692011-05-08 Chong Yidong <cyd@stupidchicken.com>
10870
10871 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10872 if the face has existing theme settings (Bug#8454).
10873
085f5d7d
CY
108742011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10875
488086f4
SM
10876 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10877 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10878
2a86a00c
RS
10879 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10880 special file names `.' and `..' (Bug#8259).
10881
d9c54a06
CY
108822011-05-08 Chong Yidong <cyd@stupidchicken.com>
10883
488086f4
SM
10884 * progmodes/grep.el (grep-mode-font-lock-keywords):
10885 Remove buffer-changing entries.
d9c54a06
CY
10886 (grep-filter): New function.
10887 (grep-mode): Add it to compilation-filter-hook.
10888
10889 * progmodes/compile.el (compilation-filter-hook)
10890 (compilation-filter-start): New defvars.
10891 (compilation-filter): Call compilation-filter-hook prior to
10892 updating the process mark.
10893
c4662635
SM
108942011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10897
b0512a1d
EZ
108982011-05-07 Eli Zaretskii <eliz@gnu.org>
10899
605c9376
EZ
10900 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10901 mailclient-send-it even if window-system is nil. (Bug#8595)
10902
c4662635
SM
10903 * term/w32console.el (terminal-init-w32console):
10904 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10905 background-mode. (Bug#8597)
10906
d1dc2cc2
SM
109072011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10910 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10911 New functions.
10912 (defgeneric, eieio--defmethod): Use them.
10913 (eieio-defgeneric): Remove.
10914 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10915
915d1300
GM
109162011-05-07 Glenn Morris <rgm@gnu.org>
10917
a3961c3e
GM
10918 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10919 Use let rather than let*.
10920 (timeclock-find-discrep): Remove unused local.
10921
314347b9
GM
10922 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10923
915d1300
GM
10924 * calendar/appt.el (appt-time-msg-list): Doc fix.
10925
275b59b0
NF
109262011-05-06 Noah Friedman <friedman@splode.com>
10927
10928 * apropos.el (apropos-print-doc): Only use
10929 emacs-lisp-docstring-fill-column when it is bound to an integer,
10930 per that variable's documentation.
10931
6c19f744
SM
109322011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10935 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10936
60f884b2
GM
109372011-05-06 Glenn Morris <rgm@gnu.org>
10938
5006e634
GM
10939 * calendar/appt.el (appt-message-warning-time): Doc fix.
10940 (appt-warning-time-regexp): New option.
10941 (appt-make-list): Respect appt-message-warning-time.
10942
548d0a63
GM
10943 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10944 New options.
10945 (diary-add-to-list): Strip comments from the displayed string.
10946 (diary-mode): Set comment-start and comment-end.
10947
60f884b2
GM
10948 * vc/diff-mode.el (smerge-refine-subst): Declare.
10949 (diff-refine-hunk): Don't require smerge-mode when compiling.
10950
989681bb
JB
109512011-05-06 Juanma Barranquero <lekktu@gmail.com>
10952
10953 * simple.el (list-processes): Return nil as the docstring says.
10954
a6bc05e1
MA
109552011-05-05 Michael Albinus <michael.albinus@gmx.de>
10956
10957 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10958 to "".
10959 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10960 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10961 determining of binary transfer. (Bug#7383)
10962
23c22e9a
MA
109632011-05-05 Michael Albinus <michael.albinus@gmx.de>
10964
c4662635
SM
10965 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10966 Fix port computation bug. (Bug#8618)
23c22e9a 10967
0bff894f
GM
109682011-05-05 Glenn Morris <rgm@gnu.org>
10969
b8296902
GM
10970 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10971
1f522ce8
GM
10972 * simple.el (shell-dynamic-complete-functions)
10973 (comint-dynamic-complete-functions): Declare.
10974
cf5bee67
GM
10975 * net/network-stream.el (gnutls-negotiate):
10976 * simple.el (tabulated-list-print): Fix declarations.
10977
10978 * progmodes/gud.el (syntax-symbol, syntax-point):
10979 Remove unnecessary and incorrect declarations.
10980
0bff894f
GM
10981 * emacs-lisp/check-declare.el (check-declare-scan):
10982 Handle byte-compile-initial-macro-environment in bytecomp.el
10983
9869b3ae
SM
109842011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 Fix earlier half-done eieio-defmethod change (bug#8338).
10987 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10988 Streamline and change calling convention.
10989 (defmethod): Adjust accordingly and simplify.
10990 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10991 new eieio--defmethod.
10992 (slot-boundp): Minor CSE simplification.
10993
9c1d5ac5
MZ
109942011-05-05 Milan Zamazal <pdm@zamazal.org>
10995
10996 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10997 (glasses-make-readable): Use glasses-separate-capital-groups.
10998
455c834e
JB
109992011-05-05 Juanma Barranquero <lekktu@gmail.com>
11000
11001 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11002 (warning-series): Doc fix.
11003 (display-warning): Don't try to create the buffer if we just found it.
11004
9ed7c8cb
CY
110052011-05-04 Chong Yidong <cyd@stupidchicken.com>
11006
11007 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11008 (autoload-find-generated-file): New function.
11009 (generate-file-autoloads): Bind generated-autoload-file to
11010 buffer-file-name.
9869b3ae
SM
11011 (update-file-autoloads, update-directory-autoloads):
11012 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11013 output file (Bug#7989).
11014 (batch-update-autoloads): Doc fix.
11015
0898ca10
JB
110162011-05-04 Juanma Barranquero <lekktu@gmail.com>
11017
11018 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11019
31dfb76c
GM
110202011-05-04 Glenn Morris <rgm@gnu.org>
11021
f330b642
GM
11022 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11023 function, so it follows changes in calendar-date-style.
11024 (diary-fancy-date-matcher): New function.
11025 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11026 (diary-fancy-font-lock-fontify-region-function):
11027 Use diary-fancy-date-pattern as a function.
11028
31dfb76c
GM
11029 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11030 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11031
48e79d6a
TZ
110322011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11033
11034 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11035 instead of positional arguments. Allow :keylist and :crlfiles
11036 arguments.
11037 (open-gnutls-stream): Call it.
11038
11039 * net/network-stream.el (network-stream-open-starttls): Adjust to
11040 call `gnutls-negotiate' with :process and :hostname arguments.
11041
dd5a5ee0
SM
110422011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11043
ef80fc09
SM
11044 * minibuffer.el (completion--message): New function.
11045 (completion--do-completion, minibuffer-complete)
11046 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11047 (completion--do-completion): Don't ignore completion-auto-help when in
11048 icomplete-mode.
11049
dd5a5ee0
SM
11050 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11051 internal encoding (e.g. tibetan zero is not whitespace).
11052 (global-whitespace-mode): Prefer save-current-buffer.
11053 (whitespace-trailing-regexp): Remove useless save-match-data.
11054 (whitespace-empty-at-bob-regexp): Minor simplification.
11055
b7d22a83
CY
110562011-05-03 Chong Yidong <cyd@stupidchicken.com>
11057
11058 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11059
5192af46
AM
110602011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11061
11062 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11063 Use `concat' to create string for insertion.
5192af46 11064
5767d190
SM
110652011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11066
11067 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11068 Avoid open-line which runs post-self-insert-hook.
11069 (bibtex-fill-entry): Remove unused `end' var.
11070
bf242939
AM
110712011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11072
5767d190
SM
11073 * textmodes/ispell.el (ispell-add-per-file-word-list):
11074 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11075
25666126
LL
110762011-05-03 Leo Liu <sdl.web@gmail.com>
11077
11078 * isearch.el (isearch-yank-pop): New command.
5767d190 11079 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11080 (isearch-forward): Mention it.
11081
52d3c2d0
SM
110822011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11083
1bcace58
SM
11084 * simple.el (minibuffer-complete-shell-command): Remove.
11085 (minibuffer-local-shell-command-map): Use completion-at-point.
11086 (read-shell-command): Setup completion vars here instead.
11087 (read-expression-map): Bind TAB to symbol completion.
11088
52d3c2d0
SM
11089 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11090 error directly rather via storing it into `results'.
11091
35813471
LL
110922011-05-02 Leo Liu <sdl.web@gmail.com>
11093
11094 * vc/diff.el: Fix description.
11095
e793a940
LMI
110962011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11097
11098 * server.el (server-eval-at): New function.
11099
8de66e05
LMI
111002011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11101
11102 * net/network-stream.el (open-network-stream): Take a :nowait
11103 parameter and pass it on to `make-network-process'.
11104 (network-stream-open-plain): Ditto.
11105
dcb79f20
AS
111062011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11107
11108 * faces.el (face-spec-set-match-display): Don't match toolkit
11109 options on terminal frames.
11110
14a7fbd8
SM
111112011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11112
7eabc1be
SM
11113 * progmodes/pascal.el: Use lexical binding.
11114 (pascal-mode-map): Remove author preferences.
11115
14a7fbd8
SM
11116 * pcomplete.el (pcomplete-std-complete): Don't abuse
11117 completion-at-point.
11118
50f84510
JB
111192011-04-28 Juanma Barranquero <lekktu@gmail.com>
11120
6e087a44
JB
11121 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11122 removing code that has been dead since 1991 or so.
11123
50f84510
JB
11124 * startup.el (command-line): When warning about "_emacs", use a
11125 delayed warning to allow the user to filter it out.
11126
0ba690bd
DD
111272011-04-28 Deniz Dogan <deniz@dogan.se>
11128
11129 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11130 user has not joined.
11131
08abfaad
SM
111322011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11135 aren't any completions at point.
11136
638f053a
JB
111372011-04-28 Juanma Barranquero <lekktu@gmail.com>
11138
11139 * subr.el (display-delayed-warnings): New function.
11140 (delayed-warnings-hook): New variable.
11141
8fff8daa
SM
111422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11143
08abfaad
SM
11144 * minibuffer.el (completion-at-point, completion-help-at-point):
11145 Don't presume that a given completion-at-point-function will always
11146 use the same calling convention.
11147
8fff8daa
SM
11148 * pcomplete.el (pcomplete-completions-at-point):
11149 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11150 pcomplete-seen is non-nil.
11151 (pcomplete-comint-setup): Also recognize the new comint/shell
11152 completion functions.
11153 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11154 pcomplete-seen is non-nil.
11155
841a1577 111562011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11157
841a1577 11158 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11159 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11160 the first character in the entry. This allows for code to add its
211ec907
UJ
11161 own uid to the entry.
11162 (icalendar--convert-float-to-ical): Add export of
11163 `diary-float'-entries save for those with the optional DAY
11164 argument.
11165
2a782793
DC
111662011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11167
11168 * subr.el (shell-quote-argument): Use alternate escaping strategy
11169 when we spot a variable reference in a string.
11170
0438ce91
DC
111712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11172
11173 * cus-start.el (all): Define customization for debug-on-event.
11174
841a1577 111752011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11176
11177 * subr.el (shell-quote-argument): Escape correctly under Windows.
11178
d090ed6c
SM
111792011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11180
11181 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11182
bfd31217
MA
111832011-04-25 Michael Albinus <michael.albinus@gmx.de>
11184
d090ed6c
SM
11185 * net/tramp.el (tramp-process-actions): Add POS argument.
11186 Delete region between POS and (pos).
bfd31217 11187
d090ed6c
SM
11188 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11189 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11190 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11191
11192 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11193 position in `tramp-process-actions' call.
11194
11195 * net/trampver.el: Update release number.
11196
e92f3bd3
SM
111972011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11198
850256b5
SM
11199 * custom.el (defcustom): Obey lexical-binding.
11200
e92f3bd3
SM
11201 Fix octave-inf completion problems reported by Alexander Klimov.
11202 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11203 Inherit from octave-mode-syntax-table.
11204 (inferior-octave-mode): Set info-lookup-mode.
11205 (inferior-octave-completion-at-point): New function.
11206 (inferior-octave-complete): Use it and completion-in-region.
11207 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11208 comint-filename-completion.
11209 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11210 symbol elements which shouldn't be word elements.
11211 (octave-font-lock-keywords, octave-beginning-of-defun)
11212 (octave-function-header-regexp): Adjust regexps accordingly.
11213 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11214
cd22b309
JB
112152011-04-25 Juanma Barranquero <lekktu@gmail.com>
11216
11217 * net/gnutls.el (gnutls-errorp): Declare before first use.
11218
8b492194
TZ
112192011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11220
11221 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11222 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11223 default trustfile exists before going to use it. Add missing
5a5fa834 11224 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11225 Reported by Claudio Bley <claudio.bley@gmail.com>.
11226 (open-gnutls-stream): Add usage example.
11227
11228 * net/network-stream.el (network-stream-open-starttls): Give host
11229 parameter to `gnutls-negotiate'.
11230 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11231 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11232
841a1577 112332011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11234
cd22b309
JB
11235 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11236 Use correct match group (bug#8438).
05842630 11237
3ba7869c
CY
112382011-04-24 Chong Yidong <cyd@stupidchicken.com>
11239
512e3ae1
CY
11240 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11241 (package-menu--generate): New arg specifying packages to show.
11242 (package-menu-refresh, package-menu-execute, list-packages):
11243 Callers changed.
11244 (package-show-package-list): New function, replacing deleted
11245 package--list-packages (renamed because it is non-internal).
11246
11247 * finder.el (finder-list-matches): Use package-show-package-list
11248 instead of deleted package--list-packages.
11249
e92f3bd3
SM
11250 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11251 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11252 (vc-annotate-mode-map): Bind it to RET.
11253
7031be6d
UR
112542011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11255
11256 * progmodes/etags.el (next-file): Don't use set-buffer to change
11257 buffers (Bug#8478).
11258
4ef177aa
CY
112592011-04-24 Chong Yidong <cyd@stupidchicken.com>
11260
c8d173eb
CY
11261 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11262
4ef177aa
CY
11263 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11264 (apropos-accumulator): Doc fix.
11265 (apropos-function, apropos-macro, apropos-command)
11266 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11267 (apropos-plist): Add face property.
11268 (apropos-symbols-internal): Fix indentation.
11269 (apropos-print): Simplify help, and recognize apropos-multi-type.
11270 (apropos-print-doc): Use button-type-get to extract the button's
11271 face property. Fill docstring (Bug#8352).
11272
4ffd0d6b 112732011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11274
11275 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11276
c6c32125 11277 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11278 (mpuz-mode-map): Use mapc.
c6c32125
JB
11279 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11280 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11281 Fix typos in docstrings.
11282
58d468b4
JB
11283 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11284 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11285
6470c3c6
JB
11286 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11287
4ffd0d6b 112882011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11289
11290 * minibuffer.el (completion--do-completion): Avoid the "Next char
11291 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11292
3ad8bad0
CY
11293 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11294 mouse-2 into unread-command-events, it is interpreted correctly.
11295
71d73c9c 11296 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11297 (image-toggle-display): Doc fix.
71d73c9c 11298
841a1577 112992011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11300
4ffd0d6b
GM
11301 * textmodes/page.el (what-page): Use line-number-at-pos to
11302 calculate line number (Bug#6825).
6e1dbaa9 11303
c2fb1b60
JB
113042011-04-22 Juanma Barranquero <lekktu@gmail.com>
11305
11306 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11307 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11308 Pass argument NO-DEFAULT to `find-tag-interactive'.
11309
e02f48d7
JB
113102011-04-22 Juanma Barranquero <lekktu@gmail.com>
11311
11312 Lexical-binding cleanup.
11313
11314 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11315 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11316 * progmodes/ada-prj.el (ada-prj-initialize-values)
11317 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11318 (ada-prj-show-value):
11319 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11320 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11321 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11322 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11323 * progmodes/bug-reference.el (bug-reference-push-button):
11324 * progmodes/fortran.el (fortran-line-length):
11325 * progmodes/glasses.el (glasses-change):
11326 * progmodes/octave-mod.el (octave-fill-paragraph):
11327 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11328 (python-pdbtrack-grub-for-buffer, python-sentinel):
11329 * progmodes/sql.el (sql-save-connection):
11330 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11331 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11332 Mark unused parameters.
11333
11334 * progmodes/compile.el (compilation--flush-directory-cache)
11335 (compilation--flush-parse, compile-internal): Mark unused parameters.
11336 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11337 (compilation-next-error-function): Remove unused variable `timestamp'.
11338
11339 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11340 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11341
11342 * progmodes/dcl-mode.el (dcl-end-of-command):
11343 Remove unused variable `start'.
11344 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11345 (dcl-option-value-basic, dcl-option-value-offset)
11346 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11347 Mark unused parameters.
11348 (dcl-save-local-variable): Remove unused variable `val'.
11349 (mode): Declare.
11350
11351 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11352 Mark unused parameters.
11353 (delphi-ignore-changes): Move before first use.
11354 (delphi-charset-token-at): Remove unused variable `start'.
11355 (delphi-else-start): Remove unused variable `if-count'.
11356 (delphi-comment-block-start, delphi-comment-block-end):
11357 Remove unused variable `kind'.
11358 (delphi-indent-line): Remove unused variable `new-point'.
11359
11360 * progmodes/ebrowse.el (ebrowse-files-list)
11361 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11362 Mark unused parameters. Don't quote `lambda'.
11363 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11364 Don't quote `lambda'.
11365 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11366 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11367 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11368 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11369 Use `ignore-errors'.
11370 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11371 (ebrowse-view/find-file-and-search-pattern)
11372 (ebrowse-view/find-member-declaration/definition):
11373 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11374 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11375 Rename parameter PREFIX-ARG to PREFIX.
11376 (ebrowse-tags-read-name): Remove unused variables `start' and
11377 `member-info'.
11378 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11379 to `tags-file'.
11380
11381 * progmodes/etags.el (local-find-tag-hook): Declare.
11382 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11383 Mark unused parameters.
11384
11385 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11386 (executable-interpret): Mark unused parameter.
11387
11388 * progmodes/flymake.el (flymake-process-sentinel)
11389 (flymake-after-change-function)
11390 (flymake-create-temp-with-folder-structure)
11391 (flymake-get-include-dirs-dot): Mark unused parameters.
11392 (flymake-safe-delete-directory): Remove unused variable `err'.
11393
11394 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11395 (speedbar-timer-fn, speedbar-line-text)
11396 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11397 (speedbar-center-buffer-smartly): Declare functions.
11398 (gdb-find-watch-expression): Remove unused variable `array'.
11399 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11400 (gdb-starting): Mark unused parameters.
11401 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11402 (gdb-table-string): Remove unused variable `res'.
11403 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11404 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11405 (gdb-display-buffer): Remove unused variable `cur-size'.
11406
11407 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11408 allow lexical-binding compilation.
11409 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11410 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11411 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11412 Mark unused parameters.
11413 (gud-gdb-marker-filter): Remove unused variable `match'.
11414 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11415 lambda expressions and funcall them, instead of using `fset'.
11416
11417 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11418 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11419
11420 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11421 variable `header-beg'; use `let'.
11422
11423 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11424 `restart', `last-sexp' and `at-do'.
11425
11426 * progmodes/js.el (js--debug): Mark unused parameter.
11427 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11428 (js--splice-into-items): Remove unused variable `item'.
11429 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11430
11431 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11432 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11433 (makefile-complete): Remove unused variable `try'.
11434 (makefile-fill-paragraph, makefile-match-function-end):
11435 Mark unused parameters.
11436
11437 * progmodes/octave-inf.el (inferior-octave-complete):
11438 Remove unused variable `proc'.
11439 (inferior-octave-output-digest): Mark unused parameter.
11440
11441 * progmodes/perl-mode.el (perl-calculate-indent):
11442 Remove unused variable `err'.
11443
11444 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11445 (prolog-indent-line): Mark unused parameters.
11446 (prolog-indent-line): Remove unused variable `beg'.
11447
11448 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11449 (reporter-dont-compact-list): Declare.
11450
11451 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11452 Remove unused variable `char'.
11453 (sh-debug): Mark unused parameter.
11454 (sh-get-indent-info): Remove unused variable `start'.
11455 (sh-calculate-indent): Remove unused variable `var'.
11456
11457 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11458 (simula-electric-keyword): Remove unused variable `null'.
11459 (simula-search-backward, simula-search-forward): Remove unused
11460 variables `begin' and `end'.
11461
11462 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11463 Remove unused variable `pos'.
11464 (vera-electric-tab, vera-comment-uncomment-region):
11465 Mark unused parameters.
11466 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11467
7ede3b65
CY
114682011-04-22 Chong Yidong <cyd@stupidchicken.com>
11469
11470 * emacs-lisp/package.el (package--builtins, package-alist)
11471 (package-load-descriptor, package-built-in-p, package-activate)
11472 (define-package, package-installed-p)
11473 (package-compute-transaction, package-buffer-info)
11474 (package--push): Doc fix. Distinguish more clearly between
11475 version strings and version lists.
11476
121656e9
JB
114772011-04-21 Juanma Barranquero <lekktu@gmail.com>
11478
11479 Lexical-binding cleanup.
11480
11481 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11482 (5x5-make-mutate-best):
11483 * play/fortune.el (fortune-in-buffer):
11484 * play/gomoku.el (gomoku-init-display):
11485 * play/solitaire.el (solitaire, solitaire-do-check):
11486 * play/tetris.el (tetris-default-update-speed-function):
11487 Mark unused parameters.
11488
11489 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11490 (bubbles--shift): Remove unused variable `char-org'.
11491 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11492 (bubbles--show-images): Remove unused variable `char'.
11493
11494 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11495 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11496 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11497 (decipher-analyze-buffer): Use ?\s.
11498 (decipher-make-checkpoint): Remove unused variable `mapping'.
11499
11500 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11501
11502 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11503 Remove unused variable `result'; use `let'.
11504
11505 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11506 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11507 (gametree-children-shown-p, gametree-compute-reduced-score):
11508 Use `ignore-errors'.
11509
11510 * play/handwrite.el (ps-lpr-switches): Declare.
11511 (handwrite): Remove unused variables `pmin' and `lastp'.
11512
11513 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11514
11515 * play/landmark.el (landmark-init-display)
11516 (landmark-update-naught-weights): Mark unused parameters.
11517 (landmark-y): Remove unused variable `noise'. Simplify.
11518 (landmark-human-plays): Remove unused variable `score'.
11519
11520 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11521 (mpuz-try-proposal): Remove unused variable `game'.
11522
11523 * play/zone.el (life-patterns): Declare.
11524
80f499c7
JB
115252011-04-20 Juanma Barranquero <lekktu@gmail.com>
11526
11527 * vc/vc.el (ediff-vc-internal): Declare function.
11528
024ff170
SM
115292011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11530
c0a193ea
SM
11531 * shell.el: Use lexical-binding and std completion UI.
11532 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11533 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11534 comint-preoutput-filter-functions rather than on
11535 comint-output-filter-functions.
11536 (shell-command-completion, shell--command-completion-data)
11537 (shell-filename-completion, shell-environment-variable-completion)
11538 (shell-c-a-p-replace-by-expanded-directory): New functions.
11539 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11540 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11541 (shell-dynamic-complete-environment-variable): Use them.
11542 (shell-dynamic-complete-as-environment-variable)
11543 (shell-dynamic-complete-as-command): Remove.
11544 (shell-match-partial-variable): Match past point.
11545 * comint.el: Clean up use of completion-at-point-functions.
11546 (comint-completion-at-point): New function.
11547 (comint-mode): Use it completion-at-point-functions.
11548 (comint-dynamic-complete): Make it obsolete.
11549 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11550 (comint-c-a-p-replace-by-expanded-history): New function.
11551 (comint-dynamic-complete-functions)
11552 (comint-replace-by-expanded-history): Use it.
11553 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11554 termination strings. Try harder to avoid second try-completion.
11555 (completion-in-region-mode-map): Disable bindings that don't work yet.
11556
2dbaa080
SM
11557 * comint.el: Use lexical-binding. Require CL.
11558 (comint-dynamic-complete-functions): Use comint-filename-completion.
11559 (comint-completion-addsuffix): Tweak custom type.
11560 (comint-filename-completion, comint--common-suffix)
11561 (comint--common-quoted-suffix, comint--table-subvert)
11562 (comint--complete-file-name-data): New functions.
11563 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11564 (comint-dynamic-list-filename-completions): Use them.
11565 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11566
2dbaa080
SM
11567 * minibuffer.el (completion-in-region-mode):
11568 Keep completion-in-region-mode--predicate global.
11569 (completion-in-region--postch):
11570 Assume completion-in-region-mode--predicate is not null.
11571
c79a6f38
SM
11572 * progmodes/flymake.el (flymake-start-syntax-check-process):
11573 Obey `dir'. Simplify.
11574
024ff170
SM
11575 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11576 we're in VC after all.
11577
1c6c854e
CS
115782011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11579
11580 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11581 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11582 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11583
bed7f140
SM
115842011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11585
332e62ab
SM
11586 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11587 add sanity check.
11588
bed7f140
SM
11589 * obsolete/erc-hecomplete.el: Make obsolete.
11590 * obsolete/: Standardize obsolescence info in the header.
11591
f195c582
GM
115922011-04-20 Glenn Morris <rgm@gnu.org>
11593
11594 * calendar/solar.el (solar-horizontal-coordinates):
11595 Use the longitude argument rather than `calendar-longitude'.
11596 (solar-date-next-longitude): Remove unused locals.
11597
cb79b8c0
VJL
115982011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11599
11600 * whitespace.el: New version 13.2.1.
11601
116022011-04-20 felix <EmacsWiki> (tiny change)
11603
d8e4b68b 11604 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11605 switching between major modes on a file.
11606
602ea69d
SM
116072011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11608
11609 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11610 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11611 multi-line comments as well.
11612
06b60517
JB
116132011-04-19 Juanma Barranquero <lekktu@gmail.com>
11614
11615 Lexical-binding cleanup.
11616
11617 * arc-mode.el (archive-mode-revert):
11618 * cmuscheme.el (scheme-interactively-start-process):
11619 * custom.el (custom-initialize-delay):
11620 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11621 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11622 * emacs-lock.el (emacs-lock-clear-sentinel):
11623 * ezimage.el (defezimage):
11624 * follow.el (follow-avoid-tail-recenter):
11625 * fringe.el (set-fringe-mode-1):
11626 * generic-x.el (bat-generic-mode-compile):
11627 * help-mode.el (help-info-variable, help-do-xref)
11628 (help-mode-revert-buffer):
11629 * help.el (view-emacs-todo):
11630 * iswitchb.el (iswitchb-completion-help):
11631 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11632 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11633 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11634 * locate.el (locate-update):
11635 * longlines.el (longlines-encode-region)
11636 (longlines-after-change-function):
11637 * outline.el (outline-isearch-open-invisible):
11638 * ps-def.el (declare-function, charset-dimension, char-width)
11639 (encode-char):
11640 * ps-mule.el (ps-mule-plot-string):
11641 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11642 (recentf-edit-list-select, recentf-edit-list-validate)
11643 (recentf-open-files-action):
11644 * rect.el (delete-whitespace-rectangle-line)
11645 (rectangle-number-line-callback):
11646 * register.el (window-configuration-to-register)
11647 (frame-configuration-to-register):
11648 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11649 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11650 (xselect-convert-to-targets, xselect-convert-to-delete)
11651 (xselect-convert-to-filename, xselect-convert-to-charpos)
11652 (xselect-convert-to-lineno, xselect-convert-to-colno)
11653 (xselect-convert-to-os, xselect-convert-to-host)
11654 (xselect-convert-to-user, xselect-convert-to-class)
11655 (xselect-convert-to-name, xselect-convert-to-integer)
11656 (xselect-convert-to-atom, xselect-convert-to-identity):
11657 * subr.el (declare, ignore, process-kill-without-query)
11658 (text-clone-maintain):
11659 * terminal.el (te-get-char, te-tic-sentinel):
11660 * tool-bar.el (tool-bar-make-keymap):
11661 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11662 * type-break.el (type-break-mode, type-break-noninteractive-query):
11663 * view.el (View-back-to-mark):
11664 * wid-browse.el (widget-browse-action, widget-browse-widget)
11665 (widget-browse-widgets, widget-browse-sexp):
11666 * widget.el (define-widget-keywords):
11667 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11668 Mark unused parameters.
11669
11670 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11671 (align-areas): Remove unused variable `look'.
11672 (align-region): Remove unused variables `real-end' and `pos-list'.
11673
11674 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11675
11676 * bindings.el (mode-line-modified, mode-line-remote):
11677 Mark unused parameters.
11678 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11679
11680 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11681 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11682
11683 * comint.el (comint-history-isearch-pop-state)
11684 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11685 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11686 (comint-substitute-in-file-name): Doc fix.
11687
11688 * completion.el (cmpl-statistics-block): Mark unused parameter.
11689 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11690 (save-completions-to-file, load-completions-from-file):
11691 Remove unused local variable `e'.
11692
11693 * composite.el (compose-chars): Remove unused variable `len'.
11694 (lgstring-insert-glyph): Remove unused variable `g'.
11695 (compose-glyph-string): Remove unused variables `ascent',
11696 `descent', `lbearing' and `rbearing'.
11697 (compose-glyph-string-relative): Remove unused variables
11698 `lbearing', `rbearing' and `wadjust'.
11699 (compose-gstring-for-graphic): Remove unused variables `header',
11700 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11701 (compose-gstring-for-terminal): Remove unused variables `header'
11702 and `nchars'. Use `let', not `let*'.
11703
11704 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11705 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11706 (Custom-buffer-done, custom-buffer-create-internal)
11707 (custom-browse-visibility-action, custom-browse-group-tag-action)
11708 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11709 (widget-magic-mouse-down-action, custom-toggle-parent)
11710 (custom-add-parent-links, custom-toggle-hide-variable)
11711 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11712 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11713 (custom-face-menu-create, custom-variable-menu-create, get)
11714 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11715 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11716 (customize-apropos): Remove unused variable `tests'.
11717 (custom-group-value-create): Remove unused variable `hidden-p'.
11718 (sort-fold-case): Declare.
11719
11720 * cus-theme.el (custom-reset-standard-faces-list)
11721 (custom-reset-standard-variables-list): Declare.
11722 (customize-create-theme, custom-theme-revert, custom-theme-write)
11723 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11724 Mark unused parameters.
11725
11726 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11727
11728 * delim-col.el (delimit-columns-max): Move defvar before first use.
11729
11730 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11731 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11732
11733 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11734 (auto-insert): Declare.
11735 (desktop-restore-file-buffer): Rename desktop-* parameters;
11736 mark unused ones.
11737 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11738 (desktop-buffer): Rename desktop-* parameters.
11739
11740 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11741 (dframe-reposition-frame-xemacs, dframe-help-echo)
11742 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11743 Mark unused parameters.
11744
11745 * dired-aux.el (backup-extract-version-start, overwrite-query)
11746 (overwrite-backup-query, rename-regexp-query)
11747 (rename-non-directory-query): Declare.
11748 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11749 (dired-add-entry): Remove unused variable `orig-file-name'.
11750 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11751 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11752 `dired-copy-preserve-time' directly.
11753 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11754 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11755
11756 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11757 (dired-virtual-revert, dired-make-relative-symlink):
11758 Mark unused parameters.
11759 (manual-program): Declare.
11760 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11761 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11762 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11763
11764 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11765
11766 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11767
11768 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11769 Declare.
11770
11771 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11772
11773 * electric.el (Electric-command-loop): Rename parameter
11774 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11775
11776 * expand.el (expand-in-literal): Remove unused variable `here'.
11777
11778 * facemenu.el (facemenu-add-new-color):
11779 Remove unused variable `docstring'.
11780
11781 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11782 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11783 (face-attr-construct): Mark unused parameter. Doc fix.
11784 (read-color): Remove unused variable `hex-string'.
11785
11786 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11787 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11788 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11789 (display-buffer-other-frame): Remove unused variable `old-window'.
11790 (kill-buffer-hook): Declare.
11791 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11792 Mark unused parameters.
11793 (after-find-file): Pass 1 to `auto-save-mode', not t.
11794
11795 * files-x.el (auto-insert): Declare.
11796 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11797
11798 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11799 variable `buf'. Mark unused parameter.
06b60517
JB
11800 (find-lisp-insert-directory): Mark unused parameter.
11801
11802 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11803 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11804 (format-common-tail): Remove, unused.
11805 (format-deannotate-region): Remove unused variable `loc'.
11806 (format-annotate-region): Remove unused variable `p'.
11807 (format-annotate-single-property-change): Remove unused variables
11808 `default' and `tail'.
11809
11810 * forms.el (read-file-filter): Declare.
11811 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11812
11813 * frame.el (frame-creation-function-alist): Mark unused parameter.
11814 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11815
11816 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11817 Remove unused parameters.
11818 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11819 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11820
11821 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11822 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11823 (hfy-prepare-tag-map): Mark unused parameters.
11824 (htmlfontify-buffer): Use `called-interactively-p'.
11825
11826 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11827 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11828 (ibuffer-do-occur): Mark unused parameters.
11829 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11830 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11831
11832 * ibuffer.el: Don't quote `lambda'.
11833 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11834 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11835 Mark unused parameters.
11836
11837 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11838 (ido-completing-read): Mark unused parameters.
11839 (ido-copy-current-word): Mark unused parameters;
11840 remove unused variable `name'.
11841 (ido-sort-merged-list): Remove unused parameter `dirs'.
11842
11843 * ielm.el (ielm-input-sender): Mark unused parameter.
11844 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11845 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11846 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11847 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11848 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11849
11850 * image-dired.el (image-dired-display-thumbs): Remove unused
11851 variables `curr-file' and `count'.
11852 (image-dired-remove-tag): Remove unused variable `start'.
11853 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11854 variable `curr-file'
11855 (image-dired-rotate-original): Remove unused variable `temp-file'.
11856 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11857 Remove unused variable `file'.
11858 (image-dired-gallery-generate): Remove unused variable `curr'.
11859 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11860
11861 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11862
11863 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11864
11865 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11866
11867 * isearch.el (minibuffer-history-symbol): Declare.
11868 (isearch-edit-string): Remove unused variable `err'.
11869 (isearch-message-prefix, isearch-message-suffix):
11870 Mark unused parameters.
11871
11872 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11873
11874 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11875
11876 * makesum.el (double-column): Remove unused variable `cnt'.
11877
11878 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11879 (ido-ignore-item-temp-list): Declare.
11880
11881 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11882 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11883 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11884 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11885 `mouse-col-delta'.
11886
11887 * mouse-sel.el (mouse-extend-internal):
11888 Remove unused variable `orig-window-frame'.
11889
11890 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11891 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11892 Move declarations before first use.
11893 (pcomplete-opt): Mark unused parameters; doc fix.
11894
11895 * proced.el (proced-revert): Mark unused parameter.
11896 (proced-send-signal): Remove unused variable `err'.
11897
11898 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11899 Rename parameter PREFIX-ARG to ARG.
11900 (ps-basic-plot-string, ps-basic-plot-whitespace):
11901 Mark unused parameters.
11902
11903 * replace.el (replace-count): Define.
11904 (occur-revert-function): Mark unused parameters.
11905 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11906 (isearch-case-fold-search, isearch-string): Declare.
11907 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11908 bind `case-fold-search'. Remove unused variables `beg' and `end',
11909 and simplify.
11910 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11911 COUNT and bind `replace-count'.
11912 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11913 to COUNT.
11914
11915 * savehist.el (print-readably, print-string-length): Declare.
11916
11917 * shadowfile.el (shadow-expand-cluster-in-file-name):
11918 Remove unused variable `cluster'.
11919 (shadow-copy-file): Remove unused variable `i'.
11920 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11921 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11922 (shadow-define-literal-group, shadow-define-regexp-group)
11923 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11924
11925 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11926 (shell): Use `called-interactively-p'.
11927 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11928
11929 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11930 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11931 (delete-backward-char): Remove unused variable `ocol'.
11932 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11933 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11934 (event-apply-hyper-modifier, event-apply-shift-modifier)
11935 (event-apply-control-modifier, event-apply-meta-modifier):
11936 Mark unused parameters.
11937 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11938 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11939
11940 * speedbar.el (speedbar-ignored-directory-expressions)
11941 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11942 (speedbar-find-file, speedbar-dir-follow)
11943 (speedbar-directory-buttons-follow, speedbar-tag-find)
11944 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11945 (speedbar-buffers-line-directory, speedbar-buffer-click):
11946 Mark unused parameters.
11947 (speedbar-tag-file): Remove unused variable `mode'.
11948 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11949
11950 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11951
11952 * talk.el (talk): Remove unused variable `display'.
11953
11954 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11955 (tar-write-region-annotate): Mark unused parameter.
11956
11957 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11958 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11959 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11960 warning by another.
11961
11962 * time-stamp.el (time-stamp-string-preprocess):
11963 Remove unused variable `require-padding'.
11964
11965 * tree-widget.el (widget-glyph-enable): Declare.
11966 (tree-widget-action): Mark unused parameter.
11967
11968 * w32-fns.el (x-get-selection): Mark unused parameter.
11969 (autoload-make-program, generated-autoload-file): Declare.
11970
11971 * wdired.el (wdired-revert): Mark unused parameters.
11972 (wdired-xcase-word): Remove unused variable `err'.
11973
11974 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11975 (whitespace-help-scroll): Remove unused variable `data-help'.
11976
11977 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11978 (widget-image-insert, widget-after-change, default)
11979 (widget-default-format-handler, widget-default-notify)
11980 (widget-default-prompt-value, widget-info-link-action)
11981 (widget-url-link-action, widget-function-link-action)
11982 (widget-variable-link-action, widget-file-link-action)
11983 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11984 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11985 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11986 (widget-insert-button-action, widget-delete-button-action, visibility)
11987 (widget-documentation-link-action, widget-documentation-string-action)
11988 (widget-const-prompt-value, widget-regexp-match, symbol)
11989 (widget-coding-system-prompt-value)
11990 (widget-key-sequence-value-to-external, sexp)
11991 (widget-sexp-value-to-internal, character, vector, cons)
11992 (widget-choice-prompt-value, widget-boolean-prompt-value)
11993 (widget-color--choose-action): Mark unused parameters.
11994 (widget-item-match-inline, widget-choice-match-inline)
11995 (widget-checklist-match, widget-checklist-match-inline)
11996 (widget-group-match): Rename parameter VALUES to VALS.
11997 (widget-field-value-set): Remove unused variable `size'.
11998 (widget-color-action): Remove unused variables `value' and `start'.
11999
12000 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12001 variable `dir'. Doc fix.
06b60517
JB
12002 (windmove-find-other-window): Don't pass it.
12003
12004 * window.el (count-windows): Mark unused parameter.
12005 (bw-adjust-window): Remove unused variable `err'.
12006
12007 * woman.el (woman-file-name): Remove unused variable `default'.
12008 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12009 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12010 (global-font-lock-mode): Declare.
12011 (woman-decode-region): Mark unused parameter.
12012 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12013
12014 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12015 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12016 (x-dnd-handle-moz-url): Remove unused variable `title'.
12017 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12018
12019 * xml.el (xml-parse-tag, xml-parse-attlist):
12020 Remove unused variable `pos'.
12021
bc4f7f3d
GM
120222011-04-19 Glenn Morris <rgm@gnu.org>
12023
12024 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12025 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12026 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12027 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12028 * calendar/cal-html.el (cal-html-insert-minical):
12029 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12030 (calendar-mark-date-pattern):
12031 Prefix "unused" locals.
12032
12033 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12034 optional argument `style'.
12035
12036 * calendar/appt.el (appt-make-list):
12037 * calendar/cal-china.el (calendar-chinese-date-string):
12038 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12039 (diary-hebrew-yahrzeit):
12040 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12041 * calendar/calendar.el (calendar-generate-window):
12042 * calendar/time-date.el (time-to-days):
12043 Remove unused local variables.
12044
16a43933
CY
120452011-04-18 Chong Yidong <cyd@stupidchicken.com>
12046
12047 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12048 glyphless-char-display table.
12049 (tabulated-list-glyphless-char-display): New var.
12050
7eed1860
SS
120512011-04-18 Sam Steingold <sds@gnu.org>
12052
12053 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12054 to acknowledgments.
12055
4d2d1ccd
GM
120562011-04-17 Glenn Morris <rgm@gnu.org>
12057
12058 * calendar/diary-lib.el (diary-sexp-entry):
12059 * calendar/holidays.el (holiday-sexp):
12060 Set debug-on-error rather than the removed stack-trace-on-error.
12061
239da61d
GM
120622011-04-16 Glenn Morris <rgm@gnu.org>
12063
12064 * progmodes/f90.el: Use lexical-binding.
12065 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12066
8b05752a
SM
120672011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12068
daca8ba5
SM
12069 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12070 (mail-mode): Setup mailalias completion here instead.
12071 * mail/mailalias.el: Use lexical-binding.
12072 (pattern, mailalias-done): Declare dynamic.
12073 (mail-completion-at-point-function): New function, from mail-complete.
12074 (mail-complete): Use it.
12075 (mail-completion-expand): New function.
12076 (mail-get-names): Use it.
12077 (mail-directory, mail-directory-process, mail-directory-stream):
12078 Don't use `pattern' for lexically bound arg.
12079
6f542485
SM
12080 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12081
037e7c3f
SM
12082 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12083 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12084 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12085
8b05752a
SM
12086 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12087 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12088 (byte-interactive-p): Define them again, for use when inlining
12089 old code.
12090
49093f60
JB
120912011-04-15 Juanma Barranquero <lekktu@gmail.com>
12092
12093 * loadup.el: Use `string-to-number', not `string-to-int'.
12094
b5b8e7de
SM
120952011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12096
12097 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12098 gud-gdb-complete-command.
12099 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12100 (gud-gdb-completion-at-point): New function.
12101 (gud-gdb-completions): Remove.
12102
f42efeb5
MA
121032011-04-14 Michael Albinus <michael.albinus@gmx.de>
12104
49093f60
JB
12105 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12106 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12107 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12108 whether `executable-find' is bound.
f42efeb5
MA
12109
12110 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12111
e240cc21
SM
121122011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12113
12114 * minibuffer.el (completion-in-region-mode-predicate)
12115 (completion-in-region-mode--predicate): New vars.
12116 (completion-in-region, completion-in-region--postch)
12117 (completion-in-region-mode): Use them.
12118 (completion--capf-wrapper): Also return the hook function.
12119 (completion-at-point, completion-help-at-point):
12120 Adjust and provide a predicate.
c2bd2ab0
SM
12121
12122 Preserve arg names for advice of subr and lexical functions (bug#8457).
12123 * help-fns.el (help-function-arglist): Consolidate the subr and
12124 new-byte-code cases. Add argument `preserve-names' to extract names
12125 from the docstring when needed.
12126 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12127 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12128 (ad-arglist): Use help-function-arglist's new arg.
12129 (ad-definition-type): Use cond.
12130
c183f693
JB
121312011-04-13 Juanma Barranquero <lekktu@gmail.com>
12132
06641a47
JB
12133 * autorevert.el (auto-revert-handler):
12134 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12135 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12136 Don't quote lambda.
12137
c183f693
JB
12138 * image-mode.el (image-transform-set-scale):
12139 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12140
1e3b6001
G
121412011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12142
12143 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12144 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12145 Upgrades via gnutls-cli are too slow to be done opportunistically.
12146
2d6af8dd
JB
121472011-04-12 Juanma Barranquero <lekktu@gmail.com>
12148
12149 * dframe.el (dframe-current-frame): Remove spurious quote.
12150
c0749a51
GM
121512011-04-12 Glenn Morris <rgm@gnu.org>
12152
088d0d61
GM
12153 * calendar/cal-tex.el (cal-tex-end-document):
12154 Try to automatically use latin1 input if needed.
12155
c0749a51
GM
12156 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12157 Don't try to cons a mark onto an empty element.
12158
5c90fde0
LL
121592011-04-11 Leo Liu <sdl.web@gmail.com>
12160
12161 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12162 buffers.
12163 (ido-kill-buffer-at-head): Support killing virtual buffers.
12164
369e974d
CY
121652011-04-10 Chong Yidong <cyd@stupidchicken.com>
12166
12167 * minibuffer.el (completion-show-inline-help): New var.
12168 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12169 (minibuffer-force-complete, minibuffer-complete-word):
12170 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12171
12172 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12173 to avoid interference from inline help (Bug#5849).
12174
37f1c930
LL
121752011-04-10 Leo Liu <sdl.web@gmail.com>
12176
099c39a4
JB
12177 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12178 Fix typo.
37f1c930 12179
a32d4040
CY
121802011-04-09 Chong Yidong <cyd@stupidchicken.com>
12181
12182 * image-mode.el (image-toggle-display-image): Signal an error if
12183 not in Image mode.
12184 (image-transform-mode, image-transform-resize)
12185 (image-transform-set-rotation): Doc fix.
daca8ba5 12186 (image-transform-set-resize): Delete.
a32d4040
CY
12187 (image-transform-set-scale, image-transform-fit-to-height)
12188 (image-transform-fit-to-width): Handle image-toggle-display-image
12189 and image-transform-resize directly.
12190
099c39a4 121912011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12192
12193 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12194 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12195 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12196 (doc-view-mode-map): Add bindings for the new functions.
12197
099c39a4 121982011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12199
4d61f28d 12200 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12201 Fix typo in docstring.
12202
3726838a
EZ
122032011-04-08 Eli Zaretskii <eliz@gnu.org>
12204
04f33f1e
EZ
12205 * files.el (file-size-human-readable): Produce one digit after
12206 decimal, like "ls -lh" does.
12207
12208 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12209 the file size representation.
12210
3726838a
EZ
12211 * simple.el (list-processes): If async subprocesses are not
12212 available, error out with a clear error message.
12213
cbb59342
CY
122142011-04-08 Chong Yidong <cyd@stupidchicken.com>
12215
12216 * help.el (help-form-show): New function, to be called from C.
12217 Put help-form output in a buffer named differently than *Help*.
12218
e3971c44
EZ
122192011-04-08 Eli Zaretskii <eliz@gnu.org>
12220
12221 * files.el (file-size-human-readable): New function.
12222
12223 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12224 computing the representation inline. Don't require `cl'.
12225
12544bbe
GM
122262011-04-08 Glenn Morris <rgm@gnu.org>
12227
a1de6c6a
GM
12228 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12229
3c4671f4
GM
12230 * net/browse-url.el (browse-url-firefox):
12231 Test system-type, not system-configuration.
12232
b605679c
GM
12233 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12234 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12235 Use log-edit-empty-buffer-p. (Bug#7598)
12236
56442f0c
GM
12237 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12238 (rlogin-mode-map): Initialize in the defvar.
12239 (rlogin): Use ignore-errors.
12240
12544bbe
GM
12241 * replace.el (occur-mode-map): Some fixes for menu items.
12242
eb237b0f
AH
122432011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12244
12245 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12246
7d668f2c
CY
122472011-04-06 Chong Yidong <cyd@stupidchicken.com>
12248
e67a13ab
CY
12249 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12250 issuing unused warnings.
12251
12252 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12253 macro directly.
12254
7d668f2c
CY
12255 * simple.el: Lisp reimplement of list-processes. Based on an
12256 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12257 (process-menu-mode): New major mode.
12258 (list-processes--refresh, list-processes):
12259 (process-menu-visit-buffer): New functions.
12260
12261 * files.el (save-buffers-kill-emacs): Don't assume any return
12262 value of list-processes, which is undocumented anyway.
12263
a83ec3c9
CY
122642011-04-06 Chong Yidong <cyd@stupidchicken.com>
12265
12266 * emacs-lisp/tabulated-list.el: New file.
12267
e91a96fe
CY
12268 * emacs-lisp/package.el: Use Tabulated List mode.
12269 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12270 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12271 table format using Tabulated List mode variables.
12272 (package--push): New macro, replacing package-list-maybe-add.
12273 (package-menu--generate): Use package--push. Renamed from
12274 package--generate-package-list.
12275 (package-menu-refresh, list-packages): Use it.
daca8ba5 12276 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12277 Return insertion data instead of inserting it directly.
099c39a4
JB
12278 (package-menu-describe-package, package-menu-execute):
12279 Use tabulated-list-get-id.
e91a96fe
CY
12280 (package-menu-mark-delete, package-menu-mark-install)
12281 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12282 (package-menu-mark-obsolete-for-deletion):
12283 Use tabulated-list-put-tag.
e91a96fe
CY
12284 (package--list-packages, package-menu-revert)
12285 (package-menu-get-package, package-menu-get-version)
12286 (package-menu-sort-by-column): Functions deleted.
12287 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12288 (package-menu--status-predicate, package-menu--version-predicate)
12289 (package-menu--name-predicate)
12290 (package-menu--description-predicate): Handle arguments in the
12291 Tabulated List format.
12292 (package-list-packages-no-fetch): Call list-packages.
12293
3e214b50
JB
122942011-04-06 Juanma Barranquero <lekktu@gmail.com>
12295
12296 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12297 (after-find-file): Don't bind it.
3e214b50
JB
12298 (revert-buffer-in-progress-p): New variable.
12299 (revert-buffer): Bind it.
12300 Pass nil for `after-find-file-from-revert-buffer'.
12301
12302 * saveplace.el (save-place-find-file-hook): Use new variable
12303 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12304
3f0f1700
GM
123052011-04-06 Glenn Morris <rgm@gnu.org>
12306
c0274801
GM
12307 * Makefile.in (AUTOGEN_VCS): New variable.
12308 (autoloads): Use $AUTOGEN_VCS.
12309
3f0f1700
GM
12310 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12311 * calendar/calendar.el (calendar-mode-map):
12312 Check for toolkit scroll bars. (Bug#8305)
12313
41ea9e48
CY
123142011-04-05 Chong Yidong <cyd@stupidchicken.com>
12315
12316 * minibuffer.el (completion-in-region--postch)
12317 (completion-in-region-mode): Remove unnecessary messages.
12318
6194c800
JB
123192011-04-05 Juanma Barranquero <lekktu@gmail.com>
12320
33256f14
JB
12321 * font-lock.el (font-lock-refresh-defaults):
12322 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12323 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12324
6194c800
JB
12325 * info.el (Info-directory-list, Info-read-node-name-2)
12326 (Info-split-parameter-string): Doc fixes.
12327 (Info-virtual-nodes): Reflow docstring.
12328 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12329 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12330 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12331 Fix typos in docstrings.
12332 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12333 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12334 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12335 (Info-restore-desktop-buffer): Mark unused parameters.
12336 (Info-directory-find-file, Info-directory-find-node)
12337 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12338 (Info-virtual-index-find-node, Info-apropos-find-file)
12339 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12340 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12341 (Info-virtual-index): Remove unused local variable `nodename'.
12342
b87a8200 123432011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12344
b87a8200
DD
12345 * net/rcirc.el: Update my e-mail address.
12346 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12347
3b2ff876
CY
123482011-04-05 Chong Yidong <cyd@stupidchicken.com>
12349
12350 * startup.el (command-line): Save the cursor's theme-face
12351 directly, instead of using face-override-spec.
12352
12353 * custom.el (load-theme): Minor optimization in assigning faces.
12354
8d17e7ca
JB
123552011-04-04 Juanma Barranquero <lekktu@gmail.com>
12356
12357 * help-fns.el (describe-variable): Complete all variables having
12358 documentation, including keywords.
12359 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12360
2fbc1934
JB
123612011-04-04 Juanma Barranquero <lekktu@gmail.com>
12362
12363 Convert to lexical-binding.
12364
12365 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12366 (bs--get-marked-string, bs--get-modified-string)
12367 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12368 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12369 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12370
12371 * ehelp.el (electric-help-execute-extended)
12372 (electric-help-ctrl-x-prefix):
12373 * hexl.el (hexl-revert-buffer-function):
12374 * linum.el (linum-after-change, linum-after-scroll):
12375 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12376
12377 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12378
74f50695
DU
123792011-04-04 Daiki Ueno <ueno@unixuser.org>
12380
12381 * epa-dired.el:
12382 * epa-mail.el:
12383 * epa-hook.el:
12384 * epa-file.el:
12385 * epa.el:
12386 * epg.el: Use lexical binding.
12387
c11325f7
CY
123882011-04-03 Chong Yidong <cyd@stupidchicken.com>
12389
0d9e9a12
CY
12390 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12391
c11325f7 12392 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12393 dictionary case for flyspell-mark-duplications-exceptions.
12394 Use regexp matching for languages.
c11325f7
CY
12395 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12396 default dictionary (Bug#7926).
12397
da91b5f2
CY
123982011-04-02 Chong Yidong <cyd@stupidchicken.com>
12399
099c39a4
JB
12400 * emacs-lisp/package.el (package--with-work-buffer):
12401 Recognize https URLs.
da91b5f2 12402
099c39a4
JB
12403 * net/network-stream.el: Move from gnus/proto-stream.el.
12404 Change prefix to network-stream throughout.
da91b5f2
CY
12405 (open-protocol-stream): Merge into open-network-stream, leaving
12406 open-protocol-stream as an alias. Handle nil BUFFER args.
12407
12408 * subr.el (open-network-stream): Move to net/network-stream.el.
12409
afa8e9f6
GM
124102011-04-02 Glenn Morris <rgm@gnu.org>
12411
1d2e369d
GM
12412 * find-dired.el (find-exec-terminator): New option.
12413 (find-ls-option): Test for -ls support.
12414 (find-ls-subdir-switches): Test for -b in find-ls-option.
12415 (find-dired, find-grep-dired): Doc fixes.
12416 (find-dired): Use find-exec-terminator.
12417
8abb7da8 12418 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12419 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12420 (find-name-arg): Remove purecopy.
8abb7da8 12421
f3ca7378
GM
12422 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12423 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12424 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12425 accordingly. Don't add the null-device if not needed.
12426
afa8e9f6
GM
12427 * files.el (save-some-buffers): Doc fix.
12428
35eae264
EZ
124292011-04-02 Eli Zaretskii <eliz@gnu.org>
12430
12431 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12432
26b51db5
JB
124332011-04-01 Juanma Barranquero <lekktu@gmail.com>
12434
12435 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12436 Use `dolist' rather than `mapcar'.
12437
7200d79c
SM
124382011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12439
03408648 12440 Add lexical binding.
7200d79c 12441
03408648
SM
12442 * subr.el (apply-partially): Use new closures rather than CL.
12443 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12444 (dolist, dotimes): Use slightly different expansion for lexical code.
12445 (functionp): Move to C.
12446 (letrec): New macro.
12447 (with-wrapper-hook): Use it and apply-partially instead of CL.
12448 (eval-after-load): Preserve lexical-binding.
12449 (save-window-excursion, with-output-to-temp-buffer): Turn them
12450 into macros.
7200d79c 12451
03408648
SM
12452 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12453
12454 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12455 than the arglist.
12456 (help-add-fundoc-usage): Don't add `Not documented'.
12457 (help-function-arglist): Handle closures, subroutines, and new
12458 byte-code-functions.
12459 (help-make-usage): Remove leading underscores.
12460 (describe-function-1): Handle closures.
12461 (describe-variable): Use special-variable-p for completion.
12462
12463 * files.el (lexical-binding): Declare safe.
f488fb65 12464
03408648
SM
12465 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12466 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12467 (pcase): Add `let' pattern.
12468 Change memoization so it actually works.
12469 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12470 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12471 <let>: New case.
f488fb65 12472
03408648
SM
12473 * emacs-lisp/macroexp.el: Use lexical binding.
12474 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12475 Don't convert ' to #' without checking that it's indeed quoting
12476 a lambda.
12477
12478 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12479 Use eval-sexp-add-defvars.
03408648
SM
12480 (eval-sexp-add-defvars): New fun.
12481
12482 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12483
12484 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12485 Don't autoload.
12486 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12487 than the internal `byte-compile-lambda'.
12488 (defmethod): Don't hide code under quotes.
12489 (eieio-defmethod): New `code' argument.
12490
12491 * emacs-lisp/eieio-comp.el: Remove.
12492
12493 * emacs-lisp/edebug.el (edebug-eval-defun)
12494 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12495 (edebug-toggle): Avoid `eval'.
12496
12497 * emacs-lisp/disass.el (disassemble-internal): Handle new
12498 `closure' objects.
12499 (disassemble-1): Handle new byte codes.
12500
12501 * emacs-lisp/cl.el (pushnew): Silence warning.
12502
12503 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12504 (cl-byte-compile-throw): Remove.
12505 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12506
12507 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12508 closures.
12509
12510 * emacs-lisp/cconv.el: New file.
12511
12512 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12513 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12514 (byte-compile-initial-macro-environment):
12515 Handle declare-function here.
12516 (byte-compile--lexical-environment): New var.
12517 (byte-stack-ref, byte-stack-set, byte-discardN)
12518 (byte-discardN-preserve-tos): New lap codes.
12519 (byte-interactive-p): Don't use any more.
12520 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12521 New macros.
12522 (byte-compile-lapcode): Use them and handle new lap codes.
12523 (byte-compile-obsolete): Remove.
12524 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12525 (byte-compile-arglist-warn): Check late def of inlinable funs.
12526 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12527 since they should have been expanded by now.
12528 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12529 (byte-compile-from-buffer): Remove unused second arg.
12530 (byte-compile-preprocess): New function.
12531 (byte-compile-toplevel-file-form): New function to distinguish
12532 file-form calls from outside from file-form calls from hunk-handlers.
12533 (byte-compile-file-form): Simplify.
12534 (byte-compile-file-form-defsubst): Remove.
12535 (byte-compile-file-form-defmumble): Simplify now that
12536 byte-compile-lambda always returns a byte-code-function.
12537 (byte-compile): Preprocess.
12538 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12539 Remove, not used any more.
12540 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12541 (byte-compile-make-args-desc): New funs.
12542 (byte-compile-lambda): Handle lexical functions. Always return
12543 a byte-code-function.
12544 (byte-compile-reserved-constants): New var, to make up room for
12545 closed-over variables.
12546 (byte-compile-constants-vector): Obey it.
12547 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12548 (byte-compile-macroexpand-declare-function): New function.
12549 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12550 byte-code-functions.
12551 (byte-compile-form): Check obsolescence here.
12552 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12553 (byte-compile-variable-ref): Remove.
12554 (byte-compile-dynamic-variable-op): New fun.
12555 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12556 (byte-compile-variable-set): New funs.
12557 (byte-compile-discard): Add 2 args.
12558 (byte-compile-stack-ref, byte-compile-stack-set)
12559 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12560 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12561 macroexpand-all instead.
12562 (byte-compile-quote-form): Remove.
12563 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12564 (byte-compile-bind, byte-compile-unbind): New funs.
12565 (byte-compile-let): Handle let* and lexical binding.
12566 (byte-compile-let*): Remove.
12567 (byte-compile-catch, byte-compile-unwind-protect)
12568 (byte-compile-track-mouse, byte-compile-condition-case):
12569 Handle a new :fun-body form, used for lexical scoping.
12570 (byte-compile-save-window-excursion)
12571 (byte-compile-with-output-to-temp-buffer): Remove.
12572 (byte-compile-defun): Simplify.
12573 (byte-compile-stack-adjustment): New fun.
12574 (byte-compile-out): Use it.
12575 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12576
12577 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12578 handler any more.
12579
12580 * emacs-lisp/byte-opt.el: Use lexical binding.
12581 (byte-inline-lapcode): Remove (to bytecomp).
12582 (byte-compile-inline-expand): Pay attention to inlining to/from
12583 lexically bound code.
12584 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12585 any more.
12586 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12587 any more and don't call compiler-macros.
12588 (byte-compile-splice-in-already-compiled-code): Remove.
12589 (byte-code): Don't inline any more.
12590 (disassemble-offset): Receive `bytes' as argument rather than via
12591 dynamic scoping.
12592 (byte-compile-tag-number): Declare before first use.
12593 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12594 `return' even if make-spliceable.
12595 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12596 obsolete interactive-p.
12597 (byte-optimize-lapcode): Optimize new lap-codes.
12598 Don't trip up on new form of `byte-constant' lap code.
12599
12600 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12601
12602 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12603
12604 * custom.el (custom-initialize-default, custom-declare-variable):
12605 Use `defvar'.
12606
12607 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12608 New variables.
12609 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12610 (COMPILE_FIRST): Add macroexp and cconv.
12611 * makefile.w32-in: Mirror changes in Makefile.in.
12612
12613 * vc/cvs-status.el:
12614 * vc/diff-mode.el:
12615 * vc/log-edit.el:
12616 * vc/log-view.el:
12617 * vc/smerge-mode.el:
12618 * textmodes/bibtex-style.el:
12619 * textmodes/css.el:
12620 * startup.el:
12621 * uniquify.el:
da91b5f2
CY
12622 * minibuffer.el:
12623 * newcomment.el:
12624 * reveal.el:
12625 * server.el:
12626 * mpc.el:
12627 * emacs-lisp/smie.el:
12628 * doc-view.el:
12629 * dired.el:
03408648
SM
12630 * abbrev.el: Use lexical binding.
12631
0f0c1f27
EZ
126322011-04-01 Eli Zaretskii <eliz@gnu.org>
12633
12634 * info.el (info-display-manual): New function.
12635
c82b2579
SM
126362011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12639
221ddf68
TH
126402011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12641
12642 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12643 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12644
cba6e77e
GM
126452011-03-31 Glenn Morris <rgm@gnu.org>
12646
e040639f
GM
12647 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12648
cba6e77e
GM
12649 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12650
6d0f1c9e
CS
126512011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12652
12653 * progmodes/python.el (python-default-interpreter)
12654 (python-python-command-args, python-jython-command-args)
12655 (python-which-shell, python-which-args, python-which-bufname)
12656 (python-file-queue, python-comint-output-filter-function)
12657 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12658 variables and functions.
12659
3e2d70fd
SM
126602011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12661
12662 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12663 (completion-in-region-mode): New minor mode.
12664 (completion-in-region): Use it.
12665 (completion-in-region--data, completion-in-region-mode-map): New vars.
12666 (completion-in-region--postch): New function.
12667 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12668 New vars.
12669 (completion--capf-wrapper): New function.
12670 (completion-at-point): Use it to track well-behavedness of
12671 hook functions.
12672 (completion-help-at-point): New command.
12673
f3e4086c
JM
126742011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12675
12676 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12677 syntax class to search for whitespace on a single line
12678 (Message-ID: <4D938140.4030905@redhat.com>).
12679
eb7ffc14
LL
126802011-03-30 Leo Liu <sdl.web@gmail.com>
12681
12682 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12683 New commands.
12684 (edit-abbrevs-map): Bind them here.
12685 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12686
d806ab68
KM
126872011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12688
12689 * allout.el (allout-hide-by-annotation, allout-flag-region):
12690 Reduce possibility of overlay leakage by making them volatile.
12691
12692 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12693 hash is not shared between buffers. Mode initialization is
12694 responsible for giving it a useful starting value.
12695 (allout-item-span): Reduce possibility of overlay leakage by
12696 making them volatile.
12697 (allout-widgets-count-buttons-in-region): Add diagnostic function
12698 for tracking down button overlay leaks.
12699
ea622834
LL
127002011-03-29 Leo Liu <sdl.web@gmail.com>
12701
12702 * ido.el (ido-read-internal): Use the default history var
12703 minibuffer-history if no HISTORY is specified.
12704
b62f8267
G
127052011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12706
03408648
SM
12707 * net/imap.el (imap-shell-open, imap-process-connection-type):
12708 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12709 Kerberos, SSL, other subprocesses.
12710
947b6566
LL
127112011-03-28 Leo Liu <sdl.web@gmail.com>
12712
12713 * abbrev.el (abbrev-table-empty-p): New function.
12714 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12715 nonempty ones. (Bug#5937)
12716
5ffb62aa
JD
127172011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12718
12719 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12720
7a097943
LL
127212011-03-27 Leo Liu <sdl.web@gmail.com>
12722
12723 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12724 for foreground and background colors.
12725 (ansi-color-make-color-map): Adapt.
12726
c5b40130
LL
127272011-03-25 Leo Liu <sdl.web@gmail.com>
12728
1f48f7d2
LL
12729 * midnight.el (midnight-time-float): Remove. Note it calculates
12730 the microsecond component incorrectly and seconds-to-time does the
12731 same job.
625897ec 12732 Remove redundant (require 'timer).
1f48f7d2 12733
c5b40130
LL
12734 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12735 (ido-completions): Remove unused arguments. (Bug#8329)
12736
d86d2721
SM
127372011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12738
12739 * minibuffer.el (completion--flush-all-sorted-completions):
12740 Remove itself from hook.
12741 (completion-at-point): Let the functions perform the completion
12742 immediately and return nil or t.
12743 * comint.el (comint-dynamic-complete-functions): Now identical to
12744 completion-at-point-functions.
12745 (comint-dynamic-list-input-ring): Remove unused var `index'.
12746 (comint--match-partial-filename, comint--unquote&expand-filename):
12747 New funs, split from comint-match-partial-filename.
12748 (comint-dynamic-complete): Use completion-at-point.
12749 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12750
e8974c48
DA
127512011-03-24 Drew Adams <drew.adams@oracle.com>
12752
12753 * thingatpt.el: Support `defun'.
12754
def71b5e
LL
127552011-03-23 Leo Liu <sdl.web@gmail.com>
12756
cb5af48e
LL
12757 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12758
def71b5e
LL
12759 * help-mode.el (help-mode-finish): Tweak regexp.
12760
927c53e7
GM
127612011-03-23 Glenn Morris <rgm@gnu.org>
12762
18d05bed
GM
12763 * eshell/esh-opt.el (eshell-eval-using-options):
12764 Do not bind unused local variable `eshell-option-stub'.
12765
927c53e7
GM
12766 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12767
9d0da923
JB
127682011-03-22 Juanma Barranquero <lekktu@gmail.com>
12769
12770 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12771 keymap variable in `with-no-warnings' to avoid a warning when the
12772 keymap has been already `defconst'ed.
12773
4b978a67
LL
127742011-03-22 Leo Liu <sdl.web@gmail.com>
12775
12776 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12777 encode all chars in abbrevs; otherwise use emacs-mule or
12778 utf-8-emacs. (Bug#8308)
12779
5fd62452
JB
127802011-03-22 Juanma Barranquero <lekktu@gmail.com>
12781
0b1596c6
JB
12782 * simple.el (backward-delete-char-untabify):
12783 Avoid warning about using `delete-backward-char'.
12784
5fd62452
JB
12785 * image.el (image-type-file-name-regexps): Make it variable.
12786 `imagemagick-register-types' modifies it, and the user may want
12787 to add new extensions for known image types.
12788 (imagemagick-register-types): Throw error if not using ImageMagick.
12789
0b4e93f1
LL
127902011-03-22 Leo Liu <sdl.web@gmail.com>
12791
12792 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12793 located before rcirc-prompt-end-marker.
12794 (rcirc-complete): Error if point is not after rcirc prompt.
12795 Handle the case when table is nil.
9882e214 12796 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12797
fccee4ab
CY
127982011-03-22 Chong Yidong <cyd@stupidchicken.com>
12799
12800 * custom.el (custom--inhibit-theme-enable): Make it affect only
12801 custom-theme-set-variables and custom-theme-set-faces.
12802 (provide-theme): Ignore custom--inhibit-theme-enable.
12803 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12804 (custom-enabling-themes): Delete variable.
d86d2721
SM
12805 (enable-theme): Accept only loaded themes as arguments.
12806 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12807 (custom-enabled-themes): Forbid themes from setting this.
12808 Eliminate use of custom-enabling-themes.
12809 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12810
af896da6
LL
128112011-03-21 Leo Liu <sdl.web@gmail.com>
12812
12813 * ido.el (ido-read-internal): Add ido-selected to history instead
12814 of user input.
12815
78f64af0
SM
128162011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12817
12818 * subr.el (deferred-action-list, deferred-action-function):
12819 Mark obsolete.
12820
b16ac1ec
LL
128212011-03-21 Leo Liu <sdl.web@gmail.com>
12822
810f7698
LL
12823 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12824 change on 2011-02-13 (bug#8309).
12825
b16ac1ec
LL
12826 * minibuffer.el (read-file-name-function): Change default value.
12827 (read-file-name--defaults): Rename from read-file-name-defaults.
12828 (read-file-name-default): Rename from read-file-name.
12829 (read-file-name): Call read-file-name-function.
12830
4e05e67e
GM
128312011-03-21 Glenn Morris <rgm@gnu.org>
12832
12833 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12834 Doc fixes.
12835
4359915b
CY
128362011-03-21 Chong Yidong <cyd@stupidchicken.com>
12837
12838 * cus-theme.el: Add missing provide statement.
12839 (customize-create-theme): Extract theme value correctly.
12840 (custom-theme-visit-theme): Autoload.
12841 (customize-create-theme): Prompt before inserting default faces.
12842
1fe275ee
JB
128432011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12844
12845 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12846 units and musical notes.
12847
cd394be1 128482011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12849
12850 * ido.el (ido-read-internal): Use completing-read-default.
12851 (ido-completing-read): Fix compatibility with completing-read.
12852
7d476bde
CO
128532011-03-20 Christian Ohler <ohler@gnu.org>
12854
12855 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12856 (ert-delete-all-tests): Use `called-interactively-p' rather than
12857 `interactive-p'.
12858 (ert--make-xrefs-region): Respect END.
12859
fe0fb33e
CY
128602011-03-19 Chong Yidong <cyd@stupidchicken.com>
12861
ff854b0b
CY
12862 * dired-aux.el (dired-create-directory): Signal an error if the
12863 directory already exists (Bug#8246).
12864
fe0fb33e
CY
12865 * facemenu.el (list-colors-display): Call list-faces-display
12866 inside with-help-window.
12867 (list-colors-print): Use display property to align the final
12868 column, instead of checking window-width.
12869
576bce32
EZ
128702011-03-19 Eli Zaretskii <eliz@gnu.org>
12871
4d61f28d 12872 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12873 windows-nt systems.
12874 (emerge-protect-metachars): Quote correctly for ms-dos and
12875 windows-nt systems.
12876
89c41d68 128772011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12878
12879 * info.el (info-initialize): Replace all uses of `:' with
12880 path-separator for compatibility with non-Unix systems.
12881 Cache quoting of path-separator. (Bug#8258)
12882
b14e3e21 128832011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12884
12885 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12886 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12887 (mouse-avoidance-mode): Fix typos in docstrings.
12888
4525ce3e
CY
128892011-03-19 Chong Yidong <cyd@stupidchicken.com>
12890
12891 * startup.el (package-subdirectory-regexp): Move from package.el.
12892 Omit \\` and \\', and let callers add them.
12893
12894 * emacs-lisp/package.el (package-strip-version)
12895 (package-load-all-descriptors): Add \\` and \\' to
12896 package-subdirectory-regexp before using it.
12897 (package-untar-buffer): New arg DIR; ensure that file untars only
12898 into this expected directory. Remove superfluous delete-region.
12899 (package-unpack): Caller changed.
12900 (package-tar-file-info): Use package-subdirectory-regexp.
12901
a904a09a 129022011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12903
a904a09a
SM
12904 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12905 diff-mode-shared-map (bug#8284).
12906 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12907
129082011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12909
12910 * calendar/time-date.el (format-seconds): Use assoc instead of
12911 assoc-string, since assoc-string doesn't exist in XEmacs.
12912
171fc304
JB
129132011-03-17 Juanma Barranquero <lekktu@gmail.com>
12914
12915 * custom.el (custom-known-themes): Reflow docstring.
12916 (custom-theme-load-path): Fix typo in docstring.
12917 (load-theme): Fix typo in error message.
12918 (custom-available-themes, custom-variable-theme-value):
12919 Use `let', not `let*'.
12920
d71990a1
JB
129212011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12922
12923 * calc/README: Mention inclusion of musical notes.
12924
12925 * calc/calc-units.el (calc-lu-quant): Rename from
12926 `calc-logunits-quantity'.
12927 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12928 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12929 (calc-db): Rename from `calc-dblevel'.
12930 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12931 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12932 (calc-np): Rename from `calc-nplevel'.
12933 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12934 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12935 (calc-lu-plus): Rename from `calc-logunits-add'.
12936 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12937 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12938 (calc-lu-minus): Rename from `calc-logunits-sub'.
12939 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12940 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12941 (calc-lu-times): Rename from `calc-logunits-mul'.
12942 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12943 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12944 (calc-lu-divide): Rename from `calc-logunits-div'.
12945 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12946 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12947
12948 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12949 functions being autoloaded.
12950
12951 * calc/calc.el (calc-lu-power-reference): Rename from
12952 `calc-logunits-power-reference'.
12953 (calc-lu-field-reference): Rename from
12954 `calc-logunits-field-reference'.
12955
7a71b18d
GM
12956 * calc/calc-help.el (calc-l-prefix-help):
12957 Mention musical note functions.
d71990a1 12958
40c2934b
SM
129592011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12960
12961 * minibuffer.el (completion-all-sorted-completions):
12962 Use :completion-cycle-penalty text property if present.
12963
b0911414
KM
129642011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12965
12966 * allout.el (allout-yank-processing): Adjust for new rebulleting
12967 regime so bullet being yanked is used without prompting the user
12968 for a choice.
12969
8a05b668
JB
129702011-03-16 Juanma Barranquero <lekktu@gmail.com>
12971
12972 * startup.el (command-line): Warn the user that _emacs is deprecated.
12973
5ba5fb81
JB
129742011-03-16 Juanma Barranquero <lekktu@gmail.com>
12975
12976 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12977 (delphi-verbose, delphi-comment-face, delphi-string-face)
12978 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12979 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12980 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12981 (delphi-new-comment-line, delphi-font-lock-defaults)
12982 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12983 Fix typos in docstrings.
12984
2dab465b
KM
129852011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12986
5ba5fb81 12987 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12988 Invert the roles of character and string values for INSTEAD, so a
12989 string is used for the more common case of a defaulting prompt.
12990
0adf5618
SM
129912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * progmodes/ruby-mode.el (ruby-backward-sexp):
12994 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12995 * play/gamegrid.el (gamegrid-make-face):
12996 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12997 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12998 * notifications.el (notifications-notify):
12999 * net/xesam.el (xesam-search-engines):
13000 * net/quickurl.el (quickurl-list-insert):
13001 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13002
d72700e5
CY
130032011-03-15 Chong Yidong <cyd@stupidchicken.com>
13004
13005 * startup.el (command-line): Update package subdirectory regexp.
13006
49c5410a
SM
130072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13008
c6eee9aa
SM
13009 * allout.el (allout-abbreviate-flattened-numbering)
13010 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13011
49c5410a
SM
13012 * subr.el (read-char-choice): Only show the cursor after the prompt,
13013 not after the answer.
13014
047b2bb9
KR
130152011-03-15 Kevin Ryde <user42@zip.com.au>
13016
13017 * help-fns.el (variable-at-point): Skip leading quotes, if any
13018 (bug#8253).
13019
0a57d256
SM
130202011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13021
13022 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13023 warning message.
13024
77c992bc
MA
130252011-03-14 Michael Albinus <michael.albinus@gmx.de>
13026
13027 * shell.el (shell): When called interactively, offer to change the
13028 shell file name on remote hosts.
13029
eebc475d
TZ
130302011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13031
13032 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13033 integration for LDAP parameters. The host, base, user or binddn,
13034 and secret tokens can be specified in a netrc file, for instance.
13035 This is optional because an `auth-source' parameter must be
13036 specified in the search attributes.
13037
9d05d1ba
JB
130382011-03-13 Juanma Barranquero <lekktu@gmail.com>
13039
13040 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13041
09d9db2c
GM
130422011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13043
13044 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13045 into declaration. Remove redundant and harmful binding.
13046
130472011-03-12 Eli Zaretskii <eliz@gnu.org>
13048
13049 * files.el (file-ownership-preserved-p): Pass `integer' as an
13050 explicit 2nd argument to `file-attributes'. If the file's owner
13051 is the Administrators group on Windows, and the current user is
13052 Administrator, consider that a match.
13053
13054 * server.el (server-ensure-safe-dir): Consider server directory
13055 safe on MS-Windows if its owner is the Administrators group while
13056 the current Emacs user is Administrator. Use `=' to compare
13057 numerical UIDs, since they could be integers or floats.
13058
219bd536
JB
130592011-03-12 Juanma Barranquero <lekktu@gmail.com>
13060
13061 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13062
f3afd36b
MA
130632011-03-12 Michael Albinus <michael.albinus@gmx.de>
13064
13065 Sync with Tramp 2.2.1.
13066
13067 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13068
13069 * net/trampver.el: Update release number.
13070
3aaaa6f1
SM
130712011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13072
94642599
SM
13073 * progmodes/compile.el (compilation--previous-directory): Fix up
13074 various nil/dead-marker mismatches (bug#8014).
13075 (compilation-directory-properties, compilation-error-properties):
13076 Don't call it at a position past the one we're about to change.
13077
3aaaa6f1
SM
13078 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13079 Disable obsolescence warnings in the file that declares it.
13080
14239447
KM
130812011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13082
099c39a4
JB
13083 * allout-widgets.el (allout-widgets-tally):
13084 Initialize allout-widgets-tally as a hash table rather than nil to
13085 prevent mode-line redisplay warnings. Also, clarify the module
13086 description and fix a comment typo.
14239447 13087
135e287c
JB
130882011-03-11 Juanma Barranquero <lekktu@gmail.com>
13089
13090 * help-fns.el (describe-variable): Don't complete keywords.
13091 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13092
ffbf300e
CY
130932011-03-10 Chong Yidong <cyd@stupidchicken.com>
13094
ba08b241
CY
13095 * emacs-lisp/package.el (package-version-join): Impose a standard
13096 string representation for pre/alpha/beta version lists.
13097 (package-unpack-single): Standardize the directory name by passing
13098 it through package-version-join.
13099 (package-strip-rcs-id): Accept any version string that does not
13100 signal an error in version-to-list.
ffbf300e 13101
f346fd6b
MA
131022011-03-10 Michael Albinus <michael.albinus@gmx.de>
13103
13104 * simple.el (delete-trailing-whitespace): Return nil for the
13105 benefit of `write-file-functions'.
13106
ccb55d27
GM
131072011-03-10 Glenn Morris <rgm@gnu.org>
13108
5ceaac0c
GM
13109 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13110
02da65ff
GM
13111 * vc/vc-git.el (vc-git-program): New option.
13112 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13113 (vc-git--call): Use it.
13114
b2f603cc
GM
13115 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13116
5772caab
GM
13117 * cus-edit.el (Custom-newline): If no button at point, look
13118 for a subgroup button at start-of-line. (Bug#2298)
13119
ccb55d27
GM
13120 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13121
ec6ecaed
JD
131222011-03-10 Julien Danjou <julien@danjou.info>
13123
13124 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13125 `cursor-type' is nil.
13126
9d5aa01d
JB
131272011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13128
13129 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13130
b6a5875b
KM
131312011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13132
7a71b18d 13133 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13134 preserves the existing header prefix, rebulleting it if necessary,
13135 rather than replacing it. This is necessary for proper operation
13136 of cooperative addons like allout-widgets.
1154d12e
JB
13137 (allout-make-topic-prefix, allout-rebullet-heading):
13138 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13139 value as alternate bullet to be used, instead of prompting the user
13140 for a bullet character.
b6a5875b 13141
ee545c35
MA
131422011-03-09 Michael Albinus <michael.albinus@gmx.de>
13143
d86d2721
SM
13144 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13145 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13146 `tramp-default-port'.
13147
c47971d7
DD
131482011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13149
13150 * net/rcirc.el (rcirc-handler-001): Remove useless
13151 with-rcirc-process-buffer.
13152 (rcirc-check-auth-status): Swap arguments to string-match.
13153
13522cb4
GM
131542011-03-09 Glenn Morris <rgm@gnu.org>
13155
0be6f4f1
GM
13156 * shell.el (shell-mode):
13157 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13158
13522cb4
GM
13159 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13160 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13161
515de2e3
CY
131622011-03-08 Chong Yidong <cyd@stupidchicken.com>
13163
13164 * emacs-lisp/package.el (package-refresh-contents)
13165 (package-menu-execute): Use condition-case-no-debug.
13166
b511b994
MA
131672011-03-08 Michael Albinus <michael.albinus@gmx.de>
13168
13169 * simple.el (shell-command-to-string): Use `process-file'.
13170
13171 * emacs-lisp/package.el (package-tar-file-info): Handle also
13172 remote files.
13173
d86d2721
SM
13174 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13175 Use `equal' for upload base check.
b511b994 13176
25bbfb31
AM
131772011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13178
13179 * textmodes/texinfo.el (texinfo-environments):
13180 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13181
be996521
GM
131822011-03-08 Glenn Morris <rgm@gnu.org>
13183
e9c8529f
GM
13184 * cus-start.el (cursor-in-non-selected-windows):
13185 Fix :set quoting oddness. (Bug#8192)
13186
be996521
GM
13187 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13188 in some setf expressions. (Bug#2159)
13189
2bb5649e
CY
131902011-03-08 Chong Yidong <cyd@stupidchicken.com>
13191
13192 * custom.el (custom-available-themes): Return themes in
13193 alphabetical order.
13194
33383987 13195See ChangeLog.15 for earlier changes.
e3d51b27
MR
13196
13197;; Local Variables:
13198;; coding: utf-8
e3d51b27
MR
13199;; End:
13200
acaf905b 13201 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13202
13203 This file is part of GNU Emacs.
13204
13205 GNU Emacs is free software: you can redistribute it and/or modify
13206 it under the terms of the GNU General Public License as published by
13207 the Free Software Foundation, either version 3 of the License, or
13208 (at your option) any later version.
13209
13210 GNU Emacs is distributed in the hope that it will be useful,
13211 but WITHOUT ANY WARRANTY; without even the implied warranty of
13212 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13213 GNU General Public License for more details.
13214
13215 You should have received a copy of the GNU General Public License
13216 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.