]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Silence byte-compiler warnings.
[gnu-emacs] / lisp / ChangeLog
1 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2
3 * notifications.el (dbus-debug):
4 * term/linux.el (gpm-mouse-enable):
5 * term/screen.el (xterm-register-default-colors): Declare.
6
7 2012-05-02 Chong Yidong <cyd@gnu.org>
8
9 * allout.el (allout-exposure-change-functions)
10 (allout-structure-added-functions)
11 (allout-structure-deleted-functions)
12 (allout-structure-shifted-functions): Rename abnormal hooks from
13 *-hook, and convert to defcustoms.
14 (allout-after-copy-or-kill-hook, allout-post-undo-hook): Convert
15 to defcustoms.
16 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
17
18 * allout-widgets.el: Hook callers changed.
19
20 2012-05-02 Eli Zaretskii <eliz@gnu.org>
21
22 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
23 the yanked message in preference to the default value of
24 buffer-file-coding-system.
25
26 2012-05-02 Martin Rudalics <rudalics@gmx.at>
27
28 * window.el (display-buffer--action-function-custom-type): Fix
29 entry.
30
31 2012-05-02 Alan Mackenzie <acm@muc.de>
32
33 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
34
35 2012-05-01 Glenn Morris <rgm@gnu.org>
36
37 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
38
39 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
40
41 * cus-edit.el (custom-variable-documentation): Simplify with format.
42
43 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
44 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * simple.el (suggest-key-bindings, execute-extended-command):
47 Move from keyboard.c.
48
49 2012-05-01 Chong Yidong <cyd@gnu.org>
50
51 * follow.el: Eliminate advice.
52 (set-process-filter, process-filter, sit-for): Advice deleted.
53 (follow-mode-off-hook): Obsolete hook removed.
54 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
55 Vars deleted.
56 (follow-auto): Use a :set function.
57 (follow-mode): Rewritten. Don't advise process filters.
58 (follow-switch-to-current-buffer-all, follow-scroll-up)
59 (follow-scroll-down): Assume follow-mode is bound.
60 (follow-comint-scroll-to-bottom)
61 (follow-align-compilation-windows): New functions.
62 (follow--window-sorter): New function.
63 (follow-all-followers): Use it to explicitly sort windows by their
64 positions; don't make assumptions about next-window order.
65 (follow-windows-start-end, follow-delete-other-windows-and-split)
66 (follow-calc-win-start): Doc fix.
67 (follow-windows-aligned-p, follow-select-if-visible): Don't call
68 vertical-motion unnecessarily.
69 (follow-adjust-window): New function.
70 (follow-post-command-hook): Use it.
71 (follow-call-set-process-filter, follow-call-process-filter)
72 (follow-intercept-process-output, follow-tidy-process-filter-alist)
73 (follow-stop-intercept-process-output, follow-generic-filter):
74 Functions deleted.
75 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
76 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
77 New functions, replacing advice on scroll-bar-* commands.
78 (follow-mwheel-scroll): New function (Bug#4112).
79
80 * comint.el (comint-adjust-point): New function.
81 (comint-postoutput-scroll-to-bottom): Use it.
82 Call follow-comint-scroll-to-bottom for Follow mode buffers.
83
84 2012-05-01 Glenn Morris <rgm@gnu.org>
85
86 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
87 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
88 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
89 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
90 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
91 Remove no-byte-compile setting.
92
93 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * minibuffer.el (completion-table-with-quoting): Fix compatibility
96 all-completions code to not return a number in the last cdr.
97
98 2012-04-30 Leo Liu <sdl.web@gmail.com>
99
100 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
101 read-only error.
102
103 2012-04-29 Chong Yidong <cyd@gnu.org>
104
105 * follow.el (follow-calc-win-end): Rewrite to handle partial
106 screen lines correctly (Bug#8390).
107 (follow-avoid-tail-recenter): Minor cleanup.
108
109 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 Avoid the obsolete `assoc' package.
112 * speedbar.el (speedbar-refresh): Avoid adelete.
113 (speedbar-file-lists): Simplify and avoid aput.
114 * man.el (Man--sections, Man--refpages): New vars, replacing
115 Man-sections-alist and Man-refpages-alist.
116 (Man-build-section-alist, Man-build-references-alist):
117 Use them; avoid aput.
118 (Man--last-section, Man--last-refpage): New vars.
119 (Man-follow-manual-reference): Use them.
120 Use the `default' arg of completing-read.
121 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
122
123 2012-04-27 Chong Yidong <cyd@gnu.org>
124
125 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
126
127 * startup.el (x-apply-session-resources): New function.
128
129 * term/ns-win.el (ns-initialize-window-system):
130 * term/w32-win.el (w32-initialize-window-system):
131 * term/x-win.el (x-initialize-window-system): Use it to properly
132 set menu-bar-mode and other vars from X resources, even if the
133 initial frame is not a window-system frame (Bug#2299).
134
135 * subr.el (read-key): Avoid running filter function when setting
136 up temporary tool bar entries (Bug#9922).
137
138 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
139
140 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
141 (Bug#11344)
142
143 2012-04-27 Chong Yidong <cyd@gnu.org>
144
145 * select.el (xselect--encode-string): New function, split from
146 xselect-convert-to-string.
147 (xselect-convert-to-string): Use it.
148 (xselect-convert-to-filename, xselect-convert-to-os)
149 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
150 returned strings are properly encoded (Bug#11315).
151
152 2012-04-27 Chong Yidong <cyd@gnu.org>
153
154 * simple.el (delete-active-region): Move to killing custom group.
155
156 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
157
158 * progmodes/which-func.el (which-func-current): Quote %
159 characters for mode-line processing.
160
161 2012-04-27 Chong Yidong <cyd@gnu.org>
162
163 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
164 reaching eob (Bug#11286).
165
166 2012-04-27 Eli Zaretskii <eliz@gnu.org>
167
168 * progmodes/gdb-mi.el (gdb-control-level): New variable.
169 (gdb): Make it buffer-local and init to zero.
170 (gdb-control-commands-regexp): New variable.
171 (gdb-send): Don't wrap in "-interpreter-exec console" if
172 gdb-control-level is positive. Increment gdb-control-level
173 whenever the command matches gdb-control-commands-regexp, and
174 decrement it each time the command is "end". (Bug#11279)
175
176 2012-04-27 Martin Rudalics <rudalics@gmx.at>
177
178 * window.el (adjust-window-trailing-edge, enlarge-window)
179 (shrink-window, window-resize):
180 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
181 windows (Bug#11276).
182
183 2012-04-27 Chong Yidong <cyd@gnu.org>
184
185 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
186 fix "missing prefix" warning. All callers changed.
187
188 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * emacs-lisp/assoc.el: Move to obsolete/.
191
192 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
195
196 * term/ns-win.el (ns-define-service):
197 * progmodes/pascal.el (pascal-goto-defun):
198 * progmodes/js.el (js--read-tab):
199 * progmodes/etags.el (tags-lazy-completion-table):
200 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
201 * emacs-lisp/ewoc.el (ewoc--wrap):
202 * emacs-lisp/assoc.el (aput, adelete, amake):
203 * doc-view.el (doc-view-convert-current-doc):
204 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
205
206 2012-04-26 Chong Yidong <cyd@gnu.org>
207
208 * image.el (image-type-from-buffer): Only return supported image
209 type (Bug#9045).
210
211 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
212 value, for symmetry with diff-end-of-hunk.
213 (diff-split-hunk, diff-find-source-location)
214 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
215 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
216 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
217 compute the relevant hunk or file properly (Bug#6005).
218 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
219
220 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * vc/vc-mtn.el:
223 * vc/vc-hg.el:
224 * vc/vc-git.el:
225 * vc/vc-dir.el:
226 * vc/vc-cvs.el:
227 * vc/vc-bzr.el:
228 * vc/vc-arch.el:
229 * vc/vc.el: Replace lexical-let by lexical-binding.
230 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
231 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
232 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
233
234 2012-04-26 Chong Yidong <cyd@gnu.org>
235
236 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
237 (diff-mode-shared-map): Bind it to / and [remap undo].
238
239 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
240 (ediff-window-setup-function): Use it as the default, to set up
241 windows based on whether the current frame is graphical (Bug#2138).
242 (ediff-choose-window-setup-function-automatically): Make obsolete.
243
244 * vc/ediff-init.el: Always define ediff-pixel-width/height.
245
246 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * ffap.el: Remove old code for obsolete package.
249 (ffap-complete-as-file-p): Remove.
250
251 Use completion-table-with-quoting for comint and pcomplete.
252 * comint.el (comint--unquote&requote-argument)
253 (comint--unquote-argument, comint--requote-argument): New functions.
254 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
255 (comint-quote-filename): Use regexp-opt-charset.
256 (comint--common-suffix, comint--common-quoted-suffix)
257 (comint--table-subvert): Remove.
258 (comint-unquote-function, comint-requote-function): New vars.
259 (comint--complete-file-name-data): Use them with
260 completion-table-with-quoting.
261 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
262 * pcomplete.el (pcomplete-arg-quote-list)
263 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
264 (pcomplete-unquote-argument-function): Default to non-nil.
265 (pcomplete-unquote-argument): Simplify.
266 (pcomplete--common-quoted-suffix): Remove.
267 (pcomplete-requote-argument-function): New var.
268 (pcomplete--common-suffix): New function.
269 (pcomplete-completions-at-point): Use completion-table-with-quoting
270 and completion-table-subvert.
271
272 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
273 (minibuffer--double-dollars): Preserve properties.
274 (completion--sifn-requote): New function.
275 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
276
277 * minibuffer.el: Add support for completion of quoted/escaped data.
278 (completion-table-with-quoting, completion-table-subvert): New funs.
279 (completion--twq-try, completion--twq-all): New functions.
280 (completion--nth-completion): New function.
281 (completion-try-completion, completion-all-completions): Use it.
282
283 2012-04-25 Leo Liu <sdl.web@gmail.com>
284
285 * progmodes/python.el (python-pdbtrack-get-source-buffer):
286 Use compilation-message if available to find real filename.
287
288 2012-04-25 Chong Yidong <cyd@gnu.org>
289
290 * vc/diff-mode.el (diff-setup-whitespace): New function.
291 (diff-mode): Use it.
292
293 * vc/diff.el (diff-sentinel):
294 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
295 Whitespace mode variables based on diff style (Bug#8612).
296
297 2012-04-25 Leo Liu <sdl.web@gmail.com>
298
299 * progmodes/python.el (python-send-region): Add suffix .py to the
300 temp file.
301
302 * files.el (auto-mode-alist): Use javascript-mode instead.
303
304 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
305
306 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
307
308 * soap-client.el (soap-resolve-references-for-sequence-type)
309 (soap-resolve-references-for-array-type): Hack to prevent self
310 references, see Bug#9.
311 (soap-parse-envelope): Report the contents of the 'detail' node
312 when receiving a fault reply.
313 (soap-parse-envelope): Report the contents of the entire 'detail' node.
314
315 * soap-inspect.el (soap-sample-value-for-simple-type)
316 (soap-inspect-simple-type): New function.
317
318 * soap-client.el (soap-simple-type): New struct.
319 (soap-default-xsd-types, soap-default-soapenc-types)
320 (soap-decode-basic-type, soap-encode-basic-type):
321 support unsignedInt and double basic types.
322 (soap-resolve-references-for-simple-type)
323 (soap-parse-simple-type, soap-encode-simple-type): New function.
324 (soap-parse-schema): Parse xsd:simpleType declarations.
325
326 * soap-client.el (soap-default-xsd-types)
327 (soap-default-soapenc-types): Add integer, byte and anyURI types.
328 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
329 the local name of "soapenc:Array".
330 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
331 decoding integer, byte and anyURI xsd types.
332
333 2012-04-25 Chong Yidong <cyd@gnu.org>
334
335 * cus-edit.el (custom-buffer-create-internal): Update header text.
336
337 2012-04-25 Eli Zaretskii <eliz@gnu.org>
338
339 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
340 settings on 'system-type', not on 'window-system'. On MS-Windows,
341 set interactive-mode on in GDB.
342
343 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
346 (ruby-syntax-propertize-regexp): Remove.
347 (ruby-syntax-propertize-function): Split regexp into chunks.
348 Match following code directly.
349
350 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
351
352 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
353 (ruby-syntax-propertize-regexp): New function.
354 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
355 by a special keyword.
356
357 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
358 (ruby-syntax-general-delimiters-goto-beg)
359 (ruby-syntax-propertize-general-delimiters): New functions.
360 (ruby-syntax-propertize-function): Use them to handle GDL.
361 (ruby-font-lock-keywords): Move old handling of GDL...
362 (ruby-font-lock-syntactic-keywords): .. to here.
363 (ruby-calculate-indent): Adjust indentation for GDL.
364
365 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
366
367 * notifications.el (top): Remove unneeded declarations.
368 (notifications-specification-version): Change to "1.2".
369 (notifications-interface, notifications-notify-method)
370 (notifications-close-notification-method): Fix docstring.
371 (notifications-get-capabilities-method): New defconst.
372 (notifications-notify): Add :action-items, :resident and
373 :transient hints. Change "image_data" to "image-data" and
374 "image_path" to "image-path".
375 (notifications-get-capabilities): New defun.
376
377 2012-04-24 Leo Liu <sdl.web@gmail.com>
378
379 * progmodes/python.el: Move hideshow setup to the end.
380
381 2012-04-24 Martin Rudalics <rudalics@gmx.at>
382
383 * window.el (handle-select-window): Clear echo area since this is
384 no more done by read_char (Bug#11304).
385
386 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
389 and `/ M' to filter-derived-mode.
390 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
391 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
392 (ibuffer-mark-by-mode): Use default rather than initial-input.
393 (ibuffer-filter-by-derived-mode): Autoload and require-match.
394
395 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
396
397 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
398 (ibuffer-filter-by-derived-mode): New filter.
399 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
400
401 2012-04-23 Andreas Politz <politza@fh-trier.de>
402
403 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
404
405 2012-04-23 Chong Yidong <cyd@gnu.org>
406
407 * cus-edit.el (customize-apropos, customize-apropos-options):
408 Disable matching of non-option variables (Bug#11176).
409 (customize-option, customize-option-other-window)
410 (customize-changed-options): Doc fix.
411 (customize-apropos-options, customize-apropos-faces)
412 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
413
414 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
415 Fix word list splitting (Bug#11132).
416 (apropos-symbol, apropos-keybinding, apropos-label)
417 (apropos-property, apropos-function-button)
418 (apropos-variable-button, apropos-misc-button): New faces.
419 (apropos-symbol-face, apropos-keybinding-face)
420 (apropos-label-face, apropos-property-face, apropos-match-face):
421 Variables removed (Bug#8396).
422 (apropos-library-button, apropos-format-plist, apropos-print)
423 (apropos-print-doc, apropos-describe-plist): Callers changed.
424
425 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
426
427 * net/xesam.el (xesam-mode-map): Use let-bound map in
428 initialization. (Bug#11292)
429
430 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
431
432 Preserve ispell session localwords when switching back to
433 original buffer.
434
435 * ispell.el (ispell-buffer-session-localwords): New buffer-local
436 variable to hold buffer session localwords.
437 (ispell-kill-ispell): add option 'clear to delete session
438 localwords.
439 (ispell-command-loop, ispell-change-dictionary)
440 (ispell-buffer-local-words): Preserve session localwords when
441 needed.
442
443 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
444 Preserve session localwords when needed.
445
446 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
447
448 * ispell.el (ispell-insert-word) Remove unneeded function using
449 obsolete `translation-table-for-input'.
450 (ispell-word, ispell-process-line, ispell-complete-word):
451 Use plain `insert' instead of removed `ispell-insert-word'.
452
453 2012-04-22 Chong Yidong <cyd@gnu.org>
454
455 * cus-edit.el (custom-variable-menu)
456 (custom-variable-reset-saved, custom-face-menu)
457 (custom-face-reset-saved): If there is no saved value, make the
458 "reset-saved" operation bring back the default (Bug#9509).
459 (custom-face-state): Properly detect themed faces.
460
461 * faces.el (face-spec-set): Stop supporting deprecated form of
462 third arg.
463
464 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
465
466 Move functions from C to Lisp. Make non-blocking method calls
467 the default. Implement further D-Bus standard interfaces.
468
469 * net/dbus.el (dbus-message-internal): Declare function.
470 Remove unneeded function declarations.
471 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
472 (dbus-message-type-method-return, dbus-message-type-error)
473 (dbus-message-type-signal): Declare variables. Remove local
474 definitions.
475 (dbus-interface-dbus, dbus-interface-peer)
476 (dbus-interface-introspectable, dbus-interface-properties)
477 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
478 Adapt docstring.
479 (dbus-interface-objectmanager): New defconst.
480 (dbus-call-method, dbus-call-method-asynchronously)
481 (dbus-send-signal, dbus-method-return-internal)
482 (dbus-method-error-internal, dbus-register-service)
483 (dbus-register-signal, dbus-register-method): New defuns, moved
484 from dbusbind.c
485 (dbus-call-method-handler, dbus-setenv)
486 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
487 New defuns.
488 (dbus-call-method-non-blocking): Make it an obsolete function.
489 (dbus-unregister-object, dbus-unregister-service)
490 (dbus-handle-event, dbus-register-property)
491 (dbus-property-handler): Obey the new structure of
492 `bus-registered-objects'.
493 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
494 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
495 Use `dbus-call-method'.
496
497 2012-04-22 Chong Yidong <cyd@gnu.org>
498
499 * cus-edit.el (custom-commands, custom-reset-menu)
500 (Custom-reset-standard): Tweak labels.
501 (custom-reset-button-menu): Change default to t.
502 (custom-buffer-create-internal): For the custom-reset-button-menu
503 case, put the revert button first.
504 (custom-group-subtitle): New face.
505 (custom-group-value-create): Align docstring to a specific column.
506
507 * wid-edit.el (widget-documentation-link-add): Don't handle
508 indentation in this function.
509 (widget-documentation-string-indent-to): New function.
510 (widget-documentation-string-value-create): Use it.
511
512 * autorevert.el (auto-revert):
513 * epg-config.el (epg):
514 * ibuffer.el (ibuffer):
515 * mpc.el (mpc):
516 * ses.el (ses):
517 * eshell/eshell.el (eshell):
518 * net/ange-ftp.el (ange-ftp):
519 * progmodes/ebnf2ps.el (postscript):
520 * progmodes/flymake.el (flymake):
521 * progmodes/prolog.el (prolog):
522 * progmodes/verilog-mode.el (verilog-mode):
523 * progmodes/which-func.el (which-func):
524 * term/xterm.el (xterm):
525 * textmodes/picture.el (picture):
526 * textmodes/tildify.el (tildify):
527 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
528 customization buffers.
529
530 2012-04-22 Alan Mackenzie <acm@muc.de>
531
532 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
533 Adding a ) can hide the resulting (..) from searches. Fix it.
534 Bound the backward search to the position of the existing (.
535
536 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
537
538 * progmodes/verilog-mode.el (verilog-mode): Check whether
539 which-func-modes is t before adding verilog-mode.
540 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
541
542 2012-04-21 Leo Liu <sdl.web@gmail.com>
543
544 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
545
546 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
547
548 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
549 filling of the last column of a table (Bug#5635).
550 (woman-find-next-control-line): New arg, specifying an additional
551 regexp component for the control line.
552 (woman2-roff-buffer): Use it.
553 (woman-break-table): New function.
554 (woman2-TS): Use it.
555
556 2012-04-21 Chong Yidong <cyd@gnu.org>
557
558 * woman.el (woman-set-buffer-display-table, woman-decode-region)
559 (woman-horizontal-escapes, woman-negative-vertical-space)
560 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
561 (WoMan-warn-ignored): Use ?\s instead of ?\ .
562
563 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * minibuffer.el (completion-file-name-table): Complete user names.
566
567 2012-04-20 Leo Liu <sdl.web@gmail.com>
568
569 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
570 and pcase-let*.
571
572 2012-04-20 Chong Yidong <cyd@gnu.org>
573
574 * server.el (server-execute): Respect initial-buffer-choice if it
575 is a string and there are no files to open (Bug#2825).
576 (server-create-window-system-frame, server-create-tty-frame):
577 Don't switch buffers here.
578 (server-process-filter): Only try to open a window system frame if
579 compiled with graphical support (Bug#8314).
580
581 2012-04-20 Dan Nicolaescu <dann@gnu.org>
582
583 * battery.el (battery-echo-area-format): Display remaining time
584 for sysfs backend too (Bug#11269).
585 (battery-linux-sysfs): Fix conditional for the charge.
586
587 2012-04-20 Chong Yidong <cyd@gnu.org>
588
589 * progmodes/gdb-mi.el (gdb): Revert previous change.
590 (gdb-inferior-io--init-proc): New function.
591 (gdb-init-1): Use it.
592 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
593 responsible for allocating a new pty and hooking it to gdb when
594 the old pty gets an EIO due to process exit.
595 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
596 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
597 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
598
599 2012-04-20 Eli Zaretskii <eliz@gnu.org>
600
601 * window.el (window-min-size, window-sizable, window-min-delta)
602 (window-max-delta, window--resizable, window-resizable)
603 (window-total-size, window-full-height-p, window-full-width-p)
604 (window-in-direction, window--resize-mini-window, window-resize)
605 (window--resize-child-windows-normal)
606 (window--resize-child-windows, window--resize-siblings)
607 (window--resize-this-window, adjust-window-trailing-edge)
608 (enlarge-window, shrink-window): Doc fixes.
609
610 2012-04-20 Chong Yidong <cyd@gnu.org>
611
612 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
613 New function to call delete-process on the gdb-inferior buffer's pty.
614 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
615 pty process (Bug#11273).
616 (gdb-update): New arg to suppress talking to the gdb process.
617 (gdb-done-or-error): Use it.
618 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
619 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
620 sentinel not being called.
621
622 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
623
624 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
625
626 2012-04-20 Glenn Morris <rgm@gnu.org>
627
628 * net/network-stream.el (open-network-stream): Doc fix.
629
630 2012-04-20 Chong Yidong <cyd@gnu.org>
631
632 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
633
634 2012-04-20 Alan Mackenzie <acm@muc.de>
635
636 Ensure searching for keywords is case sensitive.
637
638 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
639 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
640 (c-defun-name, c-mark-function, c-cpp-define-name)
641 (c-comment-indent, c-scan-conditionals, c-indent-defun)
642 (c-context-line-break): Bind case-fold-search to nil.
643
644 * progmodes/cc-mode.el (c-font-lock-fontify-region):
645 Bind case-fold-search to nil.
646
647 2012-04-20 Chong Yidong <cyd@gnu.org>
648
649 * mail/sendmail.el (mail-bury): Call return action with the right
650 Rmail buffer (Bug#11242).
651
652 * server.el (server-process-filter): Handle corner case where both
653 tty and nowait options are present (Bug#11102).
654
655 2012-04-20 Eli Zaretskii <eliz@gnu.org>
656
657 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
658 (top level): Put into the executable the ident-style '$Id:' tag on
659 windows-nt as well.
660
661 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * electric.el (electric-indent-post-self-insert-function): Check that
664 electric-indent-mode is enabled in current buffer.
665
666 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
667
668 * imenu.el (imenu-progress-message): Restore; it is "used" in
669 erc/erc-imenu.el and net/snmp-mode.el.
670
671 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
672
673 * avoid.el (mouse-avoidance-mode): Mark unused arg.
674 (mouse-avoidance-nudge-mouse): Remove unused binding.
675
676 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
677
678 * descr-text.el (describe-char):
679 * progmodes/python.el (python-describe-symbol):
680 Don't call `toggle-read-only', set `buffer-read-only'.
681
682 * imenu.el (imenu-default-goto-function): Mark unused args.
683 (imenu-progress-message): Remove obsolete macro; all callers changed.
684
685 * subr.el (keymap-canonicalize): Remove unused binding.
686 (read-passwd): Mark unused arg.
687
688 * tutorial.el (tutorial--display-changes): Remove unused binding.
689 (tutorial--save-tutorial-to): Remove unused variable.
690
691 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
692 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
693 (package-generate-autoloads, package-menu--generate)
694 (package-menu--find-upgrades): Remove unused bindings.
695
696 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
697 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
698 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
699 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
700 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
701 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
702 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
703 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
704 (cua-delete-char-rectangle): Mark unused args.
705 (cua-align-rectangle): Remove unused binding.
706
707 * mail/rmail.el (compilation--message->loc)
708 (epa--find-coding-system-for-mime-charset): Declare.
709
710 * net/dbus.el (dbus-register-service): Declare.
711 (dbus-name-owner-changed-handler): Remove unused binding.
712
713 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
714 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
715 (nxml-scan-backward-within): Mark unused arg.
716 (nxml-dynamic-markup-word): Remove unused binding.
717
718 * mouse.el (mouse-menu-major-mode-map):
719 * emacs-lisp/authors.el (authors-scan-change-log)
720 (authors-add-to-author-list):
721 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
722 * emacs-lisp/smie.el (smie-auto-fill):
723 * mail/sendmail.el (mail-bury):
724 * mail/unrmail.el (unrmail):
725 * net/tls.el (open-tls-stream):
726 * textmodes/picture.el (picture-mouse-set-point):
727 Remove unused bindings.
728
729 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
730
731 * net/tramp.el (tramp-action-password): Let-bind
732 `enable-recursive-minibuffers' to t.
733
734 2012-04-18 Sam Steingold <sds@gnu.org>
735
736 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
737 instead of 'string to accommodate values like [f11].
738 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
739 * progmodes/gdb-mi.el: Likewise.
740
741 2012-04-18 Leo Liu <sdl.web@gmail.com>
742
743 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
744 current buffer.
745 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
746 LOCAL is nil.
747
748 2012-04-18 Chong Yidong <cyd@gnu.org>
749
750 * simple.el (line-move): Use forward-line if in batch mode
751 (Bug#11053).
752
753 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
754
755 * files.el (after-find-file): Do not try to add a final newline if
756 the buffer is read-only (Bug#11156).
757
758 2012-04-17 Richard Stallman <rms@gnu.org>
759
760 * mail/rmail.el (rmail-start-mail):
761 Pass (rmail-mail-return...) for the return-action.
762 Pass (rmail-yank-current-message...) for the yank-action.
763 (rmail-yank-current-message): New function.
764 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
765 (rmail-reply): Likewise.
766 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
767
768 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
769 buffer, not the last. Reject temp buffers. Use the rmail-mode
770 buffer, not newbuf.
771
772 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
773
774 * server.el (server-ensure-safe-dir): Simplify.
775
776 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * emacs-lisp/smie.el: Provide smarter auto-filling.
779 (smie-auto-fill): New function.
780 (smie-setup): Use it.
781
782 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
783
784 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
785
786 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
787 (comment-indent): Use it.
788
789 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
790
791 * ses.el: The overall change is to add cell renaming, that is
792 setting fancy names for cell symbols other than name matching
793 "\\`[A-Z]+[0-9]+\\'" regexp .
794 (ses-localvars): Add ses--renamed-cell-symb-list.
795 (ses-create-cell-variable): New defun.
796 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
797 (ses-relocate-formula): Relocate formulas only for cells the
798 symbols of which are not renamed, i.e. symbols whose names do not
799 match regexp "\\`[A-Z]+[0-9]+\\'".
800 (ses-relocate-all): Relocate values only for cells the symbols of
801 which are not renamed.
802 (ses-load): Create cells variables as the (ses-cell ...) are read,
803 in order to check row col consistency with cell symbol name only
804 for cells that are not renamed.
805 (ses-replace-name-in-formula): New defun.
806 (ses-rename-cell): New defun.
807
808 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
809
810 * progmodes/perl-mode.el (perl-indent-parens-as-block):
811 New option (bug#11118).
812 (perl-calculate-indent): Respect it.
813
814 2012-04-17 Glenn Morris <rgm@gnu.org>
815
816 * dired-aux.el (dired-mark-read-string): Doc fix.
817
818 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
819
820 * dired-aux.el (dired-mark-read-string): Offer optional completion.
821 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
822
823 2012-04-17 Glenn Morris <rgm@gnu.org>
824
825 * mouse.el (mouse-drag-track):
826 * speedbar.el (speedbar-frame-mode):
827 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
828
829 2012-04-16 Leo Liu <sdl.web@gmail.com>
830
831 * progmodes/python.el: Trivial cleanup.
832
833 2012-04-16 Glenn Morris <rgm@gnu.org>
834
835 * vc/vc.el (vc-string-prefix-p):
836 * vc/pcvs-util.el (cvs-string-prefix-p):
837 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
838 * mpc.el (mpc-string-prefix-p):
839 Make all of these into obsolete aliases for string-prefix-p.
840 Update callers.
841 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
842
843 * textmodes/two-column.el: Move custom options to the start.
844 (frame-width): Remove compat definition.
845 (2C-associate-buffer, 2C-dissociate):
846 Use with-current-buffer rather than save-excursion.
847 (2C-dissociate): Force a mode-line update.
848 (2C-autoscroll): Use ignore-errors.
849
850 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
851 Autoload trivia.
852
853 * emacs-lisp/cl-extra.el (*random-state*):
854 Remove unnecessary declaration.
855
856 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
857
858 * play/cookie1.el (cookie-snarf):
859 Give an explicit error if input file cannot be read.
860
861 * play/yow.el (yow-file): Use expand-file-name rather than concat.
862
863 * progmodes/perl-mode.el (c-macro-expand):
864 Remove unnecessary autoload (it is in loaddefs.el).
865
866 * textmodes/picture.el (picture-desired-column)
867 (picture-update-desired-column): Convert comments to doc-strings.
868 (picture-substitute): Remove function.
869 (picture-mode-map): Initialize in the defvar.
870
871 * woman.el: Remove eval-after-load for tar-mode.
872 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
873 (woman-tar-extract-file): Autoload it.
874
875 * frame.el (automatic-hscrolling): Make this alias obsolete.
876
877 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
878
879 * ispell.el (ispell-set-spellchecker-params): Post-process
880 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
881 (ispell-dictionary-base-alist): Revert to original XEmacs
882 friendly version for default. [:alpha:] will be added in
883 `ispell-set-spellchecker-params' if needed
884
885 2012-04-16 Chong Yidong <cyd@gnu.org>
886
887 * image.el (imagemagick--extension-regexp): New variable.
888 (imagemagick-register-types): Use it.
889 (imagemagick-types-inhibit): Add :set function. Allow new value
890 of t to inhibit all types.
891
892 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
893 so we can preload it.
894
895 * loadup.el (fboundp): Preload regexp-opt, needed by
896 imagemagick-register-types.
897
898 2012-04-15 Chong Yidong <cyd@gnu.org>
899
900 * frame.el (scrolling): Remove nearly unused customization group.
901
902 * scroll-all.el (scroll-all-mode): Move to windows group.
903
904 2012-04-15 Chong Yidong <cyd@gnu.org>
905
906 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
907
908 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 Avoid the use of ((lambda ...) ...) in lexical-binding code.
911 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
912
913 2012-04-15 Glenn Morris <rgm@gnu.org>
914
915 * simple.el (process-file-side-effects): Doc fix.
916
917 2012-04-15 Glenn Morris <rgm@gnu.org>
918
919 * international/mule-cmds.el (set-language-environment): Doc fix.
920
921 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
922
923 * server.el (server-auth-key, server-generate-key): Doc fixes.
924 (server-get-auth-key): Doc fix. Use `string-match-p'.
925 (server-start): Reflow docstring.
926
927 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
928
929 * server.el (server-generate-key): `called-interactively-p'
930 requires a parameter.
931
932 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
933
934 * server.el (server-auth-key): New variable.
935 (server-generate-key, server-get-auth-key): New function.
936 (server-start): Use the new variable and functions to allow
937 setting a permanent server key (bug#9423).
938
939 2012-04-14 Leo Liu <sdl.web@gmail.com>
940
941 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
942
943 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
944
945 Spelling fixes.
946 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
947 Emacs uses American spelling.
948
949 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
950
951 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
952 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
953 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
954 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
955
956 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * progmodes/which-func.el (which-func-modes): Change default.
959
960 2012-04-14 Kim F. Storm <storm@cua.dk>
961
962 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
963 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
964
965 2012-04-14 Chong Yidong <cyd@gnu.org>
966
967 * custom.el (custom-theme-set-variables): Doc fix.
968
969 2012-04-14 Glenn Morris <rgm@gnu.org>
970
971 * international/mule.el (set-auto-coding-for-load): Doc fix.
972
973 2012-04-14 Alan Mackenzie <acm@muc.de>
974
975 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
976 imenu work again for Objective C Mode. Correct the *-index values,
977 these having been disturbed by a previous change in 2011-08.
978
979 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
980 Correct two search limits.
981
982 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
985
986 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
987
988 * international/characters.el: Fix sorting.
989
990 2012-04-14 Eli Zaretskii <eliz@gnu.org>
991
992 * international/characters.el: Add more missing Latin case pairs.
993
994 2012-04-14 Glenn Morris <rgm@gnu.org>
995
996 * files.el (dir-locals-set-class-variables): Doc fix.
997
998 2012-04-14 Eli Zaretskii <eliz@gnu.org>
999
1000 * international/characters.el: Add set-case-syntax-pair call for
1001 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1002 counterpart. (Bug#11209)
1003
1004 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1005
1006 2012-04-14 Glenn Morris <rgm@gnu.org>
1007
1008 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1009
1010 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1011
1012 * textmodes/ispell.el (ispell-dictionary-base-alist):
1013 Add data for Hebrew.
1014
1015 2012-04-14 Chong Yidong <cyd@gnu.org>
1016
1017 * net/rcirc.el (rcirc-cmd-quit):
1018 Revert 2012-03-18 change (Bug#11192).
1019
1020 2012-04-14 Glenn Morris <rgm@gnu.org>
1021
1022 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1023
1024 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1025
1026 * minibuffer.el (completion-in-region-mode-map):
1027 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1028
1029 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1030
1031 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1032
1033 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1034
1035 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1036 to allow `C-M-f' and `C-M-b' to move to the nearest path
1037 separator (bug#9511).
1038
1039 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1040
1041 * avoid.el: Require cl when compiling. And also move the
1042 `provide' to the end.
1043
1044 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1045
1046 * avoid.el (mouse-avoidance-banish-position): New variable.
1047 (mouse-avoidance-banish-destination): Use it (bug#10165).
1048
1049 2012-04-13 Leo Liu <sdl.web@gmail.com>
1050
1051 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1052
1053 2012-04-13 Ken Brown <kbrown@cornell.edu>
1054
1055 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1056 this is no longer needed now that cygstart understands file:// URLs.
1057 (browse-url-filename-alist): For the same reason, don't modify
1058 file:// URLs on Cygwin.
1059
1060 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1063 the region on shift if the binding is already shifted (bug#11221).
1064
1065 2012-04-12 Glenn Morris <rgm@gnu.org>
1066
1067 * mail/mailpost.el: Move to obsolete/.
1068
1069 2012-04-12 Drew Adams <drew.adams@oracle.com>
1070
1071 * imenu.el (imenu--generic-function): Ignore invisible definitions
1072 (bug#10123).
1073
1074 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1075
1076 * hexl.el (hexl-bits): New variable.
1077 (hexl-options): Mention the variable in the doc string.
1078 (hexl-rulerise, hexl-line-displen): New functions.
1079 (hexl-mode): Mention the new variable.
1080 (hexl-mode, hexl-current-address, hexl-current-address):
1081 Use the displen.
1082 (hexl-ascii-start-column): New function.
1083 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1084 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1085
1086 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1087
1088 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1089 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1090 the encoding, as expected by hunspell.
1091
1092 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * battery.el (battery--linux-sysfs-regexp): New const.
1095 (battery-status-function): Use it. Remove yeeloong special case.
1096 (battery-yeeloong-sysfs): Remove.
1097 (battery-echo-area-format): Remove yeeloong special case.
1098
1099 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1102 Reported by Noah Friedman.
1103
1104 * subr.el (read-passwd): Use read-string.
1105
1106 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1107
1108 * vcursor.el (vcursor-move): Increase the priority of the overlay
1109 (bug#9663).
1110
1111 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1112
1113 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1114 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1115
1116 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1117
1118 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1119 define-minor-mode (bug#10760).
1120
1121 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1122
1123 * progmodes/grep.el (rgrep): Tweak the find command line so
1124 that directories matching `grep-find-ignored-files' won't be
1125 pruned (bug#10351).
1126
1127 2012-04-11 Chong Yidong <cyd@gnu.org>
1128
1129 * startup.el (command-line): Remove support for long-obsolete
1130 variable font-lock-face-attributes.
1131
1132 2012-04-11 Glenn Morris <rgm@gnu.org>
1133
1134 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1135
1136 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * window.el (window--state-get-1): Obey window-point-insertion-type.
1139
1140 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1141
1142 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1143 to previous function when point is on the first character of a
1144 function. Take care of that in `narrow-to-defun' (bug#6157).
1145
1146 2012-04-11 Glenn Morris <rgm@gnu.org>
1147
1148 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1149 not just file-errors.
1150
1151 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1152 (vc-bzr-sha1): Use internal sha1.
1153
1154 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1157
1158 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1159
1160 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1161 that start in the middle of the line (bug#10496).
1162
1163 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1164
1165 * battery.el (battery-linux-proc-acpi): Only one battery is
1166 discharged at a time, but that seems to confuse battery.el when
1167 computing `rate-type' for the battery not being discharged
1168 (bug#10332).
1169
1170 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1173
1174 * international/quail.el: Use dolist and simplify.
1175 (quail-define-package, quail-update-keyboard-layout)
1176 (quail-define-rules): Use dolist.
1177 (quail-insert-kbd-layout, quail-get-translation): CSE.
1178
1179 * tmm.el: Use dolist, remove left over hook.
1180 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1181 Use dolist.
1182 (calendar-load-hook): Don't mess with it.
1183
1184 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1185 Use derived-mode-p. Run the diff asynchronously.
1186
1187 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1188
1189 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1190
1191 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1192
1193 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1194 (list-dynamic-libraries--loaded): New function.
1195 (list-dynamic-libraries--refresh): Use it.
1196
1197 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1198
1199 * progmodes/python.el (python-fill-paragraph):
1200 Make python-fill-region in a multiline string work when font-lock is
1201 disabled (bug#7018).
1202
1203 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1204
1205 * language/european.el (cp775): Add oem/legacy (en)coding on
1206 DOS/MS Windows for the Baltic languages. There are still plenty
1207 of texts written in this encoding/codepage (bug#6519).
1208
1209 2012-04-10 Glenn Morris <rgm@gnu.org>
1210
1211 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1212 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1213
1214 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1215
1216 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1217 next-line "n" and previous-line "p" in order to make recentf more
1218 consistent with ibuffer, dired or org-mode (bug#9387).
1219
1220 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1221
1222 * image.el (put-image): Return the overlay created instead of the
1223 optional input string (bug#7834). Note that this may break code
1224 that is (for some reason or other) depending on `put-image'
1225 returning the string.
1226
1227 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1228
1229 * simple.el (zap-to-char): Allow zapping using input methods
1230 (bug#1580).
1231
1232 * textmodes/fill.el (fill-region): Leave point and mark where they
1233 were before filling (bug#5399).
1234
1235 2012-04-09 Glenn Morris <rgm@gnu.org>
1236
1237 * version.el (emacs-bzr-get-version):
1238 Handle lightweight checkouts of local branches.
1239
1240 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1241
1242 * international/characters.el: Recover lost case pairs. (Bug#11209)
1243
1244 2012-04-09 Chong Yidong <cyd@gnu.org>
1245
1246 * custom.el (custom-variable-p): Return nil for non-symbol
1247 arguments instead of signaling an error.
1248 (user-variable-p): Obsolete alias for custom-variable-p.
1249
1250 * apropos.el (apropos-variable):
1251 * files-x.el (read-file-local-variable):
1252 * simple.el (set-variable):
1253 * woman.el (woman-mini-help):
1254 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1255
1256 2012-04-09 Glenn Morris <rgm@gnu.org>
1257
1258 * startup.el (normal-top-level): Don't look for leim-list.el
1259 in places where it will not be found. (Bug#910)
1260
1261 * international/mule-cmds.el (set-default-coding-systems):
1262 * files.el (normal-mode):
1263 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1264 This function was removed with ucs-tables.el in 2008.
1265
1266 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1267
1268 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1269 ispell-encoding8-command to "-i", without a trailing space.
1270 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1271 separate command-line arguments, to specify the encoding, since
1272 that's how hunspell expects it.
1273
1274 2012-04-08 Glenn Morris <rgm@gnu.org>
1275
1276 * loadup.el: Load bindings before cus-start.
1277 This reduces somewhat the number of "rogue" settings in emacs -Q.
1278
1279 2012-04-07 Glenn Morris <rgm@gnu.org>
1280
1281 * version.el (emacs-bzr-get-version): New function.
1282 (emacs-bzr-version): New variable.
1283 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1284 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1285
1286 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1287
1288 * international/uni-bidi.el, international/uni-category.el:
1289 * international/uni-combining.el, international/uni-decimal.el:
1290 * international/uni-decomposition.el, international/uni-digit.el:
1291 * international/uni-lowercase.el, international/uni-mirrored.el:
1292 * international/uni-name.el, international/uni-numeric.el:
1293 * international/uni-titlecase.el, international/uni-uppercase.el:
1294 Update for Unicode 6.1.
1295
1296 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1297
1298 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1299
1300 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1301
1302 * window.el (shrink-window): Mention the `window-min-height'
1303 variable in the doc string.
1304
1305 2012-04-05 Bastien Guerry <bzg@altern.org>
1306
1307 * color.el (color-lighten-name): Fix typo.
1308
1309 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * server.el (server--on-display-p): New function.
1312 (server--on-display-p): Use it.
1313
1314 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1315
1316 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1317 (bug#11145).
1318
1319 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * comint.el (comint--common-quoted-suffix): Check string boundary
1322 before comparing (bug#11158).
1323 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1324
1325 2012-04-04 Chong Yidong <cyd@gnu.org>
1326
1327 * minibuffer.el (completion-extra-properties): Doc fix.
1328
1329 * subr.el (delayed-warnings-hook): Doc fix.
1330
1331 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1332
1333 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1334 selection (Bug#11159).
1335 (epa-insert-keys): Inform that the default public key will be
1336 exported if no key is selected.
1337
1338 2012-04-04 Richard Stallman <rms@gnu.org>
1339
1340 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1341
1342 2012-04-03 Chong Yidong <cyd@gnu.org>
1343
1344 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1345 mail-insert-file, not its obsolete alias mail-attach-file.
1346
1347 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1348
1349 * notifications.el (notifications-notify): Fix docstring.
1350
1351 2012-04-02 Glenn Morris <rgm@gnu.org>
1352
1353 * emacs-lisp/authors.el (authors-aliases): Another addition.
1354
1355 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1356
1357 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1358 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1359 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1360
1361 2012-04-01 Chong Yidong <cyd@gnu.org>
1362
1363 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1364 Handle root directory properly.
1365 (copy-directory): Caller changed.
1366
1367 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1368 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1369
1370 2012-03-31 Glenn Morris <rgm@gnu.org>
1371
1372 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1373
1374 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1375
1376 * calendar/calendar.el (calendar-window-list)
1377 (calendar-hide-window): Restore. (Bug#11140)
1378 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1379
1380 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1381
1382 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1383
1384 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1385 Check if file is a symlink (Bug#10489).
1386
1387 * files.el (copy-directory): Likewise.
1388
1389 2012-03-30 Chong Yidong <cyd@gnu.org>
1390
1391 * image.el (imagemagick-types-inhibit)
1392 (imagemagick-register-types): Doc fix.
1393
1394 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1395
1396 * ispell.el (ispell-get-extended-character-mode):
1397 Disable extended-char-mode for hunspell. hunspell does not support it
1398 and treats ~word as ordinary words in pipe mode.
1399
1400 2012-03-30 Glenn Morris <rgm@gnu.org>
1401
1402 * tutorial.el (help-with-tutorial): Ensure local variables don't
1403 happen to make the buffer read-only. (Bug#11127)
1404
1405 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1408 (perl-calculate-indent): Return `noindent' in strings.
1409
1410 2012-03-28 Sam Steingold <sds@gnu.org>
1411
1412 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1413 instead of the broken adhockery which does not prevent calendar
1414 buffers from being displayed at random after exit.
1415 (calendar-window-list, calendar-hide-window): Remove the broken
1416 adhockery.
1417
1418 2012-03-28 Glenn Morris <rgm@gnu.org>
1419
1420 * replace.el (query-replace-map): Doc fix.
1421
1422 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1423
1424 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1425 contents. (Bug#11109)
1426
1427 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1430 (bug#11077).
1431 (avl-tree--check, avl-tree--check-node): New funs.
1432
1433 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1434
1435 * window.el (switch-to-visible-buffer): New option.
1436 (switch-to-prev-buffer, switch-to-next-buffer):
1437 Observe switch-to-visible-buffer. Make sure that checking for a window
1438 showing a buffer already is done on the same frame.
1439
1440 2012-03-27 Glenn Morris <rgm@gnu.org>
1441
1442 * startup.el (mail-host-address): Doc fix.
1443
1444 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1447 than 197 variables.
1448
1449 2012-03-26 Ami Fischman <ami@fischman.org>
1450
1451 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1452
1453 2012-03-26 Glenn Morris <rgm@gnu.org>
1454
1455 * files.el (save-buffers-kill-emacs): Doc fix.
1456
1457 * startup.el (normal-top-level, command-line, command-line-1):
1458 Give them doc strings.
1459
1460 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1461
1462 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1463 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1464
1465 2012-03-25 Chong Yidong <cyd@gnu.org>
1466
1467 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1468 theme if it was previously enabled before (Bug#11031).
1469
1470 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1471 spec with custom-face-get-current-spec if its :shown-value is not
1472 determined yet (Bug#9337).
1473 (customize-create-theme, custom-theme-revert): Doc fixes.
1474
1475 * button.el (button-at): Minor addition to docstring.
1476
1477 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1478
1479 * vc/vc.el (vc-merge): Fix a prompt.
1480
1481 2012-03-24 Chong Yidong <cyd@gnu.org>
1482
1483 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1484 point (Bug#9623).
1485
1486 * button.el (button-at): Minor addition to docstring.
1487
1488 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * newcomment.el (comment-choose-indent): No space after BOL.
1491
1492 2012-03-22 Sam Steingold <sds@gnu.org>
1493
1494 * window.el (switch-to-prev-buffer): Revert last patch because the
1495 bug turned out to be an advertised feature (Elisp manual 28.14).
1496
1497 2012-03-22 Glenn Morris <rgm@gnu.org>
1498
1499 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1500 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1501
1502 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1503
1504 * net/network-stream.el (network-stream-open-starttls): Make error
1505 message under Windows be less misleading.
1506
1507 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1508
1509 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1510 understands (bug#9942).
1511
1512 2012-03-22 Chong Yidong <cyd@gnu.org>
1513
1514 * simple.el (end-of-visible-line): Handle return value of
1515 next-single-property-change properly (Bug#9371).
1516
1517 2012-03-22 Kenichi Handa <handa@m17n.org>
1518
1519 * international/quail.el (quail-insert-kbd-layout): Fix previous
1520 change. To avoid unwanted bidi reordering, use
1521 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1522
1523 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1524
1525 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1526 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1527 (ruby-beginning-of-indent): Be more careful with the difference
1528 between word-boundary and symbol boundary.
1529 (ruby-mode-syntax-table): Make : a symbol constituent.
1530
1531 2012-03-21 Andreas Politz <politza@fh-trier.de>
1532
1533 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1534
1535 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * progmodes/etags.el (tags-completion-at-point-function):
1538 Improve last fix.
1539
1540 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1541
1542 2012-03-21 Sam Steingold <sds@gnu.org>
1543
1544 * progmodes/etags.el (tags-completion-at-point-function):
1545 Avoid the error when point is inside the pattern.
1546
1547 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1548
1549 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1550 line (Bug#10855).
1551
1552 2012-03-21 Drew Adams <drew.adams@oracle.com>
1553
1554 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1555
1556 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1557
1558 * ido.el (ido-set-current-directory, ido-read-internal)
1559 (ido-choose-completion-string, ido-completion-help): Handle nil
1560 value of ido-completion-buffer (Bug#11008).
1561
1562 2012-03-21 Sam Steingold <sds@gnu.org>
1563
1564 * window.el (switch-to-prev-buffer): Do not switch to a visible
1565 window previous buffer, just like with the frame previous buffers.
1566
1567 2012-03-21 Chong Yidong <cyd@gnu.org>
1568
1569 * faces.el (make-face, make-empty-face, copy-face):
1570 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1571 Doc fixes.
1572
1573 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1576 (widget-complete): Remove broken use of it.
1577
1578 2012-03-20 Chong Yidong <cyd@gnu.org>
1579
1580 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1581 Use string-width and truncate-string-width to handle arbitrary
1582 characters.
1583
1584 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1585
1586 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1587 to draw rectangles, not squares. (Regression introduced by revno
1588 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1589
1590 2012-03-18 Chong Yidong <cyd@gnu.org>
1591
1592 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1593 it is not yet defined (for temacs).
1594
1595 2012-03-18 Leo Liu <sdl.web@gmail.com>
1596
1597 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1598
1599 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1600
1601 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1602 (ispell-choices-win-default-height, ispell-silently-savep)
1603 (ispell-dictionary-alist, ispell-encoding8-command)
1604 (ispell-check-version, ispell-aspell-find-dictionary)
1605 (ispell-valid-dictionary-list, ispell-words-keyword)
1606 (ispell-get-word, ispell-internal-change-dictionary)
1607 (ispell-region, ispell-skip-region-list)
1608 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1609 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1610 (ispell-message-text-end, ispell-message)
1611 (ispell-buffer-local-parsing): Doc fix.
1612
1613 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1614
1615 * htmlfontify.el: Add support for code block fontification for ODT
1616 export (Bug #9914).
1617 (hfy-optimisations): Define new option
1618 `body-text-only'
1619 (hfy-fontify-buffer): Honor above setting.
1620 (hfy-begin-span, hfy-end-span): New routines factored out form
1621 `hfy-fontify-buffer'.
1622 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1623 that permit insertion of custom tags.
1624 (hfy-fontify-buffer): Use above handlers.
1625 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1626 (hfy-face-to-css): Re-defined to be a variable.
1627 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1628 over multiple runs. This is made possible by having the caller let
1629 bind a special variable `hfy-user-sheet-assoc'.
1630 (htmlfontify-string): New defun.
1631 (hfy-compile-face-map): Make sure that the last char in the
1632 buffer is correctly fontified.
1633 (hfy-face-resolve-face): Whitespace only change.
1634
1635 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1636
1637 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1638 message more clear.
1639
1640 2012-03-16 Leo Liu <sdl.web@gmail.com>
1641
1642 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1643
1644 2012-03-16 Alan Mackenzie <acm@muc.de>
1645
1646 Further optimise the handling of large macros.
1647
1648 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1649 limit to a call of `c-literal-limits'.
1650 (c-determine-+ve-limit): New function.
1651 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1652 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1653 In CASE 5B, restrict a search limit to 500.
1654 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1655
1656 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1657 Restrict macro bounds to +-500 from after-change's BEG END.
1658
1659 2012-03-16 Leo Liu <sdl.web@gmail.com>
1660
1661 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1662
1663 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1664
1665 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1666 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1667
1668 2012-03-16 Glenn Morris <rgm@gnu.org>
1669
1670 * view.el (view-buffer, view-buffer-other-window)
1671 (view-buffer-other-frame): Doc fixes re special mode-class.
1672
1673 * subr.el (eval-after-load): If named feature is provided not from
1674 a file, run after-load forms. (Bug#10946)
1675
1676 * calendar/calendar.el (calendar-insert-at-column):
1677 Handle non-unit-width characters a bit better. (Bug#10978)
1678
1679 2012-03-15 Chong Yidong <cyd@gnu.org>
1680
1681 * emacs-lisp/ring.el (ring-extend): New function.
1682 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1683
1684 * comint.el (comint-read-input-ring)
1685 (comint-add-to-input-history): Grow comint-input-ring lazily.
1686
1687 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1690 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1691
1692 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1693 (imenu-add-to-menubar): Don't add a redundant index.
1694 (imenu-update-menubar): Handle a dynamically composed keymap.
1695
1696 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1697
1698 * mail/sendmail.el (mail-encode-header):
1699 Bind rfc2047-encode-encoded-words to nil.
1700
1701 2012-03-13 Glenn Morris <rgm@gnu.org>
1702
1703 * calendar/calendar.el (calendar-string-spread):
1704 Handle non-unit-width characters a bit better. (Bug#10978)
1705
1706 2012-03-13 Leo Liu <sdl.web@gmail.com>
1707
1708 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1709 directory and file as argument (Bug#10822).
1710
1711 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1712
1713 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1714 For dynamically generated code, follow $PC.
1715 (gdb-disassembly-handler-custom): Handle no function name case.
1716
1717 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1718
1719 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1720 * emulation/ws-mode.el (ws-query-replace):
1721 * sort.el (sort-regexp-fields):
1722 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1723
1724 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * dabbrev.el: Fix cycle completion order (bug#10963).
1727 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1728 (dabbrev-completion): Don't use an obarray; provide
1729 a cycle-sort-function.
1730
1731 2012-03-12 Leo Liu <sdl.web@gmail.com>
1732
1733 * simple.el (kill-new): Use equal-including-properties for comparison.
1734 (kill-do-not-save-duplicates): Doc fix.
1735
1736 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * dabbrev.el: Fix cycle completion (bug#10963).
1739 Use lexical binding and wrap to 80 columns.
1740 (dabbrev-completion): Delay computing the list of completions.
1741
1742 2012-03-12 Kenichi Handa <handa@m17n.org>
1743
1744 * international/quail.el (quail-insert-kbd-layout): Surround each
1745 row by LRO and PDF instead of inserting many LRMs. Pad the left
1746 and right of each non-spacing marks. Insert invisible space
1747 between lower and upper characters to prevent composition.
1748
1749 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * minibuffer.el (minibuffer-complete): Don't get confused when the
1752 function is run twice via different commands (bug#10958).
1753 (complete-with-action): Fix docstring.
1754
1755 2012-03-12 Chong Yidong <cyd@gnu.org>
1756
1757 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1758 (nxml-completion-at-point-function): New function.
1759 (nxml-mode): Use it.
1760 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1761
1762 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1763 Load generated autoloads file before byte compiling (Bug#10970).
1764 (package--make-autoloads-and-compile): New helper fun.
1765
1766 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1767
1768 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1769
1770 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1771
1772 * autorevert.el (auto-revert-handler): Ensure, that
1773 file-readable-p is applied only for local files or in
1774 auto-revert-tail-mode.
1775
1776 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1777
1778 * server.el (server-eval-at): Handle non-tcp connections.
1779 Decode result string.
1780
1781 * server.el (server-msg-size): New constant.
1782 (server-reply-print): New function.
1783 (server-eval-and-print): Use it.
1784 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1785 Handle -print-nonl.
1786
1787 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1788
1789 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1790 (Bug#10987).
1791
1792 2012-03-11 Chong Yidong <cyd@gnu.org>
1793
1794 * simple.el (goto-line): Doc fix (Bug#9938).
1795
1796 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1797
1798 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1799 when finished (Bug#10963).
1800
1801 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1802
1803 * window.el (split-window-below): Fix bug in case where
1804 split-window-keep-point is nil (Bug#10971).
1805
1806 2012-03-11 Juri Linkov <juri@jurta.org>
1807
1808 * replace.el (replace-highlight): Set isearch-word to nil
1809 unconditionally. (Bug#10887)
1810
1811 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1812
1813 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1814 mairix-replace-illegal-chars; all callers changed. Don't remove
1815 ^, ~, and = characters: they are meaningful in mairix search specs.
1816 (mairix-widget-create-query): Add usage information about mairix
1817 search forms: negating words, searching for substrings, etc.
1818
1819 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1820
1821 * international/fontset.el (font-encoding-alist): Add an entry for
1822 ksx1001 (Bug#5667).
1823
1824 2012-03-10 Richard Stallman <rms@gnu.org>
1825
1826 * mail/sendmail.el (mail-encode-header):
1827 Set rfc2047-encode-encoded-words.
1828
1829 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1830
1831 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1832 view buffer means not swapped.
1833 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1834 (rmail-write-region-annotate): Error if real text has disappeared.
1835
1836 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1837
1838 2012-03-10 Chong Yidong <cyd@gnu.org>
1839
1840 * emulation/cua-rect.el (cua--init-rectangles):
1841 * emulation/cua-base.el (cua--init-keymaps):
1842 Add delete-forward-char to remappings (Bug#9666).
1843
1844 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1845
1846 * speedbar.el (speedbar-unhighlight-one-tag-line):
1847 Avoid unhighlighting due to frame switching (Bug#10275).
1848
1849 2012-03-10 Chong Yidong <cyd@gnu.org>
1850
1851 * minibuffer.el (completion-in-region, completion-help-at-point):
1852 Give the completion field overlay a high priority (Bug#6830).
1853
1854 * dired.el (dired-goto-file): Recognize absolute file name
1855 listings (Bug#7126).
1856 (dired-goto-file-1): New helper function.
1857 (dired-toggle-read-only): Inhibit warnings.
1858
1859 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1860
1861 * net/dbus.el (dbus-property-handler): Return empty array if
1862 there are no properties.
1863
1864 2012-03-09 Leo Liu <sdl.web@gmail.com>
1865
1866 * savehist.el (savehist-printable): Stricter check for string
1867 value (Bug#10937).
1868
1869 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1870
1871 * mail/smtpmail.el (smtpmail-send-it):
1872 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1873 valid mbox format.
1874
1875 2012-03-09 Glenn Morris <rgm@gnu.org>
1876
1877 * files.el (dir-locals-find-file):
1878 Don't check result is regular, readable.
1879 (dir-locals-read-from-file): Demote errors.
1880
1881 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1882
1883 * international/quail.el (quail-insert-kbd-layout):
1884 Insert invisible LRM characters before each character in a keyboard
1885 layout cell, to prevent their reordering by bidi display engine.
1886 For details, see the discussion in
1887 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1888
1889 2012-03-08 Alan Mackenzie <acm@muc.de>
1890
1891 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1892 the starting position; make it extend the marked region when
1893 invoked repeatedly - all under appropriate circumstances.
1894 Fixes bugs #5525, #10906.
1895
1896 2012-03-08 Glenn Morris <rgm@gnu.org>
1897
1898 * files.el (locate-dominating-file, dir-locals-find-file):
1899 Undo 2012-03-06 change.
1900
1901 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1902
1903 * international/quail.el (quail-help):
1904 Force bidi-paragraph-direction be left-to-right. See discussion in
1905 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1906 for the reason.
1907
1908 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1909
1910 Avoid superfluous registering of signals. (Bug#10807)
1911
1912 * notifications.el (notifications-on-action-object)
1913 (notifications-on-close-object): New defvars.
1914 (notifications-on-action-signal, notifications-on-closed-signal):
1915 Unregister the signal if not needed any longer.
1916 (notifications-notify): Register `notifications-action-signal' or
1917 `notifications-closed-signal', if :on-action or :on-close has been
1918 passed as argument.
1919
1920 2012-03-07 Chong Yidong <cyd@gnu.org>
1921
1922 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1923 non-X platforms.
1924
1925 2012-03-06 Glenn Morris <rgm@gnu.org>
1926
1927 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1928 (x-disown-selection-internal, x-get-selection-internal):
1929 Doc fix (add arglist signatures). (Bug#10783)
1930
1931 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1932
1933 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1934 Handle breakpoints with no "type".
1935
1936 2012-03-06 Glenn Morris <rgm@gnu.org>
1937
1938 * files.el (locate-dominating-file): Add optional predicate argument.
1939 (dir-locals-find-file): Make use of above change.
1940
1941 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1942
1943 * info.el (Info-insert-dir): Also try "dir.gz".
1944
1945 2012-03-06 Glenn Morris <rgm@gnu.org>
1946
1947 * files.el (dir-locals-find-file):
1948 Ignore non-readable or non-regular files. (Bug#10928)
1949
1950 * files.el (locate-dominating-file): Doc fix.
1951
1952 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1953
1954 * calendar/calendar.el (calendar-set-mode-line):
1955 `getenv' returns a string. (Bug#10951)
1956
1957 2012-03-05 Leo Liu <sdl.web@gmail.com>
1958
1959 * simple.el (backward-delete-char-untabify): Constrain point to
1960 field (Bug#10939).
1961
1962 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1963
1964 2012-03-05 Chong Yidong <cyd@gnu.org>
1965
1966 * simple.el (count-words): If called from Lisp, return the word
1967 count, for symmetry with `count-lines'. Arglist changed.
1968 (count-words--message): Args changed. Consolidate counting code
1969 from count-words and count-words-region.
1970 (count-words-region): Caller changed.
1971 (count-lines-region): Make it an obsolete alias.
1972
1973 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1974
1975 * saveplace.el (save-place-to-alist)
1976 (save-place-ignore-files-regexp): Allow value nil to disable this
1977 feature.
1978
1979 2012-03-04 Chong Yidong <cyd@gnu.org>
1980
1981 * faces.el (face-spec-reset-face): For the default face, reset the
1982 attributes to default values (Bug#10748).
1983
1984 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1985
1986 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1987 previous patch: Check `message-send-mail-function', and not the
1988 default function (bug#10897).
1989
1990 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * notifications.el (notifications-on-action-signal)
1993 (notifications-on-closed-signal): Check for unique service name of
1994 incoming event. Fix error in removing entry.
1995 (top): Register for signals with wildcard service name.
1996 (notifications-notify): Use daemon unique service name for map entries.
1997
1998 2012-03-04 Chong Yidong <cyd@gnu.org>
1999
2000 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2001
2002 2012-03-04 Glenn Morris <rgm@gnu.org>
2003
2004 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2005 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2006 (expand-abbrev, define-abbrev-table): Doc fixes.
2007
2008 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2009
2010 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2011 `message-default-send-mail-function' and not `send-mail-function'
2012 when doing the prompting for `sendmail-query-once' before sending
2013 in Message buffers (bug#10897).
2014
2015 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2016 This is inconsistent with all the other stream functions, which leave
2017 the setting up to the higher levels (if so wanted) (bug#10931).
2018
2019 2012-03-02 Alan Mackenzie <acm@muc.de>
2020
2021 Depessimize the handling of very large macros.
2022
2023 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2024 (c-macro-cache-syntactic): New variables to implement a one
2025 element macro cache.
2026 (c-invalidate-macro-cache): New function.
2027 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2028 Adapt to use the new cache.
2029 (c-state-safe-place): Use better the cache of safe positions.
2030 (c-state-semi-nonlit-pos-cache)
2031 (c-state-semi-nonlit-pos-cache-limit):
2032 New variables for...
2033 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2034 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2035 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2036 Use c-state-semi-safe-place.
2037
2038 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2039 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2040
2041 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2042
2043 * jka-compr.el (jka-compr-call-process):
2044 Apply `file-accessible-directory-p' only when the default directory is
2045 not remote.
2046
2047 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2048
2049 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2050 access of FILE2, if FILE1 does not exist.
2051
2052 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2053 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2054
2055 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2056 Add "PAGER=" to `process-environment'.
2057
2058 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2059
2060 * progmodes/sql.el: Bug fix
2061 (sql-get-login-ext): Save login values in globals.
2062 (sql-get-login): Use new version of `sql-get-login-ext'.
2063 (sql-interactive-mode): Set global `sql-connection' to nil.
2064 (sql-connect): Set global values for connection.
2065 (sql-product-interactive): Save global values as buffer local.
2066
2067 2012-02-29 Leo Liu <sdl.web@gmail.com>
2068
2069 * abbrev.el (define-abbrevs): Reset sys to nil.
2070
2071 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2072
2073 * files.el (file-equal-p): Rename from `files-equal-p'.
2074 Return nil when one or both files don't exist.
2075 (file-subdir-of-p): Now only top directory must exists,
2076 return nil if it doesn't.
2077 (copy-directory): No need to test with `file-subdir-of-p' after
2078 creating dir.
2079 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2080 to `file-equal-p'.
2081
2082 2012-02-28 Glenn Morris <rgm@gnu.org>
2083
2084 * shell.el (shell-mode):
2085 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2086 * play/landmark.el (landmark-font-lock-face-O):
2087 * play/handwrite.el (handwrite):
2088 * play/gomoku.el (gomoku-O):
2089 * net/browse-url.el (browse-url-browser-display):
2090 * international/mule.el (define-charset):
2091 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2092 * filesets.el (filesets-find-file-delay):
2093 * eshell/em-xtra.el (eshell-xtra):
2094 * eshell/em-unix.el (eshell-grep):
2095 * emulation/viper.el (viper-mode):
2096 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2097 * emacs-lisp/easymenu.el (easy-menu-define):
2098 * calendar/timeclock.el (timeclock-use-display-time):
2099 * bs.el (bs-mode):
2100 * bookmark.el (bookmark-save-flag):
2101 Doc fix (standardize possessive apostrophe usage).
2102
2103 2012-02-27 Chong Yidong <cyd@gnu.org>
2104
2105 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2106 Fix key-binding lookup for ESC key (Bug#9146).
2107
2108 * font-lock.el (font-lock-specified-p): Rename from
2109 font-lock-spec-present. Callers changed.
2110
2111 2012-02-27 Daniel Hackney <dan@haxney.org>
2112
2113 * emacs-lisp/package.el (package-compute-transaction):
2114 Handle holding a package version to t in package-load-list.
2115
2116 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2117
2118 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2119 (tramp-get-inode, tramp-get-device): Use cached values.
2120
2121 2012-02-26 Alan Mackenzie <acm@muc.de>
2122
2123 Check there is a font-lock specification before doing initial
2124 fontification.
2125
2126 * font-core.el (font-lock-mode): Move the conditional from
2127 :after-hook to font-lock-initial-fontify.
2128 (font-lock-default-function): Move the check for a specification
2129 to font-lock-spec-present.
2130
2131 * font-lock.el (font-lock-initial-fontify): Call ...
2132 (font-lock-spec-present): New function.
2133
2134 2012-02-26 Jim Blandy <jimb@red-bean.com>
2135
2136 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2137 (gdb-send): Apply it to the operand of the '-interpreter-exec
2138 console' command, so that we can pass arguments with (say) quotes
2139 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2140
2141 2012-02-26 Chong Yidong <cyd@gnu.org>
2142
2143 * help-fns.el (describe-function-1): Clarify description of
2144 remapping (Bug#10844).
2145
2146 * files.el (files-equal-p): Doc fix.
2147 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2148 and quit the loop once a mismatch is found.
2149
2150 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2151
2152 * bs.el (bs--show-with-configuration): Don't throw an error
2153 if the window cannot be split; otherwise, subsequent calls to
2154 bs-show fail, restoring a stale window config. (Bug#10882)
2155
2156 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2157
2158 * term/ns-win.el (global-map): Bind ns-drag-file to
2159 ns-find-file (Bug#5855, Bug#10050).
2160
2161 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2162
2163 * calendar/parse-time.el (parse-time-string): Allow extractor to
2164 return nil.
2165
2166 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2167
2168 * net/tramp.el (tramp-file-name-for-operation):
2169 Add `files-equal-p' and `file-subdir-of-p'.
2170
2171 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2172 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2173 Add COPY-CONTENTS argument.
2174
2175 2012-02-25 Chong Yidong <cyd@gnu.org>
2176
2177 Add custom groups for VC backends, for consistency with vc-bzr.
2178
2179 * vc/vc-arch.el (vc-arch):
2180 * vc/vc-cvs.el (vc-cvs):
2181 * vc/vc-git.el (vc-git):
2182 * vc/vc-hg.el (vc-hg):
2183 * vc/vc-mtn.el (vc-mtn):
2184 * vc/vc-rcs.el (vc-rcs):
2185 * vc/vc-sccs.el (vc-sccs):
2186 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2187 All relevant defcustoms reassigned.
2188
2189 2012-02-25 Chong Yidong <cyd@gnu.org>
2190
2191 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2192
2193 * term/x-win.el (x-initialize-window-system): Reduce default for
2194 x-selection-timeout to 5 seconds (Bug#8869).
2195
2196 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2197
2198 * files.el (files-equal-p, file-subdir-of-p): New functions.
2199 (copy-directory): Error when trying to copy a directory on itself.
2200 Add missing copy-contents arg to tramp handler.
2201 * dired-aux.el (dired-copy-file-recursive): Same.
2202 (dired-create-files): Modify destination when source is equal to
2203 dest when copying files.
2204 Return also when dest is a subdir of source. (Bug#10489)
2205
2206 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2207
2208 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2209 (Bug#10874)
2210
2211 2012-02-23 Alan Mackenzie <acm@muc.de>
2212
2213 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2214 parameter "after-hook:" to allow the expansion to run code after
2215 the execution of the mode hooks.
2216
2217 * font-lock.el (font-lock-initial-fontify): New function extracted
2218 from font-lock-mode-internal.
2219
2220 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2221 :after-hook.
2222
2223 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2226 (completion--cache-all-sorted-completions): New function.
2227 (completion-all-sorted-completions): Use it.
2228 (completion--do-completion, minibuffer-force-complete):
2229 Use it to re-instate the flush hook.
2230
2231 * icomplete.el (icomplete-completions): Replace last fix with a better
2232 one (bug#10850).
2233
2234 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2235
2236 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2237 when it might call us back infinitely (bug#10797).
2238
2239 2012-02-23 Glenn Morris <rgm@gnu.org>
2240
2241 * minibuffer.el (completion-category-overrides): Doc fix.
2242
2243 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2246 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2247
2248 2012-02-23 Glenn Morris <rgm@gnu.org>
2249
2250 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2251 (authors-obsolete-files-regexps, authors-ignored-files)
2252 (authors-ambiguous-files, authors-renamed-files-alist):
2253 Add more entries.
2254
2255 2012-02-23 Juri Linkov <juri@jurta.org>
2256
2257 * isearch.el (isearch-occur): Sync interactive spec with occur's
2258 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2259
2260 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2261
2262 2012-02-22 Juri Linkov <juri@jurta.org>
2263
2264 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2265 (ucs-insert): Doc fix. Check for hex digits in the string.
2266 Don't display `nil' in the error message. (Bug#10857)
2267
2268 2012-02-22 Alan Mackenzie <acm@muc.de>
2269
2270 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2271
2272 2012-02-22 Glenn Morris <rgm@gnu.org>
2273
2274 * ffap.el (ffap-c-path):
2275 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2276
2277 2012-02-22 Chong Yidong <cyd@gnu.org>
2278
2279 * custom.el (load-theme): Doc fix.
2280
2281 2012-02-22 Glenn Morris <rgm@gnu.org>
2282
2283 * dired-x.el (dired-guess-shell-alist-default):
2284 Remove escape sequences from nroff output. (Bug#172)
2285
2286 2012-02-21 Glenn Morris <rgm@gnu.org>
2287
2288 * vc/emerge.el (emerge-defvar-local):
2289 Set `permanent-local' property rather than unused `preserved'.
2290
2291 * textmodes/picture.el (picture-delete-char): New alias.
2292 (picture-mode-map): Use it. (Bug#10860)
2293 (picture-mode): Doc fix.
2294
2295 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2296
2297 * newcomment.el (uncomment-region-default): Remove unused binding.
2298
2299 2012-02-21 Glenn Morris <rgm@gnu.org>
2300
2301 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2302 (picture-self-insert, picture-tab-chars): Doc fix.
2303 (picture-mode-map): Fix C-a, C-e.
2304
2305 2012-02-20 Glenn Morris <rgm@gnu.org>
2306
2307 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2308
2309 2012-02-20 Leo Liu <sdl.web@gmail.com>
2310
2311 * icomplete.el (icomplete-completions): Check FROM arg before
2312 passing to substring (Bug#10850).
2313
2314 2012-02-19 Chong Yidong <cyd@gnu.org>
2315
2316 * comint.el: Require ansi-color.
2317 (comint-output-filter-functions): Add ansi-color-process-output.
2318
2319 * ansi-color.el: Don't set comint-output-filter-functions; it is
2320 now in the initial value defined in comint.el.
2321 (ansi-color-apply-face-function): New variable.
2322 (ansi-color-apply-on-region): Use it.
2323 (ansi-color-apply-overlay-face): New function.
2324
2325 * shell.el (shell): No need to require ansi-color.
2326 (shell-mode): Use ansi-color-apply-face-function to highlight
2327 color escapes using font-lock-face property (Bug#10835).
2328
2329 2012-02-19 Chong Yidong <cyd@gnu.org>
2330
2331 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2332 mode-line formats (Bug#10839).
2333
2334 2012-02-18 Glenn Morris <rgm@gnu.org>
2335
2336 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2337
2338 * mail/undigest.el (unforward-rmail-message): Doc fix.
2339
2340 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2341
2342 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2343
2344 * international/characters.el (script-list): Sync with the latest
2345 Unicode Character Database.
2346
2347 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2348
2349 * international/titdic-cnv.el: Remove duplicate coding tag.
2350 * language/cham.el: Likewise.
2351 * language/tai-viet.el: Likewise.
2352
2353 2012-02-18 Glenn Morris <rgm@gnu.org>
2354
2355 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2356 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2357 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2358 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2359 * calendar/holidays.el (holiday-bahai-holidays)
2360 (calendar-holidays, list-holidays):
2361 Use utf-8 Bahá'í in doc-strings, menus, etc.
2362
2363 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2364
2365 * saveplace.el (save-place-ignore-files-regexp): New variable
2366 allowing for excluding files from saving their location of point.
2367 The default value matches the temporary commit message editing
2368 files from Git, SVN, Bazaar, and Mercurial.
2369 (save-place-to-alist): Use it.
2370
2371 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2372 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * newcomment.el (uncomment-region-default): Don't leave extra space
2375 when an arg is provided (bug#8150).
2376
2377 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2378
2379 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2380
2381 2012-02-17 Glenn Morris <rgm@gnu.org>
2382
2383 * net/socks.el: Require network-stream. (Bug#10599)
2384
2385 2012-02-17 Kenichi Handa <handa@m17n.org>
2386
2387 * international/charprop.el:
2388 * international/uni-name.el:
2389 * international/uni-old-name.el:
2390 * international/uni-comment.el: Regenerate.
2391
2392 2012-02-16 Glenn Morris <rgm@gnu.org>
2393
2394 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2395 Interactively in calendar buffer, give an error if not on a date.
2396
2397 2012-02-15 Glenn Morris <rgm@gnu.org>
2398
2399 * shell.el (shell-delimiter-argument-list):
2400 Revert 2011-02-17 change. (Bug#8027)
2401
2402 2012-02-15 Chong Yidong <cyd@gnu.org>
2403
2404 * minibuffer.el (completion-at-point-functions): Doc fix.
2405
2406 * custom.el (defcustom): Doc fix; note use of defvar.
2407
2408 2012-02-15 Glenn Morris <rgm@gnu.org>
2409
2410 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2411 Doc fixes.
2412
2413 2012-02-14 Glenn Morris <rgm@gnu.org>
2414
2415 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2416
2417 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2418
2419 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2420 way the ports list is computed.
2421 (smtpmail-query-smtp-server): Prompt the user for a port number if
2422 we can't connect to any of the standard ports (bug#10810).
2423
2424 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2425
2426 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2427
2428 2012-02-13 Glenn Morris <rgm@gnu.org>
2429
2430 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2431
2432 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2433
2434 * net/gnutls.el (gnutls-trustfiles): New variable.
2435 (gnutls-negotiate): Use it.
2436
2437 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2438
2439 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2440 does its stuff if Gnus is running.
2441
2442 2012-02-13 Alan Mackenzie <acm@muc.de>
2443
2444 Fix a loop in c-set-fl-decl-start.
2445
2446 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2447 c-backward-syntactic-ws actually moves backwards.
2448
2449 2012-02-13 Leo Liu <sdl.web@gmail.com>
2450
2451 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2452 beginning so that all \C-o chars are removed.
2453
2454 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2455
2456 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2457
2458 2012-02-12 Alan Mackenzie <acm@muc.de>
2459
2460 Fix infinite loop with long macros.
2461 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2462
2463 2012-02-12 Chong Yidong <cyd@gnu.org>
2464
2465 * window.el (display-buffer): Doc fix (Bug#10785).
2466
2467 2012-02-12 Glenn Morris <rgm@gnu.org>
2468
2469 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2470 (x-disown-selection-internal, x-get-selection-internal):
2471 Sync docs with the xselect.c versions.
2472
2473 * allout-widgets.el: Add missing license notice.
2474
2475 2012-02-11 Glenn Morris <rgm@gnu.org>
2476
2477 * select.el (x-get-selection-internal, x-own-selection-internal)
2478 (x-disown-selection-internal):
2479 * x-dnd.el (x-get-selection-internal): Update declarations.
2480
2481 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2482
2483 * window.el (window-sides-slots):
2484 * tool-bar.el (tool-bar-position):
2485 * term/xterm.el (xterm-extra-capabilities):
2486 * ses.el (ses-self-reference-early-detection):
2487 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2488 (verilog-auto-wire-type)
2489 (verilog-auto-delete-trailing-whitespace)
2490 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2491 (verilog-auto-tieoff-declaration):
2492 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2493 (sql-oracle-statement-starters, sql-oracle-scan-on):
2494 * progmodes/prolog.el (prolog-align-comments-flag)
2495 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2496 (prolog-left-indent-regexp, prolog-paren-indent-p)
2497 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2498 (prolog-types, prolog-mode-specificators)
2499 (prolog-determinism-specificators, prolog-directives)
2500 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2501 (prolog-electric-dot-flag)
2502 (prolog-electric-dot-full-predicate-template)
2503 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2504 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2505 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2506 (prolog-program-switches, prolog-prompt-regexp)
2507 (prolog-debug-on-string, prolog-debug-off-string)
2508 (prolog-trace-on-string, prolog-trace-off-string)
2509 (prolog-zip-on-string, prolog-zip-off-string)
2510 (prolog-use-standard-consult-compile-method-flag)
2511 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2512 (prolog-imenu-max-lines, prolog-info-predicate-index)
2513 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2514 (prolog-char-quote-workaround):
2515 * progmodes/cc-vars.el (c-defun-tactic):
2516 * net/tramp.el (tramp-encoding-command-interactive)
2517 (tramp-local-end-of-line):
2518 * net/soap-client.el (soap-client):
2519 * net/netrc.el (netrc-file):
2520 * net/gnutls.el (gnutls):
2521 * minibuffer.el (completion-category-overrides)
2522 (completion-cycle-threshold)
2523 (completion-pcm-complete-word-inserts-delimiters):
2524 * man.el (Man-name-local-regexp):
2525 * mail/feedmail.el (feedmail-display-full-frame):
2526 * international/characters.el (glyphless-char-display-control):
2527 * eshell/em-ls.el (eshell-ls-date-format):
2528 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2529 (lisp-lambda-list-keyword-parameter-indentation)
2530 (lisp-lambda-list-keyword-parameter-alignment):
2531 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2532 * dired-x.el (dired-omit-verbose):
2533 * cus-theme.el (custom-theme-allow-multiple-selections):
2534 * calc/calc.el (calc-highlight-selections-with-faces)
2535 (calc-lu-field-reference, calc-lu-power-reference)
2536 (calc-note-threshold):
2537 * battery.el (battery-mode-line-limit):
2538 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2539 (archive-7z-update):
2540 * allout.el (allout-prefixed-keybindings)
2541 (allout-unprefixed-keybindings)
2542 (allout-inhibit-auto-fill-on-headline)
2543 (allout-flattened-numbering-abbreviation):
2544 * allout-widgets.el (allout-widgets-auto-activation)
2545 (allout-widgets-icons-dark-subdir)
2546 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2547 (allout-widgets-theme-dark-background)
2548 (allout-widgets-theme-light-background)
2549 (allout-widgets-item-image-properties-emacs)
2550 (allout-widgets-item-image-properties-xemacs)
2551 (allout-widgets-run-unit-tests-on-load)
2552 (allout-widgets-time-decoration-activity)
2553 (allout-widgets-hook-error-post-time)
2554 (allout-widgets-track-decoration):
2555 Add missing :version tags to new defcustoms and defgroups.
2556
2557 * progmodes/sql.el (sql-ansi-statement-starters)
2558 (sql-oracle-statement-starters): Add custom type.
2559
2560 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2561 (prolog-system-version): Give it a type.
2562
2563 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2564
2565 * term/pc-win.el (x-select-text, x-selection-owner-p)
2566 (x-own-selection-internal, x-disown-selection-internal)
2567 (x-get-selection-internal): Sync doc strings and argument lists
2568 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2569
2570 2012-02-11 Leo Liu <sdl.web@gmail.com>
2571
2572 * progmodes/python.el (python-end-of-statement): Fix infinite
2573 loop. (Bug#10788)
2574
2575 2012-02-10 Glenn Morris <rgm@gnu.org>
2576
2577 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2578 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2579
2580 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2581
2582 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2583 about SMTP before checking the From header.
2584
2585 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2586 into own function for reuse by emacsbug.el.
2587
2588 2012-02-10 Leo Liu <sdl.web@gmail.com>
2589
2590 * subr.el (condition-case-unless-debug): Rename from
2591 condition-case-no-debug. All callers changed.
2592 (with-demoted-errors): Fix caller.
2593
2594 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2595 * nxml/rng-valid.el (rng-do-some-validation):
2596 * emacs-lisp/package.el (package-refresh-contents)
2597 (package-menu-execute):
2598 * desktop.el (desktop-create-buffer):
2599 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2600
2601 2012-02-10 Glenn Morris <rgm@gnu.org>
2602
2603 * textmodes/bibtex.el:
2604 Add missing :version tags for new/changed defcustoms.
2605
2606 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2607
2608 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2609
2610 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2611 (smtpmail-via-smtp): Use it, or fall back on the From address.
2612 (smtpmail-send-it): Ditto.
2613
2614 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2617 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2618 (byte-compile-tmp-var): New const.
2619 (byte-compile-defvar): Use it to minimize .elc size.
2620 Just use `defvar' rather than simulate it (bug#10761).
2621
2622 2012-02-09 Glenn Morris <rgm@gnu.org>
2623
2624 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2625
2626 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2627 Add :version tags.
2628
2629 * progmodes/compile.el (compilation-error-screen-columns)
2630 (compilation-first-column, compilation-filter-start): Doc fixes.
2631
2632 * vc/log-view.el (log-view-toggle-entry-display):
2633 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2634
2635 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2636 (report-emacs-bug-can-use-xdg-email):
2637 (report-emacs-bug-insert-to-mailer): Doc fixes.
2638 (report-emacs-bug): Message fix.
2639
2640 * net/browse-url.el (browse-url-can-use-xdg-open)
2641 (browse-url-xdg-open): Doc fixes.
2642
2643 * electric.el (electric-indent-mode, electric-pair-mode)
2644 (electric-layout-rules, electric-layout-mode): Doc fixes.
2645 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2646
2647 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2648
2649 * server.el (server-unselect-display): Don't inadvertently kill
2650 the current buffer. (Bug#10729)
2651
2652 2012-02-08 Glenn Morris <rgm@gnu.org>
2653
2654 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2655 (sql-list-table): Doc fixes.
2656
2657 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2658 Comment out (does nothing).
2659
2660 * completion.el (dynamic-completion-mode):
2661 * dirtrack.el (dirtrack-debug-mode):
2662 * electric.el (electric-layout-mode):
2663 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2664 * face-remap.el (text-scale-mode, buffer-face-mode):
2665 * iimage.el (iimage-mode):
2666 * image-mode.el (image-transform-mode):
2667 * minibuffer.el (completion-in-region-mode):
2668 * scroll-lock.el (scroll-lock-mode):
2669 * simple.el (next-error-follow-minor-mode):
2670 * tar-mode.el (tar-subfile-mode):
2671 * tooltip.el (tooltip-mode):
2672 * vcursor.el (vcursor-use-vcursor-map):
2673 * wid-browse.el (widget-minor-mode):
2674 * emulation/tpu-edt.el (tpu-edt-mode):
2675 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2676 * international/iso-ascii.el (iso-ascii-mode):
2677 * language/thai-util.el (thai-word-mode):
2678 * mail/supercite.el (sc-minor-mode):
2679 * net/goto-addr.el (goto-address-mode):
2680 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2681 * progmodes/cwarn.el (cwarn-mode):
2682 * progmodes/flymake.el (flymake-mode):
2683 * progmodes/glasses.el (glasses-mode):
2684 * progmodes/hideshow.el (hs-minor-mode):
2685 * progmodes/pascal.el (pascal-outline-mode):
2686 * textmodes/enriched.el (enriched-mode):
2687 * vc/smerge-mode.el (smerge-mode):
2688 Doc fixes (minor mode argument).
2689
2690 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2691
2692 * ls-lisp.el (ls-lisp-sanitize): New function.
2693 (ls-lisp-insert-directory): Use it to fix or remove any elements
2694 in file-alist with missing attributes. (Bug#4673)
2695
2696 2012-02-07 Alan Mackenzie <acm@muc.de>
2697
2698 Fix spurious recognition of c-in-knr-argdecl.
2699
2700 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2701 putative K&R region.
2702
2703 2012-02-07 Alan Mackenzie <acm@muc.de>
2704
2705 * progmodes/cc-engine.el (c-forward-objc-directive):
2706 Prevent looping in "#pragma mark @implementation".
2707
2708 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2709
2710 * notifications.el (notifications-on-closed-signal): Make `reason'
2711 optional. (Bug#10744)
2712
2713 2012-02-07 Glenn Morris <rgm@gnu.org>
2714
2715 * emacs-lisp/easy-mmode.el (define-minor-mode):
2716 Doc fixes for the macro and the mode it defines.
2717
2718 * image.el (imagemagick-types-inhibit): Doc fix.
2719
2720 * cus-start.el (imagemagick-render-type): Add it.
2721
2722 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2723
2724 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2725 Set the default at load time, too, so that `font-lock-fontify-buffer'
2726 can be called without setting up the entire mode first. This fixes
2727 a bug in `mm-inline-text' with C MIME parts.
2728
2729 2012-02-06 Chong Yidong <cyd@gnu.org>
2730
2731 * simple.el (list-processes--refresh): Delete exited processes
2732 (Bug#8094).
2733
2734 * comint.el (comint-next-prompt): next-single-char-property-change
2735 and prev-single-char-property-change never return nil (Bug#8657).
2736
2737 * custom.el (defcustom): Doc fix (Bug#9711).
2738
2739 2012-02-05 Chong Yidong <cyd@gnu.org>
2740
2741 * cus-edit.el (custom-variable-reset-backup): Quote the value
2742 before storing it in the customized-value property (Bug#6712).
2743 (custom-display): Add a customization type tag.
2744 (custom-buffer-create-internal): Improve tooltip message.
2745
2746 * wid-edit.el (widget-field-value-get): New optional arg to
2747 suppress trailing whitespace truncation.
2748 (character): Use it (Bug#2689).
2749
2750 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2751
2752 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2753 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2754
2755 2012-02-05 Chong Yidong <cyd@gnu.org>
2756
2757 * cus-edit.el (custom-variable-value-create): For mismatched
2758 types, show the current value (Bug#7600).
2759
2760 * custom.el (defcustom): Doc fix.
2761
2762 2012-02-05 Glenn Morris <rgm@gnu.org>
2763
2764 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2765
2766 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2767
2768 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2769 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2770 (pp-last-sexp): Use `looking-at-p'.
2771
2772 2012-02-04 Glenn Morris <rgm@gnu.org>
2773
2774 * files.el (revert-buffer):
2775 Doc fix (mention revert-buffer-in-progress-p).
2776
2777 * emacs-lisp/ert-x.el (ert-simulate-command):
2778 Check deferred-action-list (which is obsolete) is bound.
2779
2780 * subr.el (with-wrapper-hook): Doc fixes.
2781
2782 * simple.el (filter-buffer-substring-functions)
2783 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2784
2785 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2786
2787 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2788 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2789
2790 2012-02-04 Leo Liu <sdl.web@gmail.com>
2791
2792 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2793
2794 2012-02-04 Glenn Morris <rgm@gnu.org>
2795
2796 * image.el (image-extension-data): Add obsolete alias.
2797
2798 * isearch.el (isearch-update): Doc fix.
2799
2800 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2801
2802 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2803
2804 2012-02-03 Glenn Morris <rgm@gnu.org>
2805
2806 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2807 (image-animate-timeout): Doc fix.
2808
2809 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2810
2811 2012-02-02 Glenn Morris <rgm@gnu.org>
2812
2813 * server.el (server-auth-dir): Doc fix.
2814 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2815
2816 * subr.el (run-mode-hooks): Doc fix.
2817
2818 2012-02-02 Juri Linkov <juri@jurta.org>
2819
2820 * image-mode.el (image-toggle-display-image): Remove tautological
2821 `major-mode' from the `derived-mode-p' test.
2822
2823 2012-02-02 Kenichi Handa <handa@m17n.org>
2824
2825 * composite.el (compose-region): Cancel previous change.
2826
2827 2012-02-02 Kenichi Handa <handa@m17n.org>
2828
2829 * composite.el (compose-region, compose-string): Signal error for
2830 a null string component (Bug#6988).
2831
2832 2012-02-01 Chong Yidong <cyd@gnu.org>
2833
2834 * view.el (view-buffer-other-window, view-buffer-other-frame):
2835 Handle special modes like view-buffer (Bug#10650).
2836 (view-buffer): Simplify.
2837
2838 * frame.el (set-frame-font): Tweak meaning of third argument.
2839
2840 * dynamic-setting.el (font-setting-change-default-font):
2841 Use set-frame-font (Bug#9982).
2842
2843 2012-02-01 Glenn Morris <rgm@gnu.org>
2844
2845 * progmodes/compile.el (compilation-internal-error-properties):
2846 Respect compilation-first-column in the "*compilation*" buffer.
2847
2848 * emacs-lisp/easy-mmode.el (define-minor-mode):
2849 Relax :variable's test for a named function.
2850
2851 2012-01-31 Alan Mackenzie <acm@muc.de>
2852
2853 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2854 off by one error.
2855
2856 2012-01-31 Chong Yidong <cyd@gnu.org>
2857
2858 * frame.el (set-frame-font): New arg ALL-FRAMES.
2859
2860 * menu-bar.el (menu-set-font): Use set-frame-font.
2861
2862 * faces.el (face-spec-reset-face): Don't apply unspecified
2863 attribute values to the default face.
2864
2865 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2866
2867 * progmodes/cwarn.el (cwarn): Remove dead link.
2868 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2869 Remove * from defcustom docstrings.
2870 (turn-on-cwarn-mode): Make obsolete.
2871 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2872 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2873
2874 2012-01-31 Glenn Morris <rgm@gnu.org>
2875
2876 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2877 Fix :variable handling of mode a symbol not equal to modefun.
2878 Allow named functions to be used as the cdr of :variable.
2879
2880 2012-01-30 Glenn Morris <rgm@gnu.org>
2881
2882 * emacs-lisp/authors.el (authors-fixed-entries):
2883 Remove reference to deleted file rnewspost.el.
2884
2885 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2886
2887 * window.el (window-with-parameter): Remove unused variable `windows'.
2888 (window--side-check): Remove unused variable `code'.
2889 (window--resize-siblings): Remove unused variable `first'.
2890 (adjust-window-trailing-edge): Remove unused variable `failed'.
2891 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2892 Use `let', not `let*'.
2893 (balance-windows-2): Remove unused variable `found'.
2894 (window--state-put-2): Remove unused variable `splits'.
2895 (window-state-put): Remove unused variable `selected'.
2896 (same-window-p): Use `string-match-p'.
2897 (display-buffer-assq-regexp): Remove unused variable `value'.
2898 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2899 Mark argument ALIST as ignored.
2900 (pop-to-buffer): Remove unused variable `old-window'.
2901
2902 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2903
2904 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2905 and .lzma compressed files.
2906
2907 2012-01-29 Chong Yidong <cyd@gnu.org>
2908
2909 * frame.el (window-system-default-frame-alist): Doc fix.
2910
2911 * dynamic-setting.el (font-setting-change-default-font): Don't
2912 change the default face if SET-FONT argument is non-nil (Bug#9982).
2913
2914 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2915
2916 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2917
2918 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2919
2920 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2921 breakpoints in files outside current directory (Bug#6098).
2922
2923 2012-01-29 Chong Yidong <cyd@gnu.org>
2924
2925 * progmodes/python.el: Require ansi-color at top-level.
2926
2927 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2928 Define and use in Emacs Lisp mode (Bug#9360).
2929 (lisp-mode-abbrev-table): Add doc.
2930 (lisp-mode-variables): Don't set local-abbrev-table.
2931 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2932
2933 2012-01-28 Roland Winkler <winkler@gnu.org>
2934
2935 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2936
2937 2012-01-28 Roland Winkler <winkler@gnu.org>
2938
2939 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2940 (bibtex-set-dialect): Use it. Either set global values of
2941 dialect-dependent variables or bind these variables buffer-locally
2942 (Bug#10254).
2943 (bibtex-mode): Call bibtex-set-dialect via
2944 hack-local-variables-hook.
2945 (bibtex-dialect): Update docstring.
2946 Add safe-local-variable predicate.
2947 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2948 bibtex-set-dialect.
2949 (bibtex-mode-map): Define menu for each dialect.
2950 (bibtex-entry): Fix docstring.
2951
2952 2012-01-28 Chong Yidong <cyd@gnu.org>
2953
2954 * eshell/esh-arg.el (eshell-quote-argument): New function.
2955
2956 * eshell/esh-ext.el (eshell-invoke-batch-file):
2957 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2958 first arg to eshell-parse-command (Bug#10523).
2959
2960 2012-01-28 Drew Adams <drew.adams@oracle.com>
2961
2962 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2963 `default-directory' is non-nil.
2964
2965 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2966
2967 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2968 line that displays system-configuration-options. (Bug#9924)
2969
2970 2012-01-28 Drew Adams <drew.adams@oracle.com>
2971
2972 * descr-text.el (describe-char): Show information about POS, in
2973 addition to information about the character at POS. Improve and
2974 update the doc string. Change "code point" to "code point in
2975 charset", to avoid confusion with the character's Unicode code
2976 point shown above that. (Bug#10129)
2977
2978 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2979
2980 * descr-text.el (describe-char): Show the raw character, not only
2981 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2982 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2983 for the reasons.
2984
2985 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2986
2987 * emacs-lisp/package.el (package-install):
2988 Run package-refresh-contents if there is no archive yet (Bug#9798).
2989
2990 2012-01-28 Chong Yidong <cyd@gnu.org>
2991
2992 * emacs-lisp/package.el (package-maybe-load-descriptor):
2993 New function, split from package-maybe-load-descriptor.
2994 (package-maybe-load-descriptor): Use it.
2995 (package-download-transaction): Fully load required packages
2996 inside the loop, so that `require' calls work (Bug#10593).
2997 (package-install): No need to call package-initialize now.
2998
2999 2012-01-28 Chong Yidong <cyd@gnu.org>
3000
3001 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3002
3003 * tooltip.el (tooltip-mode): Doc fix.
3004 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3005
3006 * frame.el (set-cursor-color): Doc fix (Bug#352).
3007
3008 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3009 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3010
3011 * cus-edit.el (custom-buffer-create-internal): Fix search button
3012 action (Bug#10542).
3013 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3014
3015 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3016
3017 * dired.el (dired-mark-files-regexp):
3018 Include any subdirectory components. (Bug#10445)
3019
3020 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3021
3022 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3023 Handle [host]:port syntax. (Bug#10533)
3024
3025 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3026
3027 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3028
3029 2012-01-26 Glenn Morris <rgm@gnu.org>
3030
3031 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3032 * term.el (term-raw-escape-map): Use Control-X-prefix.
3033 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3034
3035 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3036
3037 * window.el (window-state-get, window--state-get-1): Don't deal
3038 with fixed-sizeness of windows. Simplify code.
3039
3040 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3041
3042 * window.el (window--state-get-1, window--state-put-2):
3043 Don't save and restore the mark.
3044
3045 2012-01-25 Chong Yidong <cyd@gnu.org>
3046
3047 * custom.el (custom-variable-p): Doc fix.
3048
3049 2012-01-25 Glenn Morris <rgm@gnu.org>
3050
3051 * dired.el (dired-goto-file): Handle some of the more common
3052 characters that `ls -b' escapes. (Bug#10596)
3053
3054 * progmodes/compile.el (compilation-next-error-function):
3055 Respect compilation-first-column in the "*compilation*" buffer.
3056 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3057
3058 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3059
3060 2012-01-24 Glenn Morris <rgm@gnu.org>
3061
3062 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3063
3064 2012-01-24 Julien Danjou <julien@danjou.info>
3065
3066 * color.el (color-rgb-to-hsl): Fix value computing.
3067 (color-hue-to-rgb): New function.
3068 (color-hsl-to-rgb): New function.
3069 (color-clamp, color-saturate-hsl, color-saturate-name)
3070 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3071 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3072
3073 2012-01-24 Glenn Morris <rgm@gnu.org>
3074
3075 * vc/vc-rcs.el (vc-rcs-create-tag):
3076 * vc/vc-sccs.el (vc-sccs-create-tag):
3077 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3078
3079 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3080
3081 * eshell/esh-util.el (eshell-read-hosts-file):
3082 Skip comment lines. (Bug#10549)
3083
3084 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3085
3086 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3087
3088 * subr.el (display-delayed-warnings): Doc fix.
3089 (collapse-delayed-warnings): New function to collapse identical
3090 adjacent warnings.
3091 (delayed-warnings-hook): Add it.
3092
3093 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3094
3095 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3096
3097 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3098 properties, when "login-as" is set.
3099
3100 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3101 (tramp-default-user-alist): Don't add "pscp".
3102 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3103 property "login-as", if set. (Bug#10530)
3104
3105 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3106
3107 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3108 "plink1" and "psftp". (Bug#10530)
3109
3110 2012-01-21 Kenichi Handa <handa@m17n.org>
3111
3112 * international/mule-cmds.el (prefer-coding-system): Show a
3113 warning message if the default value of file-name-coding-system
3114 was not changed.
3115
3116 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3117
3118 * windmove.el (windmove-reference-loc):
3119 Fix windmove-reference-loc miscalculation.
3120
3121 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3122
3123 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3124 default unit.
3125
3126 2012-01-21 Glenn Morris <rgm@gnu.org>
3127
3128 * international/mule.el (auto-coding-alist): Add .tbz.
3129
3130 * files.el (local-enable-local-variables): Doc fix.
3131 (inhibit-local-variables-regexps): Rename from
3132 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3133 Doc fix. Add some extensions from auto-coding-alist.
3134 (inhibit-local-variables-suffixes):
3135 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3136 (inhibit-local-variables-p):
3137 New function, extracted from set-auto-mode-1.
3138 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3139 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3140 (hack-local-variables): Doc fix. Make the mode-only case
3141 respect enable-local-variables and friends.
3142 Respect inhibit-local-variables-regexps for file-locals, but
3143 not for directory-locals.
3144 (set-visited-file-name):
3145 Take account of inhibit-local-variables-regexps.
3146 Whether it applies may change as the file name is changed.
3147 * jka-cmpr-hook.el (jka-compr-install):
3148 * jka-compr.el (jka-compr-uninstall):
3149 Update for inhibit-first-line-modes-suffixes name change.
3150
3151 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3152
3153 * help-macro.el (make-help-screen): Temporarily restore original
3154 binding for minor-mode-map-alist (Bug#10454).
3155
3156 2012-01-19 Julien Danjou <julien@danjou.info>
3157
3158 * color.el (color-name-to-rgb): Use the white color to find the max
3159 color component value and return correctly computed values.
3160 (color-name-to-rgb): Add missing float conversion for max value.
3161
3162 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3163
3164 * window.el (window--state-get-1, window-state-get): Do not use
3165 special state value for window-persistent-parameters.
3166 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3167 (window--state-put-2): Reset all window parameters to nil before
3168 assigning values of persistent parameters.
3169
3170 2012-01-18 Alan Mackenzie <acm@muc.de>
3171
3172 Eliminate sluggishness and hangs in fontification of "semicolon
3173 deserts".
3174
3175 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3176 Change value 10000 -> 3000.
3177 (c-state-safe-place): Reformulate so it doesn't stack up an
3178 infinite number of wrong entries in c-state-nonlit-pos-cache.
3179 (c-determine-limit-get-base, c-determine-limit): New functions to
3180 determine backward search limits disregarding literals.
3181 (c-find-decl-spots): Amend commenting.
3182 (c-cheap-inside-bracelist-p): New function which detects "={".
3183
3184 * progmodes/cc-fonts.el
3185 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3186 backward search.
3187 (c-font-lock-declarations): Fix an occurrence of point being
3188 undefined. Check additionally for point being in a bracelist or
3189 near a macro invocation without a semicolon so as to avoid a
3190 fruitless time consuming search for a declarator. Give a more
3191 precise search limit for declarators using the new
3192 c-determine-limit.
3193
3194 2012-01-18 Glenn Morris <rgm@gnu.org>
3195
3196 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3197 (set-auto-mode): Doc fixes.
3198
3199 2012-01-17 Glenn Morris <rgm@gnu.org>
3200
3201 * isearch.el (search-nonincremental-instead): Fix doc typo.
3202
3203 * dired.el (dired-insert-directory): Handle newlines in directory name.
3204 (dired-build-subdir-alist): Unescape newlines in directory name.
3205
3206 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3207
3208 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3209 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3210 (tramp-action-terminal): Use it. (Bug#10530)
3211
3212 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3215
3216 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3217
3218 * window.el (window-state-ignored-parameters): Remove variable.
3219 (window--state-get-1): Rename argument MARKERS to IGNORE.
3220 Handle persistent window parameters. Make copy of clone-of
3221 parameter only if requested. (Bug#10348)
3222 (window--state-put-2): Install a window parameter only if it has
3223 a non-nil value or an existing parameter shall be overwritten.
3224
3225 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3226
3227 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3228
3229 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3230
3231 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3232 don't pass the (nil) value of `upnode' to string-match.
3233
3234 2012-01-14 Chong Yidong <cyd@gnu.org>
3235
3236 * startup.el (command-line): Fix X resource class for cursorColor.
3237 Fix values recognized by the cursorBlink resource.
3238
3239 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3240
3241 * epg.el (epg--make-temp-file): Avoid permission race condition
3242 when running on old Emacs versions (bug#10403).
3243
3244 2012-01-14 Glenn Morris <rgm@gnu.org>
3245
3246 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3247
3248 2012-01-13 Alan Mackenzie <acm@muc.de>
3249
3250 Fix filling for when filladapt mode is enabled.
3251
3252 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3253 c-mask-paragraph, pass in `fill-paragraph' rather than
3254 `fill-region-as-paragraph'. (This is a reversion of a previous
3255 change.)
3256 * progmodes/cc-mode.el (c-basic-common-init):
3257 Make fill-paragraph-handle-comment buffer local and set it to nil.
3258
3259 2012-01-13 Glenn Morris <rgm@gnu.org>
3260
3261 * dired.el (dired-switches-escape-p): New function.
3262 (dired-insert-directory): Use dired-switches-escape-p.
3263 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3264
3265 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3266
3267 2012-01-12 Glenn Morris <rgm@gnu.org>
3268
3269 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3270 changes in adaptive-fill-regexp. (Bug#10276)
3271
3272 2012-01-11 Alan Mackenzie <acm@muc.de>
3273
3274 Fix Emacs bug #10463 - put `widen's around the critical spots.
3275
3276 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3277 widen around each invocation of c-state-pp-to-literal. Remove an
3278 unused let variable.
3279
3280 2012-01-11 Glenn Morris <rgm@gnu.org>
3281
3282 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3283 Doc fix.
3284
3285 2012-01-10 Chong Yidong <cyd@gnu.org>
3286
3287 * net/network-stream.el (network-stream-open-starttls):
3288 Avoid emitting a confusing error message when the server gives a bad
3289 response to the capability command.
3290
3291 2012-01-10 Glenn Morris <rgm@gnu.org>
3292
3293 * mail/unrmail.el (unrmail): Tweak previous change.
3294
3295 2012-01-09 Chong Yidong <cyd@gnu.org>
3296
3297 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3298
3299 2012-01-08 Alan Mackenzie <acm@muc.de>
3300
3301 Optimise font locking in long enum definitions.
3302
3303 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3304 arm to a cond form to handle enums.
3305 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3306 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3307
3308 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3309
3310 * files.el (move-file-to-trash): Preserve default file modes on error.
3311 (Bug#10401)
3312
3313 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3314
3315 * faces.el (set-face-attribute): Clarify the meaning of the nil
3316 frame (bug#10294).
3317
3318 * subr.el (with-selected-frame): Mention that the selected frame
3319 is restored (bug#9980).
3320
3321 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3322 (bug#9759).
3323
3324 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3325 (password-read): Don't autoload unused function.
3326
3327 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3328
3329 * progmodes/which-func.el (which-func-mode): Turn into a
3330 non-interactive function and mark as obsolete (bug#10428).
3331
3332 2012-01-06 Chong Yidong <cyd@gnu.org>
3333
3334 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3335 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3336 functions, along with 1 and -1.
3337
3338 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3339
3340 * time.el (display-time-load-average)
3341 (display-time-default-load-average): Doc fixes. See the thread
3342 starting at
3343 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3344 for the details.
3345
3346 2012-01-06 Glenn Morris <rgm@gnu.org>
3347
3348 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3349 has no messages. (Bug#10377)
3350
3351 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3352 than Info-edit. (Bug#10385)
3353
3354 * time.el (display-time-load-average, display-time-next-load-average):
3355 Doc fixes.
3356
3357 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3358 local setting of buffer-read-only to the input buffer. (Bug#10419)
3359
3360 * calendar/calendar.el (calendar-mode):
3361 Locally set scroll-margin to 0. (Bug#10379)
3362
3363 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3364
3365 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3366
3367 2012-01-05 Glenn Morris <rgm@gnu.org>
3368
3369 * eshell/em-unix.el (diff-no-select): Autoload it.
3370 (eshell/diff): Use diff-no-select. (Bug#10420)
3371
3372 2012-01-05 Chong Yidong <cyd@gnu.org>
3373
3374 * shell.el (shell-dynamic-complete-functions): Revert last change.
3375 (shell-command-completion-function): New function.
3376 (shell-completion-vars): Use it to implement
3377 shell-completion-execonly (Bug#10417).
3378
3379 * custom.el (enable-theme): Don't set custom-safe-themes.
3380
3381 * cus-theme.el (custom-theme-merge-theme):
3382 Ignore custom-enabled-themes and custom-safe-themes.
3383
3384 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3385
3386 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3387 first prompt in `sql-interacive-mode'.
3388 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3389 keywords.
3390 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3391 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3392 context of original buffer. Invoke `sql-login-hook'.
3393
3394 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3395
3396 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3397 letters in cite-prefix.
3398
3399 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3400
3401 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3402
3403 2012-01-03 Chong Yidong <cyd@gnu.org>
3404
3405 * shell.el (shell-dynamic-complete-functions):
3406 Put pcomplete-completions-at-point, so as to try
3407 comint-filename-completion first (Bug#10417).
3408
3409 2012-01-02 Richard Stallman <rms@gnu.org>
3410
3411 * battery.el (battery-status-function):
3412 Detect when to use battery-yeeloong-sysfs.
3413 (battery-echo-area-format): Add string for Yeeloong.
3414 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3415 (battery-yeeloong-sysfs): New function.
3416
3417 2012-01-02 Chong Yidong <cyd@gnu.org>
3418
3419 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3420 (dirtrack): Merge code for handling relative filenames in prompt
3421 from shell-dir-cookie-watcher.
3422 (dirtrack-debug-message): New arg to avoid excess format calls.
3423
3424 * shell.el (shell-dir-cookie-re): Variable deleted.
3425 (shell-dir-cookie-watcher): Function deleted.
3426 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3427 with dirtrack-mode.
3428
3429 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3430
3431 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3432 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3433 libgnutls-26.dll.
3434
3435 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3436
3437 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3438
3439 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3440
3441 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3442 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3443
3444 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3445
3446 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3447 also for alternative shells.
3448 (tramp-open-connection-setup-interactive-shell): Check, whether
3449 the shell is a busybox.
3450 (tramp-send-command): Don't suppress multiple prompts for
3451 busyboxes, it hurts.
3452
3453 2011-12-28 Chong Yidong <cyd@gnu.org>
3454
3455 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3456 (gdb-get-source-file): Move mode line update to
3457 gdb-get-source-file (Bug#10087).
3458
3459 2011-12-25 Chong Yidong <cyd@gnu.org>
3460
3461 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3462 gud-gdb-marker-filter without taking it as an argument.
3463 (gud-gdb-run-command-fetch-lines): Caller changed.
3464 (gud-gdb-completion-function): New variable.
3465 (gud-gdb-completion-at-point): Use it.
3466 (gud-gdb-completions-1): Split from gud-gdb-completions.
3467
3468 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3469 function as separate arguments.
3470 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3471 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3472 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3473 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3474 (gdb-stopped, def-gdb-auto-update-trigger)
3475 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3476 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3477 Callers changed.
3478 (gud-gdbmi-completions): New function.
3479 (gdb): Use it for generating the completion table.
3480
3481 2011-12-24 Alan Mackenzie <acm@muc.de>
3482
3483 Introduce a mechanism to widen the region used in context font
3484 locking. Use this to protect declarations from losing their contexts.
3485
3486 * progmodes/cc-langs.el (c-before-font-lock-functions):
3487 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3488 (c-before-context-fontification-functions): New defvar, a list of
3489 functions to be run just before context (etc.) font locking.
3490
3491 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3492 New, functionality extracted from
3493 c-neutralize-syntax-in-and-mark-CPP.
3494 (c-in-after-change-fontification): New variable.
3495 (c-after-change): Set c-in-after-change-fontification.
3496 (c-set-fl-decl-start): Rejig its interface, so it can be called
3497 from both after-change and context fontifying.
3498 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3499 New functions.
3500 (c-standard-font-lock-fontify-region-function): New variable.
3501 (c-font-lock-fontify-region): New function.
3502
3503 2011-12-24 Juri Linkov <juri@jurta.org>
3504
3505 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3506 (Bug#10348)
3507
3508 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3509
3510 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3511 existence of source file. (Bug#10325)
3512
3513 2011-12-23 Alan Mackenzie <acm@muc.de>
3514
3515 Fix unstable fontification inside templates.
3516
3517 * progmodes/cc-langs.el (c-before-font-lock-functions):
3518 Newly created from the singular version. The (c c++ objc) entry now
3519 additionally has c-set-fl-decl-start. The other languages (apart
3520 from AWK) have that as a single entry.
3521
3522 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3523 The functionality for "local" declarations has been extracted to
3524 c-set-fl-decl-start.
3525
3526 * progmodes/cc-mode.el (c-common-init, c-after-change):
3527 Changes due to pluralisation of c-before-font-lock-functions.
3528 (c-set-fl-decl-start): New function, extracted from
3529 c-font-lock-enclosing-decls and enhanced.
3530
3531 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3532
3533 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3534
3535 2011-12-22 Juri Linkov <juri@jurta.org>
3536
3537 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3538
3539 2011-12-22 Chong Yidong <cyd@gnu.org>
3540
3541 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3542
3543 2011-12-21 Drew Adams <drew.adams@oracle.com>
3544
3545 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3546
3547 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3548
3549 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3550
3551 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3552
3553 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3554 highlighting and support. Fix up comments for capitalization.
3555 (cfengine-mode-debug): New var.
3556 (cfengine3-mode): Change the modeline indicator to "CFE3".
3557 (cfengine3-font-lock-keywords): Improve defun highlighting.
3558 (cfengine2-actions): Rename from `cfengine-actions'.
3559 (cfengine2-font-lock-keywords): Rename from
3560 `cfengine-font-lock-keywords'.
3561 (cfengine2-imenu-expression): Rename from
3562 `cfengine-imenu-expression'.
3563 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3564 (cfengine2-beginning-of-defun): Rename from
3565 `cfengine-beginning-of-defun'.
3566 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3567 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3568 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3569 modeline indicator to "CFE2".
3570 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3571 (cfengine-mode-abbrevs): Mark obsolete.
3572
3573 2011-12-21 Chong Yidong <cyd@gnu.org>
3574
3575 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3576 filename argument.
3577
3578 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3579
3580 * window.el (window-normalize-buffer-to-display): Remove.
3581 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3582
3583 2011-12-19 Chong Yidong <cyd@gnu.org>
3584
3585 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3586 Don't signal an error in a predicate function; return non-nil.
3587 (vc-dir-mark-file): Move the error here.
3588 (vc-dir-mark-unmark): If acting on the region, keep going if one
3589 of the entries cannot be marked/unmarked.
3590 (vc-dir-mark-all-files): If current entry is a directory, mark
3591 only child files, as documented.
3592
3593 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3594
3595 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3596 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3597 addition.
3598
3599 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3600
3601 * term/ns-win.el (ns-get-selection-internal)
3602 (ns-store-selection-internal): Declare.
3603 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3604 Declare as obsolete.
3605 (ns-get-pasteboard, ns-paste-secondary):
3606 Use ns-get-selection-internal.
3607 (ns-set-pasteboard, ns-copy-including-secondary):
3608 Use ns-store-selection-internal.
3609
3610 2011-12-17 Chong Yidong <cyd@gnu.org>
3611
3612 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3613 (vc-deduce-fileset): Doc fix.
3614
3615 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3616
3617 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3618
3619 2011-12-13 Sam Steingold <sds@gnu.org>
3620
3621 * man.el (Man-getpage-in-background): When running under a
3622 window-system, ignore $MANWIDTH and $COLUMNS.
3623
3624 2011-12-15 Kenichi Handa <handa@m17n.org>
3625
3626 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3627 (setup-ethiopic-environment-internal): Comment out key-binding for
3628 ethio-toggle-punctuation.
3629
3630 2011-12-13 Alan Mackenzie <acm@muc.de>
3631
3632 Add the switch statement to AWK Mode.
3633
3634 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3635 "default" to the keywords regexp.
3636
3637 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3638 expression as the rest.
3639 (c-nonlabel-token-key): Allow string literals for AWK.
3640 Refactor for the other modes.
3641
3642 Large brace-block initialisation makes CC Mode slow: Fix.
3643 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3644 routines. Limit backward searching in c-font-lock-enclosing.decl.
3645
3646 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3647 pp-state and literal type in addition to the limits.
3648 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3649 (c-state-literal-at): Use the above new defun.
3650 (c-slow-in-literal, c-fast-in-literal): Remove.
3651 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3652
3653 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3654 being in a literal. Add a limit for backward searching.
3655
3656 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3657 c-slow-in-literal.
3658
3659 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3662
3663 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3664
3665 * window.el (delete-other-windows): Use correct frame in call to
3666 window-with-parameter.
3667
3668 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3669
3670 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3671 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3672 (makefile-gmake-statements, makefile-makepp-statements):
3673 Use it and add new makepp keywords.
3674 (makefile-makepp-font-lock-keywords): Add new patterns.
3675 (makefile-match-function-end): Match new [...] and [[...]].
3676
3677 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3678
3679 * ses.el (ses-call-printer-return, ses-cell-property-get)
3680 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3681 (ses-create-cell-variable, ses-reset-header-string)
3682 (ses-cell-set-formula, ses-repair-cell-reference-all)
3683 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3684 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3685 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3686 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3687 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3688 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3689 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3690 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3691 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3692 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3693 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3694 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3695
3696 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3697
3698 * ses.el: The overall change is to add cell renaming, that is
3699 setting fancy names for cell symbols other than name matching
3700 "\\`[A-Z]+[0-9]+\\'" regexp .
3701 (ses-create-cell-variable): New defun.
3702 (ses-relocate-formula): Relocate formulas only for cells the
3703 symbols of which are not renamed, i.e. symbols whose names do not
3704 match regexp "\\`[A-Z]+[0-9]+\\'".
3705 (ses-relocate-all): Relocate values only for cells the symbols of
3706 which are not renamed.
3707 (ses-load): Create cells variables as the (ses-cell ...) are read,
3708 in order to check row col consistency with cell symbol name only
3709 for cells that are not renamed.
3710 (ses-replace-name-in-formula): New defun.
3711 (ses-rename-cell): New defun.
3712
3713 2011-12-11 Chong Yidong <cyd@gnu.org>
3714
3715 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3716 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3717
3718 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3719
3720 * window.el (other-window): Fix docstring.
3721
3722 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3723
3724 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3725 `from' or `to' address before taking its substring.
3726 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3727 encoded name is chopped in the middle of the encoded string, and
3728 thus displayed encoded.
3729
3730 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3731
3732 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3733
3734 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3735
3736 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3737 to use texinfo-update-node and commands that call it if the
3738 Texinfo file uses @node lines without next/prev/up pointers.
3739 Correct outdated description about texinfo-master-menu.
3740 (texinfo-all-menus-update, texinfo-master-menu)
3741 (texinfo-update-node, texinfo-every-node-update)
3742 (texinfo-multiple-files-update): Doc fix. Warn against updating
3743 all the @node lines.
3744 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3745 argument is numeric. Explain better in the doc string what the
3746 function really does.
3747 (texinfo-insert-master-menu-list): Improve the error message
3748 displayed if there's no menu in the Top node.
3749 (Bug#2975) See also this thread:
3750 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3751
3752 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3753
3754 * speedbar.el (speedbar-supported-extension-expressions):
3755 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3756
3757 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3758
3759 * printing.el (pr-mode-alist):
3760 * simple.el (filter-buffer-substring-functions)
3761 (completion-list-insert-choice-function):
3762 * window.el (window-with-parameter, window-atom-root)
3763 (window-sides-slots, window-size-fixed, window-min-delta)
3764 (window-max-delta, window--resize-mini-window)
3765 (window--resize-child-windows-normal, window-tree)
3766 (delete-other-windows, quit-window, split-window)
3767 (display-buffer-record-window, special-display-buffer-names)
3768 (special-display-regexps, special-display-popup-frame)
3769 (same-window-p, split-window-sensibly)
3770 (display-buffer-overriding-action, display-buffer-alist)
3771 (display-buffer-base-action, display-buffer, switch-to-buffer)
3772 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3773 (fit-window-to-buffer, recenter-positions)
3774 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3775 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3776 and remove unneeded backslashes in docstrings.
3777
3778 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3781
3782 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3783 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3784 end in ".mk".
3785 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3786 when reading the makefile (bug#10116).
3787
3788 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3791 (bug#10116).
3792
3793 2011-12-06 Glenn Morris <rgm@gnu.org>
3794
3795 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3796
3797 2011-12-06 Chong Yidong <cyd@gnu.org>
3798
3799 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3800
3801 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3802
3803 * textmodes/table.el (table-shorten-cell): Fix typo.
3804
3805 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3806
3807 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3808
3809 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3810
3811 * descr-text.el (describe-char): Fix display of strong
3812 right-to-left characters and directional embeddings and overrides.
3813
3814 * simple.el (what-cursor-position): Fix display of codepoints of
3815 strong right-to-left characters.
3816
3817 2011-12-05 Chong Yidong <cyd@gnu.org>
3818
3819 * faces.el (read-color): Doc fix.
3820
3821 2011-12-05 Glenn Morris <rgm@gnu.org>
3822
3823 * align.el (align--set-marker): Add doc-string.
3824 Don't try to move something that is not a marker. (Bug#10216)
3825
3826 2011-12-04 Glenn Morris <rgm@gnu.org>
3827
3828 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3829 overly zealous deletion of trailing whitespace.
3830
3831 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3832
3833 * server.el (server-delete-client): On Windows, do not try to delete
3834 the only terminal.
3835 (server-process-filter): On Windows, treat requests for a tty frame as
3836 if they were for a GUI frame if the running server is in GUI mode.
3837
3838 2011-12-03 Glenn Morris <rgm@gnu.org>
3839
3840 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3841
3842 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * electric.el: Streamline electric-indent's hook.
3845 (electric-indent-chars): Revert to simple list.
3846 (electric-indent-functions): New var.
3847 (electric-indent-post-self-insert-function): Use it.
3848
3849 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3850 there's no inferior buffer (bug#10196).
3851 (prolog-consult-compile): Don't use toggle-read-only.
3852
3853 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3854
3855 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3856 interrupt. (Bug#10187)
3857
3858 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3861 (bug#9160).
3862
3863 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3864 (bug#10191).
3865
3866 2011-12-02 Juri Linkov <juri@jurta.org>
3867
3868 * info.el (Info-search): Display "end of manual" when Isearch
3869 reaches the end of single-file Info manual. (Bug#9918)
3870
3871 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3872
3873 * isearch.el (isearch-message-prefix): Run the input method part
3874 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3875
3876 2011-12-02 Juri Linkov <juri@jurta.org>
3877
3878 * isearch.el (isearch-occur): Use `word-search-regexp' for
3879 `isearch-word'.
3880 (isearch-search-and-update): Add condition for `isearch-word' and
3881 call `word-search-regexp'. (Bug#10145)
3882
3883 2011-12-01 Glenn Morris <rgm@gnu.org>
3884
3885 * eshell/em-hist.el (eshell-hist-initialize):
3886 Handle eshell-history-size nil and HISTSIZE set or unset.
3887 (eshell-history-file-name, eshell-history-size): Fix custom type.
3888
3889 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3892
3893 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3894
3895 * progmodes/verilog-mode.el (verilog-pretty-expr):
3896 Rework verilog-pretty-expr to handle new assignment operators in system
3897 verilog, such as += *= and the like.
3898 (verilog-assignment-operator-re): Regular expression to find the
3899 assigment operator in a verilog assignment.
3900 (verilog-assignment-operation-re): Regular expression to find an
3901 assignment statement for pretty-expr.
3902 (verilog-in-attribute-p): Query returns true if point is in an
3903 attribute context; used to skip these for expression line up from
3904 pretty-expr.
3905 (verilog-in-parameter-p): Query returns true if point is in an
3906 parameter definition context; used to skip these for expression
3907 line up from pretty-expr.
3908 (verilog-in-parenthesis-p): Query returns true if point is in a
3909 parenthetical expression, specifically ( ) but not [ ] or { };
3910 used by pretty-expr.
3911 (verilog-just-one-space): If there is no space, don't add one.
3912 (verilog-get-lineup-indent-2): Specifically skip just attribute
3913 contexts for expression lineup, rather than skipping all
3914 parenthetical expressions.
3915 (verilog-calculate-indent): Fix comment, and fix indent.
3916 (verilog-do-indent): Indent declarations in lists (suggested by
3917 Joachim Lechner).
3918 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3919 skeleton items.
3920 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3921 by Alain Mellan).
3922
3923 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3924
3925 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3926 parameters with embedded comments. Reported by Ray Stevens.
3927 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3928 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3929 Reported by Tim Holt.
3930 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3931 instantiated by upper module causing wrong expansion until AUTOed a
3932 second time. Reported by K C Buckenmaier.
3933 (verilog-diff-auto): Fix showing .* as a difference when
3934 `verilog-auto-star-save' off. Reported by Dan Dever.
3935 (verilog-auto-reset, verilog-read-always-signals)
3936 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3937 temporary signals in reset list if
3938 verilog-auto-reset-blocking-in-non is nil, and match assignment
3939 style to each signal's assignment type, bug381.
3940 Reported by Thomas Esposito.
3941 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3942 (verilog-uvm-statement-re): Support UVM indentation and
3943 highlighting, with old OVM keywords only.
3944 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3945 Support AUTOTIEOFF creating non-wire data types.
3946 Suggested by Jonathan Greenlaw.
3947 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3948 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3949 (verilog-inject-sense, verilog-read-inst-pins)
3950 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3951 Fix mismatching parenthesis inside commented out code when deleting
3952 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3953 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3954 non-numeric vector width. Reported by Alex Reed.
3955 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3956 detecting signals with parameter widths. Reported by Alex Reed.
3957 (verilog-auto-delete-trailing-whitespace):
3958 With `verilog-auto-delete-trailing-whitespace' remove trailing
3959 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3960 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3961 Fix verilog-scan-cache corruption when running user AUTO expansion
3962 hooks that call indentation routines.
3963 (verilog-simplify-range-expression): Fix typo ignoring lower case
3964 identifiers.
3965 (verilog-delete-auto): Fix delete-autos to also remove user created
3966 automatics, as long as they start with AUTO.
3967 (verilog-batch-diff-auto, verilog-diff-auto)
3968 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3969 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3970 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3971 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3972 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3973 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3974 is disabled and its cache will get corrupt, causing AUTOS not to
3975 expand. Instead use only -quick functions.
3976 (verilog-scan-region): Fix scanning over escaped quotes.
3977 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3978 (verilog-re-search-backward-quick)
3979 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3980 related functions now ignore strings, to fix misparsing of strings
3981 with magic comments embedded in them.
3982 (verilog-read-auto-template):
3983 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3984 Reported by Brad Dobbie.
3985 (verilog-read-auto-template):
3986 Fix 'verilog-auto-inst-template-numbers' with comments.
3987 Reported by Brad Dobbie.
3988 (verilog-auto-inst, verilog-auto-inst-param)
3989 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3990 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3991 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3992 debugging templates without merge conflicts, bug357.
3993 Reported by Brad Dobbie.
3994 (verilog-read-auto-template):
3995 Fix verilog-auto-inst-template-numbers with multiple templates.
3996 Reported by Brad Dobbie.
3997 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3998 abbrevs so user won't be asked to save.
3999 (verilog-read-auto-lisp-present): Fix to start at beginning of
4000 buffer in case called outside of verilog-auto.
4001 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4002 to "X-2". Reported by Matthew Myers.
4003 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4004 all inputs from module templates. Reported by Leith Johnson.
4005 (verilog-module-inside-filename-p): Fix locating programs as with
4006 modules.
4007 (verilog-auto-inst-port): Fix vl-width expressions when using
4008 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4009 (verilog-decls-get-regs, verilog-decls-get-signals,
4010 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4011 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4012 verilog-read-decls): Combine reg and wire structures into one var
4013 structure to represent SystemVerilog concepts.
4014 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4015 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4016 (verilog-auto-wire-type, verilog-insert-definition):
4017 Add verilog-auto-wire-type and AUTOLOGIC to support using
4018 SystemVerilog "logic" keyword instead of "wire"/"reg".
4019 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4020 to declares outputs that also have assignments (presumably in an
4021 ifdef or generate if so there's not a driver conflict).
4022 Reported by Matthew Myers.
4023 (verilog-auto-declare-nettype, verilog-insert-definition):
4024 Add verilog-auto-declare-nettype to fix declarations using
4025 `default_nettype none. Reported by Julian Gorfajn.
4026 (verilog-read-always-signals-recurse, verilog-read-decls)
4027 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4028 malformed end statement, bug325. Reported by Joshua Wise and
4029 Andrew Drake.
4030 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4031 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4032 when expanding .* in interfaces, bug320.
4033 Reported by Pierre-David Pfister.
4034 (verilog-read-module-name): Fix import statements between module
4035 name and open parenthesis, bug317.
4036 Reported by Pierre-David Pfister.
4037 (verilog-simplify-range-expression): Fix simplification of
4038 multiplications inside AUTOWIRE connections, bug303.
4039 (verilog-auto-inst-port): Support parameter expansion in
4040 multidimensional arrays.
4041 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4042 after "assert property". Reported by Julian Gorfajn.
4043 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4044 with multiplication, bug303.
4045 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4046 Reported by Jan Frode Lonnum.
4047
4048 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4049
4050 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4051 (hfy-shell-file-name, hfy-shell):
4052 * international/fontset.el (x-decompose-font-name): Fix typos.
4053
4054 2011-11-29 Ken Brown <kbrown@cornell.edu>
4055
4056 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4057 (gdb-version): Remove defvar.
4058 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4059 (gdb-gud-context-command, gdb-non-stop-handler)
4060 (gdb-current-context-command, gdb-stopped): Use it.
4061 (gdb-init-1): Enable pretty printing here.
4062 (gdb-non-stop-handler): Don't enable pretty-printing here.
4063 Check to see if the target supports non-stop mode; if not, turn off
4064 non-stop mode. Use the following.
4065 (gdb-check-target-async): New defun.
4066 (gud-watch, gdb-stopped): Fix whitespace.
4067 (gdb-get-source-file): Don't try to display the source file if
4068 `gdb-main-file' is nil.
4069
4070 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * align.el: Try to generate fewer markers (bug#10047).
4073 (align--set-marker): New macro.
4074 (align-region): Use it.
4075
4076 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4079
4080 2011-11-29 Chong Yidong <cyd@gnu.org>
4081
4082 * indent.el (indent-for-tab-command, indent-according-to-mode):
4083 Doc fix.
4084 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4085
4086 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4087
4088 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4089 aware of remote file names. (Bug#10124)
4090
4091 2011-11-29 Chong Yidong <cyd@gnu.org>
4092
4093 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4094
4095 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * files.el (find-file): Don't use force-same-window (bug#10144).
4098 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4099 use pop-to-buffer if the selected window can't be used.
4100 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4101
4102 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4103
4104 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4105 special-mode-map.
4106
4107 2011-11-28 Chong Yidong <cyd@gnu.org>
4108
4109 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4110
4111 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4112
4113 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4114 gdb-get-source-file-list on gdb-create-source-file-list.
4115
4116 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4117
4118 * whitespace.el (whitespace-newline): Use a different foreground
4119 color for 16-color light-background displays.
4120
4121 2011-11-24 Chong Yidong <cyd@gnu.org>
4122
4123 * window.el (display-buffer--special-action): Doc fix.
4124
4125 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4126
4127 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4128 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4129 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4130 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4131 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4132 (avl-tree-stack-first):
4133 * emacs-lisp/cconv.el (cconv--analyse-use):
4134 * net/gnutls.el (gnutls-negotiate): Fix typos.
4135
4136 2011-11-24 Glenn Morris <rgm@gnu.org>
4137
4138 * lpr.el (lpr-windows-system, lpr-lp-system):
4139 * mail/binhex.el (binhex-begin-line):
4140 * progmodes/grep.el (grep-history, grep-find-history):
4141 * textmodes/flyspell.el:
4142 * vc/pcvs-defs.el (cvs-global-menu):
4143 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4144 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4145 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4146
4147 * net/tls.el: Fix case of "GnuTLS".
4148
4149 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4150
4151 * version.el (emacs-build-system): Give it a doc-string.
4152
4153 2011-11-24 Juri Linkov <juri@jurta.org>
4154
4155 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4156
4157 2011-11-24 Glenn Morris <rgm@gnu.org>
4158
4159 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4160 if called on a non-mime message just toggle the headers. (Bug#8006)
4161
4162 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4163
4164 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4165 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4166 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4167 (allout-rebullet-heading, allout-open-sibtopic)
4168 (allout-toggle-current-subtree-encryption)
4169 (allout-toggle-subtree-encryption, allout-encrypt-string)
4170 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4171 (allout-distinctive-bullets-string, allout-auto-activation):
4172 * window.el (window-normalize-buffer-to-display):
4173 * progmodes/verilog-mode.el (verilog-batch-indent):
4174 * textmodes/bibtex.el (bibtex-field-braces-opt)
4175 (bibtex-field-strings-opt):
4176 * vc/cvs-status.el (cvs-tree-merge):
4177 Fix typos.
4178
4179 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4180
4181 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4182 `non-essential' to t, in order to avoid remote connections.
4183
4184 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4185
4186 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4187 On MS-DOS and MS-Windows, compare with loaddefs.el
4188 case-insensitively.
4189
4190 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4191
4192 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4193
4194 2011-11-23 Glenn Morris <rgm@gnu.org>
4195
4196 * paths.el (rmail-file-name): Reformat the doc-string so that it
4197 is picked up.
4198
4199 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4200 (rmail-auto-file): Ignore case in the "special" field names,
4201 as mail-fetch-field does for all others.
4202
4203 * mail/rmail.el (rmail-forward):
4204 * mail/rmailkwd.el (rmail-set-label):
4205 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4206 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4207
4208 * mail/rmail.el (rmail-current-message): Doc fix.
4209
4210 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4211
4212 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4215
4216 2011-11-22 Glenn Morris <rgm@gnu.org>
4217
4218 * mail/rmailmm.el (test-rmail-mime-handler)
4219 (test-rmail-mime-bulk-handler)
4220 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4221
4222 2011-11-21 Juri Linkov <juri@jurta.org>
4223
4224 * calc/calc.el (calc-read-key-sequence):
4225 Let-bind `input-method-function' to nil. (Bug#10018)
4226
4227 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4228
4229 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4230 Tell the caller that the next line needs recomputation, even
4231 though it doesn't start a sexp (bug#10094).
4232
4233 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4236
4237 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4240 Use force-same-window.
4241
4242 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4243
4244 * descr-text.el (describe-char-unicode-data):
4245 * json.el (json-string-escape):
4246 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4247 (Footnote-unicode, Footnote-style-p):
4248 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4249
4250 2011-11-20 Chong Yidong <cyd@gnu.org>
4251
4252 * window.el (replace-buffer-in-windows): Restore interactive spec.
4253
4254 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4255
4256 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4257
4258 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4259 (byte-compile-global-not-obsolete-vars): New var.
4260 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4261 Use it.
4262 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4263
4264 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4265
4266 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4267 * progmodes/pascal.el (electric-pascal-equal):
4268 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4269 * xml.el (xml-substitute-special): Fix typos.
4270
4271 2011-11-20 Glenn Morris <rgm@gnu.org>
4272
4273 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4274 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4275 Doc fixes.
4276 (rmail-decode-mime-charset): Mark as obsolete.
4277
4278 * mail/rmailsum.el (rmail-message-regexp-p-1):
4279 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4280 Before using mime functions, check they are set. (Bug#10077)
4281
4282 2011-11-19 Juri Linkov <juri@jurta.org>
4283
4284 * info.el (Info-finder-find-node): Use `package--builtins' instead
4285 of `package-alist'. Use node names formed by the pattern "Keyword "
4286 and the keyword name.
4287
4288 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4289
4290 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4291
4292 2011-11-19 Juri Linkov <juri@jurta.org>
4293
4294 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4295 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4296 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4297 `old-history', `old-history-forward'. Add let-binding
4298 `window-selected'. Remove calls to `kill-buffer',
4299 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4300 before calling `Info-find-node', so `Info-find-node-2' will reread
4301 the Info file. Restore window positions only when `window-selected'
4302 is non-nil.
4303
4304 2011-11-19 Juri Linkov <juri@jurta.org>
4305
4306 * isearch.el (isearch-lazy-highlight-new-loop):
4307 Remove condition `(not isearch-error)'. (Bug#9918)
4308
4309 * misearch.el (multi-isearch-search-fun): Add condition
4310 `(not bound)' to ignore lazy-highlighting search.
4311 Add the search-failed message "end of multi" when the end of
4312 multi-sequence is reached. Uncapitalize the search-failed
4313 message "Repeat for next buffer".
4314
4315 * info.el (Info-search): Add the search-failed message
4316 "end of the manual" when the end of the manual is reached
4317 in Isearch mode.
4318
4319 2011-11-19 Juri Linkov <juri@jurta.org>
4320
4321 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4322 Use non-destructive `remove' instead of `delete' because
4323 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4324 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4325
4326 2011-11-19 Juri Linkov <juri@jurta.org>
4327
4328 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4329 to nil instead of binding `search-ring' and `regexp-search-ring'.
4330 (Bug#9185)
4331
4332 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4333
4334 * simple.el (line-move): Force movement by logical lines for any
4335 hscrolled window, not only when auto-hscroll-mode is on.
4336 (line-move-visual): Update doc string to that effect. (Bug#10076)
4337
4338 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4339
4340 * language/european.el (macintosh): Define as alias for mac-roman.
4341
4342 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4343
4344 * mail/rmailmm.el (rmail-mime-display-header)
4345 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4346 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4347 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4348 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4349 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4350 of a raw aref.
4351 (rmail-mime-entity-segment): To get past the tagline, move forward
4352 2 more lines, to account for the 2 empty lines that precede and
4353 follow the line with the buttons.
4354 (rmail-mime-update-tagline): Move one more line, to get past the
4355 empty line that follows the buttons in the tagline. (Bug#9520)
4356
4357 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4358
4359 * window.el (window-max-delta-1, window-min-delta-1)
4360 (window-min-size-1, window-state-get-1, window-state-put-1)
4361 (window-state-put-2): Use "window--" prefix.
4362
4363 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4366 (smie-warning-count): New var.
4367 (smie-set-prec2tab): Use it.
4368 (smie-bnf->prec2): Improve warnings. Add docstring.
4369 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4370 (smie-bnf--set-class): New function.
4371 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4372 corner case.
4373
4374 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4375 (compilation-error-properties, compilation-move-to-column):
4376 Handle compilation-first-column while in the target buffer.
4377
4378 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4379 Don't hardcode point-min==1.
4380
4381 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4382 (eshell-rewrite-for-command): Remove workaround.
4383 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4384 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4385 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4386
4387 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4388
4389 2011-11-17 Glenn Morris <rgm@gnu.org>
4390
4391 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4392 Ignore buffer-local generated-autoload-file if it is the same
4393 as the global value. (Bug#10049)
4394
4395 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4396
4397 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4398 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4399 (reftex-toc-previous-heading, reftex-toc-max-level)
4400 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4401 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4402 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4403 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4404 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4405 (reftex-toc-rename-label, reftex-toc-visit-location)
4406 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4407 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4408 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4409 leaving "*toc*" only for references to the buffer.
4410
4411 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4412
4413 * window.el (window-resize, delete-window, split-window):
4414 Replace window-splits by window-combination-resize.
4415 * cus-start.el (window-splits): Replace by window-combination-resize.
4416
4417 2011-11-17 Glenn Morris <rgm@gnu.org>
4418
4419 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4420 Make bash entry derive from sh entry, not shell entry.
4421
4422 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4423
4424 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4425 properties of linked files. (Bug#9879)
4426
4427 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4428 local file name.
4429
4430 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4431
4432 * menu-bar.el (menu-bar-file-menu):
4433 * printing.el (pr-ps-utility):
4434 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4435 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4436 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4437 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4438 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4439 (icalendar--convert-cyclic-to-ical)
4440 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4441 (icalendar--convert-ical-to-diary)
4442 (icalendar--convert-recurring-to-diary)
4443 (icalendar--convert-non-recurring-all-day-to-diary)
4444 (icalendar-import-format-sample):
4445 * progmodes/idlw-shell.el (idlwave-shell-mode):
4446 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4447 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4448 (vhdl-ps-print-init): Fix typos.
4449
4450 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4451
4452 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4453 FSF and collapse date sequence, obscure author/maintainer email address
4454 better, remove extra version line, track relocation of author's webpage.
4455
4456 * progmodes/python.el (python-pdbtrack-input-prompt)
4457 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4458 regular python pdb prompts. Adjustments shamelessly taken exactly as
4459 suggested in EmacsWiki page (tiny change):
4460 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4461
4462 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4463
4464 * expand.el (expand-pos, expand-index, expand-point):
4465 Remove redundant info from docstring.
4466 (expand-add-abbrevs): Doc fix.
4467 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4468 (expand-sample-perl-mode-expand-list): Fix typos.
4469
4470 * net/dbus.el (dbus-event-member-name):
4471 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4472 * term/pc-win.el (msdos-create-frame-with-faces):
4473 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4474
4475 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4476
4477 * window.el (split-window, window-state-get-1)
4478 (window-state-put-1, window-state-put-2): Rename occurrences of
4479 window-nest to window-combination-limit.
4480 * cus-start.el (window-nest): Rename to window-combination-limit.
4481
4482 2011-11-16 Chong Yidong <cyd@gnu.org>
4483
4484 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4485 regexp (Bug#10033).
4486
4487 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4490 `completing-read' will remove *Completions* and will preserve
4491 current-buffer for us.
4492 (tmm-add-prompt): Users of *Completions* will always (re)set its
4493 major mode.
4494 (tmm-old-comp-map): Remove.
4495
4496 2011-11-16 Glenn Morris <rgm@gnu.org>
4497
4498 * mail/rmailedit.el: Require rmailmm when compiling.
4499 (rmail-old-mime-state): New declaration.
4500 (rmail-edit-current-message): If editing a mime message,
4501 edit the "raw" message from the mbox buffer.
4502 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4503
4504 2011-11-15 Glenn Morris <rgm@gnu.org>
4505
4506 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4507 which wasn't being used. Add optional arg to force given state.
4508 (rmail-mime): Add optional arg to force given state.
4509
4510 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4511
4512 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4513 * frame.el (display-mm-dimensions-alist):
4514 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4515 (outline-move-subtree-down):
4516 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4517 (newsticker--treeview-do-get-node):
4518 * net/quickurl.el (quickurl-list-buffer-name):
4519 * progmodes/dcl-mode.el (dcl-mode):
4520 * progmodes/gdb-mi.el (gdb-mapcar*):
4521 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4522
4523 2011-11-15 Glenn Morris <rgm@gnu.org>
4524
4525 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4526 in a boolean sense, so just make it a boolean, and fix the doc.
4527 (rmail-show-mime-function, rmail-mime-feature)
4528 (rmail-require-mime-maybe): Doc fixes.
4529 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4530
4531 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4532
4533 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4534
4535 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4536 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4537 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4538 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4539
4540 2011-11-15 Glenn Morris <rgm@gnu.org>
4541
4542 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4543 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4544 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4545 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4546 (rmail-mime, rmail-show-mime): Doc fixes.
4547
4548 * term/ns-win.el (mode-line-frame-identification):
4549 Leave it alone. (Bug#10051)
4550
4551 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4552
4553 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4554 Handle empty buffers. (Bug#9978)
4555
4556 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * international/mule.el (define-charset):
4559 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4560 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4561 * progmodes/verilog-mode.el (verilog-backward-token):
4562 * textmodes/ispell.el (lookup-words):
4563 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4564
4565 2011-11-14 Glenn Morris <rgm@gnu.org>
4566
4567 * progmodes/executable.el
4568 (executable-make-buffer-file-executable-if-script-p):
4569 Handle file-modes returning nil.
4570
4571 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4572 message - not necessary, and causes problems. (Bug#9831)
4573
4574 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4575
4576 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4577
4578 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4579 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4580 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4581
4582 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4583
4584 * window.el (window-resize, delete-window): Use window-splits
4585 variable instead of function.
4586 (window-state-get-1, window-state-put-2, window-state-put):
4587 Don't deal with windows' splits status.
4588
4589 2011-11-12 Glenn Morris <rgm@gnu.org>
4590
4591 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4592 (apropos-documentation): Doc fixes.
4593
4594 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4595
4596 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4597 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4598
4599 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * electric.el (electric-indent-post-self-insert-function): Make it
4602 possible for a char to only indent in some circumstances.
4603 (electric-indent-mode): Simplify.
4604
4605 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4606
4607 * window.el (windows-with-parameter): Remove unused function.
4608 (windows-at-side): Rename to window-at-side-list.
4609 (window-check, window-atom-check, window-atom-check-1)
4610 (window-side-check, window-size-ignore, window-size-fixed-1)
4611 (window-in-direction-2): Prefix with "window--".
4612 (window-tree-1): Rename to window--subtree, fix doc-string.
4613
4614 2011-11-11 Glenn Morris <rgm@gnu.org>
4615
4616 * subr.el (eval-after-load): If FILE is already loaded,
4617 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4618
4619 2011-11-10 Glenn Morris <rgm@gnu.org>
4620
4621 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4622 Call svn via vc-svn-command rather than vc-do-command.
4623 (vc-svn-command): Add --non-interactive. (Bug#9993)
4624 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4625
4626 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4627 Add toggle-read-only. (Bug#7292)
4628 * files.el (toggle-read-only): Mention that it should only
4629 be used interactively. (Bug#10006)
4630
4631 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4632
4633 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4634 Adjust regexp for OCaml warnings.
4635
4636 * electric.el (electric-pair-post-self-insert-function): Let user
4637 turn it off buffer-locally (bug#9932).
4638
4639 * progmodes/python.el (python-beginning-of-statement):
4640 Rewrite (bug#2703).
4641
4642 * progmodes/compile.el: Better handle TABs (bug#9749).
4643 (compilation-internal-error-properties)
4644 (compilation-next-error-function): Obey the target buffer's
4645 compilation-error-screen-columns.
4646
4647 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4648
4649 * progmodes/meta-mode.el: Remove obsolete comments.
4650 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4651 Fix typos in docstrings.
4652
4653 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4654
4655 * window.el (window-size-fixed-p): Rewrite doc-string.
4656 (window-resizable-p): Rename to window--resizable-p. Update callers.
4657 (window--resizable): New function. Make all callers of
4658 window-resizable call window--resizable instead.
4659 (window-resizable): Rewrite in terms of window--resizable.
4660
4661 2011-11-08 Glenn Morris <rgm@gnu.org>
4662
4663 * progmodes/delphi.el (delphi-mode-syntax-table):
4664 Let define-derived-mode define a proper syntax table. (Bug#9994)
4665
4666 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * window.el: Stay away from defsubst.
4669 (window-list-no-nils): Remove.
4670 (window-state-get-1, window-state-get): Use backquote instead.
4671
4672 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4673
4674 * emacs-lisp/find-func.el (find-function-read):
4675 Fix incorrect use of default argument in `completing-read'.
4676
4677 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4678
4679 * window.el (display-buffer-function, special-display-function):
4680 Mention display-buffer-record-window but do not mention
4681 help-setup parameter in doc-strings.
4682 (window-min-delta): Fix doc-string typo.
4683
4684 2011-11-08 Chong Yidong <cyd@gnu.org>
4685
4686 * window.el (window-total-height, window-total-width): Doc fix.
4687 (window-body-size): Move from C.
4688 (window-body-height, window-body-width): Move to C.
4689
4690 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * window.el: Make special-display like display-buffer-alist (bug#9532).
4693 (display-buffer--special-action): New function, morphed
4694 from display-buffer--special.
4695 (display-buffer): Use it to handle special-display-buffers at higher
4696 priority (just after display-buffer-alist).
4697 (display-buffer-fallback-action, display-buffer--other-frame-action)
4698 (pop-to-buffer-same-window): Remove display-buffer--special.
4699
4700 2011-11-07 Glenn Morris <rgm@gnu.org>
4701
4702 * calendar/cal-menu.el (cal-menu-set-date-title):
4703 Do nothing if not in a calendar. (Bug#9976)
4704
4705 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * files.el (find-file): Always use selected-window.
4708
4709 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4710
4711 * window.el (window-combinations): Make WINDOW argument
4712 mandatory. Rewrite doc-string.
4713 (walk-window-subtree, window-atom-check, window-min-delta)
4714 (window-max-delta, window--resize-this-window)
4715 (window--resize-root-window-vertically, window-tree)
4716 (balance-windows, window-state-put): Rewrite doc-strings as to
4717 not mention the term "subwindow".
4718 (window--resize-subwindows-skip-p): Rename to
4719 window--resize-child-windows-skip-p.
4720 (window--resize-subwindows-normal): Rename to
4721 window--resize-child-windows-normal.
4722 (window--resize-subwindows): Rename to
4723 window--resize-child-windows.
4724 (window-or-subwindow-p): Rename to window--in-subtree-p.
4725
4726 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4727
4728 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4729 Ensure that mbox format messages end in two newlines (Bug#9974).
4730
4731 2011-11-06 Chong Yidong <cyd@gnu.org>
4732
4733 * window.el (window-combination-p): Function deleted; its
4734 side-effect is not used in any existing code.
4735 (window-combinations, window-combined-p): Call window-*-child
4736 directly.
4737
4738 2011-11-05 Chong Yidong <cyd@gnu.org>
4739
4740 * window.el (window-valid-p): Rename from window-any-p.
4741 (window-size-ignore, window-state-get): Callers changed.
4742 (window-normalize-window): Rename from window-normalize-any-window.
4743 New arg LIVE-ONLY, replacing window-normalize-live-window.
4744 (window-normalize-live-window): Delete.
4745 (window-combination-p, window-combined-p, window-combinations)
4746 (walk-window-subtree, window-atom-root, window-min-size)
4747 (window-sizable, window-sizable-p, window-size-fixed-p)
4748 (window-min-delta, window-max-delta, window-resizable)
4749 (window-resizable-p, window-full-height-p, window-full-width-p)
4750 (window-current-scroll-bars, window-point-1, set-window-point-1)
4751 (window-at-side-p, window-in-direction, window-resize)
4752 (adjust-window-trailing-edge, maximize-window, minimize-window)
4753 (window-deletable-p, delete-window, delete-other-windows)
4754 (record-window-buffer, unrecord-window-buffer)
4755 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4756 (quit-window, split-window, window-state-put)
4757 (set-window-text-height, fit-window-to-buffer)
4758 (shrink-window-if-larger-than-buffer): Callers changed.
4759
4760 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4761
4762 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4763 rfc2047-decode-string.
4764 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4765 warnings.
4766
4767 * window.el (window-body-height, window-body-width): Mention in
4768 the doc string that the return values are in frame's canonical
4769 units. (Bug#9949)
4770
4771 2011-11-03 Alan Mackenzie <acm@muc.de>
4772
4773 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4774 change in cc-engine.el.
4775
4776 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4777
4778 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4779
4780 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4781
4782 * window.el (quit-window): Call unrecord-window-buffer after
4783 showing another buffer in the window. (Bug#9937)
4784 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4785
4786 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4787
4788 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4789 Accept status with more than 9 shelves. (Bug#9935)
4790 Reported by Colin D Bennett <colin@gibibit.com>.
4791
4792 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4793
4794 * help.el (with-help-window): Don't reference
4795 temp-buffer-show-specifiers in doc-string.
4796
4797 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4798
4799 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4800 menu-item.
4801
4802 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4803
4804 * whitespace.el: New version 13.2.2.
4805 (whitespace-newline-mode): Disable properly. Reported by Sarah
4806 <EmacsWiki>.
4807
4808 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4809
4810 * net/newst-treeview.el: Remove "Time-stamp".
4811 (newsticker--group-manage-orphan-feeds): Do not call
4812 newsticker--treeview-tree-update.
4813 (newsticker-treeview-update, newsticker-treeview):
4814 Call newsticker--treeview-tree-update if necessary.
4815
4816 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4817
4818 * window.el (window-iso-combination-p, window-iso-combined-p)
4819 (window-iso-combinations): Remove "iso-" infix.
4820 Suggested by Chong Yidong.
4821 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4822 (window-max-delta-1, window-resize, window--resize-siblings)
4823 (window--resize-this-window, adjust-window-trailing-edge)
4824 (split-window, balance-windows-1)
4825 (shrink-window-if-larger-than-buffer):
4826 * calendar/calendar.el (calendar-generate-window):
4827 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4828
4829 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4832 in place (bug#9907).
4833 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4834 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4835 (eshell-structure-basic-command, eshell-rewrite-while-command)
4836 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4837 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4838 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4839 (eshell-do-pipelines-synchronously, eshell-eval-command):
4840 Use backquotes and prefer setq to set.
4841 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4842 (eshell-macrop): Use functionp.
4843 (eshell-do-eval): Handle multiple expressions in `while' body.
4844
4845 2011-10-30 Chong Yidong <cyd@gnu.org>
4846
4847 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4848 instead of set-mark (Bug#9810).
4849
4850 2011-10-30 Chong Yidong <cyd@gnu.org>
4851
4852 * window.el (split-window-below, split-window-right): Rename from
4853 split-window-above-each-other and split-window-side-by-side
4854 respectively. All callers changed.
4855 (split-window-sensibly, split-window-sensibly): Use them.
4856 (split-window-keep-point): Doc fix.
4857
4858 * isearch.el: Add isearch-scroll property to split-window-below
4859 and split-window-right.
4860
4861 * follow.el (follow-mode):
4862 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4863 * progmodes/ada-xref.el (ada-gdb-application):
4864 * emulation/vip.el (vip-buffer-in-two-windows):
4865 * image-dired.el (image-dired-dired-with-window-configuration):
4866 * dired-x.el (dired-do-find-marked-files):
4867 * dired.el (dired-pop-to-buffer):
4868 * bs.el (bs--show-with-configuration):
4869 * vc/emerge.el (emerge-setup-windows):
4870 * textmodes/two-column.el (2C-two-columns):
4871 * textmodes/reftex-toc.el (reftex-toc):
4872 * progmodes/gdb-mi.el (gdb-setup-windows):
4873 * progmodes/fortran.el (fortran-window-create):
4874 * net/newst-treeview.el (newsticker--treeview-window-init):
4875 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4876 * emulation/tpu-edt.el (tpu-gold-map):
4877 * emulation/crisp.el (crisp-mode-map):
4878 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4879
4880 2011-10-29 Chong Yidong <cyd@gnu.org>
4881
4882 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4883
4884 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4885
4886 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4887 forged Ispell output (Bug#7904).
4888
4889 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4890
4891 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * doc-view.el: Avoid ugly errors about not finding nil.
4894 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4895 (doc-view-dvipdf-program, doc-view-unoconv-program)
4896 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4897 Avoid nil or absolute file name as default value.
4898 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4899
4900 2011-10-28 Alan Mackenzie <acm@muc.de>
4901
4902 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4903
4904 2011-10-28 Alan Mackenzie <acm@muc.de>
4905
4906 Amend the handling of c-beginning/end-of-defun in nested declaration
4907 scopes.
4908
4909 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4910 cc-langs.el. Change it to a defcustom.
4911
4912 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4913 cc-vars.el.
4914
4915 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4916 Prevent "class foo : bar" being spuriously recognized as a label.
4917
4918 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4919 Add parameter `inclusive' (to include enclosing braces in the region).
4920 (c-widen-to-enclosing-decl-scope): New function.
4921 (c-while-widening-to-decl-block): New macro.
4922 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4923 outward for defun boundaries, and correspondingly change symbol
4924 `respect-enclosure' to `go-outward'.
4925 (c-declaration-limits): Change algorithm to report only the "innermost"
4926 defun's boundaries.
4927
4928 2011-10-28 Deniz Dogan <deniz@dogan.se>
4929
4930 * net/rcirc.el (rcirc-mode): Use hard newlines.
4931
4932 2011-10-28 Alan Mackenzie <acm@muc.de>
4933
4934 Amend to indent and fontify macros "which include their own semicolon"
4935 correctly, using the "virtual semicolon" mechanism.
4936
4937 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4938
4939 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4940 Recode to scan one line at a time rather than having \n and \r
4941 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4942 (c-forward-label): Amend for virtual semicolons.
4943 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4944
4945 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4946 of the new C macros.
4947
4948 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4949 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4950 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4951 (c-opt-cpp-macro-define): Make into a full language variable.
4952 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4953 AWK Mode (including \n, \r) removed, no longer needed.
4954
4955 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4956 Invoke c-make-macro-with-semi-re.
4957
4958 * progmodes/cc-vars.el (c-macro-with-semi-re):
4959 (c-macro-names-with-semicolon): New variables.
4960 (c-make-macro-with-semi-re): New function.
4961
4962 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * vc/log-edit.el: Fill empty field rather than adding new one.
4965 (log-edit-add-field): New function.
4966 (log-edit-insert-changelog): Use it.
4967
4968 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4969
4970 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4971
4972 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4973
4974 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4975 (gdb--check-interpreter): New function.
4976 (gdb): Use it.
4977
4978 2011-10-27 Glenn Morris <rgm@gnu.org>
4979
4980 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4981 (least-positive-float, least-negative-float)
4982 (least-positive-normalized-float, least-negative-normalized-float)
4983 (float-epsilon, float-negative-epsilon):
4984 Remove unnecessary declarations.
4985
4986 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4987 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4988 (least-positive-float, least-negative-float)
4989 (least-positive-normalized-float, least-negative-normalized-float)
4990 (float-epsilon, float-negative-epsilon): Add doc-strings,
4991 based on those in cl.texi.
4992
4993 * files.el (set-visited-file-name): If the major-mode changed,
4994 reload the local variables. (Bug#9796)
4995
4996 2011-10-27 Chong Yidong <cyd@gnu.org>
4997
4998 * subr.el (change-major-mode-after-body-hook): New hook.
4999 (run-mode-hooks): Run it.
5000
5001 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5002 Use change-major-mode-before-body-hook.
5003
5004 * simple.el (fundamental-mode):
5005 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5006 change introducing fundamental-mode-hook.
5007
5008 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5009
5010 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5011
5012 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5013
5014 * ido.el (ido-file-name-all-completions-1): Do not require
5015 tramp.el explicitly. (Bug#7583)
5016
5017 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * progmodes/octave-mod.el:
5020 * progmodes/octave-inf.el: Update maintainer.
5021
5022 2011-10-26 Chong Yidong <cyd@gnu.org>
5023
5024 * subr.el (with-wrapper-hook): Rewrite doc.
5025
5026 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5027
5028 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5029 filenames "/method:foo:". (Bug#9793)
5030
5031 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5032
5033 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5034 (bug#9865).
5035
5036 2011-10-24 Glenn Morris <rgm@gnu.org>
5037
5038 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5039
5040 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5041
5042 * notifications.el: Add the requirement of a running D-Bus session
5043 bus to the Commentary.
5044
5045 2011-10-24 Juri Linkov <juri@jurta.org>
5046
5047 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5048 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5049 (Bug#9364)
5050
5051 2011-10-24 Juri Linkov <juri@jurta.org>
5052
5053 * info.el (Info-following-node-name-re): Add newline to the list
5054 of allowed characters for leading space. (Bug#9824)
5055
5056 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * progmodes/octave-inf.el (inferior-octave-mode-map):
5059 Fix C-c C-h binding.
5060 * progmodes/octave-mod.el (octave-help): Remove.
5061
5062 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5063
5064 Sync with Tramp 2.2.3.
5065
5066 * net/tramp-cache.el (top): Pacify byte-compiler using
5067 `init-file-user' and `site-run-file'.
5068
5069 * net/trampver.el: Update release number.
5070
5071 2011-10-23 Chong Yidong <cyd@gnu.org>
5072
5073 * files.el (toggle-read-only): Remove obsolete comment about
5074 version control.
5075
5076 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5077 for toggle-read-only. Note that this hasn't called vc-next-action
5078 since 2008-05-02, though it wasn't documented at the time.
5079
5080 * vc/ediff-init.el (ediff-toggle-read-only-function):
5081 Use toggle-read-only.
5082
5083 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5084
5085 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5086 of c-parse-state.
5087
5088 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5089 correct faulty logical expression.
5090 (c-parse-state-state, c-record-parse-state-state):
5091 (c-replay-parse-state-state): New defvar/defuns.
5092 (c-debug-parse-state): Use new functions.
5093
5094 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5095
5096 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5097 last fix. Use window-in-direction correctly.
5098
5099 2011-10-21 Chong Yidong <cyd@gnu.org>
5100
5101 * progmodes/idlwave.el (idlwave-mode):
5102 * progmodes/vera-mode.el (vera-mode): No need to set
5103 require-final-newline; that's done in prog-mode.
5104 Suggested by Stefan Monnier.
5105
5106 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5107
5108 * mouse.el (mouse-drag-window-above)
5109 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5110 (mouse-drag-mode-line-1, mouse-drag-header-line)
5111 (mouse-drag-vertical-line-rightward-window): Remove.
5112 (mouse-drag-line): New function.
5113 (mouse-drag-mode-line, mouse-drag-header-line)
5114 (mouse-drag-vertical-line): Call mouse-drag-line.
5115 * window.el (window-at-side-p, windows-at-side): New functions.
5116
5117 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5118
5119 * tar-mode.el (tar-grind-file-mode):
5120 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5121
5122 2011-10-21 Chong Yidong <cyd@gnu.org>
5123
5124 * progmodes/idlwave.el (idlwave-mode):
5125 * progmodes/vera-mode.el (vera-mode):
5126 Use mode-require-final-newline.
5127
5128 2011-10-20 Glenn Morris <rgm@gnu.org>
5129
5130 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5131
5132 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5133
5134 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5135
5136 2011-10-20 Chong Yidong <cyd@gnu.org>
5137
5138 * emulation/cua-base.el (cua-mode):
5139 * mail/footnote.el (footnote-mode):
5140 * mail/mailabbrev.el (mail-abbrevs-mode):
5141 * net/xesam.el (xesam-minor-mode):
5142 * progmodes/bug-reference.el (bug-reference-mode):
5143 * progmodes/cap-words.el (capitalized-words-mode):
5144 * progmodes/compile.el (compilation-minor-mode)
5145 (compilation-shell-minor-mode):
5146 * progmodes/gud.el (gud-tooltip-mode):
5147 * progmodes/hideif.el (hide-ifdef-mode):
5148 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5149 * progmodes/subword.el (subword-mode):
5150 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5151 * progmodes/which-func.el (which-function-mode):
5152 * term/tvi970.el (tvi970-set-keypad-mode):
5153 * term/vt100.el (vt100-wide-mode):
5154 * textmodes/flyspell.el (flyspell-mode):
5155 * textmodes/ispell.el (ispell-minor-mode):
5156 * textmodes/nroff-mode.el (nroff-electric-mode):
5157 * textmodes/paragraphs.el (use-hard-newlines):
5158 * textmodes/refill.el (refill-mode):
5159 * textmodes/reftex.el (reftex-mode):
5160 * textmodes/rst.el (rst-minor-mode):
5161 * textmodes/sgml-mode.el (html-autoview-mode)
5162 (sgml-electric-tag-pair-mode):
5163 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5164 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5165 * emulation/crisp.el (crisp-mode):
5166 * emacs-lisp/eldoc.el (eldoc-mode):
5167 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5168 minor mode behavior.
5169
5170 2011-10-19 Juri Linkov <juri@jurta.org>
5171
5172 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5173 the list of hard-coded chars with escape-glyph face.
5174
5175 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5178
5179 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5180
5181 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5182 running process.
5183
5184 2011-10-19 Glenn Morris <rgm@gnu.org>
5185
5186 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5187 Ignore ignored files. (Bug#9726)
5188
5189 2011-10-19 Chong Yidong <cyd@gnu.org>
5190
5191 Doc fix for minor modes, stating that an omitted argument enables
5192 the mode unconditionally when called from Lisp.
5193
5194 * abbrev.el (abbrev-mode):
5195 * allout.el (allout-mode):
5196 * autoinsert.el (auto-insert-mode):
5197 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5198 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5199 (global-auto-revert-mode):
5200 * battery.el (display-battery-mode):
5201 * composite.el (global-auto-composition-mode)
5202 (auto-composition-mode):
5203 * delsel.el (delete-selection-mode):
5204 * desktop.el (desktop-save-mode):
5205 * dired-x.el (dired-omit-mode):
5206 * dirtrack.el (dirtrack-mode):
5207 * doc-view.el (doc-view-minor-mode):
5208 * double.el (double-mode):
5209 * electric.el (electric-indent-mode, electric-pair-mode):
5210 * emacs-lock.el (emacs-lock-mode):
5211 * epa-hook.el (auto-encryption-mode):
5212 * follow.el (follow-mode):
5213 * font-core.el (font-lock-mode):
5214 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5215 * help.el (temp-buffer-resize-mode):
5216 * hilit-chg.el (highlight-changes-mode)
5217 (highlight-changes-visible-mode):
5218 * hi-lock.el (hi-lock-mode):
5219 * hl-line.el (hl-line-mode, global-hl-line-mode):
5220 * icomplete.el (icomplete-mode):
5221 * ido.el (ido-everywhere):
5222 * image-file.el (auto-image-file-mode):
5223 * image-mode.el (image-minor-mode):
5224 * iswitchb.el (iswitchb-mode):
5225 * jka-cmpr-hook.el (auto-compression-mode):
5226 * linum.el (linum-mode):
5227 * longlines.el (longlines-mode):
5228 * master.el (master-mode):
5229 * mb-depth.el (minibuffer-depth-indicate-mode):
5230 * menu-bar.el (menu-bar-mode):
5231 * minibuf-eldef.el (minibuffer-electric-default-mode):
5232 * mouse-sel.el (mouse-sel-mode):
5233 * msb.el (msb-mode):
5234 * mwheel.el (mouse-wheel-mode):
5235 * outline.el (outline-minor-mode):
5236 * paren.el (show-paren-mode):
5237 * recentf.el (recentf-mode):
5238 * reveal.el (reveal-mode, global-reveal-mode):
5239 * rfn-eshadow.el (file-name-shadow-mode):
5240 * ruler-mode.el (ruler-mode):
5241 * savehist.el (savehist-mode):
5242 * scroll-all.el (scroll-all-mode):
5243 * scroll-bar.el (scroll-bar-mode):
5244 * server.el (server-mode):
5245 * shell.el (shell-dirtrack-mode):
5246 * simple.el (auto-fill-mode, transient-mark-mode)
5247 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5248 (line-number-mode, column-number-mode, size-indication-mode)
5249 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5250 * strokes.el (strokes-mode):
5251 * time.el (display-time-mode):
5252 * t-mouse.el (gpm-mouse-mode):
5253 * tool-bar.el (tool-bar-mode):
5254 * tooltip.el (tooltip-mode):
5255 * type-break.el (type-break-mode-line-message-mode)
5256 (type-break-query-mode):
5257 * view.el (view-mode):
5258 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5259 (global-whitespace-mode, global-whitespace-newline-mode):
5260 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5261
5262 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5263 Fix autogenerated docstring.
5264
5265 2011-10-19 Juri Linkov <juri@jurta.org>
5266
5267 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5268 by checking environment variables "DESKTOP_SESSION" and
5269 "XDG_CURRENT_DESKTOP". (Bug#9779)
5270
5271 2011-10-19 Juri Linkov <juri@jurta.org>
5272
5273 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5274 (browse-url-chromium-program, browse-url-chromium-arguments):
5275 New defcustoms.
5276 (browse-url-default-browser): Check for `browse-url-chromium' and
5277 call `browse-url-chromium-program'.
5278 (browse-url-chromium): New command. (Bug#9779)
5279
5280 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5281
5282 * facemenu.el (list-colors-duplicates): On Windows, detect more
5283 duplicates by assuming that only colors matching "^System" are
5284 special "system colors". (Bug#9722)
5285
5286 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5289 to distinguish the author from the committer.
5290
5291 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5292
5293 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5294
5295 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5296
5297 * international/mule.el (sgml-html-meta-auto-coding-function):
5298 Add support for detecting encoding in HTML5 specified only as
5299 <meta charset="UTF-8">. Implementation just makes http-equiv and
5300 content-type parts from HTML4 encoding string optional. (Bug#9716)
5301
5302 2011-10-18 Glenn Morris <rgm@gnu.org>
5303
5304 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5305
5306 2011-10-18 Chong Yidong <cyd@gnu.org>
5307
5308 * faces.el (cursor): Doc fix.
5309
5310 2011-10-17 Chong Yidong <cyd@gnu.org>
5311
5312 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5313
5314 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5315
5316 * dirtrack.el (dirtrack): Support shell buffers with path
5317 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5318
5319 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5320
5321 * json.el: Bump version to 1.3 and note change in History.
5322 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5323
5324 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 * comint.el (comint-insert-input, comint-send-input)
5327 (comint-get-old-input-default, comint-backward-matching-input)
5328 (comint-next-prompt): Use nil instead of `input' for field property of
5329 past user input (bug#114).
5330
5331 * minibuffer.el (completion--replace): Inherit surrounding properties
5332 (bug#114).
5333 (minibuffer-complete-and-exit): Use it.
5334
5335 * comint.el (comint--table-subvert): Quote the all-completions output
5336 (bug#9160).
5337
5338 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5339
5340 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5341
5342 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5343 window on right of selected. (Bug#9350) Reword other window
5344 entries and separate them from frame entries.
5345
5346 2011-10-15 Glenn Morris <rgm@gnu.org>
5347
5348 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5349 Doc fixes.
5350
5351 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5352
5353 * net/network-stream.el (network-stream-open-starttls):
5354 Improve detection of failure due to lack of TLS support.
5355
5356 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5357 putting the input text in front and in bold.
5358
5359 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5362
5363 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5364 empty buffer.
5365
5366 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5367 unread-command-events rather than pushing yet-another event.
5368
5369 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5370
5371 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5372 the explanation of the possible choices. Make the options passed
5373 to completing-read shorter.
5374
5375 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5376
5377 * textmodes/flyspell.el (flyspell-large-region): Make sure
5378 extended character mode is used if defined (Bug#1339).
5379
5380 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5381
5382 * simple.el (what-cursor-position): Fix the display of the
5383 character info for LRE, LRO, RLE, and RLO characters by appending
5384 an invisible PDF.
5385
5386 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5389 even in case of error; add debug spec; simplify data flow.
5390 (with-timeout-handler): Remove.
5391
5392 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5393
5394 Fix Bug#6019, Bug#9315.
5395
5396 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5397 complete `buffer-file-name', the local file name part could look
5398 remotely (for example on VMS).
5399
5400 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5401 `tramp-run-real-handler'.
5402 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5403 already quoted by '"'.
5404
5405 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5406 Let `file-name-handler-alist' be nil, the local file name part
5407 could look remotely (for example on VMS).
5408
5409 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5412 from here...
5413 (flyspell-post-command-hook): ...to here.
5414
5415 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5418 if not needed.
5419 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5420 using completion. Protect against "slow" callers.
5421 Remove the "message hack".
5422
5423 2011-10-11 Juri Linkov <juri@jurta.org>
5424
5425 * isearch.el (isearch-lazy-highlight-word): New variable.
5426 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5427 Use it. (Bug#9727)
5428
5429 2011-10-11 Glenn Morris <rgm@gnu.org>
5430
5431 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5432 like f90-previous-statement does.
5433
5434 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5435
5436 * eshell/eshell.el (eshell-command): History should be saved
5437 only in interactive use, to avoid error.
5438
5439 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * minibuffer.el (completion-file-name-table): Fix last change,
5442 i.e. ignore normal errors but not the other ones.
5443
5444 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5445
5446 * window.el (special-display-buffer-names)
5447 (special-display-regexps): Remove some remnants of earlier
5448 changes from doc-strings.
5449 (quit-windows-on): New function.
5450
5451 * vc/vc.el (vc-revert, vc-rollback):
5452 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5453 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5454 (Bug#6183) (Bug#7074) (Bug#7447)
5455
5456 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5457
5458 * window.el (frame-auto-hide-function): Add version tag.
5459 (Bug#9699)
5460
5461 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5462
5463 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5464 condition.
5465
5466 2011-10-09 Leo Liu <sdl.web@gmail.com>
5467
5468 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5469 (Bug#9701)
5470
5471 2011-10-08 Glenn Morris <rgm@gnu.org>
5472
5473 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5474 before the first code statement zero indent. (Bug#9690)
5475
5476 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5477
5478 * simple.el (count-words-region): Always count in the region.
5479 Report the number of lines and characters too.
5480 (count-words): New command, which counts in the buffer if the
5481 region is inactive, as count-words-region used to.
5482 (count-words--message): New function. Handle plurals.
5483 (count-lines-region): Make it an alias for count-words-region.
5484
5485 * bindings.el (esc-map): Replace count-lines-region with
5486 count-words-region.
5487
5488 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5489
5490 * window.el (window--delete): Delete dedicated frame
5491 unconditionally when argument KILL is non-nil. (Bug#9699)
5492 (switch-to-buffer): Fix doc-string typo.
5493
5494 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5495
5496 * eshell/eshell.el (eshell-command): Avoid using hooks.
5497
5498 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5499
5500 * bindings.el ([M-left],[M-right]): Bind to left-word and
5501 right-word respectively.
5502
5503 2011-10-07 Glenn Morris <rgm@gnu.org>
5504
5505 * cus-start.el (debug-on-quit): Fix custom type.
5506
5507 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5508
5509 * subr.el (define-key-after): Clarify that the function is not
5510 useful for non-menu keymaps.
5511
5512 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5513
5514 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5515
5516 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5517 in current minibuffer (Fix bug with recursive minibuffers).
5518
5519 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5520
5521 * progmodes/gdb-mi.el (gdb): Doc fix.
5522
5523 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5524
5525 * window.el (frame-auto-hide-function): New option replacing
5526 frame-auto-delete. Suggested by Stefan Monnier.
5527 (window--delete): Call frame-auto-hide-function instead of
5528 investigating frame-auto-delete.
5529 (window-point-1, set-window-point-1): New functions.
5530 (window-in-direction, record-window-buffer, window-state-get-1)
5531 (display-buffer-record-window): Use window-point-1 instead of
5532 window-point.
5533 (set-window-buffer-start-and-point): Use set-window-point-1.
5534
5535 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5538
5539 2011-10-05 Glenn Morris <rgm@gnu.org>
5540
5541 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5542 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5543
5544 2011-10-05 Leo Liu <sdl.web@gmail.com>
5545
5546 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5547 works with buffer object.
5548
5549 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * mpc.el (mpc-tool-bar-map): Add labels.
5552
5553 2011-10-04 Glenn Morris <rgm@gnu.org>
5554
5555 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5556
5557 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5558
5559 * window.el (window--delete): New function.
5560 (frame-auto-delete): Resuscitate option.
5561 (bury-buffer, replace-buffer-in-windows)
5562 (quit-window): Rewrite using window--delete.
5563 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5564 Pass display-buffer-mark-dedicated to window--display-buffer-2
5565 (Bug#9639).
5566
5567 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5570 returns a list (bug#9554). Add remote file name completion.
5571 * comint.el (comint--table-subvert): Curry and get quote&unquote
5572 functions as arguments.
5573 (comint--complete-file-name-data): Adjust call accordingly.
5574 * pcomplete.el (pcomplete--table-subvert): Remove.
5575 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5576
5577 * minibuffer.el (completion-table-case-fold): Use currying.
5578 (completion--styles-type, completion--cycling-threshold-type):
5579 New constants.
5580 (completion-styles, completion-category-overrides)
5581 (completion-cycle-threshold): Use them.
5582 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5583 completion-table-case-fold.
5584
5585 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5586
5587 * minibuffer.el (completion-category-overrides): Fix type of styles
5588 and add more user friendly tags (bug#9660).
5589
5590 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5593 (mule-input-method-string): New widget.
5594 (default-input-method, language-info-custom-alist): Use it.
5595
5596 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * pcomplete.el: Require comint.
5599 (pcomplete--common-suffix): Remove.
5600 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5601 (pcomplete--table-subvert): Sync with comint--table-subvert.
5602 (pcomplete--entries): Use comint-completion-file-name-table.
5603 * comint.el (comint-unquote-filename): Simplify.
5604 (comint-completion-file-name-table): New function (bug#9616).
5605 (comint--complete-file-name-data): Use it.
5606
5607 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5608 (pcmpl-gnu-tar-buffer): Remove.
5609 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5610 around. Make sure pcomplete-suffix-list is only changed temporarily.
5611 Don't look inside the tar's file if it's too large.
5612
5613 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5614
5615 * cus-edit.el (custom-mode-map):
5616 * epa.el (epa-key-list-mode-map):
5617 * man.el (Man-mode-map):
5618 * startup.el (splash-screen-keymap):
5619 * simple.el (special-mode-map): Use scroll-up-command and
5620 scroll-down-command.
5621
5622 * progmodes/idlw-help.el (idlwave-help-mode-map):
5623 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5624 * net/newst-plainview.el (newsticker-mode-map):
5625 * emulation/ws-mode.el (wordstar-mode-map):
5626 * emulation/vi.el (vi-com-map):
5627 * calc/calc-graph.el (calc-graph-show-dumb):
5628 * term/sun.el (terminal-init-sun):
5629 * term/ns-win.el (global-map):
5630 * progmodes/grep.el (grep-mode-map):
5631 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5632 * mail/rmail.el (rmail-mode-map):
5633 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5634
5635 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5636 custom-safe-themes as special.
5637
5638 2011-10-01 Julien Danjou <julien@danjou.info>
5639
5640 * notifications.el (notifications-notify): Fix docstring.
5641
5642 2011-10-01 Per Starbäck <per@starback.se>
5643
5644 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5645
5646 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5647
5648 * startup.el (command-line-1): Fix last fix by inserting
5649 initial-scratch-message into *scratch* before displaying it.
5650 (Bug#9605) and (Bug#9636)
5651
5652 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5653
5654 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5655 window is hscrolled, move by logical lines. (Bug#9607)
5656 (line-move-visual): Update the doc string to the above effect.
5657
5658 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5659
5660 * window.el (display-buffer-record-window): When WINDOW is the
5661 selected window use `point' instead of `window-point'. (Bug#9626)
5662
5663 * startup.el (command-line-1): Use insert-before-markers when
5664 inserting initial-scratch-message. (Bug#9605)
5665
5666 * help.el (help-window): Remove variable.
5667
5668 2011-09-29 Glenn Morris <rgm@gnu.org>
5669
5670 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5671
5672 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5673
5674 * descr-text.el (describe-char-categories): Accept category
5675 descriptions more than one line long.
5676
5677 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5678
5679 * simple.el (delete-trailing-whitespace): Fix last change.
5680
5681 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5682 Don't confuse "y => 3" as the beginning of a `y' operation.
5683
5684 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5685 object has more than 4 slots (bug#9613).
5686
5687 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5688
5689 * subr.el (with-output-to-temp-buffer):
5690 * net/quickurl.el (quickurl, quickurl-browse-url):
5691 Fix typos in docstrings.
5692
5693 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5694
5695 * minibuffer.el (completion-styles)
5696 (completion-category-overrides): Cross reference each other in doc
5697 strings.
5698
5699 2011-09-27 Glenn Morris <rgm@gnu.org>
5700
5701 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5702 to split-string. (Bug#9606)
5703
5704 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5705
5706 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5707 (bug#9615).
5708
5709 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5710
5711 * emacs-lisp/package.el (list-packages): Fix echo area message.
5712
5713 2011-09-27 Leo Liu <sdl.web@gmail.com>
5714
5715 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5716
5717 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5718
5719 * net/dbus.el (dbus-unregister-object): Don't release services for
5720 registered signals. (Bug#9581)
5721
5722 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5723
5724 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5725 function that picks between cfengine 2 and 3 support
5726 automatically. Update docs accordingly.
5727
5728 2011-09-22 Kenichi Handa <handa@m17n.org>
5729
5730 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5731 ZERO.
5732 (indian-itrans-v5-table-for-tamil): New variable.
5733 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5734
5735 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5736
5737 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5738 that's true if the current command involved collapsing of text.
5739 It's reset to false at the beginning of the next command.
5740 (allout-post-command-business): Move the cursor to the beginning
5741 of entry if the cursor is hidden and collapsing activity just
5742 happened.
5743
5744 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5745
5746 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5747 tracking (Bug#9541).
5748
5749 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5750
5751 * net/newst-reader.el (newsticker-html-renderer)
5752 (newsticker-show-news): Automatically load html rendering package
5753 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5754 because w3m-fill-column is let-bound" and the error "Symbol's value
5755 as variable is void: w3m-fill-column".
5756
5757 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5758
5759 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5760 Release services only if they are defined. (Bug#9581)
5761
5762 2011-09-23 Richard Stallman <rms@gnu.org>
5763
5764 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5765 distinguish start of paragraph from start of its text.
5766
5767 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5768
5769 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5770 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5771 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5772
5773 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5774
5775 * international/mule-diag.el (mule-diag): Insert a newline after
5776 each fontset description.
5777
5778 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * simple.el (delete-trailing-whitespace):
5781 Document last change; simplify.
5782
5783 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5784
5785 * simple.el (delete-trailing-whitespace): Also delete
5786 extra newlines at the end of the buffer.
5787
5788 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5789 (picture-newline): Use forward-line so as to ignore fields.
5790
5791 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 * subr.el (with-wrapper-hook): Fix edebug spec.
5794
5795 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5796
5797 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5798 (bug#4538).
5799
5800 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5801
5802 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5803 Fix nasty bug using wrong cached values.
5804
5805 2011-09-23 Alan Mackenzie <acm@muc.de>
5806
5807 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5808
5809 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5810
5811 * window.el (pop-to-buffer): Ensure right window is selected if we
5812 chose another frame.
5813
5814 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5815
5816 * simple.el (what-cursor-position): Use get-char-property-change
5817 and next-single-char-property-change, to be able to show display
5818 properties that come from overlays as well as text properties.
5819
5820 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5821
5822 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5823
5824 * cmuscheme.el (run-scheme, switch-to-scheme):
5825 * cus-edit.el (customize-group, custom-buffer-create)
5826 (customize-browse):
5827 * info.el (info):
5828 * shell.el (shell):
5829 * mail/sendmail.el (mail):
5830 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5831
5832 2011-09-22 Richard Stallman <rms@gnu.org>
5833
5834 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5835 move back only to line beg, don't move back over blank lines.
5836
5837 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5838
5839 * files.el (copy-directory): Set directory attributes only in case
5840 they could be retrieved from the source directory. (Bug#9565)
5841
5842 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5843
5844 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5845 (hs-find-block-beginning, hs-hide-level-recursive):
5846 Ignore strings as well as comments. (Bug#9502)
5847
5848 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5849
5850 * progmodes/sql.el (sql-comint-postgres):
5851 Convert port number to a string. (Bug#9566)
5852
5853 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5854
5855 * window.el (quit-window): Undedicate window when switching to
5856 previous buffer. Reported by Thierry Volpiatto
5857 <thierry.volpiatto@gmail.com>.
5858 (special-display-popup-frame): When popping up a new frame reset
5859 its previous buffers to nil. Simplify code.
5860
5861 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5862
5863 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5864 and process filter, as done also in `shell-command'.
5865
5866 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5867
5868 * window.el (set-window-buffer-start-and-point):
5869 Call set-window-start with NOFORCE argument t.
5870 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5871 (quit-window): Reword doc-string. Handle new format of
5872 quit-restore parameter. Don't delete window if it has a
5873 previous buffer we can show instead of the present one.
5874 (display-buffer-record-window): Rewrite using a new format for
5875 the quit-restore window parameter
5876 (special-display-popup-frame, display-buffer-same-window)
5877 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5878 (display-buffer-pop-up-window, display-buffer-use-some-window):
5879 Adapt symbol passed to display-buffer-record-window.
5880 * help.el (help-window-setup): Handle new format of quit-restore
5881 parameter.
5882
5883 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5884
5885 * faces.el (face-list): Fix docstring (bug#9564).
5886
5887 * window.el (display-buffer--action-function-custom-type):
5888 Don't include internal functions in the Custom interface.
5889
5890 2011-09-20 Juri Linkov <juri@jurta.org>
5891
5892 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5893 (Info-forward-node, Info-backward-node, Info-next-preorder)
5894 (Info-last-preorder): Use it. (Bug#9528)
5895
5896 2011-09-20 Juri Linkov <juri@jurta.org>
5897
5898 * info.el (Info-last-preorder): Visit last menu item only when
5899 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5900
5901 2011-09-20 Julien Danjou <julien@danjou.info>
5902
5903 * password-cache.el (password-cache-remove): Remove entries even if the
5904 value is nil, so that password with a nil value (negative caching) is
5905 possible to invalidate.
5906
5907 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5908
5909 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5910 all whitespace around breakpoint. (Bug#9553)
5911 (f90-find-breakpoint): Only break at whitespace inside a comment.
5912
5913 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * minibuffer.el (completion-file-name-table): Keep track of errors.
5916 (completion-table-with-predicate): Handle the case where pred1 is nil.
5917 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5918
5919 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5920
5921 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5922 (debugger-return-value): Signal an error if the debugging context does
5923 not await any return value.
5924
5925 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5926 * image-mode.el (image-toggle-display-text)
5927 (image-toggle-display-image): Stay away from evil `intangible'.
5928
5929 2011-09-19 Leo Liu <sdl.web@gmail.com>
5930
5931 * replace.el (occur-revert-arguments): Make it permanent-local.
5932 (occur-mode): Don't call font-lock-defontify.
5933
5934 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5935
5936 * net/ldap.el (ldap-search-internal): Don't push empty search
5937 result (Bug#9508).
5938
5939 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5942
5943 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5944
5945 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5946 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5947
5948 2011-09-18 Juri Linkov <juri@jurta.org>
5949
5950 * buff-menu.el (Buffer-menu-mode-map):
5951 * dired.el (dired-mode-map):
5952 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5953 (lisp-interaction-mode-map):
5954 * emacs-lisp/package.el (package-menu-mode-map):
5955 * epa.el (epa-key-list-mode-map):
5956 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5957 (menu-bar-options-menu):
5958 * outline.el (outline-mode-menu-bar-map):
5959 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5960 * vc/vc-dir.el (vc-dir-menu-map):
5961 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5962 Capitalize non-function content words in menu item strings.
5963
5964 * dired.el (dired-mode-map): Add menu item for
5965 `image-dired-dired-toggle-marked-thumbs'.
5966
5967 2011-09-18 Juri Linkov <juri@jurta.org>
5968
5969 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5970 to `isearch-case-fold-search' and restore its original value
5971 after the `isearch-mode' call.
5972
5973 2011-09-18 Juri Linkov <juri@jurta.org>
5974
5975 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5976 because `zgrep' returns 1 for successful matches (bug#9226).
5977
5978 2011-09-18 Juri Linkov <juri@jurta.org>
5979
5980 * info.el (Info-extract-menu-node-name): Check the second match
5981 for empty string (second test-case of bug#9528).
5982 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5983 intermediate nodes to the history (first test-case of bug#9528).
5984
5985 2011-09-18 Juri Linkov <juri@jurta.org>
5986
5987 * info.el (Info-mode-syntax-table): New variable.
5988 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5989
5990 2011-09-18 Juri Linkov <juri@jurta.org>
5991
5992 * info.el (Info-file-supports-index-cookies):
5993 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5994 outputs one more line for long file names (bug#4142).
5995
5996 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5997
5998 * newcomment.el (comment-normalize-vars): If prompting for
5999 comment-start, set comment-start-skip too (Bug#8424).
6000
6001 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6002
6003 * icomplete.el: Fix previous fix of Bug#5849.
6004 (icomplete-mode): Don't set completion-show-inline-help.
6005 (icomplete-minibuffer-setup): Set completion-show-inline-help
6006 locally during icompletion.
6007
6008 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6009
6010 * woman.el (woman2-process-escapes): Don't delete unrecognized
6011 escapes (Bug#7843).
6012
6013 * files.el (inhibit-first-line-modes-regexps): Add image files.
6014 (hack-local-variables-prop-line): Return nil for malformed
6015 prop-lines (Bug#9044).
6016
6017 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6018
6019 * net/tramp.el (top): Don't require 'shell.
6020 (tramp-methods): Fix docstring.
6021 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6022 Return complete remote file name. Handle "smb" case.
6023 Use `tramp-tmpdir', if defined for the respective method.
6024 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6025
6026 * net/tramp-compat.el (top): Require 'shell.
6027
6028 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6029 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6030 `tramp-current-host'.
6031 (tramp-get-remote-tmpdir): Remove.
6032
6033 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6034 `tramp-tmpdir' entries.
6035 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6036 (tramp-smb-handle-file-attributes): Ignore errors.
6037 (tramp-smb-wait-for-output): Check also for process end.
6038
6039 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6040
6041 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6042 when sending QUIT (bug#9312).
6043
6044 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6045
6046 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6047 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6048 occur-mode-display-occurrence.
6049 (occur-edit-mode): Add usage message.
6050 (occur-cease-edit): New command.
6051 (occur-after-change-function): Use text properties to find the
6052 position of the prefix text.
6053 (occur-engine): Set stickiness of prefix text properties.
6054
6055 2011-09-17 Glenn Morris <rgm@gnu.org>
6056
6057 * progmodes/etags.el (complete-tag):
6058 Fix call to completion-in-region. (Bug#9526)
6059
6060 2011-09-17 Juri Linkov <juri@jurta.org>
6061
6062 * textmodes/ispell.el (ispell-word): Add to the error message
6063 the word, ispell program name and current dictionary (bug#9121).
6064 (ispell-tex-arg-end): Capitalize "error" in the error message.
6065
6066 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6067
6068 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6069 check. (Bug#4251)
6070
6071 2011-09-17 Juri Linkov <juri@jurta.org>
6072
6073 * window.el (window-safe-min-height, window-safe-min-width):
6074 Fix typos (followup to bug#9522).
6075
6076 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6077
6078 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6079
6080 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6081
6082 * simple.el (line-move): If goal-column is set, move by logical
6083 lines, not by display lines. (Bug#971)
6084 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6085 to reflect the above change.
6086
6087 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * image.el (imagemagick-register-types): Use regexp-opt.
6090
6091 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6092
6093 * window.el (display-buffer-base-action): Rename from
6094 display-buffer-default-action. Make default value empty.
6095 (display-buffer-overriding-action): Convert to defvar.
6096 (display-buffer-fallback-action): New var.
6097
6098 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6099
6100 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6101 declaration.
6102 (package--add-to-archive-contents): If there is a duplicate entry
6103 with an older version, remove it.
6104 (package-menu-mark-delete, package-menu-mark-install)
6105 (package-menu-mark-unmark): Make unused args optional.
6106 (package-menu-mark-obsolete-for-deletion):
6107 Use package-menu-get-status instead of a regexp search.
6108 (package-menu-get-status): Use tabulated-list-entry.
6109 (package-menu-mark-upgrades): New command.
6110 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6111 (package-menu-execute): Do installation before deletion.
6112 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6113 instead of checking major-mode.
6114 (package-menu--find-upgrades): New function.
6115
6116 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6117
6118 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6119 passwords in the log buffer.
6120 (smtpmail-process-filter): Update the process marker so that the
6121 "broken by peer" status message is inserted in the right place.
6122
6123 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6124
6125 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6126 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6127 bibtex-completion-at-point-function.
6128 (bibtex-completion-at-point-function): Use them.
6129
6130 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6131
6132 * mpc.el (mpc-constraints-tag-lookup): New function.
6133 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6134 also to browser "album|playlist".
6135
6136 2011-09-14 Juri Linkov <juri@jurta.org>
6137
6138 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6139 (isearch-edit-string): Use length of `isearch-string' when
6140 `isearch-fail-pos' returns nil.
6141 (isearch-message): Remove duplicate code and call
6142 `isearch-fail-pos' with arg `t'.
6143
6144 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6145
6146 * replace.el (occur-mode-goto-occurrence): Don't force using other
6147 window (Bug#9499).
6148
6149 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6150
6151 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6152
6153 * window.el (display-buffer-window): Remove.
6154 (display-buffer-record-window): Use help-setup window parameter
6155 instead of variable display-buffer-window.
6156 (display-buffer-function, special-display-buffer-names)
6157 (special-display-function): Mention help-setup parameter instead
6158 of display-buffer-window in doc-string.
6159 * help.el (help-window-setup): New argument help-window.
6160 Use help-window-setup parameter instead of display-buffer-window.
6161 Reword some messages.
6162 (with-help-window): Pass window used for displaying the buffer
6163 to help-window-setup. Don't set display-buffer-window.
6164
6165 2011-09-13 Glenn Morris <rgm@gnu.org>
6166
6167 * emacs-lisp/debug.el (debugger-make-xrefs):
6168 Preserve point. (Bug#9462)
6169
6170 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6171
6172 * window.el (window-deletable-p): Use next-frame.
6173
6174 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6175
6176 * window.el (window-auto-delete): Remove.
6177 (window-deletable-p): Remove argument FORCE. Don't deal with
6178 dedication and previous buffers.
6179 (switch-to-prev-buffer): Don't delete window.
6180 (delete-windows-on): Delete a window's frame if and only if the
6181 window is dedicated.
6182 (replace-buffer-in-windows): Delete buffer's window or frame if
6183 and only if window is dedicated.
6184 (quit-window): Handle quit-restore as before last change.
6185 (bury-buffer): Delete window only if window-deletable-p returns t.
6186
6187 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6188
6189 * window.el (window-deletable-p): Never delete the last frame on a
6190 given terminal.
6191
6192 2011-09-13 Glenn Morris <rgm@gnu.org>
6193
6194 * help.el (describe-key-briefly): Copy previous standard-output change.
6195
6196 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6197
6198 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6199
6200 2011-09-13 Glenn Morris <rgm@gnu.org>
6201
6202 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6203 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6204
6205 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6206
6207 * dired-aux.el (dired-mark-read-string): Don't return default
6208 value on empty input (Bug#9361).
6209 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6210 Omit initial minibuffer contents.
6211 (dired-do-chmod): Signal an error on empty input.
6212 (dired-mark-read-string): Don't return default on empty input.
6213
6214 * files.el (file-modes-symbolic-to-number): Doc fix.
6215
6216 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * international/mule-cmds.el (ucs-completions): Remove.
6219 (read-char-by-name): Use complete-with-action instead; add metadata.
6220
6221 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6222
6223 * window.el (display-buffer--action-function-custom-type)
6224 (display-buffer--action-custom-type): New vars.
6225 (display-buffer-alist, display-buffer-default-action)
6226 (display-buffer-overriding-action): Add defcustom types.
6227
6228 * frame.el (delete-other-frames): Doc fix (Bug#276).
6229
6230 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6231
6232 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6233
6234 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6235
6236 Change modes that used same-window-* vars to use switch-to-buffer.
6237
6238 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6239 Use switch-to-buffer.
6240
6241 * cus-edit.el (customize-group, custom-buffer-create)
6242 (customize-browse, custom-buffer-create-other-window):
6243 Use switch-to-buffer or switch-to-buffer-other-window.
6244
6245 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6246 (Info-prev, Info-up, Info-speedbar-goto-node)
6247 (info-display-manual): Use switch-to-buffer.
6248 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6249
6250 * mail/sendmail.el (mail): Use switch-to-buffer.
6251 (mail-recover): Use switch-to-buffer-other-window.
6252
6253 * cmuscheme.el (run-scheme, switch-to-scheme):
6254 * ielm.el (ielm):
6255 * shell.el (shell):
6256 * net/rlogin.el (rlogin):
6257 * net/telnet.el (telnet, rsh):
6258 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6259
6260 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6261
6262 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6263
6264 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6265
6266 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6267 so don't mention it (bug#9301).
6268 (dired-sort-toggle-or-edit): Clarify string further.
6269
6270 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6271 match `x', `w32' and `ns', like the manual says (bug#9029).
6272
6273 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6274 (process-kill-buffer-query-function): Mention the buffer name in
6275 the query.
6276
6277 * image-mode.el (image-next-line): The line parameter is mandatory
6278 (bug#9258).
6279
6280 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6281 which can be useful (bug#9301).
6282
6283 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6284
6285 * subr.el (match-string): Mention that the current buffer should
6286 be the same as the search was done in (bug#9282).
6287
6288 * facemenu.el: Disable the remove-* commands if the mark isn't
6289 active (bug#9162).
6290
6291 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6292
6293 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6294 of display-buffer.
6295 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6296
6297 * replace.el (occur-mode-goto-occurrence)
6298 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6299 and display-buffer.
6300
6301 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6302 display-buffer.
6303
6304 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6305 special-display and same-window variables.
6306 (mail-other-window): Use switch-to-buffer-other-window.
6307 (mail-other-frame): USe switch-to-buffer-other-frame.
6308
6309 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6310 Use display-buffer-other-frame.
6311 (gdb-display-gdb-buffer): Use pop-to-buffer.
6312
6313 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6314
6315 * progmodes/python.el: Don't set same-window-buffer-names.
6316
6317 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6318
6319 * window.el (display-buffer-alist): Add *Python*.
6320
6321 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6322
6323 * window.el (display-buffer-alist): Add entry for buffers
6324 previously handled same-window-*.
6325 (display-buffer-alist, display-buffer-default-action)
6326 (display-buffer-overriding-action): Mark as risky.
6327 (display-buffer-alist): Document action function changes.
6328 (display-buffer--same-window-action)
6329 (display-buffer--other-frame-action): New variables.
6330 (switch-to-buffer, display-buffer-other-frame): Use them.
6331 (display-buffer): Rename reuse-frame entry to reusable-frames.
6332 (display-buffer-reuse-selected-window): Function deleted.
6333 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6334 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6335 (display-buffer-special): New function.
6336 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6337 display-buffer-reuse-or-pop-window. Split off special-display
6338 part into display-buffer-special.
6339 (display-buffer-use-some-window): Don't perform any special
6340 pop-up-frames handling.
6341 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6342 (display-buffer--maybe-same-window): Rename from
6343 display-buffer-maybe-same-window.
6344
6345 * info.el: Don't set same-window-regexps.
6346 (info-setup): New function.
6347 (info-other-window, info): Call it.
6348
6349 * cus-edit.el: Don't set same-window-regexps.
6350 (customize-group): New argument.
6351 (customize-group-other-window): Use it.
6352 (customize-face, customize-face-other-window): Likewise.
6353 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6354
6355 * net/rlogin.el:
6356 * net/telnet.el:
6357 * progmodes/gud.el: Don't set same-window-regexps.
6358
6359 * cmuscheme.el:
6360 * ielm.el:
6361 * shell.el:
6362 * mail/sendmail.el:
6363 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6364
6365 2011-09-10 Juri Linkov <juri@jurta.org>
6366
6367 * isearch.el (isearch-edit-string): Remove obsolete mention of
6368 `C-w' (`isearch-yank-word-or-char') from docstring.
6369 (isearch-query-replace): Fix typo in docstring (bug#9466).
6370
6371 2011-09-10 Juri Linkov <juri@jurta.org>
6372
6373 * paren.el (show-paren-function): Don't show escaped parens.
6374 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6375
6376 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6377
6378 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6379 (mm-default-file-encoding): Remove autoload forms, they are
6380 replaced with autoload cookies in mml.el and mm-encode.el.
6381 (mail-add-attachment): New command.
6382 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6383 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6384 the doc string.
6385 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6386
6387 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6388
6389 * simple.el (count-words-region): Use buffer if there's no region
6390 (bug#9429).
6391
6392 2011-09-09 Juri Linkov <juri@jurta.org>
6393
6394 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6395 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6396 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6397
6398 2011-09-09 Alan Mackenzie <acm@muc.de>
6399
6400 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6401 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6402
6403 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6404
6405 Fix for Savannah bug#9392.
6406 * simple.el (mail-encode-mml): New defvar.
6407
6408 * mail/rmail.el (mail-encode-mml): Add a defvar.
6409 (rmail-enable-mime-composing): Default to t.
6410 (rmail-forward): Use MIME method of forwarding only if both
6411 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6412 Set mail-encode-mml non-nil if the MIME method was used.
6413
6414 * mail/sendmail.el (mml-to-mime): Add autoload form.
6415 (mail-encode-mml): Add a defvar.
6416 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6417 to nil.
6418 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6419 message through mml-to-mime, and reset mail-encode-mml to nil.
6420
6421 2011-09-09 Glenn Morris <rgm@gnu.org>
6422
6423 * woman.el (woman-if-body): When processing an .el block,
6424 do not delete the next .el block as well. (Bug#9447)
6425 (woman-special-characters): Add oq, cq, and hy characters.
6426
6427 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6428
6429 * window.el (window-deletable-p): Make sure window is live before
6430 invoking window-prev-buffers.
6431
6432 2011-09-08 Leo Liu <sdl.web@gmail.com>
6433
6434 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6435
6436 2011-09-08 Juri Linkov <juri@jurta.org>
6437
6438 * progmodes/compile.el (compilation-environment): Make it
6439 a defcustom (bug#8340).
6440
6441 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6442
6443 * window.el (frame-auto-delete): Rename to window-auto-delete.
6444 Make it control auto-deletion of windows and/or frames.
6445 (window-deletable-p): New argument FORCE. Rewrite conditions
6446 for deleting window/frame. (Bug#9419)
6447 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6448 Rewrite handling of case when window/frame can be deleted.
6449 (delete-windows-on): Call window-deletable-p with new FORCE
6450 argument t. (Bug#9456)
6451
6452 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6453
6454 * help-mode.el (help-mode): Restore autoload.
6455
6456 2011-09-07 Juri Linkov <juri@jurta.org>
6457
6458 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6459 `compilation-environment'. Set buffer-local
6460 `compilation-environment' to `thisenv' later after (funcall mode).
6461 (Bug#8340)
6462
6463 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6464 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6465 instead of replacing its value. (Bug#8340)
6466
6467 2011-09-07 Juri Linkov <juri@jurta.org>
6468
6469 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6470 based on text properties put by `grep-filter' instead of matching
6471 escape sequences.
6472 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6473 to the value of `grep-error-screen-columns' (bug#9438).
6474
6475 2011-09-07 Juri Linkov <juri@jurta.org>
6476
6477 * simple.el (next-error-highlight, next-error-highlight-no-select):
6478 Doc fix (bug#9432).
6479
6480 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6481
6482 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6483 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6484
6485 2011-09-07 Leo Liu <sdl.web@gmail.com>
6486
6487 * net/rcirc.el (rcirc-mode): Conditionally initialize
6488 rcirc-input-ring.
6489
6490 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * emacs-lisp/find-func.el (find-function-C-source): Only set
6493 find-function-C-source-directory after checking that we found a source
6494 file there (bug#9440).
6495
6496 2011-09-06 Alan Mackenzie <acm@muc.de>
6497
6498 * isearch.el (isearch-other-meta-char): Wherever a key list is
6499 unread, "unread" the prefix arg, too. This fixes bug #8901.
6500
6501 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6502
6503 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6504
6505 2011-09-05 Juri Linkov <juri@jurta.org>
6506
6507 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6508
6509 2011-09-05 Juri Linkov <juri@jurta.org>
6510
6511 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6512 keeping point where processing of grep matches begins, and
6513 continue to delete remaining escape sequences from the same point.
6514 (grep-filter): Make leading zero optional in "0?1;31m" because
6515 git-grep emits "\033[1;31m" escape sequences unlike expected
6516 "\033[01;31m" as GNU Grep does (bug#9408).
6517 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6518
6519 2011-09-05 Juri Linkov <juri@jurta.org>
6520
6521 * subr.el (y-or-n-p): Capitalize "yes".
6522
6523 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6524
6525 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6526 `tramp-cache-unload-hook' where appropriate.
6527 (tramp-methods): Rename `tramp-remote-sh' to
6528 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6529 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6530
6531 * net/tramp-sh.el (top): Don't require 'shell.
6532 (tramp-methods): Add `tramp-remote-shell' and
6533 `tramp-remote-shell-args' entries.
6534 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6535 (tramp-sh-handle-shell-command): Remove.
6536 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6537 Use `tramp-remote-shell'.
6538
6539 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6540
6541 * mail/sendmail.el (sendmail-query-once-function): Delete.
6542 (sendmail-query-once): Save directly to send-mail-function.
6543 Update message-send-mail-function too.
6544
6545 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6546
6547 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6548
6549 * progmodes/python.el (python-mode-map): Use correct function to
6550 start python interpreter from menu-bar (as reported by Geert
6551 Kloosterman).
6552 (inferior-python-mode-map): Fix typo.
6553 (python-shell-map): Remove.
6554
6555 2011-09-03 Deniz Dogan <deniz@dogan.se>
6556
6557 * net/rcirc.el (rcirc-print): Simplify code for
6558 rcirc-scroll-show-maximum-output. There is no need to walk
6559 through all windows to find the right one.
6560
6561 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6562
6563 * help.el (help-return-method): Doc fix.
6564
6565 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6566
6567 * window.el (window-deletable-p): Don't return a non-nil value
6568 when there's a buffer that was shown in the window before.
6569 (Bug#9419)
6570 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6571 Set window's previous buffers to nil.
6572
6573 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6574
6575 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6576 newline before and after the tag line, so it doesn't interfere
6577 with determining the paragraph direction of bidirectional text.
6578
6579 2011-09-03 Leo Liu <sdl.web@gmail.com>
6580
6581 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6582
6583 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6584
6585 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6586 (pop-to-buffer): Change interactive spec. Pass second argument
6587 directly to display-buffer.
6588 (display-buffer): Fix interactive spec. Use functionp to
6589 distinguish between a function and a list of functions.
6590
6591 * abbrev.el (edit-abbrevs):
6592 * arc-mode.el (archive-extract):
6593 * autoinsert.el (auto-insert):
6594 * bookmark.el (bookmark-bmenu-list):
6595 * files.el (find-file):
6596 * view.el (view-buffer):
6597 * progmodes/compile.el (compilation-goto-locus):
6598 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6599
6600 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6601
6602 * window.el (display-buffer-alist): Doc fix.
6603 (display-buffer): Add docstring. Don't treat
6604 display-buffer-default specially.
6605 (display-buffer-reuse-selected-window)
6606 (display-buffer-same-window, display-buffer-maybe-same-window)
6607 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6608 (display-buffer-pop-up-window)
6609 (display-buffer-reuse-or-pop-window)
6610 (display-buffer-use-some-window): New functions.
6611 (display-buffer-default-action): Use them.
6612 (display-buffer-default): Delete.
6613 (pop-to-buffer-1): Fix choice of actions.
6614
6615 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * minibuffer.el (completion--insert-strings): Don't get confused by
6618 completion entries that end with an LF char.
6619
6620 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6621
6622 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6623
6624 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6625
6626 * window.el (display-buffer): Restore interactive spec.
6627 (display-buffer-same-window, display-buffer-other-window):
6628 New functions.
6629 (pop-to-buffer-1): New function. Use the above.
6630 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6631 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6632
6633 * view.el (view-buffer-other-window, view-buffer-other-frame):
6634 Just use pop-to-buffer.
6635
6636 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6637
6638 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6639
6640 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6641
6642 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6643
6644 2011-08-31 Richard Stallman <rms@gnu.org>
6645
6646 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6647 of the separation of rmail-view-buffer from rmail-buffer.
6648 If you say no to "replace original", the decrypt is in the
6649 view buffer. If you say yes, the decrypt goes into the
6650 rmail buffer also.
6651
6652 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6653
6654 * window.el (display-buffer-window): Rewrite doc-string.
6655 (display-buffer-record-window): New function.
6656 (display-buffer-macro-specifiers)
6657 (display-buffer-even-window-sizes, display-buffer-set-height)
6658 (display-buffer-set-width, display-buffer-in-window)
6659 (display-buffer-reuse-window, display-buffer-split-specifiers)
6660 (display-buffer-side-specifiers, display-buffer-split-window-1)
6661 (display-buffer-split-window, display-buffer-split-atom-window)
6662 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6663 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6664 (display-buffer-other-window-means-other-frame)
6665 (display-buffer-normalize-special)
6666 (display-buffer-normalize-default)
6667 (display-buffer-normalize-argument)
6668 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6669 (display-buffer-normalize-specifiers, display-buffer-frame)
6670 (display-buffer-same-window, display-buffer-same-frame)
6671 (display-buffer-other-window)
6672 (display-buffer-same-frame-other-window)
6673 (display-buffer-other-frame, pop-to-buffer-same-window)
6674 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6675 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6676 (switch-to-buffer-same-frame)
6677 (switch-to-buffer-other-window-same-frame)
6678 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6679 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6680 (display-buffer-alist-set): Remove.
6681 (display-buffer-function, special-display-buffer-names)
6682 (special-display-regexps, special-display-function):
6683 In doc-string refer to display-buffer-window and quit-restore
6684 parameter.
6685 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6686 (special-display-frame-alist, special-display-popup-frame)
6687 (same-window-buffer-names, same-window-regexps, same-window-p)
6688 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6689 (split-window-preferred-function, split-height-threshold)
6690 (split-width-threshold, window-splittable-p)
6691 (split-window-sensibly, window--try-to-split-window)
6692 (window--frame-usable-p, even-window-heights)
6693 (window--even-window-heights, window--display-buffer-1)
6694 (window--display-buffer-2, display-buffer-other-frame):
6695 Restore old Emacs 23 code, order and doc-strings where applicable.
6696 (display-buffer-default, display-buffer-assq-regexp): New functions.
6697 (display-buffer-alist): Rewrite doc-string.
6698 (display-buffer-default-action)
6699 (display-buffer-overriding-action): New variables.
6700 (display-buffer, switch-to-buffer): Rewrite.
6701 (pop-to-buffer): Restore Emacs 23 behavior but use
6702 window-normalize-buffer-to-display.
6703 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6704 Restore Emacs 23 behavior but use
6705 window-normalize-buffer-to-switch-to.
6706 (pop-to-buffer-same-window): Rewrite.
6707 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6708 Rewrite using Emacs 23 options.
6709
6710 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6711
6712 * net/tramp.el (tramp-root-regexp): Remove.
6713 (tramp-completion-file-name-regexp-unified)
6714 (tramp-completion-file-name-regexp-separate)
6715 (tramp-completion-file-name-regexp-url): Don't use leading volume
6716 letter on win32 systems. (Bug#5303, Bug#9311)
6717 (tramp-drop-volume-letter): Simplify definition.
6718 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6719
6720 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6723 (bug#9356).
6724
6725 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6726
6727 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6728
6729 2011-08-29 Juri Linkov <juri@jurta.org>
6730
6731 * isearch.el (isearch-done): Don't display message "Mark saved"
6732 when arg `edit' is non-nil to prevent its flicker in the echo area.
6733
6734 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6735
6736 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6737 obsolete packages for deletion.
6738
6739 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6740
6741 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6742 (help-mode): Derive help-mode from special-mode. Don't invoke
6743 view-mode from help-mode.
6744 (help-xref-override-view-map): Remove.
6745 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6746 view-mode is not used anymore.
6747
6748 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6749
6750 * server.el (server-port): Doc fix.
6751
6752 * cus-theme.el (custom-theme-choose-mode): Inherit from
6753 special-mode (Bug#9124).
6754 (custom-theme-choose-mode-map): Add special-mode to parent.
6755
6756 2011-08-28 Alan Mackenzie <acm@muc.de>
6757
6758 * progmodes/cc-fonts.el
6759 (c-make-font-lock-BO-decl-search-function): New function.
6760 (c-basic-matchers-after - "Fontify the clauses after various
6761 keywords"): Extract the three keyword lists for the 3 erroneous
6762 constructs from the list of four, and use the new function above
6763 in place of an old one.
6764
6765 2011-08-28 Deniz Dogan <deniz@dogan.se>
6766
6767 * net/rcirc.el (rcirc-insert-prev-input)
6768 (rcirc-insert-next-input): Remove unused argument.
6769
6770 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6773
6774 2011-08-27 Alan Mackenzie <acm@muc.de>
6775
6776 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6777 handle function pointer parameters properly.
6778
6779 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6780
6781 * window.el (display-buffer-reuse-window): Fix case where
6782 selected window was reused with non-nil OTHER-WINDOW argument.
6783 (Bug#9381)
6784
6785 2011-08-27 Deniz Dogan <deniz@dogan.se>
6786
6787 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6788 oftc's NickServ messages.
6789
6790 2011-08-27 Glenn Morris <rgm@gnu.org>
6791
6792 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6793
6794 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6795
6796 * emacs-lisp/package.el (package-install): Call package-initialize
6797 if called interactively.
6798
6799 2011-08-26 Leo Liu <sdl.web@gmail.com>
6800
6801 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6802
6803 2011-08-25 Juri Linkov <juri@jurta.org>
6804
6805 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6806 `search-whitespace-regexp' (bug#9364).
6807
6808 2011-08-25 Juri Linkov <juri@jurta.org>
6809
6810 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6811 `regexp-search-ring' to their global values to protect from
6812 updating by `read-from-minibuffer' (bug#9185).
6813
6814 2011-08-25 Juri Linkov <juri@jurta.org>
6815
6816 * textmodes/ispell.el (ispell-command-loop): Add newline
6817 at the end of the "Use option `i'..." line.
6818
6819 2011-08-25 Juri Linkov <juri@jurta.org>
6820
6821 * battery.el (display-battery-mode): If `battery-status-function'
6822 or `battery-mode-line-format' is nil, display the message and set
6823 `display-battery-mode' to nil (bug#9363).
6824
6825 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6826
6827 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6828 bidi-string-mark-left-to-right; they are unnecessary now.
6829
6830 2011-08-25 Deniz Dogan <deniz@dogan.se>
6831
6832 * net/quickurl.el: Documentation typo fixes.
6833
6834 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6835
6836 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6837
6838 2011-08-25 Glenn Morris <rgm@gnu.org>
6839
6840 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6841
6842 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6843 (smtpmail-via-smtp): Handle nil response from smtp.
6844
6845 2011-08-24 Juri Linkov <juri@jurta.org>
6846
6847 * proced.el (proced-marked): Inherit from `error' instead of
6848 `font-lock-warning-face'.
6849
6850 * ibuffer.el (ibuffer-marked-face): Change default face from
6851 `font-lock-warning-face' to `warning'.
6852 (ibuffer-deletion-face): Change default face from
6853 `font-lock-type-face' to `error'.
6854
6855 * battery.el (battery-update): Use the face `error' instead of
6856 `font-lock-warning-face' (bug#6117).
6857
6858 2011-08-24 Juri Linkov <juri@jurta.org>
6859
6860 * faces.el (success): Change face color from "Green3" to
6861 "ForestGreen" on light background (bug#9353).
6862
6863 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6864
6865 * window.el (quit-window): Rename from quit-restore-window.
6866 Use same arglist as old quit-window.
6867 (frame-auto-delete): Doc fix.
6868
6869 * view.el (view-mode-exit): Use quit-window.
6870
6871 2011-08-24 Juri Linkov <juri@jurta.org>
6872
6873 * isearch.el (isearch-ring-adjust1): Start visiting previous
6874 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6875 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6876 for empty search string (when the last search string is reused
6877 automatically) to adjust the isearch ring to the last element and
6878 prepare the correct index for further M-p commands (bug#9185).
6879
6880 2011-08-24 Kenichi Handa <handa@m17n.org>
6881
6882 * international/ucs-normalize.el: If decomposition property of
6883 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6884 nil.
6885 (nfd, nfkd): Likewise.
6886
6887 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6890 from process filters aren't reliably transmitted to the surrounding
6891 accept-process-output.
6892 (mpc-proc-check): New function.
6893 (mpc-proc-sync): Use it (bug#8293)
6894
6895 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6898 Add compatibility functions (bug#9313).
6899
6900 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6901
6902 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6903
6904 * international/uni-bidi.el: Regenerate.
6905
6906 2011-08-23 Kenichi Handa <handa@m17n.org>
6907
6908 * international/charprop.el:
6909 * international/uni-bidi.el:
6910 * international/uni-category.el:
6911 * international/uni-combining.el:
6912 * international/uni-comment.el:
6913 * international/uni-decimal.el:
6914 * international/uni-decomposition.el:
6915 * international/uni-digit.el:
6916 * international/uni-lowercase.el:
6917 * international/uni-mirrored.el:
6918 * international/uni-name.el:
6919 * international/uni-numeric.el:
6920 * international/uni-old-name.el:
6921 * international/uni-titlecase.el:
6922 * international/uni-uppercase.el: Regenerate.
6923
6924 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6925
6926 * help.el (help-window-setup): Fix message displayed when other
6927 window is reused. (Bug#9341)
6928
6929 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6932 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6933
6934 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6935 Mark obsolete.
6936 * shell.el (shell-parse-pcomplete-arguments): New function.
6937 (shell-completion-vars): Use it instead (bug#9160).
6938
6939 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6942 strings and comments (bug#9333).
6943
6944 * emacs-lisp/debug.el (debug-arglist): New function.
6945 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6946 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6947
6948 2011-08-22 Juri Linkov <juri@jurta.org>
6949
6950 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6951 Revert regexp that highlights output switches to its old
6952 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6953
6954 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6955 to check for empty output (bug#9226).
6956
6957 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6958
6959 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6960 symbol-constituent as the default, as that stops font-lock from
6961 working properly (Bug#8843).
6962
6963 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964
6965 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6966 `coding-system-for-*' around the process open call to avoid
6967 auth-source side effects.
6968 (smtpmail-try-auth-methods): Expand the secret password.
6969 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6970 probe hangs.
6971
6972 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6973
6974 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6975
6976 * emacs-lisp/find-func.el (find-function-noselect): New arg
6977 lisp-only.
6978
6979 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6980 signal an error for built-in functions (Bug#6664).
6981
6982 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6983
6984 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6985 (smtpmail-try-auth-methods): Use it.
6986
6987 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6988
6989 * font-lock.el (font-lock-fontify-region)
6990 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6991 (font-lock-default-unfontify-buffer)
6992 (font-lock-default-fontify-region)
6993 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6994
6995 * progmodes/compile.el (compilation-error-properties):
6996 Fix confusion between file struct and message struct (Bug#9319).
6997 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6998 `ant' regexp.
6999
7000 * net/browse-url.el (browse-url-firefox): Don't call
7001 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7002
7003 2011-08-20 Glenn Morris <rgm@gnu.org>
7004
7005 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7006
7007 * tutorial.el (tutorial--default-keys): Update some default bindings.
7008
7009 * files.el (hack-local-variables): Fully ignore case for "mode:".
7010
7011 2011-08-20 Alan Mackenzie <acm@muc.de>
7012
7013 Resolve invalid use of a regexp in regexp-opt.
7014
7015 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7016 detection for a java annotation.
7017
7018 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7019 detection for a java annotation.
7020
7021 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7022 handling for java.
7023 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7024
7025 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7026
7027 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7028 (Bug#9274).
7029
7030 2011-08-20 Alan Mackenzie <acm@muc.de>
7031
7032 Fontify CPP expressions correctly when starting in the middle of
7033 such a construct. Mainly for when jit-lock etc. starts a chunk
7034 here.
7035
7036 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7037 variable.
7038 (c-make-font-lock-search-form): New function, extracted from
7039 c-make-font-lock-search-function.
7040 (c-make-font-lock-search-function): Use the above function.
7041 (c-make-font-lock-context-search-function): New function.
7042 (c-cpp-matchers): Enhance the preprocessor expression case with
7043 the above function
7044 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7045 which takes an expression.
7046
7047 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7048
7049 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7050
7051 * window.el (display-buffer-reuse-window)
7052 (display-buffer-pop-up-window): Don't reuse or split a side
7053 window.
7054
7055 2011-08-19 Glenn Morris <rgm@gnu.org>
7056
7057 * files.el (hack-local-variables-prop-line, hack-local-variables):
7058 Downcase "Mode:". (Bug#9331)
7059
7060 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7061
7062 * international/characters.el: Add L and R categories.
7063
7064 * subr.el (bidi-string-mark-left-to-right): Rename from
7065 string-mark-left-to-right. Use category search.
7066
7067 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7068
7069 2011-08-18 Juri Linkov <juri@jurta.org>
7070
7071 * faces.el (error, warning, success): New faces with definitions
7072 copied from old default values of `font-lock-warning-face',
7073 `compilation-warning', `compilation-info' (bug#6117).
7074
7075 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7076
7077 * progmodes/compile.el (compilation-error): Inherit from `error'.
7078 (compilation-warning): Inherit from `warning'.
7079 (compilation-info): Inherit from `success'.
7080
7081 * dired.el (dired-marked): Inherit from `warning'.
7082 (dired-flagged): Inherit from `error'.
7083
7084 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7085
7086 * mail/smtpmail.el (auth-source): Require to avoid problems with
7087 binding variables (bug#9298). Also clean up some unused
7088 autoloads.
7089
7090 * net/network-stream.el (network-stream-open-starttls):
7091 Support using starttls.el without using gnutls-cli.
7092
7093 2011-08-17 Juri Linkov <juri@jurta.org>
7094
7095 * progmodes/grep.el (rgrep): Handle the case when
7096 `grep-find-command' is a cons cell (bug#9278).
7097
7098 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7099
7100 * window.el (display-buffer-pop-up-frame): Run frame creation
7101 function with BUFFER current (as special-display-popup-frame
7102 does). Reported by Drew Adams.
7103
7104 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7105
7106 * epa-mail.el: Simplify GnuPG group expansion using
7107 epg-expand-group.
7108 (epa-mail-group-alist, epa-mail-group-modtime)
7109 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7110 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7111 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7112 Remove.
7113
7114 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7115
7116 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7117
7118 2011-08-16 Alan Mackenzie <acm@muc.de>
7119
7120 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7121 Correct, to avoid the inside of macros.
7122
7123 2011-08-16 Richard Stallman <rms@gnu.org>
7124
7125 * epa-mail.el: Handle GnuPG group definitions.
7126 (epa-mail-group-alist, epa-mail-group-modtime)
7127 (epa-mail-gnupg-conf-file): New variables.
7128 (epa-mail-parse-groups, epa-mail-sync-groups)
7129 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7130 (epa-mail-expand-recipients): New functions.
7131 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7132
7133 * mail/rmail.el (rmail-epa-decrypt): New command.
7134
7135 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7136 Don't bind buffer-read-only, just inhibit-read-only.
7137 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7138 (epa-decrypt-armor-in-region): Make error message clearer.
7139
7140 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7143 and "a2b" to "ab" for `prefix'.
7144
7145 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7146
7147 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7148 filter groups.
7149 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7150 Fourquet (Bug#8804).
7151
7152 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7153
7154 * startup.el (argi): Declare as global variable (bug#9275).
7155
7156 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7157
7158 * subr.el (string-mark-left-to-right): Search the entire string
7159 for RTL script, not just the terminating character. Doc fix.
7160
7161 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7162
7163 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7164 New function.
7165 (js--regexp-literal, js-syntax-propertize-function): Remove.
7166 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7167 (js-mode-map): Don't rebind electric keys.
7168 (js-insert-and-indent): Remove.
7169 (js-mode): Setup electric-layout and electric-indent instead.
7170
7171 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7172
7173 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7174
7175 * epa.el (epa-progress-callback-function): Fix the logic of
7176 displaying progress.
7177 * epa-file.el (epa-file-insert-file-contents): Make progress
7178 display more user-friendly.
7179 (epa-file-write-region): Ditto.
7180
7181 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7182
7183 * subr.el (string-mark-left-to-right): New function.
7184
7185 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7186 Use string-mark-left-to-right.
7187 (list-buffers-noselect): Caller changed.
7188
7189 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7190 Use string-mark-left-to-right.
7191 (tabulated-list-print): Recenter after moving point.
7192
7193 2011-08-10 Juri Linkov <juri@jurta.org>
7194
7195 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7196 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7197 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7198
7199 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7200
7201 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7202 (Bug#7554).
7203
7204 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7207 character. (Bug#6594)
7208
7209 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7210
7211 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7212 (image-dired--with-db-file): New macro.
7213 (image-dired-write-tags, image-dired-remove-tag)
7214 (image-dired-create-gallery-lists, image-dired-write-comments)
7215 (image-dired-get-comment, image-dired-mark-tagged-files)
7216 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7217 (image-dired-gallery-generate): Use insert-file-contents.
7218
7219 * time.el (display-time-world-list, display-time-world-display):
7220 * time-stamp.el (time-stamp-string):
7221 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7222 set-time-zone-rule (Bug#7337).
7223
7224 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7225
7226 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7227 (epg-error-to-string, epg-errors-to-string): New function.
7228 (epg-wait-for-completion): Reverse errors list.
7229 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7230 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7231 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7232 (epg-sign-keys, epg-generate-key-from-file)
7233 (epg-generate-key-from-string): Format errors by using
7234 epg-errors-to-string (bug#9255).
7235 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7236
7237 2011-08-07 Juri Linkov <juri@jurta.org>
7238
7239 * faces.el (list-faces-display): Remove extra angle bracket
7240 from `help-mode-map'.
7241
7242 * info.el (Info-history-toc-nodes): Doc fix.
7243
7244 * longlines.el (longlines-mode): Doc fix.
7245
7246 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7249 of statements and in a few more cases (bug#9183).
7250
7251 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7252 New functions.
7253 (cl-transform-lambda): Use them (bug#9239).
7254
7255 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7256
7257 * window.el (display-buffer-same-window)
7258 (display-buffer-same-frame, display-buffer-other-window)
7259 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7260 (pop-to-buffer-other-window)
7261 (pop-to-buffer-same-frame-other-window)
7262 (pop-to-buffer-other-frame): Make them defuns.
7263 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7264
7265 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * subr.el (make-composed-keymap): Move from C. Change calling
7268 convention, and improve docstring to bring attention to a subtle point.
7269 * minibuffer.el (completing-read-default): Adjust accordingly.
7270
7271 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7272
7273 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7274 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7275
7276 * net/trampver.el: Update release number.
7277
7278 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7281 "in" (bug#9190).
7282
7283 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7284
7285 * mail/sendmail.el (sendmail-query-once): Restore the current
7286 buffer after querying (bug#9074).
7287
7288 * dired.el (dired-flagged): Use different faces for marked and
7289 flagged files (bug#6117).
7290
7291 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7292 (bug#4433).
7293
7294 * ido.el (ido-mode): Switch off the message if called
7295 non-interactively.
7296
7297 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7298 before 587, since it appears that that's more likely to work for
7299 more people.
7300
7301 * cus-edit.el (custom-file): When running under emacs -q, always
7302 refuse to save the customizations, even if the .emacs file doesn't
7303 exist.
7304
7305 * info.el: Remove the `Info-beginning-of-buffer' function
7306 (bug#8325).
7307
7308 * net/network-stream.el (network-stream-open-starttls):
7309 Use `starttls-available-p' to see whether starttls.el can be used.
7310
7311 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7312
7313 * window.el (display-buffer-in-window): Don't set dedicated status
7314 of window here (Bug#9215).
7315 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7316 (display-buffer-pop-up-side-window)
7317 (display-buffer-in-side-window): Set dedicated status of window here.
7318
7319 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7322 before binding generated-autoload-file.
7323
7324 2011-08-01 Deniz Dogan <deniz@dogan.se>
7325
7326 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7327
7328 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7329
7330 Sync with Tramp 2.2.2.
7331
7332 * net/trampver.el: Update release number.
7333
7334 2011-07-30 Juri Linkov <juri@jurta.org>
7335
7336 * dired-aux.el (dired-touch-initial): Remove function.
7337 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7338 current time, and `default' to the last modification time of the
7339 current marked file (bug#6887).
7340
7341 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7342
7343 * simple.el (goto-line): Use string-to-number to provide a
7344 numeric argument to read-number (bug#9163).
7345
7346 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7347
7348 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7349 connection process, it could be nil.
7350
7351 2011-07-27 Leo Liu <sdl.web@gmail.com>
7352
7353 Simplify url handling in rcirc-mode.
7354
7355 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7356 (rcirc-browse-url-at-mouse): Remove.
7357 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7358
7359 2011-07-26 Alan Mackenzie <acm@muc.de>
7360
7361 Fontify bitfield declarations properly.
7362
7363 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7364 (c-symbol-chars): Now exported as a lang variable.
7365 (c-not-primitive-type-keywords): New lang variable.
7366
7367 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7368 QT keyword "more" to prevent "more slots: ...." being spuriously
7369 parsed as a bitfield declaration.
7370
7371 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7372 Refactor and enhance to handle bitfield declarations.
7373 (c-punctuation-in): New function.
7374 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7375 declarations properly.
7376
7377 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7378
7379 * calendar/icalendar.el (icalendar--all-events): Take care of
7380 multiple vcalendars in a single file.
7381 (icalendar--convert-float-to-ical): Checkdoc fixes.
7382
7383 2011-07-25 Deniz Dogan <deniz@dogan.se>
7384
7385 * image.el (insert-image): Clarifying docstring.
7386
7387 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7388
7389 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7390 `tramp-send-command-and-check' if there is no error.
7391 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7392
7393 2011-07-22 Alan Mackenzie <acm@muc.de>
7394
7395 Prevent cc-langs.elc being loaded at run time.
7396
7397 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7398 cc-langs.
7399
7400 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7401 "(require 'cc-langs)". Quote a form so it will evaluate at
7402 (cc-mode's) compilation time.
7403
7404 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7405
7406 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7407 loading. (Bug#9114)
7408
7409 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7410
7411 * window.el (display-buffer-pop-up-window)
7412 (display-buffer-pop-up-side-window)
7413 (display-buffer-in-side-window): Call display-buffer-set-height
7414 and display-buffer-set-width after setting the new window's
7415 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7416
7417 2011-07-20 Sam Steingold <sds@gnu.org>
7418
7419 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7420 (etags-tags-included-tables): Call `convert-standard-filename' on
7421 the file names contained in TAGS so that windows Emacs can handle
7422 TAGS files created by cygwin ctags.
7423
7424 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7425
7426 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7427 which apparently didn't work.
7428
7429 2011-07-19 Roland Winkler <winkler@gnu.org>
7430
7431 * proced.el (proced-send-signal): For *Marked Processes* buffer
7432 put point at beginning of buffer.
7433
7434 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7435
7436 * proced.el (proced-format): Make header lines align with the text
7437 (bug#1779).
7438
7439 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7440
7441 * view.el (view-buffer): Allow running in `special' modes if we're
7442 visiting a file (bug#8615).
7443
7444 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7445
7446 * window.el (display-buffer-alist-of-strings-p)
7447 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7448 New functions.
7449 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7450 more accurately.
7451
7452 2011-07-18 Alan Mackenzie <acm@muc.de>
7453
7454 Fontify declarators properly when, e.g., a jit-lock chunk begins
7455 inside a declaration.
7456
7457 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7458
7459 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7460 New function.
7461 (c-complex-decl-matchers): Insert reference to
7462 c-font-lock-enclosing-decls.
7463
7464 * progmodes/cc-engine.el (c-backward-single-comment):
7465 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7466 to nil around calls to (forward-comment -1).
7467
7468 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7469
7470 * image.el (put-image): Doc typo fix.
7471
7472 * progmodes/etags.el (tags-search): Doc typo fix.
7473
7474 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7475 password if we get errors 550 to 554.
7476
7477 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7478
7479 * net/gnutls.el (gnutls-log-level): Remove.
7480
7481 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7482 indentation character (bug#6380).
7483
7484 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7485
7486 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7487 to clarify what the problem is (bug#4291).
7488
7489 * simple.el (current-kill): Clarify what
7490 `interprogram-paste-function' does (bug#7500).
7491 (auto-fill-mode): Document `auto-fill-function' in relation to
7492 `auto-fill-mode' (bug#2470).
7493
7494 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7495
7496 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7497 method if slot is read-only (bug#9035).
7498
7499 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7500
7501 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7502 * window.el (pop-to-buffer): Select window used even if it was
7503 selected before, see discussion of (Bug#8615), (Bug#6954).
7504 Pass argument NORECORD on to select-frame-set-input-focus.
7505
7506 2011-07-15 Glenn Morris <rgm@gnu.org>
7507
7508 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7509 Respect help-form.
7510
7511 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7512
7513 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7514 (gnutls-negotiate): Use it.
7515
7516 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7517
7518 * net/gnutls.el (gnutls-negotiate):
7519 Upcase `gnutls-algorithm-priority'.
7520
7521 2011-07-15 Glenn Morris <rgm@gnu.org>
7522
7523 * jka-compr.el (jka-compr-verbose): Move from here...
7524 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7525 Add missing :version tag.
7526 * info.el: No need to require jka-compr when compiling.
7527
7528 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7529
7530 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7531 (gnutls-negotiate): Use it.
7532
7533 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7534
7535 * info.el (Info-beginning-of-buffer): New command.
7536 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7537 announcing `b' as the key (bug#8325).
7538 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7539
7540 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7541
7542 * international/mule-cmds.el
7543 (describe-specified-language-support): Make the error message
7544 clearer (bug#8905).
7545
7546 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7547
7548 * isearch.el (isearch-barrier): Add a doc string, since it's
7549 mentioned in a function doc string (bug#8678).
7550
7551 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7552
7553 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7554 buffer argument (Bug#9083) and self-identifying label argument.
7555
7556 2011-07-15 Glenn Morris <rgm@gnu.org>
7557
7558 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7559
7560 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7561
7562 * man.el (Man-fontify-manpage): Fix message when formatting the
7563 man page (bug#7929).
7564
7565 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7566
7567 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7568 argument LRM; if non-nil, append an invisible LRM character to the
7569 buffer name.
7570 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7571 last argument non-nil, when formatting buffer names.
7572 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7573 paragraph direction.
7574
7575 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7576
7577 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7578 the man page name (bug#7929).
7579
7580 * image.el (put-image): Mention the `put-image' overlay property
7581 (bug#7834).
7582
7583 * scroll-bar.el (set-scroll-bar-mode): Mention that
7584 `scroll-bar-mode' lists the values (bug#7772).
7585
7586 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7587 command (bug#7729).
7588
7589 * rect.el (apply-on-rectangle): Return the point after the last
7590 operation.
7591 (string-rectangle): Go to the point after the last operation
7592 (bug#7522).
7593
7594 * printing.el (pr-toggle-region): Clarify the documentation
7595 slightly (bug#7493).
7596
7597 * time.el (display-time-update):
7598 Allow `display-time-mail-function' to return nil (bug#7158).
7599 Fix suggested by Detlev Zundel.
7600
7601 * vc/diff.el (diff): Clarify the order the file names are read
7602 (bug#7111).
7603
7604 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7605 the doc string (bug#7015).
7606
7607 * font-lock.el (font-lock-maximum-decoration): Mention what
7608 numeric levels mean (bug#6935).
7609
7610 * startup.el (initial-buffer-choice): Don't mention the `none'
7611 selection, which is against policy.
7612
7613 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7614
7615 * window.el (display-buffer-normalize-special):
7616 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7617
7618 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7619
7620 * subr.el (version<, version<=, version=): Mention "-CVS" and
7621 "-12345" alpha version numbers.
7622
7623 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7624
7625 * bindings.el: Add advertised binding for set-mark-command
7626 (Bug#5772).
7627
7628 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7629
7630 * bindings.el (mode-line-other-buffer):
7631 * bookmark.el (bookmark-bmenu-2-window):
7632 * bs.el (bs-cycle-next, bs-cycle-previous):
7633 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7634 switch-to-buffer.
7635
7636 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7637 Delete.
7638
7639 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7640
7641 * follow.el (follow-debug-message, follow-redisplay):
7642 * jka-cmpr-hook.el (with-auto-compression-mode):
7643 Fix typos in docstrings.
7644
7645 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7646
7647 * subr.el (with-silent-modifications): Clarify somewhat what the
7648 macro inhibits (bug#6525).
7649
7650 * simple.el (eval-expression): Note what it does if called
7651 interactively (bug#6495).
7652
7653 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7654
7655 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7656 Use pop-to-buffer buffer-or-name if it is nil.
7657
7658 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7659 Remove switch-to-buffer.
7660
7661 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7662
7663 * files.el (make-directory): Clarify that an error will be raised
7664 if there's an error (bug#6397).
7665
7666 * startup.el (initial-buffer-choice): Add `none' as a choice
7667 (bug#6234).
7668
7669 * subr.el (add-hook): Clarify section about buffer-local hooks
7670 (bug#6218).
7671
7672 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7673
7674 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7675
7676 * tabify.el (untabify): Preserve the current column so that point
7677 doesn't move (bug#6032).
7678
7679 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7680
7681 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7682 Rewrite to avoid awkward possessive "s" (bug#5986).
7683
7684 2011-07-13 Glenn Morris <rgm@gnu.org>
7685
7686 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7687 (dired-insert-directory): Give a message the first time
7688 if ls is found not to support --dired.
7689
7690 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7691
7692 * simple.el (toggle-truncate-lines): Clarify what is toggled
7693 (bug#5580). Text by Drew Adams.
7694
7695 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7696
7697 * simple.el (blink-matching-open): Make the error message from the
7698 last change less verbose.
7699
7700 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7701
7702 * font-lock.el (font-lock-comment-face): Use the high contrast
7703 "yellow" color for font-lock-comment-face on low color terminals
7704 using a dark background color (bug#4221).
7705
7706 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7707
7708 * dired.el (dired-insert-set-properties): Make the doc string
7709 reflect what it does now (bug#5325).
7710
7711 * simple.el (blink-matching-open): Say that we were unable to find
7712 the match within the limit, if we're limited (bug#5122).
7713
7714 * international/mule-cmds.el (prefer-coding-system): Add an
7715 example (bug#4869).
7716
7717 * progmodes/etags.el (tags-search): Document `file-list-form'
7718 (bug#4731).
7719
7720 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7721
7722 * net/browse-url.el (browse-url-default-browser)
7723 (browse-url-browser-function): Make the default browser choice a
7724 bit more logical (bug#4300). Also clean up the doc string.
7725
7726 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7727
7728 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7729 binary endings (bug#4440).
7730
7731 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7732
7733 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7734 which can be pretty annoying (bug#8971).
7735
7736 * jka-compr.el (jka-compr-verbose): New variable, and use
7737 throughout (bug#8971).
7738
7739 * info.el (Info-find-file): Fall back on the installation
7740 directory if we can't find the info node anywhere else.
7741
7742 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7743
7744 * vc/vc.el (vc-revert-file):
7745 Don't set file time-stamp in the past. (Bug#5181)
7746
7747 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7748
7749 * files.el (after-find-file): Give a better error message when
7750 trying to find a symlink that points to a file that doesn't exist
7751 (bug#4398).
7752
7753 * progmodes/cc-vars.el: Remove (probably) misleading comment
7754 (bug#4396).
7755
7756 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7757
7758 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7759
7760 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7761
7762 * mouse-sel.el: Hack restoring functionality, while keeping
7763 compatibility with 2010-07-03 changes to mouse selection.
7764 (mouse-sel-primary-overlay): New var.
7765 (mouse-sel-selection-alist): Use it.
7766 (mouse-sel-mode): Doc fix; remove points that are default features
7767 of mouse.el.
7768
7769 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7770
7771 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7772 Fix previous fix (bug#2490).
7773
7774 2011-07-12 Roland Winkler <winkler@gnu.org>
7775
7776 * textmodes/bibtex.el (bibtex-initialize):
7777 Use pop-to-buffer-same-window.
7778 (bibtex-search-entries): Fix interactive call.
7779
7780 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7781
7782 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7783 Fontise bytecomp Error lines more correctly (bug#2490).
7784 Fix suggested by Johan Bockgård.
7785
7786 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7787
7788 * dired-x.el (dired-guess-default): Use `delete-dups'.
7789
7790 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7791
7792 * dired.el (dired-mark-prompt):
7793 * dired-aux.el (dired-read-shell-command): Doc fix.
7794
7795 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7796
7797 * mail/sendmail.el (sendmail-query-once):
7798 Use `customize-save-variable' unconditionally, now that it works under
7799 emacs -Q.
7800
7801 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7802
7803 * cus-edit.el (custom-file): Take an optional no-error variable.
7804 (customize-save-variable): Set the variable, and give a warning if
7805 running under "emacs -q".
7806
7807 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7808
7809 * loadhist.el (unload-feature-special-hooks):
7810 Add `auto-coding-functions', `fill-nobreak-predicate' and
7811 `find-directory-functions' (bug#5327).
7812
7813 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7814
7815 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7816
7817 * cus-edit.el (custom-guess-name-alist): -alist variables should
7818 use the `alist' type (bug#3120). Suggested by Drew Adams.
7819
7820 * printing.el: Add documentation to all the `pr-toggle-' commands.
7821
7822 2011-07-11 Leo Liu <sdl.web@gmail.com>
7823
7824 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7825 backends where it makes sense (bug#2623).
7826
7827 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7828
7829 * dired-x.el (dired-guess-default): Remove duplicate shell command
7830 entries (bug#2028).
7831 (dired-guess-default): Fix grammar in doc string (bug#2028).
7832 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7833
7834 * subr.el (remove-duplicates): New conveniency function.
7835
7836 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7837
7838 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7839 (bug#1526).
7840
7841 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7842
7843 * window.el (display-buffer-normalize-default): Don't invert
7844 meaning of even-window-heights. Reported by Eli Zaretskii
7845 <eliz@gnu.org>.
7846
7847 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7848
7849 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7850
7851 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7852
7853 * window.el (display-buffer): Fix arguments to
7854 display-buffer-reuse-window in last change.
7855
7856 * faces.el (link): Use a less saturated blue on light backgrounds.
7857
7858 * startup.el (fancy-startup-text, fancy-about-text)
7859 (fancy-startup-tail): Use font-lock faces, for background safety.
7860
7861 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7862
7863 * emulation/viper-cmd.el (viper-change-state-to-vi):
7864 Limit triggering of abbrev expansion (Bug#9038).
7865
7866 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7867
7868 * window.el (display-buffer-default-specifiers): Remove.
7869 (display-buffer-macro-specifiers): Remove default specifiers.
7870 (display-buffer-alist): Default to nil.
7871 (display-buffer-reuse-window): New optional argument other-window.
7872 (display-buffer-pop-up-window): Allow splitting internal
7873 windows. Check whether a live window was created.
7874 (display-buffer-other-window-means-other-frame)
7875 (display-buffer-normalize-arguments): Rename to
7876 display-buffer-normalize-argument and rewrite. Set the
7877 other-window specifier.
7878 (display-buffer-normalize-special): New function.
7879 (display-buffer-normalize-options): Rename to
7880 display-buffer-normalize-default and rewrite.
7881 (display-buffer-normalize-options-inhibit): Remove.
7882 (display-buffer-normalize-specifiers): Rewrite.
7883 (display-buffer): Process other-window specifier and call
7884 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7885 more faithfully.
7886 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7887 (display-buffer-alist-set): Don't handle 'unset default values.
7888 (display-buffer-in-window, display-buffer-alist-set):
7889 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7890 <tassilo@member.fsf.org>.
7891
7892 2011-07-09 Leo Liu <sdl.web@gmail.com>
7893
7894 * register.el (insert-register): Restore accidental change on
7895 2011-06-26. (Bug#9028)
7896
7897 2011-07-09 Glenn Morris <rgm@gnu.org>
7898
7899 * subr.el (remq): Handle the empty list. (Bug#9024)
7900
7901 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7902
7903 * mail/sendmail.el (send-mail-function): No longer delay custom
7904 initialization.
7905 * custom.el (custom-initialize-delay): Doc fix.
7906
7907 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7910
7911 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7912
7913 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7914 human-friendly prompt.
7915
7916 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7919 provided by a particular plugin.
7920
7921 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922
7923 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7924 save customizations (with "emacs -Q"), just set the variable
7925 instead of erroring out.
7926
7927 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7928
7929 2011-07-08 Juri Linkov <juri@jurta.org>
7930
7931 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7932 (archive-zip-update-case): Use 7z if found by `executable-find'.
7933 The order of searching the available programs is the same as in
7934 `archive-zip-extract' (bug#8968).
7935
7936 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7937
7938 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7939 (menu-bar-options-menu): Tweak descriptions.
7940
7941 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7942
7943 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7944 menu items into verb phrases (bug#1421). Also refill to fit under
7945 80 columns.
7946
7947 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7948
7949 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7950 (Info-read-node-name): Doc fix (Bug#1084).
7951
7952 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7953 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7954 (end-of-sexp, beginning-of-sexp)
7955 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7956 (forward-symbol, forward-same-syntax, word-at-point)
7957 (sentence-at-point): Doc fix (Bug#1144).
7958
7959 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7960
7961 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7962 should cover it (bug#1281).
7963
7964 * cus-edit.el (custom-show): Mark as obsolete.
7965
7966 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7967 negotiation fails, then possibly try again with a non-encrypted
7968 connection (bug#9017).
7969
7970 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7971 be used.
7972
7973 2011-07-07 Richard Stallman <rms@gnu.org>
7974
7975 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7976 property, and handle its changed format.
7977 Look for the correct line number.
7978 Use file's line contents (but not past first =) to find
7979 correct line in message.
7980
7981 2011-07-07 Kenichi Handa <handa@m17n.org>
7982
7983 * international/characters.el (build-unicode-category-table):
7984 Delete it.
7985 (unicode-category-table): Set it by unicode-property-table-internal.
7986
7987 * international/mule-cmds.el (char-code-property-alist): Move to
7988 to src/chartab.c.
7989 (get-char-code-property): Call unicode-property-table-internal to
7990 load a file. Call get-unicode-property-internal where necessary.
7991 (put-char-code-property): Call unicode-property-table-internal to
7992 load a file. Call put-unicode-property-internal where necessary.
7993 put-unicode-property-internal where necessary.
7994 (char-code-property-description):
7995 Call unicode-property-table-internal to load a file.
7996
7997 * international/charprop.el:
7998 * international/uni-bidi.el:
7999 * international/uni-category.el:
8000 * international/uni-combining.el:
8001 * international/uni-comment.el:
8002 * international/uni-decimal.el:
8003 * international/uni-decomposition.el:
8004 * international/uni-digit.el:
8005 * international/uni-lowercase.el:
8006 * international/uni-mirrored.el:
8007 * international/uni-name.el:
8008 * international/uni-numeric.el:
8009 * international/uni-old-name.el:
8010 * international/uni-titlecase.el:
8011 * international/uni-uppercase.el: Regenerate.
8012
8013 * loadup.el: Load international/charprop.el before
8014 international/characters.
8015
8016 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8017
8018 * window.el (next-buffer, previous-buffer): Signal an error if
8019 called from a minibuffer window.
8020
8021 * bindings.el: Revert 2011-07-04 change.
8022
8023 2011-07-06 Richard Stallman <rms@gnu.org>
8024
8025 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8026 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8027 Treat markers like ints.
8028 (rmail-mime-entity): Doc fix.
8029
8030 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8031
8032 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8033 defcustom again for backwards compatibility.
8034
8035 * simple.el (shell-command-on-region): Fill.
8036
8037 * dired-aux.el (dired-kill-line): Add a doc string.
8038
8039 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8040 to "\\sw\\|\\s_" (bug#358).
8041
8042 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8043 (dired-unmark-backward): Ditto.
8044 (dired-flag-backup-files): Ditto.
8045
8046 * dired-x.el (dired-mark-sexp): Ditto.
8047
8048 2011-07-06 Richard Stallman <rms@gnu.org>
8049
8050 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8051 (rmail-mime-entity): New arg TRUNCATED.
8052 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8053 New functions.
8054 (rmail-mime-save): Warn if entity is truncated.
8055 (rmail-mime-toggle-hidden): Likewise, for showing.
8056 (rmail-mime-process-multipart): Record when an entity is truncated.
8057
8058 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8059 if ENTITY is a string.
8060
8061 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8062
8063 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8064 of faces when `M-C-x'-ing their definitions (bug#8378).
8065 Also clean up the code slightly.
8066
8067 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8068 because that makes the colors go away.
8069
8070 * mail/sendmail.el (send-mail-function): Change the default to
8071 `sendmail-query-once'.
8072 (sendmail-query-once): Add an autoload cookie.
8073
8074 * net/network-stream.el (network-stream-open-starttls): Try using
8075 a plain connection even if the server offered STARTTLS, and we
8076 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8077 capability. This should make smtpmail.el work in slightly more
8078 configurations.
8079
8080 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8081
8082 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8083 New defun.
8084 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8085
8086 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8087
8088 * progmodes/sql.el: Version 3.0
8089 (sql-product-alist): Add product :completion-object,
8090 :completion-column, and :statement attributes.
8091 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8092 (sql-mode-syntax-table): Mark all punctuation.
8093 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8094 ansi keywords.
8095 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8096 (sql-mode-oracle-font-lock-keywords): Improve.
8097 (sql-oracle-show-reserved-words): New function for development.
8098 (sql-product-font-lock): Simplify for source code buffers.
8099 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8100 New functions.
8101 (sql-highlight-product): Set product specific syntax table.
8102 (sql-mode-map): Add statement movement functions.
8103 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8104 New variable.
8105 (sql-statement-regexp, sql-beginning-of-statement)
8106 (sql-end-of-statement, sql-signum): New functions.
8107 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8108 (sql-show-sqli-buffer): Bug fix.
8109 (sql-interactive-mode): Store connection data as buffer local.
8110 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8111 with sql-interactive-mode.
8112 (sql-save-connection): Save buffer local settings.
8113 (sql-connection-menu-filter): Change menu entry name.
8114 (sql-product-interactive): Bug fix.
8115 (sql-preoutput-hold): New variable.
8116 (sql-interactive-remove-continuation-prompt): Bug fixes.
8117 (sql-debug-redirect): New variable.
8118 (sql-str-literal): New function.
8119 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8120 Redesign.
8121 (sql-oracle-save-settings, sql-oracle-restore-settings)
8122 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8123 (sql-completion-object, sql-completion-column)
8124 (sql-completion-sqlbuf): New variables.
8125 (sql-build-completions-1, sql-build-completions)
8126 (sql-try-completion): New functions.
8127 (sql-read-table-name): Use them.
8128 (sql-contains-names): New buffer local variable.
8129 (sql-list-all, sql-list-table): Use it.
8130 (sql-oracle-completion-types): New variable.
8131 (sql-oracle-completion-object, sql-sqlite-completion-object)
8132 (sql-postgres-completion-object): New functions.
8133
8134 2011-07-06 Glenn Morris <rgm@gnu.org>
8135
8136 * window.el (pop-to-buffer): Doc fix.
8137
8138 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8139
8140 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8141
8142 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8143
8144 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8145
8146 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8147
8148 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8149
8150 * button.el (button): Inherit from link face. Suggested by Dan
8151 Nicolaescu.
8152
8153 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * progmodes/gdb-mi.el: Fit in 80 columns.
8156 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8157 switch-to-buffer.
8158
8159 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8160 if imenu is simply not configured (bug#8941).
8161
8162 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8163
8164 * allout.el (allout-post-undo-hook): New allout outline-change
8165 event hook to signal undo activity.
8166 (allout-post-command-business): Run allout-post-undo-hook if an
8167 undo just occurred.
8168 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8169 * allout-widgets.el (allout-widgets-after-undo-function):
8170 Ensure the integrity of the current item's decoration after it has been
8171 in the vicinity of an undo.
8172 (allout-widgets-mode): Include allout-widgets-after-undo-function
8173 on the new allout-post-undo-hook.
8174
8175 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8178 Let define-derived-mode define it.
8179 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8180 cycles of abbrev-table inheritance (bug#8998).
8181
8182 2011-07-05 Roland Winkler <winkler@gnu.org>
8183
8184 * textmodes/bibtex.el: Add support for biblatex.
8185 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8186 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8187 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8188 (bibtex-entry-alist, bibtex-field-alist): New variables.
8189 (bibtex-entry-field-alist): Obsolete alias for
8190 bibtex-BibTeX-entry-alist.
8191 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8192 (bibtex-set-dialect): New command.
8193 (bibtex-entry-type, bibtex-entry-head)
8194 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8195 Bind via bibtex-set-dialect.
8196 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8197 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8198 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8199 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8200 Define via bibtex-set-dialect.
8201 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8202 Obey bibtex-no-opt-remove-re.
8203 (bibtex-vec-push, bibtex-vec-incr): New functions.
8204 (bibtex-format-entry, bibtex-field-list)
8205 (bibtex-print-help-message, bibtex-validate)
8206 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8207
8208 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * progmodes/compile.el (compilation-goto-locus):
8211 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8212 * bs.el (bs-cycle-next, bs-cycle-previous):
8213 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8214 * bindings.el (mode-line-other-buffer):
8215 * autoinsert.el (auto-insert):
8216 * arc-mode.el (archive-extract):
8217 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8218
8219 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8222 Fix check of `emacs-lock-unlockable-modes'.
8223 Coerce true values of `emacs-lock--try-unlocking' to t.
8224
8225 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8226
8227 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8228 * emacs-lock.el: New file.
8229
8230 2011-07-05 Julien Danjou <julien@danjou.info>
8231
8232 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8233 than `boundp' to check if face is set.
8234
8235 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8236
8237 * register.el (registerv-make):
8238 * window.el (window-min-height): Fix typos in docstrings.
8239
8240 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8241
8242 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8243 Update doc string.
8244
8245 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * server.el (server-execute): Catch quit and call
8248 `server-return-error' to pass the error back to emacsclient and
8249 close the connection (bug#8942).
8250
8251 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8252
8253 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8254 insecure exception for current topic. Also note that auto-saves
8255 are handled differently.
8256
8257 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
8258 State variables for tracking auto-save inhibition situation.
8259
8260 (allout-write-contents-hook-handler): Rename from
8261 'allout-write-file-hook-handler', and describe how it depends on
8262 write-contents-functions sensitivity to non-nil value to prevent
8263 file write.
8264
8265 (allout-auto-save-hook-handler): Remove. auto-save does not check
8266 this in individual buffers, only in the starting buffer, so this
8267 is not the right way for us to inhibit auto-save in a buffer
8268 according to its condition.
8269
8270 (allout-mode): Use new allout-write-contents-hook-handler, and
8271 only with write-contents-functions. Remove auto-save provisions -
8272 they're implemented elsewhere.
8273
8274 (allout-before-change-handler): If undo is in progress, note that
8275 for attention of allout-post-command-business.
8276
8277 (allout-post-command-business): If the command we're following was
8278 an undo, check for change in the status of encrypted items and
8279 adjust auto-save inhibitions accordingly.
8280
8281 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8282 according to whether there are or aren't any plain-text topics
8283 pending encryption.
8284
8285 (allout-inhibit-auto-save-info-for-decryption):
8286 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8287 if there are plain-text topics pending encryption.
8288
8289 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8290 buffer-saved-size and some allout state to not inhibit auto-saves
8291 if there are no longer any plain-text topics pending encryption.
8292
8293 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8294 No longer provide for exemption of the current topic.
8295
8296 2011-07-04 Juri Linkov <juri@jurta.org>
8297
8298 Add 7z operations to delete and save changed members (bug#8968).
8299 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8300 New defcustoms.
8301 (archive-7z-write-file-member): New function.
8302 (archive-7z-summarize): Fix the number of dashes in the
8303 listing output.
8304
8305 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8306
8307 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8308 (bug#8958).
8309
8310 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8311
8312 * bindings.el: Ignore next-buffer and previous-buffer in
8313 minibuffer-local-map.
8314
8315 * font-lock.el (font-lock-builtin-face): Change light background
8316 color to dark slate blue (Bug#6693).
8317
8318 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8319
8320 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8321
8322 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8325 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8326 Add switch-to-buffer.
8327
8328 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8329
8330 * isearch.el (isearch-search-fun-function): Clarify further the
8331 meaning of the function returned.
8332
8333 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8334
8335 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8336
8337 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8338 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8339 Use it.
8340 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8341 `tramp-default-remote-path' does not exist.
8342 (tramp-send-command-and-read): New optional argument NOERROR.
8343 (tramp-open-connection-setup-interactive-shell)
8344 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8345 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8346 (tramp-process-sentinel): Flush also process' connection property.
8347 (tramp-sh-handle-start-file-process): Do not set process
8348 sentinel. It is done now ...
8349 (tramp-maybe-open-connection): ... here. (Bug#8929)
8350
8351 2011-07-04 MON KEY <monkey@sandpframing.com>
8352
8353 * play/animate.el (animate-string): Doc fixes and allow changing
8354 the buffer name (bug#5417).
8355
8356 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8357
8358 * play/animate.el (animation-buffer-name): Rename from *animate*.
8359
8360 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8361
8362 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8363 This is simpler and helps future-proof the code.
8364 (timer-until): Use time-subtract and float-time.
8365 (timer--time-less-p): Use time-less-p.
8366
8367 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8368
8369 * type-break.el (timep): Use the value of `float-time' to avoid a
8370 byte-compiler warning.
8371
8372 * server.el (server-eval-and-print): Return any result, even nil.
8373
8374 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8375
8376 * type-break.el: Accept time formats that the builtins accept.
8377 (timep, type-break-time-difference): Accept any format that
8378 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8379 This is simpler and helps future-proof the code.
8380 (type-break-time-difference): Round rather than ignoring
8381 subseconds components.
8382
8383 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8384
8385 * info.el (Info-apropos-matches): Make non-interactive, since it
8386 doesn't seem to do anything useful as a command (bug#8829).
8387
8388 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8389
8390 * frame.el (frame-background-mode, frame-set-background-mode):
8391 Move from faces.el.
8392 (frame-default-terminal-background): New function.
8393
8394 * custom.el (custom-push-theme): Don't record faces in `changed'
8395 theme; this doesn't work correctly for per-frame face settings.
8396 (disable-theme): Use face-set-after-frame-default to reset faces.
8397 (custom--frame-color-default): New function.
8398
8399 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8400
8401 * dired.el (dired-flagging-regexp): Remove unused variable
8402 (bug#8769).
8403
8404 2011-03-29 Kevin Ryde <user42@zip.com.au>
8405
8406 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8407 `perl-Test2' extend to match possible "fail #N" rep count
8408 (bug#8377).
8409
8410 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8411
8412 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8413 `smtpmail-via-smtp' now returns the error instead of nil.
8414
8415 * isearch.el (isearch-search-fun-function): Clarify the doc string
8416 (bug#8101).
8417
8418 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8419
8420 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8421 unnecessary spaces (bug#8987).
8422
8423 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8424
8425 * net/network-stream.el (open-network-stream): Use the
8426 :end-of-capability command thoughout.
8427
8428 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8429
8430 * net/network-stream.el (open-network-stream): Add the
8431 :end-of-capability command parameter, used by pop3.el.
8432
8433 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8434
8435 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8436
8437 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8438 for list)" (bug#6475).
8439
8440 * files.el (file-expand-wildcards): Ignore non-readable
8441 sub-directories while trying to find matches instead of signaling
8442 an error (bug#6297).
8443
8444 * man.el (Man-reference-regexp): Allow matching possible
8445 word-wrapped references (bug#6289).
8446
8447 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8448 for consistency with the other vc buffers (bug#6197).
8449 (vc-checkin): Ditto.
8450
8451 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8452
8453 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8454
8455 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8456
8457 * custom.el (defcustom): Clarify that :set is only used in the
8458 Customize user interface (bug#6089).
8459
8460 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8461 associated with a file, refuse to run instead of erroring out
8462 (bug#6084).
8463
8464 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8465 the doc string, since it appears that using `fill-column' always
8466 controls the width (bug#7845).
8467
8468 * simple.el (shell-command-on-region): Say where the error output
8469 went if `shell-command-default-error-buffer' is set (bug#6857).
8470
8471 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8472
8473 * allout.el (allout-yank-processing): Adjust cursor position for
8474 backwards-deleted space.
8475
8476 (allout-rebullet-heading): Register changes with
8477 allout-exposure-changed-hook, so the modified topic is properly
8478 decorated.
8479
8480 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8481
8482 * minibuffer.el (completion-in-region): Document PREDICATE
8483 (bug#7136).
8484
8485 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8486 of keyword/argument pairs (bug#6904).
8487
8488 * replace.el (multi-occur):
8489 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8490
8491 2011-07-02 Drew Adams <drew.adams@oracle.com>
8492
8493 * dired.el (dired-mark-if): Make the message about whether it's
8494 marking or unmarking clearer (bug#8523).
8495
8496 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8497
8498 * disp-table.el (display-table-print-array): New function.
8499 (describe-display-table): Use it to print the vectors more pretty
8500 (Bug#8859).
8501
8502 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8503
8504 * window.el (window-state-get-1): Don't assign clone numbers.
8505 Add clone-of item to list of window parameters.
8506 (window-state-put-2): Don't process clone numbers.
8507 (display-buffer-alist): Fix doc-string.
8508
8509 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * subr.el (remq): Don't allocate if it's not needed.
8512 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8513 (keymap--merge-bindings): New functions.
8514 (keymap-canonicalize): Use them to refine the canonicalization.
8515 * minibuffer.el (minibuffer-local-completion-map)
8516 (minibuffer-local-must-match-map): Move initialization from C.
8517 (minibuffer-local-filename-completion-map): Move initialization from C;
8518 don't inherit from anything here.
8519 (minibuffer-local-filename-must-match-map): Make obsolete.
8520 (completing-read-default): Use make-composed-keymap to combine
8521 minibuffer-local-filename-completion-map with either
8522 minibuffer-local-must-match-map or
8523 minibuffer-local-filename-completion-map.
8524
8525 2011-07-01 Glenn Morris <rgm@gnu.org>
8526
8527 * type-break.el (type-break-time-sum): Use dolist.
8528
8529 * textmodes/flyspell.el (flyspell-word-search-backward):
8530 Replace CL function.
8531
8532 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * mouse.el (mouse--strip-first-event): New function.
8535 (function-key-map): Use it to map fringe clicks to normal clicks
8536 by default.
8537
8538 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8539 (vc-bzr-revision-completion-table): Add support for annotate and date.
8540
8541 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8542 inherit from parent.
8543
8544 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545
8546 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8547 (dired-show-file-type): Doc fixup (bug#8818).
8548
8549 * dired.el (dired-mode): Fix up the doc string as suggested by
8550 Drew Adams (bug#8817).
8551
8552 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8553 cookie, since the manual says that it should be possible to add
8554 this function to `find-file-hook' (bug#8709).
8555
8556 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8557
8558 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8559 here. Noted Ted Zlatanov as the maintainer.
8560 (cfengine-common-settings, cfengine-common-syntax): New functions
8561 to set up common things between `cfengine-mode' and
8562 `cfengine3-mode'.
8563 (cfengine3-mode): New mode.
8564 (cfengine3-defuns cfengine3-defuns-regex
8565 (cfengine3-class-selector-regex cfengine3-category-regex)
8566 (cfengine3-vartypes cfengine3-font-lock-keywords)
8567 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8568 (cfengine3-indent-line): Add from cfengine3.el.
8569
8570 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8571
8572 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8573
8574 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8575
8576 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8577
8578 * window.el (same-window-buffer-names, same-window-regexps)
8579 (same-window-p, special-display-frame-alist)
8580 (special-display-popup-frame, special-display-function)
8581 (special-display-buffer-names, special-display-regexps)
8582 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8583 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8584 (split-window-preferred-function, split-height-threshold)
8585 (split-width-threshold, even-window-heights)
8586 (display-buffer-mark-dedicated, window-splittable-p)
8587 (split-window-sensibly, window-safely-shrinkable-p):
8588 Un-obsolete.
8589 (display-buffer): Don't spread args with function specifier
8590 because special-display-popup-frame won't like it.
8591
8592 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8593
8594 Time-stamp simplifications and fixes.
8595 These improve accuracy slightly, and future-proof the code
8596 against some potential changes to current-time format.
8597
8598 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8599 by using time-since and float-time.
8600
8601 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8602 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8603 + NNN microseconds".
8604
8605 * type-break.el (type-break-time-sum): Rewrite using time-add.
8606
8607 * play/hanoi.el (hanoi-current-time-float): Remove.
8608 All uses replaced by float-time.
8609
8610 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8611 This yields a more-accurate answer.
8612 (rng-time-to-float): Remove; no longer needed.
8613
8614 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8615
8616 * calendar/timeclock.el (timeclock-seconds-to-time):
8617 Defalias to seconds-to-time, since they're the same thing.
8618
8619 * emacs-lisp/elp.el (elp-elapsed-time):
8620 * emacs-lisp/benchmark.el (benchmark-elapse):
8621 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8622
8623 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8624
8625 * window.el (bury-buffer): Don't iconify the only frame.
8626 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8627 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8628
8629 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8630
8631 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8632 Add mouse-yank-primary.
8633
8634 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8635
8636 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8637
8638 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8641 (find-library-name): Use it to find relative load names when provided
8642 absolute file name (bug#8803).
8643
8644 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8645
8646 * textmodes/flyspell.el (flyspell-word): Consider words that
8647 differ only in case as potential doublons (bug#5687).
8648
8649 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8650 Remove two rather uninteresting debugging-like messages to make
8651 debbugs.el more silent.
8652
8653 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8654 a password-like phrase.
8655
8656 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8657
8658 * progmodes/cc-guess.el: New file.
8659
8660 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8661
8662 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8663 derived from `c-basic-common-init'.
8664
8665 * progmodes/cc-mode.el (top-level): Require cc-guess.
8666 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8667
8668 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8669
8670 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8671
8672 2011-06-30 Alan Mackenzie <acm@muc.de>
8673
8674 * progmodes/cc-engine.el (c-guess-continued-construct):
8675 Correct the handling of template-args-cont, particularly for when font
8676 lock is disabled. Name this case as "CASE G".
8677
8678 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8679
8680 * allout.el (allout-yank-processing): Fix injection of extra space
8681 between bullet and non-whitespace character in first topic when
8682 pasting, ensuring that the actual spacing in the pasted topic
8683 following the bullet char is preserved. This extra space was
8684 causing pasted encrypted topics to get a decrypted status even
8685 when the content was actually still encrypted. Now the decryption
8686 status from before the paste is preserved.
8687
8688 (allout-flag-region): Set all allout overlays so they evaporate
8689 when reduced to zero length (evanescent), to prevent overlay
8690 leakage.
8691
8692 2011-06-30 Glenn Morris <rgm@gnu.org>
8693
8694 * w32-fns.el (w32-charset-info-alist): Declare.
8695
8696 * find-dired.el (find-grep-options): Simplify.
8697
8698 * term/ns-win.el (ns-set-resource): Declare.
8699
8700 * ses.el (row, col): Declare dynamic variables honestly.
8701
8702 * textmodes/reftex-parse.el (index-tags): Declare.
8703
8704 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8705
8706 * cus-edit.el (customize-push-and-save): New function.
8707
8708 * files.el (hack-local-variables-confirm): Use it.
8709
8710 * custom.el (load-theme): New arg NO-CONFIRM.
8711 Use customize-push-and-save (Bug#8720).
8712 (custom-enabled-themes): Doc fix.
8713
8714 * cus-theme.el (customize-create-theme)
8715 (custom-theme-merge-theme): Callers to load-theme changed.
8716
8717 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8718
8719 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8720 short URLs have at least one dot in them (bug #7614).
8721
8722 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8723 nil, because using a pty is apparently too slow (bug #895).
8724
8725 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8726
8727 * mail/sendmail.el (sendmail-query-once): New function.
8728 (sendmail-query-once-function): New variable.
8729
8730 2011-06-29 Glenn Morris <rgm@gnu.org>
8731
8732 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8733
8734 * ses.el (top-level): Require cl when compiling.
8735 (ses-set-localvars): Fix error statement.
8736 Call it at compile time to silence a storm of warnings.
8737
8738 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8739
8740 * window.el (normalize-live-buffer): Rename to
8741 window-normalize-buffer.
8742 (normalize-live-frame): Rename to window-normalize-frame.
8743 (normalize-any-window): Rename to window-normalize-any-window.
8744 (normalize-live-window): Rename to window-normalize-live-window.
8745 (make-window-atom): Rename to window-make-atom.
8746 (window-resize-reset): Rename to window--resize-reset.
8747 (window-resize-reset-1): Rename to window--resize-reset-1.
8748 (resize-mini-window): Rename to window--resize-mini-window.
8749 (resize-subwindows-skip-p): Rename to
8750 window--resize-subwindows-skip-p.
8751 (resize-subwindows-normal): Rename to
8752 window--resize-subwindows-normal.
8753 (resize-subwindows): Rename to window--resize-subwindows.
8754 (resize-other-windows): Rename to window--resize-siblings.
8755 (resize-this-window): Rename to window--resize-this-window.
8756 (resize-root-window): Rename to window--resize-root-window.
8757 (resize-root-window-vertically): Rename to
8758 window--resize-root-window-vertically.
8759 (normalize-buffer-to-display): Rename to
8760 window-normalize-buffer-to-display.
8761 (normalize-buffer-to-switch-to): Rename to
8762 window-normalize-buffer-to-switch-to.
8763 Correspondingly update all callers of the functions listed
8764 above.
8765 (display-buffer-alist, display-buffer-normalize-arguments)
8766 (display-buffer-normalize-options, display-buffer)
8767 (display-buffer-alist-set): Use "function" instead of
8768 "fun-with-args".
8769
8770 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8771
8772 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8773 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8774 debbugs.gnu.org. Mention acknowledgment email.
8775
8776 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8777
8778 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8779 buffer multibyteness, since it shouldn't matter.
8780
8781 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8782
8783 * window.el (display-buffer-in-side-window): Handle dedicated
8784 windows as in display-buffer-reuse-window.
8785 (display-buffer-normalize-alist): Use value of override
8786 specifier.
8787 (display-buffer-normalize-specifiers): Use value of
8788 other-window-means-other-frame specifier.
8789 (display-buffer-alist): Rewrite some texts in widgets.
8790 (display-buffer): Spread arguments when calling function
8791 specified by fun-with-args.
8792
8793 2011-06-28 Deniz Dogan <deniz@dogan.se>
8794
8795 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8796 Unnest `let'.
8797
8798 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8799 selectors (Bug#5732).
8800 (css-proprietary-nmstart-re): Use `regexp-opt'.
8801
8802 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8803
8804 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8805 (eshell-ls-date-format): New defcustom.
8806 (eshell-ls-file): Use it.
8807
8808 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8811
8812 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8813
8814 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8815 (ange-ftp-make-tmp-name): New arg.
8816 (ange-ftp-file-local-copy): Use it.
8817
8818 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8819
8820 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8821 no-conversion (Bug#8870).
8822
8823 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8824
8825 * window.el (window-right, window-left, window-child)
8826 (window-child-count, window-last-child)
8827 (window-iso-combination-p, walk-window-tree-1)
8828 (window-atom-check-1, window-tree-1, delete-window)
8829 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8830 new naming conventions - window-vchild, window-hchild,
8831 window-next and window-prev are now called window-top-child,
8832 window-left-child, window-next-sibling and window-prev-sibling
8833 respectively.
8834 (resize-window-reset): Rename to window-resize-reset.
8835 (resize-window-reset-1): Rename to window-resize-reset-1.
8836 (resize-window): Rename to window-resize.
8837 (window-min-height, window-min-width)
8838 (resize-mini-window, resize-this-window, resize-root-window)
8839 (resize-root-window-vertically, adjust-window-trailing-edge)
8840 (enlarge-window, shrink-window, maximize-window)
8841 (minimize-window, delete-window, quit-restore-window)
8842 (split-window, balance-windows, balance-windows-area-adjust)
8843 (balance-windows-area, window-state-put-2)
8844 (display-buffer-even-window-sizes, display-buffer-set-height)
8845 (display-buffer-set-width, set-window-text-height)
8846 (fit-window-to-buffer): Rename all "resize-window" prefixed
8847 calls to use the "window-resize" prefix convention.
8848 (display-buffer-alist): Fix symbol for label specifier.
8849 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8850 corresponding specifier.
8851 Reported by Juanma Barranquero <lekktu@gmail.com>.
8852
8853 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8854
8855 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8856 convention.
8857 (ses-call-printer): Does not pass an empty string to formatter when the
8858 cell is empty to keep from barking printer Calc math-format-value.
8859
8860 2011-06-27 Richard Stallman <rms@gnu.org>
8861
8862 * battery.el (battery-mode-line-limit): New variable.
8863 (battery-update): Handle it.
8864
8865 * mail/rmailmm.el (rmail-mime-process-multipart):
8866 Handle truncated messages.
8867
8868 2011-06-27 Glenn Morris <rgm@gnu.org>
8869
8870 * progmodes/flymake.el (flymake-err-line-patterns):
8871 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8872
8873 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8874
8875 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8876 (ses--clean-!, ses--clean-_): New functions.
8877 (ses-range): Add configurability of readout order, and conversion
8878 to Calc vector.
8879
8880 * ses.el (ses-repair-cell-reference-all): New function.
8881 (ses-cell-symbol): Set macro as safe, so that it can be used in
8882 formulas.
8883
8884 * ses.el: Update cycle detection algorithm.
8885 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8886 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8887 (ses-set-localvars): New function.
8888 (ses-make-cell): Add property-list as a cell element.
8889 (ses-cell-property-get-fun, ses-cell-property-get)
8890 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8891 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8892 New functions.
8893 (ses-cell-property-set, ses-cell-property-pop)
8894 (ses-cell-property-get-handle): New macro.
8895 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8896 New aliases, used for code readability.
8897 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8898 cycle detection.
8899 (ses-self-reference-early-detection): New defcustom.
8900 (ses-formula-references): Robustify against self-referring cells.
8901 (ses-mode): Use ses-set-localvars.
8902 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8903 before lauching the update processing.
8904 (ses-initialize-Dijkstra-attempt): New function.
8905 (ses-recalculate-cell): Update for cycle detection based on
8906 Dijkstra algorithm.
8907
8908 * ses.el: Fix commenting and indenting convention.
8909
8910 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8911
8912 * bs.el (bs-cycle-next): Complete last change.
8913
8914 2011-06-27 Drew Adams <drew.adams@oracle.com>
8915
8916 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8917
8918 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8919
8920 * net/network-stream.el (network-stream-open-starttls):
8921 Don't re-get capabilities unless we've reestablished connection.
8922 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8923
8924 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8925 to binary to possibly avoid line encoding issues on Windows (among
8926 other things).
8927
8928 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8929
8930 * net/network-stream.el (open-network-stream): Return an :error
8931 saying what the problem was, if possible.
8932
8933 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8934 server.
8935
8936 * net/network-stream.el (network-stream-open-starttls): If we
8937 wanted to use STARTTLS, and the server offered it, but we weren't
8938 able to because we had no STARTTLS support, then close the connection.
8939 (open-network-stream): Return an :error element, if present.
8940
8941 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8942
8943 * hl-line.el (hl-line-sticky-flag): Doc fix.
8944 (global-hl-line-sticky-flag): New option (Bug#8323).
8945 (global-hl-line-highlight): Obey it.
8946
8947 * vc/vc.el (vc-revert-show-diff): Default to t.
8948
8949 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8950
8951 * allout-widgets.el (allout-widgets-post-command-business):
8952 Stop decorating intermediate isearch matches. They're not being
8953 undecorated when an isearch is continued past, and isearch
8954 automatically collapses them. This leads to "widget leaks", where
8955 decorated items accumulate in collapsed areas. Lines with lots of
8956 hidden widgets can slow down cursor travel, substantially.
8957 Too much complicated machinery would be needed to ensure undecoration,
8958 so we're doing without this nicety.
8959
8960 (allout-widgets-tally-string): Don't try to do a hash-table-count
8961 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8962 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8963 *Messages* when allout-widgets-maintain-tally is t.
8964
8965 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8966
8967 * window.el (display-buffer-normalize-argument): Rename to
8968 display-buffer-normalize-arguments. Handle special meaning of
8969 LABEL argument. Respect special-display-function when popping up
8970 a new frame. Fix code searching for a window showing the buffer
8971 on another frame.
8972 (display-buffer-normalize-specifiers):
8973 Call display-buffer-normalize-arguments.
8974 (display-buffer-in-window): Don't undedicate the window if its
8975 buffer remains the same.
8976 Reported by Drew Adams <drew.adams@oracle.com>.
8977 (display-buffer-alist): Add choice for same-window macro
8978 specfier.
8979 (display-buffer): Mention special meaning of LABEL argument in
8980 doc-string. Fix quoting. Don't pop up a new frame even as
8981 fallback.
8982
8983 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8984
8985 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8986 avoid deleting the current window in some cases (bug#8911).
8987
8988 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8989
8990 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8991 (Bug#8934)
8992
8993 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8994
8995 * net/network-stream.el (network-stream-open-starttls):
8996 Use built-in TLS support if `gnutls-available-p' is true.
8997 (network-stream-open-tls): Ditto.
8998
8999 2011-06-26 Leo Liu <sdl.web@gmail.com>
9000
9001 * register.el (registerv): New struct.
9002 (registerv-make): New function.
9003 (jump-to-register, describe-register-1, insert-register):
9004 Support the jump-func, print-func and insert-func slot of a registerv
9005 struct. (Bug#8415)
9006
9007 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9008
9009 * vc/vc.el (vc-revert-show-diff): New defcustom.
9010 (vc-diff-internal): New arg specifying diff buffer.
9011 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9012 reuse an existing *vc-diff* buffer (Bug#8927).
9013
9014 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9015
9016 2011-06-26 Glenn Morris <rgm@gnu.org>
9017
9018 * progmodes/f90.el (f90-critical-indent): New option.
9019 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9020 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9021 (f90-mode): Doc fix.
9022 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9023 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9024 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9025 (f90-match-end): Handle block, critical.
9026
9027 2011-06-25 Glenn Morris <rgm@gnu.org>
9028
9029 * calendar/diary-lib.el (diary-included-files): Doc fix.
9030 (diary-include-files): New function, extracted from
9031 diary-include-other-diary-files and diary-mark-included-diary-files.
9032 (diary-include-other-diary-files, diary-mark-included-diary-files):
9033 Just call diary-include-files.
9034 (diary-mark-entries): Reset diary-included-files on first call.
9035
9036 * calendar/diary-lib.el (diary-mark-entries)
9037 (diary-mark-included-diary-files):
9038 Visit included diary-files in temp buffers.
9039
9040 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9041 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9042 (f90-start-block-re, f90-imenu-generic-expression)
9043 (f90-looking-at-program-block-start, f90-no-block-limit):
9044 Add support for submodules.
9045
9046 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9047 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9048
9049 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9050
9051 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9052 buffer-file-type before setting its value, to avoid disastrous
9053 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9054
9055 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9056
9057 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9058
9059 * ses.el (ses-unload-function):
9060 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9061
9062 * proced.el (proced-unload-function):
9063 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9064
9065 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9066
9067 * server.el (server-create-window-system-frame): Add parameters arg.
9068 (server-process-filter): Doc fix. Handle frame-parameters.
9069
9070 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9071
9072 Fix bug#8730, bug#8781.
9073
9074 * loadhist.el (unload--set-major-mode): New function.
9075 (unload-feature): Use it.
9076
9077 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9078 (python-unload-function): New function.
9079
9080 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9081
9082 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9083
9084 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9085
9086 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9087 the candidates list.
9088
9089 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9090
9091 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9092
9093 2011-06-23 Richard Stallman <rms@gnu.org>
9094
9095 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9096 (rmail-variables): Set next-error-move-function.
9097 (rmail-what-message): Take argument POS.
9098 (rmail-next-error-move): New function.
9099
9100 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9101
9102 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9103 messages for adjacent non-terminals.
9104
9105 2011-06-23 Richard Stallman <rms@gnu.org>
9106
9107 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9108 (rmail-show-message-1): Preserve buffer modified flag.
9109 (rmail-start-mail): Don't specify use of rmail-mail-return;
9110 that's done by mail-bury now.
9111 (rmail-mail-return): Handle arg NEWBUF.
9112
9113 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9114
9115 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9116 SIZE is a number.
9117
9118 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9119
9120 * window.el (get-lru-window, get-mru-window)
9121 (get-largest-window): Never return a minibuffer window.
9122 (display-buffer-pop-up-window): Fix a bug that could lead to
9123 reusing the minibuffer window.
9124 (display-buffer): Pass original specifier argument to
9125 display-buffer-function instead of the normalized one.
9126 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9127
9128 2011-06-22 Leo Liu <sdl.web@gmail.com>
9129
9130 * minibuffer.el (completing-read-function)
9131 (completing-read-default): Move from minibuf.c
9132
9133 2011-06-22 Richard Stallman <rms@gnu.org>
9134
9135 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9136 to Rmail even if not started by a special Rmail command.
9137
9138 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9139 Copy the buffer currently showing just one message.
9140
9141 2011-06-22 Roland Winkler <winkler@gnu.org>
9142
9143 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9144 (bibtex-clean-entry): First delete the old key so that a
9145 customized algorithm for generating the new key does not get
9146 confused by the old key.
9147 (bibtex-url): Obey regexp of first step.
9148 (bibtex-search-entries): Do not use add-to-list with local
9149 list-var.
9150
9151 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9152
9153 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9154 stored a user name, then query for the password first, instead of
9155 waiting for SMTP to give an error message and the trying again.
9156
9157 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9158
9159 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9160 BUFFER in call-process.
9161
9162 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9163
9164 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9165 QUIT twice.
9166 (smtpmail-try-auth-methods): Require user name and password from
9167 auth-source.
9168
9169 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9170
9171 * window.el (display-buffer-default-specifiers)
9172 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9173 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9174 (split-window): Normalize SIDE argument (Bug#8916).
9175
9176 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9177 (special-display-frame-alist, special-display-popup-frame):
9178 Remove duplicate declarations. These are now in window.el.
9179
9180 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9181
9182 * mail/smtpmail.el (smtpmail-via-smtp):
9183 Set :use-starttls-if-possible so that we always use STARTTLS if the
9184 server supports it. SMTP servers that support STARTTLS commonly
9185 require it.
9186
9187 * net/network-stream.el (network-stream-open-starttls): Support
9188 upgrading to STARTTLS always, even if we don't have built-in support.
9189 (open-network-stream): Add the :always-query-capabilities keyword.
9190
9191 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9192 upgrades with `open-network-stream', and rely solely on
9193 auth-source for all credentials. Big changes throughout the file,
9194 but in particular:
9195 (smtpmail-auth-credentials): Remove.
9196 (smtpmail-starttls-credentials): Remove.
9197 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9198 MAIL FROM, too.
9199
9200 * net/network-stream.el (network-stream-open-starttls):
9201 Provide support for client certificates both for external and built-in
9202 STARTTLS.
9203 (auth-source): Require.
9204 (open-network-stream): Document the :client-certificate keyword.
9205 (network-stream-certificate): Change cert-cert to cert and
9206 cert-key to key.
9207
9208 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9209
9210 * net/tramp-cache.el (top): Don't load the persistency file when
9211 "emacs -Q" has been called.
9212
9213 2011-06-21 Tim Harper <timcharper@gmail.com>
9214
9215 * term/ns-win.el (ns-initialize-window-system):
9216 Set application-specific `ApplePressAndHoldEnabled' system
9217 resource to NO as it is not yet supported by the NS port.
9218
9219 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9220
9221 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9222 (list-dynamic-libraries): ...not here.
9223
9224 2011-06-21 Leo Liu <sdl.web@gmail.com>
9225
9226 * subr.el (sha1): Implement sha1 using secure-hash.
9227
9228 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9229
9230 * window.el (display-buffer-alist): In default value do not
9231 enforce searching a window on any but the selected frame.
9232 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9233 (display-buffer-select-window): Remove function.
9234 (display-buffer-in-window): When a window on another frame gets
9235 reused, do not select it any more but just raise its frame if
9236 necessary (Bug#8851) and (Bug#8856).
9237 (display-buffer-normalize-options): Handle pop-up-frames related
9238 options more faithfully.
9239 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9240 window if it is on another frame.
9241 (display-buffer-alist, display-buffer-default-specifiers):
9242 Don't make new frame unsplittable by default.
9243 (display-buffer-normalize-argument): Fix doc-string typo and use
9244 'same-frame-other-window instead of 'other-window when associating
9245 with display-buffer-macro-specifiers.
9246
9247 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9248
9249 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9250 New functions.
9251 (5x5-mode-map, 5x5-mode-menu): Bind them.
9252 (5x5-draw-grid): Tweak the solver's rendering.
9253
9254 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9257 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9258
9259 2011-06-21 Drew Adams <drew.adams@oracle.com>
9260
9261 * menu-bar.el: Use function variable instead of switch-to-buffer.
9262 (menu-bar-select-buffer-function): New variable.
9263 (menu-bar-update-buffers): Use it (bug#8876).
9264
9265 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9268 variable's status.
9269
9270 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9271
9272 * x-dnd.el (x-dnd-version-from-flags)
9273 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9274 and long as number (Bug#8899).
9275 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9276
9277 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9280 (completion-try-completion, completion-all-completions): Compute the
9281 metadata argument if it's missing; make it optional (bug#8795).
9282
9283 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9284 (widget-complete): Use new :completion-function property.
9285 (widget-completions-at-point): New function.
9286 (default): Use :completion-function instead of :complete.
9287 (widget-default-completions): Rename from widget-default-complete;
9288 Rewrite.
9289 (widget-string-complete, widget-file-complete, widget-color-complete):
9290 Remove functions.
9291 (file, symbol, function, variable, coding-system, color):
9292 * international/mule-cmds.el (default-input-method, charset)
9293 (language-info-custom-alist):
9294 * cus-edit.el (face): Use new property :completions.
9295
9296 * progmodes/pascal.el (pascal-completions-at-point): New function.
9297 (pascal-mode): Use it.
9298 (pascal-mode-map): Use completion-at-point.
9299 (pascal-toggle-completions): Make obsolete.
9300 (pascal-complete-word, pascal-show-completions):
9301 * progmodes/octave-mod.el (octave-complete-symbol):
9302 Redefine as obsolete alias.
9303 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9304 Signal absence of completion info for old Octave,
9305 (inferior-octave-complete): Redefine as obsolete alias.
9306 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9307 (meta-completions-at-point): Rename from meta-complete-symbol and
9308 adapt it for use on completion-at-point-functions.
9309 (meta-common-mode): Use it.
9310 (meta-looking-at-backward, meta-match-buffer): Remove.
9311 (meta-complete-symbol): Redefine as obsolete alias.
9312 (meta-common-mode-map): Use completion-at-point.
9313 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9314 (makefile-mode-map): Use completion-at-point.
9315 (makefile-completions-at-point): Rename from makefile-complete and
9316 adapt it for use on completion-at-point-functions.
9317 (makefile-mode): Use it.
9318 (makefile-complete): Redefine as obsolete alias.
9319
9320 2011-06-20 Deniz Dogan <deniz@dogan.se>
9321
9322 * net/rcirc.el: Delete trailing whitespaces once and for all.
9323
9324 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9325
9326 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9327
9328 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9329
9330 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9331
9332 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9333
9334 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9335
9336 * window.el (display-buffer-other-window-means-other-frame):
9337 Call display-buffer-normalize-alist.
9338 (display-buffer-normalize-specifiers-1): Rename to
9339 display-buffer-normalize-argument. New argument other-frame.
9340 Rewrite.
9341 (display-buffer-normalize-specifiers-2): Rename to
9342 display-buffer-normalize-options.
9343 (display-buffer-normalize-alist-1): New function.
9344 (display-buffer-normalize-specifiers-3): Rename to
9345 display-buffer-normalize-alist.
9346 Call display-buffer-normalize-alist-1.
9347 (display-buffer-normalize-options-inhibit): New variable.
9348 (display-buffer-normalize-specifiers): Rewrite calling
9349 display-buffer-normalize-alist,
9350 display-buffer-normalize-argument, and
9351 display-buffer-normalize-options. Don't call the latter if
9352 display-buffer-normalize-options-inhibit is non-nil.
9353 (frame-auto-delete): New option.
9354 (window-deletable-p): Use frame-auto-delete.
9355 (window-list-no-nils, window-state-ignored-parameters)
9356 (window-state-get-1, window-state-get, window-state-put-list)
9357 (window-state-put-1, window-state-put-2, window-state-put):
9358 New functions.
9359 (display-buffer-normalize-options): Move special-display-p group
9360 after pop-up-frame group (Bug#8851) and (Bug#8856).
9361
9362 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9363
9364 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9365 groups (Bug#8776).
9366 (rx-submatch-n): New function.
9367 (rx): Document it.
9368
9369 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9370 (Bug#8768).
9371
9372 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9373
9374 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9375
9376 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9377 anytime existing face settings are present (Bug#8889).
9378
9379 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9380 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9381 Remove unused argument.
9382
9383 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9384
9385 * window.el (display-buffer-default-specifiers):
9386 Remove pop-up-frame. Add pop-up-window-min-height,
9387 pop-up-window-min-width, and another reuse-window specifier
9388 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9389 (display-buffer-normalize-specifiers-2):
9390 Handle split-height-threshold and split-width-threshold also when
9391 pop-up-windows is unset. Add a reuse-window specifier for the
9392 case popping up a new window fails.
9393 (special-display-popup-frame): Remove double quoting.
9394 (display-buffer-normalize-specifiers-1): Fix thinko.
9395
9396 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9399 according to comint-completion-addsuffix.
9400
9401 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9402 (pcomplete-suffix-list): Mark as obsolete.
9403 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9404 pcomplete-seen in the closure.
9405 (pcomplete-comint-setup): Setup completion-at-point as well.
9406 (pcomplete--entries): New function.
9407 (pcomplete--env-regexp): New var.
9408 (pcomplete-entries): Rewrite to work with partial-completion and
9409 without relying on pcomplete-suffix-list.
9410 (pcomplete-pare-list): Remove, unused.
9411
9412 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9413
9414 * window.el (display-buffer-alist): Set pop-up-window-min-height
9415 and pop-up-window-min-width in default value. Reported by
9416 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9417 other-window-means-other-frame.
9418 (display-buffer-macro-specifiers): Comment out entry for
9419 other-window specifier.
9420 (display-buffer-other-window-means-other-frame): New function.
9421 (display-buffer-normalize-specifiers-1): New arguments
9422 buffer-name and label. Treat other-window case specially.
9423 (display-buffer-normalize-specifiers-2): Treat other-window case
9424 specially.
9425 (display-buffer-normalize-specifiers-3): New function.
9426 (display-buffer-normalize-specifiers):
9427 Call display-buffer-normalize-specifiers-3.
9428
9429 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9430
9431 * window.el (same-window-p): Fix two typos introduced when
9432 adding with-no-warnings.
9433 (display-buffer-normalize-specifiers-1): Don't check
9434 pop-up-frames for 'unset initialization.
9435 (display-buffer-normalize-specifiers-2): Major rewrite using
9436 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9437 (pop-up-frames, display-buffer-reuse-frames)
9438 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9439 Suggested by David Engster <deng@randomsample.de>.
9440 (even-window-heights): Initialize to 'unset.
9441 (display-buffer-alist-set): Handle new 'unset initializations.
9442 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9443 other window case.
9444
9445 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9446
9447 * window.el (display-buffer-normalize-specifiers-1):
9448 Respect current value of pop-up-frames for most reasonable values of
9449 second argument of display-buffer (Bug#8865).
9450 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9451 (switch-to-buffer-other-window-same-frame)
9452 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9453 Adams (Bug#8875).
9454 (display-buffer): Don't check noninteractive when calling
9455 display-buffer-pop-up-frame.
9456 (display-buffer-pop-up-frame): Never pop up a frame in
9457 noninteractive mode (Bug#8857).
9458 (enlarge-window, shrink-window): Don't report an error when the
9459 window can't be resized as requested (Bug#8862).
9460
9461 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9464
9465 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9466
9467 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9468
9469 2011-06-15 Alan Mackenzie <acm@muc.de>
9470
9471 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9472 for declarators, disable knr checking to speed up for normal files.
9473 2: Refactor, replacing a sequence of nested if forms by a cond form.
9474
9475 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9476
9477 * net/network-stream.el (open-network-stream): Add the keyword
9478 :always-query-capabilities for the case where you want to force a
9479 `plain' network connection, but the protocol still requires the
9480 capabilitiy command (i.e., SMTP and EHLO).
9481
9482 * subr.el (process-live-p): Rename from `process-alive-p' for
9483 consistency with other `-live-p' functions.
9484
9485 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * window.el (same-window-buffer-names, same-window-regexps)
9488 (special-display-frame-alist, special-display-popup-frame)
9489 (special-display-function, special-display-buffer-names)
9490 (special-display-regexps, pop-up-frame-alist)
9491 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9492 (pop-up-windows, split-window-preferred-function)
9493 (split-height-threshold, split-width-threshold, even-window-heights)
9494 (display-buffer-mark-dedicated): Don't encourage the use of
9495 display-buffer-alist from Elisp code.
9496
9497 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9498
9499 * progmodes/python.el (python-mode): Derive from prog-mode.
9500 * progmodes/ps-mode.el (ps-mode):
9501 * progmodes/mixal-mode.el (mixal-mode):
9502 * progmodes/cfengine.el (cfengine-mode):
9503 * progmodes/ld-script.el (ld-script-mode): Likewise.
9504
9505 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9506
9507 * window.el (display-buffer-alist): Trim default value to avoid
9508 popping up a new frame (Bug#8857) or reusing an arbitrary window
9509 on another frame.
9510 (display-buffer): Do not fall back on popping up a new frame in
9511 batch mode (Bug#8857).
9512
9513 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9514
9515 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9516 (custom-theme-summary): New function.
9517 (customize-themes): Use it.
9518
9519 2011-06-13 Glenn Morris <rgm@gnu.org>
9520
9521 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9522
9523 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9524
9525 * help.el (help-window): Remove variable.
9526 (help-window-point-marker, temp-buffer-max-height)
9527 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9528 (help-print-return-message): Don't set help-window.
9529 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9530 (help-window-setup-finish): Remove.
9531 (help-window-display-message, help-window-setup)
9532 (with-help-window): Major rewrite based on new
9533 display-buffer-window variable.
9534
9535 * help-mode.el (help-mode-finish): Remove help-window related
9536 code.
9537
9538 * view.el (view-exits-all-viewing-windows): Remove reference to
9539 view-return-to-alist in doc-string.
9540 (view-return-to-alist): Make obsolete.
9541 (view-buffer): Call pop-to-buffer-same-window and remove
9542 undo-window code.
9543 (view-buffer-other-window): Call pop-to-buffer-other-window and
9544 simplify code. Ignore second argument.
9545 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9546 simplify code. Ignore second argument.
9547 (view-return-to-alist-update): Make obsolete.
9548 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9549 Rewrite using quit-restore window parameters.
9550 (view-mode-exit): Rename second argument to EXIT-ONLY.
9551 Rewrite using quit-restore-window.
9552 (View-exit, View-exit-and-edit, View-leave, View-quit)
9553 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9554 appropriate arguments.
9555 (view-end-message): Use quit-restore window parameter.
9556
9557 * window.el (display-buffer-function): Rewrite doc-string.
9558 (display-buffer-window, display-buffer-alist): New variables.
9559 (display-buffer-split-specifiers)
9560 (display-buffer-side-specifiers)
9561 (display-buffer-macro-specifiers): New constants.
9562 (display-buffer-even-window-sizes, display-buffer-set-height)
9563 (display-buffer-set-width, display-buffer-select-window)
9564 (display-buffer-in-window, display-buffer-reuse-window)
9565 (display-buffer-split-window-1, display-buffer-split-window)
9566 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9567 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9568 (display-buffer-in-side-window, normalize-buffer-to-display)
9569 (display-buffer-normalize-specifiers-1)
9570 (display-buffer-normalize-specifiers-2)
9571 (display-buffer-normalize-specifiers, display-buffer-frame):
9572 New functions.
9573 (display-buffer): Major rewrite.
9574 (display-buffer-other-window, display-buffer-other-frame)
9575 (pop-to-buffer, switch-to-buffer-other-window)
9576 (switch-to-buffer-other-frame): Rewrite.
9577 (display-buffer-same-window, display-buffer-same-frame)
9578 (display-buffer-same-frame-other-window)
9579 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9580 (pop-to-buffer-other-window)
9581 (pop-to-buffer-same-frame-other-window)
9582 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9583 (switch-to-buffer-other-window-same-frame): New functions.
9584 (same-window-p, special-display-p): Rewrite disabling warnings.
9585 Make obsolete.
9586 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9587 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9588 Make obsolete
9589 (same-window-buffer-names, same-window-regexps)
9590 (special-display-frame-alist, special-display-popup-frame)
9591 (special-display-function, special-display-buffer-names)
9592 (special-display-regexps, pop-up-frame-alist)
9593 (pop-up-frame-function, split-window-preferred-function)
9594 (split-height-threshold, split-width-threshold)
9595 (even-window-heights): Make obsolete.
9596
9597 2011-06-12 Glenn Morris <rgm@gnu.org>
9598
9599 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9600 Misc simplifications.
9601
9602 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9603
9604 * window.el (window-safely-shrinkable-p): Restore function which
9605 was inadvertently removed in change from 2011-06-11. Declare as
9606 obsolete.
9607
9608 * calendar/calendar.el (calendar-generate-window):
9609 Use window-iso-combined-p instead of combination of one-window-p and
9610 window-safely-shrinkable-p.
9611
9612 2011-06-12 Glenn Morris <rgm@gnu.org>
9613
9614 * progmodes/fortran.el (fortran-mode-syntax-table):
9615 * progmodes/f90.el (f90-mode-syntax-table):
9616 Set % to punctuation. (Bug#8820)
9617 (f90-find-tag-default): Remove, no longer needed.
9618
9619 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9620
9621 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9622
9623 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9624
9625 * image.el (image-animated-p): Return animation delay in seconds.
9626 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9627 (image-animate-timeout): Remove DELAY argument. Don't assume
9628 every subimage has the same delay; get it from image-animated-p.
9629 (image-animate): Caller changed.
9630
9631 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9632
9633 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9634 to ignored backtrace functions.
9635
9636 2011-06-11 Glenn Morris <rgm@gnu.org>
9637
9638 * calendar/appt.el (appt-disp-window-function): Doc fix.
9639 (appt-check): Handle overlapping appointments. (Bug#8337)
9640
9641 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9642
9643 * window.el (window-tree-1, window-tree): New functions, moving
9644 the latter to window.el.
9645 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9646 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9647 (bw-refresh-edges): Remove.
9648 (balance-windows-1, balance-windows-2): New functions.
9649 (balance-windows): Rewrite in terms of window tree functions,
9650 balance-windows-1 and balance-windows-2.
9651 (bw-adjust-window): Remove.
9652 (balance-windows-area-adjust): New function with functionality of
9653 bw-adjust-window but using resize-window.
9654 (set-window-text-height): Rewrite doc-string.
9655 Use normalize-live-window and resize-window.
9656 (enlarge-window-horizontally, shrink-window-horizontally):
9657 Rename argument to DELTA.
9658 (window-buffer-height): New function.
9659 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9660 Rewrite using new window resize routines.
9661 (kill-buffer-and-window, mouse-autoselect-window-select):
9662 Use ignore-errors instead of condition-case.
9663 (quit-window): Call delete-frame instead of delete-windows-on
9664 for the only buffer on frame.
9665
9666 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9667
9668 * loadup.el (top-level): Load window before files for the sake
9669 of replace-buffer-in-windows.
9670
9671 * files.el (read-buffer-to-switch)
9672 (switch-to-buffer-other-window)
9673 (switch-to-buffer-other-frame, display-buffer-other-frame):
9674 Move to window.el.
9675
9676 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9677 (previous-buffer): Move to window.el.
9678
9679 * bindings.el (unbury-buffer): Move to window.el.
9680
9681 * window.el (delete-other-windows-vertically): Move after
9682 definition of delete-other-windows.
9683 (other-window, delete-windows-on, replace-buffer-in-windows):
9684 Move here from window.c.
9685 (record-window-buffer, unrecord-window-buffer)
9686 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9687 (switch-to-next-buffer): New functions.
9688 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9689 from simple.el. Call switch-to-next-buffer.
9690 (previous-buffer): Move here from simple.el.
9691 Call switch-to-prev-buffer.
9692 (bury-buffer): Move here from buffer.c. Switch to previous
9693 buffer when window cannot be deleted.
9694 (unbury-buffer): Move here from bindings.el.
9695 (ctl-x-map): Move binding for other-window from window.c to
9696 here.
9697 (read-buffer-to-switch, switch-to-buffer-other-window)
9698 (switch-to-buffer-other-frame): Move here from files.el.
9699 (normalize-buffer-to-switch-to): New functions.
9700 (switch-to-buffer): Move here from buffer.c.
9701 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9702
9703 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9704
9705 * window.el (window-min-height, window-min-width): Move here
9706 from window.c. Add defcustoms and rewrite doc-strings.
9707 (resize-mini-window, resize-window): New functions.
9708 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9709 Move here from window.c.
9710 (maximize-window, minimize-window): New functions.
9711 (delete-window, delete-other-windows, split-window): Move here
9712 from window.c.
9713 (window-split-min-size): New function.
9714 (split-window-keep-point): Mention split-window-above-each-other
9715 instead of split-window-vertically.
9716 (split-window-above-each-other, split-window-vertically):
9717 Rename split-window-vertically to split-window-above-each-other
9718 and provide defalias for old definition.
9719 (split-window-side-by-side, split-window-horizontally):
9720 Rename split-window-horizontally to split-window-side-by-side
9721 and provide defalias for the old definition.
9722 (ctl-x-map): Move bindings for delete-window,
9723 delete-other-windows and enlarge-window here from window.c.
9724 Replace bindings for split-window-vertically and
9725 split-window-horizontally by bindings for
9726 split-window-above-each-other and split-window-side-by-side.
9727
9728 * cus-start.el (all): Remove entries for window-min-height and
9729 window-min-width. Add entries for window-splits and
9730 window-nest.
9731
9732 2011-06-09 Glenn Morris <rgm@gnu.org>
9733
9734 * calendar/appt.el (appt-mode-line): New function.
9735 (appt-check, appt-disp-window): Use it.
9736
9737 * files.el (hack-one-local-variable-eval-safep):
9738 Allow minor-modes with explicit +/-1 arguments.
9739
9740 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9741
9742 * term/xterm.el (xterm): Add defgroup.
9743 (xterm-extra-capabilities): Add defcustom to supply known xterm
9744 capabilities, skip querying them, or query them (default).
9745 (terminal-init-xterm): Use it.
9746 (terminal-init-xterm-modify-other-keys): New function to set up
9747 modifyOtherKeys support to simplify `terminal-init-xterm'.
9748
9749 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9750
9751 * window.el (resize-window-reset, resize-window-reset-1)
9752 (resize-subwindows-skip-p, resize-subwindows-normal)
9753 (resize-subwindows, resize-other-windows, resize-this-window)
9754 (resize-root-window, resize-root-window-vertically)
9755 (window-deletable-p, window-or-subwindow-p)
9756 (frame-root-window-p): New functions.
9757
9758 2011-06-09 Glenn Morris <rgm@gnu.org>
9759
9760 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9761 (ange-ftp-get-files): Use it.
9762
9763 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9764
9765 * mail/sendmail.el (mail-recover-1, mail-recover):
9766 * files.el (recover-file, recover-session):
9767 Handle dired-listing-switches not being just a single short option.
9768
9769 2011-06-09 Glenn Morris <rgm@gnu.org>
9770
9771 * calendar/appt.el (appt-display-message, appt-disp-window):
9772 Handle lists of appointments.
9773
9774 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9775
9776 * window.el (one-window-p): Move down in code.
9777 Rewrite doc-string.
9778 (window-current-scroll-bars): Rewrite doc-string.
9779 Normalize live window argument.
9780 (walk-windows, get-window-with-predicate, count-windows):
9781 Rewrite doc-string. Use window-list-1.
9782 (window-in-direction-2, window-in-direction, get-mru-window):
9783 New functions.
9784
9785 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9786
9787 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9788 Doc fix (Bug#8713).
9789
9790 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9791
9792 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9793
9794 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9795
9796 * loadhist.el (unload-feature-special-hooks):
9797 Add `comint-output-filter-functions'.
9798
9799 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9800
9801 * calendar/appt.el (appt-check): Move some initializations into the let.
9802
9803 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9804
9805 * window.el (window-height): Defalias to window-total-height.
9806 (window-width): Defalias to window-body-width.
9807
9808 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9809
9810 * image-mode.el (image-toggle-animation): New command.
9811 (image-mode-map): Bind it to RET.
9812 (image-mode): Update message.
9813 (image-toggle-display-image): Avoid a spurious cache flush.
9814 (image-transform-rotation): Doc fix.
9815 (image-transform-properties): Return quickly in the normal case.
9816 (image-animate-loop): Rename from image-animate-max-time.
9817
9818 * image.el (image-animate-max-time): Move to image-mode.el.
9819 (create-animated-image): Remove unnecessary function.
9820 (image-animate): Rename from image-animate-start. New arg.
9821 (image-animate-stop): Remove; just use image-animate-timer.
9822 (image-animate-timer): Use car-safe.
9823 (image-animate-timeout): Rename argument.
9824
9825 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9826
9827 * window.el (get-lru-window, get-largest-window): Move here from
9828 window.c. Rename first argument to ALL-FRAMES.
9829 Rephrase doc-strings.
9830 (get-buffer-window-list): Rewrite using window-list-1.
9831 Rephrase doc-string.
9832 (window-safe-min-height, window-safe-min-width): New constants.
9833 (window-size-ignore, window-min-size, window-min-size-1)
9834 (window-sizable, window-sizable-p, window-size-fixed-1)
9835 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9836 (window-max-delta-1, window-max-delta, window-resizable)
9837 (window-resizable-p, window-total-height, window-total-width)
9838 (window-body-width): New functions.
9839 (window-full-height-p, window-full-width-p): Rewrite using
9840 window-total-size.
9841 (window-body-height): Rewrite using window-body-size.
9842
9843 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9844
9845 * window.el (window-right, window-left, window-child)
9846 (window-child-count, window-last-child, window-any-p)
9847 (normalize-live-buffer, normalize-live-frame)
9848 (normalize-any-window, normalize-live-window)
9849 (window-iso-combination-p, window-iso-combined-p)
9850 (window-iso-combinations)
9851 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9852 (windows-with-parameter, window-with-parameter)
9853 (window-atom-root, make-window-atom, window-atom-check-1)
9854 (window-atom-check, window-side-check, window-check):
9855 New functions.
9856 (ignore-window-parameters, window-sides, window-sides-vertical)
9857 (window-sides-slots): New variables.
9858 (window-size-fixed): Move down in code. Minor doc-string fix.
9859
9860 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9861
9862 * comint.el (comint-dynamic-complete-as-filename)
9863 (comint-dynamic-complete-filename): Correctly call
9864 completion-in-region.
9865
9866 2011-06-05 Deniz Dogan <deniz@dogan.se>
9867
9868 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9869 in last change.
9870
9871 2011-06-05 Deniz Dogan <deniz@dogan.se>
9872
9873 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9874 (rcirc): Use it to prompt for encryption.
9875
9876 2011-06-05 Roland Winkler <winkler@gnu.org>
9877
9878 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9879 (bibtex-search-entries): New command bound to C-c C-a.
9880 (bibtex-display-entries): New function.
9881
9882 2011-06-05 Roland Winkler <winkler@gnu.org>
9883
9884 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9885 (bibtex-insert-kill): After yanking insert newline if necessary.
9886 (bibtex-initialize): Call bibtex-string-files-init only once.
9887 (bibtex-mode): Do not call easy-menu-add.
9888 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9889 (bibtex-yank): Set arg properly if nil.
9890
9891 2011-06-05 Roland Winkler <winkler@gnu.org>
9892
9893 * textmodes/bibtex.el (bibtex-search-entry-globally):
9894 New variable.
9895 (bibtex-search-entry): Use it.
9896
9897 2011-06-05 Roland Winkler <winkler@gnu.org>
9898
9899 * textmodes/bibtex.el (bibtex-entry-format): New option
9900 sort-fields.
9901 (bibtex-format-entry, bibtex-reformat): Honor this option.
9902 (bibtex-parse-entry): Return fields in proper order.
9903
9904 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9905
9906 * doc-view.el (doc-view-remove-if): Move computation of result out
9907 of `dolist' to silence misleading lexical-binding warning.
9908
9909 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9910
9911 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9912 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9913
9914 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9915
9916 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9917 "SunOS 5.10".
9918
9919 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9920
9921 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9922 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9923 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9924 (tramp-parse-putty):
9925 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9926 (tramp-completion-function-alist-ssh)
9927 (tramp-completion-function-alist-telnet)
9928 (tramp-completion-function-alist-su)
9929 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9930 cookie.
9931
9932 * net/tramp-ftp.el:
9933 * net/tramp-sh.el:
9934 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9935 load "tramp.el" `tramp-set-completion-function'.
9936
9937 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * shell.el: Require and use pcomplete.
9940 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9941 (shell-completion-vars): Set pcomplete-default-completion-function.
9942
9943 2011-06-04 Deniz Dogan <deniz@dogan.se>
9944
9945 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9946 `memq' (Bug#8799).
9947
9948 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9951
9952 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9953
9954 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9955 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9956 * vc/log-view.el (log-view-beginning-of-defun):
9957 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9958 (smerge-refine-forward, smerge-refine-chopup-region):
9959 Silence warning for unused `dotimes' counter variables.
9960
9961 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * net/tramp.el (tramp-with-progress-reporter): Rename from
9964 with-progress-reporter. Use `declare'.
9965 * net/tramp-smb.el:
9966 * net/tramp-sh.el:
9967 * net/tramp-gvfs.el: Update all uses.
9968
9969 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9970
9971 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9972 buffer isn't killed before making it current.
9973
9974 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 Silence various byte-compiler warnings.
9977 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9978 `access-type' and new obsolescence format.
9979 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9980 new format.
9981 (byte-compile-check-variable): New `access-type' argument.
9982 Only warn if the access-type is obsolete.
9983 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9984 (byte-compile-variable-set): Adjust callers.
9985 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9986 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9987 setting it as obsolete.
9988 * simple.el (minibuffer-completing-symbol):
9989 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9990 access as obsolete.
9991 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9992 obsolete yet.
9993 * international/quail.el (quail-mouse-choose-completion): Remove unused
9994 code referring to obsolete var.
9995 (quail-choose-completion-string): Remove.
9996 * server.el (server-clients-with, server-kill-buffer-query-function)
9997 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9998 * proced.el (proced-send-signal):
9999 * emacs-lisp/lisp.el (lisp-complete-symbol):
10000 Replace completion-annotate-function with completion-extra-properties.
10001
10002 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10003
10004 * simple.el (goto-line): Use read-number.
10005 (overriding-map-is-bound): Remove.
10006 (saved-overriding-map): Change default.
10007 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10008 Take the map as argument.
10009 (universal-argument, negative-argument, digit-argument): Use it.
10010 (restore-overriding-map): Adjust.
10011 (do-auto-fill): Use fill-forward-paragraph.
10012 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10013
10014 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10015 (minibuffer-inactive-mode): New major mode.
10016 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10017 the *Messages* buffer" hack.
10018 (mouse-popup-menubar): Don't burp if the event is a normal key.
10019
10020 Miscellaneous tweaks.
10021 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10022 lexical scoping as in subr.el's dolist and dotimes.
10023 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10024 Silence compiler warning.
10025 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10026 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10027 * international/ccl.el (ccl-compile): Trivial simplification.
10028 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10029 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10030 `printflag' argument.
10031 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10032 Purecopy the whole obsolescence data.
10033
10034 2011-06-01 Leo Liu <sdl.web@gmail.com>
10035
10036 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10037 improve doc-string as suggested by Marco Pessotto
10038 <melmothx@gmail.com>.
10039 (rcirc-print): Fix last change.
10040
10041 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 * minibuffer.el (complete-with-action): Return nil for the metadata and
10044 boundaries of non-functional tables.
10045 (completion-table-dynamic): Return nil for the metadata.
10046 (completion-table-with-terminator): Add default case, using
10047 complete-with-action.
10048 (completion--metadata): New function.
10049 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10050 to try and avoid pathological performance problems.
10051 (completion--embedded-envvar-table): Return `category' metadata.
10052
10053 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10054
10055 * subr.el (process-alive-p): New tiny convenience function.
10056
10057 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10060 content but also its previous major mode.
10061
10062 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10063
10064 * emacs-lisp/debug.el (debug): Restore the previous content of the
10065 *Backtrace* buffer when we exit with C-M-c.
10066
10067 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10068
10069 * minibuffer.el: Add metadata method to completion tables.
10070 (completion-category-overrides): New defcustom.
10071 (completion-metadata, completion--field-metadata)
10072 (completion-metadata-get, completion--styles)
10073 (completion--cycle-threshold): New functions.
10074 (completion-try-completion, completion-all-completions):
10075 Add `metadata' argument to choose completion-styles.
10076 (completion--do-completion): Use metadata to choose cycling.
10077 (completion-all-sorted-completions): Use metadata for sorting.
10078 Remove :completion-cycle-penalty which is not needed any more.
10079 (completion--try-word-completion): Add `metadata' argument.
10080 (minibuffer-completion-help): Check metadata for annotation function
10081 and sorting.
10082 (completion-file-name-table): Return `category' metadata.
10083 (minibuffer-completing-file-name): Make obsolete.
10084 * simple.el (minibuffer-completing-symbol): Make obsolete.
10085 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10086 completion-try-completion.
10087
10088 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10089
10090 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10091
10092 2011-05-30 Leo Liu <sdl.web@gmail.com>
10093
10094 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10095 (rcirc-print): Decode all incoming messages (bug#8744).
10096 (rcirc-decode-coding-system): Allow value nil for automatic coding
10097 system detection.
10098
10099 2011-06-01 Glenn Morris <rgm@gnu.org>
10100
10101 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10102
10103 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10104
10105 * image.el (image-animate-max-time): Allow nil and t values.
10106 Default to nil.
10107 (create-animated-image): Doc fix.
10108 (image-animate-start): Remove second arg; just use
10109 image-animate-max-time.
10110 (image-animate-timeout): Doc fix. Args changed.
10111
10112 * image-mode.el (image-toggle-display-image): Ensure that the
10113 image spec passed to the animate timer is the same object as in
10114 the buffer's display property (Bug#6981).
10115 (image-transform-properties): Doc fix.
10116
10117 * image.el (image-animate-max-time): Default to nil.
10118
10119 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10120
10121 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10122 entire buffer list (Bug#8184).
10123
10124 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10125
10126 * image.el (imagemagick-types-inhibit)
10127 (imagemagick-register-types): Doc fix.
10128
10129 2011-05-29 Deniz Dogan <deniz@dogan.se>
10130
10131 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10132 default.
10133
10134 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10135
10136 * select.el: Don't perform clipboard-manager saving in hooks;
10137 leave the hooks empty.
10138
10139 2011-05-28 Leo Liu <sdl.web@gmail.com>
10140
10141 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10142 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10143 (occur-edit-mode): New major mode (Bug#8463).
10144 (occur-after-change-function): New function.
10145 (occur-engine): Give Occur tags a read-only property.
10146
10147 2011-05-28 Kevin Ryde <user42@zip.com.au>
10148
10149 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10150
10151 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10152
10153 * bindings.el (help-echo): Make the initial non-indicator dash
10154 empty on graphical terminals (Bug#7295).
10155
10156 * files.el (auto-mode-alist): Move config rule after the
10157 in-stripping one (Bug#8547).
10158
10159 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10160
10161 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10162 setting (Bug#8740).
10163
10164 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10165
10166 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10167 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10168 (Bug#8539).
10169
10170 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10171
10172 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10173
10174 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10175
10176 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10177 (hs-hide-block-at-point, hs-find-block-beginning)
10178 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10179 (Bug#8279).
10180
10181 2011-05-28 Glenn Morris <rgm@gnu.org>
10182
10183 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10184
10185 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10186
10187 * help-fns.el (describe-function-1): If the function is a derived
10188 major mode, print the parent mode.
10189
10190 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10191 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10192
10193 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * minibuffer.el (completion--capf-wrapper): Check applicability before
10196 returning non-nil for non-exclusive completion data.
10197 * progmodes/etags.el (tags-completion-at-point-function):
10198 * info-look.el (info-lookup-completions-at-point): Mark as
10199 non-exclusive.
10200 (info-complete): Adjust accordingly.
10201
10202 * info-look.el: Convert to lexical-binding and completion-at-point.
10203 (info-lookup-completions-at-point): New function.
10204 (info-complete): Use it and completion-in-region.
10205
10206 2011-05-28 Drew Adams <drew.adams@oracle.com>
10207
10208 * isearch.el: Let M-e start with point at the first mismatched char.
10209 (isearch-fail-pos): New function.
10210 (isearch-edit-string): Use it.
10211
10212 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10213
10214 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10215
10216 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10217
10218 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10219 traversal functions for avl-trees.
10220 (avl-tree--stack): New struct.
10221 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10222 (avl-tree-enter): Add optional `updatefun' arg.
10223 (avl-tree--do-enter): Add optional `updatefun' arg.
10224 Change return value.
10225 (avl-tree-delete): Add optional `test' and `nilflag' args.
10226 (avl-tree--do-delete): Add `test' and `nilflag' args.
10227 Change return value.
10228 (avl-tree-member): Add optional `nilflag'
10229 (avl-tree-member-p): New function.
10230 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10231 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10232 (avl-tree-stack-empty-p): New functions.
10233
10234 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10235 avl-tree--del-balance1 and make it work both ways.
10236 (avl-tree--del-balance2): Remove.
10237 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10238 make it work both ways.
10239 (avl-tree--enter-balance2): Remove.
10240 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10241 New macros.
10242 (avl-tree--mapc, avl-tree-map): Add direction argument.
10243
10244 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10245
10246 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10247
10248 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10249
10250 * select.el: Support clipboard managers with built-in function
10251 x-clipboard-manager-save, via delete-frame-functions and
10252 kill-emacs-hook.
10253 (xselect-convert-to-targets): Add MULTIPLE target to list.
10254 (xselect-convert-to-save-targets): New function.
10255
10256 2011-05-27 Kenichi Handa <handa@m17n.org>
10257
10258 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10259 let-binding rfc2047-encode-encoded-words to nil.
10260
10261 2011-05-27 Glenn Morris <rgm@gnu.org>
10262
10263 * mail/emacsbug.el: Don't require url-util.
10264
10265 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10266
10267 * files.el (set-auto-mode):
10268 Also respect mode: entries at the end of the file. (Bug#8586)
10269
10270 2011-05-26 Glenn Morris <rgm@gnu.org>
10271
10272 * files.el (hack-local-variables-prop-line, hack-local-variables):
10273 Downcase mode names, as seems to be traditional.
10274 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10275
10276 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10277 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10278
10279 2011-05-25 Julien Danjou <julien@danjou.info>
10280
10281 * textmodes/rst.el (rst-define-level-faces): Do not define face
10282 symbol if it is already defined.
10283
10284 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10285
10286 * play/5x5.el (5x5-new-game, 5x5-randomize):
10287 Reset 5x5-solver-output to nil when a new grid is cast.
10288 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10289 these debugging traces, as defmacro breaks the compiled code.
10290
10291 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10292
10293 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10294
10295 2011-05-24 Leo Liu <sdl.web@gmail.com>
10296
10297 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10298 (vc-bzr-sha1): Adapt.
10299
10300 * sha1.el: Remove. Function `sha1' is now builtin.
10301
10302 * bindings.el: Provide sha1 feature.
10303
10304 2011-05-24 Kenichi Handa <handa@m17n.org>
10305
10306 * mail/sendmail.el: Require `rfc2047'.
10307 (mail-insert-from-field): Do not perform RFC2047 encoding.
10308 (mail-encode-header): New function.
10309 (sendmail-send-it): Set buffer-file-coding-system of the work
10310 buffer to the return value of select-message-coding-system.
10311 Call mail-encode-header.
10312
10313 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10314
10315 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10316
10317 * mail/supercite.el (sc-default-cite-frame):
10318 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10319
10320 2011-05-24 Glenn Morris <rgm@gnu.org>
10321
10322 * progmodes/python.el (brm-menu): Declare.
10323
10324 * emulation/viper.el (viper-set-hooks): Declare.
10325
10326 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10327 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10328 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10329 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10330 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10331 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10332
10333 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 Add an :exit-function for completion-at-point.
10336
10337 * minibuffer.el (completion--done): New fun.
10338 (completion--do-completion): Use it. New arg `expect-exact'.
10339 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10340 since completion--do-completion does it for us now.
10341 (minibuffer-force-complete): Use completion--done and
10342 completion--replace. Handle sole-completion case with more care.
10343 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10344 (completion-extra-properties): New var.
10345 (completion-annotate-function): Make obsolete.
10346 (minibuffer-completion-help): Adjust accordingly.
10347 Use completion-list-insert-choice-function.
10348 (completion-at-point, completion-help-at-point):
10349 Bind completion-extra-properties.
10350 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10351 * simple.el (completion-list-insert-choice-function): New var.
10352 (completion-setup-function): Preserve it.
10353 (choose-completion): Pay attention to it, shuffle the code a bit.
10354 (choose-completion-string): New arg `insert-function'.
10355
10356 * textmodes/bibtex.el: Convert to lexical binding.
10357 (bibtex-mode-map): Use completion-at-point.
10358 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10359 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10360 (bibtex-complete): Define as obsolete alias.
10361 (bibtex-complete-internal): Remove.
10362 (bibtex-format-entry): Remove unused sub-group in regexp.
10363 * shell.el (shell--command-completion-data)
10364 (shell-environment-variable-completion):
10365 * pcomplete.el (pcomplete-completions-at-point):
10366 * comint.el (comint--complete-file-name-data): Use :exit-function
10367 instead of completion-table-with-terminator so it also works for
10368 choose-completion.
10369
10370 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10373
10374 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10375 (bug#8710).
10376
10377 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10378
10379 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10380
10381 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10382 customization variable and implement: If non-nil, auto-fill will
10383 be inhibited while on topic's header line.
10384
10385 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10386
10387 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10388 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10389 always have a solution in grid size = 5 cases.
10390 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10391 (5x5-solver-output, 5x5-log-buffer): New vars.
10392 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10393 Make these variables buffer local to achieve 5x5 multi-session-ness.
10394 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10395 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10396 (5x5-solve-suggest): New funs.
10397 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10398 randomize a grid so that we ensure that there is always a solution.
10399 (5x5-make-random-grid): Allow other movement than flipping.
10400
10401 2011-05-23 Kevin Ryde <user42@zip.com.au>
10402
10403 * emacs-lisp/advice.el (ad-read-advised-function):
10404 Use `function-called-at-point' as the default, if it has
10405 advice and passes PREDICATE.
10406
10407 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10408
10409 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10410 byte-compile-lambda if it's actually a lambda.
10411
10412 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10413 Fix function quoting. Use backquote better.
10414
10415 2011-05-22 Yuanle Song <sylecn@gmail.com>
10416
10417 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10418 matching (Bug#8516).
10419
10420 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10421
10422 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10423 different face (Bug#8178).
10424
10425 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10426
10427 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10428 defface (Bug#8144).
10429
10430 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10433 funcall as well (bug#8712). Warn when performing those conversions.
10434 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10435
10436 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10437
10438 2011-05-22 Glenn Morris <rgm@gnu.org>
10439
10440 * files.el (hack-local-variables-prop-line): Small simplifications.
10441 (hack-local-variables, hack-local-variables-prop-line):
10442 If MODE-ONLY, return the mode, rather than just `t'.
10443
10444 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10445
10446 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10447
10448 2011-05-21 Glenn Morris <rgm@gnu.org>
10449
10450 * files.el (hack-local-variables-prop-line, hack-local-variables):
10451 If only interested in the mode, don't bother doing the other stuff.
10452
10453 * image-mode.el (image-after-revert-hook):
10454 Redraw all frames on which the image is visible. (Bug#8567)
10455
10456 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10457
10458 * wid-edit.el (widget-checklist-match-inline):
10459 Fix 2011-04-19 change. (Bug#8649)
10460
10461 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10464 Also allow singlespace after single-letter capitals followed by a dot.
10465
10466 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10467 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10468
10469 2011-05-20 Nix <nix@esperi.org.uk>
10470
10471 * files.el (basic-save-buffer-2):
10472 Fix handling of break-hardlink-on-save with non-existent files.
10473
10474 2011-05-19 Deniz Dogan <deniz@dogan.se>
10475
10476 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10477 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10478
10479 2011-05-19 Glenn Morris <rgm@gnu.org>
10480
10481 * progmodes/f90.el (f90-type-def-re):
10482 Handle "type, bind(c)". (Bug#8691)
10483
10484 * emacs-lisp/autoload.el (batch-update-autoloads):
10485 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10486
10487 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10488
10489 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10490 property for the correct connection in case of multihops.
10491
10492 2011-05-18 Glenn Morris <rgm@gnu.org>
10493
10494 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10495 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10496
10497 Rationalize calendar handling of day and month abbrev-arrays.
10498 * calendar/calendar.el (calendar-customized-p): New function.
10499 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10500 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10501 Add :set function.
10502 (calendar-abbrev-length, calendar-day-abbrev-array)
10503 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10504 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10505 Elements may no longer be nil.
10506 (calendar-day-name, calendar-month-name):
10507 Update for changed nature of abbrev arrays.
10508 * calendar/diary-lib.el (diary-name-pattern):
10509 Update for changed nature of abbrev arrays.
10510 (diary-mark-entries-1): Update calendar-make-alist calls.
10511 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10512 * calendar/cal-html.el (cal-html-day-abbrev-array):
10513 Simply inherit from calendar-day-abbrev-array.
10514
10515 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * progmodes/grep.el (grep-mode): Disable default
10518 compilation-directory-matcher setting (bug#8684).
10519
10520 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10521
10522 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10523 instead of "head" and "tail". There were problems with SunOS 5.9,
10524 and it performs better.
10525
10526 2011-05-17 Glenn Morris <rgm@gnu.org>
10527
10528 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10529
10530 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10531 Replace obsolete function.
10532
10533 * shell.el (pcomplete-parse-arguments-function): Declare.
10534
10535 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10536 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10537 (appt-check): Doc fixes.
10538 (appt-disp-window-function, appt-delete-window-function):
10539 Remove needless special case in custom :type.
10540 (appt-display-count): Default to 0, not nil.
10541 (appt-check): Reset appt-display-count to 0, not nil.
10542
10543 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10544
10545 * progmodes/python.el (python-font-lock-keywords):
10546 Add the Python 3.X keyword "nonlocal" (bug#8639).
10547
10548 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10551
10552 2011-05-16 Kevin Ryde <user42@zip.com.au>
10553
10554 * info-look.el (makefile-automake-mode): New setups, looking in
10555 automake manual, then makefile-mode.
10556 (makefile-mode): Remove automake manual, have it just in
10557 makefile-automake-mode since there's various things different or
10558 not relevant to plain make.
10559 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10560 believe a hypothetical automake-mode would go to makefile-mode,
10561 not the other way around.
10562
10563 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10564
10565 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10566 hunk-end tags (Bug#8672).
10567
10568 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10569 vc-annotate-show-diff-revision-at-line (Bug#8671).
10570
10571 2011-05-14 Glenn Morris <rgm@gnu.org>
10572
10573 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10574 in the middle of an existing one with multiple authors. (Bug#8645)
10575 (change-log-font-lock-keywords): Also handle multiple author lines
10576 with leading tabs. (Bug#8644)
10577
10578 * calendar/appt.el (appt-check): Rename some local variables.
10579 Some simplification/reordering.
10580
10581 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10582 (feedmail-sendmail-f-doesnt-sell-me-out)
10583 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10584 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10585 (feedmail-queue-runner-message-sender): Set :version.
10586 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10587 (bbdb-dwim-net-address, vm-mail): Declare.
10588 (feedmail-binmail-gnulinuxish-template):
10589 Rename from feedmail-binmail-linuxish-template.
10590 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10591 Use insert-buffer-substring.
10592
10593 2011-05-14 Bill Carpenter <bill@carpenter.org>
10594
10595 * mail/feedmail.el (feedmail-patch-level): Increase.
10596 (feedmail-debug): New custom group.
10597 (feedmail-confirm-outgoing-timeout)
10598 (feedmail-sendmail-f-doesnt-sell-me-out)
10599 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10600 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10601 (feedmail-sender-line, feedmail-from-line)
10602 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10603 (feedmail-spray-this-address)
10604 (feedmail-spray-address-fiddle-plex-list)
10605 (feedmail-queue-use-send-time-for-date)
10606 (feedmail-queue-use-send-time-for-message-id)
10607 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10608 (feedmail-buffer-eating-function):
10609 Doc fixes.
10610 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10611 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10612 (feedmail-message-action-scroll-down): New functions.
10613 (feedmail-queue-directory, feedmail-queue-draft-directory):
10614 Use expand-file-name.
10615 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10616 Remove C-v help entry.
10617 (feedmail-queue-buffer-file-name): New variable.
10618 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10619 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10620 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10621 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10622 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10623 (feedmail-message-action-toggle-spray)
10624 (feedmail-run-the-queue-no-prompts)
10625 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10626 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10627 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10628 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10629 (feedmail-envelope-deducer, feedmail-fiddle-from)
10630 (feedmail-fiddle-sender, feedmail-default-date-generator)
10631 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10632 (feedmail-fiddle-spray-address)
10633 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10634 (feedmail-fiddle-list-of-fiddle-plexes)
10635 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10636 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10637 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10638 Change default. Doc fix.
10639 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10640 (feedmail-binmail-linuxish-template): New constant.
10641 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10642 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10643 (feedmail-send-it): Add debug call.
10644 Use feedmail-queue-buffer-file-name, and
10645 feedmail-send-it-immediately-wrapper.
10646 (feedmail-message-action-send): Add debug call.
10647 Use feedmail-send-it-immediately-wrapper.
10648 (feedmail-queue-express-to-queue): Add debug call.
10649 Run feedmail-queue-express-hook.
10650 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10651 (feedmail-message-action-help-blat):
10652 Rename from feedmail-queue-send-edit-prompt-help-first.
10653 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10654 Check line-endings. Handle errors better.
10655 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10656 Doc fix. Add debug call.
10657 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10658 Use feedmail-queue-send-edit-prompt-inner.
10659 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10660 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10661 from feedmail-queue-send-edit-prompt.
10662 (feedmail-queue-send-edit-prompt-help)
10663 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10664 (feedmail-tidy-up-slug): Add debug call.
10665 Respect feedmail-queue-slug-suspect-regexp.
10666 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10667 (feedmail-dump-message-to-queue): Add debug call.
10668 Expand queue-directory.
10669 (feedmail-dump-message-to-queue): Change message slightly.
10670 Use feedmail-say-chatter.
10671 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10672 (feedmail-send-it-immediately-wrapper): New function.
10673 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10674 Insert empty string rather than newline. Handle full-frame case.
10675 Use catch/throw. Use feedmail-say-chatter.
10676 (feedmail-fiddle-from): Try mail-host-address.
10677 (feedmail-default-message-id-generator): Doc fix.
10678 Bind system-time-locale. Handle missing end.
10679 (feedmail-fiddle-x-mailer): Add debug call.
10680 Handle feedmail-x-mailer-line being nil.
10681 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10682 Add debug call. Use buffer-substring-no-properties.
10683 (feedmail-say-debug, feedmail-say-chatter): New functions.
10684 (feedmail-find-eoh): Give an explicit error.
10685
10686 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10687
10688 * net/newst-treeview.el (newsticker-treeview-face): Change default
10689 family from helvetica to sans.
10690 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10691 etc/images/newsticker.
10692
10693 * net/newst-reader.el (newsticker-feed-face): Change default
10694 family from helvetica to sans.
10695
10696 * net/newst-plainview.el (newsticker-new-item-face)
10697 (newsticker-old-item-face, newsticker-immortal-item-face)
10698 (newsticker-obsolete-item-face, newsticker-date-face)
10699 (newsticker-statistics-face): Change default family from
10700 helvetica to sans.
10701 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10702 etc/images/newsticker.
10703
10704 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10705 (newsticker--process-auto-mark-filter-match): : Tell user about
10706 auto-marking.
10707
10708 2011-05-13 Didier Verna <didier@xemacs.org>
10709
10710 Common Lisp indentation improvements on defmethod and lambda-lists.
10711 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10712 TODO entries.
10713 (lisp-lambda-list-keyword-parameter-indentation)
10714 (lisp-lambda-list-keyword-parameter-alignment)
10715 (lisp-lambda-list-keyword-alignment): New customizable user options.
10716 (lisp-indent-defun-method): Improve docstring.
10717 (extended-loop-p): Fix comment.
10718 (lisp-indent-lambda-list-keywords-regexp): New variable.
10719 (lisp-indent-lambda-list): New function.
10720 (lisp-indent-259): Use it.
10721 (lisp-indent-defmethod): Support for more than one
10722 method qualifier and properly indent methods lambda-lists.
10723 (defgeneric): Provide a missing common-lisp-indent-function property.
10724
10725 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10728 bounds for the empty string (bug#8667).
10729
10730 2011-05-13 Glenn Morris <rgm@gnu.org>
10731
10732 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10733
10734 * mail/sendmail.el (sendmail-program): Try executable-find first.
10735 (sendmail-send-it): `sendmail-program' cannot be unbound.
10736
10737 * calendar/appt.el (appt-make-list): Simplify.
10738 (appt-time-msg-list): Doc fix.
10739 (appt-check): Change mode-line message at the time of the appointment.
10740
10741 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10742
10743 * progmodes/ld-script.el (ld-script-keywords)
10744 (ld-script-builtins): Update keywords list.
10745
10746 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10749
10750 * shell.el (shell-completion-vars): New function.
10751 (shell-mode):
10752 * simple.el (read-shell-command): Use it.
10753 (blink-matching-open): No need for " [...]" in minibuffer-message.
10754
10755 2011-05-12 Glenn Morris <rgm@gnu.org>
10756
10757 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10758 (appt-check): Simplify.
10759
10760 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10761
10762 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10763 literal "/dev/null".
10764
10765 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10766
10767 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10768 Fix typo.
10769
10770 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10771
10772 * progmodes/which-func.el (which-function):
10773 Use add-log-current-defun instead of add-log-current-defun-function,
10774 which might not be defined (Bug#8260).
10775
10776 2011-05-12 Glenn Morris <rgm@gnu.org>
10777
10778 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10779 Let byte-compile-initial-macro-environment always take precedence.
10780
10781 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * net/rcirc.el: Add support for SSL/TLS connections.
10784 (rcirc-server-alist): New field `encryption'.
10785 (rcirc): Check `encryption' settings.
10786 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10787 Merge make-local-variable into `set'.
10788 (rcirc--connection-open-p): New function.
10789 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10790 the process is not a network process (e.g. running gnutls-cli).
10791 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10792 Make rcirc-(en|de)code-coding-system local here.
10793 (rcirc-mode): Merge make-local-variable into `set'.
10794 (rcirc-parent-buffer): Make permanent buffer-local.
10795 (rcirc-multiline-minor-mode): Don't do it here.
10796 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10797 there's no server buffer.
10798
10799 2011-05-11 Glenn Morris <rgm@gnu.org>
10800
10801 * newcomment.el (comment-kill): Prefix "unused" local.
10802
10803 * term/w32console.el (get-screen-color): Declare.
10804
10805 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10806 Handle symbol elements of byte-compile-initial-macro-environment.
10807
10808 2011-05-10 Leo Liu <sdl.web@gmail.com>
10809
10810 * bookmark.el (bookmark-bmenu-mode-map):
10811 Bind bookmark-bmenu-search to `/'.
10812
10813 * mail/footnote.el: Convert to utf-8 encoding.
10814 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10815 (Footnote-unicode): New function.
10816 (footnote-style-alist): Add unicode style to the list.
10817 (footnote-style): Doc fix.
10818
10819 2011-05-10 Jim Meyering <meyering@redhat.com>
10820
10821 Fix doubled-word typos.
10822 * international/quail.el (quail-insert-kbd-layout): and and -> and
10823 * kermit.el: and and -> and
10824 * net/ldap.el (ldap-search-internal): to to -> to
10825 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10826 * progmodes/js.el (js-mode): and and -> and
10827 * textmodes/artist.el (artist-move-to-xy): at at -> at
10828 (artist-draw-region-trim-line-endings): if if -> if
10829 And Safetyc -> Safety.
10830 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10831
10832 2011-05-10 Glenn Morris <rgm@gnu.org>
10833 Stefan Monnier <monnier@iro.umontreal.ca>
10834
10835 * files.el (hack-one-local-variable-eval-safep):
10836 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10837
10838 2011-05-10 Glenn Morris <rgm@gnu.org>
10839
10840 * calendar/diary-lib.el (diary-list-entries-hook)
10841 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10842 (diary-nongregorian-marking-hook, diary-list-entries)
10843 (diary-include-other-diary-files, diary-mark-entries)
10844 (diary-mark-included-diary-files): Doc fixes.
10845
10846 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * misc.el: Require tabulated-list.el during compilation.
10849
10850 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10851
10852 * progmodes/compile.el (compilation-start):
10853 Run compilation-filter-hook for the async case too.
10854 (compilation-filter-hook): Doc fix.
10855
10856 2011-05-09 Deniz Dogan <deniz@dogan.se>
10857
10858 * wdired.el: Remove outdated installation comment. Fix usage
10859 comment.
10860
10861 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10862
10863 * misc.el: Implement new command `list-dynamic-libraries'.
10864 (list-dynamic-libraries--loaded-only-p): New variable.
10865 (list-dynamic-libraries--refresh): New function.
10866 (list-dynamic-libraries): New command.
10867
10868 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10869
10870 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10871 Fix the ant regexp to handle end-line and end-column info from jikes.
10872 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10873 higher priority to avoid clobbering by gnu.
10874
10875 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10876
10877 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10878 if the face has existing theme settings (Bug#8454).
10879
10880 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10881
10882 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10883 Only match variables declared via `my' or `our' (Bug#8261).
10884
10885 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10886 special file names `.' and `..' (Bug#8259).
10887
10888 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10889
10890 * progmodes/grep.el (grep-mode-font-lock-keywords):
10891 Remove buffer-changing entries.
10892 (grep-filter): New function.
10893 (grep-mode): Add it to compilation-filter-hook.
10894
10895 * progmodes/compile.el (compilation-filter-hook)
10896 (compilation-filter-start): New defvars.
10897 (compilation-filter): Call compilation-filter-hook prior to
10898 updating the process mark.
10899
10900 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10903
10904 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10905
10906 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10907 mailclient-send-it even if window-system is nil. (Bug#8595)
10908
10909 * term/w32console.el (terminal-init-w32console):
10910 Call get-screen-color and use its output to set the frame
10911 background-mode. (Bug#8597)
10912
10913 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10914
10915 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10916 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10917 New functions.
10918 (defgeneric, eieio--defmethod): Use them.
10919 (eieio-defgeneric): Remove.
10920 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10921
10922 2011-05-07 Glenn Morris <rgm@gnu.org>
10923
10924 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10925 Use let rather than let*.
10926 (timeclock-find-discrep): Remove unused local.
10927
10928 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10929
10930 * calendar/appt.el (appt-time-msg-list): Doc fix.
10931
10932 2011-05-06 Noah Friedman <friedman@splode.com>
10933
10934 * apropos.el (apropos-print-doc): Only use
10935 emacs-lisp-docstring-fill-column when it is bound to an integer,
10936 per that variable's documentation.
10937
10938 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10941 and warnings are not silently discarded (e.g. use -d instead of -P).
10942
10943 2011-05-06 Glenn Morris <rgm@gnu.org>
10944
10945 * calendar/appt.el (appt-message-warning-time): Doc fix.
10946 (appt-warning-time-regexp): New option.
10947 (appt-make-list): Respect appt-message-warning-time.
10948
10949 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10950 New options.
10951 (diary-add-to-list): Strip comments from the displayed string.
10952 (diary-mode): Set comment-start and comment-end.
10953
10954 * vc/diff-mode.el (smerge-refine-subst): Declare.
10955 (diff-refine-hunk): Don't require smerge-mode when compiling.
10956
10957 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10958
10959 * simple.el (list-processes): Return nil as the docstring says.
10960
10961 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10962
10963 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10964 to "".
10965 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10966 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10967 determining of binary transfer. (Bug#7383)
10968
10969 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10970
10971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10972 Fix port computation bug. (Bug#8618)
10973
10974 2011-05-05 Glenn Morris <rgm@gnu.org>
10975
10976 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10977
10978 * simple.el (shell-dynamic-complete-functions)
10979 (comint-dynamic-complete-functions): Declare.
10980
10981 * net/network-stream.el (gnutls-negotiate):
10982 * simple.el (tabulated-list-print): Fix declarations.
10983
10984 * progmodes/gud.el (syntax-symbol, syntax-point):
10985 Remove unnecessary and incorrect declarations.
10986
10987 * emacs-lisp/check-declare.el (check-declare-scan):
10988 Handle byte-compile-initial-macro-environment in bytecomp.el
10989
10990 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 Fix earlier half-done eieio-defmethod change (bug#8338).
10993 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10994 Streamline and change calling convention.
10995 (defmethod): Adjust accordingly and simplify.
10996 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10997 new eieio--defmethod.
10998 (slot-boundp): Minor CSE simplification.
10999
11000 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11001
11002 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11003 (glasses-make-readable): Use glasses-separate-capital-groups.
11004
11005 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11006
11007 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11008 (warning-series): Doc fix.
11009 (display-warning): Don't try to create the buffer if we just found it.
11010
11011 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11012
11013 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11014 (autoload-find-generated-file): New function.
11015 (generate-file-autoloads): Bind generated-autoload-file to
11016 buffer-file-name.
11017 (update-file-autoloads, update-directory-autoloads):
11018 Use autoload-find-generated-file. If called interactively, prompt for
11019 output file (Bug#7989).
11020 (batch-update-autoloads): Doc fix.
11021
11022 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11023
11024 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11025
11026 2011-05-04 Glenn Morris <rgm@gnu.org>
11027
11028 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11029 function, so it follows changes in calendar-date-style.
11030 (diary-fancy-date-matcher): New function.
11031 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11032 (diary-fancy-font-lock-fontify-region-function):
11033 Use diary-fancy-date-pattern as a function.
11034
11035 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11036 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11037
11038 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11039
11040 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11041 instead of positional arguments. Allow :keylist and :crlfiles
11042 arguments.
11043 (open-gnutls-stream): Call it.
11044
11045 * net/network-stream.el (network-stream-open-starttls): Adjust to
11046 call `gnutls-negotiate' with :process and :hostname arguments.
11047
11048 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * minibuffer.el (completion--message): New function.
11051 (completion--do-completion, minibuffer-complete)
11052 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11053 (completion--do-completion): Don't ignore completion-auto-help when in
11054 icomplete-mode.
11055
11056 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11057 internal encoding (e.g. tibetan zero is not whitespace).
11058 (global-whitespace-mode): Prefer save-current-buffer.
11059 (whitespace-trailing-regexp): Remove useless save-match-data.
11060 (whitespace-empty-at-bob-regexp): Minor simplification.
11061
11062 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11063
11064 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11065
11066 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11067
11068 * textmodes/ispell.el (ispell-add-per-file-word-list):
11069 Use `concat' to create string for insertion.
11070
11071 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11074 Avoid open-line which runs post-self-insert-hook.
11075 (bibtex-fill-entry): Remove unused `end' var.
11076
11077 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11078
11079 * textmodes/ispell.el (ispell-add-per-file-word-list):
11080 Protect against `nil' value of `comment-start' (Bug#8579).
11081
11082 2011-05-03 Leo Liu <sdl.web@gmail.com>
11083
11084 * isearch.el (isearch-yank-pop): New command.
11085 (isearch-mode-map): Bind it to `M-y'.
11086 (isearch-forward): Mention it.
11087
11088 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * simple.el (minibuffer-complete-shell-command): Remove.
11091 (minibuffer-local-shell-command-map): Use completion-at-point.
11092 (read-shell-command): Setup completion vars here instead.
11093 (read-expression-map): Bind TAB to symbol completion.
11094
11095 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11096 error directly rather via storing it into `results'.
11097
11098 2011-05-02 Leo Liu <sdl.web@gmail.com>
11099
11100 * vc/diff.el: Fix description.
11101
11102 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11103
11104 * server.el (server-eval-at): New function.
11105
11106 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11107
11108 * net/network-stream.el (open-network-stream): Take a :nowait
11109 parameter and pass it on to `make-network-process'.
11110 (network-stream-open-plain): Ditto.
11111
11112 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11113
11114 * faces.el (face-spec-set-match-display): Don't match toolkit
11115 options on terminal frames.
11116
11117 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * progmodes/pascal.el: Use lexical binding.
11120 (pascal-mode-map): Remove author preferences.
11121
11122 * pcomplete.el (pcomplete-std-complete): Don't abuse
11123 completion-at-point.
11124
11125 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11126
11127 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11128 removing code that has been dead since 1991 or so.
11129
11130 * startup.el (command-line): When warning about "_emacs", use a
11131 delayed warning to allow the user to filter it out.
11132
11133 2011-04-28 Deniz Dogan <deniz@dogan.se>
11134
11135 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11136 user has not joined.
11137
11138 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11141 aren't any completions at point.
11142
11143 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11144
11145 * subr.el (display-delayed-warnings): New function.
11146 (delayed-warnings-hook): New variable.
11147
11148 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11149
11150 * minibuffer.el (completion-at-point, completion-help-at-point):
11151 Don't presume that a given completion-at-point-function will always
11152 use the same calling convention.
11153
11154 * pcomplete.el (pcomplete-completions-at-point):
11155 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11156 pcomplete-seen is non-nil.
11157 (pcomplete-comint-setup): Also recognize the new comint/shell
11158 completion functions.
11159 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11160 pcomplete-seen is non-nil.
11161
11162 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11163
11164 * calendar/icalendar.el (diary-lib): Add require statement.
11165 (icalendar--create-uid): Read out a uid from a text-property on
11166 the first character in the entry. This allows for code to add its
11167 own uid to the entry.
11168 (icalendar--convert-float-to-ical): Add export of
11169 `diary-float'-entries save for those with the optional DAY
11170 argument.
11171
11172 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11173
11174 * subr.el (shell-quote-argument): Use alternate escaping strategy
11175 when we spot a variable reference in a string.
11176
11177 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11178
11179 * cus-start.el (all): Define customization for debug-on-event.
11180
11181 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11182
11183 * subr.el (shell-quote-argument): Escape correctly under Windows.
11184
11185 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11188
11189 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11190
11191 * net/tramp.el (tramp-process-actions): Add POS argument.
11192 Delete region between POS and (pos).
11193
11194 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11195 Use `nil' position in `tramp-process-actions' call.
11196 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11197
11198 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11199 position in `tramp-process-actions' call.
11200
11201 * net/trampver.el: Update release number.
11202
11203 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * custom.el (defcustom): Obey lexical-binding.
11206
11207 Fix octave-inf completion problems reported by Alexander Klimov.
11208 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11209 Inherit from octave-mode-syntax-table.
11210 (inferior-octave-mode): Set info-lookup-mode.
11211 (inferior-octave-completion-at-point): New function.
11212 (inferior-octave-complete): Use it and completion-in-region.
11213 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11214 comint-filename-completion.
11215 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11216 symbol elements which shouldn't be word elements.
11217 (octave-font-lock-keywords, octave-beginning-of-defun)
11218 (octave-function-header-regexp): Adjust regexps accordingly.
11219 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11220
11221 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11222
11223 * net/gnutls.el (gnutls-errorp): Declare before first use.
11224
11225 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11226
11227 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11228 verify-error, and verify-hostname-error parameters. Check whether
11229 default trustfile exists before going to use it. Add missing
11230 argument to gnutls-message-maybe call. Return value.
11231 Reported by Claudio Bley <claudio.bley@gmail.com>.
11232 (open-gnutls-stream): Add usage example.
11233
11234 * net/network-stream.el (network-stream-open-starttls): Give host
11235 parameter to `gnutls-negotiate'.
11236 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11237 * subr.el (shell-quote-argument): Escape correctly under Windows.
11238
11239 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11240
11241 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11242 Use correct match group (bug#8438).
11243
11244 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11245
11246 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11247 (package-menu--generate): New arg specifying packages to show.
11248 (package-menu-refresh, package-menu-execute, list-packages):
11249 Callers changed.
11250 (package-show-package-list): New function, replacing deleted
11251 package--list-packages (renamed because it is non-internal).
11252
11253 * finder.el (finder-list-matches): Use package-show-package-list
11254 instead of deleted package--list-packages.
11255
11256 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11257 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11258 (vc-annotate-mode-map): Bind it to RET.
11259
11260 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11261
11262 * progmodes/etags.el (next-file): Don't use set-buffer to change
11263 buffers (Bug#8478).
11264
11265 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11266
11267 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11268
11269 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11270 (apropos-accumulator): Doc fix.
11271 (apropos-function, apropos-macro, apropos-command)
11272 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11273 (apropos-plist): Add face property.
11274 (apropos-symbols-internal): Fix indentation.
11275 (apropos-print): Simplify help, and recognize apropos-multi-type.
11276 (apropos-print-doc): Use button-type-get to extract the button's
11277 face property. Fill docstring (Bug#8352).
11278
11279 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11280
11281 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11282
11283 * play/mpuz.el (mpuz-silent): Doc fix.
11284 (mpuz-mode-map): Use mapc.
11285 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11286 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11287 Fix typos in docstrings.
11288
11289 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11290 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11291
11292 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11293
11294 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11295
11296 * minibuffer.el (completion--do-completion): Avoid the "Next char
11297 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11298
11299 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11300 mouse-2 into unread-command-events, it is interpreted correctly.
11301
11302 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11303 (image-toggle-display): Doc fix.
11304
11305 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11306
11307 * textmodes/page.el (what-page): Use line-number-at-pos to
11308 calculate line number (Bug#6825).
11309
11310 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11311
11312 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11313 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11314 Pass argument NO-DEFAULT to `find-tag-interactive'.
11315
11316 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11317
11318 Lexical-binding cleanup.
11319
11320 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11321 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11322 * progmodes/ada-prj.el (ada-prj-initialize-values)
11323 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11324 (ada-prj-show-value):
11325 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11326 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11327 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11328 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11329 * progmodes/bug-reference.el (bug-reference-push-button):
11330 * progmodes/fortran.el (fortran-line-length):
11331 * progmodes/glasses.el (glasses-change):
11332 * progmodes/octave-mod.el (octave-fill-paragraph):
11333 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11334 (python-pdbtrack-grub-for-buffer, python-sentinel):
11335 * progmodes/sql.el (sql-save-connection):
11336 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11337 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11338 Mark unused parameters.
11339
11340 * progmodes/compile.el (compilation--flush-directory-cache)
11341 (compilation--flush-parse, compile-internal): Mark unused parameters.
11342 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11343 (compilation-next-error-function): Remove unused variable `timestamp'.
11344
11345 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11346 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11347
11348 * progmodes/dcl-mode.el (dcl-end-of-command):
11349 Remove unused variable `start'.
11350 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11351 (dcl-option-value-basic, dcl-option-value-offset)
11352 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11353 Mark unused parameters.
11354 (dcl-save-local-variable): Remove unused variable `val'.
11355 (mode): Declare.
11356
11357 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11358 Mark unused parameters.
11359 (delphi-ignore-changes): Move before first use.
11360 (delphi-charset-token-at): Remove unused variable `start'.
11361 (delphi-else-start): Remove unused variable `if-count'.
11362 (delphi-comment-block-start, delphi-comment-block-end):
11363 Remove unused variable `kind'.
11364 (delphi-indent-line): Remove unused variable `new-point'.
11365
11366 * progmodes/ebrowse.el (ebrowse-files-list)
11367 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11368 Mark unused parameters. Don't quote `lambda'.
11369 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11370 Don't quote `lambda'.
11371 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11372 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11373 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11374 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11375 Use `ignore-errors'.
11376 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11377 (ebrowse-view/find-file-and-search-pattern)
11378 (ebrowse-view/find-member-declaration/definition):
11379 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11380 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11381 Rename parameter PREFIX-ARG to PREFIX.
11382 (ebrowse-tags-read-name): Remove unused variables `start' and
11383 `member-info'.
11384 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11385 to `tags-file'.
11386
11387 * progmodes/etags.el (local-find-tag-hook): Declare.
11388 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11389 Mark unused parameters.
11390
11391 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11392 (executable-interpret): Mark unused parameter.
11393
11394 * progmodes/flymake.el (flymake-process-sentinel)
11395 (flymake-after-change-function)
11396 (flymake-create-temp-with-folder-structure)
11397 (flymake-get-include-dirs-dot): Mark unused parameters.
11398 (flymake-safe-delete-directory): Remove unused variable `err'.
11399
11400 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11401 (speedbar-timer-fn, speedbar-line-text)
11402 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11403 (speedbar-center-buffer-smartly): Declare functions.
11404 (gdb-find-watch-expression): Remove unused variable `array'.
11405 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11406 (gdb-starting): Mark unused parameters.
11407 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11408 (gdb-table-string): Remove unused variable `res'.
11409 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11410 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11411 (gdb-display-buffer): Remove unused variable `cur-size'.
11412
11413 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11414 allow lexical-binding compilation.
11415 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11416 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11417 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11418 Mark unused parameters.
11419 (gud-gdb-marker-filter): Remove unused variable `match'.
11420 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11421 lambda expressions and funcall them, instead of using `fset'.
11422
11423 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11424 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11425
11426 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11427 variable `header-beg'; use `let'.
11428
11429 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11430 `restart', `last-sexp' and `at-do'.
11431
11432 * progmodes/js.el (js--debug): Mark unused parameter.
11433 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11434 (js--splice-into-items): Remove unused variable `item'.
11435 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11436
11437 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11438 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11439 (makefile-complete): Remove unused variable `try'.
11440 (makefile-fill-paragraph, makefile-match-function-end):
11441 Mark unused parameters.
11442
11443 * progmodes/octave-inf.el (inferior-octave-complete):
11444 Remove unused variable `proc'.
11445 (inferior-octave-output-digest): Mark unused parameter.
11446
11447 * progmodes/perl-mode.el (perl-calculate-indent):
11448 Remove unused variable `err'.
11449
11450 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11451 (prolog-indent-line): Mark unused parameters.
11452 (prolog-indent-line): Remove unused variable `beg'.
11453
11454 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11455 (reporter-dont-compact-list): Declare.
11456
11457 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11458 Remove unused variable `char'.
11459 (sh-debug): Mark unused parameter.
11460 (sh-get-indent-info): Remove unused variable `start'.
11461 (sh-calculate-indent): Remove unused variable `var'.
11462
11463 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11464 (simula-electric-keyword): Remove unused variable `null'.
11465 (simula-search-backward, simula-search-forward): Remove unused
11466 variables `begin' and `end'.
11467
11468 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11469 Remove unused variable `pos'.
11470 (vera-electric-tab, vera-comment-uncomment-region):
11471 Mark unused parameters.
11472 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11473
11474 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11475
11476 * emacs-lisp/package.el (package--builtins, package-alist)
11477 (package-load-descriptor, package-built-in-p, package-activate)
11478 (define-package, package-installed-p)
11479 (package-compute-transaction, package-buffer-info)
11480 (package--push): Doc fix. Distinguish more clearly between
11481 version strings and version lists.
11482
11483 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11484
11485 Lexical-binding cleanup.
11486
11487 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11488 (5x5-make-mutate-best):
11489 * play/fortune.el (fortune-in-buffer):
11490 * play/gomoku.el (gomoku-init-display):
11491 * play/solitaire.el (solitaire, solitaire-do-check):
11492 * play/tetris.el (tetris-default-update-speed-function):
11493 Mark unused parameters.
11494
11495 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11496 (bubbles--shift): Remove unused variable `char-org'.
11497 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11498 (bubbles--show-images): Remove unused variable `char'.
11499
11500 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11501 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11502 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11503 (decipher-analyze-buffer): Use ?\s.
11504 (decipher-make-checkpoint): Remove unused variable `mapping'.
11505
11506 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11507
11508 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11509 Remove unused variable `result'; use `let'.
11510
11511 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11512 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11513 (gametree-children-shown-p, gametree-compute-reduced-score):
11514 Use `ignore-errors'.
11515
11516 * play/handwrite.el (ps-lpr-switches): Declare.
11517 (handwrite): Remove unused variables `pmin' and `lastp'.
11518
11519 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11520
11521 * play/landmark.el (landmark-init-display)
11522 (landmark-update-naught-weights): Mark unused parameters.
11523 (landmark-y): Remove unused variable `noise'. Simplify.
11524 (landmark-human-plays): Remove unused variable `score'.
11525
11526 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11527 (mpuz-try-proposal): Remove unused variable `game'.
11528
11529 * play/zone.el (life-patterns): Declare.
11530
11531 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11532
11533 * vc/vc.el (ediff-vc-internal): Declare function.
11534
11535 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11536
11537 * shell.el: Use lexical-binding and std completion UI.
11538 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11539 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11540 comint-preoutput-filter-functions rather than on
11541 comint-output-filter-functions.
11542 (shell-command-completion, shell--command-completion-data)
11543 (shell-filename-completion, shell-environment-variable-completion)
11544 (shell-c-a-p-replace-by-expanded-directory): New functions.
11545 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11546 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11547 (shell-dynamic-complete-environment-variable): Use them.
11548 (shell-dynamic-complete-as-environment-variable)
11549 (shell-dynamic-complete-as-command): Remove.
11550 (shell-match-partial-variable): Match past point.
11551 * comint.el: Clean up use of completion-at-point-functions.
11552 (comint-completion-at-point): New function.
11553 (comint-mode): Use it completion-at-point-functions.
11554 (comint-dynamic-complete): Make it obsolete.
11555 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11556 (comint-c-a-p-replace-by-expanded-history): New function.
11557 (comint-dynamic-complete-functions)
11558 (comint-replace-by-expanded-history): Use it.
11559 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11560 termination strings. Try harder to avoid second try-completion.
11561 (completion-in-region-mode-map): Disable bindings that don't work yet.
11562
11563 * comint.el: Use lexical-binding. Require CL.
11564 (comint-dynamic-complete-functions): Use comint-filename-completion.
11565 (comint-completion-addsuffix): Tweak custom type.
11566 (comint-filename-completion, comint--common-suffix)
11567 (comint--common-quoted-suffix, comint--table-subvert)
11568 (comint--complete-file-name-data): New functions.
11569 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11570 (comint-dynamic-list-filename-completions): Use them.
11571 (comint-dynamic-simple-complete): Make obsolete.
11572
11573 * minibuffer.el (completion-in-region-mode):
11574 Keep completion-in-region-mode--predicate global.
11575 (completion-in-region--postch):
11576 Assume completion-in-region-mode--predicate is not null.
11577
11578 * progmodes/flymake.el (flymake-start-syntax-check-process):
11579 Obey `dir'. Simplify.
11580
11581 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11582 we're in VC after all.
11583
11584 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11585
11586 * vc/vc.el (vc-diff-build-argument-list-internal)
11587 (vc-version-ediff, vc-ediff): New commands.
11588 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11589
11590 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11591
11592 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11593 add sanity check.
11594
11595 * obsolete/erc-hecomplete.el: Make obsolete.
11596 * obsolete/: Standardize obsolescence info in the header.
11597
11598 2011-04-20 Glenn Morris <rgm@gnu.org>
11599
11600 * calendar/solar.el (solar-horizontal-coordinates):
11601 Use the longitude argument rather than `calendar-longitude'.
11602 (solar-date-next-longitude): Remove unused locals.
11603
11604 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11605
11606 * whitespace.el: New version 13.2.1.
11607
11608 2011-04-20 felix <EmacsWiki> (tiny change)
11609
11610 * whitespace.el (global-whitespace-mode): Keep highlight when
11611 switching between major modes on a file.
11612
11613 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11616 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11617 multi-line comments as well.
11618
11619 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11620
11621 Lexical-binding cleanup.
11622
11623 * arc-mode.el (archive-mode-revert):
11624 * cmuscheme.el (scheme-interactively-start-process):
11625 * custom.el (custom-initialize-delay):
11626 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11627 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11628 * emacs-lock.el (emacs-lock-clear-sentinel):
11629 * ezimage.el (defezimage):
11630 * follow.el (follow-avoid-tail-recenter):
11631 * fringe.el (set-fringe-mode-1):
11632 * generic-x.el (bat-generic-mode-compile):
11633 * help-mode.el (help-info-variable, help-do-xref)
11634 (help-mode-revert-buffer):
11635 * help.el (view-emacs-todo):
11636 * iswitchb.el (iswitchb-completion-help):
11637 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11638 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11639 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11640 * locate.el (locate-update):
11641 * longlines.el (longlines-encode-region)
11642 (longlines-after-change-function):
11643 * outline.el (outline-isearch-open-invisible):
11644 * ps-def.el (declare-function, charset-dimension, char-width)
11645 (encode-char):
11646 * ps-mule.el (ps-mule-plot-string):
11647 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11648 (recentf-edit-list-select, recentf-edit-list-validate)
11649 (recentf-open-files-action):
11650 * rect.el (delete-whitespace-rectangle-line)
11651 (rectangle-number-line-callback):
11652 * register.el (window-configuration-to-register)
11653 (frame-configuration-to-register):
11654 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11655 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11656 (xselect-convert-to-targets, xselect-convert-to-delete)
11657 (xselect-convert-to-filename, xselect-convert-to-charpos)
11658 (xselect-convert-to-lineno, xselect-convert-to-colno)
11659 (xselect-convert-to-os, xselect-convert-to-host)
11660 (xselect-convert-to-user, xselect-convert-to-class)
11661 (xselect-convert-to-name, xselect-convert-to-integer)
11662 (xselect-convert-to-atom, xselect-convert-to-identity):
11663 * subr.el (declare, ignore, process-kill-without-query)
11664 (text-clone-maintain):
11665 * terminal.el (te-get-char, te-tic-sentinel):
11666 * tool-bar.el (tool-bar-make-keymap):
11667 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11668 * type-break.el (type-break-mode, type-break-noninteractive-query):
11669 * view.el (View-back-to-mark):
11670 * wid-browse.el (widget-browse-action, widget-browse-widget)
11671 (widget-browse-widgets, widget-browse-sexp):
11672 * widget.el (define-widget-keywords):
11673 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11674 Mark unused parameters.
11675
11676 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11677 (align-areas): Remove unused variable `look'.
11678 (align-region): Remove unused variables `real-end' and `pos-list'.
11679
11680 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11681
11682 * bindings.el (mode-line-modified, mode-line-remote):
11683 Mark unused parameters.
11684 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11685
11686 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11687 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11688
11689 * comint.el (comint-history-isearch-pop-state)
11690 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11691 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11692 (comint-substitute-in-file-name): Doc fix.
11693
11694 * completion.el (cmpl-statistics-block): Mark unused parameter.
11695 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11696 (save-completions-to-file, load-completions-from-file):
11697 Remove unused local variable `e'.
11698
11699 * composite.el (compose-chars): Remove unused variable `len'.
11700 (lgstring-insert-glyph): Remove unused variable `g'.
11701 (compose-glyph-string): Remove unused variables `ascent',
11702 `descent', `lbearing' and `rbearing'.
11703 (compose-glyph-string-relative): Remove unused variables
11704 `lbearing', `rbearing' and `wadjust'.
11705 (compose-gstring-for-graphic): Remove unused variables `header',
11706 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11707 (compose-gstring-for-terminal): Remove unused variables `header'
11708 and `nchars'. Use `let', not `let*'.
11709
11710 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11711 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11712 (Custom-buffer-done, custom-buffer-create-internal)
11713 (custom-browse-visibility-action, custom-browse-group-tag-action)
11714 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11715 (widget-magic-mouse-down-action, custom-toggle-parent)
11716 (custom-add-parent-links, custom-toggle-hide-variable)
11717 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11718 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11719 (custom-face-menu-create, custom-variable-menu-create, get)
11720 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11721 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11722 (customize-apropos): Remove unused variable `tests'.
11723 (custom-group-value-create): Remove unused variable `hidden-p'.
11724 (sort-fold-case): Declare.
11725
11726 * cus-theme.el (custom-reset-standard-faces-list)
11727 (custom-reset-standard-variables-list): Declare.
11728 (customize-create-theme, custom-theme-revert, custom-theme-write)
11729 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11730 Mark unused parameters.
11731
11732 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11733
11734 * delim-col.el (delimit-columns-max): Move defvar before first use.
11735
11736 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11737 (describe-char): Don't quote `lambda'. Mark unused parameter.
11738
11739 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11740 (auto-insert): Declare.
11741 (desktop-restore-file-buffer): Rename desktop-* parameters;
11742 mark unused ones.
11743 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11744 (desktop-buffer): Rename desktop-* parameters.
11745
11746 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11747 (dframe-reposition-frame-xemacs, dframe-help-echo)
11748 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11749 Mark unused parameters.
11750
11751 * dired-aux.el (backup-extract-version-start, overwrite-query)
11752 (overwrite-backup-query, rename-regexp-query)
11753 (rename-non-directory-query): Declare.
11754 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11755 (dired-add-entry): Remove unused variable `orig-file-name'.
11756 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11757 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11758 `dired-copy-preserve-time' directly.
11759 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11760 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11761
11762 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11763 (dired-virtual-revert, dired-make-relative-symlink):
11764 Mark unused parameters.
11765 (manual-program): Declare.
11766 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11767 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11768 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11769
11770 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11771
11772 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11773
11774 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11775 Declare.
11776
11777 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11778
11779 * electric.el (Electric-command-loop): Rename parameter
11780 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11781
11782 * expand.el (expand-in-literal): Remove unused variable `here'.
11783
11784 * facemenu.el (facemenu-add-new-color):
11785 Remove unused variable `docstring'.
11786
11787 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11788 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11789 (face-attr-construct): Mark unused parameter. Doc fix.
11790 (read-color): Remove unused variable `hex-string'.
11791
11792 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11793 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11794 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11795 (display-buffer-other-frame): Remove unused variable `old-window'.
11796 (kill-buffer-hook): Declare.
11797 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11798 Mark unused parameters.
11799 (after-find-file): Pass 1 to `auto-save-mode', not t.
11800
11801 * files-x.el (auto-insert): Declare.
11802 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11803
11804 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11805 variable `buf'. Mark unused parameter.
11806 (find-lisp-insert-directory): Mark unused parameter.
11807
11808 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11809 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11810 (format-common-tail): Remove, unused.
11811 (format-deannotate-region): Remove unused variable `loc'.
11812 (format-annotate-region): Remove unused variable `p'.
11813 (format-annotate-single-property-change): Remove unused variables
11814 `default' and `tail'.
11815
11816 * forms.el (read-file-filter): Declare.
11817 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11818
11819 * frame.el (frame-creation-function-alist): Mark unused parameter.
11820 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11821
11822 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11823 Remove unused parameters.
11824 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11825 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11826
11827 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11828 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11829 (hfy-prepare-tag-map): Mark unused parameters.
11830 (htmlfontify-buffer): Use `called-interactively-p'.
11831
11832 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11833 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11834 (ibuffer-do-occur): Mark unused parameters.
11835 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11836 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11837
11838 * ibuffer.el: Don't quote `lambda'.
11839 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11840 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11841 Mark unused parameters.
11842
11843 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11844 (ido-completing-read): Mark unused parameters.
11845 (ido-copy-current-word): Mark unused parameters;
11846 remove unused variable `name'.
11847 (ido-sort-merged-list): Remove unused parameter `dirs'.
11848
11849 * ielm.el (ielm-input-sender): Mark unused parameter.
11850 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11851 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11852 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11853 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11854 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11855
11856 * image-dired.el (image-dired-display-thumbs): Remove unused
11857 variables `curr-file' and `count'.
11858 (image-dired-remove-tag): Remove unused variable `start'.
11859 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11860 variable `curr-file'
11861 (image-dired-rotate-original): Remove unused variable `temp-file'.
11862 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11863 Remove unused variable `file'.
11864 (image-dired-gallery-generate): Remove unused variable `curr'.
11865 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11866
11867 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11868
11869 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11870
11871 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11872
11873 * isearch.el (minibuffer-history-symbol): Declare.
11874 (isearch-edit-string): Remove unused variable `err'.
11875 (isearch-message-prefix, isearch-message-suffix):
11876 Mark unused parameters.
11877
11878 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11879
11880 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11881
11882 * makesum.el (double-column): Remove unused variable `cnt'.
11883
11884 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11885 (ido-ignore-item-temp-list): Declare.
11886
11887 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11888 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11889 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11890 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11891 `mouse-col-delta'.
11892
11893 * mouse-sel.el (mouse-extend-internal):
11894 Remove unused variable `orig-window-frame'.
11895
11896 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11897 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11898 Move declarations before first use.
11899 (pcomplete-opt): Mark unused parameters; doc fix.
11900
11901 * proced.el (proced-revert): Mark unused parameter.
11902 (proced-send-signal): Remove unused variable `err'.
11903
11904 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11905 Rename parameter PREFIX-ARG to ARG.
11906 (ps-basic-plot-string, ps-basic-plot-whitespace):
11907 Mark unused parameters.
11908
11909 * replace.el (replace-count): Define.
11910 (occur-revert-function): Mark unused parameters.
11911 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11912 (isearch-case-fold-search, isearch-string): Declare.
11913 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11914 bind `case-fold-search'. Remove unused variables `beg' and `end',
11915 and simplify.
11916 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11917 COUNT and bind `replace-count'.
11918 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11919 to COUNT.
11920
11921 * savehist.el (print-readably, print-string-length): Declare.
11922
11923 * shadowfile.el (shadow-expand-cluster-in-file-name):
11924 Remove unused variable `cluster'.
11925 (shadow-copy-file): Remove unused variable `i'.
11926 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11927 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11928 (shadow-define-literal-group, shadow-define-regexp-group)
11929 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11930
11931 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11932 (shell): Use `called-interactively-p'.
11933 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11934
11935 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11936 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11937 (delete-backward-char): Remove unused variable `ocol'.
11938 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11939 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11940 (event-apply-hyper-modifier, event-apply-shift-modifier)
11941 (event-apply-control-modifier, event-apply-meta-modifier):
11942 Mark unused parameters.
11943 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11944 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11945
11946 * speedbar.el (speedbar-ignored-directory-expressions)
11947 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11948 (speedbar-find-file, speedbar-dir-follow)
11949 (speedbar-directory-buttons-follow, speedbar-tag-find)
11950 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11951 (speedbar-buffers-line-directory, speedbar-buffer-click):
11952 Mark unused parameters.
11953 (speedbar-tag-file): Remove unused variable `mode'.
11954 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11955
11956 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11957
11958 * talk.el (talk): Remove unused variable `display'.
11959
11960 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11961 (tar-write-region-annotate): Mark unused parameter.
11962
11963 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11964 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11965 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11966 warning by another.
11967
11968 * time-stamp.el (time-stamp-string-preprocess):
11969 Remove unused variable `require-padding'.
11970
11971 * tree-widget.el (widget-glyph-enable): Declare.
11972 (tree-widget-action): Mark unused parameter.
11973
11974 * w32-fns.el (x-get-selection): Mark unused parameter.
11975 (autoload-make-program, generated-autoload-file): Declare.
11976
11977 * wdired.el (wdired-revert): Mark unused parameters.
11978 (wdired-xcase-word): Remove unused variable `err'.
11979
11980 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11981 (whitespace-help-scroll): Remove unused variable `data-help'.
11982
11983 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11984 (widget-image-insert, widget-after-change, default)
11985 (widget-default-format-handler, widget-default-notify)
11986 (widget-default-prompt-value, widget-info-link-action)
11987 (widget-url-link-action, widget-function-link-action)
11988 (widget-variable-link-action, widget-file-link-action)
11989 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11990 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11991 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11992 (widget-insert-button-action, widget-delete-button-action, visibility)
11993 (widget-documentation-link-action, widget-documentation-string-action)
11994 (widget-const-prompt-value, widget-regexp-match, symbol)
11995 (widget-coding-system-prompt-value)
11996 (widget-key-sequence-value-to-external, sexp)
11997 (widget-sexp-value-to-internal, character, vector, cons)
11998 (widget-choice-prompt-value, widget-boolean-prompt-value)
11999 (widget-color--choose-action): Mark unused parameters.
12000 (widget-item-match-inline, widget-choice-match-inline)
12001 (widget-checklist-match, widget-checklist-match-inline)
12002 (widget-group-match): Rename parameter VALUES to VALS.
12003 (widget-field-value-set): Remove unused variable `size'.
12004 (widget-color-action): Remove unused variables `value' and `start'.
12005
12006 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12007 variable `dir'. Doc fix.
12008 (windmove-find-other-window): Don't pass it.
12009
12010 * window.el (count-windows): Mark unused parameter.
12011 (bw-adjust-window): Remove unused variable `err'.
12012
12013 * woman.el (woman-file-name): Remove unused variable `default'.
12014 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12015 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12016 (global-font-lock-mode): Declare.
12017 (woman-decode-region): Mark unused parameter.
12018 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12019
12020 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12021 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12022 (x-dnd-handle-moz-url): Remove unused variable `title'.
12023 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12024
12025 * xml.el (xml-parse-tag, xml-parse-attlist):
12026 Remove unused variable `pos'.
12027
12028 2011-04-19 Glenn Morris <rgm@gnu.org>
12029
12030 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12031 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12032 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12033 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12034 * calendar/cal-html.el (cal-html-insert-minical):
12035 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12036 (calendar-mark-date-pattern):
12037 Prefix "unused" locals.
12038
12039 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12040 optional argument `style'.
12041
12042 * calendar/appt.el (appt-make-list):
12043 * calendar/cal-china.el (calendar-chinese-date-string):
12044 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12045 (diary-hebrew-yahrzeit):
12046 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12047 * calendar/calendar.el (calendar-generate-window):
12048 * calendar/time-date.el (time-to-days):
12049 Remove unused local variables.
12050
12051 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12052
12053 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12054 glyphless-char-display table.
12055 (tabulated-list-glyphless-char-display): New var.
12056
12057 2011-04-18 Sam Steingold <sds@gnu.org>
12058
12059 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12060 to acknowledgments.
12061
12062 2011-04-17 Glenn Morris <rgm@gnu.org>
12063
12064 * calendar/diary-lib.el (diary-sexp-entry):
12065 * calendar/holidays.el (holiday-sexp):
12066 Set debug-on-error rather than the removed stack-trace-on-error.
12067
12068 2011-04-16 Glenn Morris <rgm@gnu.org>
12069
12070 * progmodes/f90.el: Use lexical-binding.
12071 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12072
12073 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12076 (mail-mode): Setup mailalias completion here instead.
12077 * mail/mailalias.el: Use lexical-binding.
12078 (pattern, mailalias-done): Declare dynamic.
12079 (mail-completion-at-point-function): New function, from mail-complete.
12080 (mail-complete): Use it.
12081 (mail-completion-expand): New function.
12082 (mail-get-names): Use it.
12083 (mail-directory, mail-directory-process, mail-directory-stream):
12084 Don't use `pattern' for lexically bound arg.
12085
12086 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12087
12088 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12089 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12090 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12091
12092 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12093 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12094 (byte-interactive-p): Define them again, for use when inlining
12095 old code.
12096
12097 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12098
12099 * loadup.el: Use `string-to-number', not `string-to-int'.
12100
12101 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12104 gud-gdb-complete-command.
12105 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12106 (gud-gdb-completion-at-point): New function.
12107 (gud-gdb-completions): Remove.
12108
12109 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12110
12111 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12112 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12113 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12114 whether `executable-find' is bound.
12115
12116 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12117
12118 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * minibuffer.el (completion-in-region-mode-predicate)
12121 (completion-in-region-mode--predicate): New vars.
12122 (completion-in-region, completion-in-region--postch)
12123 (completion-in-region-mode): Use them.
12124 (completion--capf-wrapper): Also return the hook function.
12125 (completion-at-point, completion-help-at-point):
12126 Adjust and provide a predicate.
12127
12128 Preserve arg names for advice of subr and lexical functions (bug#8457).
12129 * help-fns.el (help-function-arglist): Consolidate the subr and
12130 new-byte-code cases. Add argument `preserve-names' to extract names
12131 from the docstring when needed.
12132 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12133 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12134 (ad-arglist): Use help-function-arglist's new arg.
12135 (ad-definition-type): Use cond.
12136
12137 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12138
12139 * autorevert.el (auto-revert-handler):
12140 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12141 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12142 Don't quote lambda.
12143
12144 * image-mode.el (image-transform-set-scale):
12145 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12146
12147 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12148
12149 * net/network-stream.el (network-stream-open-starttls): Only do
12150 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12151 Upgrades via gnutls-cli are too slow to be done opportunistically.
12152
12153 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12154
12155 * dframe.el (dframe-current-frame): Remove spurious quote.
12156
12157 2011-04-12 Glenn Morris <rgm@gnu.org>
12158
12159 * calendar/cal-tex.el (cal-tex-end-document):
12160 Try to automatically use latin1 input if needed.
12161
12162 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12163 Don't try to cons a mark onto an empty element.
12164
12165 2011-04-11 Leo Liu <sdl.web@gmail.com>
12166
12167 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12168 buffers.
12169 (ido-kill-buffer-at-head): Support killing virtual buffers.
12170
12171 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12172
12173 * minibuffer.el (completion-show-inline-help): New var.
12174 (completion--do-completion, minibuffer-complete)
12175 (minibuffer-force-complete, minibuffer-complete-word):
12176 Inhibit minibuffer messages if completion-show-inline-help is nil.
12177
12178 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12179 to avoid interference from inline help (Bug#5849).
12180
12181 2011-04-10 Leo Liu <sdl.web@gmail.com>
12182
12183 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12184 Fix typo.
12185
12186 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12187
12188 * image-mode.el (image-toggle-display-image): Signal an error if
12189 not in Image mode.
12190 (image-transform-mode, image-transform-resize)
12191 (image-transform-set-rotation): Doc fix.
12192 (image-transform-set-resize): Delete.
12193 (image-transform-set-scale, image-transform-fit-to-height)
12194 (image-transform-fit-to-width): Handle image-toggle-display-image
12195 and image-transform-resize directly.
12196
12197 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12198
12199 * doc-view.el (doc-view-fit-width-to-window)
12200 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12201 New functions for fitting the shown image to the Emacs window size.
12202 (doc-view-mode-map): Add bindings for the new functions.
12203
12204 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12205
12206 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12207 Fix typo in docstring.
12208
12209 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12210
12211 * files.el (file-size-human-readable): Produce one digit after
12212 decimal, like "ls -lh" does.
12213
12214 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12215 the file size representation.
12216
12217 * simple.el (list-processes): If async subprocesses are not
12218 available, error out with a clear error message.
12219
12220 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12221
12222 * help.el (help-form-show): New function, to be called from C.
12223 Put help-form output in a buffer named differently than *Help*.
12224
12225 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12226
12227 * files.el (file-size-human-readable): New function.
12228
12229 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12230 computing the representation inline. Don't require `cl'.
12231
12232 2011-04-08 Glenn Morris <rgm@gnu.org>
12233
12234 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12235
12236 * net/browse-url.el (browse-url-firefox):
12237 Test system-type, not system-configuration.
12238
12239 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12240 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12241 Use log-edit-empty-buffer-p. (Bug#7598)
12242
12243 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12244 (rlogin-mode-map): Initialize in the defvar.
12245 (rlogin): Use ignore-errors.
12246
12247 * replace.el (occur-mode-map): Some fixes for menu items.
12248
12249 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12250
12251 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12252
12253 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12254
12255 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12256 issuing unused warnings.
12257
12258 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12259 macro directly.
12260
12261 * simple.el: Lisp reimplement of list-processes. Based on an
12262 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12263 (process-menu-mode): New major mode.
12264 (list-processes--refresh, list-processes):
12265 (process-menu-visit-buffer): New functions.
12266
12267 * files.el (save-buffers-kill-emacs): Don't assume any return
12268 value of list-processes, which is undocumented anyway.
12269
12270 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12271
12272 * emacs-lisp/tabulated-list.el: New file.
12273
12274 * emacs-lisp/package.el: Use Tabulated List mode.
12275 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12276 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12277 table format using Tabulated List mode variables.
12278 (package--push): New macro, replacing package-list-maybe-add.
12279 (package-menu--generate): Use package--push. Renamed from
12280 package--generate-package-list.
12281 (package-menu-refresh, list-packages): Use it.
12282 (package-menu--print-info): Rename from package-print-package.
12283 Return insertion data instead of inserting it directly.
12284 (package-menu-describe-package, package-menu-execute):
12285 Use tabulated-list-get-id.
12286 (package-menu-mark-delete, package-menu-mark-install)
12287 (package-menu-mark-unmark, package-menu-backup-unmark)
12288 (package-menu-mark-obsolete-for-deletion):
12289 Use tabulated-list-put-tag.
12290 (package--list-packages, package-menu-revert)
12291 (package-menu-get-package, package-menu-get-version)
12292 (package-menu-sort-by-column): Functions deleted.
12293 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12294 (package-menu--status-predicate, package-menu--version-predicate)
12295 (package-menu--name-predicate)
12296 (package-menu--description-predicate): Handle arguments in the
12297 Tabulated List format.
12298 (package-list-packages-no-fetch): Call list-packages.
12299
12300 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12301
12302 * files.el (after-find-file-from-revert-buffer): Remove variable.
12303 (after-find-file): Don't bind it.
12304 (revert-buffer-in-progress-p): New variable.
12305 (revert-buffer): Bind it.
12306 Pass nil for `after-find-file-from-revert-buffer'.
12307
12308 * saveplace.el (save-place-find-file-hook): Use new variable
12309 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12310
12311 2011-04-06 Glenn Morris <rgm@gnu.org>
12312
12313 * Makefile.in (AUTOGEN_VCS): New variable.
12314 (autoloads): Use $AUTOGEN_VCS.
12315
12316 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12317 * calendar/calendar.el (calendar-mode-map):
12318 Check for toolkit scroll bars. (Bug#8305)
12319
12320 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12321
12322 * minibuffer.el (completion-in-region--postch)
12323 (completion-in-region-mode): Remove unnecessary messages.
12324
12325 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12326
12327 * font-lock.el (font-lock-refresh-defaults):
12328 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12329 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12330
12331 * info.el (Info-directory-list, Info-read-node-name-2)
12332 (Info-split-parameter-string): Doc fixes.
12333 (Info-virtual-nodes): Reflow docstring.
12334 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12335 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12336 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12337 Fix typos in docstrings.
12338 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12339 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12340 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12341 (Info-restore-desktop-buffer): Mark unused parameters.
12342 (Info-directory-find-file, Info-directory-find-node)
12343 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12344 (Info-virtual-index-find-node, Info-apropos-find-file)
12345 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12346 Mark unused parameters; fix typos in docstrings.
12347 (Info-virtual-index): Remove unused local variable `nodename'.
12348
12349 2011-04-05 Deniz Dogan <deniz@dogan.se>
12350
12351 * net/rcirc.el: Update my e-mail address.
12352 (rcirc-mode-map): Remove M-o binding.
12353
12354 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12355
12356 * startup.el (command-line): Save the cursor's theme-face
12357 directly, instead of using face-override-spec.
12358
12359 * custom.el (load-theme): Minor optimization in assigning faces.
12360
12361 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12362
12363 * help-fns.el (describe-variable): Complete all variables having
12364 documentation, including keywords.
12365 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12366
12367 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12368
12369 Convert to lexical-binding.
12370
12371 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12372 (bs--get-marked-string, bs--get-modified-string)
12373 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12374 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12375 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12376
12377 * ehelp.el (electric-help-execute-extended)
12378 (electric-help-ctrl-x-prefix):
12379 * hexl.el (hexl-revert-buffer-function):
12380 * linum.el (linum-after-change, linum-after-scroll):
12381 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12382
12383 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12384
12385 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12386
12387 * epa-dired.el:
12388 * epa-mail.el:
12389 * epa-hook.el:
12390 * epa-file.el:
12391 * epa.el:
12392 * epg.el: Use lexical binding.
12393
12394 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12395
12396 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12397
12398 * textmodes/flyspell.el (flyspell-word): Recognize default
12399 dictionary case for flyspell-mark-duplications-exceptions.
12400 Use regexp matching for languages.
12401 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12402 default dictionary (Bug#7926).
12403
12404 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12405
12406 * emacs-lisp/package.el (package--with-work-buffer):
12407 Recognize https URLs.
12408
12409 * net/network-stream.el: Move from gnus/proto-stream.el.
12410 Change prefix to network-stream throughout.
12411 (open-protocol-stream): Merge into open-network-stream, leaving
12412 open-protocol-stream as an alias. Handle nil BUFFER args.
12413
12414 * subr.el (open-network-stream): Move to net/network-stream.el.
12415
12416 2011-04-02 Glenn Morris <rgm@gnu.org>
12417
12418 * find-dired.el (find-exec-terminator): New option.
12419 (find-ls-option): Test for -ls support.
12420 (find-ls-subdir-switches): Test for -b in find-ls-option.
12421 (find-dired, find-grep-dired): Doc fixes.
12422 (find-dired): Use find-exec-terminator.
12423
12424 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12425 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12426 (find-name-arg): Remove purecopy.
12427
12428 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12429 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12430 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12431 accordingly. Don't add the null-device if not needed.
12432
12433 * files.el (save-some-buffers): Doc fix.
12434
12435 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12436
12437 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12438
12439 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12440
12441 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12442 Use `dolist' rather than `mapcar'.
12443
12444 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12445
12446 Add lexical binding.
12447
12448 * subr.el (apply-partially): Use new closures rather than CL.
12449 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12450 (dolist, dotimes): Use slightly different expansion for lexical code.
12451 (functionp): Move to C.
12452 (letrec): New macro.
12453 (with-wrapper-hook): Use it and apply-partially instead of CL.
12454 (eval-after-load): Preserve lexical-binding.
12455 (save-window-excursion, with-output-to-temp-buffer): Turn them
12456 into macros.
12457
12458 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12459
12460 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12461 than the arglist.
12462 (help-add-fundoc-usage): Don't add `Not documented'.
12463 (help-function-arglist): Handle closures, subroutines, and new
12464 byte-code-functions.
12465 (help-make-usage): Remove leading underscores.
12466 (describe-function-1): Handle closures.
12467 (describe-variable): Use special-variable-p for completion.
12468
12469 * files.el (lexical-binding): Declare safe.
12470
12471 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12472 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12473 (pcase): Add `let' pattern.
12474 Change memoization so it actually works.
12475 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12476 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12477 <let>: New case.
12478
12479 * emacs-lisp/macroexp.el: Use lexical binding.
12480 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12481 Don't convert ' to #' without checking that it's indeed quoting
12482 a lambda.
12483
12484 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12485 Use eval-sexp-add-defvars.
12486 (eval-sexp-add-defvars): New fun.
12487
12488 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12489
12490 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12491 Don't autoload.
12492 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12493 than the internal `byte-compile-lambda'.
12494 (defmethod): Don't hide code under quotes.
12495 (eieio-defmethod): New `code' argument.
12496
12497 * emacs-lisp/eieio-comp.el: Remove.
12498
12499 * emacs-lisp/edebug.el (edebug-eval-defun)
12500 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12501 (edebug-toggle): Avoid `eval'.
12502
12503 * emacs-lisp/disass.el (disassemble-internal): Handle new
12504 `closure' objects.
12505 (disassemble-1): Handle new byte codes.
12506
12507 * emacs-lisp/cl.el (pushnew): Silence warning.
12508
12509 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12510 (cl-byte-compile-throw): Remove.
12511 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12512
12513 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12514 closures.
12515
12516 * emacs-lisp/cconv.el: New file.
12517
12518 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12519 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12520 (byte-compile-initial-macro-environment):
12521 Handle declare-function here.
12522 (byte-compile--lexical-environment): New var.
12523 (byte-stack-ref, byte-stack-set, byte-discardN)
12524 (byte-discardN-preserve-tos): New lap codes.
12525 (byte-interactive-p): Don't use any more.
12526 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12527 New macros.
12528 (byte-compile-lapcode): Use them and handle new lap codes.
12529 (byte-compile-obsolete): Remove.
12530 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12531 (byte-compile-arglist-warn): Check late def of inlinable funs.
12532 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12533 since they should have been expanded by now.
12534 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12535 (byte-compile-from-buffer): Remove unused second arg.
12536 (byte-compile-preprocess): New function.
12537 (byte-compile-toplevel-file-form): New function to distinguish
12538 file-form calls from outside from file-form calls from hunk-handlers.
12539 (byte-compile-file-form): Simplify.
12540 (byte-compile-file-form-defsubst): Remove.
12541 (byte-compile-file-form-defmumble): Simplify now that
12542 byte-compile-lambda always returns a byte-code-function.
12543 (byte-compile): Preprocess.
12544 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12545 Remove, not used any more.
12546 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12547 (byte-compile-make-args-desc): New funs.
12548 (byte-compile-lambda): Handle lexical functions. Always return
12549 a byte-code-function.
12550 (byte-compile-reserved-constants): New var, to make up room for
12551 closed-over variables.
12552 (byte-compile-constants-vector): Obey it.
12553 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12554 (byte-compile-macroexpand-declare-function): New function.
12555 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12556 byte-code-functions.
12557 (byte-compile-form): Check obsolescence here.
12558 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12559 (byte-compile-variable-ref): Remove.
12560 (byte-compile-dynamic-variable-op): New fun.
12561 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12562 (byte-compile-variable-set): New funs.
12563 (byte-compile-discard): Add 2 args.
12564 (byte-compile-stack-ref, byte-compile-stack-set)
12565 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12566 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12567 macroexpand-all instead.
12568 (byte-compile-quote-form): Remove.
12569 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12570 (byte-compile-bind, byte-compile-unbind): New funs.
12571 (byte-compile-let): Handle let* and lexical binding.
12572 (byte-compile-let*): Remove.
12573 (byte-compile-catch, byte-compile-unwind-protect)
12574 (byte-compile-track-mouse, byte-compile-condition-case):
12575 Handle a new :fun-body form, used for lexical scoping.
12576 (byte-compile-save-window-excursion)
12577 (byte-compile-with-output-to-temp-buffer): Remove.
12578 (byte-compile-defun): Simplify.
12579 (byte-compile-stack-adjustment): New fun.
12580 (byte-compile-out): Use it.
12581 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12582
12583 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12584 handler any more.
12585
12586 * emacs-lisp/byte-opt.el: Use lexical binding.
12587 (byte-inline-lapcode): Remove (to bytecomp).
12588 (byte-compile-inline-expand): Pay attention to inlining to/from
12589 lexically bound code.
12590 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12591 any more.
12592 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12593 any more and don't call compiler-macros.
12594 (byte-compile-splice-in-already-compiled-code): Remove.
12595 (byte-code): Don't inline any more.
12596 (disassemble-offset): Receive `bytes' as argument rather than via
12597 dynamic scoping.
12598 (byte-compile-tag-number): Declare before first use.
12599 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12600 `return' even if make-spliceable.
12601 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12602 obsolete interactive-p.
12603 (byte-optimize-lapcode): Optimize new lap-codes.
12604 Don't trip up on new form of `byte-constant' lap code.
12605
12606 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12607
12608 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12609
12610 * custom.el (custom-initialize-default, custom-declare-variable):
12611 Use `defvar'.
12612
12613 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12614 New variables.
12615 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12616 (COMPILE_FIRST): Add macroexp and cconv.
12617 * makefile.w32-in: Mirror changes in Makefile.in.
12618
12619 * vc/cvs-status.el:
12620 * vc/diff-mode.el:
12621 * vc/log-edit.el:
12622 * vc/log-view.el:
12623 * vc/smerge-mode.el:
12624 * textmodes/bibtex-style.el:
12625 * textmodes/css.el:
12626 * startup.el:
12627 * uniquify.el:
12628 * minibuffer.el:
12629 * newcomment.el:
12630 * reveal.el:
12631 * server.el:
12632 * mpc.el:
12633 * emacs-lisp/smie.el:
12634 * doc-view.el:
12635 * dired.el:
12636 * abbrev.el: Use lexical binding.
12637
12638 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12639
12640 * info.el (info-display-manual): New function.
12641
12642 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12643
12644 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12645
12646 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12647
12648 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12649 an entry for that server in rcirc-authinfo. (Bug#8385)
12650
12651 2011-03-31 Glenn Morris <rgm@gnu.org>
12652
12653 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12654
12655 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12656
12657 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12658
12659 * progmodes/python.el (python-default-interpreter)
12660 (python-python-command-args, python-jython-command-args)
12661 (python-which-shell, python-which-args, python-which-bufname)
12662 (python-file-queue, python-comint-output-filter-function)
12663 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12664 variables and functions.
12665
12666 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12669 (completion-in-region-mode): New minor mode.
12670 (completion-in-region): Use it.
12671 (completion-in-region--data, completion-in-region-mode-map): New vars.
12672 (completion-in-region--postch): New function.
12673 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12674 New vars.
12675 (completion--capf-wrapper): New function.
12676 (completion-at-point): Use it to track well-behavedness of
12677 hook functions.
12678 (completion-help-at-point): New command.
12679
12680 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12681
12682 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12683 syntax class to search for whitespace on a single line
12684 (Message-ID: <4D938140.4030905@redhat.com>).
12685
12686 2011-03-30 Leo Liu <sdl.web@gmail.com>
12687
12688 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12689 New commands.
12690 (edit-abbrevs-map): Bind them here.
12691 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12692
12693 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12694
12695 * allout.el (allout-hide-by-annotation, allout-flag-region):
12696 Reduce possibility of overlay leakage by making them volatile.
12697
12698 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12699 hash is not shared between buffers. Mode initialization is
12700 responsible for giving it a useful starting value.
12701 (allout-item-span): Reduce possibility of overlay leakage by
12702 making them volatile.
12703 (allout-widgets-count-buttons-in-region): Add diagnostic function
12704 for tracking down button overlay leaks.
12705
12706 2011-03-29 Leo Liu <sdl.web@gmail.com>
12707
12708 * ido.el (ido-read-internal): Use the default history var
12709 minibuffer-history if no HISTORY is specified.
12710
12711 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12712
12713 * net/imap.el (imap-shell-open, imap-process-connection-type):
12714 Use imap-process-connection-type for 'shell' streams as well as
12715 Kerberos, SSL, other subprocesses.
12716
12717 2011-03-28 Leo Liu <sdl.web@gmail.com>
12718
12719 * abbrev.el (abbrev-table-empty-p): New function.
12720 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12721 nonempty ones. (Bug#5937)
12722
12723 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12724
12725 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12726
12727 2011-03-27 Leo Liu <sdl.web@gmail.com>
12728
12729 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12730 for foreground and background colors.
12731 (ansi-color-make-color-map): Adapt.
12732
12733 2011-03-25 Leo Liu <sdl.web@gmail.com>
12734
12735 * midnight.el (midnight-time-float): Remove. Note it calculates
12736 the microsecond component incorrectly and seconds-to-time does the
12737 same job.
12738 Remove redundant (require 'timer).
12739
12740 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12741 (ido-completions): Remove unused arguments. (Bug#8329)
12742
12743 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * minibuffer.el (completion--flush-all-sorted-completions):
12746 Remove itself from hook.
12747 (completion-at-point): Let the functions perform the completion
12748 immediately and return nil or t.
12749 * comint.el (comint-dynamic-complete-functions): Now identical to
12750 completion-at-point-functions.
12751 (comint-dynamic-list-input-ring): Remove unused var `index'.
12752 (comint--match-partial-filename, comint--unquote&expand-filename):
12753 New funs, split from comint-match-partial-filename.
12754 (comint-dynamic-complete): Use completion-at-point.
12755 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12756
12757 2011-03-24 Drew Adams <drew.adams@oracle.com>
12758
12759 * thingatpt.el: Support `defun'.
12760
12761 2011-03-23 Leo Liu <sdl.web@gmail.com>
12762
12763 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12764
12765 * help-mode.el (help-mode-finish): Tweak regexp.
12766
12767 2011-03-23 Glenn Morris <rgm@gnu.org>
12768
12769 * eshell/esh-opt.el (eshell-eval-using-options):
12770 Do not bind unused local variable `eshell-option-stub'.
12771
12772 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12773
12774 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12775
12776 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12777 keymap variable in `with-no-warnings' to avoid a warning when the
12778 keymap has been already `defconst'ed.
12779
12780 2011-03-22 Leo Liu <sdl.web@gmail.com>
12781
12782 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12783 encode all chars in abbrevs; otherwise use emacs-mule or
12784 utf-8-emacs. (Bug#8308)
12785
12786 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12787
12788 * simple.el (backward-delete-char-untabify):
12789 Avoid warning about using `delete-backward-char'.
12790
12791 * image.el (image-type-file-name-regexps): Make it variable.
12792 `imagemagick-register-types' modifies it, and the user may want
12793 to add new extensions for known image types.
12794 (imagemagick-register-types): Throw error if not using ImageMagick.
12795
12796 2011-03-22 Leo Liu <sdl.web@gmail.com>
12797
12798 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12799 located before rcirc-prompt-end-marker.
12800 (rcirc-complete): Error if point is not after rcirc prompt.
12801 Handle the case when table is nil.
12802 (rcirc-user-authenticated): Define to fix compiler warning.
12803
12804 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12805
12806 * custom.el (custom--inhibit-theme-enable): Make it affect only
12807 custom-theme-set-variables and custom-theme-set-faces.
12808 (provide-theme): Ignore custom--inhibit-theme-enable.
12809 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12810 (custom-enabling-themes): Delete variable.
12811 (enable-theme): Accept only loaded themes as arguments.
12812 Ignore the special custom-enabled-themes variable.
12813 (custom-enabled-themes): Forbid themes from setting this.
12814 Eliminate use of custom-enabling-themes.
12815 (custom-push-theme): Quote "changed" custom var entry.
12816
12817 2011-03-21 Leo Liu <sdl.web@gmail.com>
12818
12819 * ido.el (ido-read-internal): Add ido-selected to history instead
12820 of user input.
12821
12822 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * subr.el (deferred-action-list, deferred-action-function):
12825 Mark obsolete.
12826
12827 2011-03-21 Leo Liu <sdl.web@gmail.com>
12828
12829 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12830 change on 2011-02-13 (bug#8309).
12831
12832 * minibuffer.el (read-file-name-function): Change default value.
12833 (read-file-name--defaults): Rename from read-file-name-defaults.
12834 (read-file-name-default): Rename from read-file-name.
12835 (read-file-name): Call read-file-name-function.
12836
12837 2011-03-21 Glenn Morris <rgm@gnu.org>
12838
12839 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12840 Doc fixes.
12841
12842 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12843
12844 * cus-theme.el: Add missing provide statement.
12845 (customize-create-theme): Extract theme value correctly.
12846 (custom-theme-visit-theme): Autoload.
12847 (customize-create-theme): Prompt before inserting default faces.
12848
12849 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12850
12851 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12852 units and musical notes.
12853
12854 2011-03-20 Leo Liu <sdl.web@gmail.com>
12855
12856 * ido.el (ido-read-internal): Use completing-read-default.
12857 (ido-completing-read): Fix compatibility with completing-read.
12858
12859 2011-03-20 Christian Ohler <ohler@gnu.org>
12860
12861 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12862 (ert-delete-all-tests): Use `called-interactively-p' rather than
12863 `interactive-p'.
12864 (ert--make-xrefs-region): Respect END.
12865
12866 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12867
12868 * dired-aux.el (dired-create-directory): Signal an error if the
12869 directory already exists (Bug#8246).
12870
12871 * facemenu.el (list-colors-display): Call list-faces-display
12872 inside with-help-window.
12873 (list-colors-print): Use display property to align the final
12874 column, instead of checking window-width.
12875
12876 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12877
12878 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12879 windows-nt systems.
12880 (emerge-protect-metachars): Quote correctly for ms-dos and
12881 windows-nt systems.
12882
12883 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12884
12885 * info.el (info-initialize): Replace all uses of `:' with
12886 path-separator for compatibility with non-Unix systems.
12887 Cache quoting of path-separator. (Bug#8258)
12888
12889 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12890
12891 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12892 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12893 (mouse-avoidance-mode): Fix typos in docstrings.
12894
12895 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12896
12897 * startup.el (package-subdirectory-regexp): Move from package.el.
12898 Omit \\` and \\', and let callers add them.
12899
12900 * emacs-lisp/package.el (package-strip-version)
12901 (package-load-all-descriptors): Add \\` and \\' to
12902 package-subdirectory-regexp before using it.
12903 (package-untar-buffer): New arg DIR; ensure that file untars only
12904 into this expected directory. Remove superfluous delete-region.
12905 (package-unpack): Caller changed.
12906 (package-tar-file-info): Use package-subdirectory-regexp.
12907
12908 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12911 diff-mode-shared-map (bug#8284).
12912 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12913
12914 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12915
12916 * calendar/time-date.el (format-seconds): Use assoc instead of
12917 assoc-string, since assoc-string doesn't exist in XEmacs.
12918
12919 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12920
12921 * custom.el (custom-known-themes): Reflow docstring.
12922 (custom-theme-load-path): Fix typo in docstring.
12923 (load-theme): Fix typo in error message.
12924 (custom-available-themes, custom-variable-theme-value):
12925 Use `let', not `let*'.
12926
12927 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12928
12929 * calc/README: Mention inclusion of musical notes.
12930
12931 * calc/calc-units.el (calc-lu-quant): Rename from
12932 `calc-logunits-quantity'.
12933 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12934 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12935 (calc-db): Rename from `calc-dblevel'.
12936 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12937 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12938 (calc-np): Rename from `calc-nplevel'.
12939 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12940 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12941 (calc-lu-plus): Rename from `calc-logunits-add'.
12942 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12943 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12944 (calc-lu-minus): Rename from `calc-logunits-sub'.
12945 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12946 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12947 (calc-lu-times): Rename from `calc-logunits-mul'.
12948 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12949 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12950 (calc-lu-divide): Rename from `calc-logunits-div'.
12951 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12952 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12953
12954 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12955 functions being autoloaded.
12956
12957 * calc/calc.el (calc-lu-power-reference): Rename from
12958 `calc-logunits-power-reference'.
12959 (calc-lu-field-reference): Rename from
12960 `calc-logunits-field-reference'.
12961
12962 * calc/calc-help.el (calc-l-prefix-help):
12963 Mention musical note functions.
12964
12965 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * minibuffer.el (completion-all-sorted-completions):
12968 Use :completion-cycle-penalty text property if present.
12969
12970 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12971
12972 * allout.el (allout-yank-processing): Adjust for new rebulleting
12973 regime so bullet being yanked is used without prompting the user
12974 for a choice.
12975
12976 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12977
12978 * startup.el (command-line): Warn the user that _emacs is deprecated.
12979
12980 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12981
12982 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12983 (delphi-verbose, delphi-comment-face, delphi-string-face)
12984 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12985 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12986 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12987 (delphi-new-comment-line, delphi-font-lock-defaults)
12988 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12989 Fix typos in docstrings.
12990
12991 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12992
12993 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12994 Invert the roles of character and string values for INSTEAD, so a
12995 string is used for the more common case of a defaulting prompt.
12996
12997 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * progmodes/ruby-mode.el (ruby-backward-sexp):
13000 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13001 * play/gamegrid.el (gamegrid-make-face):
13002 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13003 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13004 * notifications.el (notifications-notify):
13005 * net/xesam.el (xesam-search-engines):
13006 * net/quickurl.el (quickurl-list-insert):
13007 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13008
13009 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13010
13011 * startup.el (command-line): Update package subdirectory regexp.
13012
13013 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * allout.el (allout-abbreviate-flattened-numbering)
13016 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13017
13018 * subr.el (read-char-choice): Only show the cursor after the prompt,
13019 not after the answer.
13020
13021 2011-03-15 Kevin Ryde <user42@zip.com.au>
13022
13023 * help-fns.el (variable-at-point): Skip leading quotes, if any
13024 (bug#8253).
13025
13026 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13027
13028 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13029 warning message.
13030
13031 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13032
13033 * shell.el (shell): When called interactively, offer to change the
13034 shell file name on remote hosts.
13035
13036 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13037
13038 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13039 integration for LDAP parameters. The host, base, user or binddn,
13040 and secret tokens can be specified in a netrc file, for instance.
13041 This is optional because an `auth-source' parameter must be
13042 specified in the search attributes.
13043
13044 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13045
13046 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13047
13048 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13051 into declaration. Remove redundant and harmful binding.
13052
13053 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13054
13055 * files.el (file-ownership-preserved-p): Pass `integer' as an
13056 explicit 2nd argument to `file-attributes'. If the file's owner
13057 is the Administrators group on Windows, and the current user is
13058 Administrator, consider that a match.
13059
13060 * server.el (server-ensure-safe-dir): Consider server directory
13061 safe on MS-Windows if its owner is the Administrators group while
13062 the current Emacs user is Administrator. Use `=' to compare
13063 numerical UIDs, since they could be integers or floats.
13064
13065 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13066
13067 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13068
13069 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13070
13071 Sync with Tramp 2.2.1.
13072
13073 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13074
13075 * net/trampver.el: Update release number.
13076
13077 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13078
13079 * progmodes/compile.el (compilation--previous-directory): Fix up
13080 various nil/dead-marker mismatches (bug#8014).
13081 (compilation-directory-properties, compilation-error-properties):
13082 Don't call it at a position past the one we're about to change.
13083
13084 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13085 Disable obsolescence warnings in the file that declares it.
13086
13087 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13088
13089 * allout-widgets.el (allout-widgets-tally):
13090 Initialize allout-widgets-tally as a hash table rather than nil to
13091 prevent mode-line redisplay warnings. Also, clarify the module
13092 description and fix a comment typo.
13093
13094 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13095
13096 * help-fns.el (describe-variable): Don't complete keywords.
13097 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13098
13099 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13100
13101 * emacs-lisp/package.el (package-version-join): Impose a standard
13102 string representation for pre/alpha/beta version lists.
13103 (package-unpack-single): Standardize the directory name by passing
13104 it through package-version-join.
13105 (package-strip-rcs-id): Accept any version string that does not
13106 signal an error in version-to-list.
13107
13108 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13109
13110 * simple.el (delete-trailing-whitespace): Return nil for the
13111 benefit of `write-file-functions'.
13112
13113 2011-03-10 Glenn Morris <rgm@gnu.org>
13114
13115 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13116
13117 * vc/vc-git.el (vc-git-program): New option.
13118 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13119 (vc-git--call): Use it.
13120
13121 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13122
13123 * cus-edit.el (Custom-newline): If no button at point, look
13124 for a subgroup button at start-of-line. (Bug#2298)
13125
13126 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13127
13128 2011-03-10 Julien Danjou <julien@danjou.info>
13129
13130 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13131 `cursor-type' is nil.
13132
13133 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13134
13135 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13136
13137 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13138
13139 * allout.el: Change so yank of distinctive-bullet items
13140 preserves the existing header prefix, rebulleting it if necessary,
13141 rather than replacing it. This is necessary for proper operation
13142 of cooperative addons like allout-widgets.
13143 (allout-make-topic-prefix, allout-rebullet-heading):
13144 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13145 value as alternate bullet to be used, instead of prompting the user
13146 for a bullet character.
13147
13148 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13149
13150 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13151 Do not use `tramp-file-name-port', because this returns also
13152 `tramp-default-port'.
13153
13154 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13155
13156 * net/rcirc.el (rcirc-handler-001): Remove useless
13157 with-rcirc-process-buffer.
13158 (rcirc-check-auth-status): Swap arguments to string-match.
13159
13160 2011-03-09 Glenn Morris <rgm@gnu.org>
13161
13162 * shell.el (shell-mode):
13163 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13164
13165 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13166 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13167
13168 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13169
13170 * emacs-lisp/package.el (package-refresh-contents)
13171 (package-menu-execute): Use condition-case-no-debug.
13172
13173 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13174
13175 * simple.el (shell-command-to-string): Use `process-file'.
13176
13177 * emacs-lisp/package.el (package-tar-file-info): Handle also
13178 remote files.
13179
13180 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13181 Use `equal' for upload base check.
13182
13183 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13184
13185 * textmodes/texinfo.el (texinfo-environments):
13186 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13187
13188 2011-03-08 Glenn Morris <rgm@gnu.org>
13189
13190 * cus-start.el (cursor-in-non-selected-windows):
13191 Fix :set quoting oddness. (Bug#8192)
13192
13193 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13194 in some setf expressions. (Bug#2159)
13195
13196 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13197
13198 * custom.el (custom-available-themes): Return themes in
13199 alphabetical order.
13200
13201 See ChangeLog.15 for earlier changes.
13202
13203 ;; Local Variables:
13204 ;; coding: utf-8
13205 ;; End:
13206
13207 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13208
13209 This file is part of GNU Emacs.
13210
13211 GNU Emacs is free software: you can redistribute it and/or modify
13212 it under the terms of the GNU General Public License as published by
13213 the Free Software Foundation, either version 3 of the License, or
13214 (at your option) any later version.
13215
13216 GNU Emacs is distributed in the hope that it will be useful,
13217 but WITHOUT ANY WARRANTY; without even the implied warranty of
13218 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13219 GNU General Public License for more details.
13220
13221 You should have received a copy of the GNU General Public License
13222 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.