* lisp/follow.el: Rework, eliminating reliance on advice.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-05-01 Chong Yidong <cyd@gnu.org>
2
3 * follow.el: Eliminate advice.
4 (set-process-filter, process-filter, sit-for): Advice deleted.
5 (follow-mode-off-hook): Obsolete hook removed.
6 (follow-avoid-tail-recenter-p, follow-process-filter-alist): Vars
7 deleted.
8 (follow-auto): Use a :set function.
9 (follow-mode): Rewritten. Don't advise process filters.
10 (follow-switch-to-current-buffer-all, follow-scroll-up)
11 (follow-scroll-down): Assume follow-mode is bound.
12 (follow-comint-scroll-to-bottom)
13 (follow-align-compilation-windows): New functions.
14 (follow--window-sorter): New function.
15 (follow-all-followers): Use it to explicitly sort windows by their
16 positions; don't make assumptions about next-window order.
17 (follow-windows-start-end, follow-delete-other-windows-and-split)
18 (follow-calc-win-start): Doc fix.
19 (follow-windows-aligned-p, follow-select-if-visible): Don't call
20 vertical-motion unnecessarily.
21 (follow-adjust-window): New function.
22 (follow-post-command-hook): Use it.
23 (follow-call-set-process-filter, follow-call-process-filter)
24 (follow-intercept-process-output, follow-tidy-process-filter-alist)
25 (follow-stop-intercept-process-output, follow-generic-filter):
26 Functions deleted.
27 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
28 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down): New
29 functions, replacing advice on scroll-bar-* commands.
30
31 * comint.el (comint-adjust-point): New function.
32 (comint-postoutput-scroll-to-bottom): Use it. Call
33 follow-comint-scroll-to-bottom for Follow mode buffers.
34
35 2012-05-01 Glenn Morris <rgm@gnu.org>
36
37 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
38 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
39 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
40 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
41 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
42 Remove no-byte-compile setting.
43
44 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * minibuffer.el (completion-table-with-quoting): Fix compatibility
47 all-completions code to not return a number in the last cdr.
48
49 2012-04-30 Leo Liu <sdl.web@gmail.com>
50
51 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
52 read-only error.
53
54 2012-04-29 Chong Yidong <cyd@gnu.org>
55
56 * follow.el (follow-calc-win-end): Rewrite to handle partial
57 screen lines correctly (Bug#8390).
58 (follow-avoid-tail-recenter): Minor cleanup.
59
60 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 Avoid the obsolete `assoc' package.
63 * speedbar.el (speedbar-refresh): Avoid adelete.
64 (speedbar-file-lists): Simplify and avoid aput.
65 * man.el (Man--sections, Man--refpages): New vars, replacing
66 Man-sections-alist and Man-refpages-alist.
67 (Man-build-section-alist, Man-build-references-alist):
68 Use them; avoid aput.
69 (Man--last-section, Man--last-refpage): New vars.
70 (Man-follow-manual-reference): Use them.
71 Use the `default' arg of completing-read.
72 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
73
74 2012-04-27 Chong Yidong <cyd@gnu.org>
75
76 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
77
78 * startup.el (x-apply-session-resources): New function.
79
80 * term/ns-win.el (ns-initialize-window-system):
81 * term/w32-win.el (w32-initialize-window-system):
82 * term/x-win.el (x-initialize-window-system): Use it to properly
83 set menu-bar-mode and other vars from X resources, even if the
84 initial frame is not a window-system frame (Bug#2299).
85
86 * subr.el (read-key): Avoid running filter function when setting
87 up temporary tool bar entries (Bug#9922).
88
89 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
90
91 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
92 (Bug#11344)
93
94 2012-04-27 Chong Yidong <cyd@gnu.org>
95
96 * select.el (xselect--encode-string): New function, split from
97 xselect-convert-to-string.
98 (xselect-convert-to-string): Use it.
99 (xselect-convert-to-filename, xselect-convert-to-os)
100 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
101 returned strings are properly encoded (Bug#11315).
102
103 2012-04-27 Chong Yidong <cyd@gnu.org>
104
105 * simple.el (delete-active-region): Move to killing custom group.
106
107 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
108
109 * progmodes/which-func.el (which-func-current): Quote %
110 characters for mode-line processing.
111
112 2012-04-27 Chong Yidong <cyd@gnu.org>
113
114 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
115 reaching eob (Bug#11286).
116
117 2012-04-27 Eli Zaretskii <eliz@gnu.org>
118
119 * progmodes/gdb-mi.el (gdb-control-level): New variable.
120 (gdb): Make it buffer-local and init to zero.
121 (gdb-control-commands-regexp): New variable.
122 (gdb-send): Don't wrap in "-interpreter-exec console" if
123 gdb-control-level is positive. Increment gdb-control-level
124 whenever the command matches gdb-control-commands-regexp, and
125 decrement it each time the command is "end". (Bug#11279)
126
127 2012-04-27 Martin Rudalics <rudalics@gmx.at>
128
129 * window.el (adjust-window-trailing-edge, enlarge-window)
130 (shrink-window, window-resize):
131 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
132 windows (Bug#11276).
133
134 2012-04-27 Chong Yidong <cyd@gnu.org>
135
136 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
137 fix "missing prefix" warning. All callers changed.
138
139 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * emacs-lisp/assoc.el: Move to obsolete/.
142
143 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
146
147 * term/ns-win.el (ns-define-service):
148 * progmodes/pascal.el (pascal-goto-defun):
149 * progmodes/js.el (js--read-tab):
150 * progmodes/etags.el (tags-lazy-completion-table):
151 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
152 * emacs-lisp/ewoc.el (ewoc--wrap):
153 * emacs-lisp/assoc.el (aput, adelete, amake):
154 * doc-view.el (doc-view-convert-current-doc):
155 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
156
157 2012-04-26 Chong Yidong <cyd@gnu.org>
158
159 * image.el (image-type-from-buffer): Only return supported image
160 type (Bug#9045).
161
162 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
163 value, for symmetry with diff-end-of-hunk.
164 (diff-split-hunk, diff-find-source-location)
165 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
166 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
167 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
168 compute the relevant hunk or file properly (Bug#6005).
169 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
170
171 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * vc/vc-mtn.el:
174 * vc/vc-hg.el:
175 * vc/vc-git.el:
176 * vc/vc-dir.el:
177 * vc/vc-cvs.el:
178 * vc/vc-bzr.el:
179 * vc/vc-arch.el:
180 * vc/vc.el: Replace lexical-let by lexical-binding.
181 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
182 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
183 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
184
185 2012-04-26 Chong Yidong <cyd@gnu.org>
186
187 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
188 (diff-mode-shared-map): Bind it to / and [remap undo].
189
190 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
191 (ediff-window-setup-function): Use it as the default, to set up
192 windows based on whether the current frame is graphical (Bug#2138).
193 (ediff-choose-window-setup-function-automatically): Make obsolete.
194
195 * vc/ediff-init.el: Always define ediff-pixel-width/height.
196
197 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * ffap.el: Remove old code for obsolete package.
200 (ffap-complete-as-file-p): Remove.
201
202 Use completion-table-with-quoting for comint and pcomplete.
203 * comint.el (comint--unquote&requote-argument)
204 (comint--unquote-argument, comint--requote-argument): New functions.
205 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
206 (comint-quote-filename): Use regexp-opt-charset.
207 (comint--common-suffix, comint--common-quoted-suffix)
208 (comint--table-subvert): Remove.
209 (comint-unquote-function, comint-requote-function): New vars.
210 (comint--complete-file-name-data): Use them with
211 completion-table-with-quoting.
212 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
213 * pcomplete.el (pcomplete-arg-quote-list)
214 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
215 (pcomplete-unquote-argument-function): Default to non-nil.
216 (pcomplete-unquote-argument): Simplify.
217 (pcomplete--common-quoted-suffix): Remove.
218 (pcomplete-requote-argument-function): New var.
219 (pcomplete--common-suffix): New function.
220 (pcomplete-completions-at-point): Use completion-table-with-quoting
221 and completion-table-subvert.
222
223 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
224 (minibuffer--double-dollars): Preserve properties.
225 (completion--sifn-requote): New function.
226 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
227
228 * minibuffer.el: Add support for completion of quoted/escaped data.
229 (completion-table-with-quoting, completion-table-subvert): New funs.
230 (completion--twq-try, completion--twq-all): New functions.
231 (completion--nth-completion): New function.
232 (completion-try-completion, completion-all-completions): Use it.
233
234 2012-04-25 Leo Liu <sdl.web@gmail.com>
235
236 * progmodes/python.el (python-pdbtrack-get-source-buffer):
237 Use compilation-message if available to find real filename.
238
239 2012-04-25 Chong Yidong <cyd@gnu.org>
240
241 * vc/diff-mode.el (diff-setup-whitespace): New function.
242 (diff-mode): Use it.
243
244 * vc/diff.el (diff-sentinel):
245 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
246 Whitespace mode variables based on diff style (Bug#8612).
247
248 2012-04-25 Leo Liu <sdl.web@gmail.com>
249
250 * progmodes/python.el (python-send-region): Add suffix .py to the
251 temp file.
252
253 * files.el (auto-mode-alist): Use javascript-mode instead.
254
255 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
256
257 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
258
259 * soap-client.el (soap-resolve-references-for-sequence-type)
260 (soap-resolve-references-for-array-type): Hack to prevent self
261 references, see Bug#9.
262 (soap-parse-envelope): Report the contents of the 'detail' node
263 when receiving a fault reply.
264 (soap-parse-envelope): Report the contents of the entire 'detail' node.
265
266 * soap-inspect.el (soap-sample-value-for-simple-type)
267 (soap-inspect-simple-type): New function.
268
269 * soap-client.el (soap-simple-type): New struct.
270 (soap-default-xsd-types, soap-default-soapenc-types)
271 (soap-decode-basic-type, soap-encode-basic-type):
272 support unsignedInt and double basic types.
273 (soap-resolve-references-for-simple-type)
274 (soap-parse-simple-type, soap-encode-simple-type): New function.
275 (soap-parse-schema): Parse xsd:simpleType declarations.
276
277 * soap-client.el (soap-default-xsd-types)
278 (soap-default-soapenc-types): Add integer, byte and anyURI types.
279 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
280 the local name of "soapenc:Array".
281 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
282 decoding integer, byte and anyURI xsd types.
283
284 2012-04-25 Chong Yidong <cyd@gnu.org>
285
286 * cus-edit.el (custom-buffer-create-internal): Update header text.
287
288 2012-04-25 Eli Zaretskii <eliz@gnu.org>
289
290 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
291 settings on 'system-type', not on 'window-system'. On MS-Windows,
292 set interactive-mode on in GDB.
293
294 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
297 (ruby-syntax-propertize-regexp): Remove.
298 (ruby-syntax-propertize-function): Split regexp into chunks.
299 Match following code directly.
300
301 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
302
303 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
304 (ruby-syntax-propertize-regexp): New function.
305 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
306 by a special keyword.
307
308 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
309 (ruby-syntax-general-delimiters-goto-beg)
310 (ruby-syntax-propertize-general-delimiters): New functions.
311 (ruby-syntax-propertize-function): Use them to handle GDL.
312 (ruby-font-lock-keywords): Move old handling of GDL...
313 (ruby-font-lock-syntactic-keywords): .. to here.
314 (ruby-calculate-indent): Adjust indentation for GDL.
315
316 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
317
318 * notifications.el (top): Remove unneeded declarations.
319 (notifications-specification-version): Change to "1.2".
320 (notifications-interface, notifications-notify-method)
321 (notifications-close-notification-method): Fix docstring.
322 (notifications-get-capabilities-method): New defconst.
323 (notifications-notify): Add :action-items, :resident and
324 :transient hints. Change "image_data" to "image-data" and
325 "image_path" to "image-path".
326 (notifications-get-capabilities): New defun.
327
328 2012-04-24 Leo Liu <sdl.web@gmail.com>
329
330 * progmodes/python.el: Move hideshow setup to the end.
331
332 2012-04-24 Martin Rudalics <rudalics@gmx.at>
333
334 * window.el (handle-select-window): Clear echo area since this is
335 no more done by read_char (Bug#11304).
336
337 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
340 and `/ M' to filter-derived-mode.
341 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
342 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
343 (ibuffer-mark-by-mode): Use default rather than initial-input.
344 (ibuffer-filter-by-derived-mode): Autoload and require-match.
345
346 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
347
348 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
349 (ibuffer-filter-by-derived-mode): New filter.
350 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
351
352 2012-04-23 Andreas Politz <politza@fh-trier.de>
353
354 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
355
356 2012-04-23 Chong Yidong <cyd@gnu.org>
357
358 * cus-edit.el (customize-apropos, customize-apropos-options):
359 Disable matching of non-option variables (Bug#11176).
360 (customize-option, customize-option-other-window)
361 (customize-changed-options): Doc fix.
362 (customize-apropos-options, customize-apropos-faces)
363 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
364
365 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
366 Fix word list splitting (Bug#11132).
367 (apropos-symbol, apropos-keybinding, apropos-label)
368 (apropos-property, apropos-function-button)
369 (apropos-variable-button, apropos-misc-button): New faces.
370 (apropos-symbol-face, apropos-keybinding-face)
371 (apropos-label-face, apropos-property-face, apropos-match-face):
372 Variables removed (Bug#8396).
373 (apropos-library-button, apropos-format-plist, apropos-print)
374 (apropos-print-doc, apropos-describe-plist): Callers changed.
375
376 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
377
378 * net/xesam.el (xesam-mode-map): Use let-bound map in
379 initialization. (Bug#11292)
380
381 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
382
383 Preserve ispell session localwords when switching back to
384 original buffer.
385
386 * ispell.el (ispell-buffer-session-localwords): New buffer-local
387 variable to hold buffer session localwords.
388 (ispell-kill-ispell): add option 'clear to delete session
389 localwords.
390 (ispell-command-loop, ispell-change-dictionary)
391 (ispell-buffer-local-words): Preserve session localwords when
392 needed.
393
394 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
395 Preserve session localwords when needed.
396
397 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
398
399 * ispell.el (ispell-insert-word) Remove unneeded function using
400 obsolete `translation-table-for-input'.
401 (ispell-word, ispell-process-line, ispell-complete-word):
402 Use plain `insert' instead of removed `ispell-insert-word'.
403
404 2012-04-22 Chong Yidong <cyd@gnu.org>
405
406 * cus-edit.el (custom-variable-menu)
407 (custom-variable-reset-saved, custom-face-menu)
408 (custom-face-reset-saved): If there is no saved value, make the
409 "reset-saved" operation bring back the default (Bug#9509).
410 (custom-face-state): Properly detect themed faces.
411
412 * faces.el (face-spec-set): Stop supporting deprecated form of
413 third arg.
414
415 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
416
417 Move functions from C to Lisp. Make non-blocking method calls
418 the default. Implement further D-Bus standard interfaces.
419
420 * net/dbus.el (dbus-message-internal): Declare function.
421 Remove unneeded function declarations.
422 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
423 (dbus-message-type-method-return, dbus-message-type-error)
424 (dbus-message-type-signal): Declare variables. Remove local
425 definitions.
426 (dbus-interface-dbus, dbus-interface-peer)
427 (dbus-interface-introspectable, dbus-interface-properties)
428 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
429 Adapt docstring.
430 (dbus-interface-objectmanager): New defconst.
431 (dbus-call-method, dbus-call-method-asynchronously)
432 (dbus-send-signal, dbus-method-return-internal)
433 (dbus-method-error-internal, dbus-register-service)
434 (dbus-register-signal, dbus-register-method): New defuns, moved
435 from dbusbind.c
436 (dbus-call-method-handler, dbus-setenv)
437 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
438 New defuns.
439 (dbus-call-method-non-blocking): Make it an obsolete function.
440 (dbus-unregister-object, dbus-unregister-service)
441 (dbus-handle-event, dbus-register-property)
442 (dbus-property-handler): Obey the new structure of
443 `bus-registered-objects'.
444 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
445 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
446 Use `dbus-call-method'.
447
448 2012-04-22 Chong Yidong <cyd@gnu.org>
449
450 * cus-edit.el (custom-commands, custom-reset-menu)
451 (Custom-reset-standard): Tweak labels.
452 (custom-reset-button-menu): Change default to t.
453 (custom-buffer-create-internal): For the custom-reset-button-menu
454 case, put the revert button first.
455 (custom-group-subtitle): New face.
456 (custom-group-value-create): Align docstring to a specific column.
457
458 * wid-edit.el (widget-documentation-link-add): Don't handle
459 indentation in this function.
460 (widget-documentation-string-indent-to): New function.
461 (widget-documentation-string-value-create): Use it.
462
463 * autorevert.el (auto-revert):
464 * epg-config.el (epg):
465 * ibuffer.el (ibuffer):
466 * mpc.el (mpc):
467 * ses.el (ses):
468 * eshell/eshell.el (eshell):
469 * net/ange-ftp.el (ange-ftp):
470 * progmodes/ebnf2ps.el (postscript):
471 * progmodes/flymake.el (flymake):
472 * progmodes/prolog.el (prolog):
473 * progmodes/verilog-mode.el (verilog-mode):
474 * progmodes/which-func.el (which-func):
475 * term/xterm.el (xterm):
476 * textmodes/picture.el (picture):
477 * textmodes/tildify.el (tildify):
478 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
479 customization buffers.
480
481 2012-04-22 Alan Mackenzie <acm@muc.de>
482
483 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
484 Adding a ) can hide the resulting (..) from searches. Fix it.
485 Bound the backward search to the position of the existing (.
486
487 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
488
489 * progmodes/verilog-mode.el (verilog-mode): Check whether
490 which-func-modes is t before adding verilog-mode.
491 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
492
493 2012-04-21 Leo Liu <sdl.web@gmail.com>
494
495 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
496
497 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
498
499 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
500 filling of the last column of a table (Bug#5635).
501 (woman-find-next-control-line): New arg, specifying an additional
502 regexp component for the control line.
503 (woman2-roff-buffer): Use it.
504 (woman-break-table): New function.
505 (woman2-TS): Use it.
506
507 2012-04-21 Chong Yidong <cyd@gnu.org>
508
509 * woman.el (woman-set-buffer-display-table, woman-decode-region)
510 (woman-horizontal-escapes, woman-negative-vertical-space)
511 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
512 (WoMan-warn-ignored): Use ?\s instead of ?\ .
513
514 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * minibuffer.el (completion-file-name-table): Complete user names.
517
518 2012-04-20 Leo Liu <sdl.web@gmail.com>
519
520 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
521 and pcase-let*.
522
523 2012-04-20 Chong Yidong <cyd@gnu.org>
524
525 * server.el (server-execute): Respect initial-buffer-choice if it
526 is a string and there are no files to open (Bug#2825).
527 (server-create-window-system-frame, server-create-tty-frame):
528 Don't switch buffers here.
529 (server-process-filter): Only try to open a window system frame if
530 compiled with graphical support (Bug#8314).
531
532 2012-04-20 Dan Nicolaescu <dann@gnu.org>
533
534 * battery.el (battery-echo-area-format): Display remaining time
535 for sysfs backend too (Bug#11269).
536 (battery-linux-sysfs): Fix conditional for the charge.
537
538 2012-04-20 Chong Yidong <cyd@gnu.org>
539
540 * progmodes/gdb-mi.el (gdb): Revert previous change.
541 (gdb-inferior-io--init-proc): New function.
542 (gdb-init-1): Use it.
543 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
544 responsible for allocating a new pty and hooking it to gdb when
545 the old pty gets an EIO due to process exit.
546 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
547 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
548 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
549
550 2012-04-20 Eli Zaretskii <eliz@gnu.org>
551
552 * window.el (window-min-size, window-sizable, window-min-delta)
553 (window-max-delta, window--resizable, window-resizable)
554 (window-total-size, window-full-height-p, window-full-width-p)
555 (window-in-direction, window--resize-mini-window, window-resize)
556 (window--resize-child-windows-normal)
557 (window--resize-child-windows, window--resize-siblings)
558 (window--resize-this-window, adjust-window-trailing-edge)
559 (enlarge-window, shrink-window): Doc fixes.
560
561 2012-04-20 Chong Yidong <cyd@gnu.org>
562
563 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
564 New function to call delete-process on the gdb-inferior buffer's pty.
565 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
566 pty process (Bug#11273).
567 (gdb-update): New arg to suppress talking to the gdb process.
568 (gdb-done-or-error): Use it.
569 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
570 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
571 sentinel not being called.
572
573 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
574
575 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
576
577 2012-04-20 Glenn Morris <rgm@gnu.org>
578
579 * net/network-stream.el (open-network-stream): Doc fix.
580
581 2012-04-20 Chong Yidong <cyd@gnu.org>
582
583 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
584
585 2012-04-20 Alan Mackenzie <acm@muc.de>
586
587 Ensure searching for keywords is case sensitive.
588
589 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
590 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
591 (c-defun-name, c-mark-function, c-cpp-define-name)
592 (c-comment-indent, c-scan-conditionals, c-indent-defun)
593 (c-context-line-break): Bind case-fold-search to nil.
594
595 * progmodes/cc-mode.el (c-font-lock-fontify-region):
596 Bind case-fold-search to nil.
597
598 2012-04-20 Chong Yidong <cyd@gnu.org>
599
600 * mail/sendmail.el (mail-bury): Call return action with the right
601 Rmail buffer (Bug#11242).
602
603 * server.el (server-process-filter): Handle corner case where both
604 tty and nowait options are present (Bug#11102).
605
606 2012-04-20 Eli Zaretskii <eliz@gnu.org>
607
608 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
609 (top level): Put into the executable the ident-style '$Id:' tag on
610 windows-nt as well.
611
612 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * electric.el (electric-indent-post-self-insert-function): Check that
615 electric-indent-mode is enabled in current buffer.
616
617 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
618
619 * imenu.el (imenu-progress-message): Restore; it is "used" in
620 erc/erc-imenu.el and net/snmp-mode.el.
621
622 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
623
624 * avoid.el (mouse-avoidance-mode): Mark unused arg.
625 (mouse-avoidance-nudge-mouse): Remove unused binding.
626
627 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
628
629 * descr-text.el (describe-char):
630 * progmodes/python.el (python-describe-symbol):
631 Don't call `toggle-read-only', set `buffer-read-only'.
632
633 * imenu.el (imenu-default-goto-function): Mark unused args.
634 (imenu-progress-message): Remove obsolete macro; all callers changed.
635
636 * subr.el (keymap-canonicalize): Remove unused binding.
637 (read-passwd): Mark unused arg.
638
639 * tutorial.el (tutorial--display-changes): Remove unused binding.
640 (tutorial--save-tutorial-to): Remove unused variable.
641
642 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
643 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
644 (package-generate-autoloads, package-menu--generate)
645 (package-menu--find-upgrades): Remove unused bindings.
646
647 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
648 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
649 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
650 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
651 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
652 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
653 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
654 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
655 (cua-delete-char-rectangle): Mark unused args.
656 (cua-align-rectangle): Remove unused binding.
657
658 * mail/rmail.el (compilation--message->loc)
659 (epa--find-coding-system-for-mime-charset): Declare.
660
661 * net/dbus.el (dbus-register-service): Declare.
662 (dbus-name-owner-changed-handler): Remove unused binding.
663
664 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
665 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
666 (nxml-scan-backward-within): Mark unused arg.
667 (nxml-dynamic-markup-word): Remove unused binding.
668
669 * mouse.el (mouse-menu-major-mode-map):
670 * emacs-lisp/authors.el (authors-scan-change-log)
671 (authors-add-to-author-list):
672 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
673 * emacs-lisp/smie.el (smie-auto-fill):
674 * mail/sendmail.el (mail-bury):
675 * mail/unrmail.el (unrmail):
676 * net/tls.el (open-tls-stream):
677 * textmodes/picture.el (picture-mouse-set-point):
678 Remove unused bindings.
679
680 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
681
682 * net/tramp.el (tramp-action-password): Let-bind
683 `enable-recursive-minibuffers' to t.
684
685 2012-04-18 Sam Steingold <sds@gnu.org>
686
687 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
688 instead of 'string to accommodate values like [f11].
689 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
690 * progmodes/gdb-mi.el: Likewise.
691
692 2012-04-18 Leo Liu <sdl.web@gmail.com>
693
694 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
695 current buffer.
696 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
697 LOCAL is nil.
698
699 2012-04-18 Chong Yidong <cyd@gnu.org>
700
701 * simple.el (line-move): Use forward-line if in batch mode
702 (Bug#11053).
703
704 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
705
706 * files.el (after-find-file): Do not try to add a final newline if
707 the buffer is read-only (Bug#11156).
708
709 2012-04-17 Richard Stallman <rms@gnu.org>
710
711 * mail/rmail.el (rmail-start-mail):
712 Pass (rmail-mail-return...) for the return-action.
713 Pass (rmail-yank-current-message...) for the yank-action.
714 (rmail-yank-current-message): New function.
715 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
716 (rmail-reply): Likewise.
717 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
718
719 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
720 buffer, not the last. Reject temp buffers. Use the rmail-mode
721 buffer, not newbuf.
722
723 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
724
725 * server.el (server-ensure-safe-dir): Simplify.
726
727 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * emacs-lisp/smie.el: Provide smarter auto-filling.
730 (smie-auto-fill): New function.
731 (smie-setup): Use it.
732
733 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
734
735 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
736
737 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
738 (comment-indent): Use it.
739
740 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
741
742 * ses.el: The overall change is to add cell renaming, that is
743 setting fancy names for cell symbols other than name matching
744 "\\`[A-Z]+[0-9]+\\'" regexp .
745 (ses-localvars): Add ses--renamed-cell-symb-list.
746 (ses-create-cell-variable): New defun.
747 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
748 (ses-relocate-formula): Relocate formulas only for cells the
749 symbols of which are not renamed, i.e. symbols whose names do not
750 match regexp "\\`[A-Z]+[0-9]+\\'".
751 (ses-relocate-all): Relocate values only for cells the symbols of
752 which are not renamed.
753 (ses-load): Create cells variables as the (ses-cell ...) are read,
754 in order to check row col consistency with cell symbol name only
755 for cells that are not renamed.
756 (ses-replace-name-in-formula): New defun.
757 (ses-rename-cell): New defun.
758
759 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
760
761 * progmodes/perl-mode.el (perl-indent-parens-as-block):
762 New option (bug#11118).
763 (perl-calculate-indent): Respect it.
764
765 2012-04-17 Glenn Morris <rgm@gnu.org>
766
767 * dired-aux.el (dired-mark-read-string): Doc fix.
768
769 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
770
771 * dired-aux.el (dired-mark-read-string): Offer optional completion.
772 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
773
774 2012-04-17 Glenn Morris <rgm@gnu.org>
775
776 * mouse.el (mouse-drag-track):
777 * speedbar.el (speedbar-frame-mode):
778 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
779
780 2012-04-16 Leo Liu <sdl.web@gmail.com>
781
782 * progmodes/python.el: Trivial cleanup.
783
784 2012-04-16 Glenn Morris <rgm@gnu.org>
785
786 * vc/vc.el (vc-string-prefix-p):
787 * vc/pcvs-util.el (cvs-string-prefix-p):
788 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
789 * mpc.el (mpc-string-prefix-p):
790 Make all of these into obsolete aliases for string-prefix-p.
791 Update callers.
792 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
793
794 * textmodes/two-column.el: Move custom options to the start.
795 (frame-width): Remove compat definition.
796 (2C-associate-buffer, 2C-dissociate):
797 Use with-current-buffer rather than save-excursion.
798 (2C-dissociate): Force a mode-line update.
799 (2C-autoscroll): Use ignore-errors.
800
801 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
802 Autoload trivia.
803
804 * emacs-lisp/cl-extra.el (*random-state*):
805 Remove unnecessary declaration.
806
807 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
808
809 * play/cookie1.el (cookie-snarf):
810 Give an explicit error if input file cannot be read.
811
812 * play/yow.el (yow-file): Use expand-file-name rather than concat.
813
814 * progmodes/perl-mode.el (c-macro-expand):
815 Remove unnecessary autoload (it is in loaddefs.el).
816
817 * textmodes/picture.el (picture-desired-column)
818 (picture-update-desired-column): Convert comments to doc-strings.
819 (picture-substitute): Remove function.
820 (picture-mode-map): Initialize in the defvar.
821
822 * woman.el: Remove eval-after-load for tar-mode.
823 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
824 (woman-tar-extract-file): Autoload it.
825
826 * frame.el (automatic-hscrolling): Make this alias obsolete.
827
828 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
829
830 * ispell.el (ispell-set-spellchecker-params): Post-process
831 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
832 (ispell-dictionary-base-alist): Revert to original XEmacs
833 friendly version for default. [:alpha:] will be added in
834 `ispell-set-spellchecker-params' if needed
835
836 2012-04-16 Chong Yidong <cyd@gnu.org>
837
838 * image.el (imagemagick--extension-regexp): New variable.
839 (imagemagick-register-types): Use it.
840 (imagemagick-types-inhibit): Add :set function. Allow new value
841 of t to inhibit all types.
842
843 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
844 so we can preload it.
845
846 * loadup.el (fboundp): Preload regexp-opt, needed by
847 imagemagick-register-types.
848
849 2012-04-15 Chong Yidong <cyd@gnu.org>
850
851 * frame.el (scrolling): Remove nearly unused customization group.
852
853 * scroll-all.el (scroll-all-mode): Move to windows group.
854
855 2012-04-15 Chong Yidong <cyd@gnu.org>
856
857 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
858
859 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 Avoid the use of ((lambda ...) ...) in lexical-binding code.
862 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
863
864 2012-04-15 Glenn Morris <rgm@gnu.org>
865
866 * simple.el (process-file-side-effects): Doc fix.
867
868 2012-04-15 Glenn Morris <rgm@gnu.org>
869
870 * international/mule-cmds.el (set-language-environment): Doc fix.
871
872 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
873
874 * server.el (server-auth-key, server-generate-key): Doc fixes.
875 (server-get-auth-key): Doc fix. Use `string-match-p'.
876 (server-start): Reflow docstring.
877
878 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
879
880 * server.el (server-generate-key): `called-interactively-p'
881 requires a parameter.
882
883 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
884
885 * server.el (server-auth-key): New variable.
886 (server-generate-key, server-get-auth-key): New function.
887 (server-start): Use the new variable and functions to allow
888 setting a permanent server key (bug#9423).
889
890 2012-04-14 Leo Liu <sdl.web@gmail.com>
891
892 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
893
894 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
895
896 Spelling fixes.
897 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
898 Emacs uses American spelling.
899
900 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
901
902 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
903 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
904 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
905 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
906
907 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * progmodes/which-func.el (which-func-modes): Change default.
910
911 2012-04-14 Kim F. Storm <storm@cua.dk>
912
913 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
914 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
915
916 2012-04-14 Chong Yidong <cyd@gnu.org>
917
918 * custom.el (custom-theme-set-variables): Doc fix.
919
920 2012-04-14 Glenn Morris <rgm@gnu.org>
921
922 * international/mule.el (set-auto-coding-for-load): Doc fix.
923
924 2012-04-14 Alan Mackenzie <acm@muc.de>
925
926 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
927 imenu work again for Objective C Mode. Correct the *-index values,
928 these having been disturbed by a previous change in 2011-08.
929
930 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
931 Correct two search limits.
932
933 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
936
937 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
938
939 * international/characters.el: Fix sorting.
940
941 2012-04-14 Eli Zaretskii <eliz@gnu.org>
942
943 * international/characters.el: Add more missing Latin case pairs.
944
945 2012-04-14 Glenn Morris <rgm@gnu.org>
946
947 * files.el (dir-locals-set-class-variables): Doc fix.
948
949 2012-04-14 Eli Zaretskii <eliz@gnu.org>
950
951 * international/characters.el: Add set-case-syntax-pair call for
952 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
953 counterpart. (Bug#11209)
954
955 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
956
957 2012-04-14 Glenn Morris <rgm@gnu.org>
958
959 * calendar/holidays.el (calendar-check-holidays): Doc fix.
960
961 2012-04-14 Eli Zaretskii <eliz@gnu.org>
962
963 * textmodes/ispell.el (ispell-dictionary-base-alist):
964 Add data for Hebrew.
965
966 2012-04-14 Chong Yidong <cyd@gnu.org>
967
968 * net/rcirc.el (rcirc-cmd-quit):
969 Revert 2012-03-18 change (Bug#11192).
970
971 2012-04-14 Glenn Morris <rgm@gnu.org>
972
973 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
974
975 2012-04-14 Eli Zaretskii <eliz@gnu.org>
976
977 * minibuffer.el (completion-in-region-mode-map):
978 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
979
980 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
981
982 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
983
984 2012-04-13 Masatake YAMATO <yamato@redhat.com>
985
986 * minibuffer.el (minibuffer-local-filename-syntax): New variable
987 to allow `C-M-f' and `C-M-b' to move to the nearest path
988 separator (bug#9511).
989
990 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
991
992 * avoid.el: Require cl when compiling. And also move the
993 `provide' to the end.
994
995 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
996
997 * avoid.el (mouse-avoidance-banish-position): New variable.
998 (mouse-avoidance-banish-destination): Use it (bug#10165).
999
1000 2012-04-13 Leo Liu <sdl.web@gmail.com>
1001
1002 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1003
1004 2012-04-13 Ken Brown <kbrown@cornell.edu>
1005
1006 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1007 this is no longer needed now that cygstart understands file:// URLs.
1008 (browse-url-filename-alist): For the same reason, don't modify
1009 file:// URLs on Cygwin.
1010
1011 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1014 the region on shift if the binding is already shifted (bug#11221).
1015
1016 2012-04-12 Glenn Morris <rgm@gnu.org>
1017
1018 * mail/mailpost.el: Move to obsolete/.
1019
1020 2012-04-12 Drew Adams <drew.adams@oracle.com>
1021
1022 * imenu.el (imenu--generic-function): Ignore invisible definitions
1023 (bug#10123).
1024
1025 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1026
1027 * hexl.el (hexl-bits): New variable.
1028 (hexl-options): Mention the variable in the doc string.
1029 (hexl-rulerise, hexl-line-displen): New functions.
1030 (hexl-mode): Mention the new variable.
1031 (hexl-mode, hexl-current-address, hexl-current-address):
1032 Use the displen.
1033 (hexl-ascii-start-column): New function.
1034 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1035 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1036
1037 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1038
1039 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1040 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1041 the encoding, as expected by hunspell.
1042
1043 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * battery.el (battery--linux-sysfs-regexp): New const.
1046 (battery-status-function): Use it. Remove yeeloong special case.
1047 (battery-yeeloong-sysfs): Remove.
1048 (battery-echo-area-format): Remove yeeloong special case.
1049
1050 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1053 Reported by Noah Friedman.
1054
1055 * subr.el (read-passwd): Use read-string.
1056
1057 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1058
1059 * vcursor.el (vcursor-move): Increase the priority of the overlay
1060 (bug#9663).
1061
1062 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1063
1064 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1065 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1066
1067 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1068
1069 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1070 define-minor-mode (bug#10760).
1071
1072 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1073
1074 * progmodes/grep.el (rgrep): Tweak the find command line so
1075 that directories matching `grep-find-ignored-files' won't be
1076 pruned (bug#10351).
1077
1078 2012-04-11 Chong Yidong <cyd@gnu.org>
1079
1080 * startup.el (command-line): Remove support for long-obsolete
1081 variable font-lock-face-attributes.
1082
1083 2012-04-11 Glenn Morris <rgm@gnu.org>
1084
1085 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1086
1087 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * window.el (window--state-get-1): Obey window-point-insertion-type.
1090
1091 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1092
1093 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1094 to previous function when point is on the first character of a
1095 function. Take care of that in `narrow-to-defun' (bug#6157).
1096
1097 2012-04-11 Glenn Morris <rgm@gnu.org>
1098
1099 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1100 not just file-errors.
1101
1102 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1103 (vc-bzr-sha1): Use internal sha1.
1104
1105 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1108
1109 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1110
1111 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1112 that start in the middle of the line (bug#10496).
1113
1114 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1115
1116 * battery.el (battery-linux-proc-acpi): Only one battery is
1117 discharged at a time, but that seems to confuse battery.el when
1118 computing `rate-type' for the battery not being discharged
1119 (bug#10332).
1120
1121 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1124
1125 * international/quail.el: Use dolist and simplify.
1126 (quail-define-package, quail-update-keyboard-layout)
1127 (quail-define-rules): Use dolist.
1128 (quail-insert-kbd-layout, quail-get-translation): CSE.
1129
1130 * tmm.el: Use dolist, remove left over hook.
1131 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1132 Use dolist.
1133 (calendar-load-hook): Don't mess with it.
1134
1135 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1136 Use derived-mode-p. Run the diff asynchronously.
1137
1138 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1139
1140 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1141
1142 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1143
1144 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1145 (list-dynamic-libraries--loaded): New function.
1146 (list-dynamic-libraries--refresh): Use it.
1147
1148 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1149
1150 * progmodes/python.el (python-fill-paragraph):
1151 Make python-fill-region in a multiline string work when font-lock is
1152 disabled (bug#7018).
1153
1154 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1155
1156 * language/european.el (cp775): Add oem/legacy (en)coding on
1157 DOS/MS Windows for the Baltic languages. There are still plenty
1158 of texts written in this encoding/codepage (bug#6519).
1159
1160 2012-04-10 Glenn Morris <rgm@gnu.org>
1161
1162 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1163 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1164
1165 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1166
1167 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1168 next-line "n" and previous-line "p" in order to make recentf more
1169 consistent with ibuffer, dired or org-mode (bug#9387).
1170
1171 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1172
1173 * image.el (put-image): Return the overlay created instead of the
1174 optional input string (bug#7834). Note that this may break code
1175 that is (for some reason or other) depending on `put-image'
1176 returning the string.
1177
1178 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1179
1180 * simple.el (zap-to-char): Allow zapping using input methods
1181 (bug#1580).
1182
1183 * textmodes/fill.el (fill-region): Leave point and mark where they
1184 were before filling (bug#5399).
1185
1186 2012-04-09 Glenn Morris <rgm@gnu.org>
1187
1188 * version.el (emacs-bzr-get-version):
1189 Handle lightweight checkouts of local branches.
1190
1191 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1192
1193 * international/characters.el: Recover lost case pairs. (Bug#11209)
1194
1195 2012-04-09 Chong Yidong <cyd@gnu.org>
1196
1197 * custom.el (custom-variable-p): Return nil for non-symbol
1198 arguments instead of signaling an error.
1199 (user-variable-p): Obsolete alias for custom-variable-p.
1200
1201 * apropos.el (apropos-variable):
1202 * files-x.el (read-file-local-variable):
1203 * simple.el (set-variable):
1204 * woman.el (woman-mini-help):
1205 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1206
1207 2012-04-09 Glenn Morris <rgm@gnu.org>
1208
1209 * startup.el (normal-top-level): Don't look for leim-list.el
1210 in places where it will not be found. (Bug#910)
1211
1212 * international/mule-cmds.el (set-default-coding-systems):
1213 * files.el (normal-mode):
1214 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1215 This function was removed with ucs-tables.el in 2008.
1216
1217 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1218
1219 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1220 ispell-encoding8-command to "-i", without a trailing space.
1221 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1222 separate command-line arguments, to specify the encoding, since
1223 that's how hunspell expects it.
1224
1225 2012-04-08 Glenn Morris <rgm@gnu.org>
1226
1227 * loadup.el: Load bindings before cus-start.
1228 This reduces somewhat the number of "rogue" settings in emacs -Q.
1229
1230 2012-04-07 Glenn Morris <rgm@gnu.org>
1231
1232 * version.el (emacs-bzr-get-version): New function.
1233 (emacs-bzr-version): New variable.
1234 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1235 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1236
1237 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1238
1239 * international/uni-bidi.el, international/uni-category.el:
1240 * international/uni-combining.el, international/uni-decimal.el:
1241 * international/uni-decomposition.el, international/uni-digit.el:
1242 * international/uni-lowercase.el, international/uni-mirrored.el:
1243 * international/uni-name.el, international/uni-numeric.el:
1244 * international/uni-titlecase.el, international/uni-uppercase.el:
1245 Update for Unicode 6.1.
1246
1247 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1248
1249 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1250
1251 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1252
1253 * window.el (shrink-window): Mention the `window-min-height'
1254 variable in the doc string.
1255
1256 2012-04-05 Bastien Guerry <bzg@altern.org>
1257
1258 * color.el (color-lighten-name): Fix typo.
1259
1260 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * server.el (server--on-display-p): New function.
1263 (server--on-display-p): Use it.
1264
1265 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1266
1267 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1268 (bug#11145).
1269
1270 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * comint.el (comint--common-quoted-suffix): Check string boundary
1273 before comparing (bug#11158).
1274 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1275
1276 2012-04-04 Chong Yidong <cyd@gnu.org>
1277
1278 * minibuffer.el (completion-extra-properties): Doc fix.
1279
1280 * subr.el (delayed-warnings-hook): Doc fix.
1281
1282 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1283
1284 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1285 selection (Bug#11159).
1286 (epa-insert-keys): Inform that the default public key will be
1287 exported if no key is selected.
1288
1289 2012-04-04 Richard Stallman <rms@gnu.org>
1290
1291 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1292
1293 2012-04-03 Chong Yidong <cyd@gnu.org>
1294
1295 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1296 mail-insert-file, not its obsolete alias mail-attach-file.
1297
1298 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1299
1300 * notifications.el (notifications-notify): Fix docstring.
1301
1302 2012-04-02 Glenn Morris <rgm@gnu.org>
1303
1304 * emacs-lisp/authors.el (authors-aliases): Another addition.
1305
1306 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1307
1308 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1309 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1310 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1311
1312 2012-04-01 Chong Yidong <cyd@gnu.org>
1313
1314 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1315 Handle root directory properly.
1316 (copy-directory): Caller changed.
1317
1318 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1319 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1320
1321 2012-03-31 Glenn Morris <rgm@gnu.org>
1322
1323 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1324
1325 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1326
1327 * calendar/calendar.el (calendar-window-list)
1328 (calendar-hide-window): Restore. (Bug#11140)
1329 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1330
1331 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1332
1333 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1334
1335 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1336 Check if file is a symlink (Bug#10489).
1337
1338 * files.el (copy-directory): Likewise.
1339
1340 2012-03-30 Chong Yidong <cyd@gnu.org>
1341
1342 * image.el (imagemagick-types-inhibit)
1343 (imagemagick-register-types): Doc fix.
1344
1345 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1346
1347 * ispell.el (ispell-get-extended-character-mode):
1348 Disable extended-char-mode for hunspell. hunspell does not support it
1349 and treats ~word as ordinary words in pipe mode.
1350
1351 2012-03-30 Glenn Morris <rgm@gnu.org>
1352
1353 * tutorial.el (help-with-tutorial): Ensure local variables don't
1354 happen to make the buffer read-only. (Bug#11127)
1355
1356 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1359 (perl-calculate-indent): Return `noindent' in strings.
1360
1361 2012-03-28 Sam Steingold <sds@gnu.org>
1362
1363 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1364 instead of the broken adhockery which does not prevent calendar
1365 buffers from being displayed at random after exit.
1366 (calendar-window-list, calendar-hide-window): Remove the broken
1367 adhockery.
1368
1369 2012-03-28 Glenn Morris <rgm@gnu.org>
1370
1371 * replace.el (query-replace-map): Doc fix.
1372
1373 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1374
1375 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1376 contents. (Bug#11109)
1377
1378 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1381 (bug#11077).
1382 (avl-tree--check, avl-tree--check-node): New funs.
1383
1384 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1385
1386 * window.el (switch-to-visible-buffer): New option.
1387 (switch-to-prev-buffer, switch-to-next-buffer):
1388 Observe switch-to-visible-buffer. Make sure that checking for a window
1389 showing a buffer already is done on the same frame.
1390
1391 2012-03-27 Glenn Morris <rgm@gnu.org>
1392
1393 * startup.el (mail-host-address): Doc fix.
1394
1395 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1398 than 197 variables.
1399
1400 2012-03-26 Ami Fischman <ami@fischman.org>
1401
1402 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1403
1404 2012-03-26 Glenn Morris <rgm@gnu.org>
1405
1406 * files.el (save-buffers-kill-emacs): Doc fix.
1407
1408 * startup.el (normal-top-level, command-line, command-line-1):
1409 Give them doc strings.
1410
1411 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1412
1413 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1414 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1415
1416 2012-03-25 Chong Yidong <cyd@gnu.org>
1417
1418 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1419 theme if it was previously enabled before (Bug#11031).
1420
1421 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1422 spec with custom-face-get-current-spec if its :shown-value is not
1423 determined yet (Bug#9337).
1424 (customize-create-theme, custom-theme-revert): Doc fixes.
1425
1426 * button.el (button-at): Minor addition to docstring.
1427
1428 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1429
1430 * vc/vc.el (vc-merge): Fix a prompt.
1431
1432 2012-03-24 Chong Yidong <cyd@gnu.org>
1433
1434 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1435 point (Bug#9623).
1436
1437 * button.el (button-at): Minor addition to docstring.
1438
1439 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 * newcomment.el (comment-choose-indent): No space after BOL.
1442
1443 2012-03-22 Sam Steingold <sds@gnu.org>
1444
1445 * window.el (switch-to-prev-buffer): Revert last patch because the
1446 bug turned out to be an advertised feature (Elisp manual 28.14).
1447
1448 2012-03-22 Glenn Morris <rgm@gnu.org>
1449
1450 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1451 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1452
1453 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1454
1455 * net/network-stream.el (network-stream-open-starttls): Make error
1456 message under Windows be less misleading.
1457
1458 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1459
1460 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1461 understands (bug#9942).
1462
1463 2012-03-22 Chong Yidong <cyd@gnu.org>
1464
1465 * simple.el (end-of-visible-line): Handle return value of
1466 next-single-property-change properly (Bug#9371).
1467
1468 2012-03-22 Kenichi Handa <handa@m17n.org>
1469
1470 * international/quail.el (quail-insert-kbd-layout): Fix previous
1471 change. To avoid unwanted bidi reordering, use
1472 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1473
1474 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1475
1476 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1477 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1478 (ruby-beginning-of-indent): Be more careful with the difference
1479 between word-boundary and symbol boundary.
1480 (ruby-mode-syntax-table): Make : a symbol constituent.
1481
1482 2012-03-21 Andreas Politz <politza@fh-trier.de>
1483
1484 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1485
1486 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1487
1488 * progmodes/etags.el (tags-completion-at-point-function):
1489 Improve last fix.
1490
1491 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1492
1493 2012-03-21 Sam Steingold <sds@gnu.org>
1494
1495 * progmodes/etags.el (tags-completion-at-point-function):
1496 Avoid the error when point is inside the pattern.
1497
1498 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1499
1500 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1501 line (Bug#10855).
1502
1503 2012-03-21 Drew Adams <drew.adams@oracle.com>
1504
1505 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1506
1507 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1508
1509 * ido.el (ido-set-current-directory, ido-read-internal)
1510 (ido-choose-completion-string, ido-completion-help): Handle nil
1511 value of ido-completion-buffer (Bug#11008).
1512
1513 2012-03-21 Sam Steingold <sds@gnu.org>
1514
1515 * window.el (switch-to-prev-buffer): Do not switch to a visible
1516 window previous buffer, just like with the frame previous buffers.
1517
1518 2012-03-21 Chong Yidong <cyd@gnu.org>
1519
1520 * faces.el (make-face, make-empty-face, copy-face):
1521 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1522 Doc fixes.
1523
1524 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1527 (widget-complete): Remove broken use of it.
1528
1529 2012-03-20 Chong Yidong <cyd@gnu.org>
1530
1531 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1532 Use string-width and truncate-string-width to handle arbitrary
1533 characters.
1534
1535 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1536
1537 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1538 to draw rectangles, not squares. (Regression introduced by revno
1539 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1540
1541 2012-03-18 Chong Yidong <cyd@gnu.org>
1542
1543 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1544 it is not yet defined (for temacs).
1545
1546 2012-03-18 Leo Liu <sdl.web@gmail.com>
1547
1548 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1549
1550 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1551
1552 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1553 (ispell-choices-win-default-height, ispell-silently-savep)
1554 (ispell-dictionary-alist, ispell-encoding8-command)
1555 (ispell-check-version, ispell-aspell-find-dictionary)
1556 (ispell-valid-dictionary-list, ispell-words-keyword)
1557 (ispell-get-word, ispell-internal-change-dictionary)
1558 (ispell-region, ispell-skip-region-list)
1559 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1560 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1561 (ispell-message-text-end, ispell-message)
1562 (ispell-buffer-local-parsing): Doc fix.
1563
1564 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1565
1566 * htmlfontify.el: Add support for code block fontification for ODT
1567 export (Bug #9914).
1568 (hfy-optimisations): Define new option
1569 `body-text-only'
1570 (hfy-fontify-buffer): Honor above setting.
1571 (hfy-begin-span, hfy-end-span): New routines factored out form
1572 `hfy-fontify-buffer'.
1573 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1574 that permit insertion of custom tags.
1575 (hfy-fontify-buffer): Use above handlers.
1576 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1577 (hfy-face-to-css): Re-defined to be a variable.
1578 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1579 over multiple runs. This is made possible by having the caller let
1580 bind a special variable `hfy-user-sheet-assoc'.
1581 (htmlfontify-string): New defun.
1582 (hfy-compile-face-map): Make sure that the last char in the
1583 buffer is correctly fontified.
1584 (hfy-face-resolve-face): Whitespace only change.
1585
1586 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1587
1588 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1589 message more clear.
1590
1591 2012-03-16 Leo Liu <sdl.web@gmail.com>
1592
1593 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1594
1595 2012-03-16 Alan Mackenzie <acm@muc.de>
1596
1597 Further optimise the handling of large macros.
1598
1599 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1600 limit to a call of `c-literal-limits'.
1601 (c-determine-+ve-limit): New function.
1602 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1603 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1604 In CASE 5B, restrict a search limit to 500.
1605 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1606
1607 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1608 Restrict macro bounds to +-500 from after-change's BEG END.
1609
1610 2012-03-16 Leo Liu <sdl.web@gmail.com>
1611
1612 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1613
1614 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1615
1616 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1617 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1618
1619 2012-03-16 Glenn Morris <rgm@gnu.org>
1620
1621 * view.el (view-buffer, view-buffer-other-window)
1622 (view-buffer-other-frame): Doc fixes re special mode-class.
1623
1624 * subr.el (eval-after-load): If named feature is provided not from
1625 a file, run after-load forms. (Bug#10946)
1626
1627 * calendar/calendar.el (calendar-insert-at-column):
1628 Handle non-unit-width characters a bit better. (Bug#10978)
1629
1630 2012-03-15 Chong Yidong <cyd@gnu.org>
1631
1632 * emacs-lisp/ring.el (ring-extend): New function.
1633 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1634
1635 * comint.el (comint-read-input-ring)
1636 (comint-add-to-input-history): Grow comint-input-ring lazily.
1637
1638 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1641 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1642
1643 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1644 (imenu-add-to-menubar): Don't add a redundant index.
1645 (imenu-update-menubar): Handle a dynamically composed keymap.
1646
1647 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1648
1649 * mail/sendmail.el (mail-encode-header):
1650 Bind rfc2047-encode-encoded-words to nil.
1651
1652 2012-03-13 Glenn Morris <rgm@gnu.org>
1653
1654 * calendar/calendar.el (calendar-string-spread):
1655 Handle non-unit-width characters a bit better. (Bug#10978)
1656
1657 2012-03-13 Leo Liu <sdl.web@gmail.com>
1658
1659 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1660 directory and file as argument (Bug#10822).
1661
1662 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1663
1664 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1665 For dynamically generated code, follow $PC.
1666 (gdb-disassembly-handler-custom): Handle no function name case.
1667
1668 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1669
1670 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1671 * emulation/ws-mode.el (ws-query-replace):
1672 * sort.el (sort-regexp-fields):
1673 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1674
1675 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * dabbrev.el: Fix cycle completion order (bug#10963).
1678 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1679 (dabbrev-completion): Don't use an obarray; provide
1680 a cycle-sort-function.
1681
1682 2012-03-12 Leo Liu <sdl.web@gmail.com>
1683
1684 * simple.el (kill-new): Use equal-including-properties for comparison.
1685 (kill-do-not-save-duplicates): Doc fix.
1686
1687 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * dabbrev.el: Fix cycle completion (bug#10963).
1690 Use lexical binding and wrap to 80 columns.
1691 (dabbrev-completion): Delay computing the list of completions.
1692
1693 2012-03-12 Kenichi Handa <handa@m17n.org>
1694
1695 * international/quail.el (quail-insert-kbd-layout): Surround each
1696 row by LRO and PDF instead of inserting many LRMs. Pad the left
1697 and right of each non-spacing marks. Insert invisible space
1698 between lower and upper characters to prevent composition.
1699
1700 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * minibuffer.el (minibuffer-complete): Don't get confused when the
1703 function is run twice via different commands (bug#10958).
1704 (complete-with-action): Fix docstring.
1705
1706 2012-03-12 Chong Yidong <cyd@gnu.org>
1707
1708 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1709 (nxml-completion-at-point-function): New function.
1710 (nxml-mode): Use it.
1711 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1712
1713 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1714 Load generated autoloads file before byte compiling (Bug#10970).
1715 (package--make-autoloads-and-compile): New helper fun.
1716
1717 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1718
1719 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1720
1721 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1722
1723 * autorevert.el (auto-revert-handler): Ensure, that
1724 file-readable-p is applied only for local files or in
1725 auto-revert-tail-mode.
1726
1727 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1728
1729 * server.el (server-eval-at): Handle non-tcp connections.
1730 Decode result string.
1731
1732 * server.el (server-msg-size): New constant.
1733 (server-reply-print): New function.
1734 (server-eval-and-print): Use it.
1735 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1736 Handle -print-nonl.
1737
1738 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1739
1740 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1741 (Bug#10987).
1742
1743 2012-03-11 Chong Yidong <cyd@gnu.org>
1744
1745 * simple.el (goto-line): Doc fix (Bug#9938).
1746
1747 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1748
1749 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1750 when finished (Bug#10963).
1751
1752 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1753
1754 * window.el (split-window-below): Fix bug in case where
1755 split-window-keep-point is nil (Bug#10971).
1756
1757 2012-03-11 Juri Linkov <juri@jurta.org>
1758
1759 * replace.el (replace-highlight): Set isearch-word to nil
1760 unconditionally. (Bug#10887)
1761
1762 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1763
1764 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1765 mairix-replace-illegal-chars; all callers changed. Don't remove
1766 ^, ~, and = characters: they are meaningful in mairix search specs.
1767 (mairix-widget-create-query): Add usage information about mairix
1768 search forms: negating words, searching for substrings, etc.
1769
1770 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1771
1772 * international/fontset.el (font-encoding-alist): Add an entry for
1773 ksx1001 (Bug#5667).
1774
1775 2012-03-10 Richard Stallman <rms@gnu.org>
1776
1777 * mail/sendmail.el (mail-encode-header):
1778 Set rfc2047-encode-encoded-words.
1779
1780 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1781
1782 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1783 view buffer means not swapped.
1784 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1785 (rmail-write-region-annotate): Error if real text has disappeared.
1786
1787 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1788
1789 2012-03-10 Chong Yidong <cyd@gnu.org>
1790
1791 * emulation/cua-rect.el (cua--init-rectangles):
1792 * emulation/cua-base.el (cua--init-keymaps):
1793 Add delete-forward-char to remappings (Bug#9666).
1794
1795 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1796
1797 * speedbar.el (speedbar-unhighlight-one-tag-line):
1798 Avoid unhighlighting due to frame switching (Bug#10275).
1799
1800 2012-03-10 Chong Yidong <cyd@gnu.org>
1801
1802 * minibuffer.el (completion-in-region, completion-help-at-point):
1803 Give the completion field overlay a high priority (Bug#6830).
1804
1805 * dired.el (dired-goto-file): Recognize absolute file name
1806 listings (Bug#7126).
1807 (dired-goto-file-1): New helper function.
1808 (dired-toggle-read-only): Inhibit warnings.
1809
1810 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1811
1812 * net/dbus.el (dbus-property-handler): Return empty array if
1813 there are no properties.
1814
1815 2012-03-09 Leo Liu <sdl.web@gmail.com>
1816
1817 * savehist.el (savehist-printable): Stricter check for string
1818 value (Bug#10937).
1819
1820 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1821
1822 * mail/smtpmail.el (smtpmail-send-it):
1823 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1824 valid mbox format.
1825
1826 2012-03-09 Glenn Morris <rgm@gnu.org>
1827
1828 * files.el (dir-locals-find-file):
1829 Don't check result is regular, readable.
1830 (dir-locals-read-from-file): Demote errors.
1831
1832 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1833
1834 * international/quail.el (quail-insert-kbd-layout):
1835 Insert invisible LRM characters before each character in a keyboard
1836 layout cell, to prevent their reordering by bidi display engine.
1837 For details, see the discussion in
1838 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1839
1840 2012-03-08 Alan Mackenzie <acm@muc.de>
1841
1842 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1843 the starting position; make it extend the marked region when
1844 invoked repeatedly - all under appropriate circumstances.
1845 Fixes bugs #5525, #10906.
1846
1847 2012-03-08 Glenn Morris <rgm@gnu.org>
1848
1849 * files.el (locate-dominating-file, dir-locals-find-file):
1850 Undo 2012-03-06 change.
1851
1852 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1853
1854 * international/quail.el (quail-help):
1855 Force bidi-paragraph-direction be left-to-right. See discussion in
1856 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1857 for the reason.
1858
1859 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1860
1861 Avoid superfluous registering of signals. (Bug#10807)
1862
1863 * notifications.el (notifications-on-action-object)
1864 (notifications-on-close-object): New defvars.
1865 (notifications-on-action-signal, notifications-on-closed-signal):
1866 Unregister the signal if not needed any longer.
1867 (notifications-notify): Register `notifications-action-signal' or
1868 `notifications-closed-signal', if :on-action or :on-close has been
1869 passed as argument.
1870
1871 2012-03-07 Chong Yidong <cyd@gnu.org>
1872
1873 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1874 non-X platforms.
1875
1876 2012-03-06 Glenn Morris <rgm@gnu.org>
1877
1878 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1879 (x-disown-selection-internal, x-get-selection-internal):
1880 Doc fix (add arglist signatures). (Bug#10783)
1881
1882 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1883
1884 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1885 Handle breakpoints with no "type".
1886
1887 2012-03-06 Glenn Morris <rgm@gnu.org>
1888
1889 * files.el (locate-dominating-file): Add optional predicate argument.
1890 (dir-locals-find-file): Make use of above change.
1891
1892 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1893
1894 * info.el (Info-insert-dir): Also try "dir.gz".
1895
1896 2012-03-06 Glenn Morris <rgm@gnu.org>
1897
1898 * files.el (dir-locals-find-file):
1899 Ignore non-readable or non-regular files. (Bug#10928)
1900
1901 * files.el (locate-dominating-file): Doc fix.
1902
1903 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1904
1905 * calendar/calendar.el (calendar-set-mode-line):
1906 `getenv' returns a string. (Bug#10951)
1907
1908 2012-03-05 Leo Liu <sdl.web@gmail.com>
1909
1910 * simple.el (backward-delete-char-untabify): Constrain point to
1911 field (Bug#10939).
1912
1913 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1914
1915 2012-03-05 Chong Yidong <cyd@gnu.org>
1916
1917 * simple.el (count-words): If called from Lisp, return the word
1918 count, for symmetry with `count-lines'. Arglist changed.
1919 (count-words--message): Args changed. Consolidate counting code
1920 from count-words and count-words-region.
1921 (count-words-region): Caller changed.
1922 (count-lines-region): Make it an obsolete alias.
1923
1924 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1925
1926 * saveplace.el (save-place-to-alist)
1927 (save-place-ignore-files-regexp): Allow value nil to disable this
1928 feature.
1929
1930 2012-03-04 Chong Yidong <cyd@gnu.org>
1931
1932 * faces.el (face-spec-reset-face): For the default face, reset the
1933 attributes to default values (Bug#10748).
1934
1935 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1936
1937 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1938 previous patch: Check `message-send-mail-function', and not the
1939 default function (bug#10897).
1940
1941 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1942
1943 * notifications.el (notifications-on-action-signal)
1944 (notifications-on-closed-signal): Check for unique service name of
1945 incoming event. Fix error in removing entry.
1946 (top): Register for signals with wildcard service name.
1947 (notifications-notify): Use daemon unique service name for map entries.
1948
1949 2012-03-04 Chong Yidong <cyd@gnu.org>
1950
1951 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1952
1953 2012-03-04 Glenn Morris <rgm@gnu.org>
1954
1955 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1956 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1957 (expand-abbrev, define-abbrev-table): Doc fixes.
1958
1959 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1960
1961 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1962 `message-default-send-mail-function' and not `send-mail-function'
1963 when doing the prompting for `sendmail-query-once' before sending
1964 in Message buffers (bug#10897).
1965
1966 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1967 This is inconsistent with all the other stream functions, which leave
1968 the setting up to the higher levels (if so wanted) (bug#10931).
1969
1970 2012-03-02 Alan Mackenzie <acm@muc.de>
1971
1972 Depessimize the handling of very large macros.
1973
1974 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1975 (c-macro-cache-syntactic): New variables to implement a one
1976 element macro cache.
1977 (c-invalidate-macro-cache): New function.
1978 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1979 Adapt to use the new cache.
1980 (c-state-safe-place): Use better the cache of safe positions.
1981 (c-state-semi-nonlit-pos-cache)
1982 (c-state-semi-nonlit-pos-cache-limit):
1983 New variables for...
1984 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1985 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1986 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1987 Use c-state-semi-safe-place.
1988
1989 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1990 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1991
1992 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1993
1994 * jka-compr.el (jka-compr-call-process):
1995 Apply `file-accessible-directory-p' only when the default directory is
1996 not remote.
1997
1998 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1999
2000 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2001 access of FILE2, if FILE1 does not exist.
2002
2003 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2004 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2005
2006 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2007 Add "PAGER=" to `process-environment'.
2008
2009 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2010
2011 * progmodes/sql.el: Bug fix
2012 (sql-get-login-ext): Save login values in globals.
2013 (sql-get-login): Use new version of `sql-get-login-ext'.
2014 (sql-interactive-mode): Set global `sql-connection' to nil.
2015 (sql-connect): Set global values for connection.
2016 (sql-product-interactive): Save global values as buffer local.
2017
2018 2012-02-29 Leo Liu <sdl.web@gmail.com>
2019
2020 * abbrev.el (define-abbrevs): Reset sys to nil.
2021
2022 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2023
2024 * files.el (file-equal-p): Rename from `files-equal-p'.
2025 Return nil when one or both files don't exist.
2026 (file-subdir-of-p): Now only top directory must exists,
2027 return nil if it doesn't.
2028 (copy-directory): No need to test with `file-subdir-of-p' after
2029 creating dir.
2030 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2031 to `file-equal-p'.
2032
2033 2012-02-28 Glenn Morris <rgm@gnu.org>
2034
2035 * shell.el (shell-mode):
2036 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2037 * play/landmark.el (landmark-font-lock-face-O):
2038 * play/handwrite.el (handwrite):
2039 * play/gomoku.el (gomoku-O):
2040 * net/browse-url.el (browse-url-browser-display):
2041 * international/mule.el (define-charset):
2042 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2043 * filesets.el (filesets-find-file-delay):
2044 * eshell/em-xtra.el (eshell-xtra):
2045 * eshell/em-unix.el (eshell-grep):
2046 * emulation/viper.el (viper-mode):
2047 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2048 * emacs-lisp/easymenu.el (easy-menu-define):
2049 * calendar/timeclock.el (timeclock-use-display-time):
2050 * bs.el (bs-mode):
2051 * bookmark.el (bookmark-save-flag):
2052 Doc fix (standardize possessive apostrophe usage).
2053
2054 2012-02-27 Chong Yidong <cyd@gnu.org>
2055
2056 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2057 Fix key-binding lookup for ESC key (Bug#9146).
2058
2059 * font-lock.el (font-lock-specified-p): Rename from
2060 font-lock-spec-present. Callers changed.
2061
2062 2012-02-27 Daniel Hackney <dan@haxney.org>
2063
2064 * emacs-lisp/package.el (package-compute-transaction):
2065 Handle holding a package version to t in package-load-list.
2066
2067 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2068
2069 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2070 (tramp-get-inode, tramp-get-device): Use cached values.
2071
2072 2012-02-26 Alan Mackenzie <acm@muc.de>
2073
2074 Check there is a font-lock specification before doing initial
2075 fontification.
2076
2077 * font-core.el (font-lock-mode): Move the conditional from
2078 :after-hook to font-lock-initial-fontify.
2079 (font-lock-default-function): Move the check for a specification
2080 to font-lock-spec-present.
2081
2082 * font-lock.el (font-lock-initial-fontify): Call ...
2083 (font-lock-spec-present): New function.
2084
2085 2012-02-26 Jim Blandy <jimb@red-bean.com>
2086
2087 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2088 (gdb-send): Apply it to the operand of the '-interpreter-exec
2089 console' command, so that we can pass arguments with (say) quotes
2090 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2091
2092 2012-02-26 Chong Yidong <cyd@gnu.org>
2093
2094 * help-fns.el (describe-function-1): Clarify description of
2095 remapping (Bug#10844).
2096
2097 * files.el (files-equal-p): Doc fix.
2098 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2099 and quit the loop once a mismatch is found.
2100
2101 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2102
2103 * bs.el (bs--show-with-configuration): Don't throw an error
2104 if the window cannot be split; otherwise, subsequent calls to
2105 bs-show fail, restoring a stale window config. (Bug#10882)
2106
2107 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2108
2109 * term/ns-win.el (global-map): Bind ns-drag-file to
2110 ns-find-file (Bug#5855, Bug#10050).
2111
2112 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2113
2114 * calendar/parse-time.el (parse-time-string): Allow extractor to
2115 return nil.
2116
2117 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2118
2119 * net/tramp.el (tramp-file-name-for-operation):
2120 Add `files-equal-p' and `file-subdir-of-p'.
2121
2122 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2123 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2124 Add COPY-CONTENTS argument.
2125
2126 2012-02-25 Chong Yidong <cyd@gnu.org>
2127
2128 Add custom groups for VC backends, for consistency with vc-bzr.
2129
2130 * vc/vc-arch.el (vc-arch):
2131 * vc/vc-cvs.el (vc-cvs):
2132 * vc/vc-git.el (vc-git):
2133 * vc/vc-hg.el (vc-hg):
2134 * vc/vc-mtn.el (vc-mtn):
2135 * vc/vc-rcs.el (vc-rcs):
2136 * vc/vc-sccs.el (vc-sccs):
2137 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2138 All relevant defcustoms reassigned.
2139
2140 2012-02-25 Chong Yidong <cyd@gnu.org>
2141
2142 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2143
2144 * term/x-win.el (x-initialize-window-system): Reduce default for
2145 x-selection-timeout to 5 seconds (Bug#8869).
2146
2147 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2148
2149 * files.el (files-equal-p, file-subdir-of-p): New functions.
2150 (copy-directory): Error when trying to copy a directory on itself.
2151 Add missing copy-contents arg to tramp handler.
2152 * dired-aux.el (dired-copy-file-recursive): Same.
2153 (dired-create-files): Modify destination when source is equal to
2154 dest when copying files.
2155 Return also when dest is a subdir of source. (Bug#10489)
2156
2157 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2158
2159 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2160 (Bug#10874)
2161
2162 2012-02-23 Alan Mackenzie <acm@muc.de>
2163
2164 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2165 parameter "after-hook:" to allow the expansion to run code after
2166 the execution of the mode hooks.
2167
2168 * font-lock.el (font-lock-initial-fontify): New function extracted
2169 from font-lock-mode-internal.
2170
2171 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2172 :after-hook.
2173
2174 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2177 (completion--cache-all-sorted-completions): New function.
2178 (completion-all-sorted-completions): Use it.
2179 (completion--do-completion, minibuffer-force-complete):
2180 Use it to re-instate the flush hook.
2181
2182 * icomplete.el (icomplete-completions): Replace last fix with a better
2183 one (bug#10850).
2184
2185 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2186
2187 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2188 when it might call us back infinitely (bug#10797).
2189
2190 2012-02-23 Glenn Morris <rgm@gnu.org>
2191
2192 * minibuffer.el (completion-category-overrides): Doc fix.
2193
2194 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2195
2196 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2197 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2198
2199 2012-02-23 Glenn Morris <rgm@gnu.org>
2200
2201 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2202 (authors-obsolete-files-regexps, authors-ignored-files)
2203 (authors-ambiguous-files, authors-renamed-files-alist):
2204 Add more entries.
2205
2206 2012-02-23 Juri Linkov <juri@jurta.org>
2207
2208 * isearch.el (isearch-occur): Sync interactive spec with occur's
2209 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2210
2211 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2212
2213 2012-02-22 Juri Linkov <juri@jurta.org>
2214
2215 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2216 (ucs-insert): Doc fix. Check for hex digits in the string.
2217 Don't display `nil' in the error message. (Bug#10857)
2218
2219 2012-02-22 Alan Mackenzie <acm@muc.de>
2220
2221 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2222
2223 2012-02-22 Glenn Morris <rgm@gnu.org>
2224
2225 * ffap.el (ffap-c-path):
2226 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2227
2228 2012-02-22 Chong Yidong <cyd@gnu.org>
2229
2230 * custom.el (load-theme): Doc fix.
2231
2232 2012-02-22 Glenn Morris <rgm@gnu.org>
2233
2234 * dired-x.el (dired-guess-shell-alist-default):
2235 Remove escape sequences from nroff output. (Bug#172)
2236
2237 2012-02-21 Glenn Morris <rgm@gnu.org>
2238
2239 * vc/emerge.el (emerge-defvar-local):
2240 Set `permanent-local' property rather than unused `preserved'.
2241
2242 * textmodes/picture.el (picture-delete-char): New alias.
2243 (picture-mode-map): Use it. (Bug#10860)
2244 (picture-mode): Doc fix.
2245
2246 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2247
2248 * newcomment.el (uncomment-region-default): Remove unused binding.
2249
2250 2012-02-21 Glenn Morris <rgm@gnu.org>
2251
2252 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2253 (picture-self-insert, picture-tab-chars): Doc fix.
2254 (picture-mode-map): Fix C-a, C-e.
2255
2256 2012-02-20 Glenn Morris <rgm@gnu.org>
2257
2258 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2259
2260 2012-02-20 Leo Liu <sdl.web@gmail.com>
2261
2262 * icomplete.el (icomplete-completions): Check FROM arg before
2263 passing to substring (Bug#10850).
2264
2265 2012-02-19 Chong Yidong <cyd@gnu.org>
2266
2267 * comint.el: Require ansi-color.
2268 (comint-output-filter-functions): Add ansi-color-process-output.
2269
2270 * ansi-color.el: Don't set comint-output-filter-functions; it is
2271 now in the initial value defined in comint.el.
2272 (ansi-color-apply-face-function): New variable.
2273 (ansi-color-apply-on-region): Use it.
2274 (ansi-color-apply-overlay-face): New function.
2275
2276 * shell.el (shell): No need to require ansi-color.
2277 (shell-mode): Use ansi-color-apply-face-function to highlight
2278 color escapes using font-lock-face property (Bug#10835).
2279
2280 2012-02-19 Chong Yidong <cyd@gnu.org>
2281
2282 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2283 mode-line formats (Bug#10839).
2284
2285 2012-02-18 Glenn Morris <rgm@gnu.org>
2286
2287 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2288
2289 * mail/undigest.el (unforward-rmail-message): Doc fix.
2290
2291 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2292
2293 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2294
2295 * international/characters.el (script-list): Sync with the latest
2296 Unicode Character Database.
2297
2298 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2299
2300 * international/titdic-cnv.el: Remove duplicate coding tag.
2301 * language/cham.el: Likewise.
2302 * language/tai-viet.el: Likewise.
2303
2304 2012-02-18 Glenn Morris <rgm@gnu.org>
2305
2306 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2307 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2308 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2309 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2310 * calendar/holidays.el (holiday-bahai-holidays)
2311 (calendar-holidays, list-holidays):
2312 Use utf-8 Bahá'í in doc-strings, menus, etc.
2313
2314 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2315
2316 * saveplace.el (save-place-ignore-files-regexp): New variable
2317 allowing for excluding files from saving their location of point.
2318 The default value matches the temporary commit message editing
2319 files from Git, SVN, Bazaar, and Mercurial.
2320 (save-place-to-alist): Use it.
2321
2322 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2323 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * newcomment.el (uncomment-region-default): Don't leave extra space
2326 when an arg is provided (bug#8150).
2327
2328 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2329
2330 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2331
2332 2012-02-17 Glenn Morris <rgm@gnu.org>
2333
2334 * net/socks.el: Require network-stream. (Bug#10599)
2335
2336 2012-02-17 Kenichi Handa <handa@m17n.org>
2337
2338 * international/charprop.el:
2339 * international/uni-name.el:
2340 * international/uni-old-name.el:
2341 * international/uni-comment.el: Regenerate.
2342
2343 2012-02-16 Glenn Morris <rgm@gnu.org>
2344
2345 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2346 Interactively in calendar buffer, give an error if not on a date.
2347
2348 2012-02-15 Glenn Morris <rgm@gnu.org>
2349
2350 * shell.el (shell-delimiter-argument-list):
2351 Revert 2011-02-17 change. (Bug#8027)
2352
2353 2012-02-15 Chong Yidong <cyd@gnu.org>
2354
2355 * minibuffer.el (completion-at-point-functions): Doc fix.
2356
2357 * custom.el (defcustom): Doc fix; note use of defvar.
2358
2359 2012-02-15 Glenn Morris <rgm@gnu.org>
2360
2361 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2362 Doc fixes.
2363
2364 2012-02-14 Glenn Morris <rgm@gnu.org>
2365
2366 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2367
2368 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2369
2370 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2371 way the ports list is computed.
2372 (smtpmail-query-smtp-server): Prompt the user for a port number if
2373 we can't connect to any of the standard ports (bug#10810).
2374
2375 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2376
2377 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2378
2379 2012-02-13 Glenn Morris <rgm@gnu.org>
2380
2381 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2382
2383 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2384
2385 * net/gnutls.el (gnutls-trustfiles): New variable.
2386 (gnutls-negotiate): Use it.
2387
2388 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2389
2390 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2391 does its stuff if Gnus is running.
2392
2393 2012-02-13 Alan Mackenzie <acm@muc.de>
2394
2395 Fix a loop in c-set-fl-decl-start.
2396
2397 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2398 c-backward-syntactic-ws actually moves backwards.
2399
2400 2012-02-13 Leo Liu <sdl.web@gmail.com>
2401
2402 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2403 beginning so that all \C-o chars are removed.
2404
2405 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2406
2407 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2408
2409 2012-02-12 Alan Mackenzie <acm@muc.de>
2410
2411 Fix infinite loop with long macros.
2412 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2413
2414 2012-02-12 Chong Yidong <cyd@gnu.org>
2415
2416 * window.el (display-buffer): Doc fix (Bug#10785).
2417
2418 2012-02-12 Glenn Morris <rgm@gnu.org>
2419
2420 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2421 (x-disown-selection-internal, x-get-selection-internal):
2422 Sync docs with the xselect.c versions.
2423
2424 * allout-widgets.el: Add missing license notice.
2425
2426 2012-02-11 Glenn Morris <rgm@gnu.org>
2427
2428 * select.el (x-get-selection-internal, x-own-selection-internal)
2429 (x-disown-selection-internal):
2430 * x-dnd.el (x-get-selection-internal): Update declarations.
2431
2432 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2433
2434 * window.el (window-sides-slots):
2435 * tool-bar.el (tool-bar-position):
2436 * term/xterm.el (xterm-extra-capabilities):
2437 * ses.el (ses-self-reference-early-detection):
2438 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2439 (verilog-auto-wire-type)
2440 (verilog-auto-delete-trailing-whitespace)
2441 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2442 (verilog-auto-tieoff-declaration):
2443 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2444 (sql-oracle-statement-starters, sql-oracle-scan-on):
2445 * progmodes/prolog.el (prolog-align-comments-flag)
2446 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2447 (prolog-left-indent-regexp, prolog-paren-indent-p)
2448 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2449 (prolog-types, prolog-mode-specificators)
2450 (prolog-determinism-specificators, prolog-directives)
2451 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2452 (prolog-electric-dot-flag)
2453 (prolog-electric-dot-full-predicate-template)
2454 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2455 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2456 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2457 (prolog-program-switches, prolog-prompt-regexp)
2458 (prolog-debug-on-string, prolog-debug-off-string)
2459 (prolog-trace-on-string, prolog-trace-off-string)
2460 (prolog-zip-on-string, prolog-zip-off-string)
2461 (prolog-use-standard-consult-compile-method-flag)
2462 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2463 (prolog-imenu-max-lines, prolog-info-predicate-index)
2464 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2465 (prolog-char-quote-workaround):
2466 * progmodes/cc-vars.el (c-defun-tactic):
2467 * net/tramp.el (tramp-encoding-command-interactive)
2468 (tramp-local-end-of-line):
2469 * net/soap-client.el (soap-client):
2470 * net/netrc.el (netrc-file):
2471 * net/gnutls.el (gnutls):
2472 * minibuffer.el (completion-category-overrides)
2473 (completion-cycle-threshold)
2474 (completion-pcm-complete-word-inserts-delimiters):
2475 * man.el (Man-name-local-regexp):
2476 * mail/feedmail.el (feedmail-display-full-frame):
2477 * international/characters.el (glyphless-char-display-control):
2478 * eshell/em-ls.el (eshell-ls-date-format):
2479 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2480 (lisp-lambda-list-keyword-parameter-indentation)
2481 (lisp-lambda-list-keyword-parameter-alignment):
2482 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2483 * dired-x.el (dired-omit-verbose):
2484 * cus-theme.el (custom-theme-allow-multiple-selections):
2485 * calc/calc.el (calc-highlight-selections-with-faces)
2486 (calc-lu-field-reference, calc-lu-power-reference)
2487 (calc-note-threshold):
2488 * battery.el (battery-mode-line-limit):
2489 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2490 (archive-7z-update):
2491 * allout.el (allout-prefixed-keybindings)
2492 (allout-unprefixed-keybindings)
2493 (allout-inhibit-auto-fill-on-headline)
2494 (allout-flattened-numbering-abbreviation):
2495 * allout-widgets.el (allout-widgets-auto-activation)
2496 (allout-widgets-icons-dark-subdir)
2497 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2498 (allout-widgets-theme-dark-background)
2499 (allout-widgets-theme-light-background)
2500 (allout-widgets-item-image-properties-emacs)
2501 (allout-widgets-item-image-properties-xemacs)
2502 (allout-widgets-run-unit-tests-on-load)
2503 (allout-widgets-time-decoration-activity)
2504 (allout-widgets-hook-error-post-time)
2505 (allout-widgets-track-decoration):
2506 Add missing :version tags to new defcustoms and defgroups.
2507
2508 * progmodes/sql.el (sql-ansi-statement-starters)
2509 (sql-oracle-statement-starters): Add custom type.
2510
2511 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2512 (prolog-system-version): Give it a type.
2513
2514 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2515
2516 * term/pc-win.el (x-select-text, x-selection-owner-p)
2517 (x-own-selection-internal, x-disown-selection-internal)
2518 (x-get-selection-internal): Sync doc strings and argument lists
2519 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2520
2521 2012-02-11 Leo Liu <sdl.web@gmail.com>
2522
2523 * progmodes/python.el (python-end-of-statement): Fix infinite
2524 loop. (Bug#10788)
2525
2526 2012-02-10 Glenn Morris <rgm@gnu.org>
2527
2528 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2529 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2530
2531 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2532
2533 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2534 about SMTP before checking the From header.
2535
2536 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2537 into own function for reuse by emacsbug.el.
2538
2539 2012-02-10 Leo Liu <sdl.web@gmail.com>
2540
2541 * subr.el (condition-case-unless-debug): Rename from
2542 condition-case-no-debug. All callers changed.
2543 (with-demoted-errors): Fix caller.
2544
2545 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2546 * nxml/rng-valid.el (rng-do-some-validation):
2547 * emacs-lisp/package.el (package-refresh-contents)
2548 (package-menu-execute):
2549 * desktop.el (desktop-create-buffer):
2550 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2551
2552 2012-02-10 Glenn Morris <rgm@gnu.org>
2553
2554 * textmodes/bibtex.el:
2555 Add missing :version tags for new/changed defcustoms.
2556
2557 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2558
2559 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2560
2561 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2562 (smtpmail-via-smtp): Use it, or fall back on the From address.
2563 (smtpmail-send-it): Ditto.
2564
2565 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2568 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2569 (byte-compile-tmp-var): New const.
2570 (byte-compile-defvar): Use it to minimize .elc size.
2571 Just use `defvar' rather than simulate it (bug#10761).
2572
2573 2012-02-09 Glenn Morris <rgm@gnu.org>
2574
2575 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2576
2577 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2578 Add :version tags.
2579
2580 * progmodes/compile.el (compilation-error-screen-columns)
2581 (compilation-first-column, compilation-filter-start): Doc fixes.
2582
2583 * vc/log-view.el (log-view-toggle-entry-display):
2584 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2585
2586 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2587 (report-emacs-bug-can-use-xdg-email):
2588 (report-emacs-bug-insert-to-mailer): Doc fixes.
2589 (report-emacs-bug): Message fix.
2590
2591 * net/browse-url.el (browse-url-can-use-xdg-open)
2592 (browse-url-xdg-open): Doc fixes.
2593
2594 * electric.el (electric-indent-mode, electric-pair-mode)
2595 (electric-layout-rules, electric-layout-mode): Doc fixes.
2596 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2597
2598 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2599
2600 * server.el (server-unselect-display): Don't inadvertently kill
2601 the current buffer. (Bug#10729)
2602
2603 2012-02-08 Glenn Morris <rgm@gnu.org>
2604
2605 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2606 (sql-list-table): Doc fixes.
2607
2608 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2609 Comment out (does nothing).
2610
2611 * completion.el (dynamic-completion-mode):
2612 * dirtrack.el (dirtrack-debug-mode):
2613 * electric.el (electric-layout-mode):
2614 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2615 * face-remap.el (text-scale-mode, buffer-face-mode):
2616 * iimage.el (iimage-mode):
2617 * image-mode.el (image-transform-mode):
2618 * minibuffer.el (completion-in-region-mode):
2619 * scroll-lock.el (scroll-lock-mode):
2620 * simple.el (next-error-follow-minor-mode):
2621 * tar-mode.el (tar-subfile-mode):
2622 * tooltip.el (tooltip-mode):
2623 * vcursor.el (vcursor-use-vcursor-map):
2624 * wid-browse.el (widget-minor-mode):
2625 * emulation/tpu-edt.el (tpu-edt-mode):
2626 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2627 * international/iso-ascii.el (iso-ascii-mode):
2628 * language/thai-util.el (thai-word-mode):
2629 * mail/supercite.el (sc-minor-mode):
2630 * net/goto-addr.el (goto-address-mode):
2631 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2632 * progmodes/cwarn.el (cwarn-mode):
2633 * progmodes/flymake.el (flymake-mode):
2634 * progmodes/glasses.el (glasses-mode):
2635 * progmodes/hideshow.el (hs-minor-mode):
2636 * progmodes/pascal.el (pascal-outline-mode):
2637 * textmodes/enriched.el (enriched-mode):
2638 * vc/smerge-mode.el (smerge-mode):
2639 Doc fixes (minor mode argument).
2640
2641 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2642
2643 * ls-lisp.el (ls-lisp-sanitize): New function.
2644 (ls-lisp-insert-directory): Use it to fix or remove any elements
2645 in file-alist with missing attributes. (Bug#4673)
2646
2647 2012-02-07 Alan Mackenzie <acm@muc.de>
2648
2649 Fix spurious recognition of c-in-knr-argdecl.
2650
2651 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2652 putative K&R region.
2653
2654 2012-02-07 Alan Mackenzie <acm@muc.de>
2655
2656 * progmodes/cc-engine.el (c-forward-objc-directive):
2657 Prevent looping in "#pragma mark @implementation".
2658
2659 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2660
2661 * notifications.el (notifications-on-closed-signal): Make `reason'
2662 optional. (Bug#10744)
2663
2664 2012-02-07 Glenn Morris <rgm@gnu.org>
2665
2666 * emacs-lisp/easy-mmode.el (define-minor-mode):
2667 Doc fixes for the macro and the mode it defines.
2668
2669 * image.el (imagemagick-types-inhibit): Doc fix.
2670
2671 * cus-start.el (imagemagick-render-type): Add it.
2672
2673 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2674
2675 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2676 Set the default at load time, too, so that `font-lock-fontify-buffer'
2677 can be called without setting up the entire mode first. This fixes
2678 a bug in `mm-inline-text' with C MIME parts.
2679
2680 2012-02-06 Chong Yidong <cyd@gnu.org>
2681
2682 * simple.el (list-processes--refresh): Delete exited processes
2683 (Bug#8094).
2684
2685 * comint.el (comint-next-prompt): next-single-char-property-change
2686 and prev-single-char-property-change never return nil (Bug#8657).
2687
2688 * custom.el (defcustom): Doc fix (Bug#9711).
2689
2690 2012-02-05 Chong Yidong <cyd@gnu.org>
2691
2692 * cus-edit.el (custom-variable-reset-backup): Quote the value
2693 before storing it in the customized-value property (Bug#6712).
2694 (custom-display): Add a customization type tag.
2695 (custom-buffer-create-internal): Improve tooltip message.
2696
2697 * wid-edit.el (widget-field-value-get): New optional arg to
2698 suppress trailing whitespace truncation.
2699 (character): Use it (Bug#2689).
2700
2701 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2702
2703 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2704 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2705
2706 2012-02-05 Chong Yidong <cyd@gnu.org>
2707
2708 * cus-edit.el (custom-variable-value-create): For mismatched
2709 types, show the current value (Bug#7600).
2710
2711 * custom.el (defcustom): Doc fix.
2712
2713 2012-02-05 Glenn Morris <rgm@gnu.org>
2714
2715 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2716
2717 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2718
2719 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2720 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2721 (pp-last-sexp): Use `looking-at-p'.
2722
2723 2012-02-04 Glenn Morris <rgm@gnu.org>
2724
2725 * files.el (revert-buffer):
2726 Doc fix (mention revert-buffer-in-progress-p).
2727
2728 * emacs-lisp/ert-x.el (ert-simulate-command):
2729 Check deferred-action-list (which is obsolete) is bound.
2730
2731 * subr.el (with-wrapper-hook): Doc fixes.
2732
2733 * simple.el (filter-buffer-substring-functions)
2734 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2735
2736 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2737
2738 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2739 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2740
2741 2012-02-04 Leo Liu <sdl.web@gmail.com>
2742
2743 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2744
2745 2012-02-04 Glenn Morris <rgm@gnu.org>
2746
2747 * image.el (image-extension-data): Add obsolete alias.
2748
2749 * isearch.el (isearch-update): Doc fix.
2750
2751 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2752
2753 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2754
2755 2012-02-03 Glenn Morris <rgm@gnu.org>
2756
2757 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2758 (image-animate-timeout): Doc fix.
2759
2760 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2761
2762 2012-02-02 Glenn Morris <rgm@gnu.org>
2763
2764 * server.el (server-auth-dir): Doc fix.
2765 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2766
2767 * subr.el (run-mode-hooks): Doc fix.
2768
2769 2012-02-02 Juri Linkov <juri@jurta.org>
2770
2771 * image-mode.el (image-toggle-display-image): Remove tautological
2772 `major-mode' from the `derived-mode-p' test.
2773
2774 2012-02-02 Kenichi Handa <handa@m17n.org>
2775
2776 * composite.el (compose-region): Cancel previous change.
2777
2778 2012-02-02 Kenichi Handa <handa@m17n.org>
2779
2780 * composite.el (compose-region, compose-string): Signal error for
2781 a null string component (Bug#6988).
2782
2783 2012-02-01 Chong Yidong <cyd@gnu.org>
2784
2785 * view.el (view-buffer-other-window, view-buffer-other-frame):
2786 Handle special modes like view-buffer (Bug#10650).
2787 (view-buffer): Simplify.
2788
2789 * frame.el (set-frame-font): Tweak meaning of third argument.
2790
2791 * dynamic-setting.el (font-setting-change-default-font):
2792 Use set-frame-font (Bug#9982).
2793
2794 2012-02-01 Glenn Morris <rgm@gnu.org>
2795
2796 * progmodes/compile.el (compilation-internal-error-properties):
2797 Respect compilation-first-column in the "*compilation*" buffer.
2798
2799 * emacs-lisp/easy-mmode.el (define-minor-mode):
2800 Relax :variable's test for a named function.
2801
2802 2012-01-31 Alan Mackenzie <acm@muc.de>
2803
2804 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2805 off by one error.
2806
2807 2012-01-31 Chong Yidong <cyd@gnu.org>
2808
2809 * frame.el (set-frame-font): New arg ALL-FRAMES.
2810
2811 * menu-bar.el (menu-set-font): Use set-frame-font.
2812
2813 * faces.el (face-spec-reset-face): Don't apply unspecified
2814 attribute values to the default face.
2815
2816 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2817
2818 * progmodes/cwarn.el (cwarn): Remove dead link.
2819 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2820 Remove * from defcustom docstrings.
2821 (turn-on-cwarn-mode): Make obsolete.
2822 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2823 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2824
2825 2012-01-31 Glenn Morris <rgm@gnu.org>
2826
2827 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2828 Fix :variable handling of mode a symbol not equal to modefun.
2829 Allow named functions to be used as the cdr of :variable.
2830
2831 2012-01-30 Glenn Morris <rgm@gnu.org>
2832
2833 * emacs-lisp/authors.el (authors-fixed-entries):
2834 Remove reference to deleted file rnewspost.el.
2835
2836 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2837
2838 * window.el (window-with-parameter): Remove unused variable `windows'.
2839 (window--side-check): Remove unused variable `code'.
2840 (window--resize-siblings): Remove unused variable `first'.
2841 (adjust-window-trailing-edge): Remove unused variable `failed'.
2842 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2843 Use `let', not `let*'.
2844 (balance-windows-2): Remove unused variable `found'.
2845 (window--state-put-2): Remove unused variable `splits'.
2846 (window-state-put): Remove unused variable `selected'.
2847 (same-window-p): Use `string-match-p'.
2848 (display-buffer-assq-regexp): Remove unused variable `value'.
2849 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2850 Mark argument ALIST as ignored.
2851 (pop-to-buffer): Remove unused variable `old-window'.
2852
2853 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2854
2855 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2856 and .lzma compressed files.
2857
2858 2012-01-29 Chong Yidong <cyd@gnu.org>
2859
2860 * frame.el (window-system-default-frame-alist): Doc fix.
2861
2862 * dynamic-setting.el (font-setting-change-default-font): Don't
2863 change the default face if SET-FONT argument is non-nil (Bug#9982).
2864
2865 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2866
2867 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2868
2869 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2870
2871 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2872 breakpoints in files outside current directory (Bug#6098).
2873
2874 2012-01-29 Chong Yidong <cyd@gnu.org>
2875
2876 * progmodes/python.el: Require ansi-color at top-level.
2877
2878 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2879 Define and use in Emacs Lisp mode (Bug#9360).
2880 (lisp-mode-abbrev-table): Add doc.
2881 (lisp-mode-variables): Don't set local-abbrev-table.
2882 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2883
2884 2012-01-28 Roland Winkler <winkler@gnu.org>
2885
2886 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2887
2888 2012-01-28 Roland Winkler <winkler@gnu.org>
2889
2890 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2891 (bibtex-set-dialect): Use it. Either set global values of
2892 dialect-dependent variables or bind these variables buffer-locally
2893 (Bug#10254).
2894 (bibtex-mode): Call bibtex-set-dialect via
2895 hack-local-variables-hook.
2896 (bibtex-dialect): Update docstring.
2897 Add safe-local-variable predicate.
2898 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2899 bibtex-set-dialect.
2900 (bibtex-mode-map): Define menu for each dialect.
2901 (bibtex-entry): Fix docstring.
2902
2903 2012-01-28 Chong Yidong <cyd@gnu.org>
2904
2905 * eshell/esh-arg.el (eshell-quote-argument): New function.
2906
2907 * eshell/esh-ext.el (eshell-invoke-batch-file):
2908 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2909 first arg to eshell-parse-command (Bug#10523).
2910
2911 2012-01-28 Drew Adams <drew.adams@oracle.com>
2912
2913 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2914 `default-directory' is non-nil.
2915
2916 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2917
2918 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2919 line that displays system-configuration-options. (Bug#9924)
2920
2921 2012-01-28 Drew Adams <drew.adams@oracle.com>
2922
2923 * descr-text.el (describe-char): Show information about POS, in
2924 addition to information about the character at POS. Improve and
2925 update the doc string. Change "code point" to "code point in
2926 charset", to avoid confusion with the character's Unicode code
2927 point shown above that. (Bug#10129)
2928
2929 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2930
2931 * descr-text.el (describe-char): Show the raw character, not only
2932 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2933 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2934 for the reasons.
2935
2936 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2937
2938 * emacs-lisp/package.el (package-install):
2939 Run package-refresh-contents if there is no archive yet (Bug#9798).
2940
2941 2012-01-28 Chong Yidong <cyd@gnu.org>
2942
2943 * emacs-lisp/package.el (package-maybe-load-descriptor):
2944 New function, split from package-maybe-load-descriptor.
2945 (package-maybe-load-descriptor): Use it.
2946 (package-download-transaction): Fully load required packages
2947 inside the loop, so that `require' calls work (Bug#10593).
2948 (package-install): No need to call package-initialize now.
2949
2950 2012-01-28 Chong Yidong <cyd@gnu.org>
2951
2952 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2953
2954 * tooltip.el (tooltip-mode): Doc fix.
2955 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2956
2957 * frame.el (set-cursor-color): Doc fix (Bug#352).
2958
2959 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2960 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2961
2962 * cus-edit.el (custom-buffer-create-internal): Fix search button
2963 action (Bug#10542).
2964 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2965
2966 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2967
2968 * dired.el (dired-mark-files-regexp):
2969 Include any subdirectory components. (Bug#10445)
2970
2971 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2972
2973 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2974 Handle [host]:port syntax. (Bug#10533)
2975
2976 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2977
2978 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2979
2980 2012-01-26 Glenn Morris <rgm@gnu.org>
2981
2982 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2983 * term.el (term-raw-escape-map): Use Control-X-prefix.
2984 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2985
2986 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2987
2988 * window.el (window-state-get, window--state-get-1): Don't deal
2989 with fixed-sizeness of windows. Simplify code.
2990
2991 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2992
2993 * window.el (window--state-get-1, window--state-put-2):
2994 Don't save and restore the mark.
2995
2996 2012-01-25 Chong Yidong <cyd@gnu.org>
2997
2998 * custom.el (custom-variable-p): Doc fix.
2999
3000 2012-01-25 Glenn Morris <rgm@gnu.org>
3001
3002 * dired.el (dired-goto-file): Handle some of the more common
3003 characters that `ls -b' escapes. (Bug#10596)
3004
3005 * progmodes/compile.el (compilation-next-error-function):
3006 Respect compilation-first-column in the "*compilation*" buffer.
3007 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3008
3009 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3010
3011 2012-01-24 Glenn Morris <rgm@gnu.org>
3012
3013 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3014
3015 2012-01-24 Julien Danjou <julien@danjou.info>
3016
3017 * color.el (color-rgb-to-hsl): Fix value computing.
3018 (color-hue-to-rgb): New function.
3019 (color-hsl-to-rgb): New function.
3020 (color-clamp, color-saturate-hsl, color-saturate-name)
3021 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3022 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3023
3024 2012-01-24 Glenn Morris <rgm@gnu.org>
3025
3026 * vc/vc-rcs.el (vc-rcs-create-tag):
3027 * vc/vc-sccs.el (vc-sccs-create-tag):
3028 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3029
3030 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3031
3032 * eshell/esh-util.el (eshell-read-hosts-file):
3033 Skip comment lines. (Bug#10549)
3034
3035 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3036
3037 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3038
3039 * subr.el (display-delayed-warnings): Doc fix.
3040 (collapse-delayed-warnings): New function to collapse identical
3041 adjacent warnings.
3042 (delayed-warnings-hook): Add it.
3043
3044 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3045
3046 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3047
3048 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3049 properties, when "login-as" is set.
3050
3051 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3052 (tramp-default-user-alist): Don't add "pscp".
3053 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3054 property "login-as", if set. (Bug#10530)
3055
3056 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3057
3058 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3059 "plink1" and "psftp". (Bug#10530)
3060
3061 2012-01-21 Kenichi Handa <handa@m17n.org>
3062
3063 * international/mule-cmds.el (prefer-coding-system): Show a
3064 warning message if the default value of file-name-coding-system
3065 was not changed.
3066
3067 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3068
3069 * windmove.el (windmove-reference-loc):
3070 Fix windmove-reference-loc miscalculation.
3071
3072 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3073
3074 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3075 default unit.
3076
3077 2012-01-21 Glenn Morris <rgm@gnu.org>
3078
3079 * international/mule.el (auto-coding-alist): Add .tbz.
3080
3081 * files.el (local-enable-local-variables): Doc fix.
3082 (inhibit-local-variables-regexps): Rename from
3083 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3084 Doc fix. Add some extensions from auto-coding-alist.
3085 (inhibit-local-variables-suffixes):
3086 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3087 (inhibit-local-variables-p):
3088 New function, extracted from set-auto-mode-1.
3089 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3090 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3091 (hack-local-variables): Doc fix. Make the mode-only case
3092 respect enable-local-variables and friends.
3093 Respect inhibit-local-variables-regexps for file-locals, but
3094 not for directory-locals.
3095 (set-visited-file-name):
3096 Take account of inhibit-local-variables-regexps.
3097 Whether it applies may change as the file name is changed.
3098 * jka-cmpr-hook.el (jka-compr-install):
3099 * jka-compr.el (jka-compr-uninstall):
3100 Update for inhibit-first-line-modes-suffixes name change.
3101
3102 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3103
3104 * help-macro.el (make-help-screen): Temporarily restore original
3105 binding for minor-mode-map-alist (Bug#10454).
3106
3107 2012-01-19 Julien Danjou <julien@danjou.info>
3108
3109 * color.el (color-name-to-rgb): Use the white color to find the max
3110 color component value and return correctly computed values.
3111 (color-name-to-rgb): Add missing float conversion for max value.
3112
3113 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3114
3115 * window.el (window--state-get-1, window-state-get): Do not use
3116 special state value for window-persistent-parameters.
3117 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3118 (window--state-put-2): Reset all window parameters to nil before
3119 assigning values of persistent parameters.
3120
3121 2012-01-18 Alan Mackenzie <acm@muc.de>
3122
3123 Eliminate sluggishness and hangs in fontification of "semicolon
3124 deserts".
3125
3126 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3127 Change value 10000 -> 3000.
3128 (c-state-safe-place): Reformulate so it doesn't stack up an
3129 infinite number of wrong entries in c-state-nonlit-pos-cache.
3130 (c-determine-limit-get-base, c-determine-limit): New functions to
3131 determine backward search limits disregarding literals.
3132 (c-find-decl-spots): Amend commenting.
3133 (c-cheap-inside-bracelist-p): New function which detects "={".
3134
3135 * progmodes/cc-fonts.el
3136 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3137 backward search.
3138 (c-font-lock-declarations): Fix an occurrence of point being
3139 undefined. Check additionally for point being in a bracelist or
3140 near a macro invocation without a semicolon so as to avoid a
3141 fruitless time consuming search for a declarator. Give a more
3142 precise search limit for declarators using the new
3143 c-determine-limit.
3144
3145 2012-01-18 Glenn Morris <rgm@gnu.org>
3146
3147 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3148 (set-auto-mode): Doc fixes.
3149
3150 2012-01-17 Glenn Morris <rgm@gnu.org>
3151
3152 * isearch.el (search-nonincremental-instead): Fix doc typo.
3153
3154 * dired.el (dired-insert-directory): Handle newlines in directory name.
3155 (dired-build-subdir-alist): Unescape newlines in directory name.
3156
3157 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3158
3159 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3160 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3161 (tramp-action-terminal): Use it. (Bug#10530)
3162
3163 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3166
3167 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3168
3169 * window.el (window-state-ignored-parameters): Remove variable.
3170 (window--state-get-1): Rename argument MARKERS to IGNORE.
3171 Handle persistent window parameters. Make copy of clone-of
3172 parameter only if requested. (Bug#10348)
3173 (window--state-put-2): Install a window parameter only if it has
3174 a non-nil value or an existing parameter shall be overwritten.
3175
3176 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3177
3178 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3179
3180 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3181
3182 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3183 don't pass the (nil) value of `upnode' to string-match.
3184
3185 2012-01-14 Chong Yidong <cyd@gnu.org>
3186
3187 * startup.el (command-line): Fix X resource class for cursorColor.
3188 Fix values recognized by the cursorBlink resource.
3189
3190 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3191
3192 * epg.el (epg--make-temp-file): Avoid permission race condition
3193 when running on old Emacs versions (bug#10403).
3194
3195 2012-01-14 Glenn Morris <rgm@gnu.org>
3196
3197 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3198
3199 2012-01-13 Alan Mackenzie <acm@muc.de>
3200
3201 Fix filling for when filladapt mode is enabled.
3202
3203 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3204 c-mask-paragraph, pass in `fill-paragraph' rather than
3205 `fill-region-as-paragraph'. (This is a reversion of a previous
3206 change.)
3207 * progmodes/cc-mode.el (c-basic-common-init):
3208 Make fill-paragraph-handle-comment buffer local and set it to nil.
3209
3210 2012-01-13 Glenn Morris <rgm@gnu.org>
3211
3212 * dired.el (dired-switches-escape-p): New function.
3213 (dired-insert-directory): Use dired-switches-escape-p.
3214 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3215
3216 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3217
3218 2012-01-12 Glenn Morris <rgm@gnu.org>
3219
3220 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3221 changes in adaptive-fill-regexp. (Bug#10276)
3222
3223 2012-01-11 Alan Mackenzie <acm@muc.de>
3224
3225 Fix Emacs bug #10463 - put `widen's around the critical spots.
3226
3227 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3228 widen around each invocation of c-state-pp-to-literal. Remove an
3229 unused let variable.
3230
3231 2012-01-11 Glenn Morris <rgm@gnu.org>
3232
3233 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3234 Doc fix.
3235
3236 2012-01-10 Chong Yidong <cyd@gnu.org>
3237
3238 * net/network-stream.el (network-stream-open-starttls):
3239 Avoid emitting a confusing error message when the server gives a bad
3240 response to the capability command.
3241
3242 2012-01-10 Glenn Morris <rgm@gnu.org>
3243
3244 * mail/unrmail.el (unrmail): Tweak previous change.
3245
3246 2012-01-09 Chong Yidong <cyd@gnu.org>
3247
3248 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3249
3250 2012-01-08 Alan Mackenzie <acm@muc.de>
3251
3252 Optimise font locking in long enum definitions.
3253
3254 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3255 arm to a cond form to handle enums.
3256 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3257 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3258
3259 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3260
3261 * files.el (move-file-to-trash): Preserve default file modes on error.
3262 (Bug#10401)
3263
3264 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3265
3266 * faces.el (set-face-attribute): Clarify the meaning of the nil
3267 frame (bug#10294).
3268
3269 * subr.el (with-selected-frame): Mention that the selected frame
3270 is restored (bug#9980).
3271
3272 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3273 (bug#9759).
3274
3275 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3276 (password-read): Don't autoload unused function.
3277
3278 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3279
3280 * progmodes/which-func.el (which-func-mode): Turn into a
3281 non-interactive function and mark as obsolete (bug#10428).
3282
3283 2012-01-06 Chong Yidong <cyd@gnu.org>
3284
3285 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3286 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3287 functions, along with 1 and -1.
3288
3289 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3290
3291 * time.el (display-time-load-average)
3292 (display-time-default-load-average): Doc fixes. See the thread
3293 starting at
3294 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3295 for the details.
3296
3297 2012-01-06 Glenn Morris <rgm@gnu.org>
3298
3299 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3300 has no messages. (Bug#10377)
3301
3302 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3303 than Info-edit. (Bug#10385)
3304
3305 * time.el (display-time-load-average, display-time-next-load-average):
3306 Doc fixes.
3307
3308 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3309 local setting of buffer-read-only to the input buffer. (Bug#10419)
3310
3311 * calendar/calendar.el (calendar-mode):
3312 Locally set scroll-margin to 0. (Bug#10379)
3313
3314 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3315
3316 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3317
3318 2012-01-05 Glenn Morris <rgm@gnu.org>
3319
3320 * eshell/em-unix.el (diff-no-select): Autoload it.
3321 (eshell/diff): Use diff-no-select. (Bug#10420)
3322
3323 2012-01-05 Chong Yidong <cyd@gnu.org>
3324
3325 * shell.el (shell-dynamic-complete-functions): Revert last change.
3326 (shell-command-completion-function): New function.
3327 (shell-completion-vars): Use it to implement
3328 shell-completion-execonly (Bug#10417).
3329
3330 * custom.el (enable-theme): Don't set custom-safe-themes.
3331
3332 * cus-theme.el (custom-theme-merge-theme):
3333 Ignore custom-enabled-themes and custom-safe-themes.
3334
3335 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3336
3337 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3338 first prompt in `sql-interacive-mode'.
3339 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3340 keywords.
3341 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3342 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3343 context of original buffer. Invoke `sql-login-hook'.
3344
3345 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3346
3347 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3348 letters in cite-prefix.
3349
3350 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3351
3352 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3353
3354 2012-01-03 Chong Yidong <cyd@gnu.org>
3355
3356 * shell.el (shell-dynamic-complete-functions):
3357 Put pcomplete-completions-at-point, so as to try
3358 comint-filename-completion first (Bug#10417).
3359
3360 2012-01-02 Richard Stallman <rms@gnu.org>
3361
3362 * battery.el (battery-status-function):
3363 Detect when to use battery-yeeloong-sysfs.
3364 (battery-echo-area-format): Add string for Yeeloong.
3365 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3366 (battery-yeeloong-sysfs): New function.
3367
3368 2012-01-02 Chong Yidong <cyd@gnu.org>
3369
3370 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3371 (dirtrack): Merge code for handling relative filenames in prompt
3372 from shell-dir-cookie-watcher.
3373 (dirtrack-debug-message): New arg to avoid excess format calls.
3374
3375 * shell.el (shell-dir-cookie-re): Variable deleted.
3376 (shell-dir-cookie-watcher): Function deleted.
3377 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3378 with dirtrack-mode.
3379
3380 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3381
3382 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3383 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3384 libgnutls-26.dll.
3385
3386 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3387
3388 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3389
3390 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3391
3392 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3393 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3394
3395 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3396
3397 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3398 also for alternative shells.
3399 (tramp-open-connection-setup-interactive-shell): Check, whether
3400 the shell is a busybox.
3401 (tramp-send-command): Don't suppress multiple prompts for
3402 busyboxes, it hurts.
3403
3404 2011-12-28 Chong Yidong <cyd@gnu.org>
3405
3406 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3407 (gdb-get-source-file): Move mode line update to
3408 gdb-get-source-file (Bug#10087).
3409
3410 2011-12-25 Chong Yidong <cyd@gnu.org>
3411
3412 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3413 gud-gdb-marker-filter without taking it as an argument.
3414 (gud-gdb-run-command-fetch-lines): Caller changed.
3415 (gud-gdb-completion-function): New variable.
3416 (gud-gdb-completion-at-point): Use it.
3417 (gud-gdb-completions-1): Split from gud-gdb-completions.
3418
3419 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3420 function as separate arguments.
3421 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3422 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3423 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3424 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3425 (gdb-stopped, def-gdb-auto-update-trigger)
3426 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3427 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3428 Callers changed.
3429 (gud-gdbmi-completions): New function.
3430 (gdb): Use it for generating the completion table.
3431
3432 2011-12-24 Alan Mackenzie <acm@muc.de>
3433
3434 Introduce a mechanism to widen the region used in context font
3435 locking. Use this to protect declarations from losing their contexts.
3436
3437 * progmodes/cc-langs.el (c-before-font-lock-functions):
3438 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3439 (c-before-context-fontification-functions): New defvar, a list of
3440 functions to be run just before context (etc.) font locking.
3441
3442 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3443 New, functionality extracted from
3444 c-neutralize-syntax-in-and-mark-CPP.
3445 (c-in-after-change-fontification): New variable.
3446 (c-after-change): Set c-in-after-change-fontification.
3447 (c-set-fl-decl-start): Rejig its interface, so it can be called
3448 from both after-change and context fontifying.
3449 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3450 New functions.
3451 (c-standard-font-lock-fontify-region-function): New variable.
3452 (c-font-lock-fontify-region): New function.
3453
3454 2011-12-24 Juri Linkov <juri@jurta.org>
3455
3456 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3457 (Bug#10348)
3458
3459 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3460
3461 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3462 existence of source file. (Bug#10325)
3463
3464 2011-12-23 Alan Mackenzie <acm@muc.de>
3465
3466 Fix unstable fontification inside templates.
3467
3468 * progmodes/cc-langs.el (c-before-font-lock-functions):
3469 Newly created from the singular version. The (c c++ objc) entry now
3470 additionally has c-set-fl-decl-start. The other languages (apart
3471 from AWK) have that as a single entry.
3472
3473 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3474 The functionality for "local" declarations has been extracted to
3475 c-set-fl-decl-start.
3476
3477 * progmodes/cc-mode.el (c-common-init, c-after-change):
3478 Changes due to pluralisation of c-before-font-lock-functions.
3479 (c-set-fl-decl-start): New function, extracted from
3480 c-font-lock-enclosing-decls and enhanced.
3481
3482 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3483
3484 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3485
3486 2011-12-22 Juri Linkov <juri@jurta.org>
3487
3488 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3489
3490 2011-12-22 Chong Yidong <cyd@gnu.org>
3491
3492 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3493
3494 2011-12-21 Drew Adams <drew.adams@oracle.com>
3495
3496 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3497
3498 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3499
3500 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3501
3502 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3503
3504 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3505 highlighting and support. Fix up comments for capitalization.
3506 (cfengine-mode-debug): New var.
3507 (cfengine3-mode): Change the modeline indicator to "CFE3".
3508 (cfengine3-font-lock-keywords): Improve defun highlighting.
3509 (cfengine2-actions): Rename from `cfengine-actions'.
3510 (cfengine2-font-lock-keywords): Rename from
3511 `cfengine-font-lock-keywords'.
3512 (cfengine2-imenu-expression): Rename from
3513 `cfengine-imenu-expression'.
3514 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3515 (cfengine2-beginning-of-defun): Rename from
3516 `cfengine-beginning-of-defun'.
3517 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3518 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3519 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3520 modeline indicator to "CFE2".
3521 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3522 (cfengine-mode-abbrevs): Mark obsolete.
3523
3524 2011-12-21 Chong Yidong <cyd@gnu.org>
3525
3526 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3527 filename argument.
3528
3529 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3530
3531 * window.el (window-normalize-buffer-to-display): Remove.
3532 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3533
3534 2011-12-19 Chong Yidong <cyd@gnu.org>
3535
3536 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3537 Don't signal an error in a predicate function; return non-nil.
3538 (vc-dir-mark-file): Move the error here.
3539 (vc-dir-mark-unmark): If acting on the region, keep going if one
3540 of the entries cannot be marked/unmarked.
3541 (vc-dir-mark-all-files): If current entry is a directory, mark
3542 only child files, as documented.
3543
3544 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3545
3546 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3547 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3548 addition.
3549
3550 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3551
3552 * term/ns-win.el (ns-get-selection-internal)
3553 (ns-store-selection-internal): Declare.
3554 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3555 Declare as obsolete.
3556 (ns-get-pasteboard, ns-paste-secondary):
3557 Use ns-get-selection-internal.
3558 (ns-set-pasteboard, ns-copy-including-secondary):
3559 Use ns-store-selection-internal.
3560
3561 2011-12-17 Chong Yidong <cyd@gnu.org>
3562
3563 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3564 (vc-deduce-fileset): Doc fix.
3565
3566 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3567
3568 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3569
3570 2011-12-13 Sam Steingold <sds@gnu.org>
3571
3572 * man.el (Man-getpage-in-background): When running under a
3573 window-system, ignore $MANWIDTH and $COLUMNS.
3574
3575 2011-12-15 Kenichi Handa <handa@m17n.org>
3576
3577 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3578 (setup-ethiopic-environment-internal): Comment out key-binding for
3579 ethio-toggle-punctuation.
3580
3581 2011-12-13 Alan Mackenzie <acm@muc.de>
3582
3583 Add the switch statement to AWK Mode.
3584
3585 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3586 "default" to the keywords regexp.
3587
3588 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3589 expression as the rest.
3590 (c-nonlabel-token-key): Allow string literals for AWK.
3591 Refactor for the other modes.
3592
3593 Large brace-block initialisation makes CC Mode slow: Fix.
3594 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3595 routines. Limit backward searching in c-font-lock-enclosing.decl.
3596
3597 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3598 pp-state and literal type in addition to the limits.
3599 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3600 (c-state-literal-at): Use the above new defun.
3601 (c-slow-in-literal, c-fast-in-literal): Remove.
3602 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3603
3604 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3605 being in a literal. Add a limit for backward searching.
3606
3607 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3608 c-slow-in-literal.
3609
3610 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3613
3614 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3615
3616 * window.el (delete-other-windows): Use correct frame in call to
3617 window-with-parameter.
3618
3619 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3620
3621 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3622 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3623 (makefile-gmake-statements, makefile-makepp-statements):
3624 Use it and add new makepp keywords.
3625 (makefile-makepp-font-lock-keywords): Add new patterns.
3626 (makefile-match-function-end): Match new [...] and [[...]].
3627
3628 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3629
3630 * ses.el (ses-call-printer-return, ses-cell-property-get)
3631 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3632 (ses-create-cell-variable, ses-reset-header-string)
3633 (ses-cell-set-formula, ses-repair-cell-reference-all)
3634 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3635 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3636 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3637 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3638 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3639 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3640 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3641 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3642 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3643 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3644 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3645 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3646
3647 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3648
3649 * ses.el: The overall change is to add cell renaming, that is
3650 setting fancy names for cell symbols other than name matching
3651 "\\`[A-Z]+[0-9]+\\'" regexp .
3652 (ses-create-cell-variable): New defun.
3653 (ses-relocate-formula): Relocate formulas only for cells the
3654 symbols of which are not renamed, i.e. symbols whose names do not
3655 match regexp "\\`[A-Z]+[0-9]+\\'".
3656 (ses-relocate-all): Relocate values only for cells the symbols of
3657 which are not renamed.
3658 (ses-load): Create cells variables as the (ses-cell ...) are read,
3659 in order to check row col consistency with cell symbol name only
3660 for cells that are not renamed.
3661 (ses-replace-name-in-formula): New defun.
3662 (ses-rename-cell): New defun.
3663
3664 2011-12-11 Chong Yidong <cyd@gnu.org>
3665
3666 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3667 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3668
3669 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3670
3671 * window.el (other-window): Fix docstring.
3672
3673 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3674
3675 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3676 `from' or `to' address before taking its substring.
3677 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3678 encoded name is chopped in the middle of the encoded string, and
3679 thus displayed encoded.
3680
3681 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3682
3683 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3684
3685 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3686
3687 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3688 to use texinfo-update-node and commands that call it if the
3689 Texinfo file uses @node lines without next/prev/up pointers.
3690 Correct outdated description about texinfo-master-menu.
3691 (texinfo-all-menus-update, texinfo-master-menu)
3692 (texinfo-update-node, texinfo-every-node-update)
3693 (texinfo-multiple-files-update): Doc fix. Warn against updating
3694 all the @node lines.
3695 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3696 argument is numeric. Explain better in the doc string what the
3697 function really does.
3698 (texinfo-insert-master-menu-list): Improve the error message
3699 displayed if there's no menu in the Top node.
3700 (Bug#2975) See also this thread:
3701 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3702
3703 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3704
3705 * speedbar.el (speedbar-supported-extension-expressions):
3706 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3707
3708 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3709
3710 * printing.el (pr-mode-alist):
3711 * simple.el (filter-buffer-substring-functions)
3712 (completion-list-insert-choice-function):
3713 * window.el (window-with-parameter, window-atom-root)
3714 (window-sides-slots, window-size-fixed, window-min-delta)
3715 (window-max-delta, window--resize-mini-window)
3716 (window--resize-child-windows-normal, window-tree)
3717 (delete-other-windows, quit-window, split-window)
3718 (display-buffer-record-window, special-display-buffer-names)
3719 (special-display-regexps, special-display-popup-frame)
3720 (same-window-p, split-window-sensibly)
3721 (display-buffer-overriding-action, display-buffer-alist)
3722 (display-buffer-base-action, display-buffer, switch-to-buffer)
3723 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3724 (fit-window-to-buffer, recenter-positions)
3725 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3726 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3727 and remove unneeded backslashes in docstrings.
3728
3729 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3732
3733 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3734 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3735 end in ".mk".
3736 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3737 when reading the makefile (bug#10116).
3738
3739 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3742 (bug#10116).
3743
3744 2011-12-06 Glenn Morris <rgm@gnu.org>
3745
3746 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3747
3748 2011-12-06 Chong Yidong <cyd@gnu.org>
3749
3750 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3751
3752 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3753
3754 * textmodes/table.el (table-shorten-cell): Fix typo.
3755
3756 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3757
3758 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3759
3760 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3761
3762 * descr-text.el (describe-char): Fix display of strong
3763 right-to-left characters and directional embeddings and overrides.
3764
3765 * simple.el (what-cursor-position): Fix display of codepoints of
3766 strong right-to-left characters.
3767
3768 2011-12-05 Chong Yidong <cyd@gnu.org>
3769
3770 * faces.el (read-color): Doc fix.
3771
3772 2011-12-05 Glenn Morris <rgm@gnu.org>
3773
3774 * align.el (align--set-marker): Add doc-string.
3775 Don't try to move something that is not a marker. (Bug#10216)
3776
3777 2011-12-04 Glenn Morris <rgm@gnu.org>
3778
3779 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3780 overly zealous deletion of trailing whitespace.
3781
3782 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3783
3784 * server.el (server-delete-client): On Windows, do not try to delete
3785 the only terminal.
3786 (server-process-filter): On Windows, treat requests for a tty frame as
3787 if they were for a GUI frame if the running server is in GUI mode.
3788
3789 2011-12-03 Glenn Morris <rgm@gnu.org>
3790
3791 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3792
3793 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * electric.el: Streamline electric-indent's hook.
3796 (electric-indent-chars): Revert to simple list.
3797 (electric-indent-functions): New var.
3798 (electric-indent-post-self-insert-function): Use it.
3799
3800 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3801 there's no inferior buffer (bug#10196).
3802 (prolog-consult-compile): Don't use toggle-read-only.
3803
3804 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3805
3806 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3807 interrupt. (Bug#10187)
3808
3809 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3812 (bug#9160).
3813
3814 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3815 (bug#10191).
3816
3817 2011-12-02 Juri Linkov <juri@jurta.org>
3818
3819 * info.el (Info-search): Display "end of manual" when Isearch
3820 reaches the end of single-file Info manual. (Bug#9918)
3821
3822 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3823
3824 * isearch.el (isearch-message-prefix): Run the input method part
3825 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3826
3827 2011-12-02 Juri Linkov <juri@jurta.org>
3828
3829 * isearch.el (isearch-occur): Use `word-search-regexp' for
3830 `isearch-word'.
3831 (isearch-search-and-update): Add condition for `isearch-word' and
3832 call `word-search-regexp'. (Bug#10145)
3833
3834 2011-12-01 Glenn Morris <rgm@gnu.org>
3835
3836 * eshell/em-hist.el (eshell-hist-initialize):
3837 Handle eshell-history-size nil and HISTSIZE set or unset.
3838 (eshell-history-file-name, eshell-history-size): Fix custom type.
3839
3840 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3841
3842 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3843
3844 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3845
3846 * progmodes/verilog-mode.el (verilog-pretty-expr):
3847 Rework verilog-pretty-expr to handle new assignment operators in system
3848 verilog, such as += *= and the like.
3849 (verilog-assignment-operator-re): Regular expression to find the
3850 assigment operator in a verilog assignment.
3851 (verilog-assignment-operation-re): Regular expression to find an
3852 assignment statement for pretty-expr.
3853 (verilog-in-attribute-p): Query returns true if point is in an
3854 attribute context; used to skip these for expression line up from
3855 pretty-expr.
3856 (verilog-in-parameter-p): Query returns true if point is in an
3857 parameter definition context; used to skip these for expression
3858 line up from pretty-expr.
3859 (verilog-in-parenthesis-p): Query returns true if point is in a
3860 parenthetical expression, specifically ( ) but not [ ] or { };
3861 used by pretty-expr.
3862 (verilog-just-one-space): If there is no space, don't add one.
3863 (verilog-get-lineup-indent-2): Specifically skip just attribute
3864 contexts for expression lineup, rather than skipping all
3865 parenthetical expressions.
3866 (verilog-calculate-indent): Fix comment, and fix indent.
3867 (verilog-do-indent): Indent declarations in lists (suggested by
3868 Joachim Lechner).
3869 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3870 skeleton items.
3871 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3872 by Alain Mellan).
3873
3874 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3875
3876 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3877 parameters with embedded comments. Reported by Ray Stevens.
3878 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3879 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3880 Reported by Tim Holt.
3881 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3882 instantiated by upper module causing wrong expansion until AUTOed a
3883 second time. Reported by K C Buckenmaier.
3884 (verilog-diff-auto): Fix showing .* as a difference when
3885 `verilog-auto-star-save' off. Reported by Dan Dever.
3886 (verilog-auto-reset, verilog-read-always-signals)
3887 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3888 temporary signals in reset list if
3889 verilog-auto-reset-blocking-in-non is nil, and match assignment
3890 style to each signal's assignment type, bug381.
3891 Reported by Thomas Esposito.
3892 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3893 (verilog-uvm-statement-re): Support UVM indentation and
3894 highlighting, with old OVM keywords only.
3895 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3896 Support AUTOTIEOFF creating non-wire data types.
3897 Suggested by Jonathan Greenlaw.
3898 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3899 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3900 (verilog-inject-sense, verilog-read-inst-pins)
3901 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3902 Fix mismatching parenthesis inside commented out code when deleting
3903 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3904 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3905 non-numeric vector width. Reported by Alex Reed.
3906 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3907 detecting signals with parameter widths. Reported by Alex Reed.
3908 (verilog-auto-delete-trailing-whitespace):
3909 With `verilog-auto-delete-trailing-whitespace' remove trailing
3910 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3911 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3912 Fix verilog-scan-cache corruption when running user AUTO expansion
3913 hooks that call indentation routines.
3914 (verilog-simplify-range-expression): Fix typo ignoring lower case
3915 identifiers.
3916 (verilog-delete-auto): Fix delete-autos to also remove user created
3917 automatics, as long as they start with AUTO.
3918 (verilog-batch-diff-auto, verilog-diff-auto)
3919 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3920 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3921 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3922 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3923 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3924 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3925 is disabled and its cache will get corrupt, causing AUTOS not to
3926 expand. Instead use only -quick functions.
3927 (verilog-scan-region): Fix scanning over escaped quotes.
3928 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3929 (verilog-re-search-backward-quick)
3930 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3931 related functions now ignore strings, to fix misparsing of strings
3932 with magic comments embedded in them.
3933 (verilog-read-auto-template):
3934 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3935 Reported by Brad Dobbie.
3936 (verilog-read-auto-template):
3937 Fix 'verilog-auto-inst-template-numbers' with comments.
3938 Reported by Brad Dobbie.
3939 (verilog-auto-inst, verilog-auto-inst-param)
3940 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3941 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3942 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3943 debugging templates without merge conflicts, bug357.
3944 Reported by Brad Dobbie.
3945 (verilog-read-auto-template):
3946 Fix verilog-auto-inst-template-numbers with multiple templates.
3947 Reported by Brad Dobbie.
3948 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3949 abbrevs so user won't be asked to save.
3950 (verilog-read-auto-lisp-present): Fix to start at beginning of
3951 buffer in case called outside of verilog-auto.
3952 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3953 to "X-2". Reported by Matthew Myers.
3954 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3955 all inputs from module templates. Reported by Leith Johnson.
3956 (verilog-module-inside-filename-p): Fix locating programs as with
3957 modules.
3958 (verilog-auto-inst-port): Fix vl-width expressions when using
3959 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3960 (verilog-decls-get-regs, verilog-decls-get-signals,
3961 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3962 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3963 verilog-read-decls): Combine reg and wire structures into one var
3964 structure to represent SystemVerilog concepts.
3965 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3966 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3967 (verilog-auto-wire-type, verilog-insert-definition):
3968 Add verilog-auto-wire-type and AUTOLOGIC to support using
3969 SystemVerilog "logic" keyword instead of "wire"/"reg".
3970 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3971 to declares outputs that also have assignments (presumably in an
3972 ifdef or generate if so there's not a driver conflict).
3973 Reported by Matthew Myers.
3974 (verilog-auto-declare-nettype, verilog-insert-definition):
3975 Add verilog-auto-declare-nettype to fix declarations using
3976 `default_nettype none. Reported by Julian Gorfajn.
3977 (verilog-read-always-signals-recurse, verilog-read-decls)
3978 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3979 malformed end statement, bug325. Reported by Joshua Wise and
3980 Andrew Drake.
3981 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3982 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3983 when expanding .* in interfaces, bug320.
3984 Reported by Pierre-David Pfister.
3985 (verilog-read-module-name): Fix import statements between module
3986 name and open parenthesis, bug317.
3987 Reported by Pierre-David Pfister.
3988 (verilog-simplify-range-expression): Fix simplification of
3989 multiplications inside AUTOWIRE connections, bug303.
3990 (verilog-auto-inst-port): Support parameter expansion in
3991 multidimensional arrays.
3992 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3993 after "assert property". Reported by Julian Gorfajn.
3994 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3995 with multiplication, bug303.
3996 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3997 Reported by Jan Frode Lonnum.
3998
3999 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4000
4001 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4002 (hfy-shell-file-name, hfy-shell):
4003 * international/fontset.el (x-decompose-font-name): Fix typos.
4004
4005 2011-11-29 Ken Brown <kbrown@cornell.edu>
4006
4007 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4008 (gdb-version): Remove defvar.
4009 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4010 (gdb-gud-context-command, gdb-non-stop-handler)
4011 (gdb-current-context-command, gdb-stopped): Use it.
4012 (gdb-init-1): Enable pretty printing here.
4013 (gdb-non-stop-handler): Don't enable pretty-printing here.
4014 Check to see if the target supports non-stop mode; if not, turn off
4015 non-stop mode. Use the following.
4016 (gdb-check-target-async): New defun.
4017 (gud-watch, gdb-stopped): Fix whitespace.
4018 (gdb-get-source-file): Don't try to display the source file if
4019 `gdb-main-file' is nil.
4020
4021 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * align.el: Try to generate fewer markers (bug#10047).
4024 (align--set-marker): New macro.
4025 (align-region): Use it.
4026
4027 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4030
4031 2011-11-29 Chong Yidong <cyd@gnu.org>
4032
4033 * indent.el (indent-for-tab-command, indent-according-to-mode):
4034 Doc fix.
4035 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4036
4037 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4038
4039 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4040 aware of remote file names. (Bug#10124)
4041
4042 2011-11-29 Chong Yidong <cyd@gnu.org>
4043
4044 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4045
4046 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * files.el (find-file): Don't use force-same-window (bug#10144).
4049 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4050 use pop-to-buffer if the selected window can't be used.
4051 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4052
4053 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4054
4055 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4056 special-mode-map.
4057
4058 2011-11-28 Chong Yidong <cyd@gnu.org>
4059
4060 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4061
4062 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4063
4064 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4065 gdb-get-source-file-list on gdb-create-source-file-list.
4066
4067 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4068
4069 * whitespace.el (whitespace-newline): Use a different foreground
4070 color for 16-color light-background displays.
4071
4072 2011-11-24 Chong Yidong <cyd@gnu.org>
4073
4074 * window.el (display-buffer--special-action): Doc fix.
4075
4076 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4077
4078 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4079 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4080 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4081 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4082 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4083 (avl-tree-stack-first):
4084 * emacs-lisp/cconv.el (cconv--analyse-use):
4085 * net/gnutls.el (gnutls-negotiate): Fix typos.
4086
4087 2011-11-24 Glenn Morris <rgm@gnu.org>
4088
4089 * lpr.el (lpr-windows-system, lpr-lp-system):
4090 * mail/binhex.el (binhex-begin-line):
4091 * progmodes/grep.el (grep-history, grep-find-history):
4092 * textmodes/flyspell.el:
4093 * vc/pcvs-defs.el (cvs-global-menu):
4094 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4095 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4096 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4097
4098 * net/tls.el: Fix case of "GnuTLS".
4099
4100 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4101
4102 * version.el (emacs-build-system): Give it a doc-string.
4103
4104 2011-11-24 Juri Linkov <juri@jurta.org>
4105
4106 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4107
4108 2011-11-24 Glenn Morris <rgm@gnu.org>
4109
4110 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4111 if called on a non-mime message just toggle the headers. (Bug#8006)
4112
4113 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4114
4115 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4116 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4117 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4118 (allout-rebullet-heading, allout-open-sibtopic)
4119 (allout-toggle-current-subtree-encryption)
4120 (allout-toggle-subtree-encryption, allout-encrypt-string)
4121 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4122 (allout-distinctive-bullets-string, allout-auto-activation):
4123 * window.el (window-normalize-buffer-to-display):
4124 * progmodes/verilog-mode.el (verilog-batch-indent):
4125 * textmodes/bibtex.el (bibtex-field-braces-opt)
4126 (bibtex-field-strings-opt):
4127 * vc/cvs-status.el (cvs-tree-merge):
4128 Fix typos.
4129
4130 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4131
4132 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4133 `non-essential' to t, in order to avoid remote connections.
4134
4135 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4136
4137 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4138 On MS-DOS and MS-Windows, compare with loaddefs.el
4139 case-insensitively.
4140
4141 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4142
4143 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4144
4145 2011-11-23 Glenn Morris <rgm@gnu.org>
4146
4147 * paths.el (rmail-file-name): Reformat the doc-string so that it
4148 is picked up.
4149
4150 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4151 (rmail-auto-file): Ignore case in the "special" field names,
4152 as mail-fetch-field does for all others.
4153
4154 * mail/rmail.el (rmail-forward):
4155 * mail/rmailkwd.el (rmail-set-label):
4156 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4157 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4158
4159 * mail/rmail.el (rmail-current-message): Doc fix.
4160
4161 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4162
4163 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4164
4165 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4166
4167 2011-11-22 Glenn Morris <rgm@gnu.org>
4168
4169 * mail/rmailmm.el (test-rmail-mime-handler)
4170 (test-rmail-mime-bulk-handler)
4171 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4172
4173 2011-11-21 Juri Linkov <juri@jurta.org>
4174
4175 * calc/calc.el (calc-read-key-sequence):
4176 Let-bind `input-method-function' to nil. (Bug#10018)
4177
4178 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4179
4180 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4181 Tell the caller that the next line needs recomputation, even
4182 though it doesn't start a sexp (bug#10094).
4183
4184 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4187
4188 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4191 Use force-same-window.
4192
4193 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * descr-text.el (describe-char-unicode-data):
4196 * json.el (json-string-escape):
4197 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4198 (Footnote-unicode, Footnote-style-p):
4199 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4200
4201 2011-11-20 Chong Yidong <cyd@gnu.org>
4202
4203 * window.el (replace-buffer-in-windows): Restore interactive spec.
4204
4205 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4206
4207 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4208
4209 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4210 (byte-compile-global-not-obsolete-vars): New var.
4211 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4212 Use it.
4213 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4214
4215 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4216
4217 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4218 * progmodes/pascal.el (electric-pascal-equal):
4219 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4220 * xml.el (xml-substitute-special): Fix typos.
4221
4222 2011-11-20 Glenn Morris <rgm@gnu.org>
4223
4224 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4225 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4226 Doc fixes.
4227 (rmail-decode-mime-charset): Mark as obsolete.
4228
4229 * mail/rmailsum.el (rmail-message-regexp-p-1):
4230 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4231 Before using mime functions, check they are set. (Bug#10077)
4232
4233 2011-11-19 Juri Linkov <juri@jurta.org>
4234
4235 * info.el (Info-finder-find-node): Use `package--builtins' instead
4236 of `package-alist'. Use node names formed by the pattern "Keyword "
4237 and the keyword name.
4238
4239 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4240
4241 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4242
4243 2011-11-19 Juri Linkov <juri@jurta.org>
4244
4245 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4246 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4247 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4248 `old-history', `old-history-forward'. Add let-binding
4249 `window-selected'. Remove calls to `kill-buffer',
4250 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4251 before calling `Info-find-node', so `Info-find-node-2' will reread
4252 the Info file. Restore window positions only when `window-selected'
4253 is non-nil.
4254
4255 2011-11-19 Juri Linkov <juri@jurta.org>
4256
4257 * isearch.el (isearch-lazy-highlight-new-loop):
4258 Remove condition `(not isearch-error)'. (Bug#9918)
4259
4260 * misearch.el (multi-isearch-search-fun): Add condition
4261 `(not bound)' to ignore lazy-highlighting search.
4262 Add the search-failed message "end of multi" when the end of
4263 multi-sequence is reached. Uncapitalize the search-failed
4264 message "Repeat for next buffer".
4265
4266 * info.el (Info-search): Add the search-failed message
4267 "end of the manual" when the end of the manual is reached
4268 in Isearch mode.
4269
4270 2011-11-19 Juri Linkov <juri@jurta.org>
4271
4272 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4273 Use non-destructive `remove' instead of `delete' because
4274 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4275 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4276
4277 2011-11-19 Juri Linkov <juri@jurta.org>
4278
4279 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4280 to nil instead of binding `search-ring' and `regexp-search-ring'.
4281 (Bug#9185)
4282
4283 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4284
4285 * simple.el (line-move): Force movement by logical lines for any
4286 hscrolled window, not only when auto-hscroll-mode is on.
4287 (line-move-visual): Update doc string to that effect. (Bug#10076)
4288
4289 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4290
4291 * language/european.el (macintosh): Define as alias for mac-roman.
4292
4293 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4294
4295 * mail/rmailmm.el (rmail-mime-display-header)
4296 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4297 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4298 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4299 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4300 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4301 of a raw aref.
4302 (rmail-mime-entity-segment): To get past the tagline, move forward
4303 2 more lines, to account for the 2 empty lines that precede and
4304 follow the line with the buttons.
4305 (rmail-mime-update-tagline): Move one more line, to get past the
4306 empty line that follows the buttons in the tagline. (Bug#9520)
4307
4308 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4309
4310 * window.el (window-max-delta-1, window-min-delta-1)
4311 (window-min-size-1, window-state-get-1, window-state-put-1)
4312 (window-state-put-2): Use "window--" prefix.
4313
4314 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4317 (smie-warning-count): New var.
4318 (smie-set-prec2tab): Use it.
4319 (smie-bnf->prec2): Improve warnings. Add docstring.
4320 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4321 (smie-bnf--set-class): New function.
4322 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4323 corner case.
4324
4325 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4326 (compilation-error-properties, compilation-move-to-column):
4327 Handle compilation-first-column while in the target buffer.
4328
4329 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4330 Don't hardcode point-min==1.
4331
4332 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4333 (eshell-rewrite-for-command): Remove workaround.
4334 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4335 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4336 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4337
4338 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4339
4340 2011-11-17 Glenn Morris <rgm@gnu.org>
4341
4342 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4343 Ignore buffer-local generated-autoload-file if it is the same
4344 as the global value. (Bug#10049)
4345
4346 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4347
4348 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4349 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4350 (reftex-toc-previous-heading, reftex-toc-max-level)
4351 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4352 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4353 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4354 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4355 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4356 (reftex-toc-rename-label, reftex-toc-visit-location)
4357 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4358 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4359 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4360 leaving "*toc*" only for references to the buffer.
4361
4362 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4363
4364 * window.el (window-resize, delete-window, split-window):
4365 Replace window-splits by window-combination-resize.
4366 * cus-start.el (window-splits): Replace by window-combination-resize.
4367
4368 2011-11-17 Glenn Morris <rgm@gnu.org>
4369
4370 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4371 Make bash entry derive from sh entry, not shell entry.
4372
4373 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4374
4375 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4376 properties of linked files. (Bug#9879)
4377
4378 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4379 local file name.
4380
4381 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4382
4383 * menu-bar.el (menu-bar-file-menu):
4384 * printing.el (pr-ps-utility):
4385 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4386 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4387 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4388 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4389 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4390 (icalendar--convert-cyclic-to-ical)
4391 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4392 (icalendar--convert-ical-to-diary)
4393 (icalendar--convert-recurring-to-diary)
4394 (icalendar--convert-non-recurring-all-day-to-diary)
4395 (icalendar-import-format-sample):
4396 * progmodes/idlw-shell.el (idlwave-shell-mode):
4397 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4398 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4399 (vhdl-ps-print-init): Fix typos.
4400
4401 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4402
4403 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4404 FSF and collapse date sequence, obscure author/maintainer email address
4405 better, remove extra version line, track relocation of author's webpage.
4406
4407 * progmodes/python.el (python-pdbtrack-input-prompt)
4408 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4409 regular python pdb prompts. Adjustments shamelessly taken exactly as
4410 suggested in EmacsWiki page (tiny change):
4411 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4412
4413 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4414
4415 * expand.el (expand-pos, expand-index, expand-point):
4416 Remove redundant info from docstring.
4417 (expand-add-abbrevs): Doc fix.
4418 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4419 (expand-sample-perl-mode-expand-list): Fix typos.
4420
4421 * net/dbus.el (dbus-event-member-name):
4422 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4423 * term/pc-win.el (msdos-create-frame-with-faces):
4424 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4425
4426 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4427
4428 * window.el (split-window, window-state-get-1)
4429 (window-state-put-1, window-state-put-2): Rename occurrences of
4430 window-nest to window-combination-limit.
4431 * cus-start.el (window-nest): Rename to window-combination-limit.
4432
4433 2011-11-16 Chong Yidong <cyd@gnu.org>
4434
4435 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4436 regexp (Bug#10033).
4437
4438 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4441 `completing-read' will remove *Completions* and will preserve
4442 current-buffer for us.
4443 (tmm-add-prompt): Users of *Completions* will always (re)set its
4444 major mode.
4445 (tmm-old-comp-map): Remove.
4446
4447 2011-11-16 Glenn Morris <rgm@gnu.org>
4448
4449 * mail/rmailedit.el: Require rmailmm when compiling.
4450 (rmail-old-mime-state): New declaration.
4451 (rmail-edit-current-message): If editing a mime message,
4452 edit the "raw" message from the mbox buffer.
4453 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4454
4455 2011-11-15 Glenn Morris <rgm@gnu.org>
4456
4457 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4458 which wasn't being used. Add optional arg to force given state.
4459 (rmail-mime): Add optional arg to force given state.
4460
4461 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4462
4463 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4464 * frame.el (display-mm-dimensions-alist):
4465 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4466 (outline-move-subtree-down):
4467 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4468 (newsticker--treeview-do-get-node):
4469 * net/quickurl.el (quickurl-list-buffer-name):
4470 * progmodes/dcl-mode.el (dcl-mode):
4471 * progmodes/gdb-mi.el (gdb-mapcar*):
4472 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4473
4474 2011-11-15 Glenn Morris <rgm@gnu.org>
4475
4476 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4477 in a boolean sense, so just make it a boolean, and fix the doc.
4478 (rmail-show-mime-function, rmail-mime-feature)
4479 (rmail-require-mime-maybe): Doc fixes.
4480 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4481
4482 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4483
4484 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4485
4486 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4487 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4488 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4489 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4490
4491 2011-11-15 Glenn Morris <rgm@gnu.org>
4492
4493 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4494 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4495 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4496 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4497 (rmail-mime, rmail-show-mime): Doc fixes.
4498
4499 * term/ns-win.el (mode-line-frame-identification):
4500 Leave it alone. (Bug#10051)
4501
4502 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4503
4504 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4505 Handle empty buffers. (Bug#9978)
4506
4507 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4508
4509 * international/mule.el (define-charset):
4510 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4511 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4512 * progmodes/verilog-mode.el (verilog-backward-token):
4513 * textmodes/ispell.el (lookup-words):
4514 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4515
4516 2011-11-14 Glenn Morris <rgm@gnu.org>
4517
4518 * progmodes/executable.el
4519 (executable-make-buffer-file-executable-if-script-p):
4520 Handle file-modes returning nil.
4521
4522 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4523 message - not necessary, and causes problems. (Bug#9831)
4524
4525 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4526
4527 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4528
4529 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4530 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4531 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4532
4533 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4534
4535 * window.el (window-resize, delete-window): Use window-splits
4536 variable instead of function.
4537 (window-state-get-1, window-state-put-2, window-state-put):
4538 Don't deal with windows' splits status.
4539
4540 2011-11-12 Glenn Morris <rgm@gnu.org>
4541
4542 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4543 (apropos-documentation): Doc fixes.
4544
4545 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4546
4547 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4548 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4549
4550 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * electric.el (electric-indent-post-self-insert-function): Make it
4553 possible for a char to only indent in some circumstances.
4554 (electric-indent-mode): Simplify.
4555
4556 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4557
4558 * window.el (windows-with-parameter): Remove unused function.
4559 (windows-at-side): Rename to window-at-side-list.
4560 (window-check, window-atom-check, window-atom-check-1)
4561 (window-side-check, window-size-ignore, window-size-fixed-1)
4562 (window-in-direction-2): Prefix with "window--".
4563 (window-tree-1): Rename to window--subtree, fix doc-string.
4564
4565 2011-11-11 Glenn Morris <rgm@gnu.org>
4566
4567 * subr.el (eval-after-load): If FILE is already loaded,
4568 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4569
4570 2011-11-10 Glenn Morris <rgm@gnu.org>
4571
4572 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4573 Call svn via vc-svn-command rather than vc-do-command.
4574 (vc-svn-command): Add --non-interactive. (Bug#9993)
4575 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4576
4577 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4578 Add toggle-read-only. (Bug#7292)
4579 * files.el (toggle-read-only): Mention that it should only
4580 be used interactively. (Bug#10006)
4581
4582 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4585 Adjust regexp for OCaml warnings.
4586
4587 * electric.el (electric-pair-post-self-insert-function): Let user
4588 turn it off buffer-locally (bug#9932).
4589
4590 * progmodes/python.el (python-beginning-of-statement):
4591 Rewrite (bug#2703).
4592
4593 * progmodes/compile.el: Better handle TABs (bug#9749).
4594 (compilation-internal-error-properties)
4595 (compilation-next-error-function): Obey the target buffer's
4596 compilation-error-screen-columns.
4597
4598 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4599
4600 * progmodes/meta-mode.el: Remove obsolete comments.
4601 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4602 Fix typos in docstrings.
4603
4604 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4605
4606 * window.el (window-size-fixed-p): Rewrite doc-string.
4607 (window-resizable-p): Rename to window--resizable-p. Update callers.
4608 (window--resizable): New function. Make all callers of
4609 window-resizable call window--resizable instead.
4610 (window-resizable): Rewrite in terms of window--resizable.
4611
4612 2011-11-08 Glenn Morris <rgm@gnu.org>
4613
4614 * progmodes/delphi.el (delphi-mode-syntax-table):
4615 Let define-derived-mode define a proper syntax table. (Bug#9994)
4616
4617 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4618
4619 * window.el: Stay away from defsubst.
4620 (window-list-no-nils): Remove.
4621 (window-state-get-1, window-state-get): Use backquote instead.
4622
4623 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4624
4625 * emacs-lisp/find-func.el (find-function-read):
4626 Fix incorrect use of default argument in `completing-read'.
4627
4628 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4629
4630 * window.el (display-buffer-function, special-display-function):
4631 Mention display-buffer-record-window but do not mention
4632 help-setup parameter in doc-strings.
4633 (window-min-delta): Fix doc-string typo.
4634
4635 2011-11-08 Chong Yidong <cyd@gnu.org>
4636
4637 * window.el (window-total-height, window-total-width): Doc fix.
4638 (window-body-size): Move from C.
4639 (window-body-height, window-body-width): Move to C.
4640
4641 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * window.el: Make special-display like display-buffer-alist (bug#9532).
4644 (display-buffer--special-action): New function, morphed
4645 from display-buffer--special.
4646 (display-buffer): Use it to handle special-display-buffers at higher
4647 priority (just after display-buffer-alist).
4648 (display-buffer-fallback-action, display-buffer--other-frame-action)
4649 (pop-to-buffer-same-window): Remove display-buffer--special.
4650
4651 2011-11-07 Glenn Morris <rgm@gnu.org>
4652
4653 * calendar/cal-menu.el (cal-menu-set-date-title):
4654 Do nothing if not in a calendar. (Bug#9976)
4655
4656 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * files.el (find-file): Always use selected-window.
4659
4660 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4661
4662 * window.el (window-combinations): Make WINDOW argument
4663 mandatory. Rewrite doc-string.
4664 (walk-window-subtree, window-atom-check, window-min-delta)
4665 (window-max-delta, window--resize-this-window)
4666 (window--resize-root-window-vertically, window-tree)
4667 (balance-windows, window-state-put): Rewrite doc-strings as to
4668 not mention the term "subwindow".
4669 (window--resize-subwindows-skip-p): Rename to
4670 window--resize-child-windows-skip-p.
4671 (window--resize-subwindows-normal): Rename to
4672 window--resize-child-windows-normal.
4673 (window--resize-subwindows): Rename to
4674 window--resize-child-windows.
4675 (window-or-subwindow-p): Rename to window--in-subtree-p.
4676
4677 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4678
4679 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4680 Ensure that mbox format messages end in two newlines (Bug#9974).
4681
4682 2011-11-06 Chong Yidong <cyd@gnu.org>
4683
4684 * window.el (window-combination-p): Function deleted; its
4685 side-effect is not used in any existing code.
4686 (window-combinations, window-combined-p): Call window-*-child
4687 directly.
4688
4689 2011-11-05 Chong Yidong <cyd@gnu.org>
4690
4691 * window.el (window-valid-p): Rename from window-any-p.
4692 (window-size-ignore, window-state-get): Callers changed.
4693 (window-normalize-window): Rename from window-normalize-any-window.
4694 New arg LIVE-ONLY, replacing window-normalize-live-window.
4695 (window-normalize-live-window): Delete.
4696 (window-combination-p, window-combined-p, window-combinations)
4697 (walk-window-subtree, window-atom-root, window-min-size)
4698 (window-sizable, window-sizable-p, window-size-fixed-p)
4699 (window-min-delta, window-max-delta, window-resizable)
4700 (window-resizable-p, window-full-height-p, window-full-width-p)
4701 (window-current-scroll-bars, window-point-1, set-window-point-1)
4702 (window-at-side-p, window-in-direction, window-resize)
4703 (adjust-window-trailing-edge, maximize-window, minimize-window)
4704 (window-deletable-p, delete-window, delete-other-windows)
4705 (record-window-buffer, unrecord-window-buffer)
4706 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4707 (quit-window, split-window, window-state-put)
4708 (set-window-text-height, fit-window-to-buffer)
4709 (shrink-window-if-larger-than-buffer): Callers changed.
4710
4711 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4712
4713 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4714 rfc2047-decode-string.
4715 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4716 warnings.
4717
4718 * window.el (window-body-height, window-body-width): Mention in
4719 the doc string that the return values are in frame's canonical
4720 units. (Bug#9949)
4721
4722 2011-11-03 Alan Mackenzie <acm@muc.de>
4723
4724 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4725 change in cc-engine.el.
4726
4727 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4730
4731 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4732
4733 * window.el (quit-window): Call unrecord-window-buffer after
4734 showing another buffer in the window. (Bug#9937)
4735 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4736
4737 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4738
4739 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4740 Accept status with more than 9 shelves. (Bug#9935)
4741 Reported by Colin D Bennett <colin@gibibit.com>.
4742
4743 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4744
4745 * help.el (with-help-window): Don't reference
4746 temp-buffer-show-specifiers in doc-string.
4747
4748 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4749
4750 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4751 menu-item.
4752
4753 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4754
4755 * whitespace.el: New version 13.2.2.
4756 (whitespace-newline-mode): Disable properly. Reported by Sarah
4757 <EmacsWiki>.
4758
4759 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4760
4761 * net/newst-treeview.el: Remove "Time-stamp".
4762 (newsticker--group-manage-orphan-feeds): Do not call
4763 newsticker--treeview-tree-update.
4764 (newsticker-treeview-update, newsticker-treeview):
4765 Call newsticker--treeview-tree-update if necessary.
4766
4767 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4768
4769 * window.el (window-iso-combination-p, window-iso-combined-p)
4770 (window-iso-combinations): Remove "iso-" infix.
4771 Suggested by Chong Yidong.
4772 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4773 (window-max-delta-1, window-resize, window--resize-siblings)
4774 (window--resize-this-window, adjust-window-trailing-edge)
4775 (split-window, balance-windows-1)
4776 (shrink-window-if-larger-than-buffer):
4777 * calendar/calendar.el (calendar-generate-window):
4778 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4779
4780 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4783 in place (bug#9907).
4784 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4785 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4786 (eshell-structure-basic-command, eshell-rewrite-while-command)
4787 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4788 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4789 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4790 (eshell-do-pipelines-synchronously, eshell-eval-command):
4791 Use backquotes and prefer setq to set.
4792 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4793 (eshell-macrop): Use functionp.
4794 (eshell-do-eval): Handle multiple expressions in `while' body.
4795
4796 2011-10-30 Chong Yidong <cyd@gnu.org>
4797
4798 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4799 instead of set-mark (Bug#9810).
4800
4801 2011-10-30 Chong Yidong <cyd@gnu.org>
4802
4803 * window.el (split-window-below, split-window-right): Rename from
4804 split-window-above-each-other and split-window-side-by-side
4805 respectively. All callers changed.
4806 (split-window-sensibly, split-window-sensibly): Use them.
4807 (split-window-keep-point): Doc fix.
4808
4809 * isearch.el: Add isearch-scroll property to split-window-below
4810 and split-window-right.
4811
4812 * follow.el (follow-mode):
4813 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4814 * progmodes/ada-xref.el (ada-gdb-application):
4815 * emulation/vip.el (vip-buffer-in-two-windows):
4816 * image-dired.el (image-dired-dired-with-window-configuration):
4817 * dired-x.el (dired-do-find-marked-files):
4818 * dired.el (dired-pop-to-buffer):
4819 * bs.el (bs--show-with-configuration):
4820 * vc/emerge.el (emerge-setup-windows):
4821 * textmodes/two-column.el (2C-two-columns):
4822 * textmodes/reftex-toc.el (reftex-toc):
4823 * progmodes/gdb-mi.el (gdb-setup-windows):
4824 * progmodes/fortran.el (fortran-window-create):
4825 * net/newst-treeview.el (newsticker--treeview-window-init):
4826 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4827 * emulation/tpu-edt.el (tpu-gold-map):
4828 * emulation/crisp.el (crisp-mode-map):
4829 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4830
4831 2011-10-29 Chong Yidong <cyd@gnu.org>
4832
4833 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4834
4835 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4836
4837 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4838 forged Ispell output (Bug#7904).
4839
4840 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4841
4842 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * doc-view.el: Avoid ugly errors about not finding nil.
4845 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4846 (doc-view-dvipdf-program, doc-view-unoconv-program)
4847 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4848 Avoid nil or absolute file name as default value.
4849 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4850
4851 2011-10-28 Alan Mackenzie <acm@muc.de>
4852
4853 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4854
4855 2011-10-28 Alan Mackenzie <acm@muc.de>
4856
4857 Amend the handling of c-beginning/end-of-defun in nested declaration
4858 scopes.
4859
4860 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4861 cc-langs.el. Change it to a defcustom.
4862
4863 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4864 cc-vars.el.
4865
4866 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4867 Prevent "class foo : bar" being spuriously recognized as a label.
4868
4869 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4870 Add parameter `inclusive' (to include enclosing braces in the region).
4871 (c-widen-to-enclosing-decl-scope): New function.
4872 (c-while-widening-to-decl-block): New macro.
4873 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4874 outward for defun boundaries, and correspondingly change symbol
4875 `respect-enclosure' to `go-outward'.
4876 (c-declaration-limits): Change algorithm to report only the "innermost"
4877 defun's boundaries.
4878
4879 2011-10-28 Deniz Dogan <deniz@dogan.se>
4880
4881 * net/rcirc.el (rcirc-mode): Use hard newlines.
4882
4883 2011-10-28 Alan Mackenzie <acm@muc.de>
4884
4885 Amend to indent and fontify macros "which include their own semicolon"
4886 correctly, using the "virtual semicolon" mechanism.
4887
4888 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4889
4890 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4891 Recode to scan one line at a time rather than having \n and \r
4892 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4893 (c-forward-label): Amend for virtual semicolons.
4894 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4895
4896 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4897 of the new C macros.
4898
4899 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4900 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4901 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4902 (c-opt-cpp-macro-define): Make into a full language variable.
4903 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4904 AWK Mode (including \n, \r) removed, no longer needed.
4905
4906 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4907 Invoke c-make-macro-with-semi-re.
4908
4909 * progmodes/cc-vars.el (c-macro-with-semi-re):
4910 (c-macro-names-with-semicolon): New variables.
4911 (c-make-macro-with-semi-re): New function.
4912
4913 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * vc/log-edit.el: Fill empty field rather than adding new one.
4916 (log-edit-add-field): New function.
4917 (log-edit-insert-changelog): Use it.
4918
4919 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4920
4921 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4922
4923 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4926 (gdb--check-interpreter): New function.
4927 (gdb): Use it.
4928
4929 2011-10-27 Glenn Morris <rgm@gnu.org>
4930
4931 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4932 (least-positive-float, least-negative-float)
4933 (least-positive-normalized-float, least-negative-normalized-float)
4934 (float-epsilon, float-negative-epsilon):
4935 Remove unnecessary declarations.
4936
4937 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4938 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4939 (least-positive-float, least-negative-float)
4940 (least-positive-normalized-float, least-negative-normalized-float)
4941 (float-epsilon, float-negative-epsilon): Add doc-strings,
4942 based on those in cl.texi.
4943
4944 * files.el (set-visited-file-name): If the major-mode changed,
4945 reload the local variables. (Bug#9796)
4946
4947 2011-10-27 Chong Yidong <cyd@gnu.org>
4948
4949 * subr.el (change-major-mode-after-body-hook): New hook.
4950 (run-mode-hooks): Run it.
4951
4952 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4953 Use change-major-mode-before-body-hook.
4954
4955 * simple.el (fundamental-mode):
4956 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4957 change introducing fundamental-mode-hook.
4958
4959 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4960
4961 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4962
4963 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4964
4965 * ido.el (ido-file-name-all-completions-1): Do not require
4966 tramp.el explicitly. (Bug#7583)
4967
4968 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * progmodes/octave-mod.el:
4971 * progmodes/octave-inf.el: Update maintainer.
4972
4973 2011-10-26 Chong Yidong <cyd@gnu.org>
4974
4975 * subr.el (with-wrapper-hook): Rewrite doc.
4976
4977 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4978
4979 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4980 filenames "/method:foo:". (Bug#9793)
4981
4982 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4985 (bug#9865).
4986
4987 2011-10-24 Glenn Morris <rgm@gnu.org>
4988
4989 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4990
4991 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4992
4993 * notifications.el: Add the requirement of a running D-Bus session
4994 bus to the Commentary.
4995
4996 2011-10-24 Juri Linkov <juri@jurta.org>
4997
4998 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4999 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5000 (Bug#9364)
5001
5002 2011-10-24 Juri Linkov <juri@jurta.org>
5003
5004 * info.el (Info-following-node-name-re): Add newline to the list
5005 of allowed characters for leading space. (Bug#9824)
5006
5007 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * progmodes/octave-inf.el (inferior-octave-mode-map):
5010 Fix C-c C-h binding.
5011 * progmodes/octave-mod.el (octave-help): Remove.
5012
5013 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5014
5015 Sync with Tramp 2.2.3.
5016
5017 * net/tramp-cache.el (top): Pacify byte-compiler using
5018 `init-file-user' and `site-run-file'.
5019
5020 * net/trampver.el: Update release number.
5021
5022 2011-10-23 Chong Yidong <cyd@gnu.org>
5023
5024 * files.el (toggle-read-only): Remove obsolete comment about
5025 version control.
5026
5027 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5028 for toggle-read-only. Note that this hasn't called vc-next-action
5029 since 2008-05-02, though it wasn't documented at the time.
5030
5031 * vc/ediff-init.el (ediff-toggle-read-only-function):
5032 Use toggle-read-only.
5033
5034 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5035
5036 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5037 of c-parse-state.
5038
5039 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5040 correct faulty logical expression.
5041 (c-parse-state-state, c-record-parse-state-state):
5042 (c-replay-parse-state-state): New defvar/defuns.
5043 (c-debug-parse-state): Use new functions.
5044
5045 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5046
5047 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5048 last fix. Use window-in-direction correctly.
5049
5050 2011-10-21 Chong Yidong <cyd@gnu.org>
5051
5052 * progmodes/idlwave.el (idlwave-mode):
5053 * progmodes/vera-mode.el (vera-mode): No need to set
5054 require-final-newline; that's done in prog-mode.
5055 Suggested by Stefan Monnier.
5056
5057 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5058
5059 * mouse.el (mouse-drag-window-above)
5060 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5061 (mouse-drag-mode-line-1, mouse-drag-header-line)
5062 (mouse-drag-vertical-line-rightward-window): Remove.
5063 (mouse-drag-line): New function.
5064 (mouse-drag-mode-line, mouse-drag-header-line)
5065 (mouse-drag-vertical-line): Call mouse-drag-line.
5066 * window.el (window-at-side-p, windows-at-side): New functions.
5067
5068 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5069
5070 * tar-mode.el (tar-grind-file-mode):
5071 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5072
5073 2011-10-21 Chong Yidong <cyd@gnu.org>
5074
5075 * progmodes/idlwave.el (idlwave-mode):
5076 * progmodes/vera-mode.el (vera-mode):
5077 Use mode-require-final-newline.
5078
5079 2011-10-20 Glenn Morris <rgm@gnu.org>
5080
5081 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5082
5083 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5084
5085 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5086
5087 2011-10-20 Chong Yidong <cyd@gnu.org>
5088
5089 * emulation/cua-base.el (cua-mode):
5090 * mail/footnote.el (footnote-mode):
5091 * mail/mailabbrev.el (mail-abbrevs-mode):
5092 * net/xesam.el (xesam-minor-mode):
5093 * progmodes/bug-reference.el (bug-reference-mode):
5094 * progmodes/cap-words.el (capitalized-words-mode):
5095 * progmodes/compile.el (compilation-minor-mode)
5096 (compilation-shell-minor-mode):
5097 * progmodes/gud.el (gud-tooltip-mode):
5098 * progmodes/hideif.el (hide-ifdef-mode):
5099 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5100 * progmodes/subword.el (subword-mode):
5101 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5102 * progmodes/which-func.el (which-function-mode):
5103 * term/tvi970.el (tvi970-set-keypad-mode):
5104 * term/vt100.el (vt100-wide-mode):
5105 * textmodes/flyspell.el (flyspell-mode):
5106 * textmodes/ispell.el (ispell-minor-mode):
5107 * textmodes/nroff-mode.el (nroff-electric-mode):
5108 * textmodes/paragraphs.el (use-hard-newlines):
5109 * textmodes/refill.el (refill-mode):
5110 * textmodes/reftex.el (reftex-mode):
5111 * textmodes/rst.el (rst-minor-mode):
5112 * textmodes/sgml-mode.el (html-autoview-mode)
5113 (sgml-electric-tag-pair-mode):
5114 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5115 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5116 * emulation/crisp.el (crisp-mode):
5117 * emacs-lisp/eldoc.el (eldoc-mode):
5118 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5119 minor mode behavior.
5120
5121 2011-10-19 Juri Linkov <juri@jurta.org>
5122
5123 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5124 the list of hard-coded chars with escape-glyph face.
5125
5126 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5129
5130 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5131
5132 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5133 running process.
5134
5135 2011-10-19 Glenn Morris <rgm@gnu.org>
5136
5137 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5138 Ignore ignored files. (Bug#9726)
5139
5140 2011-10-19 Chong Yidong <cyd@gnu.org>
5141
5142 Doc fix for minor modes, stating that an omitted argument enables
5143 the mode unconditionally when called from Lisp.
5144
5145 * abbrev.el (abbrev-mode):
5146 * allout.el (allout-mode):
5147 * autoinsert.el (auto-insert-mode):
5148 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5149 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5150 (global-auto-revert-mode):
5151 * battery.el (display-battery-mode):
5152 * composite.el (global-auto-composition-mode)
5153 (auto-composition-mode):
5154 * delsel.el (delete-selection-mode):
5155 * desktop.el (desktop-save-mode):
5156 * dired-x.el (dired-omit-mode):
5157 * dirtrack.el (dirtrack-mode):
5158 * doc-view.el (doc-view-minor-mode):
5159 * double.el (double-mode):
5160 * electric.el (electric-indent-mode, electric-pair-mode):
5161 * emacs-lock.el (emacs-lock-mode):
5162 * epa-hook.el (auto-encryption-mode):
5163 * follow.el (follow-mode):
5164 * font-core.el (font-lock-mode):
5165 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5166 * help.el (temp-buffer-resize-mode):
5167 * hilit-chg.el (highlight-changes-mode)
5168 (highlight-changes-visible-mode):
5169 * hi-lock.el (hi-lock-mode):
5170 * hl-line.el (hl-line-mode, global-hl-line-mode):
5171 * icomplete.el (icomplete-mode):
5172 * ido.el (ido-everywhere):
5173 * image-file.el (auto-image-file-mode):
5174 * image-mode.el (image-minor-mode):
5175 * iswitchb.el (iswitchb-mode):
5176 * jka-cmpr-hook.el (auto-compression-mode):
5177 * linum.el (linum-mode):
5178 * longlines.el (longlines-mode):
5179 * master.el (master-mode):
5180 * mb-depth.el (minibuffer-depth-indicate-mode):
5181 * menu-bar.el (menu-bar-mode):
5182 * minibuf-eldef.el (minibuffer-electric-default-mode):
5183 * mouse-sel.el (mouse-sel-mode):
5184 * msb.el (msb-mode):
5185 * mwheel.el (mouse-wheel-mode):
5186 * outline.el (outline-minor-mode):
5187 * paren.el (show-paren-mode):
5188 * recentf.el (recentf-mode):
5189 * reveal.el (reveal-mode, global-reveal-mode):
5190 * rfn-eshadow.el (file-name-shadow-mode):
5191 * ruler-mode.el (ruler-mode):
5192 * savehist.el (savehist-mode):
5193 * scroll-all.el (scroll-all-mode):
5194 * scroll-bar.el (scroll-bar-mode):
5195 * server.el (server-mode):
5196 * shell.el (shell-dirtrack-mode):
5197 * simple.el (auto-fill-mode, transient-mark-mode)
5198 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5199 (line-number-mode, column-number-mode, size-indication-mode)
5200 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5201 * strokes.el (strokes-mode):
5202 * time.el (display-time-mode):
5203 * t-mouse.el (gpm-mouse-mode):
5204 * tool-bar.el (tool-bar-mode):
5205 * tooltip.el (tooltip-mode):
5206 * type-break.el (type-break-mode-line-message-mode)
5207 (type-break-query-mode):
5208 * view.el (view-mode):
5209 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5210 (global-whitespace-mode, global-whitespace-newline-mode):
5211 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5212
5213 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5214 Fix autogenerated docstring.
5215
5216 2011-10-19 Juri Linkov <juri@jurta.org>
5217
5218 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5219 by checking environment variables "DESKTOP_SESSION" and
5220 "XDG_CURRENT_DESKTOP". (Bug#9779)
5221
5222 2011-10-19 Juri Linkov <juri@jurta.org>
5223
5224 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5225 (browse-url-chromium-program, browse-url-chromium-arguments):
5226 New defcustoms.
5227 (browse-url-default-browser): Check for `browse-url-chromium' and
5228 call `browse-url-chromium-program'.
5229 (browse-url-chromium): New command. (Bug#9779)
5230
5231 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5232
5233 * facemenu.el (list-colors-duplicates): On Windows, detect more
5234 duplicates by assuming that only colors matching "^System" are
5235 special "system colors". (Bug#9722)
5236
5237 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5240 to distinguish the author from the committer.
5241
5242 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5243
5244 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5245
5246 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5247
5248 * international/mule.el (sgml-html-meta-auto-coding-function):
5249 Add support for detecting encoding in HTML5 specified only as
5250 <meta charset="UTF-8">. Implementation just makes http-equiv and
5251 content-type parts from HTML4 encoding string optional. (Bug#9716)
5252
5253 2011-10-18 Glenn Morris <rgm@gnu.org>
5254
5255 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5256
5257 2011-10-18 Chong Yidong <cyd@gnu.org>
5258
5259 * faces.el (cursor): Doc fix.
5260
5261 2011-10-17 Chong Yidong <cyd@gnu.org>
5262
5263 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5264
5265 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5266
5267 * dirtrack.el (dirtrack): Support shell buffers with path
5268 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5269
5270 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5271
5272 * json.el: Bump version to 1.3 and note change in History.
5273 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5274
5275 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5276
5277 * comint.el (comint-insert-input, comint-send-input)
5278 (comint-get-old-input-default, comint-backward-matching-input)
5279 (comint-next-prompt): Use nil instead of `input' for field property of
5280 past user input (bug#114).
5281
5282 * minibuffer.el (completion--replace): Inherit surrounding properties
5283 (bug#114).
5284 (minibuffer-complete-and-exit): Use it.
5285
5286 * comint.el (comint--table-subvert): Quote the all-completions output
5287 (bug#9160).
5288
5289 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5290
5291 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5292
5293 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5294 window on right of selected. (Bug#9350) Reword other window
5295 entries and separate them from frame entries.
5296
5297 2011-10-15 Glenn Morris <rgm@gnu.org>
5298
5299 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5300 Doc fixes.
5301
5302 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5303
5304 * net/network-stream.el (network-stream-open-starttls):
5305 Improve detection of failure due to lack of TLS support.
5306
5307 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5308 putting the input text in front and in bold.
5309
5310 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5313
5314 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5315 empty buffer.
5316
5317 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5318 unread-command-events rather than pushing yet-another event.
5319
5320 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5321
5322 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5323 the explanation of the possible choices. Make the options passed
5324 to completing-read shorter.
5325
5326 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5327
5328 * textmodes/flyspell.el (flyspell-large-region): Make sure
5329 extended character mode is used if defined (Bug#1339).
5330
5331 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5332
5333 * simple.el (what-cursor-position): Fix the display of the
5334 character info for LRE, LRO, RLE, and RLO characters by appending
5335 an invisible PDF.
5336
5337 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5340 even in case of error; add debug spec; simplify data flow.
5341 (with-timeout-handler): Remove.
5342
5343 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5344
5345 Fix Bug#6019, Bug#9315.
5346
5347 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5348 complete `buffer-file-name', the local file name part could look
5349 remotely (for example on VMS).
5350
5351 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5352 `tramp-run-real-handler'.
5353 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5354 already quoted by '"'.
5355
5356 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5357 Let `file-name-handler-alist' be nil, the local file name part
5358 could look remotely (for example on VMS).
5359
5360 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5363 from here...
5364 (flyspell-post-command-hook): ...to here.
5365
5366 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5369 if not needed.
5370 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5371 using completion. Protect against "slow" callers.
5372 Remove the "message hack".
5373
5374 2011-10-11 Juri Linkov <juri@jurta.org>
5375
5376 * isearch.el (isearch-lazy-highlight-word): New variable.
5377 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5378 Use it. (Bug#9727)
5379
5380 2011-10-11 Glenn Morris <rgm@gnu.org>
5381
5382 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5383 like f90-previous-statement does.
5384
5385 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5386
5387 * eshell/eshell.el (eshell-command): History should be saved
5388 only in interactive use, to avoid error.
5389
5390 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 * minibuffer.el (completion-file-name-table): Fix last change,
5393 i.e. ignore normal errors but not the other ones.
5394
5395 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5396
5397 * window.el (special-display-buffer-names)
5398 (special-display-regexps): Remove some remnants of earlier
5399 changes from doc-strings.
5400 (quit-windows-on): New function.
5401
5402 * vc/vc.el (vc-revert, vc-rollback):
5403 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5404 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5405 (Bug#6183) (Bug#7074) (Bug#7447)
5406
5407 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5408
5409 * window.el (frame-auto-hide-function): Add version tag.
5410 (Bug#9699)
5411
5412 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5413
5414 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5415 condition.
5416
5417 2011-10-09 Leo Liu <sdl.web@gmail.com>
5418
5419 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5420 (Bug#9701)
5421
5422 2011-10-08 Glenn Morris <rgm@gnu.org>
5423
5424 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5425 before the first code statement zero indent. (Bug#9690)
5426
5427 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5428
5429 * simple.el (count-words-region): Always count in the region.
5430 Report the number of lines and characters too.
5431 (count-words): New command, which counts in the buffer if the
5432 region is inactive, as count-words-region used to.
5433 (count-words--message): New function. Handle plurals.
5434 (count-lines-region): Make it an alias for count-words-region.
5435
5436 * bindings.el (esc-map): Replace count-lines-region with
5437 count-words-region.
5438
5439 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5440
5441 * window.el (window--delete): Delete dedicated frame
5442 unconditionally when argument KILL is non-nil. (Bug#9699)
5443 (switch-to-buffer): Fix doc-string typo.
5444
5445 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5446
5447 * eshell/eshell.el (eshell-command): Avoid using hooks.
5448
5449 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5450
5451 * bindings.el ([M-left],[M-right]): Bind to left-word and
5452 right-word respectively.
5453
5454 2011-10-07 Glenn Morris <rgm@gnu.org>
5455
5456 * cus-start.el (debug-on-quit): Fix custom type.
5457
5458 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5459
5460 * subr.el (define-key-after): Clarify that the function is not
5461 useful for non-menu keymaps.
5462
5463 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5464
5465 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5466
5467 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5468 in current minibuffer (Fix bug with recursive minibuffers).
5469
5470 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5471
5472 * progmodes/gdb-mi.el (gdb): Doc fix.
5473
5474 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5475
5476 * window.el (frame-auto-hide-function): New option replacing
5477 frame-auto-delete. Suggested by Stefan Monnier.
5478 (window--delete): Call frame-auto-hide-function instead of
5479 investigating frame-auto-delete.
5480 (window-point-1, set-window-point-1): New functions.
5481 (window-in-direction, record-window-buffer, window-state-get-1)
5482 (display-buffer-record-window): Use window-point-1 instead of
5483 window-point.
5484 (set-window-buffer-start-and-point): Use set-window-point-1.
5485
5486 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5489
5490 2011-10-05 Glenn Morris <rgm@gnu.org>
5491
5492 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5493 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5494
5495 2011-10-05 Leo Liu <sdl.web@gmail.com>
5496
5497 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5498 works with buffer object.
5499
5500 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5501
5502 * mpc.el (mpc-tool-bar-map): Add labels.
5503
5504 2011-10-04 Glenn Morris <rgm@gnu.org>
5505
5506 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5507
5508 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5509
5510 * window.el (window--delete): New function.
5511 (frame-auto-delete): Resuscitate option.
5512 (bury-buffer, replace-buffer-in-windows)
5513 (quit-window): Rewrite using window--delete.
5514 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5515 Pass display-buffer-mark-dedicated to window--display-buffer-2
5516 (Bug#9639).
5517
5518 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5521 returns a list (bug#9554). Add remote file name completion.
5522 * comint.el (comint--table-subvert): Curry and get quote&unquote
5523 functions as arguments.
5524 (comint--complete-file-name-data): Adjust call accordingly.
5525 * pcomplete.el (pcomplete--table-subvert): Remove.
5526 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5527
5528 * minibuffer.el (completion-table-case-fold): Use currying.
5529 (completion--styles-type, completion--cycling-threshold-type):
5530 New constants.
5531 (completion-styles, completion-category-overrides)
5532 (completion-cycle-threshold): Use them.
5533 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5534 completion-table-case-fold.
5535
5536 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5537
5538 * minibuffer.el (completion-category-overrides): Fix type of styles
5539 and add more user friendly tags (bug#9660).
5540
5541 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5544 (mule-input-method-string): New widget.
5545 (default-input-method, language-info-custom-alist): Use it.
5546
5547 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5548
5549 * pcomplete.el: Require comint.
5550 (pcomplete--common-suffix): Remove.
5551 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5552 (pcomplete--table-subvert): Sync with comint--table-subvert.
5553 (pcomplete--entries): Use comint-completion-file-name-table.
5554 * comint.el (comint-unquote-filename): Simplify.
5555 (comint-completion-file-name-table): New function (bug#9616).
5556 (comint--complete-file-name-data): Use it.
5557
5558 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5559 (pcmpl-gnu-tar-buffer): Remove.
5560 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5561 around. Make sure pcomplete-suffix-list is only changed temporarily.
5562 Don't look inside the tar's file if it's too large.
5563
5564 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5565
5566 * cus-edit.el (custom-mode-map):
5567 * epa.el (epa-key-list-mode-map):
5568 * man.el (Man-mode-map):
5569 * startup.el (splash-screen-keymap):
5570 * simple.el (special-mode-map): Use scroll-up-command and
5571 scroll-down-command.
5572
5573 * progmodes/idlw-help.el (idlwave-help-mode-map):
5574 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5575 * net/newst-plainview.el (newsticker-mode-map):
5576 * emulation/ws-mode.el (wordstar-mode-map):
5577 * emulation/vi.el (vi-com-map):
5578 * calc/calc-graph.el (calc-graph-show-dumb):
5579 * term/sun.el (terminal-init-sun):
5580 * term/ns-win.el (global-map):
5581 * progmodes/grep.el (grep-mode-map):
5582 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5583 * mail/rmail.el (rmail-mode-map):
5584 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5585
5586 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5587 custom-safe-themes as special.
5588
5589 2011-10-01 Julien Danjou <julien@danjou.info>
5590
5591 * notifications.el (notifications-notify): Fix docstring.
5592
5593 2011-10-01 Per Starbäck <per@starback.se>
5594
5595 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5596
5597 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5598
5599 * startup.el (command-line-1): Fix last fix by inserting
5600 initial-scratch-message into *scratch* before displaying it.
5601 (Bug#9605) and (Bug#9636)
5602
5603 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5604
5605 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5606 window is hscrolled, move by logical lines. (Bug#9607)
5607 (line-move-visual): Update the doc string to the above effect.
5608
5609 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5610
5611 * window.el (display-buffer-record-window): When WINDOW is the
5612 selected window use `point' instead of `window-point'. (Bug#9626)
5613
5614 * startup.el (command-line-1): Use insert-before-markers when
5615 inserting initial-scratch-message. (Bug#9605)
5616
5617 * help.el (help-window): Remove variable.
5618
5619 2011-09-29 Glenn Morris <rgm@gnu.org>
5620
5621 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5622
5623 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5624
5625 * descr-text.el (describe-char-categories): Accept category
5626 descriptions more than one line long.
5627
5628 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * simple.el (delete-trailing-whitespace): Fix last change.
5631
5632 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5633 Don't confuse "y => 3" as the beginning of a `y' operation.
5634
5635 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5636 object has more than 4 slots (bug#9613).
5637
5638 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5639
5640 * subr.el (with-output-to-temp-buffer):
5641 * net/quickurl.el (quickurl, quickurl-browse-url):
5642 Fix typos in docstrings.
5643
5644 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5645
5646 * minibuffer.el (completion-styles)
5647 (completion-category-overrides): Cross reference each other in doc
5648 strings.
5649
5650 2011-09-27 Glenn Morris <rgm@gnu.org>
5651
5652 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5653 to split-string. (Bug#9606)
5654
5655 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5656
5657 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5658 (bug#9615).
5659
5660 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5661
5662 * emacs-lisp/package.el (list-packages): Fix echo area message.
5663
5664 2011-09-27 Leo Liu <sdl.web@gmail.com>
5665
5666 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5667
5668 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5669
5670 * net/dbus.el (dbus-unregister-object): Don't release services for
5671 registered signals. (Bug#9581)
5672
5673 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5674
5675 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5676 function that picks between cfengine 2 and 3 support
5677 automatically. Update docs accordingly.
5678
5679 2011-09-22 Kenichi Handa <handa@m17n.org>
5680
5681 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5682 ZERO.
5683 (indian-itrans-v5-table-for-tamil): New variable.
5684 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5685
5686 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5687
5688 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5689 that's true if the current command involved collapsing of text.
5690 It's reset to false at the beginning of the next command.
5691 (allout-post-command-business): Move the cursor to the beginning
5692 of entry if the cursor is hidden and collapsing activity just
5693 happened.
5694
5695 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5696
5697 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5698 tracking (Bug#9541).
5699
5700 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5701
5702 * net/newst-reader.el (newsticker-html-renderer)
5703 (newsticker-show-news): Automatically load html rendering package
5704 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5705 because w3m-fill-column is let-bound" and the error "Symbol's value
5706 as variable is void: w3m-fill-column".
5707
5708 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5709
5710 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5711 Release services only if they are defined. (Bug#9581)
5712
5713 2011-09-23 Richard Stallman <rms@gnu.org>
5714
5715 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5716 distinguish start of paragraph from start of its text.
5717
5718 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5719
5720 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5721 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5722 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5723
5724 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5725
5726 * international/mule-diag.el (mule-diag): Insert a newline after
5727 each fontset description.
5728
5729 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * simple.el (delete-trailing-whitespace):
5732 Document last change; simplify.
5733
5734 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5735
5736 * simple.el (delete-trailing-whitespace): Also delete
5737 extra newlines at the end of the buffer.
5738
5739 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5740 (picture-newline): Use forward-line so as to ignore fields.
5741
5742 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * subr.el (with-wrapper-hook): Fix edebug spec.
5745
5746 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5747
5748 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5749 (bug#4538).
5750
5751 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5752
5753 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5754 Fix nasty bug using wrong cached values.
5755
5756 2011-09-23 Alan Mackenzie <acm@muc.de>
5757
5758 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5759
5760 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5761
5762 * window.el (pop-to-buffer): Ensure right window is selected if we
5763 chose another frame.
5764
5765 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5766
5767 * simple.el (what-cursor-position): Use get-char-property-change
5768 and next-single-char-property-change, to be able to show display
5769 properties that come from overlays as well as text properties.
5770
5771 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5772
5773 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5774
5775 * cmuscheme.el (run-scheme, switch-to-scheme):
5776 * cus-edit.el (customize-group, custom-buffer-create)
5777 (customize-browse):
5778 * info.el (info):
5779 * shell.el (shell):
5780 * mail/sendmail.el (mail):
5781 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5782
5783 2011-09-22 Richard Stallman <rms@gnu.org>
5784
5785 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5786 move back only to line beg, don't move back over blank lines.
5787
5788 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5789
5790 * files.el (copy-directory): Set directory attributes only in case
5791 they could be retrieved from the source directory. (Bug#9565)
5792
5793 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5794
5795 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5796 (hs-find-block-beginning, hs-hide-level-recursive):
5797 Ignore strings as well as comments. (Bug#9502)
5798
5799 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5800
5801 * progmodes/sql.el (sql-comint-postgres):
5802 Convert port number to a string. (Bug#9566)
5803
5804 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5805
5806 * window.el (quit-window): Undedicate window when switching to
5807 previous buffer. Reported by Thierry Volpiatto
5808 <thierry.volpiatto@gmail.com>.
5809 (special-display-popup-frame): When popping up a new frame reset
5810 its previous buffers to nil. Simplify code.
5811
5812 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5813
5814 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5815 and process filter, as done also in `shell-command'.
5816
5817 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5818
5819 * window.el (set-window-buffer-start-and-point):
5820 Call set-window-start with NOFORCE argument t.
5821 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5822 (quit-window): Reword doc-string. Handle new format of
5823 quit-restore parameter. Don't delete window if it has a
5824 previous buffer we can show instead of the present one.
5825 (display-buffer-record-window): Rewrite using a new format for
5826 the quit-restore window parameter
5827 (special-display-popup-frame, display-buffer-same-window)
5828 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5829 (display-buffer-pop-up-window, display-buffer-use-some-window):
5830 Adapt symbol passed to display-buffer-record-window.
5831 * help.el (help-window-setup): Handle new format of quit-restore
5832 parameter.
5833
5834 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * faces.el (face-list): Fix docstring (bug#9564).
5837
5838 * window.el (display-buffer--action-function-custom-type):
5839 Don't include internal functions in the Custom interface.
5840
5841 2011-09-20 Juri Linkov <juri@jurta.org>
5842
5843 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5844 (Info-forward-node, Info-backward-node, Info-next-preorder)
5845 (Info-last-preorder): Use it. (Bug#9528)
5846
5847 2011-09-20 Juri Linkov <juri@jurta.org>
5848
5849 * info.el (Info-last-preorder): Visit last menu item only when
5850 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5851
5852 2011-09-20 Julien Danjou <julien@danjou.info>
5853
5854 * password-cache.el (password-cache-remove): Remove entries even if the
5855 value is nil, so that password with a nil value (negative caching) is
5856 possible to invalidate.
5857
5858 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5859
5860 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5861 all whitespace around breakpoint. (Bug#9553)
5862 (f90-find-breakpoint): Only break at whitespace inside a comment.
5863
5864 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * minibuffer.el (completion-file-name-table): Keep track of errors.
5867 (completion-table-with-predicate): Handle the case where pred1 is nil.
5868 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5869
5870 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5873 (debugger-return-value): Signal an error if the debugging context does
5874 not await any return value.
5875
5876 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5877 * image-mode.el (image-toggle-display-text)
5878 (image-toggle-display-image): Stay away from evil `intangible'.
5879
5880 2011-09-19 Leo Liu <sdl.web@gmail.com>
5881
5882 * replace.el (occur-revert-arguments): Make it permanent-local.
5883 (occur-mode): Don't call font-lock-defontify.
5884
5885 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5886
5887 * net/ldap.el (ldap-search-internal): Don't push empty search
5888 result (Bug#9508).
5889
5890 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5893
5894 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5895
5896 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5897 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5898
5899 2011-09-18 Juri Linkov <juri@jurta.org>
5900
5901 * buff-menu.el (Buffer-menu-mode-map):
5902 * dired.el (dired-mode-map):
5903 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5904 (lisp-interaction-mode-map):
5905 * emacs-lisp/package.el (package-menu-mode-map):
5906 * epa.el (epa-key-list-mode-map):
5907 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5908 (menu-bar-options-menu):
5909 * outline.el (outline-mode-menu-bar-map):
5910 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5911 * vc/vc-dir.el (vc-dir-menu-map):
5912 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5913 Capitalize non-function content words in menu item strings.
5914
5915 * dired.el (dired-mode-map): Add menu item for
5916 `image-dired-dired-toggle-marked-thumbs'.
5917
5918 2011-09-18 Juri Linkov <juri@jurta.org>
5919
5920 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5921 to `isearch-case-fold-search' and restore its original value
5922 after the `isearch-mode' call.
5923
5924 2011-09-18 Juri Linkov <juri@jurta.org>
5925
5926 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5927 because `zgrep' returns 1 for successful matches (bug#9226).
5928
5929 2011-09-18 Juri Linkov <juri@jurta.org>
5930
5931 * info.el (Info-extract-menu-node-name): Check the second match
5932 for empty string (second test-case of bug#9528).
5933 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5934 intermediate nodes to the history (first test-case of bug#9528).
5935
5936 2011-09-18 Juri Linkov <juri@jurta.org>
5937
5938 * info.el (Info-mode-syntax-table): New variable.
5939 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5940
5941 2011-09-18 Juri Linkov <juri@jurta.org>
5942
5943 * info.el (Info-file-supports-index-cookies):
5944 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5945 outputs one more line for long file names (bug#4142).
5946
5947 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5948
5949 * newcomment.el (comment-normalize-vars): If prompting for
5950 comment-start, set comment-start-skip too (Bug#8424).
5951
5952 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5953
5954 * icomplete.el: Fix previous fix of Bug#5849.
5955 (icomplete-mode): Don't set completion-show-inline-help.
5956 (icomplete-minibuffer-setup): Set completion-show-inline-help
5957 locally during icompletion.
5958
5959 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5960
5961 * woman.el (woman2-process-escapes): Don't delete unrecognized
5962 escapes (Bug#7843).
5963
5964 * files.el (inhibit-first-line-modes-regexps): Add image files.
5965 (hack-local-variables-prop-line): Return nil for malformed
5966 prop-lines (Bug#9044).
5967
5968 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5969
5970 * net/tramp.el (top): Don't require 'shell.
5971 (tramp-methods): Fix docstring.
5972 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5973 Return complete remote file name. Handle "smb" case.
5974 Use `tramp-tmpdir', if defined for the respective method.
5975 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5976
5977 * net/tramp-compat.el (top): Require 'shell.
5978
5979 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5980 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5981 `tramp-current-host'.
5982 (tramp-get-remote-tmpdir): Remove.
5983
5984 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5985 `tramp-tmpdir' entries.
5986 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5987 (tramp-smb-handle-file-attributes): Ignore errors.
5988 (tramp-smb-wait-for-output): Check also for process end.
5989
5990 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5991
5992 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5993 when sending QUIT (bug#9312).
5994
5995 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5996
5997 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5998 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5999 occur-mode-display-occurrence.
6000 (occur-edit-mode): Add usage message.
6001 (occur-cease-edit): New command.
6002 (occur-after-change-function): Use text properties to find the
6003 position of the prefix text.
6004 (occur-engine): Set stickiness of prefix text properties.
6005
6006 2011-09-17 Glenn Morris <rgm@gnu.org>
6007
6008 * progmodes/etags.el (complete-tag):
6009 Fix call to completion-in-region. (Bug#9526)
6010
6011 2011-09-17 Juri Linkov <juri@jurta.org>
6012
6013 * textmodes/ispell.el (ispell-word): Add to the error message
6014 the word, ispell program name and current dictionary (bug#9121).
6015 (ispell-tex-arg-end): Capitalize "error" in the error message.
6016
6017 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6018
6019 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6020 check. (Bug#4251)
6021
6022 2011-09-17 Juri Linkov <juri@jurta.org>
6023
6024 * window.el (window-safe-min-height, window-safe-min-width):
6025 Fix typos (followup to bug#9522).
6026
6027 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6028
6029 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6030
6031 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6032
6033 * simple.el (line-move): If goal-column is set, move by logical
6034 lines, not by display lines. (Bug#971)
6035 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6036 to reflect the above change.
6037
6038 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * image.el (imagemagick-register-types): Use regexp-opt.
6041
6042 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6043
6044 * window.el (display-buffer-base-action): Rename from
6045 display-buffer-default-action. Make default value empty.
6046 (display-buffer-overriding-action): Convert to defvar.
6047 (display-buffer-fallback-action): New var.
6048
6049 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6050
6051 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6052 declaration.
6053 (package--add-to-archive-contents): If there is a duplicate entry
6054 with an older version, remove it.
6055 (package-menu-mark-delete, package-menu-mark-install)
6056 (package-menu-mark-unmark): Make unused args optional.
6057 (package-menu-mark-obsolete-for-deletion):
6058 Use package-menu-get-status instead of a regexp search.
6059 (package-menu-get-status): Use tabulated-list-entry.
6060 (package-menu-mark-upgrades): New command.
6061 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6062 (package-menu-execute): Do installation before deletion.
6063 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6064 instead of checking major-mode.
6065 (package-menu--find-upgrades): New function.
6066
6067 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6068
6069 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6070 passwords in the log buffer.
6071 (smtpmail-process-filter): Update the process marker so that the
6072 "broken by peer" status message is inserted in the right place.
6073
6074 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6077 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6078 bibtex-completion-at-point-function.
6079 (bibtex-completion-at-point-function): Use them.
6080
6081 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6082
6083 * mpc.el (mpc-constraints-tag-lookup): New function.
6084 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6085 also to browser "album|playlist".
6086
6087 2011-09-14 Juri Linkov <juri@jurta.org>
6088
6089 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6090 (isearch-edit-string): Use length of `isearch-string' when
6091 `isearch-fail-pos' returns nil.
6092 (isearch-message): Remove duplicate code and call
6093 `isearch-fail-pos' with arg `t'.
6094
6095 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6096
6097 * replace.el (occur-mode-goto-occurrence): Don't force using other
6098 window (Bug#9499).
6099
6100 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6101
6102 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6103
6104 * window.el (display-buffer-window): Remove.
6105 (display-buffer-record-window): Use help-setup window parameter
6106 instead of variable display-buffer-window.
6107 (display-buffer-function, special-display-buffer-names)
6108 (special-display-function): Mention help-setup parameter instead
6109 of display-buffer-window in doc-string.
6110 * help.el (help-window-setup): New argument help-window.
6111 Use help-window-setup parameter instead of display-buffer-window.
6112 Reword some messages.
6113 (with-help-window): Pass window used for displaying the buffer
6114 to help-window-setup. Don't set display-buffer-window.
6115
6116 2011-09-13 Glenn Morris <rgm@gnu.org>
6117
6118 * emacs-lisp/debug.el (debugger-make-xrefs):
6119 Preserve point. (Bug#9462)
6120
6121 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6122
6123 * window.el (window-deletable-p): Use next-frame.
6124
6125 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6126
6127 * window.el (window-auto-delete): Remove.
6128 (window-deletable-p): Remove argument FORCE. Don't deal with
6129 dedication and previous buffers.
6130 (switch-to-prev-buffer): Don't delete window.
6131 (delete-windows-on): Delete a window's frame if and only if the
6132 window is dedicated.
6133 (replace-buffer-in-windows): Delete buffer's window or frame if
6134 and only if window is dedicated.
6135 (quit-window): Handle quit-restore as before last change.
6136 (bury-buffer): Delete window only if window-deletable-p returns t.
6137
6138 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6139
6140 * window.el (window-deletable-p): Never delete the last frame on a
6141 given terminal.
6142
6143 2011-09-13 Glenn Morris <rgm@gnu.org>
6144
6145 * help.el (describe-key-briefly): Copy previous standard-output change.
6146
6147 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6148
6149 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6150
6151 2011-09-13 Glenn Morris <rgm@gnu.org>
6152
6153 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6154 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6155
6156 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6157
6158 * dired-aux.el (dired-mark-read-string): Don't return default
6159 value on empty input (Bug#9361).
6160 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6161 Omit initial minibuffer contents.
6162 (dired-do-chmod): Signal an error on empty input.
6163 (dired-mark-read-string): Don't return default on empty input.
6164
6165 * files.el (file-modes-symbolic-to-number): Doc fix.
6166
6167 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6168
6169 * international/mule-cmds.el (ucs-completions): Remove.
6170 (read-char-by-name): Use complete-with-action instead; add metadata.
6171
6172 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6173
6174 * window.el (display-buffer--action-function-custom-type)
6175 (display-buffer--action-custom-type): New vars.
6176 (display-buffer-alist, display-buffer-default-action)
6177 (display-buffer-overriding-action): Add defcustom types.
6178
6179 * frame.el (delete-other-frames): Doc fix (Bug#276).
6180
6181 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6182
6183 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6184
6185 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6186
6187 Change modes that used same-window-* vars to use switch-to-buffer.
6188
6189 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6190 Use switch-to-buffer.
6191
6192 * cus-edit.el (customize-group, custom-buffer-create)
6193 (customize-browse, custom-buffer-create-other-window):
6194 Use switch-to-buffer or switch-to-buffer-other-window.
6195
6196 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6197 (Info-prev, Info-up, Info-speedbar-goto-node)
6198 (info-display-manual): Use switch-to-buffer.
6199 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6200
6201 * mail/sendmail.el (mail): Use switch-to-buffer.
6202 (mail-recover): Use switch-to-buffer-other-window.
6203
6204 * cmuscheme.el (run-scheme, switch-to-scheme):
6205 * ielm.el (ielm):
6206 * shell.el (shell):
6207 * net/rlogin.el (rlogin):
6208 * net/telnet.el (telnet, rsh):
6209 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6210
6211 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6212
6213 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6214
6215 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6216
6217 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6218 so don't mention it (bug#9301).
6219 (dired-sort-toggle-or-edit): Clarify string further.
6220
6221 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6222 match `x', `w32' and `ns', like the manual says (bug#9029).
6223
6224 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6225 (process-kill-buffer-query-function): Mention the buffer name in
6226 the query.
6227
6228 * image-mode.el (image-next-line): The line parameter is mandatory
6229 (bug#9258).
6230
6231 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6232 which can be useful (bug#9301).
6233
6234 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6235
6236 * subr.el (match-string): Mention that the current buffer should
6237 be the same as the search was done in (bug#9282).
6238
6239 * facemenu.el: Disable the remove-* commands if the mark isn't
6240 active (bug#9162).
6241
6242 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6243
6244 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6245 of display-buffer.
6246 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6247
6248 * replace.el (occur-mode-goto-occurrence)
6249 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6250 and display-buffer.
6251
6252 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6253 display-buffer.
6254
6255 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6256 special-display and same-window variables.
6257 (mail-other-window): Use switch-to-buffer-other-window.
6258 (mail-other-frame): USe switch-to-buffer-other-frame.
6259
6260 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6261 Use display-buffer-other-frame.
6262 (gdb-display-gdb-buffer): Use pop-to-buffer.
6263
6264 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6265
6266 * progmodes/python.el: Don't set same-window-buffer-names.
6267
6268 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6269
6270 * window.el (display-buffer-alist): Add *Python*.
6271
6272 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6273
6274 * window.el (display-buffer-alist): Add entry for buffers
6275 previously handled same-window-*.
6276 (display-buffer-alist, display-buffer-default-action)
6277 (display-buffer-overriding-action): Mark as risky.
6278 (display-buffer-alist): Document action function changes.
6279 (display-buffer--same-window-action)
6280 (display-buffer--other-frame-action): New variables.
6281 (switch-to-buffer, display-buffer-other-frame): Use them.
6282 (display-buffer): Rename reuse-frame entry to reusable-frames.
6283 (display-buffer-reuse-selected-window): Function deleted.
6284 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6285 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6286 (display-buffer-special): New function.
6287 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6288 display-buffer-reuse-or-pop-window. Split off special-display
6289 part into display-buffer-special.
6290 (display-buffer-use-some-window): Don't perform any special
6291 pop-up-frames handling.
6292 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6293 (display-buffer--maybe-same-window): Rename from
6294 display-buffer-maybe-same-window.
6295
6296 * info.el: Don't set same-window-regexps.
6297 (info-setup): New function.
6298 (info-other-window, info): Call it.
6299
6300 * cus-edit.el: Don't set same-window-regexps.
6301 (customize-group): New argument.
6302 (customize-group-other-window): Use it.
6303 (customize-face, customize-face-other-window): Likewise.
6304 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6305
6306 * net/rlogin.el:
6307 * net/telnet.el:
6308 * progmodes/gud.el: Don't set same-window-regexps.
6309
6310 * cmuscheme.el:
6311 * ielm.el:
6312 * shell.el:
6313 * mail/sendmail.el:
6314 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6315
6316 2011-09-10 Juri Linkov <juri@jurta.org>
6317
6318 * isearch.el (isearch-edit-string): Remove obsolete mention of
6319 `C-w' (`isearch-yank-word-or-char') from docstring.
6320 (isearch-query-replace): Fix typo in docstring (bug#9466).
6321
6322 2011-09-10 Juri Linkov <juri@jurta.org>
6323
6324 * paren.el (show-paren-function): Don't show escaped parens.
6325 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6326
6327 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6328
6329 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6330 (mm-default-file-encoding): Remove autoload forms, they are
6331 replaced with autoload cookies in mml.el and mm-encode.el.
6332 (mail-add-attachment): New command.
6333 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6334 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6335 the doc string.
6336 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6337
6338 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6339
6340 * simple.el (count-words-region): Use buffer if there's no region
6341 (bug#9429).
6342
6343 2011-09-09 Juri Linkov <juri@jurta.org>
6344
6345 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6346 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6347 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6348
6349 2011-09-09 Alan Mackenzie <acm@muc.de>
6350
6351 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6352 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6353
6354 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6355
6356 Fix for Savannah bug#9392.
6357 * simple.el (mail-encode-mml): New defvar.
6358
6359 * mail/rmail.el (mail-encode-mml): Add a defvar.
6360 (rmail-enable-mime-composing): Default to t.
6361 (rmail-forward): Use MIME method of forwarding only if both
6362 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6363 Set mail-encode-mml non-nil if the MIME method was used.
6364
6365 * mail/sendmail.el (mml-to-mime): Add autoload form.
6366 (mail-encode-mml): Add a defvar.
6367 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6368 to nil.
6369 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6370 message through mml-to-mime, and reset mail-encode-mml to nil.
6371
6372 2011-09-09 Glenn Morris <rgm@gnu.org>
6373
6374 * woman.el (woman-if-body): When processing an .el block,
6375 do not delete the next .el block as well. (Bug#9447)
6376 (woman-special-characters): Add oq, cq, and hy characters.
6377
6378 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6379
6380 * window.el (window-deletable-p): Make sure window is live before
6381 invoking window-prev-buffers.
6382
6383 2011-09-08 Leo Liu <sdl.web@gmail.com>
6384
6385 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6386
6387 2011-09-08 Juri Linkov <juri@jurta.org>
6388
6389 * progmodes/compile.el (compilation-environment): Make it
6390 a defcustom (bug#8340).
6391
6392 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6393
6394 * window.el (frame-auto-delete): Rename to window-auto-delete.
6395 Make it control auto-deletion of windows and/or frames.
6396 (window-deletable-p): New argument FORCE. Rewrite conditions
6397 for deleting window/frame. (Bug#9419)
6398 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6399 Rewrite handling of case when window/frame can be deleted.
6400 (delete-windows-on): Call window-deletable-p with new FORCE
6401 argument t. (Bug#9456)
6402
6403 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6404
6405 * help-mode.el (help-mode): Restore autoload.
6406
6407 2011-09-07 Juri Linkov <juri@jurta.org>
6408
6409 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6410 `compilation-environment'. Set buffer-local
6411 `compilation-environment' to `thisenv' later after (funcall mode).
6412 (Bug#8340)
6413
6414 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6415 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6416 instead of replacing its value. (Bug#8340)
6417
6418 2011-09-07 Juri Linkov <juri@jurta.org>
6419
6420 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6421 based on text properties put by `grep-filter' instead of matching
6422 escape sequences.
6423 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6424 to the value of `grep-error-screen-columns' (bug#9438).
6425
6426 2011-09-07 Juri Linkov <juri@jurta.org>
6427
6428 * simple.el (next-error-highlight, next-error-highlight-no-select):
6429 Doc fix (bug#9432).
6430
6431 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6432
6433 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6434 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6435
6436 2011-09-07 Leo Liu <sdl.web@gmail.com>
6437
6438 * net/rcirc.el (rcirc-mode): Conditionally initialize
6439 rcirc-input-ring.
6440
6441 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * emacs-lisp/find-func.el (find-function-C-source): Only set
6444 find-function-C-source-directory after checking that we found a source
6445 file there (bug#9440).
6446
6447 2011-09-06 Alan Mackenzie <acm@muc.de>
6448
6449 * isearch.el (isearch-other-meta-char): Wherever a key list is
6450 unread, "unread" the prefix arg, too. This fixes bug #8901.
6451
6452 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6453
6454 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6455
6456 2011-09-05 Juri Linkov <juri@jurta.org>
6457
6458 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6459
6460 2011-09-05 Juri Linkov <juri@jurta.org>
6461
6462 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6463 keeping point where processing of grep matches begins, and
6464 continue to delete remaining escape sequences from the same point.
6465 (grep-filter): Make leading zero optional in "0?1;31m" because
6466 git-grep emits "\033[1;31m" escape sequences unlike expected
6467 "\033[01;31m" as GNU Grep does (bug#9408).
6468 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6469
6470 2011-09-05 Juri Linkov <juri@jurta.org>
6471
6472 * subr.el (y-or-n-p): Capitalize "yes".
6473
6474 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6475
6476 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6477 `tramp-cache-unload-hook' where appropriate.
6478 (tramp-methods): Rename `tramp-remote-sh' to
6479 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6480 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6481
6482 * net/tramp-sh.el (top): Don't require 'shell.
6483 (tramp-methods): Add `tramp-remote-shell' and
6484 `tramp-remote-shell-args' entries.
6485 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6486 (tramp-sh-handle-shell-command): Remove.
6487 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6488 Use `tramp-remote-shell'.
6489
6490 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6491
6492 * mail/sendmail.el (sendmail-query-once-function): Delete.
6493 (sendmail-query-once): Save directly to send-mail-function.
6494 Update message-send-mail-function too.
6495
6496 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6497
6498 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6499
6500 * progmodes/python.el (python-mode-map): Use correct function to
6501 start python interpreter from menu-bar (as reported by Geert
6502 Kloosterman).
6503 (inferior-python-mode-map): Fix typo.
6504 (python-shell-map): Remove.
6505
6506 2011-09-03 Deniz Dogan <deniz@dogan.se>
6507
6508 * net/rcirc.el (rcirc-print): Simplify code for
6509 rcirc-scroll-show-maximum-output. There is no need to walk
6510 through all windows to find the right one.
6511
6512 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6513
6514 * help.el (help-return-method): Doc fix.
6515
6516 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6517
6518 * window.el (window-deletable-p): Don't return a non-nil value
6519 when there's a buffer that was shown in the window before.
6520 (Bug#9419)
6521 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6522 Set window's previous buffers to nil.
6523
6524 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6525
6526 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6527 newline before and after the tag line, so it doesn't interfere
6528 with determining the paragraph direction of bidirectional text.
6529
6530 2011-09-03 Leo Liu <sdl.web@gmail.com>
6531
6532 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6533
6534 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6535
6536 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6537 (pop-to-buffer): Change interactive spec. Pass second argument
6538 directly to display-buffer.
6539 (display-buffer): Fix interactive spec. Use functionp to
6540 distinguish between a function and a list of functions.
6541
6542 * abbrev.el (edit-abbrevs):
6543 * arc-mode.el (archive-extract):
6544 * autoinsert.el (auto-insert):
6545 * bookmark.el (bookmark-bmenu-list):
6546 * files.el (find-file):
6547 * view.el (view-buffer):
6548 * progmodes/compile.el (compilation-goto-locus):
6549 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6550
6551 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6552
6553 * window.el (display-buffer-alist): Doc fix.
6554 (display-buffer): Add docstring. Don't treat
6555 display-buffer-default specially.
6556 (display-buffer-reuse-selected-window)
6557 (display-buffer-same-window, display-buffer-maybe-same-window)
6558 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6559 (display-buffer-pop-up-window)
6560 (display-buffer-reuse-or-pop-window)
6561 (display-buffer-use-some-window): New functions.
6562 (display-buffer-default-action): Use them.
6563 (display-buffer-default): Delete.
6564 (pop-to-buffer-1): Fix choice of actions.
6565
6566 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6568 * minibuffer.el (completion--insert-strings): Don't get confused by
6569 completion entries that end with an LF char.
6570
6571 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6572
6573 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6574
6575 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6576
6577 * window.el (display-buffer): Restore interactive spec.
6578 (display-buffer-same-window, display-buffer-other-window):
6579 New functions.
6580 (pop-to-buffer-1): New function. Use the above.
6581 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6582 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6583
6584 * view.el (view-buffer-other-window, view-buffer-other-frame):
6585 Just use pop-to-buffer.
6586
6587 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6588
6589 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6590
6591 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6592
6593 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6594
6595 2011-08-31 Richard Stallman <rms@gnu.org>
6596
6597 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6598 of the separation of rmail-view-buffer from rmail-buffer.
6599 If you say no to "replace original", the decrypt is in the
6600 view buffer. If you say yes, the decrypt goes into the
6601 rmail buffer also.
6602
6603 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6604
6605 * window.el (display-buffer-window): Rewrite doc-string.
6606 (display-buffer-record-window): New function.
6607 (display-buffer-macro-specifiers)
6608 (display-buffer-even-window-sizes, display-buffer-set-height)
6609 (display-buffer-set-width, display-buffer-in-window)
6610 (display-buffer-reuse-window, display-buffer-split-specifiers)
6611 (display-buffer-side-specifiers, display-buffer-split-window-1)
6612 (display-buffer-split-window, display-buffer-split-atom-window)
6613 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6614 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6615 (display-buffer-other-window-means-other-frame)
6616 (display-buffer-normalize-special)
6617 (display-buffer-normalize-default)
6618 (display-buffer-normalize-argument)
6619 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6620 (display-buffer-normalize-specifiers, display-buffer-frame)
6621 (display-buffer-same-window, display-buffer-same-frame)
6622 (display-buffer-other-window)
6623 (display-buffer-same-frame-other-window)
6624 (display-buffer-other-frame, pop-to-buffer-same-window)
6625 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6626 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6627 (switch-to-buffer-same-frame)
6628 (switch-to-buffer-other-window-same-frame)
6629 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6630 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6631 (display-buffer-alist-set): Remove.
6632 (display-buffer-function, special-display-buffer-names)
6633 (special-display-regexps, special-display-function):
6634 In doc-string refer to display-buffer-window and quit-restore
6635 parameter.
6636 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6637 (special-display-frame-alist, special-display-popup-frame)
6638 (same-window-buffer-names, same-window-regexps, same-window-p)
6639 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6640 (split-window-preferred-function, split-height-threshold)
6641 (split-width-threshold, window-splittable-p)
6642 (split-window-sensibly, window--try-to-split-window)
6643 (window--frame-usable-p, even-window-heights)
6644 (window--even-window-heights, window--display-buffer-1)
6645 (window--display-buffer-2, display-buffer-other-frame):
6646 Restore old Emacs 23 code, order and doc-strings where applicable.
6647 (display-buffer-default, display-buffer-assq-regexp): New functions.
6648 (display-buffer-alist): Rewrite doc-string.
6649 (display-buffer-default-action)
6650 (display-buffer-overriding-action): New variables.
6651 (display-buffer, switch-to-buffer): Rewrite.
6652 (pop-to-buffer): Restore Emacs 23 behavior but use
6653 window-normalize-buffer-to-display.
6654 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6655 Restore Emacs 23 behavior but use
6656 window-normalize-buffer-to-switch-to.
6657 (pop-to-buffer-same-window): Rewrite.
6658 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6659 Rewrite using Emacs 23 options.
6660
6661 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6662
6663 * net/tramp.el (tramp-root-regexp): Remove.
6664 (tramp-completion-file-name-regexp-unified)
6665 (tramp-completion-file-name-regexp-separate)
6666 (tramp-completion-file-name-regexp-url): Don't use leading volume
6667 letter on win32 systems. (Bug#5303, Bug#9311)
6668 (tramp-drop-volume-letter): Simplify definition.
6669 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6670
6671 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6674 (bug#9356).
6675
6676 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6677
6678 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6679
6680 2011-08-29 Juri Linkov <juri@jurta.org>
6681
6682 * isearch.el (isearch-done): Don't display message "Mark saved"
6683 when arg `edit' is non-nil to prevent its flicker in the echo area.
6684
6685 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6686
6687 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6688 obsolete packages for deletion.
6689
6690 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6691
6692 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6693 (help-mode): Derive help-mode from special-mode. Don't invoke
6694 view-mode from help-mode.
6695 (help-xref-override-view-map): Remove.
6696 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6697 view-mode is not used anymore.
6698
6699 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6700
6701 * server.el (server-port): Doc fix.
6702
6703 * cus-theme.el (custom-theme-choose-mode): Inherit from
6704 special-mode (Bug#9124).
6705 (custom-theme-choose-mode-map): Add special-mode to parent.
6706
6707 2011-08-28 Alan Mackenzie <acm@muc.de>
6708
6709 * progmodes/cc-fonts.el
6710 (c-make-font-lock-BO-decl-search-function): New function.
6711 (c-basic-matchers-after - "Fontify the clauses after various
6712 keywords"): Extract the three keyword lists for the 3 erroneous
6713 constructs from the list of four, and use the new function above
6714 in place of an old one.
6715
6716 2011-08-28 Deniz Dogan <deniz@dogan.se>
6717
6718 * net/rcirc.el (rcirc-insert-prev-input)
6719 (rcirc-insert-next-input): Remove unused argument.
6720
6721 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6724
6725 2011-08-27 Alan Mackenzie <acm@muc.de>
6726
6727 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6728 handle function pointer parameters properly.
6729
6730 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6731
6732 * window.el (display-buffer-reuse-window): Fix case where
6733 selected window was reused with non-nil OTHER-WINDOW argument.
6734 (Bug#9381)
6735
6736 2011-08-27 Deniz Dogan <deniz@dogan.se>
6737
6738 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6739 oftc's NickServ messages.
6740
6741 2011-08-27 Glenn Morris <rgm@gnu.org>
6742
6743 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6744
6745 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6746
6747 * emacs-lisp/package.el (package-install): Call package-initialize
6748 if called interactively.
6749
6750 2011-08-26 Leo Liu <sdl.web@gmail.com>
6751
6752 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6753
6754 2011-08-25 Juri Linkov <juri@jurta.org>
6755
6756 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6757 `search-whitespace-regexp' (bug#9364).
6758
6759 2011-08-25 Juri Linkov <juri@jurta.org>
6760
6761 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6762 `regexp-search-ring' to their global values to protect from
6763 updating by `read-from-minibuffer' (bug#9185).
6764
6765 2011-08-25 Juri Linkov <juri@jurta.org>
6766
6767 * textmodes/ispell.el (ispell-command-loop): Add newline
6768 at the end of the "Use option `i'..." line.
6769
6770 2011-08-25 Juri Linkov <juri@jurta.org>
6771
6772 * battery.el (display-battery-mode): If `battery-status-function'
6773 or `battery-mode-line-format' is nil, display the message and set
6774 `display-battery-mode' to nil (bug#9363).
6775
6776 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6777
6778 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6779 bidi-string-mark-left-to-right; they are unnecessary now.
6780
6781 2011-08-25 Deniz Dogan <deniz@dogan.se>
6782
6783 * net/quickurl.el: Documentation typo fixes.
6784
6785 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6786
6787 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6788
6789 2011-08-25 Glenn Morris <rgm@gnu.org>
6790
6791 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6792
6793 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6794 (smtpmail-via-smtp): Handle nil response from smtp.
6795
6796 2011-08-24 Juri Linkov <juri@jurta.org>
6797
6798 * proced.el (proced-marked): Inherit from `error' instead of
6799 `font-lock-warning-face'.
6800
6801 * ibuffer.el (ibuffer-marked-face): Change default face from
6802 `font-lock-warning-face' to `warning'.
6803 (ibuffer-deletion-face): Change default face from
6804 `font-lock-type-face' to `error'.
6805
6806 * battery.el (battery-update): Use the face `error' instead of
6807 `font-lock-warning-face' (bug#6117).
6808
6809 2011-08-24 Juri Linkov <juri@jurta.org>
6810
6811 * faces.el (success): Change face color from "Green3" to
6812 "ForestGreen" on light background (bug#9353).
6813
6814 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6815
6816 * window.el (quit-window): Rename from quit-restore-window.
6817 Use same arglist as old quit-window.
6818 (frame-auto-delete): Doc fix.
6819
6820 * view.el (view-mode-exit): Use quit-window.
6821
6822 2011-08-24 Juri Linkov <juri@jurta.org>
6823
6824 * isearch.el (isearch-ring-adjust1): Start visiting previous
6825 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6826 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6827 for empty search string (when the last search string is reused
6828 automatically) to adjust the isearch ring to the last element and
6829 prepare the correct index for further M-p commands (bug#9185).
6830
6831 2011-08-24 Kenichi Handa <handa@m17n.org>
6832
6833 * international/ucs-normalize.el: If decomposition property of
6834 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6835 nil.
6836 (nfd, nfkd): Likewise.
6837
6838 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6841 from process filters aren't reliably transmitted to the surrounding
6842 accept-process-output.
6843 (mpc-proc-check): New function.
6844 (mpc-proc-sync): Use it (bug#8293)
6845
6846 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6849 Add compatibility functions (bug#9313).
6850
6851 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6852
6853 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6854
6855 * international/uni-bidi.el: Regenerate.
6856
6857 2011-08-23 Kenichi Handa <handa@m17n.org>
6858
6859 * international/charprop.el:
6860 * international/uni-bidi.el:
6861 * international/uni-category.el:
6862 * international/uni-combining.el:
6863 * international/uni-comment.el:
6864 * international/uni-decimal.el:
6865 * international/uni-decomposition.el:
6866 * international/uni-digit.el:
6867 * international/uni-lowercase.el:
6868 * international/uni-mirrored.el:
6869 * international/uni-name.el:
6870 * international/uni-numeric.el:
6871 * international/uni-old-name.el:
6872 * international/uni-titlecase.el:
6873 * international/uni-uppercase.el: Regenerate.
6874
6875 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6876
6877 * help.el (help-window-setup): Fix message displayed when other
6878 window is reused. (Bug#9341)
6879
6880 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6883 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6884
6885 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6886 Mark obsolete.
6887 * shell.el (shell-parse-pcomplete-arguments): New function.
6888 (shell-completion-vars): Use it instead (bug#9160).
6889
6890 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6893 strings and comments (bug#9333).
6894
6895 * emacs-lisp/debug.el (debug-arglist): New function.
6896 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6897 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6898
6899 2011-08-22 Juri Linkov <juri@jurta.org>
6900
6901 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6902 Revert regexp that highlights output switches to its old
6903 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6904
6905 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6906 to check for empty output (bug#9226).
6907
6908 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6909
6910 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6911 symbol-constituent as the default, as that stops font-lock from
6912 working properly (Bug#8843).
6913
6914 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6915
6916 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6917 `coding-system-for-*' around the process open call to avoid
6918 auth-source side effects.
6919 (smtpmail-try-auth-methods): Expand the secret password.
6920 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6921 probe hangs.
6922
6923 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6924
6925 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6926
6927 * emacs-lisp/find-func.el (find-function-noselect): New arg
6928 lisp-only.
6929
6930 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6931 signal an error for built-in functions (Bug#6664).
6932
6933 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6934
6935 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6936 (smtpmail-try-auth-methods): Use it.
6937
6938 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6939
6940 * font-lock.el (font-lock-fontify-region)
6941 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6942 (font-lock-default-unfontify-buffer)
6943 (font-lock-default-fontify-region)
6944 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6945
6946 * progmodes/compile.el (compilation-error-properties):
6947 Fix confusion between file struct and message struct (Bug#9319).
6948 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6949 `ant' regexp.
6950
6951 * net/browse-url.el (browse-url-firefox): Don't call
6952 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6953
6954 2011-08-20 Glenn Morris <rgm@gnu.org>
6955
6956 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6957
6958 * tutorial.el (tutorial--default-keys): Update some default bindings.
6959
6960 * files.el (hack-local-variables): Fully ignore case for "mode:".
6961
6962 2011-08-20 Alan Mackenzie <acm@muc.de>
6963
6964 Resolve invalid use of a regexp in regexp-opt.
6965
6966 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6967 detection for a java annotation.
6968
6969 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6970 detection for a java annotation.
6971
6972 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6973 handling for java.
6974 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6975
6976 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6977
6978 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6979 (Bug#9274).
6980
6981 2011-08-20 Alan Mackenzie <acm@muc.de>
6982
6983 Fontify CPP expressions correctly when starting in the middle of
6984 such a construct. Mainly for when jit-lock etc. starts a chunk
6985 here.
6986
6987 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6988 variable.
6989 (c-make-font-lock-search-form): New function, extracted from
6990 c-make-font-lock-search-function.
6991 (c-make-font-lock-search-function): Use the above function.
6992 (c-make-font-lock-context-search-function): New function.
6993 (c-cpp-matchers): Enhance the preprocessor expression case with
6994 the above function
6995 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6996 which takes an expression.
6997
6998 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6999
7000 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7001
7002 * window.el (display-buffer-reuse-window)
7003 (display-buffer-pop-up-window): Don't reuse or split a side
7004 window.
7005
7006 2011-08-19 Glenn Morris <rgm@gnu.org>
7007
7008 * files.el (hack-local-variables-prop-line, hack-local-variables):
7009 Downcase "Mode:". (Bug#9331)
7010
7011 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7012
7013 * international/characters.el: Add L and R categories.
7014
7015 * subr.el (bidi-string-mark-left-to-right): Rename from
7016 string-mark-left-to-right. Use category search.
7017
7018 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7019
7020 2011-08-18 Juri Linkov <juri@jurta.org>
7021
7022 * faces.el (error, warning, success): New faces with definitions
7023 copied from old default values of `font-lock-warning-face',
7024 `compilation-warning', `compilation-info' (bug#6117).
7025
7026 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7027
7028 * progmodes/compile.el (compilation-error): Inherit from `error'.
7029 (compilation-warning): Inherit from `warning'.
7030 (compilation-info): Inherit from `success'.
7031
7032 * dired.el (dired-marked): Inherit from `warning'.
7033 (dired-flagged): Inherit from `error'.
7034
7035 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7036
7037 * mail/smtpmail.el (auth-source): Require to avoid problems with
7038 binding variables (bug#9298). Also clean up some unused
7039 autoloads.
7040
7041 * net/network-stream.el (network-stream-open-starttls):
7042 Support using starttls.el without using gnutls-cli.
7043
7044 2011-08-17 Juri Linkov <juri@jurta.org>
7045
7046 * progmodes/grep.el (rgrep): Handle the case when
7047 `grep-find-command' is a cons cell (bug#9278).
7048
7049 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7050
7051 * window.el (display-buffer-pop-up-frame): Run frame creation
7052 function with BUFFER current (as special-display-popup-frame
7053 does). Reported by Drew Adams.
7054
7055 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7056
7057 * epa-mail.el: Simplify GnuPG group expansion using
7058 epg-expand-group.
7059 (epa-mail-group-alist, epa-mail-group-modtime)
7060 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7061 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7062 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7063 Remove.
7064
7065 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7066
7067 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7068
7069 2011-08-16 Alan Mackenzie <acm@muc.de>
7070
7071 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7072 Correct, to avoid the inside of macros.
7073
7074 2011-08-16 Richard Stallman <rms@gnu.org>
7075
7076 * epa-mail.el: Handle GnuPG group definitions.
7077 (epa-mail-group-alist, epa-mail-group-modtime)
7078 (epa-mail-gnupg-conf-file): New variables.
7079 (epa-mail-parse-groups, epa-mail-sync-groups)
7080 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7081 (epa-mail-expand-recipients): New functions.
7082 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7083
7084 * mail/rmail.el (rmail-epa-decrypt): New command.
7085
7086 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7087 Don't bind buffer-read-only, just inhibit-read-only.
7088 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7089 (epa-decrypt-armor-in-region): Make error message clearer.
7090
7091 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7094 and "a2b" to "ab" for `prefix'.
7095
7096 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7097
7098 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7099 filter groups.
7100 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7101 Fourquet (Bug#8804).
7102
7103 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7104
7105 * startup.el (argi): Declare as global variable (bug#9275).
7106
7107 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7108
7109 * subr.el (string-mark-left-to-right): Search the entire string
7110 for RTL script, not just the terminating character. Doc fix.
7111
7112 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7115 New function.
7116 (js--regexp-literal, js-syntax-propertize-function): Remove.
7117 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7118 (js-mode-map): Don't rebind electric keys.
7119 (js-insert-and-indent): Remove.
7120 (js-mode): Setup electric-layout and electric-indent instead.
7121
7122 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7123
7124 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7125
7126 * epa.el (epa-progress-callback-function): Fix the logic of
7127 displaying progress.
7128 * epa-file.el (epa-file-insert-file-contents): Make progress
7129 display more user-friendly.
7130 (epa-file-write-region): Ditto.
7131
7132 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7133
7134 * subr.el (string-mark-left-to-right): New function.
7135
7136 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7137 Use string-mark-left-to-right.
7138 (list-buffers-noselect): Caller changed.
7139
7140 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7141 Use string-mark-left-to-right.
7142 (tabulated-list-print): Recenter after moving point.
7143
7144 2011-08-10 Juri Linkov <juri@jurta.org>
7145
7146 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7147 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7148 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7149
7150 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7151
7152 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7153 (Bug#7554).
7154
7155 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7156
7157 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7158 character. (Bug#6594)
7159
7160 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7161
7162 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7163 (image-dired--with-db-file): New macro.
7164 (image-dired-write-tags, image-dired-remove-tag)
7165 (image-dired-create-gallery-lists, image-dired-write-comments)
7166 (image-dired-get-comment, image-dired-mark-tagged-files)
7167 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7168 (image-dired-gallery-generate): Use insert-file-contents.
7169
7170 * time.el (display-time-world-list, display-time-world-display):
7171 * time-stamp.el (time-stamp-string):
7172 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7173 set-time-zone-rule (Bug#7337).
7174
7175 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7176
7177 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7178 (epg-error-to-string, epg-errors-to-string): New function.
7179 (epg-wait-for-completion): Reverse errors list.
7180 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7181 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7182 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7183 (epg-sign-keys, epg-generate-key-from-file)
7184 (epg-generate-key-from-string): Format errors by using
7185 epg-errors-to-string (bug#9255).
7186 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7187
7188 2011-08-07 Juri Linkov <juri@jurta.org>
7189
7190 * faces.el (list-faces-display): Remove extra angle bracket
7191 from `help-mode-map'.
7192
7193 * info.el (Info-history-toc-nodes): Doc fix.
7194
7195 * longlines.el (longlines-mode): Doc fix.
7196
7197 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7198
7199 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7200 of statements and in a few more cases (bug#9183).
7201
7202 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7203 New functions.
7204 (cl-transform-lambda): Use them (bug#9239).
7205
7206 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7207
7208 * window.el (display-buffer-same-window)
7209 (display-buffer-same-frame, display-buffer-other-window)
7210 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7211 (pop-to-buffer-other-window)
7212 (pop-to-buffer-same-frame-other-window)
7213 (pop-to-buffer-other-frame): Make them defuns.
7214 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7215
7216 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7217
7218 * subr.el (make-composed-keymap): Move from C. Change calling
7219 convention, and improve docstring to bring attention to a subtle point.
7220 * minibuffer.el (completing-read-default): Adjust accordingly.
7221
7222 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7223
7224 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7225 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7226
7227 * net/trampver.el: Update release number.
7228
7229 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7232 "in" (bug#9190).
7233
7234 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7235
7236 * mail/sendmail.el (sendmail-query-once): Restore the current
7237 buffer after querying (bug#9074).
7238
7239 * dired.el (dired-flagged): Use different faces for marked and
7240 flagged files (bug#6117).
7241
7242 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7243 (bug#4433).
7244
7245 * ido.el (ido-mode): Switch off the message if called
7246 non-interactively.
7247
7248 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7249 before 587, since it appears that that's more likely to work for
7250 more people.
7251
7252 * cus-edit.el (custom-file): When running under emacs -q, always
7253 refuse to save the customizations, even if the .emacs file doesn't
7254 exist.
7255
7256 * info.el: Remove the `Info-beginning-of-buffer' function
7257 (bug#8325).
7258
7259 * net/network-stream.el (network-stream-open-starttls):
7260 Use `starttls-available-p' to see whether starttls.el can be used.
7261
7262 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7263
7264 * window.el (display-buffer-in-window): Don't set dedicated status
7265 of window here (Bug#9215).
7266 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7267 (display-buffer-pop-up-side-window)
7268 (display-buffer-in-side-window): Set dedicated status of window here.
7269
7270 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7273 before binding generated-autoload-file.
7274
7275 2011-08-01 Deniz Dogan <deniz@dogan.se>
7276
7277 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7278
7279 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7280
7281 Sync with Tramp 2.2.2.
7282
7283 * net/trampver.el: Update release number.
7284
7285 2011-07-30 Juri Linkov <juri@jurta.org>
7286
7287 * dired-aux.el (dired-touch-initial): Remove function.
7288 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7289 current time, and `default' to the last modification time of the
7290 current marked file (bug#6887).
7291
7292 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7293
7294 * simple.el (goto-line): Use string-to-number to provide a
7295 numeric argument to read-number (bug#9163).
7296
7297 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7298
7299 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7300 connection process, it could be nil.
7301
7302 2011-07-27 Leo Liu <sdl.web@gmail.com>
7303
7304 Simplify url handling in rcirc-mode.
7305
7306 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7307 (rcirc-browse-url-at-mouse): Remove.
7308 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7309
7310 2011-07-26 Alan Mackenzie <acm@muc.de>
7311
7312 Fontify bitfield declarations properly.
7313
7314 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7315 (c-symbol-chars): Now exported as a lang variable.
7316 (c-not-primitive-type-keywords): New lang variable.
7317
7318 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7319 QT keyword "more" to prevent "more slots: ...." being spuriously
7320 parsed as a bitfield declaration.
7321
7322 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7323 Refactor and enhance to handle bitfield declarations.
7324 (c-punctuation-in): New function.
7325 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7326 declarations properly.
7327
7328 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7329
7330 * calendar/icalendar.el (icalendar--all-events): Take care of
7331 multiple vcalendars in a single file.
7332 (icalendar--convert-float-to-ical): Checkdoc fixes.
7333
7334 2011-07-25 Deniz Dogan <deniz@dogan.se>
7335
7336 * image.el (insert-image): Clarifying docstring.
7337
7338 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7339
7340 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7341 `tramp-send-command-and-check' if there is no error.
7342 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7343
7344 2011-07-22 Alan Mackenzie <acm@muc.de>
7345
7346 Prevent cc-langs.elc being loaded at run time.
7347
7348 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7349 cc-langs.
7350
7351 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7352 "(require 'cc-langs)". Quote a form so it will evaluate at
7353 (cc-mode's) compilation time.
7354
7355 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7356
7357 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7358 loading. (Bug#9114)
7359
7360 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7361
7362 * window.el (display-buffer-pop-up-window)
7363 (display-buffer-pop-up-side-window)
7364 (display-buffer-in-side-window): Call display-buffer-set-height
7365 and display-buffer-set-width after setting the new window's
7366 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7367
7368 2011-07-20 Sam Steingold <sds@gnu.org>
7369
7370 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7371 (etags-tags-included-tables): Call `convert-standard-filename' on
7372 the file names contained in TAGS so that windows Emacs can handle
7373 TAGS files created by cygwin ctags.
7374
7375 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7376
7377 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7378 which apparently didn't work.
7379
7380 2011-07-19 Roland Winkler <winkler@gnu.org>
7381
7382 * proced.el (proced-send-signal): For *Marked Processes* buffer
7383 put point at beginning of buffer.
7384
7385 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7386
7387 * proced.el (proced-format): Make header lines align with the text
7388 (bug#1779).
7389
7390 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7391
7392 * view.el (view-buffer): Allow running in `special' modes if we're
7393 visiting a file (bug#8615).
7394
7395 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7396
7397 * window.el (display-buffer-alist-of-strings-p)
7398 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7399 New functions.
7400 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7401 more accurately.
7402
7403 2011-07-18 Alan Mackenzie <acm@muc.de>
7404
7405 Fontify declarators properly when, e.g., a jit-lock chunk begins
7406 inside a declaration.
7407
7408 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7409
7410 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7411 New function.
7412 (c-complex-decl-matchers): Insert reference to
7413 c-font-lock-enclosing-decls.
7414
7415 * progmodes/cc-engine.el (c-backward-single-comment):
7416 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7417 to nil around calls to (forward-comment -1).
7418
7419 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7420
7421 * image.el (put-image): Doc typo fix.
7422
7423 * progmodes/etags.el (tags-search): Doc typo fix.
7424
7425 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7426 password if we get errors 550 to 554.
7427
7428 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7429
7430 * net/gnutls.el (gnutls-log-level): Remove.
7431
7432 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7433 indentation character (bug#6380).
7434
7435 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7436
7437 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7438 to clarify what the problem is (bug#4291).
7439
7440 * simple.el (current-kill): Clarify what
7441 `interprogram-paste-function' does (bug#7500).
7442 (auto-fill-mode): Document `auto-fill-function' in relation to
7443 `auto-fill-mode' (bug#2470).
7444
7445 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7446
7447 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7448 method if slot is read-only (bug#9035).
7449
7450 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7451
7452 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7453 * window.el (pop-to-buffer): Select window used even if it was
7454 selected before, see discussion of (Bug#8615), (Bug#6954).
7455 Pass argument NORECORD on to select-frame-set-input-focus.
7456
7457 2011-07-15 Glenn Morris <rgm@gnu.org>
7458
7459 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7460 Respect help-form.
7461
7462 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7463
7464 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7465 (gnutls-negotiate): Use it.
7466
7467 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7468
7469 * net/gnutls.el (gnutls-negotiate):
7470 Upcase `gnutls-algorithm-priority'.
7471
7472 2011-07-15 Glenn Morris <rgm@gnu.org>
7473
7474 * jka-compr.el (jka-compr-verbose): Move from here...
7475 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7476 Add missing :version tag.
7477 * info.el: No need to require jka-compr when compiling.
7478
7479 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7480
7481 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7482 (gnutls-negotiate): Use it.
7483
7484 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7485
7486 * info.el (Info-beginning-of-buffer): New command.
7487 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7488 announcing `b' as the key (bug#8325).
7489 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7490
7491 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7492
7493 * international/mule-cmds.el
7494 (describe-specified-language-support): Make the error message
7495 clearer (bug#8905).
7496
7497 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7498
7499 * isearch.el (isearch-barrier): Add a doc string, since it's
7500 mentioned in a function doc string (bug#8678).
7501
7502 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7503
7504 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7505 buffer argument (Bug#9083) and self-identifying label argument.
7506
7507 2011-07-15 Glenn Morris <rgm@gnu.org>
7508
7509 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7510
7511 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7512
7513 * man.el (Man-fontify-manpage): Fix message when formatting the
7514 man page (bug#7929).
7515
7516 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7517
7518 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7519 argument LRM; if non-nil, append an invisible LRM character to the
7520 buffer name.
7521 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7522 last argument non-nil, when formatting buffer names.
7523 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7524 paragraph direction.
7525
7526 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7527
7528 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7529 the man page name (bug#7929).
7530
7531 * image.el (put-image): Mention the `put-image' overlay property
7532 (bug#7834).
7533
7534 * scroll-bar.el (set-scroll-bar-mode): Mention that
7535 `scroll-bar-mode' lists the values (bug#7772).
7536
7537 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7538 command (bug#7729).
7539
7540 * rect.el (apply-on-rectangle): Return the point after the last
7541 operation.
7542 (string-rectangle): Go to the point after the last operation
7543 (bug#7522).
7544
7545 * printing.el (pr-toggle-region): Clarify the documentation
7546 slightly (bug#7493).
7547
7548 * time.el (display-time-update):
7549 Allow `display-time-mail-function' to return nil (bug#7158).
7550 Fix suggested by Detlev Zundel.
7551
7552 * vc/diff.el (diff): Clarify the order the file names are read
7553 (bug#7111).
7554
7555 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7556 the doc string (bug#7015).
7557
7558 * font-lock.el (font-lock-maximum-decoration): Mention what
7559 numeric levels mean (bug#6935).
7560
7561 * startup.el (initial-buffer-choice): Don't mention the `none'
7562 selection, which is against policy.
7563
7564 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7565
7566 * window.el (display-buffer-normalize-special):
7567 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7568
7569 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7570
7571 * subr.el (version<, version<=, version=): Mention "-CVS" and
7572 "-12345" alpha version numbers.
7573
7574 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7575
7576 * bindings.el: Add advertised binding for set-mark-command
7577 (Bug#5772).
7578
7579 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7580
7581 * bindings.el (mode-line-other-buffer):
7582 * bookmark.el (bookmark-bmenu-2-window):
7583 * bs.el (bs-cycle-next, bs-cycle-previous):
7584 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7585 switch-to-buffer.
7586
7587 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7588 Delete.
7589
7590 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7591
7592 * follow.el (follow-debug-message, follow-redisplay):
7593 * jka-cmpr-hook.el (with-auto-compression-mode):
7594 Fix typos in docstrings.
7595
7596 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7597
7598 * subr.el (with-silent-modifications): Clarify somewhat what the
7599 macro inhibits (bug#6525).
7600
7601 * simple.el (eval-expression): Note what it does if called
7602 interactively (bug#6495).
7603
7604 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7605
7606 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7607 Use pop-to-buffer buffer-or-name if it is nil.
7608
7609 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7610 Remove switch-to-buffer.
7611
7612 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7613
7614 * files.el (make-directory): Clarify that an error will be raised
7615 if there's an error (bug#6397).
7616
7617 * startup.el (initial-buffer-choice): Add `none' as a choice
7618 (bug#6234).
7619
7620 * subr.el (add-hook): Clarify section about buffer-local hooks
7621 (bug#6218).
7622
7623 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7624
7625 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7626
7627 * tabify.el (untabify): Preserve the current column so that point
7628 doesn't move (bug#6032).
7629
7630 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7631
7632 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7633 Rewrite to avoid awkward possessive "s" (bug#5986).
7634
7635 2011-07-13 Glenn Morris <rgm@gnu.org>
7636
7637 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7638 (dired-insert-directory): Give a message the first time
7639 if ls is found not to support --dired.
7640
7641 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7642
7643 * simple.el (toggle-truncate-lines): Clarify what is toggled
7644 (bug#5580). Text by Drew Adams.
7645
7646 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7647
7648 * simple.el (blink-matching-open): Make the error message from the
7649 last change less verbose.
7650
7651 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7652
7653 * font-lock.el (font-lock-comment-face): Use the high contrast
7654 "yellow" color for font-lock-comment-face on low color terminals
7655 using a dark background color (bug#4221).
7656
7657 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7658
7659 * dired.el (dired-insert-set-properties): Make the doc string
7660 reflect what it does now (bug#5325).
7661
7662 * simple.el (blink-matching-open): Say that we were unable to find
7663 the match within the limit, if we're limited (bug#5122).
7664
7665 * international/mule-cmds.el (prefer-coding-system): Add an
7666 example (bug#4869).
7667
7668 * progmodes/etags.el (tags-search): Document `file-list-form'
7669 (bug#4731).
7670
7671 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7672
7673 * net/browse-url.el (browse-url-default-browser)
7674 (browse-url-browser-function): Make the default browser choice a
7675 bit more logical (bug#4300). Also clean up the doc string.
7676
7677 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7678
7679 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7680 binary endings (bug#4440).
7681
7682 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7683
7684 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7685 which can be pretty annoying (bug#8971).
7686
7687 * jka-compr.el (jka-compr-verbose): New variable, and use
7688 throughout (bug#8971).
7689
7690 * info.el (Info-find-file): Fall back on the installation
7691 directory if we can't find the info node anywhere else.
7692
7693 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7694
7695 * vc/vc.el (vc-revert-file):
7696 Don't set file time-stamp in the past. (Bug#5181)
7697
7698 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7699
7700 * files.el (after-find-file): Give a better error message when
7701 trying to find a symlink that points to a file that doesn't exist
7702 (bug#4398).
7703
7704 * progmodes/cc-vars.el: Remove (probably) misleading comment
7705 (bug#4396).
7706
7707 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7708
7709 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7710
7711 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7712
7713 * mouse-sel.el: Hack restoring functionality, while keeping
7714 compatibility with 2010-07-03 changes to mouse selection.
7715 (mouse-sel-primary-overlay): New var.
7716 (mouse-sel-selection-alist): Use it.
7717 (mouse-sel-mode): Doc fix; remove points that are default features
7718 of mouse.el.
7719
7720 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7721
7722 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7723 Fix previous fix (bug#2490).
7724
7725 2011-07-12 Roland Winkler <winkler@gnu.org>
7726
7727 * textmodes/bibtex.el (bibtex-initialize):
7728 Use pop-to-buffer-same-window.
7729 (bibtex-search-entries): Fix interactive call.
7730
7731 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7732
7733 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7734 Fontise bytecomp Error lines more correctly (bug#2490).
7735 Fix suggested by Johan Bockgård.
7736
7737 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7738
7739 * dired-x.el (dired-guess-default): Use `delete-dups'.
7740
7741 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7742
7743 * dired.el (dired-mark-prompt):
7744 * dired-aux.el (dired-read-shell-command): Doc fix.
7745
7746 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7747
7748 * mail/sendmail.el (sendmail-query-once):
7749 Use `customize-save-variable' unconditionally, now that it works under
7750 emacs -Q.
7751
7752 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7753
7754 * cus-edit.el (custom-file): Take an optional no-error variable.
7755 (customize-save-variable): Set the variable, and give a warning if
7756 running under "emacs -q".
7757
7758 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7759
7760 * loadhist.el (unload-feature-special-hooks):
7761 Add `auto-coding-functions', `fill-nobreak-predicate' and
7762 `find-directory-functions' (bug#5327).
7763
7764 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7765
7766 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7767
7768 * cus-edit.el (custom-guess-name-alist): -alist variables should
7769 use the `alist' type (bug#3120). Suggested by Drew Adams.
7770
7771 * printing.el: Add documentation to all the `pr-toggle-' commands.
7772
7773 2011-07-11 Leo Liu <sdl.web@gmail.com>
7774
7775 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7776 backends where it makes sense (bug#2623).
7777
7778 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7779
7780 * dired-x.el (dired-guess-default): Remove duplicate shell command
7781 entries (bug#2028).
7782 (dired-guess-default): Fix grammar in doc string (bug#2028).
7783 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7784
7785 * subr.el (remove-duplicates): New conveniency function.
7786
7787 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7788
7789 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7790 (bug#1526).
7791
7792 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7793
7794 * window.el (display-buffer-normalize-default): Don't invert
7795 meaning of even-window-heights. Reported by Eli Zaretskii
7796 <eliz@gnu.org>.
7797
7798 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7799
7800 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7801
7802 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7803
7804 * window.el (display-buffer): Fix arguments to
7805 display-buffer-reuse-window in last change.
7806
7807 * faces.el (link): Use a less saturated blue on light backgrounds.
7808
7809 * startup.el (fancy-startup-text, fancy-about-text)
7810 (fancy-startup-tail): Use font-lock faces, for background safety.
7811
7812 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7813
7814 * emulation/viper-cmd.el (viper-change-state-to-vi):
7815 Limit triggering of abbrev expansion (Bug#9038).
7816
7817 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7818
7819 * window.el (display-buffer-default-specifiers): Remove.
7820 (display-buffer-macro-specifiers): Remove default specifiers.
7821 (display-buffer-alist): Default to nil.
7822 (display-buffer-reuse-window): New optional argument other-window.
7823 (display-buffer-pop-up-window): Allow splitting internal
7824 windows. Check whether a live window was created.
7825 (display-buffer-other-window-means-other-frame)
7826 (display-buffer-normalize-arguments): Rename to
7827 display-buffer-normalize-argument and rewrite. Set the
7828 other-window specifier.
7829 (display-buffer-normalize-special): New function.
7830 (display-buffer-normalize-options): Rename to
7831 display-buffer-normalize-default and rewrite.
7832 (display-buffer-normalize-options-inhibit): Remove.
7833 (display-buffer-normalize-specifiers): Rewrite.
7834 (display-buffer): Process other-window specifier and call
7835 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7836 more faithfully.
7837 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7838 (display-buffer-alist-set): Don't handle 'unset default values.
7839 (display-buffer-in-window, display-buffer-alist-set):
7840 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7841 <tassilo@member.fsf.org>.
7842
7843 2011-07-09 Leo Liu <sdl.web@gmail.com>
7844
7845 * register.el (insert-register): Restore accidental change on
7846 2011-06-26. (Bug#9028)
7847
7848 2011-07-09 Glenn Morris <rgm@gnu.org>
7849
7850 * subr.el (remq): Handle the empty list. (Bug#9024)
7851
7852 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7853
7854 * mail/sendmail.el (send-mail-function): No longer delay custom
7855 initialization.
7856 * custom.el (custom-initialize-delay): Doc fix.
7857
7858 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7859
7860 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7861
7862 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7863
7864 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7865 human-friendly prompt.
7866
7867 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7870 provided by a particular plugin.
7871
7872 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7873
7874 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7875 save customizations (with "emacs -Q"), just set the variable
7876 instead of erroring out.
7877
7878 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7879
7880 2011-07-08 Juri Linkov <juri@jurta.org>
7881
7882 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7883 (archive-zip-update-case): Use 7z if found by `executable-find'.
7884 The order of searching the available programs is the same as in
7885 `archive-zip-extract' (bug#8968).
7886
7887 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7888
7889 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7890 (menu-bar-options-menu): Tweak descriptions.
7891
7892 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7893
7894 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7895 menu items into verb phrases (bug#1421). Also refill to fit under
7896 80 columns.
7897
7898 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7899
7900 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7901 (Info-read-node-name): Doc fix (Bug#1084).
7902
7903 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7904 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7905 (end-of-sexp, beginning-of-sexp)
7906 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7907 (forward-symbol, forward-same-syntax, word-at-point)
7908 (sentence-at-point): Doc fix (Bug#1144).
7909
7910 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7911
7912 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7913 should cover it (bug#1281).
7914
7915 * cus-edit.el (custom-show): Mark as obsolete.
7916
7917 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7918 negotiation fails, then possibly try again with a non-encrypted
7919 connection (bug#9017).
7920
7921 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7922 be used.
7923
7924 2011-07-07 Richard Stallman <rms@gnu.org>
7925
7926 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7927 property, and handle its changed format.
7928 Look for the correct line number.
7929 Use file's line contents (but not past first =) to find
7930 correct line in message.
7931
7932 2011-07-07 Kenichi Handa <handa@m17n.org>
7933
7934 * international/characters.el (build-unicode-category-table):
7935 Delete it.
7936 (unicode-category-table): Set it by unicode-property-table-internal.
7937
7938 * international/mule-cmds.el (char-code-property-alist): Move to
7939 to src/chartab.c.
7940 (get-char-code-property): Call unicode-property-table-internal to
7941 load a file. Call get-unicode-property-internal where necessary.
7942 (put-char-code-property): Call unicode-property-table-internal to
7943 load a file. Call put-unicode-property-internal where necessary.
7944 put-unicode-property-internal where necessary.
7945 (char-code-property-description):
7946 Call unicode-property-table-internal to load a file.
7947
7948 * international/charprop.el:
7949 * international/uni-bidi.el:
7950 * international/uni-category.el:
7951 * international/uni-combining.el:
7952 * international/uni-comment.el:
7953 * international/uni-decimal.el:
7954 * international/uni-decomposition.el:
7955 * international/uni-digit.el:
7956 * international/uni-lowercase.el:
7957 * international/uni-mirrored.el:
7958 * international/uni-name.el:
7959 * international/uni-numeric.el:
7960 * international/uni-old-name.el:
7961 * international/uni-titlecase.el:
7962 * international/uni-uppercase.el: Regenerate.
7963
7964 * loadup.el: Load international/charprop.el before
7965 international/characters.
7966
7967 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7968
7969 * window.el (next-buffer, previous-buffer): Signal an error if
7970 called from a minibuffer window.
7971
7972 * bindings.el: Revert 2011-07-04 change.
7973
7974 2011-07-06 Richard Stallman <rms@gnu.org>
7975
7976 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7977 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7978 Treat markers like ints.
7979 (rmail-mime-entity): Doc fix.
7980
7981 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7982
7983 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7984 defcustom again for backwards compatibility.
7985
7986 * simple.el (shell-command-on-region): Fill.
7987
7988 * dired-aux.el (dired-kill-line): Add a doc string.
7989
7990 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7991 to "\\sw\\|\\s_" (bug#358).
7992
7993 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7994 (dired-unmark-backward): Ditto.
7995 (dired-flag-backup-files): Ditto.
7996
7997 * dired-x.el (dired-mark-sexp): Ditto.
7998
7999 2011-07-06 Richard Stallman <rms@gnu.org>
8000
8001 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8002 (rmail-mime-entity): New arg TRUNCATED.
8003 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8004 New functions.
8005 (rmail-mime-save): Warn if entity is truncated.
8006 (rmail-mime-toggle-hidden): Likewise, for showing.
8007 (rmail-mime-process-multipart): Record when an entity is truncated.
8008
8009 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8010 if ENTITY is a string.
8011
8012 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8013
8014 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8015 of faces when `M-C-x'-ing their definitions (bug#8378).
8016 Also clean up the code slightly.
8017
8018 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8019 because that makes the colors go away.
8020
8021 * mail/sendmail.el (send-mail-function): Change the default to
8022 `sendmail-query-once'.
8023 (sendmail-query-once): Add an autoload cookie.
8024
8025 * net/network-stream.el (network-stream-open-starttls): Try using
8026 a plain connection even if the server offered STARTTLS, and we
8027 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8028 capability. This should make smtpmail.el work in slightly more
8029 configurations.
8030
8031 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8034 New defun.
8035 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8036
8037 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8038
8039 * progmodes/sql.el: Version 3.0
8040 (sql-product-alist): Add product :completion-object,
8041 :completion-column, and :statement attributes.
8042 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8043 (sql-mode-syntax-table): Mark all punctuation.
8044 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8045 ansi keywords.
8046 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8047 (sql-mode-oracle-font-lock-keywords): Improve.
8048 (sql-oracle-show-reserved-words): New function for development.
8049 (sql-product-font-lock): Simplify for source code buffers.
8050 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8051 New functions.
8052 (sql-highlight-product): Set product specific syntax table.
8053 (sql-mode-map): Add statement movement functions.
8054 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8055 New variable.
8056 (sql-statement-regexp, sql-beginning-of-statement)
8057 (sql-end-of-statement, sql-signum): New functions.
8058 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8059 (sql-show-sqli-buffer): Bug fix.
8060 (sql-interactive-mode): Store connection data as buffer local.
8061 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8062 with sql-interactive-mode.
8063 (sql-save-connection): Save buffer local settings.
8064 (sql-connection-menu-filter): Change menu entry name.
8065 (sql-product-interactive): Bug fix.
8066 (sql-preoutput-hold): New variable.
8067 (sql-interactive-remove-continuation-prompt): Bug fixes.
8068 (sql-debug-redirect): New variable.
8069 (sql-str-literal): New function.
8070 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8071 Redesign.
8072 (sql-oracle-save-settings, sql-oracle-restore-settings)
8073 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8074 (sql-completion-object, sql-completion-column)
8075 (sql-completion-sqlbuf): New variables.
8076 (sql-build-completions-1, sql-build-completions)
8077 (sql-try-completion): New functions.
8078 (sql-read-table-name): Use them.
8079 (sql-contains-names): New buffer local variable.
8080 (sql-list-all, sql-list-table): Use it.
8081 (sql-oracle-completion-types): New variable.
8082 (sql-oracle-completion-object, sql-sqlite-completion-object)
8083 (sql-postgres-completion-object): New functions.
8084
8085 2011-07-06 Glenn Morris <rgm@gnu.org>
8086
8087 * window.el (pop-to-buffer): Doc fix.
8088
8089 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8090
8091 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8092
8093 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8094
8095 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8096
8097 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8098
8099 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8100
8101 * button.el (button): Inherit from link face. Suggested by Dan
8102 Nicolaescu.
8103
8104 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8105
8106 * progmodes/gdb-mi.el: Fit in 80 columns.
8107 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8108 switch-to-buffer.
8109
8110 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8111 if imenu is simply not configured (bug#8941).
8112
8113 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8114
8115 * allout.el (allout-post-undo-hook): New allout outline-change
8116 event hook to signal undo activity.
8117 (allout-post-command-business): Run allout-post-undo-hook if an
8118 undo just occurred.
8119 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8120 * allout-widgets.el (allout-widgets-after-undo-function):
8121 Ensure the integrity of the current item's decoration after it has been
8122 in the vicinity of an undo.
8123 (allout-widgets-mode): Include allout-widgets-after-undo-function
8124 on the new allout-post-undo-hook.
8125
8126 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8129 Let define-derived-mode define it.
8130 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8131 cycles of abbrev-table inheritance (bug#8998).
8132
8133 2011-07-05 Roland Winkler <winkler@gnu.org>
8134
8135 * textmodes/bibtex.el: Add support for biblatex.
8136 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8137 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8138 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8139 (bibtex-entry-alist, bibtex-field-alist): New variables.
8140 (bibtex-entry-field-alist): Obsolete alias for
8141 bibtex-BibTeX-entry-alist.
8142 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8143 (bibtex-set-dialect): New command.
8144 (bibtex-entry-type, bibtex-entry-head)
8145 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8146 Bind via bibtex-set-dialect.
8147 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8148 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8149 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8150 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8151 Define via bibtex-set-dialect.
8152 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8153 Obey bibtex-no-opt-remove-re.
8154 (bibtex-vec-push, bibtex-vec-incr): New functions.
8155 (bibtex-format-entry, bibtex-field-list)
8156 (bibtex-print-help-message, bibtex-validate)
8157 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8158
8159 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8160
8161 * progmodes/compile.el (compilation-goto-locus):
8162 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8163 * bs.el (bs-cycle-next, bs-cycle-previous):
8164 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8165 * bindings.el (mode-line-other-buffer):
8166 * autoinsert.el (auto-insert):
8167 * arc-mode.el (archive-extract):
8168 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8169
8170 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8171
8172 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8173 Fix check of `emacs-lock-unlockable-modes'.
8174 Coerce true values of `emacs-lock--try-unlocking' to t.
8175
8176 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8177
8178 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8179 * emacs-lock.el: New file.
8180
8181 2011-07-05 Julien Danjou <julien@danjou.info>
8182
8183 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8184 than `boundp' to check if face is set.
8185
8186 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8187
8188 * register.el (registerv-make):
8189 * window.el (window-min-height): Fix typos in docstrings.
8190
8191 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8192
8193 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8194 Update doc string.
8195
8196 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * server.el (server-execute): Catch quit and call
8199 `server-return-error' to pass the error back to emacsclient and
8200 close the connection (bug#8942).
8201
8202 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8203
8204 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8205 insecure exception for current topic. Also note that auto-saves
8206 are handled differently.
8207
8208 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8209 State variables for tracking auto-save inhibition situation.
8210
8211 (allout-write-contents-hook-handler): Rename from
8212 'allout-write-file-hook-handler', and describe how it depends on
8213 write-contents-functions sensitivity to non-nil value to prevent
8214 file write.
8215
8216 (allout-auto-save-hook-handler): Remove. auto-save does not check
8217 this in individual buffers, only in the starting buffer, so this
8218 is not the right way for us to inhibit auto-save in a buffer
8219 according to its condition.
8220
8221 (allout-mode): Use new allout-write-contents-hook-handler, and
8222 only with write-contents-functions. Remove auto-save provisions -
8223 they're implemented elsewhere.
8224
8225 (allout-before-change-handler): If undo is in progress, note that
8226 for attention of allout-post-command-business.
8227
8228 (allout-post-command-business): If the command we're following was
8229 an undo, check for change in the status of encrypted items and
8230 adjust auto-save inhibitions accordingly.
8231
8232 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8233 according to whether there are or aren't any plain-text topics
8234 pending encryption.
8235
8236 (allout-inhibit-auto-save-info-for-decryption):
8237 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8238 if there are plain-text topics pending encryption.
8239
8240 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8241 buffer-saved-size and some allout state to not inhibit auto-saves
8242 if there are no longer any plain-text topics pending encryption.
8243
8244 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8245 No longer provide for exemption of the current topic.
8246
8247 2011-07-04 Juri Linkov <juri@jurta.org>
8248
8249 Add 7z operations to delete and save changed members (bug#8968).
8250 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8251 New defcustoms.
8252 (archive-7z-write-file-member): New function.
8253 (archive-7z-summarize): Fix the number of dashes in the
8254 listing output.
8255
8256 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8259 (bug#8958).
8260
8261 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8262
8263 * bindings.el: Ignore next-buffer and previous-buffer in
8264 minibuffer-local-map.
8265
8266 * font-lock.el (font-lock-builtin-face): Change light background
8267 color to dark slate blue (Bug#6693).
8268
8269 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8270
8271 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8272
8273 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8274
8275 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8276 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8277 Add switch-to-buffer.
8278
8279 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8280
8281 * isearch.el (isearch-search-fun-function): Clarify further the
8282 meaning of the function returned.
8283
8284 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8285
8286 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8287
8288 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8289 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8290 Use it.
8291 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8292 `tramp-default-remote-path' does not exist.
8293 (tramp-send-command-and-read): New optional argument NOERROR.
8294 (tramp-open-connection-setup-interactive-shell)
8295 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8296 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8297 (tramp-process-sentinel): Flush also process' connection property.
8298 (tramp-sh-handle-start-file-process): Do not set process
8299 sentinel. It is done now ...
8300 (tramp-maybe-open-connection): ... here. (Bug#8929)
8301
8302 2011-07-04 MON KEY <monkey@sandpframing.com>
8303
8304 * play/animate.el (animate-string): Doc fixes and allow changing
8305 the buffer name (bug#5417).
8306
8307 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8308
8309 * play/animate.el (animation-buffer-name): Rename from *animate*.
8310
8311 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8312
8313 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8314 This is simpler and helps future-proof the code.
8315 (timer-until): Use time-subtract and float-time.
8316 (timer--time-less-p): Use time-less-p.
8317
8318 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8319
8320 * type-break.el (timep): Use the value of `float-time' to avoid a
8321 byte-compiler warning.
8322
8323 * server.el (server-eval-and-print): Return any result, even nil.
8324
8325 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8326
8327 * type-break.el: Accept time formats that the builtins accept.
8328 (timep, type-break-time-difference): Accept any format that
8329 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8330 This is simpler and helps future-proof the code.
8331 (type-break-time-difference): Round rather than ignoring
8332 subseconds components.
8333
8334 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8335
8336 * info.el (Info-apropos-matches): Make non-interactive, since it
8337 doesn't seem to do anything useful as a command (bug#8829).
8338
8339 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8340
8341 * frame.el (frame-background-mode, frame-set-background-mode):
8342 Move from faces.el.
8343 (frame-default-terminal-background): New function.
8344
8345 * custom.el (custom-push-theme): Don't record faces in `changed'
8346 theme; this doesn't work correctly for per-frame face settings.
8347 (disable-theme): Use face-set-after-frame-default to reset faces.
8348 (custom--frame-color-default): New function.
8349
8350 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8351
8352 * dired.el (dired-flagging-regexp): Remove unused variable
8353 (bug#8769).
8354
8355 2011-03-29 Kevin Ryde <user42@zip.com.au>
8356
8357 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8358 `perl-Test2' extend to match possible "fail #N" rep count
8359 (bug#8377).
8360
8361 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8362
8363 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8364 `smtpmail-via-smtp' now returns the error instead of nil.
8365
8366 * isearch.el (isearch-search-fun-function): Clarify the doc string
8367 (bug#8101).
8368
8369 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8370
8371 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8372 unnecessary spaces (bug#8987).
8373
8374 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8375
8376 * net/network-stream.el (open-network-stream): Use the
8377 :end-of-capability command thoughout.
8378
8379 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8380
8381 * net/network-stream.el (open-network-stream): Add the
8382 :end-of-capability command parameter, used by pop3.el.
8383
8384 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8385
8386 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8387
8388 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8389 for list)" (bug#6475).
8390
8391 * files.el (file-expand-wildcards): Ignore non-readable
8392 sub-directories while trying to find matches instead of signaling
8393 an error (bug#6297).
8394
8395 * man.el (Man-reference-regexp): Allow matching possible
8396 word-wrapped references (bug#6289).
8397
8398 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8399 for consistency with the other vc buffers (bug#6197).
8400 (vc-checkin): Ditto.
8401
8402 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8403
8404 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8405
8406 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8407
8408 * custom.el (defcustom): Clarify that :set is only used in the
8409 Customize user interface (bug#6089).
8410
8411 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8412 associated with a file, refuse to run instead of erroring out
8413 (bug#6084).
8414
8415 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8416 the doc string, since it appears that using `fill-column' always
8417 controls the width (bug#7845).
8418
8419 * simple.el (shell-command-on-region): Say where the error output
8420 went if `shell-command-default-error-buffer' is set (bug#6857).
8421
8422 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8423
8424 * allout.el (allout-yank-processing): Adjust cursor position for
8425 backwards-deleted space.
8426
8427 (allout-rebullet-heading): Register changes with
8428 allout-exposure-changed-hook, so the modified topic is properly
8429 decorated.
8430
8431 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8432
8433 * minibuffer.el (completion-in-region): Document PREDICATE
8434 (bug#7136).
8435
8436 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8437 of keyword/argument pairs (bug#6904).
8438
8439 * replace.el (multi-occur):
8440 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8441
8442 2011-07-02 Drew Adams <drew.adams@oracle.com>
8443
8444 * dired.el (dired-mark-if): Make the message about whether it's
8445 marking or unmarking clearer (bug#8523).
8446
8447 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
8449 * disp-table.el (display-table-print-array): New function.
8450 (describe-display-table): Use it to print the vectors more pretty
8451 (Bug#8859).
8452
8453 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8454
8455 * window.el (window-state-get-1): Don't assign clone numbers.
8456 Add clone-of item to list of window parameters.
8457 (window-state-put-2): Don't process clone numbers.
8458 (display-buffer-alist): Fix doc-string.
8459
8460 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 * subr.el (remq): Don't allocate if it's not needed.
8463 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8464 (keymap--merge-bindings): New functions.
8465 (keymap-canonicalize): Use them to refine the canonicalization.
8466 * minibuffer.el (minibuffer-local-completion-map)
8467 (minibuffer-local-must-match-map): Move initialization from C.
8468 (minibuffer-local-filename-completion-map): Move initialization from C;
8469 don't inherit from anything here.
8470 (minibuffer-local-filename-must-match-map): Make obsolete.
8471 (completing-read-default): Use make-composed-keymap to combine
8472 minibuffer-local-filename-completion-map with either
8473 minibuffer-local-must-match-map or
8474 minibuffer-local-filename-completion-map.
8475
8476 2011-07-01 Glenn Morris <rgm@gnu.org>
8477
8478 * type-break.el (type-break-time-sum): Use dolist.
8479
8480 * textmodes/flyspell.el (flyspell-word-search-backward):
8481 Replace CL function.
8482
8483 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * mouse.el (mouse--strip-first-event): New function.
8486 (function-key-map): Use it to map fringe clicks to normal clicks
8487 by default.
8488
8489 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8490 (vc-bzr-revision-completion-table): Add support for annotate and date.
8491
8492 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8493 inherit from parent.
8494
8495 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8496
8497 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8498 (dired-show-file-type): Doc fixup (bug#8818).
8499
8500 * dired.el (dired-mode): Fix up the doc string as suggested by
8501 Drew Adams (bug#8817).
8502
8503 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8504 cookie, since the manual says that it should be possible to add
8505 this function to `find-file-hook' (bug#8709).
8506
8507 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8508
8509 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8510 here. Noted Ted Zlatanov as the maintainer.
8511 (cfengine-common-settings, cfengine-common-syntax): New functions
8512 to set up common things between `cfengine-mode' and
8513 `cfengine3-mode'.
8514 (cfengine3-mode): New mode.
8515 (cfengine3-defuns cfengine3-defuns-regex
8516 (cfengine3-class-selector-regex cfengine3-category-regex)
8517 (cfengine3-vartypes cfengine3-font-lock-keywords)
8518 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8519 (cfengine3-indent-line): Add from cfengine3.el.
8520
8521 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8522
8523 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8524
8525 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8526
8527 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8528
8529 * window.el (same-window-buffer-names, same-window-regexps)
8530 (same-window-p, special-display-frame-alist)
8531 (special-display-popup-frame, special-display-function)
8532 (special-display-buffer-names, special-display-regexps)
8533 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8534 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8535 (split-window-preferred-function, split-height-threshold)
8536 (split-width-threshold, even-window-heights)
8537 (display-buffer-mark-dedicated, window-splittable-p)
8538 (split-window-sensibly, window-safely-shrinkable-p):
8539 Un-obsolete.
8540 (display-buffer): Don't spread args with function specifier
8541 because special-display-popup-frame won't like it.
8542
8543 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8544
8545 Time-stamp simplifications and fixes.
8546 These improve accuracy slightly, and future-proof the code
8547 against some potential changes to current-time format.
8548
8549 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8550 by using time-since and float-time.
8551
8552 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8553 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8554 + NNN microseconds".
8555
8556 * type-break.el (type-break-time-sum): Rewrite using time-add.
8557
8558 * play/hanoi.el (hanoi-current-time-float): Remove.
8559 All uses replaced by float-time.
8560
8561 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8562 This yields a more-accurate answer.
8563 (rng-time-to-float): Remove; no longer needed.
8564
8565 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8566
8567 * calendar/timeclock.el (timeclock-seconds-to-time):
8568 Defalias to seconds-to-time, since they're the same thing.
8569
8570 * emacs-lisp/elp.el (elp-elapsed-time):
8571 * emacs-lisp/benchmark.el (benchmark-elapse):
8572 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8573
8574 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * window.el (bury-buffer): Don't iconify the only frame.
8577 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8578 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8579
8580 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8581
8582 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8583 Add mouse-yank-primary.
8584
8585 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8586
8587 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8588
8589 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8592 (find-library-name): Use it to find relative load names when provided
8593 absolute file name (bug#8803).
8594
8595 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8596
8597 * textmodes/flyspell.el (flyspell-word): Consider words that
8598 differ only in case as potential doublons (bug#5687).
8599
8600 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8601 Remove two rather uninteresting debugging-like messages to make
8602 debbugs.el more silent.
8603
8604 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8605 a password-like phrase.
8606
8607 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8608
8609 * progmodes/cc-guess.el: New file.
8610
8611 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8612
8613 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8614 derived from `c-basic-common-init'.
8615
8616 * progmodes/cc-mode.el (top-level): Require cc-guess.
8617 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8618
8619 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8620
8621 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8622
8623 2011-06-30 Alan Mackenzie <acm@muc.de>
8624
8625 * progmodes/cc-engine.el (c-guess-continued-construct):
8626 Correct the handling of template-args-cont, particularly for when font
8627 lock is disabled. Name this case as "CASE G".
8628
8629 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8630
8631 * allout.el (allout-yank-processing): Fix injection of extra space
8632 between bullet and non-whitespace character in first topic when
8633 pasting, ensuring that the actual spacing in the pasted topic
8634 following the bullet char is preserved. This extra space was
8635 causing pasted encrypted topics to get a decrypted status even
8636 when the content was actually still encrypted. Now the decryption
8637 status from before the paste is preserved.
8638
8639 (allout-flag-region): Set all allout overlays so they evaporate
8640 when reduced to zero length (evanescent), to prevent overlay
8641 leakage.
8642
8643 2011-06-30 Glenn Morris <rgm@gnu.org>
8644
8645 * w32-fns.el (w32-charset-info-alist): Declare.
8646
8647 * find-dired.el (find-grep-options): Simplify.
8648
8649 * term/ns-win.el (ns-set-resource): Declare.
8650
8651 * ses.el (row, col): Declare dynamic variables honestly.
8652
8653 * textmodes/reftex-parse.el (index-tags): Declare.
8654
8655 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8656
8657 * cus-edit.el (customize-push-and-save): New function.
8658
8659 * files.el (hack-local-variables-confirm): Use it.
8660
8661 * custom.el (load-theme): New arg NO-CONFIRM.
8662 Use customize-push-and-save (Bug#8720).
8663 (custom-enabled-themes): Doc fix.
8664
8665 * cus-theme.el (customize-create-theme)
8666 (custom-theme-merge-theme): Callers to load-theme changed.
8667
8668 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8669
8670 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8671 short URLs have at least one dot in them (bug #7614).
8672
8673 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8674 nil, because using a pty is apparently too slow (bug #895).
8675
8676 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8677
8678 * mail/sendmail.el (sendmail-query-once): New function.
8679 (sendmail-query-once-function): New variable.
8680
8681 2011-06-29 Glenn Morris <rgm@gnu.org>
8682
8683 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8684
8685 * ses.el (top-level): Require cl when compiling.
8686 (ses-set-localvars): Fix error statement.
8687 Call it at compile time to silence a storm of warnings.
8688
8689 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8690
8691 * window.el (normalize-live-buffer): Rename to
8692 window-normalize-buffer.
8693 (normalize-live-frame): Rename to window-normalize-frame.
8694 (normalize-any-window): Rename to window-normalize-any-window.
8695 (normalize-live-window): Rename to window-normalize-live-window.
8696 (make-window-atom): Rename to window-make-atom.
8697 (window-resize-reset): Rename to window--resize-reset.
8698 (window-resize-reset-1): Rename to window--resize-reset-1.
8699 (resize-mini-window): Rename to window--resize-mini-window.
8700 (resize-subwindows-skip-p): Rename to
8701 window--resize-subwindows-skip-p.
8702 (resize-subwindows-normal): Rename to
8703 window--resize-subwindows-normal.
8704 (resize-subwindows): Rename to window--resize-subwindows.
8705 (resize-other-windows): Rename to window--resize-siblings.
8706 (resize-this-window): Rename to window--resize-this-window.
8707 (resize-root-window): Rename to window--resize-root-window.
8708 (resize-root-window-vertically): Rename to
8709 window--resize-root-window-vertically.
8710 (normalize-buffer-to-display): Rename to
8711 window-normalize-buffer-to-display.
8712 (normalize-buffer-to-switch-to): Rename to
8713 window-normalize-buffer-to-switch-to.
8714 Correspondingly update all callers of the functions listed
8715 above.
8716 (display-buffer-alist, display-buffer-normalize-arguments)
8717 (display-buffer-normalize-options, display-buffer)
8718 (display-buffer-alist-set): Use "function" instead of
8719 "fun-with-args".
8720
8721 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8722
8723 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8724 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8725 debbugs.gnu.org. Mention acknowledgment email.
8726
8727 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8728
8729 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8730 buffer multibyteness, since it shouldn't matter.
8731
8732 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8733
8734 * window.el (display-buffer-in-side-window): Handle dedicated
8735 windows as in display-buffer-reuse-window.
8736 (display-buffer-normalize-alist): Use value of override
8737 specifier.
8738 (display-buffer-normalize-specifiers): Use value of
8739 other-window-means-other-frame specifier.
8740 (display-buffer-alist): Rewrite some texts in widgets.
8741 (display-buffer): Spread arguments when calling function
8742 specified by fun-with-args.
8743
8744 2011-06-28 Deniz Dogan <deniz@dogan.se>
8745
8746 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8747 Unnest `let'.
8748
8749 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8750 selectors (Bug#5732).
8751 (css-proprietary-nmstart-re): Use `regexp-opt'.
8752
8753 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8754
8755 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8756 (eshell-ls-date-format): New defcustom.
8757 (eshell-ls-file): Use it.
8758
8759 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8760
8761 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8762
8763 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8764
8765 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8766 (ange-ftp-make-tmp-name): New arg.
8767 (ange-ftp-file-local-copy): Use it.
8768
8769 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8770
8771 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8772 no-conversion (Bug#8870).
8773
8774 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8775
8776 * window.el (window-right, window-left, window-child)
8777 (window-child-count, window-last-child)
8778 (window-iso-combination-p, walk-window-tree-1)
8779 (window-atom-check-1, window-tree-1, delete-window)
8780 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8781 new naming conventions - window-vchild, window-hchild,
8782 window-next and window-prev are now called window-top-child,
8783 window-left-child, window-next-sibling and window-prev-sibling
8784 respectively.
8785 (resize-window-reset): Rename to window-resize-reset.
8786 (resize-window-reset-1): Rename to window-resize-reset-1.
8787 (resize-window): Rename to window-resize.
8788 (window-min-height, window-min-width)
8789 (resize-mini-window, resize-this-window, resize-root-window)
8790 (resize-root-window-vertically, adjust-window-trailing-edge)
8791 (enlarge-window, shrink-window, maximize-window)
8792 (minimize-window, delete-window, quit-restore-window)
8793 (split-window, balance-windows, balance-windows-area-adjust)
8794 (balance-windows-area, window-state-put-2)
8795 (display-buffer-even-window-sizes, display-buffer-set-height)
8796 (display-buffer-set-width, set-window-text-height)
8797 (fit-window-to-buffer): Rename all "resize-window" prefixed
8798 calls to use the "window-resize" prefix convention.
8799 (display-buffer-alist): Fix symbol for label specifier.
8800 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8801 corresponding specifier.
8802 Reported by Juanma Barranquero <lekktu@gmail.com>.
8803
8804 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8805
8806 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8807 convention.
8808 (ses-call-printer): Does not pass an empty string to formatter when the
8809 cell is empty to keep from barking printer Calc math-format-value.
8810
8811 2011-06-27 Richard Stallman <rms@gnu.org>
8812
8813 * battery.el (battery-mode-line-limit): New variable.
8814 (battery-update): Handle it.
8815
8816 * mail/rmailmm.el (rmail-mime-process-multipart):
8817 Handle truncated messages.
8818
8819 2011-06-27 Glenn Morris <rgm@gnu.org>
8820
8821 * progmodes/flymake.el (flymake-err-line-patterns):
8822 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8823
8824 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8825
8826 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8827 (ses--clean-!, ses--clean-_): New functions.
8828 (ses-range): Add configurability of readout order, and conversion
8829 to Calc vector.
8830
8831 * ses.el (ses-repair-cell-reference-all): New function.
8832 (ses-cell-symbol): Set macro as safe, so that it can be used in
8833 formulas.
8834
8835 * ses.el: Update cycle detection algorithm.
8836 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8837 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8838 (ses-set-localvars): New function.
8839 (ses-make-cell): Add property-list as a cell element.
8840 (ses-cell-property-get-fun, ses-cell-property-get)
8841 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8842 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8843 New functions.
8844 (ses-cell-property-set, ses-cell-property-pop)
8845 (ses-cell-property-get-handle): New macro.
8846 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8847 New aliases, used for code readability.
8848 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8849 cycle detection.
8850 (ses-self-reference-early-detection): New defcustom.
8851 (ses-formula-references): Robustify against self-referring cells.
8852 (ses-mode): Use ses-set-localvars.
8853 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8854 before lauching the update processing.
8855 (ses-initialize-Dijkstra-attempt): New function.
8856 (ses-recalculate-cell): Update for cycle detection based on
8857 Dijkstra algorithm.
8858
8859 * ses.el: Fix commenting and indenting convention.
8860
8861 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * bs.el (bs-cycle-next): Complete last change.
8864
8865 2011-06-27 Drew Adams <drew.adams@oracle.com>
8866
8867 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8868
8869 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8870
8871 * net/network-stream.el (network-stream-open-starttls):
8872 Don't re-get capabilities unless we've reestablished connection.
8873 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8874
8875 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8876 to binary to possibly avoid line encoding issues on Windows (among
8877 other things).
8878
8879 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8880
8881 * net/network-stream.el (open-network-stream): Return an :error
8882 saying what the problem was, if possible.
8883
8884 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8885 server.
8886
8887 * net/network-stream.el (network-stream-open-starttls): If we
8888 wanted to use STARTTLS, and the server offered it, but we weren't
8889 able to because we had no STARTTLS support, then close the connection.
8890 (open-network-stream): Return an :error element, if present.
8891
8892 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8893
8894 * hl-line.el (hl-line-sticky-flag): Doc fix.
8895 (global-hl-line-sticky-flag): New option (Bug#8323).
8896 (global-hl-line-highlight): Obey it.
8897
8898 * vc/vc.el (vc-revert-show-diff): Default to t.
8899
8900 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8901
8902 * allout-widgets.el (allout-widgets-post-command-business):
8903 Stop decorating intermediate isearch matches. They're not being
8904 undecorated when an isearch is continued past, and isearch
8905 automatically collapses them. This leads to "widget leaks", where
8906 decorated items accumulate in collapsed areas. Lines with lots of
8907 hidden widgets can slow down cursor travel, substantially.
8908 Too much complicated machinery would be needed to ensure undecoration,
8909 so we're doing without this nicety.
8910
8911 (allout-widgets-tally-string): Don't try to do a hash-table-count
8912 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8913 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8914 *Messages* when allout-widgets-maintain-tally is t.
8915
8916 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8917
8918 * window.el (display-buffer-normalize-argument): Rename to
8919 display-buffer-normalize-arguments. Handle special meaning of
8920 LABEL argument. Respect special-display-function when popping up
8921 a new frame. Fix code searching for a window showing the buffer
8922 on another frame.
8923 (display-buffer-normalize-specifiers):
8924 Call display-buffer-normalize-arguments.
8925 (display-buffer-in-window): Don't undedicate the window if its
8926 buffer remains the same.
8927 Reported by Drew Adams <drew.adams@oracle.com>.
8928 (display-buffer-alist): Add choice for same-window macro
8929 specfier.
8930 (display-buffer): Mention special meaning of LABEL argument in
8931 doc-string. Fix quoting. Don't pop up a new frame even as
8932 fallback.
8933
8934 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8935
8936 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8937 avoid deleting the current window in some cases (bug#8911).
8938
8939 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8940
8941 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8942 (Bug#8934)
8943
8944 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8945
8946 * net/network-stream.el (network-stream-open-starttls):
8947 Use built-in TLS support if `gnutls-available-p' is true.
8948 (network-stream-open-tls): Ditto.
8949
8950 2011-06-26 Leo Liu <sdl.web@gmail.com>
8951
8952 * register.el (registerv): New struct.
8953 (registerv-make): New function.
8954 (jump-to-register, describe-register-1, insert-register):
8955 Support the jump-func, print-func and insert-func slot of a registerv
8956 struct. (Bug#8415)
8957
8958 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8959
8960 * vc/vc.el (vc-revert-show-diff): New defcustom.
8961 (vc-diff-internal): New arg specifying diff buffer.
8962 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8963 reuse an existing *vc-diff* buffer (Bug#8927).
8964
8965 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8966
8967 2011-06-26 Glenn Morris <rgm@gnu.org>
8968
8969 * progmodes/f90.el (f90-critical-indent): New option.
8970 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8971 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8972 (f90-mode): Doc fix.
8973 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8974 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8975 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8976 (f90-match-end): Handle block, critical.
8977
8978 2011-06-25 Glenn Morris <rgm@gnu.org>
8979
8980 * calendar/diary-lib.el (diary-included-files): Doc fix.
8981 (diary-include-files): New function, extracted from
8982 diary-include-other-diary-files and diary-mark-included-diary-files.
8983 (diary-include-other-diary-files, diary-mark-included-diary-files):
8984 Just call diary-include-files.
8985 (diary-mark-entries): Reset diary-included-files on first call.
8986
8987 * calendar/diary-lib.el (diary-mark-entries)
8988 (diary-mark-included-diary-files):
8989 Visit included diary-files in temp buffers.
8990
8991 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8992 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8993 (f90-start-block-re, f90-imenu-generic-expression)
8994 (f90-looking-at-program-block-start, f90-no-block-limit):
8995 Add support for submodules.
8996
8997 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8998 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8999
9000 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9001
9002 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9003 buffer-file-type before setting its value, to avoid disastrous
9004 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9005
9006 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9007
9008 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9009
9010 * ses.el (ses-unload-function):
9011 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9012
9013 * proced.el (proced-unload-function):
9014 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9015
9016 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9017
9018 * server.el (server-create-window-system-frame): Add parameters arg.
9019 (server-process-filter): Doc fix. Handle frame-parameters.
9020
9021 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9022
9023 Fix bug#8730, bug#8781.
9024
9025 * loadhist.el (unload--set-major-mode): New function.
9026 (unload-feature): Use it.
9027
9028 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9029 (python-unload-function): New function.
9030
9031 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9032
9033 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9034
9035 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9036
9037 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9038 the candidates list.
9039
9040 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9041
9042 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9043
9044 2011-06-23 Richard Stallman <rms@gnu.org>
9045
9046 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9047 (rmail-variables): Set next-error-move-function.
9048 (rmail-what-message): Take argument POS.
9049 (rmail-next-error-move): New function.
9050
9051 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9054 messages for adjacent non-terminals.
9055
9056 2011-06-23 Richard Stallman <rms@gnu.org>
9057
9058 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9059 (rmail-show-message-1): Preserve buffer modified flag.
9060 (rmail-start-mail): Don't specify use of rmail-mail-return;
9061 that's done by mail-bury now.
9062 (rmail-mail-return): Handle arg NEWBUF.
9063
9064 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9065
9066 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9067 SIZE is a number.
9068
9069 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9070
9071 * window.el (get-lru-window, get-mru-window)
9072 (get-largest-window): Never return a minibuffer window.
9073 (display-buffer-pop-up-window): Fix a bug that could lead to
9074 reusing the minibuffer window.
9075 (display-buffer): Pass original specifier argument to
9076 display-buffer-function instead of the normalized one.
9077 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9078
9079 2011-06-22 Leo Liu <sdl.web@gmail.com>
9080
9081 * minibuffer.el (completing-read-function)
9082 (completing-read-default): Move from minibuf.c
9083
9084 2011-06-22 Richard Stallman <rms@gnu.org>
9085
9086 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9087 to Rmail even if not started by a special Rmail command.
9088
9089 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9090 Copy the buffer currently showing just one message.
9091
9092 2011-06-22 Roland Winkler <winkler@gnu.org>
9093
9094 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9095 (bibtex-clean-entry): First delete the old key so that a
9096 customized algorithm for generating the new key does not get
9097 confused by the old key.
9098 (bibtex-url): Obey regexp of first step.
9099 (bibtex-search-entries): Do not use add-to-list with local
9100 list-var.
9101
9102 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9103
9104 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9105 stored a user name, then query for the password first, instead of
9106 waiting for SMTP to give an error message and the trying again.
9107
9108 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9109
9110 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9111 BUFFER in call-process.
9112
9113 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9114
9115 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9116 QUIT twice.
9117 (smtpmail-try-auth-methods): Require user name and password from
9118 auth-source.
9119
9120 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9121
9122 * window.el (display-buffer-default-specifiers)
9123 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9124 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9125 (split-window): Normalize SIDE argument (Bug#8916).
9126
9127 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9128 (special-display-frame-alist, special-display-popup-frame):
9129 Remove duplicate declarations. These are now in window.el.
9130
9131 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9132
9133 * mail/smtpmail.el (smtpmail-via-smtp):
9134 Set :use-starttls-if-possible so that we always use STARTTLS if the
9135 server supports it. SMTP servers that support STARTTLS commonly
9136 require it.
9137
9138 * net/network-stream.el (network-stream-open-starttls): Support
9139 upgrading to STARTTLS always, even if we don't have built-in support.
9140 (open-network-stream): Add the :always-query-capabilities keyword.
9141
9142 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9143 upgrades with `open-network-stream', and rely solely on
9144 auth-source for all credentials. Big changes throughout the file,
9145 but in particular:
9146 (smtpmail-auth-credentials): Remove.
9147 (smtpmail-starttls-credentials): Remove.
9148 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9149 MAIL FROM, too.
9150
9151 * net/network-stream.el (network-stream-open-starttls):
9152 Provide support for client certificates both for external and built-in
9153 STARTTLS.
9154 (auth-source): Require.
9155 (open-network-stream): Document the :client-certificate keyword.
9156 (network-stream-certificate): Change cert-cert to cert and
9157 cert-key to key.
9158
9159 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9160
9161 * net/tramp-cache.el (top): Don't load the persistency file when
9162 "emacs -Q" has been called.
9163
9164 2011-06-21 Tim Harper <timcharper@gmail.com>
9165
9166 * term/ns-win.el (ns-initialize-window-system):
9167 Set application-specific `ApplePressAndHoldEnabled' system
9168 resource to NO as it is not yet supported by the NS port.
9169
9170 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9171
9172 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9173 (list-dynamic-libraries): ...not here.
9174
9175 2011-06-21 Leo Liu <sdl.web@gmail.com>
9176
9177 * subr.el (sha1): Implement sha1 using secure-hash.
9178
9179 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9180
9181 * window.el (display-buffer-alist): In default value do not
9182 enforce searching a window on any but the selected frame.
9183 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9184 (display-buffer-select-window): Remove function.
9185 (display-buffer-in-window): When a window on another frame gets
9186 reused, do not select it any more but just raise its frame if
9187 necessary (Bug#8851) and (Bug#8856).
9188 (display-buffer-normalize-options): Handle pop-up-frames related
9189 options more faithfully.
9190 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9191 window if it is on another frame.
9192 (display-buffer-alist, display-buffer-default-specifiers):
9193 Don't make new frame unsplittable by default.
9194 (display-buffer-normalize-argument): Fix doc-string typo and use
9195 'same-frame-other-window instead of 'other-window when associating
9196 with display-buffer-macro-specifiers.
9197
9198 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9199
9200 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9201 New functions.
9202 (5x5-mode-map, 5x5-mode-menu): Bind them.
9203 (5x5-draw-grid): Tweak the solver's rendering.
9204
9205 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9208 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9209
9210 2011-06-21 Drew Adams <drew.adams@oracle.com>
9211
9212 * menu-bar.el: Use function variable instead of switch-to-buffer.
9213 (menu-bar-select-buffer-function): New variable.
9214 (menu-bar-update-buffers): Use it (bug#8876).
9215
9216 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9219 variable's status.
9220
9221 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9222
9223 * x-dnd.el (x-dnd-version-from-flags)
9224 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9225 and long as number (Bug#8899).
9226 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9227
9228 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9231 (completion-try-completion, completion-all-completions): Compute the
9232 metadata argument if it's missing; make it optional (bug#8795).
9233
9234 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9235 (widget-complete): Use new :completion-function property.
9236 (widget-completions-at-point): New function.
9237 (default): Use :completion-function instead of :complete.
9238 (widget-default-completions): Rename from widget-default-complete;
9239 Rewrite.
9240 (widget-string-complete, widget-file-complete, widget-color-complete):
9241 Remove functions.
9242 (file, symbol, function, variable, coding-system, color):
9243 * international/mule-cmds.el (default-input-method, charset)
9244 (language-info-custom-alist):
9245 * cus-edit.el (face): Use new property :completions.
9246
9247 * progmodes/pascal.el (pascal-completions-at-point): New function.
9248 (pascal-mode): Use it.
9249 (pascal-mode-map): Use completion-at-point.
9250 (pascal-toggle-completions): Make obsolete.
9251 (pascal-complete-word, pascal-show-completions):
9252 * progmodes/octave-mod.el (octave-complete-symbol):
9253 Redefine as obsolete alias.
9254 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9255 Signal absence of completion info for old Octave,
9256 (inferior-octave-complete): Redefine as obsolete alias.
9257 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9258 (meta-completions-at-point): Rename from meta-complete-symbol and
9259 adapt it for use on completion-at-point-functions.
9260 (meta-common-mode): Use it.
9261 (meta-looking-at-backward, meta-match-buffer): Remove.
9262 (meta-complete-symbol): Redefine as obsolete alias.
9263 (meta-common-mode-map): Use completion-at-point.
9264 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9265 (makefile-mode-map): Use completion-at-point.
9266 (makefile-completions-at-point): Rename from makefile-complete and
9267 adapt it for use on completion-at-point-functions.
9268 (makefile-mode): Use it.
9269 (makefile-complete): Redefine as obsolete alias.
9270
9271 2011-06-20 Deniz Dogan <deniz@dogan.se>
9272
9273 * net/rcirc.el: Delete trailing whitespaces once and for all.
9274
9275 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9276
9277 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9278
9279 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9280
9281 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9282
9283 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9284
9285 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9286
9287 * window.el (display-buffer-other-window-means-other-frame):
9288 Call display-buffer-normalize-alist.
9289 (display-buffer-normalize-specifiers-1): Rename to
9290 display-buffer-normalize-argument. New argument other-frame.
9291 Rewrite.
9292 (display-buffer-normalize-specifiers-2): Rename to
9293 display-buffer-normalize-options.
9294 (display-buffer-normalize-alist-1): New function.
9295 (display-buffer-normalize-specifiers-3): Rename to
9296 display-buffer-normalize-alist.
9297 Call display-buffer-normalize-alist-1.
9298 (display-buffer-normalize-options-inhibit): New variable.
9299 (display-buffer-normalize-specifiers): Rewrite calling
9300 display-buffer-normalize-alist,
9301 display-buffer-normalize-argument, and
9302 display-buffer-normalize-options. Don't call the latter if
9303 display-buffer-normalize-options-inhibit is non-nil.
9304 (frame-auto-delete): New option.
9305 (window-deletable-p): Use frame-auto-delete.
9306 (window-list-no-nils, window-state-ignored-parameters)
9307 (window-state-get-1, window-state-get, window-state-put-list)
9308 (window-state-put-1, window-state-put-2, window-state-put):
9309 New functions.
9310 (display-buffer-normalize-options): Move special-display-p group
9311 after pop-up-frame group (Bug#8851) and (Bug#8856).
9312
9313 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9314
9315 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9316 groups (Bug#8776).
9317 (rx-submatch-n): New function.
9318 (rx): Document it.
9319
9320 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9321 (Bug#8768).
9322
9323 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9324
9325 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9326
9327 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9328 anytime existing face settings are present (Bug#8889).
9329
9330 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9331 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9332 Remove unused argument.
9333
9334 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9335
9336 * window.el (display-buffer-default-specifiers):
9337 Remove pop-up-frame. Add pop-up-window-min-height,
9338 pop-up-window-min-width, and another reuse-window specifier
9339 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9340 (display-buffer-normalize-specifiers-2):
9341 Handle split-height-threshold and split-width-threshold also when
9342 pop-up-windows is unset. Add a reuse-window specifier for the
9343 case popping up a new window fails.
9344 (special-display-popup-frame): Remove double quoting.
9345 (display-buffer-normalize-specifiers-1): Fix thinko.
9346
9347 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9348
9349 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9350 according to comint-completion-addsuffix.
9351
9352 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9353 (pcomplete-suffix-list): Mark as obsolete.
9354 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9355 pcomplete-seen in the closure.
9356 (pcomplete-comint-setup): Setup completion-at-point as well.
9357 (pcomplete--entries): New function.
9358 (pcomplete--env-regexp): New var.
9359 (pcomplete-entries): Rewrite to work with partial-completion and
9360 without relying on pcomplete-suffix-list.
9361 (pcomplete-pare-list): Remove, unused.
9362
9363 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9364
9365 * window.el (display-buffer-alist): Set pop-up-window-min-height
9366 and pop-up-window-min-width in default value. Reported by
9367 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9368 other-window-means-other-frame.
9369 (display-buffer-macro-specifiers): Comment out entry for
9370 other-window specifier.
9371 (display-buffer-other-window-means-other-frame): New function.
9372 (display-buffer-normalize-specifiers-1): New arguments
9373 buffer-name and label. Treat other-window case specially.
9374 (display-buffer-normalize-specifiers-2): Treat other-window case
9375 specially.
9376 (display-buffer-normalize-specifiers-3): New function.
9377 (display-buffer-normalize-specifiers):
9378 Call display-buffer-normalize-specifiers-3.
9379
9380 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9381
9382 * window.el (same-window-p): Fix two typos introduced when
9383 adding with-no-warnings.
9384 (display-buffer-normalize-specifiers-1): Don't check
9385 pop-up-frames for 'unset initialization.
9386 (display-buffer-normalize-specifiers-2): Major rewrite using
9387 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9388 (pop-up-frames, display-buffer-reuse-frames)
9389 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9390 Suggested by David Engster <deng@randomsample.de>.
9391 (even-window-heights): Initialize to 'unset.
9392 (display-buffer-alist-set): Handle new 'unset initializations.
9393 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9394 other window case.
9395
9396 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9397
9398 * window.el (display-buffer-normalize-specifiers-1):
9399 Respect current value of pop-up-frames for most reasonable values of
9400 second argument of display-buffer (Bug#8865).
9401 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9402 (switch-to-buffer-other-window-same-frame)
9403 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9404 Adams (Bug#8875).
9405 (display-buffer): Don't check noninteractive when calling
9406 display-buffer-pop-up-frame.
9407 (display-buffer-pop-up-frame): Never pop up a frame in
9408 noninteractive mode (Bug#8857).
9409 (enlarge-window, shrink-window): Don't report an error when the
9410 window can't be resized as requested (Bug#8862).
9411
9412 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9413
9414 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9415
9416 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9417
9418 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9419
9420 2011-06-15 Alan Mackenzie <acm@muc.de>
9421
9422 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9423 for declarators, disable knr checking to speed up for normal files.
9424 2: Refactor, replacing a sequence of nested if forms by a cond form.
9425
9426 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9427
9428 * net/network-stream.el (open-network-stream): Add the keyword
9429 :always-query-capabilities for the case where you want to force a
9430 `plain' network connection, but the protocol still requires the
9431 capabilitiy command (i.e., SMTP and EHLO).
9432
9433 * subr.el (process-live-p): Rename from `process-alive-p' for
9434 consistency with other `-live-p' functions.
9435
9436 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * window.el (same-window-buffer-names, same-window-regexps)
9439 (special-display-frame-alist, special-display-popup-frame)
9440 (special-display-function, special-display-buffer-names)
9441 (special-display-regexps, pop-up-frame-alist)
9442 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9443 (pop-up-windows, split-window-preferred-function)
9444 (split-height-threshold, split-width-threshold, even-window-heights)
9445 (display-buffer-mark-dedicated): Don't encourage the use of
9446 display-buffer-alist from Elisp code.
9447
9448 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9449
9450 * progmodes/python.el (python-mode): Derive from prog-mode.
9451 * progmodes/ps-mode.el (ps-mode):
9452 * progmodes/mixal-mode.el (mixal-mode):
9453 * progmodes/cfengine.el (cfengine-mode):
9454 * progmodes/ld-script.el (ld-script-mode): Likewise.
9455
9456 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9457
9458 * window.el (display-buffer-alist): Trim default value to avoid
9459 popping up a new frame (Bug#8857) or reusing an arbitrary window
9460 on another frame.
9461 (display-buffer): Do not fall back on popping up a new frame in
9462 batch mode (Bug#8857).
9463
9464 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9465
9466 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9467 (custom-theme-summary): New function.
9468 (customize-themes): Use it.
9469
9470 2011-06-13 Glenn Morris <rgm@gnu.org>
9471
9472 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9473
9474 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9475
9476 * help.el (help-window): Remove variable.
9477 (help-window-point-marker, temp-buffer-max-height)
9478 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9479 (help-print-return-message): Don't set help-window.
9480 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9481 (help-window-setup-finish): Remove.
9482 (help-window-display-message, help-window-setup)
9483 (with-help-window): Major rewrite based on new
9484 display-buffer-window variable.
9485
9486 * help-mode.el (help-mode-finish): Remove help-window related
9487 code.
9488
9489 * view.el (view-exits-all-viewing-windows): Remove reference to
9490 view-return-to-alist in doc-string.
9491 (view-return-to-alist): Make obsolete.
9492 (view-buffer): Call pop-to-buffer-same-window and remove
9493 undo-window code.
9494 (view-buffer-other-window): Call pop-to-buffer-other-window and
9495 simplify code. Ignore second argument.
9496 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9497 simplify code. Ignore second argument.
9498 (view-return-to-alist-update): Make obsolete.
9499 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9500 Rewrite using quit-restore window parameters.
9501 (view-mode-exit): Rename second argument to EXIT-ONLY.
9502 Rewrite using quit-restore-window.
9503 (View-exit, View-exit-and-edit, View-leave, View-quit)
9504 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9505 appropriate arguments.
9506 (view-end-message): Use quit-restore window parameter.
9507
9508 * window.el (display-buffer-function): Rewrite doc-string.
9509 (display-buffer-window, display-buffer-alist): New variables.
9510 (display-buffer-split-specifiers)
9511 (display-buffer-side-specifiers)
9512 (display-buffer-macro-specifiers): New constants.
9513 (display-buffer-even-window-sizes, display-buffer-set-height)
9514 (display-buffer-set-width, display-buffer-select-window)
9515 (display-buffer-in-window, display-buffer-reuse-window)
9516 (display-buffer-split-window-1, display-buffer-split-window)
9517 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9518 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9519 (display-buffer-in-side-window, normalize-buffer-to-display)
9520 (display-buffer-normalize-specifiers-1)
9521 (display-buffer-normalize-specifiers-2)
9522 (display-buffer-normalize-specifiers, display-buffer-frame):
9523 New functions.
9524 (display-buffer): Major rewrite.
9525 (display-buffer-other-window, display-buffer-other-frame)
9526 (pop-to-buffer, switch-to-buffer-other-window)
9527 (switch-to-buffer-other-frame): Rewrite.
9528 (display-buffer-same-window, display-buffer-same-frame)
9529 (display-buffer-same-frame-other-window)
9530 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9531 (pop-to-buffer-other-window)
9532 (pop-to-buffer-same-frame-other-window)
9533 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9534 (switch-to-buffer-other-window-same-frame): New functions.
9535 (same-window-p, special-display-p): Rewrite disabling warnings.
9536 Make obsolete.
9537 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9538 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9539 Make obsolete
9540 (same-window-buffer-names, same-window-regexps)
9541 (special-display-frame-alist, special-display-popup-frame)
9542 (special-display-function, special-display-buffer-names)
9543 (special-display-regexps, pop-up-frame-alist)
9544 (pop-up-frame-function, split-window-preferred-function)
9545 (split-height-threshold, split-width-threshold)
9546 (even-window-heights): Make obsolete.
9547
9548 2011-06-12 Glenn Morris <rgm@gnu.org>
9549
9550 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9551 Misc simplifications.
9552
9553 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9554
9555 * window.el (window-safely-shrinkable-p): Restore function which
9556 was inadvertently removed in change from 2011-06-11. Declare as
9557 obsolete.
9558
9559 * calendar/calendar.el (calendar-generate-window):
9560 Use window-iso-combined-p instead of combination of one-window-p and
9561 window-safely-shrinkable-p.
9562
9563 2011-06-12 Glenn Morris <rgm@gnu.org>
9564
9565 * progmodes/fortran.el (fortran-mode-syntax-table):
9566 * progmodes/f90.el (f90-mode-syntax-table):
9567 Set % to punctuation. (Bug#8820)
9568 (f90-find-tag-default): Remove, no longer needed.
9569
9570 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9571
9572 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9573
9574 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9575
9576 * image.el (image-animated-p): Return animation delay in seconds.
9577 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9578 (image-animate-timeout): Remove DELAY argument. Don't assume
9579 every subimage has the same delay; get it from image-animated-p.
9580 (image-animate): Caller changed.
9581
9582 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9583
9584 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9585 to ignored backtrace functions.
9586
9587 2011-06-11 Glenn Morris <rgm@gnu.org>
9588
9589 * calendar/appt.el (appt-disp-window-function): Doc fix.
9590 (appt-check): Handle overlapping appointments. (Bug#8337)
9591
9592 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9593
9594 * window.el (window-tree-1, window-tree): New functions, moving
9595 the latter to window.el.
9596 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9597 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9598 (bw-refresh-edges): Remove.
9599 (balance-windows-1, balance-windows-2): New functions.
9600 (balance-windows): Rewrite in terms of window tree functions,
9601 balance-windows-1 and balance-windows-2.
9602 (bw-adjust-window): Remove.
9603 (balance-windows-area-adjust): New function with functionality of
9604 bw-adjust-window but using resize-window.
9605 (set-window-text-height): Rewrite doc-string.
9606 Use normalize-live-window and resize-window.
9607 (enlarge-window-horizontally, shrink-window-horizontally):
9608 Rename argument to DELTA.
9609 (window-buffer-height): New function.
9610 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9611 Rewrite using new window resize routines.
9612 (kill-buffer-and-window, mouse-autoselect-window-select):
9613 Use ignore-errors instead of condition-case.
9614 (quit-window): Call delete-frame instead of delete-windows-on
9615 for the only buffer on frame.
9616
9617 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9618
9619 * loadup.el (top-level): Load window before files for the sake
9620 of replace-buffer-in-windows.
9621
9622 * files.el (read-buffer-to-switch)
9623 (switch-to-buffer-other-window)
9624 (switch-to-buffer-other-frame, display-buffer-other-frame):
9625 Move to window.el.
9626
9627 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9628 (previous-buffer): Move to window.el.
9629
9630 * bindings.el (unbury-buffer): Move to window.el.
9631
9632 * window.el (delete-other-windows-vertically): Move after
9633 definition of delete-other-windows.
9634 (other-window, delete-windows-on, replace-buffer-in-windows):
9635 Move here from window.c.
9636 (record-window-buffer, unrecord-window-buffer)
9637 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9638 (switch-to-next-buffer): New functions.
9639 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9640 from simple.el. Call switch-to-next-buffer.
9641 (previous-buffer): Move here from simple.el.
9642 Call switch-to-prev-buffer.
9643 (bury-buffer): Move here from buffer.c. Switch to previous
9644 buffer when window cannot be deleted.
9645 (unbury-buffer): Move here from bindings.el.
9646 (ctl-x-map): Move binding for other-window from window.c to
9647 here.
9648 (read-buffer-to-switch, switch-to-buffer-other-window)
9649 (switch-to-buffer-other-frame): Move here from files.el.
9650 (normalize-buffer-to-switch-to): New functions.
9651 (switch-to-buffer): Move here from buffer.c.
9652 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9653
9654 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9655
9656 * window.el (window-min-height, window-min-width): Move here
9657 from window.c. Add defcustoms and rewrite doc-strings.
9658 (resize-mini-window, resize-window): New functions.
9659 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9660 Move here from window.c.
9661 (maximize-window, minimize-window): New functions.
9662 (delete-window, delete-other-windows, split-window): Move here
9663 from window.c.
9664 (window-split-min-size): New function.
9665 (split-window-keep-point): Mention split-window-above-each-other
9666 instead of split-window-vertically.
9667 (split-window-above-each-other, split-window-vertically):
9668 Rename split-window-vertically to split-window-above-each-other
9669 and provide defalias for old definition.
9670 (split-window-side-by-side, split-window-horizontally):
9671 Rename split-window-horizontally to split-window-side-by-side
9672 and provide defalias for the old definition.
9673 (ctl-x-map): Move bindings for delete-window,
9674 delete-other-windows and enlarge-window here from window.c.
9675 Replace bindings for split-window-vertically and
9676 split-window-horizontally by bindings for
9677 split-window-above-each-other and split-window-side-by-side.
9678
9679 * cus-start.el (all): Remove entries for window-min-height and
9680 window-min-width. Add entries for window-splits and
9681 window-nest.
9682
9683 2011-06-09 Glenn Morris <rgm@gnu.org>
9684
9685 * calendar/appt.el (appt-mode-line): New function.
9686 (appt-check, appt-disp-window): Use it.
9687
9688 * files.el (hack-one-local-variable-eval-safep):
9689 Allow minor-modes with explicit +/-1 arguments.
9690
9691 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9692
9693 * term/xterm.el (xterm): Add defgroup.
9694 (xterm-extra-capabilities): Add defcustom to supply known xterm
9695 capabilities, skip querying them, or query them (default).
9696 (terminal-init-xterm): Use it.
9697 (terminal-init-xterm-modify-other-keys): New function to set up
9698 modifyOtherKeys support to simplify `terminal-init-xterm'.
9699
9700 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9701
9702 * window.el (resize-window-reset, resize-window-reset-1)
9703 (resize-subwindows-skip-p, resize-subwindows-normal)
9704 (resize-subwindows, resize-other-windows, resize-this-window)
9705 (resize-root-window, resize-root-window-vertically)
9706 (window-deletable-p, window-or-subwindow-p)
9707 (frame-root-window-p): New functions.
9708
9709 2011-06-09 Glenn Morris <rgm@gnu.org>
9710
9711 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9712 (ange-ftp-get-files): Use it.
9713
9714 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9715
9716 * mail/sendmail.el (mail-recover-1, mail-recover):
9717 * files.el (recover-file, recover-session):
9718 Handle dired-listing-switches not being just a single short option.
9719
9720 2011-06-09 Glenn Morris <rgm@gnu.org>
9721
9722 * calendar/appt.el (appt-display-message, appt-disp-window):
9723 Handle lists of appointments.
9724
9725 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9726
9727 * window.el (one-window-p): Move down in code.
9728 Rewrite doc-string.
9729 (window-current-scroll-bars): Rewrite doc-string.
9730 Normalize live window argument.
9731 (walk-windows, get-window-with-predicate, count-windows):
9732 Rewrite doc-string. Use window-list-1.
9733 (window-in-direction-2, window-in-direction, get-mru-window):
9734 New functions.
9735
9736 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9737
9738 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9739 Doc fix (Bug#8713).
9740
9741 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9742
9743 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9744
9745 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9746
9747 * loadhist.el (unload-feature-special-hooks):
9748 Add `comint-output-filter-functions'.
9749
9750 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9751
9752 * calendar/appt.el (appt-check): Move some initializations into the let.
9753
9754 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9755
9756 * window.el (window-height): Defalias to window-total-height.
9757 (window-width): Defalias to window-body-width.
9758
9759 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9760
9761 * image-mode.el (image-toggle-animation): New command.
9762 (image-mode-map): Bind it to RET.
9763 (image-mode): Update message.
9764 (image-toggle-display-image): Avoid a spurious cache flush.
9765 (image-transform-rotation): Doc fix.
9766 (image-transform-properties): Return quickly in the normal case.
9767 (image-animate-loop): Rename from image-animate-max-time.
9768
9769 * image.el (image-animate-max-time): Move to image-mode.el.
9770 (create-animated-image): Remove unnecessary function.
9771 (image-animate): Rename from image-animate-start. New arg.
9772 (image-animate-stop): Remove; just use image-animate-timer.
9773 (image-animate-timer): Use car-safe.
9774 (image-animate-timeout): Rename argument.
9775
9776 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9777
9778 * window.el (get-lru-window, get-largest-window): Move here from
9779 window.c. Rename first argument to ALL-FRAMES.
9780 Rephrase doc-strings.
9781 (get-buffer-window-list): Rewrite using window-list-1.
9782 Rephrase doc-string.
9783 (window-safe-min-height, window-safe-min-width): New constants.
9784 (window-size-ignore, window-min-size, window-min-size-1)
9785 (window-sizable, window-sizable-p, window-size-fixed-1)
9786 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9787 (window-max-delta-1, window-max-delta, window-resizable)
9788 (window-resizable-p, window-total-height, window-total-width)
9789 (window-body-width): New functions.
9790 (window-full-height-p, window-full-width-p): Rewrite using
9791 window-total-size.
9792 (window-body-height): Rewrite using window-body-size.
9793
9794 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9795
9796 * window.el (window-right, window-left, window-child)
9797 (window-child-count, window-last-child, window-any-p)
9798 (normalize-live-buffer, normalize-live-frame)
9799 (normalize-any-window, normalize-live-window)
9800 (window-iso-combination-p, window-iso-combined-p)
9801 (window-iso-combinations)
9802 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9803 (windows-with-parameter, window-with-parameter)
9804 (window-atom-root, make-window-atom, window-atom-check-1)
9805 (window-atom-check, window-side-check, window-check):
9806 New functions.
9807 (ignore-window-parameters, window-sides, window-sides-vertical)
9808 (window-sides-slots): New variables.
9809 (window-size-fixed): Move down in code. Minor doc-string fix.
9810
9811 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9812
9813 * comint.el (comint-dynamic-complete-as-filename)
9814 (comint-dynamic-complete-filename): Correctly call
9815 completion-in-region.
9816
9817 2011-06-05 Deniz Dogan <deniz@dogan.se>
9818
9819 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9820 in last change.
9821
9822 2011-06-05 Deniz Dogan <deniz@dogan.se>
9823
9824 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9825 (rcirc): Use it to prompt for encryption.
9826
9827 2011-06-05 Roland Winkler <winkler@gnu.org>
9828
9829 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9830 (bibtex-search-entries): New command bound to C-c C-a.
9831 (bibtex-display-entries): New function.
9832
9833 2011-06-05 Roland Winkler <winkler@gnu.org>
9834
9835 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9836 (bibtex-insert-kill): After yanking insert newline if necessary.
9837 (bibtex-initialize): Call bibtex-string-files-init only once.
9838 (bibtex-mode): Do not call easy-menu-add.
9839 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9840 (bibtex-yank): Set arg properly if nil.
9841
9842 2011-06-05 Roland Winkler <winkler@gnu.org>
9843
9844 * textmodes/bibtex.el (bibtex-search-entry-globally):
9845 New variable.
9846 (bibtex-search-entry): Use it.
9847
9848 2011-06-05 Roland Winkler <winkler@gnu.org>
9849
9850 * textmodes/bibtex.el (bibtex-entry-format): New option
9851 sort-fields.
9852 (bibtex-format-entry, bibtex-reformat): Honor this option.
9853 (bibtex-parse-entry): Return fields in proper order.
9854
9855 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9856
9857 * doc-view.el (doc-view-remove-if): Move computation of result out
9858 of `dolist' to silence misleading lexical-binding warning.
9859
9860 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9861
9862 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9863 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9864
9865 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9866
9867 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9868 "SunOS 5.10".
9869
9870 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9871
9872 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9873 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9874 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9875 (tramp-parse-putty):
9876 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9877 (tramp-completion-function-alist-ssh)
9878 (tramp-completion-function-alist-telnet)
9879 (tramp-completion-function-alist-su)
9880 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9881 cookie.
9882
9883 * net/tramp-ftp.el:
9884 * net/tramp-sh.el:
9885 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9886 load "tramp.el" `tramp-set-completion-function'.
9887
9888 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9889
9890 * shell.el: Require and use pcomplete.
9891 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9892 (shell-completion-vars): Set pcomplete-default-completion-function.
9893
9894 2011-06-04 Deniz Dogan <deniz@dogan.se>
9895
9896 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9897 `memq' (Bug#8799).
9898
9899 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9902
9903 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9904
9905 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9906 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9907 * vc/log-view.el (log-view-beginning-of-defun):
9908 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9909 (smerge-refine-forward, smerge-refine-chopup-region):
9910 Silence warning for unused `dotimes' counter variables.
9911
9912 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * net/tramp.el (tramp-with-progress-reporter): Rename from
9915 with-progress-reporter. Use `declare'.
9916 * net/tramp-smb.el:
9917 * net/tramp-sh.el:
9918 * net/tramp-gvfs.el: Update all uses.
9919
9920 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9921
9922 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9923 buffer isn't killed before making it current.
9924
9925 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 Silence various byte-compiler warnings.
9928 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9929 `access-type' and new obsolescence format.
9930 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9931 new format.
9932 (byte-compile-check-variable): New `access-type' argument.
9933 Only warn if the access-type is obsolete.
9934 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9935 (byte-compile-variable-set): Adjust callers.
9936 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9937 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9938 setting it as obsolete.
9939 * simple.el (minibuffer-completing-symbol):
9940 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9941 access as obsolete.
9942 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9943 obsolete yet.
9944 * international/quail.el (quail-mouse-choose-completion): Remove unused
9945 code referring to obsolete var.
9946 (quail-choose-completion-string): Remove.
9947 * server.el (server-clients-with, server-kill-buffer-query-function)
9948 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9949 * proced.el (proced-send-signal):
9950 * emacs-lisp/lisp.el (lisp-complete-symbol):
9951 Replace completion-annotate-function with completion-extra-properties.
9952
9953 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * simple.el (goto-line): Use read-number.
9956 (overriding-map-is-bound): Remove.
9957 (saved-overriding-map): Change default.
9958 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9959 Take the map as argument.
9960 (universal-argument, negative-argument, digit-argument): Use it.
9961 (restore-overriding-map): Adjust.
9962 (do-auto-fill): Use fill-forward-paragraph.
9963 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9964
9965 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9966 (minibuffer-inactive-mode): New major mode.
9967 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9968 the *Messages* buffer" hack.
9969 (mouse-popup-menubar): Don't burp if the event is a normal key.
9970
9971 Miscellaneous tweaks.
9972 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9973 lexical scoping as in subr.el's dolist and dotimes.
9974 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9975 Silence compiler warning.
9976 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9977 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9978 * international/ccl.el (ccl-compile): Trivial simplification.
9979 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9980 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9981 `printflag' argument.
9982 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9983 Purecopy the whole obsolescence data.
9984
9985 2011-06-01 Leo Liu <sdl.web@gmail.com>
9986
9987 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9988 improve doc-string as suggested by Marco Pessotto
9989 <melmothx@gmail.com>.
9990 (rcirc-print): Fix last change.
9991
9992 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9993
9994 * minibuffer.el (complete-with-action): Return nil for the metadata and
9995 boundaries of non-functional tables.
9996 (completion-table-dynamic): Return nil for the metadata.
9997 (completion-table-with-terminator): Add default case, using
9998 complete-with-action.
9999 (completion--metadata): New function.
10000 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10001 to try and avoid pathological performance problems.
10002 (completion--embedded-envvar-table): Return `category' metadata.
10003
10004 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10005
10006 * subr.el (process-alive-p): New tiny convenience function.
10007
10008 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10009
10010 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10011 content but also its previous major mode.
10012
10013 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10014
10015 * emacs-lisp/debug.el (debug): Restore the previous content of the
10016 *Backtrace* buffer when we exit with C-M-c.
10017
10018 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10019
10020 * minibuffer.el: Add metadata method to completion tables.
10021 (completion-category-overrides): New defcustom.
10022 (completion-metadata, completion--field-metadata)
10023 (completion-metadata-get, completion--styles)
10024 (completion--cycle-threshold): New functions.
10025 (completion-try-completion, completion-all-completions):
10026 Add `metadata' argument to choose completion-styles.
10027 (completion--do-completion): Use metadata to choose cycling.
10028 (completion-all-sorted-completions): Use metadata for sorting.
10029 Remove :completion-cycle-penalty which is not needed any more.
10030 (completion--try-word-completion): Add `metadata' argument.
10031 (minibuffer-completion-help): Check metadata for annotation function
10032 and sorting.
10033 (completion-file-name-table): Return `category' metadata.
10034 (minibuffer-completing-file-name): Make obsolete.
10035 * simple.el (minibuffer-completing-symbol): Make obsolete.
10036 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10037 completion-try-completion.
10038
10039 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10042
10043 2011-05-30 Leo Liu <sdl.web@gmail.com>
10044
10045 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10046 (rcirc-print): Decode all incoming messages (bug#8744).
10047 (rcirc-decode-coding-system): Allow value nil for automatic coding
10048 system detection.
10049
10050 2011-06-01 Glenn Morris <rgm@gnu.org>
10051
10052 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10053
10054 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10055
10056 * image.el (image-animate-max-time): Allow nil and t values.
10057 Default to nil.
10058 (create-animated-image): Doc fix.
10059 (image-animate-start): Remove second arg; just use
10060 image-animate-max-time.
10061 (image-animate-timeout): Doc fix. Args changed.
10062
10063 * image-mode.el (image-toggle-display-image): Ensure that the
10064 image spec passed to the animate timer is the same object as in
10065 the buffer's display property (Bug#6981).
10066 (image-transform-properties): Doc fix.
10067
10068 * image.el (image-animate-max-time): Default to nil.
10069
10070 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10071
10072 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10073 entire buffer list (Bug#8184).
10074
10075 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10076
10077 * image.el (imagemagick-types-inhibit)
10078 (imagemagick-register-types): Doc fix.
10079
10080 2011-05-29 Deniz Dogan <deniz@dogan.se>
10081
10082 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10083 default.
10084
10085 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10086
10087 * select.el: Don't perform clipboard-manager saving in hooks;
10088 leave the hooks empty.
10089
10090 2011-05-28 Leo Liu <sdl.web@gmail.com>
10091
10092 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10093 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10094 (occur-edit-mode): New major mode (Bug#8463).
10095 (occur-after-change-function): New function.
10096 (occur-engine): Give Occur tags a read-only property.
10097
10098 2011-05-28 Kevin Ryde <user42@zip.com.au>
10099
10100 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10101
10102 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10103
10104 * bindings.el (help-echo): Make the initial non-indicator dash
10105 empty on graphical terminals (Bug#7295).
10106
10107 * files.el (auto-mode-alist): Move config rule after the
10108 in-stripping one (Bug#8547).
10109
10110 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10111
10112 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10113 setting (Bug#8740).
10114
10115 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10116
10117 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10118 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10119 (Bug#8539).
10120
10121 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10122
10123 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10124
10125 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10126
10127 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10128 (hs-hide-block-at-point, hs-find-block-beginning)
10129 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10130 (Bug#8279).
10131
10132 2011-05-28 Glenn Morris <rgm@gnu.org>
10133
10134 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10135
10136 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10137
10138 * help-fns.el (describe-function-1): If the function is a derived
10139 major mode, print the parent mode.
10140
10141 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10142 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10143
10144 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * minibuffer.el (completion--capf-wrapper): Check applicability before
10147 returning non-nil for non-exclusive completion data.
10148 * progmodes/etags.el (tags-completion-at-point-function):
10149 * info-look.el (info-lookup-completions-at-point): Mark as
10150 non-exclusive.
10151 (info-complete): Adjust accordingly.
10152
10153 * info-look.el: Convert to lexical-binding and completion-at-point.
10154 (info-lookup-completions-at-point): New function.
10155 (info-complete): Use it and completion-in-region.
10156
10157 2011-05-28 Drew Adams <drew.adams@oracle.com>
10158
10159 * isearch.el: Let M-e start with point at the first mismatched char.
10160 (isearch-fail-pos): New function.
10161 (isearch-edit-string): Use it.
10162
10163 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10164
10165 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10166
10167 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10168
10169 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10170 traversal functions for avl-trees.
10171 (avl-tree--stack): New struct.
10172 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10173 (avl-tree-enter): Add optional `updatefun' arg.
10174 (avl-tree--do-enter): Add optional `updatefun' arg.
10175 Change return value.
10176 (avl-tree-delete): Add optional `test' and `nilflag' args.
10177 (avl-tree--do-delete): Add `test' and `nilflag' args.
10178 Change return value.
10179 (avl-tree-member): Add optional `nilflag'
10180 (avl-tree-member-p): New function.
10181 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10182 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10183 (avl-tree-stack-empty-p): New functions.
10184
10185 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10186 avl-tree--del-balance1 and make it work both ways.
10187 (avl-tree--del-balance2): Remove.
10188 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10189 make it work both ways.
10190 (avl-tree--enter-balance2): Remove.
10191 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10192 New macros.
10193 (avl-tree--mapc, avl-tree-map): Add direction argument.
10194
10195 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10196
10197 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10198
10199 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10200
10201 * select.el: Support clipboard managers with built-in function
10202 x-clipboard-manager-save, via delete-frame-functions and
10203 kill-emacs-hook.
10204 (xselect-convert-to-targets): Add MULTIPLE target to list.
10205 (xselect-convert-to-save-targets): New function.
10206
10207 2011-05-27 Kenichi Handa <handa@m17n.org>
10208
10209 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10210 let-binding rfc2047-encode-encoded-words to nil.
10211
10212 2011-05-27 Glenn Morris <rgm@gnu.org>
10213
10214 * mail/emacsbug.el: Don't require url-util.
10215
10216 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10217
10218 * files.el (set-auto-mode):
10219 Also respect mode: entries at the end of the file. (Bug#8586)
10220
10221 2011-05-26 Glenn Morris <rgm@gnu.org>
10222
10223 * files.el (hack-local-variables-prop-line, hack-local-variables):
10224 Downcase mode names, as seems to be traditional.
10225 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10226
10227 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10228 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10229
10230 2011-05-25 Julien Danjou <julien@danjou.info>
10231
10232 * textmodes/rst.el (rst-define-level-faces): Do not define face
10233 symbol if it is already defined.
10234
10235 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10236
10237 * play/5x5.el (5x5-new-game, 5x5-randomize):
10238 Reset 5x5-solver-output to nil when a new grid is cast.
10239 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10240 these debugging traces, as defmacro breaks the compiled code.
10241
10242 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10243
10244 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10245
10246 2011-05-24 Leo Liu <sdl.web@gmail.com>
10247
10248 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10249 (vc-bzr-sha1): Adapt.
10250
10251 * sha1.el: Remove. Function `sha1' is now builtin.
10252
10253 * bindings.el: Provide sha1 feature.
10254
10255 2011-05-24 Kenichi Handa <handa@m17n.org>
10256
10257 * mail/sendmail.el: Require `rfc2047'.
10258 (mail-insert-from-field): Do not perform RFC2047 encoding.
10259 (mail-encode-header): New function.
10260 (sendmail-send-it): Set buffer-file-coding-system of the work
10261 buffer to the return value of select-message-coding-system.
10262 Call mail-encode-header.
10263
10264 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10265
10266 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10267
10268 * mail/supercite.el (sc-default-cite-frame):
10269 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10270
10271 2011-05-24 Glenn Morris <rgm@gnu.org>
10272
10273 * progmodes/python.el (brm-menu): Declare.
10274
10275 * emulation/viper.el (viper-set-hooks): Declare.
10276
10277 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10278 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10279 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10280 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10281 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10282 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10283
10284 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10285
10286 Add an :exit-function for completion-at-point.
10287
10288 * minibuffer.el (completion--done): New fun.
10289 (completion--do-completion): Use it. New arg `expect-exact'.
10290 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10291 since completion--do-completion does it for us now.
10292 (minibuffer-force-complete): Use completion--done and
10293 completion--replace. Handle sole-completion case with more care.
10294 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10295 (completion-extra-properties): New var.
10296 (completion-annotate-function): Make obsolete.
10297 (minibuffer-completion-help): Adjust accordingly.
10298 Use completion-list-insert-choice-function.
10299 (completion-at-point, completion-help-at-point):
10300 Bind completion-extra-properties.
10301 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10302 * simple.el (completion-list-insert-choice-function): New var.
10303 (completion-setup-function): Preserve it.
10304 (choose-completion): Pay attention to it, shuffle the code a bit.
10305 (choose-completion-string): New arg `insert-function'.
10306
10307 * textmodes/bibtex.el: Convert to lexical binding.
10308 (bibtex-mode-map): Use completion-at-point.
10309 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10310 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10311 (bibtex-complete): Define as obsolete alias.
10312 (bibtex-complete-internal): Remove.
10313 (bibtex-format-entry): Remove unused sub-group in regexp.
10314 * shell.el (shell--command-completion-data)
10315 (shell-environment-variable-completion):
10316 * pcomplete.el (pcomplete-completions-at-point):
10317 * comint.el (comint--complete-file-name-data): Use :exit-function
10318 instead of completion-table-with-terminator so it also works for
10319 choose-completion.
10320
10321 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10324
10325 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10326 (bug#8710).
10327
10328 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10329
10330 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10331
10332 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10333 customization variable and implement: If non-nil, auto-fill will
10334 be inhibited while on topic's header line.
10335
10336 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10337
10338 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10339 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10340 always have a solution in grid size = 5 cases.
10341 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10342 (5x5-solver-output, 5x5-log-buffer): New vars.
10343 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10344 Make these variables buffer local to achieve 5x5 multi-session-ness.
10345 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10346 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10347 (5x5-solve-suggest): New funs.
10348 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10349 randomize a grid so that we ensure that there is always a solution.
10350 (5x5-make-random-grid): Allow other movement than flipping.
10351
10352 2011-05-23 Kevin Ryde <user42@zip.com.au>
10353
10354 * emacs-lisp/advice.el (ad-read-advised-function):
10355 Use `function-called-at-point' as the default, if it has
10356 advice and passes PREDICATE.
10357
10358 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10361 byte-compile-lambda if it's actually a lambda.
10362
10363 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10364 Fix function quoting. Use backquote better.
10365
10366 2011-05-22 Yuanle Song <sylecn@gmail.com>
10367
10368 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10369 matching (Bug#8516).
10370
10371 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10372
10373 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10374 different face (Bug#8178).
10375
10376 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10377
10378 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10379 defface (Bug#8144).
10380
10381 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10382
10383 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10384 funcall as well (bug#8712). Warn when performing those conversions.
10385 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10386
10387 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10388
10389 2011-05-22 Glenn Morris <rgm@gnu.org>
10390
10391 * files.el (hack-local-variables-prop-line): Small simplifications.
10392 (hack-local-variables, hack-local-variables-prop-line):
10393 If MODE-ONLY, return the mode, rather than just `t'.
10394
10395 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10396
10397 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10398
10399 2011-05-21 Glenn Morris <rgm@gnu.org>
10400
10401 * files.el (hack-local-variables-prop-line, hack-local-variables):
10402 If only interested in the mode, don't bother doing the other stuff.
10403
10404 * image-mode.el (image-after-revert-hook):
10405 Redraw all frames on which the image is visible. (Bug#8567)
10406
10407 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10408
10409 * wid-edit.el (widget-checklist-match-inline):
10410 Fix 2011-04-19 change. (Bug#8649)
10411
10412 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10415 Also allow singlespace after single-letter capitals followed by a dot.
10416
10417 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10418 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10419
10420 2011-05-20 Nix <nix@esperi.org.uk>
10421
10422 * files.el (basic-save-buffer-2):
10423 Fix handling of break-hardlink-on-save with non-existent files.
10424
10425 2011-05-19 Deniz Dogan <deniz@dogan.se>
10426
10427 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10428 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10429
10430 2011-05-19 Glenn Morris <rgm@gnu.org>
10431
10432 * progmodes/f90.el (f90-type-def-re):
10433 Handle "type, bind(c)". (Bug#8691)
10434
10435 * emacs-lisp/autoload.el (batch-update-autoloads):
10436 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10437
10438 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10439
10440 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10441 property for the correct connection in case of multihops.
10442
10443 2011-05-18 Glenn Morris <rgm@gnu.org>
10444
10445 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10446 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10447
10448 Rationalize calendar handling of day and month abbrev-arrays.
10449 * calendar/calendar.el (calendar-customized-p): New function.
10450 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10451 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10452 Add :set function.
10453 (calendar-abbrev-length, calendar-day-abbrev-array)
10454 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10455 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10456 Elements may no longer be nil.
10457 (calendar-day-name, calendar-month-name):
10458 Update for changed nature of abbrev arrays.
10459 * calendar/diary-lib.el (diary-name-pattern):
10460 Update for changed nature of abbrev arrays.
10461 (diary-mark-entries-1): Update calendar-make-alist calls.
10462 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10463 * calendar/cal-html.el (cal-html-day-abbrev-array):
10464 Simply inherit from calendar-day-abbrev-array.
10465
10466 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * progmodes/grep.el (grep-mode): Disable default
10469 compilation-directory-matcher setting (bug#8684).
10470
10471 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10472
10473 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10474 instead of "head" and "tail". There were problems with SunOS 5.9,
10475 and it performs better.
10476
10477 2011-05-17 Glenn Morris <rgm@gnu.org>
10478
10479 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10480
10481 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10482 Replace obsolete function.
10483
10484 * shell.el (pcomplete-parse-arguments-function): Declare.
10485
10486 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10487 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10488 (appt-check): Doc fixes.
10489 (appt-disp-window-function, appt-delete-window-function):
10490 Remove needless special case in custom :type.
10491 (appt-display-count): Default to 0, not nil.
10492 (appt-check): Reset appt-display-count to 0, not nil.
10493
10494 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10495
10496 * progmodes/python.el (python-font-lock-keywords):
10497 Add the Python 3.X keyword "nonlocal" (bug#8639).
10498
10499 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10502
10503 2011-05-16 Kevin Ryde <user42@zip.com.au>
10504
10505 * info-look.el (makefile-automake-mode): New setups, looking in
10506 automake manual, then makefile-mode.
10507 (makefile-mode): Remove automake manual, have it just in
10508 makefile-automake-mode since there's various things different or
10509 not relevant to plain make.
10510 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10511 believe a hypothetical automake-mode would go to makefile-mode,
10512 not the other way around.
10513
10514 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10515
10516 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10517 hunk-end tags (Bug#8672).
10518
10519 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10520 vc-annotate-show-diff-revision-at-line (Bug#8671).
10521
10522 2011-05-14 Glenn Morris <rgm@gnu.org>
10523
10524 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10525 in the middle of an existing one with multiple authors. (Bug#8645)
10526 (change-log-font-lock-keywords): Also handle multiple author lines
10527 with leading tabs. (Bug#8644)
10528
10529 * calendar/appt.el (appt-check): Rename some local variables.
10530 Some simplification/reordering.
10531
10532 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10533 (feedmail-sendmail-f-doesnt-sell-me-out)
10534 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10535 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10536 (feedmail-queue-runner-message-sender): Set :version.
10537 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10538 (bbdb-dwim-net-address, vm-mail): Declare.
10539 (feedmail-binmail-gnulinuxish-template):
10540 Rename from feedmail-binmail-linuxish-template.
10541 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10542 Use insert-buffer-substring.
10543
10544 2011-05-14 Bill Carpenter <bill@carpenter.org>
10545
10546 * mail/feedmail.el (feedmail-patch-level): Increase.
10547 (feedmail-debug): New custom group.
10548 (feedmail-confirm-outgoing-timeout)
10549 (feedmail-sendmail-f-doesnt-sell-me-out)
10550 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10551 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10552 (feedmail-sender-line, feedmail-from-line)
10553 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10554 (feedmail-spray-this-address)
10555 (feedmail-spray-address-fiddle-plex-list)
10556 (feedmail-queue-use-send-time-for-date)
10557 (feedmail-queue-use-send-time-for-message-id)
10558 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10559 (feedmail-buffer-eating-function):
10560 Doc fixes.
10561 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10562 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10563 (feedmail-message-action-scroll-down): New functions.
10564 (feedmail-queue-directory, feedmail-queue-draft-directory):
10565 Use expand-file-name.
10566 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10567 Remove C-v help entry.
10568 (feedmail-queue-buffer-file-name): New variable.
10569 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10570 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10571 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10572 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10573 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10574 (feedmail-message-action-toggle-spray)
10575 (feedmail-run-the-queue-no-prompts)
10576 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10577 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10578 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10579 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10580 (feedmail-envelope-deducer, feedmail-fiddle-from)
10581 (feedmail-fiddle-sender, feedmail-default-date-generator)
10582 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10583 (feedmail-fiddle-spray-address)
10584 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10585 (feedmail-fiddle-list-of-fiddle-plexes)
10586 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10587 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10588 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10589 Change default. Doc fix.
10590 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10591 (feedmail-binmail-linuxish-template): New constant.
10592 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10593 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10594 (feedmail-send-it): Add debug call.
10595 Use feedmail-queue-buffer-file-name, and
10596 feedmail-send-it-immediately-wrapper.
10597 (feedmail-message-action-send): Add debug call.
10598 Use feedmail-send-it-immediately-wrapper.
10599 (feedmail-queue-express-to-queue): Add debug call.
10600 Run feedmail-queue-express-hook.
10601 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10602 (feedmail-message-action-help-blat):
10603 Rename from feedmail-queue-send-edit-prompt-help-first.
10604 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10605 Check line-endings. Handle errors better.
10606 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10607 Doc fix. Add debug call.
10608 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10609 Use feedmail-queue-send-edit-prompt-inner.
10610 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10611 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10612 from feedmail-queue-send-edit-prompt.
10613 (feedmail-queue-send-edit-prompt-help)
10614 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10615 (feedmail-tidy-up-slug): Add debug call.
10616 Respect feedmail-queue-slug-suspect-regexp.
10617 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10618 (feedmail-dump-message-to-queue): Add debug call.
10619 Expand queue-directory.
10620 (feedmail-dump-message-to-queue): Change message slightly.
10621 Use feedmail-say-chatter.
10622 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10623 (feedmail-send-it-immediately-wrapper): New function.
10624 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10625 Insert empty string rather than newline. Handle full-frame case.
10626 Use catch/throw. Use feedmail-say-chatter.
10627 (feedmail-fiddle-from): Try mail-host-address.
10628 (feedmail-default-message-id-generator): Doc fix.
10629 Bind system-time-locale. Handle missing end.
10630 (feedmail-fiddle-x-mailer): Add debug call.
10631 Handle feedmail-x-mailer-line being nil.
10632 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10633 Add debug call. Use buffer-substring-no-properties.
10634 (feedmail-say-debug, feedmail-say-chatter): New functions.
10635 (feedmail-find-eoh): Give an explicit error.
10636
10637 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10638
10639 * net/newst-treeview.el (newsticker-treeview-face): Change default
10640 family from helvetica to sans.
10641 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10642 etc/images/newsticker.
10643
10644 * net/newst-reader.el (newsticker-feed-face): Change default
10645 family from helvetica to sans.
10646
10647 * net/newst-plainview.el (newsticker-new-item-face)
10648 (newsticker-old-item-face, newsticker-immortal-item-face)
10649 (newsticker-obsolete-item-face, newsticker-date-face)
10650 (newsticker-statistics-face): Change default family from
10651 helvetica to sans.
10652 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10653 etc/images/newsticker.
10654
10655 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10656 (newsticker--process-auto-mark-filter-match): : Tell user about
10657 auto-marking.
10658
10659 2011-05-13 Didier Verna <didier@xemacs.org>
10660
10661 Common Lisp indentation improvements on defmethod and lambda-lists.
10662 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10663 TODO entries.
10664 (lisp-lambda-list-keyword-parameter-indentation)
10665 (lisp-lambda-list-keyword-parameter-alignment)
10666 (lisp-lambda-list-keyword-alignment): New customizable user options.
10667 (lisp-indent-defun-method): Improve docstring.
10668 (extended-loop-p): Fix comment.
10669 (lisp-indent-lambda-list-keywords-regexp): New variable.
10670 (lisp-indent-lambda-list): New function.
10671 (lisp-indent-259): Use it.
10672 (lisp-indent-defmethod): Support for more than one
10673 method qualifier and properly indent methods lambda-lists.
10674 (defgeneric): Provide a missing common-lisp-indent-function property.
10675
10676 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10677
10678 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10679 bounds for the empty string (bug#8667).
10680
10681 2011-05-13 Glenn Morris <rgm@gnu.org>
10682
10683 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10684
10685 * mail/sendmail.el (sendmail-program): Try executable-find first.
10686 (sendmail-send-it): `sendmail-program' cannot be unbound.
10687
10688 * calendar/appt.el (appt-make-list): Simplify.
10689 (appt-time-msg-list): Doc fix.
10690 (appt-check): Change mode-line message at the time of the appointment.
10691
10692 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10693
10694 * progmodes/ld-script.el (ld-script-keywords)
10695 (ld-script-builtins): Update keywords list.
10696
10697 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10700
10701 * shell.el (shell-completion-vars): New function.
10702 (shell-mode):
10703 * simple.el (read-shell-command): Use it.
10704 (blink-matching-open): No need for " [...]" in minibuffer-message.
10705
10706 2011-05-12 Glenn Morris <rgm@gnu.org>
10707
10708 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10709 (appt-check): Simplify.
10710
10711 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10712
10713 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10714 literal "/dev/null".
10715
10716 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10717
10718 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10719 Fix typo.
10720
10721 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10722
10723 * progmodes/which-func.el (which-function):
10724 Use add-log-current-defun instead of add-log-current-defun-function,
10725 which might not be defined (Bug#8260).
10726
10727 2011-05-12 Glenn Morris <rgm@gnu.org>
10728
10729 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10730 Let byte-compile-initial-macro-environment always take precedence.
10731
10732 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10733
10734 * net/rcirc.el: Add support for SSL/TLS connections.
10735 (rcirc-server-alist): New field `encryption'.
10736 (rcirc): Check `encryption' settings.
10737 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10738 Merge make-local-variable into `set'.
10739 (rcirc--connection-open-p): New function.
10740 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10741 the process is not a network process (e.g. running gnutls-cli).
10742 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10743 Make rcirc-(en|de)code-coding-system local here.
10744 (rcirc-mode): Merge make-local-variable into `set'.
10745 (rcirc-parent-buffer): Make permanent buffer-local.
10746 (rcirc-multiline-minor-mode): Don't do it here.
10747 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10748 there's no server buffer.
10749
10750 2011-05-11 Glenn Morris <rgm@gnu.org>
10751
10752 * newcomment.el (comment-kill): Prefix "unused" local.
10753
10754 * term/w32console.el (get-screen-color): Declare.
10755
10756 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10757 Handle symbol elements of byte-compile-initial-macro-environment.
10758
10759 2011-05-10 Leo Liu <sdl.web@gmail.com>
10760
10761 * bookmark.el (bookmark-bmenu-mode-map):
10762 Bind bookmark-bmenu-search to `/'.
10763
10764 * mail/footnote.el: Convert to utf-8 encoding.
10765 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10766 (Footnote-unicode): New function.
10767 (footnote-style-alist): Add unicode style to the list.
10768 (footnote-style): Doc fix.
10769
10770 2011-05-10 Jim Meyering <meyering@redhat.com>
10771
10772 Fix doubled-word typos.
10773 * international/quail.el (quail-insert-kbd-layout): and and -> and
10774 * kermit.el: and and -> and
10775 * net/ldap.el (ldap-search-internal): to to -> to
10776 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10777 * progmodes/js.el (js-mode): and and -> and
10778 * textmodes/artist.el (artist-move-to-xy): at at -> at
10779 (artist-draw-region-trim-line-endings): if if -> if
10780 And Safetyc -> Safety.
10781 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10782
10783 2011-05-10 Glenn Morris <rgm@gnu.org>
10784 Stefan Monnier <monnier@iro.umontreal.ca>
10785
10786 * files.el (hack-one-local-variable-eval-safep):
10787 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10788
10789 2011-05-10 Glenn Morris <rgm@gnu.org>
10790
10791 * calendar/diary-lib.el (diary-list-entries-hook)
10792 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10793 (diary-nongregorian-marking-hook, diary-list-entries)
10794 (diary-include-other-diary-files, diary-mark-entries)
10795 (diary-mark-included-diary-files): Doc fixes.
10796
10797 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10798
10799 * misc.el: Require tabulated-list.el during compilation.
10800
10801 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10802
10803 * progmodes/compile.el (compilation-start):
10804 Run compilation-filter-hook for the async case too.
10805 (compilation-filter-hook): Doc fix.
10806
10807 2011-05-09 Deniz Dogan <deniz@dogan.se>
10808
10809 * wdired.el: Remove outdated installation comment. Fix usage
10810 comment.
10811
10812 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10813
10814 * misc.el: Implement new command `list-dynamic-libraries'.
10815 (list-dynamic-libraries--loaded-only-p): New variable.
10816 (list-dynamic-libraries--refresh): New function.
10817 (list-dynamic-libraries): New command.
10818
10819 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10820
10821 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10822 Fix the ant regexp to handle end-line and end-column info from jikes.
10823 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10824 higher priority to avoid clobbering by gnu.
10825
10826 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10827
10828 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10829 if the face has existing theme settings (Bug#8454).
10830
10831 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10832
10833 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10834 Only match variables declared via `my' or `our' (Bug#8261).
10835
10836 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10837 special file names `.' and `..' (Bug#8259).
10838
10839 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10840
10841 * progmodes/grep.el (grep-mode-font-lock-keywords):
10842 Remove buffer-changing entries.
10843 (grep-filter): New function.
10844 (grep-mode): Add it to compilation-filter-hook.
10845
10846 * progmodes/compile.el (compilation-filter-hook)
10847 (compilation-filter-start): New defvars.
10848 (compilation-filter): Call compilation-filter-hook prior to
10849 updating the process mark.
10850
10851 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10854
10855 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10856
10857 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10858 mailclient-send-it even if window-system is nil. (Bug#8595)
10859
10860 * term/w32console.el (terminal-init-w32console):
10861 Call get-screen-color and use its output to set the frame
10862 background-mode. (Bug#8597)
10863
10864 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10867 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10868 New functions.
10869 (defgeneric, eieio--defmethod): Use them.
10870 (eieio-defgeneric): Remove.
10871 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10872
10873 2011-05-07 Glenn Morris <rgm@gnu.org>
10874
10875 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10876 Use let rather than let*.
10877 (timeclock-find-discrep): Remove unused local.
10878
10879 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10880
10881 * calendar/appt.el (appt-time-msg-list): Doc fix.
10882
10883 2011-05-06 Noah Friedman <friedman@splode.com>
10884
10885 * apropos.el (apropos-print-doc): Only use
10886 emacs-lisp-docstring-fill-column when it is bound to an integer,
10887 per that variable's documentation.
10888
10889 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10892 and warnings are not silently discarded (e.g. use -d instead of -P).
10893
10894 2011-05-06 Glenn Morris <rgm@gnu.org>
10895
10896 * calendar/appt.el (appt-message-warning-time): Doc fix.
10897 (appt-warning-time-regexp): New option.
10898 (appt-make-list): Respect appt-message-warning-time.
10899
10900 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10901 New options.
10902 (diary-add-to-list): Strip comments from the displayed string.
10903 (diary-mode): Set comment-start and comment-end.
10904
10905 * vc/diff-mode.el (smerge-refine-subst): Declare.
10906 (diff-refine-hunk): Don't require smerge-mode when compiling.
10907
10908 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10909
10910 * simple.el (list-processes): Return nil as the docstring says.
10911
10912 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10913
10914 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10915 to "".
10916 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10917 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10918 determining of binary transfer. (Bug#7383)
10919
10920 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10921
10922 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10923 Fix port computation bug. (Bug#8618)
10924
10925 2011-05-05 Glenn Morris <rgm@gnu.org>
10926
10927 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10928
10929 * simple.el (shell-dynamic-complete-functions)
10930 (comint-dynamic-complete-functions): Declare.
10931
10932 * net/network-stream.el (gnutls-negotiate):
10933 * simple.el (tabulated-list-print): Fix declarations.
10934
10935 * progmodes/gud.el (syntax-symbol, syntax-point):
10936 Remove unnecessary and incorrect declarations.
10937
10938 * emacs-lisp/check-declare.el (check-declare-scan):
10939 Handle byte-compile-initial-macro-environment in bytecomp.el
10940
10941 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 Fix earlier half-done eieio-defmethod change (bug#8338).
10944 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10945 Streamline and change calling convention.
10946 (defmethod): Adjust accordingly and simplify.
10947 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10948 new eieio--defmethod.
10949 (slot-boundp): Minor CSE simplification.
10950
10951 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10952
10953 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10954 (glasses-make-readable): Use glasses-separate-capital-groups.
10955
10956 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10957
10958 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10959 (warning-series): Doc fix.
10960 (display-warning): Don't try to create the buffer if we just found it.
10961
10962 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10963
10964 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10965 (autoload-find-generated-file): New function.
10966 (generate-file-autoloads): Bind generated-autoload-file to
10967 buffer-file-name.
10968 (update-file-autoloads, update-directory-autoloads):
10969 Use autoload-find-generated-file. If called interactively, prompt for
10970 output file (Bug#7989).
10971 (batch-update-autoloads): Doc fix.
10972
10973 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10974
10975 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10976
10977 2011-05-04 Glenn Morris <rgm@gnu.org>
10978
10979 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10980 function, so it follows changes in calendar-date-style.
10981 (diary-fancy-date-matcher): New function.
10982 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10983 (diary-fancy-font-lock-fontify-region-function):
10984 Use diary-fancy-date-pattern as a function.
10985
10986 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10987 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10988
10989 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10990
10991 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10992 instead of positional arguments. Allow :keylist and :crlfiles
10993 arguments.
10994 (open-gnutls-stream): Call it.
10995
10996 * net/network-stream.el (network-stream-open-starttls): Adjust to
10997 call `gnutls-negotiate' with :process and :hostname arguments.
10998
10999 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11000
11001 * minibuffer.el (completion--message): New function.
11002 (completion--do-completion, minibuffer-complete)
11003 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11004 (completion--do-completion): Don't ignore completion-auto-help when in
11005 icomplete-mode.
11006
11007 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11008 internal encoding (e.g. tibetan zero is not whitespace).
11009 (global-whitespace-mode): Prefer save-current-buffer.
11010 (whitespace-trailing-regexp): Remove useless save-match-data.
11011 (whitespace-empty-at-bob-regexp): Minor simplification.
11012
11013 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11014
11015 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11016
11017 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11018
11019 * textmodes/ispell.el (ispell-add-per-file-word-list):
11020 Use `concat' to create string for insertion.
11021
11022 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11025 Avoid open-line which runs post-self-insert-hook.
11026 (bibtex-fill-entry): Remove unused `end' var.
11027
11028 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11029
11030 * textmodes/ispell.el (ispell-add-per-file-word-list):
11031 Protect against `nil' value of `comment-start' (Bug#8579).
11032
11033 2011-05-03 Leo Liu <sdl.web@gmail.com>
11034
11035 * isearch.el (isearch-yank-pop): New command.
11036 (isearch-mode-map): Bind it to `M-y'.
11037 (isearch-forward): Mention it.
11038
11039 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * simple.el (minibuffer-complete-shell-command): Remove.
11042 (minibuffer-local-shell-command-map): Use completion-at-point.
11043 (read-shell-command): Setup completion vars here instead.
11044 (read-expression-map): Bind TAB to symbol completion.
11045
11046 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11047 error directly rather via storing it into `results'.
11048
11049 2011-05-02 Leo Liu <sdl.web@gmail.com>
11050
11051 * vc/diff.el: Fix description.
11052
11053 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11054
11055 * server.el (server-eval-at): New function.
11056
11057 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11058
11059 * net/network-stream.el (open-network-stream): Take a :nowait
11060 parameter and pass it on to `make-network-process'.
11061 (network-stream-open-plain): Ditto.
11062
11063 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11064
11065 * faces.el (face-spec-set-match-display): Don't match toolkit
11066 options on terminal frames.
11067
11068 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11069
11070 * progmodes/pascal.el: Use lexical binding.
11071 (pascal-mode-map): Remove author preferences.
11072
11073 * pcomplete.el (pcomplete-std-complete): Don't abuse
11074 completion-at-point.
11075
11076 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11077
11078 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11079 removing code that has been dead since 1991 or so.
11080
11081 * startup.el (command-line): When warning about "_emacs", use a
11082 delayed warning to allow the user to filter it out.
11083
11084 2011-04-28 Deniz Dogan <deniz@dogan.se>
11085
11086 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11087 user has not joined.
11088
11089 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11092 aren't any completions at point.
11093
11094 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11095
11096 * subr.el (display-delayed-warnings): New function.
11097 (delayed-warnings-hook): New variable.
11098
11099 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11100
11101 * minibuffer.el (completion-at-point, completion-help-at-point):
11102 Don't presume that a given completion-at-point-function will always
11103 use the same calling convention.
11104
11105 * pcomplete.el (pcomplete-completions-at-point):
11106 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11107 pcomplete-seen is non-nil.
11108 (pcomplete-comint-setup): Also recognize the new comint/shell
11109 completion functions.
11110 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11111 pcomplete-seen is non-nil.
11112
11113 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11114
11115 * calendar/icalendar.el (diary-lib): Add require statement.
11116 (icalendar--create-uid): Read out a uid from a text-property on
11117 the first character in the entry. This allows for code to add its
11118 own uid to the entry.
11119 (icalendar--convert-float-to-ical): Add export of
11120 `diary-float'-entries save for those with the optional DAY
11121 argument.
11122
11123 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11124
11125 * subr.el (shell-quote-argument): Use alternate escaping strategy
11126 when we spot a variable reference in a string.
11127
11128 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11129
11130 * cus-start.el (all): Define customization for debug-on-event.
11131
11132 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11133
11134 * subr.el (shell-quote-argument): Escape correctly under Windows.
11135
11136 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11137
11138 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11139
11140 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11141
11142 * net/tramp.el (tramp-process-actions): Add POS argument.
11143 Delete region between POS and (pos).
11144
11145 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11146 Use `nil' position in `tramp-process-actions' call.
11147 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11148
11149 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11150 position in `tramp-process-actions' call.
11151
11152 * net/trampver.el: Update release number.
11153
11154 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11155
11156 * custom.el (defcustom): Obey lexical-binding.
11157
11158 Fix octave-inf completion problems reported by Alexander Klimov.
11159 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11160 Inherit from octave-mode-syntax-table.
11161 (inferior-octave-mode): Set info-lookup-mode.
11162 (inferior-octave-completion-at-point): New function.
11163 (inferior-octave-complete): Use it and completion-in-region.
11164 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11165 comint-filename-completion.
11166 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11167 symbol elements which shouldn't be word elements.
11168 (octave-font-lock-keywords, octave-beginning-of-defun)
11169 (octave-function-header-regexp): Adjust regexps accordingly.
11170 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11171
11172 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11173
11174 * net/gnutls.el (gnutls-errorp): Declare before first use.
11175
11176 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11177
11178 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11179 verify-error, and verify-hostname-error parameters. Check whether
11180 default trustfile exists before going to use it. Add missing
11181 argument to gnutls-message-maybe call. Return value.
11182 Reported by Claudio Bley <claudio.bley@gmail.com>.
11183 (open-gnutls-stream): Add usage example.
11184
11185 * net/network-stream.el (network-stream-open-starttls): Give host
11186 parameter to `gnutls-negotiate'.
11187 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11188 * subr.el (shell-quote-argument): Escape correctly under Windows.
11189
11190 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11191
11192 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11193 Use correct match group (bug#8438).
11194
11195 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11196
11197 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11198 (package-menu--generate): New arg specifying packages to show.
11199 (package-menu-refresh, package-menu-execute, list-packages):
11200 Callers changed.
11201 (package-show-package-list): New function, replacing deleted
11202 package--list-packages (renamed because it is non-internal).
11203
11204 * finder.el (finder-list-matches): Use package-show-package-list
11205 instead of deleted package--list-packages.
11206
11207 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11208 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11209 (vc-annotate-mode-map): Bind it to RET.
11210
11211 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11212
11213 * progmodes/etags.el (next-file): Don't use set-buffer to change
11214 buffers (Bug#8478).
11215
11216 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11217
11218 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11219
11220 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11221 (apropos-accumulator): Doc fix.
11222 (apropos-function, apropos-macro, apropos-command)
11223 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11224 (apropos-plist): Add face property.
11225 (apropos-symbols-internal): Fix indentation.
11226 (apropos-print): Simplify help, and recognize apropos-multi-type.
11227 (apropos-print-doc): Use button-type-get to extract the button's
11228 face property. Fill docstring (Bug#8352).
11229
11230 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11231
11232 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11233
11234 * play/mpuz.el (mpuz-silent): Doc fix.
11235 (mpuz-mode-map): Use mapc.
11236 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11237 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11238 Fix typos in docstrings.
11239
11240 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11241 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11242
11243 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11244
11245 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11246
11247 * minibuffer.el (completion--do-completion): Avoid the "Next char
11248 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11249
11250 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11251 mouse-2 into unread-command-events, it is interpreted correctly.
11252
11253 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11254 (image-toggle-display): Doc fix.
11255
11256 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11257
11258 * textmodes/page.el (what-page): Use line-number-at-pos to
11259 calculate line number (Bug#6825).
11260
11261 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11262
11263 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11264 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11265 Pass argument NO-DEFAULT to `find-tag-interactive'.
11266
11267 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11268
11269 Lexical-binding cleanup.
11270
11271 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11272 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11273 * progmodes/ada-prj.el (ada-prj-initialize-values)
11274 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11275 (ada-prj-show-value):
11276 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11277 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11278 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11279 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11280 * progmodes/bug-reference.el (bug-reference-push-button):
11281 * progmodes/fortran.el (fortran-line-length):
11282 * progmodes/glasses.el (glasses-change):
11283 * progmodes/octave-mod.el (octave-fill-paragraph):
11284 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11285 (python-pdbtrack-grub-for-buffer, python-sentinel):
11286 * progmodes/sql.el (sql-save-connection):
11287 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11288 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11289 Mark unused parameters.
11290
11291 * progmodes/compile.el (compilation--flush-directory-cache)
11292 (compilation--flush-parse, compile-internal): Mark unused parameters.
11293 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11294 (compilation-next-error-function): Remove unused variable `timestamp'.
11295
11296 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11297 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11298
11299 * progmodes/dcl-mode.el (dcl-end-of-command):
11300 Remove unused variable `start'.
11301 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11302 (dcl-option-value-basic, dcl-option-value-offset)
11303 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11304 Mark unused parameters.
11305 (dcl-save-local-variable): Remove unused variable `val'.
11306 (mode): Declare.
11307
11308 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11309 Mark unused parameters.
11310 (delphi-ignore-changes): Move before first use.
11311 (delphi-charset-token-at): Remove unused variable `start'.
11312 (delphi-else-start): Remove unused variable `if-count'.
11313 (delphi-comment-block-start, delphi-comment-block-end):
11314 Remove unused variable `kind'.
11315 (delphi-indent-line): Remove unused variable `new-point'.
11316
11317 * progmodes/ebrowse.el (ebrowse-files-list)
11318 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11319 Mark unused parameters. Don't quote `lambda'.
11320 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11321 Don't quote `lambda'.
11322 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11323 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11324 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11325 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11326 Use `ignore-errors'.
11327 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11328 (ebrowse-view/find-file-and-search-pattern)
11329 (ebrowse-view/find-member-declaration/definition):
11330 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11331 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11332 Rename parameter PREFIX-ARG to PREFIX.
11333 (ebrowse-tags-read-name): Remove unused variables `start' and
11334 `member-info'.
11335 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11336 to `tags-file'.
11337
11338 * progmodes/etags.el (local-find-tag-hook): Declare.
11339 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11340 Mark unused parameters.
11341
11342 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11343 (executable-interpret): Mark unused parameter.
11344
11345 * progmodes/flymake.el (flymake-process-sentinel)
11346 (flymake-after-change-function)
11347 (flymake-create-temp-with-folder-structure)
11348 (flymake-get-include-dirs-dot): Mark unused parameters.
11349 (flymake-safe-delete-directory): Remove unused variable `err'.
11350
11351 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11352 (speedbar-timer-fn, speedbar-line-text)
11353 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11354 (speedbar-center-buffer-smartly): Declare functions.
11355 (gdb-find-watch-expression): Remove unused variable `array'.
11356 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11357 (gdb-starting): Mark unused parameters.
11358 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11359 (gdb-table-string): Remove unused variable `res'.
11360 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11361 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11362 (gdb-display-buffer): Remove unused variable `cur-size'.
11363
11364 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11365 allow lexical-binding compilation.
11366 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11367 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11368 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11369 Mark unused parameters.
11370 (gud-gdb-marker-filter): Remove unused variable `match'.
11371 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11372 lambda expressions and funcall them, instead of using `fset'.
11373
11374 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11375 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11376
11377 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11378 variable `header-beg'; use `let'.
11379
11380 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11381 `restart', `last-sexp' and `at-do'.
11382
11383 * progmodes/js.el (js--debug): Mark unused parameter.
11384 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11385 (js--splice-into-items): Remove unused variable `item'.
11386 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11387
11388 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11389 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11390 (makefile-complete): Remove unused variable `try'.
11391 (makefile-fill-paragraph, makefile-match-function-end):
11392 Mark unused parameters.
11393
11394 * progmodes/octave-inf.el (inferior-octave-complete):
11395 Remove unused variable `proc'.
11396 (inferior-octave-output-digest): Mark unused parameter.
11397
11398 * progmodes/perl-mode.el (perl-calculate-indent):
11399 Remove unused variable `err'.
11400
11401 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11402 (prolog-indent-line): Mark unused parameters.
11403 (prolog-indent-line): Remove unused variable `beg'.
11404
11405 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11406 (reporter-dont-compact-list): Declare.
11407
11408 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11409 Remove unused variable `char'.
11410 (sh-debug): Mark unused parameter.
11411 (sh-get-indent-info): Remove unused variable `start'.
11412 (sh-calculate-indent): Remove unused variable `var'.
11413
11414 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11415 (simula-electric-keyword): Remove unused variable `null'.
11416 (simula-search-backward, simula-search-forward): Remove unused
11417 variables `begin' and `end'.
11418
11419 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11420 Remove unused variable `pos'.
11421 (vera-electric-tab, vera-comment-uncomment-region):
11422 Mark unused parameters.
11423 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11424
11425 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11426
11427 * emacs-lisp/package.el (package--builtins, package-alist)
11428 (package-load-descriptor, package-built-in-p, package-activate)
11429 (define-package, package-installed-p)
11430 (package-compute-transaction, package-buffer-info)
11431 (package--push): Doc fix. Distinguish more clearly between
11432 version strings and version lists.
11433
11434 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11435
11436 Lexical-binding cleanup.
11437
11438 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11439 (5x5-make-mutate-best):
11440 * play/fortune.el (fortune-in-buffer):
11441 * play/gomoku.el (gomoku-init-display):
11442 * play/solitaire.el (solitaire, solitaire-do-check):
11443 * play/tetris.el (tetris-default-update-speed-function):
11444 Mark unused parameters.
11445
11446 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11447 (bubbles--shift): Remove unused variable `char-org'.
11448 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11449 (bubbles--show-images): Remove unused variable `char'.
11450
11451 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11452 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11453 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11454 (decipher-analyze-buffer): Use ?\s.
11455 (decipher-make-checkpoint): Remove unused variable `mapping'.
11456
11457 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11458
11459 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11460 Remove unused variable `result'; use `let'.
11461
11462 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11463 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11464 (gametree-children-shown-p, gametree-compute-reduced-score):
11465 Use `ignore-errors'.
11466
11467 * play/handwrite.el (ps-lpr-switches): Declare.
11468 (handwrite): Remove unused variables `pmin' and `lastp'.
11469
11470 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11471
11472 * play/landmark.el (landmark-init-display)
11473 (landmark-update-naught-weights): Mark unused parameters.
11474 (landmark-y): Remove unused variable `noise'. Simplify.
11475 (landmark-human-plays): Remove unused variable `score'.
11476
11477 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11478 (mpuz-try-proposal): Remove unused variable `game'.
11479
11480 * play/zone.el (life-patterns): Declare.
11481
11482 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11483
11484 * vc/vc.el (ediff-vc-internal): Declare function.
11485
11486 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11487
11488 * shell.el: Use lexical-binding and std completion UI.
11489 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11490 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11491 comint-preoutput-filter-functions rather than on
11492 comint-output-filter-functions.
11493 (shell-command-completion, shell--command-completion-data)
11494 (shell-filename-completion, shell-environment-variable-completion)
11495 (shell-c-a-p-replace-by-expanded-directory): New functions.
11496 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11497 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11498 (shell-dynamic-complete-environment-variable): Use them.
11499 (shell-dynamic-complete-as-environment-variable)
11500 (shell-dynamic-complete-as-command): Remove.
11501 (shell-match-partial-variable): Match past point.
11502 * comint.el: Clean up use of completion-at-point-functions.
11503 (comint-completion-at-point): New function.
11504 (comint-mode): Use it completion-at-point-functions.
11505 (comint-dynamic-complete): Make it obsolete.
11506 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11507 (comint-c-a-p-replace-by-expanded-history): New function.
11508 (comint-dynamic-complete-functions)
11509 (comint-replace-by-expanded-history): Use it.
11510 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11511 termination strings. Try harder to avoid second try-completion.
11512 (completion-in-region-mode-map): Disable bindings that don't work yet.
11513
11514 * comint.el: Use lexical-binding. Require CL.
11515 (comint-dynamic-complete-functions): Use comint-filename-completion.
11516 (comint-completion-addsuffix): Tweak custom type.
11517 (comint-filename-completion, comint--common-suffix)
11518 (comint--common-quoted-suffix, comint--table-subvert)
11519 (comint--complete-file-name-data): New functions.
11520 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11521 (comint-dynamic-list-filename-completions): Use them.
11522 (comint-dynamic-simple-complete): Make obsolete.
11523
11524 * minibuffer.el (completion-in-region-mode):
11525 Keep completion-in-region-mode--predicate global.
11526 (completion-in-region--postch):
11527 Assume completion-in-region-mode--predicate is not null.
11528
11529 * progmodes/flymake.el (flymake-start-syntax-check-process):
11530 Obey `dir'. Simplify.
11531
11532 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11533 we're in VC after all.
11534
11535 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11536
11537 * vc/vc.el (vc-diff-build-argument-list-internal)
11538 (vc-version-ediff, vc-ediff): New commands.
11539 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11540
11541 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11542
11543 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11544 add sanity check.
11545
11546 * obsolete/erc-hecomplete.el: Make obsolete.
11547 * obsolete/: Standardize obsolescence info in the header.
11548
11549 2011-04-20 Glenn Morris <rgm@gnu.org>
11550
11551 * calendar/solar.el (solar-horizontal-coordinates):
11552 Use the longitude argument rather than `calendar-longitude'.
11553 (solar-date-next-longitude): Remove unused locals.
11554
11555 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11556
11557 * whitespace.el: New version 13.2.1.
11558
11559 2011-04-20 felix <EmacsWiki> (tiny change)
11560
11561 * whitespace.el (global-whitespace-mode): Keep highlight when
11562 switching between major modes on a file.
11563
11564 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11565
11566 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11567 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11568 multi-line comments as well.
11569
11570 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11571
11572 Lexical-binding cleanup.
11573
11574 * arc-mode.el (archive-mode-revert):
11575 * cmuscheme.el (scheme-interactively-start-process):
11576 * custom.el (custom-initialize-delay):
11577 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11578 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11579 * emacs-lock.el (emacs-lock-clear-sentinel):
11580 * ezimage.el (defezimage):
11581 * follow.el (follow-avoid-tail-recenter):
11582 * fringe.el (set-fringe-mode-1):
11583 * generic-x.el (bat-generic-mode-compile):
11584 * help-mode.el (help-info-variable, help-do-xref)
11585 (help-mode-revert-buffer):
11586 * help.el (view-emacs-todo):
11587 * iswitchb.el (iswitchb-completion-help):
11588 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11589 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11590 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11591 * locate.el (locate-update):
11592 * longlines.el (longlines-encode-region)
11593 (longlines-after-change-function):
11594 * outline.el (outline-isearch-open-invisible):
11595 * ps-def.el (declare-function, charset-dimension, char-width)
11596 (encode-char):
11597 * ps-mule.el (ps-mule-plot-string):
11598 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11599 (recentf-edit-list-select, recentf-edit-list-validate)
11600 (recentf-open-files-action):
11601 * rect.el (delete-whitespace-rectangle-line)
11602 (rectangle-number-line-callback):
11603 * register.el (window-configuration-to-register)
11604 (frame-configuration-to-register):
11605 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11606 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11607 (xselect-convert-to-targets, xselect-convert-to-delete)
11608 (xselect-convert-to-filename, xselect-convert-to-charpos)
11609 (xselect-convert-to-lineno, xselect-convert-to-colno)
11610 (xselect-convert-to-os, xselect-convert-to-host)
11611 (xselect-convert-to-user, xselect-convert-to-class)
11612 (xselect-convert-to-name, xselect-convert-to-integer)
11613 (xselect-convert-to-atom, xselect-convert-to-identity):
11614 * subr.el (declare, ignore, process-kill-without-query)
11615 (text-clone-maintain):
11616 * terminal.el (te-get-char, te-tic-sentinel):
11617 * tool-bar.el (tool-bar-make-keymap):
11618 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11619 * type-break.el (type-break-mode, type-break-noninteractive-query):
11620 * view.el (View-back-to-mark):
11621 * wid-browse.el (widget-browse-action, widget-browse-widget)
11622 (widget-browse-widgets, widget-browse-sexp):
11623 * widget.el (define-widget-keywords):
11624 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11625 Mark unused parameters.
11626
11627 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11628 (align-areas): Remove unused variable `look'.
11629 (align-region): Remove unused variables `real-end' and `pos-list'.
11630
11631 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11632
11633 * bindings.el (mode-line-modified, mode-line-remote):
11634 Mark unused parameters.
11635 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11636
11637 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11638 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11639
11640 * comint.el (comint-history-isearch-pop-state)
11641 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11642 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11643 (comint-substitute-in-file-name): Doc fix.
11644
11645 * completion.el (cmpl-statistics-block): Mark unused parameter.
11646 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11647 (save-completions-to-file, load-completions-from-file):
11648 Remove unused local variable `e'.
11649
11650 * composite.el (compose-chars): Remove unused variable `len'.
11651 (lgstring-insert-glyph): Remove unused variable `g'.
11652 (compose-glyph-string): Remove unused variables `ascent',
11653 `descent', `lbearing' and `rbearing'.
11654 (compose-glyph-string-relative): Remove unused variables
11655 `lbearing', `rbearing' and `wadjust'.
11656 (compose-gstring-for-graphic): Remove unused variables `header',
11657 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11658 (compose-gstring-for-terminal): Remove unused variables `header'
11659 and `nchars'. Use `let', not `let*'.
11660
11661 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11662 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11663 (Custom-buffer-done, custom-buffer-create-internal)
11664 (custom-browse-visibility-action, custom-browse-group-tag-action)
11665 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11666 (widget-magic-mouse-down-action, custom-toggle-parent)
11667 (custom-add-parent-links, custom-toggle-hide-variable)
11668 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11669 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11670 (custom-face-menu-create, custom-variable-menu-create, get)
11671 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11672 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11673 (customize-apropos): Remove unused variable `tests'.
11674 (custom-group-value-create): Remove unused variable `hidden-p'.
11675 (sort-fold-case): Declare.
11676
11677 * cus-theme.el (custom-reset-standard-faces-list)
11678 (custom-reset-standard-variables-list): Declare.
11679 (customize-create-theme, custom-theme-revert, custom-theme-write)
11680 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11681 Mark unused parameters.
11682
11683 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11684
11685 * delim-col.el (delimit-columns-max): Move defvar before first use.
11686
11687 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11688 (describe-char): Don't quote `lambda'. Mark unused parameter.
11689
11690 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11691 (auto-insert): Declare.
11692 (desktop-restore-file-buffer): Rename desktop-* parameters;
11693 mark unused ones.
11694 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11695 (desktop-buffer): Rename desktop-* parameters.
11696
11697 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11698 (dframe-reposition-frame-xemacs, dframe-help-echo)
11699 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11700 Mark unused parameters.
11701
11702 * dired-aux.el (backup-extract-version-start, overwrite-query)
11703 (overwrite-backup-query, rename-regexp-query)
11704 (rename-non-directory-query): Declare.
11705 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11706 (dired-add-entry): Remove unused variable `orig-file-name'.
11707 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11708 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11709 `dired-copy-preserve-time' directly.
11710 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11711 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11712
11713 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11714 (dired-virtual-revert, dired-make-relative-symlink):
11715 Mark unused parameters.
11716 (manual-program): Declare.
11717 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11718 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11719 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11720
11721 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11722
11723 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11724
11725 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11726 Declare.
11727
11728 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11729
11730 * electric.el (Electric-command-loop): Rename parameter
11731 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11732
11733 * expand.el (expand-in-literal): Remove unused variable `here'.
11734
11735 * facemenu.el (facemenu-add-new-color):
11736 Remove unused variable `docstring'.
11737
11738 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11739 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11740 (face-attr-construct): Mark unused parameter. Doc fix.
11741 (read-color): Remove unused variable `hex-string'.
11742
11743 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11744 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11745 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11746 (display-buffer-other-frame): Remove unused variable `old-window'.
11747 (kill-buffer-hook): Declare.
11748 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11749 Mark unused parameters.
11750 (after-find-file): Pass 1 to `auto-save-mode', not t.
11751
11752 * files-x.el (auto-insert): Declare.
11753 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11754
11755 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11756 variable `buf'. Mark unused parameter.
11757 (find-lisp-insert-directory): Mark unused parameter.
11758
11759 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11760 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11761 (format-common-tail): Remove, unused.
11762 (format-deannotate-region): Remove unused variable `loc'.
11763 (format-annotate-region): Remove unused variable `p'.
11764 (format-annotate-single-property-change): Remove unused variables
11765 `default' and `tail'.
11766
11767 * forms.el (read-file-filter): Declare.
11768 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11769
11770 * frame.el (frame-creation-function-alist): Mark unused parameter.
11771 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11772
11773 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11774 Remove unused parameters.
11775 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11776 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11777
11778 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11779 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11780 (hfy-prepare-tag-map): Mark unused parameters.
11781 (htmlfontify-buffer): Use `called-interactively-p'.
11782
11783 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11784 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11785 (ibuffer-do-occur): Mark unused parameters.
11786 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11787 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11788
11789 * ibuffer.el: Don't quote `lambda'.
11790 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11791 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11792 Mark unused parameters.
11793
11794 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11795 (ido-completing-read): Mark unused parameters.
11796 (ido-copy-current-word): Mark unused parameters;
11797 remove unused variable `name'.
11798 (ido-sort-merged-list): Remove unused parameter `dirs'.
11799
11800 * ielm.el (ielm-input-sender): Mark unused parameter.
11801 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11802 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11803 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11804 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11805 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11806
11807 * image-dired.el (image-dired-display-thumbs): Remove unused
11808 variables `curr-file' and `count'.
11809 (image-dired-remove-tag): Remove unused variable `start'.
11810 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11811 variable `curr-file'
11812 (image-dired-rotate-original): Remove unused variable `temp-file'.
11813 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11814 Remove unused variable `file'.
11815 (image-dired-gallery-generate): Remove unused variable `curr'.
11816 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11817
11818 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11819
11820 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11821
11822 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11823
11824 * isearch.el (minibuffer-history-symbol): Declare.
11825 (isearch-edit-string): Remove unused variable `err'.
11826 (isearch-message-prefix, isearch-message-suffix):
11827 Mark unused parameters.
11828
11829 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11830
11831 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11832
11833 * makesum.el (double-column): Remove unused variable `cnt'.
11834
11835 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11836 (ido-ignore-item-temp-list): Declare.
11837
11838 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11839 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11840 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11841 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11842 `mouse-col-delta'.
11843
11844 * mouse-sel.el (mouse-extend-internal):
11845 Remove unused variable `orig-window-frame'.
11846
11847 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11848 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11849 Move declarations before first use.
11850 (pcomplete-opt): Mark unused parameters; doc fix.
11851
11852 * proced.el (proced-revert): Mark unused parameter.
11853 (proced-send-signal): Remove unused variable `err'.
11854
11855 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11856 Rename parameter PREFIX-ARG to ARG.
11857 (ps-basic-plot-string, ps-basic-plot-whitespace):
11858 Mark unused parameters.
11859
11860 * replace.el (replace-count): Define.
11861 (occur-revert-function): Mark unused parameters.
11862 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11863 (isearch-case-fold-search, isearch-string): Declare.
11864 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11865 bind `case-fold-search'. Remove unused variables `beg' and `end',
11866 and simplify.
11867 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11868 COUNT and bind `replace-count'.
11869 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11870 to COUNT.
11871
11872 * savehist.el (print-readably, print-string-length): Declare.
11873
11874 * shadowfile.el (shadow-expand-cluster-in-file-name):
11875 Remove unused variable `cluster'.
11876 (shadow-copy-file): Remove unused variable `i'.
11877 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11878 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11879 (shadow-define-literal-group, shadow-define-regexp-group)
11880 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11881
11882 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11883 (shell): Use `called-interactively-p'.
11884 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11885
11886 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11887 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11888 (delete-backward-char): Remove unused variable `ocol'.
11889 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11890 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11891 (event-apply-hyper-modifier, event-apply-shift-modifier)
11892 (event-apply-control-modifier, event-apply-meta-modifier):
11893 Mark unused parameters.
11894 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11895 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11896
11897 * speedbar.el (speedbar-ignored-directory-expressions)
11898 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11899 (speedbar-find-file, speedbar-dir-follow)
11900 (speedbar-directory-buttons-follow, speedbar-tag-find)
11901 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11902 (speedbar-buffers-line-directory, speedbar-buffer-click):
11903 Mark unused parameters.
11904 (speedbar-tag-file): Remove unused variable `mode'.
11905 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11906
11907 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11908
11909 * talk.el (talk): Remove unused variable `display'.
11910
11911 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11912 (tar-write-region-annotate): Mark unused parameter.
11913
11914 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11915 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11916 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11917 warning by another.
11918
11919 * time-stamp.el (time-stamp-string-preprocess):
11920 Remove unused variable `require-padding'.
11921
11922 * tree-widget.el (widget-glyph-enable): Declare.
11923 (tree-widget-action): Mark unused parameter.
11924
11925 * w32-fns.el (x-get-selection): Mark unused parameter.
11926 (autoload-make-program, generated-autoload-file): Declare.
11927
11928 * wdired.el (wdired-revert): Mark unused parameters.
11929 (wdired-xcase-word): Remove unused variable `err'.
11930
11931 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11932 (whitespace-help-scroll): Remove unused variable `data-help'.
11933
11934 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11935 (widget-image-insert, widget-after-change, default)
11936 (widget-default-format-handler, widget-default-notify)
11937 (widget-default-prompt-value, widget-info-link-action)
11938 (widget-url-link-action, widget-function-link-action)
11939 (widget-variable-link-action, widget-file-link-action)
11940 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11941 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11942 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11943 (widget-insert-button-action, widget-delete-button-action, visibility)
11944 (widget-documentation-link-action, widget-documentation-string-action)
11945 (widget-const-prompt-value, widget-regexp-match, symbol)
11946 (widget-coding-system-prompt-value)
11947 (widget-key-sequence-value-to-external, sexp)
11948 (widget-sexp-value-to-internal, character, vector, cons)
11949 (widget-choice-prompt-value, widget-boolean-prompt-value)
11950 (widget-color--choose-action): Mark unused parameters.
11951 (widget-item-match-inline, widget-choice-match-inline)
11952 (widget-checklist-match, widget-checklist-match-inline)
11953 (widget-group-match): Rename parameter VALUES to VALS.
11954 (widget-field-value-set): Remove unused variable `size'.
11955 (widget-color-action): Remove unused variables `value' and `start'.
11956
11957 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11958 variable `dir'. Doc fix.
11959 (windmove-find-other-window): Don't pass it.
11960
11961 * window.el (count-windows): Mark unused parameter.
11962 (bw-adjust-window): Remove unused variable `err'.
11963
11964 * woman.el (woman-file-name): Remove unused variable `default'.
11965 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11966 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11967 (global-font-lock-mode): Declare.
11968 (woman-decode-region): Mark unused parameter.
11969 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11970
11971 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11972 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11973 (x-dnd-handle-moz-url): Remove unused variable `title'.
11974 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11975
11976 * xml.el (xml-parse-tag, xml-parse-attlist):
11977 Remove unused variable `pos'.
11978
11979 2011-04-19 Glenn Morris <rgm@gnu.org>
11980
11981 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11982 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11983 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11984 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11985 * calendar/cal-html.el (cal-html-insert-minical):
11986 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11987 (calendar-mark-date-pattern):
11988 Prefix "unused" locals.
11989
11990 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11991 optional argument `style'.
11992
11993 * calendar/appt.el (appt-make-list):
11994 * calendar/cal-china.el (calendar-chinese-date-string):
11995 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11996 (diary-hebrew-yahrzeit):
11997 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11998 * calendar/calendar.el (calendar-generate-window):
11999 * calendar/time-date.el (time-to-days):
12000 Remove unused local variables.
12001
12002 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12003
12004 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12005 glyphless-char-display table.
12006 (tabulated-list-glyphless-char-display): New var.
12007
12008 2011-04-18 Sam Steingold <sds@gnu.org>
12009
12010 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12011 to acknowledgments.
12012
12013 2011-04-17 Glenn Morris <rgm@gnu.org>
12014
12015 * calendar/diary-lib.el (diary-sexp-entry):
12016 * calendar/holidays.el (holiday-sexp):
12017 Set debug-on-error rather than the removed stack-trace-on-error.
12018
12019 2011-04-16 Glenn Morris <rgm@gnu.org>
12020
12021 * progmodes/f90.el: Use lexical-binding.
12022 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12023
12024 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12025
12026 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12027 (mail-mode): Setup mailalias completion here instead.
12028 * mail/mailalias.el: Use lexical-binding.
12029 (pattern, mailalias-done): Declare dynamic.
12030 (mail-completion-at-point-function): New function, from mail-complete.
12031 (mail-complete): Use it.
12032 (mail-completion-expand): New function.
12033 (mail-get-names): Use it.
12034 (mail-directory, mail-directory-process, mail-directory-stream):
12035 Don't use `pattern' for lexically bound arg.
12036
12037 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12038
12039 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12040 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12041 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12042
12043 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12044 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12045 (byte-interactive-p): Define them again, for use when inlining
12046 old code.
12047
12048 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12049
12050 * loadup.el: Use `string-to-number', not `string-to-int'.
12051
12052 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12055 gud-gdb-complete-command.
12056 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12057 (gud-gdb-completion-at-point): New function.
12058 (gud-gdb-completions): Remove.
12059
12060 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12061
12062 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12063 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12064 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12065 whether `executable-find' is bound.
12066
12067 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12068
12069 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * minibuffer.el (completion-in-region-mode-predicate)
12072 (completion-in-region-mode--predicate): New vars.
12073 (completion-in-region, completion-in-region--postch)
12074 (completion-in-region-mode): Use them.
12075 (completion--capf-wrapper): Also return the hook function.
12076 (completion-at-point, completion-help-at-point):
12077 Adjust and provide a predicate.
12078
12079 Preserve arg names for advice of subr and lexical functions (bug#8457).
12080 * help-fns.el (help-function-arglist): Consolidate the subr and
12081 new-byte-code cases. Add argument `preserve-names' to extract names
12082 from the docstring when needed.
12083 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12084 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12085 (ad-arglist): Use help-function-arglist's new arg.
12086 (ad-definition-type): Use cond.
12087
12088 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12089
12090 * autorevert.el (auto-revert-handler):
12091 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12092 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12093 Don't quote lambda.
12094
12095 * image-mode.el (image-transform-set-scale):
12096 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12097
12098 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12099
12100 * net/network-stream.el (network-stream-open-starttls): Only do
12101 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12102 Upgrades via gnutls-cli are too slow to be done opportunistically.
12103
12104 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12105
12106 * dframe.el (dframe-current-frame): Remove spurious quote.
12107
12108 2011-04-12 Glenn Morris <rgm@gnu.org>
12109
12110 * calendar/cal-tex.el (cal-tex-end-document):
12111 Try to automatically use latin1 input if needed.
12112
12113 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12114 Don't try to cons a mark onto an empty element.
12115
12116 2011-04-11 Leo Liu <sdl.web@gmail.com>
12117
12118 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12119 buffers.
12120 (ido-kill-buffer-at-head): Support killing virtual buffers.
12121
12122 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12123
12124 * minibuffer.el (completion-show-inline-help): New var.
12125 (completion--do-completion, minibuffer-complete)
12126 (minibuffer-force-complete, minibuffer-complete-word):
12127 Inhibit minibuffer messages if completion-show-inline-help is nil.
12128
12129 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12130 to avoid interference from inline help (Bug#5849).
12131
12132 2011-04-10 Leo Liu <sdl.web@gmail.com>
12133
12134 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12135 Fix typo.
12136
12137 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12138
12139 * image-mode.el (image-toggle-display-image): Signal an error if
12140 not in Image mode.
12141 (image-transform-mode, image-transform-resize)
12142 (image-transform-set-rotation): Doc fix.
12143 (image-transform-set-resize): Delete.
12144 (image-transform-set-scale, image-transform-fit-to-height)
12145 (image-transform-fit-to-width): Handle image-toggle-display-image
12146 and image-transform-resize directly.
12147
12148 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12149
12150 * doc-view.el (doc-view-fit-width-to-window)
12151 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12152 New functions for fitting the shown image to the Emacs window size.
12153 (doc-view-mode-map): Add bindings for the new functions.
12154
12155 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12156
12157 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12158 Fix typo in docstring.
12159
12160 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12161
12162 * files.el (file-size-human-readable): Produce one digit after
12163 decimal, like "ls -lh" does.
12164
12165 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12166 the file size representation.
12167
12168 * simple.el (list-processes): If async subprocesses are not
12169 available, error out with a clear error message.
12170
12171 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12172
12173 * help.el (help-form-show): New function, to be called from C.
12174 Put help-form output in a buffer named differently than *Help*.
12175
12176 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12177
12178 * files.el (file-size-human-readable): New function.
12179
12180 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12181 computing the representation inline. Don't require `cl'.
12182
12183 2011-04-08 Glenn Morris <rgm@gnu.org>
12184
12185 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12186
12187 * net/browse-url.el (browse-url-firefox):
12188 Test system-type, not system-configuration.
12189
12190 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12191 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12192 Use log-edit-empty-buffer-p. (Bug#7598)
12193
12194 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12195 (rlogin-mode-map): Initialize in the defvar.
12196 (rlogin): Use ignore-errors.
12197
12198 * replace.el (occur-mode-map): Some fixes for menu items.
12199
12200 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12201
12202 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12203
12204 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12205
12206 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12207 issuing unused warnings.
12208
12209 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12210 macro directly.
12211
12212 * simple.el: Lisp reimplement of list-processes. Based on an
12213 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12214 (process-menu-mode): New major mode.
12215 (list-processes--refresh, list-processes):
12216 (process-menu-visit-buffer): New functions.
12217
12218 * files.el (save-buffers-kill-emacs): Don't assume any return
12219 value of list-processes, which is undocumented anyway.
12220
12221 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12222
12223 * emacs-lisp/tabulated-list.el: New file.
12224
12225 * emacs-lisp/package.el: Use Tabulated List mode.
12226 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12227 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12228 table format using Tabulated List mode variables.
12229 (package--push): New macro, replacing package-list-maybe-add.
12230 (package-menu--generate): Use package--push. Renamed from
12231 package--generate-package-list.
12232 (package-menu-refresh, list-packages): Use it.
12233 (package-menu--print-info): Rename from package-print-package.
12234 Return insertion data instead of inserting it directly.
12235 (package-menu-describe-package, package-menu-execute):
12236 Use tabulated-list-get-id.
12237 (package-menu-mark-delete, package-menu-mark-install)
12238 (package-menu-mark-unmark, package-menu-backup-unmark)
12239 (package-menu-mark-obsolete-for-deletion):
12240 Use tabulated-list-put-tag.
12241 (package--list-packages, package-menu-revert)
12242 (package-menu-get-package, package-menu-get-version)
12243 (package-menu-sort-by-column): Functions deleted.
12244 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12245 (package-menu--status-predicate, package-menu--version-predicate)
12246 (package-menu--name-predicate)
12247 (package-menu--description-predicate): Handle arguments in the
12248 Tabulated List format.
12249 (package-list-packages-no-fetch): Call list-packages.
12250
12251 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12252
12253 * files.el (after-find-file-from-revert-buffer): Remove variable.
12254 (after-find-file): Don't bind it.
12255 (revert-buffer-in-progress-p): New variable.
12256 (revert-buffer): Bind it.
12257 Pass nil for `after-find-file-from-revert-buffer'.
12258
12259 * saveplace.el (save-place-find-file-hook): Use new variable
12260 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12261
12262 2011-04-06 Glenn Morris <rgm@gnu.org>
12263
12264 * Makefile.in (AUTOGEN_VCS): New variable.
12265 (autoloads): Use $AUTOGEN_VCS.
12266
12267 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12268 * calendar/calendar.el (calendar-mode-map):
12269 Check for toolkit scroll bars. (Bug#8305)
12270
12271 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12272
12273 * minibuffer.el (completion-in-region--postch)
12274 (completion-in-region-mode): Remove unnecessary messages.
12275
12276 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12277
12278 * font-lock.el (font-lock-refresh-defaults):
12279 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12280 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12281
12282 * info.el (Info-directory-list, Info-read-node-name-2)
12283 (Info-split-parameter-string): Doc fixes.
12284 (Info-virtual-nodes): Reflow docstring.
12285 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12286 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12287 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12288 Fix typos in docstrings.
12289 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12290 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12291 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12292 (Info-restore-desktop-buffer): Mark unused parameters.
12293 (Info-directory-find-file, Info-directory-find-node)
12294 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12295 (Info-virtual-index-find-node, Info-apropos-find-file)
12296 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12297 Mark unused parameters; fix typos in docstrings.
12298 (Info-virtual-index): Remove unused local variable `nodename'.
12299
12300 2011-04-05 Deniz Dogan <deniz@dogan.se>
12301
12302 * net/rcirc.el: Update my e-mail address.
12303 (rcirc-mode-map): Remove M-o binding.
12304
12305 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12306
12307 * startup.el (command-line): Save the cursor's theme-face
12308 directly, instead of using face-override-spec.
12309
12310 * custom.el (load-theme): Minor optimization in assigning faces.
12311
12312 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12313
12314 * help-fns.el (describe-variable): Complete all variables having
12315 documentation, including keywords.
12316 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12317
12318 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12319
12320 Convert to lexical-binding.
12321
12322 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12323 (bs--get-marked-string, bs--get-modified-string)
12324 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12325 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12326 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12327
12328 * ehelp.el (electric-help-execute-extended)
12329 (electric-help-ctrl-x-prefix):
12330 * hexl.el (hexl-revert-buffer-function):
12331 * linum.el (linum-after-change, linum-after-scroll):
12332 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12333
12334 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12335
12336 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12337
12338 * epa-dired.el:
12339 * epa-mail.el:
12340 * epa-hook.el:
12341 * epa-file.el:
12342 * epa.el:
12343 * epg.el: Use lexical binding.
12344
12345 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12346
12347 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12348
12349 * textmodes/flyspell.el (flyspell-word): Recognize default
12350 dictionary case for flyspell-mark-duplications-exceptions.
12351 Use regexp matching for languages.
12352 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12353 default dictionary (Bug#7926).
12354
12355 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12356
12357 * emacs-lisp/package.el (package--with-work-buffer):
12358 Recognize https URLs.
12359
12360 * net/network-stream.el: Move from gnus/proto-stream.el.
12361 Change prefix to network-stream throughout.
12362 (open-protocol-stream): Merge into open-network-stream, leaving
12363 open-protocol-stream as an alias. Handle nil BUFFER args.
12364
12365 * subr.el (open-network-stream): Move to net/network-stream.el.
12366
12367 2011-04-02 Glenn Morris <rgm@gnu.org>
12368
12369 * find-dired.el (find-exec-terminator): New option.
12370 (find-ls-option): Test for -ls support.
12371 (find-ls-subdir-switches): Test for -b in find-ls-option.
12372 (find-dired, find-grep-dired): Doc fixes.
12373 (find-dired): Use find-exec-terminator.
12374
12375 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12376 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12377 (find-name-arg): Remove purecopy.
12378
12379 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12380 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12381 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12382 accordingly. Don't add the null-device if not needed.
12383
12384 * files.el (save-some-buffers): Doc fix.
12385
12386 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12387
12388 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12389
12390 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12391
12392 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12393 Use `dolist' rather than `mapcar'.
12394
12395 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12396
12397 Add lexical binding.
12398
12399 * subr.el (apply-partially): Use new closures rather than CL.
12400 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12401 (dolist, dotimes): Use slightly different expansion for lexical code.
12402 (functionp): Move to C.
12403 (letrec): New macro.
12404 (with-wrapper-hook): Use it and apply-partially instead of CL.
12405 (eval-after-load): Preserve lexical-binding.
12406 (save-window-excursion, with-output-to-temp-buffer): Turn them
12407 into macros.
12408
12409 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12410
12411 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12412 than the arglist.
12413 (help-add-fundoc-usage): Don't add `Not documented'.
12414 (help-function-arglist): Handle closures, subroutines, and new
12415 byte-code-functions.
12416 (help-make-usage): Remove leading underscores.
12417 (describe-function-1): Handle closures.
12418 (describe-variable): Use special-variable-p for completion.
12419
12420 * files.el (lexical-binding): Declare safe.
12421
12422 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12423 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12424 (pcase): Add `let' pattern.
12425 Change memoization so it actually works.
12426 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12427 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12428 <let>: New case.
12429
12430 * emacs-lisp/macroexp.el: Use lexical binding.
12431 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12432 Don't convert ' to #' without checking that it's indeed quoting
12433 a lambda.
12434
12435 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12436 Use eval-sexp-add-defvars.
12437 (eval-sexp-add-defvars): New fun.
12438
12439 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12440
12441 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12442 Don't autoload.
12443 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12444 than the internal `byte-compile-lambda'.
12445 (defmethod): Don't hide code under quotes.
12446 (eieio-defmethod): New `code' argument.
12447
12448 * emacs-lisp/eieio-comp.el: Remove.
12449
12450 * emacs-lisp/edebug.el (edebug-eval-defun)
12451 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12452 (edebug-toggle): Avoid `eval'.
12453
12454 * emacs-lisp/disass.el (disassemble-internal): Handle new
12455 `closure' objects.
12456 (disassemble-1): Handle new byte codes.
12457
12458 * emacs-lisp/cl.el (pushnew): Silence warning.
12459
12460 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12461 (cl-byte-compile-throw): Remove.
12462 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12463
12464 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12465 closures.
12466
12467 * emacs-lisp/cconv.el: New file.
12468
12469 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12470 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12471 (byte-compile-initial-macro-environment):
12472 Handle declare-function here.
12473 (byte-compile--lexical-environment): New var.
12474 (byte-stack-ref, byte-stack-set, byte-discardN)
12475 (byte-discardN-preserve-tos): New lap codes.
12476 (byte-interactive-p): Don't use any more.
12477 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12478 New macros.
12479 (byte-compile-lapcode): Use them and handle new lap codes.
12480 (byte-compile-obsolete): Remove.
12481 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12482 (byte-compile-arglist-warn): Check late def of inlinable funs.
12483 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12484 since they should have been expanded by now.
12485 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12486 (byte-compile-from-buffer): Remove unused second arg.
12487 (byte-compile-preprocess): New function.
12488 (byte-compile-toplevel-file-form): New function to distinguish
12489 file-form calls from outside from file-form calls from hunk-handlers.
12490 (byte-compile-file-form): Simplify.
12491 (byte-compile-file-form-defsubst): Remove.
12492 (byte-compile-file-form-defmumble): Simplify now that
12493 byte-compile-lambda always returns a byte-code-function.
12494 (byte-compile): Preprocess.
12495 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12496 Remove, not used any more.
12497 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12498 (byte-compile-make-args-desc): New funs.
12499 (byte-compile-lambda): Handle lexical functions. Always return
12500 a byte-code-function.
12501 (byte-compile-reserved-constants): New var, to make up room for
12502 closed-over variables.
12503 (byte-compile-constants-vector): Obey it.
12504 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12505 (byte-compile-macroexpand-declare-function): New function.
12506 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12507 byte-code-functions.
12508 (byte-compile-form): Check obsolescence here.
12509 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12510 (byte-compile-variable-ref): Remove.
12511 (byte-compile-dynamic-variable-op): New fun.
12512 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12513 (byte-compile-variable-set): New funs.
12514 (byte-compile-discard): Add 2 args.
12515 (byte-compile-stack-ref, byte-compile-stack-set)
12516 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12517 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12518 macroexpand-all instead.
12519 (byte-compile-quote-form): Remove.
12520 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12521 (byte-compile-bind, byte-compile-unbind): New funs.
12522 (byte-compile-let): Handle let* and lexical binding.
12523 (byte-compile-let*): Remove.
12524 (byte-compile-catch, byte-compile-unwind-protect)
12525 (byte-compile-track-mouse, byte-compile-condition-case):
12526 Handle a new :fun-body form, used for lexical scoping.
12527 (byte-compile-save-window-excursion)
12528 (byte-compile-with-output-to-temp-buffer): Remove.
12529 (byte-compile-defun): Simplify.
12530 (byte-compile-stack-adjustment): New fun.
12531 (byte-compile-out): Use it.
12532 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12533
12534 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12535 handler any more.
12536
12537 * emacs-lisp/byte-opt.el: Use lexical binding.
12538 (byte-inline-lapcode): Remove (to bytecomp).
12539 (byte-compile-inline-expand): Pay attention to inlining to/from
12540 lexically bound code.
12541 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12542 any more.
12543 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12544 any more and don't call compiler-macros.
12545 (byte-compile-splice-in-already-compiled-code): Remove.
12546 (byte-code): Don't inline any more.
12547 (disassemble-offset): Receive `bytes' as argument rather than via
12548 dynamic scoping.
12549 (byte-compile-tag-number): Declare before first use.
12550 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12551 `return' even if make-spliceable.
12552 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12553 obsolete interactive-p.
12554 (byte-optimize-lapcode): Optimize new lap-codes.
12555 Don't trip up on new form of `byte-constant' lap code.
12556
12557 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12558
12559 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12560
12561 * custom.el (custom-initialize-default, custom-declare-variable):
12562 Use `defvar'.
12563
12564 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12565 New variables.
12566 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12567 (COMPILE_FIRST): Add macroexp and cconv.
12568 * makefile.w32-in: Mirror changes in Makefile.in.
12569
12570 * vc/cvs-status.el:
12571 * vc/diff-mode.el:
12572 * vc/log-edit.el:
12573 * vc/log-view.el:
12574 * vc/smerge-mode.el:
12575 * textmodes/bibtex-style.el:
12576 * textmodes/css.el:
12577 * startup.el:
12578 * uniquify.el:
12579 * minibuffer.el:
12580 * newcomment.el:
12581 * reveal.el:
12582 * server.el:
12583 * mpc.el:
12584 * emacs-lisp/smie.el:
12585 * doc-view.el:
12586 * dired.el:
12587 * abbrev.el: Use lexical binding.
12588
12589 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12590
12591 * info.el (info-display-manual): New function.
12592
12593 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12596
12597 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12598
12599 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12600 an entry for that server in rcirc-authinfo. (Bug#8385)
12601
12602 2011-03-31 Glenn Morris <rgm@gnu.org>
12603
12604 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12605
12606 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12607
12608 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12609
12610 * progmodes/python.el (python-default-interpreter)
12611 (python-python-command-args, python-jython-command-args)
12612 (python-which-shell, python-which-args, python-which-bufname)
12613 (python-file-queue, python-comint-output-filter-function)
12614 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12615 variables and functions.
12616
12617 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12620 (completion-in-region-mode): New minor mode.
12621 (completion-in-region): Use it.
12622 (completion-in-region--data, completion-in-region-mode-map): New vars.
12623 (completion-in-region--postch): New function.
12624 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12625 New vars.
12626 (completion--capf-wrapper): New function.
12627 (completion-at-point): Use it to track well-behavedness of
12628 hook functions.
12629 (completion-help-at-point): New command.
12630
12631 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12632
12633 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12634 syntax class to search for whitespace on a single line
12635 (Message-ID: <4D938140.4030905@redhat.com>).
12636
12637 2011-03-30 Leo Liu <sdl.web@gmail.com>
12638
12639 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12640 New commands.
12641 (edit-abbrevs-map): Bind them here.
12642 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12643
12644 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12645
12646 * allout.el (allout-hide-by-annotation, allout-flag-region):
12647 Reduce possibility of overlay leakage by making them volatile.
12648
12649 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12650 hash is not shared between buffers. Mode initialization is
12651 responsible for giving it a useful starting value.
12652 (allout-item-span): Reduce possibility of overlay leakage by
12653 making them volatile.
12654 (allout-widgets-count-buttons-in-region): Add diagnostic function
12655 for tracking down button overlay leaks.
12656
12657 2011-03-29 Leo Liu <sdl.web@gmail.com>
12658
12659 * ido.el (ido-read-internal): Use the default history var
12660 minibuffer-history if no HISTORY is specified.
12661
12662 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12663
12664 * net/imap.el (imap-shell-open, imap-process-connection-type):
12665 Use imap-process-connection-type for 'shell' streams as well as
12666 Kerberos, SSL, other subprocesses.
12667
12668 2011-03-28 Leo Liu <sdl.web@gmail.com>
12669
12670 * abbrev.el (abbrev-table-empty-p): New function.
12671 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12672 nonempty ones. (Bug#5937)
12673
12674 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12675
12676 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12677
12678 2011-03-27 Leo Liu <sdl.web@gmail.com>
12679
12680 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12681 for foreground and background colors.
12682 (ansi-color-make-color-map): Adapt.
12683
12684 2011-03-25 Leo Liu <sdl.web@gmail.com>
12685
12686 * midnight.el (midnight-time-float): Remove. Note it calculates
12687 the microsecond component incorrectly and seconds-to-time does the
12688 same job.
12689 Remove redundant (require 'timer).
12690
12691 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12692 (ido-completions): Remove unused arguments. (Bug#8329)
12693
12694 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 * minibuffer.el (completion--flush-all-sorted-completions):
12697 Remove itself from hook.
12698 (completion-at-point): Let the functions perform the completion
12699 immediately and return nil or t.
12700 * comint.el (comint-dynamic-complete-functions): Now identical to
12701 completion-at-point-functions.
12702 (comint-dynamic-list-input-ring): Remove unused var `index'.
12703 (comint--match-partial-filename, comint--unquote&expand-filename):
12704 New funs, split from comint-match-partial-filename.
12705 (comint-dynamic-complete): Use completion-at-point.
12706 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12707
12708 2011-03-24 Drew Adams <drew.adams@oracle.com>
12709
12710 * thingatpt.el: Support `defun'.
12711
12712 2011-03-23 Leo Liu <sdl.web@gmail.com>
12713
12714 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12715
12716 * help-mode.el (help-mode-finish): Tweak regexp.
12717
12718 2011-03-23 Glenn Morris <rgm@gnu.org>
12719
12720 * eshell/esh-opt.el (eshell-eval-using-options):
12721 Do not bind unused local variable `eshell-option-stub'.
12722
12723 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12724
12725 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12726
12727 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12728 keymap variable in `with-no-warnings' to avoid a warning when the
12729 keymap has been already `defconst'ed.
12730
12731 2011-03-22 Leo Liu <sdl.web@gmail.com>
12732
12733 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12734 encode all chars in abbrevs; otherwise use emacs-mule or
12735 utf-8-emacs. (Bug#8308)
12736
12737 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12738
12739 * simple.el (backward-delete-char-untabify):
12740 Avoid warning about using `delete-backward-char'.
12741
12742 * image.el (image-type-file-name-regexps): Make it variable.
12743 `imagemagick-register-types' modifies it, and the user may want
12744 to add new extensions for known image types.
12745 (imagemagick-register-types): Throw error if not using ImageMagick.
12746
12747 2011-03-22 Leo Liu <sdl.web@gmail.com>
12748
12749 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12750 located before rcirc-prompt-end-marker.
12751 (rcirc-complete): Error if point is not after rcirc prompt.
12752 Handle the case when table is nil.
12753 (rcirc-user-authenticated): Define to fix compiler warning.
12754
12755 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12756
12757 * custom.el (custom--inhibit-theme-enable): Make it affect only
12758 custom-theme-set-variables and custom-theme-set-faces.
12759 (provide-theme): Ignore custom--inhibit-theme-enable.
12760 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12761 (custom-enabling-themes): Delete variable.
12762 (enable-theme): Accept only loaded themes as arguments.
12763 Ignore the special custom-enabled-themes variable.
12764 (custom-enabled-themes): Forbid themes from setting this.
12765 Eliminate use of custom-enabling-themes.
12766 (custom-push-theme): Quote "changed" custom var entry.
12767
12768 2011-03-21 Leo Liu <sdl.web@gmail.com>
12769
12770 * ido.el (ido-read-internal): Add ido-selected to history instead
12771 of user input.
12772
12773 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12774
12775 * subr.el (deferred-action-list, deferred-action-function):
12776 Mark obsolete.
12777
12778 2011-03-21 Leo Liu <sdl.web@gmail.com>
12779
12780 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12781 change on 2011-02-13 (bug#8309).
12782
12783 * minibuffer.el (read-file-name-function): Change default value.
12784 (read-file-name--defaults): Rename from read-file-name-defaults.
12785 (read-file-name-default): Rename from read-file-name.
12786 (read-file-name): Call read-file-name-function.
12787
12788 2011-03-21 Glenn Morris <rgm@gnu.org>
12789
12790 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12791 Doc fixes.
12792
12793 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12794
12795 * cus-theme.el: Add missing provide statement.
12796 (customize-create-theme): Extract theme value correctly.
12797 (custom-theme-visit-theme): Autoload.
12798 (customize-create-theme): Prompt before inserting default faces.
12799
12800 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12801
12802 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12803 units and musical notes.
12804
12805 2011-03-20 Leo Liu <sdl.web@gmail.com>
12806
12807 * ido.el (ido-read-internal): Use completing-read-default.
12808 (ido-completing-read): Fix compatibility with completing-read.
12809
12810 2011-03-20 Christian Ohler <ohler@gnu.org>
12811
12812 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12813 (ert-delete-all-tests): Use `called-interactively-p' rather than
12814 `interactive-p'.
12815 (ert--make-xrefs-region): Respect END.
12816
12817 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12818
12819 * dired-aux.el (dired-create-directory): Signal an error if the
12820 directory already exists (Bug#8246).
12821
12822 * facemenu.el (list-colors-display): Call list-faces-display
12823 inside with-help-window.
12824 (list-colors-print): Use display property to align the final
12825 column, instead of checking window-width.
12826
12827 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12828
12829 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12830 windows-nt systems.
12831 (emerge-protect-metachars): Quote correctly for ms-dos and
12832 windows-nt systems.
12833
12834 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12835
12836 * info.el (info-initialize): Replace all uses of `:' with
12837 path-separator for compatibility with non-Unix systems.
12838 Cache quoting of path-separator. (Bug#8258)
12839
12840 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12841
12842 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12843 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12844 (mouse-avoidance-mode): Fix typos in docstrings.
12845
12846 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12847
12848 * startup.el (package-subdirectory-regexp): Move from package.el.
12849 Omit \\` and \\', and let callers add them.
12850
12851 * emacs-lisp/package.el (package-strip-version)
12852 (package-load-all-descriptors): Add \\` and \\' to
12853 package-subdirectory-regexp before using it.
12854 (package-untar-buffer): New arg DIR; ensure that file untars only
12855 into this expected directory. Remove superfluous delete-region.
12856 (package-unpack): Caller changed.
12857 (package-tar-file-info): Use package-subdirectory-regexp.
12858
12859 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12860
12861 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12862 diff-mode-shared-map (bug#8284).
12863 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12864
12865 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12866
12867 * calendar/time-date.el (format-seconds): Use assoc instead of
12868 assoc-string, since assoc-string doesn't exist in XEmacs.
12869
12870 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12871
12872 * custom.el (custom-known-themes): Reflow docstring.
12873 (custom-theme-load-path): Fix typo in docstring.
12874 (load-theme): Fix typo in error message.
12875 (custom-available-themes, custom-variable-theme-value):
12876 Use `let', not `let*'.
12877
12878 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12879
12880 * calc/README: Mention inclusion of musical notes.
12881
12882 * calc/calc-units.el (calc-lu-quant): Rename from
12883 `calc-logunits-quantity'.
12884 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12885 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12886 (calc-db): Rename from `calc-dblevel'.
12887 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12888 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12889 (calc-np): Rename from `calc-nplevel'.
12890 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12891 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12892 (calc-lu-plus): Rename from `calc-logunits-add'.
12893 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12894 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12895 (calc-lu-minus): Rename from `calc-logunits-sub'.
12896 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12897 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12898 (calc-lu-times): Rename from `calc-logunits-mul'.
12899 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12900 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12901 (calc-lu-divide): Rename from `calc-logunits-div'.
12902 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12903 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12904
12905 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12906 functions being autoloaded.
12907
12908 * calc/calc.el (calc-lu-power-reference): Rename from
12909 `calc-logunits-power-reference'.
12910 (calc-lu-field-reference): Rename from
12911 `calc-logunits-field-reference'.
12912
12913 * calc/calc-help.el (calc-l-prefix-help):
12914 Mention musical note functions.
12915
12916 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 * minibuffer.el (completion-all-sorted-completions):
12919 Use :completion-cycle-penalty text property if present.
12920
12921 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12922
12923 * allout.el (allout-yank-processing): Adjust for new rebulleting
12924 regime so bullet being yanked is used without prompting the user
12925 for a choice.
12926
12927 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12928
12929 * startup.el (command-line): Warn the user that _emacs is deprecated.
12930
12931 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12932
12933 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12934 (delphi-verbose, delphi-comment-face, delphi-string-face)
12935 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12936 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12937 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12938 (delphi-new-comment-line, delphi-font-lock-defaults)
12939 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12940 Fix typos in docstrings.
12941
12942 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12943
12944 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12945 Invert the roles of character and string values for INSTEAD, so a
12946 string is used for the more common case of a defaulting prompt.
12947
12948 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * progmodes/ruby-mode.el (ruby-backward-sexp):
12951 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12952 * play/gamegrid.el (gamegrid-make-face):
12953 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12954 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12955 * notifications.el (notifications-notify):
12956 * net/xesam.el (xesam-search-engines):
12957 * net/quickurl.el (quickurl-list-insert):
12958 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12959
12960 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12961
12962 * startup.el (command-line): Update package subdirectory regexp.
12963
12964 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12965
12966 * allout.el (allout-abbreviate-flattened-numbering)
12967 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12968
12969 * subr.el (read-char-choice): Only show the cursor after the prompt,
12970 not after the answer.
12971
12972 2011-03-15 Kevin Ryde <user42@zip.com.au>
12973
12974 * help-fns.el (variable-at-point): Skip leading quotes, if any
12975 (bug#8253).
12976
12977 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12978
12979 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12980 warning message.
12981
12982 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12983
12984 * shell.el (shell): When called interactively, offer to change the
12985 shell file name on remote hosts.
12986
12987 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12988
12989 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12990 integration for LDAP parameters. The host, base, user or binddn,
12991 and secret tokens can be specified in a netrc file, for instance.
12992 This is optional because an `auth-source' parameter must be
12993 specified in the search attributes.
12994
12995 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12996
12997 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12998
12999 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13000
13001 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13002 into declaration. Remove redundant and harmful binding.
13003
13004 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13005
13006 * files.el (file-ownership-preserved-p): Pass `integer' as an
13007 explicit 2nd argument to `file-attributes'. If the file's owner
13008 is the Administrators group on Windows, and the current user is
13009 Administrator, consider that a match.
13010
13011 * server.el (server-ensure-safe-dir): Consider server directory
13012 safe on MS-Windows if its owner is the Administrators group while
13013 the current Emacs user is Administrator. Use `=' to compare
13014 numerical UIDs, since they could be integers or floats.
13015
13016 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13017
13018 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13019
13020 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13021
13022 Sync with Tramp 2.2.1.
13023
13024 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13025
13026 * net/trampver.el: Update release number.
13027
13028 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13029
13030 * progmodes/compile.el (compilation--previous-directory): Fix up
13031 various nil/dead-marker mismatches (bug#8014).
13032 (compilation-directory-properties, compilation-error-properties):
13033 Don't call it at a position past the one we're about to change.
13034
13035 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13036 Disable obsolescence warnings in the file that declares it.
13037
13038 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13039
13040 * allout-widgets.el (allout-widgets-tally):
13041 Initialize allout-widgets-tally as a hash table rather than nil to
13042 prevent mode-line redisplay warnings. Also, clarify the module
13043 description and fix a comment typo.
13044
13045 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13046
13047 * help-fns.el (describe-variable): Don't complete keywords.
13048 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13049
13050 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13051
13052 * emacs-lisp/package.el (package-version-join): Impose a standard
13053 string representation for pre/alpha/beta version lists.
13054 (package-unpack-single): Standardize the directory name by passing
13055 it through package-version-join.
13056 (package-strip-rcs-id): Accept any version string that does not
13057 signal an error in version-to-list.
13058
13059 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13060
13061 * simple.el (delete-trailing-whitespace): Return nil for the
13062 benefit of `write-file-functions'.
13063
13064 2011-03-10 Glenn Morris <rgm@gnu.org>
13065
13066 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13067
13068 * vc/vc-git.el (vc-git-program): New option.
13069 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13070 (vc-git--call): Use it.
13071
13072 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13073
13074 * cus-edit.el (Custom-newline): If no button at point, look
13075 for a subgroup button at start-of-line. (Bug#2298)
13076
13077 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13078
13079 2011-03-10 Julien Danjou <julien@danjou.info>
13080
13081 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13082 `cursor-type' is nil.
13083
13084 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13085
13086 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13087
13088 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13089
13090 * allout.el: Change so yank of distinctive-bullet items
13091 preserves the existing header prefix, rebulleting it if necessary,
13092 rather than replacing it. This is necessary for proper operation
13093 of cooperative addons like allout-widgets.
13094 (allout-make-topic-prefix, allout-rebullet-heading):
13095 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13096 value as alternate bullet to be used, instead of prompting the user
13097 for a bullet character.
13098
13099 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13100
13101 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13102 Do not use `tramp-file-name-port', because this returns also
13103 `tramp-default-port'.
13104
13105 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13106
13107 * net/rcirc.el (rcirc-handler-001): Remove useless
13108 with-rcirc-process-buffer.
13109 (rcirc-check-auth-status): Swap arguments to string-match.
13110
13111 2011-03-09 Glenn Morris <rgm@gnu.org>
13112
13113 * shell.el (shell-mode):
13114 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13115
13116 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13117 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13118
13119 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13120
13121 * emacs-lisp/package.el (package-refresh-contents)
13122 (package-menu-execute): Use condition-case-no-debug.
13123
13124 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13125
13126 * simple.el (shell-command-to-string): Use `process-file'.
13127
13128 * emacs-lisp/package.el (package-tar-file-info): Handle also
13129 remote files.
13130
13131 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13132 Use `equal' for upload base check.
13133
13134 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13135
13136 * textmodes/texinfo.el (texinfo-environments):
13137 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13138
13139 2011-03-08 Glenn Morris <rgm@gnu.org>
13140
13141 * cus-start.el (cursor-in-non-selected-windows):
13142 Fix :set quoting oddness. (Bug#8192)
13143
13144 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13145 in some setf expressions. (Bug#2159)
13146
13147 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13148
13149 * custom.el (custom-available-themes): Return themes in
13150 alphabetical order.
13151
13152 See ChangeLog.15 for earlier changes.
13153
13154 ;; Local Variables:
13155 ;; coding: utf-8
13156 ;; End:
13157
13158 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13159
13160 This file is part of GNU Emacs.
13161
13162 GNU Emacs is free software: you can redistribute it and/or modify
13163 it under the terms of the GNU General Public License as published by
13164 the Free Software Foundation, either version 3 of the License, or
13165 (at your option) any later version.
13166
13167 GNU Emacs is distributed in the hope that it will be useful,
13168 but WITHOUT ANY WARRANTY; without even the implied warranty of
13169 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13170 GNU General Public License for more details.
13171
13172 You should have received a copy of the GNU General Public License
13173 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.