]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
merge trunk
[gnu-emacs] / lisp / ChangeLog
1 2012-05-03 Kenichi Handa <handa@m17n.org>
2
3 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4 decoding, and show a warning message without signalling an error
5 (Bug#11282).
6
7 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * emacs-lisp/bytecomp.el
10 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11 since cconv.el might have introduced :fun-body, internal-make-closure,
12 and friends for bytecomp to handle (bug#11391).
13 * custom.el (defcustom): Avoid ((λ ..) ..).
14
15 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
18
19 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
20
21 * notifications.el (dbus-debug):
22 * term/linux.el (gpm-mouse-enable):
23 * term/screen.el (xterm-register-default-colors): Declare.
24
25 2012-05-02 Chong Yidong <cyd@gnu.org>
26
27 * cus-start.el (gc-cons-percentage, exec-suffixes)
28 (dos-display-scancodes, dos-hyper-key, dos-super-key)
29 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
30 (make-cursor-line-fully-visible, void-text-area-pointer)
31 (font-list-limit): Add customization data.
32
33 * allout.el (allout-exposure-change-functions)
34 (allout-structure-added-functions)
35 (allout-structure-deleted-functions)
36 (allout-structure-shifted-functions): Rename abnormal hooks from
37 *-hook, and convert to defcustoms.
38 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
39 Convert to defcustoms.
40 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
41
42 * allout-widgets.el: Hook callers changed.
43
44 2012-05-02 Eli Zaretskii <eliz@gnu.org>
45
46 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
47 the yanked message in preference to the default value of
48 buffer-file-coding-system.
49
50 2012-05-02 Martin Rudalics <rudalics@gmx.at>
51
52 * window.el (display-buffer--action-function-custom-type):
53 Fix entry.
54
55 2012-05-02 Alan Mackenzie <acm@muc.de>
56
57 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
58
59 2012-05-01 Glenn Morris <rgm@gnu.org>
60
61 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
62
63 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
64
65 * cus-edit.el (custom-variable-documentation): Simplify with format.
66
67 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
68 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * simple.el (suggest-key-bindings, execute-extended-command):
71 Move from keyboard.c.
72
73 2012-05-01 Chong Yidong <cyd@gnu.org>
74
75 * follow.el: Eliminate advice.
76 (set-process-filter, process-filter, sit-for): Advice deleted.
77 (follow-mode-off-hook): Obsolete hook removed.
78 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
79 Vars deleted.
80 (follow-auto): Use a :set function.
81 (follow-mode): Rewritten. Don't advise process filters.
82 (follow-switch-to-current-buffer-all, follow-scroll-up)
83 (follow-scroll-down): Assume follow-mode is bound.
84 (follow-comint-scroll-to-bottom)
85 (follow-align-compilation-windows): New functions.
86 (follow--window-sorter): New function.
87 (follow-all-followers): Use it to explicitly sort windows by their
88 positions; don't make assumptions about next-window order.
89 (follow-windows-start-end, follow-delete-other-windows-and-split)
90 (follow-calc-win-start): Doc fix.
91 (follow-windows-aligned-p, follow-select-if-visible): Don't call
92 vertical-motion unnecessarily.
93 (follow-adjust-window): New function.
94 (follow-post-command-hook): Use it.
95 (follow-call-set-process-filter, follow-call-process-filter)
96 (follow-intercept-process-output, follow-tidy-process-filter-alist)
97 (follow-stop-intercept-process-output, follow-generic-filter):
98 Functions deleted.
99 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
100 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
101 New functions, replacing advice on scroll-bar-* commands.
102 (follow-mwheel-scroll): New function (Bug#4112).
103
104 * comint.el (comint-adjust-point): New function.
105 (comint-postoutput-scroll-to-bottom): Use it.
106 Call follow-comint-scroll-to-bottom for Follow mode buffers.
107
108 2012-05-01 Glenn Morris <rgm@gnu.org>
109
110 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
111 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
112 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
113 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
114 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
115 Remove no-byte-compile setting.
116
117 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * minibuffer.el (completion-table-with-quoting): Fix compatibility
120 all-completions code to not return a number in the last cdr.
121
122 2012-04-30 Leo Liu <sdl.web@gmail.com>
123
124 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
125 read-only error.
126
127 2012-04-29 Chong Yidong <cyd@gnu.org>
128
129 * follow.el (follow-calc-win-end): Rewrite to handle partial
130 screen lines correctly (Bug#8390).
131 (follow-avoid-tail-recenter): Minor cleanup.
132
133 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 Avoid the obsolete `assoc' package.
136 * speedbar.el (speedbar-refresh): Avoid adelete.
137 (speedbar-file-lists): Simplify and avoid aput.
138 * man.el (Man--sections, Man--refpages): New vars, replacing
139 Man-sections-alist and Man-refpages-alist.
140 (Man-build-section-alist, Man-build-references-alist):
141 Use them; avoid aput.
142 (Man--last-section, Man--last-refpage): New vars.
143 (Man-follow-manual-reference): Use them.
144 Use the `default' arg of completing-read.
145 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
146
147 2012-04-27 Chong Yidong <cyd@gnu.org>
148
149 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
150
151 * startup.el (x-apply-session-resources): New function.
152
153 * term/ns-win.el (ns-initialize-window-system):
154 * term/w32-win.el (w32-initialize-window-system):
155 * term/x-win.el (x-initialize-window-system): Use it to properly
156 set menu-bar-mode and other vars from X resources, even if the
157 initial frame is not a window-system frame (Bug#2299).
158
159 * subr.el (read-key): Avoid running filter function when setting
160 up temporary tool bar entries (Bug#9922).
161
162 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
163
164 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
165 (Bug#11344)
166
167 2012-04-27 Chong Yidong <cyd@gnu.org>
168
169 * select.el (xselect--encode-string): New function, split from
170 xselect-convert-to-string.
171 (xselect-convert-to-string): Use it.
172 (xselect-convert-to-filename, xselect-convert-to-os)
173 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
174 returned strings are properly encoded (Bug#11315).
175
176 2012-04-27 Chong Yidong <cyd@gnu.org>
177
178 * simple.el (delete-active-region): Move to killing custom group.
179
180 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
181
182 * progmodes/which-func.el (which-func-current): Quote %
183 characters for mode-line processing.
184
185 2012-04-27 Chong Yidong <cyd@gnu.org>
186
187 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
188 reaching eob (Bug#11286).
189
190 2012-04-27 Eli Zaretskii <eliz@gnu.org>
191
192 * progmodes/gdb-mi.el (gdb-control-level): New variable.
193 (gdb): Make it buffer-local and init to zero.
194 (gdb-control-commands-regexp): New variable.
195 (gdb-send): Don't wrap in "-interpreter-exec console" if
196 gdb-control-level is positive. Increment gdb-control-level
197 whenever the command matches gdb-control-commands-regexp, and
198 decrement it each time the command is "end". (Bug#11279)
199
200 2012-04-27 Martin Rudalics <rudalics@gmx.at>
201
202 * window.el (adjust-window-trailing-edge, enlarge-window)
203 (shrink-window, window-resize):
204 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
205 windows (Bug#11276).
206
207 2012-04-27 Chong Yidong <cyd@gnu.org>
208
209 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
210 fix "missing prefix" warning. All callers changed.
211
212 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * emacs-lisp/assoc.el: Move to obsolete/.
215
216 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
219
220 * term/ns-win.el (ns-define-service):
221 * progmodes/pascal.el (pascal-goto-defun):
222 * progmodes/js.el (js--read-tab):
223 * progmodes/etags.el (tags-lazy-completion-table):
224 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
225 * emacs-lisp/ewoc.el (ewoc--wrap):
226 * emacs-lisp/assoc.el (aput, adelete, amake):
227 * doc-view.el (doc-view-convert-current-doc):
228 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
229
230 2012-04-26 Chong Yidong <cyd@gnu.org>
231
232 * image.el (image-type-from-buffer): Only return supported image
233 type (Bug#9045).
234
235 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
236 value, for symmetry with diff-end-of-hunk.
237 (diff-split-hunk, diff-find-source-location)
238 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
239 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
240 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
241 compute the relevant hunk or file properly (Bug#6005).
242 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
243
244 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * vc/vc-mtn.el:
247 * vc/vc-hg.el:
248 * vc/vc-git.el:
249 * vc/vc-dir.el:
250 * vc/vc-cvs.el:
251 * vc/vc-bzr.el:
252 * vc/vc-arch.el:
253 * vc/vc.el: Replace lexical-let by lexical-binding.
254 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
255 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
256 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
257
258 2012-04-26 Chong Yidong <cyd@gnu.org>
259
260 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
261 (diff-mode-shared-map): Bind it to / and [remap undo].
262
263 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
264 (ediff-window-setup-function): Use it as the default, to set up
265 windows based on whether the current frame is graphical (Bug#2138).
266 (ediff-choose-window-setup-function-automatically): Make obsolete.
267
268 * vc/ediff-init.el: Always define ediff-pixel-width/height.
269
270 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * ffap.el: Remove old code for obsolete package.
273 (ffap-complete-as-file-p): Remove.
274
275 Use completion-table-with-quoting for comint and pcomplete.
276 * comint.el (comint--unquote&requote-argument)
277 (comint--unquote-argument, comint--requote-argument): New functions.
278 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
279 (comint-quote-filename): Use regexp-opt-charset.
280 (comint--common-suffix, comint--common-quoted-suffix)
281 (comint--table-subvert): Remove.
282 (comint-unquote-function, comint-requote-function): New vars.
283 (comint--complete-file-name-data): Use them with
284 completion-table-with-quoting.
285 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
286 * pcomplete.el (pcomplete-arg-quote-list)
287 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
288 (pcomplete-unquote-argument-function): Default to non-nil.
289 (pcomplete-unquote-argument): Simplify.
290 (pcomplete--common-quoted-suffix): Remove.
291 (pcomplete-requote-argument-function): New var.
292 (pcomplete--common-suffix): New function.
293 (pcomplete-completions-at-point): Use completion-table-with-quoting
294 and completion-table-subvert.
295
296 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
297 (minibuffer--double-dollars): Preserve properties.
298 (completion--sifn-requote): New function.
299 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
300
301 * minibuffer.el: Add support for completion of quoted/escaped data.
302 (completion-table-with-quoting, completion-table-subvert): New funs.
303 (completion--twq-try, completion--twq-all): New functions.
304 (completion--nth-completion): New function.
305 (completion-try-completion, completion-all-completions): Use it.
306
307 2012-04-25 Leo Liu <sdl.web@gmail.com>
308
309 * progmodes/python.el (python-pdbtrack-get-source-buffer):
310 Use compilation-message if available to find real filename.
311
312 2012-04-25 Chong Yidong <cyd@gnu.org>
313
314 * vc/diff-mode.el (diff-setup-whitespace): New function.
315 (diff-mode): Use it.
316
317 * vc/diff.el (diff-sentinel):
318 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
319 Whitespace mode variables based on diff style (Bug#8612).
320
321 2012-04-25 Leo Liu <sdl.web@gmail.com>
322
323 * progmodes/python.el (python-send-region): Add suffix .py to the
324 temp file.
325
326 * files.el (auto-mode-alist): Use javascript-mode instead.
327
328 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
329
330 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
331
332 * soap-client.el (soap-resolve-references-for-sequence-type)
333 (soap-resolve-references-for-array-type): Hack to prevent self
334 references, see Bug#9.
335 (soap-parse-envelope): Report the contents of the 'detail' node
336 when receiving a fault reply.
337 (soap-parse-envelope): Report the contents of the entire 'detail' node.
338
339 * soap-inspect.el (soap-sample-value-for-simple-type)
340 (soap-inspect-simple-type): New function.
341
342 * soap-client.el (soap-simple-type): New struct.
343 (soap-default-xsd-types, soap-default-soapenc-types)
344 (soap-decode-basic-type, soap-encode-basic-type):
345 support unsignedInt and double basic types.
346 (soap-resolve-references-for-simple-type)
347 (soap-parse-simple-type, soap-encode-simple-type): New function.
348 (soap-parse-schema): Parse xsd:simpleType declarations.
349
350 * soap-client.el (soap-default-xsd-types)
351 (soap-default-soapenc-types): Add integer, byte and anyURI types.
352 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
353 the local name of "soapenc:Array".
354 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
355 decoding integer, byte and anyURI xsd types.
356
357 2012-04-25 Chong Yidong <cyd@gnu.org>
358
359 * cus-edit.el (custom-buffer-create-internal): Update header text.
360
361 2012-04-25 Eli Zaretskii <eliz@gnu.org>
362
363 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
364 settings on 'system-type', not on 'window-system'. On MS-Windows,
365 set interactive-mode on in GDB.
366
367 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
370 (ruby-syntax-propertize-regexp): Remove.
371 (ruby-syntax-propertize-function): Split regexp into chunks.
372 Match following code directly.
373
374 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
375
376 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
377 (ruby-syntax-propertize-regexp): New function.
378 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
379 by a special keyword.
380
381 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
382 (ruby-syntax-general-delimiters-goto-beg)
383 (ruby-syntax-propertize-general-delimiters): New functions.
384 (ruby-syntax-propertize-function): Use them to handle GDL.
385 (ruby-font-lock-keywords): Move old handling of GDL...
386 (ruby-font-lock-syntactic-keywords): .. to here.
387 (ruby-calculate-indent): Adjust indentation for GDL.
388
389 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
390
391 * notifications.el (top): Remove unneeded declarations.
392 (notifications-specification-version): Change to "1.2".
393 (notifications-interface, notifications-notify-method)
394 (notifications-close-notification-method): Fix docstring.
395 (notifications-get-capabilities-method): New defconst.
396 (notifications-notify): Add :action-items, :resident and
397 :transient hints. Change "image_data" to "image-data" and
398 "image_path" to "image-path".
399 (notifications-get-capabilities): New defun.
400
401 2012-04-24 Leo Liu <sdl.web@gmail.com>
402
403 * progmodes/python.el: Move hideshow setup to the end.
404
405 2012-04-24 Martin Rudalics <rudalics@gmx.at>
406
407 * window.el (handle-select-window): Clear echo area since this is
408 no more done by read_char (Bug#11304).
409
410 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
413 and `/ M' to filter-derived-mode.
414 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
415 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
416 (ibuffer-mark-by-mode): Use default rather than initial-input.
417 (ibuffer-filter-by-derived-mode): Autoload and require-match.
418
419 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
420
421 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
422 (ibuffer-filter-by-derived-mode): New filter.
423 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
424
425 2012-04-23 Andreas Politz <politza@fh-trier.de>
426
427 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
428
429 2012-04-23 Chong Yidong <cyd@gnu.org>
430
431 * cus-edit.el (customize-apropos, customize-apropos-options):
432 Disable matching of non-option variables (Bug#11176).
433 (customize-option, customize-option-other-window)
434 (customize-changed-options): Doc fix.
435 (customize-apropos-options, customize-apropos-faces)
436 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
437
438 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
439 Fix word list splitting (Bug#11132).
440 (apropos-symbol, apropos-keybinding, apropos-label)
441 (apropos-property, apropos-function-button)
442 (apropos-variable-button, apropos-misc-button): New faces.
443 (apropos-symbol-face, apropos-keybinding-face)
444 (apropos-label-face, apropos-property-face, apropos-match-face):
445 Variables removed (Bug#8396).
446 (apropos-library-button, apropos-format-plist, apropos-print)
447 (apropos-print-doc, apropos-describe-plist): Callers changed.
448
449 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
450
451 * net/xesam.el (xesam-mode-map): Use let-bound map in
452 initialization. (Bug#11292)
453
454 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
455
456 Preserve ispell session localwords when switching back to
457 original buffer.
458
459 * ispell.el (ispell-buffer-session-localwords): New buffer-local
460 variable to hold buffer session localwords.
461 (ispell-kill-ispell): add option 'clear to delete session
462 localwords.
463 (ispell-command-loop, ispell-change-dictionary)
464 (ispell-buffer-local-words): Preserve session localwords when
465 needed.
466
467 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
468 Preserve session localwords when needed.
469
470 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
471
472 * ispell.el (ispell-insert-word) Remove unneeded function using
473 obsolete `translation-table-for-input'.
474 (ispell-word, ispell-process-line, ispell-complete-word):
475 Use plain `insert' instead of removed `ispell-insert-word'.
476
477 2012-04-22 Chong Yidong <cyd@gnu.org>
478
479 * cus-edit.el (custom-variable-menu)
480 (custom-variable-reset-saved, custom-face-menu)
481 (custom-face-reset-saved): If there is no saved value, make the
482 "reset-saved" operation bring back the default (Bug#9509).
483 (custom-face-state): Properly detect themed faces.
484
485 * faces.el (face-spec-set): Stop supporting deprecated form of
486 third arg.
487
488 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
489
490 Move functions from C to Lisp. Make non-blocking method calls
491 the default. Implement further D-Bus standard interfaces.
492
493 * net/dbus.el (dbus-message-internal): Declare function.
494 Remove unneeded function declarations.
495 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
496 (dbus-message-type-method-return, dbus-message-type-error)
497 (dbus-message-type-signal): Declare variables. Remove local
498 definitions.
499 (dbus-interface-dbus, dbus-interface-peer)
500 (dbus-interface-introspectable, dbus-interface-properties)
501 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
502 Adapt docstring.
503 (dbus-interface-objectmanager): New defconst.
504 (dbus-call-method, dbus-call-method-asynchronously)
505 (dbus-send-signal, dbus-method-return-internal)
506 (dbus-method-error-internal, dbus-register-service)
507 (dbus-register-signal, dbus-register-method): New defuns, moved
508 from dbusbind.c
509 (dbus-call-method-handler, dbus-setenv)
510 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
511 New defuns.
512 (dbus-call-method-non-blocking): Make it an obsolete function.
513 (dbus-unregister-object, dbus-unregister-service)
514 (dbus-handle-event, dbus-register-property)
515 (dbus-property-handler): Obey the new structure of
516 `bus-registered-objects'.
517 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
518 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
519 Use `dbus-call-method'.
520
521 2012-04-22 Chong Yidong <cyd@gnu.org>
522
523 * cus-edit.el (custom-commands, custom-reset-menu)
524 (Custom-reset-standard): Tweak labels.
525 (custom-reset-button-menu): Change default to t.
526 (custom-buffer-create-internal): For the custom-reset-button-menu
527 case, put the revert button first.
528 (custom-group-subtitle): New face.
529 (custom-group-value-create): Align docstring to a specific column.
530
531 * wid-edit.el (widget-documentation-link-add): Don't handle
532 indentation in this function.
533 (widget-documentation-string-indent-to): New function.
534 (widget-documentation-string-value-create): Use it.
535
536 * autorevert.el (auto-revert):
537 * epg-config.el (epg):
538 * ibuffer.el (ibuffer):
539 * mpc.el (mpc):
540 * ses.el (ses):
541 * eshell/eshell.el (eshell):
542 * net/ange-ftp.el (ange-ftp):
543 * progmodes/ebnf2ps.el (postscript):
544 * progmodes/flymake.el (flymake):
545 * progmodes/prolog.el (prolog):
546 * progmodes/verilog-mode.el (verilog-mode):
547 * progmodes/which-func.el (which-func):
548 * term/xterm.el (xterm):
549 * textmodes/picture.el (picture):
550 * textmodes/tildify.el (tildify):
551 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
552 customization buffers.
553
554 2012-04-22 Alan Mackenzie <acm@muc.de>
555
556 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
557 Adding a ) can hide the resulting (..) from searches. Fix it.
558 Bound the backward search to the position of the existing (.
559
560 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
561
562 * progmodes/verilog-mode.el (verilog-mode): Check whether
563 which-func-modes is t before adding verilog-mode.
564 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
565
566 2012-04-21 Leo Liu <sdl.web@gmail.com>
567
568 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
569
570 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
571
572 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
573 filling of the last column of a table (Bug#5635).
574 (woman-find-next-control-line): New arg, specifying an additional
575 regexp component for the control line.
576 (woman2-roff-buffer): Use it.
577 (woman-break-table): New function.
578 (woman2-TS): Use it.
579
580 2012-04-21 Chong Yidong <cyd@gnu.org>
581
582 * woman.el (woman-set-buffer-display-table, woman-decode-region)
583 (woman-horizontal-escapes, woman-negative-vertical-space)
584 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
585 (WoMan-warn-ignored): Use ?\s instead of ?\ .
586
587 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * minibuffer.el (completion-file-name-table): Complete user names.
590
591 2012-04-20 Leo Liu <sdl.web@gmail.com>
592
593 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
594 and pcase-let*.
595
596 2012-04-20 Chong Yidong <cyd@gnu.org>
597
598 * server.el (server-execute): Respect initial-buffer-choice if it
599 is a string and there are no files to open (Bug#2825).
600 (server-create-window-system-frame, server-create-tty-frame):
601 Don't switch buffers here.
602 (server-process-filter): Only try to open a window system frame if
603 compiled with graphical support (Bug#8314).
604
605 2012-04-20 Dan Nicolaescu <dann@gnu.org>
606
607 * battery.el (battery-echo-area-format): Display remaining time
608 for sysfs backend too (Bug#11269).
609 (battery-linux-sysfs): Fix conditional for the charge.
610
611 2012-04-20 Chong Yidong <cyd@gnu.org>
612
613 * progmodes/gdb-mi.el (gdb): Revert previous change.
614 (gdb-inferior-io--init-proc): New function.
615 (gdb-init-1): Use it.
616 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
617 responsible for allocating a new pty and hooking it to gdb when
618 the old pty gets an EIO due to process exit.
619 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
620 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
621 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
622
623 2012-04-20 Eli Zaretskii <eliz@gnu.org>
624
625 * window.el (window-min-size, window-sizable, window-min-delta)
626 (window-max-delta, window--resizable, window-resizable)
627 (window-total-size, window-full-height-p, window-full-width-p)
628 (window-in-direction, window--resize-mini-window, window-resize)
629 (window--resize-child-windows-normal)
630 (window--resize-child-windows, window--resize-siblings)
631 (window--resize-this-window, adjust-window-trailing-edge)
632 (enlarge-window, shrink-window): Doc fixes.
633
634 2012-04-20 Chong Yidong <cyd@gnu.org>
635
636 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
637 New function to call delete-process on the gdb-inferior buffer's pty.
638 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
639 pty process (Bug#11273).
640 (gdb-update): New arg to suppress talking to the gdb process.
641 (gdb-done-or-error): Use it.
642 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
643 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
644 sentinel not being called.
645
646 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
647
648 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
649
650 2012-04-20 Glenn Morris <rgm@gnu.org>
651
652 * net/network-stream.el (open-network-stream): Doc fix.
653
654 2012-04-20 Chong Yidong <cyd@gnu.org>
655
656 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
657
658 2012-04-20 Alan Mackenzie <acm@muc.de>
659
660 Ensure searching for keywords is case sensitive.
661
662 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
663 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
664 (c-defun-name, c-mark-function, c-cpp-define-name)
665 (c-comment-indent, c-scan-conditionals, c-indent-defun)
666 (c-context-line-break): Bind case-fold-search to nil.
667
668 * progmodes/cc-mode.el (c-font-lock-fontify-region):
669 Bind case-fold-search to nil.
670
671 2012-04-20 Chong Yidong <cyd@gnu.org>
672
673 * mail/sendmail.el (mail-bury): Call return action with the right
674 Rmail buffer (Bug#11242).
675
676 * server.el (server-process-filter): Handle corner case where both
677 tty and nowait options are present (Bug#11102).
678
679 2012-04-20 Eli Zaretskii <eliz@gnu.org>
680
681 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
682 (top level): Put into the executable the ident-style '$Id:' tag on
683 windows-nt as well.
684
685 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * electric.el (electric-indent-post-self-insert-function): Check that
688 electric-indent-mode is enabled in current buffer.
689
690 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
691
692 * imenu.el (imenu-progress-message): Restore; it is "used" in
693 erc/erc-imenu.el and net/snmp-mode.el.
694
695 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
696
697 * avoid.el (mouse-avoidance-mode): Mark unused arg.
698 (mouse-avoidance-nudge-mouse): Remove unused binding.
699
700 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
701
702 * descr-text.el (describe-char):
703 * progmodes/python.el (python-describe-symbol):
704 Don't call `toggle-read-only', set `buffer-read-only'.
705
706 * imenu.el (imenu-default-goto-function): Mark unused args.
707 (imenu-progress-message): Remove obsolete macro; all callers changed.
708
709 * subr.el (keymap-canonicalize): Remove unused binding.
710 (read-passwd): Mark unused arg.
711
712 * tutorial.el (tutorial--display-changes): Remove unused binding.
713 (tutorial--save-tutorial-to): Remove unused variable.
714
715 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
716 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
717 (package-generate-autoloads, package-menu--generate)
718 (package-menu--find-upgrades): Remove unused bindings.
719
720 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
721 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
722 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
723 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
724 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
725 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
726 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
727 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
728 (cua-delete-char-rectangle): Mark unused args.
729 (cua-align-rectangle): Remove unused binding.
730
731 * mail/rmail.el (compilation--message->loc)
732 (epa--find-coding-system-for-mime-charset): Declare.
733
734 * net/dbus.el (dbus-register-service): Declare.
735 (dbus-name-owner-changed-handler): Remove unused binding.
736
737 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
738 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
739 (nxml-scan-backward-within): Mark unused arg.
740 (nxml-dynamic-markup-word): Remove unused binding.
741
742 * mouse.el (mouse-menu-major-mode-map):
743 * emacs-lisp/authors.el (authors-scan-change-log)
744 (authors-add-to-author-list):
745 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
746 * emacs-lisp/smie.el (smie-auto-fill):
747 * mail/sendmail.el (mail-bury):
748 * mail/unrmail.el (unrmail):
749 * net/tls.el (open-tls-stream):
750 * textmodes/picture.el (picture-mouse-set-point):
751 Remove unused bindings.
752
753 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
754
755 * net/tramp.el (tramp-action-password): Let-bind
756 `enable-recursive-minibuffers' to t.
757
758 2012-04-18 Sam Steingold <sds@gnu.org>
759
760 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
761 instead of 'string to accommodate values like [f11].
762 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
763 * progmodes/gdb-mi.el: Likewise.
764
765 2012-04-18 Leo Liu <sdl.web@gmail.com>
766
767 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
768 current buffer.
769 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
770 LOCAL is nil.
771
772 2012-04-18 Chong Yidong <cyd@gnu.org>
773
774 * simple.el (line-move): Use forward-line if in batch mode
775 (Bug#11053).
776
777 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
778
779 * files.el (after-find-file): Do not try to add a final newline if
780 the buffer is read-only (Bug#11156).
781
782 2012-04-17 Richard Stallman <rms@gnu.org>
783
784 * mail/rmail.el (rmail-start-mail):
785 Pass (rmail-mail-return...) for the return-action.
786 Pass (rmail-yank-current-message...) for the yank-action.
787 (rmail-yank-current-message): New function.
788 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
789 (rmail-reply): Likewise.
790 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
791
792 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
793 buffer, not the last. Reject temp buffers. Use the rmail-mode
794 buffer, not newbuf.
795
796 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
797
798 * server.el (server-ensure-safe-dir): Simplify.
799
800 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * emacs-lisp/smie.el: Provide smarter auto-filling.
803 (smie-auto-fill): New function.
804 (smie-setup): Use it.
805
806 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
807
808 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
809
810 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
811 (comment-indent): Use it.
812
813 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
814
815 * ses.el: The overall change is to add cell renaming, that is
816 setting fancy names for cell symbols other than name matching
817 "\\`[A-Z]+[0-9]+\\'" regexp .
818 (ses-localvars): Add ses--renamed-cell-symb-list.
819 (ses-create-cell-variable): New defun.
820 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
821 (ses-relocate-formula): Relocate formulas only for cells the
822 symbols of which are not renamed, i.e. symbols whose names do not
823 match regexp "\\`[A-Z]+[0-9]+\\'".
824 (ses-relocate-all): Relocate values only for cells the symbols of
825 which are not renamed.
826 (ses-load): Create cells variables as the (ses-cell ...) are read,
827 in order to check row col consistency with cell symbol name only
828 for cells that are not renamed.
829 (ses-replace-name-in-formula): New defun.
830 (ses-rename-cell): New defun.
831
832 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
833
834 * progmodes/perl-mode.el (perl-indent-parens-as-block):
835 New option (bug#11118).
836 (perl-calculate-indent): Respect it.
837
838 2012-04-17 Glenn Morris <rgm@gnu.org>
839
840 * dired-aux.el (dired-mark-read-string): Doc fix.
841
842 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
843
844 * dired-aux.el (dired-mark-read-string): Offer optional completion.
845 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
846
847 2012-04-17 Glenn Morris <rgm@gnu.org>
848
849 * mouse.el (mouse-drag-track):
850 * speedbar.el (speedbar-frame-mode):
851 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
852
853 2012-04-16 Leo Liu <sdl.web@gmail.com>
854
855 * progmodes/python.el: Trivial cleanup.
856
857 2012-04-16 Glenn Morris <rgm@gnu.org>
858
859 * vc/vc.el (vc-string-prefix-p):
860 * vc/pcvs-util.el (cvs-string-prefix-p):
861 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
862 * mpc.el (mpc-string-prefix-p):
863 Make all of these into obsolete aliases for string-prefix-p.
864 Update callers.
865 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
866
867 * textmodes/two-column.el: Move custom options to the start.
868 (frame-width): Remove compat definition.
869 (2C-associate-buffer, 2C-dissociate):
870 Use with-current-buffer rather than save-excursion.
871 (2C-dissociate): Force a mode-line update.
872 (2C-autoscroll): Use ignore-errors.
873
874 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
875 Autoload trivia.
876
877 * emacs-lisp/cl-extra.el (*random-state*):
878 Remove unnecessary declaration.
879
880 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
881
882 * play/cookie1.el (cookie-snarf):
883 Give an explicit error if input file cannot be read.
884
885 * play/yow.el (yow-file): Use expand-file-name rather than concat.
886
887 * progmodes/perl-mode.el (c-macro-expand):
888 Remove unnecessary autoload (it is in loaddefs.el).
889
890 * textmodes/picture.el (picture-desired-column)
891 (picture-update-desired-column): Convert comments to doc-strings.
892 (picture-substitute): Remove function.
893 (picture-mode-map): Initialize in the defvar.
894
895 * woman.el: Remove eval-after-load for tar-mode.
896 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
897 (woman-tar-extract-file): Autoload it.
898
899 * frame.el (automatic-hscrolling): Make this alias obsolete.
900
901 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
902
903 * ispell.el (ispell-set-spellchecker-params): Post-process
904 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
905 (ispell-dictionary-base-alist): Revert to original XEmacs
906 friendly version for default. [:alpha:] will be added in
907 `ispell-set-spellchecker-params' if needed
908
909 2012-04-16 Chong Yidong <cyd@gnu.org>
910
911 * image.el (imagemagick--extension-regexp): New variable.
912 (imagemagick-register-types): Use it.
913 (imagemagick-types-inhibit): Add :set function. Allow new value
914 of t to inhibit all types.
915
916 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
917 so we can preload it.
918
919 * loadup.el (fboundp): Preload regexp-opt, needed by
920 imagemagick-register-types.
921
922 2012-04-15 Chong Yidong <cyd@gnu.org>
923
924 * frame.el (scrolling): Remove nearly unused customization group.
925
926 * scroll-all.el (scroll-all-mode): Move to windows group.
927
928 2012-04-15 Chong Yidong <cyd@gnu.org>
929
930 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
931
932 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 Avoid the use of ((lambda ...) ...) in lexical-binding code.
935 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
936
937 2012-04-15 Glenn Morris <rgm@gnu.org>
938
939 * simple.el (process-file-side-effects): Doc fix.
940
941 2012-04-15 Glenn Morris <rgm@gnu.org>
942
943 * international/mule-cmds.el (set-language-environment): Doc fix.
944
945 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
946
947 * server.el (server-auth-key, server-generate-key): Doc fixes.
948 (server-get-auth-key): Doc fix. Use `string-match-p'.
949 (server-start): Reflow docstring.
950
951 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
952
953 * server.el (server-generate-key): `called-interactively-p'
954 requires a parameter.
955
956 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
957
958 * server.el (server-auth-key): New variable.
959 (server-generate-key, server-get-auth-key): New function.
960 (server-start): Use the new variable and functions to allow
961 setting a permanent server key (bug#9423).
962
963 2012-04-14 Leo Liu <sdl.web@gmail.com>
964
965 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
966
967 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
968
969 Spelling fixes.
970 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
971 Emacs uses American spelling.
972
973 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
974
975 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
976 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
977 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
978 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
979
980 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * progmodes/which-func.el (which-func-modes): Change default.
983
984 2012-04-14 Kim F. Storm <storm@cua.dk>
985
986 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
987 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
988
989 2012-04-14 Chong Yidong <cyd@gnu.org>
990
991 * custom.el (custom-theme-set-variables): Doc fix.
992
993 2012-04-14 Glenn Morris <rgm@gnu.org>
994
995 * international/mule.el (set-auto-coding-for-load): Doc fix.
996
997 2012-04-14 Alan Mackenzie <acm@muc.de>
998
999 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1000 imenu work again for Objective C Mode. Correct the *-index values,
1001 these having been disturbed by a previous change in 2011-08.
1002
1003 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1004 Correct two search limits.
1005
1006 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1009
1010 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1011
1012 * international/characters.el: Fix sorting.
1013
1014 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1015
1016 * international/characters.el: Add more missing Latin case pairs.
1017
1018 2012-04-14 Glenn Morris <rgm@gnu.org>
1019
1020 * files.el (dir-locals-set-class-variables): Doc fix.
1021
1022 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1023
1024 * international/characters.el: Add set-case-syntax-pair call for
1025 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1026 counterpart. (Bug#11209)
1027
1028 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1029
1030 2012-04-14 Glenn Morris <rgm@gnu.org>
1031
1032 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1033
1034 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1035
1036 * textmodes/ispell.el (ispell-dictionary-base-alist):
1037 Add data for Hebrew.
1038
1039 2012-04-14 Chong Yidong <cyd@gnu.org>
1040
1041 * net/rcirc.el (rcirc-cmd-quit):
1042 Revert 2012-03-18 change (Bug#11192).
1043
1044 2012-04-14 Glenn Morris <rgm@gnu.org>
1045
1046 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1047
1048 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1049
1050 * minibuffer.el (completion-in-region-mode-map):
1051 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1052
1053 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1054
1055 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1056
1057 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1058
1059 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1060 to allow `C-M-f' and `C-M-b' to move to the nearest path
1061 separator (bug#9511).
1062
1063 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1064
1065 * avoid.el: Require cl when compiling. And also move the
1066 `provide' to the end.
1067
1068 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1069
1070 * avoid.el (mouse-avoidance-banish-position): New variable.
1071 (mouse-avoidance-banish-destination): Use it (bug#10165).
1072
1073 2012-04-13 Leo Liu <sdl.web@gmail.com>
1074
1075 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1076
1077 2012-04-13 Ken Brown <kbrown@cornell.edu>
1078
1079 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1080 this is no longer needed now that cygstart understands file:// URLs.
1081 (browse-url-filename-alist): For the same reason, don't modify
1082 file:// URLs on Cygwin.
1083
1084 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1087 the region on shift if the binding is already shifted (bug#11221).
1088
1089 2012-04-12 Glenn Morris <rgm@gnu.org>
1090
1091 * mail/mailpost.el: Move to obsolete/.
1092
1093 2012-04-12 Drew Adams <drew.adams@oracle.com>
1094
1095 * imenu.el (imenu--generic-function): Ignore invisible definitions
1096 (bug#10123).
1097
1098 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1099
1100 * hexl.el (hexl-bits): New variable.
1101 (hexl-options): Mention the variable in the doc string.
1102 (hexl-rulerise, hexl-line-displen): New functions.
1103 (hexl-mode): Mention the new variable.
1104 (hexl-mode, hexl-current-address, hexl-current-address):
1105 Use the displen.
1106 (hexl-ascii-start-column): New function.
1107 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1108 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1109
1110 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1111
1112 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1113 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1114 the encoding, as expected by hunspell.
1115
1116 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * battery.el (battery--linux-sysfs-regexp): New const.
1119 (battery-status-function): Use it. Remove yeeloong special case.
1120 (battery-yeeloong-sysfs): Remove.
1121 (battery-echo-area-format): Remove yeeloong special case.
1122
1123 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1126 Reported by Noah Friedman.
1127
1128 * subr.el (read-passwd): Use read-string.
1129
1130 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1131
1132 * vcursor.el (vcursor-move): Increase the priority of the overlay
1133 (bug#9663).
1134
1135 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1136
1137 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1138 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1139
1140 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1141
1142 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1143 define-minor-mode (bug#10760).
1144
1145 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1146
1147 * progmodes/grep.el (rgrep): Tweak the find command line so
1148 that directories matching `grep-find-ignored-files' won't be
1149 pruned (bug#10351).
1150
1151 2012-04-11 Chong Yidong <cyd@gnu.org>
1152
1153 * startup.el (command-line): Remove support for long-obsolete
1154 variable font-lock-face-attributes.
1155
1156 2012-04-11 Glenn Morris <rgm@gnu.org>
1157
1158 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1159
1160 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * window.el (window--state-get-1): Obey window-point-insertion-type.
1163
1164 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1165
1166 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1167 to previous function when point is on the first character of a
1168 function. Take care of that in `narrow-to-defun' (bug#6157).
1169
1170 2012-04-11 Glenn Morris <rgm@gnu.org>
1171
1172 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1173 not just file-errors.
1174
1175 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1176 (vc-bzr-sha1): Use internal sha1.
1177
1178 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1181
1182 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1183
1184 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1185 that start in the middle of the line (bug#10496).
1186
1187 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1188
1189 * battery.el (battery-linux-proc-acpi): Only one battery is
1190 discharged at a time, but that seems to confuse battery.el when
1191 computing `rate-type' for the battery not being discharged
1192 (bug#10332).
1193
1194 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1197
1198 * international/quail.el: Use dolist and simplify.
1199 (quail-define-package, quail-update-keyboard-layout)
1200 (quail-define-rules): Use dolist.
1201 (quail-insert-kbd-layout, quail-get-translation): CSE.
1202
1203 * tmm.el: Use dolist, remove left over hook.
1204 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1205 Use dolist.
1206 (calendar-load-hook): Don't mess with it.
1207
1208 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1209 Use derived-mode-p. Run the diff asynchronously.
1210
1211 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1212
1213 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1214
1215 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1216
1217 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1218 (list-dynamic-libraries--loaded): New function.
1219 (list-dynamic-libraries--refresh): Use it.
1220
1221 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1222
1223 * progmodes/python.el (python-fill-paragraph):
1224 Make python-fill-region in a multiline string work when font-lock is
1225 disabled (bug#7018).
1226
1227 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1228
1229 * language/european.el (cp775): Add oem/legacy (en)coding on
1230 DOS/MS Windows for the Baltic languages. There are still plenty
1231 of texts written in this encoding/codepage (bug#6519).
1232
1233 2012-04-10 Glenn Morris <rgm@gnu.org>
1234
1235 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1236 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1237
1238 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1239
1240 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1241 next-line "n" and previous-line "p" in order to make recentf more
1242 consistent with ibuffer, dired or org-mode (bug#9387).
1243
1244 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1245
1246 * image.el (put-image): Return the overlay created instead of the
1247 optional input string (bug#7834). Note that this may break code
1248 that is (for some reason or other) depending on `put-image'
1249 returning the string.
1250
1251 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1252
1253 * simple.el (zap-to-char): Allow zapping using input methods
1254 (bug#1580).
1255
1256 * textmodes/fill.el (fill-region): Leave point and mark where they
1257 were before filling (bug#5399).
1258
1259 2012-04-09 Glenn Morris <rgm@gnu.org>
1260
1261 * version.el (emacs-bzr-get-version):
1262 Handle lightweight checkouts of local branches.
1263
1264 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1265
1266 * international/characters.el: Recover lost case pairs. (Bug#11209)
1267
1268 2012-04-09 Chong Yidong <cyd@gnu.org>
1269
1270 * custom.el (custom-variable-p): Return nil for non-symbol
1271 arguments instead of signaling an error.
1272 (user-variable-p): Obsolete alias for custom-variable-p.
1273
1274 * apropos.el (apropos-variable):
1275 * files-x.el (read-file-local-variable):
1276 * simple.el (set-variable):
1277 * woman.el (woman-mini-help):
1278 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1279
1280 2012-04-09 Glenn Morris <rgm@gnu.org>
1281
1282 * startup.el (normal-top-level): Don't look for leim-list.el
1283 in places where it will not be found. (Bug#910)
1284
1285 * international/mule-cmds.el (set-default-coding-systems):
1286 * files.el (normal-mode):
1287 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1288 This function was removed with ucs-tables.el in 2008.
1289
1290 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1291
1292 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1293 ispell-encoding8-command to "-i", without a trailing space.
1294 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1295 separate command-line arguments, to specify the encoding, since
1296 that's how hunspell expects it.
1297
1298 2012-04-08 Glenn Morris <rgm@gnu.org>
1299
1300 * loadup.el: Load bindings before cus-start.
1301 This reduces somewhat the number of "rogue" settings in emacs -Q.
1302
1303 2012-04-07 Glenn Morris <rgm@gnu.org>
1304
1305 * version.el (emacs-bzr-get-version): New function.
1306 (emacs-bzr-version): New variable.
1307 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1308 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1309
1310 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1311
1312 * international/uni-bidi.el, international/uni-category.el:
1313 * international/uni-combining.el, international/uni-decimal.el:
1314 * international/uni-decomposition.el, international/uni-digit.el:
1315 * international/uni-lowercase.el, international/uni-mirrored.el:
1316 * international/uni-name.el, international/uni-numeric.el:
1317 * international/uni-titlecase.el, international/uni-uppercase.el:
1318 Update for Unicode 6.1.
1319
1320 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1321
1322 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1323
1324 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1325
1326 * window.el (shrink-window): Mention the `window-min-height'
1327 variable in the doc string.
1328
1329 2012-04-05 Bastien Guerry <bzg@altern.org>
1330
1331 * color.el (color-lighten-name): Fix typo.
1332
1333 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * server.el (server--on-display-p): New function.
1336 (server--on-display-p): Use it.
1337
1338 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1339
1340 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1341 (bug#11145).
1342
1343 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * comint.el (comint--common-quoted-suffix): Check string boundary
1346 before comparing (bug#11158).
1347 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1348
1349 2012-04-04 Chong Yidong <cyd@gnu.org>
1350
1351 * minibuffer.el (completion-extra-properties): Doc fix.
1352
1353 * subr.el (delayed-warnings-hook): Doc fix.
1354
1355 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1356
1357 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1358 selection (Bug#11159).
1359 (epa-insert-keys): Inform that the default public key will be
1360 exported if no key is selected.
1361
1362 2012-04-04 Richard Stallman <rms@gnu.org>
1363
1364 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1365
1366 2012-04-03 Chong Yidong <cyd@gnu.org>
1367
1368 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1369 mail-insert-file, not its obsolete alias mail-attach-file.
1370
1371 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1372
1373 * notifications.el (notifications-notify): Fix docstring.
1374
1375 2012-04-02 Glenn Morris <rgm@gnu.org>
1376
1377 * emacs-lisp/authors.el (authors-aliases): Another addition.
1378
1379 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1380
1381 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1382 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1383 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1384
1385 2012-04-01 Chong Yidong <cyd@gnu.org>
1386
1387 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1388 Handle root directory properly.
1389 (copy-directory): Caller changed.
1390
1391 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1392 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1393
1394 2012-03-31 Glenn Morris <rgm@gnu.org>
1395
1396 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1397
1398 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1399
1400 * calendar/calendar.el (calendar-window-list)
1401 (calendar-hide-window): Restore. (Bug#11140)
1402 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1403
1404 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1405
1406 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1407
1408 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1409 Check if file is a symlink (Bug#10489).
1410
1411 * files.el (copy-directory): Likewise.
1412
1413 2012-03-30 Chong Yidong <cyd@gnu.org>
1414
1415 * image.el (imagemagick-types-inhibit)
1416 (imagemagick-register-types): Doc fix.
1417
1418 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1419
1420 * ispell.el (ispell-get-extended-character-mode):
1421 Disable extended-char-mode for hunspell. hunspell does not support it
1422 and treats ~word as ordinary words in pipe mode.
1423
1424 2012-03-30 Glenn Morris <rgm@gnu.org>
1425
1426 * tutorial.el (help-with-tutorial): Ensure local variables don't
1427 happen to make the buffer read-only. (Bug#11127)
1428
1429 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1432 (perl-calculate-indent): Return `noindent' in strings.
1433
1434 2012-03-28 Sam Steingold <sds@gnu.org>
1435
1436 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1437 instead of the broken adhockery which does not prevent calendar
1438 buffers from being displayed at random after exit.
1439 (calendar-window-list, calendar-hide-window): Remove the broken
1440 adhockery.
1441
1442 2012-03-28 Glenn Morris <rgm@gnu.org>
1443
1444 * replace.el (query-replace-map): Doc fix.
1445
1446 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1447
1448 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1449 contents. (Bug#11109)
1450
1451 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1454 (bug#11077).
1455 (avl-tree--check, avl-tree--check-node): New funs.
1456
1457 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1458
1459 * window.el (switch-to-visible-buffer): New option.
1460 (switch-to-prev-buffer, switch-to-next-buffer):
1461 Observe switch-to-visible-buffer. Make sure that checking for a window
1462 showing a buffer already is done on the same frame.
1463
1464 2012-03-27 Glenn Morris <rgm@gnu.org>
1465
1466 * startup.el (mail-host-address): Doc fix.
1467
1468 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1471 than 197 variables.
1472
1473 2012-03-26 Ami Fischman <ami@fischman.org>
1474
1475 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1476
1477 2012-03-26 Glenn Morris <rgm@gnu.org>
1478
1479 * files.el (save-buffers-kill-emacs): Doc fix.
1480
1481 * startup.el (normal-top-level, command-line, command-line-1):
1482 Give them doc strings.
1483
1484 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1485
1486 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1487 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1488
1489 2012-03-25 Chong Yidong <cyd@gnu.org>
1490
1491 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1492 theme if it was previously enabled before (Bug#11031).
1493
1494 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1495 spec with custom-face-get-current-spec if its :shown-value is not
1496 determined yet (Bug#9337).
1497 (customize-create-theme, custom-theme-revert): Doc fixes.
1498
1499 * button.el (button-at): Minor addition to docstring.
1500
1501 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1502
1503 * vc/vc.el (vc-merge): Fix a prompt.
1504
1505 2012-03-24 Chong Yidong <cyd@gnu.org>
1506
1507 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1508 point (Bug#9623).
1509
1510 * button.el (button-at): Minor addition to docstring.
1511
1512 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * newcomment.el (comment-choose-indent): No space after BOL.
1515
1516 2012-03-22 Sam Steingold <sds@gnu.org>
1517
1518 * window.el (switch-to-prev-buffer): Revert last patch because the
1519 bug turned out to be an advertised feature (Elisp manual 28.14).
1520
1521 2012-03-22 Glenn Morris <rgm@gnu.org>
1522
1523 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1524 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1525
1526 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1527
1528 * net/network-stream.el (network-stream-open-starttls): Make error
1529 message under Windows be less misleading.
1530
1531 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1532
1533 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1534 understands (bug#9942).
1535
1536 2012-03-22 Chong Yidong <cyd@gnu.org>
1537
1538 * simple.el (end-of-visible-line): Handle return value of
1539 next-single-property-change properly (Bug#9371).
1540
1541 2012-03-22 Kenichi Handa <handa@m17n.org>
1542
1543 * international/quail.el (quail-insert-kbd-layout): Fix previous
1544 change. To avoid unwanted bidi reordering, use
1545 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1546
1547 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1548
1549 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1550 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1551 (ruby-beginning-of-indent): Be more careful with the difference
1552 between word-boundary and symbol boundary.
1553 (ruby-mode-syntax-table): Make : a symbol constituent.
1554
1555 2012-03-21 Andreas Politz <politza@fh-trier.de>
1556
1557 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1558
1559 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * progmodes/etags.el (tags-completion-at-point-function):
1562 Improve last fix.
1563
1564 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1565
1566 2012-03-21 Sam Steingold <sds@gnu.org>
1567
1568 * progmodes/etags.el (tags-completion-at-point-function):
1569 Avoid the error when point is inside the pattern.
1570
1571 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1572
1573 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1574 line (Bug#10855).
1575
1576 2012-03-21 Drew Adams <drew.adams@oracle.com>
1577
1578 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1579
1580 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1581
1582 * ido.el (ido-set-current-directory, ido-read-internal)
1583 (ido-choose-completion-string, ido-completion-help): Handle nil
1584 value of ido-completion-buffer (Bug#11008).
1585
1586 2012-03-21 Sam Steingold <sds@gnu.org>
1587
1588 * window.el (switch-to-prev-buffer): Do not switch to a visible
1589 window previous buffer, just like with the frame previous buffers.
1590
1591 2012-03-21 Chong Yidong <cyd@gnu.org>
1592
1593 * faces.el (make-face, make-empty-face, copy-face):
1594 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1595 Doc fixes.
1596
1597 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1600 (widget-complete): Remove broken use of it.
1601
1602 2012-03-20 Chong Yidong <cyd@gnu.org>
1603
1604 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1605 Use string-width and truncate-string-width to handle arbitrary
1606 characters.
1607
1608 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1609
1610 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1611 to draw rectangles, not squares. (Regression introduced by revno
1612 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1613
1614 2012-03-18 Chong Yidong <cyd@gnu.org>
1615
1616 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1617 it is not yet defined (for temacs).
1618
1619 2012-03-18 Leo Liu <sdl.web@gmail.com>
1620
1621 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1622
1623 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1624
1625 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1626 (ispell-choices-win-default-height, ispell-silently-savep)
1627 (ispell-dictionary-alist, ispell-encoding8-command)
1628 (ispell-check-version, ispell-aspell-find-dictionary)
1629 (ispell-valid-dictionary-list, ispell-words-keyword)
1630 (ispell-get-word, ispell-internal-change-dictionary)
1631 (ispell-region, ispell-skip-region-list)
1632 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1633 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1634 (ispell-message-text-end, ispell-message)
1635 (ispell-buffer-local-parsing): Doc fix.
1636
1637 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1638
1639 * htmlfontify.el: Add support for code block fontification for ODT
1640 export (Bug #9914).
1641 (hfy-optimisations): Define new option
1642 `body-text-only'
1643 (hfy-fontify-buffer): Honor above setting.
1644 (hfy-begin-span, hfy-end-span): New routines factored out form
1645 `hfy-fontify-buffer'.
1646 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1647 that permit insertion of custom tags.
1648 (hfy-fontify-buffer): Use above handlers.
1649 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1650 (hfy-face-to-css): Re-defined to be a variable.
1651 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1652 over multiple runs. This is made possible by having the caller let
1653 bind a special variable `hfy-user-sheet-assoc'.
1654 (htmlfontify-string): New defun.
1655 (hfy-compile-face-map): Make sure that the last char in the
1656 buffer is correctly fontified.
1657 (hfy-face-resolve-face): Whitespace only change.
1658
1659 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1660
1661 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1662 message more clear.
1663
1664 2012-03-16 Leo Liu <sdl.web@gmail.com>
1665
1666 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1667
1668 2012-03-16 Alan Mackenzie <acm@muc.de>
1669
1670 Further optimise the handling of large macros.
1671
1672 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1673 limit to a call of `c-literal-limits'.
1674 (c-determine-+ve-limit): New function.
1675 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1676 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1677 In CASE 5B, restrict a search limit to 500.
1678 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1679
1680 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1681 Restrict macro bounds to +-500 from after-change's BEG END.
1682
1683 2012-03-16 Leo Liu <sdl.web@gmail.com>
1684
1685 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1686
1687 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1688
1689 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
1690 `special-mode' setting of `buffer-read-only'. (Bug#11010)
1691
1692 2012-03-16 Glenn Morris <rgm@gnu.org>
1693
1694 * view.el (view-buffer, view-buffer-other-window)
1695 (view-buffer-other-frame): Doc fixes re special mode-class.
1696
1697 * subr.el (eval-after-load): If named feature is provided not from
1698 a file, run after-load forms. (Bug#10946)
1699
1700 * calendar/calendar.el (calendar-insert-at-column):
1701 Handle non-unit-width characters a bit better. (Bug#10978)
1702
1703 2012-03-15 Chong Yidong <cyd@gnu.org>
1704
1705 * emacs-lisp/ring.el (ring-extend): New function.
1706 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1707
1708 * comint.el (comint-read-input-ring)
1709 (comint-add-to-input-history): Grow comint-input-ring lazily.
1710
1711 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1714 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1715
1716 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1717 (imenu-add-to-menubar): Don't add a redundant index.
1718 (imenu-update-menubar): Handle a dynamically composed keymap.
1719
1720 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1721
1722 * mail/sendmail.el (mail-encode-header):
1723 Bind rfc2047-encode-encoded-words to nil.
1724
1725 2012-03-13 Glenn Morris <rgm@gnu.org>
1726
1727 * calendar/calendar.el (calendar-string-spread):
1728 Handle non-unit-width characters a bit better. (Bug#10978)
1729
1730 2012-03-13 Leo Liu <sdl.web@gmail.com>
1731
1732 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1733 directory and file as argument (Bug#10822).
1734
1735 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1736
1737 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1738 For dynamically generated code, follow $PC.
1739 (gdb-disassembly-handler-custom): Handle no function name case.
1740
1741 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1742
1743 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1744 * emulation/ws-mode.el (ws-query-replace):
1745 * sort.el (sort-regexp-fields):
1746 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1747
1748 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * dabbrev.el: Fix cycle completion order (bug#10963).
1751 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1752 (dabbrev-completion): Don't use an obarray; provide
1753 a cycle-sort-function.
1754
1755 2012-03-12 Leo Liu <sdl.web@gmail.com>
1756
1757 * simple.el (kill-new): Use equal-including-properties for comparison.
1758 (kill-do-not-save-duplicates): Doc fix.
1759
1760 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * dabbrev.el: Fix cycle completion (bug#10963).
1763 Use lexical binding and wrap to 80 columns.
1764 (dabbrev-completion): Delay computing the list of completions.
1765
1766 2012-03-12 Kenichi Handa <handa@m17n.org>
1767
1768 * international/quail.el (quail-insert-kbd-layout): Surround each
1769 row by LRO and PDF instead of inserting many LRMs. Pad the left
1770 and right of each non-spacing marks. Insert invisible space
1771 between lower and upper characters to prevent composition.
1772
1773 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * minibuffer.el (minibuffer-complete): Don't get confused when the
1776 function is run twice via different commands (bug#10958).
1777 (complete-with-action): Fix docstring.
1778
1779 2012-03-12 Chong Yidong <cyd@gnu.org>
1780
1781 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1782 (nxml-completion-at-point-function): New function.
1783 (nxml-mode): Use it.
1784 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1785
1786 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1787 Load generated autoloads file before byte compiling (Bug#10970).
1788 (package--make-autoloads-and-compile): New helper fun.
1789
1790 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1791
1792 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1793
1794 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
1795
1796 * autorevert.el (auto-revert-handler): Ensure, that
1797 file-readable-p is applied only for local files or in
1798 auto-revert-tail-mode.
1799
1800 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1801
1802 * server.el (server-eval-at): Handle non-tcp connections.
1803 Decode result string.
1804
1805 * server.el (server-msg-size): New constant.
1806 (server-reply-print): New function.
1807 (server-eval-and-print): Use it.
1808 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1809 Handle -print-nonl.
1810
1811 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1812
1813 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1814 (Bug#10987).
1815
1816 2012-03-11 Chong Yidong <cyd@gnu.org>
1817
1818 * simple.el (goto-line): Doc fix (Bug#9938).
1819
1820 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1821
1822 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1823 when finished (Bug#10963).
1824
1825 2012-03-11 Martin Rudalics <rudalics@gmx.at>
1826
1827 * window.el (split-window-below): Fix bug in case where
1828 split-window-keep-point is nil (Bug#10971).
1829
1830 2012-03-11 Juri Linkov <juri@jurta.org>
1831
1832 * replace.el (replace-highlight): Set isearch-word to nil
1833 unconditionally. (Bug#10887)
1834
1835 2012-03-10 Eli Zaretskii <eliz@gnu.org>
1836
1837 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1838 mairix-replace-illegal-chars; all callers changed. Don't remove
1839 ^, ~, and = characters: they are meaningful in mairix search specs.
1840 (mairix-widget-create-query): Add usage information about mairix
1841 search forms: negating words, searching for substrings, etc.
1842
1843 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1844
1845 * international/fontset.el (font-encoding-alist): Add an entry for
1846 ksx1001 (Bug#5667).
1847
1848 2012-03-10 Richard Stallman <rms@gnu.org>
1849
1850 * mail/sendmail.el (mail-encode-header):
1851 Set rfc2047-encode-encoded-words.
1852
1853 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1854
1855 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1856 view buffer means not swapped.
1857 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1858 (rmail-write-region-annotate): Error if real text has disappeared.
1859
1860 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1861
1862 2012-03-10 Chong Yidong <cyd@gnu.org>
1863
1864 * emulation/cua-rect.el (cua--init-rectangles):
1865 * emulation/cua-base.el (cua--init-keymaps):
1866 Add delete-forward-char to remappings (Bug#9666).
1867
1868 2012-03-10 Martin Rudalics <rudalics@gmx.at>
1869
1870 * speedbar.el (speedbar-unhighlight-one-tag-line):
1871 Avoid unhighlighting due to frame switching (Bug#10275).
1872
1873 2012-03-10 Chong Yidong <cyd@gnu.org>
1874
1875 * minibuffer.el (completion-in-region, completion-help-at-point):
1876 Give the completion field overlay a high priority (Bug#6830).
1877
1878 * dired.el (dired-goto-file): Recognize absolute file name
1879 listings (Bug#7126).
1880 (dired-goto-file-1): New helper function.
1881 (dired-toggle-read-only): Inhibit warnings.
1882
1883 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1884
1885 * net/dbus.el (dbus-property-handler): Return empty array if
1886 there are no properties.
1887
1888 2012-03-09 Leo Liu <sdl.web@gmail.com>
1889
1890 * savehist.el (savehist-printable): Stricter check for string
1891 value (Bug#10937).
1892
1893 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1894
1895 * mail/smtpmail.el (smtpmail-send-it):
1896 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1897 valid mbox format.
1898
1899 2012-03-09 Glenn Morris <rgm@gnu.org>
1900
1901 * files.el (dir-locals-find-file):
1902 Don't check result is regular, readable.
1903 (dir-locals-read-from-file): Demote errors.
1904
1905 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1906
1907 * international/quail.el (quail-insert-kbd-layout):
1908 Insert invisible LRM characters before each character in a keyboard
1909 layout cell, to prevent their reordering by bidi display engine.
1910 For details, see the discussion in
1911 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1912
1913 2012-03-08 Alan Mackenzie <acm@muc.de>
1914
1915 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1916 the starting position; make it extend the marked region when
1917 invoked repeatedly - all under appropriate circumstances.
1918 Fixes bugs #5525, #10906.
1919
1920 2012-03-08 Glenn Morris <rgm@gnu.org>
1921
1922 * files.el (locate-dominating-file, dir-locals-find-file):
1923 Undo 2012-03-06 change.
1924
1925 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1926
1927 * international/quail.el (quail-help):
1928 Force bidi-paragraph-direction be left-to-right. See discussion in
1929 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1930 for the reason.
1931
1932 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1933
1934 Avoid superfluous registering of signals. (Bug#10807)
1935
1936 * notifications.el (notifications-on-action-object)
1937 (notifications-on-close-object): New defvars.
1938 (notifications-on-action-signal, notifications-on-closed-signal):
1939 Unregister the signal if not needed any longer.
1940 (notifications-notify): Register `notifications-action-signal' or
1941 `notifications-closed-signal', if :on-action or :on-close has been
1942 passed as argument.
1943
1944 2012-03-07 Chong Yidong <cyd@gnu.org>
1945
1946 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1947 non-X platforms.
1948
1949 2012-03-06 Glenn Morris <rgm@gnu.org>
1950
1951 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1952 (x-disown-selection-internal, x-get-selection-internal):
1953 Doc fix (add arglist signatures). (Bug#10783)
1954
1955 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1956
1957 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1958 Handle breakpoints with no "type".
1959
1960 2012-03-06 Glenn Morris <rgm@gnu.org>
1961
1962 * files.el (locate-dominating-file): Add optional predicate argument.
1963 (dir-locals-find-file): Make use of above change.
1964
1965 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1966
1967 * info.el (Info-insert-dir): Also try "dir.gz".
1968
1969 2012-03-06 Glenn Morris <rgm@gnu.org>
1970
1971 * files.el (dir-locals-find-file):
1972 Ignore non-readable or non-regular files. (Bug#10928)
1973
1974 * files.el (locate-dominating-file): Doc fix.
1975
1976 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1977
1978 * calendar/calendar.el (calendar-set-mode-line):
1979 `getenv' returns a string. (Bug#10951)
1980
1981 2012-03-05 Leo Liu <sdl.web@gmail.com>
1982
1983 * simple.el (backward-delete-char-untabify): Constrain point to
1984 field (Bug#10939).
1985
1986 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1987
1988 2012-03-05 Chong Yidong <cyd@gnu.org>
1989
1990 * simple.el (count-words): If called from Lisp, return the word
1991 count, for symmetry with `count-lines'. Arglist changed.
1992 (count-words--message): Args changed. Consolidate counting code
1993 from count-words and count-words-region.
1994 (count-words-region): Caller changed.
1995 (count-lines-region): Make it an obsolete alias.
1996
1997 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1998
1999 * saveplace.el (save-place-to-alist)
2000 (save-place-ignore-files-regexp): Allow value nil to disable this
2001 feature.
2002
2003 2012-03-04 Chong Yidong <cyd@gnu.org>
2004
2005 * faces.el (face-spec-reset-face): For the default face, reset the
2006 attributes to default values (Bug#10748).
2007
2008 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2009
2010 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2011 previous patch: Check `message-send-mail-function', and not the
2012 default function (bug#10897).
2013
2014 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2015
2016 * notifications.el (notifications-on-action-signal)
2017 (notifications-on-closed-signal): Check for unique service name of
2018 incoming event. Fix error in removing entry.
2019 (top): Register for signals with wildcard service name.
2020 (notifications-notify): Use daemon unique service name for map entries.
2021
2022 2012-03-04 Chong Yidong <cyd@gnu.org>
2023
2024 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2025
2026 2012-03-04 Glenn Morris <rgm@gnu.org>
2027
2028 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2029 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2030 (expand-abbrev, define-abbrev-table): Doc fixes.
2031
2032 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2033
2034 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2035 `message-default-send-mail-function' and not `send-mail-function'
2036 when doing the prompting for `sendmail-query-once' before sending
2037 in Message buffers (bug#10897).
2038
2039 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2040 This is inconsistent with all the other stream functions, which leave
2041 the setting up to the higher levels (if so wanted) (bug#10931).
2042
2043 2012-03-02 Alan Mackenzie <acm@muc.de>
2044
2045 Depessimize the handling of very large macros.
2046
2047 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2048 (c-macro-cache-syntactic): New variables to implement a one
2049 element macro cache.
2050 (c-invalidate-macro-cache): New function.
2051 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2052 Adapt to use the new cache.
2053 (c-state-safe-place): Use better the cache of safe positions.
2054 (c-state-semi-nonlit-pos-cache)
2055 (c-state-semi-nonlit-pos-cache-limit):
2056 New variables for...
2057 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2058 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2059 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2060 Use c-state-semi-safe-place.
2061
2062 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2063 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2064
2065 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2066
2067 * jka-compr.el (jka-compr-call-process):
2068 Apply `file-accessible-directory-p' only when the default directory is
2069 not remote.
2070
2071 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2072
2073 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2074 access of FILE2, if FILE1 does not exist.
2075
2076 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2077 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2078
2079 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2080 Add "PAGER=" to `process-environment'.
2081
2082 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2083
2084 * progmodes/sql.el: Bug fix
2085 (sql-get-login-ext): Save login values in globals.
2086 (sql-get-login): Use new version of `sql-get-login-ext'.
2087 (sql-interactive-mode): Set global `sql-connection' to nil.
2088 (sql-connect): Set global values for connection.
2089 (sql-product-interactive): Save global values as buffer local.
2090
2091 2012-02-29 Leo Liu <sdl.web@gmail.com>
2092
2093 * abbrev.el (define-abbrevs): Reset sys to nil.
2094
2095 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2096
2097 * files.el (file-equal-p): Rename from `files-equal-p'.
2098 Return nil when one or both files don't exist.
2099 (file-subdir-of-p): Now only top directory must exists,
2100 return nil if it doesn't.
2101 (copy-directory): No need to test with `file-subdir-of-p' after
2102 creating dir.
2103 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2104 to `file-equal-p'.
2105
2106 2012-02-28 Glenn Morris <rgm@gnu.org>
2107
2108 * shell.el (shell-mode):
2109 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2110 * play/landmark.el (landmark-font-lock-face-O):
2111 * play/handwrite.el (handwrite):
2112 * play/gomoku.el (gomoku-O):
2113 * net/browse-url.el (browse-url-browser-display):
2114 * international/mule.el (define-charset):
2115 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2116 * filesets.el (filesets-find-file-delay):
2117 * eshell/em-xtra.el (eshell-xtra):
2118 * eshell/em-unix.el (eshell-grep):
2119 * emulation/viper.el (viper-mode):
2120 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2121 * emacs-lisp/easymenu.el (easy-menu-define):
2122 * calendar/timeclock.el (timeclock-use-display-time):
2123 * bs.el (bs-mode):
2124 * bookmark.el (bookmark-save-flag):
2125 Doc fix (standardize possessive apostrophe usage).
2126
2127 2012-02-27 Chong Yidong <cyd@gnu.org>
2128
2129 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2130 Fix key-binding lookup for ESC key (Bug#9146).
2131
2132 * font-lock.el (font-lock-specified-p): Rename from
2133 font-lock-spec-present. Callers changed.
2134
2135 2012-02-27 Daniel Hackney <dan@haxney.org>
2136
2137 * emacs-lisp/package.el (package-compute-transaction):
2138 Handle holding a package version to t in package-load-list.
2139
2140 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2141
2142 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2143 (tramp-get-inode, tramp-get-device): Use cached values.
2144
2145 2012-02-26 Alan Mackenzie <acm@muc.de>
2146
2147 Check there is a font-lock specification before doing initial
2148 fontification.
2149
2150 * font-core.el (font-lock-mode): Move the conditional from
2151 :after-hook to font-lock-initial-fontify.
2152 (font-lock-default-function): Move the check for a specification
2153 to font-lock-spec-present.
2154
2155 * font-lock.el (font-lock-initial-fontify): Call ...
2156 (font-lock-spec-present): New function.
2157
2158 2012-02-26 Jim Blandy <jimb@red-bean.com>
2159
2160 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2161 (gdb-send): Apply it to the operand of the '-interpreter-exec
2162 console' command, so that we can pass arguments with (say) quotes
2163 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2164
2165 2012-02-26 Chong Yidong <cyd@gnu.org>
2166
2167 * help-fns.el (describe-function-1): Clarify description of
2168 remapping (Bug#10844).
2169
2170 * files.el (files-equal-p): Doc fix.
2171 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2172 and quit the loop once a mismatch is found.
2173
2174 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2175
2176 * bs.el (bs--show-with-configuration): Don't throw an error
2177 if the window cannot be split; otherwise, subsequent calls to
2178 bs-show fail, restoring a stale window config. (Bug#10882)
2179
2180 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2181
2182 * term/ns-win.el (global-map): Bind ns-drag-file to
2183 ns-find-file (Bug#5855, Bug#10050).
2184
2185 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2186
2187 * calendar/parse-time.el (parse-time-string): Allow extractor to
2188 return nil.
2189
2190 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2191
2192 * net/tramp.el (tramp-file-name-for-operation):
2193 Add `files-equal-p' and `file-subdir-of-p'.
2194
2195 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2196 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2197 Add COPY-CONTENTS argument.
2198
2199 2012-02-25 Chong Yidong <cyd@gnu.org>
2200
2201 Add custom groups for VC backends, for consistency with vc-bzr.
2202
2203 * vc/vc-arch.el (vc-arch):
2204 * vc/vc-cvs.el (vc-cvs):
2205 * vc/vc-git.el (vc-git):
2206 * vc/vc-hg.el (vc-hg):
2207 * vc/vc-mtn.el (vc-mtn):
2208 * vc/vc-rcs.el (vc-rcs):
2209 * vc/vc-sccs.el (vc-sccs):
2210 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2211 All relevant defcustoms reassigned.
2212
2213 2012-02-25 Chong Yidong <cyd@gnu.org>
2214
2215 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2216
2217 * term/x-win.el (x-initialize-window-system): Reduce default for
2218 x-selection-timeout to 5 seconds (Bug#8869).
2219
2220 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2221
2222 * files.el (files-equal-p, file-subdir-of-p): New functions.
2223 (copy-directory): Error when trying to copy a directory on itself.
2224 Add missing copy-contents arg to tramp handler.
2225 * dired-aux.el (dired-copy-file-recursive): Same.
2226 (dired-create-files): Modify destination when source is equal to
2227 dest when copying files.
2228 Return also when dest is a subdir of source. (Bug#10489)
2229
2230 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2231
2232 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2233 (Bug#10874)
2234
2235 2012-02-23 Alan Mackenzie <acm@muc.de>
2236
2237 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2238 parameter "after-hook:" to allow the expansion to run code after
2239 the execution of the mode hooks.
2240
2241 * font-lock.el (font-lock-initial-fontify): New function extracted
2242 from font-lock-mode-internal.
2243
2244 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2245 :after-hook.
2246
2247 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2248
2249 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2250 (completion--cache-all-sorted-completions): New function.
2251 (completion-all-sorted-completions): Use it.
2252 (completion--do-completion, minibuffer-force-complete):
2253 Use it to re-instate the flush hook.
2254
2255 * icomplete.el (icomplete-completions): Replace last fix with a better
2256 one (bug#10850).
2257
2258 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2259
2260 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2261 when it might call us back infinitely (bug#10797).
2262
2263 2012-02-23 Glenn Morris <rgm@gnu.org>
2264
2265 * minibuffer.el (completion-category-overrides): Doc fix.
2266
2267 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2270 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2271
2272 2012-02-23 Glenn Morris <rgm@gnu.org>
2273
2274 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2275 (authors-obsolete-files-regexps, authors-ignored-files)
2276 (authors-ambiguous-files, authors-renamed-files-alist):
2277 Add more entries.
2278
2279 2012-02-23 Juri Linkov <juri@jurta.org>
2280
2281 * isearch.el (isearch-occur): Sync interactive spec with occur's
2282 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2283
2284 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2285
2286 2012-02-22 Juri Linkov <juri@jurta.org>
2287
2288 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2289 (ucs-insert): Doc fix. Check for hex digits in the string.
2290 Don't display `nil' in the error message. (Bug#10857)
2291
2292 2012-02-22 Alan Mackenzie <acm@muc.de>
2293
2294 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2295
2296 2012-02-22 Glenn Morris <rgm@gnu.org>
2297
2298 * ffap.el (ffap-c-path):
2299 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2300
2301 2012-02-22 Chong Yidong <cyd@gnu.org>
2302
2303 * custom.el (load-theme): Doc fix.
2304
2305 2012-02-22 Glenn Morris <rgm@gnu.org>
2306
2307 * dired-x.el (dired-guess-shell-alist-default):
2308 Remove escape sequences from nroff output. (Bug#172)
2309
2310 2012-02-21 Glenn Morris <rgm@gnu.org>
2311
2312 * vc/emerge.el (emerge-defvar-local):
2313 Set `permanent-local' property rather than unused `preserved'.
2314
2315 * textmodes/picture.el (picture-delete-char): New alias.
2316 (picture-mode-map): Use it. (Bug#10860)
2317 (picture-mode): Doc fix.
2318
2319 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2320
2321 * newcomment.el (uncomment-region-default): Remove unused binding.
2322
2323 2012-02-21 Glenn Morris <rgm@gnu.org>
2324
2325 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2326 (picture-self-insert, picture-tab-chars): Doc fix.
2327 (picture-mode-map): Fix C-a, C-e.
2328
2329 2012-02-20 Glenn Morris <rgm@gnu.org>
2330
2331 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2332
2333 2012-02-20 Leo Liu <sdl.web@gmail.com>
2334
2335 * icomplete.el (icomplete-completions): Check FROM arg before
2336 passing to substring (Bug#10850).
2337
2338 2012-02-19 Chong Yidong <cyd@gnu.org>
2339
2340 * comint.el: Require ansi-color.
2341 (comint-output-filter-functions): Add ansi-color-process-output.
2342
2343 * ansi-color.el: Don't set comint-output-filter-functions; it is
2344 now in the initial value defined in comint.el.
2345 (ansi-color-apply-face-function): New variable.
2346 (ansi-color-apply-on-region): Use it.
2347 (ansi-color-apply-overlay-face): New function.
2348
2349 * shell.el (shell): No need to require ansi-color.
2350 (shell-mode): Use ansi-color-apply-face-function to highlight
2351 color escapes using font-lock-face property (Bug#10835).
2352
2353 2012-02-19 Chong Yidong <cyd@gnu.org>
2354
2355 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2356 mode-line formats (Bug#10839).
2357
2358 2012-02-18 Glenn Morris <rgm@gnu.org>
2359
2360 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2361
2362 * mail/undigest.el (unforward-rmail-message): Doc fix.
2363
2364 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2365
2366 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2367
2368 * international/characters.el (script-list): Sync with the latest
2369 Unicode Character Database.
2370
2371 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2372
2373 * international/titdic-cnv.el: Remove duplicate coding tag.
2374 * language/cham.el: Likewise.
2375 * language/tai-viet.el: Likewise.
2376
2377 2012-02-18 Glenn Morris <rgm@gnu.org>
2378
2379 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2380 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2381 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2382 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2383 * calendar/holidays.el (holiday-bahai-holidays)
2384 (calendar-holidays, list-holidays):
2385 Use utf-8 Bahá'í in doc-strings, menus, etc.
2386
2387 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2388
2389 * saveplace.el (save-place-ignore-files-regexp): New variable
2390 allowing for excluding files from saving their location of point.
2391 The default value matches the temporary commit message editing
2392 files from Git, SVN, Bazaar, and Mercurial.
2393 (save-place-to-alist): Use it.
2394
2395 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2396 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * newcomment.el (uncomment-region-default): Don't leave extra space
2399 when an arg is provided (bug#8150).
2400
2401 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2402
2403 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2404
2405 2012-02-17 Glenn Morris <rgm@gnu.org>
2406
2407 * net/socks.el: Require network-stream. (Bug#10599)
2408
2409 2012-02-17 Kenichi Handa <handa@m17n.org>
2410
2411 * international/charprop.el:
2412 * international/uni-name.el:
2413 * international/uni-old-name.el:
2414 * international/uni-comment.el: Regenerate.
2415
2416 2012-02-16 Glenn Morris <rgm@gnu.org>
2417
2418 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2419 Interactively in calendar buffer, give an error if not on a date.
2420
2421 2012-02-15 Glenn Morris <rgm@gnu.org>
2422
2423 * shell.el (shell-delimiter-argument-list):
2424 Revert 2011-02-17 change. (Bug#8027)
2425
2426 2012-02-15 Chong Yidong <cyd@gnu.org>
2427
2428 * minibuffer.el (completion-at-point-functions): Doc fix.
2429
2430 * custom.el (defcustom): Doc fix; note use of defvar.
2431
2432 2012-02-15 Glenn Morris <rgm@gnu.org>
2433
2434 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2435 Doc fixes.
2436
2437 2012-02-14 Glenn Morris <rgm@gnu.org>
2438
2439 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2440
2441 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2442
2443 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2444 way the ports list is computed.
2445 (smtpmail-query-smtp-server): Prompt the user for a port number if
2446 we can't connect to any of the standard ports (bug#10810).
2447
2448 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2449
2450 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2451
2452 2012-02-13 Glenn Morris <rgm@gnu.org>
2453
2454 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2455
2456 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2457
2458 * net/gnutls.el (gnutls-trustfiles): New variable.
2459 (gnutls-negotiate): Use it.
2460
2461 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2462
2463 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2464 does its stuff if Gnus is running.
2465
2466 2012-02-13 Alan Mackenzie <acm@muc.de>
2467
2468 Fix a loop in c-set-fl-decl-start.
2469
2470 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2471 c-backward-syntactic-ws actually moves backwards.
2472
2473 2012-02-13 Leo Liu <sdl.web@gmail.com>
2474
2475 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2476 beginning so that all \C-o chars are removed.
2477
2478 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2479
2480 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2481
2482 2012-02-12 Alan Mackenzie <acm@muc.de>
2483
2484 Fix infinite loop with long macros.
2485 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2486
2487 2012-02-12 Chong Yidong <cyd@gnu.org>
2488
2489 * window.el (display-buffer): Doc fix (Bug#10785).
2490
2491 2012-02-12 Glenn Morris <rgm@gnu.org>
2492
2493 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2494 (x-disown-selection-internal, x-get-selection-internal):
2495 Sync docs with the xselect.c versions.
2496
2497 * allout-widgets.el: Add missing license notice.
2498
2499 2012-02-11 Glenn Morris <rgm@gnu.org>
2500
2501 * select.el (x-get-selection-internal, x-own-selection-internal)
2502 (x-disown-selection-internal):
2503 * x-dnd.el (x-get-selection-internal): Update declarations.
2504
2505 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2506
2507 * window.el (window-sides-slots):
2508 * tool-bar.el (tool-bar-position):
2509 * term/xterm.el (xterm-extra-capabilities):
2510 * ses.el (ses-self-reference-early-detection):
2511 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2512 (verilog-auto-wire-type)
2513 (verilog-auto-delete-trailing-whitespace)
2514 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2515 (verilog-auto-tieoff-declaration):
2516 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2517 (sql-oracle-statement-starters, sql-oracle-scan-on):
2518 * progmodes/prolog.el (prolog-align-comments-flag)
2519 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2520 (prolog-left-indent-regexp, prolog-paren-indent-p)
2521 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2522 (prolog-types, prolog-mode-specificators)
2523 (prolog-determinism-specificators, prolog-directives)
2524 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2525 (prolog-electric-dot-flag)
2526 (prolog-electric-dot-full-predicate-template)
2527 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2528 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2529 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2530 (prolog-program-switches, prolog-prompt-regexp)
2531 (prolog-debug-on-string, prolog-debug-off-string)
2532 (prolog-trace-on-string, prolog-trace-off-string)
2533 (prolog-zip-on-string, prolog-zip-off-string)
2534 (prolog-use-standard-consult-compile-method-flag)
2535 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2536 (prolog-imenu-max-lines, prolog-info-predicate-index)
2537 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2538 (prolog-char-quote-workaround):
2539 * progmodes/cc-vars.el (c-defun-tactic):
2540 * net/tramp.el (tramp-encoding-command-interactive)
2541 (tramp-local-end-of-line):
2542 * net/soap-client.el (soap-client):
2543 * net/netrc.el (netrc-file):
2544 * net/gnutls.el (gnutls):
2545 * minibuffer.el (completion-category-overrides)
2546 (completion-cycle-threshold)
2547 (completion-pcm-complete-word-inserts-delimiters):
2548 * man.el (Man-name-local-regexp):
2549 * mail/feedmail.el (feedmail-display-full-frame):
2550 * international/characters.el (glyphless-char-display-control):
2551 * eshell/em-ls.el (eshell-ls-date-format):
2552 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2553 (lisp-lambda-list-keyword-parameter-indentation)
2554 (lisp-lambda-list-keyword-parameter-alignment):
2555 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2556 * dired-x.el (dired-omit-verbose):
2557 * cus-theme.el (custom-theme-allow-multiple-selections):
2558 * calc/calc.el (calc-highlight-selections-with-faces)
2559 (calc-lu-field-reference, calc-lu-power-reference)
2560 (calc-note-threshold):
2561 * battery.el (battery-mode-line-limit):
2562 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2563 (archive-7z-update):
2564 * allout.el (allout-prefixed-keybindings)
2565 (allout-unprefixed-keybindings)
2566 (allout-inhibit-auto-fill-on-headline)
2567 (allout-flattened-numbering-abbreviation):
2568 * allout-widgets.el (allout-widgets-auto-activation)
2569 (allout-widgets-icons-dark-subdir)
2570 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2571 (allout-widgets-theme-dark-background)
2572 (allout-widgets-theme-light-background)
2573 (allout-widgets-item-image-properties-emacs)
2574 (allout-widgets-item-image-properties-xemacs)
2575 (allout-widgets-run-unit-tests-on-load)
2576 (allout-widgets-time-decoration-activity)
2577 (allout-widgets-hook-error-post-time)
2578 (allout-widgets-track-decoration):
2579 Add missing :version tags to new defcustoms and defgroups.
2580
2581 * progmodes/sql.el (sql-ansi-statement-starters)
2582 (sql-oracle-statement-starters): Add custom type.
2583
2584 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2585 (prolog-system-version): Give it a type.
2586
2587 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2588
2589 * term/pc-win.el (x-select-text, x-selection-owner-p)
2590 (x-own-selection-internal, x-disown-selection-internal)
2591 (x-get-selection-internal): Sync doc strings and argument lists
2592 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2593
2594 2012-02-11 Leo Liu <sdl.web@gmail.com>
2595
2596 * progmodes/python.el (python-end-of-statement): Fix infinite
2597 loop. (Bug#10788)
2598
2599 2012-02-10 Glenn Morris <rgm@gnu.org>
2600
2601 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2602 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2603
2604 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2605
2606 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2607 about SMTP before checking the From header.
2608
2609 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2610 into own function for reuse by emacsbug.el.
2611
2612 2012-02-10 Leo Liu <sdl.web@gmail.com>
2613
2614 * subr.el (condition-case-unless-debug): Rename from
2615 condition-case-no-debug. All callers changed.
2616 (with-demoted-errors): Fix caller.
2617
2618 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2619 * nxml/rng-valid.el (rng-do-some-validation):
2620 * emacs-lisp/package.el (package-refresh-contents)
2621 (package-menu-execute):
2622 * desktop.el (desktop-create-buffer):
2623 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2624
2625 2012-02-10 Glenn Morris <rgm@gnu.org>
2626
2627 * textmodes/bibtex.el:
2628 Add missing :version tags for new/changed defcustoms.
2629
2630 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2631
2632 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2633
2634 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2635 (smtpmail-via-smtp): Use it, or fall back on the From address.
2636 (smtpmail-send-it): Ditto.
2637
2638 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2641 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2642 (byte-compile-tmp-var): New const.
2643 (byte-compile-defvar): Use it to minimize .elc size.
2644 Just use `defvar' rather than simulate it (bug#10761).
2645
2646 2012-02-09 Glenn Morris <rgm@gnu.org>
2647
2648 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2649
2650 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2651 Add :version tags.
2652
2653 * progmodes/compile.el (compilation-error-screen-columns)
2654 (compilation-first-column, compilation-filter-start): Doc fixes.
2655
2656 * vc/log-view.el (log-view-toggle-entry-display):
2657 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2658
2659 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2660 (report-emacs-bug-can-use-xdg-email):
2661 (report-emacs-bug-insert-to-mailer): Doc fixes.
2662 (report-emacs-bug): Message fix.
2663
2664 * net/browse-url.el (browse-url-can-use-xdg-open)
2665 (browse-url-xdg-open): Doc fixes.
2666
2667 * electric.el (electric-indent-mode, electric-pair-mode)
2668 (electric-layout-rules, electric-layout-mode): Doc fixes.
2669 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2670
2671 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2672
2673 * server.el (server-unselect-display): Don't inadvertently kill
2674 the current buffer. (Bug#10729)
2675
2676 2012-02-08 Glenn Morris <rgm@gnu.org>
2677
2678 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2679 (sql-list-table): Doc fixes.
2680
2681 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2682 Comment out (does nothing).
2683
2684 * completion.el (dynamic-completion-mode):
2685 * dirtrack.el (dirtrack-debug-mode):
2686 * electric.el (electric-layout-mode):
2687 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2688 * face-remap.el (text-scale-mode, buffer-face-mode):
2689 * iimage.el (iimage-mode):
2690 * image-mode.el (image-transform-mode):
2691 * minibuffer.el (completion-in-region-mode):
2692 * scroll-lock.el (scroll-lock-mode):
2693 * simple.el (next-error-follow-minor-mode):
2694 * tar-mode.el (tar-subfile-mode):
2695 * tooltip.el (tooltip-mode):
2696 * vcursor.el (vcursor-use-vcursor-map):
2697 * wid-browse.el (widget-minor-mode):
2698 * emulation/tpu-edt.el (tpu-edt-mode):
2699 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2700 * international/iso-ascii.el (iso-ascii-mode):
2701 * language/thai-util.el (thai-word-mode):
2702 * mail/supercite.el (sc-minor-mode):
2703 * net/goto-addr.el (goto-address-mode):
2704 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2705 * progmodes/cwarn.el (cwarn-mode):
2706 * progmodes/flymake.el (flymake-mode):
2707 * progmodes/glasses.el (glasses-mode):
2708 * progmodes/hideshow.el (hs-minor-mode):
2709 * progmodes/pascal.el (pascal-outline-mode):
2710 * textmodes/enriched.el (enriched-mode):
2711 * vc/smerge-mode.el (smerge-mode):
2712 Doc fixes (minor mode argument).
2713
2714 2012-02-07 Eli Zaretskii <eliz@gnu.org>
2715
2716 * ls-lisp.el (ls-lisp-sanitize): New function.
2717 (ls-lisp-insert-directory): Use it to fix or remove any elements
2718 in file-alist with missing attributes. (Bug#4673)
2719
2720 2012-02-07 Alan Mackenzie <acm@muc.de>
2721
2722 Fix spurious recognition of c-in-knr-argdecl.
2723
2724 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2725 putative K&R region.
2726
2727 2012-02-07 Alan Mackenzie <acm@muc.de>
2728
2729 * progmodes/cc-engine.el (c-forward-objc-directive):
2730 Prevent looping in "#pragma mark @implementation".
2731
2732 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
2733
2734 * notifications.el (notifications-on-closed-signal): Make `reason'
2735 optional. (Bug#10744)
2736
2737 2012-02-07 Glenn Morris <rgm@gnu.org>
2738
2739 * emacs-lisp/easy-mmode.el (define-minor-mode):
2740 Doc fixes for the macro and the mode it defines.
2741
2742 * image.el (imagemagick-types-inhibit): Doc fix.
2743
2744 * cus-start.el (imagemagick-render-type): Add it.
2745
2746 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2747
2748 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2749 Set the default at load time, too, so that `font-lock-fontify-buffer'
2750 can be called without setting up the entire mode first. This fixes
2751 a bug in `mm-inline-text' with C MIME parts.
2752
2753 2012-02-06 Chong Yidong <cyd@gnu.org>
2754
2755 * simple.el (list-processes--refresh): Delete exited processes
2756 (Bug#8094).
2757
2758 * comint.el (comint-next-prompt): next-single-char-property-change
2759 and prev-single-char-property-change never return nil (Bug#8657).
2760
2761 * custom.el (defcustom): Doc fix (Bug#9711).
2762
2763 2012-02-05 Chong Yidong <cyd@gnu.org>
2764
2765 * cus-edit.el (custom-variable-reset-backup): Quote the value
2766 before storing it in the customized-value property (Bug#6712).
2767 (custom-display): Add a customization type tag.
2768 (custom-buffer-create-internal): Improve tooltip message.
2769
2770 * wid-edit.el (widget-field-value-get): New optional arg to
2771 suppress trailing whitespace truncation.
2772 (character): Use it (Bug#2689).
2773
2774 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2775
2776 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2777 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2778
2779 2012-02-05 Chong Yidong <cyd@gnu.org>
2780
2781 * cus-edit.el (custom-variable-value-create): For mismatched
2782 types, show the current value (Bug#7600).
2783
2784 * custom.el (defcustom): Doc fix.
2785
2786 2012-02-05 Glenn Morris <rgm@gnu.org>
2787
2788 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2789
2790 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
2791
2792 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2793 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2794 (pp-last-sexp): Use `looking-at-p'.
2795
2796 2012-02-04 Glenn Morris <rgm@gnu.org>
2797
2798 * files.el (revert-buffer):
2799 Doc fix (mention revert-buffer-in-progress-p).
2800
2801 * emacs-lisp/ert-x.el (ert-simulate-command):
2802 Check deferred-action-list (which is obsolete) is bound.
2803
2804 * subr.el (with-wrapper-hook): Doc fixes.
2805
2806 * simple.el (filter-buffer-substring-functions)
2807 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2808
2809 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2810
2811 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2812 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2813
2814 2012-02-04 Leo Liu <sdl.web@gmail.com>
2815
2816 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2817
2818 2012-02-04 Glenn Morris <rgm@gnu.org>
2819
2820 * image.el (image-extension-data): Add obsolete alias.
2821
2822 * isearch.el (isearch-update): Doc fix.
2823
2824 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2825
2826 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2827
2828 2012-02-03 Glenn Morris <rgm@gnu.org>
2829
2830 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2831 (image-animate-timeout): Doc fix.
2832
2833 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2834
2835 2012-02-02 Glenn Morris <rgm@gnu.org>
2836
2837 * server.el (server-auth-dir): Doc fix.
2838 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2839
2840 * subr.el (run-mode-hooks): Doc fix.
2841
2842 2012-02-02 Juri Linkov <juri@jurta.org>
2843
2844 * image-mode.el (image-toggle-display-image): Remove tautological
2845 `major-mode' from the `derived-mode-p' test.
2846
2847 2012-02-02 Kenichi Handa <handa@m17n.org>
2848
2849 * composite.el (compose-region): Cancel previous change.
2850
2851 2012-02-02 Kenichi Handa <handa@m17n.org>
2852
2853 * composite.el (compose-region, compose-string): Signal error for
2854 a null string component (Bug#6988).
2855
2856 2012-02-01 Chong Yidong <cyd@gnu.org>
2857
2858 * view.el (view-buffer-other-window, view-buffer-other-frame):
2859 Handle special modes like view-buffer (Bug#10650).
2860 (view-buffer): Simplify.
2861
2862 * frame.el (set-frame-font): Tweak meaning of third argument.
2863
2864 * dynamic-setting.el (font-setting-change-default-font):
2865 Use set-frame-font (Bug#9982).
2866
2867 2012-02-01 Glenn Morris <rgm@gnu.org>
2868
2869 * progmodes/compile.el (compilation-internal-error-properties):
2870 Respect compilation-first-column in the "*compilation*" buffer.
2871
2872 * emacs-lisp/easy-mmode.el (define-minor-mode):
2873 Relax :variable's test for a named function.
2874
2875 2012-01-31 Alan Mackenzie <acm@muc.de>
2876
2877 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2878 off by one error.
2879
2880 2012-01-31 Chong Yidong <cyd@gnu.org>
2881
2882 * frame.el (set-frame-font): New arg ALL-FRAMES.
2883
2884 * menu-bar.el (menu-set-font): Use set-frame-font.
2885
2886 * faces.el (face-spec-reset-face): Don't apply unspecified
2887 attribute values to the default face.
2888
2889 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2890
2891 * progmodes/cwarn.el (cwarn): Remove dead link.
2892 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2893 Remove * from defcustom docstrings.
2894 (turn-on-cwarn-mode): Make obsolete.
2895 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2896 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2897
2898 2012-01-31 Glenn Morris <rgm@gnu.org>
2899
2900 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2901 Fix :variable handling of mode a symbol not equal to modefun.
2902 Allow named functions to be used as the cdr of :variable.
2903
2904 2012-01-30 Glenn Morris <rgm@gnu.org>
2905
2906 * emacs-lisp/authors.el (authors-fixed-entries):
2907 Remove reference to deleted file rnewspost.el.
2908
2909 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2910
2911 * window.el (window-with-parameter): Remove unused variable `windows'.
2912 (window--side-check): Remove unused variable `code'.
2913 (window--resize-siblings): Remove unused variable `first'.
2914 (adjust-window-trailing-edge): Remove unused variable `failed'.
2915 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2916 Use `let', not `let*'.
2917 (balance-windows-2): Remove unused variable `found'.
2918 (window--state-put-2): Remove unused variable `splits'.
2919 (window-state-put): Remove unused variable `selected'.
2920 (same-window-p): Use `string-match-p'.
2921 (display-buffer-assq-regexp): Remove unused variable `value'.
2922 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2923 Mark argument ALIST as ignored.
2924 (pop-to-buffer): Remove unused variable `old-window'.
2925
2926 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2927
2928 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2929 and .lzma compressed files.
2930
2931 2012-01-29 Chong Yidong <cyd@gnu.org>
2932
2933 * frame.el (window-system-default-frame-alist): Doc fix.
2934
2935 * dynamic-setting.el (font-setting-change-default-font): Don't
2936 change the default face if SET-FONT argument is non-nil (Bug#9982).
2937
2938 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2939
2940 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2941
2942 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2943
2944 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2945 breakpoints in files outside current directory (Bug#6098).
2946
2947 2012-01-29 Chong Yidong <cyd@gnu.org>
2948
2949 * progmodes/python.el: Require ansi-color at top-level.
2950
2951 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2952 Define and use in Emacs Lisp mode (Bug#9360).
2953 (lisp-mode-abbrev-table): Add doc.
2954 (lisp-mode-variables): Don't set local-abbrev-table.
2955 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2956
2957 2012-01-28 Roland Winkler <winkler@gnu.org>
2958
2959 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2960
2961 2012-01-28 Roland Winkler <winkler@gnu.org>
2962
2963 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2964 (bibtex-set-dialect): Use it. Either set global values of
2965 dialect-dependent variables or bind these variables buffer-locally
2966 (Bug#10254).
2967 (bibtex-mode): Call bibtex-set-dialect via
2968 hack-local-variables-hook.
2969 (bibtex-dialect): Update docstring.
2970 Add safe-local-variable predicate.
2971 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2972 bibtex-set-dialect.
2973 (bibtex-mode-map): Define menu for each dialect.
2974 (bibtex-entry): Fix docstring.
2975
2976 2012-01-28 Chong Yidong <cyd@gnu.org>
2977
2978 * eshell/esh-arg.el (eshell-quote-argument): New function.
2979
2980 * eshell/esh-ext.el (eshell-invoke-batch-file):
2981 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2982 first arg to eshell-parse-command (Bug#10523).
2983
2984 2012-01-28 Drew Adams <drew.adams@oracle.com>
2985
2986 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2987 `default-directory' is non-nil.
2988
2989 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2990
2991 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2992 line that displays system-configuration-options. (Bug#9924)
2993
2994 2012-01-28 Drew Adams <drew.adams@oracle.com>
2995
2996 * descr-text.el (describe-char): Show information about POS, in
2997 addition to information about the character at POS. Improve and
2998 update the doc string. Change "code point" to "code point in
2999 charset", to avoid confusion with the character's Unicode code
3000 point shown above that. (Bug#10129)
3001
3002 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3003
3004 * descr-text.el (describe-char): Show the raw character, not only
3005 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3006 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3007 for the reasons.
3008
3009 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3010
3011 * emacs-lisp/package.el (package-install):
3012 Run package-refresh-contents if there is no archive yet (Bug#9798).
3013
3014 2012-01-28 Chong Yidong <cyd@gnu.org>
3015
3016 * emacs-lisp/package.el (package-maybe-load-descriptor):
3017 New function, split from package-maybe-load-descriptor.
3018 (package-maybe-load-descriptor): Use it.
3019 (package-download-transaction): Fully load required packages
3020 inside the loop, so that `require' calls work (Bug#10593).
3021 (package-install): No need to call package-initialize now.
3022
3023 2012-01-28 Chong Yidong <cyd@gnu.org>
3024
3025 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3026
3027 * tooltip.el (tooltip-mode): Doc fix.
3028 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3029
3030 * frame.el (set-cursor-color): Doc fix (Bug#352).
3031
3032 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3033 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3034
3035 * cus-edit.el (custom-buffer-create-internal): Fix search button
3036 action (Bug#10542).
3037 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3038
3039 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3040
3041 * dired.el (dired-mark-files-regexp):
3042 Include any subdirectory components. (Bug#10445)
3043
3044 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3045
3046 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3047 Handle [host]:port syntax. (Bug#10533)
3048
3049 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3050
3051 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3052
3053 2012-01-26 Glenn Morris <rgm@gnu.org>
3054
3055 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3056 * term.el (term-raw-escape-map): Use Control-X-prefix.
3057 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3058
3059 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3060
3061 * window.el (window-state-get, window--state-get-1): Don't deal
3062 with fixed-sizeness of windows. Simplify code.
3063
3064 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3065
3066 * window.el (window--state-get-1, window--state-put-2):
3067 Don't save and restore the mark.
3068
3069 2012-01-25 Chong Yidong <cyd@gnu.org>
3070
3071 * custom.el (custom-variable-p): Doc fix.
3072
3073 2012-01-25 Glenn Morris <rgm@gnu.org>
3074
3075 * dired.el (dired-goto-file): Handle some of the more common
3076 characters that `ls -b' escapes. (Bug#10596)
3077
3078 * progmodes/compile.el (compilation-next-error-function):
3079 Respect compilation-first-column in the "*compilation*" buffer.
3080 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3081
3082 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3083
3084 2012-01-24 Glenn Morris <rgm@gnu.org>
3085
3086 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3087
3088 2012-01-24 Julien Danjou <julien@danjou.info>
3089
3090 * color.el (color-rgb-to-hsl): Fix value computing.
3091 (color-hue-to-rgb): New function.
3092 (color-hsl-to-rgb): New function.
3093 (color-clamp, color-saturate-hsl, color-saturate-name)
3094 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3095 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3096
3097 2012-01-24 Glenn Morris <rgm@gnu.org>
3098
3099 * vc/vc-rcs.el (vc-rcs-create-tag):
3100 * vc/vc-sccs.el (vc-sccs-create-tag):
3101 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3102
3103 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3104
3105 * eshell/esh-util.el (eshell-read-hosts-file):
3106 Skip comment lines. (Bug#10549)
3107
3108 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3109
3110 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3111
3112 * subr.el (display-delayed-warnings): Doc fix.
3113 (collapse-delayed-warnings): New function to collapse identical
3114 adjacent warnings.
3115 (delayed-warnings-hook): Add it.
3116
3117 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3118
3119 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3120
3121 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3122 properties, when "login-as" is set.
3123
3124 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3125 (tramp-default-user-alist): Don't add "pscp".
3126 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3127 property "login-as", if set. (Bug#10530)
3128
3129 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3130
3131 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3132 "plink1" and "psftp". (Bug#10530)
3133
3134 2012-01-21 Kenichi Handa <handa@m17n.org>
3135
3136 * international/mule-cmds.el (prefer-coding-system): Show a
3137 warning message if the default value of file-name-coding-system
3138 was not changed.
3139
3140 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3141
3142 * windmove.el (windmove-reference-loc):
3143 Fix windmove-reference-loc miscalculation.
3144
3145 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3146
3147 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3148 default unit.
3149
3150 2012-01-21 Glenn Morris <rgm@gnu.org>
3151
3152 * international/mule.el (auto-coding-alist): Add .tbz.
3153
3154 * files.el (local-enable-local-variables): Doc fix.
3155 (inhibit-local-variables-regexps): Rename from
3156 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3157 Doc fix. Add some extensions from auto-coding-alist.
3158 (inhibit-local-variables-suffixes):
3159 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3160 (inhibit-local-variables-p):
3161 New function, extracted from set-auto-mode-1.
3162 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3163 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3164 (hack-local-variables): Doc fix. Make the mode-only case
3165 respect enable-local-variables and friends.
3166 Respect inhibit-local-variables-regexps for file-locals, but
3167 not for directory-locals.
3168 (set-visited-file-name):
3169 Take account of inhibit-local-variables-regexps.
3170 Whether it applies may change as the file name is changed.
3171 * jka-cmpr-hook.el (jka-compr-install):
3172 * jka-compr.el (jka-compr-uninstall):
3173 Update for inhibit-first-line-modes-suffixes name change.
3174
3175 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3176
3177 * help-macro.el (make-help-screen): Temporarily restore original
3178 binding for minor-mode-map-alist (Bug#10454).
3179
3180 2012-01-19 Julien Danjou <julien@danjou.info>
3181
3182 * color.el (color-name-to-rgb): Use the white color to find the max
3183 color component value and return correctly computed values.
3184 (color-name-to-rgb): Add missing float conversion for max value.
3185
3186 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3187
3188 * window.el (window--state-get-1, window-state-get): Do not use
3189 special state value for window-persistent-parameters.
3190 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3191 (window--state-put-2): Reset all window parameters to nil before
3192 assigning values of persistent parameters.
3193
3194 2012-01-18 Alan Mackenzie <acm@muc.de>
3195
3196 Eliminate sluggishness and hangs in fontification of "semicolon
3197 deserts".
3198
3199 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3200 Change value 10000 -> 3000.
3201 (c-state-safe-place): Reformulate so it doesn't stack up an
3202 infinite number of wrong entries in c-state-nonlit-pos-cache.
3203 (c-determine-limit-get-base, c-determine-limit): New functions to
3204 determine backward search limits disregarding literals.
3205 (c-find-decl-spots): Amend commenting.
3206 (c-cheap-inside-bracelist-p): New function which detects "={".
3207
3208 * progmodes/cc-fonts.el
3209 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3210 backward search.
3211 (c-font-lock-declarations): Fix an occurrence of point being
3212 undefined. Check additionally for point being in a bracelist or
3213 near a macro invocation without a semicolon so as to avoid a
3214 fruitless time consuming search for a declarator. Give a more
3215 precise search limit for declarators using the new
3216 c-determine-limit.
3217
3218 2012-01-18 Glenn Morris <rgm@gnu.org>
3219
3220 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3221 (set-auto-mode): Doc fixes.
3222
3223 2012-01-17 Glenn Morris <rgm@gnu.org>
3224
3225 * isearch.el (search-nonincremental-instead): Fix doc typo.
3226
3227 * dired.el (dired-insert-directory): Handle newlines in directory name.
3228 (dired-build-subdir-alist): Unescape newlines in directory name.
3229
3230 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3231
3232 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3233 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3234 (tramp-action-terminal): Use it. (Bug#10530)
3235
3236 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3239
3240 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3241
3242 * window.el (window-state-ignored-parameters): Remove variable.
3243 (window--state-get-1): Rename argument MARKERS to IGNORE.
3244 Handle persistent window parameters. Make copy of clone-of
3245 parameter only if requested. (Bug#10348)
3246 (window--state-put-2): Install a window parameter only if it has
3247 a non-nil value or an existing parameter shall be overwritten.
3248
3249 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3250
3251 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3252
3253 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3254
3255 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3256 don't pass the (nil) value of `upnode' to string-match.
3257
3258 2012-01-14 Chong Yidong <cyd@gnu.org>
3259
3260 * startup.el (command-line): Fix X resource class for cursorColor.
3261 Fix values recognized by the cursorBlink resource.
3262
3263 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3264
3265 * epg.el (epg--make-temp-file): Avoid permission race condition
3266 when running on old Emacs versions (bug#10403).
3267
3268 2012-01-14 Glenn Morris <rgm@gnu.org>
3269
3270 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3271
3272 2012-01-13 Alan Mackenzie <acm@muc.de>
3273
3274 Fix filling for when filladapt mode is enabled.
3275
3276 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3277 c-mask-paragraph, pass in `fill-paragraph' rather than
3278 `fill-region-as-paragraph'. (This is a reversion of a previous
3279 change.)
3280 * progmodes/cc-mode.el (c-basic-common-init):
3281 Make fill-paragraph-handle-comment buffer local and set it to nil.
3282
3283 2012-01-13 Glenn Morris <rgm@gnu.org>
3284
3285 * dired.el (dired-switches-escape-p): New function.
3286 (dired-insert-directory): Use dired-switches-escape-p.
3287 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3288
3289 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3290
3291 2012-01-12 Glenn Morris <rgm@gnu.org>
3292
3293 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3294 changes in adaptive-fill-regexp. (Bug#10276)
3295
3296 2012-01-11 Alan Mackenzie <acm@muc.de>
3297
3298 Fix Emacs bug #10463 - put `widen's around the critical spots.
3299
3300 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3301 widen around each invocation of c-state-pp-to-literal. Remove an
3302 unused let variable.
3303
3304 2012-01-11 Glenn Morris <rgm@gnu.org>
3305
3306 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3307 Doc fix.
3308
3309 2012-01-10 Chong Yidong <cyd@gnu.org>
3310
3311 * net/network-stream.el (network-stream-open-starttls):
3312 Avoid emitting a confusing error message when the server gives a bad
3313 response to the capability command.
3314
3315 2012-01-10 Glenn Morris <rgm@gnu.org>
3316
3317 * mail/unrmail.el (unrmail): Tweak previous change.
3318
3319 2012-01-09 Chong Yidong <cyd@gnu.org>
3320
3321 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3322
3323 2012-01-08 Alan Mackenzie <acm@muc.de>
3324
3325 Optimise font locking in long enum definitions.
3326
3327 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3328 arm to a cond form to handle enums.
3329 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3330 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3331
3332 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3333
3334 * files.el (move-file-to-trash): Preserve default file modes on error.
3335 (Bug#10401)
3336
3337 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3338
3339 * faces.el (set-face-attribute): Clarify the meaning of the nil
3340 frame (bug#10294).
3341
3342 * subr.el (with-selected-frame): Mention that the selected frame
3343 is restored (bug#9980).
3344
3345 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3346 (bug#9759).
3347
3348 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3349 (password-read): Don't autoload unused function.
3350
3351 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3352
3353 * progmodes/which-func.el (which-func-mode): Turn into a
3354 non-interactive function and mark as obsolete (bug#10428).
3355
3356 2012-01-06 Chong Yidong <cyd@gnu.org>
3357
3358 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3359 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3360 functions, along with 1 and -1.
3361
3362 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3363
3364 * time.el (display-time-load-average)
3365 (display-time-default-load-average): Doc fixes. See the thread
3366 starting at
3367 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3368 for the details.
3369
3370 2012-01-06 Glenn Morris <rgm@gnu.org>
3371
3372 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3373 has no messages. (Bug#10377)
3374
3375 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3376 than Info-edit. (Bug#10385)
3377
3378 * time.el (display-time-load-average, display-time-next-load-average):
3379 Doc fixes.
3380
3381 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3382 local setting of buffer-read-only to the input buffer. (Bug#10419)
3383
3384 * calendar/calendar.el (calendar-mode):
3385 Locally set scroll-margin to 0. (Bug#10379)
3386
3387 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3388
3389 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3390
3391 2012-01-05 Glenn Morris <rgm@gnu.org>
3392
3393 * eshell/em-unix.el (diff-no-select): Autoload it.
3394 (eshell/diff): Use diff-no-select. (Bug#10420)
3395
3396 2012-01-05 Chong Yidong <cyd@gnu.org>
3397
3398 * shell.el (shell-dynamic-complete-functions): Revert last change.
3399 (shell-command-completion-function): New function.
3400 (shell-completion-vars): Use it to implement
3401 shell-completion-execonly (Bug#10417).
3402
3403 * custom.el (enable-theme): Don't set custom-safe-themes.
3404
3405 * cus-theme.el (custom-theme-merge-theme):
3406 Ignore custom-enabled-themes and custom-safe-themes.
3407
3408 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3409
3410 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3411 first prompt in `sql-interacive-mode'.
3412 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3413 keywords.
3414 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3415 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3416 context of original buffer. Invoke `sql-login-hook'.
3417
3418 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3419
3420 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3421 letters in cite-prefix.
3422
3423 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3424
3425 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3426
3427 2012-01-03 Chong Yidong <cyd@gnu.org>
3428
3429 * shell.el (shell-dynamic-complete-functions):
3430 Put pcomplete-completions-at-point, so as to try
3431 comint-filename-completion first (Bug#10417).
3432
3433 2012-01-02 Richard Stallman <rms@gnu.org>
3434
3435 * battery.el (battery-status-function):
3436 Detect when to use battery-yeeloong-sysfs.
3437 (battery-echo-area-format): Add string for Yeeloong.
3438 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3439 (battery-yeeloong-sysfs): New function.
3440
3441 2012-01-02 Chong Yidong <cyd@gnu.org>
3442
3443 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3444 (dirtrack): Merge code for handling relative filenames in prompt
3445 from shell-dir-cookie-watcher.
3446 (dirtrack-debug-message): New arg to avoid excess format calls.
3447
3448 * shell.el (shell-dir-cookie-re): Variable deleted.
3449 (shell-dir-cookie-watcher): Function deleted.
3450 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3451 with dirtrack-mode.
3452
3453 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3454
3455 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3456 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3457 libgnutls-26.dll.
3458
3459 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3460
3461 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3462
3463 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3464
3465 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3466 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3467
3468 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3469
3470 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3471 also for alternative shells.
3472 (tramp-open-connection-setup-interactive-shell): Check, whether
3473 the shell is a busybox.
3474 (tramp-send-command): Don't suppress multiple prompts for
3475 busyboxes, it hurts.
3476
3477 2011-12-28 Chong Yidong <cyd@gnu.org>
3478
3479 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3480 (gdb-get-source-file): Move mode line update to
3481 gdb-get-source-file (Bug#10087).
3482
3483 2011-12-25 Chong Yidong <cyd@gnu.org>
3484
3485 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3486 gud-gdb-marker-filter without taking it as an argument.
3487 (gud-gdb-run-command-fetch-lines): Caller changed.
3488 (gud-gdb-completion-function): New variable.
3489 (gud-gdb-completion-at-point): Use it.
3490 (gud-gdb-completions-1): Split from gud-gdb-completions.
3491
3492 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3493 function as separate arguments.
3494 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3495 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3496 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3497 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3498 (gdb-stopped, def-gdb-auto-update-trigger)
3499 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3500 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3501 Callers changed.
3502 (gud-gdbmi-completions): New function.
3503 (gdb): Use it for generating the completion table.
3504
3505 2011-12-24 Alan Mackenzie <acm@muc.de>
3506
3507 Introduce a mechanism to widen the region used in context font
3508 locking. Use this to protect declarations from losing their contexts.
3509
3510 * progmodes/cc-langs.el (c-before-font-lock-functions):
3511 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3512 (c-before-context-fontification-functions): New defvar, a list of
3513 functions to be run just before context (etc.) font locking.
3514
3515 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3516 New, functionality extracted from
3517 c-neutralize-syntax-in-and-mark-CPP.
3518 (c-in-after-change-fontification): New variable.
3519 (c-after-change): Set c-in-after-change-fontification.
3520 (c-set-fl-decl-start): Rejig its interface, so it can be called
3521 from both after-change and context fontifying.
3522 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3523 New functions.
3524 (c-standard-font-lock-fontify-region-function): New variable.
3525 (c-font-lock-fontify-region): New function.
3526
3527 2011-12-24 Juri Linkov <juri@jurta.org>
3528
3529 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3530 (Bug#10348)
3531
3532 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3533
3534 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3535 existence of source file. (Bug#10325)
3536
3537 2011-12-23 Alan Mackenzie <acm@muc.de>
3538
3539 Fix unstable fontification inside templates.
3540
3541 * progmodes/cc-langs.el (c-before-font-lock-functions):
3542 Newly created from the singular version. The (c c++ objc) entry now
3543 additionally has c-set-fl-decl-start. The other languages (apart
3544 from AWK) have that as a single entry.
3545
3546 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3547 The functionality for "local" declarations has been extracted to
3548 c-set-fl-decl-start.
3549
3550 * progmodes/cc-mode.el (c-common-init, c-after-change):
3551 Changes due to pluralisation of c-before-font-lock-functions.
3552 (c-set-fl-decl-start): New function, extracted from
3553 c-font-lock-enclosing-decls and enhanced.
3554
3555 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3556
3557 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3558
3559 2011-12-22 Juri Linkov <juri@jurta.org>
3560
3561 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3562
3563 2011-12-22 Chong Yidong <cyd@gnu.org>
3564
3565 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3566
3567 2011-12-21 Drew Adams <drew.adams@oracle.com>
3568
3569 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3570
3571 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3572
3573 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3574
3575 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3576
3577 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3578 highlighting and support. Fix up comments for capitalization.
3579 (cfengine-mode-debug): New var.
3580 (cfengine3-mode): Change the modeline indicator to "CFE3".
3581 (cfengine3-font-lock-keywords): Improve defun highlighting.
3582 (cfengine2-actions): Rename from `cfengine-actions'.
3583 (cfengine2-font-lock-keywords): Rename from
3584 `cfengine-font-lock-keywords'.
3585 (cfengine2-imenu-expression): Rename from
3586 `cfengine-imenu-expression'.
3587 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3588 (cfengine2-beginning-of-defun): Rename from
3589 `cfengine-beginning-of-defun'.
3590 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3591 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3592 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3593 modeline indicator to "CFE2".
3594 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3595 (cfengine-mode-abbrevs): Mark obsolete.
3596
3597 2011-12-21 Chong Yidong <cyd@gnu.org>
3598
3599 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3600 filename argument.
3601
3602 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3603
3604 * window.el (window-normalize-buffer-to-display): Remove.
3605 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3606
3607 2011-12-19 Chong Yidong <cyd@gnu.org>
3608
3609 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3610 Don't signal an error in a predicate function; return non-nil.
3611 (vc-dir-mark-file): Move the error here.
3612 (vc-dir-mark-unmark): If acting on the region, keep going if one
3613 of the entries cannot be marked/unmarked.
3614 (vc-dir-mark-all-files): If current entry is a directory, mark
3615 only child files, as documented.
3616
3617 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3618
3619 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3620 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3621 addition.
3622
3623 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3624
3625 * term/ns-win.el (ns-get-selection-internal)
3626 (ns-store-selection-internal): Declare.
3627 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3628 Declare as obsolete.
3629 (ns-get-pasteboard, ns-paste-secondary):
3630 Use ns-get-selection-internal.
3631 (ns-set-pasteboard, ns-copy-including-secondary):
3632 Use ns-store-selection-internal.
3633
3634 2011-12-17 Chong Yidong <cyd@gnu.org>
3635
3636 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3637 (vc-deduce-fileset): Doc fix.
3638
3639 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3640
3641 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3642
3643 2011-12-13 Sam Steingold <sds@gnu.org>
3644
3645 * man.el (Man-getpage-in-background): When running under a
3646 window-system, ignore $MANWIDTH and $COLUMNS.
3647
3648 2011-12-15 Kenichi Handa <handa@m17n.org>
3649
3650 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3651 (setup-ethiopic-environment-internal): Comment out key-binding for
3652 ethio-toggle-punctuation.
3653
3654 2011-12-13 Alan Mackenzie <acm@muc.de>
3655
3656 Add the switch statement to AWK Mode.
3657
3658 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3659 "default" to the keywords regexp.
3660
3661 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3662 expression as the rest.
3663 (c-nonlabel-token-key): Allow string literals for AWK.
3664 Refactor for the other modes.
3665
3666 Large brace-block initialisation makes CC Mode slow: Fix.
3667 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3668 routines. Limit backward searching in c-font-lock-enclosing.decl.
3669
3670 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3671 pp-state and literal type in addition to the limits.
3672 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3673 (c-state-literal-at): Use the above new defun.
3674 (c-slow-in-literal, c-fast-in-literal): Remove.
3675 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3676
3677 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3678 being in a literal. Add a limit for backward searching.
3679
3680 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3681 c-slow-in-literal.
3682
3683 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3684
3685 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3686
3687 2011-12-13 Martin Rudalics <rudalics@gmx.at>
3688
3689 * window.el (delete-other-windows): Use correct frame in call to
3690 window-with-parameter.
3691
3692 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3693
3694 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3695 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3696 (makefile-gmake-statements, makefile-makepp-statements):
3697 Use it and add new makepp keywords.
3698 (makefile-makepp-font-lock-keywords): Add new patterns.
3699 (makefile-match-function-end): Match new [...] and [[...]].
3700
3701 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
3702
3703 * ses.el (ses-call-printer-return, ses-cell-property-get)
3704 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3705 (ses-create-cell-variable, ses-reset-header-string)
3706 (ses-cell-set-formula, ses-repair-cell-reference-all)
3707 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3708 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3709 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3710 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3711 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3712 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3713 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3714 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3715 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3716 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3717 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3718 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3719
3720 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3721
3722 * ses.el: The overall change is to add cell renaming, that is
3723 setting fancy names for cell symbols other than name matching
3724 "\\`[A-Z]+[0-9]+\\'" regexp .
3725 (ses-create-cell-variable): New defun.
3726 (ses-relocate-formula): Relocate formulas only for cells the
3727 symbols of which are not renamed, i.e. symbols whose names do not
3728 match regexp "\\`[A-Z]+[0-9]+\\'".
3729 (ses-relocate-all): Relocate values only for cells the symbols of
3730 which are not renamed.
3731 (ses-load): Create cells variables as the (ses-cell ...) are read,
3732 in order to check row col consistency with cell symbol name only
3733 for cells that are not renamed.
3734 (ses-replace-name-in-formula): New defun.
3735 (ses-rename-cell): New defun.
3736
3737 2011-12-11 Chong Yidong <cyd@gnu.org>
3738
3739 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3740 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3741
3742 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3743
3744 * window.el (other-window): Fix docstring.
3745
3746 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3747
3748 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
3749 `from' or `to' address before taking its substring.
3750 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
3751 encoded name is chopped in the middle of the encoded string, and
3752 thus displayed encoded.
3753
3754 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
3755
3756 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3757
3758 2011-12-10 Eli Zaretskii <eliz@gnu.org>
3759
3760 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3761 to use texinfo-update-node and commands that call it if the
3762 Texinfo file uses @node lines without next/prev/up pointers.
3763 Correct outdated description about texinfo-master-menu.
3764 (texinfo-all-menus-update, texinfo-master-menu)
3765 (texinfo-update-node, texinfo-every-node-update)
3766 (texinfo-multiple-files-update): Doc fix. Warn against updating
3767 all the @node lines.
3768 (texinfo-master-menu): Only call texinfo-update-node if the prefix
3769 argument is numeric. Explain better in the doc string what the
3770 function really does.
3771 (texinfo-insert-master-menu-list): Improve the error message
3772 displayed if there's no menu in the Top node.
3773 (Bug#2975) See also this thread:
3774 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3775
3776 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3777
3778 * speedbar.el (speedbar-supported-extension-expressions):
3779 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3780
3781 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
3782
3783 * printing.el (pr-mode-alist):
3784 * simple.el (filter-buffer-substring-functions)
3785 (completion-list-insert-choice-function):
3786 * window.el (window-with-parameter, window-atom-root)
3787 (window-sides-slots, window-size-fixed, window-min-delta)
3788 (window-max-delta, window--resize-mini-window)
3789 (window--resize-child-windows-normal, window-tree)
3790 (delete-other-windows, quit-window, split-window)
3791 (display-buffer-record-window, special-display-buffer-names)
3792 (special-display-regexps, special-display-popup-frame)
3793 (same-window-p, split-window-sensibly)
3794 (display-buffer-overriding-action, display-buffer-alist)
3795 (display-buffer-base-action, display-buffer, switch-to-buffer)
3796 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3797 (fit-window-to-buffer, recenter-positions)
3798 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3799 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3800 and remove unneeded backslashes in docstrings.
3801
3802 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3805
3806 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3807 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3808 end in ".mk".
3809 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3810 when reading the makefile (bug#10116).
3811
3812 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3815 (bug#10116).
3816
3817 2011-12-06 Glenn Morris <rgm@gnu.org>
3818
3819 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3820
3821 2011-12-06 Chong Yidong <cyd@gnu.org>
3822
3823 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3824
3825 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
3826
3827 * textmodes/table.el (table-shorten-cell): Fix typo.
3828
3829 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3830
3831 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3832
3833 2011-12-05 Eli Zaretskii <eliz@gnu.org>
3834
3835 * descr-text.el (describe-char): Fix display of strong
3836 right-to-left characters and directional embeddings and overrides.
3837
3838 * simple.el (what-cursor-position): Fix display of codepoints of
3839 strong right-to-left characters.
3840
3841 2011-12-05 Chong Yidong <cyd@gnu.org>
3842
3843 * faces.el (read-color): Doc fix.
3844
3845 2011-12-05 Glenn Morris <rgm@gnu.org>
3846
3847 * align.el (align--set-marker): Add doc-string.
3848 Don't try to move something that is not a marker. (Bug#10216)
3849
3850 2011-12-04 Glenn Morris <rgm@gnu.org>
3851
3852 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3853 overly zealous deletion of trailing whitespace.
3854
3855 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
3856
3857 * server.el (server-delete-client): On Windows, do not try to delete
3858 the only terminal.
3859 (server-process-filter): On Windows, treat requests for a tty frame as
3860 if they were for a GUI frame if the running server is in GUI mode.
3861
3862 2011-12-03 Glenn Morris <rgm@gnu.org>
3863
3864 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3865
3866 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * electric.el: Streamline electric-indent's hook.
3869 (electric-indent-chars): Revert to simple list.
3870 (electric-indent-functions): New var.
3871 (electric-indent-post-self-insert-function): Use it.
3872
3873 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3874 there's no inferior buffer (bug#10196).
3875 (prolog-consult-compile): Don't use toggle-read-only.
3876
3877 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3878
3879 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3880 interrupt. (Bug#10187)
3881
3882 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3885 (bug#9160).
3886
3887 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3888 (bug#10191).
3889
3890 2011-12-02 Juri Linkov <juri@jurta.org>
3891
3892 * info.el (Info-search): Display "end of manual" when Isearch
3893 reaches the end of single-file Info manual. (Bug#9918)
3894
3895 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3896
3897 * isearch.el (isearch-message-prefix): Run the input method part
3898 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3899
3900 2011-12-02 Juri Linkov <juri@jurta.org>
3901
3902 * isearch.el (isearch-occur): Use `word-search-regexp' for
3903 `isearch-word'.
3904 (isearch-search-and-update): Add condition for `isearch-word' and
3905 call `word-search-regexp'. (Bug#10145)
3906
3907 2011-12-01 Glenn Morris <rgm@gnu.org>
3908
3909 * eshell/em-hist.el (eshell-hist-initialize):
3910 Handle eshell-history-size nil and HISTSIZE set or unset.
3911 (eshell-history-file-name, eshell-history-size): Fix custom type.
3912
3913 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3916
3917 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3918
3919 * progmodes/verilog-mode.el (verilog-pretty-expr):
3920 Rework verilog-pretty-expr to handle new assignment operators in system
3921 verilog, such as += *= and the like.
3922 (verilog-assignment-operator-re): Regular expression to find the
3923 assigment operator in a verilog assignment.
3924 (verilog-assignment-operation-re): Regular expression to find an
3925 assignment statement for pretty-expr.
3926 (verilog-in-attribute-p): Query returns true if point is in an
3927 attribute context; used to skip these for expression line up from
3928 pretty-expr.
3929 (verilog-in-parameter-p): Query returns true if point is in an
3930 parameter definition context; used to skip these for expression
3931 line up from pretty-expr.
3932 (verilog-in-parenthesis-p): Query returns true if point is in a
3933 parenthetical expression, specifically ( ) but not [ ] or { };
3934 used by pretty-expr.
3935 (verilog-just-one-space): If there is no space, don't add one.
3936 (verilog-get-lineup-indent-2): Specifically skip just attribute
3937 contexts for expression lineup, rather than skipping all
3938 parenthetical expressions.
3939 (verilog-calculate-indent): Fix comment, and fix indent.
3940 (verilog-do-indent): Indent declarations in lists (suggested by
3941 Joachim Lechner).
3942 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3943 skeleton items.
3944 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3945 by Alain Mellan).
3946
3947 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3948
3949 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3950 parameters with embedded comments. Reported by Ray Stevens.
3951 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3952 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3953 Reported by Tim Holt.
3954 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3955 instantiated by upper module causing wrong expansion until AUTOed a
3956 second time. Reported by K C Buckenmaier.
3957 (verilog-diff-auto): Fix showing .* as a difference when
3958 `verilog-auto-star-save' off. Reported by Dan Dever.
3959 (verilog-auto-reset, verilog-read-always-signals)
3960 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3961 temporary signals in reset list if
3962 verilog-auto-reset-blocking-in-non is nil, and match assignment
3963 style to each signal's assignment type, bug381.
3964 Reported by Thomas Esposito.
3965 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3966 (verilog-uvm-statement-re): Support UVM indentation and
3967 highlighting, with old OVM keywords only.
3968 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3969 Support AUTOTIEOFF creating non-wire data types.
3970 Suggested by Jonathan Greenlaw.
3971 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3972 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3973 (verilog-inject-sense, verilog-read-inst-pins)
3974 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3975 Fix mismatching parenthesis inside commented out code when deleting
3976 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3977 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3978 non-numeric vector width. Reported by Alex Reed.
3979 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3980 detecting signals with parameter widths. Reported by Alex Reed.
3981 (verilog-auto-delete-trailing-whitespace):
3982 With `verilog-auto-delete-trailing-whitespace' remove trailing
3983 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3984 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3985 Fix verilog-scan-cache corruption when running user AUTO expansion
3986 hooks that call indentation routines.
3987 (verilog-simplify-range-expression): Fix typo ignoring lower case
3988 identifiers.
3989 (verilog-delete-auto): Fix delete-autos to also remove user created
3990 automatics, as long as they start with AUTO.
3991 (verilog-batch-diff-auto, verilog-diff-auto)
3992 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3993 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3994 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3995 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3996 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3997 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3998 is disabled and its cache will get corrupt, causing AUTOS not to
3999 expand. Instead use only -quick functions.
4000 (verilog-scan-region): Fix scanning over escaped quotes.
4001 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4002 (verilog-re-search-backward-quick)
4003 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4004 related functions now ignore strings, to fix misparsing of strings
4005 with magic comments embedded in them.
4006 (verilog-read-auto-template):
4007 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4008 Reported by Brad Dobbie.
4009 (verilog-read-auto-template):
4010 Fix 'verilog-auto-inst-template-numbers' with comments.
4011 Reported by Brad Dobbie.
4012 (verilog-auto-inst, verilog-auto-inst-param)
4013 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4014 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4015 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4016 debugging templates without merge conflicts, bug357.
4017 Reported by Brad Dobbie.
4018 (verilog-read-auto-template):
4019 Fix verilog-auto-inst-template-numbers with multiple templates.
4020 Reported by Brad Dobbie.
4021 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4022 abbrevs so user won't be asked to save.
4023 (verilog-read-auto-lisp-present): Fix to start at beginning of
4024 buffer in case called outside of verilog-auto.
4025 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4026 to "X-2". Reported by Matthew Myers.
4027 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4028 all inputs from module templates. Reported by Leith Johnson.
4029 (verilog-module-inside-filename-p): Fix locating programs as with
4030 modules.
4031 (verilog-auto-inst-port): Fix vl-width expressions when using
4032 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4033 (verilog-decls-get-regs, verilog-decls-get-signals,
4034 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4035 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4036 verilog-read-decls): Combine reg and wire structures into one var
4037 structure to represent SystemVerilog concepts.
4038 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4039 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4040 (verilog-auto-wire-type, verilog-insert-definition):
4041 Add verilog-auto-wire-type and AUTOLOGIC to support using
4042 SystemVerilog "logic" keyword instead of "wire"/"reg".
4043 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4044 to declares outputs that also have assignments (presumably in an
4045 ifdef or generate if so there's not a driver conflict).
4046 Reported by Matthew Myers.
4047 (verilog-auto-declare-nettype, verilog-insert-definition):
4048 Add verilog-auto-declare-nettype to fix declarations using
4049 `default_nettype none. Reported by Julian Gorfajn.
4050 (verilog-read-always-signals-recurse, verilog-read-decls)
4051 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4052 malformed end statement, bug325. Reported by Joshua Wise and
4053 Andrew Drake.
4054 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4055 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4056 when expanding .* in interfaces, bug320.
4057 Reported by Pierre-David Pfister.
4058 (verilog-read-module-name): Fix import statements between module
4059 name and open parenthesis, bug317.
4060 Reported by Pierre-David Pfister.
4061 (verilog-simplify-range-expression): Fix simplification of
4062 multiplications inside AUTOWIRE connections, bug303.
4063 (verilog-auto-inst-port): Support parameter expansion in
4064 multidimensional arrays.
4065 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4066 after "assert property". Reported by Julian Gorfajn.
4067 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4068 with multiplication, bug303.
4069 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4070 Reported by Jan Frode Lonnum.
4071
4072 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4073
4074 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4075 (hfy-shell-file-name, hfy-shell):
4076 * international/fontset.el (x-decompose-font-name): Fix typos.
4077
4078 2011-11-29 Ken Brown <kbrown@cornell.edu>
4079
4080 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4081 (gdb-version): Remove defvar.
4082 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4083 (gdb-gud-context-command, gdb-non-stop-handler)
4084 (gdb-current-context-command, gdb-stopped): Use it.
4085 (gdb-init-1): Enable pretty printing here.
4086 (gdb-non-stop-handler): Don't enable pretty-printing here.
4087 Check to see if the target supports non-stop mode; if not, turn off
4088 non-stop mode. Use the following.
4089 (gdb-check-target-async): New defun.
4090 (gud-watch, gdb-stopped): Fix whitespace.
4091 (gdb-get-source-file): Don't try to display the source file if
4092 `gdb-main-file' is nil.
4093
4094 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * align.el: Try to generate fewer markers (bug#10047).
4097 (align--set-marker): New macro.
4098 (align-region): Use it.
4099
4100 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4103
4104 2011-11-29 Chong Yidong <cyd@gnu.org>
4105
4106 * indent.el (indent-for-tab-command, indent-according-to-mode):
4107 Doc fix.
4108 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4109
4110 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4111
4112 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4113 aware of remote file names. (Bug#10124)
4114
4115 2011-11-29 Chong Yidong <cyd@gnu.org>
4116
4117 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4118
4119 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4120
4121 * files.el (find-file): Don't use force-same-window (bug#10144).
4122 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4123 use pop-to-buffer if the selected window can't be used.
4124 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4125
4126 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4127
4128 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4129 special-mode-map.
4130
4131 2011-11-28 Chong Yidong <cyd@gnu.org>
4132
4133 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4134
4135 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4136
4137 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4138 gdb-get-source-file-list on gdb-create-source-file-list.
4139
4140 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4141
4142 * whitespace.el (whitespace-newline): Use a different foreground
4143 color for 16-color light-background displays.
4144
4145 2011-11-24 Chong Yidong <cyd@gnu.org>
4146
4147 * window.el (display-buffer--special-action): Doc fix.
4148
4149 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4150
4151 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4152 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4153 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4154 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4155 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4156 (avl-tree-stack-first):
4157 * emacs-lisp/cconv.el (cconv--analyse-use):
4158 * net/gnutls.el (gnutls-negotiate): Fix typos.
4159
4160 2011-11-24 Glenn Morris <rgm@gnu.org>
4161
4162 * lpr.el (lpr-windows-system, lpr-lp-system):
4163 * mail/binhex.el (binhex-begin-line):
4164 * progmodes/grep.el (grep-history, grep-find-history):
4165 * textmodes/flyspell.el:
4166 * vc/pcvs-defs.el (cvs-global-menu):
4167 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4168 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4169 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4170
4171 * net/tls.el: Fix case of "GnuTLS".
4172
4173 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4174
4175 * version.el (emacs-build-system): Give it a doc-string.
4176
4177 2011-11-24 Juri Linkov <juri@jurta.org>
4178
4179 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4180
4181 2011-11-24 Glenn Morris <rgm@gnu.org>
4182
4183 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4184 if called on a non-mime message just toggle the headers. (Bug#8006)
4185
4186 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4187
4188 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4189 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4190 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4191 (allout-rebullet-heading, allout-open-sibtopic)
4192 (allout-toggle-current-subtree-encryption)
4193 (allout-toggle-subtree-encryption, allout-encrypt-string)
4194 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4195 (allout-distinctive-bullets-string, allout-auto-activation):
4196 * window.el (window-normalize-buffer-to-display):
4197 * progmodes/verilog-mode.el (verilog-batch-indent):
4198 * textmodes/bibtex.el (bibtex-field-braces-opt)
4199 (bibtex-field-strings-opt):
4200 * vc/cvs-status.el (cvs-tree-merge):
4201 Fix typos.
4202
4203 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4204
4205 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4206 `non-essential' to t, in order to avoid remote connections.
4207
4208 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4209
4210 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4211 On MS-DOS and MS-Windows, compare with loaddefs.el
4212 case-insensitively.
4213
4214 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4215
4216 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4217
4218 2011-11-23 Glenn Morris <rgm@gnu.org>
4219
4220 * paths.el (rmail-file-name): Reformat the doc-string so that it
4221 is picked up.
4222
4223 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4224 (rmail-auto-file): Ignore case in the "special" field names,
4225 as mail-fetch-field does for all others.
4226
4227 * mail/rmail.el (rmail-forward):
4228 * mail/rmailkwd.el (rmail-set-label):
4229 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4230 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4231
4232 * mail/rmail.el (rmail-current-message): Doc fix.
4233
4234 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4235
4236 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4237
4238 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4239
4240 2011-11-22 Glenn Morris <rgm@gnu.org>
4241
4242 * mail/rmailmm.el (test-rmail-mime-handler)
4243 (test-rmail-mime-bulk-handler)
4244 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4245
4246 2011-11-21 Juri Linkov <juri@jurta.org>
4247
4248 * calc/calc.el (calc-read-key-sequence):
4249 Let-bind `input-method-function' to nil. (Bug#10018)
4250
4251 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4252
4253 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4254 Tell the caller that the next line needs recomputation, even
4255 though it doesn't start a sexp (bug#10094).
4256
4257 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4260
4261 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4264 Use force-same-window.
4265
4266 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4267
4268 * descr-text.el (describe-char-unicode-data):
4269 * json.el (json-string-escape):
4270 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4271 (Footnote-unicode, Footnote-style-p):
4272 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4273
4274 2011-11-20 Chong Yidong <cyd@gnu.org>
4275
4276 * window.el (replace-buffer-in-windows): Restore interactive spec.
4277
4278 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4279
4280 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4281
4282 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4283 (byte-compile-global-not-obsolete-vars): New var.
4284 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4285 Use it.
4286 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4287
4288 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4289
4290 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4291 * progmodes/pascal.el (electric-pascal-equal):
4292 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4293 * xml.el (xml-substitute-special): Fix typos.
4294
4295 2011-11-20 Glenn Morris <rgm@gnu.org>
4296
4297 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4298 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4299 Doc fixes.
4300 (rmail-decode-mime-charset): Mark as obsolete.
4301
4302 * mail/rmailsum.el (rmail-message-regexp-p-1):
4303 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4304 Before using mime functions, check they are set. (Bug#10077)
4305
4306 2011-11-19 Juri Linkov <juri@jurta.org>
4307
4308 * info.el (Info-finder-find-node): Use `package--builtins' instead
4309 of `package-alist'. Use node names formed by the pattern "Keyword "
4310 and the keyword name.
4311
4312 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4313
4314 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4315
4316 2011-11-19 Juri Linkov <juri@jurta.org>
4317
4318 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4319 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4320 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4321 `old-history', `old-history-forward'. Add let-binding
4322 `window-selected'. Remove calls to `kill-buffer',
4323 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4324 before calling `Info-find-node', so `Info-find-node-2' will reread
4325 the Info file. Restore window positions only when `window-selected'
4326 is non-nil.
4327
4328 2011-11-19 Juri Linkov <juri@jurta.org>
4329
4330 * isearch.el (isearch-lazy-highlight-new-loop):
4331 Remove condition `(not isearch-error)'. (Bug#9918)
4332
4333 * misearch.el (multi-isearch-search-fun): Add condition
4334 `(not bound)' to ignore lazy-highlighting search.
4335 Add the search-failed message "end of multi" when the end of
4336 multi-sequence is reached. Uncapitalize the search-failed
4337 message "Repeat for next buffer".
4338
4339 * info.el (Info-search): Add the search-failed message
4340 "end of the manual" when the end of the manual is reached
4341 in Isearch mode.
4342
4343 2011-11-19 Juri Linkov <juri@jurta.org>
4344
4345 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4346 Use non-destructive `remove' instead of `delete' because
4347 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4348 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4349
4350 2011-11-19 Juri Linkov <juri@jurta.org>
4351
4352 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4353 to nil instead of binding `search-ring' and `regexp-search-ring'.
4354 (Bug#9185)
4355
4356 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4357
4358 * simple.el (line-move): Force movement by logical lines for any
4359 hscrolled window, not only when auto-hscroll-mode is on.
4360 (line-move-visual): Update doc string to that effect. (Bug#10076)
4361
4362 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4363
4364 * language/european.el (macintosh): Define as alias for mac-roman.
4365
4366 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4367
4368 * mail/rmailmm.el (rmail-mime-display-header)
4369 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4370 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4371 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4372 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4373 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4374 of a raw aref.
4375 (rmail-mime-entity-segment): To get past the tagline, move forward
4376 2 more lines, to account for the 2 empty lines that precede and
4377 follow the line with the buttons.
4378 (rmail-mime-update-tagline): Move one more line, to get past the
4379 empty line that follows the buttons in the tagline. (Bug#9520)
4380
4381 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4382
4383 * window.el (window-max-delta-1, window-min-delta-1)
4384 (window-min-size-1, window-state-get-1, window-state-put-1)
4385 (window-state-put-2): Use "window--" prefix.
4386
4387 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4390 (smie-warning-count): New var.
4391 (smie-set-prec2tab): Use it.
4392 (smie-bnf->prec2): Improve warnings. Add docstring.
4393 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4394 (smie-bnf--set-class): New function.
4395 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4396 corner case.
4397
4398 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4399 (compilation-error-properties, compilation-move-to-column):
4400 Handle compilation-first-column while in the target buffer.
4401
4402 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4403 Don't hardcode point-min==1.
4404
4405 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4406 (eshell-rewrite-for-command): Remove workaround.
4407 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4408 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4409 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4410
4411 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4412
4413 2011-11-17 Glenn Morris <rgm@gnu.org>
4414
4415 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4416 Ignore buffer-local generated-autoload-file if it is the same
4417 as the global value. (Bug#10049)
4418
4419 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4420
4421 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4422 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4423 (reftex-toc-previous-heading, reftex-toc-max-level)
4424 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4425 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4426 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4427 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4428 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4429 (reftex-toc-rename-label, reftex-toc-visit-location)
4430 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4431 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4432 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4433 leaving "*toc*" only for references to the buffer.
4434
4435 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4436
4437 * window.el (window-resize, delete-window, split-window):
4438 Replace window-splits by window-combination-resize.
4439 * cus-start.el (window-splits): Replace by window-combination-resize.
4440
4441 2011-11-17 Glenn Morris <rgm@gnu.org>
4442
4443 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4444 Make bash entry derive from sh entry, not shell entry.
4445
4446 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4447
4448 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4449 properties of linked files. (Bug#9879)
4450
4451 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4452 local file name.
4453
4454 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4455
4456 * menu-bar.el (menu-bar-file-menu):
4457 * printing.el (pr-ps-utility):
4458 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4459 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4460 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4461 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4462 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4463 (icalendar--convert-cyclic-to-ical)
4464 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4465 (icalendar--convert-ical-to-diary)
4466 (icalendar--convert-recurring-to-diary)
4467 (icalendar--convert-non-recurring-all-day-to-diary)
4468 (icalendar-import-format-sample):
4469 * progmodes/idlw-shell.el (idlwave-shell-mode):
4470 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4471 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4472 (vhdl-ps-print-init): Fix typos.
4473
4474 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4475
4476 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4477 FSF and collapse date sequence, obscure author/maintainer email address
4478 better, remove extra version line, track relocation of author's webpage.
4479
4480 * progmodes/python.el (python-pdbtrack-input-prompt)
4481 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4482 regular python pdb prompts. Adjustments shamelessly taken exactly as
4483 suggested in EmacsWiki page (tiny change):
4484 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4485
4486 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * expand.el (expand-pos, expand-index, expand-point):
4489 Remove redundant info from docstring.
4490 (expand-add-abbrevs): Doc fix.
4491 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4492 (expand-sample-perl-mode-expand-list): Fix typos.
4493
4494 * net/dbus.el (dbus-event-member-name):
4495 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4496 * term/pc-win.el (msdos-create-frame-with-faces):
4497 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4498
4499 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4500
4501 * window.el (split-window, window-state-get-1)
4502 (window-state-put-1, window-state-put-2): Rename occurrences of
4503 window-nest to window-combination-limit.
4504 * cus-start.el (window-nest): Rename to window-combination-limit.
4505
4506 2011-11-16 Chong Yidong <cyd@gnu.org>
4507
4508 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4509 regexp (Bug#10033).
4510
4511 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4512
4513 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4514 `completing-read' will remove *Completions* and will preserve
4515 current-buffer for us.
4516 (tmm-add-prompt): Users of *Completions* will always (re)set its
4517 major mode.
4518 (tmm-old-comp-map): Remove.
4519
4520 2011-11-16 Glenn Morris <rgm@gnu.org>
4521
4522 * mail/rmailedit.el: Require rmailmm when compiling.
4523 (rmail-old-mime-state): New declaration.
4524 (rmail-edit-current-message): If editing a mime message,
4525 edit the "raw" message from the mbox buffer.
4526 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4527
4528 2011-11-15 Glenn Morris <rgm@gnu.org>
4529
4530 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4531 which wasn't being used. Add optional arg to force given state.
4532 (rmail-mime): Add optional arg to force given state.
4533
4534 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4535
4536 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4537 * frame.el (display-mm-dimensions-alist):
4538 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4539 (outline-move-subtree-down):
4540 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4541 (newsticker--treeview-do-get-node):
4542 * net/quickurl.el (quickurl-list-buffer-name):
4543 * progmodes/dcl-mode.el (dcl-mode):
4544 * progmodes/gdb-mi.el (gdb-mapcar*):
4545 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4546
4547 2011-11-15 Glenn Morris <rgm@gnu.org>
4548
4549 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4550 in a boolean sense, so just make it a boolean, and fix the doc.
4551 (rmail-show-mime-function, rmail-mime-feature)
4552 (rmail-require-mime-maybe): Doc fixes.
4553 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4554
4555 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4556
4557 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4558
4559 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4560 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4561 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4562 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4563
4564 2011-11-15 Glenn Morris <rgm@gnu.org>
4565
4566 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4567 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4568 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4569 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4570 (rmail-mime, rmail-show-mime): Doc fixes.
4571
4572 * term/ns-win.el (mode-line-frame-identification):
4573 Leave it alone. (Bug#10051)
4574
4575 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4576
4577 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4578 Handle empty buffers. (Bug#9978)
4579
4580 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4581
4582 * international/mule.el (define-charset):
4583 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4584 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4585 * progmodes/verilog-mode.el (verilog-backward-token):
4586 * textmodes/ispell.el (lookup-words):
4587 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4588
4589 2011-11-14 Glenn Morris <rgm@gnu.org>
4590
4591 * progmodes/executable.el
4592 (executable-make-buffer-file-executable-if-script-p):
4593 Handle file-modes returning nil.
4594
4595 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4596 message - not necessary, and causes problems. (Bug#9831)
4597
4598 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4599
4600 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4601
4602 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4603 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4604 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4605
4606 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4607
4608 * window.el (window-resize, delete-window): Use window-splits
4609 variable instead of function.
4610 (window-state-get-1, window-state-put-2, window-state-put):
4611 Don't deal with windows' splits status.
4612
4613 2011-11-12 Glenn Morris <rgm@gnu.org>
4614
4615 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4616 (apropos-documentation): Doc fixes.
4617
4618 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4619
4620 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4621 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4622
4623 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * electric.el (electric-indent-post-self-insert-function): Make it
4626 possible for a char to only indent in some circumstances.
4627 (electric-indent-mode): Simplify.
4628
4629 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4630
4631 * window.el (windows-with-parameter): Remove unused function.
4632 (windows-at-side): Rename to window-at-side-list.
4633 (window-check, window-atom-check, window-atom-check-1)
4634 (window-side-check, window-size-ignore, window-size-fixed-1)
4635 (window-in-direction-2): Prefix with "window--".
4636 (window-tree-1): Rename to window--subtree, fix doc-string.
4637
4638 2011-11-11 Glenn Morris <rgm@gnu.org>
4639
4640 * subr.el (eval-after-load): If FILE is already loaded,
4641 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4642
4643 2011-11-10 Glenn Morris <rgm@gnu.org>
4644
4645 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4646 Call svn via vc-svn-command rather than vc-do-command.
4647 (vc-svn-command): Add --non-interactive. (Bug#9993)
4648 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4649
4650 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4651 Add toggle-read-only. (Bug#7292)
4652 * files.el (toggle-read-only): Mention that it should only
4653 be used interactively. (Bug#10006)
4654
4655 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4656
4657 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4658 Adjust regexp for OCaml warnings.
4659
4660 * electric.el (electric-pair-post-self-insert-function): Let user
4661 turn it off buffer-locally (bug#9932).
4662
4663 * progmodes/python.el (python-beginning-of-statement):
4664 Rewrite (bug#2703).
4665
4666 * progmodes/compile.el: Better handle TABs (bug#9749).
4667 (compilation-internal-error-properties)
4668 (compilation-next-error-function): Obey the target buffer's
4669 compilation-error-screen-columns.
4670
4671 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4672
4673 * progmodes/meta-mode.el: Remove obsolete comments.
4674 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4675 Fix typos in docstrings.
4676
4677 2011-11-09 Martin Rudalics <rudalics@gmx.at>
4678
4679 * window.el (window-size-fixed-p): Rewrite doc-string.
4680 (window-resizable-p): Rename to window--resizable-p. Update callers.
4681 (window--resizable): New function. Make all callers of
4682 window-resizable call window--resizable instead.
4683 (window-resizable): Rewrite in terms of window--resizable.
4684
4685 2011-11-08 Glenn Morris <rgm@gnu.org>
4686
4687 * progmodes/delphi.el (delphi-mode-syntax-table):
4688 Let define-derived-mode define a proper syntax table. (Bug#9994)
4689
4690 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * window.el: Stay away from defsubst.
4693 (window-list-no-nils): Remove.
4694 (window-state-get-1, window-state-get): Use backquote instead.
4695
4696 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4697
4698 * emacs-lisp/find-func.el (find-function-read):
4699 Fix incorrect use of default argument in `completing-read'.
4700
4701 2011-11-08 Martin Rudalics <rudalics@gmx.at>
4702
4703 * window.el (display-buffer-function, special-display-function):
4704 Mention display-buffer-record-window but do not mention
4705 help-setup parameter in doc-strings.
4706 (window-min-delta): Fix doc-string typo.
4707
4708 2011-11-08 Chong Yidong <cyd@gnu.org>
4709
4710 * window.el (window-total-height, window-total-width): Doc fix.
4711 (window-body-size): Move from C.
4712 (window-body-height, window-body-width): Move to C.
4713
4714 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * window.el: Make special-display like display-buffer-alist (bug#9532).
4717 (display-buffer--special-action): New function, morphed
4718 from display-buffer--special.
4719 (display-buffer): Use it to handle special-display-buffers at higher
4720 priority (just after display-buffer-alist).
4721 (display-buffer-fallback-action, display-buffer--other-frame-action)
4722 (pop-to-buffer-same-window): Remove display-buffer--special.
4723
4724 2011-11-07 Glenn Morris <rgm@gnu.org>
4725
4726 * calendar/cal-menu.el (cal-menu-set-date-title):
4727 Do nothing if not in a calendar. (Bug#9976)
4728
4729 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * files.el (find-file): Always use selected-window.
4732
4733 2011-11-07 Martin Rudalics <rudalics@gmx.at>
4734
4735 * window.el (window-combinations): Make WINDOW argument
4736 mandatory. Rewrite doc-string.
4737 (walk-window-subtree, window-atom-check, window-min-delta)
4738 (window-max-delta, window--resize-this-window)
4739 (window--resize-root-window-vertically, window-tree)
4740 (balance-windows, window-state-put): Rewrite doc-strings as to
4741 not mention the term "subwindow".
4742 (window--resize-subwindows-skip-p): Rename to
4743 window--resize-child-windows-skip-p.
4744 (window--resize-subwindows-normal): Rename to
4745 window--resize-child-windows-normal.
4746 (window--resize-subwindows): Rename to
4747 window--resize-child-windows.
4748 (window-or-subwindow-p): Rename to window--in-subtree-p.
4749
4750 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4751
4752 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4753 Ensure that mbox format messages end in two newlines (Bug#9974).
4754
4755 2011-11-06 Chong Yidong <cyd@gnu.org>
4756
4757 * window.el (window-combination-p): Function deleted; its
4758 side-effect is not used in any existing code.
4759 (window-combinations, window-combined-p): Call window-*-child
4760 directly.
4761
4762 2011-11-05 Chong Yidong <cyd@gnu.org>
4763
4764 * window.el (window-valid-p): Rename from window-any-p.
4765 (window-size-ignore, window-state-get): Callers changed.
4766 (window-normalize-window): Rename from window-normalize-any-window.
4767 New arg LIVE-ONLY, replacing window-normalize-live-window.
4768 (window-normalize-live-window): Delete.
4769 (window-combination-p, window-combined-p, window-combinations)
4770 (walk-window-subtree, window-atom-root, window-min-size)
4771 (window-sizable, window-sizable-p, window-size-fixed-p)
4772 (window-min-delta, window-max-delta, window-resizable)
4773 (window-resizable-p, window-full-height-p, window-full-width-p)
4774 (window-current-scroll-bars, window-point-1, set-window-point-1)
4775 (window-at-side-p, window-in-direction, window-resize)
4776 (adjust-window-trailing-edge, maximize-window, minimize-window)
4777 (window-deletable-p, delete-window, delete-other-windows)
4778 (record-window-buffer, unrecord-window-buffer)
4779 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4780 (quit-window, split-window, window-state-put)
4781 (set-window-text-height, fit-window-to-buffer)
4782 (shrink-window-if-larger-than-buffer): Callers changed.
4783
4784 2011-11-04 Eli Zaretskii <eliz@gnu.org>
4785
4786 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4787 rfc2047-decode-string.
4788 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4789 warnings.
4790
4791 * window.el (window-body-height, window-body-width): Mention in
4792 the doc string that the return values are in frame's canonical
4793 units. (Bug#9949)
4794
4795 2011-11-03 Alan Mackenzie <acm@muc.de>
4796
4797 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4798 change in cc-engine.el.
4799
4800 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4801
4802 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4803
4804 2011-11-02 Martin Rudalics <rudalics@gmx.at>
4805
4806 * window.el (quit-window): Call unrecord-window-buffer after
4807 showing another buffer in the window. (Bug#9937)
4808 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
4809
4810 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
4811
4812 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4813 Accept status with more than 9 shelves. (Bug#9935)
4814 Reported by Colin D Bennett <colin@gibibit.com>.
4815
4816 2011-11-01 Martin Rudalics <rudalics@gmx.at>
4817
4818 * help.el (with-help-window): Don't reference
4819 temp-buffer-show-specifiers in doc-string.
4820
4821 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4822
4823 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4824 menu-item.
4825
4826 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4827
4828 * whitespace.el: New version 13.2.2.
4829 (whitespace-newline-mode): Disable properly. Reported by Sarah
4830 <EmacsWiki>.
4831
4832 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
4833
4834 * net/newst-treeview.el: Remove "Time-stamp".
4835 (newsticker--group-manage-orphan-feeds): Do not call
4836 newsticker--treeview-tree-update.
4837 (newsticker-treeview-update, newsticker-treeview):
4838 Call newsticker--treeview-tree-update if necessary.
4839
4840 2011-10-30 Martin Rudalics <rudalics@gmx.at>
4841
4842 * window.el (window-iso-combination-p, window-iso-combined-p)
4843 (window-iso-combinations): Remove "iso-" infix.
4844 Suggested by Chong Yidong.
4845 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4846 (window-max-delta-1, window-resize, window--resize-siblings)
4847 (window--resize-this-window, adjust-window-trailing-edge)
4848 (split-window, balance-windows-1)
4849 (shrink-window-if-larger-than-buffer):
4850 * calendar/calendar.el (calendar-generate-window):
4851 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
4852
4853 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4856 in place (bug#9907).
4857 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4858 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4859 (eshell-structure-basic-command, eshell-rewrite-while-command)
4860 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4861 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4862 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4863 (eshell-do-pipelines-synchronously, eshell-eval-command):
4864 Use backquotes and prefer setq to set.
4865 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4866 (eshell-macrop): Use functionp.
4867 (eshell-do-eval): Handle multiple expressions in `while' body.
4868
4869 2011-10-30 Chong Yidong <cyd@gnu.org>
4870
4871 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4872 instead of set-mark (Bug#9810).
4873
4874 2011-10-30 Chong Yidong <cyd@gnu.org>
4875
4876 * window.el (split-window-below, split-window-right): Rename from
4877 split-window-above-each-other and split-window-side-by-side
4878 respectively. All callers changed.
4879 (split-window-sensibly, split-window-sensibly): Use them.
4880 (split-window-keep-point): Doc fix.
4881
4882 * isearch.el: Add isearch-scroll property to split-window-below
4883 and split-window-right.
4884
4885 * follow.el (follow-mode):
4886 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4887 * progmodes/ada-xref.el (ada-gdb-application):
4888 * emulation/vip.el (vip-buffer-in-two-windows):
4889 * image-dired.el (image-dired-dired-with-window-configuration):
4890 * dired-x.el (dired-do-find-marked-files):
4891 * dired.el (dired-pop-to-buffer):
4892 * bs.el (bs--show-with-configuration):
4893 * vc/emerge.el (emerge-setup-windows):
4894 * textmodes/two-column.el (2C-two-columns):
4895 * textmodes/reftex-toc.el (reftex-toc):
4896 * progmodes/gdb-mi.el (gdb-setup-windows):
4897 * progmodes/fortran.el (fortran-window-create):
4898 * net/newst-treeview.el (newsticker--treeview-window-init):
4899 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4900 * emulation/tpu-edt.el (tpu-gold-map):
4901 * emulation/crisp.el (crisp-mode-map):
4902 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4903
4904 2011-10-29 Chong Yidong <cyd@gnu.org>
4905
4906 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4907
4908 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4909
4910 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4911 forged Ispell output (Bug#7904).
4912
4913 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4914
4915 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * doc-view.el: Avoid ugly errors about not finding nil.
4918 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4919 (doc-view-dvipdf-program, doc-view-unoconv-program)
4920 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4921 Avoid nil or absolute file name as default value.
4922 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4923
4924 2011-10-28 Alan Mackenzie <acm@muc.de>
4925
4926 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4927
4928 2011-10-28 Alan Mackenzie <acm@muc.de>
4929
4930 Amend the handling of c-beginning/end-of-defun in nested declaration
4931 scopes.
4932
4933 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4934 cc-langs.el. Change it to a defcustom.
4935
4936 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4937 cc-vars.el.
4938
4939 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4940 Prevent "class foo : bar" being spuriously recognized as a label.
4941
4942 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4943 Add parameter `inclusive' (to include enclosing braces in the region).
4944 (c-widen-to-enclosing-decl-scope): New function.
4945 (c-while-widening-to-decl-block): New macro.
4946 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4947 outward for defun boundaries, and correspondingly change symbol
4948 `respect-enclosure' to `go-outward'.
4949 (c-declaration-limits): Change algorithm to report only the "innermost"
4950 defun's boundaries.
4951
4952 2011-10-28 Deniz Dogan <deniz@dogan.se>
4953
4954 * net/rcirc.el (rcirc-mode): Use hard newlines.
4955
4956 2011-10-28 Alan Mackenzie <acm@muc.de>
4957
4958 Amend to indent and fontify macros "which include their own semicolon"
4959 correctly, using the "virtual semicolon" mechanism.
4960
4961 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4962
4963 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4964 Recode to scan one line at a time rather than having \n and \r
4965 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4966 (c-forward-label): Amend for virtual semicolons.
4967 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4968
4969 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4970 of the new C macros.
4971
4972 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4973 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4974 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4975 (c-opt-cpp-macro-define): Make into a full language variable.
4976 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4977 AWK Mode (including \n, \r) removed, no longer needed.
4978
4979 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4980 Invoke c-make-macro-with-semi-re.
4981
4982 * progmodes/cc-vars.el (c-macro-with-semi-re):
4983 (c-macro-names-with-semicolon): New variables.
4984 (c-make-macro-with-semi-re): New function.
4985
4986 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * vc/log-edit.el: Fill empty field rather than adding new one.
4989 (log-edit-add-field): New function.
4990 (log-edit-insert-changelog): Use it.
4991
4992 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4993
4994 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4995
4996 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4999 (gdb--check-interpreter): New function.
5000 (gdb): Use it.
5001
5002 2011-10-27 Glenn Morris <rgm@gnu.org>
5003
5004 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5005 (least-positive-float, least-negative-float)
5006 (least-positive-normalized-float, least-negative-normalized-float)
5007 (float-epsilon, float-negative-epsilon):
5008 Remove unnecessary declarations.
5009
5010 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5011 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5012 (least-positive-float, least-negative-float)
5013 (least-positive-normalized-float, least-negative-normalized-float)
5014 (float-epsilon, float-negative-epsilon): Add doc-strings,
5015 based on those in cl.texi.
5016
5017 * files.el (set-visited-file-name): If the major-mode changed,
5018 reload the local variables. (Bug#9796)
5019
5020 2011-10-27 Chong Yidong <cyd@gnu.org>
5021
5022 * subr.el (change-major-mode-after-body-hook): New hook.
5023 (run-mode-hooks): Run it.
5024
5025 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5026 Use change-major-mode-before-body-hook.
5027
5028 * simple.el (fundamental-mode):
5029 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5030 change introducing fundamental-mode-hook.
5031
5032 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5033
5034 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5035
5036 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5037
5038 * ido.el (ido-file-name-all-completions-1): Do not require
5039 tramp.el explicitly. (Bug#7583)
5040
5041 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * progmodes/octave-mod.el:
5044 * progmodes/octave-inf.el: Update maintainer.
5045
5046 2011-10-26 Chong Yidong <cyd@gnu.org>
5047
5048 * subr.el (with-wrapper-hook): Rewrite doc.
5049
5050 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5051
5052 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5053 filenames "/method:foo:". (Bug#9793)
5054
5055 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5056
5057 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5058 (bug#9865).
5059
5060 2011-10-24 Glenn Morris <rgm@gnu.org>
5061
5062 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5063
5064 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5065
5066 * notifications.el: Add the requirement of a running D-Bus session
5067 bus to the Commentary.
5068
5069 2011-10-24 Juri Linkov <juri@jurta.org>
5070
5071 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5072 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5073 (Bug#9364)
5074
5075 2011-10-24 Juri Linkov <juri@jurta.org>
5076
5077 * info.el (Info-following-node-name-re): Add newline to the list
5078 of allowed characters for leading space. (Bug#9824)
5079
5080 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * progmodes/octave-inf.el (inferior-octave-mode-map):
5083 Fix C-c C-h binding.
5084 * progmodes/octave-mod.el (octave-help): Remove.
5085
5086 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5087
5088 Sync with Tramp 2.2.3.
5089
5090 * net/tramp-cache.el (top): Pacify byte-compiler using
5091 `init-file-user' and `site-run-file'.
5092
5093 * net/trampver.el: Update release number.
5094
5095 2011-10-23 Chong Yidong <cyd@gnu.org>
5096
5097 * files.el (toggle-read-only): Remove obsolete comment about
5098 version control.
5099
5100 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5101 for toggle-read-only. Note that this hasn't called vc-next-action
5102 since 2008-05-02, though it wasn't documented at the time.
5103
5104 * vc/ediff-init.el (ediff-toggle-read-only-function):
5105 Use toggle-read-only.
5106
5107 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5108
5109 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5110 of c-parse-state.
5111
5112 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5113 correct faulty logical expression.
5114 (c-parse-state-state, c-record-parse-state-state):
5115 (c-replay-parse-state-state): New defvar/defuns.
5116 (c-debug-parse-state): Use new functions.
5117
5118 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5119
5120 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5121 last fix. Use window-in-direction correctly.
5122
5123 2011-10-21 Chong Yidong <cyd@gnu.org>
5124
5125 * progmodes/idlwave.el (idlwave-mode):
5126 * progmodes/vera-mode.el (vera-mode): No need to set
5127 require-final-newline; that's done in prog-mode.
5128 Suggested by Stefan Monnier.
5129
5130 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5131
5132 * mouse.el (mouse-drag-window-above)
5133 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5134 (mouse-drag-mode-line-1, mouse-drag-header-line)
5135 (mouse-drag-vertical-line-rightward-window): Remove.
5136 (mouse-drag-line): New function.
5137 (mouse-drag-mode-line, mouse-drag-header-line)
5138 (mouse-drag-vertical-line): Call mouse-drag-line.
5139 * window.el (window-at-side-p, windows-at-side): New functions.
5140
5141 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5142
5143 * tar-mode.el (tar-grind-file-mode):
5144 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5145
5146 2011-10-21 Chong Yidong <cyd@gnu.org>
5147
5148 * progmodes/idlwave.el (idlwave-mode):
5149 * progmodes/vera-mode.el (vera-mode):
5150 Use mode-require-final-newline.
5151
5152 2011-10-20 Glenn Morris <rgm@gnu.org>
5153
5154 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5155
5156 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5157
5158 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5159
5160 2011-10-20 Chong Yidong <cyd@gnu.org>
5161
5162 * emulation/cua-base.el (cua-mode):
5163 * mail/footnote.el (footnote-mode):
5164 * mail/mailabbrev.el (mail-abbrevs-mode):
5165 * net/xesam.el (xesam-minor-mode):
5166 * progmodes/bug-reference.el (bug-reference-mode):
5167 * progmodes/cap-words.el (capitalized-words-mode):
5168 * progmodes/compile.el (compilation-minor-mode)
5169 (compilation-shell-minor-mode):
5170 * progmodes/gud.el (gud-tooltip-mode):
5171 * progmodes/hideif.el (hide-ifdef-mode):
5172 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5173 * progmodes/subword.el (subword-mode):
5174 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5175 * progmodes/which-func.el (which-function-mode):
5176 * term/tvi970.el (tvi970-set-keypad-mode):
5177 * term/vt100.el (vt100-wide-mode):
5178 * textmodes/flyspell.el (flyspell-mode):
5179 * textmodes/ispell.el (ispell-minor-mode):
5180 * textmodes/nroff-mode.el (nroff-electric-mode):
5181 * textmodes/paragraphs.el (use-hard-newlines):
5182 * textmodes/refill.el (refill-mode):
5183 * textmodes/reftex.el (reftex-mode):
5184 * textmodes/rst.el (rst-minor-mode):
5185 * textmodes/sgml-mode.el (html-autoview-mode)
5186 (sgml-electric-tag-pair-mode):
5187 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5188 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5189 * emulation/crisp.el (crisp-mode):
5190 * emacs-lisp/eldoc.el (eldoc-mode):
5191 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5192 minor mode behavior.
5193
5194 2011-10-19 Juri Linkov <juri@jurta.org>
5195
5196 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5197 the list of hard-coded chars with escape-glyph face.
5198
5199 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5202
5203 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5204
5205 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5206 running process.
5207
5208 2011-10-19 Glenn Morris <rgm@gnu.org>
5209
5210 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5211 Ignore ignored files. (Bug#9726)
5212
5213 2011-10-19 Chong Yidong <cyd@gnu.org>
5214
5215 Doc fix for minor modes, stating that an omitted argument enables
5216 the mode unconditionally when called from Lisp.
5217
5218 * abbrev.el (abbrev-mode):
5219 * allout.el (allout-mode):
5220 * autoinsert.el (auto-insert-mode):
5221 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5222 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5223 (global-auto-revert-mode):
5224 * battery.el (display-battery-mode):
5225 * composite.el (global-auto-composition-mode)
5226 (auto-composition-mode):
5227 * delsel.el (delete-selection-mode):
5228 * desktop.el (desktop-save-mode):
5229 * dired-x.el (dired-omit-mode):
5230 * dirtrack.el (dirtrack-mode):
5231 * doc-view.el (doc-view-minor-mode):
5232 * double.el (double-mode):
5233 * electric.el (electric-indent-mode, electric-pair-mode):
5234 * emacs-lock.el (emacs-lock-mode):
5235 * epa-hook.el (auto-encryption-mode):
5236 * follow.el (follow-mode):
5237 * font-core.el (font-lock-mode):
5238 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5239 * help.el (temp-buffer-resize-mode):
5240 * hilit-chg.el (highlight-changes-mode)
5241 (highlight-changes-visible-mode):
5242 * hi-lock.el (hi-lock-mode):
5243 * hl-line.el (hl-line-mode, global-hl-line-mode):
5244 * icomplete.el (icomplete-mode):
5245 * ido.el (ido-everywhere):
5246 * image-file.el (auto-image-file-mode):
5247 * image-mode.el (image-minor-mode):
5248 * iswitchb.el (iswitchb-mode):
5249 * jka-cmpr-hook.el (auto-compression-mode):
5250 * linum.el (linum-mode):
5251 * longlines.el (longlines-mode):
5252 * master.el (master-mode):
5253 * mb-depth.el (minibuffer-depth-indicate-mode):
5254 * menu-bar.el (menu-bar-mode):
5255 * minibuf-eldef.el (minibuffer-electric-default-mode):
5256 * mouse-sel.el (mouse-sel-mode):
5257 * msb.el (msb-mode):
5258 * mwheel.el (mouse-wheel-mode):
5259 * outline.el (outline-minor-mode):
5260 * paren.el (show-paren-mode):
5261 * recentf.el (recentf-mode):
5262 * reveal.el (reveal-mode, global-reveal-mode):
5263 * rfn-eshadow.el (file-name-shadow-mode):
5264 * ruler-mode.el (ruler-mode):
5265 * savehist.el (savehist-mode):
5266 * scroll-all.el (scroll-all-mode):
5267 * scroll-bar.el (scroll-bar-mode):
5268 * server.el (server-mode):
5269 * shell.el (shell-dirtrack-mode):
5270 * simple.el (auto-fill-mode, transient-mark-mode)
5271 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5272 (line-number-mode, column-number-mode, size-indication-mode)
5273 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5274 * strokes.el (strokes-mode):
5275 * time.el (display-time-mode):
5276 * t-mouse.el (gpm-mouse-mode):
5277 * tool-bar.el (tool-bar-mode):
5278 * tooltip.el (tooltip-mode):
5279 * type-break.el (type-break-mode-line-message-mode)
5280 (type-break-query-mode):
5281 * view.el (view-mode):
5282 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5283 (global-whitespace-mode, global-whitespace-newline-mode):
5284 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5285
5286 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5287 Fix autogenerated docstring.
5288
5289 2011-10-19 Juri Linkov <juri@jurta.org>
5290
5291 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5292 by checking environment variables "DESKTOP_SESSION" and
5293 "XDG_CURRENT_DESKTOP". (Bug#9779)
5294
5295 2011-10-19 Juri Linkov <juri@jurta.org>
5296
5297 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5298 (browse-url-chromium-program, browse-url-chromium-arguments):
5299 New defcustoms.
5300 (browse-url-default-browser): Check for `browse-url-chromium' and
5301 call `browse-url-chromium-program'.
5302 (browse-url-chromium): New command. (Bug#9779)
5303
5304 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5305
5306 * facemenu.el (list-colors-duplicates): On Windows, detect more
5307 duplicates by assuming that only colors matching "^System" are
5308 special "system colors". (Bug#9722)
5309
5310 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5313 to distinguish the author from the committer.
5314
5315 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5316
5317 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5318
5319 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5320
5321 * international/mule.el (sgml-html-meta-auto-coding-function):
5322 Add support for detecting encoding in HTML5 specified only as
5323 <meta charset="UTF-8">. Implementation just makes http-equiv and
5324 content-type parts from HTML4 encoding string optional. (Bug#9716)
5325
5326 2011-10-18 Glenn Morris <rgm@gnu.org>
5327
5328 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5329
5330 2011-10-18 Chong Yidong <cyd@gnu.org>
5331
5332 * faces.el (cursor): Doc fix.
5333
5334 2011-10-17 Chong Yidong <cyd@gnu.org>
5335
5336 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5337
5338 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5339
5340 * dirtrack.el (dirtrack): Support shell buffers with path
5341 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5342
5343 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5344
5345 * json.el: Bump version to 1.3 and note change in History.
5346 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5347
5348 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5349
5350 * comint.el (comint-insert-input, comint-send-input)
5351 (comint-get-old-input-default, comint-backward-matching-input)
5352 (comint-next-prompt): Use nil instead of `input' for field property of
5353 past user input (bug#114).
5354
5355 * minibuffer.el (completion--replace): Inherit surrounding properties
5356 (bug#114).
5357 (minibuffer-complete-and-exit): Use it.
5358
5359 * comint.el (comint--table-subvert): Quote the all-completions output
5360 (bug#9160).
5361
5362 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5363
5364 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5365
5366 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5367 window on right of selected. (Bug#9350) Reword other window
5368 entries and separate them from frame entries.
5369
5370 2011-10-15 Glenn Morris <rgm@gnu.org>
5371
5372 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5373 Doc fixes.
5374
5375 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5376
5377 * net/network-stream.el (network-stream-open-starttls):
5378 Improve detection of failure due to lack of TLS support.
5379
5380 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5381 putting the input text in front and in bold.
5382
5383 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5386
5387 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5388 empty buffer.
5389
5390 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5391 unread-command-events rather than pushing yet-another event.
5392
5393 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5394
5395 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5396 the explanation of the possible choices. Make the options passed
5397 to completing-read shorter.
5398
5399 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5400
5401 * textmodes/flyspell.el (flyspell-large-region): Make sure
5402 extended character mode is used if defined (Bug#1339).
5403
5404 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5405
5406 * simple.el (what-cursor-position): Fix the display of the
5407 character info for LRE, LRO, RLE, and RLO characters by appending
5408 an invisible PDF.
5409
5410 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5413 even in case of error; add debug spec; simplify data flow.
5414 (with-timeout-handler): Remove.
5415
5416 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5417
5418 Fix Bug#6019, Bug#9315.
5419
5420 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5421 complete `buffer-file-name', the local file name part could look
5422 remotely (for example on VMS).
5423
5424 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5425 `tramp-run-real-handler'.
5426 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5427 already quoted by '"'.
5428
5429 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5430 Let `file-name-handler-alist' be nil, the local file name part
5431 could look remotely (for example on VMS).
5432
5433 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5436 from here...
5437 (flyspell-post-command-hook): ...to here.
5438
5439 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5442 if not needed.
5443 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5444 using completion. Protect against "slow" callers.
5445 Remove the "message hack".
5446
5447 2011-10-11 Juri Linkov <juri@jurta.org>
5448
5449 * isearch.el (isearch-lazy-highlight-word): New variable.
5450 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5451 Use it. (Bug#9727)
5452
5453 2011-10-11 Glenn Morris <rgm@gnu.org>
5454
5455 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5456 like f90-previous-statement does.
5457
5458 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5459
5460 * eshell/eshell.el (eshell-command): History should be saved
5461 only in interactive use, to avoid error.
5462
5463 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * minibuffer.el (completion-file-name-table): Fix last change,
5466 i.e. ignore normal errors but not the other ones.
5467
5468 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5469
5470 * window.el (special-display-buffer-names)
5471 (special-display-regexps): Remove some remnants of earlier
5472 changes from doc-strings.
5473 (quit-windows-on): New function.
5474
5475 * vc/vc.el (vc-revert, vc-rollback):
5476 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5477 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5478 (Bug#6183) (Bug#7074) (Bug#7447)
5479
5480 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5481
5482 * window.el (frame-auto-hide-function): Add version tag.
5483 (Bug#9699)
5484
5485 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5486
5487 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5488 condition.
5489
5490 2011-10-09 Leo Liu <sdl.web@gmail.com>
5491
5492 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5493 (Bug#9701)
5494
5495 2011-10-08 Glenn Morris <rgm@gnu.org>
5496
5497 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5498 before the first code statement zero indent. (Bug#9690)
5499
5500 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5501
5502 * simple.el (count-words-region): Always count in the region.
5503 Report the number of lines and characters too.
5504 (count-words): New command, which counts in the buffer if the
5505 region is inactive, as count-words-region used to.
5506 (count-words--message): New function. Handle plurals.
5507 (count-lines-region): Make it an alias for count-words-region.
5508
5509 * bindings.el (esc-map): Replace count-lines-region with
5510 count-words-region.
5511
5512 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5513
5514 * window.el (window--delete): Delete dedicated frame
5515 unconditionally when argument KILL is non-nil. (Bug#9699)
5516 (switch-to-buffer): Fix doc-string typo.
5517
5518 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5519
5520 * eshell/eshell.el (eshell-command): Avoid using hooks.
5521
5522 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5523
5524 * bindings.el ([M-left],[M-right]): Bind to left-word and
5525 right-word respectively.
5526
5527 2011-10-07 Glenn Morris <rgm@gnu.org>
5528
5529 * cus-start.el (debug-on-quit): Fix custom type.
5530
5531 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5532
5533 * subr.el (define-key-after): Clarify that the function is not
5534 useful for non-menu keymaps.
5535
5536 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5537
5538 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5539
5540 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5541 in current minibuffer (Fix bug with recursive minibuffers).
5542
5543 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5544
5545 * progmodes/gdb-mi.el (gdb): Doc fix.
5546
5547 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5548
5549 * window.el (frame-auto-hide-function): New option replacing
5550 frame-auto-delete. Suggested by Stefan Monnier.
5551 (window--delete): Call frame-auto-hide-function instead of
5552 investigating frame-auto-delete.
5553 (window-point-1, set-window-point-1): New functions.
5554 (window-in-direction, record-window-buffer, window-state-get-1)
5555 (display-buffer-record-window): Use window-point-1 instead of
5556 window-point.
5557 (set-window-buffer-start-and-point): Use set-window-point-1.
5558
5559 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5562
5563 2011-10-05 Glenn Morris <rgm@gnu.org>
5564
5565 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5566 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5567
5568 2011-10-05 Leo Liu <sdl.web@gmail.com>
5569
5570 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5571 works with buffer object.
5572
5573 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * mpc.el (mpc-tool-bar-map): Add labels.
5576
5577 2011-10-04 Glenn Morris <rgm@gnu.org>
5578
5579 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5580
5581 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5582
5583 * window.el (window--delete): New function.
5584 (frame-auto-delete): Resuscitate option.
5585 (bury-buffer, replace-buffer-in-windows)
5586 (quit-window): Rewrite using window--delete.
5587 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5588 Pass display-buffer-mark-dedicated to window--display-buffer-2
5589 (Bug#9639).
5590
5591 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5594 returns a list (bug#9554). Add remote file name completion.
5595 * comint.el (comint--table-subvert): Curry and get quote&unquote
5596 functions as arguments.
5597 (comint--complete-file-name-data): Adjust call accordingly.
5598 * pcomplete.el (pcomplete--table-subvert): Remove.
5599 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5600
5601 * minibuffer.el (completion-table-case-fold): Use currying.
5602 (completion--styles-type, completion--cycling-threshold-type):
5603 New constants.
5604 (completion-styles, completion-category-overrides)
5605 (completion-cycle-threshold): Use them.
5606 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5607 completion-table-case-fold.
5608
5609 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5610
5611 * minibuffer.el (completion-category-overrides): Fix type of styles
5612 and add more user friendly tags (bug#9660).
5613
5614 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5617 (mule-input-method-string): New widget.
5618 (default-input-method, language-info-custom-alist): Use it.
5619
5620 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * pcomplete.el: Require comint.
5623 (pcomplete--common-suffix): Remove.
5624 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5625 (pcomplete--table-subvert): Sync with comint--table-subvert.
5626 (pcomplete--entries): Use comint-completion-file-name-table.
5627 * comint.el (comint-unquote-filename): Simplify.
5628 (comint-completion-file-name-table): New function (bug#9616).
5629 (comint--complete-file-name-data): Use it.
5630
5631 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5632 (pcmpl-gnu-tar-buffer): Remove.
5633 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5634 around. Make sure pcomplete-suffix-list is only changed temporarily.
5635 Don't look inside the tar's file if it's too large.
5636
5637 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5638
5639 * cus-edit.el (custom-mode-map):
5640 * epa.el (epa-key-list-mode-map):
5641 * man.el (Man-mode-map):
5642 * startup.el (splash-screen-keymap):
5643 * simple.el (special-mode-map): Use scroll-up-command and
5644 scroll-down-command.
5645
5646 * progmodes/idlw-help.el (idlwave-help-mode-map):
5647 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5648 * net/newst-plainview.el (newsticker-mode-map):
5649 * emulation/ws-mode.el (wordstar-mode-map):
5650 * emulation/vi.el (vi-com-map):
5651 * calc/calc-graph.el (calc-graph-show-dumb):
5652 * term/sun.el (terminal-init-sun):
5653 * term/ns-win.el (global-map):
5654 * progmodes/grep.el (grep-mode-map):
5655 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5656 * mail/rmail.el (rmail-mode-map):
5657 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5658
5659 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5660 custom-safe-themes as special.
5661
5662 2011-10-01 Julien Danjou <julien@danjou.info>
5663
5664 * notifications.el (notifications-notify): Fix docstring.
5665
5666 2011-10-01 Per Starbäck <per@starback.se>
5667
5668 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5669
5670 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5671
5672 * startup.el (command-line-1): Fix last fix by inserting
5673 initial-scratch-message into *scratch* before displaying it.
5674 (Bug#9605) and (Bug#9636)
5675
5676 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5677
5678 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5679 window is hscrolled, move by logical lines. (Bug#9607)
5680 (line-move-visual): Update the doc string to the above effect.
5681
5682 2011-09-29 Martin Rudalics <rudalics@gmx.at>
5683
5684 * window.el (display-buffer-record-window): When WINDOW is the
5685 selected window use `point' instead of `window-point'. (Bug#9626)
5686
5687 * startup.el (command-line-1): Use insert-before-markers when
5688 inserting initial-scratch-message. (Bug#9605)
5689
5690 * help.el (help-window): Remove variable.
5691
5692 2011-09-29 Glenn Morris <rgm@gnu.org>
5693
5694 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5695
5696 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
5697
5698 * descr-text.el (describe-char-categories): Accept category
5699 descriptions more than one line long.
5700
5701 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * simple.el (delete-trailing-whitespace): Fix last change.
5704
5705 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5706 Don't confuse "y => 3" as the beginning of a `y' operation.
5707
5708 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5709 object has more than 4 slots (bug#9613).
5710
5711 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
5712
5713 * subr.el (with-output-to-temp-buffer):
5714 * net/quickurl.el (quickurl, quickurl-browse-url):
5715 Fix typos in docstrings.
5716
5717 2011-09-27 Eli Zaretskii <eliz@gnu.org>
5718
5719 * minibuffer.el (completion-styles)
5720 (completion-category-overrides): Cross reference each other in doc
5721 strings.
5722
5723 2011-09-27 Glenn Morris <rgm@gnu.org>
5724
5725 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5726 to split-string. (Bug#9606)
5727
5728 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5729
5730 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5731 (bug#9615).
5732
5733 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
5734
5735 * emacs-lisp/package.el (list-packages): Fix echo area message.
5736
5737 2011-09-27 Leo Liu <sdl.web@gmail.com>
5738
5739 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5740
5741 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
5742
5743 * net/dbus.el (dbus-unregister-object): Don't release services for
5744 registered signals. (Bug#9581)
5745
5746 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5747
5748 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5749 function that picks between cfengine 2 and 3 support
5750 automatically. Update docs accordingly.
5751
5752 2011-09-22 Kenichi Handa <handa@m17n.org>
5753
5754 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5755 ZERO.
5756 (indian-itrans-v5-table-for-tamil): New variable.
5757 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5758
5759 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5760
5761 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5762 that's true if the current command involved collapsing of text.
5763 It's reset to false at the beginning of the next command.
5764 (allout-post-command-business): Move the cursor to the beginning
5765 of entry if the cursor is hidden and collapsing activity just
5766 happened.
5767
5768 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
5769
5770 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5771 tracking (Bug#9541).
5772
5773 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
5774
5775 * net/newst-reader.el (newsticker-html-renderer)
5776 (newsticker-show-news): Automatically load html rendering package
5777 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5778 because w3m-fill-column is let-bound" and the error "Symbol's value
5779 as variable is void: w3m-fill-column".
5780
5781 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
5782
5783 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5784 Release services only if they are defined. (Bug#9581)
5785
5786 2011-09-23 Richard Stallman <rms@gnu.org>
5787
5788 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5789 distinguish start of paragraph from start of its text.
5790
5791 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5792
5793 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5794 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5795 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5796
5797 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5798
5799 * international/mule-diag.el (mule-diag): Insert a newline after
5800 each fontset description.
5801
5802 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * simple.el (delete-trailing-whitespace):
5805 Document last change; simplify.
5806
5807 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5808
5809 * simple.el (delete-trailing-whitespace): Also delete
5810 extra newlines at the end of the buffer.
5811
5812 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5813 (picture-newline): Use forward-line so as to ignore fields.
5814
5815 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5816
5817 * subr.el (with-wrapper-hook): Fix edebug spec.
5818
5819 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5820
5821 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5822 (bug#4538).
5823
5824 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
5825
5826 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5827 Fix nasty bug using wrong cached values.
5828
5829 2011-09-23 Alan Mackenzie <acm@muc.de>
5830
5831 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5832
5833 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
5834
5835 * window.el (pop-to-buffer): Ensure right window is selected if we
5836 chose another frame.
5837
5838 2011-09-22 Eli Zaretskii <eliz@gnu.org>
5839
5840 * simple.el (what-cursor-position): Use get-char-property-change
5841 and next-single-char-property-change, to be able to show display
5842 properties that come from overlays as well as text properties.
5843
5844 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
5845
5846 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5847
5848 * cmuscheme.el (run-scheme, switch-to-scheme):
5849 * cus-edit.el (customize-group, custom-buffer-create)
5850 (customize-browse):
5851 * info.el (info):
5852 * shell.el (shell):
5853 * mail/sendmail.el (mail):
5854 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5855
5856 2011-09-22 Richard Stallman <rms@gnu.org>
5857
5858 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5859 move back only to line beg, don't move back over blank lines.
5860
5861 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
5862
5863 * files.el (copy-directory): Set directory attributes only in case
5864 they could be retrieved from the source directory. (Bug#9565)
5865
5866 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5867
5868 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5869 (hs-find-block-beginning, hs-hide-level-recursive):
5870 Ignore strings as well as comments. (Bug#9502)
5871
5872 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5873
5874 * progmodes/sql.el (sql-comint-postgres):
5875 Convert port number to a string. (Bug#9566)
5876
5877 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5878
5879 * window.el (quit-window): Undedicate window when switching to
5880 previous buffer. Reported by Thierry Volpiatto
5881 <thierry.volpiatto@gmail.com>.
5882 (special-display-popup-frame): When popping up a new frame reset
5883 its previous buffers to nil. Simplify code.
5884
5885 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5886
5887 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5888 and process filter, as done also in `shell-command'.
5889
5890 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5891
5892 * window.el (set-window-buffer-start-and-point):
5893 Call set-window-start with NOFORCE argument t.
5894 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5895 (quit-window): Reword doc-string. Handle new format of
5896 quit-restore parameter. Don't delete window if it has a
5897 previous buffer we can show instead of the present one.
5898 (display-buffer-record-window): Rewrite using a new format for
5899 the quit-restore window parameter
5900 (special-display-popup-frame, display-buffer-same-window)
5901 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5902 (display-buffer-pop-up-window, display-buffer-use-some-window):
5903 Adapt symbol passed to display-buffer-record-window.
5904 * help.el (help-window-setup): Handle new format of quit-restore
5905 parameter.
5906
5907 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * faces.el (face-list): Fix docstring (bug#9564).
5910
5911 * window.el (display-buffer--action-function-custom-type):
5912 Don't include internal functions in the Custom interface.
5913
5914 2011-09-20 Juri Linkov <juri@jurta.org>
5915
5916 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5917 (Info-forward-node, Info-backward-node, Info-next-preorder)
5918 (Info-last-preorder): Use it. (Bug#9528)
5919
5920 2011-09-20 Juri Linkov <juri@jurta.org>
5921
5922 * info.el (Info-last-preorder): Visit last menu item only when
5923 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5924
5925 2011-09-20 Julien Danjou <julien@danjou.info>
5926
5927 * password-cache.el (password-cache-remove): Remove entries even if the
5928 value is nil, so that password with a nil value (negative caching) is
5929 possible to invalidate.
5930
5931 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5932
5933 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5934 all whitespace around breakpoint. (Bug#9553)
5935 (f90-find-breakpoint): Only break at whitespace inside a comment.
5936
5937 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * minibuffer.el (completion-file-name-table): Keep track of errors.
5940 (completion-table-with-predicate): Handle the case where pred1 is nil.
5941 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5942
5943 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5946 (debugger-return-value): Signal an error if the debugging context does
5947 not await any return value.
5948
5949 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5950 * image-mode.el (image-toggle-display-text)
5951 (image-toggle-display-image): Stay away from evil `intangible'.
5952
5953 2011-09-19 Leo Liu <sdl.web@gmail.com>
5954
5955 * replace.el (occur-revert-arguments): Make it permanent-local.
5956 (occur-mode): Don't call font-lock-defontify.
5957
5958 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5959
5960 * net/ldap.el (ldap-search-internal): Don't push empty search
5961 result (Bug#9508).
5962
5963 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5966
5967 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5968
5969 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5970 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5971
5972 2011-09-18 Juri Linkov <juri@jurta.org>
5973
5974 * buff-menu.el (Buffer-menu-mode-map):
5975 * dired.el (dired-mode-map):
5976 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5977 (lisp-interaction-mode-map):
5978 * emacs-lisp/package.el (package-menu-mode-map):
5979 * epa.el (epa-key-list-mode-map):
5980 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5981 (menu-bar-options-menu):
5982 * outline.el (outline-mode-menu-bar-map):
5983 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5984 * vc/vc-dir.el (vc-dir-menu-map):
5985 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5986 Capitalize non-function content words in menu item strings.
5987
5988 * dired.el (dired-mode-map): Add menu item for
5989 `image-dired-dired-toggle-marked-thumbs'.
5990
5991 2011-09-18 Juri Linkov <juri@jurta.org>
5992
5993 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5994 to `isearch-case-fold-search' and restore its original value
5995 after the `isearch-mode' call.
5996
5997 2011-09-18 Juri Linkov <juri@jurta.org>
5998
5999 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6000 because `zgrep' returns 1 for successful matches (bug#9226).
6001
6002 2011-09-18 Juri Linkov <juri@jurta.org>
6003
6004 * info.el (Info-extract-menu-node-name): Check the second match
6005 for empty string (second test-case of bug#9528).
6006 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6007 intermediate nodes to the history (first test-case of bug#9528).
6008
6009 2011-09-18 Juri Linkov <juri@jurta.org>
6010
6011 * info.el (Info-mode-syntax-table): New variable.
6012 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6013
6014 2011-09-18 Juri Linkov <juri@jurta.org>
6015
6016 * info.el (Info-file-supports-index-cookies):
6017 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6018 outputs one more line for long file names (bug#4142).
6019
6020 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6021
6022 * newcomment.el (comment-normalize-vars): If prompting for
6023 comment-start, set comment-start-skip too (Bug#8424).
6024
6025 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6026
6027 * icomplete.el: Fix previous fix of Bug#5849.
6028 (icomplete-mode): Don't set completion-show-inline-help.
6029 (icomplete-minibuffer-setup): Set completion-show-inline-help
6030 locally during icompletion.
6031
6032 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6033
6034 * woman.el (woman2-process-escapes): Don't delete unrecognized
6035 escapes (Bug#7843).
6036
6037 * files.el (inhibit-first-line-modes-regexps): Add image files.
6038 (hack-local-variables-prop-line): Return nil for malformed
6039 prop-lines (Bug#9044).
6040
6041 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6042
6043 * net/tramp.el (top): Don't require 'shell.
6044 (tramp-methods): Fix docstring.
6045 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6046 Return complete remote file name. Handle "smb" case.
6047 Use `tramp-tmpdir', if defined for the respective method.
6048 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6049
6050 * net/tramp-compat.el (top): Require 'shell.
6051
6052 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6053 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6054 `tramp-current-host'.
6055 (tramp-get-remote-tmpdir): Remove.
6056
6057 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6058 `tramp-tmpdir' entries.
6059 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6060 (tramp-smb-handle-file-attributes): Ignore errors.
6061 (tramp-smb-wait-for-output): Check also for process end.
6062
6063 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6064
6065 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6066 when sending QUIT (bug#9312).
6067
6068 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6069
6070 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6071 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6072 occur-mode-display-occurrence.
6073 (occur-edit-mode): Add usage message.
6074 (occur-cease-edit): New command.
6075 (occur-after-change-function): Use text properties to find the
6076 position of the prefix text.
6077 (occur-engine): Set stickiness of prefix text properties.
6078
6079 2011-09-17 Glenn Morris <rgm@gnu.org>
6080
6081 * progmodes/etags.el (complete-tag):
6082 Fix call to completion-in-region. (Bug#9526)
6083
6084 2011-09-17 Juri Linkov <juri@jurta.org>
6085
6086 * textmodes/ispell.el (ispell-word): Add to the error message
6087 the word, ispell program name and current dictionary (bug#9121).
6088 (ispell-tex-arg-end): Capitalize "error" in the error message.
6089
6090 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6091
6092 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6093 check. (Bug#4251)
6094
6095 2011-09-17 Juri Linkov <juri@jurta.org>
6096
6097 * window.el (window-safe-min-height, window-safe-min-width):
6098 Fix typos (followup to bug#9522).
6099
6100 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6101
6102 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6103
6104 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6105
6106 * simple.el (line-move): If goal-column is set, move by logical
6107 lines, not by display lines. (Bug#971)
6108 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6109 to reflect the above change.
6110
6111 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6112
6113 * image.el (imagemagick-register-types): Use regexp-opt.
6114
6115 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6116
6117 * window.el (display-buffer-base-action): Rename from
6118 display-buffer-default-action. Make default value empty.
6119 (display-buffer-overriding-action): Convert to defvar.
6120 (display-buffer-fallback-action): New var.
6121
6122 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6123
6124 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6125 declaration.
6126 (package--add-to-archive-contents): If there is a duplicate entry
6127 with an older version, remove it.
6128 (package-menu-mark-delete, package-menu-mark-install)
6129 (package-menu-mark-unmark): Make unused args optional.
6130 (package-menu-mark-obsolete-for-deletion):
6131 Use package-menu-get-status instead of a regexp search.
6132 (package-menu-get-status): Use tabulated-list-entry.
6133 (package-menu-mark-upgrades): New command.
6134 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6135 (package-menu-execute): Do installation before deletion.
6136 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6137 instead of checking major-mode.
6138 (package-menu--find-upgrades): New function.
6139
6140 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6141
6142 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6143 passwords in the log buffer.
6144 (smtpmail-process-filter): Update the process marker so that the
6145 "broken by peer" status message is inserted in the right place.
6146
6147 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6150 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6151 bibtex-completion-at-point-function.
6152 (bibtex-completion-at-point-function): Use them.
6153
6154 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6155
6156 * mpc.el (mpc-constraints-tag-lookup): New function.
6157 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6158 also to browser "album|playlist".
6159
6160 2011-09-14 Juri Linkov <juri@jurta.org>
6161
6162 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6163 (isearch-edit-string): Use length of `isearch-string' when
6164 `isearch-fail-pos' returns nil.
6165 (isearch-message): Remove duplicate code and call
6166 `isearch-fail-pos' with arg `t'.
6167
6168 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6169
6170 * replace.el (occur-mode-goto-occurrence): Don't force using other
6171 window (Bug#9499).
6172
6173 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6174
6175 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6176
6177 * window.el (display-buffer-window): Remove.
6178 (display-buffer-record-window): Use help-setup window parameter
6179 instead of variable display-buffer-window.
6180 (display-buffer-function, special-display-buffer-names)
6181 (special-display-function): Mention help-setup parameter instead
6182 of display-buffer-window in doc-string.
6183 * help.el (help-window-setup): New argument help-window.
6184 Use help-window-setup parameter instead of display-buffer-window.
6185 Reword some messages.
6186 (with-help-window): Pass window used for displaying the buffer
6187 to help-window-setup. Don't set display-buffer-window.
6188
6189 2011-09-13 Glenn Morris <rgm@gnu.org>
6190
6191 * emacs-lisp/debug.el (debugger-make-xrefs):
6192 Preserve point. (Bug#9462)
6193
6194 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6195
6196 * window.el (window-deletable-p): Use next-frame.
6197
6198 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6199
6200 * window.el (window-auto-delete): Remove.
6201 (window-deletable-p): Remove argument FORCE. Don't deal with
6202 dedication and previous buffers.
6203 (switch-to-prev-buffer): Don't delete window.
6204 (delete-windows-on): Delete a window's frame if and only if the
6205 window is dedicated.
6206 (replace-buffer-in-windows): Delete buffer's window or frame if
6207 and only if window is dedicated.
6208 (quit-window): Handle quit-restore as before last change.
6209 (bury-buffer): Delete window only if window-deletable-p returns t.
6210
6211 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6212
6213 * window.el (window-deletable-p): Never delete the last frame on a
6214 given terminal.
6215
6216 2011-09-13 Glenn Morris <rgm@gnu.org>
6217
6218 * help.el (describe-key-briefly): Copy previous standard-output change.
6219
6220 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6221
6222 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6223
6224 2011-09-13 Glenn Morris <rgm@gnu.org>
6225
6226 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6227 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6228
6229 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6230
6231 * dired-aux.el (dired-mark-read-string): Don't return default
6232 value on empty input (Bug#9361).
6233 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6234 Omit initial minibuffer contents.
6235 (dired-do-chmod): Signal an error on empty input.
6236 (dired-mark-read-string): Don't return default on empty input.
6237
6238 * files.el (file-modes-symbolic-to-number): Doc fix.
6239
6240 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * international/mule-cmds.el (ucs-completions): Remove.
6243 (read-char-by-name): Use complete-with-action instead; add metadata.
6244
6245 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6246
6247 * window.el (display-buffer--action-function-custom-type)
6248 (display-buffer--action-custom-type): New vars.
6249 (display-buffer-alist, display-buffer-default-action)
6250 (display-buffer-overriding-action): Add defcustom types.
6251
6252 * frame.el (delete-other-frames): Doc fix (Bug#276).
6253
6254 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6255
6256 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6257
6258 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6259
6260 Change modes that used same-window-* vars to use switch-to-buffer.
6261
6262 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6263 Use switch-to-buffer.
6264
6265 * cus-edit.el (customize-group, custom-buffer-create)
6266 (customize-browse, custom-buffer-create-other-window):
6267 Use switch-to-buffer or switch-to-buffer-other-window.
6268
6269 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6270 (Info-prev, Info-up, Info-speedbar-goto-node)
6271 (info-display-manual): Use switch-to-buffer.
6272 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6273
6274 * mail/sendmail.el (mail): Use switch-to-buffer.
6275 (mail-recover): Use switch-to-buffer-other-window.
6276
6277 * cmuscheme.el (run-scheme, switch-to-scheme):
6278 * ielm.el (ielm):
6279 * shell.el (shell):
6280 * net/rlogin.el (rlogin):
6281 * net/telnet.el (telnet, rsh):
6282 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6283
6284 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6285
6286 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6287
6288 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6289
6290 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6291 so don't mention it (bug#9301).
6292 (dired-sort-toggle-or-edit): Clarify string further.
6293
6294 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6295 match `x', `w32' and `ns', like the manual says (bug#9029).
6296
6297 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6298 (process-kill-buffer-query-function): Mention the buffer name in
6299 the query.
6300
6301 * image-mode.el (image-next-line): The line parameter is mandatory
6302 (bug#9258).
6303
6304 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6305 which can be useful (bug#9301).
6306
6307 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6308
6309 * subr.el (match-string): Mention that the current buffer should
6310 be the same as the search was done in (bug#9282).
6311
6312 * facemenu.el: Disable the remove-* commands if the mark isn't
6313 active (bug#9162).
6314
6315 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6316
6317 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6318 of display-buffer.
6319 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6320
6321 * replace.el (occur-mode-goto-occurrence)
6322 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6323 and display-buffer.
6324
6325 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6326 display-buffer.
6327
6328 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6329 special-display and same-window variables.
6330 (mail-other-window): Use switch-to-buffer-other-window.
6331 (mail-other-frame): USe switch-to-buffer-other-frame.
6332
6333 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6334 Use display-buffer-other-frame.
6335 (gdb-display-gdb-buffer): Use pop-to-buffer.
6336
6337 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6338
6339 * progmodes/python.el: Don't set same-window-buffer-names.
6340
6341 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6342
6343 * window.el (display-buffer-alist): Add *Python*.
6344
6345 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6346
6347 * window.el (display-buffer-alist): Add entry for buffers
6348 previously handled same-window-*.
6349 (display-buffer-alist, display-buffer-default-action)
6350 (display-buffer-overriding-action): Mark as risky.
6351 (display-buffer-alist): Document action function changes.
6352 (display-buffer--same-window-action)
6353 (display-buffer--other-frame-action): New variables.
6354 (switch-to-buffer, display-buffer-other-frame): Use them.
6355 (display-buffer): Rename reuse-frame entry to reusable-frames.
6356 (display-buffer-reuse-selected-window): Function deleted.
6357 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6358 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6359 (display-buffer-special): New function.
6360 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6361 display-buffer-reuse-or-pop-window. Split off special-display
6362 part into display-buffer-special.
6363 (display-buffer-use-some-window): Don't perform any special
6364 pop-up-frames handling.
6365 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6366 (display-buffer--maybe-same-window): Rename from
6367 display-buffer-maybe-same-window.
6368
6369 * info.el: Don't set same-window-regexps.
6370 (info-setup): New function.
6371 (info-other-window, info): Call it.
6372
6373 * cus-edit.el: Don't set same-window-regexps.
6374 (customize-group): New argument.
6375 (customize-group-other-window): Use it.
6376 (customize-face, customize-face-other-window): Likewise.
6377 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6378
6379 * net/rlogin.el:
6380 * net/telnet.el:
6381 * progmodes/gud.el: Don't set same-window-regexps.
6382
6383 * cmuscheme.el:
6384 * ielm.el:
6385 * shell.el:
6386 * mail/sendmail.el:
6387 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6388
6389 2011-09-10 Juri Linkov <juri@jurta.org>
6390
6391 * isearch.el (isearch-edit-string): Remove obsolete mention of
6392 `C-w' (`isearch-yank-word-or-char') from docstring.
6393 (isearch-query-replace): Fix typo in docstring (bug#9466).
6394
6395 2011-09-10 Juri Linkov <juri@jurta.org>
6396
6397 * paren.el (show-paren-function): Don't show escaped parens.
6398 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6399
6400 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6401
6402 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6403 (mm-default-file-encoding): Remove autoload forms, they are
6404 replaced with autoload cookies in mml.el and mm-encode.el.
6405 (mail-add-attachment): New command.
6406 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6407 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6408 the doc string.
6409 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6410
6411 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6412
6413 * simple.el (count-words-region): Use buffer if there's no region
6414 (bug#9429).
6415
6416 2011-09-09 Juri Linkov <juri@jurta.org>
6417
6418 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6419 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6420 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6421
6422 2011-09-09 Alan Mackenzie <acm@muc.de>
6423
6424 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6425 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6426
6427 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6428
6429 Fix for Savannah bug#9392.
6430 * simple.el (mail-encode-mml): New defvar.
6431
6432 * mail/rmail.el (mail-encode-mml): Add a defvar.
6433 (rmail-enable-mime-composing): Default to t.
6434 (rmail-forward): Use MIME method of forwarding only if both
6435 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6436 Set mail-encode-mml non-nil if the MIME method was used.
6437
6438 * mail/sendmail.el (mml-to-mime): Add autoload form.
6439 (mail-encode-mml): Add a defvar.
6440 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6441 to nil.
6442 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6443 message through mml-to-mime, and reset mail-encode-mml to nil.
6444
6445 2011-09-09 Glenn Morris <rgm@gnu.org>
6446
6447 * woman.el (woman-if-body): When processing an .el block,
6448 do not delete the next .el block as well. (Bug#9447)
6449 (woman-special-characters): Add oq, cq, and hy characters.
6450
6451 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6452
6453 * window.el (window-deletable-p): Make sure window is live before
6454 invoking window-prev-buffers.
6455
6456 2011-09-08 Leo Liu <sdl.web@gmail.com>
6457
6458 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6459
6460 2011-09-08 Juri Linkov <juri@jurta.org>
6461
6462 * progmodes/compile.el (compilation-environment): Make it
6463 a defcustom (bug#8340).
6464
6465 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6466
6467 * window.el (frame-auto-delete): Rename to window-auto-delete.
6468 Make it control auto-deletion of windows and/or frames.
6469 (window-deletable-p): New argument FORCE. Rewrite conditions
6470 for deleting window/frame. (Bug#9419)
6471 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6472 Rewrite handling of case when window/frame can be deleted.
6473 (delete-windows-on): Call window-deletable-p with new FORCE
6474 argument t. (Bug#9456)
6475
6476 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6477
6478 * help-mode.el (help-mode): Restore autoload.
6479
6480 2011-09-07 Juri Linkov <juri@jurta.org>
6481
6482 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6483 `compilation-environment'. Set buffer-local
6484 `compilation-environment' to `thisenv' later after (funcall mode).
6485 (Bug#8340)
6486
6487 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6488 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6489 instead of replacing its value. (Bug#8340)
6490
6491 2011-09-07 Juri Linkov <juri@jurta.org>
6492
6493 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6494 based on text properties put by `grep-filter' instead of matching
6495 escape sequences.
6496 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6497 to the value of `grep-error-screen-columns' (bug#9438).
6498
6499 2011-09-07 Juri Linkov <juri@jurta.org>
6500
6501 * simple.el (next-error-highlight, next-error-highlight-no-select):
6502 Doc fix (bug#9432).
6503
6504 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6505
6506 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6507 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6508
6509 2011-09-07 Leo Liu <sdl.web@gmail.com>
6510
6511 * net/rcirc.el (rcirc-mode): Conditionally initialize
6512 rcirc-input-ring.
6513
6514 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6515
6516 * emacs-lisp/find-func.el (find-function-C-source): Only set
6517 find-function-C-source-directory after checking that we found a source
6518 file there (bug#9440).
6519
6520 2011-09-06 Alan Mackenzie <acm@muc.de>
6521
6522 * isearch.el (isearch-other-meta-char): Wherever a key list is
6523 unread, "unread" the prefix arg, too. This fixes bug #8901.
6524
6525 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6526
6527 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6528
6529 2011-09-05 Juri Linkov <juri@jurta.org>
6530
6531 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6532
6533 2011-09-05 Juri Linkov <juri@jurta.org>
6534
6535 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6536 keeping point where processing of grep matches begins, and
6537 continue to delete remaining escape sequences from the same point.
6538 (grep-filter): Make leading zero optional in "0?1;31m" because
6539 git-grep emits "\033[1;31m" escape sequences unlike expected
6540 "\033[01;31m" as GNU Grep does (bug#9408).
6541 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6542
6543 2011-09-05 Juri Linkov <juri@jurta.org>
6544
6545 * subr.el (y-or-n-p): Capitalize "yes".
6546
6547 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6548
6549 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6550 `tramp-cache-unload-hook' where appropriate.
6551 (tramp-methods): Rename `tramp-remote-sh' to
6552 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6553 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6554
6555 * net/tramp-sh.el (top): Don't require 'shell.
6556 (tramp-methods): Add `tramp-remote-shell' and
6557 `tramp-remote-shell-args' entries.
6558 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6559 (tramp-sh-handle-shell-command): Remove.
6560 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6561 Use `tramp-remote-shell'.
6562
6563 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6564
6565 * mail/sendmail.el (sendmail-query-once-function): Delete.
6566 (sendmail-query-once): Save directly to send-mail-function.
6567 Update message-send-mail-function too.
6568
6569 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6570
6571 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6572
6573 * progmodes/python.el (python-mode-map): Use correct function to
6574 start python interpreter from menu-bar (as reported by Geert
6575 Kloosterman).
6576 (inferior-python-mode-map): Fix typo.
6577 (python-shell-map): Remove.
6578
6579 2011-09-03 Deniz Dogan <deniz@dogan.se>
6580
6581 * net/rcirc.el (rcirc-print): Simplify code for
6582 rcirc-scroll-show-maximum-output. There is no need to walk
6583 through all windows to find the right one.
6584
6585 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6586
6587 * help.el (help-return-method): Doc fix.
6588
6589 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6590
6591 * window.el (window-deletable-p): Don't return a non-nil value
6592 when there's a buffer that was shown in the window before.
6593 (Bug#9419)
6594 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6595 Set window's previous buffers to nil.
6596
6597 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6598
6599 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6600 newline before and after the tag line, so it doesn't interfere
6601 with determining the paragraph direction of bidirectional text.
6602
6603 2011-09-03 Leo Liu <sdl.web@gmail.com>
6604
6605 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6606
6607 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6608
6609 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6610 (pop-to-buffer): Change interactive spec. Pass second argument
6611 directly to display-buffer.
6612 (display-buffer): Fix interactive spec. Use functionp to
6613 distinguish between a function and a list of functions.
6614
6615 * abbrev.el (edit-abbrevs):
6616 * arc-mode.el (archive-extract):
6617 * autoinsert.el (auto-insert):
6618 * bookmark.el (bookmark-bmenu-list):
6619 * files.el (find-file):
6620 * view.el (view-buffer):
6621 * progmodes/compile.el (compilation-goto-locus):
6622 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6623
6624 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6625
6626 * window.el (display-buffer-alist): Doc fix.
6627 (display-buffer): Add docstring. Don't treat
6628 display-buffer-default specially.
6629 (display-buffer-reuse-selected-window)
6630 (display-buffer-same-window, display-buffer-maybe-same-window)
6631 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6632 (display-buffer-pop-up-window)
6633 (display-buffer-reuse-or-pop-window)
6634 (display-buffer-use-some-window): New functions.
6635 (display-buffer-default-action): Use them.
6636 (display-buffer-default): Delete.
6637 (pop-to-buffer-1): Fix choice of actions.
6638
6639 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * minibuffer.el (completion--insert-strings): Don't get confused by
6642 completion entries that end with an LF char.
6643
6644 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6645
6646 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6647
6648 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6649
6650 * window.el (display-buffer): Restore interactive spec.
6651 (display-buffer-same-window, display-buffer-other-window):
6652 New functions.
6653 (pop-to-buffer-1): New function. Use the above.
6654 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6655 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6656
6657 * view.el (view-buffer-other-window, view-buffer-other-frame):
6658 Just use pop-to-buffer.
6659
6660 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6661
6662 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6663
6664 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6665
6666 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6667
6668 2011-08-31 Richard Stallman <rms@gnu.org>
6669
6670 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6671 of the separation of rmail-view-buffer from rmail-buffer.
6672 If you say no to "replace original", the decrypt is in the
6673 view buffer. If you say yes, the decrypt goes into the
6674 rmail buffer also.
6675
6676 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6677
6678 * window.el (display-buffer-window): Rewrite doc-string.
6679 (display-buffer-record-window): New function.
6680 (display-buffer-macro-specifiers)
6681 (display-buffer-even-window-sizes, display-buffer-set-height)
6682 (display-buffer-set-width, display-buffer-in-window)
6683 (display-buffer-reuse-window, display-buffer-split-specifiers)
6684 (display-buffer-side-specifiers, display-buffer-split-window-1)
6685 (display-buffer-split-window, display-buffer-split-atom-window)
6686 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6687 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6688 (display-buffer-other-window-means-other-frame)
6689 (display-buffer-normalize-special)
6690 (display-buffer-normalize-default)
6691 (display-buffer-normalize-argument)
6692 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6693 (display-buffer-normalize-specifiers, display-buffer-frame)
6694 (display-buffer-same-window, display-buffer-same-frame)
6695 (display-buffer-other-window)
6696 (display-buffer-same-frame-other-window)
6697 (display-buffer-other-frame, pop-to-buffer-same-window)
6698 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6699 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6700 (switch-to-buffer-same-frame)
6701 (switch-to-buffer-other-window-same-frame)
6702 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6703 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6704 (display-buffer-alist-set): Remove.
6705 (display-buffer-function, special-display-buffer-names)
6706 (special-display-regexps, special-display-function):
6707 In doc-string refer to display-buffer-window and quit-restore
6708 parameter.
6709 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6710 (special-display-frame-alist, special-display-popup-frame)
6711 (same-window-buffer-names, same-window-regexps, same-window-p)
6712 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6713 (split-window-preferred-function, split-height-threshold)
6714 (split-width-threshold, window-splittable-p)
6715 (split-window-sensibly, window--try-to-split-window)
6716 (window--frame-usable-p, even-window-heights)
6717 (window--even-window-heights, window--display-buffer-1)
6718 (window--display-buffer-2, display-buffer-other-frame):
6719 Restore old Emacs 23 code, order and doc-strings where applicable.
6720 (display-buffer-default, display-buffer-assq-regexp): New functions.
6721 (display-buffer-alist): Rewrite doc-string.
6722 (display-buffer-default-action)
6723 (display-buffer-overriding-action): New variables.
6724 (display-buffer, switch-to-buffer): Rewrite.
6725 (pop-to-buffer): Restore Emacs 23 behavior but use
6726 window-normalize-buffer-to-display.
6727 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6728 Restore Emacs 23 behavior but use
6729 window-normalize-buffer-to-switch-to.
6730 (pop-to-buffer-same-window): Rewrite.
6731 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6732 Rewrite using Emacs 23 options.
6733
6734 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
6735
6736 * net/tramp.el (tramp-root-regexp): Remove.
6737 (tramp-completion-file-name-regexp-unified)
6738 (tramp-completion-file-name-regexp-separate)
6739 (tramp-completion-file-name-regexp-url): Don't use leading volume
6740 letter on win32 systems. (Bug#5303, Bug#9311)
6741 (tramp-drop-volume-letter): Simplify definition.
6742 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
6743
6744 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6745
6746 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6747 (bug#9356).
6748
6749 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6750
6751 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
6752
6753 2011-08-29 Juri Linkov <juri@jurta.org>
6754
6755 * isearch.el (isearch-done): Don't display message "Mark saved"
6756 when arg `edit' is non-nil to prevent its flicker in the echo area.
6757
6758 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6759
6760 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6761 obsolete packages for deletion.
6762
6763 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6764
6765 * help-mode.el (help-mode-map): Add special-mode-map to parent.
6766 (help-mode): Derive help-mode from special-mode. Don't invoke
6767 view-mode from help-mode.
6768 (help-xref-override-view-map): Remove.
6769 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6770 view-mode is not used anymore.
6771
6772 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
6773
6774 * server.el (server-port): Doc fix.
6775
6776 * cus-theme.el (custom-theme-choose-mode): Inherit from
6777 special-mode (Bug#9124).
6778 (custom-theme-choose-mode-map): Add special-mode to parent.
6779
6780 2011-08-28 Alan Mackenzie <acm@muc.de>
6781
6782 * progmodes/cc-fonts.el
6783 (c-make-font-lock-BO-decl-search-function): New function.
6784 (c-basic-matchers-after - "Fontify the clauses after various
6785 keywords"): Extract the three keyword lists for the 3 erroneous
6786 constructs from the list of four, and use the new function above
6787 in place of an old one.
6788
6789 2011-08-28 Deniz Dogan <deniz@dogan.se>
6790
6791 * net/rcirc.el (rcirc-insert-prev-input)
6792 (rcirc-insert-next-input): Remove unused argument.
6793
6794 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6797
6798 2011-08-27 Alan Mackenzie <acm@muc.de>
6799
6800 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6801 handle function pointer parameters properly.
6802
6803 2011-08-27 Martin Rudalics <rudalics@gmx.at>
6804
6805 * window.el (display-buffer-reuse-window): Fix case where
6806 selected window was reused with non-nil OTHER-WINDOW argument.
6807 (Bug#9381)
6808
6809 2011-08-27 Deniz Dogan <deniz@dogan.se>
6810
6811 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6812 oftc's NickServ messages.
6813
6814 2011-08-27 Glenn Morris <rgm@gnu.org>
6815
6816 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6817
6818 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
6819
6820 * emacs-lisp/package.el (package-install): Call package-initialize
6821 if called interactively.
6822
6823 2011-08-26 Leo Liu <sdl.web@gmail.com>
6824
6825 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6826
6827 2011-08-25 Juri Linkov <juri@jurta.org>
6828
6829 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6830 `search-whitespace-regexp' (bug#9364).
6831
6832 2011-08-25 Juri Linkov <juri@jurta.org>
6833
6834 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6835 `regexp-search-ring' to their global values to protect from
6836 updating by `read-from-minibuffer' (bug#9185).
6837
6838 2011-08-25 Juri Linkov <juri@jurta.org>
6839
6840 * textmodes/ispell.el (ispell-command-loop): Add newline
6841 at the end of the "Use option `i'..." line.
6842
6843 2011-08-25 Juri Linkov <juri@jurta.org>
6844
6845 * battery.el (display-battery-mode): If `battery-status-function'
6846 or `battery-mode-line-format' is nil, display the message and set
6847 `display-battery-mode' to nil (bug#9363).
6848
6849 2011-08-25 Eli Zaretskii <eliz@gnu.org>
6850
6851 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6852 bidi-string-mark-left-to-right; they are unnecessary now.
6853
6854 2011-08-25 Deniz Dogan <deniz@dogan.se>
6855
6856 * net/quickurl.el: Documentation typo fixes.
6857
6858 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
6859
6860 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6861
6862 2011-08-25 Glenn Morris <rgm@gnu.org>
6863
6864 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6865
6866 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6867 (smtpmail-via-smtp): Handle nil response from smtp.
6868
6869 2011-08-24 Juri Linkov <juri@jurta.org>
6870
6871 * proced.el (proced-marked): Inherit from `error' instead of
6872 `font-lock-warning-face'.
6873
6874 * ibuffer.el (ibuffer-marked-face): Change default face from
6875 `font-lock-warning-face' to `warning'.
6876 (ibuffer-deletion-face): Change default face from
6877 `font-lock-type-face' to `error'.
6878
6879 * battery.el (battery-update): Use the face `error' instead of
6880 `font-lock-warning-face' (bug#6117).
6881
6882 2011-08-24 Juri Linkov <juri@jurta.org>
6883
6884 * faces.el (success): Change face color from "Green3" to
6885 "ForestGreen" on light background (bug#9353).
6886
6887 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6888
6889 * window.el (quit-window): Rename from quit-restore-window.
6890 Use same arglist as old quit-window.
6891 (frame-auto-delete): Doc fix.
6892
6893 * view.el (view-mode-exit): Use quit-window.
6894
6895 2011-08-24 Juri Linkov <juri@jurta.org>
6896
6897 * isearch.el (isearch-ring-adjust1): Start visiting previous
6898 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6899 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6900 for empty search string (when the last search string is reused
6901 automatically) to adjust the isearch ring to the last element and
6902 prepare the correct index for further M-p commands (bug#9185).
6903
6904 2011-08-24 Kenichi Handa <handa@m17n.org>
6905
6906 * international/ucs-normalize.el: If decomposition property of
6907 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6908 nil.
6909 (nfd, nfkd): Likewise.
6910
6911 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6912
6913 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6914 from process filters aren't reliably transmitted to the surrounding
6915 accept-process-output.
6916 (mpc-proc-check): New function.
6917 (mpc-proc-sync): Use it (bug#8293)
6918
6919 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6922 Add compatibility functions (bug#9313).
6923
6924 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6925
6926 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6927
6928 * international/uni-bidi.el: Regenerate.
6929
6930 2011-08-23 Kenichi Handa <handa@m17n.org>
6931
6932 * international/charprop.el:
6933 * international/uni-bidi.el:
6934 * international/uni-category.el:
6935 * international/uni-combining.el:
6936 * international/uni-comment.el:
6937 * international/uni-decimal.el:
6938 * international/uni-decomposition.el:
6939 * international/uni-digit.el:
6940 * international/uni-lowercase.el:
6941 * international/uni-mirrored.el:
6942 * international/uni-name.el:
6943 * international/uni-numeric.el:
6944 * international/uni-old-name.el:
6945 * international/uni-titlecase.el:
6946 * international/uni-uppercase.el: Regenerate.
6947
6948 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6949
6950 * help.el (help-window-setup): Fix message displayed when other
6951 window is reused. (Bug#9341)
6952
6953 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6956 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6957
6958 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6959 Mark obsolete.
6960 * shell.el (shell-parse-pcomplete-arguments): New function.
6961 (shell-completion-vars): Use it instead (bug#9160).
6962
6963 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6966 strings and comments (bug#9333).
6967
6968 * emacs-lisp/debug.el (debug-arglist): New function.
6969 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6970 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6971
6972 2011-08-22 Juri Linkov <juri@jurta.org>
6973
6974 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6975 Revert regexp that highlights output switches to its old
6976 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6977
6978 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6979 to check for empty output (bug#9226).
6980
6981 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6982
6983 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6984 symbol-constituent as the default, as that stops font-lock from
6985 working properly (Bug#8843).
6986
6987 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6988
6989 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6990 `coding-system-for-*' around the process open call to avoid
6991 auth-source side effects.
6992 (smtpmail-try-auth-methods): Expand the secret password.
6993 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6994 probe hangs.
6995
6996 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6997
6998 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6999
7000 * emacs-lisp/find-func.el (find-function-noselect): New arg
7001 lisp-only.
7002
7003 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7004 signal an error for built-in functions (Bug#6664).
7005
7006 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7007
7008 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7009 (smtpmail-try-auth-methods): Use it.
7010
7011 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7012
7013 * font-lock.el (font-lock-fontify-region)
7014 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7015 (font-lock-default-unfontify-buffer)
7016 (font-lock-default-fontify-region)
7017 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7018
7019 * progmodes/compile.el (compilation-error-properties):
7020 Fix confusion between file struct and message struct (Bug#9319).
7021 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7022 `ant' regexp.
7023
7024 * net/browse-url.el (browse-url-firefox): Don't call
7025 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7026
7027 2011-08-20 Glenn Morris <rgm@gnu.org>
7028
7029 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7030
7031 * tutorial.el (tutorial--default-keys): Update some default bindings.
7032
7033 * files.el (hack-local-variables): Fully ignore case for "mode:".
7034
7035 2011-08-20 Alan Mackenzie <acm@muc.de>
7036
7037 Resolve invalid use of a regexp in regexp-opt.
7038
7039 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7040 detection for a java annotation.
7041
7042 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7043 detection for a java annotation.
7044
7045 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7046 handling for java.
7047 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7048
7049 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7050
7051 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7052 (Bug#9274).
7053
7054 2011-08-20 Alan Mackenzie <acm@muc.de>
7055
7056 Fontify CPP expressions correctly when starting in the middle of
7057 such a construct. Mainly for when jit-lock etc. starts a chunk
7058 here.
7059
7060 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7061 variable.
7062 (c-make-font-lock-search-form): New function, extracted from
7063 c-make-font-lock-search-function.
7064 (c-make-font-lock-search-function): Use the above function.
7065 (c-make-font-lock-context-search-function): New function.
7066 (c-cpp-matchers): Enhance the preprocessor expression case with
7067 the above function
7068 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7069 which takes an expression.
7070
7071 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7072
7073 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7074
7075 * window.el (display-buffer-reuse-window)
7076 (display-buffer-pop-up-window): Don't reuse or split a side
7077 window.
7078
7079 2011-08-19 Glenn Morris <rgm@gnu.org>
7080
7081 * files.el (hack-local-variables-prop-line, hack-local-variables):
7082 Downcase "Mode:". (Bug#9331)
7083
7084 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7085
7086 * international/characters.el: Add L and R categories.
7087
7088 * subr.el (bidi-string-mark-left-to-right): Rename from
7089 string-mark-left-to-right. Use category search.
7090
7091 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7092
7093 2011-08-18 Juri Linkov <juri@jurta.org>
7094
7095 * faces.el (error, warning, success): New faces with definitions
7096 copied from old default values of `font-lock-warning-face',
7097 `compilation-warning', `compilation-info' (bug#6117).
7098
7099 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7100
7101 * progmodes/compile.el (compilation-error): Inherit from `error'.
7102 (compilation-warning): Inherit from `warning'.
7103 (compilation-info): Inherit from `success'.
7104
7105 * dired.el (dired-marked): Inherit from `warning'.
7106 (dired-flagged): Inherit from `error'.
7107
7108 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7109
7110 * mail/smtpmail.el (auth-source): Require to avoid problems with
7111 binding variables (bug#9298). Also clean up some unused
7112 autoloads.
7113
7114 * net/network-stream.el (network-stream-open-starttls):
7115 Support using starttls.el without using gnutls-cli.
7116
7117 2011-08-17 Juri Linkov <juri@jurta.org>
7118
7119 * progmodes/grep.el (rgrep): Handle the case when
7120 `grep-find-command' is a cons cell (bug#9278).
7121
7122 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7123
7124 * window.el (display-buffer-pop-up-frame): Run frame creation
7125 function with BUFFER current (as special-display-popup-frame
7126 does). Reported by Drew Adams.
7127
7128 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7129
7130 * epa-mail.el: Simplify GnuPG group expansion using
7131 epg-expand-group.
7132 (epa-mail-group-alist, epa-mail-group-modtime)
7133 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7134 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7135 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7136 Remove.
7137
7138 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7139
7140 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7141
7142 2011-08-16 Alan Mackenzie <acm@muc.de>
7143
7144 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7145 Correct, to avoid the inside of macros.
7146
7147 2011-08-16 Richard Stallman <rms@gnu.org>
7148
7149 * epa-mail.el: Handle GnuPG group definitions.
7150 (epa-mail-group-alist, epa-mail-group-modtime)
7151 (epa-mail-gnupg-conf-file): New variables.
7152 (epa-mail-parse-groups, epa-mail-sync-groups)
7153 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7154 (epa-mail-expand-recipients): New functions.
7155 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7156
7157 * mail/rmail.el (rmail-epa-decrypt): New command.
7158
7159 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7160 Don't bind buffer-read-only, just inhibit-read-only.
7161 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7162 (epa-decrypt-armor-in-region): Make error message clearer.
7163
7164 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7167 and "a2b" to "ab" for `prefix'.
7168
7169 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7170
7171 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7172 filter groups.
7173 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7174 Fourquet (Bug#8804).
7175
7176 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7177
7178 * startup.el (argi): Declare as global variable (bug#9275).
7179
7180 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7181
7182 * subr.el (string-mark-left-to-right): Search the entire string
7183 for RTL script, not just the terminating character. Doc fix.
7184
7185 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7188 New function.
7189 (js--regexp-literal, js-syntax-propertize-function): Remove.
7190 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7191 (js-mode-map): Don't rebind electric keys.
7192 (js-insert-and-indent): Remove.
7193 (js-mode): Setup electric-layout and electric-indent instead.
7194
7195 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7196
7197 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7198
7199 * epa.el (epa-progress-callback-function): Fix the logic of
7200 displaying progress.
7201 * epa-file.el (epa-file-insert-file-contents): Make progress
7202 display more user-friendly.
7203 (epa-file-write-region): Ditto.
7204
7205 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7206
7207 * subr.el (string-mark-left-to-right): New function.
7208
7209 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7210 Use string-mark-left-to-right.
7211 (list-buffers-noselect): Caller changed.
7212
7213 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7214 Use string-mark-left-to-right.
7215 (tabulated-list-print): Recenter after moving point.
7216
7217 2011-08-10 Juri Linkov <juri@jurta.org>
7218
7219 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7220 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7221 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7222
7223 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7224
7225 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7226 (Bug#7554).
7227
7228 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7229
7230 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7231 character. (Bug#6594)
7232
7233 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7234
7235 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7236 (image-dired--with-db-file): New macro.
7237 (image-dired-write-tags, image-dired-remove-tag)
7238 (image-dired-create-gallery-lists, image-dired-write-comments)
7239 (image-dired-get-comment, image-dired-mark-tagged-files)
7240 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7241 (image-dired-gallery-generate): Use insert-file-contents.
7242
7243 * time.el (display-time-world-list, display-time-world-display):
7244 * time-stamp.el (time-stamp-string):
7245 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7246 set-time-zone-rule (Bug#7337).
7247
7248 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7249
7250 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7251 (epg-error-to-string, epg-errors-to-string): New function.
7252 (epg-wait-for-completion): Reverse errors list.
7253 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7254 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7255 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7256 (epg-sign-keys, epg-generate-key-from-file)
7257 (epg-generate-key-from-string): Format errors by using
7258 epg-errors-to-string (bug#9255).
7259 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7260
7261 2011-08-07 Juri Linkov <juri@jurta.org>
7262
7263 * faces.el (list-faces-display): Remove extra angle bracket
7264 from `help-mode-map'.
7265
7266 * info.el (Info-history-toc-nodes): Doc fix.
7267
7268 * longlines.el (longlines-mode): Doc fix.
7269
7270 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7273 of statements and in a few more cases (bug#9183).
7274
7275 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7276 New functions.
7277 (cl-transform-lambda): Use them (bug#9239).
7278
7279 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7280
7281 * window.el (display-buffer-same-window)
7282 (display-buffer-same-frame, display-buffer-other-window)
7283 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7284 (pop-to-buffer-other-window)
7285 (pop-to-buffer-same-frame-other-window)
7286 (pop-to-buffer-other-frame): Make them defuns.
7287 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7288
7289 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * subr.el (make-composed-keymap): Move from C. Change calling
7292 convention, and improve docstring to bring attention to a subtle point.
7293 * minibuffer.el (completing-read-default): Adjust accordingly.
7294
7295 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7296
7297 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7298 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7299
7300 * net/trampver.el: Update release number.
7301
7302 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7305 "in" (bug#9190).
7306
7307 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7308
7309 * mail/sendmail.el (sendmail-query-once): Restore the current
7310 buffer after querying (bug#9074).
7311
7312 * dired.el (dired-flagged): Use different faces for marked and
7313 flagged files (bug#6117).
7314
7315 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7316 (bug#4433).
7317
7318 * ido.el (ido-mode): Switch off the message if called
7319 non-interactively.
7320
7321 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7322 before 587, since it appears that that's more likely to work for
7323 more people.
7324
7325 * cus-edit.el (custom-file): When running under emacs -q, always
7326 refuse to save the customizations, even if the .emacs file doesn't
7327 exist.
7328
7329 * info.el: Remove the `Info-beginning-of-buffer' function
7330 (bug#8325).
7331
7332 * net/network-stream.el (network-stream-open-starttls):
7333 Use `starttls-available-p' to see whether starttls.el can be used.
7334
7335 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7336
7337 * window.el (display-buffer-in-window): Don't set dedicated status
7338 of window here (Bug#9215).
7339 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7340 (display-buffer-pop-up-side-window)
7341 (display-buffer-in-side-window): Set dedicated status of window here.
7342
7343 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7346 before binding generated-autoload-file.
7347
7348 2011-08-01 Deniz Dogan <deniz@dogan.se>
7349
7350 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7351
7352 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7353
7354 Sync with Tramp 2.2.2.
7355
7356 * net/trampver.el: Update release number.
7357
7358 2011-07-30 Juri Linkov <juri@jurta.org>
7359
7360 * dired-aux.el (dired-touch-initial): Remove function.
7361 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7362 current time, and `default' to the last modification time of the
7363 current marked file (bug#6887).
7364
7365 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7366
7367 * simple.el (goto-line): Use string-to-number to provide a
7368 numeric argument to read-number (bug#9163).
7369
7370 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7371
7372 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7373 connection process, it could be nil.
7374
7375 2011-07-27 Leo Liu <sdl.web@gmail.com>
7376
7377 Simplify url handling in rcirc-mode.
7378
7379 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7380 (rcirc-browse-url-at-mouse): Remove.
7381 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7382
7383 2011-07-26 Alan Mackenzie <acm@muc.de>
7384
7385 Fontify bitfield declarations properly.
7386
7387 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7388 (c-symbol-chars): Now exported as a lang variable.
7389 (c-not-primitive-type-keywords): New lang variable.
7390
7391 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7392 QT keyword "more" to prevent "more slots: ...." being spuriously
7393 parsed as a bitfield declaration.
7394
7395 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7396 Refactor and enhance to handle bitfield declarations.
7397 (c-punctuation-in): New function.
7398 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7399 declarations properly.
7400
7401 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7402
7403 * calendar/icalendar.el (icalendar--all-events): Take care of
7404 multiple vcalendars in a single file.
7405 (icalendar--convert-float-to-ical): Checkdoc fixes.
7406
7407 2011-07-25 Deniz Dogan <deniz@dogan.se>
7408
7409 * image.el (insert-image): Clarifying docstring.
7410
7411 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7412
7413 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7414 `tramp-send-command-and-check' if there is no error.
7415 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7416
7417 2011-07-22 Alan Mackenzie <acm@muc.de>
7418
7419 Prevent cc-langs.elc being loaded at run time.
7420
7421 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7422 cc-langs.
7423
7424 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7425 "(require 'cc-langs)". Quote a form so it will evaluate at
7426 (cc-mode's) compilation time.
7427
7428 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7429
7430 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7431 loading. (Bug#9114)
7432
7433 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7434
7435 * window.el (display-buffer-pop-up-window)
7436 (display-buffer-pop-up-side-window)
7437 (display-buffer-in-side-window): Call display-buffer-set-height
7438 and display-buffer-set-width after setting the new window's
7439 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7440
7441 2011-07-20 Sam Steingold <sds@gnu.org>
7442
7443 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7444 (etags-tags-included-tables): Call `convert-standard-filename' on
7445 the file names contained in TAGS so that windows Emacs can handle
7446 TAGS files created by cygwin ctags.
7447
7448 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7449
7450 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7451 which apparently didn't work.
7452
7453 2011-07-19 Roland Winkler <winkler@gnu.org>
7454
7455 * proced.el (proced-send-signal): For *Marked Processes* buffer
7456 put point at beginning of buffer.
7457
7458 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7459
7460 * proced.el (proced-format): Make header lines align with the text
7461 (bug#1779).
7462
7463 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7464
7465 * view.el (view-buffer): Allow running in `special' modes if we're
7466 visiting a file (bug#8615).
7467
7468 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7469
7470 * window.el (display-buffer-alist-of-strings-p)
7471 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7472 New functions.
7473 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7474 more accurately.
7475
7476 2011-07-18 Alan Mackenzie <acm@muc.de>
7477
7478 Fontify declarators properly when, e.g., a jit-lock chunk begins
7479 inside a declaration.
7480
7481 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7482
7483 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7484 New function.
7485 (c-complex-decl-matchers): Insert reference to
7486 c-font-lock-enclosing-decls.
7487
7488 * progmodes/cc-engine.el (c-backward-single-comment):
7489 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7490 to nil around calls to (forward-comment -1).
7491
7492 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7493
7494 * image.el (put-image): Doc typo fix.
7495
7496 * progmodes/etags.el (tags-search): Doc typo fix.
7497
7498 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7499 password if we get errors 550 to 554.
7500
7501 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7502
7503 * net/gnutls.el (gnutls-log-level): Remove.
7504
7505 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7506 indentation character (bug#6380).
7507
7508 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7509
7510 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7511 to clarify what the problem is (bug#4291).
7512
7513 * simple.el (current-kill): Clarify what
7514 `interprogram-paste-function' does (bug#7500).
7515 (auto-fill-mode): Document `auto-fill-function' in relation to
7516 `auto-fill-mode' (bug#2470).
7517
7518 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7519
7520 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7521 method if slot is read-only (bug#9035).
7522
7523 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7524
7525 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7526 * window.el (pop-to-buffer): Select window used even if it was
7527 selected before, see discussion of (Bug#8615), (Bug#6954).
7528 Pass argument NORECORD on to select-frame-set-input-focus.
7529
7530 2011-07-15 Glenn Morris <rgm@gnu.org>
7531
7532 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7533 Respect help-form.
7534
7535 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7536
7537 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7538 (gnutls-negotiate): Use it.
7539
7540 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7541
7542 * net/gnutls.el (gnutls-negotiate):
7543 Upcase `gnutls-algorithm-priority'.
7544
7545 2011-07-15 Glenn Morris <rgm@gnu.org>
7546
7547 * jka-compr.el (jka-compr-verbose): Move from here...
7548 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7549 Add missing :version tag.
7550 * info.el: No need to require jka-compr when compiling.
7551
7552 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7553
7554 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7555 (gnutls-negotiate): Use it.
7556
7557 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7558
7559 * info.el (Info-beginning-of-buffer): New command.
7560 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7561 announcing `b' as the key (bug#8325).
7562 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7563
7564 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7565
7566 * international/mule-cmds.el
7567 (describe-specified-language-support): Make the error message
7568 clearer (bug#8905).
7569
7570 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7571
7572 * isearch.el (isearch-barrier): Add a doc string, since it's
7573 mentioned in a function doc string (bug#8678).
7574
7575 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7576
7577 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7578 buffer argument (Bug#9083) and self-identifying label argument.
7579
7580 2011-07-15 Glenn Morris <rgm@gnu.org>
7581
7582 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7583
7584 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7585
7586 * man.el (Man-fontify-manpage): Fix message when formatting the
7587 man page (bug#7929).
7588
7589 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7590
7591 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7592 argument LRM; if non-nil, append an invisible LRM character to the
7593 buffer name.
7594 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7595 last argument non-nil, when formatting buffer names.
7596 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7597 paragraph direction.
7598
7599 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7600
7601 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7602 the man page name (bug#7929).
7603
7604 * image.el (put-image): Mention the `put-image' overlay property
7605 (bug#7834).
7606
7607 * scroll-bar.el (set-scroll-bar-mode): Mention that
7608 `scroll-bar-mode' lists the values (bug#7772).
7609
7610 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7611 command (bug#7729).
7612
7613 * rect.el (apply-on-rectangle): Return the point after the last
7614 operation.
7615 (string-rectangle): Go to the point after the last operation
7616 (bug#7522).
7617
7618 * printing.el (pr-toggle-region): Clarify the documentation
7619 slightly (bug#7493).
7620
7621 * time.el (display-time-update):
7622 Allow `display-time-mail-function' to return nil (bug#7158).
7623 Fix suggested by Detlev Zundel.
7624
7625 * vc/diff.el (diff): Clarify the order the file names are read
7626 (bug#7111).
7627
7628 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7629 the doc string (bug#7015).
7630
7631 * font-lock.el (font-lock-maximum-decoration): Mention what
7632 numeric levels mean (bug#6935).
7633
7634 * startup.el (initial-buffer-choice): Don't mention the `none'
7635 selection, which is against policy.
7636
7637 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7638
7639 * window.el (display-buffer-normalize-special):
7640 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7641
7642 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7643
7644 * subr.el (version<, version<=, version=): Mention "-CVS" and
7645 "-12345" alpha version numbers.
7646
7647 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7648
7649 * bindings.el: Add advertised binding for set-mark-command
7650 (Bug#5772).
7651
7652 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7653
7654 * bindings.el (mode-line-other-buffer):
7655 * bookmark.el (bookmark-bmenu-2-window):
7656 * bs.el (bs-cycle-next, bs-cycle-previous):
7657 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7658 switch-to-buffer.
7659
7660 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7661 Delete.
7662
7663 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7664
7665 * follow.el (follow-debug-message, follow-redisplay):
7666 * jka-cmpr-hook.el (with-auto-compression-mode):
7667 Fix typos in docstrings.
7668
7669 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7670
7671 * subr.el (with-silent-modifications): Clarify somewhat what the
7672 macro inhibits (bug#6525).
7673
7674 * simple.el (eval-expression): Note what it does if called
7675 interactively (bug#6495).
7676
7677 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7678
7679 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7680 Use pop-to-buffer buffer-or-name if it is nil.
7681
7682 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7683 Remove switch-to-buffer.
7684
7685 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7686
7687 * files.el (make-directory): Clarify that an error will be raised
7688 if there's an error (bug#6397).
7689
7690 * startup.el (initial-buffer-choice): Add `none' as a choice
7691 (bug#6234).
7692
7693 * subr.el (add-hook): Clarify section about buffer-local hooks
7694 (bug#6218).
7695
7696 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7697
7698 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7699
7700 * tabify.el (untabify): Preserve the current column so that point
7701 doesn't move (bug#6032).
7702
7703 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7704
7705 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7706 Rewrite to avoid awkward possessive "s" (bug#5986).
7707
7708 2011-07-13 Glenn Morris <rgm@gnu.org>
7709
7710 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7711 (dired-insert-directory): Give a message the first time
7712 if ls is found not to support --dired.
7713
7714 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7715
7716 * simple.el (toggle-truncate-lines): Clarify what is toggled
7717 (bug#5580). Text by Drew Adams.
7718
7719 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
7720
7721 * simple.el (blink-matching-open): Make the error message from the
7722 last change less verbose.
7723
7724 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7725
7726 * font-lock.el (font-lock-comment-face): Use the high contrast
7727 "yellow" color for font-lock-comment-face on low color terminals
7728 using a dark background color (bug#4221).
7729
7730 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7731
7732 * dired.el (dired-insert-set-properties): Make the doc string
7733 reflect what it does now (bug#5325).
7734
7735 * simple.el (blink-matching-open): Say that we were unable to find
7736 the match within the limit, if we're limited (bug#5122).
7737
7738 * international/mule-cmds.el (prefer-coding-system): Add an
7739 example (bug#4869).
7740
7741 * progmodes/etags.el (tags-search): Document `file-list-form'
7742 (bug#4731).
7743
7744 2011-07-13 Lawrence Mitchell <wence@gmx.li>
7745
7746 * net/browse-url.el (browse-url-default-browser)
7747 (browse-url-browser-function): Make the default browser choice a
7748 bit more logical (bug#4300). Also clean up the doc string.
7749
7750 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
7751
7752 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7753 binary endings (bug#4440).
7754
7755 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7756
7757 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7758 which can be pretty annoying (bug#8971).
7759
7760 * jka-compr.el (jka-compr-verbose): New variable, and use
7761 throughout (bug#8971).
7762
7763 * info.el (Info-find-file): Fall back on the installation
7764 directory if we can't find the info node anywhere else.
7765
7766 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7767
7768 * vc/vc.el (vc-revert-file):
7769 Don't set file time-stamp in the past. (Bug#5181)
7770
7771 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7772
7773 * files.el (after-find-file): Give a better error message when
7774 trying to find a symlink that points to a file that doesn't exist
7775 (bug#4398).
7776
7777 * progmodes/cc-vars.el: Remove (probably) misleading comment
7778 (bug#4396).
7779
7780 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7781
7782 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7783
7784 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7785
7786 * mouse-sel.el: Hack restoring functionality, while keeping
7787 compatibility with 2010-07-03 changes to mouse selection.
7788 (mouse-sel-primary-overlay): New var.
7789 (mouse-sel-selection-alist): Use it.
7790 (mouse-sel-mode): Doc fix; remove points that are default features
7791 of mouse.el.
7792
7793 2011-07-12 Johan Bockgård <bojohan@gnu.org>
7794
7795 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7796 Fix previous fix (bug#2490).
7797
7798 2011-07-12 Roland Winkler <winkler@gnu.org>
7799
7800 * textmodes/bibtex.el (bibtex-initialize):
7801 Use pop-to-buffer-same-window.
7802 (bibtex-search-entries): Fix interactive call.
7803
7804 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7805
7806 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7807 Fontise bytecomp Error lines more correctly (bug#2490).
7808 Fix suggested by Johan Bockgård.
7809
7810 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7811
7812 * dired-x.el (dired-guess-default): Use `delete-dups'.
7813
7814 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
7815
7816 * dired.el (dired-mark-prompt):
7817 * dired-aux.el (dired-read-shell-command): Doc fix.
7818
7819 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7820
7821 * mail/sendmail.el (sendmail-query-once):
7822 Use `customize-save-variable' unconditionally, now that it works under
7823 emacs -Q.
7824
7825 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7826
7827 * cus-edit.el (custom-file): Take an optional no-error variable.
7828 (customize-save-variable): Set the variable, and give a warning if
7829 running under "emacs -q".
7830
7831 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
7832
7833 * loadhist.el (unload-feature-special-hooks):
7834 Add `auto-coding-functions', `fill-nobreak-predicate' and
7835 `find-directory-functions' (bug#5327).
7836
7837 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7838
7839 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7840
7841 * cus-edit.el (custom-guess-name-alist): -alist variables should
7842 use the `alist' type (bug#3120). Suggested by Drew Adams.
7843
7844 * printing.el: Add documentation to all the `pr-toggle-' commands.
7845
7846 2011-07-11 Leo Liu <sdl.web@gmail.com>
7847
7848 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7849 backends where it makes sense (bug#2623).
7850
7851 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7852
7853 * dired-x.el (dired-guess-default): Remove duplicate shell command
7854 entries (bug#2028).
7855 (dired-guess-default): Fix grammar in doc string (bug#2028).
7856 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
7857
7858 * subr.el (remove-duplicates): New conveniency function.
7859
7860 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7861
7862 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7863 (bug#1526).
7864
7865 2011-07-10 Martin Rudalics <rudalics@gmx.at>
7866
7867 * window.el (display-buffer-normalize-default): Don't invert
7868 meaning of even-window-heights. Reported by Eli Zaretskii
7869 <eliz@gnu.org>.
7870
7871 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7872
7873 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7874
7875 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7876
7877 * window.el (display-buffer): Fix arguments to
7878 display-buffer-reuse-window in last change.
7879
7880 * faces.el (link): Use a less saturated blue on light backgrounds.
7881
7882 * startup.el (fancy-startup-text, fancy-about-text)
7883 (fancy-startup-tail): Use font-lock faces, for background safety.
7884
7885 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7886
7887 * emulation/viper-cmd.el (viper-change-state-to-vi):
7888 Limit triggering of abbrev expansion (Bug#9038).
7889
7890 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7891
7892 * window.el (display-buffer-default-specifiers): Remove.
7893 (display-buffer-macro-specifiers): Remove default specifiers.
7894 (display-buffer-alist): Default to nil.
7895 (display-buffer-reuse-window): New optional argument other-window.
7896 (display-buffer-pop-up-window): Allow splitting internal
7897 windows. Check whether a live window was created.
7898 (display-buffer-other-window-means-other-frame)
7899 (display-buffer-normalize-arguments): Rename to
7900 display-buffer-normalize-argument and rewrite. Set the
7901 other-window specifier.
7902 (display-buffer-normalize-special): New function.
7903 (display-buffer-normalize-options): Rename to
7904 display-buffer-normalize-default and rewrite.
7905 (display-buffer-normalize-options-inhibit): Remove.
7906 (display-buffer-normalize-specifiers): Rewrite.
7907 (display-buffer): Process other-window specifier and call
7908 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7909 more faithfully.
7910 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7911 (display-buffer-alist-set): Don't handle 'unset default values.
7912 (display-buffer-in-window, display-buffer-alist-set):
7913 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7914 <tassilo@member.fsf.org>.
7915
7916 2011-07-09 Leo Liu <sdl.web@gmail.com>
7917
7918 * register.el (insert-register): Restore accidental change on
7919 2011-06-26. (Bug#9028)
7920
7921 2011-07-09 Glenn Morris <rgm@gnu.org>
7922
7923 * subr.el (remq): Handle the empty list. (Bug#9024)
7924
7925 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7926
7927 * mail/sendmail.el (send-mail-function): No longer delay custom
7928 initialization.
7929 * custom.el (custom-initialize-delay): Doc fix.
7930
7931 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7934
7935 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7936
7937 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7938 human-friendly prompt.
7939
7940 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7943 provided by a particular plugin.
7944
7945 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7946
7947 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7948 save customizations (with "emacs -Q"), just set the variable
7949 instead of erroring out.
7950
7951 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7952
7953 2011-07-08 Juri Linkov <juri@jurta.org>
7954
7955 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7956 (archive-zip-update-case): Use 7z if found by `executable-find'.
7957 The order of searching the available programs is the same as in
7958 `archive-zip-extract' (bug#8968).
7959
7960 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7961
7962 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7963 (menu-bar-options-menu): Tweak descriptions.
7964
7965 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7966
7967 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7968 menu items into verb phrases (bug#1421). Also refill to fit under
7969 80 columns.
7970
7971 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7972
7973 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7974 (Info-read-node-name): Doc fix (Bug#1084).
7975
7976 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7977 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7978 (end-of-sexp, beginning-of-sexp)
7979 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7980 (forward-symbol, forward-same-syntax, word-at-point)
7981 (sentence-at-point): Doc fix (Bug#1144).
7982
7983 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7984
7985 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7986 should cover it (bug#1281).
7987
7988 * cus-edit.el (custom-show): Mark as obsolete.
7989
7990 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7991 negotiation fails, then possibly try again with a non-encrypted
7992 connection (bug#9017).
7993
7994 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7995 be used.
7996
7997 2011-07-07 Richard Stallman <rms@gnu.org>
7998
7999 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8000 property, and handle its changed format.
8001 Look for the correct line number.
8002 Use file's line contents (but not past first =) to find
8003 correct line in message.
8004
8005 2011-07-07 Kenichi Handa <handa@m17n.org>
8006
8007 * international/characters.el (build-unicode-category-table):
8008 Delete it.
8009 (unicode-category-table): Set it by unicode-property-table-internal.
8010
8011 * international/mule-cmds.el (char-code-property-alist): Move to
8012 to src/chartab.c.
8013 (get-char-code-property): Call unicode-property-table-internal to
8014 load a file. Call get-unicode-property-internal where necessary.
8015 (put-char-code-property): Call unicode-property-table-internal to
8016 load a file. Call put-unicode-property-internal where necessary.
8017 put-unicode-property-internal where necessary.
8018 (char-code-property-description):
8019 Call unicode-property-table-internal to load a file.
8020
8021 * international/charprop.el:
8022 * international/uni-bidi.el:
8023 * international/uni-category.el:
8024 * international/uni-combining.el:
8025 * international/uni-comment.el:
8026 * international/uni-decimal.el:
8027 * international/uni-decomposition.el:
8028 * international/uni-digit.el:
8029 * international/uni-lowercase.el:
8030 * international/uni-mirrored.el:
8031 * international/uni-name.el:
8032 * international/uni-numeric.el:
8033 * international/uni-old-name.el:
8034 * international/uni-titlecase.el:
8035 * international/uni-uppercase.el: Regenerate.
8036
8037 * loadup.el: Load international/charprop.el before
8038 international/characters.
8039
8040 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8041
8042 * window.el (next-buffer, previous-buffer): Signal an error if
8043 called from a minibuffer window.
8044
8045 * bindings.el: Revert 2011-07-04 change.
8046
8047 2011-07-06 Richard Stallman <rms@gnu.org>
8048
8049 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8050 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8051 Treat markers like ints.
8052 (rmail-mime-entity): Doc fix.
8053
8054 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8055
8056 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8057 defcustom again for backwards compatibility.
8058
8059 * simple.el (shell-command-on-region): Fill.
8060
8061 * dired-aux.el (dired-kill-line): Add a doc string.
8062
8063 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8064 to "\\sw\\|\\s_" (bug#358).
8065
8066 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8067 (dired-unmark-backward): Ditto.
8068 (dired-flag-backup-files): Ditto.
8069
8070 * dired-x.el (dired-mark-sexp): Ditto.
8071
8072 2011-07-06 Richard Stallman <rms@gnu.org>
8073
8074 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8075 (rmail-mime-entity): New arg TRUNCATED.
8076 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8077 New functions.
8078 (rmail-mime-save): Warn if entity is truncated.
8079 (rmail-mime-toggle-hidden): Likewise, for showing.
8080 (rmail-mime-process-multipart): Record when an entity is truncated.
8081
8082 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8083 if ENTITY is a string.
8084
8085 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8086
8087 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8088 of faces when `M-C-x'-ing their definitions (bug#8378).
8089 Also clean up the code slightly.
8090
8091 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8092 because that makes the colors go away.
8093
8094 * mail/sendmail.el (send-mail-function): Change the default to
8095 `sendmail-query-once'.
8096 (sendmail-query-once): Add an autoload cookie.
8097
8098 * net/network-stream.el (network-stream-open-starttls): Try using
8099 a plain connection even if the server offered STARTTLS, and we
8100 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8101 capability. This should make smtpmail.el work in slightly more
8102 configurations.
8103
8104 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8105
8106 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8107 New defun.
8108 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8109
8110 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8111
8112 * progmodes/sql.el: Version 3.0
8113 (sql-product-alist): Add product :completion-object,
8114 :completion-column, and :statement attributes.
8115 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8116 (sql-mode-syntax-table): Mark all punctuation.
8117 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8118 ansi keywords.
8119 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8120 (sql-mode-oracle-font-lock-keywords): Improve.
8121 (sql-oracle-show-reserved-words): New function for development.
8122 (sql-product-font-lock): Simplify for source code buffers.
8123 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8124 New functions.
8125 (sql-highlight-product): Set product specific syntax table.
8126 (sql-mode-map): Add statement movement functions.
8127 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8128 New variable.
8129 (sql-statement-regexp, sql-beginning-of-statement)
8130 (sql-end-of-statement, sql-signum): New functions.
8131 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8132 (sql-show-sqli-buffer): Bug fix.
8133 (sql-interactive-mode): Store connection data as buffer local.
8134 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8135 with sql-interactive-mode.
8136 (sql-save-connection): Save buffer local settings.
8137 (sql-connection-menu-filter): Change menu entry name.
8138 (sql-product-interactive): Bug fix.
8139 (sql-preoutput-hold): New variable.
8140 (sql-interactive-remove-continuation-prompt): Bug fixes.
8141 (sql-debug-redirect): New variable.
8142 (sql-str-literal): New function.
8143 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8144 Redesign.
8145 (sql-oracle-save-settings, sql-oracle-restore-settings)
8146 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8147 (sql-completion-object, sql-completion-column)
8148 (sql-completion-sqlbuf): New variables.
8149 (sql-build-completions-1, sql-build-completions)
8150 (sql-try-completion): New functions.
8151 (sql-read-table-name): Use them.
8152 (sql-contains-names): New buffer local variable.
8153 (sql-list-all, sql-list-table): Use it.
8154 (sql-oracle-completion-types): New variable.
8155 (sql-oracle-completion-object, sql-sqlite-completion-object)
8156 (sql-postgres-completion-object): New functions.
8157
8158 2011-07-06 Glenn Morris <rgm@gnu.org>
8159
8160 * window.el (pop-to-buffer): Doc fix.
8161
8162 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8163
8164 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8165
8166 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8167
8168 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8169
8170 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8171
8172 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8173
8174 * button.el (button): Inherit from link face. Suggested by Dan
8175 Nicolaescu.
8176
8177 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * progmodes/gdb-mi.el: Fit in 80 columns.
8180 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8181 switch-to-buffer.
8182
8183 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8184 if imenu is simply not configured (bug#8941).
8185
8186 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8187
8188 * allout.el (allout-post-undo-hook): New allout outline-change
8189 event hook to signal undo activity.
8190 (allout-post-command-business): Run allout-post-undo-hook if an
8191 undo just occurred.
8192 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8193 * allout-widgets.el (allout-widgets-after-undo-function):
8194 Ensure the integrity of the current item's decoration after it has been
8195 in the vicinity of an undo.
8196 (allout-widgets-mode): Include allout-widgets-after-undo-function
8197 on the new allout-post-undo-hook.
8198
8199 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8202 Let define-derived-mode define it.
8203 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8204 cycles of abbrev-table inheritance (bug#8998).
8205
8206 2011-07-05 Roland Winkler <winkler@gnu.org>
8207
8208 * textmodes/bibtex.el: Add support for biblatex.
8209 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8210 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8211 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8212 (bibtex-entry-alist, bibtex-field-alist): New variables.
8213 (bibtex-entry-field-alist): Obsolete alias for
8214 bibtex-BibTeX-entry-alist.
8215 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8216 (bibtex-set-dialect): New command.
8217 (bibtex-entry-type, bibtex-entry-head)
8218 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8219 Bind via bibtex-set-dialect.
8220 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8221 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8222 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8223 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8224 Define via bibtex-set-dialect.
8225 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8226 Obey bibtex-no-opt-remove-re.
8227 (bibtex-vec-push, bibtex-vec-incr): New functions.
8228 (bibtex-format-entry, bibtex-field-list)
8229 (bibtex-print-help-message, bibtex-validate)
8230 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8231
8232 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * progmodes/compile.el (compilation-goto-locus):
8235 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8236 * bs.el (bs-cycle-next, bs-cycle-previous):
8237 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8238 * bindings.el (mode-line-other-buffer):
8239 * autoinsert.el (auto-insert):
8240 * arc-mode.el (archive-extract):
8241 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8242
8243 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8246 Fix check of `emacs-lock-unlockable-modes'.
8247 Coerce true values of `emacs-lock--try-unlocking' to t.
8248
8249 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8250
8251 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8252 * emacs-lock.el: New file.
8253
8254 2011-07-05 Julien Danjou <julien@danjou.info>
8255
8256 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8257 than `boundp' to check if face is set.
8258
8259 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8260
8261 * register.el (registerv-make):
8262 * window.el (window-min-height): Fix typos in docstrings.
8263
8264 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8265
8266 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8267 Update doc string.
8268
8269 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8270
8271 * server.el (server-execute): Catch quit and call
8272 `server-return-error' to pass the error back to emacsclient and
8273 close the connection (bug#8942).
8274
8275 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8276
8277 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8278 insecure exception for current topic. Also note that auto-saves
8279 are handled differently.
8280
8281 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8282 State variables for tracking auto-save inhibition situation.
8283
8284 (allout-write-contents-hook-handler): Rename from
8285 'allout-write-file-hook-handler', and describe how it depends on
8286 write-contents-functions sensitivity to non-nil value to prevent
8287 file write.
8288
8289 (allout-auto-save-hook-handler): Remove. auto-save does not check
8290 this in individual buffers, only in the starting buffer, so this
8291 is not the right way for us to inhibit auto-save in a buffer
8292 according to its condition.
8293
8294 (allout-mode): Use new allout-write-contents-hook-handler, and
8295 only with write-contents-functions. Remove auto-save provisions -
8296 they're implemented elsewhere.
8297
8298 (allout-before-change-handler): If undo is in progress, note that
8299 for attention of allout-post-command-business.
8300
8301 (allout-post-command-business): If the command we're following was
8302 an undo, check for change in the status of encrypted items and
8303 adjust auto-save inhibitions accordingly.
8304
8305 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8306 according to whether there are or aren't any plain-text topics
8307 pending encryption.
8308
8309 (allout-inhibit-auto-save-info-for-decryption):
8310 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8311 if there are plain-text topics pending encryption.
8312
8313 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8314 buffer-saved-size and some allout state to not inhibit auto-saves
8315 if there are no longer any plain-text topics pending encryption.
8316
8317 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8318 No longer provide for exemption of the current topic.
8319
8320 2011-07-04 Juri Linkov <juri@jurta.org>
8321
8322 Add 7z operations to delete and save changed members (bug#8968).
8323 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8324 New defcustoms.
8325 (archive-7z-write-file-member): New function.
8326 (archive-7z-summarize): Fix the number of dashes in the
8327 listing output.
8328
8329 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8330
8331 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8332 (bug#8958).
8333
8334 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8335
8336 * bindings.el: Ignore next-buffer and previous-buffer in
8337 minibuffer-local-map.
8338
8339 * font-lock.el (font-lock-builtin-face): Change light background
8340 color to dark slate blue (Bug#6693).
8341
8342 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8343
8344 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8345
8346 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8347
8348 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8349 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8350 Add switch-to-buffer.
8351
8352 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8353
8354 * isearch.el (isearch-search-fun-function): Clarify further the
8355 meaning of the function returned.
8356
8357 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8358
8359 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8360
8361 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8362 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8363 Use it.
8364 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8365 `tramp-default-remote-path' does not exist.
8366 (tramp-send-command-and-read): New optional argument NOERROR.
8367 (tramp-open-connection-setup-interactive-shell)
8368 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8369 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8370 (tramp-process-sentinel): Flush also process' connection property.
8371 (tramp-sh-handle-start-file-process): Do not set process
8372 sentinel. It is done now ...
8373 (tramp-maybe-open-connection): ... here. (Bug#8929)
8374
8375 2011-07-04 MON KEY <monkey@sandpframing.com>
8376
8377 * play/animate.el (animate-string): Doc fixes and allow changing
8378 the buffer name (bug#5417).
8379
8380 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8381
8382 * play/animate.el (animation-buffer-name): Rename from *animate*.
8383
8384 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8385
8386 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8387 This is simpler and helps future-proof the code.
8388 (timer-until): Use time-subtract and float-time.
8389 (timer--time-less-p): Use time-less-p.
8390
8391 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * type-break.el (timep): Use the value of `float-time' to avoid a
8394 byte-compiler warning.
8395
8396 * server.el (server-eval-and-print): Return any result, even nil.
8397
8398 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8399
8400 * type-break.el: Accept time formats that the builtins accept.
8401 (timep, type-break-time-difference): Accept any format that
8402 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8403 This is simpler and helps future-proof the code.
8404 (type-break-time-difference): Round rather than ignoring
8405 subseconds components.
8406
8407 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8408
8409 * info.el (Info-apropos-matches): Make non-interactive, since it
8410 doesn't seem to do anything useful as a command (bug#8829).
8411
8412 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8413
8414 * frame.el (frame-background-mode, frame-set-background-mode):
8415 Move from faces.el.
8416 (frame-default-terminal-background): New function.
8417
8418 * custom.el (custom-push-theme): Don't record faces in `changed'
8419 theme; this doesn't work correctly for per-frame face settings.
8420 (disable-theme): Use face-set-after-frame-default to reset faces.
8421 (custom--frame-color-default): New function.
8422
8423 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8424
8425 * dired.el (dired-flagging-regexp): Remove unused variable
8426 (bug#8769).
8427
8428 2011-03-29 Kevin Ryde <user42@zip.com.au>
8429
8430 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8431 `perl-Test2' extend to match possible "fail #N" rep count
8432 (bug#8377).
8433
8434 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8435
8436 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8437 `smtpmail-via-smtp' now returns the error instead of nil.
8438
8439 * isearch.el (isearch-search-fun-function): Clarify the doc string
8440 (bug#8101).
8441
8442 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8443
8444 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8445 unnecessary spaces (bug#8987).
8446
8447 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
8449 * net/network-stream.el (open-network-stream): Use the
8450 :end-of-capability command thoughout.
8451
8452 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8453
8454 * net/network-stream.el (open-network-stream): Add the
8455 :end-of-capability command parameter, used by pop3.el.
8456
8457 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8458
8459 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8460
8461 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8462 for list)" (bug#6475).
8463
8464 * files.el (file-expand-wildcards): Ignore non-readable
8465 sub-directories while trying to find matches instead of signaling
8466 an error (bug#6297).
8467
8468 * man.el (Man-reference-regexp): Allow matching possible
8469 word-wrapped references (bug#6289).
8470
8471 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8472 for consistency with the other vc buffers (bug#6197).
8473 (vc-checkin): Ditto.
8474
8475 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8476
8477 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8478
8479 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8480
8481 * custom.el (defcustom): Clarify that :set is only used in the
8482 Customize user interface (bug#6089).
8483
8484 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8485 associated with a file, refuse to run instead of erroring out
8486 (bug#6084).
8487
8488 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8489 the doc string, since it appears that using `fill-column' always
8490 controls the width (bug#7845).
8491
8492 * simple.el (shell-command-on-region): Say where the error output
8493 went if `shell-command-default-error-buffer' is set (bug#6857).
8494
8495 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8496
8497 * allout.el (allout-yank-processing): Adjust cursor position for
8498 backwards-deleted space.
8499
8500 (allout-rebullet-heading): Register changes with
8501 allout-exposure-changed-hook, so the modified topic is properly
8502 decorated.
8503
8504 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8505
8506 * minibuffer.el (completion-in-region): Document PREDICATE
8507 (bug#7136).
8508
8509 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8510 of keyword/argument pairs (bug#6904).
8511
8512 * replace.el (multi-occur):
8513 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8514
8515 2011-07-02 Drew Adams <drew.adams@oracle.com>
8516
8517 * dired.el (dired-mark-if): Make the message about whether it's
8518 marking or unmarking clearer (bug#8523).
8519
8520 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8521
8522 * disp-table.el (display-table-print-array): New function.
8523 (describe-display-table): Use it to print the vectors more pretty
8524 (Bug#8859).
8525
8526 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8527
8528 * window.el (window-state-get-1): Don't assign clone numbers.
8529 Add clone-of item to list of window parameters.
8530 (window-state-put-2): Don't process clone numbers.
8531 (display-buffer-alist): Fix doc-string.
8532
8533 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * subr.el (remq): Don't allocate if it's not needed.
8536 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8537 (keymap--merge-bindings): New functions.
8538 (keymap-canonicalize): Use them to refine the canonicalization.
8539 * minibuffer.el (minibuffer-local-completion-map)
8540 (minibuffer-local-must-match-map): Move initialization from C.
8541 (minibuffer-local-filename-completion-map): Move initialization from C;
8542 don't inherit from anything here.
8543 (minibuffer-local-filename-must-match-map): Make obsolete.
8544 (completing-read-default): Use make-composed-keymap to combine
8545 minibuffer-local-filename-completion-map with either
8546 minibuffer-local-must-match-map or
8547 minibuffer-local-filename-completion-map.
8548
8549 2011-07-01 Glenn Morris <rgm@gnu.org>
8550
8551 * type-break.el (type-break-time-sum): Use dolist.
8552
8553 * textmodes/flyspell.el (flyspell-word-search-backward):
8554 Replace CL function.
8555
8556 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * mouse.el (mouse--strip-first-event): New function.
8559 (function-key-map): Use it to map fringe clicks to normal clicks
8560 by default.
8561
8562 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8563 (vc-bzr-revision-completion-table): Add support for annotate and date.
8564
8565 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8566 inherit from parent.
8567
8568 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8569
8570 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8571 (dired-show-file-type): Doc fixup (bug#8818).
8572
8573 * dired.el (dired-mode): Fix up the doc string as suggested by
8574 Drew Adams (bug#8817).
8575
8576 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8577 cookie, since the manual says that it should be possible to add
8578 this function to `find-file-hook' (bug#8709).
8579
8580 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8581
8582 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8583 here. Noted Ted Zlatanov as the maintainer.
8584 (cfengine-common-settings, cfengine-common-syntax): New functions
8585 to set up common things between `cfengine-mode' and
8586 `cfengine3-mode'.
8587 (cfengine3-mode): New mode.
8588 (cfengine3-defuns cfengine3-defuns-regex
8589 (cfengine3-class-selector-regex cfengine3-category-regex)
8590 (cfengine3-vartypes cfengine3-font-lock-keywords)
8591 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8592 (cfengine3-indent-line): Add from cfengine3.el.
8593
8594 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8595
8596 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8597
8598 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8599
8600 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8601
8602 * window.el (same-window-buffer-names, same-window-regexps)
8603 (same-window-p, special-display-frame-alist)
8604 (special-display-popup-frame, special-display-function)
8605 (special-display-buffer-names, special-display-regexps)
8606 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8607 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8608 (split-window-preferred-function, split-height-threshold)
8609 (split-width-threshold, even-window-heights)
8610 (display-buffer-mark-dedicated, window-splittable-p)
8611 (split-window-sensibly, window-safely-shrinkable-p):
8612 Un-obsolete.
8613 (display-buffer): Don't spread args with function specifier
8614 because special-display-popup-frame won't like it.
8615
8616 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8617
8618 Time-stamp simplifications and fixes.
8619 These improve accuracy slightly, and future-proof the code
8620 against some potential changes to current-time format.
8621
8622 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8623 by using time-since and float-time.
8624
8625 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8626 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8627 + NNN microseconds".
8628
8629 * type-break.el (type-break-time-sum): Rewrite using time-add.
8630
8631 * play/hanoi.el (hanoi-current-time-float): Remove.
8632 All uses replaced by float-time.
8633
8634 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8635 This yields a more-accurate answer.
8636 (rng-time-to-float): Remove; no longer needed.
8637
8638 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8639
8640 * calendar/timeclock.el (timeclock-seconds-to-time):
8641 Defalias to seconds-to-time, since they're the same thing.
8642
8643 * emacs-lisp/elp.el (elp-elapsed-time):
8644 * emacs-lisp/benchmark.el (benchmark-elapse):
8645 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8646
8647 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8648
8649 * window.el (bury-buffer): Don't iconify the only frame.
8650 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8651 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8652
8653 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8654
8655 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8656 Add mouse-yank-primary.
8657
8658 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8659
8660 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8661
8662 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8663
8664 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8665 (find-library-name): Use it to find relative load names when provided
8666 absolute file name (bug#8803).
8667
8668 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8669
8670 * textmodes/flyspell.el (flyspell-word): Consider words that
8671 differ only in case as potential doublons (bug#5687).
8672
8673 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8674 Remove two rather uninteresting debugging-like messages to make
8675 debbugs.el more silent.
8676
8677 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8678 a password-like phrase.
8679
8680 2011-06-30 Masatake YAMATO <yamato@redhat.com>
8681
8682 * progmodes/cc-guess.el: New file.
8683
8684 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
8685
8686 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8687 derived from `c-basic-common-init'.
8688
8689 * progmodes/cc-mode.el (top-level): Require cc-guess.
8690 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8691
8692 2011-06-30 Lawrence Mitchell <wence@gmx.li>
8693
8694 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8695
8696 2011-06-30 Alan Mackenzie <acm@muc.de>
8697
8698 * progmodes/cc-engine.el (c-guess-continued-construct):
8699 Correct the handling of template-args-cont, particularly for when font
8700 lock is disabled. Name this case as "CASE G".
8701
8702 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8703
8704 * allout.el (allout-yank-processing): Fix injection of extra space
8705 between bullet and non-whitespace character in first topic when
8706 pasting, ensuring that the actual spacing in the pasted topic
8707 following the bullet char is preserved. This extra space was
8708 causing pasted encrypted topics to get a decrypted status even
8709 when the content was actually still encrypted. Now the decryption
8710 status from before the paste is preserved.
8711
8712 (allout-flag-region): Set all allout overlays so they evaporate
8713 when reduced to zero length (evanescent), to prevent overlay
8714 leakage.
8715
8716 2011-06-30 Glenn Morris <rgm@gnu.org>
8717
8718 * w32-fns.el (w32-charset-info-alist): Declare.
8719
8720 * find-dired.el (find-grep-options): Simplify.
8721
8722 * term/ns-win.el (ns-set-resource): Declare.
8723
8724 * ses.el (row, col): Declare dynamic variables honestly.
8725
8726 * textmodes/reftex-parse.el (index-tags): Declare.
8727
8728 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
8729
8730 * cus-edit.el (customize-push-and-save): New function.
8731
8732 * files.el (hack-local-variables-confirm): Use it.
8733
8734 * custom.el (load-theme): New arg NO-CONFIRM.
8735 Use customize-push-and-save (Bug#8720).
8736 (custom-enabled-themes): Doc fix.
8737
8738 * cus-theme.el (customize-create-theme)
8739 (custom-theme-merge-theme): Callers to load-theme changed.
8740
8741 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8742
8743 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8744 short URLs have at least one dot in them (bug #7614).
8745
8746 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8747 nil, because using a pty is apparently too slow (bug #895).
8748
8749 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8750
8751 * mail/sendmail.el (sendmail-query-once): New function.
8752 (sendmail-query-once-function): New variable.
8753
8754 2011-06-29 Glenn Morris <rgm@gnu.org>
8755
8756 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8757
8758 * ses.el (top-level): Require cl when compiling.
8759 (ses-set-localvars): Fix error statement.
8760 Call it at compile time to silence a storm of warnings.
8761
8762 2011-06-29 Martin Rudalics <rudalics@gmx.at>
8763
8764 * window.el (normalize-live-buffer): Rename to
8765 window-normalize-buffer.
8766 (normalize-live-frame): Rename to window-normalize-frame.
8767 (normalize-any-window): Rename to window-normalize-any-window.
8768 (normalize-live-window): Rename to window-normalize-live-window.
8769 (make-window-atom): Rename to window-make-atom.
8770 (window-resize-reset): Rename to window--resize-reset.
8771 (window-resize-reset-1): Rename to window--resize-reset-1.
8772 (resize-mini-window): Rename to window--resize-mini-window.
8773 (resize-subwindows-skip-p): Rename to
8774 window--resize-subwindows-skip-p.
8775 (resize-subwindows-normal): Rename to
8776 window--resize-subwindows-normal.
8777 (resize-subwindows): Rename to window--resize-subwindows.
8778 (resize-other-windows): Rename to window--resize-siblings.
8779 (resize-this-window): Rename to window--resize-this-window.
8780 (resize-root-window): Rename to window--resize-root-window.
8781 (resize-root-window-vertically): Rename to
8782 window--resize-root-window-vertically.
8783 (normalize-buffer-to-display): Rename to
8784 window-normalize-buffer-to-display.
8785 (normalize-buffer-to-switch-to): Rename to
8786 window-normalize-buffer-to-switch-to.
8787 Correspondingly update all callers of the functions listed
8788 above.
8789 (display-buffer-alist, display-buffer-normalize-arguments)
8790 (display-buffer-normalize-options, display-buffer)
8791 (display-buffer-alist-set): Use "function" instead of
8792 "fun-with-args".
8793
8794 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
8795
8796 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8797 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8798 debbugs.gnu.org. Mention acknowledgment email.
8799
8800 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8801
8802 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8803 buffer multibyteness, since it shouldn't matter.
8804
8805 2011-06-28 Martin Rudalics <rudalics@gmx.at>
8806
8807 * window.el (display-buffer-in-side-window): Handle dedicated
8808 windows as in display-buffer-reuse-window.
8809 (display-buffer-normalize-alist): Use value of override
8810 specifier.
8811 (display-buffer-normalize-specifiers): Use value of
8812 other-window-means-other-frame specifier.
8813 (display-buffer-alist): Rewrite some texts in widgets.
8814 (display-buffer): Spread arguments when calling function
8815 specified by fun-with-args.
8816
8817 2011-06-28 Deniz Dogan <deniz@dogan.se>
8818
8819 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8820 Unnest `let'.
8821
8822 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8823 selectors (Bug#5732).
8824 (css-proprietary-nmstart-re): Use `regexp-opt'.
8825
8826 2011-06-27 Jari Aalto <jari.aalto@cante.net>
8827
8828 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8829 (eshell-ls-date-format): New defcustom.
8830 (eshell-ls-file): Use it.
8831
8832 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8835
8836 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8837
8838 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8839 (ange-ftp-make-tmp-name): New arg.
8840 (ange-ftp-file-local-copy): Use it.
8841
8842 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
8843
8844 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8845 no-conversion (Bug#8870).
8846
8847 2011-06-27 Martin Rudalics <rudalics@gmx.at>
8848
8849 * window.el (window-right, window-left, window-child)
8850 (window-child-count, window-last-child)
8851 (window-iso-combination-p, walk-window-tree-1)
8852 (window-atom-check-1, window-tree-1, delete-window)
8853 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8854 new naming conventions - window-vchild, window-hchild,
8855 window-next and window-prev are now called window-top-child,
8856 window-left-child, window-next-sibling and window-prev-sibling
8857 respectively.
8858 (resize-window-reset): Rename to window-resize-reset.
8859 (resize-window-reset-1): Rename to window-resize-reset-1.
8860 (resize-window): Rename to window-resize.
8861 (window-min-height, window-min-width)
8862 (resize-mini-window, resize-this-window, resize-root-window)
8863 (resize-root-window-vertically, adjust-window-trailing-edge)
8864 (enlarge-window, shrink-window, maximize-window)
8865 (minimize-window, delete-window, quit-restore-window)
8866 (split-window, balance-windows, balance-windows-area-adjust)
8867 (balance-windows-area, window-state-put-2)
8868 (display-buffer-even-window-sizes, display-buffer-set-height)
8869 (display-buffer-set-width, set-window-text-height)
8870 (fit-window-to-buffer): Rename all "resize-window" prefixed
8871 calls to use the "window-resize" prefix convention.
8872 (display-buffer-alist): Fix symbol for label specifier.
8873 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8874 corresponding specifier.
8875 Reported by Juanma Barranquero <lekktu@gmail.com>.
8876
8877 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8878
8879 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8880 convention.
8881 (ses-call-printer): Does not pass an empty string to formatter when the
8882 cell is empty to keep from barking printer Calc math-format-value.
8883
8884 2011-06-27 Richard Stallman <rms@gnu.org>
8885
8886 * battery.el (battery-mode-line-limit): New variable.
8887 (battery-update): Handle it.
8888
8889 * mail/rmailmm.el (rmail-mime-process-multipart):
8890 Handle truncated messages.
8891
8892 2011-06-27 Glenn Morris <rgm@gnu.org>
8893
8894 * progmodes/flymake.el (flymake-err-line-patterns):
8895 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8896
8897 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8898
8899 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8900 (ses--clean-!, ses--clean-_): New functions.
8901 (ses-range): Add configurability of readout order, and conversion
8902 to Calc vector.
8903
8904 * ses.el (ses-repair-cell-reference-all): New function.
8905 (ses-cell-symbol): Set macro as safe, so that it can be used in
8906 formulas.
8907
8908 * ses.el: Update cycle detection algorithm.
8909 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8910 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8911 (ses-set-localvars): New function.
8912 (ses-make-cell): Add property-list as a cell element.
8913 (ses-cell-property-get-fun, ses-cell-property-get)
8914 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8915 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8916 New functions.
8917 (ses-cell-property-set, ses-cell-property-pop)
8918 (ses-cell-property-get-handle): New macro.
8919 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8920 New aliases, used for code readability.
8921 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8922 cycle detection.
8923 (ses-self-reference-early-detection): New defcustom.
8924 (ses-formula-references): Robustify against self-referring cells.
8925 (ses-mode): Use ses-set-localvars.
8926 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8927 before lauching the update processing.
8928 (ses-initialize-Dijkstra-attempt): New function.
8929 (ses-recalculate-cell): Update for cycle detection based on
8930 Dijkstra algorithm.
8931
8932 * ses.el: Fix commenting and indenting convention.
8933
8934 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * bs.el (bs-cycle-next): Complete last change.
8937
8938 2011-06-27 Drew Adams <drew.adams@oracle.com>
8939
8940 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8941
8942 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8943
8944 * net/network-stream.el (network-stream-open-starttls):
8945 Don't re-get capabilities unless we've reestablished connection.
8946 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8947
8948 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8949 to binary to possibly avoid line encoding issues on Windows (among
8950 other things).
8951
8952 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8953
8954 * net/network-stream.el (open-network-stream): Return an :error
8955 saying what the problem was, if possible.
8956
8957 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8958 server.
8959
8960 * net/network-stream.el (network-stream-open-starttls): If we
8961 wanted to use STARTTLS, and the server offered it, but we weren't
8962 able to because we had no STARTTLS support, then close the connection.
8963 (open-network-stream): Return an :error element, if present.
8964
8965 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8966
8967 * hl-line.el (hl-line-sticky-flag): Doc fix.
8968 (global-hl-line-sticky-flag): New option (Bug#8323).
8969 (global-hl-line-highlight): Obey it.
8970
8971 * vc/vc.el (vc-revert-show-diff): Default to t.
8972
8973 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8974
8975 * allout-widgets.el (allout-widgets-post-command-business):
8976 Stop decorating intermediate isearch matches. They're not being
8977 undecorated when an isearch is continued past, and isearch
8978 automatically collapses them. This leads to "widget leaks", where
8979 decorated items accumulate in collapsed areas. Lines with lots of
8980 hidden widgets can slow down cursor travel, substantially.
8981 Too much complicated machinery would be needed to ensure undecoration,
8982 so we're doing without this nicety.
8983
8984 (allout-widgets-tally-string): Don't try to do a hash-table-count
8985 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8986 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8987 *Messages* when allout-widgets-maintain-tally is t.
8988
8989 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8990
8991 * window.el (display-buffer-normalize-argument): Rename to
8992 display-buffer-normalize-arguments. Handle special meaning of
8993 LABEL argument. Respect special-display-function when popping up
8994 a new frame. Fix code searching for a window showing the buffer
8995 on another frame.
8996 (display-buffer-normalize-specifiers):
8997 Call display-buffer-normalize-arguments.
8998 (display-buffer-in-window): Don't undedicate the window if its
8999 buffer remains the same.
9000 Reported by Drew Adams <drew.adams@oracle.com>.
9001 (display-buffer-alist): Add choice for same-window macro
9002 specfier.
9003 (display-buffer): Mention special meaning of LABEL argument in
9004 doc-string. Fix quoting. Don't pop up a new frame even as
9005 fallback.
9006
9007 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9008
9009 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9010 avoid deleting the current window in some cases (bug#8911).
9011
9012 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9013
9014 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9015 (Bug#8934)
9016
9017 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9018
9019 * net/network-stream.el (network-stream-open-starttls):
9020 Use built-in TLS support if `gnutls-available-p' is true.
9021 (network-stream-open-tls): Ditto.
9022
9023 2011-06-26 Leo Liu <sdl.web@gmail.com>
9024
9025 * register.el (registerv): New struct.
9026 (registerv-make): New function.
9027 (jump-to-register, describe-register-1, insert-register):
9028 Support the jump-func, print-func and insert-func slot of a registerv
9029 struct. (Bug#8415)
9030
9031 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9032
9033 * vc/vc.el (vc-revert-show-diff): New defcustom.
9034 (vc-diff-internal): New arg specifying diff buffer.
9035 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9036 reuse an existing *vc-diff* buffer (Bug#8927).
9037
9038 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9039
9040 2011-06-26 Glenn Morris <rgm@gnu.org>
9041
9042 * progmodes/f90.el (f90-critical-indent): New option.
9043 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9044 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9045 (f90-mode): Doc fix.
9046 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9047 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9048 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9049 (f90-match-end): Handle block, critical.
9050
9051 2011-06-25 Glenn Morris <rgm@gnu.org>
9052
9053 * calendar/diary-lib.el (diary-included-files): Doc fix.
9054 (diary-include-files): New function, extracted from
9055 diary-include-other-diary-files and diary-mark-included-diary-files.
9056 (diary-include-other-diary-files, diary-mark-included-diary-files):
9057 Just call diary-include-files.
9058 (diary-mark-entries): Reset diary-included-files on first call.
9059
9060 * calendar/diary-lib.el (diary-mark-entries)
9061 (diary-mark-included-diary-files):
9062 Visit included diary-files in temp buffers.
9063
9064 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9065 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9066 (f90-start-block-re, f90-imenu-generic-expression)
9067 (f90-looking-at-program-block-start, f90-no-block-limit):
9068 Add support for submodules.
9069
9070 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9071 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9072
9073 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9074
9075 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9076 buffer-file-type before setting its value, to avoid disastrous
9077 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9078
9079 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9080
9081 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9082
9083 * ses.el (ses-unload-function):
9084 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9085
9086 * proced.el (proced-unload-function):
9087 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9088
9089 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9090
9091 * server.el (server-create-window-system-frame): Add parameters arg.
9092 (server-process-filter): Doc fix. Handle frame-parameters.
9093
9094 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9095
9096 Fix bug#8730, bug#8781.
9097
9098 * loadhist.el (unload--set-major-mode): New function.
9099 (unload-feature): Use it.
9100
9101 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9102 (python-unload-function): New function.
9103
9104 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9107
9108 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9109
9110 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9111 the candidates list.
9112
9113 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9114
9115 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9116
9117 2011-06-23 Richard Stallman <rms@gnu.org>
9118
9119 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9120 (rmail-variables): Set next-error-move-function.
9121 (rmail-what-message): Take argument POS.
9122 (rmail-next-error-move): New function.
9123
9124 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9127 messages for adjacent non-terminals.
9128
9129 2011-06-23 Richard Stallman <rms@gnu.org>
9130
9131 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9132 (rmail-show-message-1): Preserve buffer modified flag.
9133 (rmail-start-mail): Don't specify use of rmail-mail-return;
9134 that's done by mail-bury now.
9135 (rmail-mail-return): Handle arg NEWBUF.
9136
9137 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9138
9139 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9140 SIZE is a number.
9141
9142 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9143
9144 * window.el (get-lru-window, get-mru-window)
9145 (get-largest-window): Never return a minibuffer window.
9146 (display-buffer-pop-up-window): Fix a bug that could lead to
9147 reusing the minibuffer window.
9148 (display-buffer): Pass original specifier argument to
9149 display-buffer-function instead of the normalized one.
9150 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9151
9152 2011-06-22 Leo Liu <sdl.web@gmail.com>
9153
9154 * minibuffer.el (completing-read-function)
9155 (completing-read-default): Move from minibuf.c
9156
9157 2011-06-22 Richard Stallman <rms@gnu.org>
9158
9159 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9160 to Rmail even if not started by a special Rmail command.
9161
9162 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9163 Copy the buffer currently showing just one message.
9164
9165 2011-06-22 Roland Winkler <winkler@gnu.org>
9166
9167 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9168 (bibtex-clean-entry): First delete the old key so that a
9169 customized algorithm for generating the new key does not get
9170 confused by the old key.
9171 (bibtex-url): Obey regexp of first step.
9172 (bibtex-search-entries): Do not use add-to-list with local
9173 list-var.
9174
9175 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9176
9177 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9178 stored a user name, then query for the password first, instead of
9179 waiting for SMTP to give an error message and the trying again.
9180
9181 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9182
9183 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9184 BUFFER in call-process.
9185
9186 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9187
9188 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9189 QUIT twice.
9190 (smtpmail-try-auth-methods): Require user name and password from
9191 auth-source.
9192
9193 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9194
9195 * window.el (display-buffer-default-specifiers)
9196 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9197 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9198 (split-window): Normalize SIDE argument (Bug#8916).
9199
9200 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9201 (special-display-frame-alist, special-display-popup-frame):
9202 Remove duplicate declarations. These are now in window.el.
9203
9204 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9205
9206 * mail/smtpmail.el (smtpmail-via-smtp):
9207 Set :use-starttls-if-possible so that we always use STARTTLS if the
9208 server supports it. SMTP servers that support STARTTLS commonly
9209 require it.
9210
9211 * net/network-stream.el (network-stream-open-starttls): Support
9212 upgrading to STARTTLS always, even if we don't have built-in support.
9213 (open-network-stream): Add the :always-query-capabilities keyword.
9214
9215 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9216 upgrades with `open-network-stream', and rely solely on
9217 auth-source for all credentials. Big changes throughout the file,
9218 but in particular:
9219 (smtpmail-auth-credentials): Remove.
9220 (smtpmail-starttls-credentials): Remove.
9221 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9222 MAIL FROM, too.
9223
9224 * net/network-stream.el (network-stream-open-starttls):
9225 Provide support for client certificates both for external and built-in
9226 STARTTLS.
9227 (auth-source): Require.
9228 (open-network-stream): Document the :client-certificate keyword.
9229 (network-stream-certificate): Change cert-cert to cert and
9230 cert-key to key.
9231
9232 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9233
9234 * net/tramp-cache.el (top): Don't load the persistency file when
9235 "emacs -Q" has been called.
9236
9237 2011-06-21 Tim Harper <timcharper@gmail.com>
9238
9239 * term/ns-win.el (ns-initialize-window-system):
9240 Set application-specific `ApplePressAndHoldEnabled' system
9241 resource to NO as it is not yet supported by the NS port.
9242
9243 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9244
9245 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9246 (list-dynamic-libraries): ...not here.
9247
9248 2011-06-21 Leo Liu <sdl.web@gmail.com>
9249
9250 * subr.el (sha1): Implement sha1 using secure-hash.
9251
9252 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9253
9254 * window.el (display-buffer-alist): In default value do not
9255 enforce searching a window on any but the selected frame.
9256 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9257 (display-buffer-select-window): Remove function.
9258 (display-buffer-in-window): When a window on another frame gets
9259 reused, do not select it any more but just raise its frame if
9260 necessary (Bug#8851) and (Bug#8856).
9261 (display-buffer-normalize-options): Handle pop-up-frames related
9262 options more faithfully.
9263 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9264 window if it is on another frame.
9265 (display-buffer-alist, display-buffer-default-specifiers):
9266 Don't make new frame unsplittable by default.
9267 (display-buffer-normalize-argument): Fix doc-string typo and use
9268 'same-frame-other-window instead of 'other-window when associating
9269 with display-buffer-macro-specifiers.
9270
9271 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9272
9273 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9274 New functions.
9275 (5x5-mode-map, 5x5-mode-menu): Bind them.
9276 (5x5-draw-grid): Tweak the solver's rendering.
9277
9278 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9279
9280 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9281 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9282
9283 2011-06-21 Drew Adams <drew.adams@oracle.com>
9284
9285 * menu-bar.el: Use function variable instead of switch-to-buffer.
9286 (menu-bar-select-buffer-function): New variable.
9287 (menu-bar-update-buffers): Use it (bug#8876).
9288
9289 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9292 variable's status.
9293
9294 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9295
9296 * x-dnd.el (x-dnd-version-from-flags)
9297 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9298 and long as number (Bug#8899).
9299 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9300
9301 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9304 (completion-try-completion, completion-all-completions): Compute the
9305 metadata argument if it's missing; make it optional (bug#8795).
9306
9307 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9308 (widget-complete): Use new :completion-function property.
9309 (widget-completions-at-point): New function.
9310 (default): Use :completion-function instead of :complete.
9311 (widget-default-completions): Rename from widget-default-complete;
9312 Rewrite.
9313 (widget-string-complete, widget-file-complete, widget-color-complete):
9314 Remove functions.
9315 (file, symbol, function, variable, coding-system, color):
9316 * international/mule-cmds.el (default-input-method, charset)
9317 (language-info-custom-alist):
9318 * cus-edit.el (face): Use new property :completions.
9319
9320 * progmodes/pascal.el (pascal-completions-at-point): New function.
9321 (pascal-mode): Use it.
9322 (pascal-mode-map): Use completion-at-point.
9323 (pascal-toggle-completions): Make obsolete.
9324 (pascal-complete-word, pascal-show-completions):
9325 * progmodes/octave-mod.el (octave-complete-symbol):
9326 Redefine as obsolete alias.
9327 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9328 Signal absence of completion info for old Octave,
9329 (inferior-octave-complete): Redefine as obsolete alias.
9330 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9331 (meta-completions-at-point): Rename from meta-complete-symbol and
9332 adapt it for use on completion-at-point-functions.
9333 (meta-common-mode): Use it.
9334 (meta-looking-at-backward, meta-match-buffer): Remove.
9335 (meta-complete-symbol): Redefine as obsolete alias.
9336 (meta-common-mode-map): Use completion-at-point.
9337 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9338 (makefile-mode-map): Use completion-at-point.
9339 (makefile-completions-at-point): Rename from makefile-complete and
9340 adapt it for use on completion-at-point-functions.
9341 (makefile-mode): Use it.
9342 (makefile-complete): Redefine as obsolete alias.
9343
9344 2011-06-20 Deniz Dogan <deniz@dogan.se>
9345
9346 * net/rcirc.el: Delete trailing whitespaces once and for all.
9347
9348 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9349
9350 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9351
9352 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9353
9354 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9355
9356 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9357
9358 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9359
9360 * window.el (display-buffer-other-window-means-other-frame):
9361 Call display-buffer-normalize-alist.
9362 (display-buffer-normalize-specifiers-1): Rename to
9363 display-buffer-normalize-argument. New argument other-frame.
9364 Rewrite.
9365 (display-buffer-normalize-specifiers-2): Rename to
9366 display-buffer-normalize-options.
9367 (display-buffer-normalize-alist-1): New function.
9368 (display-buffer-normalize-specifiers-3): Rename to
9369 display-buffer-normalize-alist.
9370 Call display-buffer-normalize-alist-1.
9371 (display-buffer-normalize-options-inhibit): New variable.
9372 (display-buffer-normalize-specifiers): Rewrite calling
9373 display-buffer-normalize-alist,
9374 display-buffer-normalize-argument, and
9375 display-buffer-normalize-options. Don't call the latter if
9376 display-buffer-normalize-options-inhibit is non-nil.
9377 (frame-auto-delete): New option.
9378 (window-deletable-p): Use frame-auto-delete.
9379 (window-list-no-nils, window-state-ignored-parameters)
9380 (window-state-get-1, window-state-get, window-state-put-list)
9381 (window-state-put-1, window-state-put-2, window-state-put):
9382 New functions.
9383 (display-buffer-normalize-options): Move special-display-p group
9384 after pop-up-frame group (Bug#8851) and (Bug#8856).
9385
9386 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9387
9388 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9389 groups (Bug#8776).
9390 (rx-submatch-n): New function.
9391 (rx): Document it.
9392
9393 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9394 (Bug#8768).
9395
9396 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9397
9398 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9399
9400 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9401 anytime existing face settings are present (Bug#8889).
9402
9403 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9404 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9405 Remove unused argument.
9406
9407 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9408
9409 * window.el (display-buffer-default-specifiers):
9410 Remove pop-up-frame. Add pop-up-window-min-height,
9411 pop-up-window-min-width, and another reuse-window specifier
9412 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9413 (display-buffer-normalize-specifiers-2):
9414 Handle split-height-threshold and split-width-threshold also when
9415 pop-up-windows is unset. Add a reuse-window specifier for the
9416 case popping up a new window fails.
9417 (special-display-popup-frame): Remove double quoting.
9418 (display-buffer-normalize-specifiers-1): Fix thinko.
9419
9420 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9423 according to comint-completion-addsuffix.
9424
9425 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9426 (pcomplete-suffix-list): Mark as obsolete.
9427 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9428 pcomplete-seen in the closure.
9429 (pcomplete-comint-setup): Setup completion-at-point as well.
9430 (pcomplete--entries): New function.
9431 (pcomplete--env-regexp): New var.
9432 (pcomplete-entries): Rewrite to work with partial-completion and
9433 without relying on pcomplete-suffix-list.
9434 (pcomplete-pare-list): Remove, unused.
9435
9436 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9437
9438 * window.el (display-buffer-alist): Set pop-up-window-min-height
9439 and pop-up-window-min-width in default value. Reported by
9440 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9441 other-window-means-other-frame.
9442 (display-buffer-macro-specifiers): Comment out entry for
9443 other-window specifier.
9444 (display-buffer-other-window-means-other-frame): New function.
9445 (display-buffer-normalize-specifiers-1): New arguments
9446 buffer-name and label. Treat other-window case specially.
9447 (display-buffer-normalize-specifiers-2): Treat other-window case
9448 specially.
9449 (display-buffer-normalize-specifiers-3): New function.
9450 (display-buffer-normalize-specifiers):
9451 Call display-buffer-normalize-specifiers-3.
9452
9453 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9454
9455 * window.el (same-window-p): Fix two typos introduced when
9456 adding with-no-warnings.
9457 (display-buffer-normalize-specifiers-1): Don't check
9458 pop-up-frames for 'unset initialization.
9459 (display-buffer-normalize-specifiers-2): Major rewrite using
9460 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9461 (pop-up-frames, display-buffer-reuse-frames)
9462 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9463 Suggested by David Engster <deng@randomsample.de>.
9464 (even-window-heights): Initialize to 'unset.
9465 (display-buffer-alist-set): Handle new 'unset initializations.
9466 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9467 other window case.
9468
9469 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9470
9471 * window.el (display-buffer-normalize-specifiers-1):
9472 Respect current value of pop-up-frames for most reasonable values of
9473 second argument of display-buffer (Bug#8865).
9474 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9475 (switch-to-buffer-other-window-same-frame)
9476 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9477 Adams (Bug#8875).
9478 (display-buffer): Don't check noninteractive when calling
9479 display-buffer-pop-up-frame.
9480 (display-buffer-pop-up-frame): Never pop up a frame in
9481 noninteractive mode (Bug#8857).
9482 (enlarge-window, shrink-window): Don't report an error when the
9483 window can't be resized as requested (Bug#8862).
9484
9485 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9488
9489 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9490
9491 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9492
9493 2011-06-15 Alan Mackenzie <acm@muc.de>
9494
9495 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9496 for declarators, disable knr checking to speed up for normal files.
9497 2: Refactor, replacing a sequence of nested if forms by a cond form.
9498
9499 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500
9501 * net/network-stream.el (open-network-stream): Add the keyword
9502 :always-query-capabilities for the case where you want to force a
9503 `plain' network connection, but the protocol still requires the
9504 capabilitiy command (i.e., SMTP and EHLO).
9505
9506 * subr.el (process-live-p): Rename from `process-alive-p' for
9507 consistency with other `-live-p' functions.
9508
9509 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * window.el (same-window-buffer-names, same-window-regexps)
9512 (special-display-frame-alist, special-display-popup-frame)
9513 (special-display-function, special-display-buffer-names)
9514 (special-display-regexps, pop-up-frame-alist)
9515 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9516 (pop-up-windows, split-window-preferred-function)
9517 (split-height-threshold, split-width-threshold, even-window-heights)
9518 (display-buffer-mark-dedicated): Don't encourage the use of
9519 display-buffer-alist from Elisp code.
9520
9521 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9522
9523 * progmodes/python.el (python-mode): Derive from prog-mode.
9524 * progmodes/ps-mode.el (ps-mode):
9525 * progmodes/mixal-mode.el (mixal-mode):
9526 * progmodes/cfengine.el (cfengine-mode):
9527 * progmodes/ld-script.el (ld-script-mode): Likewise.
9528
9529 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9530
9531 * window.el (display-buffer-alist): Trim default value to avoid
9532 popping up a new frame (Bug#8857) or reusing an arbitrary window
9533 on another frame.
9534 (display-buffer): Do not fall back on popping up a new frame in
9535 batch mode (Bug#8857).
9536
9537 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9538
9539 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9540 (custom-theme-summary): New function.
9541 (customize-themes): Use it.
9542
9543 2011-06-13 Glenn Morris <rgm@gnu.org>
9544
9545 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9546
9547 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9548
9549 * help.el (help-window): Remove variable.
9550 (help-window-point-marker, temp-buffer-max-height)
9551 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9552 (help-print-return-message): Don't set help-window.
9553 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9554 (help-window-setup-finish): Remove.
9555 (help-window-display-message, help-window-setup)
9556 (with-help-window): Major rewrite based on new
9557 display-buffer-window variable.
9558
9559 * help-mode.el (help-mode-finish): Remove help-window related
9560 code.
9561
9562 * view.el (view-exits-all-viewing-windows): Remove reference to
9563 view-return-to-alist in doc-string.
9564 (view-return-to-alist): Make obsolete.
9565 (view-buffer): Call pop-to-buffer-same-window and remove
9566 undo-window code.
9567 (view-buffer-other-window): Call pop-to-buffer-other-window and
9568 simplify code. Ignore second argument.
9569 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9570 simplify code. Ignore second argument.
9571 (view-return-to-alist-update): Make obsolete.
9572 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9573 Rewrite using quit-restore window parameters.
9574 (view-mode-exit): Rename second argument to EXIT-ONLY.
9575 Rewrite using quit-restore-window.
9576 (View-exit, View-exit-and-edit, View-leave, View-quit)
9577 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9578 appropriate arguments.
9579 (view-end-message): Use quit-restore window parameter.
9580
9581 * window.el (display-buffer-function): Rewrite doc-string.
9582 (display-buffer-window, display-buffer-alist): New variables.
9583 (display-buffer-split-specifiers)
9584 (display-buffer-side-specifiers)
9585 (display-buffer-macro-specifiers): New constants.
9586 (display-buffer-even-window-sizes, display-buffer-set-height)
9587 (display-buffer-set-width, display-buffer-select-window)
9588 (display-buffer-in-window, display-buffer-reuse-window)
9589 (display-buffer-split-window-1, display-buffer-split-window)
9590 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9591 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9592 (display-buffer-in-side-window, normalize-buffer-to-display)
9593 (display-buffer-normalize-specifiers-1)
9594 (display-buffer-normalize-specifiers-2)
9595 (display-buffer-normalize-specifiers, display-buffer-frame):
9596 New functions.
9597 (display-buffer): Major rewrite.
9598 (display-buffer-other-window, display-buffer-other-frame)
9599 (pop-to-buffer, switch-to-buffer-other-window)
9600 (switch-to-buffer-other-frame): Rewrite.
9601 (display-buffer-same-window, display-buffer-same-frame)
9602 (display-buffer-same-frame-other-window)
9603 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9604 (pop-to-buffer-other-window)
9605 (pop-to-buffer-same-frame-other-window)
9606 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9607 (switch-to-buffer-other-window-same-frame): New functions.
9608 (same-window-p, special-display-p): Rewrite disabling warnings.
9609 Make obsolete.
9610 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9611 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9612 Make obsolete
9613 (same-window-buffer-names, same-window-regexps)
9614 (special-display-frame-alist, special-display-popup-frame)
9615 (special-display-function, special-display-buffer-names)
9616 (special-display-regexps, pop-up-frame-alist)
9617 (pop-up-frame-function, split-window-preferred-function)
9618 (split-height-threshold, split-width-threshold)
9619 (even-window-heights): Make obsolete.
9620
9621 2011-06-12 Glenn Morris <rgm@gnu.org>
9622
9623 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9624 Misc simplifications.
9625
9626 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9627
9628 * window.el (window-safely-shrinkable-p): Restore function which
9629 was inadvertently removed in change from 2011-06-11. Declare as
9630 obsolete.
9631
9632 * calendar/calendar.el (calendar-generate-window):
9633 Use window-iso-combined-p instead of combination of one-window-p and
9634 window-safely-shrinkable-p.
9635
9636 2011-06-12 Glenn Morris <rgm@gnu.org>
9637
9638 * progmodes/fortran.el (fortran-mode-syntax-table):
9639 * progmodes/f90.el (f90-mode-syntax-table):
9640 Set % to punctuation. (Bug#8820)
9641 (f90-find-tag-default): Remove, no longer needed.
9642
9643 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9644
9645 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9646
9647 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9648
9649 * image.el (image-animated-p): Return animation delay in seconds.
9650 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9651 (image-animate-timeout): Remove DELAY argument. Don't assume
9652 every subimage has the same delay; get it from image-animated-p.
9653 (image-animate): Caller changed.
9654
9655 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9656
9657 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9658 to ignored backtrace functions.
9659
9660 2011-06-11 Glenn Morris <rgm@gnu.org>
9661
9662 * calendar/appt.el (appt-disp-window-function): Doc fix.
9663 (appt-check): Handle overlapping appointments. (Bug#8337)
9664
9665 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9666
9667 * window.el (window-tree-1, window-tree): New functions, moving
9668 the latter to window.el.
9669 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9670 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9671 (bw-refresh-edges): Remove.
9672 (balance-windows-1, balance-windows-2): New functions.
9673 (balance-windows): Rewrite in terms of window tree functions,
9674 balance-windows-1 and balance-windows-2.
9675 (bw-adjust-window): Remove.
9676 (balance-windows-area-adjust): New function with functionality of
9677 bw-adjust-window but using resize-window.
9678 (set-window-text-height): Rewrite doc-string.
9679 Use normalize-live-window and resize-window.
9680 (enlarge-window-horizontally, shrink-window-horizontally):
9681 Rename argument to DELTA.
9682 (window-buffer-height): New function.
9683 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9684 Rewrite using new window resize routines.
9685 (kill-buffer-and-window, mouse-autoselect-window-select):
9686 Use ignore-errors instead of condition-case.
9687 (quit-window): Call delete-frame instead of delete-windows-on
9688 for the only buffer on frame.
9689
9690 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9691
9692 * loadup.el (top-level): Load window before files for the sake
9693 of replace-buffer-in-windows.
9694
9695 * files.el (read-buffer-to-switch)
9696 (switch-to-buffer-other-window)
9697 (switch-to-buffer-other-frame, display-buffer-other-frame):
9698 Move to window.el.
9699
9700 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9701 (previous-buffer): Move to window.el.
9702
9703 * bindings.el (unbury-buffer): Move to window.el.
9704
9705 * window.el (delete-other-windows-vertically): Move after
9706 definition of delete-other-windows.
9707 (other-window, delete-windows-on, replace-buffer-in-windows):
9708 Move here from window.c.
9709 (record-window-buffer, unrecord-window-buffer)
9710 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9711 (switch-to-next-buffer): New functions.
9712 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9713 from simple.el. Call switch-to-next-buffer.
9714 (previous-buffer): Move here from simple.el.
9715 Call switch-to-prev-buffer.
9716 (bury-buffer): Move here from buffer.c. Switch to previous
9717 buffer when window cannot be deleted.
9718 (unbury-buffer): Move here from bindings.el.
9719 (ctl-x-map): Move binding for other-window from window.c to
9720 here.
9721 (read-buffer-to-switch, switch-to-buffer-other-window)
9722 (switch-to-buffer-other-frame): Move here from files.el.
9723 (normalize-buffer-to-switch-to): New functions.
9724 (switch-to-buffer): Move here from buffer.c.
9725 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9726
9727 2011-06-10 Martin Rudalics <rudalics@gmx.at>
9728
9729 * window.el (window-min-height, window-min-width): Move here
9730 from window.c. Add defcustoms and rewrite doc-strings.
9731 (resize-mini-window, resize-window): New functions.
9732 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9733 Move here from window.c.
9734 (maximize-window, minimize-window): New functions.
9735 (delete-window, delete-other-windows, split-window): Move here
9736 from window.c.
9737 (window-split-min-size): New function.
9738 (split-window-keep-point): Mention split-window-above-each-other
9739 instead of split-window-vertically.
9740 (split-window-above-each-other, split-window-vertically):
9741 Rename split-window-vertically to split-window-above-each-other
9742 and provide defalias for old definition.
9743 (split-window-side-by-side, split-window-horizontally):
9744 Rename split-window-horizontally to split-window-side-by-side
9745 and provide defalias for the old definition.
9746 (ctl-x-map): Move bindings for delete-window,
9747 delete-other-windows and enlarge-window here from window.c.
9748 Replace bindings for split-window-vertically and
9749 split-window-horizontally by bindings for
9750 split-window-above-each-other and split-window-side-by-side.
9751
9752 * cus-start.el (all): Remove entries for window-min-height and
9753 window-min-width. Add entries for window-splits and
9754 window-nest.
9755
9756 2011-06-09 Glenn Morris <rgm@gnu.org>
9757
9758 * calendar/appt.el (appt-mode-line): New function.
9759 (appt-check, appt-disp-window): Use it.
9760
9761 * files.el (hack-one-local-variable-eval-safep):
9762 Allow minor-modes with explicit +/-1 arguments.
9763
9764 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9765
9766 * term/xterm.el (xterm): Add defgroup.
9767 (xterm-extra-capabilities): Add defcustom to supply known xterm
9768 capabilities, skip querying them, or query them (default).
9769 (terminal-init-xterm): Use it.
9770 (terminal-init-xterm-modify-other-keys): New function to set up
9771 modifyOtherKeys support to simplify `terminal-init-xterm'.
9772
9773 2011-06-09 Martin Rudalics <rudalics@gmx.at>
9774
9775 * window.el (resize-window-reset, resize-window-reset-1)
9776 (resize-subwindows-skip-p, resize-subwindows-normal)
9777 (resize-subwindows, resize-other-windows, resize-this-window)
9778 (resize-root-window, resize-root-window-vertically)
9779 (window-deletable-p, window-or-subwindow-p)
9780 (frame-root-window-p): New functions.
9781
9782 2011-06-09 Glenn Morris <rgm@gnu.org>
9783
9784 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9785 (ange-ftp-get-files): Use it.
9786
9787 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9788
9789 * mail/sendmail.el (mail-recover-1, mail-recover):
9790 * files.el (recover-file, recover-session):
9791 Handle dired-listing-switches not being just a single short option.
9792
9793 2011-06-09 Glenn Morris <rgm@gnu.org>
9794
9795 * calendar/appt.el (appt-display-message, appt-disp-window):
9796 Handle lists of appointments.
9797
9798 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9799
9800 * window.el (one-window-p): Move down in code.
9801 Rewrite doc-string.
9802 (window-current-scroll-bars): Rewrite doc-string.
9803 Normalize live window argument.
9804 (walk-windows, get-window-with-predicate, count-windows):
9805 Rewrite doc-string. Use window-list-1.
9806 (window-in-direction-2, window-in-direction, get-mru-window):
9807 New functions.
9808
9809 2011-06-08 Reuben Thomas <rrt@sc3d.org>
9810
9811 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9812 Doc fix (Bug#8713).
9813
9814 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
9815
9816 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9817
9818 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
9819
9820 * loadhist.el (unload-feature-special-hooks):
9821 Add `comint-output-filter-functions'.
9822
9823 2011-06-08 Ivan Kanis <gnu@kanis.fr>
9824
9825 * calendar/appt.el (appt-check): Move some initializations into the let.
9826
9827 2011-06-08 Martin Rudalics <rudalics@gmx.at>
9828
9829 * window.el (window-height): Defalias to window-total-height.
9830 (window-width): Defalias to window-body-width.
9831
9832 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
9833
9834 * image-mode.el (image-toggle-animation): New command.
9835 (image-mode-map): Bind it to RET.
9836 (image-mode): Update message.
9837 (image-toggle-display-image): Avoid a spurious cache flush.
9838 (image-transform-rotation): Doc fix.
9839 (image-transform-properties): Return quickly in the normal case.
9840 (image-animate-loop): Rename from image-animate-max-time.
9841
9842 * image.el (image-animate-max-time): Move to image-mode.el.
9843 (create-animated-image): Remove unnecessary function.
9844 (image-animate): Rename from image-animate-start. New arg.
9845 (image-animate-stop): Remove; just use image-animate-timer.
9846 (image-animate-timer): Use car-safe.
9847 (image-animate-timeout): Rename argument.
9848
9849 2011-06-07 Martin Rudalics <rudalics@gmx.at>
9850
9851 * window.el (get-lru-window, get-largest-window): Move here from
9852 window.c. Rename first argument to ALL-FRAMES.
9853 Rephrase doc-strings.
9854 (get-buffer-window-list): Rewrite using window-list-1.
9855 Rephrase doc-string.
9856 (window-safe-min-height, window-safe-min-width): New constants.
9857 (window-size-ignore, window-min-size, window-min-size-1)
9858 (window-sizable, window-sizable-p, window-size-fixed-1)
9859 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9860 (window-max-delta-1, window-max-delta, window-resizable)
9861 (window-resizable-p, window-total-height, window-total-width)
9862 (window-body-width): New functions.
9863 (window-full-height-p, window-full-width-p): Rewrite using
9864 window-total-size.
9865 (window-body-height): Rewrite using window-body-size.
9866
9867 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9868
9869 * window.el (window-right, window-left, window-child)
9870 (window-child-count, window-last-child, window-any-p)
9871 (normalize-live-buffer, normalize-live-frame)
9872 (normalize-any-window, normalize-live-window)
9873 (window-iso-combination-p, window-iso-combined-p)
9874 (window-iso-combinations)
9875 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9876 (windows-with-parameter, window-with-parameter)
9877 (window-atom-root, make-window-atom, window-atom-check-1)
9878 (window-atom-check, window-side-check, window-check):
9879 New functions.
9880 (ignore-window-parameters, window-sides, window-sides-vertical)
9881 (window-sides-slots): New variables.
9882 (window-size-fixed): Move down in code. Minor doc-string fix.
9883
9884 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9885
9886 * comint.el (comint-dynamic-complete-as-filename)
9887 (comint-dynamic-complete-filename): Correctly call
9888 completion-in-region.
9889
9890 2011-06-05 Deniz Dogan <deniz@dogan.se>
9891
9892 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9893 in last change.
9894
9895 2011-06-05 Deniz Dogan <deniz@dogan.se>
9896
9897 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9898 (rcirc): Use it to prompt for encryption.
9899
9900 2011-06-05 Roland Winkler <winkler@gnu.org>
9901
9902 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9903 (bibtex-search-entries): New command bound to C-c C-a.
9904 (bibtex-display-entries): New function.
9905
9906 2011-06-05 Roland Winkler <winkler@gnu.org>
9907
9908 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9909 (bibtex-insert-kill): After yanking insert newline if necessary.
9910 (bibtex-initialize): Call bibtex-string-files-init only once.
9911 (bibtex-mode): Do not call easy-menu-add.
9912 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9913 (bibtex-yank): Set arg properly if nil.
9914
9915 2011-06-05 Roland Winkler <winkler@gnu.org>
9916
9917 * textmodes/bibtex.el (bibtex-search-entry-globally):
9918 New variable.
9919 (bibtex-search-entry): Use it.
9920
9921 2011-06-05 Roland Winkler <winkler@gnu.org>
9922
9923 * textmodes/bibtex.el (bibtex-entry-format): New option
9924 sort-fields.
9925 (bibtex-format-entry, bibtex-reformat): Honor this option.
9926 (bibtex-parse-entry): Return fields in proper order.
9927
9928 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9929
9930 * doc-view.el (doc-view-remove-if): Move computation of result out
9931 of `dolist' to silence misleading lexical-binding warning.
9932
9933 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9934
9935 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9936 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9937
9938 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9939
9940 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9941 "SunOS 5.10".
9942
9943 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9944
9945 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9946 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9947 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9948 (tramp-parse-putty):
9949 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9950 (tramp-completion-function-alist-ssh)
9951 (tramp-completion-function-alist-telnet)
9952 (tramp-completion-function-alist-su)
9953 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9954 cookie.
9955
9956 * net/tramp-ftp.el:
9957 * net/tramp-sh.el:
9958 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9959 load "tramp.el" `tramp-set-completion-function'.
9960
9961 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * shell.el: Require and use pcomplete.
9964 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9965 (shell-completion-vars): Set pcomplete-default-completion-function.
9966
9967 2011-06-04 Deniz Dogan <deniz@dogan.se>
9968
9969 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9970 `memq' (Bug#8799).
9971
9972 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9973
9974 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9975
9976 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9977
9978 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9979 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9980 * vc/log-view.el (log-view-beginning-of-defun):
9981 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9982 (smerge-refine-forward, smerge-refine-chopup-region):
9983 Silence warning for unused `dotimes' counter variables.
9984
9985 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * net/tramp.el (tramp-with-progress-reporter): Rename from
9988 with-progress-reporter. Use `declare'.
9989 * net/tramp-smb.el:
9990 * net/tramp-sh.el:
9991 * net/tramp-gvfs.el: Update all uses.
9992
9993 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9994
9995 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9996 buffer isn't killed before making it current.
9997
9998 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 Silence various byte-compiler warnings.
10001 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10002 `access-type' and new obsolescence format.
10003 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10004 new format.
10005 (byte-compile-check-variable): New `access-type' argument.
10006 Only warn if the access-type is obsolete.
10007 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10008 (byte-compile-variable-set): Adjust callers.
10009 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10010 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10011 setting it as obsolete.
10012 * simple.el (minibuffer-completing-symbol):
10013 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10014 access as obsolete.
10015 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10016 obsolete yet.
10017 * international/quail.el (quail-mouse-choose-completion): Remove unused
10018 code referring to obsolete var.
10019 (quail-choose-completion-string): Remove.
10020 * server.el (server-clients-with, server-kill-buffer-query-function)
10021 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10022 * proced.el (proced-send-signal):
10023 * emacs-lisp/lisp.el (lisp-complete-symbol):
10024 Replace completion-annotate-function with completion-extra-properties.
10025
10026 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10027
10028 * simple.el (goto-line): Use read-number.
10029 (overriding-map-is-bound): Remove.
10030 (saved-overriding-map): Change default.
10031 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10032 Take the map as argument.
10033 (universal-argument, negative-argument, digit-argument): Use it.
10034 (restore-overriding-map): Adjust.
10035 (do-auto-fill): Use fill-forward-paragraph.
10036 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10037
10038 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10039 (minibuffer-inactive-mode): New major mode.
10040 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10041 the *Messages* buffer" hack.
10042 (mouse-popup-menubar): Don't burp if the event is a normal key.
10043
10044 Miscellaneous tweaks.
10045 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10046 lexical scoping as in subr.el's dolist and dotimes.
10047 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10048 Silence compiler warning.
10049 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10050 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10051 * international/ccl.el (ccl-compile): Trivial simplification.
10052 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10053 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10054 `printflag' argument.
10055 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10056 Purecopy the whole obsolescence data.
10057
10058 2011-06-01 Leo Liu <sdl.web@gmail.com>
10059
10060 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10061 improve doc-string as suggested by Marco Pessotto
10062 <melmothx@gmail.com>.
10063 (rcirc-print): Fix last change.
10064
10065 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 * minibuffer.el (complete-with-action): Return nil for the metadata and
10068 boundaries of non-functional tables.
10069 (completion-table-dynamic): Return nil for the metadata.
10070 (completion-table-with-terminator): Add default case, using
10071 complete-with-action.
10072 (completion--metadata): New function.
10073 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10074 to try and avoid pathological performance problems.
10075 (completion--embedded-envvar-table): Return `category' metadata.
10076
10077 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10078
10079 * subr.el (process-alive-p): New tiny convenience function.
10080
10081 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10084 content but also its previous major mode.
10085
10086 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10087
10088 * emacs-lisp/debug.el (debug): Restore the previous content of the
10089 *Backtrace* buffer when we exit with C-M-c.
10090
10091 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10092
10093 * minibuffer.el: Add metadata method to completion tables.
10094 (completion-category-overrides): New defcustom.
10095 (completion-metadata, completion--field-metadata)
10096 (completion-metadata-get, completion--styles)
10097 (completion--cycle-threshold): New functions.
10098 (completion-try-completion, completion-all-completions):
10099 Add `metadata' argument to choose completion-styles.
10100 (completion--do-completion): Use metadata to choose cycling.
10101 (completion-all-sorted-completions): Use metadata for sorting.
10102 Remove :completion-cycle-penalty which is not needed any more.
10103 (completion--try-word-completion): Add `metadata' argument.
10104 (minibuffer-completion-help): Check metadata for annotation function
10105 and sorting.
10106 (completion-file-name-table): Return `category' metadata.
10107 (minibuffer-completing-file-name): Make obsolete.
10108 * simple.el (minibuffer-completing-symbol): Make obsolete.
10109 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10110 completion-try-completion.
10111
10112 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10115
10116 2011-05-30 Leo Liu <sdl.web@gmail.com>
10117
10118 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10119 (rcirc-print): Decode all incoming messages (bug#8744).
10120 (rcirc-decode-coding-system): Allow value nil for automatic coding
10121 system detection.
10122
10123 2011-06-01 Glenn Morris <rgm@gnu.org>
10124
10125 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10126
10127 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10128
10129 * image.el (image-animate-max-time): Allow nil and t values.
10130 Default to nil.
10131 (create-animated-image): Doc fix.
10132 (image-animate-start): Remove second arg; just use
10133 image-animate-max-time.
10134 (image-animate-timeout): Doc fix. Args changed.
10135
10136 * image-mode.el (image-toggle-display-image): Ensure that the
10137 image spec passed to the animate timer is the same object as in
10138 the buffer's display property (Bug#6981).
10139 (image-transform-properties): Doc fix.
10140
10141 * image.el (image-animate-max-time): Default to nil.
10142
10143 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10144
10145 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10146 entire buffer list (Bug#8184).
10147
10148 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10149
10150 * image.el (imagemagick-types-inhibit)
10151 (imagemagick-register-types): Doc fix.
10152
10153 2011-05-29 Deniz Dogan <deniz@dogan.se>
10154
10155 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10156 default.
10157
10158 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10159
10160 * select.el: Don't perform clipboard-manager saving in hooks;
10161 leave the hooks empty.
10162
10163 2011-05-28 Leo Liu <sdl.web@gmail.com>
10164
10165 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10166 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10167 (occur-edit-mode): New major mode (Bug#8463).
10168 (occur-after-change-function): New function.
10169 (occur-engine): Give Occur tags a read-only property.
10170
10171 2011-05-28 Kevin Ryde <user42@zip.com.au>
10172
10173 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10174
10175 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10176
10177 * bindings.el (help-echo): Make the initial non-indicator dash
10178 empty on graphical terminals (Bug#7295).
10179
10180 * files.el (auto-mode-alist): Move config rule after the
10181 in-stripping one (Bug#8547).
10182
10183 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10184
10185 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10186 setting (Bug#8740).
10187
10188 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10189
10190 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10191 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10192 (Bug#8539).
10193
10194 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10195
10196 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10197
10198 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10199
10200 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10201 (hs-hide-block-at-point, hs-find-block-beginning)
10202 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10203 (Bug#8279).
10204
10205 2011-05-28 Glenn Morris <rgm@gnu.org>
10206
10207 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10208
10209 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10210
10211 * help-fns.el (describe-function-1): If the function is a derived
10212 major mode, print the parent mode.
10213
10214 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10215 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10216
10217 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * minibuffer.el (completion--capf-wrapper): Check applicability before
10220 returning non-nil for non-exclusive completion data.
10221 * progmodes/etags.el (tags-completion-at-point-function):
10222 * info-look.el (info-lookup-completions-at-point): Mark as
10223 non-exclusive.
10224 (info-complete): Adjust accordingly.
10225
10226 * info-look.el: Convert to lexical-binding and completion-at-point.
10227 (info-lookup-completions-at-point): New function.
10228 (info-complete): Use it and completion-in-region.
10229
10230 2011-05-28 Drew Adams <drew.adams@oracle.com>
10231
10232 * isearch.el: Let M-e start with point at the first mismatched char.
10233 (isearch-fail-pos): New function.
10234 (isearch-edit-string): Use it.
10235
10236 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10237
10238 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10239
10240 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10241
10242 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10243 traversal functions for avl-trees.
10244 (avl-tree--stack): New struct.
10245 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10246 (avl-tree-enter): Add optional `updatefun' arg.
10247 (avl-tree--do-enter): Add optional `updatefun' arg.
10248 Change return value.
10249 (avl-tree-delete): Add optional `test' and `nilflag' args.
10250 (avl-tree--do-delete): Add `test' and `nilflag' args.
10251 Change return value.
10252 (avl-tree-member): Add optional `nilflag'
10253 (avl-tree-member-p): New function.
10254 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10255 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10256 (avl-tree-stack-empty-p): New functions.
10257
10258 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10259 avl-tree--del-balance1 and make it work both ways.
10260 (avl-tree--del-balance2): Remove.
10261 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10262 make it work both ways.
10263 (avl-tree--enter-balance2): Remove.
10264 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10265 New macros.
10266 (avl-tree--mapc, avl-tree-map): Add direction argument.
10267
10268 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10269
10270 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10271
10272 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10273
10274 * select.el: Support clipboard managers with built-in function
10275 x-clipboard-manager-save, via delete-frame-functions and
10276 kill-emacs-hook.
10277 (xselect-convert-to-targets): Add MULTIPLE target to list.
10278 (xselect-convert-to-save-targets): New function.
10279
10280 2011-05-27 Kenichi Handa <handa@m17n.org>
10281
10282 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10283 let-binding rfc2047-encode-encoded-words to nil.
10284
10285 2011-05-27 Glenn Morris <rgm@gnu.org>
10286
10287 * mail/emacsbug.el: Don't require url-util.
10288
10289 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10290
10291 * files.el (set-auto-mode):
10292 Also respect mode: entries at the end of the file. (Bug#8586)
10293
10294 2011-05-26 Glenn Morris <rgm@gnu.org>
10295
10296 * files.el (hack-local-variables-prop-line, hack-local-variables):
10297 Downcase mode names, as seems to be traditional.
10298 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10299
10300 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10301 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10302
10303 2011-05-25 Julien Danjou <julien@danjou.info>
10304
10305 * textmodes/rst.el (rst-define-level-faces): Do not define face
10306 symbol if it is already defined.
10307
10308 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10309
10310 * play/5x5.el (5x5-new-game, 5x5-randomize):
10311 Reset 5x5-solver-output to nil when a new grid is cast.
10312 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10313 these debugging traces, as defmacro breaks the compiled code.
10314
10315 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10316
10317 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10318
10319 2011-05-24 Leo Liu <sdl.web@gmail.com>
10320
10321 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10322 (vc-bzr-sha1): Adapt.
10323
10324 * sha1.el: Remove. Function `sha1' is now builtin.
10325
10326 * bindings.el: Provide sha1 feature.
10327
10328 2011-05-24 Kenichi Handa <handa@m17n.org>
10329
10330 * mail/sendmail.el: Require `rfc2047'.
10331 (mail-insert-from-field): Do not perform RFC2047 encoding.
10332 (mail-encode-header): New function.
10333 (sendmail-send-it): Set buffer-file-coding-system of the work
10334 buffer to the return value of select-message-coding-system.
10335 Call mail-encode-header.
10336
10337 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10338
10339 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10340
10341 * mail/supercite.el (sc-default-cite-frame):
10342 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10343
10344 2011-05-24 Glenn Morris <rgm@gnu.org>
10345
10346 * progmodes/python.el (brm-menu): Declare.
10347
10348 * emulation/viper.el (viper-set-hooks): Declare.
10349
10350 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10351 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10352 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10353 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10354 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10355 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10356
10357 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10358
10359 Add an :exit-function for completion-at-point.
10360
10361 * minibuffer.el (completion--done): New fun.
10362 (completion--do-completion): Use it. New arg `expect-exact'.
10363 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10364 since completion--do-completion does it for us now.
10365 (minibuffer-force-complete): Use completion--done and
10366 completion--replace. Handle sole-completion case with more care.
10367 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10368 (completion-extra-properties): New var.
10369 (completion-annotate-function): Make obsolete.
10370 (minibuffer-completion-help): Adjust accordingly.
10371 Use completion-list-insert-choice-function.
10372 (completion-at-point, completion-help-at-point):
10373 Bind completion-extra-properties.
10374 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10375 * simple.el (completion-list-insert-choice-function): New var.
10376 (completion-setup-function): Preserve it.
10377 (choose-completion): Pay attention to it, shuffle the code a bit.
10378 (choose-completion-string): New arg `insert-function'.
10379
10380 * textmodes/bibtex.el: Convert to lexical binding.
10381 (bibtex-mode-map): Use completion-at-point.
10382 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10383 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10384 (bibtex-complete): Define as obsolete alias.
10385 (bibtex-complete-internal): Remove.
10386 (bibtex-format-entry): Remove unused sub-group in regexp.
10387 * shell.el (shell--command-completion-data)
10388 (shell-environment-variable-completion):
10389 * pcomplete.el (pcomplete-completions-at-point):
10390 * comint.el (comint--complete-file-name-data): Use :exit-function
10391 instead of completion-table-with-terminator so it also works for
10392 choose-completion.
10393
10394 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10397
10398 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10399 (bug#8710).
10400
10401 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10402
10403 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10404
10405 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10406 customization variable and implement: If non-nil, auto-fill will
10407 be inhibited while on topic's header line.
10408
10409 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10410
10411 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10412 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10413 always have a solution in grid size = 5 cases.
10414 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10415 (5x5-solver-output, 5x5-log-buffer): New vars.
10416 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10417 Make these variables buffer local to achieve 5x5 multi-session-ness.
10418 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10419 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10420 (5x5-solve-suggest): New funs.
10421 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10422 randomize a grid so that we ensure that there is always a solution.
10423 (5x5-make-random-grid): Allow other movement than flipping.
10424
10425 2011-05-23 Kevin Ryde <user42@zip.com.au>
10426
10427 * emacs-lisp/advice.el (ad-read-advised-function):
10428 Use `function-called-at-point' as the default, if it has
10429 advice and passes PREDICATE.
10430
10431 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10432
10433 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10434 byte-compile-lambda if it's actually a lambda.
10435
10436 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10437 Fix function quoting. Use backquote better.
10438
10439 2011-05-22 Yuanle Song <sylecn@gmail.com>
10440
10441 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10442 matching (Bug#8516).
10443
10444 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10445
10446 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10447 different face (Bug#8178).
10448
10449 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10450
10451 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10452 defface (Bug#8144).
10453
10454 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10457 funcall as well (bug#8712). Warn when performing those conversions.
10458 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10459
10460 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10461
10462 2011-05-22 Glenn Morris <rgm@gnu.org>
10463
10464 * files.el (hack-local-variables-prop-line): Small simplifications.
10465 (hack-local-variables, hack-local-variables-prop-line):
10466 If MODE-ONLY, return the mode, rather than just `t'.
10467
10468 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10469
10470 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10471
10472 2011-05-21 Glenn Morris <rgm@gnu.org>
10473
10474 * files.el (hack-local-variables-prop-line, hack-local-variables):
10475 If only interested in the mode, don't bother doing the other stuff.
10476
10477 * image-mode.el (image-after-revert-hook):
10478 Redraw all frames on which the image is visible. (Bug#8567)
10479
10480 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10481
10482 * wid-edit.el (widget-checklist-match-inline):
10483 Fix 2011-04-19 change. (Bug#8649)
10484
10485 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10488 Also allow singlespace after single-letter capitals followed by a dot.
10489
10490 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10491 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10492
10493 2011-05-20 Nix <nix@esperi.org.uk>
10494
10495 * files.el (basic-save-buffer-2):
10496 Fix handling of break-hardlink-on-save with non-existent files.
10497
10498 2011-05-19 Deniz Dogan <deniz@dogan.se>
10499
10500 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10501 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10502
10503 2011-05-19 Glenn Morris <rgm@gnu.org>
10504
10505 * progmodes/f90.el (f90-type-def-re):
10506 Handle "type, bind(c)". (Bug#8691)
10507
10508 * emacs-lisp/autoload.el (batch-update-autoloads):
10509 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10510
10511 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10512
10513 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10514 property for the correct connection in case of multihops.
10515
10516 2011-05-18 Glenn Morris <rgm@gnu.org>
10517
10518 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10519 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10520
10521 Rationalize calendar handling of day and month abbrev-arrays.
10522 * calendar/calendar.el (calendar-customized-p): New function.
10523 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10524 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10525 Add :set function.
10526 (calendar-abbrev-length, calendar-day-abbrev-array)
10527 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10528 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10529 Elements may no longer be nil.
10530 (calendar-day-name, calendar-month-name):
10531 Update for changed nature of abbrev arrays.
10532 * calendar/diary-lib.el (diary-name-pattern):
10533 Update for changed nature of abbrev arrays.
10534 (diary-mark-entries-1): Update calendar-make-alist calls.
10535 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10536 * calendar/cal-html.el (cal-html-day-abbrev-array):
10537 Simply inherit from calendar-day-abbrev-array.
10538
10539 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * progmodes/grep.el (grep-mode): Disable default
10542 compilation-directory-matcher setting (bug#8684).
10543
10544 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10545
10546 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10547 instead of "head" and "tail". There were problems with SunOS 5.9,
10548 and it performs better.
10549
10550 2011-05-17 Glenn Morris <rgm@gnu.org>
10551
10552 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10553
10554 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10555 Replace obsolete function.
10556
10557 * shell.el (pcomplete-parse-arguments-function): Declare.
10558
10559 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10560 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10561 (appt-check): Doc fixes.
10562 (appt-disp-window-function, appt-delete-window-function):
10563 Remove needless special case in custom :type.
10564 (appt-display-count): Default to 0, not nil.
10565 (appt-check): Reset appt-display-count to 0, not nil.
10566
10567 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10568
10569 * progmodes/python.el (python-font-lock-keywords):
10570 Add the Python 3.X keyword "nonlocal" (bug#8639).
10571
10572 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10575
10576 2011-05-16 Kevin Ryde <user42@zip.com.au>
10577
10578 * info-look.el (makefile-automake-mode): New setups, looking in
10579 automake manual, then makefile-mode.
10580 (makefile-mode): Remove automake manual, have it just in
10581 makefile-automake-mode since there's various things different or
10582 not relevant to plain make.
10583 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10584 believe a hypothetical automake-mode would go to makefile-mode,
10585 not the other way around.
10586
10587 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10588
10589 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10590 hunk-end tags (Bug#8672).
10591
10592 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10593 vc-annotate-show-diff-revision-at-line (Bug#8671).
10594
10595 2011-05-14 Glenn Morris <rgm@gnu.org>
10596
10597 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10598 in the middle of an existing one with multiple authors. (Bug#8645)
10599 (change-log-font-lock-keywords): Also handle multiple author lines
10600 with leading tabs. (Bug#8644)
10601
10602 * calendar/appt.el (appt-check): Rename some local variables.
10603 Some simplification/reordering.
10604
10605 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10606 (feedmail-sendmail-f-doesnt-sell-me-out)
10607 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10608 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10609 (feedmail-queue-runner-message-sender): Set :version.
10610 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10611 (bbdb-dwim-net-address, vm-mail): Declare.
10612 (feedmail-binmail-gnulinuxish-template):
10613 Rename from feedmail-binmail-linuxish-template.
10614 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10615 Use insert-buffer-substring.
10616
10617 2011-05-14 Bill Carpenter <bill@carpenter.org>
10618
10619 * mail/feedmail.el (feedmail-patch-level): Increase.
10620 (feedmail-debug): New custom group.
10621 (feedmail-confirm-outgoing-timeout)
10622 (feedmail-sendmail-f-doesnt-sell-me-out)
10623 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10624 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10625 (feedmail-sender-line, feedmail-from-line)
10626 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10627 (feedmail-spray-this-address)
10628 (feedmail-spray-address-fiddle-plex-list)
10629 (feedmail-queue-use-send-time-for-date)
10630 (feedmail-queue-use-send-time-for-message-id)
10631 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10632 (feedmail-buffer-eating-function):
10633 Doc fixes.
10634 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10635 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10636 (feedmail-message-action-scroll-down): New functions.
10637 (feedmail-queue-directory, feedmail-queue-draft-directory):
10638 Use expand-file-name.
10639 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10640 Remove C-v help entry.
10641 (feedmail-queue-buffer-file-name): New variable.
10642 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10643 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10644 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10645 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10646 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10647 (feedmail-message-action-toggle-spray)
10648 (feedmail-run-the-queue-no-prompts)
10649 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10650 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10651 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10652 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10653 (feedmail-envelope-deducer, feedmail-fiddle-from)
10654 (feedmail-fiddle-sender, feedmail-default-date-generator)
10655 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10656 (feedmail-fiddle-spray-address)
10657 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10658 (feedmail-fiddle-list-of-fiddle-plexes)
10659 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10660 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10661 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10662 Change default. Doc fix.
10663 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10664 (feedmail-binmail-linuxish-template): New constant.
10665 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10666 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10667 (feedmail-send-it): Add debug call.
10668 Use feedmail-queue-buffer-file-name, and
10669 feedmail-send-it-immediately-wrapper.
10670 (feedmail-message-action-send): Add debug call.
10671 Use feedmail-send-it-immediately-wrapper.
10672 (feedmail-queue-express-to-queue): Add debug call.
10673 Run feedmail-queue-express-hook.
10674 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10675 (feedmail-message-action-help-blat):
10676 Rename from feedmail-queue-send-edit-prompt-help-first.
10677 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10678 Check line-endings. Handle errors better.
10679 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10680 Doc fix. Add debug call.
10681 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10682 Use feedmail-queue-send-edit-prompt-inner.
10683 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10684 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10685 from feedmail-queue-send-edit-prompt.
10686 (feedmail-queue-send-edit-prompt-help)
10687 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10688 (feedmail-tidy-up-slug): Add debug call.
10689 Respect feedmail-queue-slug-suspect-regexp.
10690 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10691 (feedmail-dump-message-to-queue): Add debug call.
10692 Expand queue-directory.
10693 (feedmail-dump-message-to-queue): Change message slightly.
10694 Use feedmail-say-chatter.
10695 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10696 (feedmail-send-it-immediately-wrapper): New function.
10697 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10698 Insert empty string rather than newline. Handle full-frame case.
10699 Use catch/throw. Use feedmail-say-chatter.
10700 (feedmail-fiddle-from): Try mail-host-address.
10701 (feedmail-default-message-id-generator): Doc fix.
10702 Bind system-time-locale. Handle missing end.
10703 (feedmail-fiddle-x-mailer): Add debug call.
10704 Handle feedmail-x-mailer-line being nil.
10705 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10706 Add debug call. Use buffer-substring-no-properties.
10707 (feedmail-say-debug, feedmail-say-chatter): New functions.
10708 (feedmail-find-eoh): Give an explicit error.
10709
10710 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
10711
10712 * net/newst-treeview.el (newsticker-treeview-face): Change default
10713 family from helvetica to sans.
10714 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
10715 etc/images/newsticker.
10716
10717 * net/newst-reader.el (newsticker-feed-face): Change default
10718 family from helvetica to sans.
10719
10720 * net/newst-plainview.el (newsticker-new-item-face)
10721 (newsticker-old-item-face, newsticker-immortal-item-face)
10722 (newsticker-obsolete-item-face, newsticker-date-face)
10723 (newsticker-statistics-face): Change default family from
10724 helvetica to sans.
10725 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
10726 etc/images/newsticker.
10727
10728 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10729 (newsticker--process-auto-mark-filter-match): Tell user about
10730 auto-marking.
10731
10732 2011-05-13 Didier Verna <didier@xemacs.org>
10733
10734 Common Lisp indentation improvements on defmethod and lambda-lists.
10735 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10736 TODO entries.
10737 (lisp-lambda-list-keyword-parameter-indentation)
10738 (lisp-lambda-list-keyword-parameter-alignment)
10739 (lisp-lambda-list-keyword-alignment): New customizable user options.
10740 (lisp-indent-defun-method): Improve docstring.
10741 (extended-loop-p): Fix comment.
10742 (lisp-indent-lambda-list-keywords-regexp): New variable.
10743 (lisp-indent-lambda-list): New function.
10744 (lisp-indent-259): Use it.
10745 (lisp-indent-defmethod): Support for more than one
10746 method qualifier and properly indent methods lambda-lists.
10747 (defgeneric): Provide a missing common-lisp-indent-function property.
10748
10749 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10752 bounds for the empty string (bug#8667).
10753
10754 2011-05-13 Glenn Morris <rgm@gnu.org>
10755
10756 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10757
10758 * mail/sendmail.el (sendmail-program): Try executable-find first.
10759 (sendmail-send-it): `sendmail-program' cannot be unbound.
10760
10761 * calendar/appt.el (appt-make-list): Simplify.
10762 (appt-time-msg-list): Doc fix.
10763 (appt-check): Change mode-line message at the time of the appointment.
10764
10765 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10766
10767 * progmodes/ld-script.el (ld-script-keywords)
10768 (ld-script-builtins): Update keywords list.
10769
10770 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10773
10774 * shell.el (shell-completion-vars): New function.
10775 (shell-mode):
10776 * simple.el (read-shell-command): Use it.
10777 (blink-matching-open): No need for " [...]" in minibuffer-message.
10778
10779 2011-05-12 Glenn Morris <rgm@gnu.org>
10780
10781 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10782 (appt-check): Simplify.
10783
10784 2011-05-12 Eli Zaretskii <eliz@gnu.org>
10785
10786 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
10787 literal "/dev/null".
10788
10789 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10792 Fix typo.
10793
10794 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
10795
10796 * progmodes/which-func.el (which-function):
10797 Use add-log-current-defun instead of add-log-current-defun-function,
10798 which might not be defined (Bug#8260).
10799
10800 2011-05-12 Glenn Morris <rgm@gnu.org>
10801
10802 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10803 Let byte-compile-initial-macro-environment always take precedence.
10804
10805 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10806
10807 * net/rcirc.el: Add support for SSL/TLS connections.
10808 (rcirc-server-alist): New field `encryption'.
10809 (rcirc): Check `encryption' settings.
10810 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10811 Merge make-local-variable into `set'.
10812 (rcirc--connection-open-p): New function.
10813 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10814 the process is not a network process (e.g. running gnutls-cli).
10815 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10816 Make rcirc-(en|de)code-coding-system local here.
10817 (rcirc-mode): Merge make-local-variable into `set'.
10818 (rcirc-parent-buffer): Make permanent buffer-local.
10819 (rcirc-multiline-minor-mode): Don't do it here.
10820 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10821 there's no server buffer.
10822
10823 2011-05-11 Glenn Morris <rgm@gnu.org>
10824
10825 * newcomment.el (comment-kill): Prefix "unused" local.
10826
10827 * term/w32console.el (get-screen-color): Declare.
10828
10829 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10830 Handle symbol elements of byte-compile-initial-macro-environment.
10831
10832 2011-05-10 Leo Liu <sdl.web@gmail.com>
10833
10834 * bookmark.el (bookmark-bmenu-mode-map):
10835 Bind bookmark-bmenu-search to `/'.
10836
10837 * mail/footnote.el: Convert to utf-8 encoding.
10838 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10839 (Footnote-unicode): New function.
10840 (footnote-style-alist): Add unicode style to the list.
10841 (footnote-style): Doc fix.
10842
10843 2011-05-10 Jim Meyering <meyering@redhat.com>
10844
10845 Fix doubled-word typos.
10846 * international/quail.el (quail-insert-kbd-layout): and and -> and
10847 * kermit.el: and and -> and
10848 * net/ldap.el (ldap-search-internal): to to -> to
10849 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10850 * progmodes/js.el (js-mode): and and -> and
10851 * textmodes/artist.el (artist-move-to-xy): at at -> at
10852 (artist-draw-region-trim-line-endings): if if -> if
10853 And Safetyc -> Safety.
10854 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10855
10856 2011-05-10 Glenn Morris <rgm@gnu.org>
10857 Stefan Monnier <monnier@iro.umontreal.ca>
10858
10859 * files.el (hack-one-local-variable-eval-safep):
10860 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10861
10862 2011-05-10 Glenn Morris <rgm@gnu.org>
10863
10864 * calendar/diary-lib.el (diary-list-entries-hook)
10865 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10866 (diary-nongregorian-marking-hook, diary-list-entries)
10867 (diary-include-other-diary-files, diary-mark-entries)
10868 (diary-mark-included-diary-files): Doc fixes.
10869
10870 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10871
10872 * misc.el: Require tabulated-list.el during compilation.
10873
10874 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10875
10876 * progmodes/compile.el (compilation-start):
10877 Run compilation-filter-hook for the async case too.
10878 (compilation-filter-hook): Doc fix.
10879
10880 2011-05-09 Deniz Dogan <deniz@dogan.se>
10881
10882 * wdired.el: Remove outdated installation comment. Fix usage
10883 comment.
10884
10885 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10886
10887 * misc.el: Implement new command `list-dynamic-libraries'.
10888 (list-dynamic-libraries--loaded-only-p): New variable.
10889 (list-dynamic-libraries--refresh): New function.
10890 (list-dynamic-libraries): New command.
10891
10892 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10893
10894 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10895 Fix the ant regexp to handle end-line and end-column info from jikes.
10896 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10897 higher priority to avoid clobbering by gnu.
10898
10899 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10900
10901 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10902 if the face has existing theme settings (Bug#8454).
10903
10904 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10905
10906 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10907 Only match variables declared via `my' or `our' (Bug#8261).
10908
10909 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10910 special file names `.' and `..' (Bug#8259).
10911
10912 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10913
10914 * progmodes/grep.el (grep-mode-font-lock-keywords):
10915 Remove buffer-changing entries.
10916 (grep-filter): New function.
10917 (grep-mode): Add it to compilation-filter-hook.
10918
10919 * progmodes/compile.el (compilation-filter-hook)
10920 (compilation-filter-start): New defvars.
10921 (compilation-filter): Call compilation-filter-hook prior to
10922 updating the process mark.
10923
10924 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10925
10926 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10927
10928 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10929
10930 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10931 mailclient-send-it even if window-system is nil. (Bug#8595)
10932
10933 * term/w32console.el (terminal-init-w32console):
10934 Call get-screen-color and use its output to set the frame
10935 background-mode. (Bug#8597)
10936
10937 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10940 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10941 New functions.
10942 (defgeneric, eieio--defmethod): Use them.
10943 (eieio-defgeneric): Remove.
10944 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10945
10946 2011-05-07 Glenn Morris <rgm@gnu.org>
10947
10948 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10949 Use let rather than let*.
10950 (timeclock-find-discrep): Remove unused local.
10951
10952 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10953
10954 * calendar/appt.el (appt-time-msg-list): Doc fix.
10955
10956 2011-05-06 Noah Friedman <friedman@splode.com>
10957
10958 * apropos.el (apropos-print-doc): Only use
10959 emacs-lisp-docstring-fill-column when it is bound to an integer,
10960 per that variable's documentation.
10961
10962 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10963
10964 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10965 and warnings are not silently discarded (e.g. use -d instead of -P).
10966
10967 2011-05-06 Glenn Morris <rgm@gnu.org>
10968
10969 * calendar/appt.el (appt-message-warning-time): Doc fix.
10970 (appt-warning-time-regexp): New option.
10971 (appt-make-list): Respect appt-message-warning-time.
10972
10973 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10974 New options.
10975 (diary-add-to-list): Strip comments from the displayed string.
10976 (diary-mode): Set comment-start and comment-end.
10977
10978 * vc/diff-mode.el (smerge-refine-subst): Declare.
10979 (diff-refine-hunk): Don't require smerge-mode when compiling.
10980
10981 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10982
10983 * simple.el (list-processes): Return nil as the docstring says.
10984
10985 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10986
10987 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10988 to "".
10989 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10990 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10991 determining of binary transfer. (Bug#7383)
10992
10993 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10994
10995 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10996 Fix port computation bug. (Bug#8618)
10997
10998 2011-05-05 Glenn Morris <rgm@gnu.org>
10999
11000 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11001
11002 * simple.el (shell-dynamic-complete-functions)
11003 (comint-dynamic-complete-functions): Declare.
11004
11005 * net/network-stream.el (gnutls-negotiate):
11006 * simple.el (tabulated-list-print): Fix declarations.
11007
11008 * progmodes/gud.el (syntax-symbol, syntax-point):
11009 Remove unnecessary and incorrect declarations.
11010
11011 * emacs-lisp/check-declare.el (check-declare-scan):
11012 Handle byte-compile-initial-macro-environment in bytecomp.el
11013
11014 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 Fix earlier half-done eieio-defmethod change (bug#8338).
11017 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11018 Streamline and change calling convention.
11019 (defmethod): Adjust accordingly and simplify.
11020 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11021 new eieio--defmethod.
11022 (slot-boundp): Minor CSE simplification.
11023
11024 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11025
11026 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11027 (glasses-make-readable): Use glasses-separate-capital-groups.
11028
11029 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11030
11031 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11032 (warning-series): Doc fix.
11033 (display-warning): Don't try to create the buffer if we just found it.
11034
11035 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11036
11037 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11038 (autoload-find-generated-file): New function.
11039 (generate-file-autoloads): Bind generated-autoload-file to
11040 buffer-file-name.
11041 (update-file-autoloads, update-directory-autoloads):
11042 Use autoload-find-generated-file. If called interactively, prompt for
11043 output file (Bug#7989).
11044 (batch-update-autoloads): Doc fix.
11045
11046 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11047
11048 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11049
11050 2011-05-04 Glenn Morris <rgm@gnu.org>
11051
11052 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11053 function, so it follows changes in calendar-date-style.
11054 (diary-fancy-date-matcher): New function.
11055 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11056 (diary-fancy-font-lock-fontify-region-function):
11057 Use diary-fancy-date-pattern as a function.
11058
11059 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11060 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11061
11062 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11063
11064 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11065 instead of positional arguments. Allow :keylist and :crlfiles
11066 arguments.
11067 (open-gnutls-stream): Call it.
11068
11069 * net/network-stream.el (network-stream-open-starttls): Adjust to
11070 call `gnutls-negotiate' with :process and :hostname arguments.
11071
11072 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * minibuffer.el (completion--message): New function.
11075 (completion--do-completion, minibuffer-complete)
11076 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11077 (completion--do-completion): Don't ignore completion-auto-help when in
11078 icomplete-mode.
11079
11080 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11081 internal encoding (e.g. tibetan zero is not whitespace).
11082 (global-whitespace-mode): Prefer save-current-buffer.
11083 (whitespace-trailing-regexp): Remove useless save-match-data.
11084 (whitespace-empty-at-bob-regexp): Minor simplification.
11085
11086 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11087
11088 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11089
11090 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11091
11092 * textmodes/ispell.el (ispell-add-per-file-word-list):
11093 Use `concat' to create string for insertion.
11094
11095 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11098 Avoid open-line which runs post-self-insert-hook.
11099 (bibtex-fill-entry): Remove unused `end' var.
11100
11101 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11102
11103 * textmodes/ispell.el (ispell-add-per-file-word-list):
11104 Protect against `nil' value of `comment-start' (Bug#8579).
11105
11106 2011-05-03 Leo Liu <sdl.web@gmail.com>
11107
11108 * isearch.el (isearch-yank-pop): New command.
11109 (isearch-mode-map): Bind it to `M-y'.
11110 (isearch-forward): Mention it.
11111
11112 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * simple.el (minibuffer-complete-shell-command): Remove.
11115 (minibuffer-local-shell-command-map): Use completion-at-point.
11116 (read-shell-command): Setup completion vars here instead.
11117 (read-expression-map): Bind TAB to symbol completion.
11118
11119 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11120 error directly rather via storing it into `results'.
11121
11122 2011-05-02 Leo Liu <sdl.web@gmail.com>
11123
11124 * vc/diff.el: Fix description.
11125
11126 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11127
11128 * server.el (server-eval-at): New function.
11129
11130 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11131
11132 * net/network-stream.el (open-network-stream): Take a :nowait
11133 parameter and pass it on to `make-network-process'.
11134 (network-stream-open-plain): Ditto.
11135
11136 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11137
11138 * faces.el (face-spec-set-match-display): Don't match toolkit
11139 options on terminal frames.
11140
11141 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * progmodes/pascal.el: Use lexical binding.
11144 (pascal-mode-map): Remove author preferences.
11145
11146 * pcomplete.el (pcomplete-std-complete): Don't abuse
11147 completion-at-point.
11148
11149 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11150
11151 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11152 removing code that has been dead since 1991 or so.
11153
11154 * startup.el (command-line): When warning about "_emacs", use a
11155 delayed warning to allow the user to filter it out.
11156
11157 2011-04-28 Deniz Dogan <deniz@dogan.se>
11158
11159 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11160 user has not joined.
11161
11162 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11165 aren't any completions at point.
11166
11167 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11168
11169 * subr.el (display-delayed-warnings): New function.
11170 (delayed-warnings-hook): New variable.
11171
11172 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11173
11174 * minibuffer.el (completion-at-point, completion-help-at-point):
11175 Don't presume that a given completion-at-point-function will always
11176 use the same calling convention.
11177
11178 * pcomplete.el (pcomplete-completions-at-point):
11179 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11180 pcomplete-seen is non-nil.
11181 (pcomplete-comint-setup): Also recognize the new comint/shell
11182 completion functions.
11183 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11184 pcomplete-seen is non-nil.
11185
11186 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11187
11188 * calendar/icalendar.el (diary-lib): Add require statement.
11189 (icalendar--create-uid): Read out a uid from a text-property on
11190 the first character in the entry. This allows for code to add its
11191 own uid to the entry.
11192 (icalendar--convert-float-to-ical): Add export of
11193 `diary-float'-entries save for those with the optional DAY
11194 argument.
11195
11196 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11197
11198 * subr.el (shell-quote-argument): Use alternate escaping strategy
11199 when we spot a variable reference in a string.
11200
11201 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11202
11203 * cus-start.el (all): Define customization for debug-on-event.
11204
11205 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11206
11207 * subr.el (shell-quote-argument): Escape correctly under Windows.
11208
11209 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11210
11211 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11212
11213 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11214
11215 * net/tramp.el (tramp-process-actions): Add POS argument.
11216 Delete region between POS and (pos).
11217
11218 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11219 Use `nil' position in `tramp-process-actions' call.
11220 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11221
11222 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11223 position in `tramp-process-actions' call.
11224
11225 * net/trampver.el: Update release number.
11226
11227 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * custom.el (defcustom): Obey lexical-binding.
11230
11231 Fix octave-inf completion problems reported by Alexander Klimov.
11232 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11233 Inherit from octave-mode-syntax-table.
11234 (inferior-octave-mode): Set info-lookup-mode.
11235 (inferior-octave-completion-at-point): New function.
11236 (inferior-octave-complete): Use it and completion-in-region.
11237 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11238 comint-filename-completion.
11239 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11240 symbol elements which shouldn't be word elements.
11241 (octave-font-lock-keywords, octave-beginning-of-defun)
11242 (octave-function-header-regexp): Adjust regexps accordingly.
11243 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11244
11245 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11246
11247 * net/gnutls.el (gnutls-errorp): Declare before first use.
11248
11249 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11250
11251 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11252 verify-error, and verify-hostname-error parameters. Check whether
11253 default trustfile exists before going to use it. Add missing
11254 argument to gnutls-message-maybe call. Return value.
11255 Reported by Claudio Bley <claudio.bley@gmail.com>.
11256 (open-gnutls-stream): Add usage example.
11257
11258 * net/network-stream.el (network-stream-open-starttls): Give host
11259 parameter to `gnutls-negotiate'.
11260 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11261 * subr.el (shell-quote-argument): Escape correctly under Windows.
11262
11263 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11264
11265 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11266 Use correct match group (bug#8438).
11267
11268 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11269
11270 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11271 (package-menu--generate): New arg specifying packages to show.
11272 (package-menu-refresh, package-menu-execute, list-packages):
11273 Callers changed.
11274 (package-show-package-list): New function, replacing deleted
11275 package--list-packages (renamed because it is non-internal).
11276
11277 * finder.el (finder-list-matches): Use package-show-package-list
11278 instead of deleted package--list-packages.
11279
11280 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11281 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11282 (vc-annotate-mode-map): Bind it to RET.
11283
11284 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11285
11286 * progmodes/etags.el (next-file): Don't use set-buffer to change
11287 buffers (Bug#8478).
11288
11289 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11290
11291 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11292
11293 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11294 (apropos-accumulator): Doc fix.
11295 (apropos-function, apropos-macro, apropos-command)
11296 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11297 (apropos-plist): Add face property.
11298 (apropos-symbols-internal): Fix indentation.
11299 (apropos-print): Simplify help, and recognize apropos-multi-type.
11300 (apropos-print-doc): Use button-type-get to extract the button's
11301 face property. Fill docstring (Bug#8352).
11302
11303 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11304
11305 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11306
11307 * play/mpuz.el (mpuz-silent): Doc fix.
11308 (mpuz-mode-map): Use mapc.
11309 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11310 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11311 Fix typos in docstrings.
11312
11313 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11314 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11315
11316 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11317
11318 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11319
11320 * minibuffer.el (completion--do-completion): Avoid the "Next char
11321 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11322
11323 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11324 mouse-2 into unread-command-events, it is interpreted correctly.
11325
11326 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11327 (image-toggle-display): Doc fix.
11328
11329 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11330
11331 * textmodes/page.el (what-page): Use line-number-at-pos to
11332 calculate line number (Bug#6825).
11333
11334 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11335
11336 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11337 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11338 Pass argument NO-DEFAULT to `find-tag-interactive'.
11339
11340 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11341
11342 Lexical-binding cleanup.
11343
11344 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11345 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11346 * progmodes/ada-prj.el (ada-prj-initialize-values)
11347 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11348 (ada-prj-show-value):
11349 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11350 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11351 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11352 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11353 * progmodes/bug-reference.el (bug-reference-push-button):
11354 * progmodes/fortran.el (fortran-line-length):
11355 * progmodes/glasses.el (glasses-change):
11356 * progmodes/octave-mod.el (octave-fill-paragraph):
11357 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11358 (python-pdbtrack-grub-for-buffer, python-sentinel):
11359 * progmodes/sql.el (sql-save-connection):
11360 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11361 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11362 Mark unused parameters.
11363
11364 * progmodes/compile.el (compilation--flush-directory-cache)
11365 (compilation--flush-parse, compile-internal): Mark unused parameters.
11366 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11367 (compilation-next-error-function): Remove unused variable `timestamp'.
11368
11369 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11370 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11371
11372 * progmodes/dcl-mode.el (dcl-end-of-command):
11373 Remove unused variable `start'.
11374 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11375 (dcl-option-value-basic, dcl-option-value-offset)
11376 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11377 Mark unused parameters.
11378 (dcl-save-local-variable): Remove unused variable `val'.
11379 (mode): Declare.
11380
11381 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11382 Mark unused parameters.
11383 (delphi-ignore-changes): Move before first use.
11384 (delphi-charset-token-at): Remove unused variable `start'.
11385 (delphi-else-start): Remove unused variable `if-count'.
11386 (delphi-comment-block-start, delphi-comment-block-end):
11387 Remove unused variable `kind'.
11388 (delphi-indent-line): Remove unused variable `new-point'.
11389
11390 * progmodes/ebrowse.el (ebrowse-files-list)
11391 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11392 Mark unused parameters. Don't quote `lambda'.
11393 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11394 Don't quote `lambda'.
11395 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11396 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11397 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11398 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11399 Use `ignore-errors'.
11400 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11401 (ebrowse-view/find-file-and-search-pattern)
11402 (ebrowse-view/find-member-declaration/definition):
11403 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11404 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11405 Rename parameter PREFIX-ARG to PREFIX.
11406 (ebrowse-tags-read-name): Remove unused variables `start' and
11407 `member-info'.
11408 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11409 to `tags-file'.
11410
11411 * progmodes/etags.el (local-find-tag-hook): Declare.
11412 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11413 Mark unused parameters.
11414
11415 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11416 (executable-interpret): Mark unused parameter.
11417
11418 * progmodes/flymake.el (flymake-process-sentinel)
11419 (flymake-after-change-function)
11420 (flymake-create-temp-with-folder-structure)
11421 (flymake-get-include-dirs-dot): Mark unused parameters.
11422 (flymake-safe-delete-directory): Remove unused variable `err'.
11423
11424 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11425 (speedbar-timer-fn, speedbar-line-text)
11426 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11427 (speedbar-center-buffer-smartly): Declare functions.
11428 (gdb-find-watch-expression): Remove unused variable `array'.
11429 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11430 (gdb-starting): Mark unused parameters.
11431 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11432 (gdb-table-string): Remove unused variable `res'.
11433 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11434 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11435 (gdb-display-buffer): Remove unused variable `cur-size'.
11436
11437 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11438 allow lexical-binding compilation.
11439 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11440 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11441 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11442 Mark unused parameters.
11443 (gud-gdb-marker-filter): Remove unused variable `match'.
11444 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11445 lambda expressions and funcall them, instead of using `fset'.
11446
11447 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11448 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11449
11450 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11451 variable `header-beg'; use `let'.
11452
11453 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11454 `restart', `last-sexp' and `at-do'.
11455
11456 * progmodes/js.el (js--debug): Mark unused parameter.
11457 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11458 (js--splice-into-items): Remove unused variable `item'.
11459 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11460
11461 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11462 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11463 (makefile-complete): Remove unused variable `try'.
11464 (makefile-fill-paragraph, makefile-match-function-end):
11465 Mark unused parameters.
11466
11467 * progmodes/octave-inf.el (inferior-octave-complete):
11468 Remove unused variable `proc'.
11469 (inferior-octave-output-digest): Mark unused parameter.
11470
11471 * progmodes/perl-mode.el (perl-calculate-indent):
11472 Remove unused variable `err'.
11473
11474 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11475 (prolog-indent-line): Mark unused parameters.
11476 (prolog-indent-line): Remove unused variable `beg'.
11477
11478 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11479 (reporter-dont-compact-list): Declare.
11480
11481 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11482 Remove unused variable `char'.
11483 (sh-debug): Mark unused parameter.
11484 (sh-get-indent-info): Remove unused variable `start'.
11485 (sh-calculate-indent): Remove unused variable `var'.
11486
11487 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11488 (simula-electric-keyword): Remove unused variable `null'.
11489 (simula-search-backward, simula-search-forward): Remove unused
11490 variables `begin' and `end'.
11491
11492 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11493 Remove unused variable `pos'.
11494 (vera-electric-tab, vera-comment-uncomment-region):
11495 Mark unused parameters.
11496 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11497
11498 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11499
11500 * emacs-lisp/package.el (package--builtins, package-alist)
11501 (package-load-descriptor, package-built-in-p, package-activate)
11502 (define-package, package-installed-p)
11503 (package-compute-transaction, package-buffer-info)
11504 (package--push): Doc fix. Distinguish more clearly between
11505 version strings and version lists.
11506
11507 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11508
11509 Lexical-binding cleanup.
11510
11511 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11512 (5x5-make-mutate-best):
11513 * play/fortune.el (fortune-in-buffer):
11514 * play/gomoku.el (gomoku-init-display):
11515 * play/solitaire.el (solitaire, solitaire-do-check):
11516 * play/tetris.el (tetris-default-update-speed-function):
11517 Mark unused parameters.
11518
11519 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11520 (bubbles--shift): Remove unused variable `char-org'.
11521 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11522 (bubbles--show-images): Remove unused variable `char'.
11523
11524 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11525 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11526 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11527 (decipher-analyze-buffer): Use ?\s.
11528 (decipher-make-checkpoint): Remove unused variable `mapping'.
11529
11530 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11531
11532 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11533 Remove unused variable `result'; use `let'.
11534
11535 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11536 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11537 (gametree-children-shown-p, gametree-compute-reduced-score):
11538 Use `ignore-errors'.
11539
11540 * play/handwrite.el (ps-lpr-switches): Declare.
11541 (handwrite): Remove unused variables `pmin' and `lastp'.
11542
11543 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11544
11545 * play/landmark.el (landmark-init-display)
11546 (landmark-update-naught-weights): Mark unused parameters.
11547 (landmark-y): Remove unused variable `noise'. Simplify.
11548 (landmark-human-plays): Remove unused variable `score'.
11549
11550 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11551 (mpuz-try-proposal): Remove unused variable `game'.
11552
11553 * play/zone.el (life-patterns): Declare.
11554
11555 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11556
11557 * vc/vc.el (ediff-vc-internal): Declare function.
11558
11559 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11560
11561 * shell.el: Use lexical-binding and std completion UI.
11562 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11563 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11564 comint-preoutput-filter-functions rather than on
11565 comint-output-filter-functions.
11566 (shell-command-completion, shell--command-completion-data)
11567 (shell-filename-completion, shell-environment-variable-completion)
11568 (shell-c-a-p-replace-by-expanded-directory): New functions.
11569 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11570 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11571 (shell-dynamic-complete-environment-variable): Use them.
11572 (shell-dynamic-complete-as-environment-variable)
11573 (shell-dynamic-complete-as-command): Remove.
11574 (shell-match-partial-variable): Match past point.
11575 * comint.el: Clean up use of completion-at-point-functions.
11576 (comint-completion-at-point): New function.
11577 (comint-mode): Use it completion-at-point-functions.
11578 (comint-dynamic-complete): Make it obsolete.
11579 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11580 (comint-c-a-p-replace-by-expanded-history): New function.
11581 (comint-dynamic-complete-functions)
11582 (comint-replace-by-expanded-history): Use it.
11583 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11584 termination strings. Try harder to avoid second try-completion.
11585 (completion-in-region-mode-map): Disable bindings that don't work yet.
11586
11587 * comint.el: Use lexical-binding. Require CL.
11588 (comint-dynamic-complete-functions): Use comint-filename-completion.
11589 (comint-completion-addsuffix): Tweak custom type.
11590 (comint-filename-completion, comint--common-suffix)
11591 (comint--common-quoted-suffix, comint--table-subvert)
11592 (comint--complete-file-name-data): New functions.
11593 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11594 (comint-dynamic-list-filename-completions): Use them.
11595 (comint-dynamic-simple-complete): Make obsolete.
11596
11597 * minibuffer.el (completion-in-region-mode):
11598 Keep completion-in-region-mode--predicate global.
11599 (completion-in-region--postch):
11600 Assume completion-in-region-mode--predicate is not null.
11601
11602 * progmodes/flymake.el (flymake-start-syntax-check-process):
11603 Obey `dir'. Simplify.
11604
11605 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11606 we're in VC after all.
11607
11608 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11609
11610 * vc/vc.el (vc-diff-build-argument-list-internal)
11611 (vc-version-ediff, vc-ediff): New commands.
11612 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11613
11614 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11615
11616 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11617 add sanity check.
11618
11619 * obsolete/erc-hecomplete.el: Make obsolete.
11620 * obsolete/: Standardize obsolescence info in the header.
11621
11622 2011-04-20 Glenn Morris <rgm@gnu.org>
11623
11624 * calendar/solar.el (solar-horizontal-coordinates):
11625 Use the longitude argument rather than `calendar-longitude'.
11626 (solar-date-next-longitude): Remove unused locals.
11627
11628 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11629
11630 * whitespace.el: New version 13.2.1.
11631
11632 2011-04-20 felix <EmacsWiki> (tiny change)
11633
11634 * whitespace.el (global-whitespace-mode): Keep highlight when
11635 switching between major modes on a file.
11636
11637 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11640 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11641 multi-line comments as well.
11642
11643 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11644
11645 Lexical-binding cleanup.
11646
11647 * arc-mode.el (archive-mode-revert):
11648 * cmuscheme.el (scheme-interactively-start-process):
11649 * custom.el (custom-initialize-delay):
11650 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11651 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11652 * emacs-lock.el (emacs-lock-clear-sentinel):
11653 * ezimage.el (defezimage):
11654 * follow.el (follow-avoid-tail-recenter):
11655 * fringe.el (set-fringe-mode-1):
11656 * generic-x.el (bat-generic-mode-compile):
11657 * help-mode.el (help-info-variable, help-do-xref)
11658 (help-mode-revert-buffer):
11659 * help.el (view-emacs-todo):
11660 * iswitchb.el (iswitchb-completion-help):
11661 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11662 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11663 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11664 * locate.el (locate-update):
11665 * longlines.el (longlines-encode-region)
11666 (longlines-after-change-function):
11667 * outline.el (outline-isearch-open-invisible):
11668 * ps-def.el (declare-function, charset-dimension, char-width)
11669 (encode-char):
11670 * ps-mule.el (ps-mule-plot-string):
11671 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11672 (recentf-edit-list-select, recentf-edit-list-validate)
11673 (recentf-open-files-action):
11674 * rect.el (delete-whitespace-rectangle-line)
11675 (rectangle-number-line-callback):
11676 * register.el (window-configuration-to-register)
11677 (frame-configuration-to-register):
11678 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11679 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11680 (xselect-convert-to-targets, xselect-convert-to-delete)
11681 (xselect-convert-to-filename, xselect-convert-to-charpos)
11682 (xselect-convert-to-lineno, xselect-convert-to-colno)
11683 (xselect-convert-to-os, xselect-convert-to-host)
11684 (xselect-convert-to-user, xselect-convert-to-class)
11685 (xselect-convert-to-name, xselect-convert-to-integer)
11686 (xselect-convert-to-atom, xselect-convert-to-identity):
11687 * subr.el (declare, ignore, process-kill-without-query)
11688 (text-clone-maintain):
11689 * terminal.el (te-get-char, te-tic-sentinel):
11690 * tool-bar.el (tool-bar-make-keymap):
11691 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11692 * type-break.el (type-break-mode, type-break-noninteractive-query):
11693 * view.el (View-back-to-mark):
11694 * wid-browse.el (widget-browse-action, widget-browse-widget)
11695 (widget-browse-widgets, widget-browse-sexp):
11696 * widget.el (define-widget-keywords):
11697 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11698 Mark unused parameters.
11699
11700 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11701 (align-areas): Remove unused variable `look'.
11702 (align-region): Remove unused variables `real-end' and `pos-list'.
11703
11704 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11705
11706 * bindings.el (mode-line-modified, mode-line-remote):
11707 Mark unused parameters.
11708 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11709
11710 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11711 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11712
11713 * comint.el (comint-history-isearch-pop-state)
11714 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11715 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11716 (comint-substitute-in-file-name): Doc fix.
11717
11718 * completion.el (cmpl-statistics-block): Mark unused parameter.
11719 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11720 (save-completions-to-file, load-completions-from-file):
11721 Remove unused local variable `e'.
11722
11723 * composite.el (compose-chars): Remove unused variable `len'.
11724 (lgstring-insert-glyph): Remove unused variable `g'.
11725 (compose-glyph-string): Remove unused variables `ascent',
11726 `descent', `lbearing' and `rbearing'.
11727 (compose-glyph-string-relative): Remove unused variables
11728 `lbearing', `rbearing' and `wadjust'.
11729 (compose-gstring-for-graphic): Remove unused variables `header',
11730 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11731 (compose-gstring-for-terminal): Remove unused variables `header'
11732 and `nchars'. Use `let', not `let*'.
11733
11734 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11735 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11736 (Custom-buffer-done, custom-buffer-create-internal)
11737 (custom-browse-visibility-action, custom-browse-group-tag-action)
11738 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11739 (widget-magic-mouse-down-action, custom-toggle-parent)
11740 (custom-add-parent-links, custom-toggle-hide-variable)
11741 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11742 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11743 (custom-face-menu-create, custom-variable-menu-create, get)
11744 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11745 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11746 (customize-apropos): Remove unused variable `tests'.
11747 (custom-group-value-create): Remove unused variable `hidden-p'.
11748 (sort-fold-case): Declare.
11749
11750 * cus-theme.el (custom-reset-standard-faces-list)
11751 (custom-reset-standard-variables-list): Declare.
11752 (customize-create-theme, custom-theme-revert, custom-theme-write)
11753 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11754 Mark unused parameters.
11755
11756 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11757
11758 * delim-col.el (delimit-columns-max): Move defvar before first use.
11759
11760 * descr-text.el (describe-char-categories): Don't quote `lambda'.
11761 (describe-char): Don't quote `lambda'. Mark unused parameter.
11762
11763 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11764 (auto-insert): Declare.
11765 (desktop-restore-file-buffer): Rename desktop-* parameters;
11766 mark unused ones.
11767 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11768 (desktop-buffer): Rename desktop-* parameters.
11769
11770 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11771 (dframe-reposition-frame-xemacs, dframe-help-echo)
11772 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11773 Mark unused parameters.
11774
11775 * dired-aux.el (backup-extract-version-start, overwrite-query)
11776 (overwrite-backup-query, rename-regexp-query)
11777 (rename-non-directory-query): Declare.
11778 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11779 (dired-add-entry): Remove unused variable `orig-file-name'.
11780 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11781 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11782 `dired-copy-preserve-time' directly.
11783 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11784 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11785
11786 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11787 (dired-virtual-revert, dired-make-relative-symlink):
11788 Mark unused parameters.
11789 (manual-program): Declare.
11790 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11791 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11792 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11793
11794 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11795
11796 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11797
11798 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11799 Declare.
11800
11801 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11802
11803 * electric.el (Electric-command-loop): Rename parameter
11804 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11805
11806 * expand.el (expand-in-literal): Remove unused variable `here'.
11807
11808 * facemenu.el (facemenu-add-new-color):
11809 Remove unused variable `docstring'.
11810
11811 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11812 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11813 (face-attr-construct): Mark unused parameter. Doc fix.
11814 (read-color): Remove unused variable `hex-string'.
11815
11816 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11817 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11818 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11819 (display-buffer-other-frame): Remove unused variable `old-window'.
11820 (kill-buffer-hook): Declare.
11821 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11822 Mark unused parameters.
11823 (after-find-file): Pass 1 to `auto-save-mode', not t.
11824
11825 * files-x.el (auto-insert): Declare.
11826 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11827
11828 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
11829 variable `buf'. Mark unused parameter.
11830 (find-lisp-insert-directory): Mark unused parameter.
11831
11832 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11833 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11834 (format-common-tail): Remove, unused.
11835 (format-deannotate-region): Remove unused variable `loc'.
11836 (format-annotate-region): Remove unused variable `p'.
11837 (format-annotate-single-property-change): Remove unused variables
11838 `default' and `tail'.
11839
11840 * forms.el (read-file-filter): Declare.
11841 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11842
11843 * frame.el (frame-creation-function-alist): Mark unused parameter.
11844 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11845
11846 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11847 Remove unused parameters.
11848 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11849 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11850
11851 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11852 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11853 (hfy-prepare-tag-map): Mark unused parameters.
11854 (htmlfontify-buffer): Use `called-interactively-p'.
11855
11856 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11857 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11858 (ibuffer-do-occur): Mark unused parameters.
11859 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11860 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11861
11862 * ibuffer.el: Don't quote `lambda'.
11863 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11864 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11865 Mark unused parameters.
11866
11867 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11868 (ido-completing-read): Mark unused parameters.
11869 (ido-copy-current-word): Mark unused parameters;
11870 remove unused variable `name'.
11871 (ido-sort-merged-list): Remove unused parameter `dirs'.
11872
11873 * ielm.el (ielm-input-sender): Mark unused parameter.
11874 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11875 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11876 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11877 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11878 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11879
11880 * image-dired.el (image-dired-display-thumbs): Remove unused
11881 variables `curr-file' and `count'.
11882 (image-dired-remove-tag): Remove unused variable `start'.
11883 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11884 variable `curr-file'
11885 (image-dired-rotate-original): Remove unused variable `temp-file'.
11886 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11887 Remove unused variable `file'.
11888 (image-dired-gallery-generate): Remove unused variable `curr'.
11889 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11890
11891 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11892
11893 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11894
11895 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11896
11897 * isearch.el (minibuffer-history-symbol): Declare.
11898 (isearch-edit-string): Remove unused variable `err'.
11899 (isearch-message-prefix, isearch-message-suffix):
11900 Mark unused parameters.
11901
11902 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11903
11904 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11905
11906 * makesum.el (double-column): Remove unused variable `cnt'.
11907
11908 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11909 (ido-ignore-item-temp-list): Declare.
11910
11911 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11912 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11913 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11914 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11915 `mouse-col-delta'.
11916
11917 * mouse-sel.el (mouse-extend-internal):
11918 Remove unused variable `orig-window-frame'.
11919
11920 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11921 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11922 Move declarations before first use.
11923 (pcomplete-opt): Mark unused parameters; doc fix.
11924
11925 * proced.el (proced-revert): Mark unused parameter.
11926 (proced-send-signal): Remove unused variable `err'.
11927
11928 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11929 Rename parameter PREFIX-ARG to ARG.
11930 (ps-basic-plot-string, ps-basic-plot-whitespace):
11931 Mark unused parameters.
11932
11933 * replace.el (replace-count): Define.
11934 (occur-revert-function): Mark unused parameters.
11935 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11936 (isearch-case-fold-search, isearch-string): Declare.
11937 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11938 bind `case-fold-search'. Remove unused variables `beg' and `end',
11939 and simplify.
11940 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11941 COUNT and bind `replace-count'.
11942 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11943 to COUNT.
11944
11945 * savehist.el (print-readably, print-string-length): Declare.
11946
11947 * shadowfile.el (shadow-expand-cluster-in-file-name):
11948 Remove unused variable `cluster'.
11949 (shadow-copy-file): Remove unused variable `i'.
11950 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11951 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11952 (shadow-define-literal-group, shadow-define-regexp-group)
11953 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11954
11955 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11956 (shell): Use `called-interactively-p'.
11957 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11958
11959 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11960 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11961 (delete-backward-char): Remove unused variable `ocol'.
11962 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11963 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11964 (event-apply-hyper-modifier, event-apply-shift-modifier)
11965 (event-apply-control-modifier, event-apply-meta-modifier):
11966 Mark unused parameters.
11967 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11968 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11969
11970 * speedbar.el (speedbar-ignored-directory-expressions)
11971 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11972 (speedbar-find-file, speedbar-dir-follow)
11973 (speedbar-directory-buttons-follow, speedbar-tag-find)
11974 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11975 (speedbar-buffers-line-directory, speedbar-buffer-click):
11976 Mark unused parameters.
11977 (speedbar-tag-file): Remove unused variable `mode'.
11978 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11979
11980 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11981
11982 * talk.el (talk): Remove unused variable `display'.
11983
11984 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11985 (tar-write-region-annotate): Mark unused parameter.
11986
11987 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11988 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11989 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11990 warning by another.
11991
11992 * time-stamp.el (time-stamp-string-preprocess):
11993 Remove unused variable `require-padding'.
11994
11995 * tree-widget.el (widget-glyph-enable): Declare.
11996 (tree-widget-action): Mark unused parameter.
11997
11998 * w32-fns.el (x-get-selection): Mark unused parameter.
11999 (autoload-make-program, generated-autoload-file): Declare.
12000
12001 * wdired.el (wdired-revert): Mark unused parameters.
12002 (wdired-xcase-word): Remove unused variable `err'.
12003
12004 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12005 (whitespace-help-scroll): Remove unused variable `data-help'.
12006
12007 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12008 (widget-image-insert, widget-after-change, default)
12009 (widget-default-format-handler, widget-default-notify)
12010 (widget-default-prompt-value, widget-info-link-action)
12011 (widget-url-link-action, widget-function-link-action)
12012 (widget-variable-link-action, widget-file-link-action)
12013 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12014 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12015 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12016 (widget-insert-button-action, widget-delete-button-action, visibility)
12017 (widget-documentation-link-action, widget-documentation-string-action)
12018 (widget-const-prompt-value, widget-regexp-match, symbol)
12019 (widget-coding-system-prompt-value)
12020 (widget-key-sequence-value-to-external, sexp)
12021 (widget-sexp-value-to-internal, character, vector, cons)
12022 (widget-choice-prompt-value, widget-boolean-prompt-value)
12023 (widget-color--choose-action): Mark unused parameters.
12024 (widget-item-match-inline, widget-choice-match-inline)
12025 (widget-checklist-match, widget-checklist-match-inline)
12026 (widget-group-match): Rename parameter VALUES to VALS.
12027 (widget-field-value-set): Remove unused variable `size'.
12028 (widget-color-action): Remove unused variables `value' and `start'.
12029
12030 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12031 variable `dir'. Doc fix.
12032 (windmove-find-other-window): Don't pass it.
12033
12034 * window.el (count-windows): Mark unused parameter.
12035 (bw-adjust-window): Remove unused variable `err'.
12036
12037 * woman.el (woman-file-name): Remove unused variable `default'.
12038 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12039 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12040 (global-font-lock-mode): Declare.
12041 (woman-decode-region): Mark unused parameter.
12042 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12043
12044 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12045 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12046 (x-dnd-handle-moz-url): Remove unused variable `title'.
12047 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12048
12049 * xml.el (xml-parse-tag, xml-parse-attlist):
12050 Remove unused variable `pos'.
12051
12052 2011-04-19 Glenn Morris <rgm@gnu.org>
12053
12054 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12055 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12056 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12057 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12058 * calendar/cal-html.el (cal-html-insert-minical):
12059 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12060 (calendar-mark-date-pattern):
12061 Prefix "unused" locals.
12062
12063 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12064 optional argument `style'.
12065
12066 * calendar/appt.el (appt-make-list):
12067 * calendar/cal-china.el (calendar-chinese-date-string):
12068 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12069 (diary-hebrew-yahrzeit):
12070 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12071 * calendar/calendar.el (calendar-generate-window):
12072 * calendar/time-date.el (time-to-days):
12073 Remove unused local variables.
12074
12075 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12076
12077 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12078 glyphless-char-display table.
12079 (tabulated-list-glyphless-char-display): New var.
12080
12081 2011-04-18 Sam Steingold <sds@gnu.org>
12082
12083 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12084 to acknowledgments.
12085
12086 2011-04-17 Glenn Morris <rgm@gnu.org>
12087
12088 * calendar/diary-lib.el (diary-sexp-entry):
12089 * calendar/holidays.el (holiday-sexp):
12090 Set debug-on-error rather than the removed stack-trace-on-error.
12091
12092 2011-04-16 Glenn Morris <rgm@gnu.org>
12093
12094 * progmodes/f90.el: Use lexical-binding.
12095 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12096
12097 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12100 (mail-mode): Setup mailalias completion here instead.
12101 * mail/mailalias.el: Use lexical-binding.
12102 (pattern, mailalias-done): Declare dynamic.
12103 (mail-completion-at-point-function): New function, from mail-complete.
12104 (mail-complete): Use it.
12105 (mail-completion-expand): New function.
12106 (mail-get-names): Use it.
12107 (mail-directory, mail-directory-process, mail-directory-stream):
12108 Don't use `pattern' for lexically bound arg.
12109
12110 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12111
12112 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12113 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12114 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12115
12116 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12117 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12118 (byte-interactive-p): Define them again, for use when inlining
12119 old code.
12120
12121 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12122
12123 * loadup.el: Use `string-to-number', not `string-to-int'.
12124
12125 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12128 gud-gdb-complete-command.
12129 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12130 (gud-gdb-completion-at-point): New function.
12131 (gud-gdb-completions): Remove.
12132
12133 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12134
12135 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12136 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12137 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12138 whether `executable-find' is bound.
12139
12140 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12141
12142 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12143
12144 * minibuffer.el (completion-in-region-mode-predicate)
12145 (completion-in-region-mode--predicate): New vars.
12146 (completion-in-region, completion-in-region--postch)
12147 (completion-in-region-mode): Use them.
12148 (completion--capf-wrapper): Also return the hook function.
12149 (completion-at-point, completion-help-at-point):
12150 Adjust and provide a predicate.
12151
12152 Preserve arg names for advice of subr and lexical functions (bug#8457).
12153 * help-fns.el (help-function-arglist): Consolidate the subr and
12154 new-byte-code cases. Add argument `preserve-names' to extract names
12155 from the docstring when needed.
12156 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12157 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12158 (ad-arglist): Use help-function-arglist's new arg.
12159 (ad-definition-type): Use cond.
12160
12161 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12162
12163 * autorevert.el (auto-revert-handler):
12164 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12165 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12166 Don't quote lambda.
12167
12168 * image-mode.el (image-transform-set-scale):
12169 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12170
12171 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12172
12173 * net/network-stream.el (network-stream-open-starttls): Only do
12174 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12175 Upgrades via gnutls-cli are too slow to be done opportunistically.
12176
12177 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12178
12179 * dframe.el (dframe-current-frame): Remove spurious quote.
12180
12181 2011-04-12 Glenn Morris <rgm@gnu.org>
12182
12183 * calendar/cal-tex.el (cal-tex-end-document):
12184 Try to automatically use latin1 input if needed.
12185
12186 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12187 Don't try to cons a mark onto an empty element.
12188
12189 2011-04-11 Leo Liu <sdl.web@gmail.com>
12190
12191 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12192 buffers.
12193 (ido-kill-buffer-at-head): Support killing virtual buffers.
12194
12195 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12196
12197 * minibuffer.el (completion-show-inline-help): New var.
12198 (completion--do-completion, minibuffer-complete)
12199 (minibuffer-force-complete, minibuffer-complete-word):
12200 Inhibit minibuffer messages if completion-show-inline-help is nil.
12201
12202 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12203 to avoid interference from inline help (Bug#5849).
12204
12205 2011-04-10 Leo Liu <sdl.web@gmail.com>
12206
12207 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12208 Fix typo.
12209
12210 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12211
12212 * image-mode.el (image-toggle-display-image): Signal an error if
12213 not in Image mode.
12214 (image-transform-mode, image-transform-resize)
12215 (image-transform-set-rotation): Doc fix.
12216 (image-transform-set-resize): Delete.
12217 (image-transform-set-scale, image-transform-fit-to-height)
12218 (image-transform-fit-to-width): Handle image-toggle-display-image
12219 and image-transform-resize directly.
12220
12221 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12222
12223 * doc-view.el (doc-view-fit-width-to-window)
12224 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12225 New functions for fitting the shown image to the Emacs window size.
12226 (doc-view-mode-map): Add bindings for the new functions.
12227
12228 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12229
12230 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12231 Fix typo in docstring.
12232
12233 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12234
12235 * files.el (file-size-human-readable): Produce one digit after
12236 decimal, like "ls -lh" does.
12237
12238 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12239 the file size representation.
12240
12241 * simple.el (list-processes): If async subprocesses are not
12242 available, error out with a clear error message.
12243
12244 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12245
12246 * help.el (help-form-show): New function, to be called from C.
12247 Put help-form output in a buffer named differently than *Help*.
12248
12249 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12250
12251 * files.el (file-size-human-readable): New function.
12252
12253 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12254 computing the representation inline. Don't require `cl'.
12255
12256 2011-04-08 Glenn Morris <rgm@gnu.org>
12257
12258 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12259
12260 * net/browse-url.el (browse-url-firefox):
12261 Test system-type, not system-configuration.
12262
12263 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12264 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12265 Use log-edit-empty-buffer-p. (Bug#7598)
12266
12267 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12268 (rlogin-mode-map): Initialize in the defvar.
12269 (rlogin): Use ignore-errors.
12270
12271 * replace.el (occur-mode-map): Some fixes for menu items.
12272
12273 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12274
12275 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12276
12277 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12278
12279 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12280 issuing unused warnings.
12281
12282 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12283 macro directly.
12284
12285 * simple.el: Lisp reimplement of list-processes. Based on an
12286 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12287 (process-menu-mode): New major mode.
12288 (list-processes--refresh, list-processes):
12289 (process-menu-visit-buffer): New functions.
12290
12291 * files.el (save-buffers-kill-emacs): Don't assume any return
12292 value of list-processes, which is undocumented anyway.
12293
12294 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12295
12296 * emacs-lisp/tabulated-list.el: New file.
12297
12298 * emacs-lisp/package.el: Use Tabulated List mode.
12299 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12300 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12301 table format using Tabulated List mode variables.
12302 (package--push): New macro, replacing package-list-maybe-add.
12303 (package-menu--generate): Use package--push. Renamed from
12304 package--generate-package-list.
12305 (package-menu-refresh, list-packages): Use it.
12306 (package-menu--print-info): Rename from package-print-package.
12307 Return insertion data instead of inserting it directly.
12308 (package-menu-describe-package, package-menu-execute):
12309 Use tabulated-list-get-id.
12310 (package-menu-mark-delete, package-menu-mark-install)
12311 (package-menu-mark-unmark, package-menu-backup-unmark)
12312 (package-menu-mark-obsolete-for-deletion):
12313 Use tabulated-list-put-tag.
12314 (package--list-packages, package-menu-revert)
12315 (package-menu-get-package, package-menu-get-version)
12316 (package-menu-sort-by-column): Functions deleted.
12317 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12318 (package-menu--status-predicate, package-menu--version-predicate)
12319 (package-menu--name-predicate)
12320 (package-menu--description-predicate): Handle arguments in the
12321 Tabulated List format.
12322 (package-list-packages-no-fetch): Call list-packages.
12323
12324 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12325
12326 * files.el (after-find-file-from-revert-buffer): Remove variable.
12327 (after-find-file): Don't bind it.
12328 (revert-buffer-in-progress-p): New variable.
12329 (revert-buffer): Bind it.
12330 Pass nil for `after-find-file-from-revert-buffer'.
12331
12332 * saveplace.el (save-place-find-file-hook): Use new variable
12333 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12334
12335 2011-04-06 Glenn Morris <rgm@gnu.org>
12336
12337 * Makefile.in (AUTOGEN_VCS): New variable.
12338 (autoloads): Use $AUTOGEN_VCS.
12339
12340 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12341 * calendar/calendar.el (calendar-mode-map):
12342 Check for toolkit scroll bars. (Bug#8305)
12343
12344 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12345
12346 * minibuffer.el (completion-in-region--postch)
12347 (completion-in-region-mode): Remove unnecessary messages.
12348
12349 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12350
12351 * font-lock.el (font-lock-refresh-defaults):
12352 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12353 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12354
12355 * info.el (Info-directory-list, Info-read-node-name-2)
12356 (Info-split-parameter-string): Doc fixes.
12357 (Info-virtual-nodes): Reflow docstring.
12358 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12359 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12360 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12361 Fix typos in docstrings.
12362 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12363 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12364 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12365 (Info-restore-desktop-buffer): Mark unused parameters.
12366 (Info-directory-find-file, Info-directory-find-node)
12367 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12368 (Info-virtual-index-find-node, Info-apropos-find-file)
12369 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12370 Mark unused parameters; fix typos in docstrings.
12371 (Info-virtual-index): Remove unused local variable `nodename'.
12372
12373 2011-04-05 Deniz Dogan <deniz@dogan.se>
12374
12375 * net/rcirc.el: Update my e-mail address.
12376 (rcirc-mode-map): Remove M-o binding.
12377
12378 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12379
12380 * startup.el (command-line): Save the cursor's theme-face
12381 directly, instead of using face-override-spec.
12382
12383 * custom.el (load-theme): Minor optimization in assigning faces.
12384
12385 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12386
12387 * help-fns.el (describe-variable): Complete all variables having
12388 documentation, including keywords.
12389 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12390
12391 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12392
12393 Convert to lexical-binding.
12394
12395 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12396 (bs--get-marked-string, bs--get-modified-string)
12397 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12398 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12399 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12400
12401 * ehelp.el (electric-help-execute-extended)
12402 (electric-help-ctrl-x-prefix):
12403 * hexl.el (hexl-revert-buffer-function):
12404 * linum.el (linum-after-change, linum-after-scroll):
12405 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12406
12407 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12408
12409 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12410
12411 * epa-dired.el:
12412 * epa-mail.el:
12413 * epa-hook.el:
12414 * epa-file.el:
12415 * epa.el:
12416 * epg.el: Use lexical binding.
12417
12418 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12419
12420 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12421
12422 * textmodes/flyspell.el (flyspell-word): Recognize default
12423 dictionary case for flyspell-mark-duplications-exceptions.
12424 Use regexp matching for languages.
12425 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12426 default dictionary (Bug#7926).
12427
12428 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12429
12430 * emacs-lisp/package.el (package--with-work-buffer):
12431 Recognize https URLs.
12432
12433 * net/network-stream.el: Move from gnus/proto-stream.el.
12434 Change prefix to network-stream throughout.
12435 (open-protocol-stream): Merge into open-network-stream, leaving
12436 open-protocol-stream as an alias. Handle nil BUFFER args.
12437
12438 * subr.el (open-network-stream): Move to net/network-stream.el.
12439
12440 2011-04-02 Glenn Morris <rgm@gnu.org>
12441
12442 * find-dired.el (find-exec-terminator): New option.
12443 (find-ls-option): Test for -ls support.
12444 (find-ls-subdir-switches): Test for -b in find-ls-option.
12445 (find-dired, find-grep-dired): Doc fixes.
12446 (find-dired): Use find-exec-terminator.
12447
12448 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12449 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12450 (find-name-arg): Remove purecopy.
12451
12452 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12453 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12454 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12455 accordingly. Don't add the null-device if not needed.
12456
12457 * files.el (save-some-buffers): Doc fix.
12458
12459 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12460
12461 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12462
12463 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12464
12465 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12466 Use `dolist' rather than `mapcar'.
12467
12468 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 Add lexical binding.
12471
12472 * subr.el (apply-partially): Use new closures rather than CL.
12473 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12474 (dolist, dotimes): Use slightly different expansion for lexical code.
12475 (functionp): Move to C.
12476 (letrec): New macro.
12477 (with-wrapper-hook): Use it and apply-partially instead of CL.
12478 (eval-after-load): Preserve lexical-binding.
12479 (save-window-excursion, with-output-to-temp-buffer): Turn them
12480 into macros.
12481
12482 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12483
12484 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12485 than the arglist.
12486 (help-add-fundoc-usage): Don't add `Not documented'.
12487 (help-function-arglist): Handle closures, subroutines, and new
12488 byte-code-functions.
12489 (help-make-usage): Remove leading underscores.
12490 (describe-function-1): Handle closures.
12491 (describe-variable): Use special-variable-p for completion.
12492
12493 * files.el (lexical-binding): Declare safe.
12494
12495 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12496 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12497 (pcase): Add `let' pattern.
12498 Change memoization so it actually works.
12499 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12500 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12501 <let>: New case.
12502
12503 * emacs-lisp/macroexp.el: Use lexical binding.
12504 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12505 Don't convert ' to #' without checking that it's indeed quoting
12506 a lambda.
12507
12508 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12509 Use eval-sexp-add-defvars.
12510 (eval-sexp-add-defvars): New fun.
12511
12512 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12513
12514 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12515 Don't autoload.
12516 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12517 than the internal `byte-compile-lambda'.
12518 (defmethod): Don't hide code under quotes.
12519 (eieio-defmethod): New `code' argument.
12520
12521 * emacs-lisp/eieio-comp.el: Remove.
12522
12523 * emacs-lisp/edebug.el (edebug-eval-defun)
12524 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12525 (edebug-toggle): Avoid `eval'.
12526
12527 * emacs-lisp/disass.el (disassemble-internal): Handle new
12528 `closure' objects.
12529 (disassemble-1): Handle new byte codes.
12530
12531 * emacs-lisp/cl.el (pushnew): Silence warning.
12532
12533 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12534 (cl-byte-compile-throw): Remove.
12535 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12536
12537 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12538 closures.
12539
12540 * emacs-lisp/cconv.el: New file.
12541
12542 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12543 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12544 (byte-compile-initial-macro-environment):
12545 Handle declare-function here.
12546 (byte-compile--lexical-environment): New var.
12547 (byte-stack-ref, byte-stack-set, byte-discardN)
12548 (byte-discardN-preserve-tos): New lap codes.
12549 (byte-interactive-p): Don't use any more.
12550 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12551 New macros.
12552 (byte-compile-lapcode): Use them and handle new lap codes.
12553 (byte-compile-obsolete): Remove.
12554 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12555 (byte-compile-arglist-warn): Check late def of inlinable funs.
12556 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12557 since they should have been expanded by now.
12558 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12559 (byte-compile-from-buffer): Remove unused second arg.
12560 (byte-compile-preprocess): New function.
12561 (byte-compile-toplevel-file-form): New function to distinguish
12562 file-form calls from outside from file-form calls from hunk-handlers.
12563 (byte-compile-file-form): Simplify.
12564 (byte-compile-file-form-defsubst): Remove.
12565 (byte-compile-file-form-defmumble): Simplify now that
12566 byte-compile-lambda always returns a byte-code-function.
12567 (byte-compile): Preprocess.
12568 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12569 Remove, not used any more.
12570 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12571 (byte-compile-make-args-desc): New funs.
12572 (byte-compile-lambda): Handle lexical functions. Always return
12573 a byte-code-function.
12574 (byte-compile-reserved-constants): New var, to make up room for
12575 closed-over variables.
12576 (byte-compile-constants-vector): Obey it.
12577 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12578 (byte-compile-macroexpand-declare-function): New function.
12579 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12580 byte-code-functions.
12581 (byte-compile-form): Check obsolescence here.
12582 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12583 (byte-compile-variable-ref): Remove.
12584 (byte-compile-dynamic-variable-op): New fun.
12585 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12586 (byte-compile-variable-set): New funs.
12587 (byte-compile-discard): Add 2 args.
12588 (byte-compile-stack-ref, byte-compile-stack-set)
12589 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12590 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12591 macroexpand-all instead.
12592 (byte-compile-quote-form): Remove.
12593 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12594 (byte-compile-bind, byte-compile-unbind): New funs.
12595 (byte-compile-let): Handle let* and lexical binding.
12596 (byte-compile-let*): Remove.
12597 (byte-compile-catch, byte-compile-unwind-protect)
12598 (byte-compile-track-mouse, byte-compile-condition-case):
12599 Handle a new :fun-body form, used for lexical scoping.
12600 (byte-compile-save-window-excursion)
12601 (byte-compile-with-output-to-temp-buffer): Remove.
12602 (byte-compile-defun): Simplify.
12603 (byte-compile-stack-adjustment): New fun.
12604 (byte-compile-out): Use it.
12605 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12606
12607 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12608 handler any more.
12609
12610 * emacs-lisp/byte-opt.el: Use lexical binding.
12611 (byte-inline-lapcode): Remove (to bytecomp).
12612 (byte-compile-inline-expand): Pay attention to inlining to/from
12613 lexically bound code.
12614 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12615 any more.
12616 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12617 any more and don't call compiler-macros.
12618 (byte-compile-splice-in-already-compiled-code): Remove.
12619 (byte-code): Don't inline any more.
12620 (disassemble-offset): Receive `bytes' as argument rather than via
12621 dynamic scoping.
12622 (byte-compile-tag-number): Declare before first use.
12623 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12624 `return' even if make-spliceable.
12625 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12626 obsolete interactive-p.
12627 (byte-optimize-lapcode): Optimize new lap-codes.
12628 Don't trip up on new form of `byte-constant' lap code.
12629
12630 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12631
12632 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12633
12634 * custom.el (custom-initialize-default, custom-declare-variable):
12635 Use `defvar'.
12636
12637 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12638 New variables.
12639 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12640 (COMPILE_FIRST): Add macroexp and cconv.
12641 * makefile.w32-in: Mirror changes in Makefile.in.
12642
12643 * vc/cvs-status.el:
12644 * vc/diff-mode.el:
12645 * vc/log-edit.el:
12646 * vc/log-view.el:
12647 * vc/smerge-mode.el:
12648 * textmodes/bibtex-style.el:
12649 * textmodes/css.el:
12650 * startup.el:
12651 * uniquify.el:
12652 * minibuffer.el:
12653 * newcomment.el:
12654 * reveal.el:
12655 * server.el:
12656 * mpc.el:
12657 * emacs-lisp/smie.el:
12658 * doc-view.el:
12659 * dired.el:
12660 * abbrev.el: Use lexical binding.
12661
12662 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12663
12664 * info.el (info-display-manual): New function.
12665
12666 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12669
12670 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12671
12672 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12673 an entry for that server in rcirc-authinfo. (Bug#8385)
12674
12675 2011-03-31 Glenn Morris <rgm@gnu.org>
12676
12677 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12678
12679 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12680
12681 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12682
12683 * progmodes/python.el (python-default-interpreter)
12684 (python-python-command-args, python-jython-command-args)
12685 (python-which-shell, python-which-args, python-which-bufname)
12686 (python-file-queue, python-comint-output-filter-function)
12687 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12688 variables and functions.
12689
12690 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12693 (completion-in-region-mode): New minor mode.
12694 (completion-in-region): Use it.
12695 (completion-in-region--data, completion-in-region-mode-map): New vars.
12696 (completion-in-region--postch): New function.
12697 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12698 New vars.
12699 (completion--capf-wrapper): New function.
12700 (completion-at-point): Use it to track well-behavedness of
12701 hook functions.
12702 (completion-help-at-point): New command.
12703
12704 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12705
12706 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12707 syntax class to search for whitespace on a single line
12708 (Message-ID: <4D938140.4030905@redhat.com>).
12709
12710 2011-03-30 Leo Liu <sdl.web@gmail.com>
12711
12712 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12713 New commands.
12714 (edit-abbrevs-map): Bind them here.
12715 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12716
12717 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12718
12719 * allout.el (allout-hide-by-annotation, allout-flag-region):
12720 Reduce possibility of overlay leakage by making them volatile.
12721
12722 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12723 hash is not shared between buffers. Mode initialization is
12724 responsible for giving it a useful starting value.
12725 (allout-item-span): Reduce possibility of overlay leakage by
12726 making them volatile.
12727 (allout-widgets-count-buttons-in-region): Add diagnostic function
12728 for tracking down button overlay leaks.
12729
12730 2011-03-29 Leo Liu <sdl.web@gmail.com>
12731
12732 * ido.el (ido-read-internal): Use the default history var
12733 minibuffer-history if no HISTORY is specified.
12734
12735 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12736
12737 * net/imap.el (imap-shell-open, imap-process-connection-type):
12738 Use imap-process-connection-type for 'shell' streams as well as
12739 Kerberos, SSL, other subprocesses.
12740
12741 2011-03-28 Leo Liu <sdl.web@gmail.com>
12742
12743 * abbrev.el (abbrev-table-empty-p): New function.
12744 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12745 nonempty ones. (Bug#5937)
12746
12747 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12748
12749 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12750
12751 2011-03-27 Leo Liu <sdl.web@gmail.com>
12752
12753 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12754 for foreground and background colors.
12755 (ansi-color-make-color-map): Adapt.
12756
12757 2011-03-25 Leo Liu <sdl.web@gmail.com>
12758
12759 * midnight.el (midnight-time-float): Remove. Note it calculates
12760 the microsecond component incorrectly and seconds-to-time does the
12761 same job.
12762 Remove redundant (require 'timer).
12763
12764 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12765 (ido-completions): Remove unused arguments. (Bug#8329)
12766
12767 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 * minibuffer.el (completion--flush-all-sorted-completions):
12770 Remove itself from hook.
12771 (completion-at-point): Let the functions perform the completion
12772 immediately and return nil or t.
12773 * comint.el (comint-dynamic-complete-functions): Now identical to
12774 completion-at-point-functions.
12775 (comint-dynamic-list-input-ring): Remove unused var `index'.
12776 (comint--match-partial-filename, comint--unquote&expand-filename):
12777 New funs, split from comint-match-partial-filename.
12778 (comint-dynamic-complete): Use completion-at-point.
12779 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12780
12781 2011-03-24 Drew Adams <drew.adams@oracle.com>
12782
12783 * thingatpt.el: Support `defun'.
12784
12785 2011-03-23 Leo Liu <sdl.web@gmail.com>
12786
12787 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12788
12789 * help-mode.el (help-mode-finish): Tweak regexp.
12790
12791 2011-03-23 Glenn Morris <rgm@gnu.org>
12792
12793 * eshell/esh-opt.el (eshell-eval-using-options):
12794 Do not bind unused local variable `eshell-option-stub'.
12795
12796 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12797
12798 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12799
12800 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12801 keymap variable in `with-no-warnings' to avoid a warning when the
12802 keymap has been already `defconst'ed.
12803
12804 2011-03-22 Leo Liu <sdl.web@gmail.com>
12805
12806 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12807 encode all chars in abbrevs; otherwise use emacs-mule or
12808 utf-8-emacs. (Bug#8308)
12809
12810 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
12811
12812 * simple.el (backward-delete-char-untabify):
12813 Avoid warning about using `delete-backward-char'.
12814
12815 * image.el (image-type-file-name-regexps): Make it variable.
12816 `imagemagick-register-types' modifies it, and the user may want
12817 to add new extensions for known image types.
12818 (imagemagick-register-types): Throw error if not using ImageMagick.
12819
12820 2011-03-22 Leo Liu <sdl.web@gmail.com>
12821
12822 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12823 located before rcirc-prompt-end-marker.
12824 (rcirc-complete): Error if point is not after rcirc prompt.
12825 Handle the case when table is nil.
12826 (rcirc-user-authenticated): Define to fix compiler warning.
12827
12828 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
12829
12830 * custom.el (custom--inhibit-theme-enable): Make it affect only
12831 custom-theme-set-variables and custom-theme-set-faces.
12832 (provide-theme): Ignore custom--inhibit-theme-enable.
12833 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12834 (custom-enabling-themes): Delete variable.
12835 (enable-theme): Accept only loaded themes as arguments.
12836 Ignore the special custom-enabled-themes variable.
12837 (custom-enabled-themes): Forbid themes from setting this.
12838 Eliminate use of custom-enabling-themes.
12839 (custom-push-theme): Quote "changed" custom var entry.
12840
12841 2011-03-21 Leo Liu <sdl.web@gmail.com>
12842
12843 * ido.el (ido-read-internal): Add ido-selected to history instead
12844 of user input.
12845
12846 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * subr.el (deferred-action-list, deferred-action-function):
12849 Mark obsolete.
12850
12851 2011-03-21 Leo Liu <sdl.web@gmail.com>
12852
12853 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12854 change on 2011-02-13 (bug#8309).
12855
12856 * minibuffer.el (read-file-name-function): Change default value.
12857 (read-file-name--defaults): Rename from read-file-name-defaults.
12858 (read-file-name-default): Rename from read-file-name.
12859 (read-file-name): Call read-file-name-function.
12860
12861 2011-03-21 Glenn Morris <rgm@gnu.org>
12862
12863 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12864 Doc fixes.
12865
12866 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
12867
12868 * cus-theme.el: Add missing provide statement.
12869 (customize-create-theme): Extract theme value correctly.
12870 (custom-theme-visit-theme): Autoload.
12871 (customize-create-theme): Prompt before inserting default faces.
12872
12873 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12874
12875 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12876 units and musical notes.
12877
12878 2011-03-20 Leo Liu <sdl.web@gmail.com>
12879
12880 * ido.el (ido-read-internal): Use completing-read-default.
12881 (ido-completing-read): Fix compatibility with completing-read.
12882
12883 2011-03-20 Christian Ohler <ohler@gnu.org>
12884
12885 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12886 (ert-delete-all-tests): Use `called-interactively-p' rather than
12887 `interactive-p'.
12888 (ert--make-xrefs-region): Respect END.
12889
12890 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12891
12892 * dired-aux.el (dired-create-directory): Signal an error if the
12893 directory already exists (Bug#8246).
12894
12895 * facemenu.el (list-colors-display): Call list-faces-display
12896 inside with-help-window.
12897 (list-colors-print): Use display property to align the final
12898 column, instead of checking window-width.
12899
12900 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12901
12902 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12903 windows-nt systems.
12904 (emerge-protect-metachars): Quote correctly for ms-dos and
12905 windows-nt systems.
12906
12907 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12908
12909 * info.el (info-initialize): Replace all uses of `:' with
12910 path-separator for compatibility with non-Unix systems.
12911 Cache quoting of path-separator. (Bug#8258)
12912
12913 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12914
12915 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12916 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12917 (mouse-avoidance-mode): Fix typos in docstrings.
12918
12919 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12920
12921 * startup.el (package-subdirectory-regexp): Move from package.el.
12922 Omit \\` and \\', and let callers add them.
12923
12924 * emacs-lisp/package.el (package-strip-version)
12925 (package-load-all-descriptors): Add \\` and \\' to
12926 package-subdirectory-regexp before using it.
12927 (package-untar-buffer): New arg DIR; ensure that file untars only
12928 into this expected directory. Remove superfluous delete-region.
12929 (package-unpack): Caller changed.
12930 (package-tar-file-info): Use package-subdirectory-regexp.
12931
12932 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12933
12934 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12935 diff-mode-shared-map (bug#8284).
12936 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12937
12938 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12939
12940 * calendar/time-date.el (format-seconds): Use assoc instead of
12941 assoc-string, since assoc-string doesn't exist in XEmacs.
12942
12943 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12944
12945 * custom.el (custom-known-themes): Reflow docstring.
12946 (custom-theme-load-path): Fix typo in docstring.
12947 (load-theme): Fix typo in error message.
12948 (custom-available-themes, custom-variable-theme-value):
12949 Use `let', not `let*'.
12950
12951 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12952
12953 * calc/README: Mention inclusion of musical notes.
12954
12955 * calc/calc-units.el (calc-lu-quant): Rename from
12956 `calc-logunits-quantity'.
12957 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12958 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12959 (calc-db): Rename from `calc-dblevel'.
12960 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12961 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12962 (calc-np): Rename from `calc-nplevel'.
12963 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12964 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12965 (calc-lu-plus): Rename from `calc-logunits-add'.
12966 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12967 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12968 (calc-lu-minus): Rename from `calc-logunits-sub'.
12969 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12970 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12971 (calc-lu-times): Rename from `calc-logunits-mul'.
12972 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12973 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12974 (calc-lu-divide): Rename from `calc-logunits-div'.
12975 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12976 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12977
12978 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12979 functions being autoloaded.
12980
12981 * calc/calc.el (calc-lu-power-reference): Rename from
12982 `calc-logunits-power-reference'.
12983 (calc-lu-field-reference): Rename from
12984 `calc-logunits-field-reference'.
12985
12986 * calc/calc-help.el (calc-l-prefix-help):
12987 Mention musical note functions.
12988
12989 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12990
12991 * minibuffer.el (completion-all-sorted-completions):
12992 Use :completion-cycle-penalty text property if present.
12993
12994 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12995
12996 * allout.el (allout-yank-processing): Adjust for new rebulleting
12997 regime so bullet being yanked is used without prompting the user
12998 for a choice.
12999
13000 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13001
13002 * startup.el (command-line): Warn the user that _emacs is deprecated.
13003
13004 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13005
13006 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13007 (delphi-verbose, delphi-comment-face, delphi-string-face)
13008 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13009 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13010 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13011 (delphi-new-comment-line, delphi-font-lock-defaults)
13012 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13013 Fix typos in docstrings.
13014
13015 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13016
13017 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13018 Invert the roles of character and string values for INSTEAD, so a
13019 string is used for the more common case of a defaulting prompt.
13020
13021 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13022
13023 * progmodes/ruby-mode.el (ruby-backward-sexp):
13024 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13025 * play/gamegrid.el (gamegrid-make-face):
13026 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13027 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13028 * notifications.el (notifications-notify):
13029 * net/xesam.el (xesam-search-engines):
13030 * net/quickurl.el (quickurl-list-insert):
13031 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13032
13033 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13034
13035 * startup.el (command-line): Update package subdirectory regexp.
13036
13037 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13038
13039 * allout.el (allout-abbreviate-flattened-numbering)
13040 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13041
13042 * subr.el (read-char-choice): Only show the cursor after the prompt,
13043 not after the answer.
13044
13045 2011-03-15 Kevin Ryde <user42@zip.com.au>
13046
13047 * help-fns.el (variable-at-point): Skip leading quotes, if any
13048 (bug#8253).
13049
13050 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13053 warning message.
13054
13055 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13056
13057 * shell.el (shell): When called interactively, offer to change the
13058 shell file name on remote hosts.
13059
13060 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13061
13062 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13063 integration for LDAP parameters. The host, base, user or binddn,
13064 and secret tokens can be specified in a netrc file, for instance.
13065 This is optional because an `auth-source' parameter must be
13066 specified in the search attributes.
13067
13068 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13069
13070 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13071
13072 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13073
13074 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13075 into declaration. Remove redundant and harmful binding.
13076
13077 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13078
13079 * files.el (file-ownership-preserved-p): Pass `integer' as an
13080 explicit 2nd argument to `file-attributes'. If the file's owner
13081 is the Administrators group on Windows, and the current user is
13082 Administrator, consider that a match.
13083
13084 * server.el (server-ensure-safe-dir): Consider server directory
13085 safe on MS-Windows if its owner is the Administrators group while
13086 the current Emacs user is Administrator. Use `=' to compare
13087 numerical UIDs, since they could be integers or floats.
13088
13089 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13090
13091 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13092
13093 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13094
13095 Sync with Tramp 2.2.1.
13096
13097 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13098
13099 * net/trampver.el: Update release number.
13100
13101 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13102
13103 * progmodes/compile.el (compilation--previous-directory): Fix up
13104 various nil/dead-marker mismatches (bug#8014).
13105 (compilation-directory-properties, compilation-error-properties):
13106 Don't call it at a position past the one we're about to change.
13107
13108 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13109 Disable obsolescence warnings in the file that declares it.
13110
13111 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13112
13113 * allout-widgets.el (allout-widgets-tally):
13114 Initialize allout-widgets-tally as a hash table rather than nil to
13115 prevent mode-line redisplay warnings. Also, clarify the module
13116 description and fix a comment typo.
13117
13118 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13119
13120 * help-fns.el (describe-variable): Don't complete keywords.
13121 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13122
13123 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13124
13125 * emacs-lisp/package.el (package-version-join): Impose a standard
13126 string representation for pre/alpha/beta version lists.
13127 (package-unpack-single): Standardize the directory name by passing
13128 it through package-version-join.
13129 (package-strip-rcs-id): Accept any version string that does not
13130 signal an error in version-to-list.
13131
13132 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13133
13134 * simple.el (delete-trailing-whitespace): Return nil for the
13135 benefit of `write-file-functions'.
13136
13137 2011-03-10 Glenn Morris <rgm@gnu.org>
13138
13139 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13140
13141 * vc/vc-git.el (vc-git-program): New option.
13142 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13143 (vc-git--call): Use it.
13144
13145 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13146
13147 * cus-edit.el (Custom-newline): If no button at point, look
13148 for a subgroup button at start-of-line. (Bug#2298)
13149
13150 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13151
13152 2011-03-10 Julien Danjou <julien@danjou.info>
13153
13154 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13155 `cursor-type' is nil.
13156
13157 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13158
13159 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13160
13161 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13162
13163 * allout.el: Change so yank of distinctive-bullet items
13164 preserves the existing header prefix, rebulleting it if necessary,
13165 rather than replacing it. This is necessary for proper operation
13166 of cooperative addons like allout-widgets.
13167 (allout-make-topic-prefix, allout-rebullet-heading):
13168 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13169 value as alternate bullet to be used, instead of prompting the user
13170 for a bullet character.
13171
13172 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13173
13174 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13175 Do not use `tramp-file-name-port', because this returns also
13176 `tramp-default-port'.
13177
13178 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13179
13180 * net/rcirc.el (rcirc-handler-001): Remove useless
13181 with-rcirc-process-buffer.
13182 (rcirc-check-auth-status): Swap arguments to string-match.
13183
13184 2011-03-09 Glenn Morris <rgm@gnu.org>
13185
13186 * shell.el (shell-mode):
13187 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13188
13189 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13190 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13191
13192 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13193
13194 * emacs-lisp/package.el (package-refresh-contents)
13195 (package-menu-execute): Use condition-case-no-debug.
13196
13197 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13198
13199 * simple.el (shell-command-to-string): Use `process-file'.
13200
13201 * emacs-lisp/package.el (package-tar-file-info): Handle also
13202 remote files.
13203
13204 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13205 Use `equal' for upload base check.
13206
13207 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13208
13209 * textmodes/texinfo.el (texinfo-environments):
13210 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13211
13212 2011-03-08 Glenn Morris <rgm@gnu.org>
13213
13214 * cus-start.el (cursor-in-non-selected-windows):
13215 Fix :set quoting oddness. (Bug#8192)
13216
13217 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13218 in some setf expressions. (Bug#2159)
13219
13220 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13221
13222 * custom.el (custom-available-themes): Return themes in
13223 alphabetical order.
13224
13225 See ChangeLog.15 for earlier changes.
13226
13227 ;; Local Variables:
13228 ;; coding: utf-8
13229 ;; End:
13230
13231 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13232
13233 This file is part of GNU Emacs.
13234
13235 GNU Emacs is free software: you can redistribute it and/or modify
13236 it under the terms of the GNU General Public License as published by
13237 the Free Software Foundation, either version 3 of the License, or
13238 (at your option) any later version.
13239
13240 GNU Emacs is distributed in the hope that it will be useful,
13241 but WITHOUT ANY WARRANTY; without even the implied warranty of
13242 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13243 GNU General Public License for more details.
13244
13245 You should have received a copy of the GNU General Public License
13246 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.